@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + JOBKEY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getJobKey()); hash = (37 * hash) + RETRIES_FIELD_NUMBER; hash = (53 * hash) + getRetries(); 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 io.zeebe.gateway.protocol.GatewayOuterClass.UpdateJobRetriesRequest)) { return super.equals(obj); } io.zeebe.gateway.protocol.GatewayOuterClass.UpdateJobRetriesRequest other = (io.zeebe.gateway.protocol.GatewayOuterClass.UpdateJobRetriesRequest) obj; boolean result = true; result = result && (getJobKey() == other.getJobKey()); result = result && (getRetries() == other.getRetries()); result = result && unknownFields.equals(other.unknownFields); return result; }
public static BrokerUpdateJobRetriesRequest toUpdateJobRetriesRequest( UpdateJobRetriesRequest grpcRequest) { return new BrokerUpdateJobRetriesRequest(grpcRequest.getJobKey(), grpcRequest.getRetries()); }
public Builder mergeFrom(io.zeebe.gateway.protocol.GatewayOuterClass.UpdateJobRetriesRequest other) { if (other == io.zeebe.gateway.protocol.GatewayOuterClass.UpdateJobRetriesRequest.getDefaultInstance()) return this; if (other.getJobKey() != 0L) { setJobKey(other.getJobKey()); } if (other.getRetries() != 0) { setRetries(other.getRetries()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }