public final class ResourceProto
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,ResourceDescriptor> |
resource
An annotation that describes a resource definition, see
[ResourceDescriptor][].
|
static int |
RESOURCE_DEFINITION_FIELD_NUMBER |
static int |
RESOURCE_FIELD_NUMBER |
static int |
RESOURCE_REFERENCE_FIELD_NUMBER |
static GeneratedMessage.GeneratedExtension<DescriptorProtos.FileOptions,java.util.List<ResourceDescriptor>> |
resourceDefinition
An annotation that describes a resource definition without a corresponding
message; see [ResourceDescriptor][].
|
static GeneratedMessage.GeneratedExtension<DescriptorProtos.FieldOptions,ResourceReference> |
resourceReference
An annotation that describes a resource reference, see
[ResourceReference][].
|
Modifier and Type | Method and Description |
---|---|
static Descriptors.FileDescriptor |
getDescriptor() |
static void |
registerAllExtensions(ExtensionRegistry registry) |
static void |
registerAllExtensions(ExtensionRegistryLite registry) |
public static final int RESOURCE_REFERENCE_FIELD_NUMBER
public static final GeneratedMessage.GeneratedExtension<DescriptorProtos.FieldOptions,ResourceReference> resourceReference
An annotation that describes a resource reference, see [ResourceReference][].
extend .google.protobuf.FieldOptions { ... }
public static final int RESOURCE_DEFINITION_FIELD_NUMBER
public static final GeneratedMessage.GeneratedExtension<DescriptorProtos.FileOptions,java.util.List<ResourceDescriptor>> resourceDefinition
An annotation that describes a resource definition without a corresponding message; see [ResourceDescriptor][].
extend .google.protobuf.FileOptions { ... }
public static final int RESOURCE_FIELD_NUMBER
public static final GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,ResourceDescriptor> resource
An annotation that describes a resource definition, see [ResourceDescriptor][].
extend .google.protobuf.MessageOptions { ... }
public static void registerAllExtensions(ExtensionRegistryLite registry)
public static void registerAllExtensions(ExtensionRegistry registry)
public static Descriptors.FileDescriptor getDescriptor()