Class AttributeContext.HttpRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder>
-
- io.envoyproxy.envoy.service.auth.v2.AttributeContext.HttpRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,AttributeContext.HttpRequestOrBuilder,Cloneable
- Enclosing class:
- AttributeContext.HttpRequest
public static final class AttributeContext.HttpRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder> implements AttributeContext.HttpRequestOrBuilder
This message defines attributes for an HTTP request. HTTP/1.x, HTTP/2, gRPC are all considered as HTTP requests. [#next-free-field: 12]
Protobuf typeenvoy.service.auth.v2.AttributeContext.HttpRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AttributeContext.HttpRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AttributeContext.HttpRequestbuild()AttributeContext.HttpRequestbuildPartial()AttributeContext.HttpRequest.Builderclear()AttributeContext.HttpRequest.BuilderclearBody()The HTTP request body.AttributeContext.HttpRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AttributeContext.HttpRequest.BuilderclearFragment()This field is always empty, and exists for compatibility reasons.AttributeContext.HttpRequest.BuilderclearHeaders()AttributeContext.HttpRequest.BuilderclearHost()The HTTP request `Host` or 'Authority` header value.AttributeContext.HttpRequest.BuilderclearId()The unique ID for a request, which can be propagated to downstream systems.AttributeContext.HttpRequest.BuilderclearMethod()The HTTP request method, such as `GET`, `POST`.AttributeContext.HttpRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AttributeContext.HttpRequest.BuilderclearPath()The request target, as it appears in the first line of the HTTP request.AttributeContext.HttpRequest.BuilderclearProtocol()The network protocol used with the request, such as "HTTP/1.0", "HTTP/1.1", or "HTTP/2".AttributeContext.HttpRequest.BuilderclearQuery()This field is always empty, and exists for compatibility reasons.AttributeContext.HttpRequest.BuilderclearScheme()The HTTP URL scheme, such as `http` and `https`.AttributeContext.HttpRequest.BuilderclearSize()The HTTP request size in bytes.AttributeContext.HttpRequest.Builderclone()booleancontainsHeaders(String key)The HTTP request headers.StringgetBody()The HTTP request body.com.google.protobuf.ByteStringgetBodyBytes()The HTTP request body.AttributeContext.HttpRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetFragment()This field is always empty, and exists for compatibility reasons.com.google.protobuf.ByteStringgetFragmentBytes()This field is always empty, and exists for compatibility reasons.Map<String,String>getHeaders()Deprecated.intgetHeadersCount()The HTTP request headers.Map<String,String>getHeadersMap()The HTTP request headers.StringgetHeadersOrDefault(String key, String defaultValue)The HTTP request headers.StringgetHeadersOrThrow(String key)The HTTP request headers.StringgetHost()The HTTP request `Host` or 'Authority` header value.com.google.protobuf.ByteStringgetHostBytes()The HTTP request `Host` or 'Authority` header value.StringgetId()The unique ID for a request, which can be propagated to downstream systems.com.google.protobuf.ByteStringgetIdBytes()The unique ID for a request, which can be propagated to downstream systems.StringgetMethod()The HTTP request method, such as `GET`, `POST`.com.google.protobuf.ByteStringgetMethodBytes()The HTTP request method, such as `GET`, `POST`.Map<String,String>getMutableHeaders()Deprecated.StringgetPath()The request target, as it appears in the first line of the HTTP request.com.google.protobuf.ByteStringgetPathBytes()The request target, as it appears in the first line of the HTTP request.StringgetProtocol()The network protocol used with the request, such as "HTTP/1.0", "HTTP/1.1", or "HTTP/2".com.google.protobuf.ByteStringgetProtocolBytes()The network protocol used with the request, such as "HTTP/1.0", "HTTP/1.1", or "HTTP/2".StringgetQuery()This field is always empty, and exists for compatibility reasons.com.google.protobuf.ByteStringgetQueryBytes()This field is always empty, and exists for compatibility reasons.StringgetScheme()The HTTP URL scheme, such as `http` and `https`.com.google.protobuf.ByteStringgetSchemeBytes()The HTTP URL scheme, such as `http` and `https`.longgetSize()The HTTP request size in bytes.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()AttributeContext.HttpRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AttributeContext.HttpRequest.BuildermergeFrom(com.google.protobuf.Message other)AttributeContext.HttpRequest.BuildermergeFrom(AttributeContext.HttpRequest other)AttributeContext.HttpRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AttributeContext.HttpRequest.BuilderputAllHeaders(Map<String,String> values)The HTTP request headers.AttributeContext.HttpRequest.BuilderputHeaders(String key, String value)The HTTP request headers.AttributeContext.HttpRequest.BuilderremoveHeaders(String key)The HTTP request headers.AttributeContext.HttpRequest.BuildersetBody(String value)The HTTP request body.AttributeContext.HttpRequest.BuildersetBodyBytes(com.google.protobuf.ByteString value)The HTTP request body.AttributeContext.HttpRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AttributeContext.HttpRequest.BuildersetFragment(String value)This field is always empty, and exists for compatibility reasons.AttributeContext.HttpRequest.BuildersetFragmentBytes(com.google.protobuf.ByteString value)This field is always empty, and exists for compatibility reasons.AttributeContext.HttpRequest.BuildersetHost(String value)The HTTP request `Host` or 'Authority` header value.AttributeContext.HttpRequest.BuildersetHostBytes(com.google.protobuf.ByteString value)The HTTP request `Host` or 'Authority` header value.AttributeContext.HttpRequest.BuildersetId(String value)The unique ID for a request, which can be propagated to downstream systems.AttributeContext.HttpRequest.BuildersetIdBytes(com.google.protobuf.ByteString value)The unique ID for a request, which can be propagated to downstream systems.AttributeContext.HttpRequest.BuildersetMethod(String value)The HTTP request method, such as `GET`, `POST`.AttributeContext.HttpRequest.BuildersetMethodBytes(com.google.protobuf.ByteString value)The HTTP request method, such as `GET`, `POST`.AttributeContext.HttpRequest.BuildersetPath(String value)The request target, as it appears in the first line of the HTTP request.AttributeContext.HttpRequest.BuildersetPathBytes(com.google.protobuf.ByteString value)The request target, as it appears in the first line of the HTTP request.AttributeContext.HttpRequest.BuildersetProtocol(String value)The network protocol used with the request, such as "HTTP/1.0", "HTTP/1.1", or "HTTP/2".AttributeContext.HttpRequest.BuildersetProtocolBytes(com.google.protobuf.ByteString value)The network protocol used with the request, such as "HTTP/1.0", "HTTP/1.1", or "HTTP/2".AttributeContext.HttpRequest.BuildersetQuery(String value)This field is always empty, and exists for compatibility reasons.AttributeContext.HttpRequest.BuildersetQueryBytes(com.google.protobuf.ByteString value)This field is always empty, and exists for compatibility reasons.AttributeContext.HttpRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)AttributeContext.HttpRequest.BuildersetScheme(String value)The HTTP URL scheme, such as `http` and `https`.AttributeContext.HttpRequest.BuildersetSchemeBytes(com.google.protobuf.ByteString value)The HTTP URL scheme, such as `http` and `https`.AttributeContext.HttpRequest.BuildersetSize(long value)The HTTP request size in bytes.AttributeContext.HttpRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
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.Builder<AttributeContext.HttpRequest.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder>
-
clear
public AttributeContext.HttpRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder>
-
getDefaultInstanceForType
public AttributeContext.HttpRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AttributeContext.HttpRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AttributeContext.HttpRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AttributeContext.HttpRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder>
-
setField
public AttributeContext.HttpRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder>
-
clearField
public AttributeContext.HttpRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder>
-
clearOneof
public AttributeContext.HttpRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder>
-
setRepeatedField
public AttributeContext.HttpRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder>
-
addRepeatedField
public AttributeContext.HttpRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder>
-
mergeFrom
public AttributeContext.HttpRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AttributeContext.HttpRequest.Builder>
-
mergeFrom
public AttributeContext.HttpRequest.Builder mergeFrom(AttributeContext.HttpRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder>
-
mergeFrom
public AttributeContext.HttpRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AttributeContext.HttpRequest.Builder>- Throws:
IOException
-
getId
public String getId()
The unique ID for a request, which can be propagated to downstream systems. The ID should have low probability of collision within a single day for a specific service. For HTTP requests, it should be X-Request-ID or equivalent.
string id = 1;- Specified by:
getIdin interfaceAttributeContext.HttpRequestOrBuilder
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
The unique ID for a request, which can be propagated to downstream systems. The ID should have low probability of collision within a single day for a specific service. For HTTP requests, it should be X-Request-ID or equivalent.
string id = 1;- Specified by:
getIdBytesin interfaceAttributeContext.HttpRequestOrBuilder
-
setId
public AttributeContext.HttpRequest.Builder setId(String value)
The unique ID for a request, which can be propagated to downstream systems. The ID should have low probability of collision within a single day for a specific service. For HTTP requests, it should be X-Request-ID or equivalent.
string id = 1;
-
clearId
public AttributeContext.HttpRequest.Builder clearId()
The unique ID for a request, which can be propagated to downstream systems. The ID should have low probability of collision within a single day for a specific service. For HTTP requests, it should be X-Request-ID or equivalent.
string id = 1;
-
setIdBytes
public AttributeContext.HttpRequest.Builder setIdBytes(com.google.protobuf.ByteString value)
The unique ID for a request, which can be propagated to downstream systems. The ID should have low probability of collision within a single day for a specific service. For HTTP requests, it should be X-Request-ID or equivalent.
string id = 1;
-
getMethod
public String getMethod()
The HTTP request method, such as `GET`, `POST`.
string method = 2;- Specified by:
getMethodin interfaceAttributeContext.HttpRequestOrBuilder
-
getMethodBytes
public com.google.protobuf.ByteString getMethodBytes()
The HTTP request method, such as `GET`, `POST`.
string method = 2;- Specified by:
getMethodBytesin interfaceAttributeContext.HttpRequestOrBuilder
-
setMethod
public AttributeContext.HttpRequest.Builder setMethod(String value)
The HTTP request method, such as `GET`, `POST`.
string method = 2;
-
clearMethod
public AttributeContext.HttpRequest.Builder clearMethod()
The HTTP request method, such as `GET`, `POST`.
string method = 2;
-
setMethodBytes
public AttributeContext.HttpRequest.Builder setMethodBytes(com.google.protobuf.ByteString value)
The HTTP request method, such as `GET`, `POST`.
string method = 2;
-
getHeadersCount
public int getHeadersCount()
Description copied from interface:AttributeContext.HttpRequestOrBuilderThe HTTP request headers. If multiple headers share the same key, they must be merged according to the HTTP spec. All header keys must be lower-cased, because HTTP header keys are case-insensitive.
map<string, string> headers = 3;- Specified by:
getHeadersCountin interfaceAttributeContext.HttpRequestOrBuilder
-
containsHeaders
public boolean containsHeaders(String key)
The HTTP request headers. If multiple headers share the same key, they must be merged according to the HTTP spec. All header keys must be lower-cased, because HTTP header keys are case-insensitive.
map<string, string> headers = 3;- Specified by:
containsHeadersin interfaceAttributeContext.HttpRequestOrBuilder
-
getHeaders
@Deprecated public Map<String,String> getHeaders()
Deprecated.UsegetHeadersMap()instead.- Specified by:
getHeadersin interfaceAttributeContext.HttpRequestOrBuilder
-
getHeadersMap
public Map<String,String> getHeadersMap()
The HTTP request headers. If multiple headers share the same key, they must be merged according to the HTTP spec. All header keys must be lower-cased, because HTTP header keys are case-insensitive.
map<string, string> headers = 3;- Specified by:
getHeadersMapin interfaceAttributeContext.HttpRequestOrBuilder
-
getHeadersOrDefault
public String getHeadersOrDefault(String key, String defaultValue)
The HTTP request headers. If multiple headers share the same key, they must be merged according to the HTTP spec. All header keys must be lower-cased, because HTTP header keys are case-insensitive.
map<string, string> headers = 3;- Specified by:
getHeadersOrDefaultin interfaceAttributeContext.HttpRequestOrBuilder
-
getHeadersOrThrow
public String getHeadersOrThrow(String key)
The HTTP request headers. If multiple headers share the same key, they must be merged according to the HTTP spec. All header keys must be lower-cased, because HTTP header keys are case-insensitive.
map<string, string> headers = 3;- Specified by:
getHeadersOrThrowin interfaceAttributeContext.HttpRequestOrBuilder
-
clearHeaders
public AttributeContext.HttpRequest.Builder clearHeaders()
-
removeHeaders
public AttributeContext.HttpRequest.Builder removeHeaders(String key)
The HTTP request headers. If multiple headers share the same key, they must be merged according to the HTTP spec. All header keys must be lower-cased, because HTTP header keys are case-insensitive.
map<string, string> headers = 3;
-
getMutableHeaders
@Deprecated public Map<String,String> getMutableHeaders()
Deprecated.Use alternate mutation accessors instead.
-
putHeaders
public AttributeContext.HttpRequest.Builder putHeaders(String key, String value)
The HTTP request headers. If multiple headers share the same key, they must be merged according to the HTTP spec. All header keys must be lower-cased, because HTTP header keys are case-insensitive.
map<string, string> headers = 3;
-
putAllHeaders
public AttributeContext.HttpRequest.Builder putAllHeaders(Map<String,String> values)
The HTTP request headers. If multiple headers share the same key, they must be merged according to the HTTP spec. All header keys must be lower-cased, because HTTP header keys are case-insensitive.
map<string, string> headers = 3;
-
getPath
public String getPath()
The request target, as it appears in the first line of the HTTP request. This includes the URL path and query-string. No decoding is performed.
string path = 4;- Specified by:
getPathin interfaceAttributeContext.HttpRequestOrBuilder
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()
The request target, as it appears in the first line of the HTTP request. This includes the URL path and query-string. No decoding is performed.
string path = 4;- Specified by:
getPathBytesin interfaceAttributeContext.HttpRequestOrBuilder
-
setPath
public AttributeContext.HttpRequest.Builder setPath(String value)
The request target, as it appears in the first line of the HTTP request. This includes the URL path and query-string. No decoding is performed.
string path = 4;
-
clearPath
public AttributeContext.HttpRequest.Builder clearPath()
The request target, as it appears in the first line of the HTTP request. This includes the URL path and query-string. No decoding is performed.
string path = 4;
-
setPathBytes
public AttributeContext.HttpRequest.Builder setPathBytes(com.google.protobuf.ByteString value)
The request target, as it appears in the first line of the HTTP request. This includes the URL path and query-string. No decoding is performed.
string path = 4;
-
getHost
public String getHost()
The HTTP request `Host` or 'Authority` header value.
string host = 5;- Specified by:
getHostin interfaceAttributeContext.HttpRequestOrBuilder
-
getHostBytes
public com.google.protobuf.ByteString getHostBytes()
The HTTP request `Host` or 'Authority` header value.
string host = 5;- Specified by:
getHostBytesin interfaceAttributeContext.HttpRequestOrBuilder
-
setHost
public AttributeContext.HttpRequest.Builder setHost(String value)
The HTTP request `Host` or 'Authority` header value.
string host = 5;
-
clearHost
public AttributeContext.HttpRequest.Builder clearHost()
The HTTP request `Host` or 'Authority` header value.
string host = 5;
-
setHostBytes
public AttributeContext.HttpRequest.Builder setHostBytes(com.google.protobuf.ByteString value)
The HTTP request `Host` or 'Authority` header value.
string host = 5;
-
getScheme
public String getScheme()
The HTTP URL scheme, such as `http` and `https`. This is set for HTTP/2 requests only. For HTTP/1.1, use "x-forwarded-for" header value to lookup the scheme of the request.
string scheme = 6;- Specified by:
getSchemein interfaceAttributeContext.HttpRequestOrBuilder
-
getSchemeBytes
public com.google.protobuf.ByteString getSchemeBytes()
The HTTP URL scheme, such as `http` and `https`. This is set for HTTP/2 requests only. For HTTP/1.1, use "x-forwarded-for" header value to lookup the scheme of the request.
string scheme = 6;- Specified by:
getSchemeBytesin interfaceAttributeContext.HttpRequestOrBuilder
-
setScheme
public AttributeContext.HttpRequest.Builder setScheme(String value)
The HTTP URL scheme, such as `http` and `https`. This is set for HTTP/2 requests only. For HTTP/1.1, use "x-forwarded-for" header value to lookup the scheme of the request.
string scheme = 6;
-
clearScheme
public AttributeContext.HttpRequest.Builder clearScheme()
The HTTP URL scheme, such as `http` and `https`. This is set for HTTP/2 requests only. For HTTP/1.1, use "x-forwarded-for" header value to lookup the scheme of the request.
string scheme = 6;
-
setSchemeBytes
public AttributeContext.HttpRequest.Builder setSchemeBytes(com.google.protobuf.ByteString value)
The HTTP URL scheme, such as `http` and `https`. This is set for HTTP/2 requests only. For HTTP/1.1, use "x-forwarded-for" header value to lookup the scheme of the request.
string scheme = 6;
-
getQuery
public String getQuery()
This field is always empty, and exists for compatibility reasons. The HTTP URL query is included in `path` field.
string query = 7;- Specified by:
getQueryin interfaceAttributeContext.HttpRequestOrBuilder
-
getQueryBytes
public com.google.protobuf.ByteString getQueryBytes()
This field is always empty, and exists for compatibility reasons. The HTTP URL query is included in `path` field.
string query = 7;- Specified by:
getQueryBytesin interfaceAttributeContext.HttpRequestOrBuilder
-
setQuery
public AttributeContext.HttpRequest.Builder setQuery(String value)
This field is always empty, and exists for compatibility reasons. The HTTP URL query is included in `path` field.
string query = 7;
-
clearQuery
public AttributeContext.HttpRequest.Builder clearQuery()
This field is always empty, and exists for compatibility reasons. The HTTP URL query is included in `path` field.
string query = 7;
-
setQueryBytes
public AttributeContext.HttpRequest.Builder setQueryBytes(com.google.protobuf.ByteString value)
This field is always empty, and exists for compatibility reasons. The HTTP URL query is included in `path` field.
string query = 7;
-
getFragment
public String getFragment()
This field is always empty, and exists for compatibility reasons. The URL fragment is not submitted as part of HTTP requests; it is unknowable.
string fragment = 8;- Specified by:
getFragmentin interfaceAttributeContext.HttpRequestOrBuilder
-
getFragmentBytes
public com.google.protobuf.ByteString getFragmentBytes()
This field is always empty, and exists for compatibility reasons. The URL fragment is not submitted as part of HTTP requests; it is unknowable.
string fragment = 8;- Specified by:
getFragmentBytesin interfaceAttributeContext.HttpRequestOrBuilder
-
setFragment
public AttributeContext.HttpRequest.Builder setFragment(String value)
This field is always empty, and exists for compatibility reasons. The URL fragment is not submitted as part of HTTP requests; it is unknowable.
string fragment = 8;
-
clearFragment
public AttributeContext.HttpRequest.Builder clearFragment()
This field is always empty, and exists for compatibility reasons. The URL fragment is not submitted as part of HTTP requests; it is unknowable.
string fragment = 8;
-
setFragmentBytes
public AttributeContext.HttpRequest.Builder setFragmentBytes(com.google.protobuf.ByteString value)
This field is always empty, and exists for compatibility reasons. The URL fragment is not submitted as part of HTTP requests; it is unknowable.
string fragment = 8;
-
getSize
public long getSize()
The HTTP request size in bytes. If unknown, it must be -1.
int64 size = 9;- Specified by:
getSizein interfaceAttributeContext.HttpRequestOrBuilder
-
setSize
public AttributeContext.HttpRequest.Builder setSize(long value)
The HTTP request size in bytes. If unknown, it must be -1.
int64 size = 9;
-
clearSize
public AttributeContext.HttpRequest.Builder clearSize()
The HTTP request size in bytes. If unknown, it must be -1.
int64 size = 9;
-
getProtocol
public String getProtocol()
The network protocol used with the request, such as "HTTP/1.0", "HTTP/1.1", or "HTTP/2". See :repo:`headers.h:ProtocolStrings <source/common/http/headers.h>` for a list of all possible values.
string protocol = 10;- Specified by:
getProtocolin interfaceAttributeContext.HttpRequestOrBuilder
-
getProtocolBytes
public com.google.protobuf.ByteString getProtocolBytes()
The network protocol used with the request, such as "HTTP/1.0", "HTTP/1.1", or "HTTP/2". See :repo:`headers.h:ProtocolStrings <source/common/http/headers.h>` for a list of all possible values.
string protocol = 10;- Specified by:
getProtocolBytesin interfaceAttributeContext.HttpRequestOrBuilder
-
setProtocol
public AttributeContext.HttpRequest.Builder setProtocol(String value)
The network protocol used with the request, such as "HTTP/1.0", "HTTP/1.1", or "HTTP/2". See :repo:`headers.h:ProtocolStrings <source/common/http/headers.h>` for a list of all possible values.
string protocol = 10;
-
clearProtocol
public AttributeContext.HttpRequest.Builder clearProtocol()
The network protocol used with the request, such as "HTTP/1.0", "HTTP/1.1", or "HTTP/2". See :repo:`headers.h:ProtocolStrings <source/common/http/headers.h>` for a list of all possible values.
string protocol = 10;
-
setProtocolBytes
public AttributeContext.HttpRequest.Builder setProtocolBytes(com.google.protobuf.ByteString value)
The network protocol used with the request, such as "HTTP/1.0", "HTTP/1.1", or "HTTP/2". See :repo:`headers.h:ProtocolStrings <source/common/http/headers.h>` for a list of all possible values.
string protocol = 10;
-
getBody
public String getBody()
The HTTP request body.
string body = 11;- Specified by:
getBodyin interfaceAttributeContext.HttpRequestOrBuilder
-
getBodyBytes
public com.google.protobuf.ByteString getBodyBytes()
The HTTP request body.
string body = 11;- Specified by:
getBodyBytesin interfaceAttributeContext.HttpRequestOrBuilder
-
setBody
public AttributeContext.HttpRequest.Builder setBody(String value)
The HTTP request body.
string body = 11;
-
clearBody
public AttributeContext.HttpRequest.Builder clearBody()
The HTTP request body.
string body = 11;
-
setBodyBytes
public AttributeContext.HttpRequest.Builder setBodyBytes(com.google.protobuf.ByteString value)
The HTTP request body.
string body = 11;
-
setUnknownFields
public final AttributeContext.HttpRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder>
-
mergeUnknownFields
public final AttributeContext.HttpRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder>
-
-