Class DeleteInstanceConfigRequest.Builder (6.80.1)

public static final class DeleteInstanceConfigRequest.Builder extends GeneratedMessageV3.Builder<DeleteInstanceConfigRequest.Builder> implements DeleteInstanceConfigRequestOrBuilder

The request for DeleteInstanceConfigRequest.

Protobuf type google.spanner.admin.instance.v1.DeleteInstanceConfigRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeleteInstanceConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeleteInstanceConfigRequest.Builder
Overrides

build()

public DeleteInstanceConfigRequest build()
Returns
Type Description
DeleteInstanceConfigRequest

buildPartial()

public DeleteInstanceConfigRequest buildPartial()
Returns
Type Description
DeleteInstanceConfigRequest

clear()

public DeleteInstanceConfigRequest.Builder clear()
Returns
Type Description
DeleteInstanceConfigRequest.Builder
Overrides

clearEtag()

public DeleteInstanceConfigRequest.Builder clearEtag()

Used for optimistic concurrency control as a way to help prevent simultaneous deletes of an instance configuration from overwriting each other. If not empty, the API only deletes the instance configuration when the etag provided matches the current status of the requested instance configuration. Otherwise, deletes the instance configuration without checking the current status of the requested instance configuration.

string etag = 2;

Returns
Type Description
DeleteInstanceConfigRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DeleteInstanceConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DeleteInstanceConfigRequest.Builder
Overrides

clearName()

public DeleteInstanceConfigRequest.Builder clearName()

Required. The name of the instance configuration to be deleted. Values are of the form projects/<project>/instanceConfigs/<instance_config>

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

Returns
Type Description
DeleteInstanceConfigRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeleteInstanceConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DeleteInstanceConfigRequest.Builder
Overrides

clearValidateOnly()

public DeleteInstanceConfigRequest.Builder clearValidateOnly()

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

bool validate_only = 3;

Returns
Type Description
DeleteInstanceConfigRequest.Builder

This builder for chaining.

clone()

public DeleteInstanceConfigRequest.Builder clone()
Returns
Type Description
DeleteInstanceConfigRequest.Builder
Overrides

getDefaultInstanceForType()

public DeleteInstanceConfigRequest getDefaultInstanceForType()
Returns
Type Description
DeleteInstanceConfigRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEtag()

public String getEtag()

Used for optimistic concurrency control as a way to help prevent simultaneous deletes of an instance configuration from overwriting each other. If not empty, the API only deletes the instance configuration when the etag provided matches the current status of the requested instance configuration. Otherwise, deletes the instance configuration without checking the current status of the requested instance configuration.

string etag = 2;

Returns
Type Description
String

The etag.

getEtagBytes()

public ByteString getEtagBytes()

Used for optimistic concurrency control as a way to help prevent simultaneous deletes of an instance configuration from overwriting each other. If not empty, the API only deletes the instance configuration when the etag provided matches the current status of the requested instance configuration. Otherwise, deletes the instance configuration without checking the current status of the requested instance configuration.

string etag = 2;

Returns
Type Description
ByteString

The bytes for etag.

getName()

public String getName()

Required. The name of the instance configuration to be deleted. Values are of the form projects/<project>/instanceConfigs/<instance_config>

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the instance configuration to be deleted. Values are of the form projects/<project>/instanceConfigs/<instance_config>

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

Returns
Type Description
ByteString

The bytes for name.

getValidateOnly()

public boolean getValidateOnly()

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

bool validate_only = 3;

Returns
Type Description
boolean

The validateOnly.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeleteInstanceConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeleteInstanceConfigRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DeleteInstanceConfigRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DeleteInstanceConfigRequest.Builder
Overrides

mergeFrom(DeleteInstanceConfigRequest other)

public DeleteInstanceConfigRequest.Builder mergeFrom(DeleteInstanceConfigRequest other)
Parameter
Name Description
other DeleteInstanceConfigRequest
Returns
Type Description
DeleteInstanceConfigRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteInstanceConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeleteInstanceConfigRequest.Builder
Overrides

setEtag(String value)

public DeleteInstanceConfigRequest.Builder setEtag(String value)

Used for optimistic concurrency control as a way to help prevent simultaneous deletes of an instance configuration from overwriting each other. If not empty, the API only deletes the instance configuration when the etag provided matches the current status of the requested instance configuration. Otherwise, deletes the instance configuration without checking the current status of the requested instance configuration.

string etag = 2;

Parameter
Name Description
value String

The etag to set.

Returns
Type Description
DeleteInstanceConfigRequest.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public DeleteInstanceConfigRequest.Builder setEtagBytes(ByteString value)

Used for optimistic concurrency control as a way to help prevent simultaneous deletes of an instance configuration from overwriting each other. If not empty, the API only deletes the instance configuration when the etag provided matches the current status of the requested instance configuration. Otherwise, deletes the instance configuration without checking the current status of the requested instance configuration.

string etag = 2;

Parameter
Name Description
value ByteString

The bytes for etag to set.

Returns
Type Description
DeleteInstanceConfigRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DeleteInstanceConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeleteInstanceConfigRequest.Builder
Overrides

setName(String value)

public DeleteInstanceConfigRequest.Builder setName(String value)

Required. The name of the instance configuration to be deleted. Values are of the form projects/<project>/instanceConfigs/<instance_config>

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DeleteInstanceConfigRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteInstanceConfigRequest.Builder setNameBytes(ByteString value)

Required. The name of the instance configuration to be deleted. Values are of the form projects/<project>/instanceConfigs/<instance_config>

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DeleteInstanceConfigRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DeleteInstanceConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DeleteInstanceConfigRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeleteInstanceConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeleteInstanceConfigRequest.Builder
Overrides

setValidateOnly(boolean value)

public DeleteInstanceConfigRequest.Builder setValidateOnly(boolean value)

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

bool validate_only = 3;

Parameter
Name Description
value boolean

The validateOnly to set.

Returns
Type Description
DeleteInstanceConfigRequest.Builder

This builder for chaining.