Class UpdateInstanceConfigRequest.Builder (6.50.1)

public static final class UpdateInstanceConfigRequest.Builder extends GeneratedMessageV3.Builder<UpdateInstanceConfigRequest.Builder> implements UpdateInstanceConfigRequestOrBuilder

The request for UpdateInstanceConfigRequest.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateInstanceConfigRequest build()
Returns
TypeDescription
UpdateInstanceConfigRequest

buildPartial()

public UpdateInstanceConfigRequest buildPartial()
Returns
TypeDescription
UpdateInstanceConfigRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public UpdateInstanceConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateInstanceConfigRequest.Builder
Overrides

clearInstanceConfig()

public UpdateInstanceConfigRequest.Builder clearInstanceConfig()

Required. The user instance config to update, which must always include the instance config name. Otherwise, only fields mentioned in update_mask need be included. To prevent conflicts of concurrent updates, etag can be used.

.google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateInstanceConfigRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateInstanceConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateInstanceConfigRequest.Builder
Overrides

clearUpdateMask()

public UpdateInstanceConfigRequest.Builder clearUpdateMask()

Required. A mask specifying which fields in InstanceConfig should be updated. The field mask must always be specified; this prevents any future fields in InstanceConfig from being erased accidentally by clients that do not know about them. Only display_name and labels can be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateInstanceConfigRequest.Builder

clearValidateOnly()

public UpdateInstanceConfigRequest.Builder clearValidateOnly()

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

bool validate_only = 3;

Returns
TypeDescription
UpdateInstanceConfigRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public UpdateInstanceConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateInstanceConfigRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInstanceConfig()

public InstanceConfig getInstanceConfig()

Required. The user instance config to update, which must always include the instance config name. Otherwise, only fields mentioned in update_mask need be included. To prevent conflicts of concurrent updates, etag can be used.

.google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
InstanceConfig

The instanceConfig.

getInstanceConfigBuilder()

public InstanceConfig.Builder getInstanceConfigBuilder()

Required. The user instance config to update, which must always include the instance config name. Otherwise, only fields mentioned in update_mask need be included. To prevent conflicts of concurrent updates, etag can be used.

.google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
InstanceConfig.Builder

getInstanceConfigOrBuilder()

public InstanceConfigOrBuilder getInstanceConfigOrBuilder()

Required. The user instance config to update, which must always include the instance config name. Otherwise, only fields mentioned in update_mask need be included. To prevent conflicts of concurrent updates, etag can be used.

.google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
InstanceConfigOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Required. A mask specifying which fields in InstanceConfig should be updated. The field mask must always be specified; this prevents any future fields in InstanceConfig from being erased accidentally by clients that do not know about them. Only display_name and labels can be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. A mask specifying which fields in InstanceConfig should be updated. The field mask must always be specified; this prevents any future fields in InstanceConfig from being erased accidentally by clients that do not know about them. Only display_name and labels can be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. A mask specifying which fields in InstanceConfig should be updated. The field mask must always be specified; this prevents any future fields in InstanceConfig from being erased accidentally by clients that do not know about them. Only display_name and labels can be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMaskOrBuilder

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.

hasInstanceConfig()

public boolean hasInstanceConfig()

Required. The user instance config to update, which must always include the instance config name. Otherwise, only fields mentioned in update_mask need be included. To prevent conflicts of concurrent updates, etag can be used.

.google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the instanceConfig field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. A mask specifying which fields in InstanceConfig should be updated. The field mask must always be specified; this prevents any future fields in InstanceConfig from being erased accidentally by clients that do not know about them. Only display_name and labels can be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(UpdateInstanceConfigRequest other)

public UpdateInstanceConfigRequest.Builder mergeFrom(UpdateInstanceConfigRequest other)
Parameter
NameDescription
otherUpdateInstanceConfigRequest
Returns
TypeDescription
UpdateInstanceConfigRequest.Builder

mergeInstanceConfig(InstanceConfig value)

public UpdateInstanceConfigRequest.Builder mergeInstanceConfig(InstanceConfig value)

Required. The user instance config to update, which must always include the instance config name. Otherwise, only fields mentioned in update_mask need be included. To prevent conflicts of concurrent updates, etag can be used.

.google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueInstanceConfig
Returns
TypeDescription
UpdateInstanceConfigRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateInstanceConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateInstanceConfigRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateInstanceConfigRequest.Builder mergeUpdateMask(FieldMask value)

Required. A mask specifying which fields in InstanceConfig should be updated. The field mask must always be specified; this prevents any future fields in InstanceConfig from being erased accidentally by clients that do not know about them. Only display_name and labels can be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateInstanceConfigRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstanceConfig(InstanceConfig value)

public UpdateInstanceConfigRequest.Builder setInstanceConfig(InstanceConfig value)

Required. The user instance config to update, which must always include the instance config name. Otherwise, only fields mentioned in update_mask need be included. To prevent conflicts of concurrent updates, etag can be used.

.google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueInstanceConfig
Returns
TypeDescription
UpdateInstanceConfigRequest.Builder

setInstanceConfig(InstanceConfig.Builder builderForValue)

public UpdateInstanceConfigRequest.Builder setInstanceConfig(InstanceConfig.Builder builderForValue)

Required. The user instance config to update, which must always include the instance config name. Otherwise, only fields mentioned in update_mask need be included. To prevent conflicts of concurrent updates, etag can be used.

.google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueInstanceConfig.Builder
Returns
TypeDescription
UpdateInstanceConfigRequest.Builder

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

public UpdateInstanceConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateInstanceConfigRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateInstanceConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateInstanceConfigRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateInstanceConfigRequest.Builder setUpdateMask(FieldMask value)

Required. A mask specifying which fields in InstanceConfig should be updated. The field mask must always be specified; this prevents any future fields in InstanceConfig from being erased accidentally by clients that do not know about them. Only display_name and labels can be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateInstanceConfigRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateInstanceConfigRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. A mask specifying which fields in InstanceConfig should be updated. The field mask must always be specified; this prevents any future fields in InstanceConfig from being erased accidentally by clients that do not know about them. Only display_name and labels can be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateInstanceConfigRequest.Builder

setValidateOnly(boolean value)

public UpdateInstanceConfigRequest.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
UpdateInstanceConfigRequest.Builder

This builder for chaining.