public static enum InputConfig.EntityType extends Enum<InputConfig.EntityType> implements com.google.protobuf.ProtocolMessageEnum
The type of entities we will support. Currently, we only support people, establishment, property, and product types. If the type is unspecified, it will be generic type.Protobuf enum
google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType| Enum Constant and Description |
|---|
ENTITY_TYPE_UNSPECIFIED
The default value.
|
ESTABLISHMENT
Deprecated.
|
LOCAL_BUSINESS
Local Business entity.
|
ORGANIZATION
Organization entity.
|
PEOPLE
Deprecated.
|
PERSON
Person entity.
|
PRODUCT
Product entity.
|
PROPERTY
Deprecated.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ENTITY_TYPE_UNSPECIFIED_VALUE
The default value.
|
static int |
ESTABLISHMENT_VALUE
Deprecated.
|
static int |
LOCAL_BUSINESS_VALUE
Local Business entity.
|
static int |
ORGANIZATION_VALUE
Organization entity.
|
static int |
PEOPLE_VALUE
Deprecated.
|
static int |
PERSON_VALUE
Person entity.
|
static int |
PRODUCT_VALUE
Product entity.
|
static int |
PROPERTY_VALUE
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static InputConfig.EntityType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<InputConfig.EntityType> |
internalGetValueMap() |
static InputConfig.EntityType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static InputConfig.EntityType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static InputConfig.EntityType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InputConfig.EntityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InputConfig.EntityType ENTITY_TYPE_UNSPECIFIED
The default value.
ENTITY_TYPE_UNSPECIFIED = 0;@Deprecated public static final InputConfig.EntityType PEOPLE
People entity.
PEOPLE = 1 [deprecated = true];@Deprecated public static final InputConfig.EntityType ESTABLISHMENT
Establishment entity.
ESTABLISHMENT = 2 [deprecated = true];@Deprecated public static final InputConfig.EntityType PROPERTY
Property entity. e.g. real estate property.
PROPERTY = 3 [deprecated = true];public static final InputConfig.EntityType PRODUCT
Product entity.
PRODUCT = 4;public static final InputConfig.EntityType ORGANIZATION
Organization entity.
ORGANIZATION = 5;public static final InputConfig.EntityType LOCAL_BUSINESS
Local Business entity.
LOCAL_BUSINESS = 6;public static final InputConfig.EntityType PERSON
Person entity.
PERSON = 7;public static final InputConfig.EntityType UNRECOGNIZED
public static final int ENTITY_TYPE_UNSPECIFIED_VALUE
The default value.
ENTITY_TYPE_UNSPECIFIED = 0;@Deprecated public static final int PEOPLE_VALUE
People entity.
PEOPLE = 1 [deprecated = true];@Deprecated public static final int ESTABLISHMENT_VALUE
Establishment entity.
ESTABLISHMENT = 2 [deprecated = true];@Deprecated public static final int PROPERTY_VALUE
Property entity. e.g. real estate property.
PROPERTY = 3 [deprecated = true];public static final int PRODUCT_VALUE
Product entity.
PRODUCT = 4;public static final int ORGANIZATION_VALUE
Organization entity.
ORGANIZATION = 5;public static final int LOCAL_BUSINESS_VALUE
Local Business entity.
LOCAL_BUSINESS = 6;public static final int PERSON_VALUE
Person entity.
PERSON = 7;public static InputConfig.EntityType[] values()
for (InputConfig.EntityType c : InputConfig.EntityType.values()) System.out.println(c);
public static InputConfig.EntityType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static InputConfig.EntityType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static InputConfig.EntityType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<InputConfig.EntityType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static InputConfig.EntityType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.