Class ResourceProto (2.9.0)

public final class ResourceProto

Inheritance

java.lang.Object > ResourceProto

Static Fields

RESOURCE_DEFINITION_FIELD_NUMBER

public static final int RESOURCE_DEFINITION_FIELD_NUMBER
Field Value
TypeDescription
int

RESOURCE_FIELD_NUMBER

public static final int RESOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

RESOURCE_REFERENCE_FIELD_NUMBER

public static final int RESOURCE_REFERENCE_FIELD_NUMBER
Field Value
TypeDescription
int

resource

public static final GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,ResourceDescriptor> resource

An annotation that describes a resource definition, see [ResourceDescriptor][].

extend .google.protobuf.MessageOptions { ... }

Field Value
TypeDescription
GeneratedExtension<MessageOptions,ResourceDescriptor>

resourceDefinition

public static final GeneratedMessage.GeneratedExtension<DescriptorProtos.FileOptions,List<ResourceDescriptor>> resourceDefinition

An annotation that describes a resource definition without a corresponding message; see [ResourceDescriptor][].

extend .google.protobuf.FileOptions { ... }

Field Value
TypeDescription
GeneratedExtension<FileOptions,List<ResourceDescriptor>>

resourceReference

public static final GeneratedMessage.GeneratedExtension<DescriptorProtos.FieldOptions,ResourceReference> resourceReference

An annotation that describes a resource reference, see [ResourceReference][].

extend .google.protobuf.FieldOptions { ... }

Field Value
TypeDescription
GeneratedExtension<FieldOptions,ResourceReference>

Static Methods

getDescriptor()

public static Descriptors.FileDescriptor getDescriptor()
Returns
TypeDescription
FileDescriptor

registerAllExtensions(ExtensionRegistry registry)

public static void registerAllExtensions(ExtensionRegistry registry)
Parameter
NameDescription
registryExtensionRegistry

registerAllExtensions(ExtensionRegistryLite registry)

public static void registerAllExtensions(ExtensionRegistryLite registry)
Parameter
NameDescription
registryExtensionRegistryLite