public static enum GetProcessedDocumentRequest.ProcessedDocumentFormat extends Enum<GetProcessedDocumentRequest.ProcessedDocumentFormat> implements com.google.protobuf.ProtocolMessageEnum
The format of the returned processed document. If unspecified, defaults to JSON.Protobuf enum
google.cloud.discoveryengine.v1alpha.GetProcessedDocumentRequest.ProcessedDocumentFormat| Enum Constant and Description |
|---|
JSON
Output format is a JSON string representation of processed document.
|
PROCESSED_DOCUMENT_FORMAT_UNSPECIFIED
Default value.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
JSON_VALUE
Output format is a JSON string representation of processed document.
|
static int |
PROCESSED_DOCUMENT_FORMAT_UNSPECIFIED_VALUE
Default value.
|
| Modifier and Type | Method and Description |
|---|---|
static GetProcessedDocumentRequest.ProcessedDocumentFormat |
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<GetProcessedDocumentRequest.ProcessedDocumentFormat> |
internalGetValueMap() |
static GetProcessedDocumentRequest.ProcessedDocumentFormat |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static GetProcessedDocumentRequest.ProcessedDocumentFormat |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static GetProcessedDocumentRequest.ProcessedDocumentFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GetProcessedDocumentRequest.ProcessedDocumentFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GetProcessedDocumentRequest.ProcessedDocumentFormat PROCESSED_DOCUMENT_FORMAT_UNSPECIFIED
Default value.
PROCESSED_DOCUMENT_FORMAT_UNSPECIFIED = 0;public static final GetProcessedDocumentRequest.ProcessedDocumentFormat JSON
Output format is a JSON string representation of processed document.
JSON = 1;public static final GetProcessedDocumentRequest.ProcessedDocumentFormat UNRECOGNIZED
public static final int PROCESSED_DOCUMENT_FORMAT_UNSPECIFIED_VALUE
Default value.
PROCESSED_DOCUMENT_FORMAT_UNSPECIFIED = 0;public static final int JSON_VALUE
Output format is a JSON string representation of processed document.
JSON = 1;public static GetProcessedDocumentRequest.ProcessedDocumentFormat[] values()
for (GetProcessedDocumentRequest.ProcessedDocumentFormat c : GetProcessedDocumentRequest.ProcessedDocumentFormat.values()) System.out.println(c);
public static GetProcessedDocumentRequest.ProcessedDocumentFormat 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 GetProcessedDocumentRequest.ProcessedDocumentFormat valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static GetProcessedDocumentRequest.ProcessedDocumentFormat forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<GetProcessedDocumentRequest.ProcessedDocumentFormat> 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 GetProcessedDocumentRequest.ProcessedDocumentFormat valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.