Class VeniceClientRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.linkedin.venice.protocols.VeniceClientRequest
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, VeniceClientRequestOrBuilder, Serializable

public final class VeniceClientRequest extends com.google.protobuf.GeneratedMessageV3 implements VeniceClientRequestOrBuilder
Protobuf type com.linkedin.venice.protocols.VeniceClientRequest
See Also:
  • Field Details

    • PARTITION_FIELD_NUMBER

      public static final int PARTITION_FIELD_NUMBER
      See Also:
    • KEYSTRING_FIELD_NUMBER

      public static final int KEYSTRING_FIELD_NUMBER
      See Also:
    • KEYBYTES_FIELD_NUMBER

      public static final int KEYBYTES_FIELD_NUMBER
      See Also:
    • RESOURCENAME_FIELD_NUMBER

      public static final int RESOURCENAME_FIELD_NUMBER
      See Also:
    • ISSTREAMINGREQUEST_FIELD_NUMBER

      public static final int ISSTREAMINGREQUEST_FIELD_NUMBER
      See Also:
    • ISRETRYREQUEST_FIELD_NUMBER

      public static final int ISRETRYREQUEST_FIELD_NUMBER
      See Also:
    • ISBATCHREQUEST_FIELD_NUMBER

      public static final int ISBATCHREQUEST_FIELD_NUMBER
      See Also:
    • METHOD_FIELD_NUMBER

      public static final int METHOD_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields 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
    • getPartition

      public int getPartition()
      uint32 partition = 1;
      Specified by:
      getPartition in interface VeniceClientRequestOrBuilder
      Returns:
      The partition.
    • getKeyString

      public String getKeyString()
       used for single get
       
      string keyString = 2;
      Specified by:
      getKeyString in interface VeniceClientRequestOrBuilder
      Returns:
      The keyString.
    • getKeyStringBytes

      public com.google.protobuf.ByteString getKeyStringBytes()
       used for single get
       
      string keyString = 2;
      Specified by:
      getKeyStringBytes in interface VeniceClientRequestOrBuilder
      Returns:
      The bytes for keyString.
    • getKeyBytes

      public com.google.protobuf.ByteString getKeyBytes()
       used for batch get
       
      bytes keyBytes = 3;
      Specified by:
      getKeyBytes in interface VeniceClientRequestOrBuilder
      Returns:
      The keyBytes.
    • getResourceName

      public String getResourceName()
      string resourceName = 5;
      Specified by:
      getResourceName in interface VeniceClientRequestOrBuilder
      Returns:
      The resourceName.
    • getResourceNameBytes

      public com.google.protobuf.ByteString getResourceNameBytes()
      string resourceName = 5;
      Specified by:
      getResourceNameBytes in interface VeniceClientRequestOrBuilder
      Returns:
      The bytes for resourceName.
    • getIsStreamingRequest

      public boolean getIsStreamingRequest()
      bool isStreamingRequest = 7;
      Specified by:
      getIsStreamingRequest in interface VeniceClientRequestOrBuilder
      Returns:
      The isStreamingRequest.
    • getIsRetryRequest

      public boolean getIsRetryRequest()
      bool isRetryRequest = 8;
      Specified by:
      getIsRetryRequest in interface VeniceClientRequestOrBuilder
      Returns:
      The isRetryRequest.
    • getIsBatchRequest

      public boolean getIsBatchRequest()
      bool isBatchRequest = 9;
      Specified by:
      getIsBatchRequest in interface VeniceClientRequestOrBuilder
      Returns:
      The isBatchRequest.
    • getMethod

      public String getMethod()
      string method = 10;
      Specified by:
      getMethod in interface VeniceClientRequestOrBuilder
      Returns:
      The method.
    • getMethodBytes

      public com.google.protobuf.ByteString getMethodBytes()
      string method = 10;
      Specified by:
      getMethodBytes in interface VeniceClientRequestOrBuilder
      Returns:
      The bytes for method.
    • 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 VeniceClientRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static VeniceClientRequest.Builder newBuilder()
    • newBuilder

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

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

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

      public static VeniceClientRequest getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<VeniceClientRequest> 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 VeniceClientRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder