Package com.google.pubsub.v1
Interface IngestionDataSourceSettings.AwsKinesisOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
IngestionDataSourceSettings.AwsKinesis
,IngestionDataSourceSettings.AwsKinesis.Builder
- Enclosing class:
- IngestionDataSourceSettings
public static interface IngestionDataSourceSettings.AwsKinesisOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteString
Required.Required.com.google.protobuf.ByteString
Required.Required.com.google.protobuf.ByteString
Required.getState()
Output only.int
Output only.Required.com.google.protobuf.ByteString
Required.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods 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 Kinesis ingestion source.
.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The enum numeric value on the wire for state.
-
getState
IngestionDataSourceSettings.AwsKinesis.State getState()Output only. An output-only field that indicates the state of the Kinesis ingestion source.
.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The state.
-
getStreamArn
String getStreamArn()Required. The Kinesis stream ARN to ingest data from.
string stream_arn = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The streamArn.
-
getStreamArnBytes
com.google.protobuf.ByteString getStreamArnBytes()Required. The Kinesis stream ARN to ingest data from.
string stream_arn = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for streamArn.
-
getConsumerArn
String getConsumerArn()Required. The Kinesis consumer ARN to used for ingestion in Enhanced Fan-Out mode. The consumer must be already created and ready to be used.
string consumer_arn = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The consumerArn.
-
getConsumerArnBytes
com.google.protobuf.ByteString getConsumerArnBytes()Required. The Kinesis consumer ARN to used for ingestion in Enhanced Fan-Out mode. The consumer must be already created and ready to be used.
string consumer_arn = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for consumerArn.
-
getAwsRoleArn
String getAwsRoleArn()Required. AWS role ARN to be used for Federated Identity authentication with Kinesis. 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 Kinesis. 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 Kinesis (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 Kinesis (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.
-