程序包 com.google.api
接口 HttpBodyOrBuilder
- 所有超级接口:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- 所有已知实现类:
HttpBody
,HttpBody.Builder
public interface HttpBodyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
方法概要
修饰符和类型方法说明The 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.com.google.protobuf.AnyOrBuilder
getExtensionsOrBuilder(int index)
Application specific response metadata.List<? extends com.google.protobuf.AnyOrBuilder>
Application specific response metadata.从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder
isInitialized
从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
方法详细资料
-
getContentType
String getContentType()The HTTP Content-Type header value specifying the content type of the body.
string content_type = 1;
- 返回:
- 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;
- 返回:
- The bytes for contentType.
-
getData
com.google.protobuf.ByteString getData()The HTTP request/response body as raw binary.
bytes data = 2;
- 返回:
- 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;
-
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;
-
getExtensionsCount
int getExtensionsCount()Application specific response metadata. Must be set in the first response for streaming APIs.
repeated .google.protobuf.Any extensions = 3;
-
getExtensionsOrBuilderList
List<? extends com.google.protobuf.AnyOrBuilder> getExtensionsOrBuilderList()Application specific response metadata. Must be set in the first response for streaming APIs.
repeated .google.protobuf.Any extensions = 3;
-
getExtensionsOrBuilder
com.google.protobuf.AnyOrBuilder getExtensionsOrBuilder(int index)Application specific response metadata. Must be set in the first response for streaming APIs.
repeated .google.protobuf.Any extensions = 3;
-