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
AWS_REGION_FIELD_NUMBER
public static final int AWS_REGION_FIELD_NUMBER
Field Value
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
Field Value
INVENTORY_SECURITY_GROUP_NAMES_FIELD_NUMBER
public static final int INVENTORY_SECURITY_GROUP_NAMES_FIELD_NUMBER
Field Value
INVENTORY_TAG_LIST_FIELD_NUMBER
public static final int INVENTORY_TAG_LIST_FIELD_NUMBER
Field Value
public static final int MIGRATION_RESOURCES_USER_TAGS_FIELD_NUMBER
Field Value
PUBLIC_IP_FIELD_NUMBER
public static final int PUBLIC_IP_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AwsSourceDetails getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AwsSourceDetails.Builder newBuilder()
Returns
newBuilder(AwsSourceDetails prototype)
public static AwsSourceDetails.Builder newBuilder(AwsSourceDetails prototype)
Parameter
Returns
public static AwsSourceDetails parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AwsSourceDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AwsSourceDetails parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AwsSourceDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AwsSourceDetails parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AwsSourceDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AwsSourceDetails parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AwsSourceDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AwsSourceDetails parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AwsSourceDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AwsSourceDetails parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AwsSourceDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AwsSourceDetails> parser()
Returns
Methods
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
Returns
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
getAccessKeyCredsOrBuilder()
public AwsSourceDetails.AccessKeyCredentialsOrBuilder getAccessKeyCredsOrBuilder()
AWS Credentials using access key id and secret.
.google.cloud.vmmigration.v1.AwsSourceDetails.AccessKeyCredentials access_key_creds = 11;
Returns
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
getCredentialsTypeCase()
public AwsSourceDetails.CredentialsTypeCase getCredentialsTypeCase()
Returns
getDefaultInstanceForType()
public AwsSourceDetails getDefaultInstanceForType()
Returns
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
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
Returns
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
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
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
Returns
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> | |
public Map<String,String> getMigrationResourcesUserTags()
Returns
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
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
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
Returns
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
Returns
getParserForType()
public Parser<AwsSourceDetails> getParserForType()
Returns
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
getSerializedSize()
public int getSerializedSize()
Returns
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
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AwsSourceDetails.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AwsSourceDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AwsSourceDetails.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions