Class RuntimeLayer.DiskLayer.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<RuntimeLayer.DiskLayer.Builder>
com.google.protobuf.GeneratedMessage.Builder<RuntimeLayer.DiskLayer.Builder>
io.envoyproxy.envoy.config.bootstrap.v3.RuntimeLayer.DiskLayer.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RuntimeLayer.DiskLayerOrBuilder,Cloneable
- Enclosing class:
RuntimeLayer.DiskLayer
public static final class RuntimeLayer.DiskLayer.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RuntimeLayer.DiskLayer.Builder>
implements RuntimeLayer.DiskLayerOrBuilder
:ref:`Disk runtime <config_runtime_local_disk>` layer.Protobuf type
envoy.config.bootstrap.v3.RuntimeLayer.DiskLayer-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()private voidbuildPartial0(RuntimeLayer.DiskLayer result) clear():ref:`Append <config_runtime_local_disk_service_cluster_subdirs>` the service cluster to the path under symlink root.Specifies the subdirectory to load within the root directory.The implementation assumes that the file system tree is accessed via a symbolic link.boolean:ref:`Append <config_runtime_local_disk_service_cluster_subdirs>` the service cluster to the path under symlink root.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorSpecifies the subdirectory to load within the root directory.com.google.protobuf.ByteStringSpecifies 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.ByteStringThe implementation assumes that the file system tree is accessed via a symbolic link.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(RuntimeLayer.DiskLayer other) setAppendServiceCluster(boolean value) :ref:`Append <config_runtime_local_disk_service_cluster_subdirs>` the service cluster to the path under symlink root.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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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_
-
appendServiceCluster_
private boolean appendServiceCluster_
-
-
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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<RuntimeLayer.DiskLayer.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<RuntimeLayer.DiskLayer.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<RuntimeLayer.DiskLayer.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RuntimeLayer.DiskLayer.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RuntimeLayer.DiskLayer.Builder>
-
mergeFrom
public RuntimeLayer.DiskLayer.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<RuntimeLayer.DiskLayer.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. See documentation on runtime :ref:`atomicity <config_runtime_atomicity>` for further details on how reloads are treated.
string symlink_root = 1;- Specified by:
getSymlinkRootin interfaceRuntimeLayer.DiskLayerOrBuilder- 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. See documentation on runtime :ref:`atomicity <config_runtime_atomicity>` for further details on how reloads are treated.
string symlink_root = 1;- Specified by:
getSymlinkRootBytesin interfaceRuntimeLayer.DiskLayerOrBuilder- 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. See documentation on runtime :ref:`atomicity <config_runtime_atomicity>` for further details on how reloads are treated.
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. See documentation on runtime :ref:`atomicity <config_runtime_atomicity>` for further details on how reloads are treated.
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. See documentation on runtime :ref:`atomicity <config_runtime_atomicity>` for further details on how reloads are treated.
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 = 3;- Specified by:
getSubdirectoryin interfaceRuntimeLayer.DiskLayerOrBuilder- 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 = 3;- Specified by:
getSubdirectoryBytesin interfaceRuntimeLayer.DiskLayerOrBuilder- 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 = 3;- 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 = 3;- 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 = 3;- Parameters:
value- The bytes for subdirectory to set.- Returns:
- This builder for chaining.
-
getAppendServiceCluster
public boolean getAppendServiceCluster():ref:`Append <config_runtime_local_disk_service_cluster_subdirs>` the service cluster to the path under symlink root.
bool append_service_cluster = 2;- Specified by:
getAppendServiceClusterin interfaceRuntimeLayer.DiskLayerOrBuilder- Returns:
- The appendServiceCluster.
-
setAppendServiceCluster
:ref:`Append <config_runtime_local_disk_service_cluster_subdirs>` the service cluster to the path under symlink root.
bool append_service_cluster = 2;- Parameters:
value- The appendServiceCluster to set.- Returns:
- This builder for chaining.
-
clearAppendServiceCluster
:ref:`Append <config_runtime_local_disk_service_cluster_subdirs>` the service cluster to the path under symlink root.
bool append_service_cluster = 2;- Returns:
- This builder for chaining.
-