Class AzureEventHubSettings (0.37.0)

public final class AzureEventHubSettings extends GeneratedMessage implements AzureEventHubSettingsOrBuilder

Settings required by Azure Event Hub Feeds.

Protobuf type google.cloud.chronicle.v1.AzureEventHubSettings

Static Fields

AZURE_SAS_TOKEN_FIELD_NUMBER

public static final int AZURE_SAS_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

AZURE_STORAGE_CONNECTION_STRING_FIELD_NUMBER

public static final int AZURE_STORAGE_CONNECTION_STRING_FIELD_NUMBER
Field Value
Type Description
int

AZURE_STORAGE_CONTAINER_FIELD_NUMBER

public static final int AZURE_STORAGE_CONTAINER_FIELD_NUMBER
Field Value
Type Description
int

CONSUMER_GROUP_FIELD_NUMBER

public static final int CONSUMER_GROUP_FIELD_NUMBER
Field Value
Type Description
int

EVENT_HUB_CONNECTION_STRING_FIELD_NUMBER

public static final int EVENT_HUB_CONNECTION_STRING_FIELD_NUMBER
Field Value
Type Description
int

EVENT_HUB_NAMESPACE_FIELD_NUMBER

public static final int EVENT_HUB_NAMESPACE_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AzureEventHubSettings getDefaultInstance()
Returns
Type Description
AzureEventHubSettings

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AzureEventHubSettings.Builder newBuilder()
Returns
Type Description
AzureEventHubSettings.Builder

newBuilder(AzureEventHubSettings prototype)

public static AzureEventHubSettings.Builder newBuilder(AzureEventHubSettings prototype)
Parameter
Name Description
prototype AzureEventHubSettings
Returns
Type Description
AzureEventHubSettings.Builder

parseDelimitedFrom(InputStream input)

public static AzureEventHubSettings parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AzureEventHubSettings
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AzureEventHubSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureEventHubSettings
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AzureEventHubSettings parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AzureEventHubSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AzureEventHubSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureEventHubSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AzureEventHubSettings parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AzureEventHubSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AzureEventHubSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureEventHubSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AzureEventHubSettings parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AzureEventHubSettings
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AzureEventHubSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureEventHubSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AzureEventHubSettings parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AzureEventHubSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AzureEventHubSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureEventHubSettings
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AzureEventHubSettings parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AzureEventHubSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AzureEventHubSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureEventHubSettings
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AzureEventHubSettings> parser()
Returns
Type Description
Parser<AzureEventHubSettings>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAzureSasToken()

public String getAzureSasToken()

Optional. SAS token

string azure_sas_token = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The azureSasToken.

getAzureSasTokenBytes()

public ByteString getAzureSasTokenBytes()

Optional. SAS token

string azure_sas_token = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for azureSasToken.

getAzureStorageConnectionString()

public String getAzureStorageConnectionString()

Optional. Blob store connection string for authentication.

string azure_storage_connection_string = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The azureStorageConnectionString.

getAzureStorageConnectionStringBytes()

public ByteString getAzureStorageConnectionStringBytes()

Optional. Blob store connection string for authentication.

string azure_storage_connection_string = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for azureStorageConnectionString.

getAzureStorageContainer()

public String getAzureStorageContainer()

Optional. Blob storage container name.

string azure_storage_container = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The azureStorageContainer.

getAzureStorageContainerBytes()

public ByteString getAzureStorageContainerBytes()

Optional. Blob storage container name.

string azure_storage_container = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for azureStorageContainer.

getConsumerGroup()

public String getConsumerGroup()

Required. Event hub consumer group to read from.

string consumer_group = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The consumerGroup.

getConsumerGroupBytes()

public ByteString getConsumerGroupBytes()

Required. Event hub consumer group to read from.

string consumer_group = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for consumerGroup.

getDefaultInstanceForType()

public AzureEventHubSettings getDefaultInstanceForType()
Returns
Type Description
AzureEventHubSettings

getEventHubConnectionString()

public String getEventHubConnectionString()

Required. Event hub connection string for authentication.

string event_hub_connection_string = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The eventHubConnectionString.

getEventHubConnectionStringBytes()

public ByteString getEventHubConnectionStringBytes()

Required. Event hub connection string for authentication.

string event_hub_connection_string = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for eventHubConnectionString.

getEventHubNamespace()

public String getEventHubNamespace()

Output only. Event hub namespace

string event_hub_namespace = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The eventHubNamespace.

getEventHubNamespaceBytes()

public ByteString getEventHubNamespaceBytes()

Output only. Event hub namespace

string event_hub_namespace = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for eventHubNamespace.

getName()

public String getName()

Required. Event hub to read from.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Event hub to read from.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<AzureEventHubSettings> getParserForType()
Returns
Type Description
Parser<AzureEventHubSettings>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AzureEventHubSettings.Builder newBuilderForType()
Returns
Type Description
AzureEventHubSettings.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected AzureEventHubSettings.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AzureEventHubSettings.Builder
Overrides

toBuilder()

public AzureEventHubSettings.Builder toBuilder()
Returns
Type Description
AzureEventHubSettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException