@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(); if (getGroupNameCount() > 0) { hash = (37 * hash) + GROUPNAME_FIELD_NUMBER; hash = (53 * hash) + getGroupNameList().hashCode(); } if (hasArguments()) { hash = (37 * hash) + ARGUMENTS_FIELD_NUMBER; hash = (53 * hash) + getArguments().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
@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.ExecuteFunctionOnGroupRequest)) { return super.equals(obj); } org.apache.geode.internal.protocol.protobuf.v1.FunctionAPI.ExecuteFunctionOnGroupRequest other = (org.apache.geode.internal.protocol.protobuf.v1.FunctionAPI.ExecuteFunctionOnGroupRequest) obj; boolean result = true; result = result && getFunctionID() .equals(other.getFunctionID()); result = result && getGroupNameList() .equals(other.getGroupNameList()); result = result && (hasArguments() == other.hasArguments()); if (hasArguments()) { result = result && getArguments() .equals(other.getArguments()); } result = result && unknownFields.equals(other.unknownFields); return result; }
public Builder mergeFrom(org.apache.geode.internal.protocol.protobuf.v1.FunctionAPI.ExecuteFunctionOnGroupRequest other) { if (other == org.apache.geode.internal.protocol.protobuf.v1.FunctionAPI.ExecuteFunctionOnGroupRequest.getDefaultInstance()) return this; if (!other.getFunctionID().isEmpty()) { functionID_ = other.functionID_; onChanged(); } if (!other.groupName_.isEmpty()) { if (groupName_.isEmpty()) { groupName_ = other.groupName_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureGroupNameIsMutable(); groupName_.addAll(other.groupName_); } onChanged(); } if (other.hasArguments()) { mergeArguments(other.getArguments()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
private Object getFunctionArguments(ExecuteFunctionOnGroupRequest request, ProtobufSerializationService serializationService) throws DecodingException { if (request.hasArguments()) { return serializationService.decode(request.getArguments()); } else { return null; } }