Package com.google.cloud.memcache.v1
Interface Instance.NodeOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Instance.Node,Instance.Node.Builder
- Enclosing class:
- Instance
public static interface Instance.NodeOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetHost()Output only.com.google.protobuf.ByteStringgetHostBytes()Output only.StringgetNodeId()Output only.com.google.protobuf.ByteStringgetNodeIdBytes()Output only.MemcacheParametersgetParameters()User defined parameters currently applied to the node.MemcacheParametersOrBuildergetParametersOrBuilder()User defined parameters currently applied to the node.intgetPort()Output only.Instance.Node.StategetState()Output only.intgetStateValue()Output only.StringgetZone()Output only.com.google.protobuf.ByteStringgetZoneBytes()Output only.booleanhasParameters()User defined parameters currently applied to the node.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getNodeId
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:
- The nodeId.
-
getNodeIdBytes
com.google.protobuf.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:
- The bytes for nodeId.
-
getZone
String getZone()
Output only. Location (GCP Zone) for the Memcached node.
string zone = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The zone.
-
getZoneBytes
com.google.protobuf.ByteString getZoneBytes()
Output only. Location (GCP Zone) for the Memcached node.
string zone = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for zone.
-
getStateValue
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:
- The enum numeric value on the wire for state.
-
getState
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:
- The state.
-
getHost
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:
- The host.
-
getHostBytes
com.google.protobuf.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:
- The bytes for host.
-
getPort
int getPort()
Output only. The port number of the Memcached server on this node.
int32 port = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The port.
-
hasParameters
boolean hasParameters()
User defined parameters currently applied to the node.
.google.cloud.memcache.v1.MemcacheParameters parameters = 6;- Returns:
- Whether the parameters field is set.
-
getParameters
MemcacheParameters getParameters()
User defined parameters currently applied to the node.
.google.cloud.memcache.v1.MemcacheParameters parameters = 6;- Returns:
- The parameters.
-
getParametersOrBuilder
MemcacheParametersOrBuilder getParametersOrBuilder()
User defined parameters currently applied to the node.
.google.cloud.memcache.v1.MemcacheParameters parameters = 6;
-
-