Interface Instance.InstanceNetworkConfigOrBuilder (0.56.0)

public static interface Instance.InstanceNetworkConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllocatedIpRangeOverride()

public abstract 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 abstract 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 abstract Instance.InstanceNetworkConfig.AuthorizedNetwork getAuthorizedExternalNetworks(int index)

Optional. A list of external network authorized to access this instance.

repeated .google.cloud.alloydb.v1.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Instance.InstanceNetworkConfig.AuthorizedNetwork

getAuthorizedExternalNetworksCount()

public abstract int getAuthorizedExternalNetworksCount()

Optional. A list of external network authorized to access this instance.

repeated .google.cloud.alloydb.v1.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getAuthorizedExternalNetworksList()

public abstract List<Instance.InstanceNetworkConfig.AuthorizedNetwork> getAuthorizedExternalNetworksList()

Optional. A list of external network authorized to access this instance.

repeated .google.cloud.alloydb.v1.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<AuthorizedNetwork>

getAuthorizedExternalNetworksOrBuilder(int index)

public abstract Instance.InstanceNetworkConfig.AuthorizedNetworkOrBuilder getAuthorizedExternalNetworksOrBuilder(int index)

Optional. A list of external network authorized to access this instance.

repeated .google.cloud.alloydb.v1.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Instance.InstanceNetworkConfig.AuthorizedNetworkOrBuilder

getAuthorizedExternalNetworksOrBuilderList()

public abstract List<? extends Instance.InstanceNetworkConfig.AuthorizedNetworkOrBuilder> getAuthorizedExternalNetworksOrBuilderList()

Optional. A list of external network authorized to access this instance.

repeated .google.cloud.alloydb.v1.Instance.InstanceNetworkConfig.AuthorizedNetwork authorized_external_networks = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.alloydb.v1.Instance.InstanceNetworkConfig.AuthorizedNetworkOrBuilder>

getEnableOutboundPublicIp()

public abstract 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 abstract 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 abstract 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 abstract 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.