Interface HttpBodyOrBuilder

public interface HttpBodyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContentType()

public abstract String getContentType()

The HTTP Content-Type header value specifying the content type of the body.

string content_type = 1;

Returns
TypeDescription
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;

Returns
TypeDescription
ByteString

The bytes for contentType.

getData()

public abstract ByteString getData()

The HTTP request/response body as raw binary.

bytes data = 2;

Returns
TypeDescription
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;

Parameter
NameDescription
indexint
Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Parameter
NameDescription
indexint
Returns
TypeDescription
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;

Returns
TypeDescription
List<? extends com.google.protobuf.AnyOrBuilder>