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 void
buildPartial0
(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.Descriptor
com.google.protobuf.Descriptors.Descriptor
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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
mergeFrom
(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, 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_
-
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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<RuntimeLayer.DiskLayer.Builder>
-
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<RuntimeLayer.DiskLayer.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<RuntimeLayer.DiskLayer.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<RuntimeLayer.DiskLayer.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getSymlinkRoot
in 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:
getSymlinkRootBytes
in 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:
getSubdirectory
in 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:
getSubdirectoryBytes
in 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:
getAppendServiceCluster
in 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.
-