Class RuntimeLayer.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, RuntimeLayerOrBuilder, java.lang.Cloneable
    Enclosing class:
    RuntimeLayer

    public static final class RuntimeLayer.Builder
    extends com.google.protobuf.GeneratedMessage.Builder<RuntimeLayer.Builder>
    implements RuntimeLayerOrBuilder
     [#next-free-field: 6]
     
    Protobuf type envoy.config.bootstrap.v3.RuntimeLayer
    • 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.Builder>
      • clear

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

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

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

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

        private void buildPartial0​(RuntimeLayer result)
      • buildPartialOneofs

        private void buildPartialOneofs​(RuntimeLayer result)
      • mergeFrom

        public RuntimeLayer.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<RuntimeLayer.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.Builder>
      • mergeFrom

        public RuntimeLayer.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.Builder>
        Throws:
        java.io.IOException
      • getName

        public java.lang.String getName()
         Descriptive name for the runtime layer. This is only used for the runtime
         :http:get:`/runtime` output.
         
        string name = 1 [(.validate.rules) = { ... }
        Specified by:
        getName in interface RuntimeLayerOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Descriptive name for the runtime layer. This is only used for the runtime
         :http:get:`/runtime` output.
         
        string name = 1 [(.validate.rules) = { ... }
        Specified by:
        getNameBytes in interface RuntimeLayerOrBuilder
        Returns:
        The bytes for name.
      • setName

        public RuntimeLayer.Builder setName​(java.lang.String value)
         Descriptive name for the runtime layer. This is only used for the runtime
         :http:get:`/runtime` output.
         
        string name = 1 [(.validate.rules) = { ... }
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public RuntimeLayer.Builder clearName()
         Descriptive name for the runtime layer. This is only used for the runtime
         :http:get:`/runtime` output.
         
        string name = 1 [(.validate.rules) = { ... }
        Returns:
        This builder for chaining.
      • setNameBytes

        public RuntimeLayer.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Descriptive name for the runtime layer. This is only used for the runtime
         :http:get:`/runtime` output.
         
        string name = 1 [(.validate.rules) = { ... }
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasStaticLayer

        public boolean hasStaticLayer()
         :ref:`Static runtime <config_runtime_bootstrap>` layer.
         This follows the :ref:`runtime protobuf JSON representation encoding
         <config_runtime_proto_json>`. Unlike static xDS resources, this static
         layer is overridable by later layers in the runtime virtual filesystem.
         
        .google.protobuf.Struct static_layer = 2;
        Specified by:
        hasStaticLayer in interface RuntimeLayerOrBuilder
        Returns:
        Whether the staticLayer field is set.
      • getStaticLayer

        public com.google.protobuf.Struct getStaticLayer()
         :ref:`Static runtime <config_runtime_bootstrap>` layer.
         This follows the :ref:`runtime protobuf JSON representation encoding
         <config_runtime_proto_json>`. Unlike static xDS resources, this static
         layer is overridable by later layers in the runtime virtual filesystem.
         
        .google.protobuf.Struct static_layer = 2;
        Specified by:
        getStaticLayer in interface RuntimeLayerOrBuilder
        Returns:
        The staticLayer.
      • setStaticLayer

        public RuntimeLayer.Builder setStaticLayer​(com.google.protobuf.Struct value)
         :ref:`Static runtime <config_runtime_bootstrap>` layer.
         This follows the :ref:`runtime protobuf JSON representation encoding
         <config_runtime_proto_json>`. Unlike static xDS resources, this static
         layer is overridable by later layers in the runtime virtual filesystem.
         
        .google.protobuf.Struct static_layer = 2;
      • setStaticLayer

        public RuntimeLayer.Builder setStaticLayer​(com.google.protobuf.Struct.Builder builderForValue)
         :ref:`Static runtime <config_runtime_bootstrap>` layer.
         This follows the :ref:`runtime protobuf JSON representation encoding
         <config_runtime_proto_json>`. Unlike static xDS resources, this static
         layer is overridable by later layers in the runtime virtual filesystem.
         
        .google.protobuf.Struct static_layer = 2;
      • mergeStaticLayer

        public RuntimeLayer.Builder mergeStaticLayer​(com.google.protobuf.Struct value)
         :ref:`Static runtime <config_runtime_bootstrap>` layer.
         This follows the :ref:`runtime protobuf JSON representation encoding
         <config_runtime_proto_json>`. Unlike static xDS resources, this static
         layer is overridable by later layers in the runtime virtual filesystem.
         
        .google.protobuf.Struct static_layer = 2;
      • clearStaticLayer

        public RuntimeLayer.Builder clearStaticLayer()
         :ref:`Static runtime <config_runtime_bootstrap>` layer.
         This follows the :ref:`runtime protobuf JSON representation encoding
         <config_runtime_proto_json>`. Unlike static xDS resources, this static
         layer is overridable by later layers in the runtime virtual filesystem.
         
        .google.protobuf.Struct static_layer = 2;
      • getStaticLayerBuilder

        public com.google.protobuf.Struct.Builder getStaticLayerBuilder()
         :ref:`Static runtime <config_runtime_bootstrap>` layer.
         This follows the :ref:`runtime protobuf JSON representation encoding
         <config_runtime_proto_json>`. Unlike static xDS resources, this static
         layer is overridable by later layers in the runtime virtual filesystem.
         
        .google.protobuf.Struct static_layer = 2;
      • getStaticLayerOrBuilder

        public com.google.protobuf.StructOrBuilder getStaticLayerOrBuilder()
         :ref:`Static runtime <config_runtime_bootstrap>` layer.
         This follows the :ref:`runtime protobuf JSON representation encoding
         <config_runtime_proto_json>`. Unlike static xDS resources, this static
         layer is overridable by later layers in the runtime virtual filesystem.
         
        .google.protobuf.Struct static_layer = 2;
        Specified by:
        getStaticLayerOrBuilder in interface RuntimeLayerOrBuilder
      • getStaticLayerFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Struct,​com.google.protobuf.Struct.Builder,​com.google.protobuf.StructOrBuilder> getStaticLayerFieldBuilder()
         :ref:`Static runtime <config_runtime_bootstrap>` layer.
         This follows the :ref:`runtime protobuf JSON representation encoding
         <config_runtime_proto_json>`. Unlike static xDS resources, this static
         layer is overridable by later layers in the runtime virtual filesystem.
         
        .google.protobuf.Struct static_layer = 2;
      • hasDiskLayer

        public boolean hasDiskLayer()
        .envoy.config.bootstrap.v3.RuntimeLayer.DiskLayer disk_layer = 3;
        Specified by:
        hasDiskLayer in interface RuntimeLayerOrBuilder
        Returns:
        Whether the diskLayer field is set.
      • clearDiskLayer

        public RuntimeLayer.Builder clearDiskLayer()
        .envoy.config.bootstrap.v3.RuntimeLayer.DiskLayer disk_layer = 3;
      • hasAdminLayer

        public boolean hasAdminLayer()
        .envoy.config.bootstrap.v3.RuntimeLayer.AdminLayer admin_layer = 4;
        Specified by:
        hasAdminLayer in interface RuntimeLayerOrBuilder
        Returns:
        Whether the adminLayer field is set.
      • clearAdminLayer

        public RuntimeLayer.Builder clearAdminLayer()
        .envoy.config.bootstrap.v3.RuntimeLayer.AdminLayer admin_layer = 4;
      • hasRtdsLayer

        public boolean hasRtdsLayer()
        .envoy.config.bootstrap.v3.RuntimeLayer.RtdsLayer rtds_layer = 5;
        Specified by:
        hasRtdsLayer in interface RuntimeLayerOrBuilder
        Returns:
        Whether the rtdsLayer field is set.
      • clearRtdsLayer

        public RuntimeLayer.Builder clearRtdsLayer()
        .envoy.config.bootstrap.v3.RuntimeLayer.RtdsLayer rtds_layer = 5;