Class IngestionDataSourceSettings.ConfluentCloud.Builder (1.136.0)

public static final class IngestionDataSourceSettings.ConfluentCloud.Builder extends GeneratedMessageV3.Builder<IngestionDataSourceSettings.ConfluentCloud.Builder> implements IngestionDataSourceSettings.ConfluentCloudOrBuilder

Ingestion settings for Confluent Cloud.

Protobuf type google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud

Static 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
Overrides

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
Overrides

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
Overrides

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
Overrides

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
Overrides

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
Overrides

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
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
Overrides

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
Overrides

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 String

The 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 ByteString

The 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 String

The 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 ByteString

The 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
Overrides

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 String

The 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 ByteString

The 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 String

The 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 ByteString

The 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
Overrides

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

The 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 int

The 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 String

The 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 ByteString

The 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
Overrides