Class Instance.Node (2.21.0)

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

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

Static Fields

HOST_FIELD_NUMBER

public static final int HOST_FIELD_NUMBER
Field Value
TypeDescription
int

NODE_ID_FIELD_NUMBER

public static final int NODE_ID_FIELD_NUMBER
Field Value
TypeDescription
int

PARAMETERS_FIELD_NUMBER

public static final int PARAMETERS_FIELD_NUMBER
Field Value
TypeDescription
int

PORT_FIELD_NUMBER

public static final int PORT_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_AVAILABLE_FIELD_NUMBER

public static final int UPDATE_AVAILABLE_FIELD_NUMBER
Field Value
TypeDescription
int

ZONE_FIELD_NUMBER

public static final int ZONE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Instance.Node getDefaultInstance()
Returns
TypeDescription
Instance.Node

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Instance.Node.Builder newBuilder()
Returns
TypeDescription
Instance.Node.Builder

newBuilder(Instance.Node prototype)

public static Instance.Node.Builder newBuilder(Instance.Node prototype)
Parameter
NameDescription
prototypeInstance.Node
Returns
TypeDescription
Instance.Node.Builder

parseDelimitedFrom(InputStream input)

public static Instance.Node parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Instance.Node
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Instance.Node parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Instance.Node
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Instance.Node parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Instance.Node
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Instance.Node parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Instance.Node
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Instance.Node parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Instance.Node
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Instance.Node parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Instance.Node
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Instance.Node parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Instance.Node
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Instance.Node parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Instance.Node
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Instance.Node parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Instance.Node
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Instance.Node parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Instance.Node
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Instance.Node parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Instance.Node
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Instance.Node parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Instance.Node
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Instance.Node getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nodeId.

getParameters()

public MemcacheParameters getParameters()

User defined parameters currently applied to the node.

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

Returns
TypeDescription
MemcacheParameters

The parameters.

getParametersOrBuilder()

public MemcacheParametersOrBuilder getParametersOrBuilder()

User defined parameters currently applied to the node.

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

Returns
TypeDescription
MemcacheParametersOrBuilder

getParserForType()

public Parser<Instance.Node> getParserForType()
Returns
TypeDescription
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
TypeDescription
int

The port.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getState()

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

The state.

getStateValue()

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

The enum numeric value on the wire for state.

getUpdateAvailable()

public 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
TypeDescription
boolean

The updateAvailable.

getZone()

public 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 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 boolean hasParameters()

User defined parameters currently applied to the node.

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

Returns
TypeDescription
boolean

Whether the parameters field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Instance.Node.Builder newBuilderForType()
Returns
TypeDescription
Instance.Node.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Instance.Node.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Instance.Node.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Instance.Node.Builder toBuilder()
Returns
TypeDescription
Instance.Node.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException