Interface TextAssetOrBuilder

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

    public interface TextAssetOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getText()
      Text content of the text asset.
      com.google.protobuf.ByteString getTextBytes()
      Text content of the text asset.
      boolean hasText()
      Text content of the text asset.
      • 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 Detail

      • hasText

        boolean hasText()
         Text content of the text asset.
         
        optional string text = 2;
        Returns:
        Whether the text field is set.
      • getText

        java.lang.String getText()
         Text content of the text asset.
         
        optional string text = 2;
        Returns:
        The text.
      • getTextBytes

        com.google.protobuf.ByteString getTextBytes()
         Text content of the text asset.
         
        optional string text = 2;
        Returns:
        The bytes for text.