Class ChildPartitionsRecord.Builder

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

public static final class ChildPartitionsRecord.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ChildPartitionsRecord.Builder> implements ChildPartitionsRecordOrBuilder
 ChangeStream child partition record.
 
Protobuf type google.spanner.executor.v1.ChildPartitionsRecord
  • 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<ChildPartitionsRecord.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<ChildPartitionsRecord.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<ChildPartitionsRecord.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

      public ChildPartitionsRecord.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<ChildPartitionsRecord.Builder>
      Throws:
      IOException
    • hasStartTime

      public boolean hasStartTime()
       Data change records returned from child partitions in this child partitions
       record will have a commit timestamp greater than or equal to start_time.
       
      .google.protobuf.Timestamp start_time = 1;
      Specified by:
      hasStartTime in interface ChildPartitionsRecordOrBuilder
      Returns:
      Whether the startTime field is set.
    • getStartTime

      public com.google.protobuf.Timestamp getStartTime()
       Data change records returned from child partitions in this child partitions
       record will have a commit timestamp greater than or equal to start_time.
       
      .google.protobuf.Timestamp start_time = 1;
      Specified by:
      getStartTime in interface ChildPartitionsRecordOrBuilder
      Returns:
      The startTime.
    • setStartTime

      public ChildPartitionsRecord.Builder setStartTime(com.google.protobuf.Timestamp value)
       Data change records returned from child partitions in this child partitions
       record will have a commit timestamp greater than or equal to start_time.
       
      .google.protobuf.Timestamp start_time = 1;
    • setStartTime

      public ChildPartitionsRecord.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Data change records returned from child partitions in this child partitions
       record will have a commit timestamp greater than or equal to start_time.
       
      .google.protobuf.Timestamp start_time = 1;
    • mergeStartTime

      public ChildPartitionsRecord.Builder mergeStartTime(com.google.protobuf.Timestamp value)
       Data change records returned from child partitions in this child partitions
       record will have a commit timestamp greater than or equal to start_time.
       
      .google.protobuf.Timestamp start_time = 1;
    • clearStartTime

      public ChildPartitionsRecord.Builder clearStartTime()
       Data change records returned from child partitions in this child partitions
       record will have a commit timestamp greater than or equal to start_time.
       
      .google.protobuf.Timestamp start_time = 1;
    • getStartTimeBuilder

      public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
       Data change records returned from child partitions in this child partitions
       record will have a commit timestamp greater than or equal to start_time.
       
      .google.protobuf.Timestamp start_time = 1;
    • getStartTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
       Data change records returned from child partitions in this child partitions
       record will have a commit timestamp greater than or equal to start_time.
       
      .google.protobuf.Timestamp start_time = 1;
      Specified by:
      getStartTimeOrBuilder in interface ChildPartitionsRecordOrBuilder
    • getRecordSequence

      public String getRecordSequence()
       A monotonically increasing sequence number that can be used to define the
       ordering of the child partitions record when there are multiple child
       partitions records returned with the same start_time in a particular
       partition.
       
      string record_sequence = 2;
      Specified by:
      getRecordSequence in interface ChildPartitionsRecordOrBuilder
      Returns:
      The recordSequence.
    • getRecordSequenceBytes

      public com.google.protobuf.ByteString getRecordSequenceBytes()
       A monotonically increasing sequence number that can be used to define the
       ordering of the child partitions record when there are multiple child
       partitions records returned with the same start_time in a particular
       partition.
       
      string record_sequence = 2;
      Specified by:
      getRecordSequenceBytes in interface ChildPartitionsRecordOrBuilder
      Returns:
      The bytes for recordSequence.
    • setRecordSequence

      public ChildPartitionsRecord.Builder setRecordSequence(String value)
       A monotonically increasing sequence number that can be used to define the
       ordering of the child partitions record when there are multiple child
       partitions records returned with the same start_time in a particular
       partition.
       
      string record_sequence = 2;
      Parameters:
      value - The recordSequence to set.
      Returns:
      This builder for chaining.
    • clearRecordSequence

      public ChildPartitionsRecord.Builder clearRecordSequence()
       A monotonically increasing sequence number that can be used to define the
       ordering of the child partitions record when there are multiple child
       partitions records returned with the same start_time in a particular
       partition.
       
      string record_sequence = 2;
      Returns:
      This builder for chaining.
    • setRecordSequenceBytes

      public ChildPartitionsRecord.Builder setRecordSequenceBytes(com.google.protobuf.ByteString value)
       A monotonically increasing sequence number that can be used to define the
       ordering of the child partitions record when there are multiple child
       partitions records returned with the same start_time in a particular
       partition.
       
      string record_sequence = 2;
      Parameters:
      value - The bytes for recordSequence to set.
      Returns:
      This builder for chaining.
    • getChildPartitionsList

      public List<ChildPartitionsRecord.ChildPartition> getChildPartitionsList()
       A set of child partitions and their associated information.
       
      repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3;
      Specified by:
      getChildPartitionsList in interface ChildPartitionsRecordOrBuilder
    • getChildPartitionsCount

      public int getChildPartitionsCount()
       A set of child partitions and their associated information.
       
      repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3;
      Specified by:
      getChildPartitionsCount in interface ChildPartitionsRecordOrBuilder
    • getChildPartitions

      public ChildPartitionsRecord.ChildPartition getChildPartitions(int index)
       A set of child partitions and their associated information.
       
      repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3;
      Specified by:
      getChildPartitions in interface ChildPartitionsRecordOrBuilder
    • setChildPartitions

      public ChildPartitionsRecord.Builder setChildPartitions(int index, ChildPartitionsRecord.ChildPartition value)
       A set of child partitions and their associated information.
       
      repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3;
    • setChildPartitions

      public ChildPartitionsRecord.Builder setChildPartitions(int index, ChildPartitionsRecord.ChildPartition.Builder builderForValue)
       A set of child partitions and their associated information.
       
      repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3;
    • addChildPartitions

       A set of child partitions and their associated information.
       
      repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3;
    • addChildPartitions

      public ChildPartitionsRecord.Builder addChildPartitions(int index, ChildPartitionsRecord.ChildPartition value)
       A set of child partitions and their associated information.
       
      repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3;
    • addChildPartitions

       A set of child partitions and their associated information.
       
      repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3;
    • addChildPartitions

      public ChildPartitionsRecord.Builder addChildPartitions(int index, ChildPartitionsRecord.ChildPartition.Builder builderForValue)
       A set of child partitions and their associated information.
       
      repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3;
    • addAllChildPartitions

      public ChildPartitionsRecord.Builder addAllChildPartitions(Iterable<? extends ChildPartitionsRecord.ChildPartition> values)
       A set of child partitions and their associated information.
       
      repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3;
    • clearChildPartitions

      public ChildPartitionsRecord.Builder clearChildPartitions()
       A set of child partitions and their associated information.
       
      repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3;
    • removeChildPartitions

      public ChildPartitionsRecord.Builder removeChildPartitions(int index)
       A set of child partitions and their associated information.
       
      repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3;
    • getChildPartitionsBuilder

      public ChildPartitionsRecord.ChildPartition.Builder getChildPartitionsBuilder(int index)
       A set of child partitions and their associated information.
       
      repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3;
    • getChildPartitionsOrBuilder

      public ChildPartitionsRecord.ChildPartitionOrBuilder getChildPartitionsOrBuilder(int index)
       A set of child partitions and their associated information.
       
      repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3;
      Specified by:
      getChildPartitionsOrBuilder in interface ChildPartitionsRecordOrBuilder
    • getChildPartitionsOrBuilderList

      public List<? extends ChildPartitionsRecord.ChildPartitionOrBuilder> getChildPartitionsOrBuilderList()
       A set of child partitions and their associated information.
       
      repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3;
      Specified by:
      getChildPartitionsOrBuilderList in interface ChildPartitionsRecordOrBuilder
    • addChildPartitionsBuilder

      public ChildPartitionsRecord.ChildPartition.Builder addChildPartitionsBuilder()
       A set of child partitions and their associated information.
       
      repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3;
    • addChildPartitionsBuilder

      public ChildPartitionsRecord.ChildPartition.Builder addChildPartitionsBuilder(int index)
       A set of child partitions and their associated information.
       
      repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3;
    • getChildPartitionsBuilderList

      public List<ChildPartitionsRecord.ChildPartition.Builder> getChildPartitionsBuilderList()
       A set of child partitions and their associated information.
       
      repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3;
    • setUnknownFields

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

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