io.envoyproxy.envoy.service.auth.v2.DeniedHttpResponseOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/service/auth/v2/external_auth.proto
package io.envoyproxy.envoy.service.auth.v2;
public interface DeniedHttpResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:envoy.service.auth.v2.DeniedHttpResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* 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) = { ... }
* @return Whether the status field is set.
*/
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) = { ... }
* @return The status.
*/
io.envoyproxy.envoy.type.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) = { ... }
*/
io.envoyproxy.envoy.type.HttpStatusOrBuilder getStatusOrBuilder();
/**
*
* 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;
*/
java.util.List
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;
*/
io.envoyproxy.envoy.api.v2.core.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;
*/
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;
*/
java.util.List extends io.envoyproxy.envoy.api.v2.core.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;
*/
io.envoyproxy.envoy.api.v2.core.HeaderValueOptionOrBuilder getHeadersOrBuilder(
int index);
/**
*
* This field allows the authorization service to send a response body data
* to the downstream client.
*
*
* string body = 3;
* @return The body.
*/
java.lang.String getBody();
/**
*
* This field allows the authorization service to send a response body data
* to the downstream client.
*
*
* string body = 3;
* @return The bytes for body.
*/
com.google.protobuf.ByteString
getBodyBytes();
}