public interface HttpBodyOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsMetadata(String key)
Any other metadata (used in multipart/form)
map<string, string> metadata = 4; |
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.
|
Map<String,String> |
getMetadata()
Deprecated.
|
int |
getMetadataCount()
Any other metadata (used in multipart/form)
map<string, string> metadata = 4; |
Map<String,String> |
getMetadataMap()
Any other metadata (used in multipart/form)
map<string, string> metadata = 4; |
String |
getMetadataOrDefault(String key,
String defaultValue)
Any other metadata (used in multipart/form)
map<string, string> metadata = 4; |
String |
getMetadataOrThrow(String key)
Any other metadata (used in multipart/form)
map<string, string> metadata = 4; |
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;int getMetadataCount()
Any other metadata (used in multipart/form)
map<string, string> metadata = 4;boolean containsMetadata(String key)
Any other metadata (used in multipart/form)
map<string, string> metadata = 4;@Deprecated Map<String,String> getMetadata()
getMetadataMap() instead.Map<String,String> getMetadataMap()
Any other metadata (used in multipart/form)
map<string, string> metadata = 4;String getMetadataOrDefault(String key, String defaultValue)
Any other metadata (used in multipart/form)
map<string, string> metadata = 4;Copyright © 2020 Space Applications Services. All rights reserved.