Class UpdateInstancePartitionRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<UpdateInstancePartitionRequest.Builder>
com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, UpdateInstancePartitionRequestOrBuilder, Cloneable
Enclosing class:
UpdateInstancePartitionRequest

public static final class UpdateInstancePartitionRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateInstancePartitionRequest.Builder> implements UpdateInstancePartitionRequestOrBuilder
 The request for
 [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition].
 
Protobuf type google.spanner.admin.instance.v1.UpdateInstancePartitionRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateInstancePartitionRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateInstancePartitionRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateInstancePartitionRequest.Builder>
    • getDefaultInstanceForType

      public UpdateInstancePartitionRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public UpdateInstancePartitionRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateInstancePartitionRequest.Builder>
    • setField

      public UpdateInstancePartitionRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateInstancePartitionRequest.Builder>
    • clearField

      public UpdateInstancePartitionRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateInstancePartitionRequest.Builder>
    • clearOneof

      public UpdateInstancePartitionRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateInstancePartitionRequest.Builder>
    • setRepeatedField

      public UpdateInstancePartitionRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateInstancePartitionRequest.Builder>
    • addRepeatedField

      public UpdateInstancePartitionRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateInstancePartitionRequest.Builder>
    • mergeFrom

      public UpdateInstancePartitionRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateInstancePartitionRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateInstancePartitionRequest.Builder>
    • mergeFrom

      public UpdateInstancePartitionRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateInstancePartitionRequest.Builder>
      Throws:
      IOException
    • 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][google.spanner.admin.instance.v1.UpdateInstancePartitionRequest.field_mask]
       need be included.
       
      .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasInstancePartition in interface UpdateInstancePartitionRequestOrBuilder
      Returns:
      Whether the instancePartition field is set.
    • 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][google.spanner.admin.instance.v1.UpdateInstancePartitionRequest.field_mask]
       need be included.
       
      .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInstancePartition in interface UpdateInstancePartitionRequestOrBuilder
      Returns:
      The instancePartition.
    • setInstancePartition

      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][google.spanner.admin.instance.v1.UpdateInstancePartitionRequest.field_mask]
       need be included.
       
      .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1 [(.google.api.field_behavior) = REQUIRED];
    • setInstancePartition

      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][google.spanner.admin.instance.v1.UpdateInstancePartitionRequest.field_mask]
       need be included.
       
      .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeInstancePartition

      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][google.spanner.admin.instance.v1.UpdateInstancePartitionRequest.field_mask]
       need be included.
       
      .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1 [(.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][google.spanner.admin.instance.v1.UpdateInstancePartitionRequest.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][google.spanner.admin.instance.v1.UpdateInstancePartitionRequest.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][google.spanner.admin.instance.v1.UpdateInstancePartitionRequest.field_mask]
       need be included.
       
      .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInstancePartitionOrBuilder in interface UpdateInstancePartitionRequestOrBuilder
    • hasFieldMask

      public boolean hasFieldMask()
       Required. A mask specifying which fields in
       [InstancePartition][google.spanner.admin.instance.v1.InstancePartition]
       should be updated. The field mask must always be specified; this prevents
       any future fields in
       [InstancePartition][google.spanner.admin.instance.v1.InstancePartition]
       from being erased accidentally by clients that do not know about them.
       
      .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasFieldMask in interface UpdateInstancePartitionRequestOrBuilder
      Returns:
      Whether the fieldMask field is set.
    • getFieldMask

      public com.google.protobuf.FieldMask getFieldMask()
       Required. A mask specifying which fields in
       [InstancePartition][google.spanner.admin.instance.v1.InstancePartition]
       should be updated. The field mask must always be specified; this prevents
       any future fields in
       [InstancePartition][google.spanner.admin.instance.v1.InstancePartition]
       from being erased accidentally by clients that do not know about them.
       
      .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFieldMask in interface UpdateInstancePartitionRequestOrBuilder
      Returns:
      The fieldMask.
    • setFieldMask

      public UpdateInstancePartitionRequest.Builder setFieldMask(com.google.protobuf.FieldMask value)
       Required. A mask specifying which fields in
       [InstancePartition][google.spanner.admin.instance.v1.InstancePartition]
       should be updated. The field mask must always be specified; this prevents
       any future fields in
       [InstancePartition][google.spanner.admin.instance.v1.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

      public UpdateInstancePartitionRequest.Builder setFieldMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Required. A mask specifying which fields in
       [InstancePartition][google.spanner.admin.instance.v1.InstancePartition]
       should be updated. The field mask must always be specified; this prevents
       any future fields in
       [InstancePartition][google.spanner.admin.instance.v1.InstancePartition]
       from being erased accidentally by clients that do not know about them.
       
      .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeFieldMask

      public UpdateInstancePartitionRequest.Builder mergeFieldMask(com.google.protobuf.FieldMask value)
       Required. A mask specifying which fields in
       [InstancePartition][google.spanner.admin.instance.v1.InstancePartition]
       should be updated. The field mask must always be specified; this prevents
       any future fields in
       [InstancePartition][google.spanner.admin.instance.v1.InstancePartition]
       from being erased accidentally by clients that do not know about them.
       
      .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearFieldMask

      public UpdateInstancePartitionRequest.Builder clearFieldMask()
       Required. A mask specifying which fields in
       [InstancePartition][google.spanner.admin.instance.v1.InstancePartition]
       should be updated. The field mask must always be specified; this prevents
       any future fields in
       [InstancePartition][google.spanner.admin.instance.v1.InstancePartition]
       from being erased accidentally by clients that do not know about them.
       
      .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • getFieldMaskBuilder

      public com.google.protobuf.FieldMask.Builder getFieldMaskBuilder()
       Required. A mask specifying which fields in
       [InstancePartition][google.spanner.admin.instance.v1.InstancePartition]
       should be updated. The field mask must always be specified; this prevents
       any future fields in
       [InstancePartition][google.spanner.admin.instance.v1.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 com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder()
       Required. A mask specifying which fields in
       [InstancePartition][google.spanner.admin.instance.v1.InstancePartition]
       should be updated. The field mask must always be specified; this prevents
       any future fields in
       [InstancePartition][google.spanner.admin.instance.v1.InstancePartition]
       from being erased accidentally by clients that do not know about them.
       
      .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFieldMaskOrBuilder in interface UpdateInstancePartitionRequestOrBuilder
    • setUnknownFields

      public final UpdateInstancePartitionRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateInstancePartitionRequest.Builder>
    • mergeUnknownFields

      public final UpdateInstancePartitionRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateInstancePartitionRequest.Builder>