<PackageReference Include="Google.Protobuf" Version="3.34.2" />

Google.Protobuf.WellKnownTypes.Api

Api is a light-weight descriptor for an API Interface. Interfaces are also described as "protocol buffer services" in some contexts, such as by the "service" keyword in a .proto file, but they are different from API Services, which represent a concrete implementation of an interface as opposed to simply a description of methods and bindings. They are also sometimes simply referred to as "APIs" in other contexts, such as the name of this message itself. See https://cloud.google.com/apis/design/glossary for detailed terminology. New usages of this message as an alternative to ServiceDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.
public const int EditionFieldNumber = 8

Field number for the "edition" field.

public const int MethodsFieldNumber = 2

Field number for the "methods" field.

public const int MixinsFieldNumber = 6

Field number for the "mixins" field.

public const int NameFieldNumber = 1

Field number for the "name" field.

public const int OptionsFieldNumber = 3

Field number for the "options" field.

public const int SourceContextFieldNumber = 5

Field number for the "source_context" field.

public const int SyntaxFieldNumber = 7

Field number for the "syntax" field.

public const int VersionFieldNumber = 4

Field number for the "version" field.

public static MessageDescriptor Descriptor { get; }

public static MessageParser<Api> Parser { get; }

public string Edition { get; set; }

The source edition string, only valid when syntax is SYNTAX_EDITIONS.

public RepeatedField<Method> Methods { get; }

The methods of this interface, in unspecified order.

public RepeatedField<Mixin> Mixins { get; }

Included interfaces. See [Mixin][].

public string Name { get; set; }

The fully qualified name of this interface, including package name followed by the interface's simple name.

public RepeatedField<Option> Options { get; }

Any metadata attached to the interface.

public SourceContext SourceContext { get; set; }

Source context for the protocol buffer service represented by this message.

public Syntax Syntax { get; set; }

The source syntax of the service.

public string Version { get; set; }

A version string for this interface. If specified, must have the form `major-version.minor-version`, as in `1.10`. If the minor version is omitted, it defaults to zero. If the entire version field is empty, the major version is derived from the package name, as outlined below. If the field is not empty, the version in the package name will be verified to be consistent with what is provided here. The versioning schema uses [semantic versioning](http://semver.org) where the major version number indicates a breaking change and the minor version an additive, non-breaking change. Both version numbers are signals to users what to expect from different versions, and should be carefully chosen based on the product plan. The major version is also reflected in the package name of the interface, which must end in `v<major-version>`, as in `google.feature.v1`. For major versions 0 and 1, the suffix can be omitted. Zero major versions must only be used for experimental, non-GA interfaces.

public Api()

public Api(Api other)

public int CalculateSize()

public Api Clone()

public bool Equals(Api other)

public void MergeFrom(Api other)

public void MergeFrom(CodedInputStream input)

public void WriteTo(CodedOutputStream output)