- 0.65.0 (latest)
- 0.64.0
- 0.63.0
- 0.62.0
- 0.61.0
- 0.59.0
- 0.57.0
- 0.56.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class Instance.Node.Builder extends GeneratedMessageV3.Builder<Instance.Node.Builder> implements Instance.NodeOrBuilderDetails of a single node in the instance. Nodes in an AlloyDB instance are ephemeral, 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()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Instance.Node.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Instance.Node.Builder |
|
build()
public Instance.Node build()| Returns | |
|---|---|
| Type | Description |
Instance.Node |
|
buildPartial()
public Instance.Node buildPartial()| Returns | |
|---|---|
| Type | Description |
Instance.Node |
|
clear()
public Instance.Node.Builder clear()| Returns | |
|---|---|
| Type | Description |
Instance.Node.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public Instance.Node.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
Instance.Node.Builder |
|
clearId()
public Instance.Node.Builder clearId()Output only. The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
string id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.Node.Builder |
This builder for chaining. |
clearIp()
public Instance.Node.Builder clearIp()Output only. The private IP address of the VM e.g. "10.57.0.34".
string ip = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.Node.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Instance.Node.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
Instance.Node.Builder |
|
clearState()
public Instance.Node.Builder clearState()Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.Node.Builder |
This builder for chaining. |
clearZoneId()
public Instance.Node.Builder clearZoneId()Output only. The Compute Engine zone of the VM e.g. "us-central1-b".
string zone_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.Node.Builder |
This builder for chaining. |
clone()
public Instance.Node.Builder clone()| Returns | |
|---|---|
| Type | Description |
Instance.Node.Builder |
|
getDefaultInstanceForType()
public Instance.Node getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Instance.Node |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getId()
public String getId()Output only. The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
string id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The id. |
getIdBytes()
public ByteString getIdBytes()Output only. The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
string id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for id. |
getIp()
public String getIp()Output only. The private IP address of the VM e.g. "10.57.0.34".
string ip = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The ip. |
getIpBytes()
public ByteString getIpBytes()Output only. The private IP address of the VM e.g. "10.57.0.34".
string ip = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for ip. |
getState()
public String getState()Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The state. |
getStateBytes()
public ByteString getStateBytes()Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for state. |
getZoneId()
public String getZoneId()Output only. The Compute Engine zone of the VM e.g. "us-central1-b".
string zone_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The zoneId. |
getZoneIdBytes()
public ByteString getZoneIdBytes()Output only. The Compute Engine zone of the VM e.g. "us-central1-b".
string zone_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for zoneId. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Instance.Node other)
public Instance.Node.Builder mergeFrom(Instance.Node other)| Parameter | |
|---|---|
| Name | Description |
other |
Instance.Node |
| Returns | |
|---|---|
| Type | Description |
Instance.Node.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Instance.Node.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Instance.Node.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Instance.Node.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Instance.Node.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Instance.Node.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Instance.Node.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public Instance.Node.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Instance.Node.Builder |
|
setId(String value)
public Instance.Node.Builder setId(String value)Output only. The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
string id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe id to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Node.Builder |
This builder for chaining. |
setIdBytes(ByteString value)
public Instance.Node.Builder setIdBytes(ByteString value)Output only. The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
string id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for id to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Node.Builder |
This builder for chaining. |
setIp(String value)
public Instance.Node.Builder setIp(String value)Output only. The private IP address of the VM e.g. "10.57.0.34".
string ip = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe ip to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Node.Builder |
This builder for chaining. |
setIpBytes(ByteString value)
public Instance.Node.Builder setIpBytes(ByteString value)Output only. The private IP address of the VM e.g. "10.57.0.34".
string ip = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for ip to set. |
| Returns | |
|---|---|
| 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)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Instance.Node.Builder |
|
setState(String value)
public Instance.Node.Builder setState(String value)Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe state to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Node.Builder |
This builder for chaining. |
setStateBytes(ByteString value)
public Instance.Node.Builder setStateBytes(ByteString value)Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for state to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Node.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Instance.Node.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Instance.Node.Builder |
|
setZoneId(String value)
public Instance.Node.Builder setZoneId(String value)Output only. The Compute Engine zone of the VM e.g. "us-central1-b".
string zone_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe zoneId to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Node.Builder |
This builder for chaining. |
setZoneIdBytes(ByteString value)
public Instance.Node.Builder setZoneIdBytes(ByteString value)Output only. The Compute Engine zone of the VM e.g. "us-central1-b".
string zone_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for zoneId to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Node.Builder |
This builder for chaining. |