Class Field<T>

    • Field Detail

      • number

        public final int number
      • name

        public final java.lang.String name
      • repeated

        public final boolean repeated
      • groupFilter

        public final int groupFilter
    • Method Detail

      • writeTo

        protected abstract void writeTo​(Output output,
                                        T message)
                                 throws java.io.IOException
        Writes the value of a field to the output.
        Throws:
        java.io.IOException
      • mergeFrom

        protected abstract void mergeFrom​(Input input,
                                          T message)
                                   throws java.io.IOException
        Reads the field value into the message.
        Throws:
        java.io.IOException
      • transfer

        protected abstract void transfer​(Pipe pipe,
                                         Input input,
                                         Output output,
                                         boolean repeated)
                                  throws java.io.IOException
        Transfer the input field to the output field.
        Throws:
        java.io.IOException