Class ReservationServiceGrpc (2.45.0)

public final class ReservationServiceGrpc

This API allows users to manage their BigQuery reservations. A reservation provides computational resource guarantees, in the form of slots, to users. A slot is a unit of computational power in BigQuery, and serves as the basic unit of parallelism. In a scan of a multi-partitioned table, a single slot operates on a single partition of the table. A reservation resource exists as a child resource of the admin project and location, e.g.: projects/myproject/locations/US/reservations/reservationName. A capacity commitment is a way to purchase compute capacity for BigQuery jobs (in the form of slots) with some committed period of usage. A capacity commitment resource exists as a child resource of the admin project and location, e.g.: projects/myproject/locations/US/capacityCommitments/id.

Inheritance

java.lang.Object > ReservationServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(ReservationServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(ReservationServiceGrpc.AsyncService service)
Parameter
Name Description
service ReservationServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getCreateAssignmentMethod()

public static MethodDescriptor<CreateAssignmentRequest,Assignment> getCreateAssignmentMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateAssignmentRequest,Assignment>

getCreateCapacityCommitmentMethod()

public static MethodDescriptor<CreateCapacityCommitmentRequest,CapacityCommitment> getCreateCapacityCommitmentMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateCapacityCommitmentRequest,CapacityCommitment>

getCreateReservationMethod()

public static MethodDescriptor<CreateReservationRequest,Reservation> getCreateReservationMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateReservationRequest,Reservation>

getDeleteAssignmentMethod()

public static MethodDescriptor<DeleteAssignmentRequest,Empty> getDeleteAssignmentMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteAssignmentRequest,Empty>

getDeleteCapacityCommitmentMethod()

public static MethodDescriptor<DeleteCapacityCommitmentRequest,Empty> getDeleteCapacityCommitmentMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteCapacityCommitmentRequest,Empty>

getDeleteReservationMethod()

public static MethodDescriptor<DeleteReservationRequest,Empty> getDeleteReservationMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteReservationRequest,Empty>

getGetBiReservationMethod()

public static MethodDescriptor<GetBiReservationRequest,BiReservation> getGetBiReservationMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetBiReservationRequest,BiReservation>

getGetCapacityCommitmentMethod()

public static MethodDescriptor<GetCapacityCommitmentRequest,CapacityCommitment> getGetCapacityCommitmentMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetCapacityCommitmentRequest,CapacityCommitment>

getGetReservationMethod()

public static MethodDescriptor<GetReservationRequest,Reservation> getGetReservationMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetReservationRequest,Reservation>

getListAssignmentsMethod()

public static MethodDescriptor<ListAssignmentsRequest,ListAssignmentsResponse> getListAssignmentsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListAssignmentsRequest,ListAssignmentsResponse>

getListCapacityCommitmentsMethod()

public static MethodDescriptor<ListCapacityCommitmentsRequest,ListCapacityCommitmentsResponse> getListCapacityCommitmentsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListCapacityCommitmentsRequest,ListCapacityCommitmentsResponse>

getListReservationsMethod()

public static MethodDescriptor<ListReservationsRequest,ListReservationsResponse> getListReservationsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListReservationsRequest,ListReservationsResponse>

getMergeCapacityCommitmentsMethod()

public static MethodDescriptor<MergeCapacityCommitmentsRequest,CapacityCommitment> getMergeCapacityCommitmentsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<MergeCapacityCommitmentsRequest,CapacityCommitment>

getMoveAssignmentMethod()

public static MethodDescriptor<MoveAssignmentRequest,Assignment> getMoveAssignmentMethod()
Returns
Type Description
io.grpc.MethodDescriptor<MoveAssignmentRequest,Assignment>

getSearchAllAssignmentsMethod()

public static MethodDescriptor<SearchAllAssignmentsRequest,SearchAllAssignmentsResponse> getSearchAllAssignmentsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<SearchAllAssignmentsRequest,SearchAllAssignmentsResponse>

getSearchAssignmentsMethod()

public static MethodDescriptor<SearchAssignmentsRequest,SearchAssignmentsResponse> getSearchAssignmentsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<SearchAssignmentsRequest,SearchAssignmentsResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getSplitCapacityCommitmentMethod()

public static MethodDescriptor<SplitCapacityCommitmentRequest,SplitCapacityCommitmentResponse> getSplitCapacityCommitmentMethod()
Returns
Type Description
io.grpc.MethodDescriptor<SplitCapacityCommitmentRequest,SplitCapacityCommitmentResponse>

getUpdateAssignmentMethod()

public static MethodDescriptor<UpdateAssignmentRequest,Assignment> getUpdateAssignmentMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateAssignmentRequest,Assignment>

getUpdateBiReservationMethod()

public static MethodDescriptor<UpdateBiReservationRequest,BiReservation> getUpdateBiReservationMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateBiReservationRequest,BiReservation>

getUpdateCapacityCommitmentMethod()

public static MethodDescriptor<UpdateCapacityCommitmentRequest,CapacityCommitment> getUpdateCapacityCommitmentMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateCapacityCommitmentRequest,CapacityCommitment>

getUpdateReservationMethod()

public static MethodDescriptor<UpdateReservationRequest,Reservation> getUpdateReservationMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateReservationRequest,Reservation>

newBlockingStub(Channel channel)

public static ReservationServiceGrpc.ReservationServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
ReservationServiceGrpc.ReservationServiceBlockingStub

newFutureStub(Channel channel)

public static ReservationServiceGrpc.ReservationServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
ReservationServiceGrpc.ReservationServiceFutureStub

newStub(Channel channel)

public static ReservationServiceGrpc.ReservationServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
ReservationServiceGrpc.ReservationServiceStub