Enum InputConfig.EntityType
java.lang.Object
java.lang.Enum<InputConfig.EntityType>
com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<InputConfig.EntityType>
- Enclosing class:
- InputConfig
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 Summary
Enum ConstantsEnum ConstantDescriptionThe default value.Deprecated.Local Business entity.Organization entity.Deprecated.Person entity.Product entity.Deprecated. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe default value.static final intDeprecated.static final intLocal Business entity.static final intOrganization entity.static final intDeprecated.static final intPerson entity.static final intProduct entity.static final intDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic InputConfig.EntityTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<InputConfig.EntityType>static InputConfig.EntityTypevalueOf(int value) Deprecated.static InputConfig.EntityTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static InputConfig.EntityTypeReturns 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.
-
Enum Constant Details
-
ENTITY_TYPE_UNSPECIFIED
The default value.
ENTITY_TYPE_UNSPECIFIED = 0; -
PEOPLE
Deprecated.People entity.
PEOPLE = 1 [deprecated = true]; -
ESTABLISHMENT
Deprecated.Establishment entity.
ESTABLISHMENT = 2 [deprecated = true]; -
PROPERTY
Deprecated.Property entity. e.g. real estate property.
PROPERTY = 3 [deprecated = true]; -
PRODUCT
Product entity.
PRODUCT = 4; -
ORGANIZATION
Organization entity.
ORGANIZATION = 5; -
LOCAL_BUSINESS
Local Business entity.
LOCAL_BUSINESS = 6; -
PERSON
Person entity.
PERSON = 7; -
UNRECOGNIZED
-
-
Field Details
-
ENTITY_TYPE_UNSPECIFIED_VALUE
public static final int ENTITY_TYPE_UNSPECIFIED_VALUEThe default value.
ENTITY_TYPE_UNSPECIFIED = 0;- See Also:
-
PEOPLE_VALUE
Deprecated.People entity.
PEOPLE = 1 [deprecated = true];- See Also:
-
ESTABLISHMENT_VALUE
Deprecated.Establishment entity.
ESTABLISHMENT = 2 [deprecated = true];- See Also:
-
PROPERTY_VALUE
Deprecated.Property entity. e.g. real estate property.
PROPERTY = 3 [deprecated = true];- See Also:
-
PRODUCT_VALUE
public static final int PRODUCT_VALUEProduct entity.
PRODUCT = 4;- See Also:
-
ORGANIZATION_VALUE
public static final int ORGANIZATION_VALUEOrganization entity.
ORGANIZATION = 5;- See Also:
-
LOCAL_BUSINESS_VALUE
public static final int LOCAL_BUSINESS_VALUELocal Business entity.
LOCAL_BUSINESS = 6;- See Also:
-
PERSON_VALUE
public static final int PERSON_VALUEPerson entity.
PERSON = 7;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<InputConfig.EntityType> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static InputConfig.EntityType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-