Interface HttpRequestOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.protobuf.ByteString getBody()
      The HTTP request body.
      HttpHeader getHeaders​(int index)
      The HTTP request headers.
      int getHeadersCount()
      The HTTP request headers.
      java.util.List<HttpHeader> getHeadersList()
      The HTTP request headers.
      HttpHeaderOrBuilder getHeadersOrBuilder​(int index)
      The HTTP request headers.
      java.util.List<? extends HttpHeaderOrBuilder> getHeadersOrBuilderList()
      The HTTP request headers.
      java.lang.String getMethod()
      The HTTP request method.
      com.google.protobuf.ByteString getMethodBytes()
      The HTTP request method.
      java.lang.String getUri()
      The HTTP request URI.
      com.google.protobuf.ByteString getUriBytes()
      The HTTP request URI.
      • 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 Detail

      • getMethod

        java.lang.String getMethod()
         The HTTP request method.
         
        string method = 1;
        Returns:
        The method.
      • getMethodBytes

        com.google.protobuf.ByteString getMethodBytes()
         The HTTP request method.
         
        string method = 1;
        Returns:
        The bytes for method.
      • getUri

        java.lang.String getUri()
         The HTTP request URI.
         
        string uri = 2;
        Returns:
        The uri.
      • getUriBytes

        com.google.protobuf.ByteString getUriBytes()
         The HTTP request URI.
         
        string uri = 2;
        Returns:
        The bytes for uri.
      • getHeadersList

        java.util.List<HttpHeader> getHeadersList()
         The HTTP request headers. The ordering of the headers is significant.
         Multiple headers with the same key may present for the request.
         
        repeated .google.rpc.HttpHeader headers = 3;
      • getHeaders

        HttpHeader getHeaders​(int index)
         The HTTP request headers. The ordering of the headers is significant.
         Multiple headers with the same key may present for the request.
         
        repeated .google.rpc.HttpHeader headers = 3;
      • getHeadersCount

        int getHeadersCount()
         The HTTP request headers. The ordering of the headers is significant.
         Multiple headers with the same key may present for the request.
         
        repeated .google.rpc.HttpHeader headers = 3;
      • getHeadersOrBuilderList

        java.util.List<? extends HttpHeaderOrBuilder> getHeadersOrBuilderList()
         The HTTP request headers. The ordering of the headers is significant.
         Multiple headers with the same key may present for the request.
         
        repeated .google.rpc.HttpHeader headers = 3;
      • getHeadersOrBuilder

        HttpHeaderOrBuilder getHeadersOrBuilder​(int index)
         The HTTP request headers. The ordering of the headers is significant.
         Multiple headers with the same key may present for the request.
         
        repeated .google.rpc.HttpHeader headers = 3;
      • getBody

        com.google.protobuf.ByteString getBody()
         The HTTP request body. If the body is not expected, it should be empty.
         
        bytes body = 4;
        Returns:
        The body.