public class GrpcLoggingServiceV2Stub extends LoggingServiceV2Stub
gRPC stub implementation for the LoggingServiceV2 service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcLoggingServiceV2Stub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcLoggingServiceV2Stub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(LoggingServiceV2StubSettings settings)
public static final GrpcLoggingServiceV2Stub create(LoggingServiceV2StubSettings settings)
Constructors
GrpcLoggingServiceV2Stub(LoggingServiceV2StubSettings settings, ClientContext clientContext)
protected GrpcLoggingServiceV2Stub(LoggingServiceV2StubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcLoggingServiceV2Stub, using the given settings. This is protected
so that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
GrpcLoggingServiceV2Stub(LoggingServiceV2StubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcLoggingServiceV2Stub(LoggingServiceV2StubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcLoggingServiceV2Stub, using the given settings. This is protected
so that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
deleteLogCallable()
public UnaryCallable<DeleteLogRequest,Empty> deleteLogCallable()
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listLogEntriesCallable()
public UnaryCallable<ListLogEntriesRequest,ListLogEntriesResponse> listLogEntriesCallable()
Overrides
listLogEntriesPagedCallable()
public UnaryCallable<ListLogEntriesRequest,LoggingClient.ListLogEntriesPagedResponse> listLogEntriesPagedCallable()
Overrides
listLogsCallable()
public UnaryCallable<ListLogsRequest,ListLogsResponse> listLogsCallable()
Overrides
listLogsPagedCallable()
public UnaryCallable<ListLogsRequest,LoggingClient.ListLogsPagedResponse> listLogsPagedCallable()
Overrides
listMonitoredResourceDescriptorsCallable()
public UnaryCallable<ListMonitoredResourceDescriptorsRequest,ListMonitoredResourceDescriptorsResponse> listMonitoredResourceDescriptorsCallable()
Overrides
listMonitoredResourceDescriptorsPagedCallable()
public UnaryCallable<ListMonitoredResourceDescriptorsRequest,LoggingClient.ListMonitoredResourceDescriptorsPagedResponse> listMonitoredResourceDescriptorsPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
tailLogEntriesCallable()
public BidiStreamingCallable<TailLogEntriesRequest,TailLogEntriesResponse> tailLogEntriesCallable()
Overrides
writeLogEntriesCallable()
public UnaryCallable<WriteLogEntriesRequest,WriteLogEntriesResponse> writeLogEntriesCallable()
Overrides