Package com.linkedin.venice.protocols
Interface VeniceClientRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
VeniceClientRequest
,VeniceClientRequest.Builder
public interface VeniceClientRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
bool isBatchRequest = 9;
boolean
bool isRetryRequest = 8;
boolean
bool isStreamingRequest = 7;
com.google.protobuf.ByteString
used for batch getused for single getcom.google.protobuf.ByteString
used for single getstring method = 10;
com.google.protobuf.ByteString
string method = 10;
int
uint32 partition = 1;
string resourceName = 5;
com.google.protobuf.ByteString
string resourceName = 5;
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getPartition
int getPartition()uint32 partition = 1;
- Returns:
- The partition.
-
getKeyString
String getKeyString()used for single get
string keyString = 2;
- Returns:
- The keyString.
-
getKeyStringBytes
com.google.protobuf.ByteString getKeyStringBytes()used for single get
string keyString = 2;
- Returns:
- The bytes for keyString.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()used for batch get
bytes keyBytes = 3;
- Returns:
- The keyBytes.
-
getResourceName
String getResourceName()string resourceName = 5;
- Returns:
- The resourceName.
-
getResourceNameBytes
com.google.protobuf.ByteString getResourceNameBytes()string resourceName = 5;
- Returns:
- The bytes for resourceName.
-
getIsStreamingRequest
boolean getIsStreamingRequest()bool isStreamingRequest = 7;
- Returns:
- The isStreamingRequest.
-
getIsRetryRequest
boolean getIsRetryRequest()bool isRetryRequest = 8;
- Returns:
- The isRetryRequest.
-
getIsBatchRequest
boolean getIsBatchRequest()bool isBatchRequest = 9;
- Returns:
- The isBatchRequest.
-
getMethod
String getMethod()string method = 10;
- Returns:
- The method.
-
getMethodBytes
com.google.protobuf.ByteString getMethodBytes()string method = 10;
- Returns:
- The bytes for method.
-