Interface ClusterSpecifierPluginOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ClusterSpecifierPlugin
,ClusterSpecifierPlugin.Builder
public interface ClusterSpecifierPluginOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TypedExtensionConfig
getExtension()
The name of the plugin and its opaque configuration.TypedExtensionConfigOrBuilder
getExtensionOrBuilder()
The name of the plugin and its opaque configuration.boolean
getIsOptional()
If is_optional is not set or is set to false and the plugin defined by this message is not a supported type, the containing resource is NACKed.boolean
hasExtension()
The name of the plugin and its opaque configuration.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasExtension
boolean hasExtension()
The name of the plugin and its opaque configuration.
.envoy.config.core.v3.TypedExtensionConfig extension = 1 [(.validate.rules) = { ... }
- Returns:
- Whether the extension field is set.
-
getExtension
TypedExtensionConfig getExtension()
The name of the plugin and its opaque configuration.
.envoy.config.core.v3.TypedExtensionConfig extension = 1 [(.validate.rules) = { ... }
- Returns:
- The extension.
-
getExtensionOrBuilder
TypedExtensionConfigOrBuilder getExtensionOrBuilder()
The name of the plugin and its opaque configuration.
.envoy.config.core.v3.TypedExtensionConfig extension = 1 [(.validate.rules) = { ... }
-
getIsOptional
boolean getIsOptional()
If is_optional is not set or is set to false and the plugin defined by this message is not a supported type, the containing resource is NACKed. If is_optional is set to true, the resource would not be NACKed for this reason. In this case, routes referencing this plugin's name would not be treated as an illegal configuration, but would result in a failure if the route is selected.
bool is_optional = 2;
- Returns:
- The isOptional.
-
-