接口 VirtualServiceOuterClass.StringMatchOrBuilder

    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型 方法 说明
      java.lang.String getExact()
      exact string match
      com.google.protobuf.ByteString getExactBytes()
      exact string match
      VirtualServiceOuterClass.StringMatch.MatchTypeCase getMatchTypeCase()  
      java.lang.String getPrefix()
      prefix-based match
      com.google.protobuf.ByteString getPrefixBytes()
      prefix-based match
      java.lang.String getRegex()
      RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
      com.google.protobuf.ByteString getRegexBytes()
      RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
      boolean hasExact()
      exact string match
      boolean hasPrefix()
      prefix-based match
      boolean hasRegex()
      RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
      • 从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • 从接口继承的方法 com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • 方法详细资料

      • hasExact

        boolean hasExact()
         exact string match
         
        string exact = 1;
        返回:
        Whether the exact field is set.
      • getExact

        java.lang.String getExact()
         exact string match
         
        string exact = 1;
        返回:
        The exact.
      • getExactBytes

        com.google.protobuf.ByteString getExactBytes()
         exact string match
         
        string exact = 1;
        返回:
        The bytes for exact.
      • hasPrefix

        boolean hasPrefix()
         prefix-based match
         
        string prefix = 2;
        返回:
        Whether the prefix field is set.
      • getPrefix

        java.lang.String getPrefix()
         prefix-based match
         
        string prefix = 2;
        返回:
        The prefix.
      • getPrefixBytes

        com.google.protobuf.ByteString getPrefixBytes()
         prefix-based match
         
        string prefix = 2;
        返回:
        The bytes for prefix.
      • hasRegex

        boolean hasRegex()
         RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
         
        string regex = 3;
        返回:
        Whether the regex field is set.
      • getRegex

        java.lang.String getRegex()
         RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
         
        string regex = 3;
        返回:
        The regex.
      • getRegexBytes

        com.google.protobuf.ByteString getRegexBytes()
         RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
         
        string regex = 3;
        返回:
        The bytes for regex.