Class LoggingServiceV2Grpc (3.8.0)

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
TypeDescription
String

Static Methods

getDeleteLogMethod()

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

getListLogEntriesMethod()

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

getListLogsMethod()

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

getListMonitoredResourceDescriptorsMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getTailLogEntriesMethod()

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

getWriteLogEntriesMethod()

public static MethodDescriptor<WriteLogEntriesRequest,WriteLogEntriesResponse> getWriteLogEntriesMethod()
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
LoggingServiceV2Grpc.LoggingServiceV2Stub