Interface CreateInstanceConfigRequestOrBuilder (6.65.1)

public interface CreateInstanceConfigRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInstanceConfig()

public abstract 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
Type Description
InstanceConfig

The instanceConfig.

getInstanceConfigId()

public abstract String getInstanceConfigId()

Required. The ID of the instance config 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
Type Description
String

The instanceConfigId.

getInstanceConfigIdBytes()

public abstract ByteString getInstanceConfigIdBytes()

Required. The ID of the instance config 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
Type Description
ByteString

The bytes for instanceConfigId.

getInstanceConfigOrBuilder()

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

Returns
Type Description
InstanceConfigOrBuilder

getParent()

public abstract String getParent()

Required. The name of the project in which to create the instance config. Values are of the form projects/<project>.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The name of the project in which to create the instance config. Values are of the form projects/<project>.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getValidateOnly()

public abstract boolean getValidateOnly()

An option to validate, but not actually execute, a request, and provide the same response.

bool validate_only = 4;

Returns
Type Description
boolean

The validateOnly.

hasInstanceConfig()

public abstract 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
Type Description
boolean

Whether the instanceConfig field is set.