public static final class Instance.InstanceNetworkConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<Instance.InstanceNetworkConfig.Builder> implements Instance.InstanceNetworkConfigOrBuilder
Metadata related to instance-level network configuration.Protobuf type
google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfigaddRepeatedField, 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<Instance.InstanceNetworkConfig.Builder>public Instance.InstanceNetworkConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<Instance.InstanceNetworkConfig.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<Instance.InstanceNetworkConfig.Builder>public Instance.InstanceNetworkConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Instance.InstanceNetworkConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Instance.InstanceNetworkConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Instance.InstanceNetworkConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Instance.InstanceNetworkConfig.Builder>public Instance.InstanceNetworkConfig.Builder mergeFrom(Instance.InstanceNetworkConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<Instance.InstanceNetworkConfig.Builder>public Instance.InstanceNetworkConfig.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.InstanceNetworkConfig.Builder>IOExceptionpublic List<Instance.InstanceNetworkConfig.AuthorizedNetwork> getAuthorizedExternalNetworksList()
Optional. A list of external network authorized to access this instance.
repeated .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];
getAuthorizedExternalNetworksList in interface Instance.InstanceNetworkConfigOrBuilderpublic int getAuthorizedExternalNetworksCount()
Optional. A list of external network authorized to access this instance.
repeated .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];
getAuthorizedExternalNetworksCount in interface Instance.InstanceNetworkConfigOrBuilderpublic Instance.InstanceNetworkConfig.AuthorizedNetwork getAuthorizedExternalNetworks(int index)
Optional. A list of external network authorized to access this instance.
repeated .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];
getAuthorizedExternalNetworks in interface Instance.InstanceNetworkConfigOrBuilderpublic Instance.InstanceNetworkConfig.Builder setAuthorizedExternalNetworks(int index, Instance.InstanceNetworkConfig.AuthorizedNetwork value)
Optional. A list of external network authorized to access this instance.
repeated .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];
public Instance.InstanceNetworkConfig.Builder setAuthorizedExternalNetworks(int index, Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder builderForValue)
Optional. A list of external network authorized to access this instance.
repeated .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];
public Instance.InstanceNetworkConfig.Builder addAuthorizedExternalNetworks(Instance.InstanceNetworkConfig.AuthorizedNetwork value)
Optional. A list of external network authorized to access this instance.
repeated .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];
public Instance.InstanceNetworkConfig.Builder addAuthorizedExternalNetworks(int index, Instance.InstanceNetworkConfig.AuthorizedNetwork value)
Optional. A list of external network authorized to access this instance.
repeated .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];
public Instance.InstanceNetworkConfig.Builder addAuthorizedExternalNetworks(Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder builderForValue)
Optional. A list of external network authorized to access this instance.
repeated .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];
public Instance.InstanceNetworkConfig.Builder addAuthorizedExternalNetworks(int index, Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder builderForValue)
Optional. A list of external network authorized to access this instance.
repeated .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];
public Instance.InstanceNetworkConfig.Builder addAllAuthorizedExternalNetworks(Iterable<? extends Instance.InstanceNetworkConfig.AuthorizedNetwork> values)
Optional. A list of external network authorized to access this instance.
repeated .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];
public Instance.InstanceNetworkConfig.Builder clearAuthorizedExternalNetworks()
Optional. A list of external network authorized to access this instance.
repeated .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];
public Instance.InstanceNetworkConfig.Builder removeAuthorizedExternalNetworks(int index)
Optional. A list of external network authorized to access this instance.
repeated .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];
public Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder getAuthorizedExternalNetworksBuilder(int index)
Optional. A list of external network authorized to access this instance.
repeated .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];
public Instance.InstanceNetworkConfig.AuthorizedNetworkOrBuilder getAuthorizedExternalNetworksOrBuilder(int index)
Optional. A list of external network authorized to access this instance.
repeated .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];
getAuthorizedExternalNetworksOrBuilder in interface Instance.InstanceNetworkConfigOrBuilderpublic List<? extends Instance.InstanceNetworkConfig.AuthorizedNetworkOrBuilder> getAuthorizedExternalNetworksOrBuilderList()
Optional. A list of external network authorized to access this instance.
repeated .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];
getAuthorizedExternalNetworksOrBuilderList in interface Instance.InstanceNetworkConfigOrBuilderpublic Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder addAuthorizedExternalNetworksBuilder()
Optional. A list of external network authorized to access this instance.
repeated .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];
public Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder addAuthorizedExternalNetworksBuilder(int index)
Optional. A list of external network authorized to access this instance.
repeated .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];
public List<Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder> getAuthorizedExternalNetworksBuilderList()
Optional. A list of external network authorized to access this instance.
repeated .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];
public boolean getEnablePublicIp()
Optional. Enabling public ip for the instance.
bool enable_public_ip = 2 [(.google.api.field_behavior) = OPTIONAL];getEnablePublicIp in interface Instance.InstanceNetworkConfigOrBuilderpublic Instance.InstanceNetworkConfig.Builder setEnablePublicIp(boolean value)
Optional. Enabling public ip for the instance.
bool enable_public_ip = 2 [(.google.api.field_behavior) = OPTIONAL];value - The enablePublicIp to set.public Instance.InstanceNetworkConfig.Builder clearEnablePublicIp()
Optional. Enabling public ip for the instance.
bool enable_public_ip = 2 [(.google.api.field_behavior) = OPTIONAL];public boolean getEnableOutboundPublicIp()
Optional. Enabling an outbound public IP address to support a database server sending requests out into the internet.
bool enable_outbound_public_ip = 3 [(.google.api.field_behavior) = OPTIONAL];getEnableOutboundPublicIp in interface Instance.InstanceNetworkConfigOrBuilderpublic Instance.InstanceNetworkConfig.Builder setEnableOutboundPublicIp(boolean value)
Optional. Enabling an outbound public IP address to support a database server sending requests out into the internet.
bool enable_outbound_public_ip = 3 [(.google.api.field_behavior) = OPTIONAL];value - The enableOutboundPublicIp to set.public Instance.InstanceNetworkConfig.Builder clearEnableOutboundPublicIp()
Optional. Enabling an outbound public IP address to support a database server sending requests out into the internet.
bool enable_outbound_public_ip = 3 [(.google.api.field_behavior) = OPTIONAL];public String getNetwork()
Output only. The resource link for the VPC network in which instance
resources are created and from which they are accessible via Private IP.
This will be the same value as the parent cluster's network. It is
specified in the form: //
`projects/{project_number}/global/networks/{network_id}`.
string network = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getNetwork in interface Instance.InstanceNetworkConfigOrBuilderpublic com.google.protobuf.ByteString getNetworkBytes()
Output only. The resource link for the VPC network in which instance
resources are created and from which they are accessible via Private IP.
This will be the same value as the parent cluster's network. It is
specified in the form: //
`projects/{project_number}/global/networks/{network_id}`.
string network = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getNetworkBytes in interface Instance.InstanceNetworkConfigOrBuilderpublic Instance.InstanceNetworkConfig.Builder setNetwork(String value)
Output only. The resource link for the VPC network in which instance
resources are created and from which they are accessible via Private IP.
This will be the same value as the parent cluster's network. It is
specified in the form: //
`projects/{project_number}/global/networks/{network_id}`.
string network = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
value - The network to set.public Instance.InstanceNetworkConfig.Builder clearNetwork()
Output only. The resource link for the VPC network in which instance
resources are created and from which they are accessible via Private IP.
This will be the same value as the parent cluster's network. It is
specified in the form: //
`projects/{project_number}/global/networks/{network_id}`.
string network = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
public Instance.InstanceNetworkConfig.Builder setNetworkBytes(com.google.protobuf.ByteString value)
Output only. The resource link for the VPC network in which instance
resources are created and from which they are accessible via Private IP.
This will be the same value as the parent cluster's network. It is
specified in the form: //
`projects/{project_number}/global/networks/{network_id}`.
string network = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
value - The bytes for network to set.public String getAllocatedIpRangeOverride()
Optional. Name of the allocated IP range for the private IP AlloyDB instance, for example: "google-managed-services-default". If set, the instance IPs will be created from this allocated range and will override the IP range used by the parent cluster. The range name must comply with [RFC 1035](http://datatracker.ietf.org/doc/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?.
string allocated_ip_range_override = 5 [(.google.api.field_behavior) = OPTIONAL];
getAllocatedIpRangeOverride in interface Instance.InstanceNetworkConfigOrBuilderpublic com.google.protobuf.ByteString getAllocatedIpRangeOverrideBytes()
Optional. Name of the allocated IP range for the private IP AlloyDB instance, for example: "google-managed-services-default". If set, the instance IPs will be created from this allocated range and will override the IP range used by the parent cluster. The range name must comply with [RFC 1035](http://datatracker.ietf.org/doc/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?.
string allocated_ip_range_override = 5 [(.google.api.field_behavior) = OPTIONAL];
getAllocatedIpRangeOverrideBytes in interface Instance.InstanceNetworkConfigOrBuilderpublic Instance.InstanceNetworkConfig.Builder setAllocatedIpRangeOverride(String value)
Optional. Name of the allocated IP range for the private IP AlloyDB instance, for example: "google-managed-services-default". If set, the instance IPs will be created from this allocated range and will override the IP range used by the parent cluster. The range name must comply with [RFC 1035](http://datatracker.ietf.org/doc/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?.
string allocated_ip_range_override = 5 [(.google.api.field_behavior) = OPTIONAL];
value - The allocatedIpRangeOverride to set.public Instance.InstanceNetworkConfig.Builder clearAllocatedIpRangeOverride()
Optional. Name of the allocated IP range for the private IP AlloyDB instance, for example: "google-managed-services-default". If set, the instance IPs will be created from this allocated range and will override the IP range used by the parent cluster. The range name must comply with [RFC 1035](http://datatracker.ietf.org/doc/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?.
string allocated_ip_range_override = 5 [(.google.api.field_behavior) = OPTIONAL];
public Instance.InstanceNetworkConfig.Builder setAllocatedIpRangeOverrideBytes(com.google.protobuf.ByteString value)
Optional. Name of the allocated IP range for the private IP AlloyDB instance, for example: "google-managed-services-default". If set, the instance IPs will be created from this allocated range and will override the IP range used by the parent cluster. The range name must comply with [RFC 1035](http://datatracker.ietf.org/doc/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?.
string allocated_ip_range_override = 5 [(.google.api.field_behavior) = OPTIONAL];
value - The bytes for allocatedIpRangeOverride to set.Copyright © 2026 Google LLC. All rights reserved.