Class HttpRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.tasks.v2beta2.HttpRequest
All Implemented Interfaces:
HttpRequestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class HttpRequest extends com.google.protobuf.GeneratedMessage implements HttpRequestOrBuilder
 HTTP request.

 The task will be pushed to the worker as an HTTP request. An HTTP request
 embodies a url, an http method, headers, body and authorization for the http
 task.
 
Protobuf type google.cloud.tasks.v2beta2.HttpRequest
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
     
    static final class 
    HTTP request.

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage

    com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage

    com.google.protobuf.AbstractMessage.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    HTTP request headers.
    boolean
     
     
    com.google.protobuf.ByteString
    HTTP request body.
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    Deprecated.
    int
    HTTP request headers.
    HTTP request headers.
    getHeadersOrDefault(String key, String defaultValue)
    HTTP request headers.
    HTTP request headers.
    The HTTP method to use for the request.
    int
    The HTTP method to use for the request.
    If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) will be generated and attached as an `Authorization` header in the HTTP request.
    If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) will be generated and attached as an `Authorization` header in the HTTP request.
    If specified, an [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect) token will be generated and attached as an `Authorization` header in the HTTP request.
    If specified, an [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect) token will be generated and attached as an `Authorization` header in the HTTP request.
    com.google.protobuf.Parser<HttpRequest>
     
    int
     
    Required.
    com.google.protobuf.ByteString
    Required.
    int
     
    boolean
    If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) will be generated and attached as an `Authorization` header in the HTTP request.
    boolean
    If specified, an [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect) token will be generated and attached as an `Authorization` header in the HTTP request.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    protected com.google.protobuf.MapFieldReflectionAccessor
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<HttpRequest>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessage

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

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

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getAuthorizationHeaderCase

      public HttpRequest.AuthorizationHeaderCase getAuthorizationHeaderCase()
      Specified by:
      getAuthorizationHeaderCase in interface HttpRequestOrBuilder
    • getUrl

      public String getUrl()
       Required. The full url path that the request will be sent to.
      
       This string must begin with either "http://" or "https://". Some examples
       are: `http://acme.com` and `https://acme.com/sales:8080`. Cloud Tasks will
       encode some characters for safety and compatibility. The maximum allowed
       URL length is 2083 characters after encoding.
      
       The `Location` header response from a redirect response [`300` - `399`]
       may be followed. The redirect is not counted as a separate attempt.
       
      string url = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUrl in interface HttpRequestOrBuilder
      Returns:
      The url.
    • getUrlBytes

      public com.google.protobuf.ByteString getUrlBytes()
       Required. The full url path that the request will be sent to.
      
       This string must begin with either "http://" or "https://". Some examples
       are: `http://acme.com` and `https://acme.com/sales:8080`. Cloud Tasks will
       encode some characters for safety and compatibility. The maximum allowed
       URL length is 2083 characters after encoding.
      
       The `Location` header response from a redirect response [`300` - `399`]
       may be followed. The redirect is not counted as a separate attempt.
       
      string url = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUrlBytes in interface HttpRequestOrBuilder
      Returns:
      The bytes for url.
    • getHttpMethodValue

      public int getHttpMethodValue()
       The HTTP method to use for the request. The default is POST.
       
      .google.cloud.tasks.v2beta2.HttpMethod http_method = 2;
      Specified by:
      getHttpMethodValue in interface HttpRequestOrBuilder
      Returns:
      The enum numeric value on the wire for httpMethod.
    • getHttpMethod

      public HttpMethod getHttpMethod()
       The HTTP method to use for the request. The default is POST.
       
      .google.cloud.tasks.v2beta2.HttpMethod http_method = 2;
      Specified by:
      getHttpMethod in interface HttpRequestOrBuilder
      Returns:
      The httpMethod.
    • getHeadersCount

      public int getHeadersCount()
      Description copied from interface: HttpRequestOrBuilder
       HTTP request headers.
      
       This map contains the header field names and values.
       Headers can be set when running the
       [task is created][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] or
       [task is created][google.cloud.tasks.v2beta2.CloudTasks.BufferTask].
      
       These headers represent a subset of the headers that will accompany the
       task's HTTP request. Some HTTP request headers will be ignored or replaced.
      
       A partial list of headers that will be ignored or replaced is:
      
       * Any header that is prefixed with "X-CloudTasks-" will be treated
       as service header. Service headers define properties of the task and are
       predefined in CloudTask.
       * Host: This will be computed by Cloud Tasks and derived from
       [HttpRequest.url][google.cloud.tasks.v2beta2.HttpRequest.url].
       * Content-Length: This will be computed by Cloud Tasks.
       * User-Agent: This will be set to `"Google-Cloud-Tasks"`.
       * `X-Google-*`: Google use only.
       * `X-AppEngine-*`: Google use only.
      
       `Content-Type` won't be set by Cloud Tasks. You can explicitly set
       `Content-Type` to a media type when the
       [task is created][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
       For example, `Content-Type` can be set to `"application/octet-stream"` or
       `"application/json"`.
      
       Headers which can have multiple values (according to RFC2616) can be
       specified using comma-separated values.
      
       The size of the headers must be less than 80KB.
       
      map<string, string> headers = 3;
      Specified by:
      getHeadersCount in interface HttpRequestOrBuilder
    • containsHeaders

      public boolean containsHeaders(String key)
       HTTP request headers.
      
       This map contains the header field names and values.
       Headers can be set when running the
       [task is created][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] or
       [task is created][google.cloud.tasks.v2beta2.CloudTasks.BufferTask].
      
       These headers represent a subset of the headers that will accompany the
       task's HTTP request. Some HTTP request headers will be ignored or replaced.
      
       A partial list of headers that will be ignored or replaced is:
      
       * Any header that is prefixed with "X-CloudTasks-" will be treated
       as service header. Service headers define properties of the task and are
       predefined in CloudTask.
       * Host: This will be computed by Cloud Tasks and derived from
       [HttpRequest.url][google.cloud.tasks.v2beta2.HttpRequest.url].
       * Content-Length: This will be computed by Cloud Tasks.
       * User-Agent: This will be set to `"Google-Cloud-Tasks"`.
       * `X-Google-*`: Google use only.
       * `X-AppEngine-*`: Google use only.
      
       `Content-Type` won't be set by Cloud Tasks. You can explicitly set
       `Content-Type` to a media type when the
       [task is created][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
       For example, `Content-Type` can be set to `"application/octet-stream"` or
       `"application/json"`.
      
       Headers which can have multiple values (according to RFC2616) can be
       specified using comma-separated values.
      
       The size of the headers must be less than 80KB.
       
      map<string, string> headers = 3;
      Specified by:
      containsHeaders in interface HttpRequestOrBuilder
    • getHeaders

      @Deprecated public Map<String,String> getHeaders()
      Deprecated.
      Use getHeadersMap() instead.
      Specified by:
      getHeaders in interface HttpRequestOrBuilder
    • getHeadersMap

      public Map<String,String> getHeadersMap()
       HTTP request headers.
      
       This map contains the header field names and values.
       Headers can be set when running the
       [task is created][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] or
       [task is created][google.cloud.tasks.v2beta2.CloudTasks.BufferTask].
      
       These headers represent a subset of the headers that will accompany the
       task's HTTP request. Some HTTP request headers will be ignored or replaced.
      
       A partial list of headers that will be ignored or replaced is:
      
       * Any header that is prefixed with "X-CloudTasks-" will be treated
       as service header. Service headers define properties of the task and are
       predefined in CloudTask.
       * Host: This will be computed by Cloud Tasks and derived from
       [HttpRequest.url][google.cloud.tasks.v2beta2.HttpRequest.url].
       * Content-Length: This will be computed by Cloud Tasks.
       * User-Agent: This will be set to `"Google-Cloud-Tasks"`.
       * `X-Google-*`: Google use only.
       * `X-AppEngine-*`: Google use only.
      
       `Content-Type` won't be set by Cloud Tasks. You can explicitly set
       `Content-Type` to a media type when the
       [task is created][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
       For example, `Content-Type` can be set to `"application/octet-stream"` or
       `"application/json"`.
      
       Headers which can have multiple values (according to RFC2616) can be
       specified using comma-separated values.
      
       The size of the headers must be less than 80KB.
       
      map<string, string> headers = 3;
      Specified by:
      getHeadersMap in interface HttpRequestOrBuilder
    • getHeadersOrDefault

      public String getHeadersOrDefault(String key, String defaultValue)
       HTTP request headers.
      
       This map contains the header field names and values.
       Headers can be set when running the
       [task is created][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] or
       [task is created][google.cloud.tasks.v2beta2.CloudTasks.BufferTask].
      
       These headers represent a subset of the headers that will accompany the
       task's HTTP request. Some HTTP request headers will be ignored or replaced.
      
       A partial list of headers that will be ignored or replaced is:
      
       * Any header that is prefixed with "X-CloudTasks-" will be treated
       as service header. Service headers define properties of the task and are
       predefined in CloudTask.
       * Host: This will be computed by Cloud Tasks and derived from
       [HttpRequest.url][google.cloud.tasks.v2beta2.HttpRequest.url].
       * Content-Length: This will be computed by Cloud Tasks.
       * User-Agent: This will be set to `"Google-Cloud-Tasks"`.
       * `X-Google-*`: Google use only.
       * `X-AppEngine-*`: Google use only.
      
       `Content-Type` won't be set by Cloud Tasks. You can explicitly set
       `Content-Type` to a media type when the
       [task is created][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
       For example, `Content-Type` can be set to `"application/octet-stream"` or
       `"application/json"`.
      
       Headers which can have multiple values (according to RFC2616) can be
       specified using comma-separated values.
      
       The size of the headers must be less than 80KB.
       
      map<string, string> headers = 3;
      Specified by:
      getHeadersOrDefault in interface HttpRequestOrBuilder
    • getHeadersOrThrow

      public String getHeadersOrThrow(String key)
       HTTP request headers.
      
       This map contains the header field names and values.
       Headers can be set when running the
       [task is created][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] or
       [task is created][google.cloud.tasks.v2beta2.CloudTasks.BufferTask].
      
       These headers represent a subset of the headers that will accompany the
       task's HTTP request. Some HTTP request headers will be ignored or replaced.
      
       A partial list of headers that will be ignored or replaced is:
      
       * Any header that is prefixed with "X-CloudTasks-" will be treated
       as service header. Service headers define properties of the task and are
       predefined in CloudTask.
       * Host: This will be computed by Cloud Tasks and derived from
       [HttpRequest.url][google.cloud.tasks.v2beta2.HttpRequest.url].
       * Content-Length: This will be computed by Cloud Tasks.
       * User-Agent: This will be set to `"Google-Cloud-Tasks"`.
       * `X-Google-*`: Google use only.
       * `X-AppEngine-*`: Google use only.
      
       `Content-Type` won't be set by Cloud Tasks. You can explicitly set
       `Content-Type` to a media type when the
       [task is created][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
       For example, `Content-Type` can be set to `"application/octet-stream"` or
       `"application/json"`.
      
       Headers which can have multiple values (according to RFC2616) can be
       specified using comma-separated values.
      
       The size of the headers must be less than 80KB.
       
      map<string, string> headers = 3;
      Specified by:
      getHeadersOrThrow in interface HttpRequestOrBuilder
    • getBody

      public com.google.protobuf.ByteString getBody()
       HTTP request body.
      
       A request body is allowed only if the
       [HTTP method][google.cloud.tasks.v2beta2.HttpRequest.http_method] is POST,
       PUT, or PATCH. It is an error to set body on a task with an incompatible
       [HttpMethod][google.cloud.tasks.v2beta2.HttpMethod].
       
      bytes body = 4;
      Specified by:
      getBody in interface HttpRequestOrBuilder
      Returns:
      The body.
    • hasOauthToken

      public boolean hasOauthToken()
       If specified, an
       [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
       will be generated and attached as an `Authorization` header in the HTTP
       request.
      
       This type of authorization should generally only be used when calling
       Google APIs hosted on *.googleapis.com.
       
      .google.cloud.tasks.v2beta2.OAuthToken oauth_token = 5;
      Specified by:
      hasOauthToken in interface HttpRequestOrBuilder
      Returns:
      Whether the oauthToken field is set.
    • getOauthToken

      public OAuthToken getOauthToken()
       If specified, an
       [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
       will be generated and attached as an `Authorization` header in the HTTP
       request.
      
       This type of authorization should generally only be used when calling
       Google APIs hosted on *.googleapis.com.
       
      .google.cloud.tasks.v2beta2.OAuthToken oauth_token = 5;
      Specified by:
      getOauthToken in interface HttpRequestOrBuilder
      Returns:
      The oauthToken.
    • getOauthTokenOrBuilder

      public OAuthTokenOrBuilder getOauthTokenOrBuilder()
       If specified, an
       [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
       will be generated and attached as an `Authorization` header in the HTTP
       request.
      
       This type of authorization should generally only be used when calling
       Google APIs hosted on *.googleapis.com.
       
      .google.cloud.tasks.v2beta2.OAuthToken oauth_token = 5;
      Specified by:
      getOauthTokenOrBuilder in interface HttpRequestOrBuilder
    • hasOidcToken

      public boolean hasOidcToken()
       If specified, an
       [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
       token will be generated and attached as an `Authorization` header in the
       HTTP request.
      
       This type of authorization can be used for many scenarios, including
       calling Cloud Run, or endpoints where you intend to validate the token
       yourself.
       
      .google.cloud.tasks.v2beta2.OidcToken oidc_token = 6;
      Specified by:
      hasOidcToken in interface HttpRequestOrBuilder
      Returns:
      Whether the oidcToken field is set.
    • getOidcToken

      public OidcToken getOidcToken()
       If specified, an
       [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
       token will be generated and attached as an `Authorization` header in the
       HTTP request.
      
       This type of authorization can be used for many scenarios, including
       calling Cloud Run, or endpoints where you intend to validate the token
       yourself.
       
      .google.cloud.tasks.v2beta2.OidcToken oidc_token = 6;
      Specified by:
      getOidcToken in interface HttpRequestOrBuilder
      Returns:
      The oidcToken.
    • getOidcTokenOrBuilder

      public OidcTokenOrBuilder getOidcTokenOrBuilder()
       If specified, an
       [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
       token will be generated and attached as an `Authorization` header in the
       HTTP request.
      
       This type of authorization can be used for many scenarios, including
       calling Cloud Run, or endpoints where you intend to validate the token
       yourself.
       
      .google.cloud.tasks.v2beta2.OidcToken oidc_token = 6;
      Specified by:
      getOidcTokenOrBuilder in interface HttpRequestOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static HttpRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HttpRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HttpRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HttpRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HttpRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HttpRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HttpRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static HttpRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static HttpRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static HttpRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static HttpRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static HttpRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public HttpRequest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static HttpRequest.Builder newBuilder()
    • newBuilder

      public static HttpRequest.Builder newBuilder(HttpRequest prototype)
    • toBuilder

      public HttpRequest.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected HttpRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static HttpRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<HttpRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<HttpRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public HttpRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder