Class IngestionDataSourceSettings.AzureEventHubs.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<IngestionDataSourceSettings.AzureEventHubs.Builder>
com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, IngestionDataSourceSettings.AzureEventHubsOrBuilder, Cloneable
Enclosing class:
IngestionDataSourceSettings.AzureEventHubs

public static final class IngestionDataSourceSettings.AzureEventHubs.Builder extends com.google.protobuf.GeneratedMessage.Builder<IngestionDataSourceSettings.AzureEventHubs.Builder> implements IngestionDataSourceSettings.AzureEventHubsOrBuilder
 Ingestion settings for Azure Event Hubs.
 
Protobuf type google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<IngestionDataSourceSettings.AzureEventHubs.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<IngestionDataSourceSettings.AzureEventHubs.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<IngestionDataSourceSettings.AzureEventHubs.Builder>
    • getDefaultInstanceForType

      public IngestionDataSourceSettings.AzureEventHubs getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public IngestionDataSourceSettings.AzureEventHubs.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<IngestionDataSourceSettings.AzureEventHubs.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<IngestionDataSourceSettings.AzureEventHubs.Builder>
    • mergeFrom

      public IngestionDataSourceSettings.AzureEventHubs.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<IngestionDataSourceSettings.AzureEventHubs.Builder>
      Throws:
      IOException
    • 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];
      Specified by:
      getStateValue in interface IngestionDataSourceSettings.AzureEventHubsOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      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];
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getState in interface IngestionDataSourceSettings.AzureEventHubsOrBuilder
      Returns:
      The state.
    • setState

       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];
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • getResourceGroup

      public String getResourceGroup()
       Optional. Name of the resource group within the azure subscription.
       
      string resource_group = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getResourceGroup in interface IngestionDataSourceSettings.AzureEventHubsOrBuilder
      Returns:
      The resourceGroup.
    • getResourceGroupBytes

      public com.google.protobuf.ByteString getResourceGroupBytes()
       Optional. Name of the resource group within the azure subscription.
       
      string resource_group = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getResourceGroupBytes in interface IngestionDataSourceSettings.AzureEventHubsOrBuilder
      Returns:
      The bytes for resourceGroup.
    • setResourceGroup

       Optional. Name of the resource group within the azure subscription.
       
      string resource_group = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The resourceGroup to set.
      Returns:
      This builder for chaining.
    • clearResourceGroup

       Optional. Name of the resource group within the azure subscription.
       
      string resource_group = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setResourceGroupBytes

      public IngestionDataSourceSettings.AzureEventHubs.Builder setResourceGroupBytes(com.google.protobuf.ByteString value)
       Optional. Name of the resource group within the azure subscription.
       
      string resource_group = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for resourceGroup to set.
      Returns:
      This builder for chaining.
    • getNamespace

      public String getNamespace()
       Optional. The name of the Event Hubs namespace.
       
      string namespace = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNamespace in interface IngestionDataSourceSettings.AzureEventHubsOrBuilder
      Returns:
      The namespace.
    • getNamespaceBytes

      public com.google.protobuf.ByteString getNamespaceBytes()
       Optional. The name of the Event Hubs namespace.
       
      string namespace = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNamespaceBytes in interface IngestionDataSourceSettings.AzureEventHubsOrBuilder
      Returns:
      The bytes for namespace.
    • setNamespace

       Optional. The name of the Event Hubs namespace.
       
      string namespace = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The namespace to set.
      Returns:
      This builder for chaining.
    • clearNamespace

       Optional. The name of the Event Hubs namespace.
       
      string namespace = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setNamespaceBytes

      public IngestionDataSourceSettings.AzureEventHubs.Builder setNamespaceBytes(com.google.protobuf.ByteString value)
       Optional. The name of the Event Hubs namespace.
       
      string namespace = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for namespace to set.
      Returns:
      This builder for chaining.
    • getEventHub

      public String getEventHub()
       Optional. The name of the Event Hub.
       
      string event_hub = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEventHub in interface IngestionDataSourceSettings.AzureEventHubsOrBuilder
      Returns:
      The eventHub.
    • getEventHubBytes

      public com.google.protobuf.ByteString getEventHubBytes()
       Optional. The name of the Event Hub.
       
      string event_hub = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEventHubBytes in interface IngestionDataSourceSettings.AzureEventHubsOrBuilder
      Returns:
      The bytes for eventHub.
    • setEventHub

       Optional. The name of the Event Hub.
       
      string event_hub = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The eventHub to set.
      Returns:
      This builder for chaining.
    • clearEventHub

       Optional. The name of the Event Hub.
       
      string event_hub = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setEventHubBytes

      public IngestionDataSourceSettings.AzureEventHubs.Builder setEventHubBytes(com.google.protobuf.ByteString value)
       Optional. The name of the Event Hub.
       
      string event_hub = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for eventHub to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getClientId in interface IngestionDataSourceSettings.AzureEventHubsOrBuilder
      Returns:
      The clientId.
    • getClientIdBytes

      public com.google.protobuf.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];
      Specified by:
      getClientIdBytes in interface IngestionDataSourceSettings.AzureEventHubsOrBuilder
      Returns:
      The bytes for clientId.
    • setClientId

       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];
      Parameters:
      value - The clientId to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setClientIdBytes

      public IngestionDataSourceSettings.AzureEventHubs.Builder setClientIdBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for clientId to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getTenantId in interface IngestionDataSourceSettings.AzureEventHubsOrBuilder
      Returns:
      The tenantId.
    • getTenantIdBytes

      public com.google.protobuf.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];
      Specified by:
      getTenantIdBytes in interface IngestionDataSourceSettings.AzureEventHubsOrBuilder
      Returns:
      The bytes for tenantId.
    • setTenantId

       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];
      Parameters:
      value - The tenantId to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setTenantIdBytes

      public IngestionDataSourceSettings.AzureEventHubs.Builder setTenantIdBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for tenantId to set.
      Returns:
      This builder for chaining.
    • getSubscriptionId

      public String getSubscriptionId()
       Optional. The Azure subscription id.
       
      string subscription_id = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSubscriptionId in interface IngestionDataSourceSettings.AzureEventHubsOrBuilder
      Returns:
      The subscriptionId.
    • getSubscriptionIdBytes

      public com.google.protobuf.ByteString getSubscriptionIdBytes()
       Optional. The Azure subscription id.
       
      string subscription_id = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSubscriptionIdBytes in interface IngestionDataSourceSettings.AzureEventHubsOrBuilder
      Returns:
      The bytes for subscriptionId.
    • setSubscriptionId

       Optional. The Azure subscription id.
       
      string subscription_id = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The subscriptionId to set.
      Returns:
      This builder for chaining.
    • clearSubscriptionId

       Optional. The Azure subscription id.
       
      string subscription_id = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setSubscriptionIdBytes

      public IngestionDataSourceSettings.AzureEventHubs.Builder setSubscriptionIdBytes(com.google.protobuf.ByteString value)
       Optional. The Azure subscription id.
       
      string subscription_id = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for subscriptionId to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getGcpServiceAccount in interface IngestionDataSourceSettings.AzureEventHubsOrBuilder
      Returns:
      The gcpServiceAccount.
    • getGcpServiceAccountBytes

      public com.google.protobuf.ByteString getGcpServiceAccountBytes()
       Optional. The GCP service account to be used for Federated Identity
       authentication.
       
      string gcp_service_account = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGcpServiceAccountBytes in interface IngestionDataSourceSettings.AzureEventHubsOrBuilder
      Returns:
      The bytes for gcpServiceAccount.
    • setGcpServiceAccount

      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];
      Parameters:
      value - The gcpServiceAccount to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setGcpServiceAccountBytes

      public IngestionDataSourceSettings.AzureEventHubs.Builder setGcpServiceAccountBytes(com.google.protobuf.ByteString value)
       Optional. The GCP service account to be used for Federated Identity
       authentication.
       
      string gcp_service_account = 8 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for gcpServiceAccount to set.
      Returns:
      This builder for chaining.