Package-level declarations
Types
Interface providing field-presence information for Api messages. Retrieve it via the Api.presence extension property.
Wrapper message for bytes.
Describes a message type.
Interface providing field-presence information for DescriptorProto messages. Retrieve it via the DescriptorProto.presence extension property.
Wrapper message for double.
A Duration represents a signed, fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like "day" or "month". It is related to Timestamp in that the difference between two Timestamp values is a Duration and it can be added or subtracted from a Timestamp. Range is approximately +-10,000 years.
Describes an enum type.
Interface providing field-presence information for EnumDescriptorProto messages. Retrieve it via the EnumDescriptorProto.presence extension property.
Interface providing field-presence information for EnumOptions messages. Retrieve it via the EnumOptions.presence extension property.
Interface providing field-presence information for Enum messages. Retrieve it via the Enum.presence extension property.
Describes a value within an enum.
Interface providing field-presence information for EnumValueDescriptorProto messages. Retrieve it via the EnumValueDescriptorProto.presence extension property.
Interface providing field-presence information for EnumValueOptions messages. Retrieve it via the EnumValueOptions.presence extension property.
Interface providing field-presence information for ExtensionRangeOptions messages. Retrieve it via the ExtensionRangeOptions.presence extension property.
=================================================================== Features
A compiled specification for the defaults of a set of features. These messages are generated from FeatureSet extensions and can be used to seed feature resolution. The resolution with this object becomes a simple search for the closest matching edition, followed by proto merges.
Interface providing field-presence information for FeatureSetDefaults messages. Retrieve it via the FeatureSetDefaults.presence extension property.
Interface providing field-presence information for FeatureSet messages. Retrieve it via the FeatureSet.presence extension property.
Describes a field within a message.
Interface providing field-presence information for FieldDescriptorProto messages. Retrieve it via the FieldDescriptorProto.presence extension property.
Interface providing field-presence information for FieldOptions messages. Retrieve it via the FieldOptions.presence extension property.
Describes a complete .proto file.
Interface providing field-presence information for FileDescriptorProto messages. Retrieve it via the FileDescriptorProto.presence extension property.
The protocol compiler can output a FileDescriptorSet containing the .proto files it parses.
=================================================================== Options
Interface providing field-presence information for FileOptions messages. Retrieve it via the FileOptions.presence extension property.
Wrapper message for float.
Describes the relationship between generated code and its original source file. A GeneratedCodeInfo message is associated with only one generated source file, but may contain references to different source .proto files.
Wrapper message for int32.
Wrapper message for int64.
Interface providing field-presence information for MessageOptions messages. Retrieve it via the MessageOptions.presence extension property.
Describes a method of a service.
Interface providing field-presence information for MethodDescriptorProto messages. Retrieve it via the MethodDescriptorProto.presence extension property.
Interface providing field-presence information for MethodOptions messages. Retrieve it via the MethodOptions.presence extension property.
Describes a oneof.
Interface providing field-presence information for OneofDescriptorProto messages. Retrieve it via the OneofDescriptorProto.presence extension property.
Interface providing field-presence information for OneofOptions messages. Retrieve it via the OneofOptions.presence extension property.
Interface providing field-presence information for Option messages. Retrieve it via the Option.presence extension property.
Describes a service.
Interface providing field-presence information for ServiceDescriptorProto messages. Retrieve it via the ServiceDescriptorProto.presence extension property.
Interface providing field-presence information for ServiceOptions messages. Retrieve it via the ServiceOptions.presence extension property.
=================================================================== Optional source code info
SourceContext represents information about the source of a protobuf element, like the file in which it is defined.
Wrapper message for string.
Struct represents a structured data value, consisting of fields which map to dynamically typed values. In some languages, Struct might be supported by a native representation. For example, in scripting languages like JS a struct is represented as an object. The details of that representation are described together with the proto support for the language.
Describes the 'visibility' of a symbol with respect to the proto import system. Symbols can only be imported when the visibility rules do not prevent it (ex: local symbols cannot be imported). Visibility modifiers can only set on message and enum as they are the only types available to be referenced from other files.
A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution. The count is relative to an epoch at UTC midnight on January 1, 1970, in the proleptic Gregorian calendar which extends the Gregorian calendar backwards to year one.
Interface providing field-presence information for Type messages. Retrieve it via the Type.presence extension property.
Wrapper message for uint32.
Wrapper message for uint64.
A message representing a option the parser does not recognize. This only appears in options protos created by the compiler::Parser class. DescriptorPool resolves these when building Descriptor objects. Therefore, options protos in descriptor objects (e.g. returned by Descriptor::options(), or produced by Descriptor::CopyTo()) will never have UninterpretedOptions in them.
Interface providing field-presence information for UninterpretedOption messages. Retrieve it via the UninterpretedOption.presence extension property.
Properties
Returns the field-presence view for this Api instance.
Returns the field-presence view for this DescriptorProto instance.
Returns the field-presence view for this DescriptorProto.ExtensionRange instance.
Returns the field-presence view for this DescriptorProto.ReservedRange instance.
Returns the field-presence view for this Enum instance.
Returns the field-presence view for this EnumDescriptorProto instance.
Returns the field-presence view for this EnumDescriptorProto.EnumReservedRange instance.
Returns the field-presence view for this EnumOptions instance.
Returns the field-presence view for this EnumValueDescriptorProto instance.
Returns the field-presence view for this EnumValueOptions instance.
Returns the field-presence view for this ExtensionRangeOptions instance.
Returns the field-presence view for this ExtensionRangeOptions.Declaration instance.
Returns the field-presence view for this FeatureSet instance.
Returns the field-presence view for this FeatureSetDefaults instance.
Returns the field-presence view for this FeatureSetDefaults.FeatureSetEditionDefault instance.
Returns the field-presence view for this FieldDescriptorProto instance.
Returns the field-presence view for this FieldOptions instance.
Returns the field-presence view for this FieldOptions.EditionDefault instance.
Returns the field-presence view for this FieldOptions.FeatureSupport instance.
Returns the field-presence view for this FileDescriptorProto instance.
Returns the field-presence view for this FileDescriptorSet instance.
Returns the field-presence view for this FileOptions instance.
Returns the field-presence view for this GeneratedCodeInfo.Annotation instance.
Returns the field-presence view for this MessageOptions instance.
Returns the field-presence view for this MethodDescriptorProto instance.
Returns the field-presence view for this MethodOptions instance.
Returns the field-presence view for this OneofDescriptorProto instance.
Returns the field-presence view for this OneofOptions instance.
Returns the field-presence view for this Option instance.
Returns the field-presence view for this ServiceDescriptorProto instance.
Returns the field-presence view for this ServiceOptions instance.
Returns the field-presence view for this SourceCodeInfo instance.
Returns the field-presence view for this SourceCodeInfo.Location instance.
Returns the field-presence view for this Type instance.
Returns the field-presence view for this UninterpretedOption instance.
Returns the field-presence view for this UninterpretedOption.NamePart instance.
Functions
Checks if this Any message contains a message of the specified messageClass type.
Checks if this Any message contains a message of the specified messageType type.
Copies the original message, including unknown fields.
Constructs a new message.
Converts this Protobuf Duration to a Kotlin kotlin.time.Duration.
Converts this Kotlin kotlin.time.Duration to a Protobuf Duration.