Package com.google.cloud.vmmigration.v1
Class AwsSourceDetails.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AwsSourceDetails.Builder>
-
- com.google.cloud.vmmigration.v1.AwsSourceDetails.Builder
-
- All Implemented Interfaces:
AwsSourceDetailsOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- AwsSourceDetails
public static final class AwsSourceDetails.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AwsSourceDetails.Builder> implements AwsSourceDetailsOrBuilder
AwsSourceDetails message describes a specific source details for the AWS source type.
Protobuf typegoogle.cloud.vmmigration.v1.AwsSourceDetails
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AwsSourceDetails.Builder
addAllInventorySecurityGroupNames(Iterable<String> values)
AWS security group names to limit the scope of the source inventory.AwsSourceDetails.Builder
addAllInventoryTagList(Iterable<? extends AwsSourceDetails.Tag> values)
AWS resource tags to limit the scope of the source inventory.AwsSourceDetails.Builder
addInventorySecurityGroupNames(String value)
AWS security group names to limit the scope of the source inventory.AwsSourceDetails.Builder
addInventorySecurityGroupNamesBytes(com.google.protobuf.ByteString value)
AWS security group names to limit the scope of the source inventory.AwsSourceDetails.Builder
addInventoryTagList(int index, AwsSourceDetails.Tag value)
AWS resource tags to limit the scope of the source inventory.AwsSourceDetails.Builder
addInventoryTagList(int index, AwsSourceDetails.Tag.Builder builderForValue)
AWS resource tags to limit the scope of the source inventory.AwsSourceDetails.Builder
addInventoryTagList(AwsSourceDetails.Tag value)
AWS resource tags to limit the scope of the source inventory.AwsSourceDetails.Builder
addInventoryTagList(AwsSourceDetails.Tag.Builder builderForValue)
AWS resource tags to limit the scope of the source inventory.AwsSourceDetails.Tag.Builder
addInventoryTagListBuilder()
AWS resource tags to limit the scope of the source inventory.AwsSourceDetails.Tag.Builder
addInventoryTagListBuilder(int index)
AWS resource tags to limit the scope of the source inventory.AwsSourceDetails.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AwsSourceDetails
build()
AwsSourceDetails
buildPartial()
AwsSourceDetails.Builder
clear()
AwsSourceDetails.Builder
clearAccessKeyCreds()
AWS Credentials using access key id and secret.AwsSourceDetails.Builder
clearAwsRegion()
Immutable.AwsSourceDetails.Builder
clearCredentialsType()
AwsSourceDetails.Builder
clearError()
Output only.AwsSourceDetails.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
AwsSourceDetails.Builder
clearInventorySecurityGroupNames()
AWS security group names to limit the scope of the source inventory.AwsSourceDetails.Builder
clearInventoryTagList()
AWS resource tags to limit the scope of the source inventory.AwsSourceDetails.Builder
clearMigrationResourcesUserTags()
AwsSourceDetails.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
AwsSourceDetails.Builder
clearPublicIp()
Output only.AwsSourceDetails.Builder
clearState()
Output only.AwsSourceDetails.Builder
clone()
boolean
containsMigrationResourcesUserTags(String key)
User specified tags to add to every M2VM generated resource in AWS.AwsSourceDetails.AccessKeyCredentials
getAccessKeyCreds()
AWS Credentials using access key id and secret.AwsSourceDetails.AccessKeyCredentials.Builder
getAccessKeyCredsBuilder()
AWS Credentials using access key id and secret.AwsSourceDetails.AccessKeyCredentialsOrBuilder
getAccessKeyCredsOrBuilder()
AWS Credentials using access key id and secret.String
getAwsRegion()
Immutable.com.google.protobuf.ByteString
getAwsRegionBytes()
Immutable.AwsSourceDetails.CredentialsTypeCase
getCredentialsTypeCase()
AwsSourceDetails
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.rpc.Status
getError()
Output only.com.google.rpc.Status.Builder
getErrorBuilder()
Output only.com.google.rpc.StatusOrBuilder
getErrorOrBuilder()
Output only.String
getInventorySecurityGroupNames(int index)
AWS security group names to limit the scope of the source inventory.com.google.protobuf.ByteString
getInventorySecurityGroupNamesBytes(int index)
AWS security group names to limit the scope of the source inventory.int
getInventorySecurityGroupNamesCount()
AWS security group names to limit the scope of the source inventory.com.google.protobuf.ProtocolStringList
getInventorySecurityGroupNamesList()
AWS security group names to limit the scope of the source inventory.AwsSourceDetails.Tag
getInventoryTagList(int index)
AWS resource tags to limit the scope of the source inventory.AwsSourceDetails.Tag.Builder
getInventoryTagListBuilder(int index)
AWS resource tags to limit the scope of the source inventory.List<AwsSourceDetails.Tag.Builder>
getInventoryTagListBuilderList()
AWS resource tags to limit the scope of the source inventory.int
getInventoryTagListCount()
AWS resource tags to limit the scope of the source inventory.List<AwsSourceDetails.Tag>
getInventoryTagListList()
AWS resource tags to limit the scope of the source inventory.AwsSourceDetails.TagOrBuilder
getInventoryTagListOrBuilder(int index)
AWS resource tags to limit the scope of the source inventory.List<? extends AwsSourceDetails.TagOrBuilder>
getInventoryTagListOrBuilderList()
AWS resource tags to limit the scope of the source inventory.Map<String,String>
getMigrationResourcesUserTags()
Deprecated.int
getMigrationResourcesUserTagsCount()
User specified tags to add to every M2VM generated resource in AWS.Map<String,String>
getMigrationResourcesUserTagsMap()
User specified tags to add to every M2VM generated resource in AWS.String
getMigrationResourcesUserTagsOrDefault(String key, String defaultValue)
User specified tags to add to every M2VM generated resource in AWS.String
getMigrationResourcesUserTagsOrThrow(String key)
User specified tags to add to every M2VM generated resource in AWS.Map<String,String>
getMutableMigrationResourcesUserTags()
Deprecated.String
getPublicIp()
Output only.com.google.protobuf.ByteString
getPublicIpBytes()
Output only.AwsSourceDetails.State
getState()
Output only.int
getStateValue()
Output only.boolean
hasAccessKeyCreds()
AWS Credentials using access key id and secret.boolean
hasError()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
AwsSourceDetails.Builder
mergeAccessKeyCreds(AwsSourceDetails.AccessKeyCredentials value)
AWS Credentials using access key id and secret.AwsSourceDetails.Builder
mergeError(com.google.rpc.Status value)
Output only.AwsSourceDetails.Builder
mergeFrom(AwsSourceDetails other)
AwsSourceDetails.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AwsSourceDetails.Builder
mergeFrom(com.google.protobuf.Message other)
AwsSourceDetails.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AwsSourceDetails.Builder
putAllMigrationResourcesUserTags(Map<String,String> values)
User specified tags to add to every M2VM generated resource in AWS.AwsSourceDetails.Builder
putMigrationResourcesUserTags(String key, String value)
User specified tags to add to every M2VM generated resource in AWS.AwsSourceDetails.Builder
removeInventoryTagList(int index)
AWS resource tags to limit the scope of the source inventory.AwsSourceDetails.Builder
removeMigrationResourcesUserTags(String key)
User specified tags to add to every M2VM generated resource in AWS.AwsSourceDetails.Builder
setAccessKeyCreds(AwsSourceDetails.AccessKeyCredentials value)
AWS Credentials using access key id and secret.AwsSourceDetails.Builder
setAccessKeyCreds(AwsSourceDetails.AccessKeyCredentials.Builder builderForValue)
AWS Credentials using access key id and secret.AwsSourceDetails.Builder
setAwsRegion(String value)
Immutable.AwsSourceDetails.Builder
setAwsRegionBytes(com.google.protobuf.ByteString value)
Immutable.AwsSourceDetails.Builder
setError(com.google.rpc.Status value)
Output only.AwsSourceDetails.Builder
setError(com.google.rpc.Status.Builder builderForValue)
Output only.AwsSourceDetails.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AwsSourceDetails.Builder
setInventorySecurityGroupNames(int index, String value)
AWS security group names to limit the scope of the source inventory.AwsSourceDetails.Builder
setInventoryTagList(int index, AwsSourceDetails.Tag value)
AWS resource tags to limit the scope of the source inventory.AwsSourceDetails.Builder
setInventoryTagList(int index, AwsSourceDetails.Tag.Builder builderForValue)
AWS resource tags to limit the scope of the source inventory.AwsSourceDetails.Builder
setPublicIp(String value)
Output only.AwsSourceDetails.Builder
setPublicIpBytes(com.google.protobuf.ByteString value)
Output only.AwsSourceDetails.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
AwsSourceDetails.Builder
setState(AwsSourceDetails.State value)
Output only.AwsSourceDetails.Builder
setStateValue(int value)
Output only.AwsSourceDetails.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AwsSourceDetails.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AwsSourceDetails.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AwsSourceDetails.Builder>
-
clear
public AwsSourceDetails.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<AwsSourceDetails.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<AwsSourceDetails.Builder>
-
getDefaultInstanceForType
public AwsSourceDetails getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AwsSourceDetails build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AwsSourceDetails buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AwsSourceDetails.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<AwsSourceDetails.Builder>
-
setField
public AwsSourceDetails.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AwsSourceDetails.Builder>
-
clearField
public AwsSourceDetails.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AwsSourceDetails.Builder>
-
clearOneof
public AwsSourceDetails.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<AwsSourceDetails.Builder>
-
setRepeatedField
public AwsSourceDetails.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AwsSourceDetails.Builder>
-
addRepeatedField
public AwsSourceDetails.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AwsSourceDetails.Builder>
-
mergeFrom
public AwsSourceDetails.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AwsSourceDetails.Builder>
-
mergeFrom
public AwsSourceDetails.Builder mergeFrom(AwsSourceDetails other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AwsSourceDetails.Builder>
-
mergeFrom
public AwsSourceDetails.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AwsSourceDetails.Builder>
- Throws:
IOException
-
getCredentialsTypeCase
public AwsSourceDetails.CredentialsTypeCase getCredentialsTypeCase()
- Specified by:
getCredentialsTypeCase
in interfaceAwsSourceDetailsOrBuilder
-
clearCredentialsType
public AwsSourceDetails.Builder clearCredentialsType()
-
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 interfaceAwsSourceDetailsOrBuilder
- Returns:
- Whether the accessKeyCreds field is set.
-
getAccessKeyCreds
public AwsSourceDetails.AccessKeyCredentials getAccessKeyCreds()
AWS Credentials using access key id and secret.
.google.cloud.vmmigration.v1.AwsSourceDetails.AccessKeyCredentials access_key_creds = 11;
- Specified by:
getAccessKeyCreds
in interfaceAwsSourceDetailsOrBuilder
- Returns:
- The accessKeyCreds.
-
setAccessKeyCreds
public AwsSourceDetails.Builder setAccessKeyCreds(AwsSourceDetails.AccessKeyCredentials value)
AWS Credentials using access key id and secret.
.google.cloud.vmmigration.v1.AwsSourceDetails.AccessKeyCredentials access_key_creds = 11;
-
setAccessKeyCreds
public AwsSourceDetails.Builder setAccessKeyCreds(AwsSourceDetails.AccessKeyCredentials.Builder builderForValue)
AWS Credentials using access key id and secret.
.google.cloud.vmmigration.v1.AwsSourceDetails.AccessKeyCredentials access_key_creds = 11;
-
mergeAccessKeyCreds
public AwsSourceDetails.Builder mergeAccessKeyCreds(AwsSourceDetails.AccessKeyCredentials value)
AWS Credentials using access key id and secret.
.google.cloud.vmmigration.v1.AwsSourceDetails.AccessKeyCredentials access_key_creds = 11;
-
clearAccessKeyCreds
public AwsSourceDetails.Builder clearAccessKeyCreds()
AWS Credentials using access key id and secret.
.google.cloud.vmmigration.v1.AwsSourceDetails.AccessKeyCredentials access_key_creds = 11;
-
getAccessKeyCredsBuilder
public AwsSourceDetails.AccessKeyCredentials.Builder getAccessKeyCredsBuilder()
AWS Credentials using access key id and secret.
.google.cloud.vmmigration.v1.AwsSourceDetails.AccessKeyCredentials access_key_creds = 11;
-
getAccessKeyCredsOrBuilder
public AwsSourceDetails.AccessKeyCredentialsOrBuilder getAccessKeyCredsOrBuilder()
AWS Credentials using access key id and secret.
.google.cloud.vmmigration.v1.AwsSourceDetails.AccessKeyCredentials access_key_creds = 11;
- Specified by:
getAccessKeyCredsOrBuilder
in interfaceAwsSourceDetailsOrBuilder
-
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 interfaceAwsSourceDetailsOrBuilder
- 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 interfaceAwsSourceDetailsOrBuilder
- Returns:
- The bytes for awsRegion.
-
setAwsRegion
public AwsSourceDetails.Builder setAwsRegion(String value)
Immutable. The AWS region that the source VMs will be migrated from.
string aws_region = 3 [(.google.api.field_behavior) = IMMUTABLE];
- Parameters:
value
- The awsRegion to set.- Returns:
- This builder for chaining.
-
clearAwsRegion
public AwsSourceDetails.Builder clearAwsRegion()
Immutable. The AWS region that the source VMs will be migrated from.
string aws_region = 3 [(.google.api.field_behavior) = IMMUTABLE];
- Returns:
- This builder for chaining.
-
setAwsRegionBytes
public AwsSourceDetails.Builder setAwsRegionBytes(com.google.protobuf.ByteString value)
Immutable. The AWS region that the source VMs will be migrated from.
string aws_region = 3 [(.google.api.field_behavior) = IMMUTABLE];
- Parameters:
value
- The bytes for awsRegion to set.- Returns:
- This builder for chaining.
-
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 interfaceAwsSourceDetailsOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public AwsSourceDetails.Builder setStateValue(int value)
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];
- Parameters:
value
- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
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 interfaceAwsSourceDetailsOrBuilder
- Returns:
- The state.
-
setState
public AwsSourceDetails.Builder setState(AwsSourceDetails.State value)
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];
- Parameters:
value
- The state to set.- Returns:
- This builder for chaining.
-
clearState
public AwsSourceDetails.Builder clearState()
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:
- This builder for chaining.
-
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 interfaceAwsSourceDetailsOrBuilder
- 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 interfaceAwsSourceDetailsOrBuilder
- Returns:
- The error.
-
setError
public AwsSourceDetails.Builder setError(com.google.rpc.Status value)
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];
-
setError
public AwsSourceDetails.Builder setError(com.google.rpc.Status.Builder builderForValue)
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];
-
mergeError
public AwsSourceDetails.Builder mergeError(com.google.rpc.Status value)
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];
-
clearError
public AwsSourceDetails.Builder clearError()
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];
-
getErrorBuilder
public com.google.rpc.Status.Builder getErrorBuilder()
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];
-
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 interfaceAwsSourceDetailsOrBuilder
-
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;
- Specified by:
getInventoryTagListList
in interfaceAwsSourceDetailsOrBuilder
-
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 interfaceAwsSourceDetailsOrBuilder
-
getInventoryTagList
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;
- Specified by:
getInventoryTagList
in interfaceAwsSourceDetailsOrBuilder
-
setInventoryTagList
public AwsSourceDetails.Builder setInventoryTagList(int index, AwsSourceDetails.Tag value)
AWS resource tags to limit the scope of the source inventory.
repeated .google.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;
-
setInventoryTagList
public AwsSourceDetails.Builder setInventoryTagList(int index, AwsSourceDetails.Tag.Builder builderForValue)
AWS resource tags to limit the scope of the source inventory.
repeated .google.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;
-
addInventoryTagList
public AwsSourceDetails.Builder addInventoryTagList(AwsSourceDetails.Tag value)
AWS resource tags to limit the scope of the source inventory.
repeated .google.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;
-
addInventoryTagList
public AwsSourceDetails.Builder addInventoryTagList(int index, AwsSourceDetails.Tag value)
AWS resource tags to limit the scope of the source inventory.
repeated .google.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;
-
addInventoryTagList
public AwsSourceDetails.Builder addInventoryTagList(AwsSourceDetails.Tag.Builder builderForValue)
AWS resource tags to limit the scope of the source inventory.
repeated .google.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;
-
addInventoryTagList
public AwsSourceDetails.Builder addInventoryTagList(int index, AwsSourceDetails.Tag.Builder builderForValue)
AWS resource tags to limit the scope of the source inventory.
repeated .google.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;
-
addAllInventoryTagList
public AwsSourceDetails.Builder addAllInventoryTagList(Iterable<? extends AwsSourceDetails.Tag> values)
AWS resource tags to limit the scope of the source inventory.
repeated .google.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;
-
clearInventoryTagList
public AwsSourceDetails.Builder clearInventoryTagList()
AWS resource tags to limit the scope of the source inventory.
repeated .google.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;
-
removeInventoryTagList
public AwsSourceDetails.Builder removeInventoryTagList(int index)
AWS resource tags to limit the scope of the source inventory.
repeated .google.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;
-
getInventoryTagListBuilder
public AwsSourceDetails.Tag.Builder getInventoryTagListBuilder(int index)
AWS resource tags to limit the scope of the source inventory.
repeated .google.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;
-
getInventoryTagListOrBuilder
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;
- Specified by:
getInventoryTagListOrBuilder
in interfaceAwsSourceDetailsOrBuilder
-
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;
- Specified by:
getInventoryTagListOrBuilderList
in interfaceAwsSourceDetailsOrBuilder
-
addInventoryTagListBuilder
public AwsSourceDetails.Tag.Builder addInventoryTagListBuilder()
AWS resource tags to limit the scope of the source inventory.
repeated .google.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;
-
addInventoryTagListBuilder
public AwsSourceDetails.Tag.Builder addInventoryTagListBuilder(int index)
AWS resource tags to limit the scope of the source inventory.
repeated .google.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;
-
getInventoryTagListBuilderList
public List<AwsSourceDetails.Tag.Builder> getInventoryTagListBuilderList()
AWS resource tags to limit the scope of the source inventory.
repeated .google.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;
-
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 interfaceAwsSourceDetailsOrBuilder
- 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 interfaceAwsSourceDetailsOrBuilder
- 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 interfaceAwsSourceDetailsOrBuilder
- 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 interfaceAwsSourceDetailsOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the inventorySecurityGroupNames at the given index.
-
setInventorySecurityGroupNames
public AwsSourceDetails.Builder setInventorySecurityGroupNames(int index, String value)
AWS security group names to limit the scope of the source inventory.
repeated string inventory_security_group_names = 7;
- Parameters:
index
- The index to set the value at.value
- The inventorySecurityGroupNames to set.- Returns:
- This builder for chaining.
-
addInventorySecurityGroupNames
public AwsSourceDetails.Builder addInventorySecurityGroupNames(String value)
AWS security group names to limit the scope of the source inventory.
repeated string inventory_security_group_names = 7;
- Parameters:
value
- The inventorySecurityGroupNames to add.- Returns:
- This builder for chaining.
-
addAllInventorySecurityGroupNames
public AwsSourceDetails.Builder addAllInventorySecurityGroupNames(Iterable<String> values)
AWS security group names to limit the scope of the source inventory.
repeated string inventory_security_group_names = 7;
- Parameters:
values
- The inventorySecurityGroupNames to add.- Returns:
- This builder for chaining.
-
clearInventorySecurityGroupNames
public AwsSourceDetails.Builder clearInventorySecurityGroupNames()
AWS security group names to limit the scope of the source inventory.
repeated string inventory_security_group_names = 7;
- Returns:
- This builder for chaining.
-
addInventorySecurityGroupNamesBytes
public AwsSourceDetails.Builder addInventorySecurityGroupNamesBytes(com.google.protobuf.ByteString value)
AWS security group names to limit the scope of the source inventory.
repeated string inventory_security_group_names = 7;
- Parameters:
value
- The bytes of the inventorySecurityGroupNames to add.- Returns:
- This builder for chaining.
-
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 interfaceAwsSourceDetailsOrBuilder
-
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 interfaceAwsSourceDetailsOrBuilder
-
getMigrationResourcesUserTags
@Deprecated public Map<String,String> getMigrationResourcesUserTags()
Deprecated.UsegetMigrationResourcesUserTagsMap()
instead.- Specified by:
getMigrationResourcesUserTags
in interfaceAwsSourceDetailsOrBuilder
-
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 interfaceAwsSourceDetailsOrBuilder
-
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 interfaceAwsSourceDetailsOrBuilder
-
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 interfaceAwsSourceDetailsOrBuilder
-
clearMigrationResourcesUserTags
public AwsSourceDetails.Builder clearMigrationResourcesUserTags()
-
removeMigrationResourcesUserTags
public AwsSourceDetails.Builder removeMigrationResourcesUserTags(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;
-
getMutableMigrationResourcesUserTags
@Deprecated public Map<String,String> getMutableMigrationResourcesUserTags()
Deprecated.Use alternate mutation accessors instead.
-
putMigrationResourcesUserTags
public AwsSourceDetails.Builder putMigrationResourcesUserTags(String key, String value)
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;
-
putAllMigrationResourcesUserTags
public AwsSourceDetails.Builder putAllMigrationResourcesUserTags(Map<String,String> values)
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;
-
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 interfaceAwsSourceDetailsOrBuilder
- 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 interfaceAwsSourceDetailsOrBuilder
- Returns:
- The bytes for publicIp.
-
setPublicIp
public AwsSourceDetails.Builder setPublicIp(String value)
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];
- Parameters:
value
- The publicIp to set.- Returns:
- This builder for chaining.
-
clearPublicIp
public AwsSourceDetails.Builder clearPublicIp()
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:
- This builder for chaining.
-
setPublicIpBytes
public AwsSourceDetails.Builder setPublicIpBytes(com.google.protobuf.ByteString value)
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];
- Parameters:
value
- The bytes for publicIp to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final AwsSourceDetails.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AwsSourceDetails.Builder>
-
mergeUnknownFields
public final AwsSourceDetails.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AwsSourceDetails.Builder>
-
-