public static final class Instance.Node extends GeneratedMessageV3 implements Instance.NodeOrBuilder
Details of a single node in the instance.
Nodes in an AlloyDB instance are ephemereal, they can change during
update, failover, autohealing and resize operations.
Protobuf type google.cloud.alloydb.v1beta.Instance.Node
Static Fields
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
Field Value
IP_FIELD_NUMBER
public static final int IP_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
ZONE_ID_FIELD_NUMBER
public static final int ZONE_ID_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
getId()
The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
string id = 2;
Returns
Type |
Description |
String |
The id.
|
getIdBytes()
public ByteString getIdBytes()
The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
string id = 2;
Returns
getIp()
The private IP address of the VM e.g. "10.57.0.34".
string ip = 3;
Returns
Type |
Description |
String |
The ip.
|
getIpBytes()
public ByteString getIpBytes()
The private IP address of the VM e.g. "10.57.0.34".
string ip = 3;
Returns
getParserForType()
public Parser<Instance.Node> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getState()
Returns
Type |
Description |
String |
The state.
|
getStateBytes()
public ByteString getStateBytes()
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getZoneId()
public String getZoneId()
The Compute Engine zone of the VM e.g. "us-central1-b".
string zone_id = 1;
Returns
Type |
Description |
String |
The zoneId.
|
getZoneIdBytes()
public ByteString getZoneIdBytes()
The Compute Engine zone of the VM e.g. "us-central1-b".
string zone_id = 1;
Returns
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