public static final class VolumeConfig.LunRange.Builder extends GeneratedMessageV3.Builder<VolumeConfig.LunRange.Builder> implements VolumeConfig.LunRangeOrBuilder
A LUN(Logical Unit Number) range.
Protobuf type google.cloud.baremetalsolution.v2.VolumeConfig.LunRange
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public VolumeConfig.LunRange.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public VolumeConfig.LunRange build()
public VolumeConfig.LunRange buildPartial()
public VolumeConfig.LunRange.Builder clear()
Overrides
public VolumeConfig.LunRange.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public VolumeConfig.LunRange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public VolumeConfig.LunRange.Builder clearQuantity()
Number of LUNs to create.
int32 quantity = 1;
public VolumeConfig.LunRange.Builder clearSizeGb()
The requested size of each LUN, in GB.
int32 size_gb = 2;
public VolumeConfig.LunRange.Builder clone()
Overrides
public VolumeConfig.LunRange getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
Number of LUNs to create.
int32 quantity = 1;
Returns |
Type |
Description |
int |
The quantity.
|
The requested size of each LUN, in GB.
int32 size_gb = 2;
Returns |
Type |
Description |
int |
The sizeGb.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public VolumeConfig.LunRange.Builder mergeFrom(VolumeConfig.LunRange other)
public VolumeConfig.LunRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public VolumeConfig.LunRange.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final VolumeConfig.LunRange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public VolumeConfig.LunRange.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public VolumeConfig.LunRange.Builder setQuantity(int value)
Number of LUNs to create.
int32 quantity = 1;
Parameter |
Name |
Description |
value |
int
The quantity to set.
|
public VolumeConfig.LunRange.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public VolumeConfig.LunRange.Builder setSizeGb(int value)
The requested size of each LUN, in GB.
int32 size_gb = 2;
Parameter |
Name |
Description |
value |
int
The sizeGb to set.
|
public final VolumeConfig.LunRange.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides