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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getName()
The name of the overload action.com.google.protobuf.ByteString
getNameBytes()
The name of the overload action.Trigger
getTriggers(int index)
A set of triggers for this action.int
getTriggersCount()
A set of triggers for this action.java.util.List<Trigger>
getTriggersList()
A set of triggers for this action.TriggerOrBuilder
getTriggersOrBuilder(int index)
A set of triggers for this action.java.util.List<? extends TriggerOrBuilder>
getTriggersOrBuilderList()
A set of triggers for this action.com.google.protobuf.Any
getTypedConfig()
Configuration for the action being instantiated.com.google.protobuf.AnyOrBuilder
getTypedConfigOrBuilder()
Configuration for the action being instantiated.boolean
hasTypedConfig()
Configuration for the action being instantiated.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
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) = { ... }
- 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
java.util.List<Trigger> 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
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) = { ... }
-
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
java.util.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
TriggerOrBuilder getTriggersOrBuilder(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) = { ... }
-
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;
-
-