Class BillingServiceGrpc.BillingServiceStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<BillingServiceGrpc.BillingServiceStub>
ai.chalk.protos.chalk.server.v1.BillingServiceGrpc.BillingServiceStub
Enclosing class:
BillingServiceGrpc

public static final class BillingServiceGrpc.BillingServiceStub extends io.grpc.stub.AbstractAsyncStub<BillingServiceGrpc.BillingServiceStub>
A stub to allow clients to do asynchronous rpc calls to service BillingService.
  • Method Details

    • build

      protected BillingServiceGrpc.BillingServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<BillingServiceGrpc.BillingServiceStub>
    • getNodesAndPodsUI

      public void getNodesAndPodsUI(GetNodesAndPodsUIRequest request, io.grpc.stub.StreamObserver<GetNodesAndPodsUIResponse> responseObserver)
       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 void getNodesAndPods(GetNodesAndPodsRequest request, io.grpc.stub.StreamObserver<GetNodesAndPodsResponse> responseObserver)
       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 void getUsageChart(GetUsageChartRequest request, io.grpc.stub.StreamObserver<GetUsageChartResponse> responseObserver)
       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 void getUtilizationRates(GetUtilizationRatesRequest request, io.grpc.stub.StreamObserver<GetUtilizationRatesResponse> responseObserver)
       GetUtilizationRates returns the current utilization rates for all
       instance types.
       
    • getPodRequestCharts

      public void getPodRequestCharts(GetPodRequestChartsRequest request, io.grpc.stub.StreamObserver<GetPodRequestChartsResponse> responseObserver)