Class AwsProperties (2.36.0)

public final class AwsProperties extends GeneratedMessageV3 implements AwsPropertiesOrBuilder

Connection properties specific to Amazon Web Services (AWS).

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

Static Fields

ACCESS_ROLE_FIELD_NUMBER

public static final int ACCESS_ROLE_FIELD_NUMBER
Field Value
TypeDescription
int

CROSS_ACCOUNT_ROLE_FIELD_NUMBER

public static final int CROSS_ACCOUNT_ROLE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AwsProperties getDefaultInstance()
Returns
TypeDescription
AwsProperties

getDescriptor()

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

newBuilder()

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

newBuilder(AwsProperties prototype)

public static AwsProperties.Builder newBuilder(AwsProperties prototype)
Parameter
NameDescription
prototypeAwsProperties
Returns
TypeDescription
AwsProperties.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAccessRole()

public AwsAccessRole getAccessRole()

Authentication using Google owned service account to assume into customer's AWS IAM Role.

.google.cloud.bigquery.connection.v1.AwsAccessRole access_role = 3;

Returns
TypeDescription
AwsAccessRole

The accessRole.

getAccessRoleOrBuilder()

public AwsAccessRoleOrBuilder getAccessRoleOrBuilder()

Authentication using Google owned service account to assume into customer's AWS IAM Role.

.google.cloud.bigquery.connection.v1.AwsAccessRole access_role = 3;

Returns
TypeDescription
AwsAccessRoleOrBuilder

getAuthenticationMethodCase()

public AwsProperties.AuthenticationMethodCase getAuthenticationMethodCase()
Returns
TypeDescription
AwsProperties.AuthenticationMethodCase

getCrossAccountRole() (deprecated)

public AwsCrossAccountRole getCrossAccountRole()

Deprecated. google.cloud.bigquery.connection.v1.AwsProperties.cross_account_role is deprecated. See google/cloud/bigquery/connection/v1/connection.proto;l=378

Authentication using Google owned AWS IAM user's access key to assume into customer's AWS IAM Role. Deprecated, do not use.

.google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2 [deprecated = true];

Returns
TypeDescription
AwsCrossAccountRole

The crossAccountRole.

getCrossAccountRoleOrBuilder() (deprecated)

public AwsCrossAccountRoleOrBuilder getCrossAccountRoleOrBuilder()

Authentication using Google owned AWS IAM user's access key to assume into customer's AWS IAM Role. Deprecated, do not use.

.google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2 [deprecated = true];

Returns
TypeDescription
AwsCrossAccountRoleOrBuilder

getDefaultInstanceForType()

public AwsProperties getDefaultInstanceForType()
Returns
TypeDescription
AwsProperties

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasAccessRole()

public boolean hasAccessRole()

Authentication using Google owned service account to assume into customer's AWS IAM Role.

.google.cloud.bigquery.connection.v1.AwsAccessRole access_role = 3;

Returns
TypeDescription
boolean

Whether the accessRole field is set.

hasCrossAccountRole() (deprecated)

public boolean hasCrossAccountRole()

Deprecated. google.cloud.bigquery.connection.v1.AwsProperties.cross_account_role is deprecated. See google/cloud/bigquery/connection/v1/connection.proto;l=378

Authentication using Google owned AWS IAM user's access key to assume into customer's AWS IAM Role. Deprecated, do not use.

.google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2 [deprecated = true];

Returns
TypeDescription
boolean

Whether the crossAccountRole field is set.

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 AwsProperties.Builder newBuilderForType()
Returns
TypeDescription
AwsProperties.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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