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
Static Fields
ACCESS_KEY_ID_FIELD_NUMBER
public static final int ACCESS_KEY_ID_FIELD_NUMBER
Field Value
SECRET_ACCESS_KEY_FIELD_NUMBER
public static final int SECRET_ACCESS_KEY_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AwsSourceDetails.AccessKeyCredentials getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AwsSourceDetails.AccessKeyCredentials.Builder newBuilder()
Returns
newBuilder(AwsSourceDetails.AccessKeyCredentials prototype)
public static AwsSourceDetails.AccessKeyCredentials.Builder newBuilder(AwsSourceDetails.AccessKeyCredentials prototype)
Parameter
Returns
public static AwsSourceDetails.AccessKeyCredentials parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AwsSourceDetails.AccessKeyCredentials parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AwsSourceDetails.AccessKeyCredentials parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AwsSourceDetails.AccessKeyCredentials parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AwsSourceDetails.AccessKeyCredentials parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AwsSourceDetails.AccessKeyCredentials parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AwsSourceDetails.AccessKeyCredentials parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AwsSourceDetails.AccessKeyCredentials parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AwsSourceDetails.AccessKeyCredentials parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AwsSourceDetails.AccessKeyCredentials parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AwsSourceDetails.AccessKeyCredentials parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AwsSourceDetails.AccessKeyCredentials parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AwsSourceDetails.AccessKeyCredentials> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAccessKeyId()
public String getAccessKeyId()
AWS access key ID.
string access_key_id = 1;
Returns
Type | Description |
String | The accessKeyId.
|
getAccessKeyIdBytes()
public ByteString getAccessKeyIdBytes()
AWS access key ID.
string access_key_id = 1;
Returns
Type | Description |
ByteString | The bytes for accessKeyId.
|
getDefaultInstanceForType()
public AwsSourceDetails.AccessKeyCredentials getDefaultInstanceForType()
Returns
getParserForType()
public Parser<AwsSourceDetails.AccessKeyCredentials> getParserForType()
Returns
Overrides
getSecretAccessKey()
public String getSecretAccessKey()
Input only. AWS secret access key.
string secret_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY];
Returns
Type | Description |
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
Type | Description |
ByteString | The bytes for secretAccessKey.
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AwsSourceDetails.AccessKeyCredentials.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AwsSourceDetails.AccessKeyCredentials.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AwsSourceDetails.AccessKeyCredentials.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions