public enum GenerateContentResponse.UsageMetadata.TrafficType extends Enum<GenerateContentResponse.UsageMetadata.TrafficType> implements ProtocolMessageEnumThe type of traffic that this request was processed with, indicating which quota is consumed.
Protobuf enum
google.cloud.aiplatform.v1.GenerateContentResponse.UsageMetadata.TrafficType
Implements
ProtocolMessageEnumStatic Fields |
|
|---|---|
| Name | Description |
ON_DEMAND |
The request was processed using Pay-As-You-Go quota. |
ON_DEMAND_FLEX |
Type for Flex traffic. |
ON_DEMAND_FLEX_VALUE |
Type for Flex traffic. |
ON_DEMAND_PRIORITY |
Type for Priority Pay-As-You-Go traffic. |
ON_DEMAND_PRIORITY_VALUE |
Type for Priority Pay-As-You-Go traffic. |
ON_DEMAND_VALUE |
The request was processed using Pay-As-You-Go quota. |
PROVISIONED_THROUGHPUT |
Type for Provisioned Throughput traffic. |
PROVISIONED_THROUGHPUT_VALUE |
Type for Provisioned Throughput traffic. |
TRAFFIC_TYPE_UNSPECIFIED |
Unspecified request traffic type. |
TRAFFIC_TYPE_UNSPECIFIED_VALUE |
Unspecified request traffic type. |
UNRECOGNIZED |
|
Static Methods |
|
|---|---|
| Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
|
Methods |
|
|---|---|
| Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |
|