public interface HttpBodyOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getContentType()
public abstract String getContentType()The HTTP Content-Type header value specifying the content type of the body.
string content_type = 1;
| Type | Description |
| String | The contentType. |
getContentTypeBytes()
public abstract ByteString getContentTypeBytes()The HTTP Content-Type header value specifying the content type of the body.
string content_type = 1;
| Type | Description |
| ByteString | The bytes for contentType. |
getData()
public abstract ByteString getData()The HTTP request/response body as raw binary.
bytes data = 2;
| Type | Description |
| ByteString | The data. |
getExtensions(int index)
public abstract Any getExtensions(int index)Application specific response metadata. Must be set in the first response for streaming APIs.
repeated .google.protobuf.Any extensions = 3;
| Name | Description |
| index | int |
| Type | Description |
| Any |
getExtensionsCount()
public abstract int getExtensionsCount()Application specific response metadata. Must be set in the first response for streaming APIs.
repeated .google.protobuf.Any extensions = 3;
| Type | Description |
| int |
getExtensionsList()
public abstract List<Any> getExtensionsList()Application specific response metadata. Must be set in the first response for streaming APIs.
repeated .google.protobuf.Any extensions = 3;
| Type | Description |
| List<Any> |
getExtensionsOrBuilder(int index)
public abstract AnyOrBuilder getExtensionsOrBuilder(int index)Application specific response metadata. Must be set in the first response for streaming APIs.
repeated .google.protobuf.Any extensions = 3;
| Name | Description |
| index | int |
| Type | Description |
| AnyOrBuilder |
getExtensionsOrBuilderList()
public abstract List<? extends AnyOrBuilder> getExtensionsOrBuilderList()Application specific response metadata. Must be set in the first response for streaming APIs.
repeated .google.protobuf.Any extensions = 3;
| Type | Description |
| List<? extends com.google.protobuf.AnyOrBuilder> |