Class AwsSourceDetails (1.54.0)

public final class AwsSourceDetails extends GeneratedMessageV3 implements AwsSourceDetailsOrBuilder

AwsSourceDetails message describes a specific source details for the AWS source type.

Protobuf type google.cloud.vmmigration.v1.AwsSourceDetails

Static Fields

ACCESS_KEY_CREDS_FIELD_NUMBER

public static final int ACCESS_KEY_CREDS_FIELD_NUMBER
Field Value
Type Description
int

AWS_REGION_FIELD_NUMBER

public static final int AWS_REGION_FIELD_NUMBER
Field Value
Type Description
int

ERROR_FIELD_NUMBER

public static final int ERROR_FIELD_NUMBER
Field Value
Type Description
int

INVENTORY_SECURITY_GROUP_NAMES_FIELD_NUMBER

public static final int INVENTORY_SECURITY_GROUP_NAMES_FIELD_NUMBER
Field Value
Type Description
int

INVENTORY_TAG_LIST_FIELD_NUMBER

public static final int INVENTORY_TAG_LIST_FIELD_NUMBER
Field Value
Type Description
int

MIGRATION_RESOURCES_USER_TAGS_FIELD_NUMBER

public static final int MIGRATION_RESOURCES_USER_TAGS_FIELD_NUMBER
Field Value
Type Description
int

PUBLIC_IP_FIELD_NUMBER

public static final int PUBLIC_IP_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AwsSourceDetails getDefaultInstance()
Returns
Type Description
AwsSourceDetails

getDescriptor()

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

newBuilder()

public static AwsSourceDetails.Builder newBuilder()
Returns
Type Description
AwsSourceDetails.Builder

newBuilder(AwsSourceDetails prototype)

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

parseDelimitedFrom(InputStream input)

public static AwsSourceDetails parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AwsSourceDetails
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static AwsSourceDetails parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AwsSourceDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static AwsSourceDetails parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AwsSourceDetails
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static AwsSourceDetails parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AwsSourceDetails
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static AwsSourceDetails parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AwsSourceDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<AwsSourceDetails> parser()
Returns
Type Description
Parser<AwsSourceDetails>

Methods

containsMigrationResourcesUserTags(String key)

public boolean containsMigrationResourcesUserTags(String key)

User specified tags to add to every M2VM generated resource in AWS. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix m2vm.

map<string, string> migration_resources_user_tags = 8;

Parameter
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

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

getAccessKeyCreds()

public AwsSourceDetails.AccessKeyCredentials getAccessKeyCreds()

AWS Credentials using access key id and secret.

.google.cloud.vmmigration.v1.AwsSourceDetails.AccessKeyCredentials access_key_creds = 11;

Returns
Type Description
AwsSourceDetails.AccessKeyCredentials

The accessKeyCreds.

getAccessKeyCredsOrBuilder()

public AwsSourceDetails.AccessKeyCredentialsOrBuilder getAccessKeyCredsOrBuilder()

AWS Credentials using access key id and secret.

.google.cloud.vmmigration.v1.AwsSourceDetails.AccessKeyCredentials access_key_creds = 11;

Returns
Type Description
AwsSourceDetails.AccessKeyCredentialsOrBuilder

getAwsRegion()

public String getAwsRegion()

Immutable. The AWS region that the source VMs will be migrated from.

string aws_region = 3 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The awsRegion.

getAwsRegionBytes()

public ByteString getAwsRegionBytes()

Immutable. The AWS region that the source VMs will be migrated from.

string aws_region = 3 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for awsRegion.

getCredentialsTypeCase()

public AwsSourceDetails.CredentialsTypeCase getCredentialsTypeCase()
Returns
Type Description
AwsSourceDetails.CredentialsTypeCase

getDefaultInstanceForType()

public AwsSourceDetails getDefaultInstanceForType()
Returns
Type Description
AwsSourceDetails

getError()

public Status getError()

Output only. Provides details on the state of the Source in case of an error.

.google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.Status

The error.

getErrorOrBuilder()

public StatusOrBuilder getErrorOrBuilder()

Output only. Provides details on the state of the Source in case of an error.

.google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.StatusOrBuilder

getInventorySecurityGroupNames(int index)

public String getInventorySecurityGroupNames(int index)

AWS security group names to limit the scope of the source inventory.

repeated string inventory_security_group_names = 7;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The inventorySecurityGroupNames at the given index.

getInventorySecurityGroupNamesBytes(int index)

public ByteString getInventorySecurityGroupNamesBytes(int index)

AWS security group names to limit the scope of the source inventory.

repeated string inventory_security_group_names = 7;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the inventorySecurityGroupNames at the given index.

getInventorySecurityGroupNamesCount()

public int getInventorySecurityGroupNamesCount()

AWS security group names to limit the scope of the source inventory.

repeated string inventory_security_group_names = 7;

Returns
Type Description
int

The count of inventorySecurityGroupNames.

getInventorySecurityGroupNamesList()

public ProtocolStringList getInventorySecurityGroupNamesList()

AWS security group names to limit the scope of the source inventory.

repeated string inventory_security_group_names = 7;

Returns
Type Description
ProtocolStringList

A list containing the inventorySecurityGroupNames.

getInventoryTagList(int index)

public AwsSourceDetails.Tag getInventoryTagList(int index)

AWS resource tags to limit the scope of the source inventory.

repeated .google.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;

Parameter
Name Description
index int
Returns
Type Description
AwsSourceDetails.Tag

getInventoryTagListCount()

public int getInventoryTagListCount()

AWS resource tags to limit the scope of the source inventory.

repeated .google.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;

Returns
Type Description
int

getInventoryTagListList()

public List<AwsSourceDetails.Tag> getInventoryTagListList()

AWS resource tags to limit the scope of the source inventory.

repeated .google.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;

Returns
Type Description
List<Tag>

getInventoryTagListOrBuilder(int index)

public AwsSourceDetails.TagOrBuilder getInventoryTagListOrBuilder(int index)

AWS resource tags to limit the scope of the source inventory.

repeated .google.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;

Parameter
Name Description
index int
Returns
Type Description
AwsSourceDetails.TagOrBuilder

getInventoryTagListOrBuilderList()

public List<? extends AwsSourceDetails.TagOrBuilder> getInventoryTagListOrBuilderList()

AWS resource tags to limit the scope of the source inventory.

repeated .google.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;

Returns
Type Description
List<? extends com.google.cloud.vmmigration.v1.AwsSourceDetails.TagOrBuilder>

getMigrationResourcesUserTags() (deprecated)

public Map<String,String> getMigrationResourcesUserTags()
Returns
Type Description
Map<String,String>

getMigrationResourcesUserTagsCount()

public int getMigrationResourcesUserTagsCount()

User specified tags to add to every M2VM generated resource in AWS. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix m2vm.

map<string, string> migration_resources_user_tags = 8;

Returns
Type Description
int

getMigrationResourcesUserTagsMap()

public Map<String,String> getMigrationResourcesUserTagsMap()

User specified tags to add to every M2VM generated resource in AWS. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix m2vm.

map<string, string> migration_resources_user_tags = 8;

Returns
Type Description
Map<String,String>

getMigrationResourcesUserTagsOrDefault(String key, String defaultValue)

public String getMigrationResourcesUserTagsOrDefault(String key, String defaultValue)

User specified tags to add to every M2VM generated resource in AWS. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix m2vm.

map<string, string> migration_resources_user_tags = 8;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getMigrationResourcesUserTagsOrThrow(String key)

public String getMigrationResourcesUserTagsOrThrow(String key)

User specified tags to add to every M2VM generated resource in AWS. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix m2vm.

map<string, string> migration_resources_user_tags = 8;

Parameter
Name Description
key String
Returns
Type Description
String

getParserForType()

public Parser<AwsSourceDetails> getParserForType()
Returns
Type Description
Parser<AwsSourceDetails>
Overrides

getPublicIp()

public String getPublicIp()

Output only. The source's public IP. All communication initiated by this source will originate from this IP.

string public_ip = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The publicIp.

getPublicIpBytes()

public ByteString getPublicIpBytes()

Output only. The source's public IP. All communication initiated by this source will originate from this IP.

string public_ip = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for publicIp.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public AwsSourceDetails.State getState()

Output only. State of the source as determined by the health check.

.google.cloud.vmmigration.v1.AwsSourceDetails.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AwsSourceDetails.State

The state.

getStateValue()

public int getStateValue()

Output only. State of the source as determined by the health check.

.google.cloud.vmmigration.v1.AwsSourceDetails.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

hasAccessKeyCreds()

public boolean hasAccessKeyCreds()

AWS Credentials using access key id and secret.

.google.cloud.vmmigration.v1.AwsSourceDetails.AccessKeyCredentials access_key_creds = 11;

Returns
Type Description
boolean

Whether the accessKeyCreds field is set.

hasError()

public boolean hasError()

Output only. Provides details on the state of the Source in case of an error.

.google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the error field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AwsSourceDetails.Builder newBuilderForType()
Returns
Type Description
AwsSourceDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public AwsSourceDetails.Builder toBuilder()
Returns
Type Description
AwsSourceDetails.Builder

writeTo(CodedOutputStream output)

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