Class HttpResponseInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.buildless.telemetry.HttpResponseInfo
All Implemented Interfaces:
HttpResponseInfoOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class HttpResponseInfo extends com.google.protobuf.GeneratedMessageV3 implements HttpResponseInfoOrBuilder
 ## HTTP Response Info

 Specifies an HTTP response, including the response status, size of response data, and various other metrics about the
 response; the full response body is never enclosed.
 
Protobuf type buildless.telemetry.HttpResponseInfo
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    ## HTTP Response Info Specifies an HTTP response, including the response status, size of response data, and various other metrics about the response; the full response body is never enclosed.

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

    com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter

    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
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, 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
    Specifies headers which were present on this request.
    boolean
    Specifies trailers which were present on this request.
    boolean
     
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    Deprecated.
    int
    Specifies headers which were present on this request.
    Specifies headers which were present on this request.
    Specifies headers which were present on this request.
    Specifies headers which were present on this request.
    HTTP protocol versioning and information.
    HTTP protocol versioning and information.
    boolean
    Whether the response was "okay" or "successful." If `false`, the response represents an error.
    com.google.protobuf.Parser<HttpResponseInfo>
     
    int
     
    int
    Specifies the payload size for this request, if applicable; if no payload is or was present, this is set to `0`.
    int
    Status code for this HTTP response.
    Optional status text enclosed with the response.
    com.google.protobuf.ByteString
    Optional status text enclosed with the response.
    Deprecated.
    int
    Specifies trailers which were present on this request.
    Specifies trailers which were present on this request.
    Specifies trailers which were present on this request.
    Specifies trailers which were present on this request.
    int
     
    boolean
    HTTP protocol versioning and information.
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    protected com.google.protobuf.MapField
    internalGetMapField(int number)
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
     
    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<HttpResponseInfo>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessageV3

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, 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, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, 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

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

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

      protected com.google.protobuf.MapField internalGetMapField(int number)
      Overrides:
      internalGetMapField in class com.google.protobuf.GeneratedMessageV3
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasHttp

      public boolean hasHttp()
       HTTP protocol versioning and information.
       
      .buildless.telemetry.HttpInfo http = 1 [json_name = "http"];
      Specified by:
      hasHttp in interface HttpResponseInfoOrBuilder
      Returns:
      Whether the http field is set.
    • getHttp

      public HttpInfo getHttp()
       HTTP protocol versioning and information.
       
      .buildless.telemetry.HttpInfo http = 1 [json_name = "http"];
      Specified by:
      getHttp in interface HttpResponseInfoOrBuilder
      Returns:
      The http.
    • getHttpOrBuilder

      public HttpInfoOrBuilder getHttpOrBuilder()
       HTTP protocol versioning and information.
       
      .buildless.telemetry.HttpInfo http = 1 [json_name = "http"];
      Specified by:
      getHttpOrBuilder in interface HttpResponseInfoOrBuilder
    • getStatus

      public int getStatus()
       Status code for this HTTP response.
       
      uint32 status = 2 [json_name = "status"];
      Specified by:
      getStatus in interface HttpResponseInfoOrBuilder
      Returns:
      The status.
    • getOk

      public boolean getOk()
       Whether the response was "okay" or "successful." If `false`, the response represents an error.
       
      bool ok = 3 [json_name = "ok"];
      Specified by:
      getOk in interface HttpResponseInfoOrBuilder
      Returns:
      The ok.
    • getHeadersCount

      public int getHeadersCount()
      Description copied from interface: HttpResponseInfoOrBuilder
       Specifies headers which were present on this request.
       
      map<string, .buildless.telemetry.HttpMetadata> headers = 5 [json_name = "headers"];
      Specified by:
      getHeadersCount in interface HttpResponseInfoOrBuilder
    • containsHeaders

      public boolean containsHeaders(String key)
       Specifies headers which were present on this request.
       
      map<string, .buildless.telemetry.HttpMetadata> headers = 5 [json_name = "headers"];
      Specified by:
      containsHeaders in interface HttpResponseInfoOrBuilder
    • getHeaders

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

      public Map<String,HttpMetadata> getHeadersMap()
       Specifies headers which were present on this request.
       
      map<string, .buildless.telemetry.HttpMetadata> headers = 5 [json_name = "headers"];
      Specified by:
      getHeadersMap in interface HttpResponseInfoOrBuilder
    • getHeadersOrDefault

      public HttpMetadata getHeadersOrDefault(String key, HttpMetadata defaultValue)
       Specifies headers which were present on this request.
       
      map<string, .buildless.telemetry.HttpMetadata> headers = 5 [json_name = "headers"];
      Specified by:
      getHeadersOrDefault in interface HttpResponseInfoOrBuilder
    • getHeadersOrThrow

      public HttpMetadata getHeadersOrThrow(String key)
       Specifies headers which were present on this request.
       
      map<string, .buildless.telemetry.HttpMetadata> headers = 5 [json_name = "headers"];
      Specified by:
      getHeadersOrThrow in interface HttpResponseInfoOrBuilder
    • getTrailersCount

      public int getTrailersCount()
      Description copied from interface: HttpResponseInfoOrBuilder
       Specifies trailers which were present on this request.
       
      map<string, .buildless.telemetry.HttpMetadata> trailers = 6 [json_name = "trailers"];
      Specified by:
      getTrailersCount in interface HttpResponseInfoOrBuilder
    • containsTrailers

      public boolean containsTrailers(String key)
       Specifies trailers which were present on this request.
       
      map<string, .buildless.telemetry.HttpMetadata> trailers = 6 [json_name = "trailers"];
      Specified by:
      containsTrailers in interface HttpResponseInfoOrBuilder
    • getTrailers

      @Deprecated public Map<String,HttpMetadata> getTrailers()
      Deprecated.
      Use getTrailersMap() instead.
      Specified by:
      getTrailers in interface HttpResponseInfoOrBuilder
    • getTrailersMap

      public Map<String,HttpMetadata> getTrailersMap()
       Specifies trailers which were present on this request.
       
      map<string, .buildless.telemetry.HttpMetadata> trailers = 6 [json_name = "trailers"];
      Specified by:
      getTrailersMap in interface HttpResponseInfoOrBuilder
    • getTrailersOrDefault

      public HttpMetadata getTrailersOrDefault(String key, HttpMetadata defaultValue)
       Specifies trailers which were present on this request.
       
      map<string, .buildless.telemetry.HttpMetadata> trailers = 6 [json_name = "trailers"];
      Specified by:
      getTrailersOrDefault in interface HttpResponseInfoOrBuilder
    • getTrailersOrThrow

      public HttpMetadata getTrailersOrThrow(String key)
       Specifies trailers which were present on this request.
       
      map<string, .buildless.telemetry.HttpMetadata> trailers = 6 [json_name = "trailers"];
      Specified by:
      getTrailersOrThrow in interface HttpResponseInfoOrBuilder
    • getSize

      public int getSize()
       Specifies the payload size for this request, if applicable; if no payload is or was present, this is set to `0`.
       
      uint32 size = 7 [json_name = "size"];
      Specified by:
      getSize in interface HttpResponseInfoOrBuilder
      Returns:
      The size.
    • getStatusText

      public String getStatusText()
       Optional status text enclosed with the response.
       
      string status_text = 8 [json_name = "statusText"];
      Specified by:
      getStatusText in interface HttpResponseInfoOrBuilder
      Returns:
      The statusText.
    • getStatusTextBytes

      public com.google.protobuf.ByteString getStatusTextBytes()
       Optional status text enclosed with the response.
       
      string status_text = 8 [json_name = "statusText"];
      Specified by:
      getStatusTextBytes in interface HttpResponseInfoOrBuilder
      Returns:
      The bytes for statusText.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • 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.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • 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 HttpResponseInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static HttpResponseInfo.Builder newBuilder()
    • newBuilder

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

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

      protected HttpResponseInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static HttpResponseInfo getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<HttpResponseInfo> 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.GeneratedMessageV3
    • getDefaultInstanceForType

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