Package com.google.cloud.alloydb.v1beta
Interface Instance.PscInstanceConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Instance.PscInstanceConfig,Instance.PscInstanceConfig.Builder
- Enclosing class:
- Instance
public static interface Instance.PscInstanceConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAllowedConsumerProjects(int index) Optional.com.google.protobuf.ByteStringgetAllowedConsumerProjectsBytes(int index) Optional.intOptional.Optional.getPscAutoConnections(int index) Optional.intOptional.Optional.getPscAutoConnectionsOrBuilder(int index) Optional.List<? extends Instance.PscAutoConnectionConfigOrBuilder>Optional.Output only.com.google.protobuf.ByteStringOutput only.getPscInterfaceConfigs(int index) Optional.intOptional.Optional.getPscInterfaceConfigsOrBuilder(int index) Optional.List<? extends Instance.PscInterfaceConfigOrBuilder>Optional.Output only.com.google.protobuf.ByteStringOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getServiceAttachmentLink
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:
- The serviceAttachmentLink.
-
getServiceAttachmentLinkBytes
com.google.protobuf.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:
- The bytes for serviceAttachmentLink.
-
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:
- A list containing the allowedConsumerProjects.
-
getAllowedConsumerProjectsCount
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:
- The count of allowedConsumerProjects.
-
getAllowedConsumerProjects
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];- Parameters:
index- The index of the element to return.- Returns:
- The allowedConsumerProjects at the given index.
-
getAllowedConsumerProjectsBytes
com.google.protobuf.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];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the allowedConsumerProjects at the given index.
-
getPscDnsName
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:
- The pscDnsName.
-
getPscDnsNameBytes
com.google.protobuf.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:
- The bytes for pscDnsName.
-
getPscInterfaceConfigsList
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]; -
getPscInterfaceConfigs
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]; -
getPscInterfaceConfigsCount
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]; -
getPscInterfaceConfigsOrBuilderList
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]; -
getPscInterfaceConfigsOrBuilder
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]; -
getPscAutoConnectionsList
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]; -
getPscAutoConnections
Optional. Configurations for setting up PSC service automation.
repeated .google.cloud.alloydb.v1beta.Instance.PscAutoConnectionConfig psc_auto_connections = 9 [(.google.api.field_behavior) = OPTIONAL]; -
getPscAutoConnectionsCount
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]; -
getPscAutoConnectionsOrBuilderList
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]; -
getPscAutoConnectionsOrBuilder
Optional. Configurations for setting up PSC service automation.
repeated .google.cloud.alloydb.v1beta.Instance.PscAutoConnectionConfig psc_auto_connections = 9 [(.google.api.field_behavior) = OPTIONAL];
-