Example #1
0
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)
    {
        uint tag;

        while ((tag = input.ReadTag()) != 0)
        {
            switch (tag)
            {
            default:
                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
                break;

            case 8: {
                Index = input.ReadSInt32();
                break;
            }

            case 16: {
                Length = input.ReadSInt32();
                break;
            }

            case 24: {
                Pos = input.ReadSInt32();
                break;
            }
            }
        }
    }
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)
    {
        uint tag;

        while ((tag = input.ReadTag()) != 0)
        {
            switch (tag)
            {
            default:
                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
                break;

            case 10: {
                SocialSecurityNumber = input.ReadString();
                break;
            }

            case 16: {
                Year = input.ReadSInt32();
                break;
            }

            case 24: {
                Quarter = input.ReadSInt32();
                break;
            }

            case 33: {
                Amount = input.ReadDouble();
                break;
            }
            }
        }
    }
Example #3
0
        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
                    break;

                case 10: {
                    KeyData = input.ReadBytes();
                    break;
                }

                case 16: {
                    RollingStartIntervalNumber = input.ReadUInt32();
                    break;
                }

                case 24: {
                    RollingPeriod = input.ReadUInt32();
                    break;
                }

                case 32: {
                    TransmissionRiskLevel = input.ReadInt32();
                    break;
                }

                case 42: {
                    visitedCountries_.AddEntriesFrom(ref input, _repeated_visitedCountries_codec);
                    break;
                }

                case 50: {
                    Origin = input.ReadString();
                    break;
                }

                case 56: {
                    ReportType = (global::FederationGatewayApi.Models.Proto.TemporaryExposureKeyGatewayDto.Types.ReportType)input.ReadEnum();
                    break;
                }

                case 64: {
                    DaysSinceOnsetOfSymptoms = input.ReadSInt32();
                    break;
                }
                }
            }
        }
Example #4
0
        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
                    break;

                case 10: {
                    Locale = input.ReadString();
                    break;
                }

                case 16: {
                    Timezone = input.ReadSInt32();
                    break;
                }
                }
            }
        }