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: { global::Google.Cloud.AutoML.V1.GcsDestination subBuilder = new global::Google.Cloud.AutoML.V1.GcsDestination(); if (destinationCase_ == DestinationOneofCase.GcsDestination) { subBuilder.MergeFrom(GcsDestination); } input.ReadMessage(subBuilder); GcsDestination = subBuilder; break; } } } }
public void MergeFrom(OutputConfig other) { if (other == null) { return; } switch (other.DestinationCase) { case DestinationOneofCase.GcsDestination: if (GcsDestination == null) { GcsDestination = new global::Google.Cloud.AutoML.V1.GcsDestination(); } GcsDestination.MergeFrom(other.GcsDestination); break; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }