Interface HttpHeadersOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HttpHeaders,HttpHeaders.Builder
public interface HttpHeadersOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsAttributes(String key) Deprecated.Deprecated.intDeprecated.Deprecated.com.google.protobuf.StructgetAttributesOrDefault(String key, com.google.protobuf.Struct defaultValue) Deprecated.com.google.protobuf.StructDeprecated.booleanIf ``true``, then there is no message body associated with this request or response.The HTTP request headers.The HTTP request headers.booleanThe HTTP request headers.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasHeaders
boolean hasHeaders()The HTTP request headers. All header keys will be lower-cased, because HTTP header keys are case-insensitive. The header value is encoded in the :ref:`raw_value <envoy_v3_api_field_config.core.v3.HeaderValue.raw_value>` field.
.envoy.config.core.v3.HeaderMap headers = 1;- Returns:
- Whether the headers field is set.
-
getHeaders
HeaderMap getHeaders()The HTTP request headers. All header keys will be lower-cased, because HTTP header keys are case-insensitive. The header value is encoded in the :ref:`raw_value <envoy_v3_api_field_config.core.v3.HeaderValue.raw_value>` field.
.envoy.config.core.v3.HeaderMap headers = 1;- Returns:
- The headers.
-
getHeadersOrBuilder
HeaderMapOrBuilder getHeadersOrBuilder()The HTTP request headers. All header keys will be lower-cased, because HTTP header keys are case-insensitive. The header value is encoded in the :ref:`raw_value <envoy_v3_api_field_config.core.v3.HeaderValue.raw_value>` field.
.envoy.config.core.v3.HeaderMap headers = 1; -
getAttributesCount
Deprecated.[#not-implemented-hide:] This field is deprecated and not implemented. Attributes will be sent in the top-level :ref:`attributes <envoy_v3_api_field_service.ext_proc.v3.ProcessingRequest.attributes` field.
map<string, .google.protobuf.Struct> attributes = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; -
containsAttributes
Deprecated.[#not-implemented-hide:] This field is deprecated and not implemented. Attributes will be sent in the top-level :ref:`attributes <envoy_v3_api_field_service.ext_proc.v3.ProcessingRequest.attributes` field.
map<string, .google.protobuf.Struct> attributes = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; -
getAttributes
Deprecated.UsegetAttributesMap()instead. -
getAttributesMap
Deprecated.[#not-implemented-hide:] This field is deprecated and not implemented. Attributes will be sent in the top-level :ref:`attributes <envoy_v3_api_field_service.ext_proc.v3.ProcessingRequest.attributes` field.
map<string, .google.protobuf.Struct> attributes = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; -
getAttributesOrDefault
@Deprecated com.google.protobuf.Struct getAttributesOrDefault(String key, com.google.protobuf.Struct defaultValue) Deprecated.[#not-implemented-hide:] This field is deprecated and not implemented. Attributes will be sent in the top-level :ref:`attributes <envoy_v3_api_field_service.ext_proc.v3.ProcessingRequest.attributes` field.
map<string, .google.protobuf.Struct> attributes = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; -
getAttributesOrThrow
Deprecated.[#not-implemented-hide:] This field is deprecated and not implemented. Attributes will be sent in the top-level :ref:`attributes <envoy_v3_api_field_service.ext_proc.v3.ProcessingRequest.attributes` field.
map<string, .google.protobuf.Struct> attributes = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; -
getEndOfStream
boolean getEndOfStream()If ``true``, then there is no message body associated with this request or response.
bool end_of_stream = 3;- Returns:
- The endOfStream.
-