Class AwsSourceDetails

  • All Implemented Interfaces:
    AwsSourceDetailsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class AwsSourceDetails
    extends com.google.protobuf.GeneratedMessageV3
    implements AwsSourceDetailsOrBuilder
     AwsSourceDetails message describes a specific source details for the
     AWS source type.
     
    Protobuf type google.cloud.vmmigration.v1.AwsSourceDetails
    See Also:
    Serialized Form
    • Field Detail

      • ACCESS_KEY_CREDS_FIELD_NUMBER

        public static final int ACCESS_KEY_CREDS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • AWS_REGION_FIELD_NUMBER

        public static final int AWS_REGION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • INVENTORY_TAG_LIST_FIELD_NUMBER

        public static final int INVENTORY_TAG_LIST_FIELD_NUMBER
        See Also:
        Constant Field Values
      • INVENTORY_SECURITY_GROUP_NAMES_FIELD_NUMBER

        public static final int INVENTORY_SECURITY_GROUP_NAMES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MIGRATION_RESOURCES_USER_TAGS_FIELD_NUMBER

        public static final int MIGRATION_RESOURCES_USER_TAGS_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • hasAccessKeyCreds

        public boolean hasAccessKeyCreds()
         AWS Credentials using access key id and secret.
         
        .google.cloud.vmmigration.v1.AwsSourceDetails.AccessKeyCredentials access_key_creds = 11;
        Specified by:
        hasAccessKeyCreds in interface AwsSourceDetailsOrBuilder
        Returns:
        Whether the accessKeyCreds field is set.
      • 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];
        Specified by:
        getAwsRegion in interface AwsSourceDetailsOrBuilder
        Returns:
        The awsRegion.
      • getAwsRegionBytes

        public com.google.protobuf.ByteString getAwsRegionBytes()
         Immutable. The AWS region that the source VMs will be migrated from.
         
        string aws_region = 3 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getAwsRegionBytes in interface AwsSourceDetailsOrBuilder
        Returns:
        The bytes for awsRegion.
      • 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];
        Specified by:
        getStateValue in interface AwsSourceDetailsOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • 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];
        Specified by:
        getState in interface AwsSourceDetailsOrBuilder
        Returns:
        The state.
      • 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];
        Specified by:
        hasError in interface AwsSourceDetailsOrBuilder
        Returns:
        Whether the error field is set.
      • getError

        public com.google.rpc.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];
        Specified by:
        getError in interface AwsSourceDetailsOrBuilder
        Returns:
        The error.
      • getErrorOrBuilder

        public com.google.rpc.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];
        Specified by:
        getErrorOrBuilder in interface AwsSourceDetailsOrBuilder
      • 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;
        Specified by:
        getInventoryTagListCount in interface AwsSourceDetailsOrBuilder
      • getInventorySecurityGroupNamesList

        public com.google.protobuf.ProtocolStringList getInventorySecurityGroupNamesList()
         AWS security group names to limit the scope of the source
         inventory.
         
        repeated string inventory_security_group_names = 7;
        Specified by:
        getInventorySecurityGroupNamesList in interface AwsSourceDetailsOrBuilder
        Returns:
        A list containing the inventorySecurityGroupNames.
      • getInventorySecurityGroupNamesCount

        public int getInventorySecurityGroupNamesCount()
         AWS security group names to limit the scope of the source
         inventory.
         
        repeated string inventory_security_group_names = 7;
        Specified by:
        getInventorySecurityGroupNamesCount in interface AwsSourceDetailsOrBuilder
        Returns:
        The count of inventorySecurityGroupNames.
      • getInventorySecurityGroupNames

        public String getInventorySecurityGroupNames​(int index)
         AWS security group names to limit the scope of the source
         inventory.
         
        repeated string inventory_security_group_names = 7;
        Specified by:
        getInventorySecurityGroupNames in interface AwsSourceDetailsOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The inventorySecurityGroupNames at the given index.
      • getInventorySecurityGroupNamesBytes

        public com.google.protobuf.ByteString getInventorySecurityGroupNamesBytes​(int index)
         AWS security group names to limit the scope of the source
         inventory.
         
        repeated string inventory_security_group_names = 7;
        Specified by:
        getInventorySecurityGroupNamesBytes in interface AwsSourceDetailsOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the inventorySecurityGroupNames at the given index.
      • getMigrationResourcesUserTagsCount

        public int getMigrationResourcesUserTagsCount()
        Description copied from interface: AwsSourceDetailsOrBuilder
         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;
        Specified by:
        getMigrationResourcesUserTagsCount in interface AwsSourceDetailsOrBuilder
      • containsMigrationResourcesUserTags

        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;
        Specified by:
        containsMigrationResourcesUserTags in interface AwsSourceDetailsOrBuilder
      • 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;
        Specified by:
        getMigrationResourcesUserTagsMap in interface AwsSourceDetailsOrBuilder
      • getMigrationResourcesUserTagsOrDefault

        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;
        Specified by:
        getMigrationResourcesUserTagsOrDefault in interface AwsSourceDetailsOrBuilder
      • getMigrationResourcesUserTagsOrThrow

        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;
        Specified by:
        getMigrationResourcesUserTagsOrThrow in interface AwsSourceDetailsOrBuilder
      • 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];
        Specified by:
        getPublicIp in interface AwsSourceDetailsOrBuilder
        Returns:
        The publicIp.
      • getPublicIpBytes

        public com.google.protobuf.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];
        Specified by:
        getPublicIpBytes in interface AwsSourceDetailsOrBuilder
        Returns:
        The bytes for publicIp.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static AwsSourceDetails parseFrom​(ByteBuffer data)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AwsSourceDetails parseFrom​(ByteBuffer data,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AwsSourceDetails parseFrom​(com.google.protobuf.ByteString data)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AwsSourceDetails parseFrom​(com.google.protobuf.ByteString data,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AwsSourceDetails parseFrom​(byte[] data)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AwsSourceDetails parseFrom​(byte[] data,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AwsSourceDetails parseFrom​(com.google.protobuf.CodedInputStream input,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws IOException
        Throws:
        IOException
      • newBuilderForType

        public AwsSourceDetails.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public AwsSourceDetails.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected AwsSourceDetails.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<AwsSourceDetails> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public AwsSourceDetails getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder