Class 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.GeneratedMessageV3.Builder<Runtime.Builder>
    implements RuntimeOrBuilder
     Runtime :ref:`configuration overview <config_runtime>` (deprecated).
     
    Protobuf type envoy.config.bootstrap.v3.Runtime
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Runtime.Builder>
      • clear

        public Runtime.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.GeneratedMessageV3.Builder<Runtime.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.GeneratedMessageV3.Builder<Runtime.Builder>
      • getDefaultInstanceForType

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

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

        public Runtime buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Runtime.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Runtime.Builder>
      • setField

        public Runtime.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                        Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Runtime.Builder>
      • clearField

        public Runtime.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Runtime.Builder>
      • clearOneof

        public Runtime.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Runtime.Builder>
      • setRepeatedField

        public Runtime.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                int index,
                                                Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Runtime.Builder>
      • addRepeatedField

        public Runtime.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Runtime.Builder>
      • mergeFrom

        public Runtime.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Runtime.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Runtime.Builder>
      • mergeFrom

        public Runtime.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                  throws 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<Runtime.Builder>
        Throws:
        IOException
      • getSymlinkRoot

        public 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. If this parameter is not set, there will be no disk based
         runtime.
         
        string symlink_root = 1;
        Specified by:
        getSymlinkRoot in interface RuntimeOrBuilder
        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 interface RuntimeOrBuilder
        Returns:
        The bytes for symlinkRoot.
      • setSymlinkRoot

        public Runtime.Builder setSymlinkRoot​(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. 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

        public Runtime.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. If this parameter is not set, there will be no disk based
         runtime.
         
        string symlink_root = 1;
        Returns:
        This builder for chaining.
      • setSymlinkRootBytes

        public Runtime.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. 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

        public 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 = 2;
        Specified by:
        getSubdirectory in interface RuntimeOrBuilder
        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 interface RuntimeOrBuilder
        Returns:
        The bytes for subdirectory.
      • setSubdirectory

        public Runtime.Builder setSubdirectory​(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 = 2;
        Parameters:
        value - The subdirectory to set.
        Returns:
        This builder for chaining.
      • clearSubdirectory

        public Runtime.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 = 2;
        Returns:
        This builder for chaining.
      • setSubdirectoryBytes

        public Runtime.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 = 2;
        Parameters:
        value - The bytes for subdirectory to set.
        Returns:
        This builder for chaining.
      • getOverrideSubdirectory

        public String 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 interface RuntimeOrBuilder
        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 interface RuntimeOrBuilder
        Returns:
        The bytes for overrideSubdirectory.
      • setOverrideSubdirectory

        public Runtime.Builder setOverrideSubdirectory​(String value)
         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

        public Runtime.Builder 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

        public Runtime.Builder setOverrideSubdirectoryBytes​(com.google.protobuf.ByteString value)
         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 interface RuntimeOrBuilder
        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 interface RuntimeOrBuilder
        Returns:
        The base.
      • setBase

        public Runtime.Builder setBase​(com.google.protobuf.Struct value)
         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

        public Runtime.Builder setBase​(com.google.protobuf.Struct.Builder builderForValue)
         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

        public Runtime.Builder mergeBase​(com.google.protobuf.Struct value)
         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

        public Runtime.Builder 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 interface RuntimeOrBuilder
      • setUnknownFields

        public final Runtime.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Runtime.Builder>
      • mergeUnknownFields

        public final Runtime.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Runtime.Builder>