コード例 #1
0
 public Builder SetRemoteFingerprint(global::libsignal.fingerprint.FingerprintProtos.FingerprintData value)
 {
     pb::ThrowHelper.ThrowIfNull(value, "value");
     PrepareBuilder();
     result.hasRemoteFingerprint = true;
     result.remoteFingerprint_   = value;
     return(this);
 }
コード例 #2
0
 public Builder MergeRemoteFingerprint(global::libsignal.fingerprint.FingerprintProtos.FingerprintData value)
 {
     pb::ThrowHelper.ThrowIfNull(value, "value");
     PrepareBuilder();
     if (result.hasRemoteFingerprint &&
         result.remoteFingerprint_ != global::libsignal.fingerprint.FingerprintProtos.FingerprintData.DefaultInstance)
     {
         result.remoteFingerprint_ = global::libsignal.fingerprint.FingerprintProtos.FingerprintData.CreateBuilder(result.remoteFingerprint_).MergeFrom(value).BuildPartial();
     }
     else
     {
         result.remoteFingerprint_ = value;
     }
     result.hasRemoteFingerprint = true;
     return(this);
 }