All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.devtools.clouddebugger.v2.Debugger2Grpc Maven / Gradle / Ivy

There is a newer version: 1.55.0
Show newest version
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.google.devtools.clouddebugger.v2;

import static io.grpc.MethodDescriptor.generateFullMethodName;

/**
 *
 *
 * 
 * The Debugger service provides the API that allows users to collect run-time
 * information from a running application, without stopping or slowing it down
 * and without modifying its state.  An application may include one or
 * more replicated processes performing the same work.
 * A debugged application is represented using the Debuggee concept. The
 * Debugger service provides a way to query for available debuggees, but does
 * not provide a way to create one.  A debuggee is created using the Controller
 * service, usually by running a debugger agent with the application.
 * The Debugger service enables the client to set one or more Breakpoints on a
 * Debuggee and collect the results of the set Breakpoints.
 * 
*/ @javax.annotation.Generated( value = "by gRPC proto compiler", comments = "Source: google/devtools/clouddebugger/v2/debugger.proto") @io.grpc.stub.annotations.GrpcGenerated public final class Debugger2Grpc { private Debugger2Grpc() {} public static final java.lang.String SERVICE_NAME = "google.devtools.clouddebugger.v2.Debugger2"; // Static method descriptors that strictly reflect the proto. private static volatile io.grpc.MethodDescriptor< com.google.devtools.clouddebugger.v2.SetBreakpointRequest, com.google.devtools.clouddebugger.v2.SetBreakpointResponse> getSetBreakpointMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "SetBreakpoint", requestType = com.google.devtools.clouddebugger.v2.SetBreakpointRequest.class, responseType = com.google.devtools.clouddebugger.v2.SetBreakpointResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.devtools.clouddebugger.v2.SetBreakpointRequest, com.google.devtools.clouddebugger.v2.SetBreakpointResponse> getSetBreakpointMethod() { io.grpc.MethodDescriptor< com.google.devtools.clouddebugger.v2.SetBreakpointRequest, com.google.devtools.clouddebugger.v2.SetBreakpointResponse> getSetBreakpointMethod; if ((getSetBreakpointMethod = Debugger2Grpc.getSetBreakpointMethod) == null) { synchronized (Debugger2Grpc.class) { if ((getSetBreakpointMethod = Debugger2Grpc.getSetBreakpointMethod) == null) { Debugger2Grpc.getSetBreakpointMethod = getSetBreakpointMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetBreakpoint")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.devtools.clouddebugger.v2.SetBreakpointRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.devtools.clouddebugger.v2.SetBreakpointResponse .getDefaultInstance())) .setSchemaDescriptor(new Debugger2MethodDescriptorSupplier("SetBreakpoint")) .build(); } } } return getSetBreakpointMethod; } private static volatile io.grpc.MethodDescriptor< com.google.devtools.clouddebugger.v2.GetBreakpointRequest, com.google.devtools.clouddebugger.v2.GetBreakpointResponse> getGetBreakpointMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetBreakpoint", requestType = com.google.devtools.clouddebugger.v2.GetBreakpointRequest.class, responseType = com.google.devtools.clouddebugger.v2.GetBreakpointResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.devtools.clouddebugger.v2.GetBreakpointRequest, com.google.devtools.clouddebugger.v2.GetBreakpointResponse> getGetBreakpointMethod() { io.grpc.MethodDescriptor< com.google.devtools.clouddebugger.v2.GetBreakpointRequest, com.google.devtools.clouddebugger.v2.GetBreakpointResponse> getGetBreakpointMethod; if ((getGetBreakpointMethod = Debugger2Grpc.getGetBreakpointMethod) == null) { synchronized (Debugger2Grpc.class) { if ((getGetBreakpointMethod = Debugger2Grpc.getGetBreakpointMethod) == null) { Debugger2Grpc.getGetBreakpointMethod = getGetBreakpointMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetBreakpoint")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.devtools.clouddebugger.v2.GetBreakpointRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.devtools.clouddebugger.v2.GetBreakpointResponse .getDefaultInstance())) .setSchemaDescriptor(new Debugger2MethodDescriptorSupplier("GetBreakpoint")) .build(); } } } return getGetBreakpointMethod; } private static volatile io.grpc.MethodDescriptor< com.google.devtools.clouddebugger.v2.DeleteBreakpointRequest, com.google.protobuf.Empty> getDeleteBreakpointMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DeleteBreakpoint", requestType = com.google.devtools.clouddebugger.v2.DeleteBreakpointRequest.class, responseType = com.google.protobuf.Empty.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.devtools.clouddebugger.v2.DeleteBreakpointRequest, com.google.protobuf.Empty> getDeleteBreakpointMethod() { io.grpc.MethodDescriptor< com.google.devtools.clouddebugger.v2.DeleteBreakpointRequest, com.google.protobuf.Empty> getDeleteBreakpointMethod; if ((getDeleteBreakpointMethod = Debugger2Grpc.getDeleteBreakpointMethod) == null) { synchronized (Debugger2Grpc.class) { if ((getDeleteBreakpointMethod = Debugger2Grpc.getDeleteBreakpointMethod) == null) { Debugger2Grpc.getDeleteBreakpointMethod = getDeleteBreakpointMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteBreakpoint")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.devtools.clouddebugger.v2.DeleteBreakpointRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.protobuf.Empty.getDefaultInstance())) .setSchemaDescriptor( new Debugger2MethodDescriptorSupplier("DeleteBreakpoint")) .build(); } } } return getDeleteBreakpointMethod; } private static volatile io.grpc.MethodDescriptor< com.google.devtools.clouddebugger.v2.ListBreakpointsRequest, com.google.devtools.clouddebugger.v2.ListBreakpointsResponse> getListBreakpointsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListBreakpoints", requestType = com.google.devtools.clouddebugger.v2.ListBreakpointsRequest.class, responseType = com.google.devtools.clouddebugger.v2.ListBreakpointsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.devtools.clouddebugger.v2.ListBreakpointsRequest, com.google.devtools.clouddebugger.v2.ListBreakpointsResponse> getListBreakpointsMethod() { io.grpc.MethodDescriptor< com.google.devtools.clouddebugger.v2.ListBreakpointsRequest, com.google.devtools.clouddebugger.v2.ListBreakpointsResponse> getListBreakpointsMethod; if ((getListBreakpointsMethod = Debugger2Grpc.getListBreakpointsMethod) == null) { synchronized (Debugger2Grpc.class) { if ((getListBreakpointsMethod = Debugger2Grpc.getListBreakpointsMethod) == null) { Debugger2Grpc.getListBreakpointsMethod = getListBreakpointsMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListBreakpoints")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.devtools.clouddebugger.v2.ListBreakpointsRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.devtools.clouddebugger.v2.ListBreakpointsResponse .getDefaultInstance())) .setSchemaDescriptor(new Debugger2MethodDescriptorSupplier("ListBreakpoints")) .build(); } } } return getListBreakpointsMethod; } private static volatile io.grpc.MethodDescriptor< com.google.devtools.clouddebugger.v2.ListDebuggeesRequest, com.google.devtools.clouddebugger.v2.ListDebuggeesResponse> getListDebuggeesMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListDebuggees", requestType = com.google.devtools.clouddebugger.v2.ListDebuggeesRequest.class, responseType = com.google.devtools.clouddebugger.v2.ListDebuggeesResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.devtools.clouddebugger.v2.ListDebuggeesRequest, com.google.devtools.clouddebugger.v2.ListDebuggeesResponse> getListDebuggeesMethod() { io.grpc.MethodDescriptor< com.google.devtools.clouddebugger.v2.ListDebuggeesRequest, com.google.devtools.clouddebugger.v2.ListDebuggeesResponse> getListDebuggeesMethod; if ((getListDebuggeesMethod = Debugger2Grpc.getListDebuggeesMethod) == null) { synchronized (Debugger2Grpc.class) { if ((getListDebuggeesMethod = Debugger2Grpc.getListDebuggeesMethod) == null) { Debugger2Grpc.getListDebuggeesMethod = getListDebuggeesMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDebuggees")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.devtools.clouddebugger.v2.ListDebuggeesRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.devtools.clouddebugger.v2.ListDebuggeesResponse .getDefaultInstance())) .setSchemaDescriptor(new Debugger2MethodDescriptorSupplier("ListDebuggees")) .build(); } } } return getListDebuggeesMethod; } /** Creates a new async stub that supports all call types for the service */ public static Debugger2Stub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public Debugger2Stub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new Debugger2Stub(channel, callOptions); } }; return Debugger2Stub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ public static Debugger2BlockingStub newBlockingStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public Debugger2BlockingStub newStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new Debugger2BlockingStub(channel, callOptions); } }; return Debugger2BlockingStub.newStub(factory, channel); } /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static Debugger2FutureStub newFutureStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public Debugger2FutureStub newStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new Debugger2FutureStub(channel, callOptions); } }; return Debugger2FutureStub.newStub(factory, channel); } /** * * *
   * The Debugger service provides the API that allows users to collect run-time
   * information from a running application, without stopping or slowing it down
   * and without modifying its state.  An application may include one or
   * more replicated processes performing the same work.
   * A debugged application is represented using the Debuggee concept. The
   * Debugger service provides a way to query for available debuggees, but does
   * not provide a way to create one.  A debuggee is created using the Controller
   * service, usually by running a debugger agent with the application.
   * The Debugger service enables the client to set one or more Breakpoints on a
   * Debuggee and collect the results of the set Breakpoints.
   * 
*/ public interface AsyncService { /** * * *
     * Sets the breakpoint to the debuggee.
     * 
*/ default void setBreakpoint( com.google.devtools.clouddebugger.v2.SetBreakpointRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getSetBreakpointMethod(), responseObserver); } /** * * *
     * Gets breakpoint information.
     * 
*/ default void getBreakpoint( com.google.devtools.clouddebugger.v2.GetBreakpointRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getGetBreakpointMethod(), responseObserver); } /** * * *
     * Deletes the breakpoint from the debuggee.
     * 
*/ default void deleteBreakpoint( com.google.devtools.clouddebugger.v2.DeleteBreakpointRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getDeleteBreakpointMethod(), responseObserver); } /** * * *
     * Lists all breakpoints for the debuggee.
     * 
*/ default void listBreakpoints( com.google.devtools.clouddebugger.v2.ListBreakpointsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getListBreakpointsMethod(), responseObserver); } /** * * *
     * Lists all the debuggees that the user has access to.
     * 
*/ default void listDebuggees( com.google.devtools.clouddebugger.v2.ListDebuggeesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getListDebuggeesMethod(), responseObserver); } } /** * Base class for the server implementation of the service Debugger2. * *
   * The Debugger service provides the API that allows users to collect run-time
   * information from a running application, without stopping or slowing it down
   * and without modifying its state.  An application may include one or
   * more replicated processes performing the same work.
   * A debugged application is represented using the Debuggee concept. The
   * Debugger service provides a way to query for available debuggees, but does
   * not provide a way to create one.  A debuggee is created using the Controller
   * service, usually by running a debugger agent with the application.
   * The Debugger service enables the client to set one or more Breakpoints on a
   * Debuggee and collect the results of the set Breakpoints.
   * 
*/ public abstract static class Debugger2ImplBase implements io.grpc.BindableService, AsyncService { @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return Debugger2Grpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service Debugger2. * *
   * The Debugger service provides the API that allows users to collect run-time
   * information from a running application, without stopping or slowing it down
   * and without modifying its state.  An application may include one or
   * more replicated processes performing the same work.
   * A debugged application is represented using the Debuggee concept. The
   * Debugger service provides a way to query for available debuggees, but does
   * not provide a way to create one.  A debuggee is created using the Controller
   * service, usually by running a debugger agent with the application.
   * The Debugger service enables the client to set one or more Breakpoints on a
   * Debuggee and collect the results of the set Breakpoints.
   * 
*/ public static final class Debugger2Stub extends io.grpc.stub.AbstractAsyncStub { private Debugger2Stub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected Debugger2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new Debugger2Stub(channel, callOptions); } /** * * *
     * Sets the breakpoint to the debuggee.
     * 
*/ public void setBreakpoint( com.google.devtools.clouddebugger.v2.SetBreakpointRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getSetBreakpointMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Gets breakpoint information.
     * 
*/ public void getBreakpoint( com.google.devtools.clouddebugger.v2.GetBreakpointRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetBreakpointMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Deletes the breakpoint from the debuggee.
     * 
*/ public void deleteBreakpoint( com.google.devtools.clouddebugger.v2.DeleteBreakpointRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteBreakpointMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Lists all breakpoints for the debuggee.
     * 
*/ public void listBreakpoints( com.google.devtools.clouddebugger.v2.ListBreakpointsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListBreakpointsMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Lists all the debuggees that the user has access to.
     * 
*/ public void listDebuggees( com.google.devtools.clouddebugger.v2.ListDebuggeesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListDebuggeesMethod(), getCallOptions()), request, responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service Debugger2. * *
   * The Debugger service provides the API that allows users to collect run-time
   * information from a running application, without stopping or slowing it down
   * and without modifying its state.  An application may include one or
   * more replicated processes performing the same work.
   * A debugged application is represented using the Debuggee concept. The
   * Debugger service provides a way to query for available debuggees, but does
   * not provide a way to create one.  A debuggee is created using the Controller
   * service, usually by running a debugger agent with the application.
   * The Debugger service enables the client to set one or more Breakpoints on a
   * Debuggee and collect the results of the set Breakpoints.
   * 
*/ public static final class Debugger2BlockingStub extends io.grpc.stub.AbstractBlockingStub { private Debugger2BlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected Debugger2BlockingStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new Debugger2BlockingStub(channel, callOptions); } /** * * *
     * Sets the breakpoint to the debuggee.
     * 
*/ public com.google.devtools.clouddebugger.v2.SetBreakpointResponse setBreakpoint( com.google.devtools.clouddebugger.v2.SetBreakpointRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSetBreakpointMethod(), getCallOptions(), request); } /** * * *
     * Gets breakpoint information.
     * 
*/ public com.google.devtools.clouddebugger.v2.GetBreakpointResponse getBreakpoint( com.google.devtools.clouddebugger.v2.GetBreakpointRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetBreakpointMethod(), getCallOptions(), request); } /** * * *
     * Deletes the breakpoint from the debuggee.
     * 
*/ public com.google.protobuf.Empty deleteBreakpoint( com.google.devtools.clouddebugger.v2.DeleteBreakpointRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteBreakpointMethod(), getCallOptions(), request); } /** * * *
     * Lists all breakpoints for the debuggee.
     * 
*/ public com.google.devtools.clouddebugger.v2.ListBreakpointsResponse listBreakpoints( com.google.devtools.clouddebugger.v2.ListBreakpointsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListBreakpointsMethod(), getCallOptions(), request); } /** * * *
     * Lists all the debuggees that the user has access to.
     * 
*/ public com.google.devtools.clouddebugger.v2.ListDebuggeesResponse listDebuggees( com.google.devtools.clouddebugger.v2.ListDebuggeesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListDebuggeesMethod(), getCallOptions(), request); } } /** * A stub to allow clients to do ListenableFuture-style rpc calls to service Debugger2. * *
   * The Debugger service provides the API that allows users to collect run-time
   * information from a running application, without stopping or slowing it down
   * and without modifying its state.  An application may include one or
   * more replicated processes performing the same work.
   * A debugged application is represented using the Debuggee concept. The
   * Debugger service provides a way to query for available debuggees, but does
   * not provide a way to create one.  A debuggee is created using the Controller
   * service, usually by running a debugger agent with the application.
   * The Debugger service enables the client to set one or more Breakpoints on a
   * Debuggee and collect the results of the set Breakpoints.
   * 
*/ public static final class Debugger2FutureStub extends io.grpc.stub.AbstractFutureStub { private Debugger2FutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected Debugger2FutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new Debugger2FutureStub(channel, callOptions); } /** * * *
     * Sets the breakpoint to the debuggee.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture< com.google.devtools.clouddebugger.v2.SetBreakpointResponse> setBreakpoint(com.google.devtools.clouddebugger.v2.SetBreakpointRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSetBreakpointMethod(), getCallOptions()), request); } /** * * *
     * Gets breakpoint information.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture< com.google.devtools.clouddebugger.v2.GetBreakpointResponse> getBreakpoint(com.google.devtools.clouddebugger.v2.GetBreakpointRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetBreakpointMethod(), getCallOptions()), request); } /** * * *
     * Deletes the breakpoint from the debuggee.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture deleteBreakpoint(com.google.devtools.clouddebugger.v2.DeleteBreakpointRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteBreakpointMethod(), getCallOptions()), request); } /** * * *
     * Lists all breakpoints for the debuggee.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture< com.google.devtools.clouddebugger.v2.ListBreakpointsResponse> listBreakpoints(com.google.devtools.clouddebugger.v2.ListBreakpointsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListBreakpointsMethod(), getCallOptions()), request); } /** * * *
     * Lists all the debuggees that the user has access to.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture< com.google.devtools.clouddebugger.v2.ListDebuggeesResponse> listDebuggees(com.google.devtools.clouddebugger.v2.ListDebuggeesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListDebuggeesMethod(), getCallOptions()), request); } } private static final int METHODID_SET_BREAKPOINT = 0; private static final int METHODID_GET_BREAKPOINT = 1; private static final int METHODID_DELETE_BREAKPOINT = 2; private static final int METHODID_LIST_BREAKPOINTS = 3; private static final int METHODID_LIST_DEBUGGEES = 4; private static final class MethodHandlers implements io.grpc.stub.ServerCalls.UnaryMethod, io.grpc.stub.ServerCalls.ServerStreamingMethod, io.grpc.stub.ServerCalls.ClientStreamingMethod, io.grpc.stub.ServerCalls.BidiStreamingMethod { private final AsyncService serviceImpl; private final int methodId; MethodHandlers(AsyncService serviceImpl, int methodId) { this.serviceImpl = serviceImpl; this.methodId = methodId; } @java.lang.Override @java.lang.SuppressWarnings("unchecked") public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_SET_BREAKPOINT: serviceImpl.setBreakpoint( (com.google.devtools.clouddebugger.v2.SetBreakpointRequest) request, (io.grpc.stub.StreamObserver< com.google.devtools.clouddebugger.v2.SetBreakpointResponse>) responseObserver); break; case METHODID_GET_BREAKPOINT: serviceImpl.getBreakpoint( (com.google.devtools.clouddebugger.v2.GetBreakpointRequest) request, (io.grpc.stub.StreamObserver< com.google.devtools.clouddebugger.v2.GetBreakpointResponse>) responseObserver); break; case METHODID_DELETE_BREAKPOINT: serviceImpl.deleteBreakpoint( (com.google.devtools.clouddebugger.v2.DeleteBreakpointRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_BREAKPOINTS: serviceImpl.listBreakpoints( (com.google.devtools.clouddebugger.v2.ListBreakpointsRequest) request, (io.grpc.stub.StreamObserver< com.google.devtools.clouddebugger.v2.ListBreakpointsResponse>) responseObserver); break; case METHODID_LIST_DEBUGGEES: serviceImpl.listDebuggees( (com.google.devtools.clouddebugger.v2.ListDebuggeesRequest) request, (io.grpc.stub.StreamObserver< com.google.devtools.clouddebugger.v2.ListDebuggeesResponse>) responseObserver); break; default: throw new AssertionError(); } } @java.lang.Override @java.lang.SuppressWarnings("unchecked") public io.grpc.stub.StreamObserver invoke( io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { default: throw new AssertionError(); } } } public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getSetBreakpointMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.devtools.clouddebugger.v2.SetBreakpointRequest, com.google.devtools.clouddebugger.v2.SetBreakpointResponse>( service, METHODID_SET_BREAKPOINT))) .addMethod( getGetBreakpointMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.devtools.clouddebugger.v2.GetBreakpointRequest, com.google.devtools.clouddebugger.v2.GetBreakpointResponse>( service, METHODID_GET_BREAKPOINT))) .addMethod( getDeleteBreakpointMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.devtools.clouddebugger.v2.DeleteBreakpointRequest, com.google.protobuf.Empty>(service, METHODID_DELETE_BREAKPOINT))) .addMethod( getListBreakpointsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.devtools.clouddebugger.v2.ListBreakpointsRequest, com.google.devtools.clouddebugger.v2.ListBreakpointsResponse>( service, METHODID_LIST_BREAKPOINTS))) .addMethod( getListDebuggeesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.devtools.clouddebugger.v2.ListDebuggeesRequest, com.google.devtools.clouddebugger.v2.ListDebuggeesResponse>( service, METHODID_LIST_DEBUGGEES))) .build(); } private abstract static class Debugger2BaseDescriptorSupplier implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { Debugger2BaseDescriptorSupplier() {} @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { return com.google.devtools.clouddebugger.v2.DebuggerProto.getDescriptor(); } @java.lang.Override public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { return getFileDescriptor().findServiceByName("Debugger2"); } } private static final class Debugger2FileDescriptorSupplier extends Debugger2BaseDescriptorSupplier { Debugger2FileDescriptorSupplier() {} } private static final class Debugger2MethodDescriptorSupplier extends Debugger2BaseDescriptorSupplier implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { private final java.lang.String methodName; Debugger2MethodDescriptorSupplier(java.lang.String methodName) { this.methodName = methodName; } @java.lang.Override public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { return getServiceDescriptor().findMethodByName(methodName); } } private static volatile io.grpc.ServiceDescriptor serviceDescriptor; public static io.grpc.ServiceDescriptor getServiceDescriptor() { io.grpc.ServiceDescriptor result = serviceDescriptor; if (result == null) { synchronized (Debugger2Grpc.class) { result = serviceDescriptor; if (result == null) { serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new Debugger2FileDescriptorSupplier()) .addMethod(getSetBreakpointMethod()) .addMethod(getGetBreakpointMethod()) .addMethod(getDeleteBreakpointMethod()) .addMethod(getListBreakpointsMethod()) .addMethod(getListDebuggeesMethod()) .build(); } } } return result; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy