public interface PscAutoConnectionConfigOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getConsumerNetwork()
public abstract String getConsumerNetwork()Optional. The consumer network of this consumer endpoint. This must be a resource path that includes both the host project and the network name.
For example, projects/project1/global/networks/network1.
The consumer host project of this network might be different from the consumer service project.
string consumer_network = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The consumerNetwork. |
getConsumerNetworkBytes()
public abstract ByteString getConsumerNetworkBytes()Optional. The consumer network of this consumer endpoint. This must be a resource path that includes both the host project and the network name.
For example, projects/project1/global/networks/network1.
The consumer host project of this network might be different from the consumer service project.
string consumer_network = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for consumerNetwork. |
getConsumerNetworkStatus()
public abstract String getConsumerNetworkStatus()The connection policy status of the consumer network.
optional string consumer_network_status = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The consumerNetworkStatus. |
getConsumerNetworkStatusBytes()
public abstract ByteString getConsumerNetworkStatusBytes()The connection policy status of the consumer network.
optional string consumer_network_status = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for consumerNetworkStatus. |
getConsumerProject()
public abstract String getConsumerProject()Optional. This is the project ID of consumer service project of this consumer endpoint.
This is only applicable if consumer_network is a shared VPC
network.
string consumer_project = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The consumerProject. |
getConsumerProjectBytes()
public abstract ByteString getConsumerProjectBytes()Optional. This is the project ID of consumer service project of this consumer endpoint.
This is only applicable if consumer_network is a shared VPC
network.
string consumer_project = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for consumerProject. |
getInstanceAutoDnsStatus()
public abstract AutoDnsStatus getInstanceAutoDnsStatus()Output only. The status of automated DNS provisioning.
optional .google.cloud.sql.v1.AutoDnsStatus instance_auto_dns_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AutoDnsStatus |
The instanceAutoDnsStatus. |
getInstanceAutoDnsStatusValue()
public abstract int getInstanceAutoDnsStatusValue()Output only. The status of automated DNS provisioning.
optional .google.cloud.sql.v1.AutoDnsStatus instance_auto_dns_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for instanceAutoDnsStatus. |
getIpAddress()
public abstract String getIpAddress()The IP address of the consumer endpoint.
optional string ip_address = 3 [(.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The ipAddress. |
getIpAddressBytes()
public abstract ByteString getIpAddressBytes()The IP address of the consumer endpoint.
optional string ip_address = 3 [(.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for ipAddress. |
getServiceConnectionPolicy()
public abstract String getServiceConnectionPolicy() Output only. The service connection policy created automatically for the
consumer network when psc_auto_connection_policy_enabled is true. It is
in the format of:
projects/{project}/regions/{region}/serviceConnectionPolicies/{policy_id}
The policy_id is in format of $NETWORK-$RANDOM.
optional string service_connection_policy = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The serviceConnectionPolicy. |
getServiceConnectionPolicyBytes()
public abstract ByteString getServiceConnectionPolicyBytes() Output only. The service connection policy created automatically for the
consumer network when psc_auto_connection_policy_enabled is true. It is
in the format of:
projects/{project}/regions/{region}/serviceConnectionPolicies/{policy_id}
The policy_id is in format of $NETWORK-$RANDOM.
optional string service_connection_policy = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for serviceConnectionPolicy. |
getServiceConnectionPolicyCreationResult()
public abstract String getServiceConnectionPolicyCreationResult()Output only. The status of service connection policy creation.
optional string service_connection_policy_creation_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The serviceConnectionPolicyCreationResult. |
getServiceConnectionPolicyCreationResultBytes()
public abstract ByteString getServiceConnectionPolicyCreationResultBytes()Output only. The status of service connection policy creation.
optional string service_connection_policy_creation_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for serviceConnectionPolicyCreationResult. |
getStatus()
public abstract String getStatus()The connection status of the consumer endpoint.
optional string status = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The status. |
getStatusBytes()
public abstract ByteString getStatusBytes()The connection status of the consumer endpoint.
optional string status = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for status. |
getWriteEndpointAutoDnsStatus()
public abstract AutoDnsStatus getWriteEndpointAutoDnsStatus()Output only. The status of automated DNS provisioning for the write endpoint.
optional .google.cloud.sql.v1.AutoDnsStatus write_endpoint_auto_dns_status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AutoDnsStatus |
The writeEndpointAutoDnsStatus. |
getWriteEndpointAutoDnsStatusValue()
public abstract int getWriteEndpointAutoDnsStatusValue()Output only. The status of automated DNS provisioning for the write endpoint.
optional .google.cloud.sql.v1.AutoDnsStatus write_endpoint_auto_dns_status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for writeEndpointAutoDnsStatus. |
hasConsumerNetworkStatus()
public abstract boolean hasConsumerNetworkStatus()The connection policy status of the consumer network.
optional string consumer_network_status = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the consumerNetworkStatus field is set. |
hasInstanceAutoDnsStatus()
public abstract boolean hasInstanceAutoDnsStatus()Output only. The status of automated DNS provisioning.
optional .google.cloud.sql.v1.AutoDnsStatus instance_auto_dns_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the instanceAutoDnsStatus field is set. |
hasIpAddress()
public abstract boolean hasIpAddress()The IP address of the consumer endpoint.
optional string ip_address = 3 [(.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the ipAddress field is set. |
hasServiceConnectionPolicy()
public abstract boolean hasServiceConnectionPolicy() Output only. The service connection policy created automatically for the
consumer network when psc_auto_connection_policy_enabled is true. It is
in the format of:
projects/{project}/regions/{region}/serviceConnectionPolicies/{policy_id}
The policy_id is in format of $NETWORK-$RANDOM.
optional string service_connection_policy = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the serviceConnectionPolicy field is set. |
hasServiceConnectionPolicyCreationResult()
public abstract boolean hasServiceConnectionPolicyCreationResult()Output only. The status of service connection policy creation.
optional string service_connection_policy_creation_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the serviceConnectionPolicyCreationResult field is set. |
hasStatus()
public abstract boolean hasStatus()The connection status of the consumer endpoint.
optional string status = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the status field is set. |
hasWriteEndpointAutoDnsStatus()
public abstract boolean hasWriteEndpointAutoDnsStatus()Output only. The status of automated DNS provisioning for the write endpoint.
optional .google.cloud.sql.v1.AutoDnsStatus write_endpoint_auto_dns_status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the writeEndpointAutoDnsStatus field is set. |