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 (rowType_ == null)
                    {
                        rowType_ = new global::Google.Cloud.Spanner.V1.StructType();
                    }
                    input.ReadMessage(rowType_);
                    break;
                }

                case 18: {
                    if (transaction_ == null)
                    {
                        transaction_ = new global::Google.Cloud.Spanner.V1.Transaction();
                    }
                    input.ReadMessage(transaction_);
                    break;
                }
                }
            }
        }
Exemplo n.º 2
0
 public void MergeFrom(ResultSetMetadata other)
 {
     if (other == null)
     {
         return;
     }
     if (other.rowType_ != null)
     {
         if (rowType_ == null)
         {
             rowType_ = new global::Google.Cloud.Spanner.V1.StructType();
         }
         RowType.MergeFrom(other.RowType);
     }
     if (other.transaction_ != null)
     {
         if (transaction_ == null)
         {
             transaction_ = new global::Google.Cloud.Spanner.V1.Transaction();
         }
         Transaction.MergeFrom(other.Transaction);
     }
 }
Exemplo n.º 3
0
 public void MergeFrom(ResultSetMetadata other)
 {
     if (other == null)
     {
         return;
     }
     if (other.rowType_ != null)
     {
         if (rowType_ == null)
         {
             RowType = new global::Google.Cloud.Spanner.V1.StructType();
         }
         RowType.MergeFrom(other.RowType);
     }
     if (other.transaction_ != null)
     {
         if (transaction_ == null)
         {
             Transaction = new global::Google.Cloud.Spanner.V1.Transaction();
         }
         Transaction.MergeFrom(other.Transaction);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }