Package io.cucumber.messages
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetBody()string body = 4;com.google.protobuf.ByteStringgetBodyBytes()string body = 4;Messages.Attachment.ContentEncodinggetContentEncoding()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 => BASE64intgetContentEncodingValue()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 => BASE64StringgetFileName()Suggested file name of the attachment.com.google.protobuf.ByteStringgetFileNameBytes()Suggested file name of the attachment.StringgetMediaType()The media type of the data.com.google.protobuf.ByteStringgetMediaTypeBytes()The media type of the data.Messages.SourceReferencegetSource().io.cucumber.messages.SourceReference source = 1;Messages.SourceReferenceOrBuildergetSourceOrBuilder().io.cucumber.messages.SourceReference source = 1;StringgetTestCaseStartedId()string test_case_started_id = 3;com.google.protobuf.ByteStringgetTestCaseStartedIdBytes()string test_case_started_id = 3;StringgetTestStepId()string test_step_id = 2;com.google.protobuf.ByteStringgetTestStepIdBytes()string test_step_id = 2;booleanhasSource().io.cucumber.messages.SourceReference source = 1;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasSource
boolean hasSource()
.io.cucumber.messages.SourceReference source = 1;
-
getSource
Messages.SourceReference getSource()
.io.cucumber.messages.SourceReference source = 1;
-
getSourceOrBuilder
Messages.SourceReferenceOrBuilder getSourceOrBuilder()
.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;
-
-