public static final class AzureSourceVmDetails.Builder extends GeneratedMessage.Builder<AzureSourceVmDetails.Builder> implements AzureSourceVmDetailsOrBuilderRepresent the source Azure VM details.
Protobuf type google.cloud.vmmigration.v1.AzureSourceVmDetails
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AzureSourceVmDetails.BuilderImplements
AzureSourceVmDetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllDisks(Iterable<? extends AzureSourceVmDetails.AzureDiskDetails> values)
public AzureSourceVmDetails.Builder addAllDisks(Iterable<? extends AzureSourceVmDetails.AzureDiskDetails> values)Output only. The disks attached to the source VM.
repeated .google.cloud.vmmigration.v1.AzureSourceVmDetails.AzureDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.vmmigration.v1.AzureSourceVmDetails.AzureDiskDetails> |
| Returns | |
|---|---|
| Type | Description |
AzureSourceVmDetails.Builder |
|
addDisks(AzureSourceVmDetails.AzureDiskDetails value)
public AzureSourceVmDetails.Builder addDisks(AzureSourceVmDetails.AzureDiskDetails value)Output only. The disks attached to the source VM.
repeated .google.cloud.vmmigration.v1.AzureSourceVmDetails.AzureDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
AzureSourceVmDetails.AzureDiskDetails |
| Returns | |
|---|---|
| Type | Description |
AzureSourceVmDetails.Builder |
|
addDisks(AzureSourceVmDetails.AzureDiskDetails.Builder builderForValue)
public AzureSourceVmDetails.Builder addDisks(AzureSourceVmDetails.AzureDiskDetails.Builder builderForValue)Output only. The disks attached to the source VM.
repeated .google.cloud.vmmigration.v1.AzureSourceVmDetails.AzureDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AzureSourceVmDetails.AzureDiskDetails.Builder |
| Returns | |
|---|---|
| Type | Description |
AzureSourceVmDetails.Builder |
|
addDisks(int index, AzureSourceVmDetails.AzureDiskDetails value)
public AzureSourceVmDetails.Builder addDisks(int index, AzureSourceVmDetails.AzureDiskDetails value)Output only. The disks attached to the source VM.
repeated .google.cloud.vmmigration.v1.AzureSourceVmDetails.AzureDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AzureSourceVmDetails.AzureDiskDetails |
| Returns | |
|---|---|
| Type | Description |
AzureSourceVmDetails.Builder |
|
addDisks(int index, AzureSourceVmDetails.AzureDiskDetails.Builder builderForValue)
public AzureSourceVmDetails.Builder addDisks(int index, AzureSourceVmDetails.AzureDiskDetails.Builder builderForValue)Output only. The disks attached to the source VM.
repeated .google.cloud.vmmigration.v1.AzureSourceVmDetails.AzureDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AzureSourceVmDetails.AzureDiskDetails.Builder |
| Returns | |
|---|---|
| Type | Description |
AzureSourceVmDetails.Builder |
|
addDisksBuilder()
public AzureSourceVmDetails.AzureDiskDetails.Builder addDisksBuilder()Output only. The disks attached to the source VM.
repeated .google.cloud.vmmigration.v1.AzureSourceVmDetails.AzureDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AzureSourceVmDetails.AzureDiskDetails.Builder |
|
addDisksBuilder(int index)
public AzureSourceVmDetails.AzureDiskDetails.Builder addDisksBuilder(int index)Output only. The disks attached to the source VM.
repeated .google.cloud.vmmigration.v1.AzureSourceVmDetails.AzureDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AzureSourceVmDetails.AzureDiskDetails.Builder |
|
build()
public AzureSourceVmDetails build()| Returns | |
|---|---|
| Type | Description |
AzureSourceVmDetails |
|
buildPartial()
public AzureSourceVmDetails buildPartial()| Returns | |
|---|---|
| Type | Description |
AzureSourceVmDetails |
|
clear()
public AzureSourceVmDetails.Builder clear()| Returns | |
|---|---|
| Type | Description |
AzureSourceVmDetails.Builder |
|
clearArchitecture()
public AzureSourceVmDetails.Builder clearArchitecture()Output only. The VM architecture.
.google.cloud.vmmigration.v1.VmArchitecture architecture = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AzureSourceVmDetails.Builder |
This builder for chaining. |
clearCommittedStorageBytes()
public AzureSourceVmDetails.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 |
AzureSourceVmDetails.Builder |
This builder for chaining. |
clearDisks()
public AzureSourceVmDetails.Builder clearDisks()Output only. The disks attached to the source VM.
repeated .google.cloud.vmmigration.v1.AzureSourceVmDetails.AzureDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AzureSourceVmDetails.Builder |
|
clearFirmware()
public AzureSourceVmDetails.Builder clearFirmware()Output only. The firmware type of the source VM.
.google.cloud.vmmigration.v1.AzureSourceVmDetails.Firmware firmware = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AzureSourceVmDetails.Builder |
This builder for chaining. |
clearVmCapabilitiesInfo()
public AzureSourceVmDetails.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 |
AzureSourceVmDetails.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 AzureSourceVmDetails getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AzureSourceVmDetails |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisks(int index)
public AzureSourceVmDetails.AzureDiskDetails getDisks(int index)Output only. The disks attached to the source VM.
repeated .google.cloud.vmmigration.v1.AzureSourceVmDetails.AzureDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AzureSourceVmDetails.AzureDiskDetails |
|
getDisksBuilder(int index)
public AzureSourceVmDetails.AzureDiskDetails.Builder getDisksBuilder(int index)Output only. The disks attached to the source VM.
repeated .google.cloud.vmmigration.v1.AzureSourceVmDetails.AzureDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AzureSourceVmDetails.AzureDiskDetails.Builder |
|
getDisksBuilderList()
public List<AzureSourceVmDetails.AzureDiskDetails.Builder> getDisksBuilderList()Output only. The disks attached to the source VM.
repeated .google.cloud.vmmigration.v1.AzureSourceVmDetails.AzureDiskDetails 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.AzureSourceVmDetails.AzureDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getDisksList()
public List<AzureSourceVmDetails.AzureDiskDetails> getDisksList()Output only. The disks attached to the source VM.
repeated .google.cloud.vmmigration.v1.AzureSourceVmDetails.AzureDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<AzureDiskDetails> |
|
getDisksOrBuilder(int index)
public AzureSourceVmDetails.AzureDiskDetailsOrBuilder getDisksOrBuilder(int index)Output only. The disks attached to the source VM.
repeated .google.cloud.vmmigration.v1.AzureSourceVmDetails.AzureDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AzureSourceVmDetails.AzureDiskDetailsOrBuilder |
|
getDisksOrBuilderList()
public List<? extends AzureSourceVmDetails.AzureDiskDetailsOrBuilder> getDisksOrBuilderList()Output only. The disks attached to the source VM.
repeated .google.cloud.vmmigration.v1.AzureSourceVmDetails.AzureDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.vmmigration.v1.AzureSourceVmDetails.AzureDiskDetailsOrBuilder> |
|
getFirmware()
public AzureSourceVmDetails.Firmware getFirmware()Output only. The firmware type of the source VM.
.google.cloud.vmmigration.v1.AzureSourceVmDetails.Firmware firmware = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AzureSourceVmDetails.Firmware |
The firmware. |
getFirmwareValue()
public int getFirmwareValue()Output only. The firmware type of the source VM.
.google.cloud.vmmigration.v1.AzureSourceVmDetails.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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AzureSourceVmDetails other)
public AzureSourceVmDetails.Builder mergeFrom(AzureSourceVmDetails other)| Parameter | |
|---|---|
| Name | Description |
other |
AzureSourceVmDetails |
| Returns | |
|---|---|
| Type | Description |
AzureSourceVmDetails.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AzureSourceVmDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AzureSourceVmDetails.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AzureSourceVmDetails.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AzureSourceVmDetails.Builder |
|
mergeVmCapabilitiesInfo(VmCapabilities value)
public AzureSourceVmDetails.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 |
AzureSourceVmDetails.Builder |
|
removeDisks(int index)
public AzureSourceVmDetails.Builder removeDisks(int index)Output only. The disks attached to the source VM.
repeated .google.cloud.vmmigration.v1.AzureSourceVmDetails.AzureDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AzureSourceVmDetails.Builder |
|
setArchitecture(VmArchitecture value)
public AzureSourceVmDetails.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 |
VmArchitectureThe architecture to set. |
| Returns | |
|---|---|
| Type | Description |
AzureSourceVmDetails.Builder |
This builder for chaining. |
setArchitectureValue(int value)
public AzureSourceVmDetails.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 |
intThe enum numeric value on the wire for architecture to set. |
| Returns | |
|---|---|
| Type | Description |
AzureSourceVmDetails.Builder |
This builder for chaining. |
setCommittedStorageBytes(long value)
public AzureSourceVmDetails.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 |
longThe committedStorageBytes to set. |
| Returns | |
|---|---|
| Type | Description |
AzureSourceVmDetails.Builder |
This builder for chaining. |
setDisks(int index, AzureSourceVmDetails.AzureDiskDetails value)
public AzureSourceVmDetails.Builder setDisks(int index, AzureSourceVmDetails.AzureDiskDetails value)Output only. The disks attached to the source VM.
repeated .google.cloud.vmmigration.v1.AzureSourceVmDetails.AzureDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AzureSourceVmDetails.AzureDiskDetails |
| Returns | |
|---|---|
| Type | Description |
AzureSourceVmDetails.Builder |
|
setDisks(int index, AzureSourceVmDetails.AzureDiskDetails.Builder builderForValue)
public AzureSourceVmDetails.Builder setDisks(int index, AzureSourceVmDetails.AzureDiskDetails.Builder builderForValue)Output only. The disks attached to the source VM.
repeated .google.cloud.vmmigration.v1.AzureSourceVmDetails.AzureDiskDetails disks = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AzureSourceVmDetails.AzureDiskDetails.Builder |
| Returns | |
|---|---|
| Type | Description |
AzureSourceVmDetails.Builder |
|
setFirmware(AzureSourceVmDetails.Firmware value)
public AzureSourceVmDetails.Builder setFirmware(AzureSourceVmDetails.Firmware value)Output only. The firmware type of the source VM.
.google.cloud.vmmigration.v1.AzureSourceVmDetails.Firmware firmware = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
AzureSourceVmDetails.FirmwareThe firmware to set. |
| Returns | |
|---|---|
| Type | Description |
AzureSourceVmDetails.Builder |
This builder for chaining. |
setFirmwareValue(int value)
public AzureSourceVmDetails.Builder setFirmwareValue(int value)Output only. The firmware type of the source VM.
.google.cloud.vmmigration.v1.AzureSourceVmDetails.Firmware firmware = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for firmware to set. |
| Returns | |
|---|---|
| Type | Description |
AzureSourceVmDetails.Builder |
This builder for chaining. |
setVmCapabilitiesInfo(VmCapabilities value)
public AzureSourceVmDetails.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 |
AzureSourceVmDetails.Builder |
|
setVmCapabilitiesInfo(VmCapabilities.Builder builderForValue)
public AzureSourceVmDetails.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 |
AzureSourceVmDetails.Builder |
|