Package com.linkedin.venice.protocols
Interface VeniceServerResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
VeniceServerResponse
,VeniceServerResponse.Builder
public interface VeniceServerResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionint
uint32 compressionStrategy = 3;
com.google.protobuf.ByteString
getData()
bytes data = 2;
int
uint32 errorCode = 6;
string errorMessage = 7;
com.google.protobuf.ByteString
string errorMessage = 7;
boolean
bool isStreamingResponse = 5;
int
uint32 responseRCU = 4;
int
sint32 schemaId = 1;
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
-
getSchemaId
int getSchemaId()sint32 schemaId = 1;
- Returns:
- The schemaId.
-
getData
com.google.protobuf.ByteString getData()bytes data = 2;
- Returns:
- The data.
-
getCompressionStrategy
int getCompressionStrategy()uint32 compressionStrategy = 3;
- Returns:
- The compressionStrategy.
-
getResponseRCU
int getResponseRCU()uint32 responseRCU = 4;
- Returns:
- The responseRCU.
-
getIsStreamingResponse
boolean getIsStreamingResponse()bool isStreamingResponse = 5;
- Returns:
- The isStreamingResponse.
-
getErrorCode
int getErrorCode()uint32 errorCode = 6;
- Returns:
- The errorCode.
-
getErrorMessage
String getErrorMessage()string errorMessage = 7;
- Returns:
- The errorMessage.
-
getErrorMessageBytes
com.google.protobuf.ByteString getErrorMessageBytes()string errorMessage = 7;
- Returns:
- The bytes for errorMessage.
-