Package com.google.api
Class FieldBehaviorProto
java.lang.Object
com.google.api.FieldBehaviorProto
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension<com.google.protobuf.DescriptorProtos.FieldOptions,
List<FieldBehavior>> A designation of a specific field behavior (required, output only, etc.) in protobuf messages. -
Method Summary
Modifier and TypeMethodDescriptionstatic void
registerAllExtensions
(com.google.protobuf.ExtensionRegistryLite registry)
-
Field Details
-
FIELD_BEHAVIOR_FIELD_NUMBER
public static final int FIELD_BEHAVIOR_FIELD_NUMBER- See Also:
-
fieldBehavior
public static final com.google.protobuf.GeneratedMessageLite.GeneratedExtension<com.google.protobuf.DescriptorProtos.FieldOptions,List<FieldBehavior>> fieldBehaviorA 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 Details
-
registerAllExtensions
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)
-