public void MergeFrom(ReleaseEscrowedRewardsMessage other) { if (other == null) { return; } switch (other.ActionCase) { case ActionOneofCase.ClaimByCategory: if (ClaimByCategory == null) { ClaimByCategory = new global::WUProtos.Data.ClaimByCategoryRequestAction(); } ClaimByCategory.MergeFrom(other.ClaimByCategory); break; case ActionOneofCase.AbandonAll: if (AbandonAll == null) { AbandonAll = new global::WUProtos.Data.AbandonAllRequestAction(); } AbandonAll.MergeFrom(other.AbandonAll); break; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public override int GetHashCode() { int hash = 1; if (actionCase_ == ActionOneofCase.ClaimByCategory) { hash ^= ClaimByCategory.GetHashCode(); } if (actionCase_ == ActionOneofCase.AbandonAll) { hash ^= AbandonAll.GetHashCode(); } hash ^= (int)actionCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }