Class LoggingServiceV2Grpc (3.17.2)

public final class LoggingServiceV2Grpc

Service for ingesting and querying logs.

Inheritance

java.lang.Object > LoggingServiceV2Grpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(LoggingServiceV2Grpc.AsyncService service)

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

getDeleteLogMethod()

public static MethodDescriptor<DeleteLogRequest,Empty> getDeleteLogMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteLogRequest,Empty>

getListLogEntriesMethod()

public static MethodDescriptor<ListLogEntriesRequest,ListLogEntriesResponse> getListLogEntriesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListLogEntriesRequest,ListLogEntriesResponse>

getListLogsMethod()

public static MethodDescriptor<ListLogsRequest,ListLogsResponse> getListLogsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListLogsRequest,ListLogsResponse>

getListMonitoredResourceDescriptorsMethod()

public static MethodDescriptor<ListMonitoredResourceDescriptorsRequest,ListMonitoredResourceDescriptorsResponse> getListMonitoredResourceDescriptorsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListMonitoredResourceDescriptorsRequest,ListMonitoredResourceDescriptorsResponse>

getServiceDescriptor()

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

getTailLogEntriesMethod()

public static MethodDescriptor<TailLogEntriesRequest,TailLogEntriesResponse> getTailLogEntriesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<TailLogEntriesRequest,TailLogEntriesResponse>

getWriteLogEntriesMethod()

public static MethodDescriptor<WriteLogEntriesRequest,WriteLogEntriesResponse> getWriteLogEntriesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<WriteLogEntriesRequest,WriteLogEntriesResponse>

newBlockingStub(Channel channel)

public static LoggingServiceV2Grpc.LoggingServiceV2BlockingStub 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
LoggingServiceV2Grpc.LoggingServiceV2BlockingStub

newFutureStub(Channel channel)

public static LoggingServiceV2Grpc.LoggingServiceV2FutureStub 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
LoggingServiceV2Grpc.LoggingServiceV2FutureStub

newStub(Channel channel)

public static LoggingServiceV2Grpc.LoggingServiceV2Stub 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
LoggingServiceV2Grpc.LoggingServiceV2Stub