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
    com.google.protobuf.ByteString
    The contents of the body in the HTTP request/response.
    boolean
    If ``true``, this will be the last ``HttpBody`` message that will be sent and no trailers will be sent for the current request/response.

    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

    • getBody

      com.google.protobuf.ByteString getBody()
       The contents of the body in the HTTP request/response. Note that in
       streaming mode multiple ``HttpBody`` messages may be sent.
       
      bytes body = 1;
      Returns:
      The body.
    • getEndOfStream

      boolean getEndOfStream()
       If ``true``, this will be the last ``HttpBody`` message that will be sent and no
       trailers will be sent for the current request/response.
       
      bool end_of_stream = 2;
      Returns:
      The endOfStream.