Class 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 type envoy.config.bootstrap.v3.RuntimeLayer.DiskLayer
    • Field Detail

      • bitField0_

        private int bitField0_
      • symlinkRoot_

        private java.lang.Object symlinkRoot_
      • subdirectory_

        private java.lang.Object subdirectory_
      • appendServiceCluster_

        private boolean appendServiceCluster_
    • Constructor Detail

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.AbstractMessage.BuilderParent parent)
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RuntimeLayer.DiskLayer.Builder>
      • clear

        public RuntimeLayer.DiskLayer.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessage.Builder<RuntimeLayer.DiskLayer.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<RuntimeLayer.DiskLayer.Builder>
      • getDefaultInstanceForType

        public RuntimeLayer.DiskLayer getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public RuntimeLayer.DiskLayer build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public RuntimeLayer.DiskLayer buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.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 interface RuntimeLayer.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 interface RuntimeLayer.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 interface RuntimeLayer.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 interface RuntimeLayer.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 interface RuntimeLayer.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.