public static final class AwsSourceDiskDetails.Builder extends GeneratedMessage.Builder<AwsSourceDiskDetails.Builder> implements AwsSourceDiskDetailsOrBuilderRepresents the source AWS Disk details.
Protobuf type google.cloud.vmmigration.v1.AwsSourceDiskDetails
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AwsSourceDiskDetails.BuilderImplements
AwsSourceDiskDetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AwsSourceDiskDetails build()| Returns | |
|---|---|
| Type | Description |
AwsSourceDiskDetails |
|
buildPartial()
public AwsSourceDiskDetails buildPartial()| Returns | |
|---|---|
| Type | Description |
AwsSourceDiskDetails |
|
clear()
public AwsSourceDiskDetails.Builder clear()| Returns | |
|---|---|
| Type | Description |
AwsSourceDiskDetails.Builder |
|
clearDiskType()
public AwsSourceDiskDetails.Builder clearDiskType()Optional. Output only. Disk type.
.google.cloud.vmmigration.v1.AwsSourceDiskDetails.Type disk_type = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AwsSourceDiskDetails.Builder |
This builder for chaining. |
clearSizeGib()
public AwsSourceDiskDetails.Builder clearSizeGib()Output only. Size in GiB.
int64 size_gib = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AwsSourceDiskDetails.Builder |
This builder for chaining. |
clearTags()
public AwsSourceDiskDetails.Builder clearTags()| Returns | |
|---|---|
| Type | Description |
AwsSourceDiskDetails.Builder |
|
clearVolumeId()
public AwsSourceDiskDetails.Builder clearVolumeId()Required. AWS volume ID.
string volume_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AwsSourceDiskDetails.Builder |
This builder for chaining. |
containsTags(String key)
public boolean containsTags(String key)Optional. Output only. A map of AWS volume tags.
map<string, string> tags = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public AwsSourceDiskDetails getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AwsSourceDiskDetails |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDiskType()
public AwsSourceDiskDetails.Type getDiskType()Optional. Output only. Disk type.
.google.cloud.vmmigration.v1.AwsSourceDiskDetails.Type disk_type = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AwsSourceDiskDetails.Type |
The diskType. |
getDiskTypeValue()
public int getDiskTypeValue()Optional. Output only. Disk type.
.google.cloud.vmmigration.v1.AwsSourceDiskDetails.Type disk_type = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for diskType. |
getMutableTags() (deprecated)
public Map<String,String> getMutableTags()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getSizeGib()
public long getSizeGib()Output only. Size in GiB.
int64 size_gib = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
long |
The sizeGib. |
getTags() (deprecated)
public Map<String,String> getTags()Use #getTagsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getTagsCount()
public int getTagsCount()Optional. Output only. A map of AWS volume tags.
map<string, string> tags = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getTagsMap()
public Map<String,String> getTagsMap()Optional. Output only. A map of AWS volume tags.
map<string, string> tags = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getTagsOrDefault(String key, String defaultValue)
public String getTagsOrDefault(String key, String defaultValue)Optional. Output only. A map of AWS volume tags.
map<string, string> tags = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getTagsOrThrow(String key)
public String getTagsOrThrow(String key)Optional. Output only. A map of AWS volume tags.
map<string, string> tags = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getVolumeId()
public String getVolumeId()Required. AWS volume ID.
string volume_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The volumeId. |
getVolumeIdBytes()
public ByteString getVolumeIdBytes()Required. AWS volume ID.
string volume_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for volumeId. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AwsSourceDiskDetails other)
public AwsSourceDiskDetails.Builder mergeFrom(AwsSourceDiskDetails other)| Parameter | |
|---|---|
| Name | Description |
other |
AwsSourceDiskDetails |
| Returns | |
|---|---|
| Type | Description |
AwsSourceDiskDetails.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AwsSourceDiskDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AwsSourceDiskDetails.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AwsSourceDiskDetails.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AwsSourceDiskDetails.Builder |
|
putAllTags(Map<String,String> values)
public AwsSourceDiskDetails.Builder putAllTags(Map<String,String> values)Optional. Output only. A map of AWS volume tags.
map<string, string> tags = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
AwsSourceDiskDetails.Builder |
|
putTags(String key, String value)
public AwsSourceDiskDetails.Builder putTags(String key, String value)Optional. Output only. A map of AWS volume tags.
map<string, string> tags = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
AwsSourceDiskDetails.Builder |
|
removeTags(String key)
public AwsSourceDiskDetails.Builder removeTags(String key)Optional. Output only. A map of AWS volume tags.
map<string, string> tags = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
AwsSourceDiskDetails.Builder |
|
setDiskType(AwsSourceDiskDetails.Type value)
public AwsSourceDiskDetails.Builder setDiskType(AwsSourceDiskDetails.Type value)Optional. Output only. Disk type.
.google.cloud.vmmigration.v1.AwsSourceDiskDetails.Type disk_type = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
AwsSourceDiskDetails.TypeThe diskType to set. |
| Returns | |
|---|---|
| Type | Description |
AwsSourceDiskDetails.Builder |
This builder for chaining. |
setDiskTypeValue(int value)
public AwsSourceDiskDetails.Builder setDiskTypeValue(int value)Optional. Output only. Disk type.
.google.cloud.vmmigration.v1.AwsSourceDiskDetails.Type disk_type = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for diskType to set. |
| Returns | |
|---|---|
| Type | Description |
AwsSourceDiskDetails.Builder |
This builder for chaining. |
setSizeGib(long value)
public AwsSourceDiskDetails.Builder setSizeGib(long value)Output only. Size in GiB.
int64 size_gib = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe sizeGib to set. |
| Returns | |
|---|---|
| Type | Description |
AwsSourceDiskDetails.Builder |
This builder for chaining. |
setVolumeId(String value)
public AwsSourceDiskDetails.Builder setVolumeId(String value)Required. AWS volume ID.
string volume_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe volumeId to set. |
| Returns | |
|---|---|
| Type | Description |
AwsSourceDiskDetails.Builder |
This builder for chaining. |
setVolumeIdBytes(ByteString value)
public AwsSourceDiskDetails.Builder setVolumeIdBytes(ByteString value)Required. AWS volume ID.
string volume_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for volumeId to set. |
| Returns | |
|---|---|
| Type | Description |
AwsSourceDiskDetails.Builder |
This builder for chaining. |