Class TransferTypes.AwsAccessKey (1.35.0)

public static final class TransferTypes.AwsAccessKey extends GeneratedMessageV3 implements TransferTypes.AwsAccessKeyOrBuilder

AWS access key (see AWS Security Credentials).

For information on our data retention policy for user credentials, see User credentials.

Protobuf type google.storagetransfer.v1.AwsAccessKey

Static Fields

ACCESS_KEY_ID_FIELD_NUMBER

public static final int ACCESS_KEY_ID_FIELD_NUMBER
Field Value
Type Description
int

SECRET_ACCESS_KEY_FIELD_NUMBER

public static final int SECRET_ACCESS_KEY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TransferTypes.AwsAccessKey getDefaultInstance()
Returns
Type Description
TransferTypes.AwsAccessKey

getDescriptor()

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

newBuilder()

public static TransferTypes.AwsAccessKey.Builder newBuilder()
Returns
Type Description
TransferTypes.AwsAccessKey.Builder

newBuilder(TransferTypes.AwsAccessKey prototype)

public static TransferTypes.AwsAccessKey.Builder newBuilder(TransferTypes.AwsAccessKey prototype)
Parameter
Name Description
prototype TransferTypes.AwsAccessKey
Returns
Type Description
TransferTypes.AwsAccessKey.Builder

parseDelimitedFrom(InputStream input)

public static TransferTypes.AwsAccessKey parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TransferTypes.AwsAccessKey
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransferTypes.AwsAccessKey parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferTypes.AwsAccessKey
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TransferTypes.AwsAccessKey parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TransferTypes.AwsAccessKey
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TransferTypes.AwsAccessKey parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferTypes.AwsAccessKey
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TransferTypes.AwsAccessKey parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TransferTypes.AwsAccessKey
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TransferTypes.AwsAccessKey parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferTypes.AwsAccessKey
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TransferTypes.AwsAccessKey parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TransferTypes.AwsAccessKey
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TransferTypes.AwsAccessKey parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferTypes.AwsAccessKey
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TransferTypes.AwsAccessKey parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TransferTypes.AwsAccessKey
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransferTypes.AwsAccessKey parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferTypes.AwsAccessKey
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TransferTypes.AwsAccessKey parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TransferTypes.AwsAccessKey
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TransferTypes.AwsAccessKey parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferTypes.AwsAccessKey
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TransferTypes.AwsAccessKey> parser()
Returns
Type Description
Parser<AwsAccessKey>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAccessKeyId()

public String getAccessKeyId()

Required. AWS access key ID.

string access_key_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The accessKeyId.

getAccessKeyIdBytes()

public ByteString getAccessKeyIdBytes()

Required. AWS access key ID.

string access_key_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for accessKeyId.

getDefaultInstanceForType()

public TransferTypes.AwsAccessKey getDefaultInstanceForType()
Returns
Type Description
TransferTypes.AwsAccessKey

getParserForType()

public Parser<TransferTypes.AwsAccessKey> getParserForType()
Returns
Type Description
Parser<AwsAccessKey>
Overrides

getSecretAccessKey()

public String getSecretAccessKey()

Required. AWS secret access key. This field is not returned in RPC responses.

string secret_access_key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The secretAccessKey.

getSecretAccessKeyBytes()

public ByteString getSecretAccessKeyBytes()

Required. AWS secret access key. This field is not returned in RPC responses.

string secret_access_key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for secretAccessKey.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TransferTypes.AwsAccessKey.Builder newBuilderForType()
Returns
Type Description
TransferTypes.AwsAccessKey.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TransferTypes.AwsAccessKey.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TransferTypes.AwsAccessKey.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public TransferTypes.AwsAccessKey.Builder toBuilder()
Returns
Type Description
TransferTypes.AwsAccessKey.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException