Package com.buildless.telemetry
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 ClassesModifier and TypeClassDescriptionstatic 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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsHeaders(String key) Specifies headers which were present on this request.booleancontainsTrailers(String key) Specifies trailers which were present on this request.booleanstatic HttpResponseInfostatic final com.google.protobuf.Descriptors.DescriptorDeprecated.intSpecifies headers which were present on this request.Specifies headers which were present on this request.getHeadersOrDefault(String key, HttpMetadata defaultValue) Specifies headers which were present on this request.getHeadersOrThrow(String key) Specifies headers which were present on this request.getHttp()HTTP protocol versioning and information.HTTP protocol versioning and information.booleangetOk()Whether the response was "okay" or "successful." If `false`, the response represents an error.com.google.protobuf.Parser<HttpResponseInfo>intintgetSize()Specifies the payload size for this request, if applicable; if no payload is or was present, this is set to `0`.intStatus code for this HTTP response.Optional status text enclosed with the response.com.google.protobuf.ByteStringOptional status text enclosed with the response.Deprecated.intSpecifies trailers which were present on this request.Specifies trailers which were present on this request.getTrailersOrDefault(String key, HttpMetadata defaultValue) Specifies trailers which were present on this request.getTrailersOrThrow(String key) Specifies trailers which were present on this request.inthashCode()booleanhasHttp()HTTP protocol versioning and information.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldinternalGetMapField(int number) final booleanstatic HttpResponseInfo.Builderstatic HttpResponseInfo.BuildernewBuilder(HttpResponseInfo prototype) protected HttpResponseInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static HttpResponseInfoparseDelimitedFrom(InputStream input) static HttpResponseInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HttpResponseInfoparseFrom(byte[] data) static HttpResponseInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HttpResponseInfoparseFrom(com.google.protobuf.ByteString data) static HttpResponseInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HttpResponseInfoparseFrom(com.google.protobuf.CodedInputStream input) static HttpResponseInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HttpResponseInfoparseFrom(InputStream input) static HttpResponseInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HttpResponseInfoparseFrom(ByteBuffer data) static HttpResponseInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<HttpResponseInfo>parser()voidwriteTo(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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
HTTP_FIELD_NUMBER
public static final int HTTP_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
OK_FIELD_NUMBER
public static final int OK_FIELD_NUMBER- See Also:
-
HEADERS_FIELD_NUMBER
public static final int HEADERS_FIELD_NUMBER- See Also:
-
TRAILERS_FIELD_NUMBER
public static final int TRAILERS_FIELD_NUMBER- See Also:
-
SIZE_FIELD_NUMBER
public static final int SIZE_FIELD_NUMBER- See Also:
-
STATUS_TEXT_FIELD_NUMBER
public static final int STATUS_TEXT_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasHttp
public boolean hasHttp()HTTP protocol versioning and information.
.buildless.telemetry.HttpInfo http = 1 [json_name = "http"];- Specified by:
hasHttpin interfaceHttpResponseInfoOrBuilder- Returns:
- Whether the http field is set.
-
getHttp
HTTP protocol versioning and information.
.buildless.telemetry.HttpInfo http = 1 [json_name = "http"];- Specified by:
getHttpin interfaceHttpResponseInfoOrBuilder- Returns:
- The http.
-
getHttpOrBuilder
HTTP protocol versioning and information.
.buildless.telemetry.HttpInfo http = 1 [json_name = "http"];- Specified by:
getHttpOrBuilderin interfaceHttpResponseInfoOrBuilder
-
getStatus
public int getStatus()Status code for this HTTP response.
uint32 status = 2 [json_name = "status"];- Specified by:
getStatusin interfaceHttpResponseInfoOrBuilder- 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:
getOkin interfaceHttpResponseInfoOrBuilder- Returns:
- The ok.
-
getHeadersCount
public int getHeadersCount()Description copied from interface:HttpResponseInfoOrBuilderSpecifies headers which were present on this request.
map<string, .buildless.telemetry.HttpMetadata> headers = 5 [json_name = "headers"];- Specified by:
getHeadersCountin interfaceHttpResponseInfoOrBuilder
-
containsHeaders
Specifies headers which were present on this request.
map<string, .buildless.telemetry.HttpMetadata> headers = 5 [json_name = "headers"];- Specified by:
containsHeadersin interfaceHttpResponseInfoOrBuilder
-
getHeaders
Deprecated.UsegetHeadersMap()instead.- Specified by:
getHeadersin interfaceHttpResponseInfoOrBuilder
-
getHeadersMap
Specifies headers which were present on this request.
map<string, .buildless.telemetry.HttpMetadata> headers = 5 [json_name = "headers"];- Specified by:
getHeadersMapin interfaceHttpResponseInfoOrBuilder
-
getHeadersOrDefault
Specifies headers which were present on this request.
map<string, .buildless.telemetry.HttpMetadata> headers = 5 [json_name = "headers"];- Specified by:
getHeadersOrDefaultin interfaceHttpResponseInfoOrBuilder
-
getHeadersOrThrow
Specifies headers which were present on this request.
map<string, .buildless.telemetry.HttpMetadata> headers = 5 [json_name = "headers"];- Specified by:
getHeadersOrThrowin interfaceHttpResponseInfoOrBuilder
-
getTrailersCount
public int getTrailersCount()Description copied from interface:HttpResponseInfoOrBuilderSpecifies trailers which were present on this request.
map<string, .buildless.telemetry.HttpMetadata> trailers = 6 [json_name = "trailers"];- Specified by:
getTrailersCountin interfaceHttpResponseInfoOrBuilder
-
containsTrailers
Specifies trailers which were present on this request.
map<string, .buildless.telemetry.HttpMetadata> trailers = 6 [json_name = "trailers"];- Specified by:
containsTrailersin interfaceHttpResponseInfoOrBuilder
-
getTrailers
Deprecated.UsegetTrailersMap()instead.- Specified by:
getTrailersin interfaceHttpResponseInfoOrBuilder
-
getTrailersMap
Specifies trailers which were present on this request.
map<string, .buildless.telemetry.HttpMetadata> trailers = 6 [json_name = "trailers"];- Specified by:
getTrailersMapin interfaceHttpResponseInfoOrBuilder
-
getTrailersOrDefault
Specifies trailers which were present on this request.
map<string, .buildless.telemetry.HttpMetadata> trailers = 6 [json_name = "trailers"];- Specified by:
getTrailersOrDefaultin interfaceHttpResponseInfoOrBuilder
-
getTrailersOrThrow
Specifies trailers which were present on this request.
map<string, .buildless.telemetry.HttpMetadata> trailers = 6 [json_name = "trailers"];- Specified by:
getTrailersOrThrowin interfaceHttpResponseInfoOrBuilder
-
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:
getSizein interfaceHttpResponseInfoOrBuilder- Returns:
- The size.
-
getStatusText
Optional status text enclosed with the response.
string status_text = 8 [json_name = "statusText"];- Specified by:
getStatusTextin interfaceHttpResponseInfoOrBuilder- 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:
getStatusTextBytesin interfaceHttpResponseInfoOrBuilder- Returns:
- The bytes for statusText.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static HttpResponseInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected HttpResponseInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-