Enum UsageMetadata.TrafficType (3.82.0)

public enum UsageMetadata.TrafficType extends Enum<UsageMetadata.TrafficType> implements ProtocolMessageEnum

The type of traffic that this request was processed with, indicating which quota gets consumed.

Protobuf enum google.cloud.aiplatform.v1.UsageMetadata.TrafficType

Implements

ProtocolMessageEnum

Static Fields

Name Description
ON_DEMAND

Type for Pay-As-You-Go traffic.

ON_DEMAND = 1;

ON_DEMAND_VALUE

Type for Pay-As-You-Go traffic.

ON_DEMAND = 1;

PROVISIONED_THROUGHPUT

Type for Provisioned Throughput traffic.

PROVISIONED_THROUGHPUT = 2;

PROVISIONED_THROUGHPUT_VALUE

Type for Provisioned Throughput traffic.

PROVISIONED_THROUGHPUT = 2;

TRAFFIC_TYPE_UNSPECIFIED

Unspecified request traffic type.

TRAFFIC_TYPE_UNSPECIFIED = 0;

TRAFFIC_TYPE_UNSPECIFIED_VALUE

Unspecified request traffic type.

TRAFFIC_TYPE_UNSPECIFIED = 0;

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()