Package com.google.logging.v2
Class MetricsServiceV2Grpc.MetricsServiceV2BlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<MetricsServiceV2Grpc.MetricsServiceV2BlockingV2Stub>
com.google.logging.v2.MetricsServiceV2Grpc.MetricsServiceV2BlockingV2Stub
- Enclosing class:
- MetricsServiceV2Grpc
public static final class MetricsServiceV2Grpc.MetricsServiceV2BlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<MetricsServiceV2Grpc.MetricsServiceV2BlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service MetricsServiceV2.
Service for configuring logs-based metrics.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) createLogMetric(CreateLogMetricRequest request) Creates a logs-based metric.com.google.protobuf.EmptydeleteLogMetric(DeleteLogMetricRequest request) Deletes a logs-based metric.getLogMetric(GetLogMetricRequest request) Gets a logs-based metric.listLogMetrics(ListLogMetricsRequest request) Lists logs-based metrics.updateLogMetric(UpdateLogMetricRequest request) Creates or updates a logs-based metric.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected MetricsServiceV2Grpc.MetricsServiceV2BlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<MetricsServiceV2Grpc.MetricsServiceV2BlockingV2Stub>
-
listLogMetrics
public ListLogMetricsResponse listLogMetrics(ListLogMetricsRequest request) throws io.grpc.StatusException Lists logs-based metrics.
- Throws:
io.grpc.StatusException
-
getLogMetric
Gets a logs-based metric.
- Throws:
io.grpc.StatusException
-
createLogMetric
Creates a logs-based metric.
- Throws:
io.grpc.StatusException
-
updateLogMetric
Creates or updates a logs-based metric.
- Throws:
io.grpc.StatusException
-
deleteLogMetric
public com.google.protobuf.Empty deleteLogMetric(DeleteLogMetricRequest request) throws io.grpc.StatusException Deletes a logs-based metric.
- Throws:
io.grpc.StatusException
-