@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + FUNCTIONID_FIELD_NUMBER; hash = (53 * hash) + getFunctionID().hashCode(); hash = (37 * hash) + REGION_FIELD_NUMBER; hash = (53 * hash) + getRegion().hashCode(); if (hasArguments()) { hash = (37 * hash) + ARGUMENTS_FIELD_NUMBER; hash = (53 * hash) + getArguments().hashCode(); } if (getKeyFilterCount() > 0) { hash = (37 * hash) + KEYFILTER_FIELD_NUMBER; hash = (53 * hash) + getKeyFilterList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
onChanged(); if (other.hasArguments()) { mergeArguments(other.getArguments());
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.geode.internal.protocol.protobuf.v1.FunctionAPI.ExecuteFunctionOnRegionRequest)) { return super.equals(obj); } org.apache.geode.internal.protocol.protobuf.v1.FunctionAPI.ExecuteFunctionOnRegionRequest other = (org.apache.geode.internal.protocol.protobuf.v1.FunctionAPI.ExecuteFunctionOnRegionRequest) obj; boolean result = true; result = result && getFunctionID() .equals(other.getFunctionID()); result = result && getRegion() .equals(other.getRegion()); result = result && (hasArguments() == other.hasArguments()); if (hasArguments()) { result = result && getArguments() .equals(other.getArguments()); } result = result && getKeyFilterList() .equals(other.getKeyFilterList()); result = result && unknownFields.equals(other.unknownFields); return result; }
private Object getFunctionArguments(ExecuteFunctionOnRegionRequest request, ProtobufSerializationService serializationService) throws DecodingException { if (request.hasArguments()) { return serializationService.decode(request.getArguments()); } else { return null; } } }