Class Runtime.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Runtime.Builder>
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
,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 type
envoy.config.bootstrap.v3.Runtime
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
private void
buildPartial0
(Runtime result) clear()
Static base runtime.Specifies an optional subdirectory to load within the root directory.Specifies the subdirectory to load within the root directory.The implementation assumes that the file system tree is accessed via a symbolic link.com.google.protobuf.Struct
getBase()
Static base runtime.com.google.protobuf.Struct.Builder
Static base runtime.com.google.protobuf.StructOrBuilder
Static base runtime.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Specifies an optional subdirectory to load within the root directory.com.google.protobuf.ByteString
Specifies an optional subdirectory to load within the root directory.Specifies the subdirectory to load within the root directory.com.google.protobuf.ByteString
Specifies the subdirectory to load within the root directory.The implementation assumes that the file system tree is accessed via a symbolic link.com.google.protobuf.ByteString
The implementation assumes that the file system tree is accessed via a symbolic link.boolean
hasBase()
Static base runtime.private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> Static base runtime.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
private void
mergeBase
(com.google.protobuf.Struct value) Static base runtime.mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) setBase
(com.google.protobuf.Struct value) Static base runtime.setBase
(com.google.protobuf.Struct.Builder builderForValue) Static base runtime.setOverrideSubdirectory
(String value) Specifies an optional subdirectory to load within the root directory.setOverrideSubdirectoryBytes
(com.google.protobuf.ByteString value) Specifies an optional subdirectory to load within the root directory.setSubdirectory
(String value) Specifies the subdirectory to load within the root directory.setSubdirectoryBytes
(com.google.protobuf.ByteString value) Specifies the subdirectory to load within the root directory.setSymlinkRoot
(String value) The implementation assumes that the file system tree is accessed via a symbolic link.setSymlinkRootBytes
(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
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
bitField0_
private int bitField0_ -
symlinkRoot_
-
subdirectory_
-
overrideSubdirectory_
-
base_
private com.google.protobuf.Struct base_ -
baseBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Struct,com.google.protobuf.Struct.Builder, baseBuilder_com.google.protobuf.StructOrBuilder>
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
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.Builder<Runtime.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<Runtime.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<Runtime.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Runtime.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<Runtime.Builder>
-
mergeFrom
public Runtime.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Runtime.Builder>
- Throws:
IOException
-
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:
getSymlinkRoot
in 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:
getSymlinkRootBytes
in interfaceRuntimeOrBuilder
- Returns:
- The bytes for symlinkRoot.
-
setSymlinkRoot
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
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
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
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:
getSubdirectory
in 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:
getSubdirectoryBytes
in interfaceRuntimeOrBuilder
- Returns:
- The bytes for subdirectory.
-
setSubdirectory
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
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
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
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:
getOverrideSubdirectory
in 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:
getOverrideSubdirectoryBytes
in interfaceRuntimeOrBuilder
- Returns:
- The bytes for overrideSubdirectory.
-
setOverrideSubdirectory
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
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
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:
hasBase
in 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:
getBase
in interfaceRuntimeOrBuilder
- Returns:
- The base.
-
setBase
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
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
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
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:
getBaseOrBuilder
in interfaceRuntimeOrBuilder
-
internalGetBaseFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Struct,com.google.protobuf.Struct.Builder, internalGetBaseFieldBuilder()com.google.protobuf.StructOrBuilder> 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;
-