public static final class AwsSourceVmDetails.Builder extends GeneratedMessageV3.Builder<AwsSourceVmDetails.Builder> implements AwsSourceVmDetailsOrBuilder
Represent the source AWS VM details.
Protobuf type google.cloud.vmmigration.v1.AwsSourceVmDetails
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AwsSourceVmDetails.BuilderImplements
AwsSourceVmDetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllDisks(Iterable<? extends AwsSourceVmDetails.AwsDiskDetails> values)
public AwsSourceVmDetails.Builder addAllDisks(Iterable<? extends AwsSourceVmDetails.AwsDiskDetails> values)
Output only. The disks attached to the source VM.
repeated .google.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails> |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.Builder |
addDisks(AwsSourceVmDetails.AwsDiskDetails value)
public AwsSourceVmDetails.Builder addDisks(AwsSourceVmDetails.AwsDiskDetails value)
Output only. The disks attached to the source VM.
repeated .google.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
AwsSourceVmDetails.AwsDiskDetails |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.Builder |
addDisks(AwsSourceVmDetails.AwsDiskDetails.Builder builderForValue)
public AwsSourceVmDetails.Builder addDisks(AwsSourceVmDetails.AwsDiskDetails.Builder builderForValue)
Output only. The disks attached to the source VM.
repeated .google.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
AwsSourceVmDetails.AwsDiskDetails.Builder |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.Builder |
addDisks(int index, AwsSourceVmDetails.AwsDiskDetails value)
public AwsSourceVmDetails.Builder addDisks(int index, AwsSourceVmDetails.AwsDiskDetails value)
Output only. The disks attached to the source VM.
repeated .google.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
AwsSourceVmDetails.AwsDiskDetails |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.Builder |
addDisks(int index, AwsSourceVmDetails.AwsDiskDetails.Builder builderForValue)
public AwsSourceVmDetails.Builder addDisks(int index, AwsSourceVmDetails.AwsDiskDetails.Builder builderForValue)
Output only. The disks attached to the source VM.
repeated .google.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
AwsSourceVmDetails.AwsDiskDetails.Builder |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.Builder |
addDisksBuilder()
public AwsSourceVmDetails.AwsDiskDetails.Builder addDisksBuilder()
Output only. The disks attached to the source VM.
repeated .google.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.AwsDiskDetails.Builder |
addDisksBuilder(int index)
public AwsSourceVmDetails.AwsDiskDetails.Builder addDisksBuilder(int index)
Output only. The disks attached to the source VM.
repeated .google.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.AwsDiskDetails.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AwsSourceVmDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.Builder |
build()
public AwsSourceVmDetails build()
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails |
buildPartial()
public AwsSourceVmDetails buildPartial()
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails |
clear()
public AwsSourceVmDetails.Builder clear()
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.Builder |
clearArchitecture()
public AwsSourceVmDetails.Builder clearArchitecture()
Output only. The VM architecture.
.google.cloud.vmmigration.v1.VmArchitecture architecture = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.Builder |
This builder for chaining. |
clearCommittedStorageBytes()
public AwsSourceVmDetails.Builder clearCommittedStorageBytes()
Output only. The total size of the disks being migrated in bytes.
int64 committed_storage_bytes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.Builder |
This builder for chaining. |
clearDisks()
public AwsSourceVmDetails.Builder clearDisks()
Output only. The disks attached to the source VM.
repeated .google.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.Builder |
clearField(Descriptors.FieldDescriptor field)
public AwsSourceVmDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.Builder |
clearFirmware()
public AwsSourceVmDetails.Builder clearFirmware()
Output only. The firmware type of the source VM.
.google.cloud.vmmigration.v1.AwsSourceVmDetails.Firmware firmware = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AwsSourceVmDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.Builder |
clearVmCapabilitiesInfo()
public AwsSourceVmDetails.Builder clearVmCapabilitiesInfo()
Output only. Information about VM capabilities needed for some Compute Engine features.
.google.cloud.vmmigration.v1.VmCapabilities vm_capabilities_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.Builder |
clone()
public AwsSourceVmDetails.Builder clone()
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.Builder |
getArchitecture()
public VmArchitecture getArchitecture()
Output only. The VM architecture.
.google.cloud.vmmigration.v1.VmArchitecture architecture = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
VmArchitecture |
The architecture. |
getArchitectureValue()
public int getArchitectureValue()
Output only. The VM architecture.
.google.cloud.vmmigration.v1.VmArchitecture architecture = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for architecture. |
getCommittedStorageBytes()
public long getCommittedStorageBytes()
Output only. The total size of the disks being migrated in bytes.
int64 committed_storage_bytes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
long |
The committedStorageBytes. |
getDefaultInstanceForType()
public AwsSourceVmDetails getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisks(int index)
public AwsSourceVmDetails.AwsDiskDetails getDisks(int index)
Output only. The disks attached to the source VM.
repeated .google.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.AwsDiskDetails |
getDisksBuilder(int index)
public AwsSourceVmDetails.AwsDiskDetails.Builder getDisksBuilder(int index)
Output only. The disks attached to the source VM.
repeated .google.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.AwsDiskDetails.Builder |
getDisksBuilderList()
public List<AwsSourceVmDetails.AwsDiskDetails.Builder> getDisksBuilderList()
Output only. The disks attached to the source VM.
repeated .google.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<Builder> |
getDisksCount()
public int getDisksCount()
Output only. The disks attached to the source VM.
repeated .google.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
getDisksList()
public List<AwsSourceVmDetails.AwsDiskDetails> getDisksList()
Output only. The disks attached to the source VM.
repeated .google.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<AwsDiskDetails> |
getDisksOrBuilder(int index)
public AwsSourceVmDetails.AwsDiskDetailsOrBuilder getDisksOrBuilder(int index)
Output only. The disks attached to the source VM.
repeated .google.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.AwsDiskDetailsOrBuilder |
getDisksOrBuilderList()
public List<? extends AwsSourceVmDetails.AwsDiskDetailsOrBuilder> getDisksOrBuilderList()
Output only. The disks attached to the source VM.
repeated .google.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetailsOrBuilder> |
getFirmware()
public AwsSourceVmDetails.Firmware getFirmware()
Output only. The firmware type of the source VM.
.google.cloud.vmmigration.v1.AwsSourceVmDetails.Firmware firmware = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.Firmware |
The firmware. |
getFirmwareValue()
public int getFirmwareValue()
Output only. The firmware type of the source VM.
.google.cloud.vmmigration.v1.AwsSourceVmDetails.Firmware firmware = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for firmware. |
getVmCapabilitiesInfo()
public VmCapabilities getVmCapabilitiesInfo()
Output only. Information about VM capabilities needed for some Compute Engine features.
.google.cloud.vmmigration.v1.VmCapabilities vm_capabilities_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
VmCapabilities |
The vmCapabilitiesInfo. |
getVmCapabilitiesInfoBuilder()
public VmCapabilities.Builder getVmCapabilitiesInfoBuilder()
Output only. Information about VM capabilities needed for some Compute Engine features.
.google.cloud.vmmigration.v1.VmCapabilities vm_capabilities_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
VmCapabilities.Builder |
getVmCapabilitiesInfoOrBuilder()
public VmCapabilitiesOrBuilder getVmCapabilitiesInfoOrBuilder()
Output only. Information about VM capabilities needed for some Compute Engine features.
.google.cloud.vmmigration.v1.VmCapabilities vm_capabilities_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
VmCapabilitiesOrBuilder |
hasVmCapabilitiesInfo()
public boolean hasVmCapabilitiesInfo()
Output only. Information about VM capabilities needed for some Compute Engine features.
.google.cloud.vmmigration.v1.VmCapabilities vm_capabilities_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the vmCapabilitiesInfo field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(AwsSourceVmDetails other)
public AwsSourceVmDetails.Builder mergeFrom(AwsSourceVmDetails other)
Parameter | |
---|---|
Name | Description |
other |
AwsSourceVmDetails |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AwsSourceVmDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AwsSourceVmDetails.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AwsSourceVmDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.Builder |
mergeVmCapabilitiesInfo(VmCapabilities value)
public AwsSourceVmDetails.Builder mergeVmCapabilitiesInfo(VmCapabilities value)
Output only. Information about VM capabilities needed for some Compute Engine features.
.google.cloud.vmmigration.v1.VmCapabilities vm_capabilities_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
VmCapabilities |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.Builder |
removeDisks(int index)
public AwsSourceVmDetails.Builder removeDisks(int index)
Output only. The disks attached to the source VM.
repeated .google.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.Builder |
setArchitecture(VmArchitecture value)
public AwsSourceVmDetails.Builder setArchitecture(VmArchitecture value)
Output only. The VM architecture.
.google.cloud.vmmigration.v1.VmArchitecture architecture = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
VmArchitecture The architecture to set. |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.Builder |
This builder for chaining. |
setArchitectureValue(int value)
public AwsSourceVmDetails.Builder setArchitectureValue(int value)
Output only. The VM architecture.
.google.cloud.vmmigration.v1.VmArchitecture architecture = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for architecture to set. |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.Builder |
This builder for chaining. |
setCommittedStorageBytes(long value)
public AwsSourceVmDetails.Builder setCommittedStorageBytes(long value)
Output only. The total size of the disks being migrated in bytes.
int64 committed_storage_bytes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
long The committedStorageBytes to set. |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.Builder |
This builder for chaining. |
setDisks(int index, AwsSourceVmDetails.AwsDiskDetails value)
public AwsSourceVmDetails.Builder setDisks(int index, AwsSourceVmDetails.AwsDiskDetails value)
Output only. The disks attached to the source VM.
repeated .google.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
AwsSourceVmDetails.AwsDiskDetails |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.Builder |
setDisks(int index, AwsSourceVmDetails.AwsDiskDetails.Builder builderForValue)
public AwsSourceVmDetails.Builder setDisks(int index, AwsSourceVmDetails.AwsDiskDetails.Builder builderForValue)
Output only. The disks attached to the source VM.
repeated .google.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
AwsSourceVmDetails.AwsDiskDetails.Builder |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public AwsSourceVmDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.Builder |
setFirmware(AwsSourceVmDetails.Firmware value)
public AwsSourceVmDetails.Builder setFirmware(AwsSourceVmDetails.Firmware value)
Output only. The firmware type of the source VM.
.google.cloud.vmmigration.v1.AwsSourceVmDetails.Firmware firmware = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
AwsSourceVmDetails.Firmware The firmware to set. |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.Builder |
This builder for chaining. |
setFirmwareValue(int value)
public AwsSourceVmDetails.Builder setFirmwareValue(int value)
Output only. The firmware type of the source VM.
.google.cloud.vmmigration.v1.AwsSourceVmDetails.Firmware firmware = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for firmware to set. |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AwsSourceVmDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AwsSourceVmDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.Builder |
setVmCapabilitiesInfo(VmCapabilities value)
public AwsSourceVmDetails.Builder setVmCapabilitiesInfo(VmCapabilities value)
Output only. Information about VM capabilities needed for some Compute Engine features.
.google.cloud.vmmigration.v1.VmCapabilities vm_capabilities_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
VmCapabilities |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.Builder |
setVmCapabilitiesInfo(VmCapabilities.Builder builderForValue)
public AwsSourceVmDetails.Builder setVmCapabilitiesInfo(VmCapabilities.Builder builderForValue)
Output only. Information about VM capabilities needed for some Compute Engine features.
.google.cloud.vmmigration.v1.VmCapabilities vm_capabilities_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
VmCapabilities.Builder |
Returns | |
---|---|
Type | Description |
AwsSourceVmDetails.Builder |