public static final class Instance.Node.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Instance.Node.Builder> implements Instance.NodeOrBuilder
Details 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.v1.Instance.Node| Modifier and Type | Method and Description |
|---|---|
Instance.Node.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Instance.Node |
build() |
Instance.Node |
buildPartial() |
Instance.Node.Builder |
clear() |
Instance.Node.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Instance.Node.Builder |
clearId()
Output only.
|
Instance.Node.Builder |
clearIp()
Output only.
|
Instance.Node.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Instance.Node.Builder |
clearState()
Output only.
|
Instance.Node.Builder |
clearZoneId()
Output only.
|
Instance.Node.Builder |
clone() |
Instance.Node |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getId()
Output only.
|
com.google.protobuf.ByteString |
getIdBytes()
Output only.
|
String |
getIp()
Output only.
|
com.google.protobuf.ByteString |
getIpBytes()
Output only.
|
String |
getState()
Output only.
|
com.google.protobuf.ByteString |
getStateBytes()
Output only.
|
String |
getZoneId()
Output only.
|
com.google.protobuf.ByteString |
getZoneIdBytes()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Instance.Node.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Instance.Node.Builder |
mergeFrom(Instance.Node other) |
Instance.Node.Builder |
mergeFrom(com.google.protobuf.Message other) |
Instance.Node.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Instance.Node.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Instance.Node.Builder |
setId(String value)
Output only.
|
Instance.Node.Builder |
setIdBytes(com.google.protobuf.ByteString value)
Output only.
|
Instance.Node.Builder |
setIp(String value)
Output only.
|
Instance.Node.Builder |
setIpBytes(com.google.protobuf.ByteString value)
Output only.
|
Instance.Node.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Instance.Node.Builder |
setState(String value)
Output only.
|
Instance.Node.Builder |
setStateBytes(com.google.protobuf.ByteString value)
Output only.
|
Instance.Node.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Instance.Node.Builder |
setZoneId(String value)
Output only.
|
Instance.Node.Builder |
setZoneIdBytes(com.google.protobuf.ByteString value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Node.Builder>public Instance.Node.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Node.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Node.Builder>public Instance.Node getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Instance.Node build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Instance.Node buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Instance.Node.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Node.Builder>public Instance.Node.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Node.Builder>public Instance.Node.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Node.Builder>public Instance.Node.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Node.Builder>public Instance.Node.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Node.Builder>public Instance.Node.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Node.Builder>public Instance.Node.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Instance.Node.Builder>public Instance.Node.Builder mergeFrom(Instance.Node other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Node.Builder>public Instance.Node.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Instance.Node.Builder>IOExceptionpublic 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];getZoneId in interface Instance.NodeOrBuilderpublic com.google.protobuf.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];getZoneIdBytes in interface Instance.NodeOrBuilderpublic 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];value - The zoneId to set.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];public Instance.Node.Builder setZoneIdBytes(com.google.protobuf.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];value - The bytes for zoneId to set.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];getId in interface Instance.NodeOrBuilderpublic com.google.protobuf.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];getIdBytes in interface Instance.NodeOrBuilderpublic 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];value - The id to set.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];public Instance.Node.Builder setIdBytes(com.google.protobuf.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];value - The bytes for id to set.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];getIp in interface Instance.NodeOrBuilderpublic com.google.protobuf.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];getIpBytes in interface Instance.NodeOrBuilderpublic 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];value - The ip to set.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];public Instance.Node.Builder setIpBytes(com.google.protobuf.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];value - The bytes for ip to set.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];getState in interface Instance.NodeOrBuilderpublic com.google.protobuf.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];getStateBytes in interface Instance.NodeOrBuilderpublic 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];value - The state to set.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];public Instance.Node.Builder setStateBytes(com.google.protobuf.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];value - The bytes for state to set.public final Instance.Node.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Node.Builder>public final Instance.Node.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Node.Builder>Copyright © 2025 Google LLC. All rights reserved.