Interface ServiceConnectionPolicy.PscConfigOrBuilder (0.14.1)

public static interface ServiceConnectionPolicy.PscConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLimit()

public abstract long getLimit()

Optional. Max number of PSC connections for this policy.

optional int64 limit = 2;

Returns
TypeDescription
long

The limit.

getSubnetworks(int index)

public abstract String getSubnetworks(int index)

The resource paths of subnetworks to use for IP address management. Example: projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.

repeated string subnetworks = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The subnetworks at the given index.

getSubnetworksBytes(int index)

public abstract ByteString getSubnetworksBytes(int index)

The resource paths of subnetworks to use for IP address management. Example: projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.

repeated string subnetworks = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the subnetworks at the given index.

getSubnetworksCount()

public abstract int getSubnetworksCount()

The resource paths of subnetworks to use for IP address management. Example: projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.

repeated string subnetworks = 1;

Returns
TypeDescription
int

The count of subnetworks.

getSubnetworksList()

public abstract List<String> getSubnetworksList()

The resource paths of subnetworks to use for IP address management. Example: projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.

repeated string subnetworks = 1;

Returns
TypeDescription
List<String>

A list containing the subnetworks.

hasLimit()

public abstract boolean hasLimit()

Optional. Max number of PSC connections for this policy.

optional int64 limit = 2;

Returns
TypeDescription
boolean

Whether the limit field is set.