Class CreateInstancePartitionMetadata.Builder

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

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

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

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

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

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

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

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

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

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

      public boolean hasInstancePartition()
       The instance partition being created.
       
      .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1;
      Specified by:
      hasInstancePartition in interface CreateInstancePartitionMetadataOrBuilder
      Returns:
      Whether the instancePartition field is set.
    • getInstancePartition

      public InstancePartition getInstancePartition()
       The instance partition being created.
       
      .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1;
      Specified by:
      getInstancePartition in interface CreateInstancePartitionMetadataOrBuilder
      Returns:
      The instancePartition.
    • setInstancePartition

      public CreateInstancePartitionMetadata.Builder setInstancePartition(InstancePartition value)
       The instance partition being created.
       
      .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1;
    • setInstancePartition

      public CreateInstancePartitionMetadata.Builder setInstancePartition(InstancePartition.Builder builderForValue)
       The instance partition being created.
       
      .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1;
    • mergeInstancePartition

      public CreateInstancePartitionMetadata.Builder mergeInstancePartition(InstancePartition value)
       The instance partition being created.
       
      .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1;
    • clearInstancePartition

      public CreateInstancePartitionMetadata.Builder clearInstancePartition()
       The instance partition being created.
       
      .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1;
    • getInstancePartitionBuilder

      public InstancePartition.Builder getInstancePartitionBuilder()
       The instance partition being created.
       
      .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1;
    • getInstancePartitionOrBuilder

      public InstancePartitionOrBuilder getInstancePartitionOrBuilder()
       The instance partition being created.
       
      .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1;
      Specified by:
      getInstancePartitionOrBuilder in interface CreateInstancePartitionMetadataOrBuilder
    • hasStartTime

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

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

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

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

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

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

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

      public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
       The time at which the
       [CreateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstancePartition]
       request was received.
       
      .google.protobuf.Timestamp start_time = 2;
      Specified by:
      getStartTimeOrBuilder in interface CreateInstancePartitionMetadataOrBuilder
    • 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 CreateInstancePartitionMetadataOrBuilder
      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 CreateInstancePartitionMetadataOrBuilder
      Returns:
      The cancelTime.
    • setCancelTime

      public CreateInstancePartitionMetadata.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 CreateInstancePartitionMetadata.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 CreateInstancePartitionMetadata.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 CreateInstancePartitionMetadata.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 CreateInstancePartitionMetadataOrBuilder
    • 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 CreateInstancePartitionMetadataOrBuilder
      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 CreateInstancePartitionMetadataOrBuilder
      Returns:
      The endTime.
    • setEndTime

      public CreateInstancePartitionMetadata.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 CreateInstancePartitionMetadata.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 CreateInstancePartitionMetadata.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 CreateInstancePartitionMetadataOrBuilder
    • setUnknownFields

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

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