@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; }
@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; }
if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable();
@io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "UpdateJobRetries", requestType = io.zeebe.gateway.protocol.GatewayOuterClass.UpdateJobRetriesRequest.class, responseType = io.zeebe.gateway.protocol.GatewayOuterClass.UpdateJobRetriesResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor<io.zeebe.gateway.protocol.GatewayOuterClass.UpdateJobRetriesRequest, io.zeebe.gateway.protocol.GatewayOuterClass.UpdateJobRetriesResponse> getUpdateJobRetriesMethod() { io.grpc.MethodDescriptor<io.zeebe.gateway.protocol.GatewayOuterClass.UpdateJobRetriesRequest, io.zeebe.gateway.protocol.GatewayOuterClass.UpdateJobRetriesResponse> getUpdateJobRetriesMethod; if ((getUpdateJobRetriesMethod = GatewayGrpc.getUpdateJobRetriesMethod) == null) { synchronized (GatewayGrpc.class) { if ((getUpdateJobRetriesMethod = GatewayGrpc.getUpdateJobRetriesMethod) == null) { GatewayGrpc.getUpdateJobRetriesMethod = getUpdateJobRetriesMethod = io.grpc.MethodDescriptor.<io.zeebe.gateway.protocol.GatewayOuterClass.UpdateJobRetriesRequest, io.zeebe.gateway.protocol.GatewayOuterClass.UpdateJobRetriesResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName( "gateway_protocol.Gateway", "UpdateJobRetries")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.zeebe.gateway.protocol.GatewayOuterClass.UpdateJobRetriesRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.zeebe.gateway.protocol.GatewayOuterClass.UpdateJobRetriesResponse.getDefaultInstance())) .setSchemaDescriptor(new GatewayMethodDescriptorSupplier("UpdateJobRetries")) .build(); } } } return getUpdateJobRetriesMethod; }
@java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() {
public static Builder newBuilder(io.zeebe.gateway.protocol.GatewayOuterClass.UpdateJobRetriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override
@java.lang.Override public io.zeebe.gateway.protocol.GatewayOuterClass.UpdateJobRetriesRequest getDefaultInstanceForType() { return io.zeebe.gateway.protocol.GatewayOuterClass.UpdateJobRetriesRequest.getDefaultInstance(); }
public JobUpdateRetriesCommandImpl(GatewayStub asyncStub, long jobKey) { this.asyncStub = asyncStub; builder = UpdateJobRetriesRequest.newBuilder(); builder.setJobKey(jobKey); }
public static BrokerUpdateJobRetriesRequest toUpdateJobRetriesRequest( UpdateJobRetriesRequest grpcRequest) { return new BrokerUpdateJobRetriesRequest(grpcRequest.getJobKey(), grpcRequest.getRetries()); }
public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.zeebe.gateway.protocol.GatewayOuterClass.UpdateJobRetriesRequest prototype) {
public JobUpdateRetriesCommandImpl(GatewayStub asyncStub, long jobKey) { this.asyncStub = asyncStub; builder = UpdateJobRetriesRequest.newBuilder(); builder.setJobKey(jobKey); }
@java.lang.Override public io.zeebe.gateway.protocol.GatewayOuterClass.UpdateJobRetriesRequest build() { io.zeebe.gateway.protocol.GatewayOuterClass.UpdateJobRetriesRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
@java.lang.Override public io.zeebe.gateway.protocol.GatewayOuterClass.UpdateJobRetriesRequest buildPartial() { io.zeebe.gateway.protocol.GatewayOuterClass.UpdateJobRetriesRequest result = new io.zeebe.gateway.protocol.GatewayOuterClass.UpdateJobRetriesRequest(this); result.jobKey_ = jobKey_; result.retries_ = retries_; onBuilt(); return result; }
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; }