Package com.google.cloud.logging.v2.stub
Class MetricsServiceV2Stub
java.lang.Object
com.google.cloud.logging.v2.stub.MetricsServiceV2Stub
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource
,AutoCloseable
- Direct Known Subclasses:
GrpcMetricsServiceV2Stub
@Generated("by gapic-generator-java")
public abstract class MetricsServiceV2Stub
extends Object
implements com.google.api.gax.core.BackgroundResource
Base stub class for the MetricsServiceV2 service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
close()
com.google.api.gax.rpc.UnaryCallable<CreateLogMetricRequest,
LogMetric> com.google.api.gax.rpc.UnaryCallable<DeleteLogMetricRequest,
com.google.protobuf.Empty> com.google.api.gax.rpc.UnaryCallable<GetLogMetricRequest,
LogMetric> com.google.api.gax.rpc.UnaryCallable<ListLogMetricsRequest,
ListLogMetricsResponse> com.google.api.gax.rpc.UnaryCallable<ListLogMetricsRequest,
MetricsClient.ListLogMetricsPagedResponse> com.google.api.gax.rpc.UnaryCallable<UpdateLogMetricRequest,
LogMetric> Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.api.gax.core.BackgroundResource
awaitTermination, isShutdown, isTerminated, shutdown, shutdownNow
-
Constructor Details
-
MetricsServiceV2Stub
public MetricsServiceV2Stub()
-
-
Method Details
-
listLogMetricsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListLogMetricsRequest,MetricsClient.ListLogMetricsPagedResponse> listLogMetricsPagedCallable() -
listLogMetricsCallable
public com.google.api.gax.rpc.UnaryCallable<ListLogMetricsRequest,ListLogMetricsResponse> listLogMetricsCallable() -
getLogMetricCallable
-
createLogMetricCallable
public com.google.api.gax.rpc.UnaryCallable<CreateLogMetricRequest,LogMetric> createLogMetricCallable() -
updateLogMetricCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateLogMetricRequest,LogMetric> updateLogMetricCallable() -
deleteLogMetricCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteLogMetricRequest,com.google.protobuf.Empty> deleteLogMetricCallable() -
close
public abstract void close()- Specified by:
close
in interfaceAutoCloseable
-