Package com.buildless.telemetry
Interface HttpRequestInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HttpRequestInfo,HttpRequestInfo.Builder
public interface HttpRequestInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
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.Specifies the server authority for a given HTTP request, if known.com.google.protobuf.ByteStringSpecifies the server authority for a given HTTP request, if known.Deprecated.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.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.intgetSize()Specifies the payload size for this request, if applicable; if no payload is or was present, this is set to `0`.booleanhasHttp()HTTP protocol versioning and information.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasHttp
boolean hasHttp()HTTP protocol versioning and information.
.buildless.telemetry.HttpInfo http = 1 [json_name = "http"];- Returns:
- Whether the http field is set.
-
getHttp
HttpInfo getHttp()HTTP protocol versioning and information.
.buildless.telemetry.HttpInfo http = 1 [json_name = "http"];- Returns:
- The http.
-
getHttpOrBuilder
HttpInfoOrBuilder getHttpOrBuilder()HTTP protocol versioning and information.
.buildless.telemetry.HttpInfo http = 1 [json_name = "http"]; -
getMethodValue
int getMethodValue()HTTP method which was specified in the request.
.buildless.telemetry.HttpMethod method = 2 [json_name = "method"];- Returns:
- The enum numeric value on the wire for method.
-
getMethod
HttpMethod getMethod()HTTP method which was specified in the request.
.buildless.telemetry.HttpMethod method = 2 [json_name = "method"];- Returns:
- The method.
-
getAuthority
String getAuthority()Specifies the server authority for a given HTTP request, if known.
string authority = 3 [json_name = "authority"];- Returns:
- The authority.
-
getAuthorityBytes
com.google.protobuf.ByteString getAuthorityBytes()Specifies the server authority for a given HTTP request, if known.
string authority = 3 [json_name = "authority"];- Returns:
- The bytes for authority.
-
getPath
String getPath()Specifies the URI path for a given HTTP request.
string path = 4 [json_name = "path"];- Returns:
- The path.
-
getPathBytes
com.google.protobuf.ByteString getPathBytes()Specifies the URI path for a given HTTP request.
string path = 4 [json_name = "path"];- Returns:
- The bytes for path.
-
getHeadersCount
int getHeadersCount()Specifies headers which were present on this request.
map<string, .buildless.telemetry.HttpMetadata> headers = 5 [json_name = "headers"]; -
containsHeaders
Specifies headers which were present on this request.
map<string, .buildless.telemetry.HttpMetadata> headers = 5 [json_name = "headers"]; -
getHeaders
Deprecated.UsegetHeadersMap()instead. -
getHeadersMap
Map<String,HttpMetadata> getHeadersMap()Specifies headers which were present on this request.
map<string, .buildless.telemetry.HttpMetadata> headers = 5 [json_name = "headers"]; -
getHeadersOrDefault
Specifies headers which were present on this request.
map<string, .buildless.telemetry.HttpMetadata> headers = 5 [json_name = "headers"]; -
getHeadersOrThrow
Specifies headers which were present on this request.
map<string, .buildless.telemetry.HttpMetadata> headers = 5 [json_name = "headers"]; -
getSize
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"];- Returns:
- The size.
-
getQueryCount
int getQueryCount()Specifies query parameters which were present on this request.
map<string, .buildless.telemetry.HttpMetadata> query = 7 [json_name = "query"]; -
containsQuery
Specifies query parameters which were present on this request.
map<string, .buildless.telemetry.HttpMetadata> query = 7 [json_name = "query"]; -
getQuery
Deprecated.UsegetQueryMap()instead. -
getQueryMap
Map<String,HttpMetadata> getQueryMap()Specifies query parameters which were present on this request.
map<string, .buildless.telemetry.HttpMetadata> query = 7 [json_name = "query"]; -
getQueryOrDefault
Specifies query parameters which were present on this request.
map<string, .buildless.telemetry.HttpMetadata> query = 7 [json_name = "query"]; -
getQueryOrThrow
Specifies query parameters which were present on this request.
map<string, .buildless.telemetry.HttpMetadata> query = 7 [json_name = "query"];
-