Interface Instance.PscInstanceConfigOrBuilder (0.43.0)

public static interface Instance.PscInstanceConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowedConsumerProjects(int index)

public abstract String getAllowedConsumerProjects(int index)

Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.

repeated string allowed_consumer_projects = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The allowedConsumerProjects at the given index.

getAllowedConsumerProjectsBytes(int index)

public abstract ByteString getAllowedConsumerProjectsBytes(int index)

Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.

repeated string allowed_consumer_projects = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the allowedConsumerProjects at the given index.

getAllowedConsumerProjectsCount()

public abstract int getAllowedConsumerProjectsCount()

Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.

repeated string allowed_consumer_projects = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of allowedConsumerProjects.

getAllowedConsumerProjectsList()

public abstract List<String> getAllowedConsumerProjectsList()

Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.

repeated string allowed_consumer_projects = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the allowedConsumerProjects.

getPscDnsName()

public abstract String getPscDnsName()

Output only. The DNS name of the instance for PSC connectivity. Name convention: <uid>.<uid>.<region>.alloydb-psc.goog

string psc_dns_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The pscDnsName.

getPscDnsNameBytes()

public abstract ByteString getPscDnsNameBytes()

Output only. The DNS name of the instance for PSC connectivity. Name convention: <uid>.<uid>.<region>.alloydb-psc.goog

string psc_dns_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for pscDnsName.

getPscInterfaceConfigs(int index)

public abstract Instance.PscInterfaceConfig getPscInterfaceConfigs(int index)

Optional. Configurations for setting up PSC interfaces attached to the instance which are used for outbound connectivity. Only primary instances can have PSC interface attached. Currently we only support 0 or 1 PSC interface.

repeated .google.cloud.alloydb.v1alpha.Instance.PscInterfaceConfig psc_interface_configs = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Instance.PscInterfaceConfig

getPscInterfaceConfigsCount()

public abstract int getPscInterfaceConfigsCount()

Optional. Configurations for setting up PSC interfaces attached to the instance which are used for outbound connectivity. Only primary instances can have PSC interface attached. Currently we only support 0 or 1 PSC interface.

repeated .google.cloud.alloydb.v1alpha.Instance.PscInterfaceConfig psc_interface_configs = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getPscInterfaceConfigsList()

public abstract List<Instance.PscInterfaceConfig> getPscInterfaceConfigsList()

Optional. Configurations for setting up PSC interfaces attached to the instance which are used for outbound connectivity. Only primary instances can have PSC interface attached. Currently we only support 0 or 1 PSC interface.

repeated .google.cloud.alloydb.v1alpha.Instance.PscInterfaceConfig psc_interface_configs = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<PscInterfaceConfig>

getPscInterfaceConfigsOrBuilder(int index)

public abstract Instance.PscInterfaceConfigOrBuilder getPscInterfaceConfigsOrBuilder(int index)

Optional. Configurations for setting up PSC interfaces attached to the instance which are used for outbound connectivity. Only primary instances can have PSC interface attached. Currently we only support 0 or 1 PSC interface.

repeated .google.cloud.alloydb.v1alpha.Instance.PscInterfaceConfig psc_interface_configs = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Instance.PscInterfaceConfigOrBuilder

getPscInterfaceConfigsOrBuilderList()

public abstract List<? extends Instance.PscInterfaceConfigOrBuilder> getPscInterfaceConfigsOrBuilderList()

Optional. Configurations for setting up PSC interfaces attached to the instance which are used for outbound connectivity. Only primary instances can have PSC interface attached. Currently we only support 0 or 1 PSC interface.

repeated .google.cloud.alloydb.v1alpha.Instance.PscInterfaceConfig psc_interface_configs = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.alloydb.v1alpha.Instance.PscInterfaceConfigOrBuilder>
public abstract String getServiceAttachmentLink()

Output only. The service attachment created when Private Service Connect (PSC) is enabled for the instance. The name of the resource will be in the format of projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>

string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The serviceAttachmentLink.

getServiceAttachmentLinkBytes()

public abstract ByteString getServiceAttachmentLinkBytes()

Output only. The service attachment created when Private Service Connect (PSC) is enabled for the instance. The name of the resource will be in the format of projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>

string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for serviceAttachmentLink.