Class Instance.Node (2.42.0)

public static final class Instance.Node extends GeneratedMessageV3 implements Instance.NodeOrBuilder

Protobuf type google.cloud.memcache.v1.Instance.Node

Static Fields

HOST_FIELD_NUMBER

public static final int HOST_FIELD_NUMBER
Field Value
Type Description
int

NODE_ID_FIELD_NUMBER

public static final int NODE_ID_FIELD_NUMBER
Field Value
Type Description
int

PARAMETERS_FIELD_NUMBER

public static final int PARAMETERS_FIELD_NUMBER
Field Value
Type Description
int

PORT_FIELD_NUMBER

public static final int PORT_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

ZONE_FIELD_NUMBER

public static final int ZONE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Instance.Node getDefaultInstance()
Returns
Type Description
Instance.Node

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Instance.Node.Builder newBuilder()
Returns
Type Description
Instance.Node.Builder

newBuilder(Instance.Node prototype)

public static Instance.Node.Builder newBuilder(Instance.Node prototype)
Parameter
Name Description
prototype Instance.Node
Returns
Type Description
Instance.Node.Builder

parseDelimitedFrom(InputStream input)

public static Instance.Node parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Instance.Node
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Instance.Node parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.Node
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Instance.Node parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Instance.Node
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Instance.Node parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.Node
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Instance.Node parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Instance.Node
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Instance.Node parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.Node
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Instance.Node parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Instance.Node
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Instance.Node parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.Node
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Instance.Node parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Instance.Node
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Instance.Node parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.Node
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Instance.Node parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Instance.Node
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Instance.Node parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.Node
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Instance.Node> parser()
Returns
Type Description
Parser<Node>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Instance.Node getDefaultInstanceForType()
Returns
Type Description
Instance.Node

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.

getParametersOrBuilder()

public MemcacheParametersOrBuilder getParametersOrBuilder()

User defined parameters currently applied to the node.

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

Returns
Type Description
MemcacheParametersOrBuilder

getParserForType()

public Parser<Instance.Node> getParserForType()
Returns
Type Description
Parser<Node>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Instance.Node.Builder newBuilderForType()
Returns
Type Description
Instance.Node.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Instance.Node.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Instance.Node.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Instance.Node.Builder toBuilder()
Returns
Type Description
Instance.Node.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException