Class ServiceApi


  • public final class ServiceApi
    extends java.lang.Object
    • Method Detail

      • methods

        public java.util.List<ServiceApiMethod> methods()
        Returns:
        A list of Method objects; structure is documented below.
      • name

        public java.util.Optional<java.lang.String> name()
        Returns:
        The simple name of the endpoint as described in the config.
      • syntax

        public java.util.Optional<java.lang.String> syntax()
        Returns:
        `SYNTAX_PROTO2` or `SYNTAX_PROTO3`.
      • version

        public java.util.Optional<java.lang.String> version()
        Returns:
        A version string for this api. If specified, will have the form major-version.minor-version, e.g. `1.10`.