Class ResourceProto


  • public final class ResourceProto
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static com.google.protobuf.GeneratedMessage.GeneratedExtension<com.google.protobuf.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 com.google.protobuf.GeneratedMessage.GeneratedExtension<com.google.protobuf.DescriptorProtos.FileOptions,​java.util.List<ResourceDescriptor>> resourceDefinition
      An annotation that describes a resource definition without a corresponding message; see [ResourceDescriptor][].
      static com.google.protobuf.GeneratedMessage.GeneratedExtension<com.google.protobuf.DescriptorProtos.FieldOptions,​ResourceReference> resourceReference
      An annotation that describes a resource reference, see [ResourceReference][].
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static com.google.protobuf.Descriptors.FileDescriptor getDescriptor()  
      static void registerAllExtensions​(com.google.protobuf.ExtensionRegistry registry)  
      static void registerAllExtensions​(com.google.protobuf.ExtensionRegistryLite registry)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • RESOURCE_REFERENCE_FIELD_NUMBER

        public static final int RESOURCE_REFERENCE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • resourceReference

        public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<com.google.protobuf.DescriptorProtos.FieldOptions,​ResourceReference> resourceReference
         An annotation that describes a resource reference, see
         [ResourceReference][].
         
        extend .google.protobuf.FieldOptions { ... }
      • RESOURCE_DEFINITION_FIELD_NUMBER

        public static final int RESOURCE_DEFINITION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • resourceDefinition

        public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<com.google.protobuf.DescriptorProtos.FileOptions,​java.util.List<ResourceDescriptor>> resourceDefinition
         An annotation that describes a resource definition without a corresponding
         message; see [ResourceDescriptor][].
         
        extend .google.protobuf.FileOptions { ... }
      • resource

        public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<com.google.protobuf.DescriptorProtos.MessageOptions,​ResourceDescriptor> resource
         An annotation that describes a resource definition, see
         [ResourceDescriptor][].
         
        extend .google.protobuf.MessageOptions { ... }
    • Method Detail

      • registerAllExtensions

        public static void registerAllExtensions​(com.google.protobuf.ExtensionRegistryLite registry)
      • registerAllExtensions

        public static void registerAllExtensions​(com.google.protobuf.ExtensionRegistry registry)
      • getDescriptor

        public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor()