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 class
OkHttpResponse.Builder
HTTP 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 int
DYNAMIC_METADATA_FIELD_NUMBER
static int
HEADERS_FIELD_NUMBER
static int
HEADERS_TO_REMOVE_FIELD_NUMBER
static int
QUERY_PARAMETERS_TO_REMOVE_FIELD_NUMBER
static int
QUERY_PARAMETERS_TO_SET_FIELD_NUMBER
static int
RESPONSE_HEADERS_TO_ADD_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object obj)
static OkHttpResponse
getDefaultInstance()
OkHttpResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Struct
getDynamicMetadata()
Deprecated.envoy.service.auth.v3.OkHttpResponse.dynamic_metadata is deprecated.com.google.protobuf.StructOrBuilder
getDynamicMetadataOrBuilder()
Deprecated.HeaderValueOption
getHeaders(int index)
HTTP entity headers in addition to the original request headers.int
getHeadersCount()
HTTP entity headers in addition to the original request headers.List<HeaderValueOption>
getHeadersList()
HTTP entity headers in addition to the original request headers.HeaderValueOptionOrBuilder
getHeadersOrBuilder(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.String
getHeadersToRemove(int index)
HTTP entity headers to remove from the original request before dispatching it to the upstream.com.google.protobuf.ByteString
getHeadersToRemoveBytes(int index)
HTTP entity headers to remove from the original request before dispatching it to the upstream.int
getHeadersToRemoveCount()
HTTP entity headers to remove from the original request before dispatching it to the upstream.com.google.protobuf.ProtocolStringList
getHeadersToRemoveList()
HTTP entity headers to remove from the original request before dispatching it to the upstream.com.google.protobuf.Parser<OkHttpResponse>
getParserForType()
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.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.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.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.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.int
getQueryParametersToSetCount()
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.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.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.HeaderValueOption
getResponseHeadersToAdd(int index)
This field allows the authorization service to send HTTP response headers to the downstream client on success.int
getResponseHeadersToAddCount()
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.HeaderValueOptionOrBuilder
getResponseHeadersToAddOrBuilder(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.int
getSerializedSize()
com.google.protobuf.UnknownFieldSet
getUnknownFields()
boolean
hasDynamicMetadata()
Deprecated.envoy.service.auth.v3.OkHttpResponse.dynamic_metadata is deprecated.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static OkHttpResponse.Builder
newBuilder()
static OkHttpResponse.Builder
newBuilder(OkHttpResponse prototype)
OkHttpResponse.Builder
newBuilderForType()
protected OkHttpResponse.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static OkHttpResponse
parseDelimitedFrom(InputStream input)
static OkHttpResponse
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static OkHttpResponse
parseFrom(byte[] data)
static OkHttpResponse
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static OkHttpResponse
parseFrom(com.google.protobuf.ByteString data)
static OkHttpResponse
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static OkHttpResponse
parseFrom(com.google.protobuf.CodedInputStream input)
static OkHttpResponse
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static OkHttpResponse
parseFrom(InputStream input)
static OkHttpResponse
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static OkHttpResponse
parseFrom(ByteBuffer data)
static OkHttpResponse
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<OkHttpResponse>
parser()
OkHttpResponse.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in 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:
getHeadersList
in 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:
getHeadersOrBuilderList
in 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:
getHeadersCount
in 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:
getHeaders
in 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:
getHeadersOrBuilder
in 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:
getHeadersToRemoveList
in 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:
getHeadersToRemoveCount
in 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:
getHeadersToRemove
in 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:
getHeadersToRemoveBytes
in 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=97This 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:
hasDynamicMetadata
in 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=97This 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:
getDynamicMetadata
in 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:
getDynamicMetadataOrBuilder
in 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:
getResponseHeadersToAddList
in 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:
getResponseHeadersToAddOrBuilderList
in 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:
getResponseHeadersToAddCount
in 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:
getResponseHeadersToAdd
in 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:
getResponseHeadersToAddOrBuilder
in 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:
getQueryParametersToSetList
in 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:
getQueryParametersToSetOrBuilderList
in 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:
getQueryParametersToSetCount
in 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:
getQueryParametersToSet
in 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:
getQueryParametersToSetOrBuilder
in 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:
getQueryParametersToRemoveList
in 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:
getQueryParametersToRemoveCount
in 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:
getQueryParametersToRemove
in 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:
getQueryParametersToRemoveBytes
in 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:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OkHttpResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public OkHttpResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-