Package com.google.pubsub.v1
Interface IngestionDataSourceSettings.AwsMskOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
IngestionDataSourceSettings.AwsMsk,IngestionDataSourceSettings.AwsMsk.Builder
- Enclosing class:
- IngestionDataSourceSettings
public static interface IngestionDataSourceSettings.AwsMskOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getStateValue
int getStateValue()Output only. An output-only field that indicates the state of the Amazon MSK ingestion source.
.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for state.
-
getState
IngestionDataSourceSettings.AwsMsk.State getState()Output only. An output-only field that indicates the state of the Amazon MSK ingestion source.
.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The state.
-
getClusterArn
String getClusterArn()Required. The Amazon Resource Name (ARN) that uniquely identifies the cluster.
string cluster_arn = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The clusterArn.
-
getClusterArnBytes
com.google.protobuf.ByteString getClusterArnBytes()Required. The Amazon Resource Name (ARN) that uniquely identifies the cluster.
string cluster_arn = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for clusterArn.
-
getTopic
String getTopic()Required. The name of the topic in the Amazon MSK cluster that Pub/Sub will import from.
string topic = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The topic.
-
getTopicBytes
com.google.protobuf.ByteString getTopicBytes()Required. The name of the topic in the Amazon MSK cluster that Pub/Sub will import from.
string topic = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for topic.
-
getAwsRoleArn
String getAwsRoleArn()Required. AWS role ARN to be used for Federated Identity authentication with Amazon MSK. Check the Pub/Sub docs for how to set up this role and the required permissions that need to be attached to it.
string aws_role_arn = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The awsRoleArn.
-
getAwsRoleArnBytes
com.google.protobuf.ByteString getAwsRoleArnBytes()Required. AWS role ARN to be used for Federated Identity authentication with Amazon MSK. Check the Pub/Sub docs for how to set up this role and the required permissions that need to be attached to it.
string aws_role_arn = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for awsRoleArn.
-
getGcpServiceAccount
String getGcpServiceAccount()Required. The GCP service account to be used for Federated Identity authentication with Amazon MSK (via a `AssumeRoleWithWebIdentity` call for the provided role). The `aws_role_arn` must be set up with `accounts.google.com:sub` equals to this service account number.
string gcp_service_account = 5 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The gcpServiceAccount.
-
getGcpServiceAccountBytes
com.google.protobuf.ByteString getGcpServiceAccountBytes()Required. The GCP service account to be used for Federated Identity authentication with Amazon MSK (via a `AssumeRoleWithWebIdentity` call for the provided role). The `aws_role_arn` must be set up with `accounts.google.com:sub` equals to this service account number.
string gcp_service_account = 5 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for gcpServiceAccount.
-