
alluxio.grpc.PAclAction Maven / Gradle / Ivy
// Generated by the protocol buffer alluxio.shaded.client.com.iler. DO NOT EDIT!
// source: grpc/file_system_master.proto
package alluxio.grpc;
/**
* Protobuf enum {@code alluxio.grpc.file.PAclAction}
*/
public enum PAclAction
implements alluxio.shaded.client.com.google.protobuf.ProtocolMessageEnum {
/**
* Read = 0;
*/
Read(0),
/**
* Write = 1;
*/
Write(1),
/**
* Execute = 2;
*/
Execute(2),
;
/**
* Read = 0;
*/
public static final int Read_VALUE = 0;
/**
* Write = 1;
*/
public static final int Write_VALUE = 1;
/**
* Execute = 2;
*/
public static final int Execute_VALUE = 2;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static PAclAction valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static PAclAction forNumber(int value) {
switch (value) {
case 0: return Read;
case 1: return Write;
case 2: return Execute;
default: return null;
}
}
public static alluxio.shaded.client.com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final alluxio.shaded.client.com.google.protobuf.Internal.EnumLiteMap<
PAclAction> internalValueMap =
new alluxio.shaded.client.com.google.protobuf.Internal.EnumLiteMap() {
public PAclAction findValueByNumber(int number) {
return PAclAction.forNumber(number);
}
};
public final alluxio.shaded.client.com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final alluxio.shaded.client.com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return alluxio.grpc.FileSystemMasterProto.getDescriptor().getEnumTypes().get(6);
}
private static final PAclAction[] VALUES = values();
public static PAclAction valueOf(
alluxio.shaded.client.com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private PAclAction(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:alluxio.grpc.file.PAclAction)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy