public static enum BatchRecognizeRequest.ProcessingStrategy extends Enum<BatchRecognizeRequest.ProcessingStrategy> implements com.google.protobuf.ProtocolMessageEnum
Possible processing strategies for batch requests.Protobuf enum
google.cloud.speech.v2.BatchRecognizeRequest.ProcessingStrategy| Enum Constant and Description |
|---|
DYNAMIC_BATCHING
If selected, processes the request during lower utilization periods for a
price discount.
|
PROCESSING_STRATEGY_UNSPECIFIED
Default value for the processing strategy.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DYNAMIC_BATCHING_VALUE
If selected, processes the request during lower utilization periods for a
price discount.
|
static int |
PROCESSING_STRATEGY_UNSPECIFIED_VALUE
Default value for the processing strategy.
|
| Modifier and Type | Method and Description |
|---|---|
static BatchRecognizeRequest.ProcessingStrategy |
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<BatchRecognizeRequest.ProcessingStrategy> |
internalGetValueMap() |
static BatchRecognizeRequest.ProcessingStrategy |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static BatchRecognizeRequest.ProcessingStrategy |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static BatchRecognizeRequest.ProcessingStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BatchRecognizeRequest.ProcessingStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BatchRecognizeRequest.ProcessingStrategy PROCESSING_STRATEGY_UNSPECIFIED
Default value for the processing strategy. The request is processed as soon as its received.
PROCESSING_STRATEGY_UNSPECIFIED = 0;public static final BatchRecognizeRequest.ProcessingStrategy DYNAMIC_BATCHING
If selected, processes the request during lower utilization periods for a price discount. The request is fulfilled within 24 hours.
DYNAMIC_BATCHING = 1;public static final BatchRecognizeRequest.ProcessingStrategy UNRECOGNIZED
public static final int PROCESSING_STRATEGY_UNSPECIFIED_VALUE
Default value for the processing strategy. The request is processed as soon as its received.
PROCESSING_STRATEGY_UNSPECIFIED = 0;public static final int DYNAMIC_BATCHING_VALUE
If selected, processes the request during lower utilization periods for a price discount. The request is fulfilled within 24 hours.
DYNAMIC_BATCHING = 1;public static BatchRecognizeRequest.ProcessingStrategy[] values()
for (BatchRecognizeRequest.ProcessingStrategy c : BatchRecognizeRequest.ProcessingStrategy.values()) System.out.println(c);
public static BatchRecognizeRequest.ProcessingStrategy 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 BatchRecognizeRequest.ProcessingStrategy valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static BatchRecognizeRequest.ProcessingStrategy forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<BatchRecognizeRequest.ProcessingStrategy> 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 BatchRecognizeRequest.ProcessingStrategy valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.