Example #1
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _laidianCommandModelFieldNames;
     if (hasMessageType)
     {
         output.WriteEnum(1, field_names[2], (int)MessageType, MessageType);
     }
     if (hasLaidianData)
     {
         output.WriteMessage(2, field_names[0], LaidianData);
     }
     if (hasResult)
     {
         output.WriteInt32(3, field_names[3], Result);
     }
     if (hasMessage)
     {
         output.WriteString(4, field_names[1], Message);
     }
     if (hasTerminal)
     {
         output.WriteString(5, field_names[4], Terminal);
     }
     UnknownFields.WriteTo(output);
 }
Example #2
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _sendMessageRequestFieldNames;
            if (hasAccessToken)
            {
                output.WriteString(1, field_names[0], AccessToken);
            }
            if (hasFrom)
            {
                output.WriteString(2, field_names[1], From);
            }
            if (hasTo)
            {
                output.WriteString(3, field_names[3], To);
            }
            if (hasText)
            {
                output.WriteString(4, field_names[2], Text);
            }
            if (hasTopic)
            {
                output.WriteString(5, field_names[4], Topic);
            }
            UnknownFields.WriteTo(output);
        }
Example #3
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _sendMessageResponseFieldNames;
            if (hasErrCode)
            {
                output.WriteInt32(1, field_names[0], ErrCode);
            }
            if (hasErrMsg)
            {
                output.WriteString(2, field_names[1], ErrMsg);
            }
            if (hasFrom)
            {
                output.WriteString(3, field_names[2], From);
            }
            if (hasText)
            {
                output.WriteString(4, field_names[3], Text);
            }
            if (hasTopic)
            {
                output.WriteString(5, field_names[4], Topic);
            }
        }
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _a1100ResponseFieldNames;
     if (hasErrorInfo)
     {
         output.WriteString(1, field_names[1], ErrorInfo);
     }
     if (hasErrorCode)
     {
         output.WriteInt32(2, field_names[0], ErrorCode);
     }
     if (hasUid)
     {
         output.WriteString(3, field_names[4], Uid);
     }
     if (hasMessage)
     {
         output.WriteString(4, field_names[2], Message);
     }
     if (hasMessageType)
     {
         output.WriteString(5, field_names[3], MessageType);
     }
     UnknownFields.WriteTo(output);
 }
Example #5
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _personTestFieldNames;
     if (hasName)
     {
         output.WriteString(1, field_names[4], Name);
     }
     if (hasId)
     {
         output.WriteInt32(2, field_names[2], Id);
     }
     if (hasEmail)
     {
         output.WriteString(3, field_names[1], Email);
     }
     if (hasSize)
     {
         output.WriteString(4, field_names[5], Size);
     }
     if (hasBuf)
     {
         output.WriteBytes(5, field_names[0], Buf);
     }
     if (hasIsimg)
     {
         output.WriteBool(6, field_names[3], Isimg);
     }
     UnknownFields.WriteTo(output);
 }
Example #6
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _pbDecodeRequestFieldNames;
     if (hasIMEI)
     {
         output.WriteString(1, field_names[1], IMEI);
     }
     if (decodes_.Count > 0)
     {
         output.WriteBytesArray(2, field_names[0], decodes_);
     }
     if (hasLatitude)
     {
         output.WriteDouble(3, field_names[2], Latitude);
     }
     if (hasLongitude)
     {
         output.WriteDouble(4, field_names[3], Longitude);
     }
     if (hasCode)
     {
         output.WriteString(5, field_names[4], Code);
     }
     UnknownFields.WriteTo(output);
 }
Example #7
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _xtiveTagFieldNames;
            if (hasUid)
            {
                output.WriteString(1, field_names[6], Uid);
            }
            if (hasRssi)
            {
                output.WriteInt32(2, field_names[5], Rssi);
            }
            if (hasBLowPower)
            {
                output.WriteBool(3, field_names[2], BLowPower);
            }
            if (hasBExcite)
            {
                output.WriteBool(4, field_names[1], BExcite);
            }
            if (hasReaderIP)
            {
                output.WriteString(5, field_names[4], ReaderIP);
            }
            if (hasAn)
            {
                output.WriteString(6, field_names[0], An);
            }
            if (hasDateTime)
            {
                output.WriteString(7, field_names[3], DateTime);
            }
            UnknownFields.WriteTo(output);
        }
Example #8
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _bLVerifyAccountResultFieldNames;
            if (hasAccount)
            {
                output.WriteString(1, field_names[0], Account);
            }
            if (hasResult)
            {
                output.WriteBool(2, field_names[4], Result);
            }
            if (hasAccountId)
            {
                output.WriteString(3, field_names[1], AccountId);
            }
            if (hasOpCode)
            {
                output.WriteInt32(4, field_names[3], OpCode);
            }
            if (hasChannelId)
            {
                output.WriteInt32(5, field_names[2], ChannelId);
            }
            UnknownFields.WriteTo(output);
        }
Example #9
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _robotFieldNames;
     if (hasName)
     {
         output.WriteString(1, field_names[3], Name);
     }
     if (hasTeam)
     {
         output.WriteString(2, field_names[4], Team);
     }
     if (hasHost)
     {
         output.WriteString(3, field_names[0], Host);
     }
     if (hasLastSeen)
     {
         output.WriteMessage(4, field_names[2], LastSeen);
     }
     if (hasIsLogging)
     {
         output.WriteBool(5, field_names[1], IsLogging);
     }
     UnknownFields.WriteTo(output);
 }
Example #10
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _a1014ResponseFieldNames;
     if (hasErrorInfo)
     {
         output.WriteString(1, field_names[4], ErrorInfo);
     }
     if (hasErrorCode)
     {
         output.WriteInt32(2, field_names[3], ErrorCode);
     }
     if (hasUid)
     {
         output.WriteString(3, field_names[6], Uid);
     }
     if (hasHuType)
     {
         output.WriteInt32(4, field_names[5], HuType);
     }
     if (hasDesUid)
     {
         output.WriteString(5, field_names[2], DesUid);
     }
     if (hasCard1)
     {
         output.WriteInt32(6, field_names[0], Card1);
     }
     if (hasCard2)
     {
         output.WriteInt32(7, field_names[1], Card2);
     }
     UnknownFields.WriteTo(output);
 }
Example #11
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _a1025ResponseFieldNames;
     if (hasErrorInfo)
     {
         output.WriteString(1, field_names[1], ErrorInfo);
     }
     if (hasErrorCode)
     {
         output.WriteInt32(2, field_names[0], ErrorCode);
     }
     if (hasUid)
     {
         output.WriteString(3, field_names[4], Uid);
     }
     if (hasRoomCard)
     {
         output.WriteInt32(4, field_names[3], RoomCard);
     }
     if (hasFriendNumber)
     {
         output.WriteInt32(5, field_names[2], FriendNumber);
     }
     UnknownFields.WriteTo(output);
 }
Example #12
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _eventFieldNames;
     if (hasType)
     {
         output.WriteEnum(1, field_names[4], (int)Type, Type);
     }
     if (hasSumary)
     {
         output.WriteString(2, field_names[2], Sumary);
     }
     if (hasDetail)
     {
         output.WriteString(3, field_names[1], Detail);
     }
     if (hasTimestamp)
     {
         output.WriteUInt64(4, field_names[3], Timestamp);
     }
     if (hasBt)
     {
         output.WriteMessage(5, field_names[0], Bt);
     }
     UnknownFields.WriteTo(output);
 }
Example #13
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _normalFieldNames;
     if (hasUserID)
     {
         output.WriteUInt32(1, field_names[5], UserID);
     }
     if (hasList)
     {
         output.WriteString(2, field_names[2], List);
     }
     if (hasRmb)
     {
         output.WriteUInt32(3, field_names[3], Rmb);
     }
     if (hasFirstGif)
     {
         output.WriteBool(4, field_names[1], FirstGif);
     }
     if (hasBillNo)
     {
         output.WriteString(5, field_names[0], BillNo);
     }
     if (hasRmbActual)
     {
         output.WriteUInt32(6, field_names[4], RmbActual);
     }
     UnknownFields.WriteTo(output);
 }
Example #14
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _queryResponseMessageFieldNames;
            if (hasName)
            {
                output.WriteString(1, field_names[0], Name);
            }
            if (hasResponse)
            {
                output.WriteString(3, field_names[1], Response);
            }
        }
Example #15
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _queryOptionsProtoFieldNames;
            if (hasName)
            {
                output.WriteString(1, field_names[0], Name);
            }
            if (hasValue)
            {
                output.WriteString(2, field_names[1], Value);
            }
        }
Example #16
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _responseSessionIdFieldNames;
     if (hasRouterSessionId)
     {
         output.WriteString(1, field_names[1], RouterSessionId);
     }
     if (hasClientSessionId)
     {
         output.WriteString(2, field_names[0], ClientSessionId);
     }
     UnknownFields.WriteTo(output);
 }
Example #17
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _healthCheckRequestFieldNames;
     if (hasHost)
     {
         output.WriteString(1, field_names[0], Host);
     }
     if (hasService)
     {
         output.WriteString(2, field_names[1], Service);
     }
     UnknownFields.WriteTo(output);
 }
Example #18
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _helloRequestFieldNames;
            if (hasUser)
            {
                output.WriteString(1, field_names[1], User);
            }
            if (hasText)
            {
                output.WriteString(2, field_names[0], Text);
            }
        }
Example #19
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _loginDTOPBFieldNames;
     if (hasAccount)
     {
         output.WriteString(1, field_names[0], Account);
     }
     if (hasPassword)
     {
         output.WriteString(2, field_names[1], Password);
     }
     UnknownFields.WriteTo(output);
 }
Example #20
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _indexAttributeProtoFieldNames;
     if (hasName)
     {
         output.WriteString(1, field_names[0], Name);
     }
     if (hasOrder)
     {
         output.WriteString(2, field_names[1], Order);
     }
     UnknownFields.WriteTo(output);
 }
Example #21
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _getJobConfigRequestFieldNames;
            if (hasJobId)
            {
                output.WriteString(1, field_names[0], JobId);
            }
            if (hasUserId)
            {
                output.WriteString(2, field_names[1], UserId);
            }
            UnknownFields.WriteTo(output);
        }
Example #22
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _wordFilterFieldNames;
            if (hasType)
            {
                output.WriteString(1, field_names[1], Type);
            }
            if (hasRegex)
            {
                output.WriteString(2, field_names[0], Regex);
            }
            UnknownFields.WriteTo(output);
        }
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _lineSensorFieldNames;
     if (hasSensedPoint)
     {
         output.WriteMessage(1, field_names[3], SensedPoint);
     }
     if (hasStart)
     {
         output.WriteMessage(2, field_names[5], Start);
     }
     if (hasEnd)
     {
         output.WriteMessage(3, field_names[0], End);
     }
     if (hasRadius)
     {
         output.WriteDouble(4, field_names[1], Radius);
     }
     if (hasSensedPart)
     {
         output.WriteString(5, field_names[2], SensedPart);
     }
     if (hasSensorID)
     {
         output.WriteUInt32(6, field_names[4], SensorID);
     }
     UnknownFields.WriteTo(output);
 }
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _a1004ResponseFieldNames;
     if (hasErrorInfo)
     {
         output.WriteString(1, field_names[2], ErrorInfo);
     }
     if (hasErrorCode)
     {
         output.WriteInt32(2, field_names[1], ErrorCode);
     }
     if (hasRoomID)
     {
         output.WriteInt32(4, field_names[3], RoomID);
     }
     if (hasRoomType)
     {
         output.WriteInt32(5, field_names[4], RoomType);
     }
     if (users_.Count > 0)
     {
         output.WriteMessageArray(6, field_names[5], users_);
     }
     if (hasCancelType)
     {
         output.WriteInt32(7, field_names[0], CancelType);
     }
     UnknownFields.WriteTo(output);
 }
Example #25
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _channelStateFieldNames;
            if (hasIdentity)
            {
                output.WriteString(1, field_names[1], Identity);
            }
            if (hasProgram)
            {
                output.WriteFixed32(2, field_names[3], Program);
            }
            if (hasLocale)
            {
                output.WriteFixed32(3, field_names[2], Locale);
            }
            if (hasPublic)
            {
                output.WriteBool(4, field_names[4], Public);
            }
            if (hasBucketIndex)
            {
                output.WriteUInt32(5, field_names[0], BucketIndex);
            }
            UnknownFields.WriteTo(output);
        }
Example #26
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _recentPlayerFieldNames;
            if (hasEntity)
            {
                output.WriteMessage(1, field_names[2], Entity);
            }
            if (hasProgramId)
            {
                output.WriteString(2, field_names[4], ProgramId);
            }
            if (hasTimestampPlayed)
            {
                output.WriteFixed64(3, field_names[5], TimestampPlayed);
            }
            if (attributes_.Count > 0)
            {
                output.WriteMessageArray(4, field_names[0], attributes_);
            }
            if (hasId)
            {
                output.WriteFixed32(5, field_names[3], Id);
            }
            if (hasCounter)
            {
                output.WriteFixed32(6, field_names[1], Counter);
            }
            UnknownFields.WriteTo(output);
        }
Example #27
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _storageProviderConfigFieldNames;
     if (hasMaxDatabaseSize)
     {
         output.WriteInt64(1, field_names[3], MaxDatabaseSize);
     }
     if (hasProviderTypeString)
     {
         output.WriteString(2, field_names[4], ProviderTypeString);
     }
     if (hasIsMultiFileStore)
     {
         output.WriteBool(3, field_names[1], IsMultiFileStore);
     }
     if (hasLMDBProvider)
     {
         output.WriteMessage(4, field_names[2], LMDBProvider);
     }
     if (hasESENTProvider)
     {
         output.WriteMessage(5, field_names[0], ESENTProvider);
     }
     UnknownFields.WriteTo(output);
 }
Example #28
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _transportationTaskFieldNames;
     if (hasObject)
     {
         output.WriteMessage(1, field_names[2], Object);
     }
     if (hasContainer)
     {
         output.WriteMessage(2, field_names[0], Container);
     }
     if (hasQuantityDelivered)
     {
         output.WriteUInt64(3, field_names[4], QuantityDelivered);
     }
     if (hasQuantityRequested)
     {
         output.WriteUInt64(4, field_names[5], QuantityRequested);
     }
     if (hasDestination)
     {
         output.WriteMessage(5, field_names[1], Destination);
     }
     if (hasSource)
     {
         output.WriteMessage(6, field_names[6], Source);
     }
     if (hasProcessingTeam)
     {
         output.WriteString(7, field_names[3], ProcessingTeam);
     }
     UnknownFields.WriteTo(output);
 }
Example #29
0
    public override void WriteTo(pb::ICodedOutputStream output)
    {
        int size = SerializedSize;

        string[] field_names = _getJobConfigRequestFieldNames;
        pb::ExtendableMessage <GetJobConfigRequest, GetJobConfigRequest.Builder> .ExtensionWriter extensionWriter = CreateExtensionWriter(this);
        if (hasJobId)
        {
            output.WriteString(1, field_names[0], JobId);
        }
        if (hasUserId)
        {
            output.WriteString(2, field_names[1], UserId);
        }
        extensionWriter.WriteUntil(536870912, output);
        UnknownFields.WriteTo(output);
    }
Example #30
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _laidianStatusModelFieldNames;
     if (hasType)
     {
         output.WriteString(2, field_names[9], Type);
     }
     if (hasTerminal)
     {
         output.WriteString(3, field_names[7], Terminal);
     }
     if (hasTime)
     {
         output.WriteString(4, field_names[8], Time);
     }
     if (hasVd)
     {
         output.WriteString(5, field_names[10], Vd);
     }
     if (hasSmk)
     {
         output.WriteString(6, field_names[4], Smk);
     }
     if (hasTemp)
     {
         output.WriteString(7, field_names[6], Temp);
     }
     if (hasStatus)
     {
         output.WriteString(8, field_names[5], Status);
     }
     if (hasHsnum)
     {
         output.WriteString(9, field_names[1], Hsnum);
     }
     if (hasLinesstatus)
     {
         output.WriteString(10, field_names[3], Linesstatus);
     }
     if (lines_.Count > 0)
     {
         output.WriteInt32Array(11, field_names[2], lines_);
     }
     if (cdbs_.Count > 0)
     {
         output.WriteMessageArray(12, field_names[0], cdbs_);
     }
     UnknownFields.WriteTo(output);
 }