Interface VpcAccessOrBuilder (0.42.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()

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

.google.cloud.run.v2.VpcAccess.VpcEgress egress = 2;

Returns
Type Description
VpcAccess.VpcEgress

The egress.

getEgressValue()

public abstract int getEgressValue()

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

.google.cloud.run.v2.VpcAccess.VpcEgress egress = 2;

Returns
Type Description
int

The enum numeric value on the wire for egress.

getNetworkInterfaces(int index)

public abstract VpcAccess.NetworkInterface getNetworkInterfaces(int index)

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

repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3;

Parameter
Name Description
index int
Returns
Type Description
VpcAccess.NetworkInterface

getNetworkInterfacesCount()

public abstract int getNetworkInterfacesCount()

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

repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3;

Returns
Type Description
int

getNetworkInterfacesList()

public abstract List<VpcAccess.NetworkInterface> getNetworkInterfacesList()

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

repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3;

Returns
Type Description
List<NetworkInterface>

getNetworkInterfacesOrBuilder(int index)

public abstract VpcAccess.NetworkInterfaceOrBuilder getNetworkInterfacesOrBuilder(int index)

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

repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3;

Parameter
Name Description
index int
Returns
Type Description
VpcAccess.NetworkInterfaceOrBuilder

getNetworkInterfacesOrBuilderList()

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

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

repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3;

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