Class OverloadAction.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<OverloadAction.Builder>
-
- io.envoyproxy.envoy.config.overload.v3.OverloadAction.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,OverloadActionOrBuilder,Cloneable
- Enclosing class:
- OverloadAction
public static final class OverloadAction.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<OverloadAction.Builder> implements OverloadActionOrBuilder
Protobuf typeenvoy.config.overload.v3.OverloadAction
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OverloadAction.BuilderaddAllTriggers(Iterable<? extends Trigger> values)A set of triggers for this action.OverloadAction.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)OverloadAction.BuilderaddTriggers(int index, Trigger value)A set of triggers for this action.OverloadAction.BuilderaddTriggers(int index, Trigger.Builder builderForValue)A set of triggers for this action.OverloadAction.BuilderaddTriggers(Trigger value)A set of triggers for this action.OverloadAction.BuilderaddTriggers(Trigger.Builder builderForValue)A set of triggers for this action.Trigger.BuilderaddTriggersBuilder()A set of triggers for this action.Trigger.BuilderaddTriggersBuilder(int index)A set of triggers for this action.OverloadActionbuild()OverloadActionbuildPartial()OverloadAction.Builderclear()OverloadAction.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)OverloadAction.BuilderclearName()The name of the overload action.OverloadAction.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)OverloadAction.BuilderclearTriggers()A set of triggers for this action.OverloadAction.BuilderclearTypedConfig()Configuration for the action being instantiated.OverloadAction.Builderclone()OverloadActiongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetName()The name of the overload action.com.google.protobuf.ByteStringgetNameBytes()The name of the overload action.TriggergetTriggers(int index)A set of triggers for this action.Trigger.BuildergetTriggersBuilder(int index)A set of triggers for this action.List<Trigger.Builder>getTriggersBuilderList()A set of triggers for this action.intgetTriggersCount()A set of triggers for this action.List<Trigger>getTriggersList()A set of triggers for this action.TriggerOrBuildergetTriggersOrBuilder(int index)A set of triggers for this action.List<? extends TriggerOrBuilder>getTriggersOrBuilderList()A set of triggers for this action.com.google.protobuf.AnygetTypedConfig()Configuration for the action being instantiated.com.google.protobuf.Any.BuildergetTypedConfigBuilder()Configuration for the action being instantiated.com.google.protobuf.AnyOrBuildergetTypedConfigOrBuilder()Configuration for the action being instantiated.booleanhasTypedConfig()Configuration for the action being instantiated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()OverloadAction.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)OverloadAction.BuildermergeFrom(com.google.protobuf.Message other)OverloadAction.BuildermergeFrom(OverloadAction other)OverloadAction.BuildermergeTypedConfig(com.google.protobuf.Any value)Configuration for the action being instantiated.OverloadAction.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)OverloadAction.BuilderremoveTriggers(int index)A set of triggers for this action.OverloadAction.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)OverloadAction.BuildersetName(String value)The name of the overload action.OverloadAction.BuildersetNameBytes(com.google.protobuf.ByteString value)The name of the overload action.OverloadAction.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)OverloadAction.BuildersetTriggers(int index, Trigger value)A set of triggers for this action.OverloadAction.BuildersetTriggers(int index, Trigger.Builder builderForValue)A set of triggers for this action.OverloadAction.BuildersetTypedConfig(com.google.protobuf.Any value)Configuration for the action being instantiated.OverloadAction.BuildersetTypedConfig(com.google.protobuf.Any.Builder builderForValue)Configuration for the action being instantiated.OverloadAction.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<OverloadAction.Builder>
-
clear
public OverloadAction.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<OverloadAction.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<OverloadAction.Builder>
-
getDefaultInstanceForType
public OverloadAction getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public OverloadAction build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public OverloadAction buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public OverloadAction.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<OverloadAction.Builder>
-
setField
public OverloadAction.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OverloadAction.Builder>
-
clearField
public OverloadAction.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OverloadAction.Builder>
-
clearOneof
public OverloadAction.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<OverloadAction.Builder>
-
setRepeatedField
public OverloadAction.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OverloadAction.Builder>
-
addRepeatedField
public OverloadAction.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OverloadAction.Builder>
-
mergeFrom
public OverloadAction.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OverloadAction.Builder>
-
mergeFrom
public OverloadAction.Builder mergeFrom(OverloadAction other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<OverloadAction.Builder>
-
mergeFrom
public OverloadAction.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OverloadAction.Builder>- Throws:
IOException
-
getName
public 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) = { ... }- Specified by:
getNamein interfaceOverloadActionOrBuilder- Returns:
- The name.
-
getNameBytes
public 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) = { ... }- Specified by:
getNameBytesin interfaceOverloadActionOrBuilder- Returns:
- The bytes for name.
-
setName
public OverloadAction.Builder setName(String value)
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) = { ... }- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public OverloadAction.Builder clearName()
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:
- This builder for chaining.
-
setNameBytes
public OverloadAction.Builder setNameBytes(com.google.protobuf.ByteString value)
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) = { ... }- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getTriggersList
public 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 scaling between 0 and 1 or saturated. Listeners are notified when the overload action changes state.
repeated .envoy.config.overload.v3.Trigger triggers = 2 [(.validate.rules) = { ... }- Specified by:
getTriggersListin interfaceOverloadActionOrBuilder
-
getTriggersCount
public int getTriggersCount()
A set of triggers for this action. The state of the action is the maximum state of all triggers, which can be scaling between 0 and 1 or saturated. Listeners are notified when the overload action changes state.
repeated .envoy.config.overload.v3.Trigger triggers = 2 [(.validate.rules) = { ... }- Specified by:
getTriggersCountin interfaceOverloadActionOrBuilder
-
getTriggers
public 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 scaling between 0 and 1 or saturated. Listeners are notified when the overload action changes state.
repeated .envoy.config.overload.v3.Trigger triggers = 2 [(.validate.rules) = { ... }- Specified by:
getTriggersin interfaceOverloadActionOrBuilder
-
setTriggers
public OverloadAction.Builder setTriggers(int index, Trigger value)
A set of triggers for this action. The state of the action is the maximum state of all triggers, which can be scaling between 0 and 1 or saturated. Listeners are notified when the overload action changes state.
repeated .envoy.config.overload.v3.Trigger triggers = 2 [(.validate.rules) = { ... }
-
setTriggers
public OverloadAction.Builder setTriggers(int index, Trigger.Builder builderForValue)
A set of triggers for this action. The state of the action is the maximum state of all triggers, which can be scaling between 0 and 1 or saturated. Listeners are notified when the overload action changes state.
repeated .envoy.config.overload.v3.Trigger triggers = 2 [(.validate.rules) = { ... }
-
addTriggers
public OverloadAction.Builder addTriggers(Trigger value)
A set of triggers for this action. The state of the action is the maximum state of all triggers, which can be scaling between 0 and 1 or saturated. Listeners are notified when the overload action changes state.
repeated .envoy.config.overload.v3.Trigger triggers = 2 [(.validate.rules) = { ... }
-
addTriggers
public OverloadAction.Builder addTriggers(int index, Trigger value)
A set of triggers for this action. The state of the action is the maximum state of all triggers, which can be scaling between 0 and 1 or saturated. Listeners are notified when the overload action changes state.
repeated .envoy.config.overload.v3.Trigger triggers = 2 [(.validate.rules) = { ... }
-
addTriggers
public OverloadAction.Builder addTriggers(Trigger.Builder builderForValue)
A set of triggers for this action. The state of the action is the maximum state of all triggers, which can be scaling between 0 and 1 or saturated. Listeners are notified when the overload action changes state.
repeated .envoy.config.overload.v3.Trigger triggers = 2 [(.validate.rules) = { ... }
-
addTriggers
public OverloadAction.Builder addTriggers(int index, Trigger.Builder builderForValue)
A set of triggers for this action. The state of the action is the maximum state of all triggers, which can be scaling between 0 and 1 or saturated. Listeners are notified when the overload action changes state.
repeated .envoy.config.overload.v3.Trigger triggers = 2 [(.validate.rules) = { ... }
-
addAllTriggers
public OverloadAction.Builder addAllTriggers(Iterable<? extends Trigger> values)
A set of triggers for this action. The state of the action is the maximum state of all triggers, which can be scaling between 0 and 1 or saturated. Listeners are notified when the overload action changes state.
repeated .envoy.config.overload.v3.Trigger triggers = 2 [(.validate.rules) = { ... }
-
clearTriggers
public OverloadAction.Builder clearTriggers()
A set of triggers for this action. The state of the action is the maximum state of all triggers, which can be scaling between 0 and 1 or saturated. Listeners are notified when the overload action changes state.
repeated .envoy.config.overload.v3.Trigger triggers = 2 [(.validate.rules) = { ... }
-
removeTriggers
public OverloadAction.Builder removeTriggers(int index)
A set of triggers for this action. The state of the action is the maximum state of all triggers, which can be scaling between 0 and 1 or saturated. Listeners are notified when the overload action changes state.
repeated .envoy.config.overload.v3.Trigger triggers = 2 [(.validate.rules) = { ... }
-
getTriggersBuilder
public Trigger.Builder getTriggersBuilder(int index)
A set of triggers for this action. The state of the action is the maximum state of all triggers, which can be scaling between 0 and 1 or saturated. Listeners are notified when the overload action changes state.
repeated .envoy.config.overload.v3.Trigger triggers = 2 [(.validate.rules) = { ... }
-
getTriggersOrBuilder
public 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 scaling between 0 and 1 or saturated. Listeners are notified when the overload action changes state.
repeated .envoy.config.overload.v3.Trigger triggers = 2 [(.validate.rules) = { ... }- Specified by:
getTriggersOrBuilderin interfaceOverloadActionOrBuilder
-
getTriggersOrBuilderList
public 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 scaling between 0 and 1 or saturated. Listeners are notified when the overload action changes state.
repeated .envoy.config.overload.v3.Trigger triggers = 2 [(.validate.rules) = { ... }- Specified by:
getTriggersOrBuilderListin interfaceOverloadActionOrBuilder
-
addTriggersBuilder
public Trigger.Builder addTriggersBuilder()
A set of triggers for this action. The state of the action is the maximum state of all triggers, which can be scaling between 0 and 1 or saturated. Listeners are notified when the overload action changes state.
repeated .envoy.config.overload.v3.Trigger triggers = 2 [(.validate.rules) = { ... }
-
addTriggersBuilder
public Trigger.Builder addTriggersBuilder(int index)
A set of triggers for this action. The state of the action is the maximum state of all triggers, which can be scaling between 0 and 1 or saturated. Listeners are notified when the overload action changes state.
repeated .envoy.config.overload.v3.Trigger triggers = 2 [(.validate.rules) = { ... }
-
getTriggersBuilderList
public List<Trigger.Builder> getTriggersBuilderList()
A set of triggers for this action. The state of the action is the maximum state of all triggers, which can be scaling between 0 and 1 or saturated. Listeners are notified when the overload action changes state.
repeated .envoy.config.overload.v3.Trigger triggers = 2 [(.validate.rules) = { ... }
-
hasTypedConfig
public boolean hasTypedConfig()
Configuration for the action being instantiated.
.google.protobuf.Any typed_config = 3;- Specified by:
hasTypedConfigin interfaceOverloadActionOrBuilder- Returns:
- Whether the typedConfig field is set.
-
getTypedConfig
public com.google.protobuf.Any getTypedConfig()
Configuration for the action being instantiated.
.google.protobuf.Any typed_config = 3;- Specified by:
getTypedConfigin interfaceOverloadActionOrBuilder- Returns:
- The typedConfig.
-
setTypedConfig
public OverloadAction.Builder setTypedConfig(com.google.protobuf.Any value)
Configuration for the action being instantiated.
.google.protobuf.Any typed_config = 3;
-
setTypedConfig
public OverloadAction.Builder setTypedConfig(com.google.protobuf.Any.Builder builderForValue)
Configuration for the action being instantiated.
.google.protobuf.Any typed_config = 3;
-
mergeTypedConfig
public OverloadAction.Builder mergeTypedConfig(com.google.protobuf.Any value)
Configuration for the action being instantiated.
.google.protobuf.Any typed_config = 3;
-
clearTypedConfig
public OverloadAction.Builder clearTypedConfig()
Configuration for the action being instantiated.
.google.protobuf.Any typed_config = 3;
-
getTypedConfigBuilder
public com.google.protobuf.Any.Builder getTypedConfigBuilder()
Configuration for the action being instantiated.
.google.protobuf.Any typed_config = 3;
-
getTypedConfigOrBuilder
public com.google.protobuf.AnyOrBuilder getTypedConfigOrBuilder()
Configuration for the action being instantiated.
.google.protobuf.Any typed_config = 3;- Specified by:
getTypedConfigOrBuilderin interfaceOverloadActionOrBuilder
-
setUnknownFields
public final OverloadAction.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OverloadAction.Builder>
-
mergeUnknownFields
public final OverloadAction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OverloadAction.Builder>
-
-