Interface Messages.SourceOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Messages.Source, Messages.Source.Builder
    Enclosing class:
    Messages

    public static interface Messages.SourceOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getData()
      The contents of the file
      com.google.protobuf.ByteString getDataBytes()
      The contents of the file
      String getMediaType()
      The media type of the file.
      com.google.protobuf.ByteString getMediaTypeBytes()
      The media type of the file.
      String getUri()
      The [URI](https://en.wikipedia.org/wiki/Uniform_Resource_Identifier) of the source, typically a file path relative to the root directory
      com.google.protobuf.ByteString getUriBytes()
      The [URI](https://en.wikipedia.org/wiki/Uniform_Resource_Identifier) of the source, typically a file path relative to the root directory
      • 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

      • getUri

        String getUri()
        
         The [URI](https://en.wikipedia.org/wiki/Uniform_Resource_Identifier)
         of the source, typically a file path relative to the root directory
         
        string uri = 1;
      • getUriBytes

        com.google.protobuf.ByteString getUriBytes()
        
         The [URI](https://en.wikipedia.org/wiki/Uniform_Resource_Identifier)
         of the source, typically a file path relative to the root directory
         
        string uri = 1;
      • getData

        String getData()
         The contents of the file
         
        string data = 2;
      • getDataBytes

        com.google.protobuf.ByteString getDataBytes()
         The contents of the file
         
        string data = 2;
      • getMediaType

        String getMediaType()
         The media type of the file. Can be used to specify custom types, such as
         text/x.cucumber.gherkin+plain
         
        string media_type = 3;
      • getMediaTypeBytes

        com.google.protobuf.ByteString getMediaTypeBytes()
         The media type of the file. Can be used to specify custom types, such as
         text/x.cucumber.gherkin+plain
         
        string media_type = 3;