38 return response->
header.protobufLength;
44 return response->
header.valueLength;
51 if (response != NULL &&
53 response->
command->status != NULL &&
54 response->
command->status->has_code !=
false)
57 response->
command->status->code);
70 response->
command->header != NULL &&
71 response->
command->header->has_connectionid)
73 id = response->
command->header->connectionid;
80 Com__Seagate__Kinetic__Proto__Command__KeyValue* keyValue = NULL;
82 if (response != NULL &&
84 response->
command->body != NULL)
86 keyValue = response->
command->body->keyvalue;
93 Com__Seagate__Kinetic__Proto__Command__Range* range = NULL;
94 if (response != NULL &&
95 response->
proto != NULL &&
97 response->
command->body != NULL)
99 range = response->
command->body->range;
KineticStatus KineticProtoStatusCode_to_KineticStatus(Com__Seagate__Kinetic__Proto__Command__Status__StatusCode protoStatus)
Com__Seagate__Kinetic__Proto__Message * proto
uint32_t KineticResponse_GetValueLength(KineticResponse *response)
uint32_t KineticResponse_GetProtobufLength(KineticResponse *response)
KineticStatus KineticResponse_GetStatus(KineticResponse *response)
Com__Seagate__Kinetic__Proto__Command__KeyValue * KineticResponse_GetKeyValue(KineticResponse *response)
#define KINETIC_ASSERT(cond)
Com__Seagate__Kinetic__Proto__Command__Range * KineticResponse_GetKeyRange(KineticResponse *response)
Com__Seagate__Kinetic__Proto__Command * command
Status not available (no reponse/status available)
KineticStatus
Kinetic status codes.
int64_t KineticResponse_GetConnectionID(KineticResponse *response)