public static final class AttributeContext.Request.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Request.Builder> implements AttributeContext.RequestOrBuilder
This message defines attributes for an HTTP request. If the actual request is not an HTTP request, the runtime system should try to map the actual request to an equivalent HTTP request.Protobuf type
google.rpc.context.AttributeContext.Request| Modifier and Type | Method and Description |
|---|---|
AttributeContext.Request.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AttributeContext.Request |
build() |
AttributeContext.Request |
buildPartial() |
AttributeContext.Request.Builder |
clear() |
AttributeContext.Request.Builder |
clearAuth()
The request authentication.
|
AttributeContext.Request.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AttributeContext.Request.Builder |
clearHeaders() |
AttributeContext.Request.Builder |
clearHost()
The HTTP request `Host` header value.
|
AttributeContext.Request.Builder |
clearId()
The unique ID for a request, which can be propagated to downstream
systems.
|
AttributeContext.Request.Builder |
clearMethod()
The HTTP request method, such as `GET`, `POST`.
|
AttributeContext.Request.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AttributeContext.Request.Builder |
clearPath()
The HTTP URL path.
|
AttributeContext.Request.Builder |
clearProtocol()
The network protocol used with the request, such as "http/1.1",
"spdy/3", "h2", "h2c", "webrtc", "tcp", "udp", "quic".
|
AttributeContext.Request.Builder |
clearQuery()
The HTTP URL query in the format of `name1=value1&name2=value2`, as it
appears in the first line of the HTTP request.
|
AttributeContext.Request.Builder |
clearReason()
A special parameter for request reason.
|
AttributeContext.Request.Builder |
clearScheme()
The HTTP URL scheme, such as `http` and `https`.
|
AttributeContext.Request.Builder |
clearSize()
The HTTP request size in bytes.
|
AttributeContext.Request.Builder |
clearTime()
The timestamp when the `destination` service receives the last byte of
the request.
|
AttributeContext.Request.Builder |
clone() |
boolean |
containsHeaders(String key)
The HTTP request headers.
|
AttributeContext.Auth |
getAuth()
The request authentication.
|
AttributeContext.Auth.Builder |
getAuthBuilder()
The request authentication.
|
AttributeContext.AuthOrBuilder |
getAuthOrBuilder()
The request authentication.
|
AttributeContext.Request |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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` header value.
|
com.google.protobuf.ByteString |
getHostBytes()
The HTTP request `Host` 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 HTTP URL path.
|
com.google.protobuf.ByteString |
getPathBytes()
The HTTP URL path.
|
String |
getProtocol()
The network protocol used with the request, such as "http/1.1",
"spdy/3", "h2", "h2c", "webrtc", "tcp", "udp", "quic".
|
com.google.protobuf.ByteString |
getProtocolBytes()
The network protocol used with the request, such as "http/1.1",
"spdy/3", "h2", "h2c", "webrtc", "tcp", "udp", "quic".
|
String |
getQuery()
The HTTP URL query in the format of `name1=value1&name2=value2`, as it
appears in the first line of the HTTP request.
|
com.google.protobuf.ByteString |
getQueryBytes()
The HTTP URL query in the format of `name1=value1&name2=value2`, as it
appears in the first line of the HTTP request.
|
String |
getReason()
A special parameter for request reason.
|
com.google.protobuf.ByteString |
getReasonBytes()
A special parameter for request reason.
|
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.
|
com.google.protobuf.Timestamp |
getTime()
The timestamp when the `destination` service receives the last byte of
the request.
|
com.google.protobuf.Timestamp.Builder |
getTimeBuilder()
The timestamp when the `destination` service receives the last byte of
the request.
|
com.google.protobuf.TimestampOrBuilder |
getTimeOrBuilder()
The timestamp when the `destination` service receives the last byte of
the request.
|
boolean |
hasAuth()
The request authentication.
|
boolean |
hasTime()
The timestamp when the `destination` service receives the last byte of
the request.
|
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.Request.Builder |
mergeAuth(AttributeContext.Auth value)
The request authentication.
|
AttributeContext.Request.Builder |
mergeFrom(AttributeContext.Request other) |
AttributeContext.Request.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AttributeContext.Request.Builder |
mergeFrom(com.google.protobuf.Message other) |
AttributeContext.Request.Builder |
mergeTime(com.google.protobuf.Timestamp value)
The timestamp when the `destination` service receives the last byte of
the request.
|
AttributeContext.Request.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AttributeContext.Request.Builder |
putAllHeaders(Map<String,String> values)
The HTTP request headers.
|
AttributeContext.Request.Builder |
putHeaders(String key,
String value)
The HTTP request headers.
|
AttributeContext.Request.Builder |
removeHeaders(String key)
The HTTP request headers.
|
AttributeContext.Request.Builder |
setAuth(AttributeContext.Auth.Builder builderForValue)
The request authentication.
|
AttributeContext.Request.Builder |
setAuth(AttributeContext.Auth value)
The request authentication.
|
AttributeContext.Request.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AttributeContext.Request.Builder |
setHost(String value)
The HTTP request `Host` header value.
|
AttributeContext.Request.Builder |
setHostBytes(com.google.protobuf.ByteString value)
The HTTP request `Host` header value.
|
AttributeContext.Request.Builder |
setId(String value)
The unique ID for a request, which can be propagated to downstream
systems.
|
AttributeContext.Request.Builder |
setIdBytes(com.google.protobuf.ByteString value)
The unique ID for a request, which can be propagated to downstream
systems.
|
AttributeContext.Request.Builder |
setMethod(String value)
The HTTP request method, such as `GET`, `POST`.
|
AttributeContext.Request.Builder |
setMethodBytes(com.google.protobuf.ByteString value)
The HTTP request method, such as `GET`, `POST`.
|
AttributeContext.Request.Builder |
setPath(String value)
The HTTP URL path.
|
AttributeContext.Request.Builder |
setPathBytes(com.google.protobuf.ByteString value)
The HTTP URL path.
|
AttributeContext.Request.Builder |
setProtocol(String value)
The network protocol used with the request, such as "http/1.1",
"spdy/3", "h2", "h2c", "webrtc", "tcp", "udp", "quic".
|
AttributeContext.Request.Builder |
setProtocolBytes(com.google.protobuf.ByteString value)
The network protocol used with the request, such as "http/1.1",
"spdy/3", "h2", "h2c", "webrtc", "tcp", "udp", "quic".
|
AttributeContext.Request.Builder |
setQuery(String value)
The HTTP URL query in the format of `name1=value1&name2=value2`, as it
appears in the first line of the HTTP request.
|
AttributeContext.Request.Builder |
setQueryBytes(com.google.protobuf.ByteString value)
The HTTP URL query in the format of `name1=value1&name2=value2`, as it
appears in the first line of the HTTP request.
|
AttributeContext.Request.Builder |
setReason(String value)
A special parameter for request reason.
|
AttributeContext.Request.Builder |
setReasonBytes(com.google.protobuf.ByteString value)
A special parameter for request reason.
|
AttributeContext.Request.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AttributeContext.Request.Builder |
setScheme(String value)
The HTTP URL scheme, such as `http` and `https`.
|
AttributeContext.Request.Builder |
setSchemeBytes(com.google.protobuf.ByteString value)
The HTTP URL scheme, such as `http` and `https`.
|
AttributeContext.Request.Builder |
setSize(long value)
The HTTP request size in bytes.
|
AttributeContext.Request.Builder |
setTime(com.google.protobuf.Timestamp.Builder builderForValue)
The timestamp when the `destination` service receives the last byte of
the request.
|
AttributeContext.Request.Builder |
setTime(com.google.protobuf.Timestamp value)
The timestamp when the `destination` service receives the last byte of
the request.
|
AttributeContext.Request.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.Request.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Request.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Request.Builder>public AttributeContext.Request.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.Request.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.Request.Builder>public AttributeContext.Request getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AttributeContext.Request build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AttributeContext.Request buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AttributeContext.Request.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.Request.Builder>public AttributeContext.Request.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.Request.Builder>public AttributeContext.Request.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Request.Builder>public AttributeContext.Request.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Request.Builder>public AttributeContext.Request.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.Request.Builder>public AttributeContext.Request.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.Request.Builder>public AttributeContext.Request.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AttributeContext.Request.Builder>public AttributeContext.Request.Builder mergeFrom(AttributeContext.Request other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Request.Builder>public AttributeContext.Request.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.Request.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.
string id = 1;getId in interface AttributeContext.RequestOrBuilderpublic 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.
string id = 1;getIdBytes in interface AttributeContext.RequestOrBuilderpublic AttributeContext.Request.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.
string id = 1;value - The id to set.public AttributeContext.Request.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.
string id = 1;public AttributeContext.Request.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.
string id = 1;value - The bytes for id to set.public String getMethod()
The HTTP request method, such as `GET`, `POST`.
string method = 2;getMethod in interface AttributeContext.RequestOrBuilderpublic com.google.protobuf.ByteString getMethodBytes()
The HTTP request method, such as `GET`, `POST`.
string method = 2;getMethodBytes in interface AttributeContext.RequestOrBuilderpublic AttributeContext.Request.Builder setMethod(String value)
The HTTP request method, such as `GET`, `POST`.
string method = 2;value - The method to set.public AttributeContext.Request.Builder clearMethod()
The HTTP request method, such as `GET`, `POST`.
string method = 2;public AttributeContext.Request.Builder setMethodBytes(com.google.protobuf.ByteString value)
The HTTP request method, such as `GET`, `POST`.
string method = 2;value - The bytes for method to set.public int getHeadersCount()
AttributeContext.RequestOrBuilderThe HTTP request headers. If multiple headers share the same key, they must be merged according to the HTTP spec. All header keys must be lowercased, because HTTP header keys are case-insensitive.
map<string, string> headers = 3;getHeadersCount in interface AttributeContext.RequestOrBuilderpublic 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 lowercased, because HTTP header keys are case-insensitive.
map<string, string> headers = 3;containsHeaders in interface AttributeContext.RequestOrBuilder@Deprecated public Map<String,String> getHeaders()
getHeadersMap() instead.getHeaders in interface AttributeContext.RequestOrBuilderpublic 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 lowercased, because HTTP header keys are case-insensitive.
map<string, string> headers = 3;getHeadersMap in interface AttributeContext.RequestOrBuilderpublic 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 lowercased, because HTTP header keys are case-insensitive.
map<string, string> headers = 3;getHeadersOrDefault in interface AttributeContext.RequestOrBuilderpublic 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 lowercased, because HTTP header keys are case-insensitive.
map<string, string> headers = 3;getHeadersOrThrow in interface AttributeContext.RequestOrBuilderpublic AttributeContext.Request.Builder clearHeaders()
public AttributeContext.Request.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 lowercased, because HTTP header keys are case-insensitive.
map<string, string> headers = 3;@Deprecated public Map<String,String> getMutableHeaders()
public AttributeContext.Request.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 lowercased, because HTTP header keys are case-insensitive.
map<string, string> headers = 3;public AttributeContext.Request.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 lowercased, because HTTP header keys are case-insensitive.
map<string, string> headers = 3;public String getPath()
The HTTP URL path.
string path = 4;getPath in interface AttributeContext.RequestOrBuilderpublic com.google.protobuf.ByteString getPathBytes()
The HTTP URL path.
string path = 4;getPathBytes in interface AttributeContext.RequestOrBuilderpublic AttributeContext.Request.Builder setPath(String value)
The HTTP URL path.
string path = 4;value - The path to set.public AttributeContext.Request.Builder clearPath()
The HTTP URL path.
string path = 4;public AttributeContext.Request.Builder setPathBytes(com.google.protobuf.ByteString value)
The HTTP URL path.
string path = 4;value - The bytes for path to set.public String getHost()
The HTTP request `Host` header value.
string host = 5;getHost in interface AttributeContext.RequestOrBuilderpublic com.google.protobuf.ByteString getHostBytes()
The HTTP request `Host` header value.
string host = 5;getHostBytes in interface AttributeContext.RequestOrBuilderpublic AttributeContext.Request.Builder setHost(String value)
The HTTP request `Host` header value.
string host = 5;value - The host to set.public AttributeContext.Request.Builder clearHost()
The HTTP request `Host` header value.
string host = 5;public AttributeContext.Request.Builder setHostBytes(com.google.protobuf.ByteString value)
The HTTP request `Host` header value.
string host = 5;value - The bytes for host to set.public String getScheme()
The HTTP URL scheme, such as `http` and `https`.
string scheme = 6;getScheme in interface AttributeContext.RequestOrBuilderpublic com.google.protobuf.ByteString getSchemeBytes()
The HTTP URL scheme, such as `http` and `https`.
string scheme = 6;getSchemeBytes in interface AttributeContext.RequestOrBuilderpublic AttributeContext.Request.Builder setScheme(String value)
The HTTP URL scheme, such as `http` and `https`.
string scheme = 6;value - The scheme to set.public AttributeContext.Request.Builder clearScheme()
The HTTP URL scheme, such as `http` and `https`.
string scheme = 6;public AttributeContext.Request.Builder setSchemeBytes(com.google.protobuf.ByteString value)
The HTTP URL scheme, such as `http` and `https`.
string scheme = 6;value - The bytes for scheme to set.public String getQuery()
The HTTP URL query in the format of `name1=value1&name2=value2`, as it appears in the first line of the HTTP request. No decoding is performed.
string query = 7;getQuery in interface AttributeContext.RequestOrBuilderpublic com.google.protobuf.ByteString getQueryBytes()
The HTTP URL query in the format of `name1=value1&name2=value2`, as it appears in the first line of the HTTP request. No decoding is performed.
string query = 7;getQueryBytes in interface AttributeContext.RequestOrBuilderpublic AttributeContext.Request.Builder setQuery(String value)
The HTTP URL query in the format of `name1=value1&name2=value2`, as it appears in the first line of the HTTP request. No decoding is performed.
string query = 7;value - The query to set.public AttributeContext.Request.Builder clearQuery()
The HTTP URL query in the format of `name1=value1&name2=value2`, as it appears in the first line of the HTTP request. No decoding is performed.
string query = 7;public AttributeContext.Request.Builder setQueryBytes(com.google.protobuf.ByteString value)
The HTTP URL query in the format of `name1=value1&name2=value2`, as it appears in the first line of the HTTP request. No decoding is performed.
string query = 7;value - The bytes for query to set.public boolean hasTime()
The timestamp when the `destination` service receives the last byte of the request.
.google.protobuf.Timestamp time = 9;hasTime in interface AttributeContext.RequestOrBuilderpublic com.google.protobuf.Timestamp getTime()
The timestamp when the `destination` service receives the last byte of the request.
.google.protobuf.Timestamp time = 9;getTime in interface AttributeContext.RequestOrBuilderpublic AttributeContext.Request.Builder setTime(com.google.protobuf.Timestamp value)
The timestamp when the `destination` service receives the last byte of the request.
.google.protobuf.Timestamp time = 9;public AttributeContext.Request.Builder setTime(com.google.protobuf.Timestamp.Builder builderForValue)
The timestamp when the `destination` service receives the last byte of the request.
.google.protobuf.Timestamp time = 9;public AttributeContext.Request.Builder mergeTime(com.google.protobuf.Timestamp value)
The timestamp when the `destination` service receives the last byte of the request.
.google.protobuf.Timestamp time = 9;public AttributeContext.Request.Builder clearTime()
The timestamp when the `destination` service receives the last byte of the request.
.google.protobuf.Timestamp time = 9;public com.google.protobuf.Timestamp.Builder getTimeBuilder()
The timestamp when the `destination` service receives the last byte of the request.
.google.protobuf.Timestamp time = 9;public com.google.protobuf.TimestampOrBuilder getTimeOrBuilder()
The timestamp when the `destination` service receives the last byte of the request.
.google.protobuf.Timestamp time = 9;getTimeOrBuilder in interface AttributeContext.RequestOrBuilderpublic long getSize()
The HTTP request size in bytes. If unknown, it must be -1.
int64 size = 10;getSize in interface AttributeContext.RequestOrBuilderpublic AttributeContext.Request.Builder setSize(long value)
The HTTP request size in bytes. If unknown, it must be -1.
int64 size = 10;value - The size to set.public AttributeContext.Request.Builder clearSize()
The HTTP request size in bytes. If unknown, it must be -1.
int64 size = 10;public String getProtocol()
The network protocol used with the request, such as "http/1.1", "spdy/3", "h2", "h2c", "webrtc", "tcp", "udp", "quic". See https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids for details.
string protocol = 11;getProtocol in interface AttributeContext.RequestOrBuilderpublic com.google.protobuf.ByteString getProtocolBytes()
The network protocol used with the request, such as "http/1.1", "spdy/3", "h2", "h2c", "webrtc", "tcp", "udp", "quic". See https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids for details.
string protocol = 11;getProtocolBytes in interface AttributeContext.RequestOrBuilderpublic AttributeContext.Request.Builder setProtocol(String value)
The network protocol used with the request, such as "http/1.1", "spdy/3", "h2", "h2c", "webrtc", "tcp", "udp", "quic". See https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids for details.
string protocol = 11;value - The protocol to set.public AttributeContext.Request.Builder clearProtocol()
The network protocol used with the request, such as "http/1.1", "spdy/3", "h2", "h2c", "webrtc", "tcp", "udp", "quic". See https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids for details.
string protocol = 11;public AttributeContext.Request.Builder setProtocolBytes(com.google.protobuf.ByteString value)
The network protocol used with the request, such as "http/1.1", "spdy/3", "h2", "h2c", "webrtc", "tcp", "udp", "quic". See https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids for details.
string protocol = 11;value - The bytes for protocol to set.public String getReason()
A special parameter for request reason. It is used by security systems to associate auditing information with a request.
string reason = 12;getReason in interface AttributeContext.RequestOrBuilderpublic com.google.protobuf.ByteString getReasonBytes()
A special parameter for request reason. It is used by security systems to associate auditing information with a request.
string reason = 12;getReasonBytes in interface AttributeContext.RequestOrBuilderpublic AttributeContext.Request.Builder setReason(String value)
A special parameter for request reason. It is used by security systems to associate auditing information with a request.
string reason = 12;value - The reason to set.public AttributeContext.Request.Builder clearReason()
A special parameter for request reason. It is used by security systems to associate auditing information with a request.
string reason = 12;public AttributeContext.Request.Builder setReasonBytes(com.google.protobuf.ByteString value)
A special parameter for request reason. It is used by security systems to associate auditing information with a request.
string reason = 12;value - The bytes for reason to set.public boolean hasAuth()
The request authentication. May be absent for unauthenticated requests. Derived from the HTTP request `Authorization` header or equivalent.
.google.rpc.context.AttributeContext.Auth auth = 13;hasAuth in interface AttributeContext.RequestOrBuilderpublic AttributeContext.Auth getAuth()
The request authentication. May be absent for unauthenticated requests. Derived from the HTTP request `Authorization` header or equivalent.
.google.rpc.context.AttributeContext.Auth auth = 13;getAuth in interface AttributeContext.RequestOrBuilderpublic AttributeContext.Request.Builder setAuth(AttributeContext.Auth value)
The request authentication. May be absent for unauthenticated requests. Derived from the HTTP request `Authorization` header or equivalent.
.google.rpc.context.AttributeContext.Auth auth = 13;public AttributeContext.Request.Builder setAuth(AttributeContext.Auth.Builder builderForValue)
The request authentication. May be absent for unauthenticated requests. Derived from the HTTP request `Authorization` header or equivalent.
.google.rpc.context.AttributeContext.Auth auth = 13;public AttributeContext.Request.Builder mergeAuth(AttributeContext.Auth value)
The request authentication. May be absent for unauthenticated requests. Derived from the HTTP request `Authorization` header or equivalent.
.google.rpc.context.AttributeContext.Auth auth = 13;public AttributeContext.Request.Builder clearAuth()
The request authentication. May be absent for unauthenticated requests. Derived from the HTTP request `Authorization` header or equivalent.
.google.rpc.context.AttributeContext.Auth auth = 13;public AttributeContext.Auth.Builder getAuthBuilder()
The request authentication. May be absent for unauthenticated requests. Derived from the HTTP request `Authorization` header or equivalent.
.google.rpc.context.AttributeContext.Auth auth = 13;public AttributeContext.AuthOrBuilder getAuthOrBuilder()
The request authentication. May be absent for unauthenticated requests. Derived from the HTTP request `Authorization` header or equivalent.
.google.rpc.context.AttributeContext.Auth auth = 13;getAuthOrBuilder in interface AttributeContext.RequestOrBuilderpublic final AttributeContext.Request.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Request.Builder>public final AttributeContext.Request.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Request.Builder>Copyright © 2021 Google LLC. All rights reserved.