public static final class IngestionDataSourceSettings.AwsMsk.Builder extends GeneratedMessageV3.Builder<IngestionDataSourceSettings.AwsMsk.Builder> implements IngestionDataSourceSettings.AwsMskOrBuilderIngestion settings for Amazon MSK.
 Protobuf type google.pubsub.v1.IngestionDataSourceSettings.AwsMsk
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > IngestionDataSourceSettings.AwsMsk.BuilderImplements
IngestionDataSourceSettings.AwsMskOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public IngestionDataSourceSettings.AwsMsk.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.AwsMsk.Builder | 
        |
build()
public IngestionDataSourceSettings.AwsMsk build()| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.AwsMsk | 
        |
buildPartial()
public IngestionDataSourceSettings.AwsMsk buildPartial()| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.AwsMsk | 
        |
clear()
public IngestionDataSourceSettings.AwsMsk.Builder clear()| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.AwsMsk.Builder | 
        |
clearAwsRoleArn()
public IngestionDataSourceSettings.AwsMsk.Builder clearAwsRoleArn()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 | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.AwsMsk.Builder | 
        This builder for chaining.  | 
      
clearClusterArn()
public IngestionDataSourceSettings.AwsMsk.Builder clearClusterArn()Required. The Amazon Resource Name (ARN) that uniquely identifies the cluster.
 string cluster_arn = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.AwsMsk.Builder | 
        This builder for chaining.  | 
      
clearField(Descriptors.FieldDescriptor field)
public IngestionDataSourceSettings.AwsMsk.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.AwsMsk.Builder | 
        |
clearGcpServiceAccount()
public IngestionDataSourceSettings.AwsMsk.Builder clearGcpServiceAccount() 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 | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.AwsMsk.Builder | 
        This builder for chaining.  | 
      
clearOneof(Descriptors.OneofDescriptor oneof)
public IngestionDataSourceSettings.AwsMsk.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.AwsMsk.Builder | 
        |
clearState()
public IngestionDataSourceSettings.AwsMsk.Builder clearState()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 | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.AwsMsk.Builder | 
        This builder for chaining.  | 
      
clearTopic()
public IngestionDataSourceSettings.AwsMsk.Builder clearTopic()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 | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.AwsMsk.Builder | 
        This builder for chaining.  | 
      
clone()
public IngestionDataSourceSettings.AwsMsk.Builder clone()| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.AwsMsk.Builder | 
        |
getAwsRoleArn()
public 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 | |
|---|---|
| Type | Description | 
String | 
        The awsRoleArn.  | 
      
getAwsRoleArnBytes()
public 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 | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for awsRoleArn.  | 
      
getClusterArn()
public String getClusterArn()Required. The Amazon Resource Name (ARN) that uniquely identifies the cluster.
 string cluster_arn = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The clusterArn.  | 
      
getClusterArnBytes()
public ByteString getClusterArnBytes()Required. The Amazon Resource Name (ARN) that uniquely identifies the cluster.
 string cluster_arn = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for clusterArn.  | 
      
getDefaultInstanceForType()
public IngestionDataSourceSettings.AwsMsk getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.AwsMsk | 
        |
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 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 | |
|---|---|
| Type | Description | 
String | 
        The gcpServiceAccount.  | 
      
getGcpServiceAccountBytes()
public 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 | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for gcpServiceAccount.  | 
      
getState()
public 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 | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.AwsMsk.State | 
        The state.  | 
      
getStateValue()
public 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 | |
|---|---|
| Type | Description | 
int | 
        The enum numeric value on the wire for state.  | 
      
getTopic()
public 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 | |
|---|---|
| Type | Description | 
String | 
        The topic.  | 
      
getTopicBytes()
public 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 | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for topic.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
FieldAccessorTable | 
        |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public IngestionDataSourceSettings.AwsMsk.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.AwsMsk.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public IngestionDataSourceSettings.AwsMsk.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.AwsMsk.Builder | 
        |
mergeFrom(IngestionDataSourceSettings.AwsMsk other)
public IngestionDataSourceSettings.AwsMsk.Builder mergeFrom(IngestionDataSourceSettings.AwsMsk other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        IngestionDataSourceSettings.AwsMsk | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.AwsMsk.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final IngestionDataSourceSettings.AwsMsk.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.AwsMsk.Builder | 
        |
setAwsRoleArn(String value)
public IngestionDataSourceSettings.AwsMsk.Builder setAwsRoleArn(String value)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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe awsRoleArn to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.AwsMsk.Builder | 
        This builder for chaining.  | 
      
setAwsRoleArnBytes(ByteString value)
public IngestionDataSourceSettings.AwsMsk.Builder setAwsRoleArnBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for awsRoleArn to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.AwsMsk.Builder | 
        This builder for chaining.  | 
      
setClusterArn(String value)
public IngestionDataSourceSettings.AwsMsk.Builder setClusterArn(String value)Required. The Amazon Resource Name (ARN) that uniquely identifies the cluster.
 string cluster_arn = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe clusterArn to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.AwsMsk.Builder | 
        This builder for chaining.  | 
      
setClusterArnBytes(ByteString value)
public IngestionDataSourceSettings.AwsMsk.Builder setClusterArnBytes(ByteString value)Required. The Amazon Resource Name (ARN) that uniquely identifies the cluster.
 string cluster_arn = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for clusterArn to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.AwsMsk.Builder | 
        This builder for chaining.  | 
      
setField(Descriptors.FieldDescriptor field, Object value)
public IngestionDataSourceSettings.AwsMsk.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.AwsMsk.Builder | 
        |
setGcpServiceAccount(String value)
public IngestionDataSourceSettings.AwsMsk.Builder setGcpServiceAccount(String value) 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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe gcpServiceAccount to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.AwsMsk.Builder | 
        This builder for chaining.  | 
      
setGcpServiceAccountBytes(ByteString value)
public IngestionDataSourceSettings.AwsMsk.Builder setGcpServiceAccountBytes(ByteString value) 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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for gcpServiceAccount to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.AwsMsk.Builder | 
        This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public IngestionDataSourceSettings.AwsMsk.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.AwsMsk.Builder | 
        |
setState(IngestionDataSourceSettings.AwsMsk.State value)
public IngestionDataSourceSettings.AwsMsk.Builder setState(IngestionDataSourceSettings.AwsMsk.State value)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];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        IngestionDataSourceSettings.AwsMsk.StateThe state to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.AwsMsk.Builder | 
        This builder for chaining.  | 
      
setStateValue(int value)
public IngestionDataSourceSettings.AwsMsk.Builder setStateValue(int value)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];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe enum numeric value on the wire for state to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.AwsMsk.Builder | 
        This builder for chaining.  | 
      
setTopic(String value)
public IngestionDataSourceSettings.AwsMsk.Builder setTopic(String value)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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe topic to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.AwsMsk.Builder | 
        This builder for chaining.  | 
      
setTopicBytes(ByteString value)
public IngestionDataSourceSettings.AwsMsk.Builder setTopicBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for topic to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.AwsMsk.Builder | 
        This builder for chaining.  | 
      
setUnknownFields(UnknownFieldSet unknownFields)
public final IngestionDataSourceSettings.AwsMsk.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionDataSourceSettings.AwsMsk.Builder | 
        |