Class Bootstrap.DynamicResources
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- io.envoyproxy.envoy.config.bootstrap.v3.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 typeenvoy.config.bootstrap.v3.Bootstrap.DynamicResources
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Bootstrap.DynamicResources.Builder
[#next-free-field: 7]-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends java.lang.Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ADS_CONFIG_FIELD_NUMBER
private ApiConfigSource
adsConfig_
private int
bitField0_
static int
CDS_CONFIG_FIELD_NUMBER
static int
CDS_RESOURCES_LOCATOR_FIELD_NUMBER
private ConfigSource
cdsConfig_
private java.lang.Object
cdsResourcesLocator_
private static Bootstrap.DynamicResources
DEFAULT_INSTANCE
static int
LDS_CONFIG_FIELD_NUMBER
static int
LDS_RESOURCES_LOCATOR_FIELD_NUMBER
private ConfigSource
ldsConfig_
private java.lang.Object
ldsResourcesLocator_
private byte
memoizedIsInitialized
private static com.google.protobuf.Parser<Bootstrap.DynamicResources>
PARSER
private static long
serialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description private
DynamicResources()
private
DynamicResources(com.google.protobuf.GeneratedMessage.Builder<?> builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
ApiConfigSource
getAdsConfig()
A single :ref:`ADS <config_overview_ads>` source may be optionally specified.ApiConfigSourceOrBuilder
getAdsConfigOrBuilder()
A single :ref:`ADS <config_overview_ads>` source may be optionally specified.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.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.java.lang.String
getCdsResourcesLocator()
xdstp:// resource locator for cluster collection.com.google.protobuf.ByteString
getCdsResourcesLocatorBytes()
xdstp:// resource locator for cluster collection.static Bootstrap.DynamicResources
getDefaultInstance()
Bootstrap.DynamicResources
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
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.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.java.lang.String
getLdsResourcesLocator()
xdstp:// resource locator for listener collection.com.google.protobuf.ByteString
getLdsResourcesLocatorBytes()
xdstp:// resource locator for listener collection.com.google.protobuf.Parser<Bootstrap.DynamicResources>
getParserForType()
int
getSerializedSize()
boolean
hasAdsConfig()
A single :ref:`ADS <config_overview_ads>` source may be optionally specified.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.int
hashCode()
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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Bootstrap.DynamicResources.Builder
newBuilder()
static Bootstrap.DynamicResources.Builder
newBuilder(Bootstrap.DynamicResources prototype)
Bootstrap.DynamicResources.Builder
newBuilderForType()
protected Bootstrap.DynamicResources.Builder
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
static Bootstrap.DynamicResources
parseDelimitedFrom(java.io.InputStream input)
static Bootstrap.DynamicResources
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Bootstrap.DynamicResources
parseFrom(byte[] data)
static Bootstrap.DynamicResources
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Bootstrap.DynamicResources
parseFrom(com.google.protobuf.ByteString data)
static Bootstrap.DynamicResources
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Bootstrap.DynamicResources
parseFrom(com.google.protobuf.CodedInputStream input)
static Bootstrap.DynamicResources
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Bootstrap.DynamicResources
parseFrom(java.io.InputStream input)
static Bootstrap.DynamicResources
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Bootstrap.DynamicResources
parseFrom(java.nio.ByteBuffer data)
static Bootstrap.DynamicResources
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Bootstrap.DynamicResources>
parser()
Bootstrap.DynamicResources.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
bitField0_
private int bitField0_
-
LDS_CONFIG_FIELD_NUMBER
public static final int LDS_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ldsConfig_
private ConfigSource ldsConfig_
-
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
-
cdsConfig_
private ConfigSource cdsConfig_
-
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
-
adsConfig_
private ApiConfigSource adsConfig_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final Bootstrap.DynamicResources DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<Bootstrap.DynamicResources> PARSER
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.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 interfaceBootstrap.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 interfaceBootstrap.DynamicResourcesOrBuilder
- Returns:
- The ldsConfig.
-
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 interfaceBootstrap.DynamicResourcesOrBuilder
-
getLdsResourcesLocator
public java.lang.String getLdsResourcesLocator()
xdstp:// resource locator for listener collection. [#not-implemented-hide:]
string lds_resources_locator = 5;
- Specified by:
getLdsResourcesLocator
in interfaceBootstrap.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 interfaceBootstrap.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 interfaceBootstrap.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 interfaceBootstrap.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 interfaceBootstrap.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 interfaceBootstrap.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 interfaceBootstrap.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 interfaceBootstrap.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 interfaceBootstrap.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 interfaceBootstrap.DynamicResourcesOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessage
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessage
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.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 interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Bootstrap.DynamicResources.Builder newBuilder()
-
newBuilder
public static Bootstrap.DynamicResources.Builder newBuilder(Bootstrap.DynamicResources prototype)
-
toBuilder
public Bootstrap.DynamicResources.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Bootstrap.DynamicResources.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForType
in classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
public static Bootstrap.DynamicResources getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Bootstrap.DynamicResources> parser()
-
getParserForType
public com.google.protobuf.Parser<Bootstrap.DynamicResources> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public Bootstrap.DynamicResources getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-