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

    Modifier and Type
    Method
    Description
    Text content of the text asset.
    com.google.protobuf.ByteString
    Text content of the text asset.
    boolean
    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 Details

    • hasText

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

      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.