Exemplo n.º 1
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

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

                case 10: {
                    if (node_ == null)
                    {
                        node_ = new global::Opencensus.Proto.Agent.Common.V1.Node();
                    }
                    input.ReadMessage(node_);
                    break;
                }

                case 18: {
                    if (config_ == null)
                    {
                        config_ = new global::Opencensus.Proto.Trace.V1.TraceConfig();
                    }
                    input.ReadMessage(config_);
                    break;
                }
                }
            }
        }
Exemplo n.º 2
0
 public void MergeFrom(UpdatedLibraryConfig other)
 {
     if (other == null)
     {
         return;
     }
     if (other.config_ != null)
     {
         if (config_ == null)
         {
             config_ = new global::Opencensus.Proto.Trace.V1.TraceConfig();
         }
         Config.MergeFrom(other.Config);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Exemplo n.º 3
0
 public void MergeFrom(CurrentLibraryConfig other)
 {
     if (other == null)
     {
         return;
     }
     if (other.node_ != null)
     {
         if (node_ == null)
         {
             node_ = new global::Opencensus.Proto.Agent.Common.V1.Node();
         }
         Node.MergeFrom(other.Node);
     }
     if (other.config_ != null)
     {
         if (config_ == null)
         {
             config_ = new global::Opencensus.Proto.Trace.V1.TraceConfig();
         }
         Config.MergeFrom(other.Config);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }