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 TypeMethodDescriptionintuint32 compressionStrategy = 3;com.google.protobuf.ByteStringgetData()bytes data = 2;intuint32 errorCode = 6;string errorMessage = 7;com.google.protobuf.ByteStringstring errorMessage = 7;booleanbool isStreamingResponse = 5;intuint32 responseRCU = 4;intsint32 schemaId = 1;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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.
-