Package xyz.block.ftl.schema.v1
Enum Visibility
-
- All Implemented Interfaces:
-
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum
public enum Visibility implements ProtocolMessageEnum
Protobuf enumbuf:lint:ignore ENUM_ZERO_VALUE_SUFFIXxyz.block.ftl.schema.v1.Visibility
-
-
Field Summary
Fields Modifier and Type Field Description public final static intVISIBILITY_SCOPE_NONE_VALUEpublic final static intVISIBILITY_SCOPE_MODULE_VALUEpublic final static intVISIBILITY_SCOPE_REALM_VALUE
-
Enum Constant Summary
Enum Constants Enum Constant Description VISIBILITY_SCOPE_NONEVISIBILITY_SCOPE_NONE = 0;VISIBILITY_SCOPE_MODULEVISIBILITY_SCOPE_MODULE = 1;VISIBILITY_SCOPE_REALMVISIBILITY_SCOPE_REALM = 2;UNRECOGNIZED
-
Method Summary
Modifier and Type Method Description final intgetNumber()static VisibilityvalueOf(int value)static VisibilityforNumber(int value)static Internal.EnumLiteMap<Visibility>internalGetValueMap()final Descriptors.EnumValueDescriptorgetValueDescriptor()final Descriptors.EnumDescriptorgetDescriptorForType()final static Descriptors.EnumDescriptorgetDescriptor()static VisibilityvalueOf(Descriptors.EnumValueDescriptor desc)static Array<Visibility>values()Returns an array containing the constants of this enum type, in the order they're declared. static VisibilityvalueOf(String name)Returns the enum constant of this type with the specified name. -
-
Method Detail
-
getNumber
final int getNumber()
-
valueOf
@Deprecated() static Visibility valueOf(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
The enum associated with the given numeric wire value.
-
forNumber
static Visibility forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
The enum associated with the given numeric wire value.
-
internalGetValueMap
static Internal.EnumLiteMap<Visibility> internalGetValueMap()
-
getValueDescriptor
final Descriptors.EnumValueDescriptor getValueDescriptor()
-
getDescriptorForType
final Descriptors.EnumDescriptor getDescriptorForType()
-
getDescriptor
final static Descriptors.EnumDescriptor getDescriptor()
-
valueOf
static Visibility valueOf(Descriptors.EnumValueDescriptor desc)
-
values
static Array<Visibility> values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.
- Returns:
an array containing the constants of this enum type, in the order they're declared
-
valueOf
static Visibility valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
- Returns:
the enum constant with the specified name
-
-
-
-