Class DeleteInstanceConfigRequest.Builder (6.58.0)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeleteInstanceConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeleteInstanceConfigRequest.Builder
Overrides

build()

public DeleteInstanceConfigRequest build()
Returns
TypeDescription
DeleteInstanceConfigRequest

buildPartial()

public DeleteInstanceConfigRequest buildPartial()
Returns
TypeDescription
DeleteInstanceConfigRequest

clear()

public DeleteInstanceConfigRequest.Builder clear()
Returns
TypeDescription
DeleteInstanceConfigRequest.Builder
Overrides

clearEtag()

public DeleteInstanceConfigRequest.Builder clearEtag()

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

string etag = 2;

Returns
TypeDescription
DeleteInstanceConfigRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DeleteInstanceConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
DeleteInstanceConfigRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeleteInstanceConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
DeleteInstanceConfigRequest.Builder

This builder for chaining.

clone()

public DeleteInstanceConfigRequest.Builder clone()
Returns
TypeDescription
DeleteInstanceConfigRequest.Builder
Overrides

getDefaultInstanceForType()

public DeleteInstanceConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteInstanceConfigRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEtag()

public String getEtag()

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

string etag = 2;

Returns
TypeDescription
String

The etag.

getEtagBytes()

public ByteString getEtagBytes()

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

string etag = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

The validateOnly.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeleteInstanceConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteInstanceConfigRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DeleteInstanceConfigRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DeleteInstanceConfigRequest.Builder
Overrides

mergeFrom(DeleteInstanceConfigRequest other)

public DeleteInstanceConfigRequest.Builder mergeFrom(DeleteInstanceConfigRequest other)
Parameter
NameDescription
otherDeleteInstanceConfigRequest
Returns
TypeDescription
DeleteInstanceConfigRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteInstanceConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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 config from overwriting each other. If not empty, the API only deletes the instance config when the etag provided matches the current status of the requested instance config. Otherwise, deletes the instance config without checking the current status of the requested instance config.

string etag = 2;

Parameter
NameDescription
valueString

The etag to set.

Returns
TypeDescription
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 config from overwriting each other. If not empty, the API only deletes the instance config when the etag provided matches the current status of the requested instance config. Otherwise, deletes the instance config without checking the current status of the requested instance config.

string etag = 2;

Parameter
NameDescription
valueByteString

The bytes for etag to set.

Returns
TypeDescription
DeleteInstanceConfigRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DeleteInstanceConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeleteInstanceConfigRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeleteInstanceConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The validateOnly to set.

Returns
TypeDescription
DeleteInstanceConfigRequest.Builder

This builder for chaining.