Class Bootstrap.DynamicResources

    • Field Detail

      • LDS_CONFIG_FIELD_NUMBER

        public static final int LDS_CONFIG_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LDS_RESOURCES_LOCATOR_FIELD_NUMBER

        public static final int LDS_RESOURCES_LOCATOR_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CDS_CONFIG_FIELD_NUMBER

        public static final int CDS_CONFIG_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CDS_RESOURCES_LOCATOR_FIELD_NUMBER

        public static final int CDS_RESOURCES_LOCATOR_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ADS_CONFIG_FIELD_NUMBER

        public static final int ADS_CONFIG_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • 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
      • 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.
      • 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.
      • 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.
      • 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
      • 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.
      • 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.
      • 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
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static Bootstrap.DynamicResources parseFrom​(ByteBuffer data)
                                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Bootstrap.DynamicResources parseFrom​(ByteBuffer data,
                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Bootstrap.DynamicResources parseFrom​(com.google.protobuf.ByteString data)
                                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Bootstrap.DynamicResources parseFrom​(com.google.protobuf.ByteString data,
                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Bootstrap.DynamicResources parseFrom​(byte[] data)
                                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Bootstrap.DynamicResources parseFrom​(byte[] data,
                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

        public Bootstrap.DynamicResources.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public Bootstrap.DynamicResources.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Bootstrap.DynamicResources.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<Bootstrap.DynamicResources> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

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