public static interface Instance.PscInstanceConfigOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getAllowedConsumerNetworks(int index)
public abstract String getAllowedConsumerNetworks(int index)
Optional. List of consumer networks that are allowed to create PSC endpoints to service-attachments to this instance.
repeated string allowed_consumer_networks = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The allowedConsumerNetworks at the given index. |
getAllowedConsumerNetworksBytes(int index)
public abstract ByteString getAllowedConsumerNetworksBytes(int index)
Optional. List of consumer networks that are allowed to create PSC endpoints to service-attachments to this instance.
repeated string allowed_consumer_networks = 3 [(.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 allowedConsumerNetworks at the given index. |
getAllowedConsumerNetworksCount()
public abstract int getAllowedConsumerNetworksCount()
Optional. List of consumer networks that are allowed to create PSC endpoints to service-attachments to this instance.
repeated string allowed_consumer_networks = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The count of allowedConsumerNetworks. |
getAllowedConsumerNetworksList()
public abstract List<String> getAllowedConsumerNetworksList()
Optional. List of consumer networks that are allowed to create PSC endpoints to service-attachments to this instance.
repeated string allowed_consumer_networks = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<String> |
A list containing the allowedConsumerNetworks. |
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. |
getOutgoingServiceAttachmentLinks(int index)
public abstract String getOutgoingServiceAttachmentLinks(int index)
Optional. List of service attachments that this instance has created endpoints to connect with. Currently, only a single outgoing service attachment is supported per instance.
repeated string outgoing_service_attachment_links = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The outgoingServiceAttachmentLinks at the given index. |
getOutgoingServiceAttachmentLinksBytes(int index)
public abstract ByteString getOutgoingServiceAttachmentLinksBytes(int index)
Optional. List of service attachments that this instance has created endpoints to connect with. Currently, only a single outgoing service attachment is supported per instance.
repeated string outgoing_service_attachment_links = 5 [(.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 outgoingServiceAttachmentLinks at the given index. |
getOutgoingServiceAttachmentLinksCount()
public abstract int getOutgoingServiceAttachmentLinksCount()
Optional. List of service attachments that this instance has created endpoints to connect with. Currently, only a single outgoing service attachment is supported per instance.
repeated string outgoing_service_attachment_links = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The count of outgoingServiceAttachmentLinks. |
getOutgoingServiceAttachmentLinksList()
public abstract List<String> getOutgoingServiceAttachmentLinksList()
Optional. List of service attachments that this instance has created endpoints to connect with. Currently, only a single outgoing service attachment is supported per instance.
repeated string outgoing_service_attachment_links = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<String> |
A list containing the outgoingServiceAttachmentLinks. |
getPscEnabled()
public abstract boolean getPscEnabled()
Optional. Whether PSC connectivity is enabled for this instance. This is populated by referencing the value from the parent cluster.
bool psc_enabled = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
The pscEnabled. |
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. All the VMs created for the primary instance will share the same configurations. Currently we only support 0 or 1 PSC interface.
repeated .google.cloud.alloydb.v1beta.Instance.PscInterfaceConfig psc_interface_configs = 4 [(.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. All the VMs created for the primary instance will share the same configurations. Currently we only support 0 or 1 PSC interface.
repeated .google.cloud.alloydb.v1beta.Instance.PscInterfaceConfig psc_interface_configs = 4 [(.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. All the VMs created for the primary instance will share the same configurations. Currently we only support 0 or 1 PSC interface.
repeated .google.cloud.alloydb.v1beta.Instance.PscInterfaceConfig psc_interface_configs = 4 [(.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. All the VMs created for the primary instance will share the same configurations. Currently we only support 0 or 1 PSC interface.
repeated .google.cloud.alloydb.v1beta.Instance.PscInterfaceConfig psc_interface_configs = 4 [(.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. All the VMs created for the primary instance will share the same configurations. Currently we only support 0 or 1 PSC interface.
repeated .google.cloud.alloydb.v1beta.Instance.PscInterfaceConfig psc_interface_configs = 4 [(.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];
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. |