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 type
envoy.service.auth.v2.AttributeContext.HttpRequest| Modifier and Type | Method and Description |
|---|---|
AttributeContext.HttpRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AttributeContext.HttpRequest |
build() |
AttributeContext.HttpRequest |
buildPartial() |
AttributeContext.HttpRequest.Builder |
clear() |
AttributeContext.HttpRequest.Builder |
clearBody()
The HTTP request body.
|
AttributeContext.HttpRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AttributeContext.HttpRequest.Builder |
clearFragment()
This field is always empty, and exists for compatibility reasons.
|
AttributeContext.HttpRequest.Builder |
clearHeaders() |
AttributeContext.HttpRequest.Builder |
clearHost()
The HTTP request `Host` or 'Authority` header value.
|
AttributeContext.HttpRequest.Builder |
clearId()
The unique ID for a request, which can be propagated to downstream
systems.
|
AttributeContext.HttpRequest.Builder |
clearMethod()
The HTTP request method, such as `GET`, `POST`.
|
AttributeContext.HttpRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AttributeContext.HttpRequest.Builder |
clearPath()
The request target, as it appears in the first line of the HTTP request.
|
AttributeContext.HttpRequest.Builder |
clearProtocol()
The network protocol used with the request, such as "HTTP/1.0", "HTTP/1.1", or "HTTP/2".
|
AttributeContext.HttpRequest.Builder |
clearQuery()
This field is always empty, and exists for compatibility reasons.
|
AttributeContext.HttpRequest.Builder |
clearScheme()
The HTTP URL scheme, such as `http` and `https`.
|
AttributeContext.HttpRequest.Builder |
clearSize()
The HTTP request size in bytes.
|
AttributeContext.HttpRequest.Builder |
clone() |
boolean |
containsHeaders(String key)
The HTTP request headers.
|
String |
getBody()
The HTTP request body.
|
com.google.protobuf.ByteString |
getBodyBytes()
The HTTP request body.
|
AttributeContext.HttpRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFragment()
This field is always empty, and exists for compatibility reasons.
|
com.google.protobuf.ByteString |
getFragmentBytes()
This field is always empty, and exists for compatibility reasons.
|
Map<String,String> |
getHeaders()
Deprecated.
|
int |
getHeadersCount()
The HTTP request headers.
|
Map<String,String> |
getHeadersMap()
The HTTP request headers.
|
String |
getHeadersOrDefault(String key,
String defaultValue)
The HTTP request headers.
|
String |
getHeadersOrThrow(String key)
The HTTP request headers.
|
String |
getHost()
The HTTP request `Host` or 'Authority` header value.
|
com.google.protobuf.ByteString |
getHostBytes()
The HTTP request `Host` or 'Authority` header value.
|
String |
getId()
The unique ID for a request, which can be propagated to downstream
systems.
|
com.google.protobuf.ByteString |
getIdBytes()
The unique ID for a request, which can be propagated to downstream
systems.
|
String |
getMethod()
The HTTP request method, such as `GET`, `POST`.
|
com.google.protobuf.ByteString |
getMethodBytes()
The HTTP request method, such as `GET`, `POST`.
|
Map<String,String> |
getMutableHeaders()
Deprecated.
|
String |
getPath()
The request target, as it appears in the first line of the HTTP request.
|
com.google.protobuf.ByteString |
getPathBytes()
The request target, as it appears in the first line of the HTTP request.
|
String |
getProtocol()
The network protocol used with the request, such as "HTTP/1.0", "HTTP/1.1", or "HTTP/2".
|
com.google.protobuf.ByteString |
getProtocolBytes()
The network protocol used with the request, such as "HTTP/1.0", "HTTP/1.1", or "HTTP/2".
|
String |
getQuery()
This field is always empty, and exists for compatibility reasons.
|
com.google.protobuf.ByteString |
getQueryBytes()
This field is always empty, and exists for compatibility reasons.
|
String |
getScheme()
The HTTP URL scheme, such as `http` and `https`.
|
com.google.protobuf.ByteString |
getSchemeBytes()
The HTTP URL scheme, such as `http` and `https`.
|
long |
getSize()
The HTTP request size in bytes.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
AttributeContext.HttpRequest.Builder |
mergeFrom(AttributeContext.HttpRequest other) |
AttributeContext.HttpRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AttributeContext.HttpRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
AttributeContext.HttpRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AttributeContext.HttpRequest.Builder |
putAllHeaders(Map<String,String> values)
The HTTP request headers.
|
AttributeContext.HttpRequest.Builder |
putHeaders(String key,
String value)
The HTTP request headers.
|
AttributeContext.HttpRequest.Builder |
removeHeaders(String key)
The HTTP request headers.
|
AttributeContext.HttpRequest.Builder |
setBody(String value)
The HTTP request body.
|
AttributeContext.HttpRequest.Builder |
setBodyBytes(com.google.protobuf.ByteString value)
The HTTP request body.
|
AttributeContext.HttpRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AttributeContext.HttpRequest.Builder |
setFragment(String value)
This field is always empty, and exists for compatibility reasons.
|
AttributeContext.HttpRequest.Builder |
setFragmentBytes(com.google.protobuf.ByteString value)
This field is always empty, and exists for compatibility reasons.
|
AttributeContext.HttpRequest.Builder |
setHost(String value)
The HTTP request `Host` or 'Authority` header value.
|
AttributeContext.HttpRequest.Builder |
setHostBytes(com.google.protobuf.ByteString value)
The HTTP request `Host` or 'Authority` header value.
|
AttributeContext.HttpRequest.Builder |
setId(String value)
The unique ID for a request, which can be propagated to downstream
systems.
|
AttributeContext.HttpRequest.Builder |
setIdBytes(com.google.protobuf.ByteString value)
The unique ID for a request, which can be propagated to downstream
systems.
|
AttributeContext.HttpRequest.Builder |
setMethod(String value)
The HTTP request method, such as `GET`, `POST`.
|
AttributeContext.HttpRequest.Builder |
setMethodBytes(com.google.protobuf.ByteString value)
The HTTP request method, such as `GET`, `POST`.
|
AttributeContext.HttpRequest.Builder |
setPath(String value)
The request target, as it appears in the first line of the HTTP request.
|
AttributeContext.HttpRequest.Builder |
setPathBytes(com.google.protobuf.ByteString value)
The request target, as it appears in the first line of the HTTP request.
|
AttributeContext.HttpRequest.Builder |
setProtocol(String value)
The network protocol used with the request, such as "HTTP/1.0", "HTTP/1.1", or "HTTP/2".
|
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".
|
AttributeContext.HttpRequest.Builder |
setQuery(String value)
This field is always empty, and exists for compatibility reasons.
|
AttributeContext.HttpRequest.Builder |
setQueryBytes(com.google.protobuf.ByteString value)
This field is always empty, and exists for compatibility reasons.
|
AttributeContext.HttpRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AttributeContext.HttpRequest.Builder |
setScheme(String value)
The HTTP URL scheme, such as `http` and `https`.
|
AttributeContext.HttpRequest.Builder |
setSchemeBytes(com.google.protobuf.ByteString value)
The HTTP URL scheme, such as `http` and `https`.
|
AttributeContext.HttpRequest.Builder |
setSize(long value)
The HTTP request size in bytes.
|
AttributeContext.HttpRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder>public AttributeContext.HttpRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder>public AttributeContext.HttpRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AttributeContext.HttpRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AttributeContext.HttpRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AttributeContext.HttpRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder>public AttributeContext.HttpRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder>public AttributeContext.HttpRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder>public AttributeContext.HttpRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder>public AttributeContext.HttpRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder>public AttributeContext.HttpRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder>public AttributeContext.HttpRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AttributeContext.HttpRequest.Builder>public AttributeContext.HttpRequest.Builder mergeFrom(AttributeContext.HttpRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder>public AttributeContext.HttpRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AttributeContext.HttpRequest.Builder>IOExceptionpublic 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;getId in interface AttributeContext.HttpRequestOrBuilderpublic 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;getIdBytes in interface AttributeContext.HttpRequestOrBuilderpublic 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;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;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;public String getMethod()
The HTTP request method, such as `GET`, `POST`.
string method = 2;getMethod in interface AttributeContext.HttpRequestOrBuilderpublic com.google.protobuf.ByteString getMethodBytes()
The HTTP request method, such as `GET`, `POST`.
string method = 2;getMethodBytes in interface AttributeContext.HttpRequestOrBuilderpublic AttributeContext.HttpRequest.Builder setMethod(String value)
The HTTP request method, such as `GET`, `POST`.
string method = 2;public AttributeContext.HttpRequest.Builder clearMethod()
The HTTP request method, such as `GET`, `POST`.
string method = 2;public AttributeContext.HttpRequest.Builder setMethodBytes(com.google.protobuf.ByteString value)
The HTTP request method, such as `GET`, `POST`.
string method = 2;public int getHeadersCount()
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;getHeadersCount in interface AttributeContext.HttpRequestOrBuilderpublic 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;containsHeaders in interface AttributeContext.HttpRequestOrBuilder@Deprecated public Map<String,String> getHeaders()
getHeadersMap() instead.getHeaders in interface AttributeContext.HttpRequestOrBuilderpublic 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;getHeadersMap in interface AttributeContext.HttpRequestOrBuilderpublic 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;getHeadersOrDefault in interface AttributeContext.HttpRequestOrBuilderpublic 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;getHeadersOrThrow in interface AttributeContext.HttpRequestOrBuilderpublic AttributeContext.HttpRequest.Builder clearHeaders()
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;@Deprecated public Map<String,String> getMutableHeaders()
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;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;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;getPath in interface AttributeContext.HttpRequestOrBuilderpublic 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;getPathBytes in interface AttributeContext.HttpRequestOrBuilderpublic 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;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;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;public String getHost()
The HTTP request `Host` or 'Authority` header value.
string host = 5;getHost in interface AttributeContext.HttpRequestOrBuilderpublic com.google.protobuf.ByteString getHostBytes()
The HTTP request `Host` or 'Authority` header value.
string host = 5;getHostBytes in interface AttributeContext.HttpRequestOrBuilderpublic AttributeContext.HttpRequest.Builder setHost(String value)
The HTTP request `Host` or 'Authority` header value.
string host = 5;public AttributeContext.HttpRequest.Builder clearHost()
The HTTP request `Host` or 'Authority` header value.
string host = 5;public AttributeContext.HttpRequest.Builder setHostBytes(com.google.protobuf.ByteString value)
The HTTP request `Host` or 'Authority` header value.
string host = 5;public String getScheme()
The HTTP URL scheme, such as `http` and `https`.
string scheme = 6;getScheme in interface AttributeContext.HttpRequestOrBuilderpublic com.google.protobuf.ByteString getSchemeBytes()
The HTTP URL scheme, such as `http` and `https`.
string scheme = 6;getSchemeBytes in interface AttributeContext.HttpRequestOrBuilderpublic AttributeContext.HttpRequest.Builder setScheme(String value)
The HTTP URL scheme, such as `http` and `https`.
string scheme = 6;public AttributeContext.HttpRequest.Builder clearScheme()
The HTTP URL scheme, such as `http` and `https`.
string scheme = 6;public AttributeContext.HttpRequest.Builder setSchemeBytes(com.google.protobuf.ByteString value)
The HTTP URL scheme, such as `http` and `https`.
string scheme = 6;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;getQuery in interface AttributeContext.HttpRequestOrBuilderpublic 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;getQueryBytes in interface AttributeContext.HttpRequestOrBuilderpublic 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;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;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;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;getFragment in interface AttributeContext.HttpRequestOrBuilderpublic 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;getFragmentBytes in interface AttributeContext.HttpRequestOrBuilderpublic 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;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;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;public long getSize()
The HTTP request size in bytes. If unknown, it must be -1.
int64 size = 9;getSize in interface AttributeContext.HttpRequestOrBuilderpublic AttributeContext.HttpRequest.Builder setSize(long value)
The HTTP request size in bytes. If unknown, it must be -1.
int64 size = 9;public AttributeContext.HttpRequest.Builder clearSize()
The HTTP request size in bytes. If unknown, it must be -1.
int64 size = 9;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;getProtocol in interface AttributeContext.HttpRequestOrBuilderpublic 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;getProtocolBytes in interface AttributeContext.HttpRequestOrBuilderpublic 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;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;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;public String getBody()
The HTTP request body.
string body = 11;getBody in interface AttributeContext.HttpRequestOrBuilderpublic com.google.protobuf.ByteString getBodyBytes()
The HTTP request body.
string body = 11;getBodyBytes in interface AttributeContext.HttpRequestOrBuilderpublic AttributeContext.HttpRequest.Builder setBody(String value)
The HTTP request body.
string body = 11;public AttributeContext.HttpRequest.Builder clearBody()
The HTTP request body.
string body = 11;public AttributeContext.HttpRequest.Builder setBodyBytes(com.google.protobuf.ByteString value)
The HTTP request body.
string body = 11;public final AttributeContext.HttpRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder>public final AttributeContext.HttpRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.