Package ai.chalk.protos.chalk.server.v1
Class BillingServiceGrpc.BillingServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<BillingServiceGrpc.BillingServiceFutureStub>
ai.chalk.protos.chalk.server.v1.BillingServiceGrpc.BillingServiceFutureStub
- Enclosing class:
- BillingServiceGrpc
public static final class BillingServiceGrpc.BillingServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<BillingServiceGrpc.BillingServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service BillingService.
-
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) com.google.common.util.concurrent.ListenableFuture<GetNodesAndPodsResponse>getNodesAndPods(GetNodesAndPodsRequest request) GetNodesAndPods returns the nodes and pods for the team by default, not just a single environment.com.google.common.util.concurrent.ListenableFuture<GetNodesAndPodsUIResponse>GetNodesAndPodsUI returns the nodes and pods for the team by default, not just a single environment.com.google.common.util.concurrent.ListenableFuture<GetPodRequestChartsResponse>com.google.common.util.concurrent.ListenableFuture<GetUsageChartResponse>getUsageChart(GetUsageChartRequest request) GetUsageChart shows the Chalk credit usage between a provided start and end period.com.google.common.util.concurrent.ListenableFuture<GetUtilizationRatesResponse>GetUtilizationRates returns the current utilization rates for all instance types.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Method Details
-
build
protected BillingServiceGrpc.BillingServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<BillingServiceGrpc.BillingServiceFutureStub>
-
getNodesAndPodsUI
public com.google.common.util.concurrent.ListenableFuture<GetNodesAndPodsUIResponse> getNodesAndPodsUI(GetNodesAndPodsUIRequest request) GetNodesAndPodsUI returns the nodes and pods for the team by default, not just a single environment. To limit the scope, add filters to the request object. Use this endpoint going forward; GetNodesAndPods should be deprecated because it reuses PubSub types that are dangerous to update and are not intended for UI use.
-
getNodesAndPods
public com.google.common.util.concurrent.ListenableFuture<GetNodesAndPodsResponse> getNodesAndPods(GetNodesAndPodsRequest request) GetNodesAndPods returns the nodes and pods for the team by default, not just a single environment. To limit the scope, add filters to the request object.
-
getUsageChart
public com.google.common.util.concurrent.ListenableFuture<GetUsageChartResponse> getUsageChart(GetUsageChartRequest request) GetUsageChart shows the Chalk credit usage between a provided start and end period. The usage can be grouped by UsageChartPeriod for daily or monthly usage, and by UsageChartGrouping for instance type or cluster usage.
-
getUtilizationRates
public com.google.common.util.concurrent.ListenableFuture<GetUtilizationRatesResponse> getUtilizationRates(GetUtilizationRatesRequest request) GetUtilizationRates returns the current utilization rates for all instance types.
-
getPodRequestCharts
public com.google.common.util.concurrent.ListenableFuture<GetPodRequestChartsResponse> getPodRequestCharts(GetPodRequestChartsRequest request)
-