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: {
         FilePath = input.ReadString();
         break;
       }
       case 18: {
         if (gcsTimestamps_ == null) {
           GcsTimestamps = new global::Google.Cloud.DataCatalog.V1.SystemTimestamps();
         }
         input.ReadMessage(GcsTimestamps);
         break;
       }
       case 32: {
         SizeBytes = input.ReadInt64();
         break;
       }
     }
   }
 }
 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: {
         FilePath = input.ReadString();
         break;
       }
       case 18: {
         if (gcsTimestamps_ == null) {
           GcsTimestamps = new global::Google.Cloud.DataCatalog.V1.SystemTimestamps();
         }
         input.ReadMessage(GcsTimestamps);
         break;
       }
       case 32: {
         SizeBytes = input.ReadInt64();
         break;
       }
     }
   }
 #endif
 }
Example #3
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: {
                    FilePath = input.ReadString();
                    break;
                }

                case 18: {
                    if (gcsTimestamps_ == null)
                    {
                        GcsTimestamps = new global::Google.Cloud.DataCatalog.V1.SystemTimestamps();
                    }
                    input.ReadMessage(GcsTimestamps);
                    break;
                }

                case 32: {
                    SizeBytes = input.ReadInt64();
                    break;
                }
                }
            }
        }
 public void MergeFrom(GcsFileSpec other) {
   if (other == null) {
     return;
   }
   if (other.FilePath.Length != 0) {
     FilePath = other.FilePath;
   }
   if (other.gcsTimestamps_ != null) {
     if (gcsTimestamps_ == null) {
       GcsTimestamps = new global::Google.Cloud.DataCatalog.V1.SystemTimestamps();
     }
     GcsTimestamps.MergeFrom(other.GcsTimestamps);
   }
   if (other.SizeBytes != 0L) {
     SizeBytes = other.SizeBytes;
   }
   _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }