ConversationsServiceBase constructor

ConversationsServiceBase()

Implementation

ConversationsServiceBase() {
  $addMethod(
      $grpc.ServiceMethod<$12.CreateConversationRequest, $12.Conversation>(
          'CreateConversation',
          createConversation_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $12.CreateConversationRequest.fromBuffer(value),
          ($12.Conversation value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$12.ListConversationsRequest,
          $12.ListConversationsResponse>(
      'ListConversations',
      listConversations_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $12.ListConversationsRequest.fromBuffer(value),
      ($12.ListConversationsResponse value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$12.GetConversationRequest, $12.Conversation>(
          'GetConversation',
          getConversation_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $12.GetConversationRequest.fromBuffer(value),
          ($12.Conversation value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$12.CompleteConversationRequest, $12.Conversation>(
          'CompleteConversation',
          completeConversation_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $12.CompleteConversationRequest.fromBuffer(value),
          ($12.Conversation value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$12.CreateCallMatcherRequest, $12.CallMatcher>(
          'CreateCallMatcher',
          createCallMatcher_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $12.CreateCallMatcherRequest.fromBuffer(value),
          ($12.CallMatcher value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$12.ListCallMatchersRequest,
          $12.ListCallMatchersResponse>(
      'ListCallMatchers',
      listCallMatchers_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $12.ListCallMatchersRequest.fromBuffer(value),
      ($12.ListCallMatchersResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$12.DeleteCallMatcherRequest, $2.Empty>(
      'DeleteCallMatcher',
      deleteCallMatcher_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $12.DeleteCallMatcherRequest.fromBuffer(value),
      ($2.Empty value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$12.BatchCreateMessagesRequest,
          $12.BatchCreateMessagesResponse>(
      'BatchCreateMessages',
      batchCreateMessages_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $12.BatchCreateMessagesRequest.fromBuffer(value),
      ($12.BatchCreateMessagesResponse value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$12.ListMessagesRequest, $12.ListMessagesResponse>(
          'ListMessages',
          listMessages_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $12.ListMessagesRequest.fromBuffer(value),
          ($12.ListMessagesResponse value) => value.writeToBuffer()));
}