Interface VpcAccessOrBuilder (0.47.0)

public interface VpcAccessOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConnector()

public abstract String getConnector()

VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number. For more information on sending traffic to a VPC network via a connector, visit https://cloud.google.com/run/docs/configuring/vpc-connectors.

string connector = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The connector.

getConnectorBytes()

public abstract ByteString getConnectorBytes()

VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number. For more information on sending traffic to a VPC network via a connector, visit https://cloud.google.com/run/docs/configuring/vpc-connectors.

string connector = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for connector.

getEgress()

public abstract VpcAccess.VpcEgress getEgress()

Optional. Traffic VPC egress settings. If not provided, it defaults to PRIVATE_RANGES_ONLY.

.google.cloud.run.v2.VpcAccess.VpcEgress egress = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VpcAccess.VpcEgress

The egress.

getEgressValue()

public abstract int getEgressValue()

Optional. Traffic VPC egress settings. If not provided, it defaults to PRIVATE_RANGES_ONLY.

.google.cloud.run.v2.VpcAccess.VpcEgress egress = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for egress.

getNetworkInterfaces(int index)

public abstract VpcAccess.NetworkInterface getNetworkInterfaces(int index)

Optional. Direct VPC egress settings. Currently only single network interface is supported.

repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
VpcAccess.NetworkInterface

getNetworkInterfacesCount()

public abstract int getNetworkInterfacesCount()

Optional. Direct VPC egress settings. Currently only single network interface is supported.

repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getNetworkInterfacesList()

public abstract List<VpcAccess.NetworkInterface> getNetworkInterfacesList()

Optional. Direct VPC egress settings. Currently only single network interface is supported.

repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<NetworkInterface>

getNetworkInterfacesOrBuilder(int index)

public abstract VpcAccess.NetworkInterfaceOrBuilder getNetworkInterfacesOrBuilder(int index)

Optional. Direct VPC egress settings. Currently only single network interface is supported.

repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
VpcAccess.NetworkInterfaceOrBuilder

getNetworkInterfacesOrBuilderList()

public abstract List<? extends VpcAccess.NetworkInterfaceOrBuilder> getNetworkInterfacesOrBuilderList()

Optional. Direct VPC egress settings. Currently only single network interface is supported.

repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.run.v2.VpcAccess.NetworkInterfaceOrBuilder>