public static interface Instance.PscInstanceConfigOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
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 |
intThe 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 |
intThe 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. |
getPscAutoConnectionPolicyState()
public abstract Instance.PscInstanceConfig.PscAutoConnectionPolicyState getPscAutoConnectionPolicyState()Optional. Configuration for setting up PSC auto connection for the instance.
.google.cloud.alloydb.v1beta.Instance.PscInstanceConfig.PscAutoConnectionPolicyState psc_auto_connection_policy_state = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Instance.PscInstanceConfig.PscAutoConnectionPolicyState |
The pscAutoConnectionPolicyState. |
getPscAutoConnectionPolicyStateValue()
public abstract int getPscAutoConnectionPolicyStateValue()Optional. Configuration for setting up PSC auto connection for the instance.
.google.cloud.alloydb.v1beta.Instance.PscInstanceConfig.PscAutoConnectionPolicyState psc_auto_connection_policy_state = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for pscAutoConnectionPolicyState. |
getPscAutoConnections(int index)
public abstract Instance.PscAutoConnectionConfig getPscAutoConnections(int index)Optional. Configurations for setting up PSC service automation.
repeated .google.cloud.alloydb.v1beta.Instance.PscAutoConnectionConfig psc_auto_connections = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Instance.PscAutoConnectionConfig |
|
getPscAutoConnectionsCount()
public abstract int getPscAutoConnectionsCount()Optional. Configurations for setting up PSC service automation.
repeated .google.cloud.alloydb.v1beta.Instance.PscAutoConnectionConfig psc_auto_connections = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getPscAutoConnectionsList()
public abstract List<Instance.PscAutoConnectionConfig> getPscAutoConnectionsList()Optional. Configurations for setting up PSC service automation.
repeated .google.cloud.alloydb.v1beta.Instance.PscAutoConnectionConfig psc_auto_connections = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<PscAutoConnectionConfig> |
|
getPscAutoConnectionsOrBuilder(int index)
public abstract Instance.PscAutoConnectionConfigOrBuilder getPscAutoConnectionsOrBuilder(int index)Optional. Configurations for setting up PSC service automation.
repeated .google.cloud.alloydb.v1beta.Instance.PscAutoConnectionConfig psc_auto_connections = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Instance.PscAutoConnectionConfigOrBuilder |
|
getPscAutoConnectionsOrBuilderList()
public abstract List<? extends Instance.PscAutoConnectionConfigOrBuilder> getPscAutoConnectionsOrBuilderList()Optional. Configurations for setting up PSC service automation.
repeated .google.cloud.alloydb.v1beta.Instance.PscAutoConnectionConfig psc_auto_connections = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.alloydb.v1beta.Instance.PscAutoConnectionConfigOrBuilder> |
|
getPscAutoDnsState()
public abstract Instance.PscAutoDnsState getPscAutoDnsState()Optional. Configuration for setting up PSC auto DNS for the instance.
.google.cloud.alloydb.v1beta.Instance.PscAutoDnsState psc_auto_dns_state = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Instance.PscAutoDnsState |
The pscAutoDnsState. |
getPscAutoDnsStateValue()
public abstract int getPscAutoDnsStateValue()Optional. Configuration for setting up PSC auto DNS for the instance.
.google.cloud.alloydb.v1beta.Instance.PscAutoDnsState psc_auto_dns_state = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for pscAutoDnsState. |
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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.Instance.PscInterfaceConfig psc_interface_configs = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.alloydb.v1beta.Instance.PscInterfaceConfigOrBuilder> |
|
getServiceAttachmentLink()
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, (.google.api.resource_reference) = { ... }
| 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, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for serviceAttachmentLink. |