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
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 UpdateInstancePartitionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overridesbuild()
public UpdateInstancePartitionRequest build()
buildPartial()
public UpdateInstancePartitionRequest buildPartial()
clear()
public UpdateInstancePartitionRequest.Builder clear()
OverridesclearField(Descriptors.FieldDescriptor field)
public UpdateInstancePartitionRequest.Builder clearField(Descriptors.FieldDescriptor field)
OverridesclearFieldMask()
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];
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateInstancePartitionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overridesclone()
public UpdateInstancePartitionRequest.Builder clone()
OverridesgetDefaultInstanceForType()
public UpdateInstancePartitionRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
OverridesgetFieldMask()
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];
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];
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];
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];
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];
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()
OverridesisInitialized()
public final boolean isInitialized()
OverridesmergeFieldMask(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];
public UpdateInstancePartitionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
OverridesmergeFrom(Message other)
public UpdateInstancePartitionRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
OverridesmergeFrom(UpdateInstancePartitionRequest other)
public UpdateInstancePartitionRequest.Builder mergeFrom(UpdateInstancePartitionRequest other)
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateInstancePartitionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
OverridessetField(Descriptors.FieldDescriptor field, Object value)
public UpdateInstancePartitionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
OverridessetFieldMask(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];
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
|
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];
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];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateInstancePartitionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
OverridessetUnknownFields(UnknownFieldSet unknownFields)
public final UpdateInstancePartitionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides