Interface ExtensionConfigSourceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ExtensionConfigSource
,ExtensionConfigSource.Builder
public interface ExtensionConfigSourceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getApplyDefaultConfigWithoutWarming()
Use the default config as the initial configuration without warming and waiting for the first discovery response.ConfigSource
getConfigSource()
.envoy.config.core.v3.ConfigSource config_source = 1 [(.validate.rules) = { ...
ConfigSourceOrBuilder
getConfigSourceOrBuilder()
.envoy.config.core.v3.ConfigSource config_source = 1 [(.validate.rules) = { ...
com.google.protobuf.Any
getDefaultConfig()
Optional default configuration to use as the initial configuration if there is a failure to receive the initial extension configuration or if ``apply_default_config_without_warming`` flag is set.com.google.protobuf.AnyOrBuilder
getDefaultConfigOrBuilder()
Optional default configuration to use as the initial configuration if there is a failure to receive the initial extension configuration or if ``apply_default_config_without_warming`` flag is set.java.lang.String
getTypeUrls(int index)
A set of permitted extension type URLs.com.google.protobuf.ByteString
getTypeUrlsBytes(int index)
A set of permitted extension type URLs.int
getTypeUrlsCount()
A set of permitted extension type URLs.java.util.List<java.lang.String>
getTypeUrlsList()
A set of permitted extension type URLs.boolean
hasConfigSource()
.envoy.config.core.v3.ConfigSource config_source = 1 [(.validate.rules) = { ...
boolean
hasDefaultConfig()
Optional default configuration to use as the initial configuration if there is a failure to receive the initial extension configuration or if ``apply_default_config_without_warming`` flag is set.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasConfigSource
boolean hasConfigSource()
.envoy.config.core.v3.ConfigSource config_source = 1 [(.validate.rules) = { ... }
- Returns:
- Whether the configSource field is set.
-
getConfigSource
ConfigSource getConfigSource()
.envoy.config.core.v3.ConfigSource config_source = 1 [(.validate.rules) = { ... }
- Returns:
- The configSource.
-
getConfigSourceOrBuilder
ConfigSourceOrBuilder getConfigSourceOrBuilder()
.envoy.config.core.v3.ConfigSource config_source = 1 [(.validate.rules) = { ... }
-
hasDefaultConfig
boolean hasDefaultConfig()
Optional default configuration to use as the initial configuration if there is a failure to receive the initial extension configuration or if ``apply_default_config_without_warming`` flag is set.
.google.protobuf.Any default_config = 2;
- Returns:
- Whether the defaultConfig field is set.
-
getDefaultConfig
com.google.protobuf.Any getDefaultConfig()
Optional default configuration to use as the initial configuration if there is a failure to receive the initial extension configuration or if ``apply_default_config_without_warming`` flag is set.
.google.protobuf.Any default_config = 2;
- Returns:
- The defaultConfig.
-
getDefaultConfigOrBuilder
com.google.protobuf.AnyOrBuilder getDefaultConfigOrBuilder()
Optional default configuration to use as the initial configuration if there is a failure to receive the initial extension configuration or if ``apply_default_config_without_warming`` flag is set.
.google.protobuf.Any default_config = 2;
-
getApplyDefaultConfigWithoutWarming
boolean getApplyDefaultConfigWithoutWarming()
Use the default config as the initial configuration without warming and waiting for the first discovery response. Requires the default configuration to be supplied.
bool apply_default_config_without_warming = 3;
- Returns:
- The applyDefaultConfigWithoutWarming.
-
getTypeUrlsList
java.util.List<java.lang.String> getTypeUrlsList()
A set of permitted extension type URLs. Extension configuration updates are rejected if they do not match any type URL in the set.
repeated string type_urls = 4 [(.validate.rules) = { ... }
- Returns:
- A list containing the typeUrls.
-
getTypeUrlsCount
int getTypeUrlsCount()
A set of permitted extension type URLs. Extension configuration updates are rejected if they do not match any type URL in the set.
repeated string type_urls = 4 [(.validate.rules) = { ... }
- Returns:
- The count of typeUrls.
-
getTypeUrls
java.lang.String getTypeUrls(int index)
A set of permitted extension type URLs. Extension configuration updates are rejected if they do not match any type URL in the set.
repeated string type_urls = 4 [(.validate.rules) = { ... }
- Parameters:
index
- The index of the element to return.- Returns:
- The typeUrls at the given index.
-
getTypeUrlsBytes
com.google.protobuf.ByteString getTypeUrlsBytes(int index)
A set of permitted extension type URLs. Extension configuration updates are rejected if they do not match any type URL in the set.
repeated string type_urls = 4 [(.validate.rules) = { ... }
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the typeUrls at the given index.
-
-