public static final class MachineDiskDetails.Builder extends GeneratedMessageV3.Builder<MachineDiskDetails.Builder> implements MachineDiskDetailsOrBuilder
Details of machine disks.
Protobuf type google.cloud.migrationcenter.v1.MachineDiskDetails
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MachineDiskDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public MachineDiskDetails build()
buildPartial()
public MachineDiskDetails buildPartial()
clear()
public MachineDiskDetails.Builder clear()
Overrides
clearDisks()
public MachineDiskDetails.Builder clearDisks()
List of disks.
.google.cloud.migrationcenter.v1.DiskEntryList disks = 3;
clearField(Descriptors.FieldDescriptor field)
public MachineDiskDetails.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public MachineDiskDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTotalCapacityBytes()
public MachineDiskDetails.Builder clearTotalCapacityBytes()
Disk total Capacity.
int64 total_capacity_bytes = 1;
clearTotalFreeBytes()
public MachineDiskDetails.Builder clearTotalFreeBytes()
Total disk free space.
int64 total_free_bytes = 2;
clone()
public MachineDiskDetails.Builder clone()
Overrides
getDefaultInstanceForType()
public MachineDiskDetails getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDisks()
public DiskEntryList getDisks()
List of disks.
.google.cloud.migrationcenter.v1.DiskEntryList disks = 3;
getDisksBuilder()
public DiskEntryList.Builder getDisksBuilder()
List of disks.
.google.cloud.migrationcenter.v1.DiskEntryList disks = 3;
getDisksOrBuilder()
public DiskEntryListOrBuilder getDisksOrBuilder()
List of disks.
.google.cloud.migrationcenter.v1.DiskEntryList disks = 3;
getTotalCapacityBytes()
public long getTotalCapacityBytes()
Disk total Capacity.
int64 total_capacity_bytes = 1;
Returns |
Type |
Description |
long |
The totalCapacityBytes.
|
getTotalFreeBytes()
public long getTotalFreeBytes()
Total disk free space.
int64 total_free_bytes = 2;
Returns |
Type |
Description |
long |
The totalFreeBytes.
|
hasDisks()
public boolean hasDisks()
List of disks.
.google.cloud.migrationcenter.v1.DiskEntryList disks = 3;
Returns |
Type |
Description |
boolean |
Whether the disks field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeDisks(DiskEntryList value)
public MachineDiskDetails.Builder mergeDisks(DiskEntryList value)
List of disks.
.google.cloud.migrationcenter.v1.DiskEntryList disks = 3;
mergeFrom(MachineDiskDetails other)
public MachineDiskDetails.Builder mergeFrom(MachineDiskDetails other)
public MachineDiskDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public MachineDiskDetails.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MachineDiskDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDisks(DiskEntryList value)
public MachineDiskDetails.Builder setDisks(DiskEntryList value)
List of disks.
.google.cloud.migrationcenter.v1.DiskEntryList disks = 3;
setDisks(DiskEntryList.Builder builderForValue)
public MachineDiskDetails.Builder setDisks(DiskEntryList.Builder builderForValue)
List of disks.
.google.cloud.migrationcenter.v1.DiskEntryList disks = 3;
setField(Descriptors.FieldDescriptor field, Object value)
public MachineDiskDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MachineDiskDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTotalCapacityBytes(long value)
public MachineDiskDetails.Builder setTotalCapacityBytes(long value)
Disk total Capacity.
int64 total_capacity_bytes = 1;
Parameter |
Name |
Description |
value |
long
The totalCapacityBytes to set.
|
setTotalFreeBytes(long value)
public MachineDiskDetails.Builder setTotalFreeBytes(long value)
Total disk free space.
int64 total_free_bytes = 2;
Parameter |
Name |
Description |
value |
long
The totalFreeBytes to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final MachineDiskDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides