Interface HttpResponseOrBuilder

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

@Generated public interface HttpResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.ByteString
    The HTTP 1.1 response body.
    long
    Content length records the length of the associated content.
    getHeaders(int index)
    The HTTP response headers.
    int
    The HTTP response headers.
    The HTTP response headers.
    The HTTP response headers.
    The HTTP response headers.
    A unique identifier that matches the request ID.
    com.google.protobuf.ByteString
    A unique identifier that matches the request ID.
    Status of http response, e.g. "200 OK".
    com.google.protobuf.ByteString
    Status of http response, e.g. "200 OK".
    int
    Status code of http response, e.g. 200.

    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

    • getId

      String getId()
       A unique identifier that matches the request ID.
       
      string id = 1;
      Returns:
      The id.
    • getIdBytes

      com.google.protobuf.ByteString getIdBytes()
       A unique identifier that matches the request ID.
       
      string id = 1;
      Returns:
      The bytes for id.
    • getStatus

      String getStatus()
       Status of http response, e.g. "200 OK".
       
      string status = 2;
      Returns:
      The status.
    • getStatusBytes

      com.google.protobuf.ByteString getStatusBytes()
       Status of http response, e.g. "200 OK".
       
      string status = 2;
      Returns:
      The bytes for status.
    • getStatusCode

      int getStatusCode()
       Status code of http response, e.g. 200.
       
      int32 status_code = 3;
      Returns:
      The statusCode.
    • getBody

      com.google.protobuf.ByteString getBody()
       The HTTP 1.1 response body.
       
      bytes body = 4;
      Returns:
      The body.
    • getHeadersList

      List<Header> getHeadersList()
       The HTTP response headers.
       
      repeated .google.cloud.apigeeconnect.v1.Header headers = 5;
    • getHeaders

      Header getHeaders(int index)
       The HTTP response headers.
       
      repeated .google.cloud.apigeeconnect.v1.Header headers = 5;
    • getHeadersCount

      int getHeadersCount()
       The HTTP response headers.
       
      repeated .google.cloud.apigeeconnect.v1.Header headers = 5;
    • getHeadersOrBuilderList

      List<? extends HeaderOrBuilder> getHeadersOrBuilderList()
       The HTTP response headers.
       
      repeated .google.cloud.apigeeconnect.v1.Header headers = 5;
    • getHeadersOrBuilder

      HeaderOrBuilder getHeadersOrBuilder(int index)
       The HTTP response headers.
       
      repeated .google.cloud.apigeeconnect.v1.Header headers = 5;
    • getContentLength

      long getContentLength()
       Content length records the length of the associated content. The
       value -1 indicates that the length is unknown. Unless http method
       is "HEAD", values >= 0 indicate that the given number of bytes may
       be read from Body.
       
      int64 content_length = 6;
      Returns:
      The contentLength.