Protocol Buffer overview

Protocol Buffer (also known as protobuf) is a Google framework for efficiently serializing objects for transfer, typically between network endpoints.

HCL OneTest API includes a parser that reads the Protocol Buffer definition language and turns it into a schema. Because Protocol Buffer is a message type, it can be carried over any transport that supports binary data.

Protocol Buffer definition files typically import other Protocol Buffer definition files. When you add a Protocol Buffer to the Schema Library view, HCL OneTest API attempts to import all nested Protocol Buffer definition files.

Notes:
  • The Protocol Buffer schema in HCL OneTest API does not currently support the oneof field type.
  • HCL OneTest API requires a package declaration to be included in the Protocol Buffer definition.