FrontendServiceBase constructor

FrontendServiceBase()

Implementation

FrontendServiceBase() {
  $addMethod($grpc.ServiceMethod<$2.CreateTicketRequest, $3.Ticket>(
      'CreateTicket',
      createTicket_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $2.CreateTicketRequest.fromBuffer(value),
      ($3.Ticket value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$2.DeleteTicketRequest, $4.Empty>(
      'DeleteTicket',
      deleteTicket_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $2.DeleteTicketRequest.fromBuffer(value),
      ($4.Empty value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$2.GetTicketRequest, $3.Ticket>(
      'GetTicket',
      getTicket_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $2.GetTicketRequest.fromBuffer(value),
      ($3.Ticket value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$2.WatchAssignmentsRequest,
          $2.WatchAssignmentsResponse>(
      'WatchAssignments',
      watchAssignments_Pre,
      false,
      true,
      ($core.List<$core.int> value) =>
          $2.WatchAssignmentsRequest.fromBuffer(value),
      ($2.WatchAssignmentsResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$2.AcknowledgeBackfillRequest,
          $2.AcknowledgeBackfillResponse>(
      'AcknowledgeBackfill',
      acknowledgeBackfill_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $2.AcknowledgeBackfillRequest.fromBuffer(value),
      ($2.AcknowledgeBackfillResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$2.CreateBackfillRequest, $3.Backfill>(
      'CreateBackfill',
      createBackfill_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $2.CreateBackfillRequest.fromBuffer(value),
      ($3.Backfill value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$2.DeleteBackfillRequest, $4.Empty>(
      'DeleteBackfill',
      deleteBackfill_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $2.DeleteBackfillRequest.fromBuffer(value),
      ($4.Empty value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$2.GetBackfillRequest, $3.Backfill>(
      'GetBackfill',
      getBackfill_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $2.GetBackfillRequest.fromBuffer(value),
      ($3.Backfill value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$2.UpdateBackfillRequest, $3.Backfill>(
      'UpdateBackfill',
      updateBackfill_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $2.UpdateBackfillRequest.fromBuffer(value),
      ($3.Backfill value) => value.writeToBuffer()));
}