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 value of the aggregateValue field if present, otherwise null.
Returns the value of the allowAlias field if present, otherwise null.
Returns the value of the begin field if present, otherwise null.
Returns the value of the ccEnableArenas field if present, otherwise null.
Returns the value of the ccGenericServices field if present, otherwise null.
Returns the value of the clientStreaming field if present, otherwise null.
Returns the value of the csharpNamespace field if present, otherwise null.
Returns the value of the ctype field if present, otherwise null.
Returns the value of the debugRedact field if present, otherwise null.
Returns the value of the defaultSymbolVisibility field if present, otherwise null.
Returns the value of the defaultValue field if present, otherwise null.
Returns the value of the deprecatedLegacyJsonFieldConflicts field if present, otherwise null.
Returns the value of the deprecated field if present, otherwise null.
Returns the value of the deprecationWarning field if present, otherwise null.
Returns the value of the doubleValue field if present, otherwise null.
Returns the value of the editionDeprecated field if present, otherwise null.
Returns the value of the editionIntroduced field if present, otherwise null.
Returns the value of the edition field if present, otherwise null.
Returns the value of the editionRemoved field if present, otherwise null.
Returns the value of the end field if present, otherwise null.
Returns the value of the enforceNamingStyle field if present, otherwise null.
Returns the value of the enumType field if present, otherwise null.
Returns the value of the extendee field if present, otherwise null.
Returns the value of the features field if present, otherwise null.
Returns the value of the featureSupport field if present, otherwise null.
Returns the value of the fieldPresence field if present, otherwise null.
Returns the value of the fixedFeatures field if present, otherwise null.
Returns the value of the fullName field if present, otherwise null.
Returns the value of the goPackage field if present, otherwise null.
Returns the value of the idempotencyLevel field if present, otherwise null.
Returns the value of the identifierValue field if present, otherwise null.
Returns the value of the inputType field if present, otherwise null.
Returns the value of the javaGenerateEqualsAndHash field if present, otherwise null.
Returns the value of the javaGenericServices field if present, otherwise null.
Returns the value of the javaMultipleFiles field if present, otherwise null.
Returns the value of the javaOuterClassname field if present, otherwise null.
Returns the value of the javaPackage field if present, otherwise null.
Returns the value of the javaStringCheckUtf8 field if present, otherwise null.
Returns the value of the jsonFormat field if present, otherwise null.
Returns the value of the jsonName field if present, otherwise null.
Returns the value of the jstype field if present, otherwise null.
Returns the value of the label field if present, otherwise null.
Returns the value of the lazy field if present, otherwise null.
Returns the value of the leadingComments field if present, otherwise null.
Returns the value of the mapEntry field if present, otherwise null.
Returns the value of the maximumEdition field if present, otherwise null.
Returns the value of the messageEncoding field if present, otherwise null.
Returns the value of the messageSetWireFormat field if present, otherwise null.
Returns the value of the minimumEdition field if present, otherwise null.
Returns the value of the name field if present, otherwise null.
Returns the value of the negativeIntValue field if present, otherwise null.
Returns the value of the noStandardDescriptorAccessor field if present, otherwise null.
Returns the value of the number field if present, otherwise null.
Returns the value of the objcClassPrefix field if present, otherwise null.
Returns the value of the oneofIndex field if present, otherwise null.
Returns the value of the optimizeFor field if present, otherwise null.
Returns the value of the options field if present, otherwise null.
Returns the value of the outputType field if present, otherwise null.
Returns the value of the overridableFeatures field if present, otherwise null.
Returns the value of the package field if present, otherwise null.
Returns the value of the packed field if present, otherwise null.
Returns the value of the phpClassPrefix field if present, otherwise null.
Returns the value of the phpMetadataNamespace field if present, otherwise null.
Returns the value of the phpNamespace field if present, otherwise null.
Returns the value of the positiveIntValue field if present, otherwise null.
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.
Returns the value of the proto3Optional field if present, otherwise null.
Returns the value of the pyGenericServices field if present, otherwise null.
Returns the value of the repeatedFieldEncoding field if present, otherwise null.
Returns the value of the repeated field if present, otherwise null.
Returns the value of the reserved field if present, otherwise null.
Returns the value of the retention field if present, otherwise null.
Returns the value of the rubyPackage field if present, otherwise null.
Returns the value of the semantic field if present, otherwise null.
Returns the value of the serverStreaming field if present, otherwise null.
Returns the value of the sourceCodeInfo field if present, otherwise null.
Returns the value of the sourceContext field if present, otherwise null.
Returns the value of the sourceFile field if present, otherwise null.
Returns the value of the start field if present, otherwise null.
Returns the value of the stringValue field if present, otherwise null.
Returns the value of the swiftPrefix field if present, otherwise null.
Returns the value of the syntax field if present, otherwise null.
Returns the value of the trailingComments field if present, otherwise null.
Returns the value of the typeName field if present, otherwise null.
Returns the value of the type field if present, otherwise null.
Returns the value of the unverifiedLazy field if present, otherwise null.
Returns the value of the utf8Validation field if present, otherwise null.
Returns the value of the value field if present, otherwise null.
Returns the value of the verification field if present, otherwise null.
Returns the value of the visibility field if present, otherwise null.
Returns the value of the weak field if present, otherwise null.
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.