Class RuntimeLayer.DiskLayer.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- 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
,java.lang.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 typeenvoy.config.bootstrap.v3.RuntimeLayer.DiskLayer
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
appendServiceCluster_
private int
bitField0_
private java.lang.Object
subdirectory_
private java.lang.Object
symlinkRoot_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RuntimeLayer.DiskLayer
build()
RuntimeLayer.DiskLayer
buildPartial()
private void
buildPartial0(RuntimeLayer.DiskLayer result)
RuntimeLayer.DiskLayer.Builder
clear()
RuntimeLayer.DiskLayer.Builder
clearAppendServiceCluster()
:ref:`Append <config_runtime_local_disk_service_cluster_subdirs>` the service cluster to the path under symlink root.RuntimeLayer.DiskLayer.Builder
clearSubdirectory()
Specifies the subdirectory to load within the root directory.RuntimeLayer.DiskLayer.Builder
clearSymlinkRoot()
The implementation assumes that the file system tree is accessed via a symbolic link.boolean
getAppendServiceCluster()
:ref:`Append <config_runtime_local_disk_service_cluster_subdirs>` the service cluster to the path under symlink root.RuntimeLayer.DiskLayer
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getSubdirectory()
Specifies the subdirectory to load within the root directory.com.google.protobuf.ByteString
getSubdirectoryBytes()
Specifies the subdirectory to load within the root directory.java.lang.String
getSymlinkRoot()
The implementation assumes that the file system tree is accessed via a symbolic link.com.google.protobuf.ByteString
getSymlinkRootBytes()
The implementation assumes that the file system tree is accessed via a symbolic link.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
RuntimeLayer.DiskLayer.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RuntimeLayer.DiskLayer.Builder
mergeFrom(com.google.protobuf.Message other)
RuntimeLayer.DiskLayer.Builder
mergeFrom(RuntimeLayer.DiskLayer other)
RuntimeLayer.DiskLayer.Builder
setAppendServiceCluster(boolean value)
:ref:`Append <config_runtime_local_disk_service_cluster_subdirs>` the service cluster to the path under symlink root.RuntimeLayer.DiskLayer.Builder
setSubdirectory(java.lang.String value)
Specifies the subdirectory to load within the root directory.RuntimeLayer.DiskLayer.Builder
setSubdirectoryBytes(com.google.protobuf.ByteString value)
Specifies the subdirectory to load within the root directory.RuntimeLayer.DiskLayer.Builder
setSymlinkRoot(java.lang.String value)
The implementation assumes that the file system tree is accessed via a symbolic link.RuntimeLayer.DiskLayer.Builder
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
-
-
-
-
Method Detail
-
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
public 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
public RuntimeLayer.DiskLayer getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public RuntimeLayer.DiskLayer build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RuntimeLayer.DiskLayer buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
private void buildPartial0(RuntimeLayer.DiskLayer result)
-
mergeFrom
public RuntimeLayer.DiskLayer.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RuntimeLayer.DiskLayer.Builder>
-
mergeFrom
public RuntimeLayer.DiskLayer.Builder mergeFrom(RuntimeLayer.DiskLayer other)
-
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 java.io.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:
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. 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
public RuntimeLayer.DiskLayer.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. 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
public RuntimeLayer.DiskLayer.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. 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
public RuntimeLayer.DiskLayer.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. 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
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 = 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
public RuntimeLayer.DiskLayer.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 = 3;
- Parameters:
value
- The subdirectory to set.- Returns:
- This builder for chaining.
-
clearSubdirectory
public RuntimeLayer.DiskLayer.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 = 3;
- Returns:
- This builder for chaining.
-
setSubdirectoryBytes
public RuntimeLayer.DiskLayer.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 = 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
public RuntimeLayer.DiskLayer.Builder setAppendServiceCluster(boolean value)
: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
public RuntimeLayer.DiskLayer.Builder 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.
-
-