@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcLoggingServiceV2Stub extends LoggingServiceV2Stub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcLoggingServiceV2Stub(LoggingServiceV2StubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcLoggingServiceV2Stub, using the given settings.
|
protected |
GrpcLoggingServiceV2Stub(LoggingServiceV2StubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcLoggingServiceV2Stub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcLoggingServiceV2Stub |
create(ClientContext clientContext) |
static GrpcLoggingServiceV2Stub |
create(ClientContext clientContext,
GrpcStubCallableFactory callableFactory) |
static GrpcLoggingServiceV2Stub |
create(LoggingServiceV2StubSettings settings) |
UnaryCallable<com.google.logging.v2.DeleteLogRequest,Empty> |
deleteLogCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
UnaryCallable<com.google.logging.v2.ListLogEntriesRequest,com.google.logging.v2.ListLogEntriesResponse> |
listLogEntriesCallable() |
UnaryCallable<com.google.logging.v2.ListLogEntriesRequest,LoggingClient.ListLogEntriesPagedResponse> |
listLogEntriesPagedCallable() |
UnaryCallable<com.google.logging.v2.ListLogsRequest,com.google.logging.v2.ListLogsResponse> |
listLogsCallable() |
UnaryCallable<com.google.logging.v2.ListLogsRequest,LoggingClient.ListLogsPagedResponse> |
listLogsPagedCallable() |
UnaryCallable<com.google.logging.v2.ListMonitoredResourceDescriptorsRequest,com.google.logging.v2.ListMonitoredResourceDescriptorsResponse> |
listMonitoredResourceDescriptorsCallable() |
UnaryCallable<com.google.logging.v2.ListMonitoredResourceDescriptorsRequest,LoggingClient.ListMonitoredResourceDescriptorsPagedResponse> |
listMonitoredResourceDescriptorsPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
UnaryCallable<com.google.logging.v2.WriteLogEntriesRequest,com.google.logging.v2.WriteLogEntriesResponse> |
writeLogEntriesCallable() |
protected GrpcLoggingServiceV2Stub(LoggingServiceV2StubSettings settings, ClientContext clientContext) throws IOException
IOExceptionprotected GrpcLoggingServiceV2Stub(LoggingServiceV2StubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcLoggingServiceV2Stub create(LoggingServiceV2StubSettings settings) throws IOException
IOExceptionpublic static final GrpcLoggingServiceV2Stub create(ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcLoggingServiceV2Stub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic UnaryCallable<com.google.logging.v2.DeleteLogRequest,Empty> deleteLogCallable()
deleteLogCallable in class LoggingServiceV2Stubpublic UnaryCallable<com.google.logging.v2.WriteLogEntriesRequest,com.google.logging.v2.WriteLogEntriesResponse> writeLogEntriesCallable()
writeLogEntriesCallable in class LoggingServiceV2Stubpublic UnaryCallable<com.google.logging.v2.ListLogEntriesRequest,LoggingClient.ListLogEntriesPagedResponse> listLogEntriesPagedCallable()
listLogEntriesPagedCallable in class LoggingServiceV2Stubpublic UnaryCallable<com.google.logging.v2.ListLogEntriesRequest,com.google.logging.v2.ListLogEntriesResponse> listLogEntriesCallable()
listLogEntriesCallable in class LoggingServiceV2Stubpublic UnaryCallable<com.google.logging.v2.ListMonitoredResourceDescriptorsRequest,LoggingClient.ListMonitoredResourceDescriptorsPagedResponse> listMonitoredResourceDescriptorsPagedCallable()
listMonitoredResourceDescriptorsPagedCallable in class LoggingServiceV2Stubpublic UnaryCallable<com.google.logging.v2.ListMonitoredResourceDescriptorsRequest,com.google.logging.v2.ListMonitoredResourceDescriptorsResponse> listMonitoredResourceDescriptorsCallable()
listMonitoredResourceDescriptorsCallable in class LoggingServiceV2Stubpublic UnaryCallable<com.google.logging.v2.ListLogsRequest,LoggingClient.ListLogsPagedResponse> listLogsPagedCallable()
listLogsPagedCallable in class LoggingServiceV2Stubpublic UnaryCallable<com.google.logging.v2.ListLogsRequest,com.google.logging.v2.ListLogsResponse> listLogsCallable()
listLogsCallable in class LoggingServiceV2Stubpublic final void close()
close in interface AutoCloseableclose in class LoggingServiceV2Stubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2019 Google LLC. All rights reserved.