public void MergeFrom(CheckRequest other) { if (other == null) { return; } if (other.attributes_ != null) { if (attributes_ == null) { Attributes = new global::Envoy.Service.Auth.V2.AttributeContext(); } Attributes.MergeFrom(other.Attributes); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
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 (attributes_ == null) { Attributes = new global::Envoy.Service.Auth.V2.AttributeContext(); } input.ReadMessage(Attributes); break; } } } }