Class RouteConfiguration
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.extensions.filters.network.dubbo_proxy.v3.RouteConfiguration
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RouteConfigurationOrBuilder,Serializable
public final class RouteConfiguration extends com.google.protobuf.GeneratedMessageV3 implements RouteConfigurationOrBuilder
[#next-free-field: 6]
Protobuf typeenvoy.extensions.filters.network.dubbo_proxy.v3.RouteConfiguration- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRouteConfiguration.Builder[#next-free-field: 6]-
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 intGROUP_FIELD_NUMBERstatic intINTERFACE_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intROUTES_FIELD_NUMBERstatic intVERSION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static RouteConfigurationgetDefaultInstance()RouteConfigurationgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetGroup()Which group does the interface belong to.com.google.protobuf.ByteStringgetGroupBytes()Which group does the interface belong to.StringgetInterface()The interface name of the service.com.google.protobuf.ByteStringgetInterfaceBytes()The interface name of the service.StringgetName()The name of the route configuration.com.google.protobuf.ByteStringgetNameBytes()The name of the route configuration.com.google.protobuf.Parser<RouteConfiguration>getParserForType()RoutegetRoutes(int index)The list of routes that will be matched, in order, against incoming requests.intgetRoutesCount()The list of routes that will be matched, in order, against incoming requests.List<Route>getRoutesList()The list of routes that will be matched, in order, against incoming requests.RouteOrBuildergetRoutesOrBuilder(int index)The list of routes that will be matched, in order, against incoming requests.List<? extends RouteOrBuilder>getRoutesOrBuilderList()The list of routes that will be matched, in order, against incoming requests.intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()StringgetVersion()The version number of the interface.com.google.protobuf.ByteStringgetVersionBytes()The version number of the interface.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static RouteConfiguration.BuildernewBuilder()static RouteConfiguration.BuildernewBuilder(RouteConfiguration prototype)RouteConfiguration.BuildernewBuilderForType()protected RouteConfiguration.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static RouteConfigurationparseDelimitedFrom(InputStream input)static RouteConfigurationparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RouteConfigurationparseFrom(byte[] data)static RouteConfigurationparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RouteConfigurationparseFrom(com.google.protobuf.ByteString data)static RouteConfigurationparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RouteConfigurationparseFrom(com.google.protobuf.CodedInputStream input)static RouteConfigurationparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RouteConfigurationparseFrom(InputStream input)static RouteConfigurationparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RouteConfigurationparseFrom(ByteBuffer data)static RouteConfigurationparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<RouteConfiguration>parser()RouteConfiguration.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
-
INTERFACE_FIELD_NUMBER
public static final int INTERFACE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GROUP_FIELD_NUMBER
public static final int GROUP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ROUTES_FIELD_NUMBER
public static final int ROUTES_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
-
getName
public String getName()
The name of the route configuration. Reserved for future use in asynchronous route discovery.
string name = 1;- Specified by:
getNamein interfaceRouteConfigurationOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The name of the route configuration. Reserved for future use in asynchronous route discovery.
string name = 1;- Specified by:
getNameBytesin interfaceRouteConfigurationOrBuilder- Returns:
- The bytes for name.
-
getInterface
public String getInterface()
The interface name of the service. Wildcard interface are supported in the suffix or prefix form. e.g. ``*.methods.add`` will match ``com.dev.methods.add``, ``com.prod.methods.add``, etc. ``com.dev.methods.*`` will match ``com.dev.methods.add``, ``com.dev.methods.update``, etc. Special wildcard ``*`` matching any interface. .. note:: The wildcard will not match the empty string. e.g. ``*.methods.add`` will match ``com.dev.methods.add`` but not ``.methods.add``.
string interface = 2;- Specified by:
getInterfacein interfaceRouteConfigurationOrBuilder- Returns:
- The interface.
-
getInterfaceBytes
public com.google.protobuf.ByteString getInterfaceBytes()
The interface name of the service. Wildcard interface are supported in the suffix or prefix form. e.g. ``*.methods.add`` will match ``com.dev.methods.add``, ``com.prod.methods.add``, etc. ``com.dev.methods.*`` will match ``com.dev.methods.add``, ``com.dev.methods.update``, etc. Special wildcard ``*`` matching any interface. .. note:: The wildcard will not match the empty string. e.g. ``*.methods.add`` will match ``com.dev.methods.add`` but not ``.methods.add``.
string interface = 2;- Specified by:
getInterfaceBytesin interfaceRouteConfigurationOrBuilder- Returns:
- The bytes for interface.
-
getGroup
public String getGroup()
Which group does the interface belong to.
string group = 3;- Specified by:
getGroupin interfaceRouteConfigurationOrBuilder- Returns:
- The group.
-
getGroupBytes
public com.google.protobuf.ByteString getGroupBytes()
Which group does the interface belong to.
string group = 3;- Specified by:
getGroupBytesin interfaceRouteConfigurationOrBuilder- Returns:
- The bytes for group.
-
getVersion
public String getVersion()
The version number of the interface.
string version = 4;- Specified by:
getVersionin interfaceRouteConfigurationOrBuilder- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()
The version number of the interface.
string version = 4;- Specified by:
getVersionBytesin interfaceRouteConfigurationOrBuilder- Returns:
- The bytes for version.
-
getRoutesList
public List<Route> getRoutesList()
The list of routes that will be matched, in order, against incoming requests. The first route that matches will be used.
repeated .envoy.extensions.filters.network.dubbo_proxy.v3.Route routes = 5;- Specified by:
getRoutesListin interfaceRouteConfigurationOrBuilder
-
getRoutesOrBuilderList
public List<? extends RouteOrBuilder> getRoutesOrBuilderList()
The list of routes that will be matched, in order, against incoming requests. The first route that matches will be used.
repeated .envoy.extensions.filters.network.dubbo_proxy.v3.Route routes = 5;- Specified by:
getRoutesOrBuilderListin interfaceRouteConfigurationOrBuilder
-
getRoutesCount
public int getRoutesCount()
The list of routes that will be matched, in order, against incoming requests. The first route that matches will be used.
repeated .envoy.extensions.filters.network.dubbo_proxy.v3.Route routes = 5;- Specified by:
getRoutesCountin interfaceRouteConfigurationOrBuilder
-
getRoutes
public Route getRoutes(int index)
The list of routes that will be matched, in order, against incoming requests. The first route that matches will be used.
repeated .envoy.extensions.filters.network.dubbo_proxy.v3.Route routes = 5;- Specified by:
getRoutesin interfaceRouteConfigurationOrBuilder
-
getRoutesOrBuilder
public RouteOrBuilder getRoutesOrBuilder(int index)
The list of routes that will be matched, in order, against incoming requests. The first route that matches will be used.
repeated .envoy.extensions.filters.network.dubbo_proxy.v3.Route routes = 5;- Specified by:
getRoutesOrBuilderin interfaceRouteConfigurationOrBuilder
-
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 RouteConfiguration parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouteConfiguration parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouteConfiguration parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouteConfiguration parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouteConfiguration parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouteConfiguration parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouteConfiguration parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RouteConfiguration parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RouteConfiguration parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RouteConfiguration parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static RouteConfiguration parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RouteConfiguration parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public RouteConfiguration.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static RouteConfiguration.Builder newBuilder()
-
newBuilder
public static RouteConfiguration.Builder newBuilder(RouteConfiguration prototype)
-
toBuilder
public RouteConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RouteConfiguration.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static RouteConfiguration getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<RouteConfiguration> parser()
-
getParserForType
public com.google.protobuf.Parser<RouteConfiguration> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public RouteConfiguration getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-