Interface Instance.NodeOrBuilder (2.4.0)

public static interface Instance.NodeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getHost()

public abstract 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
TypeDescription
String

The host.

getHostBytes()

public abstract 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
TypeDescription
ByteString

The bytes for host.

getNodeId()

public abstract 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
TypeDescription
String

The nodeId.

getNodeIdBytes()

public abstract 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
TypeDescription
ByteString

The bytes for nodeId.

getParameters()

public abstract MemcacheParameters getParameters()

User defined parameters currently applied to the node.

.google.cloud.memcache.v1.MemcacheParameters parameters = 6;

Returns
TypeDescription
MemcacheParameters

The parameters.

getParametersOrBuilder()

public abstract MemcacheParametersOrBuilder getParametersOrBuilder()

User defined parameters currently applied to the node.

.google.cloud.memcache.v1.MemcacheParameters parameters = 6;

Returns
TypeDescription
MemcacheParametersOrBuilder

getPort()

public abstract int getPort()

Output only. The port number of the Memcached server on this node.

int32 port = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The port.

getState()

public abstract 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
TypeDescription
Instance.Node.State

The state.

getStateValue()

public abstract 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
TypeDescription
int

The enum numeric value on the wire for state.

getZone()

public abstract String getZone()

Output only. Location (GCP Zone) for the Memcached node.

string zone = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The zone.

getZoneBytes()

public abstract ByteString getZoneBytes()

Output only. Location (GCP Zone) for the Memcached node.

string zone = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for zone.

hasParameters()

public abstract boolean hasParameters()

User defined parameters currently applied to the node.

.google.cloud.memcache.v1.MemcacheParameters parameters = 6;

Returns
TypeDescription
boolean

Whether the parameters field is set.