Class Runtime.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.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,java.lang.Cloneable
- Enclosing class:
- Runtime
public static final class Runtime.Builder extends com.google.protobuf.GeneratedMessage.Builder<Runtime.Builder> implements RuntimeOrBuilder
Runtime :ref:`configuration overview <config_runtime>` (deprecated).
Protobuf typeenvoy.config.bootstrap.v3.Runtime
-
-
Field Summary
Fields Modifier and Type Field Description private com.google.protobuf.Structbase_private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Struct,com.google.protobuf.Struct.Builder,com.google.protobuf.StructOrBuilder>baseBuilder_private intbitField0_private java.lang.ObjectoverrideSubdirectory_private java.lang.Objectsubdirectory_private java.lang.ObjectsymlinkRoot_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Runtimebuild()RuntimebuildPartial()private voidbuildPartial0(Runtime result)Runtime.Builderclear()Runtime.BuilderclearBase()Static base runtime.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.com.google.protobuf.StructgetBase()Static base runtime.com.google.protobuf.Struct.BuildergetBaseBuilder()Static base runtime.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Struct,com.google.protobuf.Struct.Builder,com.google.protobuf.StructOrBuilder>getBaseFieldBuilder()Static base runtime.com.google.protobuf.StructOrBuildergetBaseOrBuilder()Static base runtime.RuntimegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.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.java.lang.StringgetSubdirectory()Specifies the subdirectory to load within the root directory.com.google.protobuf.ByteStringgetSubdirectoryBytes()Specifies the subdirectory to load within the root directory.java.lang.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.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()private voidmaybeForceBuilderInitialization()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.BuildersetBase(com.google.protobuf.Struct value)Static base runtime.Runtime.BuildersetBase(com.google.protobuf.Struct.Builder builderForValue)Static base runtime.Runtime.BuildersetOverrideSubdirectory(java.lang.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.BuildersetSubdirectory(java.lang.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(java.lang.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.-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, 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
-
-
-
-
Field Detail
-
bitField0_
private int bitField0_
-
symlinkRoot_
private java.lang.Object symlinkRoot_
-
subdirectory_
private java.lang.Object subdirectory_
-
overrideSubdirectory_
private java.lang.Object overrideSubdirectory_
-
base_
private com.google.protobuf.Struct base_
-
baseBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Struct,com.google.protobuf.Struct.Builder,com.google.protobuf.StructOrBuilder> baseBuilder_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Runtime.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
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.GeneratedMessage.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.GeneratedMessage.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
-
buildPartial0
private void buildPartial0(Runtime result)
-
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.GeneratedMessage.Builder<Runtime.Builder>
-
mergeFrom
public Runtime.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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:
java.io.IOException
-
getSymlinkRoot
public java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.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(java.lang.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
-
getBaseFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Struct,com.google.protobuf.Struct.Builder,com.google.protobuf.StructOrBuilder> getBaseFieldBuilder()
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;
-
-