public static final class IngestionDataSourceSettings.AwsKinesis.Builder extends GeneratedMessage.Builder<IngestionDataSourceSettings.AwsKinesis.Builder> implements IngestionDataSourceSettings.AwsKinesisOrBuilderIngestion settings for Amazon Kinesis Data Streams.
Protobuf type google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > IngestionDataSourceSettings.AwsKinesis.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public IngestionDataSourceSettings.AwsKinesis build()| Returns | |
|---|---|
| Type | Description |
IngestionDataSourceSettings.AwsKinesis |
|
buildPartial()
public IngestionDataSourceSettings.AwsKinesis buildPartial()| Returns | |
|---|---|
| Type | Description |
IngestionDataSourceSettings.AwsKinesis |
|
clear()
public IngestionDataSourceSettings.AwsKinesis.Builder clear()| Returns | |
|---|---|
| Type | Description |
IngestionDataSourceSettings.AwsKinesis.Builder |
|
clearAwsRoleArn()
public IngestionDataSourceSettings.AwsKinesis.Builder clearAwsRoleArn()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 | |
|---|---|
| Type | Description |
IngestionDataSourceSettings.AwsKinesis.Builder |
This builder for chaining. |
clearConsumerArn()
public IngestionDataSourceSettings.AwsKinesis.Builder clearConsumerArn()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 | |
|---|---|
| Type | Description |
IngestionDataSourceSettings.AwsKinesis.Builder |
This builder for chaining. |
clearGcpServiceAccount()
public IngestionDataSourceSettings.AwsKinesis.Builder clearGcpServiceAccount() 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 | |
|---|---|
| Type | Description |
IngestionDataSourceSettings.AwsKinesis.Builder |
This builder for chaining. |
clearState()
public IngestionDataSourceSettings.AwsKinesis.Builder clearState()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 | |
|---|---|
| Type | Description |
IngestionDataSourceSettings.AwsKinesis.Builder |
This builder for chaining. |
clearStreamArn()
public IngestionDataSourceSettings.AwsKinesis.Builder clearStreamArn()Required. The Kinesis stream ARN to ingest data from.
string stream_arn = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
IngestionDataSourceSettings.AwsKinesis.Builder |
This builder for chaining. |
getAwsRoleArn()
public 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 | |
|---|---|
| Type | Description |
String |
The awsRoleArn. |
getAwsRoleArnBytes()
public 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for awsRoleArn. |
getConsumerArn()
public 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 | |
|---|---|
| Type | Description |
String |
The consumerArn. |
getConsumerArnBytes()
public 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for consumerArn. |
getDefaultInstanceForType()
public IngestionDataSourceSettings.AwsKinesis getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
IngestionDataSourceSettings.AwsKinesis |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGcpServiceAccount()
public 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 | |
|---|---|
| Type | Description |
String |
The gcpServiceAccount. |
getGcpServiceAccountBytes()
public 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for gcpServiceAccount. |
getState()
public 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 | |
|---|---|
| Type | Description |
IngestionDataSourceSettings.AwsKinesis.State |
The state. |
getStateValue()
public 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 | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
getStreamArn()
public String getStreamArn()Required. The Kinesis stream ARN to ingest data from.
string stream_arn = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The streamArn. |
getStreamArnBytes()
public ByteString getStreamArnBytes()Required. The Kinesis stream ARN to ingest data from.
string stream_arn = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for streamArn. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public IngestionDataSourceSettings.AwsKinesis.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
IngestionDataSourceSettings.AwsKinesis.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public IngestionDataSourceSettings.AwsKinesis.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
IngestionDataSourceSettings.AwsKinesis.Builder |
|
mergeFrom(IngestionDataSourceSettings.AwsKinesis other)
public IngestionDataSourceSettings.AwsKinesis.Builder mergeFrom(IngestionDataSourceSettings.AwsKinesis other)| Parameter | |
|---|---|
| Name | Description |
other |
IngestionDataSourceSettings.AwsKinesis |
| Returns | |
|---|---|
| Type | Description |
IngestionDataSourceSettings.AwsKinesis.Builder |
|
setAwsRoleArn(String value)
public IngestionDataSourceSettings.AwsKinesis.Builder setAwsRoleArn(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe awsRoleArn to set. |
| Returns | |
|---|---|
| Type | Description |
IngestionDataSourceSettings.AwsKinesis.Builder |
This builder for chaining. |
setAwsRoleArnBytes(ByteString value)
public IngestionDataSourceSettings.AwsKinesis.Builder setAwsRoleArnBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for awsRoleArn to set. |
| Returns | |
|---|---|
| Type | Description |
IngestionDataSourceSettings.AwsKinesis.Builder |
This builder for chaining. |
setConsumerArn(String value)
public IngestionDataSourceSettings.AwsKinesis.Builder setConsumerArn(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe consumerArn to set. |
| Returns | |
|---|---|
| Type | Description |
IngestionDataSourceSettings.AwsKinesis.Builder |
This builder for chaining. |
setConsumerArnBytes(ByteString value)
public IngestionDataSourceSettings.AwsKinesis.Builder setConsumerArnBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for consumerArn to set. |
| Returns | |
|---|---|
| Type | Description |
IngestionDataSourceSettings.AwsKinesis.Builder |
This builder for chaining. |
setGcpServiceAccount(String value)
public IngestionDataSourceSettings.AwsKinesis.Builder setGcpServiceAccount(String value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe gcpServiceAccount to set. |
| Returns | |
|---|---|
| Type | Description |
IngestionDataSourceSettings.AwsKinesis.Builder |
This builder for chaining. |
setGcpServiceAccountBytes(ByteString value)
public IngestionDataSourceSettings.AwsKinesis.Builder setGcpServiceAccountBytes(ByteString value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for gcpServiceAccount to set. |
| Returns | |
|---|---|
| Type | Description |
IngestionDataSourceSettings.AwsKinesis.Builder |
This builder for chaining. |
setState(IngestionDataSourceSettings.AwsKinesis.State value)
public IngestionDataSourceSettings.AwsKinesis.Builder setState(IngestionDataSourceSettings.AwsKinesis.State value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
IngestionDataSourceSettings.AwsKinesis.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
IngestionDataSourceSettings.AwsKinesis.Builder |
This builder for chaining. |
setStateValue(int value)
public IngestionDataSourceSettings.AwsKinesis.Builder setStateValue(int value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
IngestionDataSourceSettings.AwsKinesis.Builder |
This builder for chaining. |
setStreamArn(String value)
public IngestionDataSourceSettings.AwsKinesis.Builder setStreamArn(String value)Required. The Kinesis stream ARN to ingest data from.
string stream_arn = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe streamArn to set. |
| Returns | |
|---|---|
| Type | Description |
IngestionDataSourceSettings.AwsKinesis.Builder |
This builder for chaining. |
setStreamArnBytes(ByteString value)
public IngestionDataSourceSettings.AwsKinesis.Builder setStreamArnBytes(ByteString value)Required. The Kinesis stream ARN to ingest data from.
string stream_arn = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for streamArn to set. |
| Returns | |
|---|---|
| Type | Description |
IngestionDataSourceSettings.AwsKinesis.Builder |
This builder for chaining. |