public static final class NodeInfo.Builder extends GeneratedMessage.Builder<NodeInfo.Builder> implements NodeInfoOrBuilderNode specific properties.
Protobuf type google.cloud.redis.v1.NodeInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > NodeInfo.BuilderImplements
NodeInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public NodeInfo build()| Returns | |
|---|---|
| Type | Description |
NodeInfo |
|
buildPartial()
public NodeInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
NodeInfo |
|
clear()
public NodeInfo.Builder clear()| Returns | |
|---|---|
| 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];
| Returns | |
|---|---|
| Type | Description |
NodeInfo.Builder |
This builder for chaining. |
clearZone()
public NodeInfo.Builder clearZone()Output only. Location of the node.
string zone = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
NodeInfo.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public NodeInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
NodeInfo |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| 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];
| 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()
public String 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(NodeInfo other)
public NodeInfo.Builder mergeFrom(NodeInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
NodeInfo |
| Returns | |
|---|---|
| Type | Description |
NodeInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NodeInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
NodeInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public NodeInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| 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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe id to set. |
| Returns | |
|---|---|
| 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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for id to set. |
| Returns | |
|---|---|
| Type | Description |
NodeInfo.Builder |
This builder for chaining. |
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 |
StringThe zone to set. |
| Returns | |
|---|---|
| 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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for zone to set. |
| Returns | |
|---|---|
| Type | Description |
NodeInfo.Builder |
This builder for chaining. |