public static final class Cluster.NetworkConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<Cluster.NetworkConfig.Builder> implements Cluster.NetworkConfigOrBuilder
Metadata related to network configuration.Protobuf type
google.cloud.alloydb.v1beta.Cluster.NetworkConfigaddRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Cluster.NetworkConfig.Builder>public Cluster.NetworkConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<Cluster.NetworkConfig.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.GeneratedMessage.Builder<Cluster.NetworkConfig.Builder>public Cluster.NetworkConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Cluster.NetworkConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Cluster.NetworkConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Cluster.NetworkConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Cluster.NetworkConfig.Builder>public Cluster.NetworkConfig.Builder mergeFrom(Cluster.NetworkConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<Cluster.NetworkConfig.Builder>public Cluster.NetworkConfig.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<Cluster.NetworkConfig.Builder>IOExceptionpublic String getNetwork()
Optional. The resource link for the VPC network in which cluster
resources are created and from which they are accessible via Private IP.
The network must belong to the same project as the cluster. It is
specified in the form:
`projects/{project_number}/global/networks/{network_id}`. This is
required to create a cluster.
string network = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
getNetwork in interface Cluster.NetworkConfigOrBuilderpublic com.google.protobuf.ByteString getNetworkBytes()
Optional. The resource link for the VPC network in which cluster
resources are created and from which they are accessible via Private IP.
The network must belong to the same project as the cluster. It is
specified in the form:
`projects/{project_number}/global/networks/{network_id}`. This is
required to create a cluster.
string network = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
getNetworkBytes in interface Cluster.NetworkConfigOrBuilderpublic Cluster.NetworkConfig.Builder setNetwork(String value)
Optional. The resource link for the VPC network in which cluster
resources are created and from which they are accessible via Private IP.
The network must belong to the same project as the cluster. It is
specified in the form:
`projects/{project_number}/global/networks/{network_id}`. This is
required to create a cluster.
string network = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
value - The network to set.public Cluster.NetworkConfig.Builder clearNetwork()
Optional. The resource link for the VPC network in which cluster
resources are created and from which they are accessible via Private IP.
The network must belong to the same project as the cluster. It is
specified in the form:
`projects/{project_number}/global/networks/{network_id}`. This is
required to create a cluster.
string network = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
public Cluster.NetworkConfig.Builder setNetworkBytes(com.google.protobuf.ByteString value)
Optional. The resource link for the VPC network in which cluster
resources are created and from which they are accessible via Private IP.
The network must belong to the same project as the cluster. It is
specified in the form:
`projects/{project_number}/global/networks/{network_id}`. This is
required to create a cluster.
string network = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
value - The bytes for network to set.public String getAllocatedIpRange()
Optional. Name of the allocated IP range for the private IP AlloyDB cluster, for example: "google-managed-services-default". If set, the instance IPs for this cluster will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. Field name is intended to be consistent with Cloud SQL.
string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL];getAllocatedIpRange in interface Cluster.NetworkConfigOrBuilderpublic com.google.protobuf.ByteString getAllocatedIpRangeBytes()
Optional. Name of the allocated IP range for the private IP AlloyDB cluster, for example: "google-managed-services-default". If set, the instance IPs for this cluster will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. Field name is intended to be consistent with Cloud SQL.
string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL];getAllocatedIpRangeBytes in interface Cluster.NetworkConfigOrBuilderpublic Cluster.NetworkConfig.Builder setAllocatedIpRange(String value)
Optional. Name of the allocated IP range for the private IP AlloyDB cluster, for example: "google-managed-services-default". If set, the instance IPs for this cluster will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. Field name is intended to be consistent with Cloud SQL.
string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL];value - The allocatedIpRange to set.public Cluster.NetworkConfig.Builder clearAllocatedIpRange()
Optional. Name of the allocated IP range for the private IP AlloyDB cluster, for example: "google-managed-services-default". If set, the instance IPs for this cluster will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. Field name is intended to be consistent with Cloud SQL.
string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL];public Cluster.NetworkConfig.Builder setAllocatedIpRangeBytes(com.google.protobuf.ByteString value)
Optional. Name of the allocated IP range for the private IP AlloyDB cluster, for example: "google-managed-services-default". If set, the instance IPs for this cluster will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. Field name is intended to be consistent with Cloud SQL.
string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for allocatedIpRange to set.Copyright © 2026 Google LLC. All rights reserved.