Class Bootstrap.DynamicResources.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Bootstrap.DynamicResources.Builder>
io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Bootstrap.DynamicResourcesOrBuilder, Cloneable
Enclosing class:
Bootstrap.DynamicResources

public static final class Bootstrap.DynamicResources.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Bootstrap.DynamicResources.Builder> implements Bootstrap.DynamicResourcesOrBuilder
Protobuf type envoy.config.bootstrap.v2.Bootstrap.DynamicResources
  • Method Details

    • 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<Bootstrap.DynamicResources.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<Bootstrap.DynamicResources.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<Bootstrap.DynamicResources.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Bootstrap.DynamicResources buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<Bootstrap.DynamicResources.Builder>
    • setField

      public Bootstrap.DynamicResources.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<Bootstrap.DynamicResources.Builder>
    • clearField

      public Bootstrap.DynamicResources.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<Bootstrap.DynamicResources.Builder>
    • clearOneof

      public Bootstrap.DynamicResources.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<Bootstrap.DynamicResources.Builder>
    • setRepeatedField

      public Bootstrap.DynamicResources.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<Bootstrap.DynamicResources.Builder>
    • addRepeatedField

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

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

    • isInitialized

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

      public Bootstrap.DynamicResources.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<Bootstrap.DynamicResources.Builder>
      Throws:
      IOException
    • hasLdsConfig

      public boolean hasLdsConfig()
       All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
       :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       
      .envoy.api.v2.core.ConfigSource lds_config = 1;
      Specified by:
      hasLdsConfig in interface Bootstrap.DynamicResourcesOrBuilder
      Returns:
      Whether the ldsConfig field is set.
    • getLdsConfig

      public ConfigSource getLdsConfig()
       All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
       :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       
      .envoy.api.v2.core.ConfigSource lds_config = 1;
      Specified by:
      getLdsConfig in interface Bootstrap.DynamicResourcesOrBuilder
      Returns:
      The ldsConfig.
    • setLdsConfig

      public Bootstrap.DynamicResources.Builder setLdsConfig(ConfigSource value)
       All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
       :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       
      .envoy.api.v2.core.ConfigSource lds_config = 1;
    • setLdsConfig

      public Bootstrap.DynamicResources.Builder setLdsConfig(ConfigSource.Builder builderForValue)
       All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
       :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       
      .envoy.api.v2.core.ConfigSource lds_config = 1;
    • mergeLdsConfig

      public Bootstrap.DynamicResources.Builder mergeLdsConfig(ConfigSource value)
       All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
       :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       
      .envoy.api.v2.core.ConfigSource lds_config = 1;
    • clearLdsConfig

      public Bootstrap.DynamicResources.Builder clearLdsConfig()
       All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
       :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       
      .envoy.api.v2.core.ConfigSource lds_config = 1;
    • getLdsConfigBuilder

      public ConfigSource.Builder getLdsConfigBuilder()
       All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
       :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       
      .envoy.api.v2.core.ConfigSource lds_config = 1;
    • getLdsConfigOrBuilder

      public ConfigSourceOrBuilder getLdsConfigOrBuilder()
       All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
       :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       
      .envoy.api.v2.core.ConfigSource lds_config = 1;
      Specified by:
      getLdsConfigOrBuilder in interface Bootstrap.DynamicResourcesOrBuilder
    • hasCdsConfig

      public boolean hasCdsConfig()
       All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
       provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       configuration source.
       
      .envoy.api.v2.core.ConfigSource cds_config = 2;
      Specified by:
      hasCdsConfig in interface Bootstrap.DynamicResourcesOrBuilder
      Returns:
      Whether the cdsConfig field is set.
    • getCdsConfig

      public ConfigSource getCdsConfig()
       All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
       provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       configuration source.
       
      .envoy.api.v2.core.ConfigSource cds_config = 2;
      Specified by:
      getCdsConfig in interface Bootstrap.DynamicResourcesOrBuilder
      Returns:
      The cdsConfig.
    • setCdsConfig

      public Bootstrap.DynamicResources.Builder setCdsConfig(ConfigSource value)
       All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
       provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       configuration source.
       
      .envoy.api.v2.core.ConfigSource cds_config = 2;
    • setCdsConfig

      public Bootstrap.DynamicResources.Builder setCdsConfig(ConfigSource.Builder builderForValue)
       All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
       provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       configuration source.
       
      .envoy.api.v2.core.ConfigSource cds_config = 2;
    • mergeCdsConfig

      public Bootstrap.DynamicResources.Builder mergeCdsConfig(ConfigSource value)
       All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
       provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       configuration source.
       
      .envoy.api.v2.core.ConfigSource cds_config = 2;
    • clearCdsConfig

      public Bootstrap.DynamicResources.Builder clearCdsConfig()
       All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
       provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       configuration source.
       
      .envoy.api.v2.core.ConfigSource cds_config = 2;
    • getCdsConfigBuilder

      public ConfigSource.Builder getCdsConfigBuilder()
       All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
       provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       configuration source.
       
      .envoy.api.v2.core.ConfigSource cds_config = 2;
    • getCdsConfigOrBuilder

      public ConfigSourceOrBuilder getCdsConfigOrBuilder()
       All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
       provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       configuration source.
       
      .envoy.api.v2.core.ConfigSource cds_config = 2;
      Specified by:
      getCdsConfigOrBuilder in interface Bootstrap.DynamicResourcesOrBuilder
    • hasAdsConfig

      public boolean hasAdsConfig()
       A single :ref:`ADS <config_overview_ads>` source may be optionally
       specified. This must have :ref:`api_type
       <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
       <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
       :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
       the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
       streamed on the ADS channel.
       
      .envoy.api.v2.core.ApiConfigSource ads_config = 3;
      Specified by:
      hasAdsConfig in interface Bootstrap.DynamicResourcesOrBuilder
      Returns:
      Whether the adsConfig field is set.
    • getAdsConfig

      public ApiConfigSource getAdsConfig()
       A single :ref:`ADS <config_overview_ads>` source may be optionally
       specified. This must have :ref:`api_type
       <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
       <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
       :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
       the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
       streamed on the ADS channel.
       
      .envoy.api.v2.core.ApiConfigSource ads_config = 3;
      Specified by:
      getAdsConfig in interface Bootstrap.DynamicResourcesOrBuilder
      Returns:
      The adsConfig.
    • setAdsConfig

       A single :ref:`ADS <config_overview_ads>` source may be optionally
       specified. This must have :ref:`api_type
       <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
       <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
       :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
       the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
       streamed on the ADS channel.
       
      .envoy.api.v2.core.ApiConfigSource ads_config = 3;
    • setAdsConfig

      public Bootstrap.DynamicResources.Builder setAdsConfig(ApiConfigSource.Builder builderForValue)
       A single :ref:`ADS <config_overview_ads>` source may be optionally
       specified. This must have :ref:`api_type
       <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
       <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
       :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
       the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
       streamed on the ADS channel.
       
      .envoy.api.v2.core.ApiConfigSource ads_config = 3;
    • mergeAdsConfig

      public Bootstrap.DynamicResources.Builder mergeAdsConfig(ApiConfigSource value)
       A single :ref:`ADS <config_overview_ads>` source may be optionally
       specified. This must have :ref:`api_type
       <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
       <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
       :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
       the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
       streamed on the ADS channel.
       
      .envoy.api.v2.core.ApiConfigSource ads_config = 3;
    • clearAdsConfig

      public Bootstrap.DynamicResources.Builder clearAdsConfig()
       A single :ref:`ADS <config_overview_ads>` source may be optionally
       specified. This must have :ref:`api_type
       <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
       <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
       :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
       the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
       streamed on the ADS channel.
       
      .envoy.api.v2.core.ApiConfigSource ads_config = 3;
    • getAdsConfigBuilder

      public ApiConfigSource.Builder getAdsConfigBuilder()
       A single :ref:`ADS <config_overview_ads>` source may be optionally
       specified. This must have :ref:`api_type
       <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
       <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
       :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
       the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
       streamed on the ADS channel.
       
      .envoy.api.v2.core.ApiConfigSource ads_config = 3;
    • getAdsConfigOrBuilder

      public ApiConfigSourceOrBuilder getAdsConfigOrBuilder()
       A single :ref:`ADS <config_overview_ads>` source may be optionally
       specified. This must have :ref:`api_type
       <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
       <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
       :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
       the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
       streamed on the ADS channel.
       
      .envoy.api.v2.core.ApiConfigSource ads_config = 3;
      Specified by:
      getAdsConfigOrBuilder in interface Bootstrap.DynamicResourcesOrBuilder
    • setUnknownFields

      public final Bootstrap.DynamicResources.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<Bootstrap.DynamicResources.Builder>
    • mergeUnknownFields

      public final Bootstrap.DynamicResources.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<Bootstrap.DynamicResources.Builder>