Class TransferTypes.AwsAccessKey (1.17.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
TypeDescription
int

SECRET_ACCESS_KEY_FIELD_NUMBER

public static final int SECRET_ACCESS_KEY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TransferTypes.AwsAccessKey getDefaultInstance()
Returns
TypeDescription
TransferTypes.AwsAccessKey

getDescriptor()

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

newBuilder()

public static TransferTypes.AwsAccessKey.Builder newBuilder()
Returns
TypeDescription
TransferTypes.AwsAccessKey.Builder

newBuilder(TransferTypes.AwsAccessKey prototype)

public static TransferTypes.AwsAccessKey.Builder newBuilder(TransferTypes.AwsAccessKey prototype)
Parameter
NameDescription
prototypeTransferTypes.AwsAccessKey
Returns
TypeDescription
TransferTypes.AwsAccessKey.Builder

parseDelimitedFrom(InputStream input)

public static TransferTypes.AwsAccessKey parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TransferTypes.AwsAccessKey
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static TransferTypes.AwsAccessKey parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TransferTypes.AwsAccessKey
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static TransferTypes.AwsAccessKey parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TransferTypes.AwsAccessKey
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static TransferTypes.AwsAccessKey parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TransferTypes.AwsAccessKey
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static TransferTypes.AwsAccessKey parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TransferTypes.AwsAccessKey
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAccessKeyId()

public String getAccessKeyId()

Required. AWS access key ID.

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

Returns
TypeDescription
String

The accessKeyId.

getAccessKeyIdBytes()

public ByteString getAccessKeyIdBytes()

Required. AWS access key ID.

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

Returns
TypeDescription
ByteString

The bytes for accessKeyId.

getDefaultInstanceForType()

public TransferTypes.AwsAccessKey getDefaultInstanceForType()
Returns
TypeDescription
TransferTypes.AwsAccessKey

getParserForType()

public Parser<TransferTypes.AwsAccessKey> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for secretAccessKey.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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 TransferTypes.AwsAccessKey.Builder newBuilderForType()
Returns
TypeDescription
TransferTypes.AwsAccessKey.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public TransferTypes.AwsAccessKey.Builder toBuilder()
Returns
TypeDescription
TransferTypes.AwsAccessKey.Builder

writeTo(CodedOutputStream output)

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