Class Umadb.AppendRequest

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

public static final class Umadb.AppendRequest extends com.google.protobuf.GeneratedMessage implements Umadb.AppendRequestOrBuilder
Request payload for writing new events to the store.
Protobuf type umadb.v1.AppendRequest
See Also:
  • Field Details

    • EVENTS_FIELD_NUMBER

      public static final int EVENTS_FIELD_NUMBER
      See Also:
    • CONDITION_FIELD_NUMBER

      public static final int CONDITION_FIELD_NUMBER
      See Also:
    • TRACKING_INFO_FIELD_NUMBER

      public static final int TRACKING_INFO_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

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

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Umadb.AppendRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Umadb.AppendRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Umadb.AppendRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Umadb.AppendRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Umadb.AppendRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Umadb.AppendRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Umadb.AppendRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Umadb.AppendRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Umadb.AppendRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Umadb.AppendRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Umadb.AppendRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Umadb.AppendRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static Umadb.AppendRequest.Builder newBuilder()
    • newBuilder

      public static Umadb.AppendRequest.Builder newBuilder(Umadb.AppendRequest prototype)
    • toBuilder

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

      protected Umadb.AppendRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Umadb.AppendRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Umadb.AppendRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<Umadb.AppendRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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