Class PolicyProto (2.38.0)

public final class PolicyProto

Inheritance

java.lang.Object > PolicyProto

Static Fields

FIELD_POLICY_FIELD_NUMBER

public static final int FIELD_POLICY_FIELD_NUMBER
Field Value
Type Description
int

METHOD_POLICY_FIELD_NUMBER

public static final int METHOD_POLICY_FIELD_NUMBER
Field Value
Type Description
int

fieldPolicy

public static final GeneratedMessage.GeneratedExtension<DescriptorProtos.FieldOptions,FieldPolicy> fieldPolicy

See [FieldPolicy][].

extend .google.protobuf.FieldOptions { ... }

Field Value
Type Description
GeneratedExtension<FieldOptions,FieldPolicy>

methodPolicy

public static final GeneratedMessage.GeneratedExtension<DescriptorProtos.MethodOptions,MethodPolicy> methodPolicy

See [MethodPolicy][].

extend .google.protobuf.MethodOptions { ... }

Field Value
Type Description
GeneratedExtension<MethodOptions,MethodPolicy>

Static Methods

getDescriptor()

public static Descriptors.FileDescriptor getDescriptor()
Returns
Type Description
FileDescriptor

registerAllExtensions(ExtensionRegistry registry)

public static void registerAllExtensions(ExtensionRegistry registry)
Parameter
Name Description
registry ExtensionRegistry

registerAllExtensions(ExtensionRegistryLite registry)

public static void registerAllExtensions(ExtensionRegistryLite registry)
Parameter
Name Description
registry ExtensionRegistryLite