Interface ParserConfig.AttributeExtractionRuleOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ParserConfig.AttributeExtractionRule, ParserConfig.AttributeExtractionRule.Builder
Enclosing class:
ParserConfig

public static interface ParserConfig.AttributeExtractionRuleOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    JSON path to extract (e.g., "params.name", "params.uri").
    com.google.protobuf.ByteString
    JSON path to extract (e.g., "params.name", "params.uri").

    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

    • getPath

      String getPath()
       JSON path to extract (e.g., "params.name", "params.uri").
       The path is a dot-separated string representing the location of the field in the JSON payload.
       For example, "params.name" extracts the "name" field from the "params" object.
       
      string path = 1 [(.validate.rules) = { ... }
      Returns:
      The path.
    • getPathBytes

      com.google.protobuf.ByteString getPathBytes()
       JSON path to extract (e.g., "params.name", "params.uri").
       The path is a dot-separated string representing the location of the field in the JSON payload.
       For example, "params.name" extracts the "name" field from the "params" object.
       
      string path = 1 [(.validate.rules) = { ... }
      Returns:
      The bytes for path.