Interface Instance.PscInstanceInfoOrBuilder (0.88.0)

public static interface Instance.PscInstanceInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEffectivePscAutoConnectionPolicy()

public abstract boolean getEffectivePscAutoConnectionPolicy()

Output only. Indicates if the PSC auto connection policy is enabled for the instance. For older instances, this will be off by default, but for newer instances, this will be auto-enabled.

bool effective_psc_auto_connection_policy = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The effectivePscAutoConnectionPolicy.

getEffectivePscAutoDnsEnabled()

public abstract boolean getEffectivePscAutoDnsEnabled()

Output only. The effective state of the PSC auto DNS for the instance.

bool effective_psc_auto_dns_enabled = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The effectivePscAutoDnsEnabled.

getPscAutoDnsNames(int index)

public abstract String getPscAutoDnsNames(int index)

Output only. Specifies the auto DNS names for the instance.

repeated string psc_auto_dns_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The pscAutoDnsNames at the given index.

getPscAutoDnsNamesBytes(int index)

public abstract ByteString getPscAutoDnsNamesBytes(int index)

Output only. Specifies the auto DNS names for the instance.

repeated string psc_auto_dns_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the pscAutoDnsNames at the given index.

getPscAutoDnsNamesCount()

public abstract int getPscAutoDnsNamesCount()

Output only. Specifies the auto DNS names for the instance.

repeated string psc_auto_dns_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of pscAutoDnsNames.

getPscAutoDnsNamesList()

public abstract List<String> getPscAutoDnsNamesList()

Output only. Specifies the auto DNS names for the instance.

repeated string psc_auto_dns_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<String>

A list containing the pscAutoDnsNames.

getServiceConnectionPolicy()

public abstract String getServiceConnectionPolicy()

Output only. The PSC service connection policy name. The format is "projects/<PROJECT_ID>/regions/<REGION_ID>/serviceConnectionPolicies/<alloydb-$NETWORK-$RANDOM-scp>"

string service_connection_policy = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The serviceConnectionPolicy.

getServiceConnectionPolicyBytes()

public abstract ByteString getServiceConnectionPolicyBytes()

Output only. The PSC service connection policy name. The format is "projects/<PROJECT_ID>/regions/<REGION_ID>/serviceConnectionPolicies/<alloydb-$NETWORK-$RANDOM-scp>"

string service_connection_policy = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for serviceConnectionPolicy.