io.envoyproxy.envoy.config.overload.v3.OverloadActionOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/config/overload/v3/overload.proto
package io.envoyproxy.envoy.config.overload.v3;
public interface OverloadActionOrBuilder extends
// @@protoc_insertion_point(interface_extends:envoy.config.overload.v3.OverloadAction)
com.google.protobuf.MessageOrBuilder {
/**
*
* The name of the overload action. This is just a well-known string that listeners can
* use for registering callbacks. Custom overload actions should be named using reverse
* DNS to ensure uniqueness.
*
*
* string name = 1 [(.validate.rules) = { ... }
* @return The name.
*/
java.lang.String getName();
/**
*
* The name of the overload action. This is just a well-known string that listeners can
* use for registering callbacks. Custom overload actions should be named using reverse
* DNS to ensure uniqueness.
*
*
* string name = 1 [(.validate.rules) = { ... }
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* A set of triggers for this action. The state of the action is the maximum
* state of all triggers, which can be scalar values between 0 and 1 or
* saturated. Listeners are notified when the overload action changes state.
* An overload manager action can only have one trigger for a given resource
* e.g. :ref:`Trigger.name
* <envoy_v3_api_field_config.overload.v3.Trigger.name>` must be unique
* in this list.
*
*
* repeated .envoy.config.overload.v3.Trigger triggers = 2 [(.validate.rules) = { ... }
*/
java.util.List
getTriggersList();
/**
*
* A set of triggers for this action. The state of the action is the maximum
* state of all triggers, which can be scalar values between 0 and 1 or
* saturated. Listeners are notified when the overload action changes state.
* An overload manager action can only have one trigger for a given resource
* e.g. :ref:`Trigger.name
* <envoy_v3_api_field_config.overload.v3.Trigger.name>` must be unique
* in this list.
*
*
* repeated .envoy.config.overload.v3.Trigger triggers = 2 [(.validate.rules) = { ... }
*/
io.envoyproxy.envoy.config.overload.v3.Trigger getTriggers(int index);
/**
*
* A set of triggers for this action. The state of the action is the maximum
* state of all triggers, which can be scalar values between 0 and 1 or
* saturated. Listeners are notified when the overload action changes state.
* An overload manager action can only have one trigger for a given resource
* e.g. :ref:`Trigger.name
* <envoy_v3_api_field_config.overload.v3.Trigger.name>` must be unique
* in this list.
*
*
* repeated .envoy.config.overload.v3.Trigger triggers = 2 [(.validate.rules) = { ... }
*/
int getTriggersCount();
/**
*
* A set of triggers for this action. The state of the action is the maximum
* state of all triggers, which can be scalar values between 0 and 1 or
* saturated. Listeners are notified when the overload action changes state.
* An overload manager action can only have one trigger for a given resource
* e.g. :ref:`Trigger.name
* <envoy_v3_api_field_config.overload.v3.Trigger.name>` must be unique
* in this list.
*
*
* repeated .envoy.config.overload.v3.Trigger triggers = 2 [(.validate.rules) = { ... }
*/
java.util.List extends io.envoyproxy.envoy.config.overload.v3.TriggerOrBuilder>
getTriggersOrBuilderList();
/**
*
* A set of triggers for this action. The state of the action is the maximum
* state of all triggers, which can be scalar values between 0 and 1 or
* saturated. Listeners are notified when the overload action changes state.
* An overload manager action can only have one trigger for a given resource
* e.g. :ref:`Trigger.name
* <envoy_v3_api_field_config.overload.v3.Trigger.name>` must be unique
* in this list.
*
*
* repeated .envoy.config.overload.v3.Trigger triggers = 2 [(.validate.rules) = { ... }
*/
io.envoyproxy.envoy.config.overload.v3.TriggerOrBuilder getTriggersOrBuilder(
int index);
/**
*
* Configuration for the action being instantiated.
*
*
* .google.protobuf.Any typed_config = 3;
* @return Whether the typedConfig field is set.
*/
boolean hasTypedConfig();
/**
*
* Configuration for the action being instantiated.
*
*
* .google.protobuf.Any typed_config = 3;
* @return The typedConfig.
*/
com.google.protobuf.Any getTypedConfig();
/**
*
* Configuration for the action being instantiated.
*
*
* .google.protobuf.Any typed_config = 3;
*/
com.google.protobuf.AnyOrBuilder getTypedConfigOrBuilder();
}