com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.TransformerConstructionKind Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of evolve-grpc Show documentation
Show all versions of evolve-grpc Show documentation
Protobuf and gRPC definitions for the evolve platform
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: zepben/protobuf/cim/iec61968/infiec61968/infassetinfo/TransformerConstructionKind.proto
package com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo;
/**
*
**
* Kind of transformer construction.
*
*
* Protobuf enum {@code zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.TransformerConstructionKind}
*/
public enum TransformerConstructionKind
implements com.google.protobuf.ProtocolMessageEnum {
/**
*
**
*
*
* unknown = 0;
*/
unknown(0),
/**
*
**
*
*
* onePhase = 1;
*/
onePhase(1),
/**
*
**
*
*
* threePhase = 2;
*/
threePhase(2),
/**
*
**
*
*
* aerial = 3;
*/
aerial(3),
/**
*
**
*
*
* overhead = 4;
*/
overhead(4),
/**
*
**
*
*
* dryType = 5;
*/
dryType(5),
/**
*
**
*
*
* network = 6;
*/
network(6),
/**
*
**
*
*
* padmountDeadFront = 7;
*/
padmountDeadFront(7),
/**
*
**
*
*
* padmountFeedThrough = 8;
*/
padmountFeedThrough(8),
/**
*
**
*
*
* padmountLiveFront = 9;
*/
padmountLiveFront(9),
/**
*
**
*
*
* padmountLoopThrough = 10;
*/
padmountLoopThrough(10),
/**
*
**
*
*
* padmounted = 11;
*/
padmounted(11),
/**
*
**
*
*
* subway = 12;
*/
subway(12),
/**
*
**
*
*
* underground = 13;
*/
underground(13),
/**
*
**
*
*
* vault = 14;
*/
vault(14),
/**
*
**
*
*
* vaultThreePhase = 15;
*/
vaultThreePhase(15),
UNRECOGNIZED(-1),
;
/**
*
**
*
*
* unknown = 0;
*/
public static final int unknown_VALUE = 0;
/**
*
**
*
*
* onePhase = 1;
*/
public static final int onePhase_VALUE = 1;
/**
*
**
*
*
* threePhase = 2;
*/
public static final int threePhase_VALUE = 2;
/**
*
**
*
*
* aerial = 3;
*/
public static final int aerial_VALUE = 3;
/**
*
**
*
*
* overhead = 4;
*/
public static final int overhead_VALUE = 4;
/**
*
**
*
*
* dryType = 5;
*/
public static final int dryType_VALUE = 5;
/**
*
**
*
*
* network = 6;
*/
public static final int network_VALUE = 6;
/**
*
**
*
*
* padmountDeadFront = 7;
*/
public static final int padmountDeadFront_VALUE = 7;
/**
*
**
*
*
* padmountFeedThrough = 8;
*/
public static final int padmountFeedThrough_VALUE = 8;
/**
*
**
*
*
* padmountLiveFront = 9;
*/
public static final int padmountLiveFront_VALUE = 9;
/**
*
**
*
*
* padmountLoopThrough = 10;
*/
public static final int padmountLoopThrough_VALUE = 10;
/**
*
**
*
*
* padmounted = 11;
*/
public static final int padmounted_VALUE = 11;
/**
*
**
*
*
* subway = 12;
*/
public static final int subway_VALUE = 12;
/**
*
**
*
*
* underground = 13;
*/
public static final int underground_VALUE = 13;
/**
*
**
*
*
* vault = 14;
*/
public static final int vault_VALUE = 14;
/**
*
**
*
*
* vaultThreePhase = 15;
*/
public static final int vaultThreePhase_VALUE = 15;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
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 TransformerConstructionKind 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 TransformerConstructionKind forNumber(int value) {
switch (value) {
case 0: return unknown;
case 1: return onePhase;
case 2: return threePhase;
case 3: return aerial;
case 4: return overhead;
case 5: return dryType;
case 6: return network;
case 7: return padmountDeadFront;
case 8: return padmountFeedThrough;
case 9: return padmountLiveFront;
case 10: return padmountLoopThrough;
case 11: return padmounted;
case 12: return subway;
case 13: return underground;
case 14: return vault;
case 15: return vaultThreePhase;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
TransformerConstructionKind> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public TransformerConstructionKind findValueByNumber(int number) {
return TransformerConstructionKind.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.TransformerConstructionKindOuterClass.getDescriptor().getEnumTypes().get(0);
}
private static final TransformerConstructionKind[] VALUES = values();
public static TransformerConstructionKind valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private TransformerConstructionKind(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:zepben.protobuf.cim.iec61968.infiec61968.infassetinfo.TransformerConstructionKind)
}