Package com.google.pubsub.v1
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 Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Required.Required.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Required.Required.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Output only.Required.clone()Required.com.google.protobuf.ByteStringRequired.Required.com.google.protobuf.ByteStringRequired.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.Required.com.google.protobuf.ByteStringRequired.getState()Output only.intOutput only.getTopic()Required.com.google.protobuf.ByteStringRequired.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setBootstrapServer(String value) Required.setBootstrapServerBytes(com.google.protobuf.ByteString value) Required.setClusterId(String value) Required.setClusterIdBytes(com.google.protobuf.ByteString value) Required.setGcpServiceAccount(String value) Required.setGcpServiceAccountBytes(com.google.protobuf.ByteString value) Required.setIdentityPoolId(String value) Required.setIdentityPoolIdBytes(com.google.protobuf.ByteString value) Required.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Output only.setStateValue(int value) Output only.Required.setTopicBytes(com.google.protobuf.ByteString value) Required.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<IngestionDataSourceSettings.ConfluentCloud.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<IngestionDataSourceSettings.ConfluentCloud.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<IngestionDataSourceSettings.ConfluentCloud.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<IngestionDataSourceSettings.ConfluentCloud.Builder>
-
setField
public IngestionDataSourceSettings.ConfluentCloud.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IngestionDataSourceSettings.ConfluentCloud.Builder>
-
clearField
public IngestionDataSourceSettings.ConfluentCloud.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IngestionDataSourceSettings.ConfluentCloud.Builder>
-
clearOneof
public IngestionDataSourceSettings.ConfluentCloud.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IngestionDataSourceSettings.ConfluentCloud.Builder>
-
addRepeatedField
public IngestionDataSourceSettings.ConfluentCloud.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IngestionDataSourceSettings.ConfluentCloud.Builder>
-
mergeFrom
public IngestionDataSourceSettings.ConfluentCloud.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IngestionDataSourceSettings.ConfluentCloud.Builder>
-
mergeFrom
public IngestionDataSourceSettings.ConfluentCloud.Builder mergeFrom(IngestionDataSourceSettings.ConfluentCloud other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
getStateValuein interfaceIngestionDataSourceSettings.ConfluentCloudOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
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:
getStatein interfaceIngestionDataSourceSettings.ConfluentCloudOrBuilder- Returns:
- The state.
-
setState
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];- 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
Required. The address of the bootstrap server. The format is url:port.
string bootstrap_server = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getBootstrapServerin interfaceIngestionDataSourceSettings.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:
getBootstrapServerBytesin interfaceIngestionDataSourceSettings.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
Required. The id of the cluster.
string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getClusterIdin interfaceIngestionDataSourceSettings.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:
getClusterIdBytesin interfaceIngestionDataSourceSettings.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
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:
getTopicin interfaceIngestionDataSourceSettings.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:
getTopicBytesin interfaceIngestionDataSourceSettings.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
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:
getIdentityPoolIdin interfaceIngestionDataSourceSettings.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:
getIdentityPoolIdBytesin interfaceIngestionDataSourceSettings.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
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:
getGcpServiceAccountin interfaceIngestionDataSourceSettings.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:
getGcpServiceAccountBytesin interfaceIngestionDataSourceSettings.ConfluentCloudOrBuilder- Returns:
- The bytes for gcpServiceAccount.
-
setGcpServiceAccount
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
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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<IngestionDataSourceSettings.ConfluentCloud.Builder>
-
mergeUnknownFields
public final IngestionDataSourceSettings.ConfluentCloud.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<IngestionDataSourceSettings.ConfluentCloud.Builder>
-