Class AwsSourceDetails.AccessKeyCredentials (1.29.0)

public static final class AwsSourceDetails.AccessKeyCredentials extends GeneratedMessageV3 implements AwsSourceDetails.AccessKeyCredentialsOrBuilder

Message describing AWS Credentials using access key id and secret.

Protobuf type google.cloud.vmmigration.v1.AwsSourceDetails.AccessKeyCredentials

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AwsSourceDetails.AccessKeyCredentials

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 AwsSourceDetails.AccessKeyCredentials getDefaultInstance()
Returns
TypeDescription
AwsSourceDetails.AccessKeyCredentials

getDescriptor()

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

newBuilder()

public static AwsSourceDetails.AccessKeyCredentials.Builder newBuilder()
Returns
TypeDescription
AwsSourceDetails.AccessKeyCredentials.Builder

newBuilder(AwsSourceDetails.AccessKeyCredentials prototype)

public static AwsSourceDetails.AccessKeyCredentials.Builder newBuilder(AwsSourceDetails.AccessKeyCredentials prototype)
Parameter
NameDescription
prototypeAwsSourceDetails.AccessKeyCredentials
Returns
TypeDescription
AwsSourceDetails.AccessKeyCredentials.Builder

parseDelimitedFrom(InputStream input)

public static AwsSourceDetails.AccessKeyCredentials parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AwsSourceDetails.AccessKeyCredentials
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static AwsSourceDetails.AccessKeyCredentials parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AwsSourceDetails.AccessKeyCredentials
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static AwsSourceDetails.AccessKeyCredentials parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AwsSourceDetails.AccessKeyCredentials
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static AwsSourceDetails.AccessKeyCredentials parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AwsSourceDetails.AccessKeyCredentials
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static AwsSourceDetails.AccessKeyCredentials parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AwsSourceDetails.AccessKeyCredentials
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<AwsSourceDetails.AccessKeyCredentials> parser()
Returns
TypeDescription
Parser<AccessKeyCredentials>

Methods

equals(Object obj)

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

getAccessKeyId()

public String getAccessKeyId()

AWS access key ID.

string access_key_id = 1;

Returns
TypeDescription
String

The accessKeyId.

getAccessKeyIdBytes()

public ByteString getAccessKeyIdBytes()

AWS access key ID.

string access_key_id = 1;

Returns
TypeDescription
ByteString

The bytes for accessKeyId.

getDefaultInstanceForType()

public AwsSourceDetails.AccessKeyCredentials getDefaultInstanceForType()
Returns
TypeDescription
AwsSourceDetails.AccessKeyCredentials

getParserForType()

public Parser<AwsSourceDetails.AccessKeyCredentials> getParserForType()
Returns
TypeDescription
Parser<AccessKeyCredentials>
Overrides

getSecretAccessKey()

public String getSecretAccessKey()

Input only. AWS secret access key.

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

Returns
TypeDescription
String

The secretAccessKey.

getSecretAccessKeyBytes()

public ByteString getSecretAccessKeyBytes()

Input only. AWS secret access key.

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

Returns
TypeDescription
ByteString

The bytes for secretAccessKey.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public AwsSourceDetails.AccessKeyCredentials.Builder toBuilder()
Returns
TypeDescription
AwsSourceDetails.AccessKeyCredentials.Builder

writeTo(CodedOutputStream output)

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