Package ai.chalk.protos.chalk.server.v1
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.
-
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 TypeMethodDescriptionprotected BillingServiceGrpc.BillingServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidgetNodesAndPods(GetNodesAndPodsRequest request, io.grpc.stub.StreamObserver<GetNodesAndPodsResponse> responseObserver) GetNodesAndPods returns the nodes and pods for the team by default, not just a single environment.voidgetNodesAndPodsUI(GetNodesAndPodsUIRequest request, io.grpc.stub.StreamObserver<GetNodesAndPodsUIResponse> responseObserver) GetNodesAndPodsUI returns the nodes and pods for the team by default, not just a single environment.voidgetPodRequestCharts(GetPodRequestChartsRequest request, io.grpc.stub.StreamObserver<GetPodRequestChartsResponse> responseObserver) voidgetUsageChart(GetUsageChartRequest request, io.grpc.stub.StreamObserver<GetUsageChartResponse> responseObserver) GetUsageChart shows the Chalk credit usage between a provided start and end period.voidgetUtilizationRates(GetUtilizationRatesRequest request, io.grpc.stub.StreamObserver<GetUtilizationRatesResponse> responseObserver) GetUtilizationRates returns the current utilization rates for all instance types.Methods inherited from class io.grpc.stub.AbstractAsyncStub
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.BillingServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.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)
-