Class OkHttpResponse
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.service.auth.v3.OkHttpResponse
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,OkHttpResponseOrBuilder,Serializable
public final class OkHttpResponse extends com.google.protobuf.GeneratedMessageV3 implements OkHttpResponseOrBuilder
HTTP attributes for an OK response. [#next-free-field: 9]
Protobuf typeenvoy.service.auth.v3.OkHttpResponse- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOkHttpResponse.BuilderHTTP attributes for an OK response.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intDYNAMIC_METADATA_FIELD_NUMBERstatic intHEADERS_FIELD_NUMBERstatic intHEADERS_TO_REMOVE_FIELD_NUMBERstatic intQUERY_PARAMETERS_TO_REMOVE_FIELD_NUMBERstatic intQUERY_PARAMETERS_TO_SET_FIELD_NUMBERstatic intRESPONSE_HEADERS_TO_ADD_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)static OkHttpResponsegetDefaultInstance()OkHttpResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.StructgetDynamicMetadata()Deprecated.envoy.service.auth.v3.OkHttpResponse.dynamic_metadata is deprecated.com.google.protobuf.StructOrBuildergetDynamicMetadataOrBuilder()Deprecated.HeaderValueOptiongetHeaders(int index)HTTP entity headers in addition to the original request headers.intgetHeadersCount()HTTP entity headers in addition to the original request headers.List<HeaderValueOption>getHeadersList()HTTP entity headers in addition to the original request headers.HeaderValueOptionOrBuildergetHeadersOrBuilder(int index)HTTP entity headers in addition to the original request headers.List<? extends HeaderValueOptionOrBuilder>getHeadersOrBuilderList()HTTP entity headers in addition to the original request headers.StringgetHeadersToRemove(int index)HTTP entity headers to remove from the original request before dispatching it to the upstream.com.google.protobuf.ByteStringgetHeadersToRemoveBytes(int index)HTTP entity headers to remove from the original request before dispatching it to the upstream.intgetHeadersToRemoveCount()HTTP entity headers to remove from the original request before dispatching it to the upstream.com.google.protobuf.ProtocolStringListgetHeadersToRemoveList()HTTP entity headers to remove from the original request before dispatching it to the upstream.com.google.protobuf.Parser<OkHttpResponse>getParserForType()StringgetQueryParametersToRemove(int index)This field allows the authorization service to specify which query parameters should be removed from the original request before it is sent upstream.com.google.protobuf.ByteStringgetQueryParametersToRemoveBytes(int index)This field allows the authorization service to specify which query parameters should be removed from the original request before it is sent upstream.intgetQueryParametersToRemoveCount()This field allows the authorization service to specify which query parameters should be removed from the original request before it is sent upstream.com.google.protobuf.ProtocolStringListgetQueryParametersToRemoveList()This field allows the authorization service to specify which query parameters should be removed from the original request before it is sent upstream.QueryParametergetQueryParametersToSet(int index)This field allows the authorization service to set (and overwrite) query string parameters on the original request before it is sent upstream.intgetQueryParametersToSetCount()This field allows the authorization service to set (and overwrite) query string parameters on the original request before it is sent upstream.List<QueryParameter>getQueryParametersToSetList()This field allows the authorization service to set (and overwrite) query string parameters on the original request before it is sent upstream.QueryParameterOrBuildergetQueryParametersToSetOrBuilder(int index)This field allows the authorization service to set (and overwrite) query string parameters on the original request before it is sent upstream.List<? extends QueryParameterOrBuilder>getQueryParametersToSetOrBuilderList()This field allows the authorization service to set (and overwrite) query string parameters on the original request before it is sent upstream.HeaderValueOptiongetResponseHeadersToAdd(int index)This field allows the authorization service to send HTTP response headers to the downstream client on success.intgetResponseHeadersToAddCount()This field allows the authorization service to send HTTP response headers to the downstream client on success.List<HeaderValueOption>getResponseHeadersToAddList()This field allows the authorization service to send HTTP response headers to the downstream client on success.HeaderValueOptionOrBuildergetResponseHeadersToAddOrBuilder(int index)This field allows the authorization service to send HTTP response headers to the downstream client on success.List<? extends HeaderValueOptionOrBuilder>getResponseHeadersToAddOrBuilderList()This field allows the authorization service to send HTTP response headers to the downstream client on success.intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasDynamicMetadata()Deprecated.envoy.service.auth.v3.OkHttpResponse.dynamic_metadata is deprecated.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static OkHttpResponse.BuildernewBuilder()static OkHttpResponse.BuildernewBuilder(OkHttpResponse prototype)OkHttpResponse.BuildernewBuilderForType()protected OkHttpResponse.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static OkHttpResponseparseDelimitedFrom(InputStream input)static OkHttpResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OkHttpResponseparseFrom(byte[] data)static OkHttpResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OkHttpResponseparseFrom(com.google.protobuf.ByteString data)static OkHttpResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OkHttpResponseparseFrom(com.google.protobuf.CodedInputStream input)static OkHttpResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OkHttpResponseparseFrom(InputStream input)static OkHttpResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OkHttpResponseparseFrom(ByteBuffer data)static OkHttpResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<OkHttpResponse>parser()OkHttpResponse.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
HEADERS_FIELD_NUMBER
public static final int HEADERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HEADERS_TO_REMOVE_FIELD_NUMBER
public static final int HEADERS_TO_REMOVE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DYNAMIC_METADATA_FIELD_NUMBER
public static final int DYNAMIC_METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESPONSE_HEADERS_TO_ADD_FIELD_NUMBER
public static final int RESPONSE_HEADERS_TO_ADD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
QUERY_PARAMETERS_TO_SET_FIELD_NUMBER
public static final int QUERY_PARAMETERS_TO_SET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
QUERY_PARAMETERS_TO_REMOVE_FIELD_NUMBER
public static final int QUERY_PARAMETERS_TO_REMOVE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getHeadersList
public List<HeaderValueOption> getHeadersList()
HTTP entity headers in addition to the original request headers. This allows the authorization service to append, to add or to override headers from the original request before dispatching it to the upstream. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>` defaults to false when used in this message. By setting the ``append`` field to ``true``, the filter will append the correspondent header value to the matched request header. By leaving ``append`` as false, the filter will either add a new header, or override an existing one if there is a match.
repeated .envoy.config.core.v3.HeaderValueOption headers = 2;- Specified by:
getHeadersListin interfaceOkHttpResponseOrBuilder
-
getHeadersOrBuilderList
public List<? extends HeaderValueOptionOrBuilder> getHeadersOrBuilderList()
HTTP entity headers in addition to the original request headers. This allows the authorization service to append, to add or to override headers from the original request before dispatching it to the upstream. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>` defaults to false when used in this message. By setting the ``append`` field to ``true``, the filter will append the correspondent header value to the matched request header. By leaving ``append`` as false, the filter will either add a new header, or override an existing one if there is a match.
repeated .envoy.config.core.v3.HeaderValueOption headers = 2;- Specified by:
getHeadersOrBuilderListin interfaceOkHttpResponseOrBuilder
-
getHeadersCount
public int getHeadersCount()
HTTP entity headers in addition to the original request headers. This allows the authorization service to append, to add or to override headers from the original request before dispatching it to the upstream. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>` defaults to false when used in this message. By setting the ``append`` field to ``true``, the filter will append the correspondent header value to the matched request header. By leaving ``append`` as false, the filter will either add a new header, or override an existing one if there is a match.
repeated .envoy.config.core.v3.HeaderValueOption headers = 2;- Specified by:
getHeadersCountin interfaceOkHttpResponseOrBuilder
-
getHeaders
public HeaderValueOption getHeaders(int index)
HTTP entity headers in addition to the original request headers. This allows the authorization service to append, to add or to override headers from the original request before dispatching it to the upstream. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>` defaults to false when used in this message. By setting the ``append`` field to ``true``, the filter will append the correspondent header value to the matched request header. By leaving ``append`` as false, the filter will either add a new header, or override an existing one if there is a match.
repeated .envoy.config.core.v3.HeaderValueOption headers = 2;- Specified by:
getHeadersin interfaceOkHttpResponseOrBuilder
-
getHeadersOrBuilder
public HeaderValueOptionOrBuilder getHeadersOrBuilder(int index)
HTTP entity headers in addition to the original request headers. This allows the authorization service to append, to add or to override headers from the original request before dispatching it to the upstream. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>` defaults to false when used in this message. By setting the ``append`` field to ``true``, the filter will append the correspondent header value to the matched request header. By leaving ``append`` as false, the filter will either add a new header, or override an existing one if there is a match.
repeated .envoy.config.core.v3.HeaderValueOption headers = 2;- Specified by:
getHeadersOrBuilderin interfaceOkHttpResponseOrBuilder
-
getHeadersToRemoveList
public com.google.protobuf.ProtocolStringList getHeadersToRemoveList()
HTTP entity headers to remove from the original request before dispatching it to the upstream. This allows the authorization service to act on auth related headers (like ``Authorization``), process them, and consume them. Under this model, the upstream will either receive the request (if it's authorized) or not receive it (if it's not), but will not see headers containing authorization credentials. Pseudo headers (such as ``:authority``, ``:method``, ``:path`` etc), as well as the header ``Host``, may not be removed as that would make the request malformed. If mentioned in ``headers_to_remove`` these special headers will be ignored. When using the HTTP service this must instead be set by the HTTP authorization service as a comma separated list like so: ``x-envoy-auth-headers-to-remove: one-auth-header, another-auth-header``.
repeated string headers_to_remove = 5;- Specified by:
getHeadersToRemoveListin interfaceOkHttpResponseOrBuilder- Returns:
- A list containing the headersToRemove.
-
getHeadersToRemoveCount
public int getHeadersToRemoveCount()
HTTP entity headers to remove from the original request before dispatching it to the upstream. This allows the authorization service to act on auth related headers (like ``Authorization``), process them, and consume them. Under this model, the upstream will either receive the request (if it's authorized) or not receive it (if it's not), but will not see headers containing authorization credentials. Pseudo headers (such as ``:authority``, ``:method``, ``:path`` etc), as well as the header ``Host``, may not be removed as that would make the request malformed. If mentioned in ``headers_to_remove`` these special headers will be ignored. When using the HTTP service this must instead be set by the HTTP authorization service as a comma separated list like so: ``x-envoy-auth-headers-to-remove: one-auth-header, another-auth-header``.
repeated string headers_to_remove = 5;- Specified by:
getHeadersToRemoveCountin interfaceOkHttpResponseOrBuilder- Returns:
- The count of headersToRemove.
-
getHeadersToRemove
public String getHeadersToRemove(int index)
HTTP entity headers to remove from the original request before dispatching it to the upstream. This allows the authorization service to act on auth related headers (like ``Authorization``), process them, and consume them. Under this model, the upstream will either receive the request (if it's authorized) or not receive it (if it's not), but will not see headers containing authorization credentials. Pseudo headers (such as ``:authority``, ``:method``, ``:path`` etc), as well as the header ``Host``, may not be removed as that would make the request malformed. If mentioned in ``headers_to_remove`` these special headers will be ignored. When using the HTTP service this must instead be set by the HTTP authorization service as a comma separated list like so: ``x-envoy-auth-headers-to-remove: one-auth-header, another-auth-header``.
repeated string headers_to_remove = 5;- Specified by:
getHeadersToRemovein interfaceOkHttpResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The headersToRemove at the given index.
-
getHeadersToRemoveBytes
public com.google.protobuf.ByteString getHeadersToRemoveBytes(int index)
HTTP entity headers to remove from the original request before dispatching it to the upstream. This allows the authorization service to act on auth related headers (like ``Authorization``), process them, and consume them. Under this model, the upstream will either receive the request (if it's authorized) or not receive it (if it's not), but will not see headers containing authorization credentials. Pseudo headers (such as ``:authority``, ``:method``, ``:path`` etc), as well as the header ``Host``, may not be removed as that would make the request malformed. If mentioned in ``headers_to_remove`` these special headers will be ignored. When using the HTTP service this must instead be set by the HTTP authorization service as a comma separated list like so: ``x-envoy-auth-headers-to-remove: one-auth-header, another-auth-header``.
repeated string headers_to_remove = 5;- Specified by:
getHeadersToRemoveBytesin interfaceOkHttpResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the headersToRemove at the given index.
-
hasDynamicMetadata
@Deprecated public boolean hasDynamicMetadata()
Deprecated.envoy.service.auth.v3.OkHttpResponse.dynamic_metadata is deprecated. See envoy/service/auth/v3/external_auth.proto;l=98This field has been deprecated in favor of :ref:`CheckResponse.dynamic_metadata <envoy_v3_api_field_service.auth.v3.CheckResponse.dynamic_metadata>`. Until it is removed, setting this field overrides :ref:`CheckResponse.dynamic_metadata <envoy_v3_api_field_service.auth.v3.CheckResponse.dynamic_metadata>`.
.google.protobuf.Struct dynamic_metadata = 3 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
hasDynamicMetadatain interfaceOkHttpResponseOrBuilder- Returns:
- Whether the dynamicMetadata field is set.
-
getDynamicMetadata
@Deprecated public com.google.protobuf.Struct getDynamicMetadata()
Deprecated.envoy.service.auth.v3.OkHttpResponse.dynamic_metadata is deprecated. See envoy/service/auth/v3/external_auth.proto;l=98This field has been deprecated in favor of :ref:`CheckResponse.dynamic_metadata <envoy_v3_api_field_service.auth.v3.CheckResponse.dynamic_metadata>`. Until it is removed, setting this field overrides :ref:`CheckResponse.dynamic_metadata <envoy_v3_api_field_service.auth.v3.CheckResponse.dynamic_metadata>`.
.google.protobuf.Struct dynamic_metadata = 3 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getDynamicMetadatain interfaceOkHttpResponseOrBuilder- Returns:
- The dynamicMetadata.
-
getDynamicMetadataOrBuilder
@Deprecated public com.google.protobuf.StructOrBuilder getDynamicMetadataOrBuilder()
Deprecated.This field has been deprecated in favor of :ref:`CheckResponse.dynamic_metadata <envoy_v3_api_field_service.auth.v3.CheckResponse.dynamic_metadata>`. Until it is removed, setting this field overrides :ref:`CheckResponse.dynamic_metadata <envoy_v3_api_field_service.auth.v3.CheckResponse.dynamic_metadata>`.
.google.protobuf.Struct dynamic_metadata = 3 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getDynamicMetadataOrBuilderin interfaceOkHttpResponseOrBuilder
-
getResponseHeadersToAddList
public List<HeaderValueOption> getResponseHeadersToAddList()
This field allows the authorization service to send HTTP response headers to the downstream client on success. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>` defaults to false when used in this message.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 6;- Specified by:
getResponseHeadersToAddListin interfaceOkHttpResponseOrBuilder
-
getResponseHeadersToAddOrBuilderList
public List<? extends HeaderValueOptionOrBuilder> getResponseHeadersToAddOrBuilderList()
This field allows the authorization service to send HTTP response headers to the downstream client on success. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>` defaults to false when used in this message.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 6;- Specified by:
getResponseHeadersToAddOrBuilderListin interfaceOkHttpResponseOrBuilder
-
getResponseHeadersToAddCount
public int getResponseHeadersToAddCount()
This field allows the authorization service to send HTTP response headers to the downstream client on success. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>` defaults to false when used in this message.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 6;- Specified by:
getResponseHeadersToAddCountin interfaceOkHttpResponseOrBuilder
-
getResponseHeadersToAdd
public HeaderValueOption getResponseHeadersToAdd(int index)
This field allows the authorization service to send HTTP response headers to the downstream client on success. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>` defaults to false when used in this message.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 6;- Specified by:
getResponseHeadersToAddin interfaceOkHttpResponseOrBuilder
-
getResponseHeadersToAddOrBuilder
public HeaderValueOptionOrBuilder getResponseHeadersToAddOrBuilder(int index)
This field allows the authorization service to send HTTP response headers to the downstream client on success. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>` defaults to false when used in this message.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 6;- Specified by:
getResponseHeadersToAddOrBuilderin interfaceOkHttpResponseOrBuilder
-
getQueryParametersToSetList
public List<QueryParameter> getQueryParametersToSetList()
This field allows the authorization service to set (and overwrite) query string parameters on the original request before it is sent upstream.
repeated .envoy.config.core.v3.QueryParameter query_parameters_to_set = 7;- Specified by:
getQueryParametersToSetListin interfaceOkHttpResponseOrBuilder
-
getQueryParametersToSetOrBuilderList
public List<? extends QueryParameterOrBuilder> getQueryParametersToSetOrBuilderList()
This field allows the authorization service to set (and overwrite) query string parameters on the original request before it is sent upstream.
repeated .envoy.config.core.v3.QueryParameter query_parameters_to_set = 7;- Specified by:
getQueryParametersToSetOrBuilderListin interfaceOkHttpResponseOrBuilder
-
getQueryParametersToSetCount
public int getQueryParametersToSetCount()
This field allows the authorization service to set (and overwrite) query string parameters on the original request before it is sent upstream.
repeated .envoy.config.core.v3.QueryParameter query_parameters_to_set = 7;- Specified by:
getQueryParametersToSetCountin interfaceOkHttpResponseOrBuilder
-
getQueryParametersToSet
public QueryParameter getQueryParametersToSet(int index)
This field allows the authorization service to set (and overwrite) query string parameters on the original request before it is sent upstream.
repeated .envoy.config.core.v3.QueryParameter query_parameters_to_set = 7;- Specified by:
getQueryParametersToSetin interfaceOkHttpResponseOrBuilder
-
getQueryParametersToSetOrBuilder
public QueryParameterOrBuilder getQueryParametersToSetOrBuilder(int index)
This field allows the authorization service to set (and overwrite) query string parameters on the original request before it is sent upstream.
repeated .envoy.config.core.v3.QueryParameter query_parameters_to_set = 7;- Specified by:
getQueryParametersToSetOrBuilderin interfaceOkHttpResponseOrBuilder
-
getQueryParametersToRemoveList
public com.google.protobuf.ProtocolStringList getQueryParametersToRemoveList()
This field allows the authorization service to specify which query parameters should be removed from the original request before it is sent upstream. Each element in this list is a case-sensitive query parameter name to be removed.
repeated string query_parameters_to_remove = 8;- Specified by:
getQueryParametersToRemoveListin interfaceOkHttpResponseOrBuilder- Returns:
- A list containing the queryParametersToRemove.
-
getQueryParametersToRemoveCount
public int getQueryParametersToRemoveCount()
This field allows the authorization service to specify which query parameters should be removed from the original request before it is sent upstream. Each element in this list is a case-sensitive query parameter name to be removed.
repeated string query_parameters_to_remove = 8;- Specified by:
getQueryParametersToRemoveCountin interfaceOkHttpResponseOrBuilder- Returns:
- The count of queryParametersToRemove.
-
getQueryParametersToRemove
public String getQueryParametersToRemove(int index)
This field allows the authorization service to specify which query parameters should be removed from the original request before it is sent upstream. Each element in this list is a case-sensitive query parameter name to be removed.
repeated string query_parameters_to_remove = 8;- Specified by:
getQueryParametersToRemovein interfaceOkHttpResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The queryParametersToRemove at the given index.
-
getQueryParametersToRemoveBytes
public com.google.protobuf.ByteString getQueryParametersToRemoveBytes(int index)
This field allows the authorization service to specify which query parameters should be removed from the original request before it is sent upstream. Each element in this list is a case-sensitive query parameter name to be removed.
repeated string query_parameters_to_remove = 8;- Specified by:
getQueryParametersToRemoveBytesin interfaceOkHttpResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the queryParametersToRemove at the given index.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static OkHttpResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OkHttpResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OkHttpResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OkHttpResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OkHttpResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OkHttpResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OkHttpResponse parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OkHttpResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OkHttpResponse parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OkHttpResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static OkHttpResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OkHttpResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public OkHttpResponse.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static OkHttpResponse.Builder newBuilder()
-
newBuilder
public static OkHttpResponse.Builder newBuilder(OkHttpResponse prototype)
-
toBuilder
public OkHttpResponse.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OkHttpResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static OkHttpResponse getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<OkHttpResponse> parser()
-
getParserForType
public com.google.protobuf.Parser<OkHttpResponse> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public OkHttpResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-