- 0.60.0 (latest)
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.52.0
- 0.50.0
- 0.49.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class DiskEntry.Builder extends GeneratedMessageV3.Builder<DiskEntry.Builder> implements DiskEntryOrBuilderSingle disk entry.
 Protobuf type google.cloud.migrationcenter.v1.DiskEntry
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DiskEntry.BuilderImplements
DiskEntryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DiskEntry.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| DiskEntry.Builder | |
build()
public DiskEntry build()| Returns | |
|---|---|
| Type | Description | 
| DiskEntry | |
buildPartial()
public DiskEntry buildPartial()| Returns | |
|---|---|
| Type | Description | 
| DiskEntry | |
clear()
public DiskEntry.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| DiskEntry.Builder | |
clearCapacityBytes()
public DiskEntry.Builder clearCapacityBytes()Disk capacity.
 int64 capacity_bytes = 1;
| Returns | |
|---|---|
| Type | Description | 
| DiskEntry.Builder | This builder for chaining. | 
clearDiskLabel()
public DiskEntry.Builder clearDiskLabel()Disk label.
 string disk_label = 3;
| Returns | |
|---|---|
| Type | Description | 
| DiskEntry.Builder | This builder for chaining. | 
clearDiskLabelType()
public DiskEntry.Builder clearDiskLabelType()Disk label type (e.g. BIOS/GPT)
 string disk_label_type = 4;
| Returns | |
|---|---|
| Type | Description | 
| DiskEntry.Builder | This builder for chaining. | 
clearField(Descriptors.FieldDescriptor field)
public DiskEntry.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| DiskEntry.Builder | |
clearFreeBytes()
public DiskEntry.Builder clearFreeBytes()Disk free space.
 int64 free_bytes = 2;
| Returns | |
|---|---|
| Type | Description | 
| DiskEntry.Builder | This builder for chaining. | 
clearHwAddress()
public DiskEntry.Builder clearHwAddress()Disk hardware address (e.g. 0:1 for SCSI).
 string hw_address = 7;
| Returns | |
|---|---|
| Type | Description | 
| DiskEntry.Builder | This builder for chaining. | 
clearInterfaceType()
public DiskEntry.Builder clearInterfaceType()Disks interface type.
 .google.cloud.migrationcenter.v1.DiskEntry.InterfaceType interface_type = 5;
| Returns | |
|---|---|
| Type | Description | 
| DiskEntry.Builder | This builder for chaining. | 
clearOneof(Descriptors.OneofDescriptor oneof)
public DiskEntry.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| DiskEntry.Builder | |
clearPartitions()
public DiskEntry.Builder clearPartitions()Partition layout.
 .google.cloud.migrationcenter.v1.DiskPartitionList partitions = 6;
| Returns | |
|---|---|
| Type | Description | 
| DiskEntry.Builder | |
clearPlatformSpecific()
public DiskEntry.Builder clearPlatformSpecific()| Returns | |
|---|---|
| Type | Description | 
| DiskEntry.Builder | |
clearVmware()
public DiskEntry.Builder clearVmware()VMware disk details.
 .google.cloud.migrationcenter.v1.VmwareDiskConfig vmware = 20;
| Returns | |
|---|---|
| Type | Description | 
| DiskEntry.Builder | |
clone()
public DiskEntry.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| DiskEntry.Builder | |
getCapacityBytes()
public long getCapacityBytes()Disk capacity.
 int64 capacity_bytes = 1;
| Returns | |
|---|---|
| Type | Description | 
| long | The capacityBytes. | 
getDefaultInstanceForType()
public DiskEntry getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| DiskEntry | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
getDiskLabel()
public String getDiskLabel()Disk label.
 string disk_label = 3;
| Returns | |
|---|---|
| Type | Description | 
| String | The diskLabel. | 
getDiskLabelBytes()
public ByteString getDiskLabelBytes()Disk label.
 string disk_label = 3;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for diskLabel. | 
getDiskLabelType()
public String getDiskLabelType()Disk label type (e.g. BIOS/GPT)
 string disk_label_type = 4;
| Returns | |
|---|---|
| Type | Description | 
| String | The diskLabelType. | 
getDiskLabelTypeBytes()
public ByteString getDiskLabelTypeBytes()Disk label type (e.g. BIOS/GPT)
 string disk_label_type = 4;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for diskLabelType. | 
getFreeBytes()
public long getFreeBytes()Disk free space.
 int64 free_bytes = 2;
| Returns | |
|---|---|
| Type | Description | 
| long | The freeBytes. | 
getHwAddress()
public String getHwAddress()Disk hardware address (e.g. 0:1 for SCSI).
 string hw_address = 7;
| Returns | |
|---|---|
| Type | Description | 
| String | The hwAddress. | 
getHwAddressBytes()
public ByteString getHwAddressBytes()Disk hardware address (e.g. 0:1 for SCSI).
 string hw_address = 7;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for hwAddress. | 
getInterfaceType()
public DiskEntry.InterfaceType getInterfaceType()Disks interface type.
 .google.cloud.migrationcenter.v1.DiskEntry.InterfaceType interface_type = 5;
| Returns | |
|---|---|
| Type | Description | 
| DiskEntry.InterfaceType | The interfaceType. | 
getInterfaceTypeValue()
public int getInterfaceTypeValue()Disks interface type.
 .google.cloud.migrationcenter.v1.DiskEntry.InterfaceType interface_type = 5;
| Returns | |
|---|---|
| Type | Description | 
| int | The enum numeric value on the wire for interfaceType. | 
getPartitions()
public DiskPartitionList getPartitions()Partition layout.
 .google.cloud.migrationcenter.v1.DiskPartitionList partitions = 6;
| Returns | |
|---|---|
| Type | Description | 
| DiskPartitionList | The partitions. | 
getPartitionsBuilder()
public DiskPartitionList.Builder getPartitionsBuilder()Partition layout.
 .google.cloud.migrationcenter.v1.DiskPartitionList partitions = 6;
| Returns | |
|---|---|
| Type | Description | 
| DiskPartitionList.Builder | |
getPartitionsOrBuilder()
public DiskPartitionListOrBuilder getPartitionsOrBuilder()Partition layout.
 .google.cloud.migrationcenter.v1.DiskPartitionList partitions = 6;
| Returns | |
|---|---|
| Type | Description | 
| DiskPartitionListOrBuilder | |
getPlatformSpecificCase()
public DiskEntry.PlatformSpecificCase getPlatformSpecificCase()| Returns | |
|---|---|
| Type | Description | 
| DiskEntry.PlatformSpecificCase | |
getVmware()
public VmwareDiskConfig getVmware()VMware disk details.
 .google.cloud.migrationcenter.v1.VmwareDiskConfig vmware = 20;
| Returns | |
|---|---|
| Type | Description | 
| VmwareDiskConfig | The vmware. | 
getVmwareBuilder()
public VmwareDiskConfig.Builder getVmwareBuilder()VMware disk details.
 .google.cloud.migrationcenter.v1.VmwareDiskConfig vmware = 20;
| Returns | |
|---|---|
| Type | Description | 
| VmwareDiskConfig.Builder | |
getVmwareOrBuilder()
public VmwareDiskConfigOrBuilder getVmwareOrBuilder()VMware disk details.
 .google.cloud.migrationcenter.v1.VmwareDiskConfig vmware = 20;
| Returns | |
|---|---|
| Type | Description | 
| VmwareDiskConfigOrBuilder | |
hasPartitions()
public boolean hasPartitions()Partition layout.
 .google.cloud.migrationcenter.v1.DiskPartitionList partitions = 6;
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the partitions field is set. | 
hasVmware()
public boolean hasVmware()VMware disk details.
 .google.cloud.migrationcenter.v1.VmwareDiskConfig vmware = 20;
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the vmware field is set. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeFrom(DiskEntry other)
public DiskEntry.Builder mergeFrom(DiskEntry other)| Parameter | |
|---|---|
| Name | Description | 
| other | DiskEntry | 
| Returns | |
|---|---|
| Type | Description | 
| DiskEntry.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DiskEntry.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| DiskEntry.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public DiskEntry.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| DiskEntry.Builder | |
mergePartitions(DiskPartitionList value)
public DiskEntry.Builder mergePartitions(DiskPartitionList value)Partition layout.
 .google.cloud.migrationcenter.v1.DiskPartitionList partitions = 6;
| Parameter | |
|---|---|
| Name | Description | 
| value | DiskPartitionList | 
| Returns | |
|---|---|
| Type | Description | 
| DiskEntry.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DiskEntry.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| DiskEntry.Builder | |
mergeVmware(VmwareDiskConfig value)
public DiskEntry.Builder mergeVmware(VmwareDiskConfig value)VMware disk details.
 .google.cloud.migrationcenter.v1.VmwareDiskConfig vmware = 20;
| Parameter | |
|---|---|
| Name | Description | 
| value | VmwareDiskConfig | 
| Returns | |
|---|---|
| Type | Description | 
| DiskEntry.Builder | |
setCapacityBytes(long value)
public DiskEntry.Builder setCapacityBytes(long value)Disk capacity.
 int64 capacity_bytes = 1;
| Parameter | |
|---|---|
| Name | Description | 
| value | longThe capacityBytes to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DiskEntry.Builder | This builder for chaining. | 
setDiskLabel(String value)
public DiskEntry.Builder setDiskLabel(String value)Disk label.
 string disk_label = 3;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe diskLabel to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DiskEntry.Builder | This builder for chaining. | 
setDiskLabelBytes(ByteString value)
public DiskEntry.Builder setDiskLabelBytes(ByteString value)Disk label.
 string disk_label = 3;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for diskLabel to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DiskEntry.Builder | This builder for chaining. | 
setDiskLabelType(String value)
public DiskEntry.Builder setDiskLabelType(String value)Disk label type (e.g. BIOS/GPT)
 string disk_label_type = 4;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe diskLabelType to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DiskEntry.Builder | This builder for chaining. | 
setDiskLabelTypeBytes(ByteString value)
public DiskEntry.Builder setDiskLabelTypeBytes(ByteString value)Disk label type (e.g. BIOS/GPT)
 string disk_label_type = 4;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for diskLabelType to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DiskEntry.Builder | This builder for chaining. | 
setField(Descriptors.FieldDescriptor field, Object value)
public DiskEntry.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| DiskEntry.Builder | |
setFreeBytes(long value)
public DiskEntry.Builder setFreeBytes(long value)Disk free space.
 int64 free_bytes = 2;
| Parameter | |
|---|---|
| Name | Description | 
| value | longThe freeBytes to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DiskEntry.Builder | This builder for chaining. | 
setHwAddress(String value)
public DiskEntry.Builder setHwAddress(String value)Disk hardware address (e.g. 0:1 for SCSI).
 string hw_address = 7;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe hwAddress to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DiskEntry.Builder | This builder for chaining. | 
setHwAddressBytes(ByteString value)
public DiskEntry.Builder setHwAddressBytes(ByteString value)Disk hardware address (e.g. 0:1 for SCSI).
 string hw_address = 7;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for hwAddress to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DiskEntry.Builder | This builder for chaining. | 
setInterfaceType(DiskEntry.InterfaceType value)
public DiskEntry.Builder setInterfaceType(DiskEntry.InterfaceType value)Disks interface type.
 .google.cloud.migrationcenter.v1.DiskEntry.InterfaceType interface_type = 5;
| Parameter | |
|---|---|
| Name | Description | 
| value | DiskEntry.InterfaceTypeThe interfaceType to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DiskEntry.Builder | This builder for chaining. | 
setInterfaceTypeValue(int value)
public DiskEntry.Builder setInterfaceTypeValue(int value)Disks interface type.
 .google.cloud.migrationcenter.v1.DiskEntry.InterfaceType interface_type = 5;
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe enum numeric value on the wire for interfaceType to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DiskEntry.Builder | This builder for chaining. | 
setPartitions(DiskPartitionList value)
public DiskEntry.Builder setPartitions(DiskPartitionList value)Partition layout.
 .google.cloud.migrationcenter.v1.DiskPartitionList partitions = 6;
| Parameter | |
|---|---|
| Name | Description | 
| value | DiskPartitionList | 
| Returns | |
|---|---|
| Type | Description | 
| DiskEntry.Builder | |
setPartitions(DiskPartitionList.Builder builderForValue)
public DiskEntry.Builder setPartitions(DiskPartitionList.Builder builderForValue)Partition layout.
 .google.cloud.migrationcenter.v1.DiskPartitionList partitions = 6;
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | DiskPartitionList.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| DiskEntry.Builder | |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DiskEntry.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| DiskEntry.Builder | |
setUnknownFields(UnknownFieldSet unknownFields)
public final DiskEntry.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| DiskEntry.Builder | |
setVmware(VmwareDiskConfig value)
public DiskEntry.Builder setVmware(VmwareDiskConfig value)VMware disk details.
 .google.cloud.migrationcenter.v1.VmwareDiskConfig vmware = 20;
| Parameter | |
|---|---|
| Name | Description | 
| value | VmwareDiskConfig | 
| Returns | |
|---|---|
| Type | Description | 
| DiskEntry.Builder | |
setVmware(VmwareDiskConfig.Builder builderForValue)
public DiskEntry.Builder setVmware(VmwareDiskConfig.Builder builderForValue)VMware disk details.
 .google.cloud.migrationcenter.v1.VmwareDiskConfig vmware = 20;
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | VmwareDiskConfig.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| DiskEntry.Builder | |