public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { Name = input.ReadString(); break; } case 18: { if (properties_ == null) { properties_ = new global::Vision.Tensorflow.Proto.DeviceProperties(); } input.ReadMessage(properties_); break; } } } }
public void MergeFrom(NamedDevice other) { if (other == null) { return; } if (other.Name.Length != 0) { Name = other.Name; } if (other.properties_ != null) { if (properties_ == null) { properties_ = new global::Vision.Tensorflow.Proto.DeviceProperties(); } Properties.MergeFrom(other.Properties); } }