Interface PrivateServiceConnectConfigOrBuilder (3.17.0)

public interface PrivateServiceConnectConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnablePrivateServiceConnect()

public abstract boolean getEnablePrivateServiceConnect()

Required. If true, expose the IndexEndpoint via private service connect.

bool enable_private_service_connect = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

The enablePrivateServiceConnect.

getProjectAllowlist(int index)

public abstract String getProjectAllowlist(int index)

A list of Projects from which the forwarding rule will target the service attachment.

repeated string project_allowlist = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The projectAllowlist at the given index.

getProjectAllowlistBytes(int index)

public abstract ByteString getProjectAllowlistBytes(int index)

A list of Projects from which the forwarding rule will target the service attachment.

repeated string project_allowlist = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the projectAllowlist at the given index.

getProjectAllowlistCount()

public abstract int getProjectAllowlistCount()

A list of Projects from which the forwarding rule will target the service attachment.

repeated string project_allowlist = 2;

Returns
TypeDescription
int

The count of projectAllowlist.

getProjectAllowlistList()

public abstract List<String> getProjectAllowlistList()

A list of Projects from which the forwarding rule will target the service attachment.

repeated string project_allowlist = 2;

Returns
TypeDescription
List<String>

A list containing the projectAllowlist.