public static enum CompleteQueryRequest.CompletionType extends Enum<CompleteQueryRequest.CompletionType> implements com.google.protobuf.ProtocolMessageEnum
Enum to specify auto-completion topics.Protobuf enum
google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType| Enum Constant and Description |
|---|
COMBINED
Suggest both job titles and company names.
|
COMPANY_NAME
Only suggest company names.
|
COMPLETION_TYPE_UNSPECIFIED
Default value.
|
JOB_TITLE
Only suggest job titles.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
COMBINED_VALUE
Suggest both job titles and company names.
|
static int |
COMPANY_NAME_VALUE
Only suggest company names.
|
static int |
COMPLETION_TYPE_UNSPECIFIED_VALUE
Default value.
|
static int |
JOB_TITLE_VALUE
Only suggest job titles.
|
| Modifier and Type | Method and Description |
|---|---|
static CompleteQueryRequest.CompletionType |
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<CompleteQueryRequest.CompletionType> |
internalGetValueMap() |
static CompleteQueryRequest.CompletionType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static CompleteQueryRequest.CompletionType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static CompleteQueryRequest.CompletionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompleteQueryRequest.CompletionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompleteQueryRequest.CompletionType COMPLETION_TYPE_UNSPECIFIED
Default value.
COMPLETION_TYPE_UNSPECIFIED = 0;public static final CompleteQueryRequest.CompletionType JOB_TITLE
Only suggest job titles.
JOB_TITLE = 1;public static final CompleteQueryRequest.CompletionType COMPANY_NAME
Only suggest company names.
COMPANY_NAME = 2;public static final CompleteQueryRequest.CompletionType COMBINED
Suggest both job titles and company names.
COMBINED = 3;public static final CompleteQueryRequest.CompletionType UNRECOGNIZED
public static final int COMPLETION_TYPE_UNSPECIFIED_VALUE
Default value.
COMPLETION_TYPE_UNSPECIFIED = 0;public static final int JOB_TITLE_VALUE
Only suggest job titles.
JOB_TITLE = 1;public static final int COMPANY_NAME_VALUE
Only suggest company names.
COMPANY_NAME = 2;public static final int COMBINED_VALUE
Suggest both job titles and company names.
COMBINED = 3;public static CompleteQueryRequest.CompletionType[] values()
for (CompleteQueryRequest.CompletionType c : CompleteQueryRequest.CompletionType.values()) System.out.println(c);
public static CompleteQueryRequest.CompletionType 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 CompleteQueryRequest.CompletionType valueOf(int value)
forNumber(int) instead.public static CompleteQueryRequest.CompletionType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<CompleteQueryRequest.CompletionType> 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 CompleteQueryRequest.CompletionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019 Google LLC. All rights reserved.