Exemplo n.º 1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (mutateTime_ != null)
            {
                hash ^= MutateTime.GetHashCode();
            }
            if (MutatedBy.Length != 0)
            {
                hash ^= MutatedBy.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 2
0
 public void MergeFrom(MutationRecord other)
 {
     if (other == null)
     {
         return;
     }
     if (other.mutateTime_ != null)
     {
         if (mutateTime_ == null)
         {
             MutateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         MutateTime.MergeFrom(other.MutateTime);
     }
     if (other.MutatedBy.Length != 0)
     {
         MutatedBy = other.MutatedBy;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }