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
NODE_ID_FIELD_NUMBER
public static final int NODE_ID_FIELD_NUMBER
Field Value
PARAMETERS_FIELD_NUMBER
public static final int PARAMETERS_FIELD_NUMBER
Field Value
PORT_FIELD_NUMBER
public static final int PORT_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
UPDATE_AVAILABLE_FIELD_NUMBER
public static final int UPDATE_AVAILABLE_FIELD_NUMBER
Field Value
ZONE_FIELD_NUMBER
public static final int ZONE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Instance.Node getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Instance.Node.Builder newBuilder()
Returns
newBuilder(Instance.Node prototype)
public static Instance.Node.Builder newBuilder(Instance.Node prototype)
Parameter
Returns
public static Instance.Node parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Instance.Node parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Instance.Node parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Instance.Node parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Instance.Node parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Instance.Node parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Instance.Node parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Instance.Node parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Instance.Node parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Instance.Node parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Instance.Node parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Instance.Node parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Instance.Node> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Instance.Node getDefaultInstanceForType()
Returns
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
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
getParameters()
public MemcacheParameters getParameters()
User defined parameters currently applied to the node.
.google.cloud.memcache.v1beta2.MemcacheParameters parameters = 6;
Returns
getParametersOrBuilder()
public MemcacheParametersOrBuilder getParametersOrBuilder()
User defined parameters currently applied to the node.
.google.cloud.memcache.v1beta2.MemcacheParameters parameters = 6;
Returns
getParserForType()
public Parser<Instance.Node> getParserForType()
Returns
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
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
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
Type | Description |
int | The enum numeric value on the wire for state.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
Type | Description |
boolean | The updateAvailable.
|
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
hasParameters()
public boolean hasParameters()
User defined parameters currently applied to the node.
.google.cloud.memcache.v1beta2.MemcacheParameters parameters = 6;
Returns
Type | Description |
boolean | Whether the parameters field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Instance.Node.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Instance.Node.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Instance.Node.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions