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: {
                    PersonName = input.ReadString();
                    break;
                }

                case 21: {
                    ConfidenceLevel = input.ReadFloat();
                    break;
                }
                }
            }
        }
Exemplo n.º 2
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 13: {
                    ConfidenceThreshold = input.ReadFloat();
                    break;
                }

                case 16: {
                    MaxPredictions = input.ReadInt32();
                    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 13: {
                    AuPrc = input.ReadFloat();
                    break;
                }

                case 18: {
                    confidenceMetricsEntries_.AddEntriesFrom(ref input, _repeated_confidenceMetricsEntries_codec);
                    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 8: {
                Id = input.ReadInt32();
                break;
            }

            case 21: {
                Value = input.ReadFloat();
                break;
            }
            }
        }
    }
Exemplo n.º 5
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 13: {
                    BaseScore = input.ReadFloat();
                    break;
                }

                case 21: {
                    ExploitabilityScore = input.ReadFloat();
                    break;
                }

                case 29: {
                    ImpactScore = input.ReadFloat();
                    break;
                }

                case 40: {
                    AttackVector = (global::Grafeas.V1.CVSSv3.Types.AttackVector)input.ReadEnum();
                    break;
                }

                case 48: {
                    AttackComplexity = (global::Grafeas.V1.CVSSv3.Types.AttackComplexity)input.ReadEnum();
                    break;
                }

                case 56: {
                    PrivilegesRequired = (global::Grafeas.V1.CVSSv3.Types.PrivilegesRequired)input.ReadEnum();
                    break;
                }

                case 64: {
                    UserInteraction = (global::Grafeas.V1.CVSSv3.Types.UserInteraction)input.ReadEnum();
                    break;
                }

                case 72: {
                    Scope = (global::Grafeas.V1.CVSSv3.Types.Scope)input.ReadEnum();
                    break;
                }

                case 80: {
                    ConfidentialityImpact = (global::Grafeas.V1.CVSSv3.Types.Impact)input.ReadEnum();
                    break;
                }

                case 88: {
                    IntegrityImpact = (global::Grafeas.V1.CVSSv3.Types.Impact)input.ReadEnum();
                    break;
                }

                case 96: {
                    AvailabilityImpact = (global::Grafeas.V1.CVSSv3.Types.Impact)input.ReadEnum();
                    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: {
                    Name = input.ReadString();
                    break;
                }

                case 18: {
                    Id = input.ReadString();
                    break;
                }

                case 26: {
                    AppEngineRelease = input.ReadString();
                    break;
                }

                case 32: {
                    Availability = (global::Google.Cloud.AppEngine.V1.Instance.Types.Availability)input.ReadEnum();
                    break;
                }

                case 42: {
                    VmName = input.ReadString();
                    break;
                }

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

                case 58: {
                    VmId = input.ReadString();
                    break;
                }

                case 66: {
                    if (startTime_ == null)
                    {
                        StartTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
                    }
                    input.ReadMessage(StartTime);
                    break;
                }

                case 72: {
                    Requests = input.ReadInt32();
                    break;
                }

                case 80: {
                    Errors = input.ReadInt32();
                    break;
                }

                case 93: {
                    Qps = input.ReadFloat();
                    break;
                }

                case 96: {
                    AverageLatency = input.ReadInt32();
                    break;
                }

                case 104: {
                    MemoryUsage = input.ReadInt64();
                    break;
                }

                case 114: {
                    VmStatus = input.ReadString();
                    break;
                }

                case 120: {
                    VmDebugEnabled = input.ReadBool();
                    break;
                }

                case 130: {
                    VmIp = input.ReadString();
                    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 13: {
                    Precision = input.ReadFloat();
                    break;
                }

                case 21: {
                    Recall = input.ReadFloat();
                    break;
                }

                case 29: {
                    F1Score = input.ReadFloat();
                    break;
                }

                case 37: {
                    MeanAbsoluteError = input.ReadFloat();
                    break;
                }

                case 45: {
                    MeanSquaredError = input.ReadFloat();
                    break;
                }

                case 53: {
                    LinearKappa = input.ReadFloat();
                    break;
                }

                case 61: {
                    QuadraticKappa = input.ReadFloat();
                    break;
                }

                case 66: {
                    if (confusionMatrix_ == null)
                    {
                        ConfusionMatrix = new global::Google.Cloud.Automl.V1Beta1.ClassificationEvaluationMetrics.Types.ConfusionMatrix();
                    }
                    input.ReadMessage(ConfusionMatrix);
                    break;
                }

                case 74: {
                    annotationSpecId_.AddEntriesFrom(ref input, _repeated_annotationSpecId_codec);
                    break;
                }
                }
            }
        }
Exemplo n.º 8
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: {
                    Id = input.ReadInt32();
                    break;
                }

                case 18: {
                    Name = input.ReadString();
                    break;
                }

                case 29: {
                    Height = input.ReadFloat();
                    break;
                }

                case 37: {
                    Weight = input.ReadFloat();
                    break;
                }

                case 42: {
                    Avator = input.ReadBytes();
                    break;
                }

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

                case 56: {
                    EmailVerified = input.ReadBool();
                    break;
                }

                case 66: {
                    phoneNumber_.AddEntriesFrom(ref input, _repeated_phoneNumber_codec);
                    break;
                }

                case 88: {
                    Gender = (global::My.Project.Gender)input.ReadEnum();
                    break;
                }

                case 98: {
                    if (birthday_ == null)
                    {
                        Birthday = new global::Date();
                    }
                    input.ReadMessage(Birthday);
                    break;
                }

                case 106: {
                    addresses_.AddEntriesFrom(ref input, _repeated_addresses_codec);
                    break;
                }
                }
            }
        }
Exemplo n.º 9
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: {
                    if (accessPointsConfig_ == null)
                    {
                        AccessPointsConfig = new global::AcFunDanmu.AccessPointsConfig();
                    }
                    input.ReadMessage(AccessPointsConfig);
                    break;
                }

                case 16: {
                    ServerMsec = input.ReadInt64();
                    break;
                }

                case 26: {
                    if (accessPointsConfigIpv6_ == null)
                    {
                        AccessPointsConfigIpv6 = new global::AcFunDanmu.AccessPointsConfig();
                    }
                    input.ReadMessage(AccessPointsConfigIpv6);
                    break;
                }

                case 50: {
                    if (accessPointsConfigQUic_ == null)
                    {
                        AccessPointsConfigQUic = new global::AcFunDanmu.AccessPointsConfig();
                    }
                    input.ReadMessage(AccessPointsConfigQUic);
                    break;
                }

                case 58: {
                    if (accessPointsConfigQuicIpv6_ == null)
                    {
                        AccessPointsConfigQuicIpv6 = new global::AcFunDanmu.AccessPointsConfig();
                    }
                    input.ReadMessage(AccessPointsConfigQuicIpv6);
                    break;
                }

                case 69: {
                    FlowCostSampleRate = input.ReadFloat();
                    break;
                }

                case 77: {
                    CommandSampleRate = input.ReadFloat();
                    break;
                }

                case 82: {
                    if (accessPointsConfigWs_ == null)
                    {
                        AccessPointsConfigWs = new global::AcFunDanmu.AccessPointsConfig();
                    }
                    input.ReadMessage(AccessPointsConfigWs);
                    break;
                }
                }
            }
        }