Class Runtime.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Runtime.Builder>
-
- io.envoyproxy.envoy.config.bootstrap.v3.Runtime.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RuntimeOrBuilder,Cloneable
- Enclosing class:
- Runtime
public static final class Runtime.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Runtime.Builder> implements RuntimeOrBuilder
Runtime :ref:`configuration overview <config_runtime>` (deprecated).
Protobuf typeenvoy.config.bootstrap.v3.Runtime
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Runtime.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Runtimebuild()RuntimebuildPartial()Runtime.Builderclear()Runtime.BuilderclearBase()Static base runtime.Runtime.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Runtime.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Runtime.BuilderclearOverrideSubdirectory()Specifies an optional subdirectory to load within the root directory.Runtime.BuilderclearSubdirectory()Specifies the subdirectory to load within the root directory.Runtime.BuilderclearSymlinkRoot()The implementation assumes that the file system tree is accessed via a symbolic link.Runtime.Builderclone()com.google.protobuf.StructgetBase()Static base runtime.com.google.protobuf.Struct.BuildergetBaseBuilder()Static base runtime.com.google.protobuf.StructOrBuildergetBaseOrBuilder()Static base runtime.RuntimegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetOverrideSubdirectory()Specifies an optional subdirectory to load within the root directory.com.google.protobuf.ByteStringgetOverrideSubdirectoryBytes()Specifies an optional subdirectory to load within the root directory.StringgetSubdirectory()Specifies the subdirectory to load within the root directory.com.google.protobuf.ByteStringgetSubdirectoryBytes()Specifies the subdirectory to load within the root directory.StringgetSymlinkRoot()The implementation assumes that the file system tree is accessed via a symbolic link.com.google.protobuf.ByteStringgetSymlinkRootBytes()The implementation assumes that the file system tree is accessed via a symbolic link.booleanhasBase()Static base runtime.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Runtime.BuildermergeBase(com.google.protobuf.Struct value)Static base runtime.Runtime.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Runtime.BuildermergeFrom(com.google.protobuf.Message other)Runtime.BuildermergeFrom(Runtime other)Runtime.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Runtime.BuildersetBase(com.google.protobuf.Struct value)Static base runtime.Runtime.BuildersetBase(com.google.protobuf.Struct.Builder builderForValue)Static base runtime.Runtime.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Runtime.BuildersetOverrideSubdirectory(String value)Specifies an optional subdirectory to load within the root directory.Runtime.BuildersetOverrideSubdirectoryBytes(com.google.protobuf.ByteString value)Specifies an optional subdirectory to load within the root directory.Runtime.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Runtime.BuildersetSubdirectory(String value)Specifies the subdirectory to load within the root directory.Runtime.BuildersetSubdirectoryBytes(com.google.protobuf.ByteString value)Specifies the subdirectory to load within the root directory.Runtime.BuildersetSymlinkRoot(String value)The implementation assumes that the file system tree is accessed via a symbolic link.Runtime.BuildersetSymlinkRootBytes(com.google.protobuf.ByteString value)The implementation assumes that the file system tree is accessed via a symbolic link.Runtime.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<Runtime.Builder>
-
clear
public Runtime.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<Runtime.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<Runtime.Builder>
-
getDefaultInstanceForType
public Runtime getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Runtime build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Runtime buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Runtime.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<Runtime.Builder>
-
setField
public Runtime.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<Runtime.Builder>
-
clearField
public Runtime.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Runtime.Builder>
-
clearOneof
public Runtime.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Runtime.Builder>
-
setRepeatedField
public Runtime.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<Runtime.Builder>
-
addRepeatedField
public Runtime.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<Runtime.Builder>
-
mergeFrom
public Runtime.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Runtime.Builder>
-
mergeFrom
public Runtime.Builder mergeFrom(Runtime other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Runtime.Builder>
-
mergeFrom
public Runtime.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<Runtime.Builder>- Throws:
IOException
-
getSymlinkRoot
public String getSymlinkRoot()
The implementation assumes that the file system tree is accessed via a symbolic link. An atomic link swap is used when a new tree should be switched to. This parameter specifies the path to the symbolic link. Envoy will watch the location for changes and reload the file system tree when they happen. If this parameter is not set, there will be no disk based runtime.
string symlink_root = 1;- Specified by:
getSymlinkRootin interfaceRuntimeOrBuilder- Returns:
- The symlinkRoot.
-
getSymlinkRootBytes
public com.google.protobuf.ByteString getSymlinkRootBytes()
The implementation assumes that the file system tree is accessed via a symbolic link. An atomic link swap is used when a new tree should be switched to. This parameter specifies the path to the symbolic link. Envoy will watch the location for changes and reload the file system tree when they happen. If this parameter is not set, there will be no disk based runtime.
string symlink_root = 1;- Specified by:
getSymlinkRootBytesin interfaceRuntimeOrBuilder- Returns:
- The bytes for symlinkRoot.
-
setSymlinkRoot
public Runtime.Builder setSymlinkRoot(String value)
The implementation assumes that the file system tree is accessed via a symbolic link. An atomic link swap is used when a new tree should be switched to. This parameter specifies the path to the symbolic link. Envoy will watch the location for changes and reload the file system tree when they happen. If this parameter is not set, there will be no disk based runtime.
string symlink_root = 1;- Parameters:
value- The symlinkRoot to set.- Returns:
- This builder for chaining.
-
clearSymlinkRoot
public Runtime.Builder clearSymlinkRoot()
The implementation assumes that the file system tree is accessed via a symbolic link. An atomic link swap is used when a new tree should be switched to. This parameter specifies the path to the symbolic link. Envoy will watch the location for changes and reload the file system tree when they happen. If this parameter is not set, there will be no disk based runtime.
string symlink_root = 1;- Returns:
- This builder for chaining.
-
setSymlinkRootBytes
public Runtime.Builder setSymlinkRootBytes(com.google.protobuf.ByteString value)
The implementation assumes that the file system tree is accessed via a symbolic link. An atomic link swap is used when a new tree should be switched to. This parameter specifies the path to the symbolic link. Envoy will watch the location for changes and reload the file system tree when they happen. If this parameter is not set, there will be no disk based runtime.
string symlink_root = 1;- Parameters:
value- The bytes for symlinkRoot to set.- Returns:
- This builder for chaining.
-
getSubdirectory
public String getSubdirectory()
Specifies the subdirectory to load within the root directory. This is useful if multiple systems share the same delivery mechanism. Envoy configuration elements can be contained in a dedicated subdirectory.
string subdirectory = 2;- Specified by:
getSubdirectoryin interfaceRuntimeOrBuilder- Returns:
- The subdirectory.
-
getSubdirectoryBytes
public com.google.protobuf.ByteString getSubdirectoryBytes()
Specifies the subdirectory to load within the root directory. This is useful if multiple systems share the same delivery mechanism. Envoy configuration elements can be contained in a dedicated subdirectory.
string subdirectory = 2;- Specified by:
getSubdirectoryBytesin interfaceRuntimeOrBuilder- Returns:
- The bytes for subdirectory.
-
setSubdirectory
public Runtime.Builder setSubdirectory(String value)
Specifies the subdirectory to load within the root directory. This is useful if multiple systems share the same delivery mechanism. Envoy configuration elements can be contained in a dedicated subdirectory.
string subdirectory = 2;- Parameters:
value- The subdirectory to set.- Returns:
- This builder for chaining.
-
clearSubdirectory
public Runtime.Builder clearSubdirectory()
Specifies the subdirectory to load within the root directory. This is useful if multiple systems share the same delivery mechanism. Envoy configuration elements can be contained in a dedicated subdirectory.
string subdirectory = 2;- Returns:
- This builder for chaining.
-
setSubdirectoryBytes
public Runtime.Builder setSubdirectoryBytes(com.google.protobuf.ByteString value)
Specifies the subdirectory to load within the root directory. This is useful if multiple systems share the same delivery mechanism. Envoy configuration elements can be contained in a dedicated subdirectory.
string subdirectory = 2;- Parameters:
value- The bytes for subdirectory to set.- Returns:
- This builder for chaining.
-
getOverrideSubdirectory
public String getOverrideSubdirectory()
Specifies an optional subdirectory to load within the root directory. If specified and the directory exists, configuration values within this directory will override those found in the primary subdirectory. This is useful when Envoy is deployed across many different types of servers. Sometimes it is useful to have a per service cluster directory for runtime configuration. See below for exactly how the override directory is used.
string override_subdirectory = 3;- Specified by:
getOverrideSubdirectoryin interfaceRuntimeOrBuilder- Returns:
- The overrideSubdirectory.
-
getOverrideSubdirectoryBytes
public com.google.protobuf.ByteString getOverrideSubdirectoryBytes()
Specifies an optional subdirectory to load within the root directory. If specified and the directory exists, configuration values within this directory will override those found in the primary subdirectory. This is useful when Envoy is deployed across many different types of servers. Sometimes it is useful to have a per service cluster directory for runtime configuration. See below for exactly how the override directory is used.
string override_subdirectory = 3;- Specified by:
getOverrideSubdirectoryBytesin interfaceRuntimeOrBuilder- Returns:
- The bytes for overrideSubdirectory.
-
setOverrideSubdirectory
public Runtime.Builder setOverrideSubdirectory(String value)
Specifies an optional subdirectory to load within the root directory. If specified and the directory exists, configuration values within this directory will override those found in the primary subdirectory. This is useful when Envoy is deployed across many different types of servers. Sometimes it is useful to have a per service cluster directory for runtime configuration. See below for exactly how the override directory is used.
string override_subdirectory = 3;- Parameters:
value- The overrideSubdirectory to set.- Returns:
- This builder for chaining.
-
clearOverrideSubdirectory
public Runtime.Builder clearOverrideSubdirectory()
Specifies an optional subdirectory to load within the root directory. If specified and the directory exists, configuration values within this directory will override those found in the primary subdirectory. This is useful when Envoy is deployed across many different types of servers. Sometimes it is useful to have a per service cluster directory for runtime configuration. See below for exactly how the override directory is used.
string override_subdirectory = 3;- Returns:
- This builder for chaining.
-
setOverrideSubdirectoryBytes
public Runtime.Builder setOverrideSubdirectoryBytes(com.google.protobuf.ByteString value)
Specifies an optional subdirectory to load within the root directory. If specified and the directory exists, configuration values within this directory will override those found in the primary subdirectory. This is useful when Envoy is deployed across many different types of servers. Sometimes it is useful to have a per service cluster directory for runtime configuration. See below for exactly how the override directory is used.
string override_subdirectory = 3;- Parameters:
value- The bytes for overrideSubdirectory to set.- Returns:
- This builder for chaining.
-
hasBase
public boolean hasBase()
Static base runtime. This will be :ref:`overridden <config_runtime_layering>` by other runtime layers, e.g. disk or admin. This follows the :ref:`runtime protobuf JSON representation encoding <config_runtime_proto_json>`.
.google.protobuf.Struct base = 4;- Specified by:
hasBasein interfaceRuntimeOrBuilder- Returns:
- Whether the base field is set.
-
getBase
public com.google.protobuf.Struct getBase()
Static base runtime. This will be :ref:`overridden <config_runtime_layering>` by other runtime layers, e.g. disk or admin. This follows the :ref:`runtime protobuf JSON representation encoding <config_runtime_proto_json>`.
.google.protobuf.Struct base = 4;- Specified by:
getBasein interfaceRuntimeOrBuilder- Returns:
- The base.
-
setBase
public Runtime.Builder setBase(com.google.protobuf.Struct value)
Static base runtime. This will be :ref:`overridden <config_runtime_layering>` by other runtime layers, e.g. disk or admin. This follows the :ref:`runtime protobuf JSON representation encoding <config_runtime_proto_json>`.
.google.protobuf.Struct base = 4;
-
setBase
public Runtime.Builder setBase(com.google.protobuf.Struct.Builder builderForValue)
Static base runtime. This will be :ref:`overridden <config_runtime_layering>` by other runtime layers, e.g. disk or admin. This follows the :ref:`runtime protobuf JSON representation encoding <config_runtime_proto_json>`.
.google.protobuf.Struct base = 4;
-
mergeBase
public Runtime.Builder mergeBase(com.google.protobuf.Struct value)
Static base runtime. This will be :ref:`overridden <config_runtime_layering>` by other runtime layers, e.g. disk or admin. This follows the :ref:`runtime protobuf JSON representation encoding <config_runtime_proto_json>`.
.google.protobuf.Struct base = 4;
-
clearBase
public Runtime.Builder clearBase()
Static base runtime. This will be :ref:`overridden <config_runtime_layering>` by other runtime layers, e.g. disk or admin. This follows the :ref:`runtime protobuf JSON representation encoding <config_runtime_proto_json>`.
.google.protobuf.Struct base = 4;
-
getBaseBuilder
public com.google.protobuf.Struct.Builder getBaseBuilder()
Static base runtime. This will be :ref:`overridden <config_runtime_layering>` by other runtime layers, e.g. disk or admin. This follows the :ref:`runtime protobuf JSON representation encoding <config_runtime_proto_json>`.
.google.protobuf.Struct base = 4;
-
getBaseOrBuilder
public com.google.protobuf.StructOrBuilder getBaseOrBuilder()
Static base runtime. This will be :ref:`overridden <config_runtime_layering>` by other runtime layers, e.g. disk or admin. This follows the :ref:`runtime protobuf JSON representation encoding <config_runtime_proto_json>`.
.google.protobuf.Struct base = 4;- Specified by:
getBaseOrBuilderin interfaceRuntimeOrBuilder
-
setUnknownFields
public final Runtime.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Runtime.Builder>
-
mergeUnknownFields
public final Runtime.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Runtime.Builder>
-
-