public static final class Instance.Node.Builder extends GeneratedMessageV3.Builder<Instance.Node.Builder> 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.v1beta.Instance.Node
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Instance.Node.BuilderImplements
Instance.NodeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Instance.Node.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
Instance.Node.Builder |
build()
public Instance.Node build()
Type | Description |
Instance.Node |
buildPartial()
public Instance.Node buildPartial()
Type | Description |
Instance.Node |
clear()
public Instance.Node.Builder clear()
Type | Description |
Instance.Node.Builder |
clearField(Descriptors.FieldDescriptor field)
public Instance.Node.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field |
FieldDescriptor |
Type | Description |
Instance.Node.Builder |
clearId()
public Instance.Node.Builder clearId()
The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
string id = 2;
Type | Description |
Instance.Node.Builder |
This builder for chaining. |
clearIp()
public Instance.Node.Builder clearIp()
The private IP address of the VM e.g. "10.57.0.34".
string ip = 3;
Type | Description |
Instance.Node.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Instance.Node.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof |
OneofDescriptor |
Type | Description |
Instance.Node.Builder |
clearState()
public Instance.Node.Builder clearState()
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 |
Instance.Node.Builder |
This builder for chaining. |
clearZoneId()
public Instance.Node.Builder clearZoneId()
The Compute Engine zone of the VM e.g. "us-central1-b".
string zone_id = 1;
Type | Description |
Instance.Node.Builder |
This builder for chaining. |
clone()
public Instance.Node.Builder clone()
Type | Description |
Instance.Node.Builder |
getDefaultInstanceForType()
public Instance.Node getDefaultInstanceForType()
Type | Description |
Instance.Node |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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. |
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Instance.Node other)
public Instance.Node.Builder mergeFrom(Instance.Node other)
Name | Description |
other |
Instance.Node |
Type | Description |
Instance.Node.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Instance.Node.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
Instance.Node.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Instance.Node.Builder mergeFrom(Message other)
Name | Description |
other |
Message |
Type | Description |
Instance.Node.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Instance.Node.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
Instance.Node.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Instance.Node.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
Instance.Node.Builder |
setId(String value)
public Instance.Node.Builder setId(String value)
The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
string id = 2;
Name | Description |
value |
String The id to set. |
Type | Description |
Instance.Node.Builder |
This builder for chaining. |
setIdBytes(ByteString value)
public Instance.Node.Builder setIdBytes(ByteString value)
The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
string id = 2;
Name | Description |
value |
ByteString The bytes for id to set. |
Type | Description |
Instance.Node.Builder |
This builder for chaining. |
setIp(String value)
public Instance.Node.Builder setIp(String value)
The private IP address of the VM e.g. "10.57.0.34".
string ip = 3;
Name | Description |
value |
String The ip to set. |
Type | Description |
Instance.Node.Builder |
This builder for chaining. |
setIpBytes(ByteString value)
public Instance.Node.Builder setIpBytes(ByteString value)
The private IP address of the VM e.g. "10.57.0.34".
string ip = 3;
Name | Description |
value |
ByteString The bytes for ip to set. |
Type | Description |
Instance.Node.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Instance.Node.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Type | Description |
Instance.Node.Builder |
setState(String value)
public Instance.Node.Builder setState(String value)
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;
Name | Description |
value |
String The state to set. |
Type | Description |
Instance.Node.Builder |
This builder for chaining. |
setStateBytes(ByteString value)
public Instance.Node.Builder setStateBytes(ByteString value)
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;
Name | Description |
value |
ByteString The bytes for state to set. |
Type | Description |
Instance.Node.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Instance.Node.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
Instance.Node.Builder |
setZoneId(String value)
public Instance.Node.Builder setZoneId(String value)
The Compute Engine zone of the VM e.g. "us-central1-b".
string zone_id = 1;
Name | Description |
value |
String The zoneId to set. |
Type | Description |
Instance.Node.Builder |
This builder for chaining. |
setZoneIdBytes(ByteString value)
public Instance.Node.Builder setZoneIdBytes(ByteString value)
The Compute Engine zone of the VM e.g. "us-central1-b".
string zone_id = 1;
Name | Description |
value |
ByteString The bytes for zoneId to set. |
Type | Description |
Instance.Node.Builder |
This builder for chaining. |