Package com.buildless.telemetry
Class HttpRequestInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.buildless.telemetry.HttpRequestInfo
- All Implemented Interfaces:
HttpRequestInfoOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class HttpRequestInfo
extends com.google.protobuf.GeneratedMessageV3
implements HttpRequestInfoOrBuilder
## HTTP Request Info Specifies an HTTP request, including the method, URI, and headers or trailers associated with the request. Extra info is enclosed which specifies connection-level information as well. The request body is never enclosed.Protobuf type
buildless.telemetry.HttpRequestInfo- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class## HTTP Request Info Specifies an HTTP request, including the method, URI, and headers or trailers associated with the request.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.booleancontainsQuery(String key) Specifies query parameters which were present on this request.booleanSpecifies the server authority for a given HTTP request, if known.com.google.protobuf.ByteStringSpecifies the server authority for a given HTTP request, if known.static HttpRequestInfostatic 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.HTTP method which was specified in the request.intHTTP method which was specified in the request.com.google.protobuf.Parser<HttpRequestInfo>getPath()Specifies the URI path for a given HTTP request.com.google.protobuf.ByteStringSpecifies the URI path for a given HTTP request.getQuery()Deprecated.intSpecifies query parameters which were present on this request.Specifies query parameters which were present on this request.getQueryOrDefault(String key, HttpMetadata defaultValue) Specifies query parameters which were present on this request.getQueryOrThrow(String key) Specifies query parameters which were present on this request.intintgetSize()Specifies the payload size for this request, if applicable; if no payload is or was present, this is set to `0`.inthashCode()booleanhasHttp()HTTP protocol versioning and information.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldinternalGetMapField(int number) final booleanstatic HttpRequestInfo.Builderstatic HttpRequestInfo.BuildernewBuilder(HttpRequestInfo prototype) protected HttpRequestInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static HttpRequestInfoparseDelimitedFrom(InputStream input) static HttpRequestInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HttpRequestInfoparseFrom(byte[] data) static HttpRequestInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HttpRequestInfoparseFrom(com.google.protobuf.ByteString data) static HttpRequestInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HttpRequestInfoparseFrom(com.google.protobuf.CodedInputStream input) static HttpRequestInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HttpRequestInfoparseFrom(InputStream input) static HttpRequestInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HttpRequestInfoparseFrom(ByteBuffer data) static HttpRequestInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<HttpRequestInfo>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:
-
METHOD_FIELD_NUMBER
public static final int METHOD_FIELD_NUMBER- See Also:
-
AUTHORITY_FIELD_NUMBER
public static final int AUTHORITY_FIELD_NUMBER- See Also:
-
PATH_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER- See Also:
-
HEADERS_FIELD_NUMBER
public static final int HEADERS_FIELD_NUMBER- See Also:
-
SIZE_FIELD_NUMBER
public static final int SIZE_FIELD_NUMBER- See Also:
-
QUERY_FIELD_NUMBER
public static final int QUERY_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 interfaceHttpRequestInfoOrBuilder- Returns:
- Whether the http field is set.
-
getHttp
HTTP protocol versioning and information.
.buildless.telemetry.HttpInfo http = 1 [json_name = "http"];- Specified by:
getHttpin interfaceHttpRequestInfoOrBuilder- Returns:
- The http.
-
getHttpOrBuilder
HTTP protocol versioning and information.
.buildless.telemetry.HttpInfo http = 1 [json_name = "http"];- Specified by:
getHttpOrBuilderin interfaceHttpRequestInfoOrBuilder
-
getMethodValue
public int getMethodValue()HTTP method which was specified in the request.
.buildless.telemetry.HttpMethod method = 2 [json_name = "method"];- Specified by:
getMethodValuein interfaceHttpRequestInfoOrBuilder- Returns:
- The enum numeric value on the wire for method.
-
getMethod
HTTP method which was specified in the request.
.buildless.telemetry.HttpMethod method = 2 [json_name = "method"];- Specified by:
getMethodin interfaceHttpRequestInfoOrBuilder- Returns:
- The method.
-
getAuthority
Specifies the server authority for a given HTTP request, if known.
string authority = 3 [json_name = "authority"];- Specified by:
getAuthorityin interfaceHttpRequestInfoOrBuilder- Returns:
- The authority.
-
getAuthorityBytes
public com.google.protobuf.ByteString getAuthorityBytes()Specifies the server authority for a given HTTP request, if known.
string authority = 3 [json_name = "authority"];- Specified by:
getAuthorityBytesin interfaceHttpRequestInfoOrBuilder- Returns:
- The bytes for authority.
-
getPath
Specifies the URI path for a given HTTP request.
string path = 4 [json_name = "path"];- Specified by:
getPathin interfaceHttpRequestInfoOrBuilder- Returns:
- The path.
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()Specifies the URI path for a given HTTP request.
string path = 4 [json_name = "path"];- Specified by:
getPathBytesin interfaceHttpRequestInfoOrBuilder- Returns:
- The bytes for path.
-
getHeadersCount
public int getHeadersCount()Description copied from interface:HttpRequestInfoOrBuilderSpecifies headers which were present on this request.
map<string, .buildless.telemetry.HttpMetadata> headers = 5 [json_name = "headers"];- Specified by:
getHeadersCountin interfaceHttpRequestInfoOrBuilder
-
containsHeaders
Specifies headers which were present on this request.
map<string, .buildless.telemetry.HttpMetadata> headers = 5 [json_name = "headers"];- Specified by:
containsHeadersin interfaceHttpRequestInfoOrBuilder
-
getHeaders
Deprecated.UsegetHeadersMap()instead.- Specified by:
getHeadersin interfaceHttpRequestInfoOrBuilder
-
getHeadersMap
Specifies headers which were present on this request.
map<string, .buildless.telemetry.HttpMetadata> headers = 5 [json_name = "headers"];- Specified by:
getHeadersMapin interfaceHttpRequestInfoOrBuilder
-
getHeadersOrDefault
Specifies headers which were present on this request.
map<string, .buildless.telemetry.HttpMetadata> headers = 5 [json_name = "headers"];- Specified by:
getHeadersOrDefaultin interfaceHttpRequestInfoOrBuilder
-
getHeadersOrThrow
Specifies headers which were present on this request.
map<string, .buildless.telemetry.HttpMetadata> headers = 5 [json_name = "headers"];- Specified by:
getHeadersOrThrowin interfaceHttpRequestInfoOrBuilder
-
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 = 6 [json_name = "size"];- Specified by:
getSizein interfaceHttpRequestInfoOrBuilder- Returns:
- The size.
-
getQueryCount
public int getQueryCount()Description copied from interface:HttpRequestInfoOrBuilderSpecifies query parameters which were present on this request.
map<string, .buildless.telemetry.HttpMetadata> query = 7 [json_name = "query"];- Specified by:
getQueryCountin interfaceHttpRequestInfoOrBuilder
-
containsQuery
Specifies query parameters which were present on this request.
map<string, .buildless.telemetry.HttpMetadata> query = 7 [json_name = "query"];- Specified by:
containsQueryin interfaceHttpRequestInfoOrBuilder
-
getQuery
Deprecated.UsegetQueryMap()instead.- Specified by:
getQueryin interfaceHttpRequestInfoOrBuilder
-
getQueryMap
Specifies query parameters which were present on this request.
map<string, .buildless.telemetry.HttpMetadata> query = 7 [json_name = "query"];- Specified by:
getQueryMapin interfaceHttpRequestInfoOrBuilder
-
getQueryOrDefault
Specifies query parameters which were present on this request.
map<string, .buildless.telemetry.HttpMetadata> query = 7 [json_name = "query"];- Specified by:
getQueryOrDefaultin interfaceHttpRequestInfoOrBuilder
-
getQueryOrThrow
Specifies query parameters which were present on this request.
map<string, .buildless.telemetry.HttpMetadata> query = 7 [json_name = "query"];- Specified by:
getQueryOrThrowin interfaceHttpRequestInfoOrBuilder
-
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 HttpRequestInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HttpRequestInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HttpRequestInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HttpRequestInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HttpRequestInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HttpRequestInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static HttpRequestInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static HttpRequestInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static HttpRequestInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static HttpRequestInfo 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 HttpRequestInfo.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
-