public override void WriteTo(pb::ICodedOutputStream output) { CalcSerializedSize(); string[] field_names = _replaceDocumentsCommandFieldNames; if (documents_.Count > 0) { output.WriteStringArray(1, field_names[0], documents_); } UnknownFields.WriteTo(output); }
public override void WriteTo(pb::ICodedOutputStream output) { int size = SerializedSize; string[] field_names = _contactsFieldNames; if (contactPoints_.Count > 0) { output.WriteStringArray(1, field_names[0], contactPoints_); } UnknownFields.WriteTo(output); }
public override void WriteTo(pb::ICodedOutputStream output) { CalcSerializedSize(); string[] field_names = _failedDocumentFieldNames; if (hasDocumentId) { output.WriteString(1, field_names[0], DocumentId); } if (hasErrorCode) { output.WriteInt32(2, field_names[1], ErrorCode); } if (errorParams_.Count > 0) { output.WriteStringArray(3, field_names[2], errorParams_); } UnknownFields.WriteTo(output); }
public override void WriteTo(pb::ICodedOutputStream output) { CalcSerializedSize(); string[] field_names = _dropIndexCommandFieldNames; if (attributes_.Count > 0) { output.WriteStringArray(1, field_names[1], attributes_); } if (hasIsAsync) { output.WriteBool(2, field_names[2], IsAsync); } if (hasIndexDropedCallbackId) { output.WriteSInt32(3, field_names[0], IndexDropedCallbackId); } UnknownFields.WriteTo(output); }
public override void WriteTo(pb::ICodedOutputStream output) { int size = SerializedSize; string[] field_names = _localeFieldNames; if (hasIdentifier) { output.WriteString(1, field_names[2], Identifier); } if (hasDescription) { output.WriteString(2, field_names[0], Description); } if (flag_.Count > 0) { output.WriteStringArray(3, field_names[1], flag_); } UnknownFields.WriteTo(output); }
public override void WriteTo(pb::ICodedOutputStream output) { int size = SerializedSize; string[] field_names = _packetSpeedFieldNames; if (hasType) { output.WriteEnum(1, field_names[2], (int)Type, Type); } if (string_.Count > 0) { output.WriteStringArray(2, field_names[1], string_); } if (float_.Count > 0) { output.WriteFloatArray(3, field_names[0], float_); } UnknownFields.WriteTo(output); }
public override void WriteTo(pb::ICodedOutputStream output) { CalcSerializedSize(); string[] field_names = _dataChunkFieldNames; if (hasChunkId) { output.WriteInt32(1, field_names[0], ChunkId); } if (hasReaderUId) { output.WriteString(2, field_names[3], ReaderUId); } if (documents_.Count > 0) { output.WriteStringArray(3, field_names[1], documents_); } if (hasIsLastChunk) { output.WriteBool(4, field_names[2], IsLastChunk); } UnknownFields.WriteTo(output); }