Interface Instance.NodeOrBuilder (0.37.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
Type Description
String

The id.

getIdBytes()

public abstract 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()

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

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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for zoneId.