Class UpdateInstancePartitionRequest.Builder (6.69.0)

public static final class UpdateInstancePartitionRequest.Builder extends GeneratedMessageV3.Builder<UpdateInstancePartitionRequest.Builder> implements UpdateInstancePartitionRequestOrBuilder

The request for UpdateInstancePartition.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateInstancePartitionRequest build()
Returns
Type Description
UpdateInstancePartitionRequest

buildPartial()

public UpdateInstancePartitionRequest buildPartial()
Returns
Type Description
UpdateInstancePartitionRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFieldMask()

public UpdateInstancePartitionRequest.Builder clearFieldMask()

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

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

Returns
Type Description
UpdateInstancePartitionRequest.Builder

clearInstancePartition()

public UpdateInstancePartitionRequest.Builder clearInstancePartition()

Required. The instance partition to update, which must always include the instance partition name. Otherwise, only fields mentioned in field_mask need be included.

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

Returns
Type Description
UpdateInstancePartitionRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public UpdateInstancePartitionRequest getDefaultInstanceForType()
Returns
Type Description
UpdateInstancePartitionRequest

getDescriptorForType()

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

getFieldMask()

public FieldMask getFieldMask()

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

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

Returns
Type Description
FieldMask

The fieldMask.

getFieldMaskBuilder()

public FieldMask.Builder getFieldMaskBuilder()

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

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

Returns
Type Description
Builder

getFieldMaskOrBuilder()

public FieldMaskOrBuilder getFieldMaskOrBuilder()

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

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

Returns
Type Description
FieldMaskOrBuilder

getInstancePartition()

public InstancePartition getInstancePartition()

Required. The instance partition to update, which must always include the instance partition name. Otherwise, only fields mentioned in field_mask need be included.

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

Returns
Type Description
InstancePartition

The instancePartition.

getInstancePartitionBuilder()

public InstancePartition.Builder getInstancePartitionBuilder()

Required. The instance partition to update, which must always include the instance partition name. Otherwise, only fields mentioned in field_mask need be included.

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

Returns
Type Description
InstancePartition.Builder

getInstancePartitionOrBuilder()

public InstancePartitionOrBuilder getInstancePartitionOrBuilder()

Required. The instance partition to update, which must always include the instance partition name. Otherwise, only fields mentioned in field_mask need be included.

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

Returns
Type Description
InstancePartitionOrBuilder

hasFieldMask()

public boolean hasFieldMask()

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

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

Returns
Type Description
boolean

Whether the fieldMask field is set.

hasInstancePartition()

public boolean hasInstancePartition()

Required. The instance partition to update, which must always include the instance partition name. Otherwise, only fields mentioned in field_mask need be included.

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

Returns
Type Description
boolean

Whether the instancePartition field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFieldMask(FieldMask value)

public UpdateInstancePartitionRequest.Builder mergeFieldMask(FieldMask value)

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

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateInstancePartitionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(UpdateInstancePartitionRequest other)

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

mergeInstancePartition(InstancePartition value)

public UpdateInstancePartitionRequest.Builder mergeInstancePartition(InstancePartition value)

Required. The instance partition to update, which must always include the instance partition name. Otherwise, only fields mentioned in field_mask need be included.

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

Parameter
Name Description
value InstancePartition
Returns
Type Description
UpdateInstancePartitionRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFieldMask(FieldMask value)

public UpdateInstancePartitionRequest.Builder setFieldMask(FieldMask value)

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

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateInstancePartitionRequest.Builder

setFieldMask(FieldMask.Builder builderForValue)

public UpdateInstancePartitionRequest.Builder setFieldMask(FieldMask.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateInstancePartitionRequest.Builder

setInstancePartition(InstancePartition value)

public UpdateInstancePartitionRequest.Builder setInstancePartition(InstancePartition value)

Required. The instance partition to update, which must always include the instance partition name. Otherwise, only fields mentioned in field_mask need be included.

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

Parameter
Name Description
value InstancePartition
Returns
Type Description
UpdateInstancePartitionRequest.Builder

setInstancePartition(InstancePartition.Builder builderForValue)

public UpdateInstancePartitionRequest.Builder setInstancePartition(InstancePartition.Builder builderForValue)

Required. The instance partition to update, which must always include the instance partition name. Otherwise, only fields mentioned in field_mask need be included.

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

Parameter
Name Description
builderForValue InstancePartition.Builder
Returns
Type Description
UpdateInstancePartitionRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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