public static enum CompleteQueryRequest.CompletionScope extends Enum<CompleteQueryRequest.CompletionScope> implements ProtocolMessageEnum
Enum to specify the scope of completion.Protobuf enum
google.cloud.talent.v4.CompleteQueryRequest.CompletionScope
Enum Constant and Description |
---|
COMPLETION_SCOPE_UNSPECIFIED
Default value.
|
PUBLIC
Suggestions are based on all jobs data in the system that's visible to
the client
|
TENANT
Suggestions are based only on the data provided by the client.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
COMPLETION_SCOPE_UNSPECIFIED_VALUE
Default value.
|
static int |
PUBLIC_VALUE
Suggestions are based on all jobs data in the system that's visible to
the client
|
static int |
TENANT_VALUE
Suggestions are based only on the data provided by the client.
|
Modifier and Type | Method and Description |
---|---|
static CompleteQueryRequest.CompletionScope |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<CompleteQueryRequest.CompletionScope> |
internalGetValueMap() |
static CompleteQueryRequest.CompletionScope |
valueOf(Descriptors.EnumValueDescriptor desc) |
static CompleteQueryRequest.CompletionScope |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static CompleteQueryRequest.CompletionScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompleteQueryRequest.CompletionScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompleteQueryRequest.CompletionScope COMPLETION_SCOPE_UNSPECIFIED
Default value.
COMPLETION_SCOPE_UNSPECIFIED = 0;
public static final CompleteQueryRequest.CompletionScope TENANT
Suggestions are based only on the data provided by the client.
TENANT = 1;
public static final CompleteQueryRequest.CompletionScope PUBLIC
Suggestions are based on all jobs data in the system that's visible to the client
PUBLIC = 2;
public static final CompleteQueryRequest.CompletionScope UNRECOGNIZED
public static final int COMPLETION_SCOPE_UNSPECIFIED_VALUE
Default value.
COMPLETION_SCOPE_UNSPECIFIED = 0;
public static final int TENANT_VALUE
Suggestions are based only on the data provided by the client.
TENANT = 1;
public static final int PUBLIC_VALUE
Suggestions are based on all jobs data in the system that's visible to the client
PUBLIC = 2;
public static CompleteQueryRequest.CompletionScope[] values()
for (CompleteQueryRequest.CompletionScope c : CompleteQueryRequest.CompletionScope.values()) System.out.println(c);
public static CompleteQueryRequest.CompletionScope 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 Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static CompleteQueryRequest.CompletionScope valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static CompleteQueryRequest.CompletionScope forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<CompleteQueryRequest.CompletionScope> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static CompleteQueryRequest.CompletionScope valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.