Class FieldBehaviorProto


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

      Fields 
      Modifier and Type Field Description
      static int FIELD_BEHAVIOR_FIELD_NUMBER  
      static com.google.protobuf.GeneratedMessage.GeneratedExtension<com.google.protobuf.DescriptorProtos.FieldOptions,​java.util.List<FieldBehavior>> fieldBehavior
      A designation of a specific field behavior (required, output only, etc.) in protobuf messages.
    • 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

      • FIELD_BEHAVIOR_FIELD_NUMBER

        public static final int FIELD_BEHAVIOR_FIELD_NUMBER
        See Also:
        Constant Field Values
      • fieldBehavior

        public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<com.google.protobuf.DescriptorProtos.FieldOptions,​java.util.List<FieldBehavior>> fieldBehavior
         A designation of a specific field behavior (required, output only, etc.)
         in protobuf messages.
        
         Examples:
        
           string name = 1 [(google.api.field_behavior) = REQUIRED];
           State state = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
           google.protobuf.Duration ttl = 1
             [(google.api.field_behavior) = INPUT_ONLY];
           google.protobuf.Timestamp expire_time = 1
             [(google.api.field_behavior) = OUTPUT_ONLY,
              (google.api.field_behavior) = IMMUTABLE];
         
        extend .google.protobuf.FieldOptions { ... }
    • 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()