Class MetricsServiceV2Grpc.MetricsServiceV2FutureStub (3.13.6)

public static final class MetricsServiceV2Grpc.MetricsServiceV2FutureStub extends AbstractFutureStub<MetricsServiceV2Grpc.MetricsServiceV2FutureStub>

Service for configuring logs-based metrics.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > MetricsServiceV2Grpc.MetricsServiceV2FutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected MetricsServiceV2Grpc.MetricsServiceV2FutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
MetricsServiceV2Grpc.MetricsServiceV2FutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createLogMetric(CreateLogMetricRequest request)

public ListenableFuture<LogMetric> createLogMetric(CreateLogMetricRequest request)

Creates a logs-based metric.

Parameter
NameDescription
requestCreateLogMetricRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<LogMetric>

deleteLogMetric(DeleteLogMetricRequest request)

public ListenableFuture<Empty> deleteLogMetric(DeleteLogMetricRequest request)

Deletes a logs-based metric.

Parameter
NameDescription
requestDeleteLogMetricRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Empty>

getLogMetric(GetLogMetricRequest request)

public ListenableFuture<LogMetric> getLogMetric(GetLogMetricRequest request)

Gets a logs-based metric.

Parameter
NameDescription
requestGetLogMetricRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<LogMetric>

listLogMetrics(ListLogMetricsRequest request)

public ListenableFuture<ListLogMetricsResponse> listLogMetrics(ListLogMetricsRequest request)

Lists logs-based metrics.

Parameter
NameDescription
requestListLogMetricsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListLogMetricsResponse>

updateLogMetric(UpdateLogMetricRequest request)

public ListenableFuture<LogMetric> updateLogMetric(UpdateLogMetricRequest request)

Creates or updates a logs-based metric.

Parameter
NameDescription
requestUpdateLogMetricRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<LogMetric>