@Generated(value="by gapic-generator-java") 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,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcLoggingServiceV2Stub, using the given settings.
|
protected |
GrpcLoggingServiceV2Stub(LoggingServiceV2StubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcLoggingServiceV2Stub, using the given settings.
|
protected GrpcLoggingServiceV2Stub(LoggingServiceV2StubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected GrpcLoggingServiceV2Stub(LoggingServiceV2StubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcLoggingServiceV2Stub create(LoggingServiceV2StubSettings settings) throws IOException
IOException
public static final GrpcLoggingServiceV2Stub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final GrpcLoggingServiceV2Stub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
public com.google.api.gax.rpc.UnaryCallable<DeleteLogRequest,com.google.protobuf.Empty> deleteLogCallable()
deleteLogCallable
in class LoggingServiceV2Stub
public com.google.api.gax.rpc.UnaryCallable<WriteLogEntriesRequest,WriteLogEntriesResponse> writeLogEntriesCallable()
writeLogEntriesCallable
in class LoggingServiceV2Stub
public com.google.api.gax.rpc.UnaryCallable<ListLogEntriesRequest,ListLogEntriesResponse> listLogEntriesCallable()
listLogEntriesCallable
in class LoggingServiceV2Stub
public com.google.api.gax.rpc.UnaryCallable<ListLogEntriesRequest,LoggingClient.ListLogEntriesPagedResponse> listLogEntriesPagedCallable()
listLogEntriesPagedCallable
in class LoggingServiceV2Stub
public com.google.api.gax.rpc.UnaryCallable<ListMonitoredResourceDescriptorsRequest,ListMonitoredResourceDescriptorsResponse> listMonitoredResourceDescriptorsCallable()
listMonitoredResourceDescriptorsCallable
in class LoggingServiceV2Stub
public com.google.api.gax.rpc.UnaryCallable<ListMonitoredResourceDescriptorsRequest,LoggingClient.ListMonitoredResourceDescriptorsPagedResponse> listMonitoredResourceDescriptorsPagedCallable()
listMonitoredResourceDescriptorsPagedCallable
in class LoggingServiceV2Stub
public com.google.api.gax.rpc.UnaryCallable<ListLogsRequest,ListLogsResponse> listLogsCallable()
listLogsCallable
in class LoggingServiceV2Stub
public com.google.api.gax.rpc.UnaryCallable<ListLogsRequest,LoggingClient.ListLogsPagedResponse> listLogsPagedCallable()
listLogsPagedCallable
in class LoggingServiceV2Stub
public com.google.api.gax.rpc.BidiStreamingCallable<TailLogEntriesRequest,TailLogEntriesResponse> tailLogEntriesCallable()
tailLogEntriesCallable
in class LoggingServiceV2Stub
public final void close()
close
in interface AutoCloseable
close
in class LoggingServiceV2Stub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2023 Google LLC. All rights reserved.