Interface PatternOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Pattern,Pattern.Builder
public interface PatternOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionQuick match URI pattern.com.google.protobuf.ByteStringQuick match URI pattern.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getPattern
String getPattern()Quick match URI pattern. {var} represents a variable part in the URI. /product/{var} is the pattern for /product/1, /product/2 GET:/product/{var}/detail is the pattern for GET:/product/1/detail, GET:/product/2/detailstring pattern = 2;- Returns:
- The pattern.
-
getPatternBytes
com.google.protobuf.ByteString getPatternBytes()Quick match URI pattern. {var} represents a variable part in the URI. /product/{var} is the pattern for /product/1, /product/2 GET:/product/{var}/detail is the pattern for GET:/product/1/detail, GET:/product/2/detailstring pattern = 2;- Returns:
- The bytes for pattern.
-