Class PerformanceRange

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.gkerecommender.v1.PerformanceRange
All Implemented Interfaces:
PerformanceRangeOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class PerformanceRange extends com.google.protobuf.GeneratedMessage implements PerformanceRangeOrBuilder
 Performance range for a model deployment.
 
Protobuf type google.cloud.gkerecommender.v1.PerformanceRange
See Also:
  • Field Details

    • THROUGHPUT_OUTPUT_RANGE_FIELD_NUMBER

      public static final int THROUGHPUT_OUTPUT_RANGE_FIELD_NUMBER
      See Also:
    • TTFT_RANGE_FIELD_NUMBER

      public static final int TTFT_RANGE_FIELD_NUMBER
      See Also:
    • NTPOT_RANGE_FIELD_NUMBER

      public static final int NTPOT_RANGE_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasThroughputOutputRange

      public boolean hasThroughputOutputRange()
       Output only. The range of throughput in output tokens per second. This is
       measured as total_output_tokens_generated_by_server /
       elapsed_time_in_seconds.
       
      .google.cloud.gkerecommender.v1.TokensPerSecondRange throughput_output_range = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasThroughputOutputRange in interface PerformanceRangeOrBuilder
      Returns:
      Whether the throughputOutputRange field is set.
    • getThroughputOutputRange

      public TokensPerSecondRange getThroughputOutputRange()
       Output only. The range of throughput in output tokens per second. This is
       measured as total_output_tokens_generated_by_server /
       elapsed_time_in_seconds.
       
      .google.cloud.gkerecommender.v1.TokensPerSecondRange throughput_output_range = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getThroughputOutputRange in interface PerformanceRangeOrBuilder
      Returns:
      The throughputOutputRange.
    • getThroughputOutputRangeOrBuilder

      public TokensPerSecondRangeOrBuilder getThroughputOutputRangeOrBuilder()
       Output only. The range of throughput in output tokens per second. This is
       measured as total_output_tokens_generated_by_server /
       elapsed_time_in_seconds.
       
      .google.cloud.gkerecommender.v1.TokensPerSecondRange throughput_output_range = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getThroughputOutputRangeOrBuilder in interface PerformanceRangeOrBuilder
    • hasTtftRange

      public boolean hasTtftRange()
       Output only. The range of TTFT (Time To First Token) in milliseconds. TTFT
       is the time it takes to generate the first token for a request.
       
      .google.cloud.gkerecommender.v1.MillisecondRange ttft_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasTtftRange in interface PerformanceRangeOrBuilder
      Returns:
      Whether the ttftRange field is set.
    • getTtftRange

      public MillisecondRange getTtftRange()
       Output only. The range of TTFT (Time To First Token) in milliseconds. TTFT
       is the time it takes to generate the first token for a request.
       
      .google.cloud.gkerecommender.v1.MillisecondRange ttft_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTtftRange in interface PerformanceRangeOrBuilder
      Returns:
      The ttftRange.
    • getTtftRangeOrBuilder

      public MillisecondRangeOrBuilder getTtftRangeOrBuilder()
       Output only. The range of TTFT (Time To First Token) in milliseconds. TTFT
       is the time it takes to generate the first token for a request.
       
      .google.cloud.gkerecommender.v1.MillisecondRange ttft_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTtftRangeOrBuilder in interface PerformanceRangeOrBuilder
    • hasNtpotRange

      public boolean hasNtpotRange()
       Output only. The range of NTPOT (Normalized Time Per Output Token) in
       milliseconds. NTPOT is the request latency normalized by the number of
       output tokens, measured as request_latency / total_output_tokens.
       
      .google.cloud.gkerecommender.v1.MillisecondRange ntpot_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasNtpotRange in interface PerformanceRangeOrBuilder
      Returns:
      Whether the ntpotRange field is set.
    • getNtpotRange

      public MillisecondRange getNtpotRange()
       Output only. The range of NTPOT (Normalized Time Per Output Token) in
       milliseconds. NTPOT is the request latency normalized by the number of
       output tokens, measured as request_latency / total_output_tokens.
       
      .google.cloud.gkerecommender.v1.MillisecondRange ntpot_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNtpotRange in interface PerformanceRangeOrBuilder
      Returns:
      The ntpotRange.
    • getNtpotRangeOrBuilder

      public MillisecondRangeOrBuilder getNtpotRangeOrBuilder()
       Output only. The range of NTPOT (Normalized Time Per Output Token) in
       milliseconds. NTPOT is the request latency normalized by the number of
       output tokens, measured as request_latency / total_output_tokens.
       
      .google.cloud.gkerecommender.v1.MillisecondRange ntpot_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNtpotRangeOrBuilder in interface PerformanceRangeOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static PerformanceRange parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PerformanceRange parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PerformanceRange parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PerformanceRange parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PerformanceRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PerformanceRange parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PerformanceRange parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PerformanceRange parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PerformanceRange parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PerformanceRange parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PerformanceRange parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PerformanceRange parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public PerformanceRange.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static PerformanceRange.Builder newBuilder()
    • newBuilder

      public static PerformanceRange.Builder newBuilder(PerformanceRange prototype)
    • toBuilder

      public PerformanceRange.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected PerformanceRange.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static PerformanceRange getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<PerformanceRange> parser()
    • getParserForType

      public com.google.protobuf.Parser<PerformanceRange> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public PerformanceRange getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder