C# OJAI Client API
Com.Mapr.Data.Db.FindByIdResponse Class Reference
Inheritance diagram for Com.Mapr.Data.Db.FindByIdResponse:

Public Types

enum  DataOneofCase { None = 0, JsonDocument = 30 }
 Enum of possible cases for the "data" oneof. More...
 

Public Member Functions

 FindByIdResponse (FindByIdResponse other)
 
FindByIdResponse Clone ()
 
void ClearData ()
 
override bool Equals (object other)
 
bool Equals (FindByIdResponse other)
 
override int GetHashCode ()
 
override string ToString ()
 
void WriteTo (pb::CodedOutputStream output)
 
int CalculateSize ()
 
void MergeFrom (FindByIdResponse other)
 
void MergeFrom (pb::CodedInputStream input)
 

Public Attributes

const int ErrorFieldNumber = 1
 Field number for the "error" field. More...
 
const int PayloadEncodingFieldNumber = 2
 Field number for the "payload_encoding" field. More...
 
const int JsonDocumentFieldNumber = 30
 Field number for the "json_document" field. More...
 

Properties

static pb::MessageParser< FindByIdResponseParser [get]
 
static pbr::MessageDescriptor Descriptor [get]
 
pbr::MessageDescriptor pb::IMessage. Descriptor [get]
 
global::Com.Mapr.Data.Db.RpcError Error [get, set]
 
  • NO_ERROR - if a document with the specified _id was found DOCUMENT_NOT_FOUND - if the document with the specified _id does not exist
More...
 
global::Com.Mapr.Data.Db.PayloadEncoding PayloadEncoding [get, set]
 
string? JsonDocument [get, set]
 
  • <b>[Required]</b><p/> Contains JSON encoded OJAI Document if the payload_encoding is JSON_ENCODING
More...
 
DataOneofCase DataCase [get]
 

Private Member Functions

partial void OnConstruction ()
 

Private Attributes

pb::UnknownFieldSet _unknownFields
 
global::Com.Mapr.Data.Db.RpcError error_
 
global::Com.Mapr.Data.Db.PayloadEncoding payloadEncoding_ = 0
 
object data_
 
DataOneofCase dataCase_ = DataOneofCase.None
 

Static Private Attributes

static readonly pb::MessageParser< FindByIdResponse_parser = new pb::MessageParser<FindByIdResponse>(() => new FindByIdResponse())
 

Member Enumeration Documentation

◆ DataOneofCase

Enum of possible cases for the "data" oneof.

Member Data Documentation

◆ ErrorFieldNumber

const int Com.Mapr.Data.Db.FindByIdResponse.ErrorFieldNumber = 1

Field number for the "error" field.

◆ JsonDocumentFieldNumber

const int Com.Mapr.Data.Db.FindByIdResponse.JsonDocumentFieldNumber = 30

Field number for the "json_document" field.

◆ PayloadEncodingFieldNumber

const int Com.Mapr.Data.Db.FindByIdResponse.PayloadEncodingFieldNumber = 2

Field number for the "payload_encoding" field.

Property Documentation

◆ Error

global.Com.Mapr.Data.Db.RpcError Com.Mapr.Data.Db.FindByIdResponse.Error
getset

  • NO_ERROR - if a document with the specified _id was found DOCUMENT_NOT_FOUND - if the document with the specified _id does not exist

◆ JsonDocument

string? Com.Mapr.Data.Db.FindByIdResponse.JsonDocument
getset

  • <b>[Required]</b><p/> Contains JSON encoded OJAI Document if the payload_encoding is JSON_ENCODING