- 2.78.0 (latest)
 - 2.76.0
 - 2.75.0
 - 2.74.0
 - 2.73.0
 - 2.72.0
 - 2.70.0
 - 2.68.0
 - 2.67.0
 - 2.64.0
 - 2.63.0
 - 2.62.0
 - 2.60.0
 - 2.59.0
 - 2.58.0
 - 2.57.0
 - 2.56.0
 - 2.55.0
 - 2.54.0
 - 2.53.0
 - 2.52.0
 - 2.51.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.41.0
 - 2.40.0
 - 2.39.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.29.0
 - 2.28.0
 - 2.27.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.13.0
 - 2.12.0
 - 2.11.0
 - 2.9.0
 - 2.8.0
 - 2.7.0
 - 2.6.0
 - 2.5.0
 - 2.4.0
 - 2.3.6
 - 2.2.1
 - 2.1.11
 
public static final class Instance.Node.Builder extends GeneratedMessageV3.Builder<Instance.Node.Builder> implements Instance.NodeOrBuilderProtobuf type google.cloud.memcache.v1.Instance.Node
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Instance.Node.BuilderImplements
Instance.NodeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Instance.Node.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Node.Builder | 
        |
build()
public Instance.Node build()| Returns | |
|---|---|
| Type | Description | 
Instance.Node | 
        |
buildPartial()
public Instance.Node buildPartial()| Returns | |
|---|---|
| Type | Description | 
Instance.Node | 
        |
clear()
public Instance.Node.Builder clear()| Returns | |
|---|---|
| Type | Description | 
Instance.Node.Builder | 
        |
clearField(Descriptors.FieldDescriptor field)
public Instance.Node.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Node.Builder | 
        |
clearHost()
public Instance.Node.Builder clearHost()Output only. Hostname or IP address of the Memcached node used by the clients to connect to the Memcached server on this node.
 string host = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
Instance.Node.Builder | 
        This builder for chaining.  | 
      
clearNodeId()
public Instance.Node.Builder clearNodeId()Output only. Identifier of the Memcached node. The node id does not include project or location like the Memcached instance name.
 string node_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
Instance.Node.Builder | 
        This builder for chaining.  | 
      
clearOneof(Descriptors.OneofDescriptor oneof)
public Instance.Node.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Node.Builder | 
        |
clearParameters()
public Instance.Node.Builder clearParameters()User defined parameters currently applied to the node.
 .google.cloud.memcache.v1.MemcacheParameters parameters = 6;
| Returns | |
|---|---|
| Type | Description | 
Instance.Node.Builder | 
        |
clearPort()
public Instance.Node.Builder clearPort()Output only. The port number of the Memcached server on this node.
 int32 port = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
Instance.Node.Builder | 
        This builder for chaining.  | 
      
clearState()
public Instance.Node.Builder clearState()Output only. Current state of the Memcached node.
 
 .google.cloud.memcache.v1.Instance.Node.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Instance.Node.Builder | 
        This builder for chaining.  | 
      
clearZone()
public Instance.Node.Builder clearZone()Output only. Location (GCP Zone) for the Memcached node.
 string zone = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
Instance.Node.Builder | 
        This builder for chaining.  | 
      
clone()
public Instance.Node.Builder clone()| Returns | |
|---|---|
| Type | Description | 
Instance.Node.Builder | 
        |
getDefaultInstanceForType()
public Instance.Node getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
Instance.Node | 
        |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
getHost()
public String getHost()Output only. Hostname or IP address of the Memcached node used by the clients to connect to the Memcached server on this node.
 string host = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The host.  | 
      
getHostBytes()
public ByteString getHostBytes()Output only. Hostname or IP address of the Memcached node used by the clients to connect to the Memcached server on this node.
 string host = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for host.  | 
      
getNodeId()
public String getNodeId()Output only. Identifier of the Memcached node. The node id does not include project or location like the Memcached instance name.
 string node_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The nodeId.  | 
      
getNodeIdBytes()
public ByteString getNodeIdBytes()Output only. Identifier of the Memcached node. The node id does not include project or location like the Memcached instance name.
 string node_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for nodeId.  | 
      
getParameters()
public MemcacheParameters getParameters()User defined parameters currently applied to the node.
 .google.cloud.memcache.v1.MemcacheParameters parameters = 6;
| Returns | |
|---|---|
| Type | Description | 
MemcacheParameters | 
        The parameters.  | 
      
getParametersBuilder()
public MemcacheParameters.Builder getParametersBuilder()User defined parameters currently applied to the node.
 .google.cloud.memcache.v1.MemcacheParameters parameters = 6;
| Returns | |
|---|---|
| Type | Description | 
MemcacheParameters.Builder | 
        |
getParametersOrBuilder()
public MemcacheParametersOrBuilder getParametersOrBuilder()User defined parameters currently applied to the node.
 .google.cloud.memcache.v1.MemcacheParameters parameters = 6;
| Returns | |
|---|---|
| Type | Description | 
MemcacheParametersOrBuilder | 
        |
getPort()
public int getPort()Output only. The port number of the Memcached server on this node.
 int32 port = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
int | 
        The port.  | 
      
getState()
public Instance.Node.State getState()Output only. Current state of the Memcached node.
 
 .google.cloud.memcache.v1.Instance.Node.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Instance.Node.State | 
        The state.  | 
      
getStateValue()
public int getStateValue()Output only. Current state of the Memcached node.
 
 .google.cloud.memcache.v1.Instance.Node.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
int | 
        The enum numeric value on the wire for state.  | 
      
getZone()
public String getZone()Output only. Location (GCP Zone) for the Memcached node.
 string zone = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The zone.  | 
      
getZoneBytes()
public ByteString getZoneBytes()Output only. Location (GCP Zone) for the Memcached node.
 string zone = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for zone.  | 
      
hasParameters()
public boolean hasParameters()User defined parameters currently applied to the node.
 .google.cloud.memcache.v1.MemcacheParameters parameters = 6;
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the parameters field is set.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
FieldAccessorTable | 
        |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
mergeFrom(Instance.Node other)
public Instance.Node.Builder mergeFrom(Instance.Node other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Instance.Node | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Node.Builder | 
        |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Instance.Node.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Node.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public Instance.Node.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Node.Builder | 
        |
mergeParameters(MemcacheParameters value)
public Instance.Node.Builder mergeParameters(MemcacheParameters value)User defined parameters currently applied to the node.
 .google.cloud.memcache.v1.MemcacheParameters parameters = 6;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        MemcacheParameters | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Node.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Instance.Node.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Node.Builder | 
        |
setField(Descriptors.FieldDescriptor field, Object value)
public Instance.Node.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Node.Builder | 
        |
setHost(String value)
public Instance.Node.Builder setHost(String value)Output only. Hostname or IP address of the Memcached node used by the clients to connect to the Memcached server on this node.
 string host = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe host to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Node.Builder | 
        This builder for chaining.  | 
      
setHostBytes(ByteString value)
public Instance.Node.Builder setHostBytes(ByteString value)Output only. Hostname or IP address of the Memcached node used by the clients to connect to the Memcached server on this node.
 string host = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for host to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Node.Builder | 
        This builder for chaining.  | 
      
setNodeId(String value)
public Instance.Node.Builder setNodeId(String value)Output only. Identifier of the Memcached node. The node id does not include project or location like the Memcached instance name.
 string node_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe nodeId to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Node.Builder | 
        This builder for chaining.  | 
      
setNodeIdBytes(ByteString value)
public Instance.Node.Builder setNodeIdBytes(ByteString value)Output only. Identifier of the Memcached node. The node id does not include project or location like the Memcached instance name.
 string node_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for nodeId to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Node.Builder | 
        This builder for chaining.  | 
      
setParameters(MemcacheParameters value)
public Instance.Node.Builder setParameters(MemcacheParameters value)User defined parameters currently applied to the node.
 .google.cloud.memcache.v1.MemcacheParameters parameters = 6;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        MemcacheParameters | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Node.Builder | 
        |
setParameters(MemcacheParameters.Builder builderForValue)
public Instance.Node.Builder setParameters(MemcacheParameters.Builder builderForValue)User defined parameters currently applied to the node.
 .google.cloud.memcache.v1.MemcacheParameters parameters = 6;
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        MemcacheParameters.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Node.Builder | 
        |
setPort(int value)
public Instance.Node.Builder setPort(int value)Output only. The port number of the Memcached server on this node.
 int32 port = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe port to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Node.Builder | 
        This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Instance.Node.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Node.Builder | 
        |
setState(Instance.Node.State value)
public Instance.Node.Builder setState(Instance.Node.State value)Output only. Current state of the Memcached node.
 
 .google.cloud.memcache.v1.Instance.Node.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Instance.Node.StateThe state to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Node.Builder | 
        This builder for chaining.  | 
      
setStateValue(int value)
public Instance.Node.Builder setStateValue(int value)Output only. Current state of the Memcached node.
 
 .google.cloud.memcache.v1.Instance.Node.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe enum numeric value on the wire for state to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Node.Builder | 
        This builder for chaining.  | 
      
setUnknownFields(UnknownFieldSet unknownFields)
public final Instance.Node.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Node.Builder | 
        |
setZone(String value)
public Instance.Node.Builder setZone(String value)Output only. Location (GCP Zone) for the Memcached node.
 string zone = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe zone to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Node.Builder | 
        This builder for chaining.  | 
      
setZoneBytes(ByteString value)
public Instance.Node.Builder setZoneBytes(ByteString value)Output only. Location (GCP Zone) for the Memcached node.
 string zone = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for zone to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.Node.Builder | 
        This builder for chaining.  |