Class PolicyProto (2.27.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
TypeDescription
int

METHOD_POLICY_FIELD_NUMBER

public static final int METHOD_POLICY_FIELD_NUMBER
Field Value
TypeDescription
int

fieldPolicy

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

See [FieldPolicy][].

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

Field Value
TypeDescription
GeneratedExtension<FieldOptions,FieldPolicy>

methodPolicy

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

See [MethodPolicy][].

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

Field Value
TypeDescription
GeneratedExtension<MethodOptions,MethodPolicy>

Static Methods

getDescriptor()

public static Descriptors.FileDescriptor getDescriptor()
Returns
TypeDescription
FileDescriptor

registerAllExtensions(ExtensionRegistry registry)

public static void registerAllExtensions(ExtensionRegistry registry)
Parameter
NameDescription
registryExtensionRegistry

registerAllExtensions(ExtensionRegistryLite registry)

public static void registerAllExtensions(ExtensionRegistryLite registry)
Parameter
NameDescription
registryExtensionRegistryLite