io.envoyproxy.envoy.service.auth.v3.DeniedHttpResponseOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/service/auth/v3/external_auth.proto
package io.envoyproxy.envoy.service.auth.v3;
public interface DeniedHttpResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:envoy.service.auth.v3.DeniedHttpResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* This field allows the authorization service to send an HTTP response status code to the
* downstream client. If not set, Envoy sends ``403 Forbidden`` HTTP status code by default.
*
*
* .envoy.type.v3.HttpStatus status = 1;
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
*
* This field allows the authorization service to send an HTTP response status code to the
* downstream client. If not set, Envoy sends ``403 Forbidden`` HTTP status code by default.
*
*
* .envoy.type.v3.HttpStatus status = 1;
* @return The status.
*/
io.envoyproxy.envoy.type.v3.HttpStatus getStatus();
/**
*
* This field allows the authorization service to send an HTTP response status code to the
* downstream client. If not set, Envoy sends ``403 Forbidden`` HTTP status code by default.
*
*
* .envoy.type.v3.HttpStatus status = 1;
*/
io.envoyproxy.envoy.type.v3.HttpStatusOrBuilder getStatusOrBuilder();
/**
*
* This field allows the authorization service to send HTTP response headers
* to the downstream client. 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 headers = 2;
*/
java.util.List
getHeadersList();
/**
*
* This field allows the authorization service to send HTTP response headers
* to the downstream client. 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 headers = 2;
*/
io.envoyproxy.envoy.config.core.v3.HeaderValueOption getHeaders(int index);
/**
*
* This field allows the authorization service to send HTTP response headers
* to the downstream client. 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 headers = 2;
*/
int getHeadersCount();
/**
*
* This field allows the authorization service to send HTTP response headers
* to the downstream client. 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 headers = 2;
*/
java.util.List extends io.envoyproxy.envoy.config.core.v3.HeaderValueOptionOrBuilder>
getHeadersOrBuilderList();
/**
*
* This field allows the authorization service to send HTTP response headers
* to the downstream client. 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 headers = 2;
*/
io.envoyproxy.envoy.config.core.v3.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();
}