IntentsServiceBase constructor

IntentsServiceBase()

Implementation

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