Interface Instance.PrivateConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Instance.PrivateConfig,Instance.PrivateConfig.Builder
- Enclosing class:
- Instance
public static interface Instance.PrivateConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.com.google.protobuf.ByteStringOptional.Optional.Optional.Output only.com.google.protobuf.ByteStringOutput only.booleanRequired.getPscAllowedProjects(int index) Optional.com.google.protobuf.ByteStringgetPscAllowedProjectsBytes(int index) Optional.intOptional.Optional.Output only.com.google.protobuf.ByteStringOutput only.booleanOptional.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
-
getIsPrivate
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:
- The isPrivate.
-
getCaPool
String getCaPool()Optional. 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) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- The caPool.
-
getCaPoolBytes
com.google.protobuf.ByteString getCaPoolBytes()Optional. 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) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for caPool.
-
getHttpServiceAttachment
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:
- The httpServiceAttachment.
-
getHttpServiceAttachmentBytes
com.google.protobuf.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:
- The bytes for httpServiceAttachment.
-
getSshServiceAttachment
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:
- The sshServiceAttachment.
-
getSshServiceAttachmentBytes
com.google.protobuf.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:
- The bytes for sshServiceAttachment.
-
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:
- A list containing the pscAllowedProjects.
-
getPscAllowedProjectsCount
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:
- The count of pscAllowedProjects.
-
getPscAllowedProjects
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];- Parameters:
index- The index of the element to return.- Returns:
- The pscAllowedProjects at the given index.
-
getPscAllowedProjectsBytes
com.google.protobuf.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];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the pscAllowedProjects at the given index.
-
hasCustomHostConfig
boolean hasCustomHostConfig()Optional. Custom host config for the instance.
.google.cloud.securesourcemanager.v1.Instance.PrivateConfig.CustomHostConfig custom_host_config = 7 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the customHostConfig field is set.
-
getCustomHostConfig
Instance.PrivateConfig.CustomHostConfig getCustomHostConfig()Optional. Custom host config for the instance.
.google.cloud.securesourcemanager.v1.Instance.PrivateConfig.CustomHostConfig custom_host_config = 7 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The customHostConfig.
-
getCustomHostConfigOrBuilder
Instance.PrivateConfig.CustomHostConfigOrBuilder getCustomHostConfigOrBuilder()Optional. Custom host config for the instance.
.google.cloud.securesourcemanager.v1.Instance.PrivateConfig.CustomHostConfig custom_host_config = 7 [(.google.api.field_behavior) = OPTIONAL];
-