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 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

      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:
      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

      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];
      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

       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];