@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; }
@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; }
if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable();
@io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ResolveIncident", requestType = io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentRequest.class, responseType = io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor<io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentRequest, io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentResponse> getResolveIncidentMethod() { io.grpc.MethodDescriptor<io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentRequest, io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentResponse> getResolveIncidentMethod; if ((getResolveIncidentMethod = GatewayGrpc.getResolveIncidentMethod) == null) { synchronized (GatewayGrpc.class) { if ((getResolveIncidentMethod = GatewayGrpc.getResolveIncidentMethod) == null) { GatewayGrpc.getResolveIncidentMethod = getResolveIncidentMethod = io.grpc.MethodDescriptor.<io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentRequest, io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName( "gateway_protocol.Gateway", "ResolveIncident")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentResponse.getDefaultInstance())) .setSchemaDescriptor(new GatewayMethodDescriptorSupplier("ResolveIncident")) .build(); } } } return getResolveIncidentMethod; }
public ResolveIncidentCommandImpl(GatewayStub asyncStub, long incidentKey) { this.asyncStub = asyncStub; this.builder = ResolveIncidentRequest.newBuilder().setIncidentKey(incidentKey); }
@java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() {
public static Builder newBuilder(io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override
public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentRequest prototype) {
public static BrokerResolveIncidentRequest toResolveIncidentRequest( ResolveIncidentRequest grpcRequest) { return new BrokerResolveIncidentRequest(grpcRequest.getIncidentKey()); }
public ResolveIncidentCommandImpl(GatewayStub asyncStub, long incidentKey) { this.asyncStub = asyncStub; this.builder = ResolveIncidentRequest.newBuilder().setIncidentKey(incidentKey); }
@java.lang.Override public io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentRequest getDefaultInstanceForType() { return io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentRequest.getDefaultInstance(); }
@java.lang.Override public io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentRequest buildPartial() { io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentRequest result = new io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentRequest(this); result.incidentKey_ = incidentKey_; onBuilt(); return result; }
@java.lang.Override public io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentRequest build() { io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
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; }