public static final class Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange extends GeneratedMessage implements Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRangeOrBuilderThe range of aggregated input token values covered by the SKU.
A request to a managed model has an aggregated input token value determined by the sum of the metric values of the input token metrics.
- input tokens
- cache read input tokens
- cache write input tokens
Protobuf type
google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRangeStatic Fields
END_VALUE_FIELD_NUMBER
public static final int END_VALUE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
START_VALUE_FIELD_NUMBER
public static final int START_VALUE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange.Builder |
|
newBuilder(Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange prototype)
public static Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange.Builder newBuilder(Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange.Builder |
|
parseDelimitedFrom(InputStream input)
public static Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange> parser()| Returns | |
|---|---|
| Type | Description |
Parser<CombinedRequestInputTokensRange> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange |
|
getEndValue()
public long getEndValue()Output only. The exclusive upper bound of the range. If no end value is specified, the range is unbounded from above.
optional int64 end_value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
long |
The endValue. |
getParserForType()
public Parser<Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<CombinedRequestInputTokensRange> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getStartValue()
public long getStartValue()Output only. The inclusive lower bound of the range.
int64 start_value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
long |
The startValue. |
hasEndValue()
public boolean hasEndValue()Output only. The exclusive upper bound of the range. If no end value is specified, the range is unbounded from above.
optional int64 end_value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the endValue field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange.Builder |
|
toBuilder()
public Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|