Interface SentencepieceModel.ModelProto.SentencePieceOrBuilder

  • All Implemented Interfaces:
    com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder , com.google.protobuf.MessageLiteOrBuilder , com.google.protobuf.MessageOrBuilder

    
    public interface SentencepieceModel.ModelProto.SentencePieceOrBuilder
     implements GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT>
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract boolean hasPiece()
      piece must not be empty.
      
      optional string piece = 1;
      abstract String getPiece()
      piece must not be empty.
      
      optional string piece = 1;
      abstract ByteString getPieceBytes()
      piece must not be empty.
      
      optional string piece = 1;
      abstract boolean hasScore() optional float score = 2;
      abstract float getScore() optional float score = 2;
      abstract boolean hasType() optional .com.google.genai.proto.ModelProto.SentencePiece.Type type = 3 [default = NORMAL];
      abstract SentencepieceModel.ModelProto.SentencePiece.Type getType() optional .com.google.genai.proto.ModelProto.SentencePiece.Type type = 3 [default = NORMAL];
      • Methods inherited from class com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder

        getDefaultInstanceForType, getExtension, getExtensionCount, hasExtension
      • Methods inherited from class com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
      • Methods inherited from class com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • hasPiece

         abstract boolean hasPiece()
        piece must not be empty.
        
        optional string piece = 1;
        Returns:

        Whether the piece field is set.

      • getPiece

         abstract String getPiece()
        piece must not be empty.
        
        optional string piece = 1;
        Returns:

        The piece.

      • getPieceBytes

         abstract ByteString getPieceBytes()
        piece must not be empty.
        
        optional string piece = 1;
        Returns:

        The bytes for piece.

      • hasScore

         abstract boolean hasScore()

        optional float score = 2;

        Returns:

        Whether the score field is set.

      • getScore

         abstract float getScore()

        optional float score = 2;

        Returns:

        The score.

      • hasType

         abstract boolean hasType()

        optional .com.google.genai.proto.ModelProto.SentencePiece.Type type = 3 [default = NORMAL];

        Returns:

        Whether the type field is set.