public static final class IngestionDataSourceSettings.ConfluentCloud.Builder extends GeneratedMessageV3.Builder<IngestionDataSourceSettings.ConfluentCloud.Builder> implements IngestionDataSourceSettings.ConfluentCloudOrBuilderIngestion settings for Confluent Cloud.
 Protobuf type google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > IngestionDataSourceSettings.ConfluentCloud.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public IngestionDataSourceSettings.ConfluentCloud.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.ConfluentCloud.Builder | 
        |
build()
public IngestionDataSourceSettings.ConfluentCloud build()| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.ConfluentCloud | 
        |
buildPartial()
public IngestionDataSourceSettings.ConfluentCloud buildPartial()| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.ConfluentCloud | 
        |
clear()
public IngestionDataSourceSettings.ConfluentCloud.Builder clear()| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.ConfluentCloud.Builder | 
        |
clearBootstrapServer()
public IngestionDataSourceSettings.ConfluentCloud.Builder clearBootstrapServer()Required. The address of the bootstrap server. The format is url:port.
 string bootstrap_server = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.ConfluentCloud.Builder | 
        This builder for chaining.  | 
      
clearClusterId()
public IngestionDataSourceSettings.ConfluentCloud.Builder clearClusterId()Required. The id of the cluster.
 string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.ConfluentCloud.Builder | 
        This builder for chaining.  | 
      
clearField(Descriptors.FieldDescriptor field)
public IngestionDataSourceSettings.ConfluentCloud.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.ConfluentCloud.Builder | 
        |
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 | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.ConfluentCloud.Builder | 
        This builder for chaining.  | 
      
clearIdentityPoolId()
public IngestionDataSourceSettings.ConfluentCloud.Builder 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 | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.ConfluentCloud.Builder | 
        This builder for chaining.  | 
      
clearOneof(Descriptors.OneofDescriptor oneof)
public IngestionDataSourceSettings.ConfluentCloud.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.ConfluentCloud.Builder | 
        |
clearState()
public IngestionDataSourceSettings.ConfluentCloud.Builder 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 | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.ConfluentCloud.Builder | 
        This builder for chaining.  | 
      
clearTopic()
public IngestionDataSourceSettings.ConfluentCloud.Builder 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 | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.ConfluentCloud.Builder | 
        This builder for chaining.  | 
      
clone()
public IngestionDataSourceSettings.ConfluentCloud.Builder clone()| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.ConfluentCloud.Builder | 
        |
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];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The bootstrapServer.  | 
      
getBootstrapServerBytes()
public ByteString getBootstrapServerBytes()Required. The address of the bootstrap server. The format is url:port.
 string bootstrap_server = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for bootstrapServer.  | 
      
getClusterId()
public String getClusterId()Required. The id of the cluster.
 string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The clusterId.  | 
      
getClusterIdBytes()
public ByteString getClusterIdBytes()Required. The id of the cluster.
 string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for clusterId.  | 
      
getDefaultInstanceForType()
public IngestionDataSourceSettings.ConfluentCloud getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.ConfluentCloud | 
        |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
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];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The gcpServiceAccount.  | 
      
getGcpServiceAccountBytes()
public 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];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for gcpServiceAccount.  | 
      
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];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The identityPoolId.  | 
      
getIdentityPoolIdBytes()
public 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];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for identityPoolId.  | 
      
getState()
public IngestionDataSourceSettings.ConfluentCloud.State 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];
 
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.ConfluentCloud.State | 
        The state.  | 
      
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];
 
| Returns | |
|---|---|
| Type | Description | 
int | 
        The enum numeric value on the wire for state.  | 
      
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];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The topic.  | 
      
getTopicBytes()
public 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];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for topic.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
FieldAccessorTable | 
        |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public IngestionDataSourceSettings.ConfluentCloud.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.ConfluentCloud.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public IngestionDataSourceSettings.ConfluentCloud.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.ConfluentCloud.Builder | 
        |
mergeFrom(IngestionDataSourceSettings.ConfluentCloud other)
public IngestionDataSourceSettings.ConfluentCloud.Builder mergeFrom(IngestionDataSourceSettings.ConfluentCloud other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        IngestionDataSourceSettings.ConfluentCloud | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.ConfluentCloud.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final IngestionDataSourceSettings.ConfluentCloud.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.ConfluentCloud.Builder | 
        |
setBootstrapServer(String value)
public IngestionDataSourceSettings.ConfluentCloud.Builder setBootstrapServer(String value)Required. The address of the bootstrap server. The format is url:port.
 string bootstrap_server = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe bootstrapServer to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.ConfluentCloud.Builder | 
        This builder for chaining.  | 
      
setBootstrapServerBytes(ByteString value)
public IngestionDataSourceSettings.ConfluentCloud.Builder setBootstrapServerBytes(ByteString value)Required. The address of the bootstrap server. The format is url:port.
 string bootstrap_server = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for bootstrapServer to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.ConfluentCloud.Builder | 
        This builder for chaining.  | 
      
setClusterId(String value)
public IngestionDataSourceSettings.ConfluentCloud.Builder setClusterId(String value)Required. The id of the cluster.
 string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe clusterId to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.ConfluentCloud.Builder | 
        This builder for chaining.  | 
      
setClusterIdBytes(ByteString value)
public IngestionDataSourceSettings.ConfluentCloud.Builder setClusterIdBytes(ByteString value)Required. The id of the cluster.
 string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for clusterId to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.ConfluentCloud.Builder | 
        This builder for chaining.  | 
      
setField(Descriptors.FieldDescriptor field, Object value)
public IngestionDataSourceSettings.ConfluentCloud.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.ConfluentCloud.Builder | 
        |
setGcpServiceAccount(String value)
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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe gcpServiceAccount to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.ConfluentCloud.Builder | 
        This builder for chaining.  | 
      
setGcpServiceAccountBytes(ByteString value)
public IngestionDataSourceSettings.ConfluentCloud.Builder setGcpServiceAccountBytes(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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for gcpServiceAccount to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.ConfluentCloud.Builder | 
        This builder for chaining.  | 
      
setIdentityPoolId(String value)
public IngestionDataSourceSettings.ConfluentCloud.Builder setIdentityPoolId(String 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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe identityPoolId to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.ConfluentCloud.Builder | 
        This builder for chaining.  | 
      
setIdentityPoolIdBytes(ByteString value)
public IngestionDataSourceSettings.ConfluentCloud.Builder setIdentityPoolIdBytes(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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for identityPoolId to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.ConfluentCloud.Builder | 
        This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public IngestionDataSourceSettings.ConfluentCloud.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.ConfluentCloud.Builder | 
        |
setState(IngestionDataSourceSettings.ConfluentCloud.State value)
public IngestionDataSourceSettings.ConfluentCloud.Builder setState(IngestionDataSourceSettings.ConfluentCloud.State 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];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        IngestionDataSourceSettings.ConfluentCloud.StateThe state to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.ConfluentCloud.Builder | 
        This builder for chaining.  | 
      
setStateValue(int value)
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];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe enum numeric value on the wire for state to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.ConfluentCloud.Builder | 
        This builder for chaining.  | 
      
setTopic(String value)
public IngestionDataSourceSettings.ConfluentCloud.Builder setTopic(String 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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe topic to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.ConfluentCloud.Builder | 
        This builder for chaining.  | 
      
setTopicBytes(ByteString value)
public IngestionDataSourceSettings.ConfluentCloud.Builder setTopicBytes(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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for topic to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.ConfluentCloud.Builder | 
        This builder for chaining.  | 
      
setUnknownFields(UnknownFieldSet unknownFields)
public final IngestionDataSourceSettings.ConfluentCloud.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.ConfluentCloud.Builder | 
        |