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.
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.
Parameters
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.
Parameters
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
create(ClientContext clientContext)
public static final GrpcLoggingServiceV2Stub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcLoggingServiceV2Stub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(LoggingServiceV2StubSettings settings)
public static final GrpcLoggingServiceV2Stub create(LoggingServiceV2StubSettings settings)
Parameter
Returns
Exceptions
deleteLogCallable()
public UnaryCallable<DeleteLogRequest,Empty> deleteLogCallable()
Returns
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listLogEntriesCallable()
public UnaryCallable<ListLogEntriesRequest,ListLogEntriesResponse> listLogEntriesCallable()
Returns
Overrides
listLogEntriesPagedCallable()
public UnaryCallable<ListLogEntriesRequest,LoggingClient.ListLogEntriesPagedResponse> listLogEntriesPagedCallable()
Returns
Overrides
listLogsCallable()
public UnaryCallable<ListLogsRequest,ListLogsResponse> listLogsCallable()
Returns
Overrides
listLogsPagedCallable()
public UnaryCallable<ListLogsRequest,LoggingClient.ListLogsPagedResponse> listLogsPagedCallable()
Returns
Overrides
listMonitoredResourceDescriptorsCallable()
public UnaryCallable<ListMonitoredResourceDescriptorsRequest,ListMonitoredResourceDescriptorsResponse> listMonitoredResourceDescriptorsCallable()
Returns
Overrides
listMonitoredResourceDescriptorsPagedCallable()
public UnaryCallable<ListMonitoredResourceDescriptorsRequest,LoggingClient.ListMonitoredResourceDescriptorsPagedResponse> listMonitoredResourceDescriptorsPagedCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
tailLogEntriesCallable()
public BidiStreamingCallable<TailLogEntriesRequest,TailLogEntriesResponse> tailLogEntriesCallable()
Returns
Overrides
writeLogEntriesCallable()
public UnaryCallable<WriteLogEntriesRequest,WriteLogEntriesResponse> writeLogEntriesCallable()
Returns
Overrides