Class IngestionDataSourceSettings.ConfluentCloud (1.136.0)

public static final class IngestionDataSourceSettings.ConfluentCloud extends GeneratedMessageV3 implements IngestionDataSourceSettings.ConfluentCloudOrBuilder

Ingestion settings for Confluent Cloud.

Protobuf type google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > IngestionDataSourceSettings.ConfluentCloud

Static Fields

BOOTSTRAP_SERVER_FIELD_NUMBER

public static final int BOOTSTRAP_SERVER_FIELD_NUMBER
Field Value
Type Description
int

CLUSTER_ID_FIELD_NUMBER

public static final int CLUSTER_ID_FIELD_NUMBER
Field Value
Type Description
int

GCP_SERVICE_ACCOUNT_FIELD_NUMBER

public static final int GCP_SERVICE_ACCOUNT_FIELD_NUMBER
Field Value
Type Description
int

IDENTITY_POOL_ID_FIELD_NUMBER

public static final int IDENTITY_POOL_ID_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

TOPIC_FIELD_NUMBER

public static final int TOPIC_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static IngestionDataSourceSettings.ConfluentCloud getDefaultInstance()
Returns
Type Description
IngestionDataSourceSettings.ConfluentCloud

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static IngestionDataSourceSettings.ConfluentCloud.Builder newBuilder()
Returns
Type Description
IngestionDataSourceSettings.ConfluentCloud.Builder

newBuilder(IngestionDataSourceSettings.ConfluentCloud prototype)

public static IngestionDataSourceSettings.ConfluentCloud.Builder newBuilder(IngestionDataSourceSettings.ConfluentCloud prototype)
Parameter
Name Description
prototype IngestionDataSourceSettings.ConfluentCloud
Returns
Type Description
IngestionDataSourceSettings.ConfluentCloud.Builder

parseDelimitedFrom(InputStream input)

public static IngestionDataSourceSettings.ConfluentCloud parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IngestionDataSourceSettings.ConfluentCloud
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IngestionDataSourceSettings.ConfluentCloud parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestionDataSourceSettings.ConfluentCloud
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static IngestionDataSourceSettings.ConfluentCloud parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
IngestionDataSourceSettings.ConfluentCloud
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static IngestionDataSourceSettings.ConfluentCloud parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestionDataSourceSettings.ConfluentCloud
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static IngestionDataSourceSettings.ConfluentCloud parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
IngestionDataSourceSettings.ConfluentCloud
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static IngestionDataSourceSettings.ConfluentCloud parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestionDataSourceSettings.ConfluentCloud
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static IngestionDataSourceSettings.ConfluentCloud parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
IngestionDataSourceSettings.ConfluentCloud
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static IngestionDataSourceSettings.ConfluentCloud parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestionDataSourceSettings.ConfluentCloud
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static IngestionDataSourceSettings.ConfluentCloud parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IngestionDataSourceSettings.ConfluentCloud
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IngestionDataSourceSettings.ConfluentCloud parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestionDataSourceSettings.ConfluentCloud
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static IngestionDataSourceSettings.ConfluentCloud parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
IngestionDataSourceSettings.ConfluentCloud
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static IngestionDataSourceSettings.ConfluentCloud parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestionDataSourceSettings.ConfluentCloud
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<IngestionDataSourceSettings.ConfluentCloud> parser()
Returns
Type Description
Parser<ConfluentCloud>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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.

getParserForType()

public Parser<IngestionDataSourceSettings.ConfluentCloud> getParserForType()
Returns
Type Description
Parser<ConfluentCloud>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public IngestionDataSourceSettings.ConfluentCloud.Builder newBuilderForType()
Returns
Type Description
IngestionDataSourceSettings.ConfluentCloud.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected IngestionDataSourceSettings.ConfluentCloud.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
IngestionDataSourceSettings.ConfluentCloud.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public IngestionDataSourceSettings.ConfluentCloud.Builder toBuilder()
Returns
Type Description
IngestionDataSourceSettings.ConfluentCloud.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException