Class IngestionDataSourceSettings.AzureEventHubs.Builder (1.136.0)

public static final class IngestionDataSourceSettings.AzureEventHubs.Builder extends GeneratedMessageV3.Builder<IngestionDataSourceSettings.AzureEventHubs.Builder> implements IngestionDataSourceSettings.AzureEventHubsOrBuilder

Ingestion settings for Azure Event Hubs.

Protobuf type google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public IngestionDataSourceSettings.AzureEventHubs.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs.Builder
Overrides

build()

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

buildPartial()

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

clear()

public IngestionDataSourceSettings.AzureEventHubs.Builder clear()
Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs.Builder
Overrides

clearClientId()

public IngestionDataSourceSettings.AzureEventHubs.Builder clearClientId()

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
IngestionDataSourceSettings.AzureEventHubs.Builder

This builder for chaining.

clearEventHub()

public IngestionDataSourceSettings.AzureEventHubs.Builder clearEventHub()

Optional. The name of the Event Hub.

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

Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public IngestionDataSourceSettings.AzureEventHubs.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs.Builder
Overrides

clearGcpServiceAccount()

public IngestionDataSourceSettings.AzureEventHubs.Builder clearGcpServiceAccount()

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
IngestionDataSourceSettings.AzureEventHubs.Builder

This builder for chaining.

clearNamespace()

public IngestionDataSourceSettings.AzureEventHubs.Builder clearNamespace()

Optional. The name of the Event Hubs namespace.

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

Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public IngestionDataSourceSettings.AzureEventHubs.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs.Builder
Overrides

clearResourceGroup()

public IngestionDataSourceSettings.AzureEventHubs.Builder clearResourceGroup()

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

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

Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs.Builder

This builder for chaining.

clearState()

public IngestionDataSourceSettings.AzureEventHubs.Builder clearState()

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.Builder

This builder for chaining.

clearSubscriptionId()

public IngestionDataSourceSettings.AzureEventHubs.Builder clearSubscriptionId()

Optional. The Azure subscription id.

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

Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs.Builder

This builder for chaining.

clearTenantId()

public IngestionDataSourceSettings.AzureEventHubs.Builder clearTenantId()

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
IngestionDataSourceSettings.AzureEventHubs.Builder

This builder for chaining.

clone()

public IngestionDataSourceSettings.AzureEventHubs.Builder clone()
Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs.Builder
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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IngestionDataSourceSettings.AzureEventHubs.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public IngestionDataSourceSettings.AzureEventHubs.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs.Builder
Overrides

mergeFrom(IngestionDataSourceSettings.AzureEventHubs other)

public IngestionDataSourceSettings.AzureEventHubs.Builder mergeFrom(IngestionDataSourceSettings.AzureEventHubs other)
Parameter
Name Description
other IngestionDataSourceSettings.AzureEventHubs
Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IngestionDataSourceSettings.AzureEventHubs.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs.Builder
Overrides

setClientId(String value)

public IngestionDataSourceSettings.AzureEventHubs.Builder setClientId(String value)

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];

Parameter
Name Description
value String

The clientId to set.

Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs.Builder

This builder for chaining.

setClientIdBytes(ByteString value)

public IngestionDataSourceSettings.AzureEventHubs.Builder setClientIdBytes(ByteString value)

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];

Parameter
Name Description
value ByteString

The bytes for clientId to set.

Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs.Builder

This builder for chaining.

setEventHub(String value)

public IngestionDataSourceSettings.AzureEventHubs.Builder setEventHub(String value)

Optional. The name of the Event Hub.

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

Parameter
Name Description
value String

The eventHub to set.

Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs.Builder

This builder for chaining.

setEventHubBytes(ByteString value)

public IngestionDataSourceSettings.AzureEventHubs.Builder setEventHubBytes(ByteString value)

Optional. The name of the Event Hub.

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

Parameter
Name Description
value ByteString

The bytes for eventHub to set.

Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public IngestionDataSourceSettings.AzureEventHubs.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs.Builder
Overrides

setGcpServiceAccount(String value)

public IngestionDataSourceSettings.AzureEventHubs.Builder setGcpServiceAccount(String value)

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

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

Parameter
Name Description
value String

The gcpServiceAccount to set.

Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs.Builder

This builder for chaining.

setGcpServiceAccountBytes(ByteString value)

public IngestionDataSourceSettings.AzureEventHubs.Builder setGcpServiceAccountBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for gcpServiceAccount to set.

Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs.Builder

This builder for chaining.

setNamespace(String value)

public IngestionDataSourceSettings.AzureEventHubs.Builder setNamespace(String value)

Optional. The name of the Event Hubs namespace.

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

Parameter
Name Description
value String

The namespace to set.

Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs.Builder

This builder for chaining.

setNamespaceBytes(ByteString value)

public IngestionDataSourceSettings.AzureEventHubs.Builder setNamespaceBytes(ByteString value)

Optional. The name of the Event Hubs namespace.

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

Parameter
Name Description
value ByteString

The bytes for namespace to set.

Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public IngestionDataSourceSettings.AzureEventHubs.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs.Builder
Overrides

setResourceGroup(String value)

public IngestionDataSourceSettings.AzureEventHubs.Builder setResourceGroup(String value)

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

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

Parameter
Name Description
value String

The resourceGroup to set.

Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs.Builder

This builder for chaining.

setResourceGroupBytes(ByteString value)

public IngestionDataSourceSettings.AzureEventHubs.Builder setResourceGroupBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for resourceGroup to set.

Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs.Builder

This builder for chaining.

setState(IngestionDataSourceSettings.AzureEventHubs.State value)

public IngestionDataSourceSettings.AzureEventHubs.Builder setState(IngestionDataSourceSettings.AzureEventHubs.State value)

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];

Parameter
Name Description
value IngestionDataSourceSettings.AzureEventHubs.State

The state to set.

Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs.Builder

This builder for chaining.

setStateValue(int value)

public IngestionDataSourceSettings.AzureEventHubs.Builder setStateValue(int value)

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];

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs.Builder

This builder for chaining.

setSubscriptionId(String value)

public IngestionDataSourceSettings.AzureEventHubs.Builder setSubscriptionId(String value)

Optional. The Azure subscription id.

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

Parameter
Name Description
value String

The subscriptionId to set.

Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs.Builder

This builder for chaining.

setSubscriptionIdBytes(ByteString value)

public IngestionDataSourceSettings.AzureEventHubs.Builder setSubscriptionIdBytes(ByteString value)

Optional. The Azure subscription id.

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

Parameter
Name Description
value ByteString

The bytes for subscriptionId to set.

Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs.Builder

This builder for chaining.

setTenantId(String value)

public IngestionDataSourceSettings.AzureEventHubs.Builder setTenantId(String value)

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];

Parameter
Name Description
value String

The tenantId to set.

Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs.Builder

This builder for chaining.

setTenantIdBytes(ByteString value)

public IngestionDataSourceSettings.AzureEventHubs.Builder setTenantIdBytes(ByteString value)

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];

Parameter
Name Description
value ByteString

The bytes for tenantId to set.

Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final IngestionDataSourceSettings.AzureEventHubs.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
IngestionDataSourceSettings.AzureEventHubs.Builder
Overrides