Interface PrivateServiceConnectConfigOrBuilder (3.47.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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
List<String>

A list containing the projectAllowlist.