IntentsServiceBase constructor

IntentsServiceBase()

Implementation

IntentsServiceBase() {
  $addMethod(
      $grpc.ServiceMethod<$7.ListIntentsRequest, $7.ListIntentsResponse>(
          'ListIntents',
          listIntents_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $7.ListIntentsRequest.fromBuffer(value),
          ($7.ListIntentsResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$7.GetIntentRequest, $7.Intent>(
      'GetIntent',
      getIntent_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $7.GetIntentRequest.fromBuffer(value),
      ($7.Intent value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$7.CreateIntentRequest, $7.Intent>(
      'CreateIntent',
      createIntent_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $7.CreateIntentRequest.fromBuffer(value),
      ($7.Intent value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$7.UpdateIntentRequest, $7.Intent>(
      'UpdateIntent',
      updateIntent_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $7.UpdateIntentRequest.fromBuffer(value),
      ($7.Intent value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$7.DeleteIntentRequest, $1.Empty>(
      'DeleteIntent',
      deleteIntent_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $7.DeleteIntentRequest.fromBuffer(value),
      ($1.Empty value) => value.writeToBuffer()));
}