Interface ModalityTokenCountOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ModalityTokenCount, ModalityTokenCount.Builder

@Generated public interface ModalityTokenCountOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The modality associated with this token count.
    int
    The modality associated with this token count.
    int
    Number of tokens.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getModalityValue

      int getModalityValue()
       The modality associated with this token count.
       
      .google.cloud.aiplatform.v1.Modality modality = 1;
      Returns:
      The enum numeric value on the wire for modality.
    • getModality

      Modality getModality()
       The modality associated with this token count.
       
      .google.cloud.aiplatform.v1.Modality modality = 1;
      Returns:
      The modality.
    • getTokenCount

      int getTokenCount()
       Number of tokens.
       
      int32 token_count = 2;
      Returns:
      The tokenCount.