Class IngestionDataSourceSettings.AzureEventHubs (1.136.0)

public static final class IngestionDataSourceSettings.AzureEventHubs extends GeneratedMessageV3 implements IngestionDataSourceSettings.AzureEventHubsOrBuilder

Ingestion settings for Azure Event Hubs.

Protobuf type google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > IngestionDataSourceSettings.AzureEventHubs

Static Fields

CLIENT_ID_FIELD_NUMBER

public static final int CLIENT_ID_FIELD_NUMBER
Field Value
Type Description
int

EVENT_HUB_FIELD_NUMBER

public static final int EVENT_HUB_FIELD_NUMBER
Field Value
Type Description
int

GCP_SERVICE_ACCOUNT_FIELD_NUMBER

public static final int GCP_SERVICE_ACCOUNT_FIELD_NUMBER
Field Value
Type Description
int

NAMESPACE_FIELD_NUMBER

public static final int NAMESPACE_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_GROUP_FIELD_NUMBER

public static final int RESOURCE_GROUP_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

SUBSCRIPTION_ID_FIELD_NUMBER

public static final int SUBSCRIPTION_ID_FIELD_NUMBER
Field Value
Type Description
int

TENANT_ID_FIELD_NUMBER

public static final int TENANT_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static IngestionDataSourceSettings.AzureEventHubs getDefaultInstance()
Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs

getDescriptor()

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

newBuilder()

public static IngestionDataSourceSettings.AzureEventHubs.Builder newBuilder()
Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs.Builder

newBuilder(IngestionDataSourceSettings.AzureEventHubs prototype)

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

parseDelimitedFrom(InputStream input)

public static IngestionDataSourceSettings.AzureEventHubs parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static IngestionDataSourceSettings.AzureEventHubs parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static IngestionDataSourceSettings.AzureEventHubs parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static IngestionDataSourceSettings.AzureEventHubs parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static IngestionDataSourceSettings.AzureEventHubs parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<IngestionDataSourceSettings.AzureEventHubs> parser()
Returns
Type Description
Parser<AzureEventHubs>

Methods

equals(Object obj)

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

getClientId()

public String getClientId()

Optional. The client id of the Azure application that is being used to authenticate Pub/Sub.

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

Returns
Type Description
String

The clientId.

getClientIdBytes()

public ByteString getClientIdBytes()

Optional. The client id of the Azure application that is being used to authenticate Pub/Sub.

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

Returns
Type Description
ByteString

The bytes for clientId.

getDefaultInstanceForType()

public IngestionDataSourceSettings.AzureEventHubs getDefaultInstanceForType()
Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs

getEventHub()

public String getEventHub()

Optional. The name of the Event Hub.

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

Returns
Type Description
String

The eventHub.

getEventHubBytes()

public ByteString getEventHubBytes()

Optional. The name of the Event Hub.

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

Returns
Type Description
ByteString

The bytes for eventHub.

getGcpServiceAccount()

public String getGcpServiceAccount()

Optional. The GCP service account to be used for Federated Identity authentication.

string gcp_service_account = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The gcpServiceAccount.

getGcpServiceAccountBytes()

public ByteString getGcpServiceAccountBytes()

Optional. The GCP service account to be used for Federated Identity authentication.

string gcp_service_account = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for gcpServiceAccount.

getNamespace()

public String getNamespace()

Optional. The name of the Event Hubs namespace.

string namespace = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The namespace.

getNamespaceBytes()

public ByteString getNamespaceBytes()

Optional. The name of the Event Hubs namespace.

string namespace = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for namespace.

getParserForType()

public Parser<IngestionDataSourceSettings.AzureEventHubs> getParserForType()
Returns
Type Description
Parser<AzureEventHubs>
Overrides

getResourceGroup()

public String getResourceGroup()

Optional. Name of the resource group within the azure subscription.

string resource_group = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The resourceGroup.

getResourceGroupBytes()

public ByteString getResourceGroupBytes()

Optional. Name of the resource group within the azure subscription.

string resource_group = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for resourceGroup.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public IngestionDataSourceSettings.AzureEventHubs.State getState()

Output only. An output-only field that indicates the state of the Event Hubs ingestion source.

.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs.State

The state.

getStateValue()

public int getStateValue()

Output only. An output-only field that indicates the state of the Event Hubs ingestion source.

.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getSubscriptionId()

public String getSubscriptionId()

Optional. The Azure subscription id.

string subscription_id = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The subscriptionId.

getSubscriptionIdBytes()

public ByteString getSubscriptionIdBytes()

Optional. The Azure subscription id.

string subscription_id = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for subscriptionId.

getTenantId()

public String getTenantId()

Optional. The tenant id of the Azure application that is being used to authenticate Pub/Sub.

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

Returns
Type Description
String

The tenantId.

getTenantIdBytes()

public ByteString getTenantIdBytes()

Optional. The tenant id of the Azure application that is being used to authenticate Pub/Sub.

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

Returns
Type Description
ByteString

The bytes for tenantId.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public IngestionDataSourceSettings.AzureEventHubs.Builder newBuilderForType()
Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected IngestionDataSourceSettings.AzureEventHubs.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public IngestionDataSourceSettings.AzureEventHubs.Builder toBuilder()
Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs.Builder

writeTo(CodedOutputStream output)

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