public static final class OkHttpResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<OkHttpResponse.Builder> implements OkHttpResponseOrBuilder
HTTP attributes for an ok response.Protobuf type
envoy.service.auth.v2.OkHttpResponse| Modifier and Type | Method and Description |
|---|---|
OkHttpResponse.Builder |
addAllHeaders(Iterable<? extends HeaderValueOption> values)
HTTP entity headers in addition to the original request headers.
|
OkHttpResponse.Builder |
addHeaders(HeaderValueOption.Builder builderForValue)
HTTP entity headers in addition to the original request headers.
|
OkHttpResponse.Builder |
addHeaders(HeaderValueOption value)
HTTP entity headers in addition to the original request headers.
|
OkHttpResponse.Builder |
addHeaders(int index,
HeaderValueOption.Builder builderForValue)
HTTP entity headers in addition to the original request headers.
|
OkHttpResponse.Builder |
addHeaders(int index,
HeaderValueOption value)
HTTP entity headers in addition to the original request headers.
|
HeaderValueOption.Builder |
addHeadersBuilder()
HTTP entity headers in addition to the original request headers.
|
HeaderValueOption.Builder |
addHeadersBuilder(int index)
HTTP entity headers in addition to the original request headers.
|
OkHttpResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OkHttpResponse |
build() |
OkHttpResponse |
buildPartial() |
OkHttpResponse.Builder |
clear() |
OkHttpResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
OkHttpResponse.Builder |
clearHeaders()
HTTP entity headers in addition to the original request headers.
|
OkHttpResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
OkHttpResponse.Builder |
clone() |
OkHttpResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
HeaderValueOption |
getHeaders(int index)
HTTP entity headers in addition to the original request headers.
|
HeaderValueOption.Builder |
getHeadersBuilder(int index)
HTTP entity headers in addition to the original request headers.
|
List<HeaderValueOption.Builder> |
getHeadersBuilderList()
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
OkHttpResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OkHttpResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
OkHttpResponse.Builder |
mergeFrom(OkHttpResponse other) |
OkHttpResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
OkHttpResponse.Builder |
removeHeaders(int index)
HTTP entity headers in addition to the original request headers.
|
OkHttpResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OkHttpResponse.Builder |
setHeaders(int index,
HeaderValueOption.Builder builderForValue)
HTTP entity headers in addition to the original request headers.
|
OkHttpResponse.Builder |
setHeaders(int index,
HeaderValueOption value)
HTTP entity headers in addition to the original request headers.
|
OkHttpResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
OkHttpResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<OkHttpResponse.Builder>public OkHttpResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<OkHttpResponse.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<OkHttpResponse.Builder>public OkHttpResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic OkHttpResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic OkHttpResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic OkHttpResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<OkHttpResponse.Builder>public OkHttpResponse.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<OkHttpResponse.Builder>public OkHttpResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<OkHttpResponse.Builder>public OkHttpResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<OkHttpResponse.Builder>public OkHttpResponse.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<OkHttpResponse.Builder>public OkHttpResponse.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<OkHttpResponse.Builder>public OkHttpResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OkHttpResponse.Builder>public OkHttpResponse.Builder mergeFrom(OkHttpResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<OkHttpResponse.Builder>public OkHttpResponse.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<OkHttpResponse.Builder>IOExceptionpublic 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 `append` field in `HeaderValueOption` 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.api.v2.core.HeaderValueOption headers = 2;getHeadersList in interface OkHttpResponseOrBuilderpublic 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 `append` field in `HeaderValueOption` 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.api.v2.core.HeaderValueOption headers = 2;getHeadersCount in interface OkHttpResponseOrBuilderpublic 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 `append` field in `HeaderValueOption` 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.api.v2.core.HeaderValueOption headers = 2;getHeaders in interface OkHttpResponseOrBuilderpublic OkHttpResponse.Builder setHeaders(int index, HeaderValueOption value)
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 `append` field in `HeaderValueOption` 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.api.v2.core.HeaderValueOption headers = 2;public OkHttpResponse.Builder setHeaders(int index, HeaderValueOption.Builder builderForValue)
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 `append` field in `HeaderValueOption` 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.api.v2.core.HeaderValueOption headers = 2;public OkHttpResponse.Builder addHeaders(HeaderValueOption value)
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 `append` field in `HeaderValueOption` 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.api.v2.core.HeaderValueOption headers = 2;public OkHttpResponse.Builder addHeaders(int index, HeaderValueOption value)
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 `append` field in `HeaderValueOption` 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.api.v2.core.HeaderValueOption headers = 2;public OkHttpResponse.Builder addHeaders(HeaderValueOption.Builder builderForValue)
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 `append` field in `HeaderValueOption` 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.api.v2.core.HeaderValueOption headers = 2;public OkHttpResponse.Builder addHeaders(int index, HeaderValueOption.Builder builderForValue)
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 `append` field in `HeaderValueOption` 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.api.v2.core.HeaderValueOption headers = 2;public OkHttpResponse.Builder addAllHeaders(Iterable<? extends HeaderValueOption> values)
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 `append` field in `HeaderValueOption` 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.api.v2.core.HeaderValueOption headers = 2;public OkHttpResponse.Builder clearHeaders()
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 `append` field in `HeaderValueOption` 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.api.v2.core.HeaderValueOption headers = 2;public OkHttpResponse.Builder removeHeaders(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 `append` field in `HeaderValueOption` 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.api.v2.core.HeaderValueOption headers = 2;public HeaderValueOption.Builder getHeadersBuilder(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 `append` field in `HeaderValueOption` 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.api.v2.core.HeaderValueOption headers = 2;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 `append` field in `HeaderValueOption` 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.api.v2.core.HeaderValueOption headers = 2;getHeadersOrBuilder in interface OkHttpResponseOrBuilderpublic 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 `append` field in `HeaderValueOption` 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.api.v2.core.HeaderValueOption headers = 2;getHeadersOrBuilderList in interface OkHttpResponseOrBuilderpublic HeaderValueOption.Builder addHeadersBuilder()
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 `append` field in `HeaderValueOption` 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.api.v2.core.HeaderValueOption headers = 2;public HeaderValueOption.Builder addHeadersBuilder(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 `append` field in `HeaderValueOption` 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.api.v2.core.HeaderValueOption headers = 2;public List<HeaderValueOption.Builder> getHeadersBuilderList()
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 `append` field in `HeaderValueOption` 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.api.v2.core.HeaderValueOption headers = 2;public final OkHttpResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OkHttpResponse.Builder>public final OkHttpResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OkHttpResponse.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.