Class Bootstrap.DynamicResources

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Bootstrap.DynamicResourcesOrBuilder, java.io.Serializable
    Enclosing class:
    Bootstrap

    public static final class Bootstrap.DynamicResources
    extends com.google.protobuf.GeneratedMessage
    implements Bootstrap.DynamicResourcesOrBuilder
     [#next-free-field: 7]
     
    Protobuf type envoy.config.bootstrap.v3.Bootstrap.DynamicResources
    See Also:
    Serialized Form
    • Field Detail

      • bitField0_

        private int bitField0_
      • 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
      • ldsResourcesLocator_

        private volatile java.lang.Object ldsResourcesLocator_
      • 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
      • cdsResourcesLocator_

        private volatile java.lang.Object cdsResourcesLocator_
      • ADS_CONFIG_FIELD_NUMBER

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

        private byte memoizedIsInitialized
    • Constructor Detail

      • DynamicResources

        private DynamicResources​(com.google.protobuf.GeneratedMessage.Builder<?> builder)
      • DynamicResources

        private DynamicResources()
    • 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
      • 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.
      • getLdsResourcesLocator

        public java.lang.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.
      • 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
      • getCdsResourcesLocator

        public java.lang.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.
      • 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.GeneratedMessage
      • writeTo

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

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

        public boolean equals​(java.lang.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​(java.nio.ByteBuffer data)
                                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Bootstrap.DynamicResources parseFrom​(java.nio.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
      • parseFrom

        public static Bootstrap.DynamicResources parseFrom​(java.io.InputStream input)
                                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Bootstrap.DynamicResources parseFrom​(java.io.InputStream input,
                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Bootstrap.DynamicResources parseDelimitedFrom​(java.io.InputStream input)
                                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Bootstrap.DynamicResources parseDelimitedFrom​(java.io.InputStream input,
                                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Bootstrap.DynamicResources parseFrom​(com.google.protobuf.CodedInputStream input)
                                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Bootstrap.DynamicResources parseFrom​(com.google.protobuf.CodedInputStream input,
                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • 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.AbstractMessage.BuilderParent parent)
        Overrides:
        newBuilderForType in class com.google.protobuf.AbstractMessage
      • 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.GeneratedMessage
      • getDefaultInstanceForType

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