public void MergeFrom(SetTimeModelRequest other) { if (other == null) { return; } if (other.SubmissionId.Length != 0) { SubmissionId = other.SubmissionId; } if (other.maximumRecordTime_ != null) { if (maximumRecordTime_ == null) { MaximumRecordTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } MaximumRecordTime.MergeFrom(other.MaximumRecordTime); } if (other.ConfigurationGeneration != 0L) { ConfigurationGeneration = other.ConfigurationGeneration; } if (other.newTimeModel_ != null) { if (newTimeModel_ == null) { NewTimeModel = new global::Com.DigitalAsset.Ledger.Api.V1.Admin.TimeModel(); } NewTimeModel.MergeFrom(other.NewTimeModel); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public override int GetHashCode() { int hash = 1; if (SubmissionId.Length != 0) { hash ^= SubmissionId.GetHashCode(); } if (maximumRecordTime_ != null) { hash ^= MaximumRecordTime.GetHashCode(); } if (ConfigurationGeneration != 0L) { hash ^= ConfigurationGeneration.GetHashCode(); } if (newTimeModel_ != null) { hash ^= NewTimeModel.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }