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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeleteInstanceConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overridesbuild()
public DeleteInstanceConfigRequest build()
buildPartial()
public DeleteInstanceConfigRequest buildPartial()
clear()
public DeleteInstanceConfigRequest.Builder clear()
OverridesclearEtag()
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;
clearField(Descriptors.FieldDescriptor field)
public DeleteInstanceConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
OverridesclearName()
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) = { ... }
clearOneof(Descriptors.OneofDescriptor oneof)
public DeleteInstanceConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
OverridesclearValidateOnly()
public DeleteInstanceConfigRequest.Builder clearValidateOnly()
An option to validate, but not actually execute, a request, and provide the same response.
bool validate_only = 3;
clone()
public DeleteInstanceConfigRequest.Builder clone()
OverridesgetDefaultInstanceForType()
public DeleteInstanceConfigRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
OverridesgetEtag()
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 |
---|
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 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 |
---|
Type | Description |
ByteString | The bytes for etag. |
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()
OverridesisInitialized()
public final boolean isInitialized()
Overridespublic DeleteInstanceConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
OverridesmergeFrom(Message other)
public DeleteInstanceConfigRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
OverridesmergeFrom(DeleteInstanceConfigRequest other)
public DeleteInstanceConfigRequest.Builder mergeFrom(DeleteInstanceConfigRequest other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeleteInstanceConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
OverridessetEtag(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 |
---|
Name | Description |
value | String
The etag to set. |
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 |
---|
Name | Description |
value | ByteString
The bytes for etag to set. |
setField(Descriptors.FieldDescriptor field, Object value)
public DeleteInstanceConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
OverridessetName(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. |
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. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeleteInstanceConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
OverridessetUnknownFields(UnknownFieldSet unknownFields)
public final DeleteInstanceConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
OverridessetValidateOnly(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. |