Class ScopedRoutes
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.config.filter.network.http_connection_manager.v2.ScopedRoutes
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ScopedRoutesOrBuilder,Serializable
public final class ScopedRoutes extends com.google.protobuf.GeneratedMessageV3 implements ScopedRoutesOrBuilder
[#next-free-field: 6]
Protobuf typeenvoy.config.filter.network.http_connection_manager.v2.ScopedRoutes- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classScopedRoutes.Builder[#next-free-field: 6]static classScopedRoutes.ConfigSpecifierCasestatic classScopedRoutes.ScopeKeyBuilderSpecifies the mechanism for constructing "scope keys" based on HTTP request attributes.static interfaceScopedRoutes.ScopeKeyBuilderOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intNAME_FIELD_NUMBERstatic intRDS_CONFIG_SOURCE_FIELD_NUMBERstatic intSCOPE_KEY_BUILDER_FIELD_NUMBERstatic intSCOPED_RDS_FIELD_NUMBERstatic intSCOPED_ROUTE_CONFIGURATIONS_LIST_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)ScopedRoutes.ConfigSpecifierCasegetConfigSpecifierCase()static ScopedRoutesgetDefaultInstance()ScopedRoutesgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetName()The name assigned to the scoped routing configuration.com.google.protobuf.ByteStringgetNameBytes()The name assigned to the scoped routing configuration.com.google.protobuf.Parser<ScopedRoutes>getParserForType()ConfigSourcegetRdsConfigSource()Configuration source specifier for RDS.ConfigSourceOrBuildergetRdsConfigSourceOrBuilder()Configuration source specifier for RDS.ScopedRdsgetScopedRds()The set of routing scopes associated with the HCM will be dynamically loaded via the SRDS API.ScopedRdsOrBuildergetScopedRdsOrBuilder()The set of routing scopes associated with the HCM will be dynamically loaded via the SRDS API.ScopedRouteConfigurationsListgetScopedRouteConfigurationsList()The set of routing scopes corresponding to the HCM.ScopedRouteConfigurationsListOrBuildergetScopedRouteConfigurationsListOrBuilder()The set of routing scopes corresponding to the HCM.ScopedRoutes.ScopeKeyBuildergetScopeKeyBuilder()The algorithm to use for constructing a scope key for each request.ScopedRoutes.ScopeKeyBuilderOrBuildergetScopeKeyBuilderOrBuilder()The algorithm to use for constructing a scope key for each request.intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()booleanhasRdsConfigSource()Configuration source specifier for RDS.booleanhasScopedRds()The set of routing scopes associated with the HCM will be dynamically loaded via the SRDS API.booleanhasScopedRouteConfigurationsList()The set of routing scopes corresponding to the HCM.booleanhasScopeKeyBuilder()The algorithm to use for constructing a scope key for each request.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ScopedRoutes.BuildernewBuilder()static ScopedRoutes.BuildernewBuilder(ScopedRoutes prototype)ScopedRoutes.BuildernewBuilderForType()protected ScopedRoutes.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ScopedRoutesparseDelimitedFrom(InputStream input)static ScopedRoutesparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ScopedRoutesparseFrom(byte[] data)static ScopedRoutesparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ScopedRoutesparseFrom(com.google.protobuf.ByteString data)static ScopedRoutesparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ScopedRoutesparseFrom(com.google.protobuf.CodedInputStream input)static ScopedRoutesparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ScopedRoutesparseFrom(InputStream input)static ScopedRoutesparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ScopedRoutesparseFrom(ByteBuffer data)static ScopedRoutesparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ScopedRoutes>parser()ScopedRoutes.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, 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, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCOPE_KEY_BUILDER_FIELD_NUMBER
public static final int SCOPE_KEY_BUILDER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RDS_CONFIG_SOURCE_FIELD_NUMBER
public static final int RDS_CONFIG_SOURCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCOPED_ROUTE_CONFIGURATIONS_LIST_FIELD_NUMBER
public static final int SCOPED_ROUTE_CONFIGURATIONS_LIST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCOPED_RDS_FIELD_NUMBER
public static final int SCOPED_RDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getConfigSpecifierCase
public ScopedRoutes.ConfigSpecifierCase getConfigSpecifierCase()
- Specified by:
getConfigSpecifierCasein interfaceScopedRoutesOrBuilder
-
getName
public String getName()
The name assigned to the scoped routing configuration.
string name = 1 [(.validate.rules) = { ... }- Specified by:
getNamein interfaceScopedRoutesOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The name assigned to the scoped routing configuration.
string name = 1 [(.validate.rules) = { ... }- Specified by:
getNameBytesin interfaceScopedRoutesOrBuilder- Returns:
- The bytes for name.
-
hasScopeKeyBuilder
public boolean hasScopeKeyBuilder()
The algorithm to use for constructing a scope key for each request.
.envoy.config.filter.network.http_connection_manager.v2.ScopedRoutes.ScopeKeyBuilder scope_key_builder = 2 [(.validate.rules) = { ... }- Specified by:
hasScopeKeyBuilderin interfaceScopedRoutesOrBuilder- Returns:
- Whether the scopeKeyBuilder field is set.
-
getScopeKeyBuilder
public ScopedRoutes.ScopeKeyBuilder getScopeKeyBuilder()
The algorithm to use for constructing a scope key for each request.
.envoy.config.filter.network.http_connection_manager.v2.ScopedRoutes.ScopeKeyBuilder scope_key_builder = 2 [(.validate.rules) = { ... }- Specified by:
getScopeKeyBuilderin interfaceScopedRoutesOrBuilder- Returns:
- The scopeKeyBuilder.
-
getScopeKeyBuilderOrBuilder
public ScopedRoutes.ScopeKeyBuilderOrBuilder getScopeKeyBuilderOrBuilder()
The algorithm to use for constructing a scope key for each request.
.envoy.config.filter.network.http_connection_manager.v2.ScopedRoutes.ScopeKeyBuilder scope_key_builder = 2 [(.validate.rules) = { ... }- Specified by:
getScopeKeyBuilderOrBuilderin interfaceScopedRoutesOrBuilder
-
hasRdsConfigSource
public boolean hasRdsConfigSource()
Configuration source specifier for RDS. This config source is used to subscribe to RouteConfiguration resources specified in ScopedRouteConfiguration messages.
.envoy.api.v2.core.ConfigSource rds_config_source = 3 [(.validate.rules) = { ... }- Specified by:
hasRdsConfigSourcein interfaceScopedRoutesOrBuilder- Returns:
- Whether the rdsConfigSource field is set.
-
getRdsConfigSource
public ConfigSource getRdsConfigSource()
Configuration source specifier for RDS. This config source is used to subscribe to RouteConfiguration resources specified in ScopedRouteConfiguration messages.
.envoy.api.v2.core.ConfigSource rds_config_source = 3 [(.validate.rules) = { ... }- Specified by:
getRdsConfigSourcein interfaceScopedRoutesOrBuilder- Returns:
- The rdsConfigSource.
-
getRdsConfigSourceOrBuilder
public ConfigSourceOrBuilder getRdsConfigSourceOrBuilder()
Configuration source specifier for RDS. This config source is used to subscribe to RouteConfiguration resources specified in ScopedRouteConfiguration messages.
.envoy.api.v2.core.ConfigSource rds_config_source = 3 [(.validate.rules) = { ... }- Specified by:
getRdsConfigSourceOrBuilderin interfaceScopedRoutesOrBuilder
-
hasScopedRouteConfigurationsList
public boolean hasScopedRouteConfigurationsList()
The set of routing scopes corresponding to the HCM. A scope is assigned to a request by matching a key constructed from the request's attributes according to the algorithm specified by the :ref:`ScopeKeyBuilder<envoy_api_msg_config.filter.network.http_connection_manager.v2.ScopedRoutes.ScopeKeyBuilder>` in this message.
.envoy.config.filter.network.http_connection_manager.v2.ScopedRouteConfigurationsList scoped_route_configurations_list = 4;- Specified by:
hasScopedRouteConfigurationsListin interfaceScopedRoutesOrBuilder- Returns:
- Whether the scopedRouteConfigurationsList field is set.
-
getScopedRouteConfigurationsList
public ScopedRouteConfigurationsList getScopedRouteConfigurationsList()
The set of routing scopes corresponding to the HCM. A scope is assigned to a request by matching a key constructed from the request's attributes according to the algorithm specified by the :ref:`ScopeKeyBuilder<envoy_api_msg_config.filter.network.http_connection_manager.v2.ScopedRoutes.ScopeKeyBuilder>` in this message.
.envoy.config.filter.network.http_connection_manager.v2.ScopedRouteConfigurationsList scoped_route_configurations_list = 4;- Specified by:
getScopedRouteConfigurationsListin interfaceScopedRoutesOrBuilder- Returns:
- The scopedRouteConfigurationsList.
-
getScopedRouteConfigurationsListOrBuilder
public ScopedRouteConfigurationsListOrBuilder getScopedRouteConfigurationsListOrBuilder()
The set of routing scopes corresponding to the HCM. A scope is assigned to a request by matching a key constructed from the request's attributes according to the algorithm specified by the :ref:`ScopeKeyBuilder<envoy_api_msg_config.filter.network.http_connection_manager.v2.ScopedRoutes.ScopeKeyBuilder>` in this message.
.envoy.config.filter.network.http_connection_manager.v2.ScopedRouteConfigurationsList scoped_route_configurations_list = 4;- Specified by:
getScopedRouteConfigurationsListOrBuilderin interfaceScopedRoutesOrBuilder
-
hasScopedRds
public boolean hasScopedRds()
The set of routing scopes associated with the HCM will be dynamically loaded via the SRDS API. A scope is assigned to a request by matching a key constructed from the request's attributes according to the algorithm specified by the :ref:`ScopeKeyBuilder<envoy_api_msg_config.filter.network.http_connection_manager.v2.ScopedRoutes.ScopeKeyBuilder>` in this message.
.envoy.config.filter.network.http_connection_manager.v2.ScopedRds scoped_rds = 5;- Specified by:
hasScopedRdsin interfaceScopedRoutesOrBuilder- Returns:
- Whether the scopedRds field is set.
-
getScopedRds
public ScopedRds getScopedRds()
The set of routing scopes associated with the HCM will be dynamically loaded via the SRDS API. A scope is assigned to a request by matching a key constructed from the request's attributes according to the algorithm specified by the :ref:`ScopeKeyBuilder<envoy_api_msg_config.filter.network.http_connection_manager.v2.ScopedRoutes.ScopeKeyBuilder>` in this message.
.envoy.config.filter.network.http_connection_manager.v2.ScopedRds scoped_rds = 5;- Specified by:
getScopedRdsin interfaceScopedRoutesOrBuilder- Returns:
- The scopedRds.
-
getScopedRdsOrBuilder
public ScopedRdsOrBuilder getScopedRdsOrBuilder()
The set of routing scopes associated with the HCM will be dynamically loaded via the SRDS API. A scope is assigned to a request by matching a key constructed from the request's attributes according to the algorithm specified by the :ref:`ScopeKeyBuilder<envoy_api_msg_config.filter.network.http_connection_manager.v2.ScopedRoutes.ScopeKeyBuilder>` in this message.
.envoy.config.filter.network.http_connection_manager.v2.ScopedRds scoped_rds = 5;- Specified by:
getScopedRdsOrBuilderin interfaceScopedRoutesOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ScopedRoutes parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ScopedRoutes parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ScopedRoutes parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ScopedRoutes parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ScopedRoutes parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ScopedRoutes parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ScopedRoutes parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ScopedRoutes parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ScopedRoutes parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ScopedRoutes parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ScopedRoutes parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ScopedRoutes parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ScopedRoutes.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ScopedRoutes.Builder newBuilder()
-
newBuilder
public static ScopedRoutes.Builder newBuilder(ScopedRoutes prototype)
-
toBuilder
public ScopedRoutes.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ScopedRoutes.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ScopedRoutes getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ScopedRoutes> parser()
-
getParserForType
public com.google.protobuf.Parser<ScopedRoutes> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ScopedRoutes getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-