Class AwsAccessRole.Builder (2.53.0)

public static final class AwsAccessRole.Builder extends GeneratedMessageV3.Builder<AwsAccessRole.Builder> implements AwsAccessRoleOrBuilder

Authentication method for Amazon Web Services (AWS) that uses Google owned Google service account to assume into customer's AWS IAM Role.

Protobuf type google.cloud.bigquery.connection.v1.AwsAccessRole

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AwsAccessRole.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AwsAccessRole.Builder
Overrides

build()

public AwsAccessRole build()
Returns
Type Description
AwsAccessRole

buildPartial()

public AwsAccessRole buildPartial()
Returns
Type Description
AwsAccessRole

clear()

public AwsAccessRole.Builder clear()
Returns
Type Description
AwsAccessRole.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AwsAccessRole.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AwsAccessRole.Builder
Overrides

clearIamRoleId()

public AwsAccessRole.Builder clearIamRoleId()

The user’s AWS IAM Role that trusts the Google-owned AWS IAM user Connection.

string iam_role_id = 1;

Returns
Type Description
AwsAccessRole.Builder

This builder for chaining.

clearIdentity()

public AwsAccessRole.Builder clearIdentity()

A unique Google-owned and Google-generated identity for the Connection. This identity will be used to access the user's AWS IAM Role.

string identity = 2;

Returns
Type Description
AwsAccessRole.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AwsAccessRole.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AwsAccessRole.Builder
Overrides

clone()

public AwsAccessRole.Builder clone()
Returns
Type Description
AwsAccessRole.Builder
Overrides

getDefaultInstanceForType()

public AwsAccessRole getDefaultInstanceForType()
Returns
Type Description
AwsAccessRole

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getIamRoleId()

public String getIamRoleId()

The user’s AWS IAM Role that trusts the Google-owned AWS IAM user Connection.

string iam_role_id = 1;

Returns
Type Description
String

The iamRoleId.

getIamRoleIdBytes()

public ByteString getIamRoleIdBytes()

The user’s AWS IAM Role that trusts the Google-owned AWS IAM user Connection.

string iam_role_id = 1;

Returns
Type Description
ByteString

The bytes for iamRoleId.

getIdentity()

public String getIdentity()

A unique Google-owned and Google-generated identity for the Connection. This identity will be used to access the user's AWS IAM Role.

string identity = 2;

Returns
Type Description
String

The identity.

getIdentityBytes()

public ByteString getIdentityBytes()

A unique Google-owned and Google-generated identity for the Connection. This identity will be used to access the user's AWS IAM Role.

string identity = 2;

Returns
Type Description
ByteString

The bytes for identity.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AwsAccessRole other)

public AwsAccessRole.Builder mergeFrom(AwsAccessRole other)
Parameter
Name Description
other AwsAccessRole
Returns
Type Description
AwsAccessRole.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AwsAccessRole.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AwsAccessRole.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AwsAccessRole.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AwsAccessRole.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AwsAccessRole.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AwsAccessRole.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AwsAccessRole.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AwsAccessRole.Builder
Overrides

setIamRoleId(String value)

public AwsAccessRole.Builder setIamRoleId(String value)

The user’s AWS IAM Role that trusts the Google-owned AWS IAM user Connection.

string iam_role_id = 1;

Parameter
Name Description
value String

The iamRoleId to set.

Returns
Type Description
AwsAccessRole.Builder

This builder for chaining.

setIamRoleIdBytes(ByteString value)

public AwsAccessRole.Builder setIamRoleIdBytes(ByteString value)

The user’s AWS IAM Role that trusts the Google-owned AWS IAM user Connection.

string iam_role_id = 1;

Parameter
Name Description
value ByteString

The bytes for iamRoleId to set.

Returns
Type Description
AwsAccessRole.Builder

This builder for chaining.

setIdentity(String value)

public AwsAccessRole.Builder setIdentity(String value)

A unique Google-owned and Google-generated identity for the Connection. This identity will be used to access the user's AWS IAM Role.

string identity = 2;

Parameter
Name Description
value String

The identity to set.

Returns
Type Description
AwsAccessRole.Builder

This builder for chaining.

setIdentityBytes(ByteString value)

public AwsAccessRole.Builder setIdentityBytes(ByteString value)

A unique Google-owned and Google-generated identity for the Connection. This identity will be used to access the user's AWS IAM Role.

string identity = 2;

Parameter
Name Description
value ByteString

The bytes for identity to set.

Returns
Type Description
AwsAccessRole.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AwsAccessRole.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AwsAccessRole.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AwsAccessRole.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AwsAccessRole.Builder
Overrides