Interface Instance.PrivateConfigOrBuilder (0.25.0)

public static interface Instance.PrivateConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCaPool()

public abstract String getCaPool()

Required. Immutable. CA pool resource, resource must in the format of projects/{project}/locations/{location}/caPools/{ca_pool}.

string ca_pool = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The caPool.

getCaPoolBytes()

public abstract ByteString getCaPoolBytes()

Required. Immutable. CA pool resource, resource must in the format of projects/{project}/locations/{location}/caPools/{ca_pool}.

string ca_pool = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for caPool.

getHttpServiceAttachment()

public abstract String getHttpServiceAttachment()

Output only. Service Attachment for HTTP, resource is in the format of projects/{project}/regions/{region}/serviceAttachments/{service_attachment}.

string http_service_attachment = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The httpServiceAttachment.

getHttpServiceAttachmentBytes()

public abstract ByteString getHttpServiceAttachmentBytes()

Output only. Service Attachment for HTTP, resource is in the format of projects/{project}/regions/{region}/serviceAttachments/{service_attachment}.

string http_service_attachment = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for httpServiceAttachment.

getIsPrivate()

public abstract boolean getIsPrivate()

Required. Immutable. Indicate if it's private instance.

bool is_private = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

The isPrivate.

getPscAllowedProjects(int index)

public abstract String getPscAllowedProjects(int index)

Optional. Additional allowed projects for setting up PSC connections. Instance host project is automatically allowed and does not need to be included in this list.

repeated string psc_allowed_projects = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The pscAllowedProjects at the given index.

getPscAllowedProjectsBytes(int index)

public abstract ByteString getPscAllowedProjectsBytes(int index)

Optional. Additional allowed projects for setting up PSC connections. Instance host project is automatically allowed and does not need to be included in this list.

repeated string psc_allowed_projects = 6 [(.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 pscAllowedProjects at the given index.

getPscAllowedProjectsCount()

public abstract int getPscAllowedProjectsCount()

Optional. Additional allowed projects for setting up PSC connections. Instance host project is automatically allowed and does not need to be included in this list.

repeated string psc_allowed_projects = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of pscAllowedProjects.

getPscAllowedProjectsList()

public abstract List<String> getPscAllowedProjectsList()

Optional. Additional allowed projects for setting up PSC connections. Instance host project is automatically allowed and does not need to be included in this list.

repeated string psc_allowed_projects = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the pscAllowedProjects.

getSshServiceAttachment()

public abstract String getSshServiceAttachment()

Output only. Service Attachment for SSH, resource is in the format of projects/{project}/regions/{region}/serviceAttachments/{service_attachment}.

string ssh_service_attachment = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The sshServiceAttachment.

getSshServiceAttachmentBytes()

public abstract ByteString getSshServiceAttachmentBytes()

Output only. Service Attachment for SSH, resource is in the format of projects/{project}/regions/{region}/serviceAttachments/{service_attachment}.

string ssh_service_attachment = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for sshServiceAttachment.