Interface PerformanceRequirementsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PerformanceRequirements,PerformanceRequirements.Builder
@Generated
public interface PerformanceRequirementsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.Optional.intOptional.intOptional.booleanOptional.booleanOptional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasTargetNtpotMilliseconds
boolean hasTargetNtpotMilliseconds()Optional. The target Normalized Time Per Output Token (NTPOT) in milliseconds. NTPOT is calculated as `request_latency / total_output_tokens`. If not provided, this target will not be enforced.
optional int32 target_ntpot_milliseconds = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the targetNtpotMilliseconds field is set.
-
getTargetNtpotMilliseconds
int getTargetNtpotMilliseconds()Optional. The target Normalized Time Per Output Token (NTPOT) in milliseconds. NTPOT is calculated as `request_latency / total_output_tokens`. If not provided, this target will not be enforced.
optional int32 target_ntpot_milliseconds = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The targetNtpotMilliseconds.
-
hasTargetTtftMilliseconds
boolean hasTargetTtftMilliseconds()Optional. The target Time To First Token (TTFT) in milliseconds. TTFT is the time it takes to generate the first token for a request. If not provided, this target will not be enforced.
optional int32 target_ttft_milliseconds = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the targetTtftMilliseconds field is set.
-
getTargetTtftMilliseconds
int getTargetTtftMilliseconds()Optional. The target Time To First Token (TTFT) in milliseconds. TTFT is the time it takes to generate the first token for a request. If not provided, this target will not be enforced.
optional int32 target_ttft_milliseconds = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The targetTtftMilliseconds.
-
hasTargetCost
boolean hasTargetCost()Optional. The target cost for running a profile's model server. If not provided, this requirement will not be enforced.
.google.cloud.gkerecommender.v1.Cost target_cost = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the targetCost field is set.
-
getTargetCost
Cost getTargetCost()Optional. The target cost for running a profile's model server. If not provided, this requirement will not be enforced.
.google.cloud.gkerecommender.v1.Cost target_cost = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The targetCost.
-
getTargetCostOrBuilder
CostOrBuilder getTargetCostOrBuilder()Optional. The target cost for running a profile's model server. If not provided, this requirement will not be enforced.
.google.cloud.gkerecommender.v1.Cost target_cost = 3 [(.google.api.field_behavior) = OPTIONAL];
-