public interface HttpBodyOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType()
The Content-Type header value for this body.
|
com.google.protobuf.ByteString |
getContentTypeBytes()
The Content-Type header value for this body.
|
com.google.protobuf.ByteString |
getData()
The body as raw binary
optional bytes data = 3; |
String |
getFilename()
If set, a Content-Disposition header is added
to the response.
|
com.google.protobuf.ByteString |
getFilenameBytes()
If set, a Content-Disposition header is added
to the response.
|
boolean |
hasContentType()
The Content-Type header value for this body.
|
boolean |
hasData()
The body as raw binary
optional bytes data = 3; |
boolean |
hasFilename()
If set, a Content-Disposition header is added
to the response.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasContentType()
The Content-Type header value for this body. If unspecified, defaults to application/octet-stream
optional string content_type = 1;String getContentType()
The Content-Type header value for this body. If unspecified, defaults to application/octet-stream
optional string content_type = 1;com.google.protobuf.ByteString getContentTypeBytes()
The Content-Type header value for this body. If unspecified, defaults to application/octet-stream
optional string content_type = 1;boolean hasFilename()
If set, a Content-Disposition header is added to the response. Weg agents use this to trigger a download.
optional string filename = 2;String getFilename()
If set, a Content-Disposition header is added to the response. Weg agents use this to trigger a download.
optional string filename = 2;com.google.protobuf.ByteString getFilenameBytes()
If set, a Content-Disposition header is added to the response. Weg agents use this to trigger a download.
optional string filename = 2;boolean hasData()
The body as raw binary
optional bytes data = 3;com.google.protobuf.ByteString getData()
The body as raw binary
optional bytes data = 3;Copyright © 2020 Space Applications Services. All rights reserved.