Interface Instance.NodeOrBuilder (0.6.0)

public static interface Instance.NodeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getId()

public abstract String getId()

The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".

string id = 2;

Returns
TypeDescription
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".

string id = 2;

Returns
TypeDescription
ByteString

The bytes for id.

getIp()

public abstract String getIp()

The private IP address of the VM e.g. "10.57.0.34".

string ip = 3;

Returns
TypeDescription
String

The ip.

getIpBytes()

public abstract ByteString getIpBytes()

The private IP address of the VM e.g. "10.57.0.34".

string ip = 3;

Returns
TypeDescription
ByteString

The bytes for ip.

getState()

public abstract 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
TypeDescription
String

The state.

getStateBytes()

public abstract 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
TypeDescription
ByteString

The bytes for state.

getZoneId()

public abstract String getZoneId()

The Compute Engine zone of the VM e.g. "us-central1-b".

string zone_id = 1;

Returns
TypeDescription
String

The zoneId.

getZoneIdBytes()

public abstract ByteString getZoneIdBytes()

The Compute Engine zone of the VM e.g. "us-central1-b".

string zone_id = 1;

Returns
TypeDescription
ByteString

The bytes for zoneId.