Class ProfilerServiceGrpc (2.45.0)

public final class ProfilerServiceGrpc

Manage the collection of continuous profiling data provided by profiling agents running in the cloud or by an offline provider of profiling data. The APIs listed in this service are intended for use within our profiler agents only.

Inheritance

java.lang.Object > ProfilerServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(ProfilerServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(ProfilerServiceGrpc.AsyncService service)
Parameter
Name Description
service ProfilerServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getCreateOfflineProfileMethod()

public static MethodDescriptor<CreateOfflineProfileRequest,Profile> getCreateOfflineProfileMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateOfflineProfileRequest,Profile>

getCreateProfileMethod()

public static MethodDescriptor<CreateProfileRequest,Profile> getCreateProfileMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateProfileRequest,Profile>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getUpdateProfileMethod()

public static MethodDescriptor<UpdateProfileRequest,Profile> getUpdateProfileMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateProfileRequest,Profile>

newBlockingStub(Channel channel)

public static ProfilerServiceGrpc.ProfilerServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
ProfilerServiceGrpc.ProfilerServiceBlockingStub

newFutureStub(Channel channel)

public static ProfilerServiceGrpc.ProfilerServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
ProfilerServiceGrpc.ProfilerServiceFutureStub

newStub(Channel channel)

public static ProfilerServiceGrpc.ProfilerServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
ProfilerServiceGrpc.ProfilerServiceStub