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: { string value = _single_text_codec.Read(input); if (text_ == null || value != "") { Text = value; } break; } case 16: { PinnedField = (global::Google.Ads.GoogleAds.V2.Enums.ServedAssetFieldTypeEnum.Types.ServedAssetFieldType)input.ReadEnum(); break; } } } }
public void MergeFrom(AdTextAsset other) { if (other == null) { return; } if (other.text_ != null) { if (text_ == null || other.Text != "") { Text = other.Text; } } if (other.PinnedField != 0) { PinnedField = other.PinnedField; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(AdTextAsset other) { if (other == null) { return; } if (other.text_ != null) { if (text_ == null || other.Text != "") { Text = other.Text; } } if (other.PinnedField != global::Google.Ads.GoogleAds.V2.Enums.ServedAssetFieldTypeEnum.Types.ServedAssetFieldType.Unspecified) { PinnedField = other.PinnedField; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }