public static interface AttributeContext.ResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsHeaders(String key)
The HTTP response headers.
|
long |
getCode()
The HTTP response status code, such as `200` and `404`.
|
Map<String,String> |
getHeaders()
Deprecated.
|
int |
getHeadersCount()
The HTTP response headers.
|
Map<String,String> |
getHeadersMap()
The HTTP response headers.
|
String |
getHeadersOrDefault(String key,
String defaultValue)
The HTTP response headers.
|
String |
getHeadersOrThrow(String key)
The HTTP response headers.
|
long |
getSize()
The HTTP response size in bytes.
|
com.google.protobuf.Timestamp |
getTime()
The timestamp when the `destination` service generates the first byte of
the response.
|
com.google.protobuf.TimestampOrBuilder |
getTimeOrBuilder()
The timestamp when the `destination` service generates the first byte of
the response.
|
boolean |
hasTime()
The timestamp when the `destination` service generates the first byte of
the response.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneoflong getCode()
The HTTP response status code, such as `200` and `404`.
int64 code = 1;long getSize()
The HTTP response size in bytes. If unknown, it must be -1.
int64 size = 2;int getHeadersCount()
The HTTP response headers. If multiple headers share the same key, they must be merged according to HTTP spec. All header keys must be lowercased, because HTTP header keys are case-insensitive.
map<string, string> headers = 3;boolean containsHeaders(String key)
The HTTP response headers. If multiple headers share the same key, they must be merged according to HTTP spec. All header keys must be lowercased, because HTTP header keys are case-insensitive.
map<string, string> headers = 3;@Deprecated Map<String,String> getHeaders()
getHeadersMap() instead.Map<String,String> getHeadersMap()
The HTTP response headers. If multiple headers share the same key, they must be merged according to HTTP spec. All header keys must be lowercased, because HTTP header keys are case-insensitive.
map<string, string> headers = 3;String getHeadersOrDefault(String key, String defaultValue)
The HTTP response headers. If multiple headers share the same key, they must be merged according to HTTP spec. All header keys must be lowercased, because HTTP header keys are case-insensitive.
map<string, string> headers = 3;String getHeadersOrThrow(String key)
The HTTP response headers. If multiple headers share the same key, they must be merged according to HTTP spec. All header keys must be lowercased, because HTTP header keys are case-insensitive.
map<string, string> headers = 3;boolean hasTime()
The timestamp when the `destination` service generates the first byte of the response.
.google.protobuf.Timestamp time = 4;com.google.protobuf.Timestamp getTime()
The timestamp when the `destination` service generates the first byte of the response.
.google.protobuf.Timestamp time = 4;com.google.protobuf.TimestampOrBuilder getTimeOrBuilder()
The timestamp when the `destination` service generates the first byte of the response.
.google.protobuf.Timestamp time = 4;Copyright © 2020 Google LLC. All rights reserved.