Class GrpcLoggingServiceV2Stub (3.12.1)

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.

Inheritance

java.lang.Object > LoggingServiceV2Stub > GrpcLoggingServiceV2Stub

Static Methods

create(ClientContext clientContext)

public static final GrpcLoggingServiceV2Stub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcLoggingServiceV2Stub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcLoggingServiceV2Stub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcLoggingServiceV2Stub
Exceptions
Type Description
IOException

create(LoggingServiceV2StubSettings settings)

public static final GrpcLoggingServiceV2Stub create(LoggingServiceV2StubSettings settings)
Parameter
Name Description
settings LoggingServiceV2StubSettings
Returns
Type Description
GrpcLoggingServiceV2Stub
Exceptions
Type Description
IOException

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
Name Description
settings LoggingServiceV2StubSettings
clientContext ClientContext

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
Name Description
settings LoggingServiceV2StubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

deleteLogCallable()

public UnaryCallable<DeleteLogRequest,Empty> deleteLogCallable()
Returns
Type Description
UnaryCallable<DeleteLogRequest,Empty>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listLogEntriesCallable()

public UnaryCallable<ListLogEntriesRequest,ListLogEntriesResponse> listLogEntriesCallable()
Returns
Type Description
UnaryCallable<ListLogEntriesRequest,ListLogEntriesResponse>
Overrides

listLogEntriesPagedCallable()

public UnaryCallable<ListLogEntriesRequest,LoggingClient.ListLogEntriesPagedResponse> listLogEntriesPagedCallable()
Returns
Type Description
UnaryCallable<ListLogEntriesRequest,ListLogEntriesPagedResponse>
Overrides

listLogsCallable()

public UnaryCallable<ListLogsRequest,ListLogsResponse> listLogsCallable()
Returns
Type Description
UnaryCallable<ListLogsRequest,ListLogsResponse>
Overrides

listLogsPagedCallable()

public UnaryCallable<ListLogsRequest,LoggingClient.ListLogsPagedResponse> listLogsPagedCallable()
Returns
Type Description
UnaryCallable<ListLogsRequest,ListLogsPagedResponse>
Overrides

listMonitoredResourceDescriptorsCallable()

public UnaryCallable<ListMonitoredResourceDescriptorsRequest,ListMonitoredResourceDescriptorsResponse> listMonitoredResourceDescriptorsCallable()
Returns
Type Description
UnaryCallable<ListMonitoredResourceDescriptorsRequest,ListMonitoredResourceDescriptorsResponse>
Overrides

listMonitoredResourceDescriptorsPagedCallable()

public UnaryCallable<ListMonitoredResourceDescriptorsRequest,LoggingClient.ListMonitoredResourceDescriptorsPagedResponse> listMonitoredResourceDescriptorsPagedCallable()
Returns
Type Description
UnaryCallable<ListMonitoredResourceDescriptorsRequest,ListMonitoredResourceDescriptorsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

tailLogEntriesCallable()

public BidiStreamingCallable<TailLogEntriesRequest,TailLogEntriesResponse> tailLogEntriesCallable()
Returns
Type Description
BidiStreamingCallable<TailLogEntriesRequest,TailLogEntriesResponse>
Overrides

writeLogEntriesCallable()

public UnaryCallable<WriteLogEntriesRequest,WriteLogEntriesResponse> writeLogEntriesCallable()
Returns
Type Description
UnaryCallable<WriteLogEntriesRequest,WriteLogEntriesResponse>
Overrides