Class Bootstrap.DynamicResources.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Bootstrap.DynamicResources.Builder>
com.google.protobuf.GeneratedMessage.Builder<Bootstrap.DynamicResources.Builder>
io.envoyproxy.envoy.config.bootstrap.v3.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.GeneratedMessage.Builder<Bootstrap.DynamicResources.Builder> implements Bootstrap.DynamicResourcesOrBuilder
 [#next-free-field: 7]
 
Protobuf type envoy.config.bootstrap.v3.Bootstrap.DynamicResources
  • Field Details

  • Constructor Details

    • Builder

      private Builder()
    • Builder

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

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

      private void maybeForceBuilderInitialization()
    • 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<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.GeneratedMessage.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
    • buildPartial0

      private void buildPartial0(Bootstrap.DynamicResources result)
    • 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.GeneratedMessage.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_v3_api_msg_config.listener.v3.Listener>` are provided by a single
       :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       
      .envoy.config.core.v3.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_v3_api_msg_config.listener.v3.Listener>` are provided by a single
       :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       
      .envoy.config.core.v3.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_v3_api_msg_config.listener.v3.Listener>` are provided by a single
       :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       
      .envoy.config.core.v3.ConfigSource lds_config = 1;
    • setLdsConfig

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

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

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

      public ConfigSource.Builder getLdsConfigBuilder()
       All :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>` are provided by a single
       :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       
      .envoy.config.core.v3.ConfigSource lds_config = 1;
    • getLdsConfigOrBuilder

      public ConfigSourceOrBuilder getLdsConfigOrBuilder()
       All :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>` are provided by a single
       :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       
      .envoy.config.core.v3.ConfigSource lds_config = 1;
      Specified by:
      getLdsConfigOrBuilder in interface Bootstrap.DynamicResourcesOrBuilder
    • getLdsConfigFieldBuilder

      private com.google.protobuf.SingleFieldBuilder<ConfigSource,ConfigSource.Builder,ConfigSourceOrBuilder> getLdsConfigFieldBuilder()
       All :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>` are provided by a single
       :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       
      .envoy.config.core.v3.ConfigSource lds_config = 1;
    • getLdsResourcesLocator

      public String getLdsResourcesLocator()
       xdstp:// resource locator for listener collection.
       [#not-implemented-hide:]
       
      string lds_resources_locator = 5;
      Specified by:
      getLdsResourcesLocator in interface Bootstrap.DynamicResourcesOrBuilder
      Returns:
      The ldsResourcesLocator.
    • getLdsResourcesLocatorBytes

      public com.google.protobuf.ByteString getLdsResourcesLocatorBytes()
       xdstp:// resource locator for listener collection.
       [#not-implemented-hide:]
       
      string lds_resources_locator = 5;
      Specified by:
      getLdsResourcesLocatorBytes in interface Bootstrap.DynamicResourcesOrBuilder
      Returns:
      The bytes for ldsResourcesLocator.
    • setLdsResourcesLocator

      public Bootstrap.DynamicResources.Builder setLdsResourcesLocator(String value)
       xdstp:// resource locator for listener collection.
       [#not-implemented-hide:]
       
      string lds_resources_locator = 5;
      Parameters:
      value - The ldsResourcesLocator to set.
      Returns:
      This builder for chaining.
    • clearLdsResourcesLocator

      public Bootstrap.DynamicResources.Builder clearLdsResourcesLocator()
       xdstp:// resource locator for listener collection.
       [#not-implemented-hide:]
       
      string lds_resources_locator = 5;
      Returns:
      This builder for chaining.
    • setLdsResourcesLocatorBytes

      public Bootstrap.DynamicResources.Builder setLdsResourcesLocatorBytes(com.google.protobuf.ByteString value)
       xdstp:// resource locator for listener collection.
       [#not-implemented-hide:]
       
      string lds_resources_locator = 5;
      Parameters:
      value - The bytes for ldsResourcesLocator to set.
      Returns:
      This builder for chaining.
    • hasCdsConfig

      public boolean hasCdsConfig()
       All post-bootstrap :ref:`Cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` definitions are
       provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       configuration source.
       
      .envoy.config.core.v3.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_v3_api_msg_config.cluster.v3.Cluster>` definitions are
       provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       configuration source.
       
      .envoy.config.core.v3.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_v3_api_msg_config.cluster.v3.Cluster>` definitions are
       provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       configuration source.
       
      .envoy.config.core.v3.ConfigSource cds_config = 2;
    • setCdsConfig

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

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

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

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

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

      private com.google.protobuf.SingleFieldBuilder<ConfigSource,ConfigSource.Builder,ConfigSourceOrBuilder> getCdsConfigFieldBuilder()
       All post-bootstrap :ref:`Cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` definitions are
       provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       configuration source.
       
      .envoy.config.core.v3.ConfigSource cds_config = 2;
    • getCdsResourcesLocator

      public String getCdsResourcesLocator()
       xdstp:// resource locator for cluster collection.
       [#not-implemented-hide:]
       
      string cds_resources_locator = 6;
      Specified by:
      getCdsResourcesLocator in interface Bootstrap.DynamicResourcesOrBuilder
      Returns:
      The cdsResourcesLocator.
    • getCdsResourcesLocatorBytes

      public com.google.protobuf.ByteString getCdsResourcesLocatorBytes()
       xdstp:// resource locator for cluster collection.
       [#not-implemented-hide:]
       
      string cds_resources_locator = 6;
      Specified by:
      getCdsResourcesLocatorBytes in interface Bootstrap.DynamicResourcesOrBuilder
      Returns:
      The bytes for cdsResourcesLocator.
    • setCdsResourcesLocator

      public Bootstrap.DynamicResources.Builder setCdsResourcesLocator(String value)
       xdstp:// resource locator for cluster collection.
       [#not-implemented-hide:]
       
      string cds_resources_locator = 6;
      Parameters:
      value - The cdsResourcesLocator to set.
      Returns:
      This builder for chaining.
    • clearCdsResourcesLocator

      public Bootstrap.DynamicResources.Builder clearCdsResourcesLocator()
       xdstp:// resource locator for cluster collection.
       [#not-implemented-hide:]
       
      string cds_resources_locator = 6;
      Returns:
      This builder for chaining.
    • setCdsResourcesLocatorBytes

      public Bootstrap.DynamicResources.Builder setCdsResourcesLocatorBytes(com.google.protobuf.ByteString value)
       xdstp:// resource locator for cluster collection.
       [#not-implemented-hide:]
       
      string cds_resources_locator = 6;
      Parameters:
      value - The bytes for cdsResourcesLocator to set.
      Returns:
      This builder for chaining.
    • hasAdsConfig

      public boolean hasAdsConfig()
       A single :ref:`ADS <config_overview_ads>` source may be optionally
       specified. This must have :ref:`api_type
       <envoy_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
       <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`. Only
       :ref:`ConfigSources <envoy_v3_api_msg_config.core.v3.ConfigSource>` that have
       the :ref:`ads <envoy_v3_api_field_config.core.v3.ConfigSource.ads>` field set will be
       streamed on the ADS channel.
       
      .envoy.config.core.v3.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_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
       <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`. Only
       :ref:`ConfigSources <envoy_v3_api_msg_config.core.v3.ConfigSource>` that have
       the :ref:`ads <envoy_v3_api_field_config.core.v3.ConfigSource.ads>` field set will be
       streamed on the ADS channel.
       
      .envoy.config.core.v3.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_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
       <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`. Only
       :ref:`ConfigSources <envoy_v3_api_msg_config.core.v3.ConfigSource>` that have
       the :ref:`ads <envoy_v3_api_field_config.core.v3.ConfigSource.ads>` field set will be
       streamed on the ADS channel.
       
      .envoy.config.core.v3.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_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
       <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`. Only
       :ref:`ConfigSources <envoy_v3_api_msg_config.core.v3.ConfigSource>` that have
       the :ref:`ads <envoy_v3_api_field_config.core.v3.ConfigSource.ads>` field set will be
       streamed on the ADS channel.
       
      .envoy.config.core.v3.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_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
       <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`. Only
       :ref:`ConfigSources <envoy_v3_api_msg_config.core.v3.ConfigSource>` that have
       the :ref:`ads <envoy_v3_api_field_config.core.v3.ConfigSource.ads>` field set will be
       streamed on the ADS channel.
       
      .envoy.config.core.v3.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_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
       <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`. Only
       :ref:`ConfigSources <envoy_v3_api_msg_config.core.v3.ConfigSource>` that have
       the :ref:`ads <envoy_v3_api_field_config.core.v3.ConfigSource.ads>` field set will be
       streamed on the ADS channel.
       
      .envoy.config.core.v3.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_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
       <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`. Only
       :ref:`ConfigSources <envoy_v3_api_msg_config.core.v3.ConfigSource>` that have
       the :ref:`ads <envoy_v3_api_field_config.core.v3.ConfigSource.ads>` field set will be
       streamed on the ADS channel.
       
      .envoy.config.core.v3.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_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
       <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`. Only
       :ref:`ConfigSources <envoy_v3_api_msg_config.core.v3.ConfigSource>` that have
       the :ref:`ads <envoy_v3_api_field_config.core.v3.ConfigSource.ads>` field set will be
       streamed on the ADS channel.
       
      .envoy.config.core.v3.ApiConfigSource ads_config = 3;
      Specified by:
      getAdsConfigOrBuilder in interface Bootstrap.DynamicResourcesOrBuilder
    • getAdsConfigFieldBuilder

      private com.google.protobuf.SingleFieldBuilder<ApiConfigSource,ApiConfigSource.Builder,ApiConfigSourceOrBuilder> getAdsConfigFieldBuilder()
       A single :ref:`ADS <config_overview_ads>` source may be optionally
       specified. This must have :ref:`api_type
       <envoy_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
       <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`. Only
       :ref:`ConfigSources <envoy_v3_api_msg_config.core.v3.ConfigSource>` that have
       the :ref:`ads <envoy_v3_api_field_config.core.v3.ConfigSource.ads>` field set will be
       streamed on the ADS channel.
       
      .envoy.config.core.v3.ApiConfigSource ads_config = 3;