ScsServiceBase constructor

ScsServiceBase()

Implementation

ScsServiceBase() {
  $addMethod($grpc.ServiceMethod<$0.GetRequest_, $0.GetResponse_>(
      'Get',
      get_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.GetRequest_.fromBuffer(value),
      ($0.GetResponse_ value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.SetRequest_, $0.SetResponse_>(
      'Set',
      set_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.SetRequest_.fromBuffer(value),
      ($0.SetResponse_ value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.SetIfNotExistsRequest_,
          $0.SetIfNotExistsResponse_>(
      'SetIfNotExists',
      setIfNotExists_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.SetIfNotExistsRequest_.fromBuffer(value),
      ($0.SetIfNotExistsResponse_ value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.DeleteRequest_, $0.DeleteResponse_>(
      'Delete',
      delete_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.DeleteRequest_.fromBuffer(value),
      ($0.DeleteResponse_ value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.KeysExistRequest_, $0.KeysExistResponse_>(
      'KeysExist',
      keysExist_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.KeysExistRequest_.fromBuffer(value),
      ($0.KeysExistResponse_ value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.IncrementRequest_, $0.IncrementResponse_>(
      'Increment',
      increment_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.IncrementRequest_.fromBuffer(value),
      ($0.IncrementResponse_ value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.UpdateTtlRequest_, $0.UpdateTtlResponse_>(
      'UpdateTtl',
      updateTtl_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.UpdateTtlRequest_.fromBuffer(value),
      ($0.UpdateTtlResponse_ value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$0.ItemGetTtlRequest_, $0.ItemGetTtlResponse_>(
          'ItemGetTtl',
          itemGetTtl_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $0.ItemGetTtlRequest_.fromBuffer(value),
          ($0.ItemGetTtlResponse_ value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$0.ItemGetTypeRequest_, $0.ItemGetTypeResponse_>(
          'ItemGetType',
          itemGetType_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $0.ItemGetTypeRequest_.fromBuffer(value),
          ($0.ItemGetTypeResponse_ value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.DictionaryGetRequest_,
          $0.DictionaryGetResponse_>(
      'DictionaryGet',
      dictionaryGet_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.DictionaryGetRequest_.fromBuffer(value),
      ($0.DictionaryGetResponse_ value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.DictionaryFetchRequest_,
          $0.DictionaryFetchResponse_>(
      'DictionaryFetch',
      dictionaryFetch_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.DictionaryFetchRequest_.fromBuffer(value),
      ($0.DictionaryFetchResponse_ value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.DictionarySetRequest_,
          $0.DictionarySetResponse_>(
      'DictionarySet',
      dictionarySet_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.DictionarySetRequest_.fromBuffer(value),
      ($0.DictionarySetResponse_ value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.DictionaryIncrementRequest_,
          $0.DictionaryIncrementResponse_>(
      'DictionaryIncrement',
      dictionaryIncrement_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.DictionaryIncrementRequest_.fromBuffer(value),
      ($0.DictionaryIncrementResponse_ value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.DictionaryDeleteRequest_,
          $0.DictionaryDeleteResponse_>(
      'DictionaryDelete',
      dictionaryDelete_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.DictionaryDeleteRequest_.fromBuffer(value),
      ($0.DictionaryDeleteResponse_ value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.DictionaryLengthRequest_,
          $0.DictionaryLengthResponse_>(
      'DictionaryLength',
      dictionaryLength_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.DictionaryLengthRequest_.fromBuffer(value),
      ($0.DictionaryLengthResponse_ value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.SetFetchRequest_, $0.SetFetchResponse_>(
      'SetFetch',
      setFetch_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.SetFetchRequest_.fromBuffer(value),
      ($0.SetFetchResponse_ value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.SetUnionRequest_, $0.SetUnionResponse_>(
      'SetUnion',
      setUnion_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.SetUnionRequest_.fromBuffer(value),
      ($0.SetUnionResponse_ value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.SetDifferenceRequest_,
          $0.SetDifferenceResponse_>(
      'SetDifference',
      setDifference_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.SetDifferenceRequest_.fromBuffer(value),
      ($0.SetDifferenceResponse_ value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$0.SetContainsRequest_, $0.SetContainsResponse_>(
          'SetContains',
          setContains_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $0.SetContainsRequest_.fromBuffer(value),
          ($0.SetContainsResponse_ value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.SetLengthRequest_, $0.SetLengthResponse_>(
      'SetLength',
      setLength_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.SetLengthRequest_.fromBuffer(value),
      ($0.SetLengthResponse_ value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.SetPopRequest_, $0.SetPopResponse_>(
      'SetPop',
      setPop_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.SetPopRequest_.fromBuffer(value),
      ($0.SetPopResponse_ value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.ListPushFrontRequest_,
          $0.ListPushFrontResponse_>(
      'ListPushFront',
      listPushFront_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.ListPushFrontRequest_.fromBuffer(value),
      ($0.ListPushFrontResponse_ value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$0.ListPushBackRequest_, $0.ListPushBackResponse_>(
          'ListPushBack',
          listPushBack_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $0.ListPushBackRequest_.fromBuffer(value),
          ($0.ListPushBackResponse_ value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$0.ListPopFrontRequest_, $0.ListPopFrontResponse_>(
          'ListPopFront',
          listPopFront_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $0.ListPopFrontRequest_.fromBuffer(value),
          ($0.ListPopFrontResponse_ value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$0.ListPopBackRequest_, $0.ListPopBackResponse_>(
          'ListPopBack',
          listPopBack_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $0.ListPopBackRequest_.fromBuffer(value),
          ($0.ListPopBackResponse_ value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.ListEraseRequest_, $0.ListEraseResponse_>(
      'ListErase',
      listErase_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.ListEraseRequest_.fromBuffer(value),
      ($0.ListEraseResponse_ value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$0.ListRemoveRequest_, $0.ListRemoveResponse_>(
          'ListRemove',
          listRemove_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $0.ListRemoveRequest_.fromBuffer(value),
          ($0.ListRemoveResponse_ value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.ListFetchRequest_, $0.ListFetchResponse_>(
      'ListFetch',
      listFetch_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.ListFetchRequest_.fromBuffer(value),
      ($0.ListFetchResponse_ value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$0.ListLengthRequest_, $0.ListLengthResponse_>(
          'ListLength',
          listLength_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $0.ListLengthRequest_.fromBuffer(value),
          ($0.ListLengthResponse_ value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.ListConcatenateFrontRequest_,
          $0.ListConcatenateFrontResponse_>(
      'ListConcatenateFront',
      listConcatenateFront_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.ListConcatenateFrontRequest_.fromBuffer(value),
      ($0.ListConcatenateFrontResponse_ value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.ListConcatenateBackRequest_,
          $0.ListConcatenateBackResponse_>(
      'ListConcatenateBack',
      listConcatenateBack_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.ListConcatenateBackRequest_.fromBuffer(value),
      ($0.ListConcatenateBackResponse_ value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$0.ListRetainRequest_, $0.ListRetainResponse_>(
          'ListRetain',
          listRetain_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $0.ListRetainRequest_.fromBuffer(value),
          ($0.ListRetainResponse_ value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$0.SortedSetPutRequest_, $0.SortedSetPutResponse_>(
          'SortedSetPut',
          sortedSetPut_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $0.SortedSetPutRequest_.fromBuffer(value),
          ($0.SortedSetPutResponse_ value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.SortedSetFetchRequest_,
          $0.SortedSetFetchResponse_>(
      'SortedSetFetch',
      sortedSetFetch_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.SortedSetFetchRequest_.fromBuffer(value),
      ($0.SortedSetFetchResponse_ value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.SortedSetGetScoreRequest_,
          $0.SortedSetGetScoreResponse_>(
      'SortedSetGetScore',
      sortedSetGetScore_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.SortedSetGetScoreRequest_.fromBuffer(value),
      ($0.SortedSetGetScoreResponse_ value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.SortedSetRemoveRequest_,
          $0.SortedSetRemoveResponse_>(
      'SortedSetRemove',
      sortedSetRemove_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.SortedSetRemoveRequest_.fromBuffer(value),
      ($0.SortedSetRemoveResponse_ value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.SortedSetIncrementRequest_,
          $0.SortedSetIncrementResponse_>(
      'SortedSetIncrement',
      sortedSetIncrement_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.SortedSetIncrementRequest_.fromBuffer(value),
      ($0.SortedSetIncrementResponse_ value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.SortedSetGetRankRequest_,
          $0.SortedSetGetRankResponse_>(
      'SortedSetGetRank',
      sortedSetGetRank_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.SortedSetGetRankRequest_.fromBuffer(value),
      ($0.SortedSetGetRankResponse_ value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.SortedSetLengthRequest_,
          $0.SortedSetLengthResponse_>(
      'SortedSetLength',
      sortedSetLength_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.SortedSetLengthRequest_.fromBuffer(value),
      ($0.SortedSetLengthResponse_ value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.SortedSetLengthByScoreRequest_,
          $0.SortedSetLengthByScoreResponse_>(
      'SortedSetLengthByScore',
      sortedSetLengthByScore_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.SortedSetLengthByScoreRequest_.fromBuffer(value),
      ($0.SortedSetLengthByScoreResponse_ value) => value.writeToBuffer()));
}