Ejemplo n.º 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 10: {
                    ProjectName = input.ReadString();
                    break;
                }

                case 18: {
                    if (event_ == null)
                    {
                        Event = new global::Google.Cloud.ErrorReporting.V1Beta1.ReportedErrorEvent();
                    }
                    input.ReadMessage(Event);
                    break;
                }
                }
            }
        }
Ejemplo n.º 2
0
        public void MergeFrom(pb::CodedInputStream input)
        {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
            input.ReadRawMessage(this);
    #else
            uint tag;
            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

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

                case 18: {
                    if (event_ == null)
                    {
                        Event = new global::Google.Cloud.ErrorReporting.V1Beta1.ReportedErrorEvent();
                    }
                    input.ReadMessage(Event);
                    break;
                }
                }
            }
    #endif
        }
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

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

                case 18: {
                    if (event_ == null)
                    {
                        event_ = new global::Google.Cloud.ErrorReporting.V1Beta1.ReportedErrorEvent();
                    }
                    input.ReadMessage(event_);
                    break;
                }
                }
            }
        }
        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: {
                    ProjectName = input.ReadString();
                    break;
                }

                case 18: {
                    if (event_ == null)
                    {
                        Event = new global::Google.Cloud.ErrorReporting.V1Beta1.ReportedErrorEvent();
                    }
                    input.ReadMessage(Event);
                    break;
                }
                }
            }
        }
 public void MergeFrom(ReportErrorEventRequest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.ProjectName.Length != 0)
     {
         ProjectName = other.ProjectName;
     }
     if (other.event_ != null)
     {
         if (event_ == null)
         {
             event_ = new global::Google.Cloud.ErrorReporting.V1Beta1.ReportedErrorEvent();
         }
         Event.MergeFrom(other.Event);
     }
 }