- 2.56.0 (latest)
- 2.55.0
- 2.54.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.5
- 2.5.0
- 2.4.1
- 2.3.0
- 2.2.0
- 2.1.1
public static final class NodeInfo.Builder extends GeneratedMessageV3.Builder<NodeInfo.Builder> implements NodeInfoOrBuilder
Node specific properties.
Protobuf type google.cloud.redis.v1.NodeInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NodeInfo.BuilderImplements
NodeInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NodeInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
NodeInfo.Builder |
build()
public NodeInfo build()
Type | Description |
NodeInfo |
buildPartial()
public NodeInfo buildPartial()
Type | Description |
NodeInfo |
clear()
public NodeInfo.Builder clear()
Type | Description |
NodeInfo.Builder |
clearField(Descriptors.FieldDescriptor field)
public NodeInfo.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
NodeInfo.Builder |
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];
Type | Description |
NodeInfo.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public NodeInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
NodeInfo.Builder |
clearZone()
public NodeInfo.Builder clearZone()
Output only. Location of the node.
string zone = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
NodeInfo.Builder | This builder for chaining. |
clone()
public NodeInfo.Builder clone()
Type | Description |
NodeInfo.Builder |
getDefaultInstanceForType()
public NodeInfo getDefaultInstanceForType()
Type | Description |
NodeInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getId()
public String getId()
Output only. Node identifying string. e.g. 'node-0', 'node-1'
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
Type | Description |
ByteString | The bytes for id. |
getZone()
public String getZone()
Output only. Location of the node.
string zone = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The zone. |
getZoneBytes()
public ByteString getZoneBytes()
Output only. Location of the node.
string zone = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for zone. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(NodeInfo other)
public NodeInfo.Builder mergeFrom(NodeInfo other)
Name | Description |
other | NodeInfo |
Type | Description |
NodeInfo.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NodeInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
NodeInfo.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public NodeInfo.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
NodeInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NodeInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
NodeInfo.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public NodeInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
NodeInfo.Builder |
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];
Name | Description |
value | String The id to set. |
Type | Description |
NodeInfo.Builder | This builder for chaining. |
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];
Name | Description |
value | ByteString The bytes for id to set. |
Type | Description |
NodeInfo.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NodeInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
NodeInfo.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final NodeInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
NodeInfo.Builder |
setZone(String value)
public NodeInfo.Builder setZone(String value)
Output only. Location of the node.
string zone = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The zone to set. |
Type | Description |
NodeInfo.Builder | This builder for chaining. |
setZoneBytes(ByteString value)
public NodeInfo.Builder setZoneBytes(ByteString value)
Output only. Location of the node.
string zone = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for zone to set. |
Type | Description |
NodeInfo.Builder | This builder for chaining. |