1 // Copyright 2011 Google Inc. All rights reserved.
3 package com
.google
.appengine
.api
.prospectivesearch
;
5 import com
.google
.appengine
.api
.prospectivesearch
.ProspectiveSearchPb
.SchemaEntry
;
8 * Type identifiers for describing document schemas.
11 public enum FieldType
{
12 BOOLEAN(SchemaEntry
.Type
.BOOLEAN
),
13 DOUBLE(SchemaEntry
.Type
.DOUBLE
),
14 INT32(SchemaEntry
.Type
.INT32
),
15 STRING(SchemaEntry
.Type
.STRING
),
16 TEXT(SchemaEntry
.Type
.STRING
);
18 final SchemaEntry
.Type internalType
;
20 FieldType(SchemaEntry
.Type t
) {