public final class FieldBehaviorProto
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
FIELD_BEHAVIOR_FIELD_NUMBER |
static GeneratedMessage.GeneratedExtension<DescriptorProtos.FieldOptions,java.util.List<FieldBehavior>> |
fieldBehavior
A designation of a specific field behavior (required, output only, etc.)
in protobuf messages.
|
Modifier and Type | Method and Description |
---|---|
static Descriptors.FileDescriptor |
getDescriptor() |
static void |
registerAllExtensions(ExtensionRegistry registry) |
static void |
registerAllExtensions(ExtensionRegistryLite registry) |
public static final int FIELD_BEHAVIOR_FIELD_NUMBER
public static final GeneratedMessage.GeneratedExtension<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 { ... }
public static void registerAllExtensions(ExtensionRegistryLite registry)
public static void registerAllExtensions(ExtensionRegistry registry)
public static Descriptors.FileDescriptor getDescriptor()