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 Type
    Method
    Description
    Quick match URI pattern.
    com.google.protobuf.ByteString
    Quick match URI pattern.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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/detail
       
      string 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/detail
       
      string pattern = 2;
      Returns:
      The bytes for pattern.