Class Instance.InstanceNetworkConfig (0.65.0)
public static final class Instance.InstanceNetworkConfig extends GeneratedMessageV3 implements Instance.InstanceNetworkConfigOrBuilder
Metadata related to instance-level network configuration.
Protobuf type google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ALLOCATED_IP_RANGE_OVERRIDE_FIELD_NUMBER
public static final int ALLOCATED_IP_RANGE_OVERRIDE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
AUTHORIZED_EXTERNAL_NETWORKS_FIELD_NUMBER
public static final int AUTHORIZED_EXTERNAL_NETWORKS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ENABLE_OUTBOUND_PUBLIC_IP_FIELD_NUMBER
public static final int ENABLE_OUTBOUND_PUBLIC_IP_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ENABLE_PUBLIC_IP_FIELD_NUMBER
public static final int ENABLE_PUBLIC_IP_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Instance.InstanceNetworkConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Instance.InstanceNetworkConfig.Builder newBuilder()
newBuilder(Instance.InstanceNetworkConfig prototype)
public static Instance.InstanceNetworkConfig.Builder newBuilder(Instance.InstanceNetworkConfig prototype)
public static Instance.InstanceNetworkConfig parseDelimitedFrom(InputStream input)
public static Instance.InstanceNetworkConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Instance.InstanceNetworkConfig parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Instance.InstanceNetworkConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Instance.InstanceNetworkConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Instance.InstanceNetworkConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Instance.InstanceNetworkConfig parseFrom(CodedInputStream input)
public static Instance.InstanceNetworkConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Instance.InstanceNetworkConfig parseFrom(InputStream input)
public static Instance.InstanceNetworkConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Instance.InstanceNetworkConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Instance.InstanceNetworkConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Instance.InstanceNetworkConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAllocatedIpRangeOverride()
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. Specifically,
the name must be 1-63 characters long and match the regular expression
a-z?.
string allocated_ip_range_override = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The allocatedIpRangeOverride.
|
getAllocatedIpRangeOverrideBytes()
public 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. Specifically,
the name must be 1-63 characters long and match the regular expression
a-z?.
string allocated_ip_range_override = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for allocatedIpRangeOverride.
|
getAuthorizedExternalNetworks(int index)
public 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];
Parameter |
Name |
Description |
index |
int
|
getAuthorizedExternalNetworksCount()
public 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];
Returns |
Type |
Description |
int |
|
getAuthorizedExternalNetworksList()
public 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];
getAuthorizedExternalNetworksOrBuilder(int index)
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];
Parameter |
Name |
Description |
index |
int
|
getAuthorizedExternalNetworksOrBuilderList()
public 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];
Returns |
Type |
Description |
List<? extends com.google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetworkOrBuilder> |
|
getDefaultInstanceForType()
public Instance.InstanceNetworkConfig getDefaultInstanceForType()
getEnableOutboundPublicIp()
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];
Returns |
Type |
Description |
boolean |
The enableOutboundPublicIp.
|
getEnablePublicIp()
public boolean getEnablePublicIp()
Optional. Enabling public ip for the instance.
bool enable_public_ip = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
The enablePublicIp.
|
getNetwork()
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) = { ... }
Returns |
Type |
Description |
String |
The network.
|
getNetworkBytes()
public 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) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for network.
|
getParserForType()
public Parser<Instance.InstanceNetworkConfig> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Instance.InstanceNetworkConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Instance.InstanceNetworkConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Instance.InstanceNetworkConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-10 UTC."],[],[]]