Class WriteResponse

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.streamnative.oxia.proto.WriteResponse
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, WriteResponseOrBuilder, Serializable

public final class WriteResponse extends com.google.protobuf.GeneratedMessageV3 implements WriteResponseOrBuilder

 The response to a batch write request. Responses of each type respect the
 order of the original requests.
 
Protobuf type io.streamnative.oxia.proto.WriteResponse
See Also:
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • 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
    • getPutsList

      public List<PutResponse> getPutsList()
       The put responses
       
      repeated .io.streamnative.oxia.proto.PutResponse puts = 1;
      Specified by:
      getPutsList in interface WriteResponseOrBuilder
    • getPutsOrBuilderList

      public List<? extends PutResponseOrBuilder> getPutsOrBuilderList()
       The put responses
       
      repeated .io.streamnative.oxia.proto.PutResponse puts = 1;
      Specified by:
      getPutsOrBuilderList in interface WriteResponseOrBuilder
    • getPutsCount

      public int getPutsCount()
       The put responses
       
      repeated .io.streamnative.oxia.proto.PutResponse puts = 1;
      Specified by:
      getPutsCount in interface WriteResponseOrBuilder
    • getPuts

      public PutResponse getPuts(int index)
       The put responses
       
      repeated .io.streamnative.oxia.proto.PutResponse puts = 1;
      Specified by:
      getPuts in interface WriteResponseOrBuilder
    • getPutsOrBuilder

      public PutResponseOrBuilder getPutsOrBuilder(int index)
       The put responses
       
      repeated .io.streamnative.oxia.proto.PutResponse puts = 1;
      Specified by:
      getPutsOrBuilder in interface WriteResponseOrBuilder
    • getDeletesList

      public List<DeleteResponse> getDeletesList()
       The delete responses
       
      repeated .io.streamnative.oxia.proto.DeleteResponse deletes = 2;
      Specified by:
      getDeletesList in interface WriteResponseOrBuilder
    • getDeletesOrBuilderList

      public List<? extends DeleteResponseOrBuilder> getDeletesOrBuilderList()
       The delete responses
       
      repeated .io.streamnative.oxia.proto.DeleteResponse deletes = 2;
      Specified by:
      getDeletesOrBuilderList in interface WriteResponseOrBuilder
    • getDeletesCount

      public int getDeletesCount()
       The delete responses
       
      repeated .io.streamnative.oxia.proto.DeleteResponse deletes = 2;
      Specified by:
      getDeletesCount in interface WriteResponseOrBuilder
    • getDeletes

      public DeleteResponse getDeletes(int index)
       The delete responses
       
      repeated .io.streamnative.oxia.proto.DeleteResponse deletes = 2;
      Specified by:
      getDeletes in interface WriteResponseOrBuilder
    • getDeletesOrBuilder

      public DeleteResponseOrBuilder getDeletesOrBuilder(int index)
       The delete responses
       
      repeated .io.streamnative.oxia.proto.DeleteResponse deletes = 2;
      Specified by:
      getDeletesOrBuilder in interface WriteResponseOrBuilder
    • getDeleteRangesList

      public List<DeleteRangeResponse> getDeleteRangesList()
       The delete range responses
       
      repeated .io.streamnative.oxia.proto.DeleteRangeResponse delete_ranges = 3;
      Specified by:
      getDeleteRangesList in interface WriteResponseOrBuilder
    • getDeleteRangesOrBuilderList

      public List<? extends DeleteRangeResponseOrBuilder> getDeleteRangesOrBuilderList()
       The delete range responses
       
      repeated .io.streamnative.oxia.proto.DeleteRangeResponse delete_ranges = 3;
      Specified by:
      getDeleteRangesOrBuilderList in interface WriteResponseOrBuilder
    • getDeleteRangesCount

      public int getDeleteRangesCount()
       The delete range responses
       
      repeated .io.streamnative.oxia.proto.DeleteRangeResponse delete_ranges = 3;
      Specified by:
      getDeleteRangesCount in interface WriteResponseOrBuilder
    • getDeleteRanges

      public DeleteRangeResponse getDeleteRanges(int index)
       The delete range responses
       
      repeated .io.streamnative.oxia.proto.DeleteRangeResponse delete_ranges = 3;
      Specified by:
      getDeleteRanges in interface WriteResponseOrBuilder
    • getDeleteRangesOrBuilder

      public DeleteRangeResponseOrBuilder getDeleteRangesOrBuilder(int index)
       The delete range responses
       
      repeated .io.streamnative.oxia.proto.DeleteRangeResponse delete_ranges = 3;
      Specified by:
      getDeleteRangesOrBuilder in interface WriteResponseOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • 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.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • 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 WriteResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static WriteResponse parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static WriteResponse parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static WriteResponse.Builder newBuilder()
    • newBuilder

      public static WriteResponse.Builder newBuilder(WriteResponse prototype)
    • toBuilder

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

      protected WriteResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static WriteResponse getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<WriteResponse> 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.GeneratedMessageV3
    • getDefaultInstanceForType

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