Ejemplo n.º 1
0
 public void MergeFrom(DataRequest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Type != 0)
     {
         Type = other.Type;
     }
 }
Ejemplo n.º 2
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

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

                case 8: {
                    type_ = (global::GrpcService.Interface.DataRequest.Types.DataType)input.ReadEnum();
                    break;
                }
                }
            }
        }