public enum UsageMetadata.TrafficType extends Enum<UsageMetadata.TrafficType> implements ProtocolMessageEnumThe type of traffic that this request was processed with, indicating which quota gets consumed.
Protobuf enum google.cloud.vertexai.v1.UsageMetadata.TrafficType
Implements
ProtocolMessageEnumStatic Fields |
|
|---|---|
| Name | Description |
ON_DEMAND |
Type for Pay-As-You-Go traffic. |
ON_DEMAND_VALUE |
Type for Pay-As-You-Go traffic. |
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() |
|