public static final class Instance.InstanceNetworkConfig extends com.google.protobuf.GeneratedMessage implements Instance.InstanceNetworkConfigOrBuilder
Metadata related to instance-level network configuration.Protobuf type
google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig| Modifier and Type | Class and Description |
|---|---|
static class |
Instance.InstanceNetworkConfig.AuthorizedNetwork
AuthorizedNetwork contains metadata for an authorized network.
|
static interface |
Instance.InstanceNetworkConfig.AuthorizedNetworkOrBuilder |
static class |
Instance.InstanceNetworkConfig.Builder
Metadata related to instance-level network configuration.
|
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ALLOCATED_IP_RANGE_OVERRIDE_FIELD_NUMBER |
static int |
AUTHORIZED_EXTERNAL_NETWORKS_FIELD_NUMBER |
static int |
ENABLE_OUTBOUND_PUBLIC_IP_FIELD_NUMBER |
static int |
ENABLE_PUBLIC_IP_FIELD_NUMBER |
static int |
NETWORK_FIELD_NUMBER |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashFields, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int AUTHORIZED_EXTERNAL_NETWORKS_FIELD_NUMBER
public static final int ENABLE_PUBLIC_IP_FIELD_NUMBER
public static final int ENABLE_OUTBOUND_PUBLIC_IP_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
public static final int ALLOCATED_IP_RANGE_OVERRIDE_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic 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 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 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.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 boolean getEnablePublicIp()
Optional. Enabling public ip for the instance.
bool enable_public_ip = 2 [(.google.api.field_behavior) = OPTIONAL];getEnablePublicIp in interface Instance.InstanceNetworkConfigOrBuilderpublic 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 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Instance.InstanceNetworkConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Instance.InstanceNetworkConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Instance.InstanceNetworkConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Instance.InstanceNetworkConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Instance.InstanceNetworkConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Instance.InstanceNetworkConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Instance.InstanceNetworkConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static Instance.InstanceNetworkConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Instance.InstanceNetworkConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Instance.InstanceNetworkConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Instance.InstanceNetworkConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Instance.InstanceNetworkConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Instance.InstanceNetworkConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Instance.InstanceNetworkConfig.Builder newBuilder()
public static Instance.InstanceNetworkConfig.Builder newBuilder(Instance.InstanceNetworkConfig prototype)
public Instance.InstanceNetworkConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Instance.InstanceNetworkConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.AbstractMessagepublic static Instance.InstanceNetworkConfig getDefaultInstance()
public static com.google.protobuf.Parser<Instance.InstanceNetworkConfig> parser()
public com.google.protobuf.Parser<Instance.InstanceNetworkConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic Instance.InstanceNetworkConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2026 Google LLC. All rights reserved.