Class AwsAccessRole.Builder (2.32.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AwsAccessRole.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AwsAccessRole.Builder
Overrides

build()

public AwsAccessRole build()
Returns
TypeDescription
AwsAccessRole

buildPartial()

public AwsAccessRole buildPartial()
Returns
TypeDescription
AwsAccessRole

clear()

public AwsAccessRole.Builder clear()
Returns
TypeDescription
AwsAccessRole.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AwsAccessRole.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
AwsAccessRole.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AwsAccessRole.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AwsAccessRole.Builder
Overrides

clone()

public AwsAccessRole.Builder clone()
Returns
TypeDescription
AwsAccessRole.Builder
Overrides

getDefaultInstanceForType()

public AwsAccessRole getDefaultInstanceForType()
Returns
TypeDescription
AwsAccessRole

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for identity.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AwsAccessRole other)

public AwsAccessRole.Builder mergeFrom(AwsAccessRole other)
Parameter
NameDescription
otherAwsAccessRole
Returns
TypeDescription
AwsAccessRole.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AwsAccessRole.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsAccessRole.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AwsAccessRole.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AwsAccessRole.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AwsAccessRole.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AwsAccessRole.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AwsAccessRole.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The iamRoleId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for iamRoleId to set.

Returns
TypeDescription
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
NameDescription
valueString

The identity to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for identity to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AwsAccessRole.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AwsAccessRole.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AwsAccessRole.Builder
Overrides