public final enum class oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus extends java.lang.Enum implements oadd.com.google.protobuf.ProtocolMessageEnum
{
public static final enum oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus SUCCESS;
public static final enum oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus RPC_VERSION_MISMATCH;
public static final enum oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus AUTH_FAILED;
public static final enum oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus UNKNOWN_FAILURE;
public static final enum oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus AUTH_REQUIRED;
public static final int SUCCESS_VALUE;
public static final int RPC_VERSION_MISMATCH_VALUE;
public static final int AUTH_FAILED_VALUE;
public static final int UNKNOWN_FAILURE_VALUE;
public static final int AUTH_REQUIRED_VALUE;
private static final oadd.com.google.protobuf.Internal$EnumLiteMap internalValueMap;
private static final oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus[] VALUES;
private final int value;
private static final oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus[] $VALUES;
public static oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus[] values()
{
java.lang.Object v;
oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus[] v;
v = <oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus: oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus[] $VALUES>;
v = virtualinvoke v.<java.lang.Object: java.lang.Object clone()>();
return v;
}
public static oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus valueOf(java.lang.String)
{
java.lang.String v;
java.lang.Enum v;
v := @parameter: java.lang.String;
v = staticinvoke <java.lang.Enum: java.lang.Enum valueOf(java.lang.Class,java.lang.String)>(class "Loadd/org/apache/drill/exec/proto/UserProtos$HandshakeStatus;", v);
return v;
}
public final int getNumber()
{
int v;
oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus v;
v := @this: oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus;
v = v.<oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus: int value>;
return v;
}
public static oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus valueOf(int)
{
int v;
oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus v;
v := @parameter: int;
v = staticinvoke <oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus: oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus forNumber(int)>(v);
return v;
}
public static oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus forNumber(int)
{
oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus v, v, v, v, v;
int v;
v := @parameter: int;
tableswitch(v)
{
case 1: goto label;
case 2: goto label;
case 3: goto label;
case 4: goto label;
case 5: goto label;
default: goto label;
};
label:
v = <oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus: oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus SUCCESS>;
return v;
label:
v = <oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus: oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus RPC_VERSION_MISMATCH>;
return v;
label:
v = <oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus: oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus AUTH_FAILED>;
return v;
label:
v = <oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus: oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus UNKNOWN_FAILURE>;
return v;
label:
v = <oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus: oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus AUTH_REQUIRED>;
return v;
label:
return null;
}
public static oadd.com.google.protobuf.Internal$EnumLiteMap internalGetValueMap()
{
oadd.com.google.protobuf.Internal$EnumLiteMap v;
v = <oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus: oadd.com.google.protobuf.Internal$EnumLiteMap internalValueMap>;
return v;
}
public final oadd.com.google.protobuf.Descriptors$EnumValueDescriptor getValueDescriptor()
{
java.util.List v;
oadd.com.google.protobuf.Descriptors$EnumDescriptor v;
oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus v;
int v;
java.lang.Object v;
v := @this: oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus;
v = staticinvoke <oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus: oadd.com.google.protobuf.Descriptors$EnumDescriptor getDescriptor()>();
v = virtualinvoke v.<oadd.com.google.protobuf.Descriptors$EnumDescriptor: java.util.List getValues()>();
v = virtualinvoke v.<oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus: int ordinal()>();
v = interfaceinvoke v.<java.util.List: java.lang.Object get(int)>(v);
return v;
}
public final oadd.com.google.protobuf.Descriptors$EnumDescriptor getDescriptorForType()
{
oadd.com.google.protobuf.Descriptors$EnumDescriptor v;
oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus v;
v := @this: oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus;
v = staticinvoke <oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus: oadd.com.google.protobuf.Descriptors$EnumDescriptor getDescriptor()>();
return v;
}
public static final oadd.com.google.protobuf.Descriptors$EnumDescriptor getDescriptor()
{
java.lang.Object v;
java.util.List v;
oadd.com.google.protobuf.Descriptors$FileDescriptor v;
v = staticinvoke <oadd.org.apache.drill.exec.proto.UserProtos: oadd.com.google.protobuf.Descriptors$FileDescriptor getDescriptor()>();
v = virtualinvoke v.<oadd.com.google.protobuf.Descriptors$FileDescriptor: java.util.List getEnumTypes()>();
v = interfaceinvoke v.<java.util.List: java.lang.Object get(int)>(3);
return v;
}
public static oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus valueOf(oadd.com.google.protobuf.Descriptors$EnumValueDescriptor)
{
oadd.com.google.protobuf.Descriptors$EnumValueDescriptor v;
oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus[] v;
oadd.com.google.protobuf.Descriptors$EnumDescriptor v, v;
oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus v;
int v;
java.lang.IllegalArgumentException v;
v := @parameter: oadd.com.google.protobuf.Descriptors$EnumValueDescriptor;
v = virtualinvoke v.<oadd.com.google.protobuf.Descriptors$EnumValueDescriptor: oadd.com.google.protobuf.Descriptors$EnumDescriptor getType()>();
v = staticinvoke <oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus: oadd.com.google.protobuf.Descriptors$EnumDescriptor getDescriptor()>();
if v == v goto label;
v = new java.lang.IllegalArgumentException;
specialinvoke v.<java.lang.IllegalArgumentException: void <init>(java.lang.String)>("EnumValueDescriptor is not for this type.");
throw v;
label:
v = <oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus: oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus[] VALUES>;
v = virtualinvoke v.<oadd.com.google.protobuf.Descriptors$EnumValueDescriptor: int getIndex()>();
v = v[v];
return v;
}
private void <init>(java.lang.String, int, int)
{
oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus v;
int v, v;
java.lang.String v;
v := @this: oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus;
v := @parameter: java.lang.String;
v := @parameter: int;
v := @parameter: int;
specialinvoke v.<java.lang.Enum: void <init>(java.lang.String,int)>(v, v);
v.<oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus: int value> = v;
return;
}
private static oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus[] $values()
{
oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus[] v;
oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus v, v, v, v, v;
v = newarray (oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus)[5];
v = <oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus: oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus SUCCESS>;
v[0] = v;
v = <oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus: oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus RPC_VERSION_MISMATCH>;
v[1] = v;
v = <oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus: oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus AUTH_FAILED>;
v[2] = v;
v = <oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus: oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus UNKNOWN_FAILURE>;
v[3] = v;
v = <oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus: oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus AUTH_REQUIRED>;
v[4] = v;
return v;
}
static void <clinit>()
{
oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus v, v, v, v, v;
oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus[] v, v;
oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus$1 v;
v = new oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus;
specialinvoke v.<oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus: void <init>(java.lang.String,int,int)>("SUCCESS", 0, 1);
<oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus: oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus SUCCESS> = v;
v = new oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus;
specialinvoke v.<oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus: void <init>(java.lang.String,int,int)>("RPC_VERSION_MISMATCH", 1, 2);
<oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus: oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus RPC_VERSION_MISMATCH> = v;
v = new oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus;
specialinvoke v.<oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus: void <init>(java.lang.String,int,int)>("AUTH_FAILED", 2, 3);
<oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus: oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus AUTH_FAILED> = v;
v = new oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus;
specialinvoke v.<oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus: void <init>(java.lang.String,int,int)>("UNKNOWN_FAILURE", 3, 4);
<oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus: oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus UNKNOWN_FAILURE> = v;
v = new oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus;
specialinvoke v.<oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus: void <init>(java.lang.String,int,int)>("AUTH_REQUIRED", 4, 5);
<oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus: oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus AUTH_REQUIRED> = v;
v = staticinvoke <oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus: oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus[] $values()>();
<oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus: oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus[] $VALUES> = v;
v = new oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus$1;
specialinvoke v.<oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus$1: void <init>()>();
<oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus: oadd.com.google.protobuf.Internal$EnumLiteMap internalValueMap> = v;
v = staticinvoke <oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus: oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus[] values()>();
<oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus: oadd.org.apache.drill.exec.proto.UserProtos$HandshakeStatus[] VALUES> = v;
return;
}
}