Interface OverloadActionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OverloadAction
,OverloadAction.Builder
public interface OverloadActionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
The name of the overload action.com.google.protobuf.ByteString
The name of the overload action.getTriggers
(int index) A set of triggers for this action.int
A set of triggers for this action.A set of triggers for this action.getTriggersOrBuilder
(int index) A set of triggers for this action.List
<? extends TriggerOrBuilder> A set of triggers for this action.com.google.protobuf.Any
Configuration for the action being instantiated.com.google.protobuf.AnyOrBuilder
Configuration for the action being instantiated.boolean
Configuration for the action being instantiated.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
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) = { ... }
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()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) = { ... }
- Returns:
- The bytes for name.
-
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) = { ... }
-
getTriggers
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) = { ... }
-
getTriggersCount
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) = { ... }
-
getTriggersOrBuilderList
List<? extends 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) = { ... }
-
getTriggersOrBuilder
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) = { ... }
-
hasTypedConfig
boolean hasTypedConfig()Configuration for the action being instantiated.
.google.protobuf.Any typed_config = 3;
- Returns:
- Whether the typedConfig field is set.
-
getTypedConfig
com.google.protobuf.Any getTypedConfig()Configuration for the action being instantiated.
.google.protobuf.Any typed_config = 3;
- Returns:
- The typedConfig.
-
getTypedConfigOrBuilder
com.google.protobuf.AnyOrBuilder getTypedConfigOrBuilder()Configuration for the action being instantiated.
.google.protobuf.Any typed_config = 3;
-