Class IngestionDataSourceSettings.ConfluentCloud (1.139.4)

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

CLUSTER_ID_FIELD_NUMBER

public static final int CLUSTER_ID_FIELD_NUMBER
Field Value
TypeDescription
int

GCP_SERVICE_ACCOUNT_FIELD_NUMBER

public static final int GCP_SERVICE_ACCOUNT_FIELD_NUMBER
Field Value
TypeDescription
int

IDENTITY_POOL_ID_FIELD_NUMBER

public static final int IDENTITY_POOL_ID_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

TOPIC_FIELD_NUMBER

public static final int TOPIC_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static IngestionDataSourceSettings.ConfluentCloud getDefaultInstance()
Returns
TypeDescription
IngestionDataSourceSettings.ConfluentCloud

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static IngestionDataSourceSettings.ConfluentCloud.Builder newBuilder()
Returns
TypeDescription
IngestionDataSourceSettings.ConfluentCloud.Builder

newBuilder(IngestionDataSourceSettings.ConfluentCloud )

public static IngestionDataSourceSettings.ConfluentCloud.Builder newBuilder(IngestionDataSourceSettings.ConfluentCloud )
Parameter
NameDescription
IngestionDataSourceSettings.ConfluentCloud
Returns
TypeDescription
IngestionDataSourceSettings.ConfluentCloud.Builder

parseDelimitedFrom(InputStream input)

public static IngestionDataSourceSettings.ConfluentCloud parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
IngestionDataSourceSettings.ConfluentCloud
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IngestionDataSourceSettings.ConfluentCloud parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IngestionDataSourceSettings.ConfluentCloud
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static IngestionDataSourceSettings.ConfluentCloud parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
IngestionDataSourceSettings.ConfluentCloud
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static IngestionDataSourceSettings.ConfluentCloud parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IngestionDataSourceSettings.ConfluentCloud
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static IngestionDataSourceSettings.ConfluentCloud parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
IngestionDataSourceSettings.ConfluentCloud
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static IngestionDataSourceSettings.ConfluentCloud parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IngestionDataSourceSettings.ConfluentCloud
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static IngestionDataSourceSettings.ConfluentCloud parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
IngestionDataSourceSettings.ConfluentCloud
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static IngestionDataSourceSettings.ConfluentCloud parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IngestionDataSourceSettings.ConfluentCloud
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static IngestionDataSourceSettings.ConfluentCloud parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
IngestionDataSourceSettings.ConfluentCloud
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IngestionDataSourceSettings.ConfluentCloud parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IngestionDataSourceSettings.ConfluentCloud
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static IngestionDataSourceSettings.ConfluentCloud parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
IngestionDataSourceSettings.ConfluentCloud
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static IngestionDataSourceSettings.ConfluentCloud parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IngestionDataSourceSettings.ConfluentCloud
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
String

The clusterId.

getClusterIdBytes()

public ByteString getClusterIdBytes()

Required. The id of the cluster.

string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for clusterId.

getDefaultInstanceForType()

public IngestionDataSourceSettings.ConfluentCloud getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for identityPoolId.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for topic.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public IngestionDataSourceSettings.ConfluentCloud.Builder newBuilderForType()
Returns
TypeDescription
IngestionDataSourceSettings.ConfluentCloud.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected IngestionDataSourceSettings.ConfluentCloud.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
IngestionDataSourceSettings.ConfluentCloud.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public IngestionDataSourceSettings.ConfluentCloud.Builder toBuilder()
Returns
TypeDescription
IngestionDataSourceSettings.ConfluentCloud.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException