Class RangeInfo (2.32.0)

public final class RangeInfo extends GeneratedMessageV3 implements RangeInfoOrBuilder

RangeInfo contains the range name and the range utilization by this cluster.

Protobuf type google.container.v1beta1.RangeInfo

Implements

RangeInfoOrBuilder

Static Fields

RANGE_NAME_FIELD_NUMBER

public static final int RANGE_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

UTILIZATION_FIELD_NUMBER

public static final int UTILIZATION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RangeInfo getDefaultInstance()
Returns
TypeDescription
RangeInfo

getDescriptor()

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

newBuilder()

public static RangeInfo.Builder newBuilder()
Returns
TypeDescription
RangeInfo.Builder

newBuilder(RangeInfo prototype)

public static RangeInfo.Builder newBuilder(RangeInfo prototype)
Parameter
NameDescription
prototypeRangeInfo
Returns
TypeDescription
RangeInfo.Builder

parseDelimitedFrom(InputStream input)

public static RangeInfo parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RangeInfo
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static RangeInfo parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RangeInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static RangeInfo parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RangeInfo
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static RangeInfo parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RangeInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static RangeInfo parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RangeInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<RangeInfo> parser()
Returns
TypeDescription
Parser<RangeInfo>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public RangeInfo getDefaultInstanceForType()
Returns
TypeDescription
RangeInfo

getParserForType()

public Parser<RangeInfo> getParserForType()
Returns
TypeDescription
Parser<RangeInfo>
Overrides

getRangeName()

public String getRangeName()

Output only. [Output only] Name of a range.

string range_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The rangeName.

getRangeNameBytes()

public ByteString getRangeNameBytes()

Output only. [Output only] Name of a range.

string range_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for rangeName.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUtilization()

public double getUtilization()

Output only. [Output only] The utilization of the range.

double utilization = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
double

The utilization.

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 RangeInfo.Builder newBuilderForType()
Returns
TypeDescription
RangeInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public RangeInfo.Builder toBuilder()
Returns
TypeDescription
RangeInfo.Builder

writeTo(CodedOutputStream output)

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