EntityTypesServiceBase constructor

EntityTypesServiceBase()

Implementation

EntityTypesServiceBase() {
  $addMethod($grpc.ServiceMethod<$7.ListEntityTypesRequest,
          $7.ListEntityTypesResponse>(
      'ListEntityTypes',
      listEntityTypes_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $7.ListEntityTypesRequest.fromBuffer(value),
      ($7.ListEntityTypesResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$7.GetEntityTypeRequest, $7.EntityType>(
      'GetEntityType',
      getEntityType_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $7.GetEntityTypeRequest.fromBuffer(value),
      ($7.EntityType value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$7.CreateEntityTypeRequest, $7.EntityType>(
      'CreateEntityType',
      createEntityType_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $7.CreateEntityTypeRequest.fromBuffer(value),
      ($7.EntityType value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$7.UpdateEntityTypeRequest, $7.EntityType>(
      'UpdateEntityType',
      updateEntityType_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $7.UpdateEntityTypeRequest.fromBuffer(value),
      ($7.EntityType value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$7.DeleteEntityTypeRequest, $2.Empty>(
      'DeleteEntityType',
      deleteEntityType_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $7.DeleteEntityTypeRequest.fromBuffer(value),
      ($2.Empty value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$7.BatchUpdateEntityTypesRequest, $1.Operation>(
          'BatchUpdateEntityTypes',
          batchUpdateEntityTypes_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $7.BatchUpdateEntityTypesRequest.fromBuffer(value),
          ($1.Operation value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$7.BatchDeleteEntityTypesRequest, $1.Operation>(
          'BatchDeleteEntityTypes',
          batchDeleteEntityTypes_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $7.BatchDeleteEntityTypesRequest.fromBuffer(value),
          ($1.Operation value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$7.BatchCreateEntitiesRequest, $1.Operation>(
      'BatchCreateEntities',
      batchCreateEntities_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $7.BatchCreateEntitiesRequest.fromBuffer(value),
      ($1.Operation value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$7.BatchUpdateEntitiesRequest, $1.Operation>(
      'BatchUpdateEntities',
      batchUpdateEntities_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $7.BatchUpdateEntitiesRequest.fromBuffer(value),
      ($1.Operation value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$7.BatchDeleteEntitiesRequest, $1.Operation>(
      'BatchDeleteEntities',
      batchDeleteEntities_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $7.BatchDeleteEntitiesRequest.fromBuffer(value),
      ($1.Operation value) => value.writeToBuffer()));
}