Class Instance.Node (2.8.0)

publicstaticfinalclass Instance.NodeextendsGeneratedMessageV3implementsInstance.NodeOrBuilder

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

Inherited Members

Static Fields

HOST_FIELD_NUMBER

publicstaticfinalintHOST_FIELD_NUMBER
Field Value
Type Description
int

NODE_ID_FIELD_NUMBER

publicstaticfinalintNODE_ID_FIELD_NUMBER
Field Value
Type Description
int

PARAMETERS_FIELD_NUMBER

publicstaticfinalintPARAMETERS_FIELD_NUMBER
Field Value
Type Description
int

PORT_FIELD_NUMBER

publicstaticfinalintPORT_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

publicstaticfinalintSTATE_FIELD_NUMBER
Field Value
Type Description
int

ZONE_FIELD_NUMBER

publicstaticfinalintZONE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticInstance.NodegetDefaultInstance()
Returns
Type Description

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description

newBuilder()

publicstaticInstance.Node.BuildernewBuilder()
Returns
Type Description

newBuilder(Instance.Node prototype)

publicstaticInstance.Node.BuildernewBuilder(Instance.Nodeprototype)
Parameter
Name Description
prototype Instance.Node
Returns
Type Description

parseDelimitedFrom(InputStream input)

publicstaticInstance.NodeparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
Exceptions
Type Description

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticInstance.NodeparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Exceptions
Type Description

parseFrom(byte[] data)

publicstaticInstance.NodeparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
Exceptions
Type Description

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticInstance.NodeparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Exceptions
Type Description

parseFrom(ByteString data)

publicstaticInstance.NodeparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
Exceptions
Type Description

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticInstance.NodeparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Exceptions
Type Description

parseFrom(CodedInputStream input)

publicstaticInstance.NodeparseFrom(CodedInputStreaminput)
Parameter
Name Description
Returns
Type Description
Exceptions
Type Description

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticInstance.NodeparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Exceptions
Type Description

parseFrom(InputStream input)

publicstaticInstance.NodeparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
Exceptions
Type Description

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticInstance.NodeparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Exceptions
Type Description

parseFrom(ByteBuffer data)

publicstaticInstance.NodeparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Exceptions
Type Description

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticInstance.NodeparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Exceptions
Type Description

parser()

publicstaticParser<Instance.Node>parser()
Returns
Type Description

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
Overrides

getDefaultInstanceForType()

publicInstance.NodegetDefaultInstanceForType()
Returns
Type Description

getHost()

publicStringgetHost()

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()

publicByteStringgetHostBytes()

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()

publicStringgetNodeId()

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()

publicByteStringgetNodeIdBytes()

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()

publicMemcacheParametersgetParameters()

User defined parameters currently applied to the node.

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

Returns
Type Description
MemcacheParameters

The parameters.

getParametersOrBuilder()

publicMemcacheParametersOrBuildergetParametersOrBuilder()

User defined parameters currently applied to the node.

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

Returns
Type Description

getParserForType()

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

getPort()

publicintgetPort()

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()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getState()

publicInstance.Node.StategetState()

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()

publicintgetStateValue()

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.

getUnknownFields()

publicfinalUnknownFieldSetgetUnknownFields()
Returns
Type Description
Overrides

getZone()

publicStringgetZone()

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()

publicByteStringgetZoneBytes()

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()

publicbooleanhasParameters()

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()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
Overrides

newBuilderForType()

publicInstance.Node.BuildernewBuilderForType()
Returns
Type Description

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedInstance.Node.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
Returns
Type Description
Overrides

toBuilder()

publicInstance.Node.BuildertoBuilder()
Returns
Type Description

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
Overrides Exceptions
Type Description

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.