public static final class UpdateInstancePartitionRequest.Builder extends GeneratedMessage.Builder<UpdateInstancePartitionRequest.Builder> implements UpdateInstancePartitionRequestOrBuilderThe request for UpdateInstancePartition.
Protobuf type google.spanner.admin.instance.v1.UpdateInstancePartitionRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateInstancePartitionRequest.BuilderImplements
UpdateInstancePartitionRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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 |
|
getDefaultInstanceForType()
public UpdateInstancePartitionRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateInstancePartitionRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateInstancePartitionRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateInstancePartitionRequest.Builder |
|
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 |
|
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 |
|