public static final class NodeInfo.Builder extends GeneratedMessageV3.Builder<NodeInfo.Builder> implements NodeInfoOrBuilder
Node specific properties.
Protobuf type google.cloud.redis.v1beta1.NodeInfo
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NodeInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public NodeInfo buildPartial()
Returns
clear()
public NodeInfo.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public NodeInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearId()
public NodeInfo.Builder clearId()
Output only. Node identifying string. e.g. 'node-0', 'node-1'
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public NodeInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearZone()
public NodeInfo.Builder clearZone()
Output only. Location of the node.
string zone = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
clone()
public NodeInfo.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public NodeInfo getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getId()
Output only. Node identifying string. e.g. 'node-0', 'node-1'
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getIdBytes()
public ByteString getIdBytes()
Output only. Node identifying string. e.g. 'node-0', 'node-1'
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getZone()
Output only. Location of the node.
string zone = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
String | The zone.
|
getZoneBytes()
public ByteString getZoneBytes()
Output only. Location of the node.
string zone = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(NodeInfo other)
public NodeInfo.Builder mergeFrom(NodeInfo other)
Parameter
Returns
public NodeInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public NodeInfo.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NodeInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public NodeInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setId(String value)
public NodeInfo.Builder setId(String value)
Output only. Node identifying string. e.g. 'node-0', 'node-1'
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
value | String
The id to set.
|
Returns
setIdBytes(ByteString value)
public NodeInfo.Builder setIdBytes(ByteString value)
Output only. Node identifying string. e.g. 'node-0', 'node-1'
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
value | ByteString
The bytes for id to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NodeInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final NodeInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setZone(String value)
public NodeInfo.Builder setZone(String value)
Output only. Location of the node.
string zone = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
value | String
The zone to set.
|
Returns
setZoneBytes(ByteString value)
public NodeInfo.Builder setZoneBytes(ByteString value)
Output only. Location of the node.
string zone = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
value | ByteString
The bytes for zone to set.
|
Returns