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