Send feedback
Class MetricServiceGrpc.MetricServiceFutureStub (3.3.2)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.3.2 keyboard_arrow_down
public static final class MetricServiceGrpc . MetricServiceFutureStub extends AbstractFutureStub<MetricServiceGrpc . MetricServiceFutureStub >
Manages metric descriptors, monitored resource descriptors, and
time series data.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractFutureStub >
MetricServiceGrpc.MetricServiceFutureStub
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
build(Channel channel, CallOptions callOptions)
protected MetricServiceGrpc . MetricServiceFutureStub build ( Channel channel , CallOptions callOptions )
Parameters
Name Description channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createMetricDescriptor(CreateMetricDescriptorRequest request)
public ListenableFuture<MetricDescriptor> createMetricDescriptor ( CreateMetricDescriptorRequest request )
Creates a new metric descriptor.
The creation is executed asynchronously and callers may check the returned
operation to track its progress.
User-created metric descriptors define
custom metrics .
Parameter
Returns
Type Description com.google.common.util.concurrent.ListenableFuture <com.google.api.MetricDescriptor >
createServiceTimeSeries(CreateTimeSeriesRequest request)
public ListenableFuture<Empty> createServiceTimeSeries ( CreateTimeSeriesRequest request )
Creates or adds data to one or more service time series. A service time
series is a time series for a metric from a Google Cloud service. The
response is empty if all time series in the request were written. If any
time series could not be written, a corresponding failure message is
included in the error response. This endpoint rejects writes to
user-defined metrics.
This method is only for use by Google Cloud services. Use
projects.timeSeries.create
instead.
Parameter
Returns
Type Description com.google.common.util.concurrent.ListenableFuture <Empty >
createTimeSeries(CreateTimeSeriesRequest request)
public ListenableFuture<Empty> createTimeSeries ( CreateTimeSeriesRequest request )
Creates or adds data to one or more time series.
The response is empty if all time series in the request were written.
If any time series could not be written, a corresponding failure message is
included in the error response.
Parameter
Returns
Type Description com.google.common.util.concurrent.ListenableFuture <Empty >
deleteMetricDescriptor(DeleteMetricDescriptorRequest request)
public ListenableFuture<Empty> deleteMetricDescriptor ( DeleteMetricDescriptorRequest request )
Deletes a metric descriptor. Only user-created
custom metrics can be
deleted.
Parameter
Returns
Type Description com.google.common.util.concurrent.ListenableFuture <Empty >
getMetricDescriptor(GetMetricDescriptorRequest request)
public ListenableFuture<MetricDescriptor> getMetricDescriptor ( GetMetricDescriptorRequest request )
Gets a single metric descriptor. This method does not require a Workspace.
Parameter
Returns
Type Description com.google.common.util.concurrent.ListenableFuture <com.google.api.MetricDescriptor >
getMonitoredResourceDescriptor(GetMonitoredResourceDescriptorRequest request)
public ListenableFuture<MonitoredResourceDescriptor> getMonitoredResourceDescriptor ( GetMonitoredResourceDescriptorRequest request )
Gets a single monitored resource descriptor. This method does not require a Workspace.
Parameter
Returns
Type Description com.google.common.util.concurrent.ListenableFuture <com.google.api.MonitoredResourceDescriptor >
listMetricDescriptors(ListMetricDescriptorsRequest request)
public ListenableFuture<ListMetricDescriptorsResponse> listMetricDescriptors ( ListMetricDescriptorsRequest request )
Lists metric descriptors that match a filter. This method does not require a Workspace.
Parameter
Returns
listMonitoredResourceDescriptors(ListMonitoredResourceDescriptorsRequest request)
public ListenableFuture<ListMonitoredResourceDescriptorsResponse> listMonitoredResourceDescriptors ( ListMonitoredResourceDescriptorsRequest request )
Lists monitored resource descriptors that match a filter. This method does not require a Workspace.
Parameter
Returns
listTimeSeries(ListTimeSeriesRequest request)
public ListenableFuture<ListTimeSeriesResponse> listTimeSeries ( ListTimeSeriesRequest request )
Lists time series that match a filter. This method does not require a Workspace.
Parameter
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]