IntentsServiceBase constructor

IntentsServiceBase()

Implementation

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