public static enum AdvancedCompleteQueryResponse.ContentSuggestion.ContentType extends Enum<AdvancedCompleteQueryResponse.ContentSuggestion.ContentType> implements com.google.protobuf.ProtocolMessageEnum
The type of the content returned for content suggestions.Protobuf enum
google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.ContentSuggestion.ContentType| Enum Constant and Description |
|---|
CONTENT_TYPE_UNSPECIFIED
Default value.
|
GOOGLE_WORKSPACE
The suggestion is from a Google Workspace source.
|
THIRD_PARTY
The suggestion is from a third party source.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CONTENT_TYPE_UNSPECIFIED_VALUE
Default value.
|
static int |
GOOGLE_WORKSPACE_VALUE
The suggestion is from a Google Workspace source.
|
static int |
THIRD_PARTY_VALUE
The suggestion is from a third party source.
|
| Modifier and Type | Method and Description |
|---|---|
static AdvancedCompleteQueryResponse.ContentSuggestion.ContentType |
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.ContentSuggestion.ContentType> |
internalGetValueMap() |
static AdvancedCompleteQueryResponse.ContentSuggestion.ContentType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static AdvancedCompleteQueryResponse.ContentSuggestion.ContentType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AdvancedCompleteQueryResponse.ContentSuggestion.ContentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdvancedCompleteQueryResponse.ContentSuggestion.ContentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdvancedCompleteQueryResponse.ContentSuggestion.ContentType CONTENT_TYPE_UNSPECIFIED
Default value.
CONTENT_TYPE_UNSPECIFIED = 0;public static final AdvancedCompleteQueryResponse.ContentSuggestion.ContentType GOOGLE_WORKSPACE
The suggestion is from a Google Workspace source.
GOOGLE_WORKSPACE = 1;public static final AdvancedCompleteQueryResponse.ContentSuggestion.ContentType THIRD_PARTY
The suggestion is from a third party source.
THIRD_PARTY = 2;public static final AdvancedCompleteQueryResponse.ContentSuggestion.ContentType UNRECOGNIZED
public static final int CONTENT_TYPE_UNSPECIFIED_VALUE
Default value.
CONTENT_TYPE_UNSPECIFIED = 0;public static final int GOOGLE_WORKSPACE_VALUE
The suggestion is from a Google Workspace source.
GOOGLE_WORKSPACE = 1;public static final int THIRD_PARTY_VALUE
The suggestion is from a third party source.
THIRD_PARTY = 2;public static AdvancedCompleteQueryResponse.ContentSuggestion.ContentType[] values()
for (AdvancedCompleteQueryResponse.ContentSuggestion.ContentType c : AdvancedCompleteQueryResponse.ContentSuggestion.ContentType.values()) System.out.println(c);
public static AdvancedCompleteQueryResponse.ContentSuggestion.ContentType 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.ContentSuggestion.ContentType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static AdvancedCompleteQueryResponse.ContentSuggestion.ContentType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<AdvancedCompleteQueryResponse.ContentSuggestion.ContentType> 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.ContentSuggestion.ContentType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.