Class IngestionDataSourceSettings.ConfluentCloud.Builder

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

public static final class IngestionDataSourceSettings.ConfluentCloud.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<IngestionDataSourceSettings.ConfluentCloud.Builder> implements IngestionDataSourceSettings.ConfluentCloudOrBuilder
 Ingestion settings for Confluent Cloud.
 
Protobuf type google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<IngestionDataSourceSettings.ConfluentCloud.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.GeneratedMessageV3.Builder<IngestionDataSourceSettings.ConfluentCloud.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.GeneratedMessageV3.Builder<IngestionDataSourceSettings.ConfluentCloud.Builder>
    • getDefaultInstanceForType

      public IngestionDataSourceSettings.ConfluentCloud 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
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<IngestionDataSourceSettings.ConfluentCloud.Builder>
    • setField

      public IngestionDataSourceSettings.ConfluentCloud.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<IngestionDataSourceSettings.ConfluentCloud.Builder>
    • clearField

      public IngestionDataSourceSettings.ConfluentCloud.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<IngestionDataSourceSettings.ConfluentCloud.Builder>
    • clearOneof

      public IngestionDataSourceSettings.ConfluentCloud.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<IngestionDataSourceSettings.ConfluentCloud.Builder>
    • setRepeatedField

      public IngestionDataSourceSettings.ConfluentCloud.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<IngestionDataSourceSettings.ConfluentCloud.Builder>
    • addRepeatedField

      public IngestionDataSourceSettings.ConfluentCloud.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<IngestionDataSourceSettings.ConfluentCloud.Builder>
    • mergeFrom

      public IngestionDataSourceSettings.ConfluentCloud.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.ConfluentCloud.Builder>
    • mergeFrom

    • isInitialized

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

      public IngestionDataSourceSettings.ConfluentCloud.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.ConfluentCloud.Builder>
      Throws:
      IOException
    • getStateValue

      public int getStateValue()
       Output only. An output-only field that indicates the state of the
       Confluent Cloud ingestion source.
       
      .google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface IngestionDataSourceSettings.ConfluentCloudOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public IngestionDataSourceSettings.ConfluentCloud.Builder setStateValue(int value)
       Output only. An output-only field that indicates the state of the
       Confluent Cloud ingestion source.
       
      .google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud.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
       Confluent Cloud ingestion source.
       
      .google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface IngestionDataSourceSettings.ConfluentCloudOrBuilder
      Returns:
      The state.
    • setState

       Output only. An output-only field that indicates the state of the
       Confluent Cloud ingestion source.
       
      .google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud.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
       Confluent Cloud ingestion source.
       
      .google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getBootstrapServer

      public String getBootstrapServer()
       Required. The address of the bootstrap server. The format is url:port.
       
      string bootstrap_server = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getBootstrapServer in interface IngestionDataSourceSettings.ConfluentCloudOrBuilder
      Returns:
      The bootstrapServer.
    • getBootstrapServerBytes

      public com.google.protobuf.ByteString getBootstrapServerBytes()
       Required. The address of the bootstrap server. The format is url:port.
       
      string bootstrap_server = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getBootstrapServerBytes in interface IngestionDataSourceSettings.ConfluentCloudOrBuilder
      Returns:
      The bytes for bootstrapServer.
    • setBootstrapServer

       Required. The address of the bootstrap server. The format is url:port.
       
      string bootstrap_server = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bootstrapServer to set.
      Returns:
      This builder for chaining.
    • clearBootstrapServer

       Required. The address of the bootstrap server. The format is url:port.
       
      string bootstrap_server = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setBootstrapServerBytes

      public IngestionDataSourceSettings.ConfluentCloud.Builder setBootstrapServerBytes(com.google.protobuf.ByteString value)
       Required. The address of the bootstrap server. The format is url:port.
       
      string bootstrap_server = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for bootstrapServer to set.
      Returns:
      This builder for chaining.
    • getClusterId

      public String getClusterId()
       Required. The id of the cluster.
       
      string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getClusterId in interface IngestionDataSourceSettings.ConfluentCloudOrBuilder
      Returns:
      The clusterId.
    • getClusterIdBytes

      public com.google.protobuf.ByteString getClusterIdBytes()
       Required. The id of the cluster.
       
      string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getClusterIdBytes in interface IngestionDataSourceSettings.ConfluentCloudOrBuilder
      Returns:
      The bytes for clusterId.
    • setClusterId

       Required. The id of the cluster.
       
      string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The clusterId to set.
      Returns:
      This builder for chaining.
    • clearClusterId

       Required. The id of the cluster.
       
      string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setClusterIdBytes

      public IngestionDataSourceSettings.ConfluentCloud.Builder setClusterIdBytes(com.google.protobuf.ByteString value)
       Required. The id of the cluster.
       
      string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for clusterId to set.
      Returns:
      This builder for chaining.
    • getTopic

      public String getTopic()
       Required. The name of the topic in the Confluent Cloud cluster that
       Pub/Sub will import from.
       
      string topic = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTopic in interface IngestionDataSourceSettings.ConfluentCloudOrBuilder
      Returns:
      The topic.
    • getTopicBytes

      public com.google.protobuf.ByteString getTopicBytes()
       Required. The name of the topic in the Confluent Cloud cluster that
       Pub/Sub will import from.
       
      string topic = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTopicBytes in interface IngestionDataSourceSettings.ConfluentCloudOrBuilder
      Returns:
      The bytes for topic.
    • setTopic

       Required. The name of the topic in the Confluent Cloud cluster that
       Pub/Sub will import from.
       
      string topic = 4 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The topic to set.
      Returns:
      This builder for chaining.
    • clearTopic

       Required. The name of the topic in the Confluent Cloud cluster that
       Pub/Sub will import from.
       
      string topic = 4 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setTopicBytes

      public IngestionDataSourceSettings.ConfluentCloud.Builder setTopicBytes(com.google.protobuf.ByteString value)
       Required. The name of the topic in the Confluent Cloud cluster that
       Pub/Sub will import from.
       
      string topic = 4 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for topic to set.
      Returns:
      This builder for chaining.
    • getIdentityPoolId

      public String getIdentityPoolId()
       Required. The id of the identity pool to be used for Federated Identity
       authentication with Confluent Cloud. See
       https://docs.confluent.io/cloud/current/security/authenticate/workload-identities/identity-providers/oauth/identity-pools.html#add-oauth-identity-pools.
       
      string identity_pool_id = 5 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getIdentityPoolId in interface IngestionDataSourceSettings.ConfluentCloudOrBuilder
      Returns:
      The identityPoolId.
    • getIdentityPoolIdBytes

      public com.google.protobuf.ByteString getIdentityPoolIdBytes()
       Required. The id of the identity pool to be used for Federated Identity
       authentication with Confluent Cloud. See
       https://docs.confluent.io/cloud/current/security/authenticate/workload-identities/identity-providers/oauth/identity-pools.html#add-oauth-identity-pools.
       
      string identity_pool_id = 5 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getIdentityPoolIdBytes in interface IngestionDataSourceSettings.ConfluentCloudOrBuilder
      Returns:
      The bytes for identityPoolId.
    • setIdentityPoolId

       Required. The id of the identity pool to be used for Federated Identity
       authentication with Confluent Cloud. See
       https://docs.confluent.io/cloud/current/security/authenticate/workload-identities/identity-providers/oauth/identity-pools.html#add-oauth-identity-pools.
       
      string identity_pool_id = 5 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The identityPoolId to set.
      Returns:
      This builder for chaining.
    • clearIdentityPoolId

       Required. The id of the identity pool to be used for Federated Identity
       authentication with Confluent Cloud. See
       https://docs.confluent.io/cloud/current/security/authenticate/workload-identities/identity-providers/oauth/identity-pools.html#add-oauth-identity-pools.
       
      string identity_pool_id = 5 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setIdentityPoolIdBytes

      public IngestionDataSourceSettings.ConfluentCloud.Builder setIdentityPoolIdBytes(com.google.protobuf.ByteString value)
       Required. The id of the identity pool to be used for Federated Identity
       authentication with Confluent Cloud. See
       https://docs.confluent.io/cloud/current/security/authenticate/workload-identities/identity-providers/oauth/identity-pools.html#add-oauth-identity-pools.
       
      string identity_pool_id = 5 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for identityPoolId to set.
      Returns:
      This builder for chaining.
    • getGcpServiceAccount

      public String getGcpServiceAccount()
       Required. The GCP service account to be used for Federated Identity
       authentication with `identity_pool_id`.
       
      string gcp_service_account = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getGcpServiceAccount in interface IngestionDataSourceSettings.ConfluentCloudOrBuilder
      Returns:
      The gcpServiceAccount.
    • getGcpServiceAccountBytes

      public com.google.protobuf.ByteString getGcpServiceAccountBytes()
       Required. The GCP service account to be used for Federated Identity
       authentication with `identity_pool_id`.
       
      string gcp_service_account = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getGcpServiceAccountBytes in interface IngestionDataSourceSettings.ConfluentCloudOrBuilder
      Returns:
      The bytes for gcpServiceAccount.
    • setGcpServiceAccount

      public IngestionDataSourceSettings.ConfluentCloud.Builder setGcpServiceAccount(String value)
       Required. The GCP service account to be used for Federated Identity
       authentication with `identity_pool_id`.
       
      string gcp_service_account = 6 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The gcpServiceAccount to set.
      Returns:
      This builder for chaining.
    • clearGcpServiceAccount

      public IngestionDataSourceSettings.ConfluentCloud.Builder clearGcpServiceAccount()
       Required. The GCP service account to be used for Federated Identity
       authentication with `identity_pool_id`.
       
      string gcp_service_account = 6 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setGcpServiceAccountBytes

      public IngestionDataSourceSettings.ConfluentCloud.Builder setGcpServiceAccountBytes(com.google.protobuf.ByteString value)
       Required. The GCP service account to be used for Federated Identity
       authentication with `identity_pool_id`.
       
      string gcp_service_account = 6 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for gcpServiceAccount to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final IngestionDataSourceSettings.ConfluentCloud.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<IngestionDataSourceSettings.ConfluentCloud.Builder>
    • mergeUnknownFields

      public final IngestionDataSourceSettings.ConfluentCloud.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<IngestionDataSourceSettings.ConfluentCloud.Builder>