All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.envoyproxy.envoy.api.v2.route.DirectResponseActionOrBuilder Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: envoy/api/v2/route/route_components.proto

package io.envoyproxy.envoy.api.v2.route;

public interface DirectResponseActionOrBuilder extends
    // @@protoc_insertion_point(interface_extends:envoy.api.v2.route.DirectResponseAction)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * Specifies the HTTP response status to be returned.
   * 
* * uint32 status = 1 [(.validate.rules) = { ... } * @return The status. */ int getStatus(); /** *
   * Specifies the content of the response body. If this setting is omitted,
   * no body is included in the generated response.
   * .. note::
   *   Headers can be specified using *response_headers_to_add* in the enclosing
   *   :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_RouteConfiguration` or
   *   :ref:`envoy_api_msg_route.VirtualHost`.
   * 
* * .envoy.api.v2.core.DataSource body = 2; * @return Whether the body field is set. */ boolean hasBody(); /** *
   * Specifies the content of the response body. If this setting is omitted,
   * no body is included in the generated response.
   * .. note::
   *   Headers can be specified using *response_headers_to_add* in the enclosing
   *   :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_RouteConfiguration` or
   *   :ref:`envoy_api_msg_route.VirtualHost`.
   * 
* * .envoy.api.v2.core.DataSource body = 2; * @return The body. */ io.envoyproxy.envoy.api.v2.core.DataSource getBody(); /** *
   * Specifies the content of the response body. If this setting is omitted,
   * no body is included in the generated response.
   * .. note::
   *   Headers can be specified using *response_headers_to_add* in the enclosing
   *   :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_RouteConfiguration` or
   *   :ref:`envoy_api_msg_route.VirtualHost`.
   * 
* * .envoy.api.v2.core.DataSource body = 2; */ io.envoyproxy.envoy.api.v2.core.DataSourceOrBuilder getBodyOrBuilder(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy