Class VolumeConfig.LunRange (0.40.0)

public static final class VolumeConfig.LunRange extends GeneratedMessageV3 implements VolumeConfig.LunRangeOrBuilder

A LUN(Logical Unit Number) range.

Protobuf type google.cloud.baremetalsolution.v2.VolumeConfig.LunRange

Static Fields

QUANTITY_FIELD_NUMBER

public static final int QUANTITY_FIELD_NUMBER
Field Value
TypeDescription
int

SIZE_GB_FIELD_NUMBER

public static final int SIZE_GB_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VolumeConfig.LunRange getDefaultInstance()
Returns
TypeDescription
VolumeConfig.LunRange

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static VolumeConfig.LunRange.Builder newBuilder()
Returns
TypeDescription
VolumeConfig.LunRange.Builder

newBuilder(VolumeConfig.LunRange prototype)

public static VolumeConfig.LunRange.Builder newBuilder(VolumeConfig.LunRange prototype)
Parameter
NameDescription
prototypeVolumeConfig.LunRange
Returns
TypeDescription
VolumeConfig.LunRange.Builder

parseDelimitedFrom(InputStream input)

public static VolumeConfig.LunRange parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VolumeConfig.LunRange
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VolumeConfig.LunRange parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VolumeConfig.LunRange
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static VolumeConfig.LunRange parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
VolumeConfig.LunRange
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VolumeConfig.LunRange parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VolumeConfig.LunRange
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VolumeConfig.LunRange parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
VolumeConfig.LunRange
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VolumeConfig.LunRange parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VolumeConfig.LunRange
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VolumeConfig.LunRange parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
VolumeConfig.LunRange
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VolumeConfig.LunRange parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VolumeConfig.LunRange
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static VolumeConfig.LunRange parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VolumeConfig.LunRange
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VolumeConfig.LunRange parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VolumeConfig.LunRange
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static VolumeConfig.LunRange parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
VolumeConfig.LunRange
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VolumeConfig.LunRange parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VolumeConfig.LunRange
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<VolumeConfig.LunRange> parser()
Returns
TypeDescription
Parser<LunRange>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public VolumeConfig.LunRange getDefaultInstanceForType()
Returns
TypeDescription
VolumeConfig.LunRange

getParserForType()

public Parser<VolumeConfig.LunRange> getParserForType()
Returns
TypeDescription
Parser<LunRange>
Overrides

getQuantity()

public int getQuantity()

Number of LUNs to create.

int32 quantity = 1;

Returns
TypeDescription
int

The quantity.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSizeGb()

public int getSizeGb()

The requested size of each LUN, in GB.

int32 size_gb = 2;

Returns
TypeDescription
int

The sizeGb.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public VolumeConfig.LunRange.Builder newBuilderForType()
Returns
TypeDescription
VolumeConfig.LunRange.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VolumeConfig.LunRange.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
VolumeConfig.LunRange.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public VolumeConfig.LunRange.Builder toBuilder()
Returns
TypeDescription
VolumeConfig.LunRange.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException