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.
  • Method Details

    • build

      protected BillingServiceGrpc.BillingServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.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)