public final class AwsSourceDetails extends GeneratedMessageV3 implements AwsSourceDetailsOrBuilder
AwsSourceDetails message describes a specific source details for the
AWS source type.
Protobuf type google.events.cloud.vmmigration.v1.AwsSourceDetails
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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 | |
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AwsSourceDetails.Builder newBuilder()
newBuilder(AwsSourceDetails prototype)
public static AwsSourceDetails.Builder newBuilder(AwsSourceDetails prototype)
public static AwsSourceDetails parseDelimitedFrom(InputStream input)
public static AwsSourceDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AwsSourceDetails parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AwsSourceDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AwsSourceDetails parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AwsSourceDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AwsSourceDetails parseFrom(CodedInputStream input)
public static AwsSourceDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AwsSourceDetails parseFrom(InputStream input)
public static AwsSourceDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AwsSourceDetails parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AwsSourceDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AwsSourceDetails> parser()
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 |
---|
Name | Description |
key | String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getAccessKeyCreds()
public AwsSourceDetails.AccessKeyCredentials getAccessKeyCreds()
AWS Credentials using access key id and secret.
.google.events.cloud.vmmigration.v1.AwsSourceDetails.AccessKeyCredentials access_key_creds = 11;
getAccessKeyCredsOrBuilder()
public AwsSourceDetails.AccessKeyCredentialsOrBuilder getAccessKeyCredsOrBuilder()
AWS Credentials using access key id and secret.
.google.events.cloud.vmmigration.v1.AwsSourceDetails.AccessKeyCredentials access_key_creds = 11;
getAwsRegion()
public String getAwsRegion()
Immutable. The AWS region that the source VMs will be migrated from.
string aws_region = 3;
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;
Returns |
---|
Type | Description |
ByteString | The bytes for awsRegion.
|
getCredentialsTypeCase()
public AwsSourceDetails.CredentialsTypeCase getCredentialsTypeCase()
getDefaultInstanceForType()
public AwsSourceDetails getDefaultInstanceForType()
getError()
Output only. Provides details on the state of the Source in case of an
error.
.google.rpc.Status error = 5;
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;
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.events.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;
Parameter |
---|
Name | Description |
index | int
|
getInventoryTagListCount()
public int getInventoryTagListCount()
AWS resource tags to limit the scope of the source inventory.
repeated .google.events.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.events.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;
getInventoryTagListOrBuilder(int index)
public AwsSourceDetails.TagOrBuilder getInventoryTagListOrBuilder(int index)
AWS resource tags to limit the scope of the source inventory.
repeated .google.events.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;
Parameter |
---|
Name | Description |
index | int
|
getInventoryTagListOrBuilderList()
public List<? extends AwsSourceDetails.TagOrBuilder> getInventoryTagListOrBuilderList()
AWS resource tags to limit the scope of the source inventory.
repeated .google.events.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;
Returns |
---|
Type | Description |
List<? extends com.google.events.cloud.vmmigration.v1.AwsSourceDetails.TagOrBuilder> | |
public Map<String,String> getMigrationResourcesUserTags()
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 | |
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;
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;
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
|
getParserForType()
public Parser<AwsSourceDetails> getParserForType()
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;
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;
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.events.cloud.vmmigration.v1.AwsSourceDetails.State state = 4;
getStateValue()
public int getStateValue()
Output only. State of the source as determined by the health check.
.google.events.cloud.vmmigration.v1.AwsSourceDetails.State state = 4;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for state.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hasAccessKeyCreds()
public boolean hasAccessKeyCreds()
AWS Credentials using access key id and secret.
.google.events.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;
Returns |
---|
Type | Description |
boolean | Whether the error field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AwsSourceDetails.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AwsSourceDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public AwsSourceDetails.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides