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.v1alpha.Instance.Node
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Instance.NodeImplements
Instance.NodeOrBuilderStatic Fields
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
Type | Description |
int |
IP_FIELD_NUMBER
public static final int IP_FIELD_NUMBER
Type | Description |
int |
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Type | Description |
int |
ZONE_ID_FIELD_NUMBER
public static final int ZONE_ID_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static Instance.Node getDefaultInstance()
Type | Description |
Instance.Node |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static Instance.Node.Builder newBuilder()
Type | Description |
Instance.Node.Builder |
newBuilder(Instance.Node prototype)
public static Instance.Node.Builder newBuilder(Instance.Node prototype)
Name | Description |
prototype |
Instance.Node |
Type | Description |
Instance.Node.Builder |
parseDelimitedFrom(InputStream input)
public static Instance.Node parseDelimitedFrom(InputStream input)
Name | Description |
input |
InputStream |
Type | Description |
Instance.Node |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Instance.Node parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
Instance.Node |
Type | Description |
IOException |
parseFrom(byte[] data)
public static Instance.Node parseFrom(byte[] data)
Name | Description |
data |
byte[] |
Type | Description |
Instance.Node |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Instance.Node parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
Instance.Node |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Instance.Node parseFrom(ByteString data)
Name | Description |
data |
ByteString |
Type | Description |
Instance.Node |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Instance.Node parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
Instance.Node |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Instance.Node parseFrom(CodedInputStream input)
Name | Description |
input |
CodedInputStream |
Type | Description |
Instance.Node |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Instance.Node parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
Instance.Node |
Type | Description |
IOException |
parseFrom(InputStream input)
public static Instance.Node parseFrom(InputStream input)
Name | Description |
input |
InputStream |
Type | Description |
Instance.Node |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Instance.Node parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
Instance.Node |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Instance.Node parseFrom(ByteBuffer data)
Name | Description |
data |
ByteBuffer |
Type | Description |
Instance.Node |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Instance.Node parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
Instance.Node |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Instance.Node> parser()
Type | Description |
Parser<Node> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj |
Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public Instance.Node getDefaultInstanceForType()
Type | Description |
Instance.Node |
getId()
public String getId()
The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
string id = 2;
Type | Description |
String |
The id. |
getIdBytes()
public ByteString getIdBytes()
The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
string id = 2;
Type | Description |
ByteString |
The bytes for id. |
getIp()
public String getIp()
The private IP address of the VM e.g. "10.57.0.34".
string ip = 3;
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;
Type | Description |
ByteString |
The bytes for ip. |
getParserForType()
public Parser<Instance.Node> getParserForType()
Type | Description |
Parser<Node> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getState()
public String getState()
Determined by state of the compute VM and postgres-service health. Compute VM state can have values listed in https://cloud.google.com/compute/docs/instances/instance-life-cycle and postgres-service health can have values: HEALTHY and UNHEALTHY.
string state = 4;
Type | Description |
String |
The state. |
getStateBytes()
public ByteString getStateBytes()
Determined by state of the compute VM and postgres-service health. Compute VM state can have values listed in https://cloud.google.com/compute/docs/instances/instance-life-cycle and postgres-service health can have values: HEALTHY and UNHEALTHY.
string state = 4;
Type | Description |
ByteString |
The bytes for state. |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
getZoneId()
public String getZoneId()
The Compute Engine zone of the VM e.g. "us-central1-b".
string zone_id = 1;
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;
Type | Description |
ByteString |
The bytes for zoneId. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public Instance.Node.Builder newBuilderForType()
Type | Description |
Instance.Node.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Instance.Node.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent |
BuilderParent |
Type | Description |
Instance.Node.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused |
UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public Instance.Node.Builder toBuilder()
Type | Description |
Instance.Node.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output |
CodedOutputStream |
Type | Description |
IOException |