Package com.google.cloud.alloydb.v1alpha
Interface Instance.NodeOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Instance.Node
,Instance.Node.Builder
- Enclosing class:
- Instance
public static interface Instance.NodeOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getId()
The identifier of the VM e.g.com.google.protobuf.ByteString
getIdBytes()
The identifier of the VM e.g.String
getIp()
The private IP address of the VM e.g.com.google.protobuf.ByteString
getIpBytes()
The private IP address of the VM e.g.String
getState()
Determined by state of the compute VM and postgres-service health.com.google.protobuf.ByteString
getStateBytes()
Determined by state of the compute VM and postgres-service health.String
getZoneId()
The Compute Engine zone of the VM e.g.com.google.protobuf.ByteString
getZoneIdBytes()
The Compute Engine zone of the VM e.g.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getZoneId
String getZoneId()
The Compute Engine zone of the VM e.g. "us-central1-b".
string zone_id = 1;
- Returns:
- The zoneId.
-
getZoneIdBytes
com.google.protobuf.ByteString getZoneIdBytes()
The Compute Engine zone of the VM e.g. "us-central1-b".
string zone_id = 1;
- Returns:
- The bytes for zoneId.
-
getId
String getId()
The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
string id = 2;
- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()
The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
string id = 2;
- Returns:
- The bytes for id.
-
getIp
String getIp()
The private IP address of the VM e.g. "10.57.0.34".
string ip = 3;
- Returns:
- The ip.
-
getIpBytes
com.google.protobuf.ByteString getIpBytes()
The private IP address of the VM e.g. "10.57.0.34".
string ip = 3;
- Returns:
- The bytes for ip.
-
getState
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;
- Returns:
- The state.
-
getStateBytes
com.google.protobuf.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;
- Returns:
- The bytes for state.
-
-