Interface HttpBodyOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
HttpBody, HttpBody.Builder

public interface HttpBodyOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    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
    The HTTP request/response body as raw binary.
    getExtensions(int index)
    Application specific response metadata.
    int
    Application specific response metadata.
    Application specific response metadata.
    Application specific response metadata.
    List<? extends AnyOrBuilder>
    Application specific response metadata.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getContentType

      String getContentType()
       The HTTP Content-Type header value specifying the content type of the body.
       
      string content_type = 1;
      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;
      Returns:
      The bytes for contentType.
    • getData

      com.google.protobuf.ByteString getData()
       The HTTP request/response body as raw binary.
       
      bytes data = 2;
      Returns:
      The data.
    • getExtensionsList

      List<Any> getExtensionsList()
       Application specific response metadata. Must be set in the first response
       for streaming APIs.
       
      repeated .google.protobuf.Any extensions = 3;
    • getExtensions

      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 AnyOrBuilder> getExtensionsOrBuilderList()
       Application specific response metadata. Must be set in the first response
       for streaming APIs.
       
      repeated .google.protobuf.Any extensions = 3;
    • getExtensionsOrBuilder

      AnyOrBuilder getExtensionsOrBuilder(int index)
       Application specific response metadata. Must be set in the first response
       for streaming APIs.
       
      repeated .google.protobuf.Any extensions = 3;