Class GrpcLoggingServiceV2Stub (3.15.17)

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
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcLoggingServiceV2Stub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcLoggingServiceV2Stub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcLoggingServiceV2Stub
Exceptions
TypeDescription
IOException

create(LoggingServiceV2StubSettings settings)

public static final GrpcLoggingServiceV2Stub create(LoggingServiceV2StubSettings settings)
Parameter
NameDescription
settingsLoggingServiceV2StubSettings
Returns
TypeDescription
GrpcLoggingServiceV2Stub
Exceptions
TypeDescription
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
NameDescription
settingsLoggingServiceV2StubSettings
clientContextClientContext

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
NameDescription
settingsLoggingServiceV2StubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

deleteLogCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listLogEntriesCallable()

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

listLogEntriesPagedCallable()

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

listLogsCallable()

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

listLogsPagedCallable()

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

listMonitoredResourceDescriptorsCallable()

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

listMonitoredResourceDescriptorsPagedCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

tailLogEntriesCallable()

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

writeLogEntriesCallable()

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