Class Umadb.AppendRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Umadb.AppendRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<Umadb.AppendRequest.Builder>
umadb.v1.Umadb.AppendRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Umadb.AppendRequestOrBuilder
Enclosing class:
Umadb.AppendRequest

public static final class Umadb.AppendRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<Umadb.AppendRequest.Builder> implements Umadb.AppendRequestOrBuilder
Request payload for writing new events to the store.
Protobuf type umadb.v1.AppendRequest
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Umadb.AppendRequest.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.GeneratedMessage.Builder<Umadb.AppendRequest.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.GeneratedMessage.Builder<Umadb.AppendRequest.Builder>
    • getDefaultInstanceForType

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

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

      public Umadb.AppendRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

    • isInitialized

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

      public Umadb.AppendRequest.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<Umadb.AppendRequest.Builder>
      Throws:
      IOException
    • getEventsList

      public List<Umadb.Event> getEventsList()
      The list of new events to commit to the log.
      
      repeated .umadb.v1.Event events = 1;
      Specified by:
      getEventsList in interface Umadb.AppendRequestOrBuilder
    • getEventsCount

      public int getEventsCount()
      The list of new events to commit to the log.
      
      repeated .umadb.v1.Event events = 1;
      Specified by:
      getEventsCount in interface Umadb.AppendRequestOrBuilder
    • getEvents

      public Umadb.Event getEvents(int index)
      The list of new events to commit to the log.
      
      repeated .umadb.v1.Event events = 1;
      Specified by:
      getEvents in interface Umadb.AppendRequestOrBuilder
    • setEvents

      public Umadb.AppendRequest.Builder setEvents(int index, Umadb.Event value)
      The list of new events to commit to the log.
      
      repeated .umadb.v1.Event events = 1;
    • setEvents

      public Umadb.AppendRequest.Builder setEvents(int index, Umadb.Event.Builder builderForValue)
      The list of new events to commit to the log.
      
      repeated .umadb.v1.Event events = 1;
    • addEvents

      public Umadb.AppendRequest.Builder addEvents(Umadb.Event value)
      The list of new events to commit to the log.
      
      repeated .umadb.v1.Event events = 1;
    • addEvents

      public Umadb.AppendRequest.Builder addEvents(int index, Umadb.Event value)
      The list of new events to commit to the log.
      
      repeated .umadb.v1.Event events = 1;
    • addEvents

      public Umadb.AppendRequest.Builder addEvents(Umadb.Event.Builder builderForValue)
      The list of new events to commit to the log.
      
      repeated .umadb.v1.Event events = 1;
    • addEvents

      public Umadb.AppendRequest.Builder addEvents(int index, Umadb.Event.Builder builderForValue)
      The list of new events to commit to the log.
      
      repeated .umadb.v1.Event events = 1;
    • addAllEvents

      public Umadb.AppendRequest.Builder addAllEvents(Iterable<? extends Umadb.Event> values)
      The list of new events to commit to the log.
      
      repeated .umadb.v1.Event events = 1;
    • clearEvents

      public Umadb.AppendRequest.Builder clearEvents()
      The list of new events to commit to the log.
      
      repeated .umadb.v1.Event events = 1;
    • removeEvents

      public Umadb.AppendRequest.Builder removeEvents(int index)
      The list of new events to commit to the log.
      
      repeated .umadb.v1.Event events = 1;
    • getEventsBuilder

      public Umadb.Event.Builder getEventsBuilder(int index)
      The list of new events to commit to the log.
      
      repeated .umadb.v1.Event events = 1;
    • getEventsOrBuilder

      public Umadb.EventOrBuilder getEventsOrBuilder(int index)
      The list of new events to commit to the log.
      
      repeated .umadb.v1.Event events = 1;
      Specified by:
      getEventsOrBuilder in interface Umadb.AppendRequestOrBuilder
    • getEventsOrBuilderList

      public List<? extends Umadb.EventOrBuilder> getEventsOrBuilderList()
      The list of new events to commit to the log.
      
      repeated .umadb.v1.Event events = 1;
      Specified by:
      getEventsOrBuilderList in interface Umadb.AppendRequestOrBuilder
    • addEventsBuilder

      public Umadb.Event.Builder addEventsBuilder()
      The list of new events to commit to the log.
      
      repeated .umadb.v1.Event events = 1;
    • addEventsBuilder

      public Umadb.Event.Builder addEventsBuilder(int index)
      The list of new events to commit to the log.
      
      repeated .umadb.v1.Event events = 1;
    • getEventsBuilderList

      public List<Umadb.Event.Builder> getEventsBuilderList()
      The list of new events to commit to the log.
      
      repeated .umadb.v1.Event events = 1;
    • hasCondition

      public boolean hasCondition()
      Concurrency controls to apply before allowing the append.
      
      optional .umadb.v1.AppendCondition condition = 2;
      Specified by:
      hasCondition in interface Umadb.AppendRequestOrBuilder
      Returns:
      Whether the condition field is set.
    • getCondition

      public Umadb.AppendCondition getCondition()
      Concurrency controls to apply before allowing the append.
      
      optional .umadb.v1.AppendCondition condition = 2;
      Specified by:
      getCondition in interface Umadb.AppendRequestOrBuilder
      Returns:
      The condition.
    • setCondition

      Concurrency controls to apply before allowing the append.
      
      optional .umadb.v1.AppendCondition condition = 2;
    • setCondition

      public Umadb.AppendRequest.Builder setCondition(Umadb.AppendCondition.Builder builderForValue)
      Concurrency controls to apply before allowing the append.
      
      optional .umadb.v1.AppendCondition condition = 2;
    • mergeCondition

      public Umadb.AppendRequest.Builder mergeCondition(Umadb.AppendCondition value)
      Concurrency controls to apply before allowing the append.
      
      optional .umadb.v1.AppendCondition condition = 2;
    • clearCondition

      public Umadb.AppendRequest.Builder clearCondition()
      Concurrency controls to apply before allowing the append.
      
      optional .umadb.v1.AppendCondition condition = 2;
    • getConditionBuilder

      public Umadb.AppendCondition.Builder getConditionBuilder()
      Concurrency controls to apply before allowing the append.
      
      optional .umadb.v1.AppendCondition condition = 2;
    • getConditionOrBuilder

      public Umadb.AppendConditionOrBuilder getConditionOrBuilder()
      Concurrency controls to apply before allowing the append.
      
      optional .umadb.v1.AppendCondition condition = 2;
      Specified by:
      getConditionOrBuilder in interface Umadb.AppendRequestOrBuilder
    • hasTrackingInfo

      public boolean hasTrackingInfo()
      Optional checkpointing information to update the source's tracking cursor upon success.
      
      optional .umadb.v1.TrackingInfo tracking_info = 3;
      Specified by:
      hasTrackingInfo in interface Umadb.AppendRequestOrBuilder
      Returns:
      Whether the trackingInfo field is set.
    • getTrackingInfo

      public Umadb.TrackingInfo getTrackingInfo()
      Optional checkpointing information to update the source's tracking cursor upon success.
      
      optional .umadb.v1.TrackingInfo tracking_info = 3;
      Specified by:
      getTrackingInfo in interface Umadb.AppendRequestOrBuilder
      Returns:
      The trackingInfo.
    • setTrackingInfo

      public Umadb.AppendRequest.Builder setTrackingInfo(Umadb.TrackingInfo value)
      Optional checkpointing information to update the source's tracking cursor upon success.
      
      optional .umadb.v1.TrackingInfo tracking_info = 3;
    • setTrackingInfo

      public Umadb.AppendRequest.Builder setTrackingInfo(Umadb.TrackingInfo.Builder builderForValue)
      Optional checkpointing information to update the source's tracking cursor upon success.
      
      optional .umadb.v1.TrackingInfo tracking_info = 3;
    • mergeTrackingInfo

      public Umadb.AppendRequest.Builder mergeTrackingInfo(Umadb.TrackingInfo value)
      Optional checkpointing information to update the source's tracking cursor upon success.
      
      optional .umadb.v1.TrackingInfo tracking_info = 3;
    • clearTrackingInfo

      public Umadb.AppendRequest.Builder clearTrackingInfo()
      Optional checkpointing information to update the source's tracking cursor upon success.
      
      optional .umadb.v1.TrackingInfo tracking_info = 3;
    • getTrackingInfoBuilder

      public Umadb.TrackingInfo.Builder getTrackingInfoBuilder()
      Optional checkpointing information to update the source's tracking cursor upon success.
      
      optional .umadb.v1.TrackingInfo tracking_info = 3;
    • getTrackingInfoOrBuilder

      public Umadb.TrackingInfoOrBuilder getTrackingInfoOrBuilder()
      Optional checkpointing information to update the source's tracking cursor upon success.
      
      optional .umadb.v1.TrackingInfo tracking_info = 3;
      Specified by:
      getTrackingInfoOrBuilder in interface Umadb.AppendRequestOrBuilder