Class OverloadManager
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- io.envoyproxy.envoy.config.overload.v3.OverloadManager
-
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,OverloadManagerOrBuilder
,java.io.Serializable
public final class OverloadManager extends com.google.protobuf.GeneratedMessage implements OverloadManagerOrBuilder
[#next-free-field: 6]
Protobuf typeenvoy.config.overload.v3.OverloadManager
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OverloadManager.Builder
[#next-free-field: 6]-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends java.lang.Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<OverloadAction>
actions_
static int
ACTIONS_FIELD_NUMBER
private int
bitField0_
static int
BUFFER_FACTORY_CONFIG_FIELD_NUMBER
private BufferFactoryConfig
bufferFactoryConfig_
private static OverloadManager
DEFAULT_INSTANCE
static int
LOADSHED_POINTS_FIELD_NUMBER
private java.util.List<LoadShedPoint>
loadshedPoints_
private byte
memoizedIsInitialized
private static com.google.protobuf.Parser<OverloadManager>
PARSER
static int
REFRESH_INTERVAL_FIELD_NUMBER
private com.google.protobuf.Duration
refreshInterval_
static int
RESOURCE_MONITORS_FIELD_NUMBER
private java.util.List<ResourceMonitor>
resourceMonitors_
private static long
serialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description private
OverloadManager()
private
OverloadManager(com.google.protobuf.GeneratedMessage.Builder<?> builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
OverloadAction
getActions(int index)
The set of overload actions.int
getActionsCount()
The set of overload actions.java.util.List<OverloadAction>
getActionsList()
The set of overload actions.OverloadActionOrBuilder
getActionsOrBuilder(int index)
The set of overload actions.java.util.List<? extends OverloadActionOrBuilder>
getActionsOrBuilderList()
The set of overload actions.BufferFactoryConfig
getBufferFactoryConfig()
Configuration for buffer factory.BufferFactoryConfigOrBuilder
getBufferFactoryConfigOrBuilder()
Configuration for buffer factory.static OverloadManager
getDefaultInstance()
OverloadManager
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
LoadShedPoint
getLoadshedPoints(int index)
The set of load shed points.int
getLoadshedPointsCount()
The set of load shed points.java.util.List<LoadShedPoint>
getLoadshedPointsList()
The set of load shed points.LoadShedPointOrBuilder
getLoadshedPointsOrBuilder(int index)
The set of load shed points.java.util.List<? extends LoadShedPointOrBuilder>
getLoadshedPointsOrBuilderList()
The set of load shed points.com.google.protobuf.Parser<OverloadManager>
getParserForType()
com.google.protobuf.Duration
getRefreshInterval()
The interval for refreshing resource usage.com.google.protobuf.DurationOrBuilder
getRefreshIntervalOrBuilder()
The interval for refreshing resource usage.ResourceMonitor
getResourceMonitors(int index)
The set of resources to monitor.int
getResourceMonitorsCount()
The set of resources to monitor.java.util.List<ResourceMonitor>
getResourceMonitorsList()
The set of resources to monitor.ResourceMonitorOrBuilder
getResourceMonitorsOrBuilder(int index)
The set of resources to monitor.java.util.List<? extends ResourceMonitorOrBuilder>
getResourceMonitorsOrBuilderList()
The set of resources to monitor.int
getSerializedSize()
boolean
hasBufferFactoryConfig()
Configuration for buffer factory.int
hashCode()
boolean
hasRefreshInterval()
The interval for refreshing resource usage.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static OverloadManager.Builder
newBuilder()
static OverloadManager.Builder
newBuilder(OverloadManager prototype)
OverloadManager.Builder
newBuilderForType()
protected OverloadManager.Builder
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
static OverloadManager
parseDelimitedFrom(java.io.InputStream input)
static OverloadManager
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static OverloadManager
parseFrom(byte[] data)
static OverloadManager
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static OverloadManager
parseFrom(com.google.protobuf.ByteString data)
static OverloadManager
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static OverloadManager
parseFrom(com.google.protobuf.CodedInputStream input)
static OverloadManager
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static OverloadManager
parseFrom(java.io.InputStream input)
static OverloadManager
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static OverloadManager
parseFrom(java.nio.ByteBuffer data)
static OverloadManager
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<OverloadManager>
parser()
OverloadManager.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
bitField0_
private int bitField0_
-
REFRESH_INTERVAL_FIELD_NUMBER
public static final int REFRESH_INTERVAL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
refreshInterval_
private com.google.protobuf.Duration refreshInterval_
-
RESOURCE_MONITORS_FIELD_NUMBER
public static final int RESOURCE_MONITORS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
resourceMonitors_
private java.util.List<ResourceMonitor> resourceMonitors_
-
ACTIONS_FIELD_NUMBER
public static final int ACTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
actions_
private java.util.List<OverloadAction> actions_
-
LOADSHED_POINTS_FIELD_NUMBER
public static final int LOADSHED_POINTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
loadshedPoints_
private java.util.List<LoadShedPoint> loadshedPoints_
-
BUFFER_FACTORY_CONFIG_FIELD_NUMBER
public static final int BUFFER_FACTORY_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
bufferFactoryConfig_
private BufferFactoryConfig bufferFactoryConfig_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final OverloadManager DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<OverloadManager> PARSER
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage
-
hasRefreshInterval
public boolean hasRefreshInterval()
The interval for refreshing resource usage.
.google.protobuf.Duration refresh_interval = 1;
- Specified by:
hasRefreshInterval
in interfaceOverloadManagerOrBuilder
- Returns:
- Whether the refreshInterval field is set.
-
getRefreshInterval
public com.google.protobuf.Duration getRefreshInterval()
The interval for refreshing resource usage.
.google.protobuf.Duration refresh_interval = 1;
- Specified by:
getRefreshInterval
in interfaceOverloadManagerOrBuilder
- Returns:
- The refreshInterval.
-
getRefreshIntervalOrBuilder
public com.google.protobuf.DurationOrBuilder getRefreshIntervalOrBuilder()
The interval for refreshing resource usage.
.google.protobuf.Duration refresh_interval = 1;
- Specified by:
getRefreshIntervalOrBuilder
in interfaceOverloadManagerOrBuilder
-
getResourceMonitorsList
public java.util.List<ResourceMonitor> getResourceMonitorsList()
The set of resources to monitor.
repeated .envoy.config.overload.v3.ResourceMonitor resource_monitors = 2 [(.validate.rules) = { ... }
- Specified by:
getResourceMonitorsList
in interfaceOverloadManagerOrBuilder
-
getResourceMonitorsOrBuilderList
public java.util.List<? extends ResourceMonitorOrBuilder> getResourceMonitorsOrBuilderList()
The set of resources to monitor.
repeated .envoy.config.overload.v3.ResourceMonitor resource_monitors = 2 [(.validate.rules) = { ... }
- Specified by:
getResourceMonitorsOrBuilderList
in interfaceOverloadManagerOrBuilder
-
getResourceMonitorsCount
public int getResourceMonitorsCount()
The set of resources to monitor.
repeated .envoy.config.overload.v3.ResourceMonitor resource_monitors = 2 [(.validate.rules) = { ... }
- Specified by:
getResourceMonitorsCount
in interfaceOverloadManagerOrBuilder
-
getResourceMonitors
public ResourceMonitor getResourceMonitors(int index)
The set of resources to monitor.
repeated .envoy.config.overload.v3.ResourceMonitor resource_monitors = 2 [(.validate.rules) = { ... }
- Specified by:
getResourceMonitors
in interfaceOverloadManagerOrBuilder
-
getResourceMonitorsOrBuilder
public ResourceMonitorOrBuilder getResourceMonitorsOrBuilder(int index)
The set of resources to monitor.
repeated .envoy.config.overload.v3.ResourceMonitor resource_monitors = 2 [(.validate.rules) = { ... }
- Specified by:
getResourceMonitorsOrBuilder
in interfaceOverloadManagerOrBuilder
-
getActionsList
public java.util.List<OverloadAction> getActionsList()
The set of overload actions.
repeated .envoy.config.overload.v3.OverloadAction actions = 3;
- Specified by:
getActionsList
in interfaceOverloadManagerOrBuilder
-
getActionsOrBuilderList
public java.util.List<? extends OverloadActionOrBuilder> getActionsOrBuilderList()
The set of overload actions.
repeated .envoy.config.overload.v3.OverloadAction actions = 3;
- Specified by:
getActionsOrBuilderList
in interfaceOverloadManagerOrBuilder
-
getActionsCount
public int getActionsCount()
The set of overload actions.
repeated .envoy.config.overload.v3.OverloadAction actions = 3;
- Specified by:
getActionsCount
in interfaceOverloadManagerOrBuilder
-
getActions
public OverloadAction getActions(int index)
The set of overload actions.
repeated .envoy.config.overload.v3.OverloadAction actions = 3;
- Specified by:
getActions
in interfaceOverloadManagerOrBuilder
-
getActionsOrBuilder
public OverloadActionOrBuilder getActionsOrBuilder(int index)
The set of overload actions.
repeated .envoy.config.overload.v3.OverloadAction actions = 3;
- Specified by:
getActionsOrBuilder
in interfaceOverloadManagerOrBuilder
-
getLoadshedPointsList
public java.util.List<LoadShedPoint> getLoadshedPointsList()
The set of load shed points.
repeated .envoy.config.overload.v3.LoadShedPoint loadshed_points = 5;
- Specified by:
getLoadshedPointsList
in interfaceOverloadManagerOrBuilder
-
getLoadshedPointsOrBuilderList
public java.util.List<? extends LoadShedPointOrBuilder> getLoadshedPointsOrBuilderList()
The set of load shed points.
repeated .envoy.config.overload.v3.LoadShedPoint loadshed_points = 5;
- Specified by:
getLoadshedPointsOrBuilderList
in interfaceOverloadManagerOrBuilder
-
getLoadshedPointsCount
public int getLoadshedPointsCount()
The set of load shed points.
repeated .envoy.config.overload.v3.LoadShedPoint loadshed_points = 5;
- Specified by:
getLoadshedPointsCount
in interfaceOverloadManagerOrBuilder
-
getLoadshedPoints
public LoadShedPoint getLoadshedPoints(int index)
The set of load shed points.
repeated .envoy.config.overload.v3.LoadShedPoint loadshed_points = 5;
- Specified by:
getLoadshedPoints
in interfaceOverloadManagerOrBuilder
-
getLoadshedPointsOrBuilder
public LoadShedPointOrBuilder getLoadshedPointsOrBuilder(int index)
The set of load shed points.
repeated .envoy.config.overload.v3.LoadShedPoint loadshed_points = 5;
- Specified by:
getLoadshedPointsOrBuilder
in interfaceOverloadManagerOrBuilder
-
hasBufferFactoryConfig
public boolean hasBufferFactoryConfig()
Configuration for buffer factory.
.envoy.config.overload.v3.BufferFactoryConfig buffer_factory_config = 4;
- Specified by:
hasBufferFactoryConfig
in interfaceOverloadManagerOrBuilder
- Returns:
- Whether the bufferFactoryConfig field is set.
-
getBufferFactoryConfig
public BufferFactoryConfig getBufferFactoryConfig()
Configuration for buffer factory.
.envoy.config.overload.v3.BufferFactoryConfig buffer_factory_config = 4;
- Specified by:
getBufferFactoryConfig
in interfaceOverloadManagerOrBuilder
- Returns:
- The bufferFactoryConfig.
-
getBufferFactoryConfigOrBuilder
public BufferFactoryConfigOrBuilder getBufferFactoryConfigOrBuilder()
Configuration for buffer factory.
.envoy.config.overload.v3.BufferFactoryConfig buffer_factory_config = 4;
- Specified by:
getBufferFactoryConfigOrBuilder
in interfaceOverloadManagerOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessage
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessage
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static OverloadManager parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OverloadManager parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OverloadManager parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OverloadManager parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OverloadManager parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OverloadManager parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OverloadManager parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static OverloadManager parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static OverloadManager parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static OverloadManager parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static OverloadManager parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static OverloadManager parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public OverloadManager.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static OverloadManager.Builder newBuilder()
-
newBuilder
public static OverloadManager.Builder newBuilder(OverloadManager prototype)
-
toBuilder
public OverloadManager.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OverloadManager.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForType
in classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
public static OverloadManager getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<OverloadManager> parser()
-
getParserForType
public com.google.protobuf.Parser<OverloadManager> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public OverloadManager getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-