Interface Messages.AttachmentOrBuilder

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

    public static interface Messages.AttachmentOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasSource

        boolean hasSource()
        .io.cucumber.messages.SourceReference source = 1;
      • getTestStepId

        String getTestStepId()
        string test_step_id = 2;
      • getTestStepIdBytes

        com.google.protobuf.ByteString getTestStepIdBytes()
        string test_step_id = 2;
      • getTestCaseStartedId

        String getTestCaseStartedId()
        string test_case_started_id = 3;
      • getTestCaseStartedIdBytes

        com.google.protobuf.ByteString getTestCaseStartedIdBytes()
        string test_case_started_id = 3;
      • getBody

        String getBody()
        string body = 4;
      • getBodyBytes

        com.google.protobuf.ByteString getBodyBytes()
        string body = 4;
      • getMediaType

        String getMediaType()
        
         The media type of the data. This can be any valid
         [IANA Media Type](https://www.iana.org/assignments/media-types/media-types.xhtml)
         as well as Cucumber-specific media types such as `text/x.cucumber.gherkin+plain`
         and `text/x.cucumber.stacktrace+plain`
         
        string media_type = 5;
      • getMediaTypeBytes

        com.google.protobuf.ByteString getMediaTypeBytes()
        
         The media type of the data. This can be any valid
         [IANA Media Type](https://www.iana.org/assignments/media-types/media-types.xhtml)
         as well as Cucumber-specific media types such as `text/x.cucumber.gherkin+plain`
         and `text/x.cucumber.stacktrace+plain`
         
        string media_type = 5;
      • getContentEncodingValue

        int getContentEncodingValue()
        
         Content encoding is *not* determined by the media type, but rather by the type
         of the object being attached:
         - string => IDENTITY
         - byte array => BASE64
         - stream => BASE64
         
        .io.cucumber.messages.Attachment.ContentEncoding content_encoding = 6;
      • getContentEncoding

        Messages.Attachment.ContentEncoding getContentEncoding()
        
         Content encoding is *not* determined by the media type, but rather by the type
         of the object being attached:
         - string => IDENTITY
         - byte array => BASE64
         - stream => BASE64
         
        .io.cucumber.messages.Attachment.ContentEncoding content_encoding = 6;
      • getFileName

        String getFileName()
        
         Suggested file name of the attachment.
         
        string file_name = 7;
      • getFileNameBytes

        com.google.protobuf.ByteString getFileNameBytes()
        
         Suggested file name of the attachment.
         
        string file_name = 7;