Class ResourceProto (2.48.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
Type Description
int

RESOURCE_FIELD_NUMBER

public static final int RESOURCE_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_REFERENCE_FIELD_NUMBER

public static final int RESOURCE_REFERENCE_FIELD_NUMBER
Field Value
Type Description
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
Type Description
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
Type Description
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
Type Description
GeneratedExtension<FieldOptions,ResourceReference>

Static Methods

getDescriptor()

public static Descriptors.FileDescriptor getDescriptor()
Returns
Type Description
FileDescriptor

registerAllExtensions(ExtensionRegistry registry)

public static void registerAllExtensions(ExtensionRegistry registry)
Parameter
Name Description
registry ExtensionRegistry

registerAllExtensions(ExtensionRegistryLite registry)

public static void registerAllExtensions(ExtensionRegistryLite registry)
Parameter
Name Description
registry ExtensionRegistryLite