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.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
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
IP_FIELD_NUMBER
public static final int IP_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ZONE_ID_FIELD_NUMBER
public static final int ZONE_ID_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()
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 |
Type |
Description |
ByteString |
The bytes for id.
|
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 |
Type |
Description |
ByteString |
The bytes for ip.
|
getParserForType()
public Parser<Instance.Node> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getState()
Returns |
Type |
Description |
String |
The state.
|
getStateBytes()
public ByteString getStateBytes()
Returns |
Type |
Description |
ByteString |
The bytes for state.
|
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 |
Type |
Description |
ByteString |
The bytes for zoneId.
|
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