Builder

class Builder : GeneratedMessage.Builder<BuilderT> , DiskInfoOrBuilder
Describes disk arrangement and configuration for a single machine.
Protobuf type elide.machine.DiskInfo

Functions

Link copied to clipboard
open fun addAllDisk(values: Iterable<out Disk>): DiskInfo.Builder
Specifies disks attached/associated with this configuration.
repeated .elide.machine.Disk disk = 3;
Link copied to clipboard
open fun addDisk(value: Disk): DiskInfo.Builder
open fun addDisk(builderForValue: Disk.Builder): DiskInfo.Builder
open fun addDisk(index: Int, value: Disk): DiskInfo.Builder
open fun addDisk(index: Int, builderForValue: Disk.Builder): DiskInfo.Builder
Specifies disks attached/associated with this configuration.
repeated .elide.machine.Disk disk = 3;
Link copied to clipboard
open fun addDiskBuilder(index: Int): Disk.Builder
Specifies disks attached/associated with this configuration.
repeated .elide.machine.Disk disk = 3;
Link copied to clipboard
open fun addRepeatedField(field: Descriptors.FieldDescriptor, value: Any): BuilderT
abstract fun addRepeatedField(field: Descriptors.FieldDescriptor, value: Any): Message.Builder
Link copied to clipboard
abstract fun build(): MessageLite
open fun build(): DiskInfo
Link copied to clipboard
abstract fun buildPartial(): MessageLite
Link copied to clipboard
open fun clear(): BuilderType
abstract fun clear(): Message.Builder
Link copied to clipboard
Specifies the total capacity across all disks for this configuration.
uint32 capacity = 2;
Link copied to clipboard
Specifies the count of disks attached/associated with this configuration.
uint32 count = 1;
Link copied to clipboard
Specifies disks attached/associated with this configuration.
repeated .elide.machine.Disk disk = 3;
Link copied to clipboard
open fun clearField(field: Descriptors.FieldDescriptor): BuilderT
abstract fun clearField(field: Descriptors.FieldDescriptor): Message.Builder
Link copied to clipboard
open fun clearOneof(oneof: Descriptors.OneofDescriptor): BuilderType
open fun clearOneof(oneof: Descriptors.OneofDescriptor): BuilderT
abstract fun clearOneof(oneof: Descriptors.OneofDescriptor): Message.Builder
Link copied to clipboard
open fun clone(): BuilderType
open fun clone(): BuilderT
abstract fun clone(): Message.Builder
Link copied to clipboard
Link copied to clipboard
open fun getAllFields(): Map<Descriptors.FieldDescriptor, Any>
Link copied to clipboard
open fun getCapacity(): Int
Specifies the total capacity across all disks for this configuration.
uint32 capacity = 2;
Link copied to clipboard
open fun getCount(): Int
Specifies the count of disks attached/associated with this configuration.
uint32 count = 1;
Link copied to clipboard
abstract fun getDefaultInstanceForType(): MessageLite
Link copied to clipboard
fun getDescriptor(): Descriptors.Descriptor
Link copied to clipboard
open fun getDescriptorForType(): Descriptors.Descriptor
Link copied to clipboard
open fun getDisk(index: Int): Disk
Specifies disks attached/associated with this configuration.
repeated .elide.machine.Disk disk = 3;
Link copied to clipboard
open fun getDiskBuilder(index: Int): Disk.Builder
Specifies disks attached/associated with this configuration.
repeated .elide.machine.Disk disk = 3;
Link copied to clipboard
Specifies disks attached/associated with this configuration.
repeated .elide.machine.Disk disk = 3;
Link copied to clipboard
open fun getDiskCount(): Int
Specifies disks attached/associated with this configuration.
repeated .elide.machine.Disk disk = 3;
Link copied to clipboard
open fun getDiskList(): List<Disk>
Specifies disks attached/associated with this configuration.
repeated .elide.machine.Disk disk = 3;
Link copied to clipboard
Specifies disks attached/associated with this configuration.
repeated .elide.machine.Disk disk = 3;
Link copied to clipboard
Specifies disks attached/associated with this configuration.
repeated .elide.machine.Disk disk = 3;
Link copied to clipboard
open fun getField(field: Descriptors.FieldDescriptor): Any
Link copied to clipboard
open fun getFieldBuilder(field: Descriptors.FieldDescriptor): Message.Builder
Link copied to clipboard
open fun getOneofFieldDescriptor(oneof: Descriptors.OneofDescriptor): Descriptors.FieldDescriptor
Link copied to clipboard
open fun getRepeatedField(field: Descriptors.FieldDescriptor, index: Int): Any
Link copied to clipboard
open fun getRepeatedFieldBuilder(field: Descriptors.FieldDescriptor, index: Int): Message.Builder
Link copied to clipboard
open fun getRepeatedFieldCount(field: Descriptors.FieldDescriptor): Int
Link copied to clipboard
fun getUnknownFields(): UnknownFieldSet
Link copied to clipboard
open fun hasField(field: Descriptors.FieldDescriptor): Boolean
Link copied to clipboard
open fun hasOneof(oneof: Descriptors.OneofDescriptor): Boolean
Link copied to clipboard
Link copied to clipboard
open fun mergeDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): Boolean
Link copied to clipboard
abstract fun mergeFrom(other: Message): Message.Builder
open fun mergeFrom(other: Message): DiskInfo.Builder
open fun mergeFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): DiskInfo.Builder
Link copied to clipboard
open fun mergeUnknownFields(unknownFields: UnknownFieldSet): BuilderType
open fun mergeUnknownFields(unknownFields: UnknownFieldSet): BuilderT
abstract fun mergeUnknownFields(unknownFields: UnknownFieldSet): Message.Builder
Link copied to clipboard
open fun newBuilderForField(field: Descriptors.FieldDescriptor): Message.Builder
Link copied to clipboard
open fun removeDisk(index: Int): DiskInfo.Builder
Specifies disks attached/associated with this configuration.
repeated .elide.machine.Disk disk = 3;
Link copied to clipboard
open fun setCapacity(value: Int): DiskInfo.Builder
Specifies the total capacity across all disks for this configuration.
uint32 capacity = 2;
Link copied to clipboard
open fun setCount(value: Int): DiskInfo.Builder
Specifies the count of disks attached/associated with this configuration.
uint32 count = 1;
Link copied to clipboard
open fun setDisk(index: Int, value: Disk): DiskInfo.Builder
open fun setDisk(index: Int, builderForValue: Disk.Builder): DiskInfo.Builder
Specifies disks attached/associated with this configuration.
repeated .elide.machine.Disk disk = 3;
Link copied to clipboard
open fun setField(field: Descriptors.FieldDescriptor, value: Any): BuilderT
abstract fun setField(field: Descriptors.FieldDescriptor, value: Any): Message.Builder
Link copied to clipboard
open fun setRepeatedField(field: Descriptors.FieldDescriptor, index: Int, value: Any): BuilderT
abstract fun setRepeatedField(field: Descriptors.FieldDescriptor, index: Int, value: Any): Message.Builder
Link copied to clipboard
open fun setUnknownFields(unknownFields: UnknownFieldSet): BuilderT
abstract fun setUnknownFields(unknownFields: UnknownFieldSet): Message.Builder
Link copied to clipboard
open fun toString(): String