Package com.google.api
Interface HttpBodyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
HttpBody
,HttpBody.Builder
public interface HttpBodyOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe HTTP Content-Type header value specifying the content type of the body.com.google.protobuf.ByteString
The HTTP Content-Type header value specifying the content type of the body.com.google.protobuf.ByteString
getData()
The HTTP request/response body as raw binary.com.google.protobuf.Any
getExtensions
(int index) Application specific response metadata.int
Application specific response metadata.List<com.google.protobuf.Any>
Application specific response metadata.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getContentType
String getContentType()The HTTP Content-Type header value specifying the content type of the body.
string content_type = 1 [json_name = "contentType"];
- Returns:
- The contentType.
-
getContentTypeBytes
com.google.protobuf.ByteString getContentTypeBytes()The HTTP Content-Type header value specifying the content type of the body.
string content_type = 1 [json_name = "contentType"];
- Returns:
- The bytes for contentType.
-
getData
com.google.protobuf.ByteString getData()The HTTP request/response body as raw binary.
bytes data = 2 [json_name = "data"];
- Returns:
- The data.
-
getExtensionsList
List<com.google.protobuf.Any> getExtensionsList()Application specific response metadata. Must be set in the first response for streaming APIs.
repeated .google.protobuf.Any extensions = 3 [json_name = "extensions"];
-
getExtensions
com.google.protobuf.Any getExtensions(int index) Application specific response metadata. Must be set in the first response for streaming APIs.
repeated .google.protobuf.Any extensions = 3 [json_name = "extensions"];
-
getExtensionsCount
int getExtensionsCount()Application specific response metadata. Must be set in the first response for streaming APIs.
repeated .google.protobuf.Any extensions = 3 [json_name = "extensions"];
-