Package-level declarations
Types
Interface providing field-presence information for com.google.protobuf.kotlin.Api messages. Retrieve it via the com.google.protobuf.kotlin.Api.presence extension property.
Wrapper message for bytes.
Describes a message type.
Interface providing field-presence information for com.google.protobuf.kotlin.DescriptorProto messages. Retrieve it via the com.google.protobuf.kotlin.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 com.google.protobuf.kotlin.EnumDescriptorProto messages. Retrieve it via the com.google.protobuf.kotlin.EnumDescriptorProto.presence extension property.
Interface providing field-presence information for com.google.protobuf.kotlin.EnumOptions messages. Retrieve it via the com.google.protobuf.kotlin.EnumOptions.presence extension property.
Interface providing field-presence information for com.google.protobuf.kotlin.Enum messages. Retrieve it via the com.google.protobuf.kotlin.Enum.presence extension property.
Describes a value within an enum.
Interface providing field-presence information for com.google.protobuf.kotlin.EnumValueDescriptorProto messages. Retrieve it via the com.google.protobuf.kotlin.EnumValueDescriptorProto.presence extension property.
Interface providing field-presence information for com.google.protobuf.kotlin.EnumValueOptions messages. Retrieve it via the com.google.protobuf.kotlin.EnumValueOptions.presence extension property.
Interface providing field-presence information for com.google.protobuf.kotlin.ExtensionRangeOptions messages. Retrieve it via the com.google.protobuf.kotlin.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 com.google.protobuf.kotlin.FeatureSetDefaults messages. Retrieve it via the com.google.protobuf.kotlin.FeatureSetDefaults.presence extension property.
Interface providing field-presence information for com.google.protobuf.kotlin.FeatureSet messages. Retrieve it via the com.google.protobuf.kotlin.FeatureSet.presence extension property.
Describes a field within a message.
Interface providing field-presence information for com.google.protobuf.kotlin.FieldDescriptorProto messages. Retrieve it via the com.google.protobuf.kotlin.FieldDescriptorProto.presence extension property.
Interface providing field-presence information for com.google.protobuf.kotlin.FieldOptions messages. Retrieve it via the com.google.protobuf.kotlin.FieldOptions.presence extension property.
Describes a complete .proto file.
Interface providing field-presence information for com.google.protobuf.kotlin.FileDescriptorProto messages. Retrieve it via the com.google.protobuf.kotlin.FileDescriptorProto.presence extension property.
The protocol compiler can output a FileDescriptorSet containing the .proto files it parses.
=================================================================== Options
Interface providing field-presence information for com.google.protobuf.kotlin.FileOptions messages. Retrieve it via the com.google.protobuf.kotlin.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 com.google.protobuf.kotlin.MessageOptions messages. Retrieve it via the com.google.protobuf.kotlin.MessageOptions.presence extension property.
Describes a method of a service.
Interface providing field-presence information for com.google.protobuf.kotlin.MethodDescriptorProto messages. Retrieve it via the com.google.protobuf.kotlin.MethodDescriptorProto.presence extension property.
Interface providing field-presence information for com.google.protobuf.kotlin.MethodOptions messages. Retrieve it via the com.google.protobuf.kotlin.MethodOptions.presence extension property.
Describes a oneof.
Interface providing field-presence information for com.google.protobuf.kotlin.OneofDescriptorProto messages. Retrieve it via the com.google.protobuf.kotlin.OneofDescriptorProto.presence extension property.
Interface providing field-presence information for com.google.protobuf.kotlin.OneofOptions messages. Retrieve it via the com.google.protobuf.kotlin.OneofOptions.presence extension property.
Interface providing field-presence information for com.google.protobuf.kotlin.Option messages. Retrieve it via the com.google.protobuf.kotlin.Option.presence extension property.
Describes a service.
Interface providing field-presence information for com.google.protobuf.kotlin.ServiceDescriptorProto messages. Retrieve it via the com.google.protobuf.kotlin.ServiceDescriptorProto.presence extension property.
Interface providing field-presence information for com.google.protobuf.kotlin.ServiceOptions messages. Retrieve it via the com.google.protobuf.kotlin.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 com.google.protobuf.kotlin.Type messages. Retrieve it via the com.google.protobuf.kotlin.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 com.google.protobuf.kotlin.UninterpretedOption messages. Retrieve it via the com.google.protobuf.kotlin.UninterpretedOption.presence extension property.
Properties
Returns the field-presence view for this com.google.protobuf.kotlin.Api instance.
Returns the field-presence view for this com.google.protobuf.kotlin.DescriptorProto instance.
Returns the field-presence view for this com.google.protobuf.kotlin.DescriptorProto.ExtensionRange instance.
Returns the field-presence view for this com.google.protobuf.kotlin.DescriptorProto.ReservedRange instance.
Returns the field-presence view for this com.google.protobuf.kotlin.Enum instance.
Returns the field-presence view for this com.google.protobuf.kotlin.EnumDescriptorProto instance.
Returns the field-presence view for this com.google.protobuf.kotlin.EnumDescriptorProto.EnumReservedRange instance.
Returns the field-presence view for this com.google.protobuf.kotlin.EnumOptions instance.
Returns the field-presence view for this com.google.protobuf.kotlin.EnumValueDescriptorProto instance.
Returns the field-presence view for this com.google.protobuf.kotlin.EnumValueOptions instance.
Returns the field-presence view for this com.google.protobuf.kotlin.ExtensionRangeOptions instance.
Returns the field-presence view for this com.google.protobuf.kotlin.ExtensionRangeOptions.Declaration instance.
Returns the field-presence view for this com.google.protobuf.kotlin.FeatureSet instance.
Returns the field-presence view for this com.google.protobuf.kotlin.FeatureSetDefaults instance.
Returns the field-presence view for this com.google.protobuf.kotlin.FeatureSetDefaults.FeatureSetEditionDefault instance.
Returns the field-presence view for this com.google.protobuf.kotlin.FieldDescriptorProto instance.
Returns the field-presence view for this com.google.protobuf.kotlin.FieldOptions instance.
Returns the field-presence view for this com.google.protobuf.kotlin.FieldOptions.EditionDefault instance.
Returns the field-presence view for this com.google.protobuf.kotlin.FieldOptions.FeatureSupport instance.
Returns the field-presence view for this com.google.protobuf.kotlin.FileDescriptorProto instance.
Returns the field-presence view for this com.google.protobuf.kotlin.FileDescriptorSet instance.
Returns the field-presence view for this com.google.protobuf.kotlin.FileOptions instance.
Returns the field-presence view for this com.google.protobuf.kotlin.GeneratedCodeInfo.Annotation instance.
Returns the field-presence view for this com.google.protobuf.kotlin.MessageOptions instance.
Returns the field-presence view for this com.google.protobuf.kotlin.MethodDescriptorProto instance.
Returns the field-presence view for this com.google.protobuf.kotlin.MethodOptions instance.
Returns the field-presence view for this com.google.protobuf.kotlin.OneofDescriptorProto instance.
Returns the field-presence view for this com.google.protobuf.kotlin.OneofOptions instance.
Returns the field-presence view for this com.google.protobuf.kotlin.Option instance.
Returns the field-presence view for this com.google.protobuf.kotlin.ServiceDescriptorProto instance.
Returns the field-presence view for this com.google.protobuf.kotlin.ServiceOptions instance.
Returns the field-presence view for this com.google.protobuf.kotlin.SourceCodeInfo instance.
Returns the field-presence view for this com.google.protobuf.kotlin.SourceCodeInfo.Location instance.
Returns the field-presence view for this com.google.protobuf.kotlin.Type instance.
Returns the field-presence view for this com.google.protobuf.kotlin.UninterpretedOption instance.
Returns the field-presence view for this com.google.protobuf.kotlin.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.