Interface CreateInstanceConfigRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CreateInstanceConfigRequest, CreateInstanceConfigRequest.Builder

public interface CreateInstanceConfigRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getParent

      String getParent()
       Required. The name of the project in which to create the instance
       configuration. Values are of the form `projects/<project>`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Required. The name of the project in which to create the instance
       configuration. Values are of the form `projects/<project>`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • getInstanceConfigId

      String getInstanceConfigId()
       Required. The ID of the instance configuration to create. Valid identifiers
       are of the form `custom-[-a-z0-9]*[a-z0-9]` and must be between 2 and 64
       characters in length. The `custom-` prefix is required to avoid name
       conflicts with Google-managed configurations.
       
      string instance_config_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The instanceConfigId.
    • getInstanceConfigIdBytes

      com.google.protobuf.ByteString getInstanceConfigIdBytes()
       Required. The ID of the instance configuration to create. Valid identifiers
       are of the form `custom-[-a-z0-9]*[a-z0-9]` and must be between 2 and 64
       characters in length. The `custom-` prefix is required to avoid name
       conflicts with Google-managed configurations.
       
      string instance_config_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for instanceConfigId.
    • hasInstanceConfig

      boolean hasInstanceConfig()
       Required. The `InstanceConfig` proto of the configuration to create.
       `instance_config.name` must be
       `<parent>/instanceConfigs/<instance_config_id>`.
       `instance_config.base_config` must be a Google-managed configuration name,
       e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
       
      .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the instanceConfig field is set.
    • getInstanceConfig

      InstanceConfig getInstanceConfig()
       Required. The `InstanceConfig` proto of the configuration to create.
       `instance_config.name` must be
       `<parent>/instanceConfigs/<instance_config_id>`.
       `instance_config.base_config` must be a Google-managed configuration name,
       e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
       
      .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The instanceConfig.
    • getInstanceConfigOrBuilder

      InstanceConfigOrBuilder getInstanceConfigOrBuilder()
       Required. The `InstanceConfig` proto of the configuration to create.
       `instance_config.name` must be
       `<parent>/instanceConfigs/<instance_config_id>`.
       `instance_config.base_config` must be a Google-managed configuration name,
       e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
       
      .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED];
    • getValidateOnly

      boolean getValidateOnly()
       An option to validate, but not actually execute, a request,
       and provide the same response.
       
      bool validate_only = 4;
      Returns:
      The validateOnly.