Class ReservationServiceGrpc (2.33.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
TypeDescription
String

Static Methods

bindService(ReservationServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(ReservationServiceGrpc.AsyncService service)
Parameter
NameDescription
serviceReservationServiceGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getCreateAssignmentMethod()

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

getCreateCapacityCommitmentMethod()

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

getCreateReservationMethod()

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

getDeleteAssignmentMethod()

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

getDeleteCapacityCommitmentMethod()

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

getDeleteReservationMethod()

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

getGetBiReservationMethod()

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

getGetCapacityCommitmentMethod()

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

getGetReservationMethod()

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

getListAssignmentsMethod()

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

getListCapacityCommitmentsMethod()

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

getListReservationsMethod()

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

getMergeCapacityCommitmentsMethod()

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

getMoveAssignmentMethod()

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

getSearchAllAssignmentsMethod()

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

getSearchAssignmentsMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getSplitCapacityCommitmentMethod()

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

getUpdateAssignmentMethod()

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

getUpdateBiReservationMethod()

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

getUpdateCapacityCommitmentMethod()

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

getUpdateReservationMethod()

public static MethodDescriptor<UpdateReservationRequest,Reservation> getUpdateReservationMethod()
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
ReservationServiceGrpc.ReservationServiceStub