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 String
getHost()
Output only.com.google.protobuf.ByteString
getHostBytes()
Output only.String
getNodeId()
Output only.com.google.protobuf.ByteString
getNodeIdBytes()
Output only.MemcacheParameters
getParameters()
User defined parameters currently applied to the node.MemcacheParametersOrBuilder
getParametersOrBuilder()
User defined parameters currently applied to the node.int
getPort()
Output only.Instance.Node.State
getState()
Output only.int
getStateValue()
Output only.boolean
getUpdateAvailable()
Output only.String
getZone()
Output only.com.google.protobuf.ByteString
getZoneBytes()
Output only.boolean
hasParameters()
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.v1beta2.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.v1beta2.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.v1beta2.MemcacheParameters parameters = 6;
- Returns:
- Whether the parameters field is set.
-
getParameters
MemcacheParameters getParameters()
User defined parameters currently applied to the node.
.google.cloud.memcache.v1beta2.MemcacheParameters parameters = 6;
- Returns:
- The parameters.
-
getParametersOrBuilder
MemcacheParametersOrBuilder getParametersOrBuilder()
User defined parameters currently applied to the node.
.google.cloud.memcache.v1beta2.MemcacheParameters parameters = 6;
-
getUpdateAvailable
boolean getUpdateAvailable()
Output only. Returns true if there is an update waiting to be applied
bool update_available = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The updateAvailable.
-
-