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