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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getCompressionStrategy()
uint32 compressionStrategy = 3;
com.google.protobuf.ByteString
getData()
bytes data = 2;
int
getErrorCode()
uint32 errorCode = 6;
java.lang.String
getErrorMessage()
string errorMessage = 7;
com.google.protobuf.ByteString
getErrorMessageBytes()
string errorMessage = 7;
boolean
getIsStreamingResponse()
bool isStreamingResponse = 5;
int
getResponseRCU()
uint32 responseRCU = 4;
int
getSchemaId()
sint32 schemaId = 1;
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
java.lang.String getErrorMessage()
string errorMessage = 7;
- Returns:
- The errorMessage.
-
getErrorMessageBytes
com.google.protobuf.ByteString getErrorMessageBytes()
string errorMessage = 7;
- Returns:
- The bytes for errorMessage.
-
-