Class AwsAccessRole (2.34.0)

public final class AwsAccessRole extends GeneratedMessageV3 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 Fields

IAM_ROLE_ID_FIELD_NUMBER

public static final int IAM_ROLE_ID_FIELD_NUMBER
Field Value
TypeDescription
int

IDENTITY_FIELD_NUMBER

public static final int IDENTITY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AwsAccessRole getDefaultInstance()
Returns
TypeDescription
AwsAccessRole

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AwsAccessRole.Builder newBuilder()
Returns
TypeDescription
AwsAccessRole.Builder

newBuilder(AwsAccessRole prototype)

public static AwsAccessRole.Builder newBuilder(AwsAccessRole prototype)
Parameter
NameDescription
prototypeAwsAccessRole
Returns
TypeDescription
AwsAccessRole.Builder

parseDelimitedFrom(InputStream input)

public static AwsAccessRole parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AwsAccessRole
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AwsAccessRole parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsAccessRole
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AwsAccessRole parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AwsAccessRole
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AwsAccessRole parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsAccessRole
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AwsAccessRole parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AwsAccessRole
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AwsAccessRole parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsAccessRole
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AwsAccessRole parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AwsAccessRole
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AwsAccessRole parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsAccessRole
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AwsAccessRole parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AwsAccessRole
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AwsAccessRole parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsAccessRole
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AwsAccessRole parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AwsAccessRole
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AwsAccessRole parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsAccessRole
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AwsAccessRole> parser()
Returns
TypeDescription
Parser<AwsAccessRole>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public AwsAccessRole getDefaultInstanceForType()
Returns
TypeDescription
AwsAccessRole

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.

getParserForType()

public Parser<AwsAccessRole> getParserForType()
Returns
TypeDescription
Parser<AwsAccessRole>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AwsAccessRole.Builder newBuilderForType()
Returns
TypeDescription
AwsAccessRole.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AwsAccessRole.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AwsAccessRole.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AwsAccessRole.Builder toBuilder()
Returns
TypeDescription
AwsAccessRole.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException