public static final class RangeInfo.Builder extends GeneratedMessage.Builder<RangeInfo.Builder> implements RangeInfoOrBuilderRangeInfo contains the range name and the range utilization by this cluster.
Protobuf type google.container.v1beta1.RangeInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RangeInfo.BuilderImplements
RangeInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RangeInfo build()| Returns | |
|---|---|
| Type | Description |
RangeInfo |
|
buildPartial()
public RangeInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
RangeInfo |
|
clear()
public RangeInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
RangeInfo.Builder |
|
clearRangeName()
public RangeInfo.Builder clearRangeName()Output only. Name of a range.
string range_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
RangeInfo.Builder |
This builder for chaining. |
clearUtilization()
public RangeInfo.Builder clearUtilization()Output only. The utilization of the range.
double utilization = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
RangeInfo.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public RangeInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RangeInfo |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getRangeName()
public String getRangeName()Output only. Name of a range.
string range_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The rangeName. |
getRangeNameBytes()
public ByteString getRangeNameBytes()Output only. Name of a range.
string range_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for rangeName. |
getUtilization()
public double getUtilization()Output only. The utilization of the range.
double utilization = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
double |
The utilization. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RangeInfo other)
public RangeInfo.Builder mergeFrom(RangeInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
RangeInfo |
| Returns | |
|---|---|
| Type | Description |
RangeInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RangeInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RangeInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RangeInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RangeInfo.Builder |
|
setRangeName(String value)
public RangeInfo.Builder setRangeName(String value)Output only. Name of a range.
string range_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe rangeName to set. |
| Returns | |
|---|---|
| Type | Description |
RangeInfo.Builder |
This builder for chaining. |
setRangeNameBytes(ByteString value)
public RangeInfo.Builder setRangeNameBytes(ByteString value)Output only. Name of a range.
string range_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for rangeName to set. |
| Returns | |
|---|---|
| Type | Description |
RangeInfo.Builder |
This builder for chaining. |
setUtilization(double value)
public RangeInfo.Builder setUtilization(double value)Output only. The utilization of the range.
double utilization = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
doubleThe utilization to set. |
| Returns | |
|---|---|
| Type | Description |
RangeInfo.Builder |
This builder for chaining. |