Package com.linkedin.venice.protocols
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typecom.linkedin.venice.protocols.VeniceClientRequestNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic VeniceClientRequeststatic final com.google.protobuf.Descriptors.Descriptorbooleanbool isBatchRequest = 9;booleanbool isRetryRequest = 8;booleanbool isStreamingRequest = 7;com.google.protobuf.ByteStringused for batch getused for single getcom.google.protobuf.ByteStringused for single getstring method = 10;com.google.protobuf.ByteStringstring method = 10;com.google.protobuf.Parser<VeniceClientRequest>intuint32 partition = 1;string resourceName = 5;com.google.protobuf.ByteStringstring resourceName = 5;intinthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic VeniceClientRequest.Builderstatic VeniceClientRequest.BuildernewBuilder(VeniceClientRequest prototype) protected VeniceClientRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static VeniceClientRequestparseDelimitedFrom(InputStream input) static VeniceClientRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VeniceClientRequestparseFrom(byte[] data) static VeniceClientRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VeniceClientRequestparseFrom(com.google.protobuf.ByteString data) static VeniceClientRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VeniceClientRequestparseFrom(com.google.protobuf.CodedInputStream input) static VeniceClientRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VeniceClientRequestparseFrom(InputStream input) static VeniceClientRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VeniceClientRequestparseFrom(ByteBuffer data) static VeniceClientRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<VeniceClientRequest>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getPartition
public int getPartition()uint32 partition = 1;- Specified by:
getPartitionin interfaceVeniceClientRequestOrBuilder- Returns:
- The partition.
-
getKeyString
used for single get
string keyString = 2;- Specified by:
getKeyStringin interfaceVeniceClientRequestOrBuilder- Returns:
- The keyString.
-
getKeyStringBytes
public com.google.protobuf.ByteString getKeyStringBytes()used for single get
string keyString = 2;- Specified by:
getKeyStringBytesin interfaceVeniceClientRequestOrBuilder- Returns:
- The bytes for keyString.
-
getKeyBytes
public com.google.protobuf.ByteString getKeyBytes()used for batch get
bytes keyBytes = 3;- Specified by:
getKeyBytesin interfaceVeniceClientRequestOrBuilder- Returns:
- The keyBytes.
-
getResourceName
string resourceName = 5;- Specified by:
getResourceNamein interfaceVeniceClientRequestOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()string resourceName = 5;- Specified by:
getResourceNameBytesin interfaceVeniceClientRequestOrBuilder- Returns:
- The bytes for resourceName.
-
getIsStreamingRequest
public boolean getIsStreamingRequest()bool isStreamingRequest = 7;- Specified by:
getIsStreamingRequestin interfaceVeniceClientRequestOrBuilder- Returns:
- The isStreamingRequest.
-
getIsRetryRequest
public boolean getIsRetryRequest()bool isRetryRequest = 8;- Specified by:
getIsRetryRequestin interfaceVeniceClientRequestOrBuilder- Returns:
- The isRetryRequest.
-
getIsBatchRequest
public boolean getIsBatchRequest()bool isBatchRequest = 9;- Specified by:
getIsBatchRequestin interfaceVeniceClientRequestOrBuilder- Returns:
- The isBatchRequest.
-
getMethod
string method = 10;- Specified by:
getMethodin interfaceVeniceClientRequestOrBuilder- Returns:
- The method.
-
getMethodBytes
public com.google.protobuf.ByteString getMethodBytes()string method = 10;- Specified by:
getMethodBytesin interfaceVeniceClientRequestOrBuilder- Returns:
- The bytes for method.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static VeniceClientRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected VeniceClientRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-