public static final class DeniedHttpResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DeniedHttpResponse.Builder> implements DeniedHttpResponseOrBuilder
HTTP attributes for a denied response.Protobuf type
envoy.service.auth.v2.DeniedHttpResponse| Modifier and Type | Method and Description |
|---|---|
DeniedHttpResponse.Builder |
addAllHeaders(Iterable<? extends HeaderValueOption> values)
This field allows the authorization service to send HTTP response headers
to the downstream client.
|
DeniedHttpResponse.Builder |
addHeaders(HeaderValueOption.Builder builderForValue)
This field allows the authorization service to send HTTP response headers
to the downstream client.
|
DeniedHttpResponse.Builder |
addHeaders(HeaderValueOption value)
This field allows the authorization service to send HTTP response headers
to the downstream client.
|
DeniedHttpResponse.Builder |
addHeaders(int index,
HeaderValueOption.Builder builderForValue)
This field allows the authorization service to send HTTP response headers
to the downstream client.
|
DeniedHttpResponse.Builder |
addHeaders(int index,
HeaderValueOption value)
This field allows the authorization service to send HTTP response headers
to the downstream client.
|
HeaderValueOption.Builder |
addHeadersBuilder()
This field allows the authorization service to send HTTP response headers
to the downstream client.
|
HeaderValueOption.Builder |
addHeadersBuilder(int index)
This field allows the authorization service to send HTTP response headers
to the downstream client.
|
DeniedHttpResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DeniedHttpResponse |
build() |
DeniedHttpResponse |
buildPartial() |
DeniedHttpResponse.Builder |
clear() |
DeniedHttpResponse.Builder |
clearBody()
This field allows the authorization service to send a response body data
to the downstream client.
|
DeniedHttpResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
DeniedHttpResponse.Builder |
clearHeaders()
This field allows the authorization service to send HTTP response headers
to the downstream client.
|
DeniedHttpResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
DeniedHttpResponse.Builder |
clearStatus()
This field allows the authorization service to send a HTTP response status
code to the downstream client other than 403 (Forbidden).
|
DeniedHttpResponse.Builder |
clone() |
String |
getBody()
This field allows the authorization service to send a response body data
to the downstream client.
|
com.google.protobuf.ByteString |
getBodyBytes()
This field allows the authorization service to send a response body data
to the downstream client.
|
DeniedHttpResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
HeaderValueOption |
getHeaders(int index)
This field allows the authorization service to send HTTP response headers
to the downstream client.
|
HeaderValueOption.Builder |
getHeadersBuilder(int index)
This field allows the authorization service to send HTTP response headers
to the downstream client.
|
List<HeaderValueOption.Builder> |
getHeadersBuilderList()
This field allows the authorization service to send HTTP response headers
to the downstream client.
|
int |
getHeadersCount()
This field allows the authorization service to send HTTP response headers
to the downstream client.
|
List<HeaderValueOption> |
getHeadersList()
This field allows the authorization service to send HTTP response headers
to the downstream client.
|
HeaderValueOptionOrBuilder |
getHeadersOrBuilder(int index)
This field allows the authorization service to send HTTP response headers
to the downstream client.
|
List<? extends HeaderValueOptionOrBuilder> |
getHeadersOrBuilderList()
This field allows the authorization service to send HTTP response headers
to the downstream client.
|
HttpStatus |
getStatus()
This field allows the authorization service to send a HTTP response status
code to the downstream client other than 403 (Forbidden).
|
HttpStatus.Builder |
getStatusBuilder()
This field allows the authorization service to send a HTTP response status
code to the downstream client other than 403 (Forbidden).
|
HttpStatusOrBuilder |
getStatusOrBuilder()
This field allows the authorization service to send a HTTP response status
code to the downstream client other than 403 (Forbidden).
|
boolean |
hasStatus()
This field allows the authorization service to send a HTTP response status
code to the downstream client other than 403 (Forbidden).
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
DeniedHttpResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DeniedHttpResponse.Builder |
mergeFrom(DeniedHttpResponse other) |
DeniedHttpResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
DeniedHttpResponse.Builder |
mergeStatus(HttpStatus value)
This field allows the authorization service to send a HTTP response status
code to the downstream client other than 403 (Forbidden).
|
DeniedHttpResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
DeniedHttpResponse.Builder |
removeHeaders(int index)
This field allows the authorization service to send HTTP response headers
to the downstream client.
|
DeniedHttpResponse.Builder |
setBody(String value)
This field allows the authorization service to send a response body data
to the downstream client.
|
DeniedHttpResponse.Builder |
setBodyBytes(com.google.protobuf.ByteString value)
This field allows the authorization service to send a response body data
to the downstream client.
|
DeniedHttpResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DeniedHttpResponse.Builder |
setHeaders(int index,
HeaderValueOption.Builder builderForValue)
This field allows the authorization service to send HTTP response headers
to the downstream client.
|
DeniedHttpResponse.Builder |
setHeaders(int index,
HeaderValueOption value)
This field allows the authorization service to send HTTP response headers
to the downstream client.
|
DeniedHttpResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
DeniedHttpResponse.Builder |
setStatus(HttpStatus.Builder builderForValue)
This field allows the authorization service to send a HTTP response status
code to the downstream client other than 403 (Forbidden).
|
DeniedHttpResponse.Builder |
setStatus(HttpStatus value)
This field allows the authorization service to send a HTTP response status
code to the downstream client other than 403 (Forbidden).
|
DeniedHttpResponse.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<DeniedHttpResponse.Builder>public DeniedHttpResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<DeniedHttpResponse.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<DeniedHttpResponse.Builder>public DeniedHttpResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic DeniedHttpResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic DeniedHttpResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic DeniedHttpResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<DeniedHttpResponse.Builder>public DeniedHttpResponse.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<DeniedHttpResponse.Builder>public DeniedHttpResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<DeniedHttpResponse.Builder>public DeniedHttpResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DeniedHttpResponse.Builder>public DeniedHttpResponse.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<DeniedHttpResponse.Builder>public DeniedHttpResponse.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<DeniedHttpResponse.Builder>public DeniedHttpResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DeniedHttpResponse.Builder>public DeniedHttpResponse.Builder mergeFrom(DeniedHttpResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DeniedHttpResponse.Builder>public DeniedHttpResponse.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<DeniedHttpResponse.Builder>IOExceptionpublic boolean hasStatus()
This field allows the authorization service to send a HTTP response status code to the downstream client other than 403 (Forbidden).
.envoy.type.HttpStatus status = 1 [(.validate.rules) = { ... }hasStatus in interface DeniedHttpResponseOrBuilderpublic HttpStatus getStatus()
This field allows the authorization service to send a HTTP response status code to the downstream client other than 403 (Forbidden).
.envoy.type.HttpStatus status = 1 [(.validate.rules) = { ... }getStatus in interface DeniedHttpResponseOrBuilderpublic DeniedHttpResponse.Builder setStatus(HttpStatus value)
This field allows the authorization service to send a HTTP response status code to the downstream client other than 403 (Forbidden).
.envoy.type.HttpStatus status = 1 [(.validate.rules) = { ... }public DeniedHttpResponse.Builder setStatus(HttpStatus.Builder builderForValue)
This field allows the authorization service to send a HTTP response status code to the downstream client other than 403 (Forbidden).
.envoy.type.HttpStatus status = 1 [(.validate.rules) = { ... }public DeniedHttpResponse.Builder mergeStatus(HttpStatus value)
This field allows the authorization service to send a HTTP response status code to the downstream client other than 403 (Forbidden).
.envoy.type.HttpStatus status = 1 [(.validate.rules) = { ... }public DeniedHttpResponse.Builder clearStatus()
This field allows the authorization service to send a HTTP response status code to the downstream client other than 403 (Forbidden).
.envoy.type.HttpStatus status = 1 [(.validate.rules) = { ... }public HttpStatus.Builder getStatusBuilder()
This field allows the authorization service to send a HTTP response status code to the downstream client other than 403 (Forbidden).
.envoy.type.HttpStatus status = 1 [(.validate.rules) = { ... }public HttpStatusOrBuilder getStatusOrBuilder()
This field allows the authorization service to send a HTTP response status code to the downstream client other than 403 (Forbidden).
.envoy.type.HttpStatus status = 1 [(.validate.rules) = { ... }getStatusOrBuilder in interface DeniedHttpResponseOrBuilderpublic List<HeaderValueOption> getHeadersList()
This field allows the authorization service to send HTTP response headers to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to false when used in this message.
repeated .envoy.api.v2.core.HeaderValueOption headers = 2;getHeadersList in interface DeniedHttpResponseOrBuilderpublic int getHeadersCount()
This field allows the authorization service to send HTTP response headers to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to false when used in this message.
repeated .envoy.api.v2.core.HeaderValueOption headers = 2;getHeadersCount in interface DeniedHttpResponseOrBuilderpublic HeaderValueOption getHeaders(int index)
This field allows the authorization service to send HTTP response headers to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to false when used in this message.
repeated .envoy.api.v2.core.HeaderValueOption headers = 2;getHeaders in interface DeniedHttpResponseOrBuilderpublic DeniedHttpResponse.Builder setHeaders(int index, HeaderValueOption value)
This field allows the authorization service to send HTTP response headers to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to false when used in this message.
repeated .envoy.api.v2.core.HeaderValueOption headers = 2;public DeniedHttpResponse.Builder setHeaders(int index, HeaderValueOption.Builder builderForValue)
This field allows the authorization service to send HTTP response headers to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to false when used in this message.
repeated .envoy.api.v2.core.HeaderValueOption headers = 2;public DeniedHttpResponse.Builder addHeaders(HeaderValueOption value)
This field allows the authorization service to send HTTP response headers to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to false when used in this message.
repeated .envoy.api.v2.core.HeaderValueOption headers = 2;public DeniedHttpResponse.Builder addHeaders(int index, HeaderValueOption value)
This field allows the authorization service to send HTTP response headers to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to false when used in this message.
repeated .envoy.api.v2.core.HeaderValueOption headers = 2;public DeniedHttpResponse.Builder addHeaders(HeaderValueOption.Builder builderForValue)
This field allows the authorization service to send HTTP response headers to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to false when used in this message.
repeated .envoy.api.v2.core.HeaderValueOption headers = 2;public DeniedHttpResponse.Builder addHeaders(int index, HeaderValueOption.Builder builderForValue)
This field allows the authorization service to send HTTP response headers to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to false when used in this message.
repeated .envoy.api.v2.core.HeaderValueOption headers = 2;public DeniedHttpResponse.Builder addAllHeaders(Iterable<? extends HeaderValueOption> values)
This field allows the authorization service to send HTTP response headers to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to false when used in this message.
repeated .envoy.api.v2.core.HeaderValueOption headers = 2;public DeniedHttpResponse.Builder clearHeaders()
This field allows the authorization service to send HTTP response headers to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to false when used in this message.
repeated .envoy.api.v2.core.HeaderValueOption headers = 2;public DeniedHttpResponse.Builder removeHeaders(int index)
This field allows the authorization service to send HTTP response headers to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to false when used in this message.
repeated .envoy.api.v2.core.HeaderValueOption headers = 2;public HeaderValueOption.Builder getHeadersBuilder(int index)
This field allows the authorization service to send HTTP response headers to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to false when used in this message.
repeated .envoy.api.v2.core.HeaderValueOption headers = 2;public HeaderValueOptionOrBuilder getHeadersOrBuilder(int index)
This field allows the authorization service to send HTTP response headers to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to false when used in this message.
repeated .envoy.api.v2.core.HeaderValueOption headers = 2;getHeadersOrBuilder in interface DeniedHttpResponseOrBuilderpublic List<? extends HeaderValueOptionOrBuilder> getHeadersOrBuilderList()
This field allows the authorization service to send HTTP response headers to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to false when used in this message.
repeated .envoy.api.v2.core.HeaderValueOption headers = 2;getHeadersOrBuilderList in interface DeniedHttpResponseOrBuilderpublic HeaderValueOption.Builder addHeadersBuilder()
This field allows the authorization service to send HTTP response headers to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to false when used in this message.
repeated .envoy.api.v2.core.HeaderValueOption headers = 2;public HeaderValueOption.Builder addHeadersBuilder(int index)
This field allows the authorization service to send HTTP response headers to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to false when used in this message.
repeated .envoy.api.v2.core.HeaderValueOption headers = 2;public List<HeaderValueOption.Builder> getHeadersBuilderList()
This field allows the authorization service to send HTTP response headers to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to false when used in this message.
repeated .envoy.api.v2.core.HeaderValueOption headers = 2;public String getBody()
This field allows the authorization service to send a response body data to the downstream client.
string body = 3;getBody in interface DeniedHttpResponseOrBuilderpublic com.google.protobuf.ByteString getBodyBytes()
This field allows the authorization service to send a response body data to the downstream client.
string body = 3;getBodyBytes in interface DeniedHttpResponseOrBuilderpublic DeniedHttpResponse.Builder setBody(String value)
This field allows the authorization service to send a response body data to the downstream client.
string body = 3;public DeniedHttpResponse.Builder clearBody()
This field allows the authorization service to send a response body data to the downstream client.
string body = 3;public DeniedHttpResponse.Builder setBodyBytes(com.google.protobuf.ByteString value)
This field allows the authorization service to send a response body data to the downstream client.
string body = 3;public final DeniedHttpResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DeniedHttpResponse.Builder>public final DeniedHttpResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DeniedHttpResponse.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.