public static enum AdvancedCompleteQueryResponse.PersonSuggestion.PersonType extends Enum<AdvancedCompleteQueryResponse.PersonSuggestion.PersonType> implements com.google.protobuf.ProtocolMessageEnum
The type of the person based on the source.Protobuf enum
google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.PersonSuggestion.PersonType| Enum Constant and Description |
|---|
CLOUD_IDENTITY
The suggestion is from a GOOGLE_IDENTITY source.
|
PERSON_TYPE_UNSPECIFIED
Default value.
|
THIRD_PARTY_IDENTITY
The suggestion is from a THIRD_PARTY_IDENTITY source.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CLOUD_IDENTITY_VALUE
The suggestion is from a GOOGLE_IDENTITY source.
|
static int |
PERSON_TYPE_UNSPECIFIED_VALUE
Default value.
|
static int |
THIRD_PARTY_IDENTITY_VALUE
The suggestion is from a THIRD_PARTY_IDENTITY source.
|
| Modifier and Type | Method and Description |
|---|---|
static AdvancedCompleteQueryResponse.PersonSuggestion.PersonType |
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<AdvancedCompleteQueryResponse.PersonSuggestion.PersonType> |
internalGetValueMap() |
static AdvancedCompleteQueryResponse.PersonSuggestion.PersonType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static AdvancedCompleteQueryResponse.PersonSuggestion.PersonType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AdvancedCompleteQueryResponse.PersonSuggestion.PersonType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdvancedCompleteQueryResponse.PersonSuggestion.PersonType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdvancedCompleteQueryResponse.PersonSuggestion.PersonType PERSON_TYPE_UNSPECIFIED
Default value.
PERSON_TYPE_UNSPECIFIED = 0;public static final AdvancedCompleteQueryResponse.PersonSuggestion.PersonType CLOUD_IDENTITY
The suggestion is from a GOOGLE_IDENTITY source.
CLOUD_IDENTITY = 1;public static final AdvancedCompleteQueryResponse.PersonSuggestion.PersonType THIRD_PARTY_IDENTITY
The suggestion is from a THIRD_PARTY_IDENTITY source.
THIRD_PARTY_IDENTITY = 2;public static final AdvancedCompleteQueryResponse.PersonSuggestion.PersonType UNRECOGNIZED
public static final int PERSON_TYPE_UNSPECIFIED_VALUE
Default value.
PERSON_TYPE_UNSPECIFIED = 0;public static final int CLOUD_IDENTITY_VALUE
The suggestion is from a GOOGLE_IDENTITY source.
CLOUD_IDENTITY = 1;public static final int THIRD_PARTY_IDENTITY_VALUE
The suggestion is from a THIRD_PARTY_IDENTITY source.
THIRD_PARTY_IDENTITY = 2;public static AdvancedCompleteQueryResponse.PersonSuggestion.PersonType[] values()
for (AdvancedCompleteQueryResponse.PersonSuggestion.PersonType c : AdvancedCompleteQueryResponse.PersonSuggestion.PersonType.values()) System.out.println(c);
public static AdvancedCompleteQueryResponse.PersonSuggestion.PersonType 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 AdvancedCompleteQueryResponse.PersonSuggestion.PersonType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static AdvancedCompleteQueryResponse.PersonSuggestion.PersonType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<AdvancedCompleteQueryResponse.PersonSuggestion.PersonType> 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 AdvancedCompleteQueryResponse.PersonSuggestion.PersonType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.