Class AwsSourceDetails (1.13.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
TypeDescription
int

AWS_REGION_FIELD_NUMBER

public static final int AWS_REGION_FIELD_NUMBER
Field Value
TypeDescription
int

ERROR_FIELD_NUMBER

public static final int ERROR_FIELD_NUMBER
Field Value
TypeDescription
int

INVENTORY_SECURITY_GROUP_NAMES_FIELD_NUMBER

public static final int INVENTORY_SECURITY_GROUP_NAMES_FIELD_NUMBER
Field Value
TypeDescription
int

INVENTORY_TAG_LIST_FIELD_NUMBER

public static final int INVENTORY_TAG_LIST_FIELD_NUMBER
Field Value
TypeDescription
int

MIGRATION_RESOURCES_USER_TAGS_FIELD_NUMBER

public static final int MIGRATION_RESOURCES_USER_TAGS_FIELD_NUMBER
Field Value
TypeDescription
int

PUBLIC_IP_FIELD_NUMBER

public static final int PUBLIC_IP_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AwsSourceDetails getDefaultInstance()
Returns
TypeDescription
AwsSourceDetails

getDescriptor()

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

newBuilder()

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

newBuilder(AwsSourceDetails prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<AwsSourceDetails> parser()
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for awsRegion.

getCredentialsTypeCase()

public AwsSourceDetails.CredentialsTypeCase getCredentialsTypeCase()
Returns
TypeDescription
AwsSourceDetails.CredentialsTypeCase

getDefaultInstanceForType()

public AwsSourceDetails getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.vmmigration.v1.AwsSourceDetails.TagOrBuilder>

getMigrationResourcesUserTags()

public Map<String,String> getMigrationResourcesUserTags()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
String

getParserForType()

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

The bytes for publicIp.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for state.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasAccessKeyCreds()

public boolean hasAccessKeyCreds()

AWS Credentials using access key id and secret.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the error field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AwsSourceDetails.Builder newBuilderForType()
Returns
TypeDescription
AwsSourceDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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