Class DeniedHttpResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<DeniedHttpResponse.Builder>
io.envoyproxy.envoy.service.auth.v2.DeniedHttpResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DeniedHttpResponseOrBuilder,Cloneable
- Enclosing class:
- DeniedHttpResponse
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-
Method Summary
Modifier and TypeMethodDescriptionaddAllHeaders(Iterable<? extends HeaderValueOption> values) This field allows the authorization service to send HTTP response headers to the downstream client.addHeaders(int index, HeaderValueOption value) This field allows the authorization service to send HTTP response headers to the downstream client.addHeaders(int index, HeaderValueOption.Builder builderForValue) This field allows the authorization service to send HTTP response headers to the downstream client.addHeaders(HeaderValueOption value) This field allows the authorization service to send HTTP response headers to the downstream client.addHeaders(HeaderValueOption.Builder builderForValue) This field allows the authorization service to send HTTP response headers to the downstream client.This field allows the authorization service to send HTTP response headers to the downstream client.addHeadersBuilder(int index) This field allows the authorization service to send HTTP response headers to the downstream client.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()This field allows the authorization service to send a response body data to the downstream client.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) This field allows the authorization service to send HTTP response headers to the downstream client.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) This field allows the authorization service to send a HTTP response status code to the downstream client other than 403 (Forbidden).clone()getBody()This field allows the authorization service to send a response body data to the downstream client.com.google.protobuf.ByteStringThis field allows the authorization service to send a response body data to the downstream client.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetHeaders(int index) This field allows the authorization service to send HTTP response headers to the downstream client.getHeadersBuilder(int index) This field allows the authorization service to send HTTP response headers to the downstream client.This field allows the authorization service to send HTTP response headers to the downstream client.intThis field allows the authorization service to send HTTP response headers to the downstream client.This field allows the authorization service to send HTTP response headers to the downstream client.getHeadersOrBuilder(int index) This field allows the authorization service to send HTTP response headers to the downstream client.List<? extends HeaderValueOptionOrBuilder>This field allows the authorization service to send HTTP response headers to the downstream client.This field allows the authorization service to send a HTTP response status code to the downstream client other than 403 (Forbidden).This field allows the authorization service to send a HTTP response status code to the downstream client other than 403 (Forbidden).This field allows the authorization service to send a HTTP response status code to the downstream client other than 403 (Forbidden).booleanThis 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.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(DeniedHttpResponse other) mergeStatus(HttpStatus value) This field allows the authorization service to send a HTTP response status code to the downstream client other than 403 (Forbidden).mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeHeaders(int index) This field allows the authorization service to send HTTP response headers to the downstream client.This field allows the authorization service to send a response body data to the downstream client.setBodyBytes(com.google.protobuf.ByteString value) This field allows the authorization service to send a response body data to the downstream client.setHeaders(int index, HeaderValueOption value) This field allows the authorization service to send HTTP response headers to the downstream client.setHeaders(int index, HeaderValueOption.Builder builderForValue) This field allows the authorization service to send HTTP response headers to the downstream client.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStatus(HttpStatus value) This field allows the authorization service to send a HTTP response status code to the downstream client other than 403 (Forbidden).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).setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<DeniedHttpResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<DeniedHttpResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<DeniedHttpResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<DeniedHttpResponse.Builder>
-
setField
public DeniedHttpResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DeniedHttpResponse.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DeniedHttpResponse.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DeniedHttpResponse.Builder>
-
setRepeatedField
public DeniedHttpResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DeniedHttpResponse.Builder>
-
addRepeatedField
public DeniedHttpResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DeniedHttpResponse.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DeniedHttpResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<DeniedHttpResponse.Builder>
-
mergeFrom
public DeniedHttpResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DeniedHttpResponse.Builder>- Throws:
IOException
-
hasStatus
public 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) = { ... }- Specified by:
hasStatusin interfaceDeniedHttpResponseOrBuilder- Returns:
- Whether the status field is set.
-
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) = { ... }- Specified by:
getStatusin interfaceDeniedHttpResponseOrBuilder- Returns:
- The status.
-
setStatus
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) = { ... } -
setStatus
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) = { ... } -
mergeStatus
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) = { ... } -
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) = { ... } -
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) = { ... } -
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) = { ... }- Specified by:
getStatusOrBuilderin interfaceDeniedHttpResponseOrBuilder
-
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;- Specified by:
getHeadersListin interfaceDeniedHttpResponseOrBuilder
-
getHeadersCount
public 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;- Specified by:
getHeadersCountin interfaceDeniedHttpResponseOrBuilder
-
getHeaders
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;- Specified by:
getHeadersin interfaceDeniedHttpResponseOrBuilder
-
setHeaders
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; -
setHeaders
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; -
addHeaders
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; -
addHeaders
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; -
addHeaders
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; -
addHeaders
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; -
addAllHeaders
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; -
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; -
removeHeaders
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; -
getHeadersBuilder
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
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;- Specified by:
getHeadersOrBuilderin interfaceDeniedHttpResponseOrBuilder
-
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;- Specified by:
getHeadersOrBuilderListin interfaceDeniedHttpResponseOrBuilder
-
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; -
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; -
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; -
getBody
This field allows the authorization service to send a response body data to the downstream client.
string body = 3;- Specified by:
getBodyin interfaceDeniedHttpResponseOrBuilder- Returns:
- The body.
-
getBodyBytes
public com.google.protobuf.ByteString getBodyBytes()This field allows the authorization service to send a response body data to the downstream client.
string body = 3;- Specified by:
getBodyBytesin interfaceDeniedHttpResponseOrBuilder- Returns:
- The bytes for body.
-
setBody
This field allows the authorization service to send a response body data to the downstream client.
string body = 3;- Parameters:
value- The body to set.- Returns:
- This builder for chaining.
-
clearBody
This field allows the authorization service to send a response body data to the downstream client.
string body = 3;- Returns:
- This builder for chaining.
-
setBodyBytes
This field allows the authorization service to send a response body data to the downstream client.
string body = 3;- Parameters:
value- The bytes for body to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final DeniedHttpResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DeniedHttpResponse.Builder>
-
mergeUnknownFields
public final DeniedHttpResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DeniedHttpResponse.Builder>
-