Class UpdateInstancePartitionMetadata.Builder

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

public static final class UpdateInstancePartitionMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateInstancePartitionMetadata.Builder> implements UpdateInstancePartitionMetadataOrBuilder
 Metadata type for the operation returned by
 [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition].
 
Protobuf type google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata
  • 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<UpdateInstancePartitionMetadata.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<UpdateInstancePartitionMetadata.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<UpdateInstancePartitionMetadata.Builder>
    • getDefaultInstanceForType

      public UpdateInstancePartitionMetadata 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 UpdateInstancePartitionMetadata 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<UpdateInstancePartitionMetadata.Builder>
    • setField

      public UpdateInstancePartitionMetadata.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<UpdateInstancePartitionMetadata.Builder>
    • clearField

      public UpdateInstancePartitionMetadata.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<UpdateInstancePartitionMetadata.Builder>
    • clearOneof

      public UpdateInstancePartitionMetadata.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<UpdateInstancePartitionMetadata.Builder>
    • setRepeatedField

      public UpdateInstancePartitionMetadata.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<UpdateInstancePartitionMetadata.Builder>
    • addRepeatedField

      public UpdateInstancePartitionMetadata.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<UpdateInstancePartitionMetadata.Builder>
    • mergeFrom

      public UpdateInstancePartitionMetadata.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<UpdateInstancePartitionMetadata.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<UpdateInstancePartitionMetadata.Builder>
    • mergeFrom

      public UpdateInstancePartitionMetadata.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<UpdateInstancePartitionMetadata.Builder>
      Throws:
      IOException
    • hasInstancePartition

      public boolean hasInstancePartition()
       The desired end state of the update.
       
      .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1;
      Specified by:
      hasInstancePartition in interface UpdateInstancePartitionMetadataOrBuilder
      Returns:
      Whether the instancePartition field is set.
    • getInstancePartition

      public InstancePartition getInstancePartition()
       The desired end state of the update.
       
      .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1;
      Specified by:
      getInstancePartition in interface UpdateInstancePartitionMetadataOrBuilder
      Returns:
      The instancePartition.
    • setInstancePartition

      public UpdateInstancePartitionMetadata.Builder setInstancePartition(InstancePartition value)
       The desired end state of the update.
       
      .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1;
    • setInstancePartition

      public UpdateInstancePartitionMetadata.Builder setInstancePartition(InstancePartition.Builder builderForValue)
       The desired end state of the update.
       
      .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1;
    • mergeInstancePartition

      public UpdateInstancePartitionMetadata.Builder mergeInstancePartition(InstancePartition value)
       The desired end state of the update.
       
      .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1;
    • clearInstancePartition

      public UpdateInstancePartitionMetadata.Builder clearInstancePartition()
       The desired end state of the update.
       
      .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1;
    • getInstancePartitionBuilder

      public InstancePartition.Builder getInstancePartitionBuilder()
       The desired end state of the update.
       
      .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1;
    • getInstancePartitionOrBuilder

      public InstancePartitionOrBuilder getInstancePartitionOrBuilder()
       The desired end state of the update.
       
      .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1;
      Specified by:
      getInstancePartitionOrBuilder in interface UpdateInstancePartitionMetadataOrBuilder
    • hasStartTime

      public boolean hasStartTime()
       The time at which
       [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition]
       request was received.
       
      .google.protobuf.Timestamp start_time = 2;
      Specified by:
      hasStartTime in interface UpdateInstancePartitionMetadataOrBuilder
      Returns:
      Whether the startTime field is set.
    • getStartTime

      public com.google.protobuf.Timestamp getStartTime()
       The time at which
       [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition]
       request was received.
       
      .google.protobuf.Timestamp start_time = 2;
      Specified by:
      getStartTime in interface UpdateInstancePartitionMetadataOrBuilder
      Returns:
      The startTime.
    • setStartTime

      public UpdateInstancePartitionMetadata.Builder setStartTime(com.google.protobuf.Timestamp value)
       The time at which
       [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition]
       request was received.
       
      .google.protobuf.Timestamp start_time = 2;
    • setStartTime

      public UpdateInstancePartitionMetadata.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
       The time at which
       [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition]
       request was received.
       
      .google.protobuf.Timestamp start_time = 2;
    • mergeStartTime

      public UpdateInstancePartitionMetadata.Builder mergeStartTime(com.google.protobuf.Timestamp value)
       The time at which
       [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition]
       request was received.
       
      .google.protobuf.Timestamp start_time = 2;
    • clearStartTime

      public UpdateInstancePartitionMetadata.Builder clearStartTime()
       The time at which
       [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition]
       request was received.
       
      .google.protobuf.Timestamp start_time = 2;
    • getStartTimeBuilder

      public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
       The time at which
       [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition]
       request was received.
       
      .google.protobuf.Timestamp start_time = 2;
    • getStartTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
       The time at which
       [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition]
       request was received.
       
      .google.protobuf.Timestamp start_time = 2;
      Specified by:
      getStartTimeOrBuilder in interface UpdateInstancePartitionMetadataOrBuilder
    • hasCancelTime

      public boolean hasCancelTime()
       The time at which this operation was cancelled. If set, this operation is
       in the process of undoing itself (which is guaranteed to succeed) and
       cannot be cancelled again.
       
      .google.protobuf.Timestamp cancel_time = 3;
      Specified by:
      hasCancelTime in interface UpdateInstancePartitionMetadataOrBuilder
      Returns:
      Whether the cancelTime field is set.
    • getCancelTime

      public com.google.protobuf.Timestamp getCancelTime()
       The time at which this operation was cancelled. If set, this operation is
       in the process of undoing itself (which is guaranteed to succeed) and
       cannot be cancelled again.
       
      .google.protobuf.Timestamp cancel_time = 3;
      Specified by:
      getCancelTime in interface UpdateInstancePartitionMetadataOrBuilder
      Returns:
      The cancelTime.
    • setCancelTime

      public UpdateInstancePartitionMetadata.Builder setCancelTime(com.google.protobuf.Timestamp value)
       The time at which this operation was cancelled. If set, this operation is
       in the process of undoing itself (which is guaranteed to succeed) and
       cannot be cancelled again.
       
      .google.protobuf.Timestamp cancel_time = 3;
    • setCancelTime

      public UpdateInstancePartitionMetadata.Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForValue)
       The time at which this operation was cancelled. If set, this operation is
       in the process of undoing itself (which is guaranteed to succeed) and
       cannot be cancelled again.
       
      .google.protobuf.Timestamp cancel_time = 3;
    • mergeCancelTime

      public UpdateInstancePartitionMetadata.Builder mergeCancelTime(com.google.protobuf.Timestamp value)
       The time at which this operation was cancelled. If set, this operation is
       in the process of undoing itself (which is guaranteed to succeed) and
       cannot be cancelled again.
       
      .google.protobuf.Timestamp cancel_time = 3;
    • clearCancelTime

      public UpdateInstancePartitionMetadata.Builder clearCancelTime()
       The time at which this operation was cancelled. If set, this operation is
       in the process of undoing itself (which is guaranteed to succeed) and
       cannot be cancelled again.
       
      .google.protobuf.Timestamp cancel_time = 3;
    • getCancelTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder()
       The time at which this operation was cancelled. If set, this operation is
       in the process of undoing itself (which is guaranteed to succeed) and
       cannot be cancelled again.
       
      .google.protobuf.Timestamp cancel_time = 3;
    • getCancelTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder()
       The time at which this operation was cancelled. If set, this operation is
       in the process of undoing itself (which is guaranteed to succeed) and
       cannot be cancelled again.
       
      .google.protobuf.Timestamp cancel_time = 3;
      Specified by:
      getCancelTimeOrBuilder in interface UpdateInstancePartitionMetadataOrBuilder
    • hasEndTime

      public boolean hasEndTime()
       The time at which this operation failed or was completed successfully.
       
      .google.protobuf.Timestamp end_time = 4;
      Specified by:
      hasEndTime in interface UpdateInstancePartitionMetadataOrBuilder
      Returns:
      Whether the endTime field is set.
    • getEndTime

      public com.google.protobuf.Timestamp getEndTime()
       The time at which this operation failed or was completed successfully.
       
      .google.protobuf.Timestamp end_time = 4;
      Specified by:
      getEndTime in interface UpdateInstancePartitionMetadataOrBuilder
      Returns:
      The endTime.
    • setEndTime

      public UpdateInstancePartitionMetadata.Builder setEndTime(com.google.protobuf.Timestamp value)
       The time at which this operation failed or was completed successfully.
       
      .google.protobuf.Timestamp end_time = 4;
    • setEndTime

      public UpdateInstancePartitionMetadata.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       The time at which this operation failed or was completed successfully.
       
      .google.protobuf.Timestamp end_time = 4;
    • mergeEndTime

      public UpdateInstancePartitionMetadata.Builder mergeEndTime(com.google.protobuf.Timestamp value)
       The time at which this operation failed or was completed successfully.
       
      .google.protobuf.Timestamp end_time = 4;
    • clearEndTime

       The time at which this operation failed or was completed successfully.
       
      .google.protobuf.Timestamp end_time = 4;
    • getEndTimeBuilder

      public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
       The time at which this operation failed or was completed successfully.
       
      .google.protobuf.Timestamp end_time = 4;
    • getEndTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
       The time at which this operation failed or was completed successfully.
       
      .google.protobuf.Timestamp end_time = 4;
      Specified by:
      getEndTimeOrBuilder in interface UpdateInstancePartitionMetadataOrBuilder
    • setUnknownFields

      public final UpdateInstancePartitionMetadata.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<UpdateInstancePartitionMetadata.Builder>
    • mergeUnknownFields

      public final UpdateInstancePartitionMetadata.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<UpdateInstancePartitionMetadata.Builder>