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: { Certificate_ = input.ReadBytes(); break; } case 18: { Key = input.ReadBytes(); break; } case 24: { usage_ = (global::V2Ray.Core.Transport.Internet.Tls.Certificate.Types.Usage)input.ReadEnum(); break; } } } }
public void MergeFrom(Certificate other) { if (other == null) { return; } if (other.Certificate_.Length != 0) { Certificate_ = other.Certificate_; } if (other.Key.Length != 0) { Key = other.Key; } if (other.Usage != 0) { Usage = other.Usage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(Certificate other) { if (other == null) { return; } if (other.Certificate_.Length != 0) { Certificate_ = other.Certificate_; } if (other.Key.Length != 0) { Key = other.Key; } if (other.Usage != global::V2Ray.Core.Transport.Internet.Tls.Certificate.Types.Usage.Encipherment) { Usage = other.Usage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }