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.BuilderaddAllInventorySecurityGroupNames(Iterable<String> values)AWS security group names to limit the scope of the source inventory.AwsSourceDetails.BuilderaddAllInventoryTagList(Iterable<? extends AwsSourceDetails.Tag> values)AWS resource tags to limit the scope of the source inventory.AwsSourceDetails.BuilderaddInventorySecurityGroupNames(String value)AWS security group names to limit the scope of the source inventory.AwsSourceDetails.BuilderaddInventorySecurityGroupNamesBytes(com.google.protobuf.ByteString value)AWS security group names to limit the scope of the source inventory.AwsSourceDetails.BuilderaddInventoryTagList(int index, AwsSourceDetails.Tag value)AWS resource tags to limit the scope of the source inventory.AwsSourceDetails.BuilderaddInventoryTagList(int index, AwsSourceDetails.Tag.Builder builderForValue)AWS resource tags to limit the scope of the source inventory.AwsSourceDetails.BuilderaddInventoryTagList(AwsSourceDetails.Tag value)AWS resource tags to limit the scope of the source inventory.AwsSourceDetails.BuilderaddInventoryTagList(AwsSourceDetails.Tag.Builder builderForValue)AWS resource tags to limit the scope of the source inventory.AwsSourceDetails.Tag.BuilderaddInventoryTagListBuilder()AWS resource tags to limit the scope of the source inventory.AwsSourceDetails.Tag.BuilderaddInventoryTagListBuilder(int index)AWS resource tags to limit the scope of the source inventory.AwsSourceDetails.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AwsSourceDetailsbuild()AwsSourceDetailsbuildPartial()AwsSourceDetails.Builderclear()AwsSourceDetails.BuilderclearAccessKeyCreds()AWS Credentials using access key id and secret.AwsSourceDetails.BuilderclearAwsRegion()Immutable.AwsSourceDetails.BuilderclearCredentialsType()AwsSourceDetails.BuilderclearError()Output only.AwsSourceDetails.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AwsSourceDetails.BuilderclearInventorySecurityGroupNames()AWS security group names to limit the scope of the source inventory.AwsSourceDetails.BuilderclearInventoryTagList()AWS resource tags to limit the scope of the source inventory.AwsSourceDetails.BuilderclearMigrationResourcesUserTags()AwsSourceDetails.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AwsSourceDetails.BuilderclearPublicIp()Output only.AwsSourceDetails.BuilderclearState()Output only.AwsSourceDetails.Builderclone()booleancontainsMigrationResourcesUserTags(String key)User specified tags to add to every M2VM generated resource in AWS.AwsSourceDetails.AccessKeyCredentialsgetAccessKeyCreds()AWS Credentials using access key id and secret.AwsSourceDetails.AccessKeyCredentials.BuildergetAccessKeyCredsBuilder()AWS Credentials using access key id and secret.AwsSourceDetails.AccessKeyCredentialsOrBuildergetAccessKeyCredsOrBuilder()AWS Credentials using access key id and secret.StringgetAwsRegion()Immutable.com.google.protobuf.ByteStringgetAwsRegionBytes()Immutable.AwsSourceDetails.CredentialsTypeCasegetCredentialsTypeCase()AwsSourceDetailsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.rpc.StatusgetError()Output only.com.google.rpc.Status.BuildergetErrorBuilder()Output only.com.google.rpc.StatusOrBuildergetErrorOrBuilder()Output only.StringgetInventorySecurityGroupNames(int index)AWS security group names to limit the scope of the source inventory.com.google.protobuf.ByteStringgetInventorySecurityGroupNamesBytes(int index)AWS security group names to limit the scope of the source inventory.intgetInventorySecurityGroupNamesCount()AWS security group names to limit the scope of the source inventory.com.google.protobuf.ProtocolStringListgetInventorySecurityGroupNamesList()AWS security group names to limit the scope of the source inventory.AwsSourceDetails.TaggetInventoryTagList(int index)AWS resource tags to limit the scope of the source inventory.AwsSourceDetails.Tag.BuildergetInventoryTagListBuilder(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.intgetInventoryTagListCount()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.TagOrBuildergetInventoryTagListOrBuilder(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.intgetMigrationResourcesUserTagsCount()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.StringgetMigrationResourcesUserTagsOrDefault(String key, String defaultValue)User specified tags to add to every M2VM generated resource in AWS.StringgetMigrationResourcesUserTagsOrThrow(String key)User specified tags to add to every M2VM generated resource in AWS.Map<String,String>getMutableMigrationResourcesUserTags()Deprecated.StringgetPublicIp()Output only.com.google.protobuf.ByteStringgetPublicIpBytes()Output only.AwsSourceDetails.StategetState()Output only.intgetStateValue()Output only.booleanhasAccessKeyCreds()AWS Credentials using access key id and secret.booleanhasError()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()AwsSourceDetails.BuildermergeAccessKeyCreds(AwsSourceDetails.AccessKeyCredentials value)AWS Credentials using access key id and secret.AwsSourceDetails.BuildermergeError(com.google.rpc.Status value)Output only.AwsSourceDetails.BuildermergeFrom(AwsSourceDetails other)AwsSourceDetails.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AwsSourceDetails.BuildermergeFrom(com.google.protobuf.Message other)AwsSourceDetails.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AwsSourceDetails.BuilderputAllMigrationResourcesUserTags(Map<String,String> values)User specified tags to add to every M2VM generated resource in AWS.AwsSourceDetails.BuilderputMigrationResourcesUserTags(String key, String value)User specified tags to add to every M2VM generated resource in AWS.AwsSourceDetails.BuilderremoveInventoryTagList(int index)AWS resource tags to limit the scope of the source inventory.AwsSourceDetails.BuilderremoveMigrationResourcesUserTags(String key)User specified tags to add to every M2VM generated resource in AWS.AwsSourceDetails.BuildersetAccessKeyCreds(AwsSourceDetails.AccessKeyCredentials value)AWS Credentials using access key id and secret.AwsSourceDetails.BuildersetAccessKeyCreds(AwsSourceDetails.AccessKeyCredentials.Builder builderForValue)AWS Credentials using access key id and secret.AwsSourceDetails.BuildersetAwsRegion(String value)Immutable.AwsSourceDetails.BuildersetAwsRegionBytes(com.google.protobuf.ByteString value)Immutable.AwsSourceDetails.BuildersetError(com.google.rpc.Status value)Output only.AwsSourceDetails.BuildersetError(com.google.rpc.Status.Builder builderForValue)Output only.AwsSourceDetails.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AwsSourceDetails.BuildersetInventorySecurityGroupNames(int index, String value)AWS security group names to limit the scope of the source inventory.AwsSourceDetails.BuildersetInventoryTagList(int index, AwsSourceDetails.Tag value)AWS resource tags to limit the scope of the source inventory.AwsSourceDetails.BuildersetInventoryTagList(int index, AwsSourceDetails.Tag.Builder builderForValue)AWS resource tags to limit the scope of the source inventory.AwsSourceDetails.BuildersetPublicIp(String value)Output only.AwsSourceDetails.BuildersetPublicIpBytes(com.google.protobuf.ByteString value)Output only.AwsSourceDetails.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)AwsSourceDetails.BuildersetState(AwsSourceDetails.State value)Output only.AwsSourceDetails.BuildersetStateValue(int value)Output only.AwsSourceDetails.BuildersetUnknownFields(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:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AwsSourceDetails.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AwsSourceDetails.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AwsSourceDetails.Builder>
-
clear
public AwsSourceDetails.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<AwsSourceDetails.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<AwsSourceDetails.Builder>
-
getDefaultInstanceForType
public AwsSourceDetails getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AwsSourceDetails build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AwsSourceDetails buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AwsSourceDetails.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<AwsSourceDetails.Builder>
-
setField
public AwsSourceDetails.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AwsSourceDetails.Builder>
-
clearField
public AwsSourceDetails.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AwsSourceDetails.Builder>
-
clearOneof
public AwsSourceDetails.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AwsSourceDetails.Builder>
-
setRepeatedField
public AwsSourceDetails.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AwsSourceDetails.Builder>
-
addRepeatedField
public AwsSourceDetails.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AwsSourceDetails.Builder>
-
mergeFrom
public AwsSourceDetails.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AwsSourceDetails.Builder>
-
mergeFrom
public AwsSourceDetails.Builder mergeFrom(AwsSourceDetails other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AwsSourceDetails.Builder>- Throws:
IOException
-
getCredentialsTypeCase
public AwsSourceDetails.CredentialsTypeCase getCredentialsTypeCase()
- Specified by:
getCredentialsTypeCasein 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:
hasAccessKeyCredsin 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:
getAccessKeyCredsin 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:
getAccessKeyCredsOrBuilderin 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:
getAwsRegionin 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:
getAwsRegionBytesin 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:
getStateValuein 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:
getStatein 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:
hasErrorin 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:
getErrorin 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:
getErrorOrBuilderin 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:
getInventoryTagListListin 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:
getInventoryTagListCountin 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:
getInventoryTagListin 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:
getInventoryTagListOrBuilderin 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:
getInventoryTagListOrBuilderListin 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:
getInventorySecurityGroupNamesListin 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:
getInventorySecurityGroupNamesCountin 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:
getInventorySecurityGroupNamesin 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:
getInventorySecurityGroupNamesBytesin 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:AwsSourceDetailsOrBuilderUser 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:
getMigrationResourcesUserTagsCountin 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:
containsMigrationResourcesUserTagsin interfaceAwsSourceDetailsOrBuilder
-
getMigrationResourcesUserTags
@Deprecated public Map<String,String> getMigrationResourcesUserTags()
Deprecated.UsegetMigrationResourcesUserTagsMap()instead.- Specified by:
getMigrationResourcesUserTagsin 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:
getMigrationResourcesUserTagsMapin 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:
getMigrationResourcesUserTagsOrDefaultin 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:
getMigrationResourcesUserTagsOrThrowin 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:
getPublicIpin 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:
getPublicIpBytesin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AwsSourceDetails.Builder>
-
mergeUnknownFields
public final AwsSourceDetails.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AwsSourceDetails.Builder>
-
-