Class TextFormatParseInfoTree.Builder

java.lang.Object
com.google.protobuf.TextFormatParseInfoTree.Builder
Enclosing class:
TextFormatParseInfoTree

public static class TextFormatParseInfoTree.Builder extends Object
  • Method Details

    • setLocation

      Record the starting location of a single value for a field.
      Parameters:
      fieldDescriptor - the field
      location - source code location information
    • getBuilderForSubMessageField

      public TextFormatParseInfoTree.Builder getBuilderForSubMessageField(Descriptors.FieldDescriptor fieldDescriptor)
      Set for a sub message.

      A new builder is created for a sub message. The builder that is returned is a new builder. The return is not the invoked builder.getBuilderForSubMessageField.

      Parameters:
      fieldDescriptor - the field whose value is the submessage
      Returns:
      a new Builder for the sub message
    • build

      public TextFormatParseInfoTree build()
      Build the TextFormatParseInfoTree.
      Returns:
      the TextFormatParseInfoTree