Send feedback
Class Instance.Node (2.54.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.54.0 keyboard_arrow_down
public static final class Instance . Node extends GeneratedMessageV3 implements Instance . NodeOrBuilder
Protobuf type google.cloud.memcache.v1.Instance.Node
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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 ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static Instance . Node . Builder newBuilder ()
newBuilder(Instance.Node prototype)
public static Instance . Node . Builder newBuilder ( Instance . Node prototype )
public static Instance . Node parseDelimitedFrom ( InputStream input )
public static Instance . Node parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static Instance . Node parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Instance . Node parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static Instance . Node parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Instance . Node parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static Instance . Node parseFrom ( CodedInputStream input )
public static Instance . Node parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static Instance . Node parseFrom ( InputStream input )
public static Instance . Node parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static Instance . Node parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Instance . Node parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<Instance . Node > parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public Instance . Node getDefaultInstanceForType ()
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;
getParametersOrBuilder()
public MemcacheParametersOrBuilder getParametersOrBuilder ()
User defined parameters currently applied to the node.
.google.cloud.memcache.v1.MemcacheParameters parameters = 6;
getParserForType()
public Parser<Instance . Node > getParserForType ()
Overrides
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];
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()
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()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public Instance . Node . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Instance . Node . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public Instance . Node . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
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-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]