ContextOuterClass.java 2.55 MB
Newer Older
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: context.proto

package context;

public final class ContextOuterClass {
  private ContextOuterClass() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  /**
   * Protobuf enum {@code context.EventTypeEnum}
   */
  public enum EventTypeEnum
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * <code>EVENTTYPE_UNDEFINED = 0;</code>
     */
    EVENTTYPE_UNDEFINED(0),
    /**
     * <code>EVENTTYPE_CREATE = 1;</code>
     */
    EVENTTYPE_CREATE(1),
    /**
     * <code>EVENTTYPE_UPDATE = 2;</code>
     */
    EVENTTYPE_UPDATE(2),
    /**
     * <code>EVENTTYPE_REMOVE = 3;</code>
     */
    EVENTTYPE_REMOVE(3),
    UNRECOGNIZED(-1),
    ;

    /**
     * <code>EVENTTYPE_UNDEFINED = 0;</code>
     */
    public static final int EVENTTYPE_UNDEFINED_VALUE = 0;
    /**
     * <code>EVENTTYPE_CREATE = 1;</code>
     */
    public static final int EVENTTYPE_CREATE_VALUE = 1;
    /**
     * <code>EVENTTYPE_UPDATE = 2;</code>
     */
    public static final int EVENTTYPE_UPDATE_VALUE = 2;
    /**
     * <code>EVENTTYPE_REMOVE = 3;</code>
     */
    public static final int EVENTTYPE_REMOVE_VALUE = 3;


    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 EventTypeEnum 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 EventTypeEnum forNumber(int value) {
      switch (value) {
        case 0: return EVENTTYPE_UNDEFINED;
        case 1: return EVENTTYPE_CREATE;
        case 2: return EVENTTYPE_UPDATE;
        case 3: return EVENTTYPE_REMOVE;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap<EventTypeEnum>
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        EventTypeEnum> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap<EventTypeEnum>() {
            public EventTypeEnum findValueByNumber(int number) {
              return EventTypeEnum.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 context.ContextOuterClass.getDescriptor().getEnumTypes().get(0);
    }

    private static final EventTypeEnum[] VALUES = values();

    public static EventTypeEnum 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 EventTypeEnum(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:context.EventTypeEnum)
  }

  /**
   * Protobuf enum {@code context.DeviceDriverEnum}
   */
  public enum DeviceDriverEnum
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * <pre>
     * also used for emulated
     * </pre>
     *
     * <code>DEVICEDRIVER_UNDEFINED = 0;</code>
     */
    DEVICEDRIVER_UNDEFINED(0),
    /**
     * <code>DEVICEDRIVER_OPENCONFIG = 1;</code>
     */
    DEVICEDRIVER_OPENCONFIG(1),
    /**
     * <code>DEVICEDRIVER_TRANSPORT_API = 2;</code>
     */
    DEVICEDRIVER_TRANSPORT_API(2),
    /**
     * <code>DEVICEDRIVER_P4 = 3;</code>
     */
    DEVICEDRIVER_P4(3),
    /**
     * <code>DEVICEDRIVER_IETF_NETWORK_TOPOLOGY = 4;</code>
     */
    DEVICEDRIVER_IETF_NETWORK_TOPOLOGY(4),
    /**
     * <code>DEVICEDRIVER_ONF_TR_352 = 5;</code>
     */
    DEVICEDRIVER_ONF_TR_352(5),
    /**
     * <code>DEVICEDRIVER_XR = 6;</code>
     */
    DEVICEDRIVER_XR(6),
    /**
     * <code>DEVICEDRIVER_IETF_L2VPN = 7;</code>
     */
    DEVICEDRIVER_IETF_L2VPN(7),
    /**
     * <code>DEVICEDRIVER_GNMI_OPENCONFIG = 8;</code>
     */
    DEVICEDRIVER_GNMI_OPENCONFIG(8),
    UNRECOGNIZED(-1),
    ;

    /**
     * <pre>
     * also used for emulated
     * </pre>
     *
     * <code>DEVICEDRIVER_UNDEFINED = 0;</code>
     */
    public static final int DEVICEDRIVER_UNDEFINED_VALUE = 0;
    /**
     * <code>DEVICEDRIVER_OPENCONFIG = 1;</code>
     */
    public static final int DEVICEDRIVER_OPENCONFIG_VALUE = 1;
    /**
     * <code>DEVICEDRIVER_TRANSPORT_API = 2;</code>
     */
    public static final int DEVICEDRIVER_TRANSPORT_API_VALUE = 2;
    /**
     * <code>DEVICEDRIVER_P4 = 3;</code>
     */
    public static final int DEVICEDRIVER_P4_VALUE = 3;
    /**
     * <code>DEVICEDRIVER_IETF_NETWORK_TOPOLOGY = 4;</code>
     */
    public static final int DEVICEDRIVER_IETF_NETWORK_TOPOLOGY_VALUE = 4;
    /**
     * <code>DEVICEDRIVER_ONF_TR_352 = 5;</code>
     */
    public static final int DEVICEDRIVER_ONF_TR_352_VALUE = 5;
    /**
     * <code>DEVICEDRIVER_XR = 6;</code>
     */
    public static final int DEVICEDRIVER_XR_VALUE = 6;
    /**
     * <code>DEVICEDRIVER_IETF_L2VPN = 7;</code>
     */
    public static final int DEVICEDRIVER_IETF_L2VPN_VALUE = 7;
    /**
     * <code>DEVICEDRIVER_GNMI_OPENCONFIG = 8;</code>
     */
    public static final int DEVICEDRIVER_GNMI_OPENCONFIG_VALUE = 8;


    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 DeviceDriverEnum 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 DeviceDriverEnum forNumber(int value) {
      switch (value) {
        case 0: return DEVICEDRIVER_UNDEFINED;
        case 1: return DEVICEDRIVER_OPENCONFIG;
        case 2: return DEVICEDRIVER_TRANSPORT_API;
        case 3: return DEVICEDRIVER_P4;
        case 4: return DEVICEDRIVER_IETF_NETWORK_TOPOLOGY;
        case 5: return DEVICEDRIVER_ONF_TR_352;
        case 6: return DEVICEDRIVER_XR;
        case 7: return DEVICEDRIVER_IETF_L2VPN;
        case 8: return DEVICEDRIVER_GNMI_OPENCONFIG;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap<DeviceDriverEnum>
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        DeviceDriverEnum> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap<DeviceDriverEnum>() {
            public DeviceDriverEnum findValueByNumber(int number) {
              return DeviceDriverEnum.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 context.ContextOuterClass.getDescriptor().getEnumTypes().get(1);
    }

    private static final DeviceDriverEnum[] VALUES = values();

    public static DeviceDriverEnum 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 DeviceDriverEnum(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:context.DeviceDriverEnum)
  }

  /**
   * Protobuf enum {@code context.DeviceOperationalStatusEnum}
   */
  public enum DeviceOperationalStatusEnum
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * <code>DEVICEOPERATIONALSTATUS_UNDEFINED = 0;</code>
     */
    DEVICEOPERATIONALSTATUS_UNDEFINED(0),
    /**
     * <code>DEVICEOPERATIONALSTATUS_DISABLED = 1;</code>
     */
    DEVICEOPERATIONALSTATUS_DISABLED(1),
    /**
     * <code>DEVICEOPERATIONALSTATUS_ENABLED = 2;</code>
     */
    DEVICEOPERATIONALSTATUS_ENABLED(2),
    UNRECOGNIZED(-1),
    ;

    /**
     * <code>DEVICEOPERATIONALSTATUS_UNDEFINED = 0;</code>
     */
    public static final int DEVICEOPERATIONALSTATUS_UNDEFINED_VALUE = 0;
    /**
     * <code>DEVICEOPERATIONALSTATUS_DISABLED = 1;</code>
     */
    public static final int DEVICEOPERATIONALSTATUS_DISABLED_VALUE = 1;
    /**
     * <code>DEVICEOPERATIONALSTATUS_ENABLED = 2;</code>
     */
    public static final int DEVICEOPERATIONALSTATUS_ENABLED_VALUE = 2;


    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 DeviceOperationalStatusEnum 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 DeviceOperationalStatusEnum forNumber(int value) {
      switch (value) {
        case 0: return DEVICEOPERATIONALSTATUS_UNDEFINED;
        case 1: return DEVICEOPERATIONALSTATUS_DISABLED;
        case 2: return DEVICEOPERATIONALSTATUS_ENABLED;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap<DeviceOperationalStatusEnum>
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        DeviceOperationalStatusEnum> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap<DeviceOperationalStatusEnum>() {
            public DeviceOperationalStatusEnum findValueByNumber(int number) {
              return DeviceOperationalStatusEnum.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 context.ContextOuterClass.getDescriptor().getEnumTypes().get(2);
    }

    private static final DeviceOperationalStatusEnum[] VALUES = values();

    public static DeviceOperationalStatusEnum 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 DeviceOperationalStatusEnum(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:context.DeviceOperationalStatusEnum)
  }

  /**
   * Protobuf enum {@code context.ServiceTypeEnum}
   */
  public enum ServiceTypeEnum
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * <code>SERVICETYPE_UNKNOWN = 0;</code>
     */
    SERVICETYPE_UNKNOWN(0),
    /**
     * <code>SERVICETYPE_L3NM = 1;</code>
     */
    SERVICETYPE_L3NM(1),
    /**
     * <code>SERVICETYPE_L2NM = 2;</code>
     */
    SERVICETYPE_L2NM(2),
    /**
     * <code>SERVICETYPE_TAPI_CONNECTIVITY_SERVICE = 3;</code>
     */
    SERVICETYPE_TAPI_CONNECTIVITY_SERVICE(3),
    UNRECOGNIZED(-1),
    ;

    /**
     * <code>SERVICETYPE_UNKNOWN = 0;</code>
     */
    public static final int SERVICETYPE_UNKNOWN_VALUE = 0;
    /**
     * <code>SERVICETYPE_L3NM = 1;</code>
     */
    public static final int SERVICETYPE_L3NM_VALUE = 1;
    /**
     * <code>SERVICETYPE_L2NM = 2;</code>
     */
    public static final int SERVICETYPE_L2NM_VALUE = 2;
    /**
     * <code>SERVICETYPE_TAPI_CONNECTIVITY_SERVICE = 3;</code>
     */
    public static final int SERVICETYPE_TAPI_CONNECTIVITY_SERVICE_VALUE = 3;


    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 ServiceTypeEnum 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 ServiceTypeEnum forNumber(int value) {
      switch (value) {
        case 0: return SERVICETYPE_UNKNOWN;
        case 1: return SERVICETYPE_L3NM;
        case 2: return SERVICETYPE_L2NM;
        case 3: return SERVICETYPE_TAPI_CONNECTIVITY_SERVICE;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap<ServiceTypeEnum>
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        ServiceTypeEnum> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap<ServiceTypeEnum>() {
            public ServiceTypeEnum findValueByNumber(int number) {
              return ServiceTypeEnum.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 context.ContextOuterClass.getDescriptor().getEnumTypes().get(3);
    }

    private static final ServiceTypeEnum[] VALUES = values();

    public static ServiceTypeEnum 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 ServiceTypeEnum(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:context.ServiceTypeEnum)
  }

  /**
   * Protobuf enum {@code context.ServiceStatusEnum}
   */
  public enum ServiceStatusEnum
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * <code>SERVICESTATUS_UNDEFINED = 0;</code>
     */
    SERVICESTATUS_UNDEFINED(0),
    /**
     * <code>SERVICESTATUS_PLANNED = 1;</code>
     */
    SERVICESTATUS_PLANNED(1),
    /**
     * <code>SERVICESTATUS_ACTIVE = 2;</code>
     */
    SERVICESTATUS_ACTIVE(2),
    /**
     * <code>SERVICESTATUS_UPDATING = 3;</code>
     */
    SERVICESTATUS_UPDATING(3),
    /**
     * <code>SERVICESTATUS_PENDING_REMOVAL = 4;</code>
    SERVICESTATUS_PENDING_REMOVAL(4),
     * <code>SERVICESTATUS_SLA_VIOLATED = 5;</code>
    SERVICESTATUS_SLA_VIOLATED(5),
    UNRECOGNIZED(-1),
    ;

    /**
     * <code>SERVICESTATUS_UNDEFINED = 0;</code>
     */
    public static final int SERVICESTATUS_UNDEFINED_VALUE = 0;
    /**
     * <code>SERVICESTATUS_PLANNED = 1;</code>
     */
    public static final int SERVICESTATUS_PLANNED_VALUE = 1;
    /**
     * <code>SERVICESTATUS_ACTIVE = 2;</code>
     */
    public static final int SERVICESTATUS_ACTIVE_VALUE = 2;
    /**
     * <code>SERVICESTATUS_UPDATING = 3;</code>
    public static final int SERVICESTATUS_UPDATING_VALUE = 3;
     * <code>SERVICESTATUS_PENDING_REMOVAL = 4;</code>
    public static final int SERVICESTATUS_PENDING_REMOVAL_VALUE = 4;
    /**
     * <code>SERVICESTATUS_SLA_VIOLATED = 5;</code>
     */
    public static final int SERVICESTATUS_SLA_VIOLATED_VALUE = 5;


    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 ServiceStatusEnum 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 ServiceStatusEnum forNumber(int value) {
      switch (value) {
        case 0: return SERVICESTATUS_UNDEFINED;
        case 1: return SERVICESTATUS_PLANNED;
        case 2: return SERVICESTATUS_ACTIVE;
        case 3: return SERVICESTATUS_UPDATING;
        case 4: return SERVICESTATUS_PENDING_REMOVAL;
        case 5: return SERVICESTATUS_SLA_VIOLATED;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap<ServiceStatusEnum>
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        ServiceStatusEnum> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap<ServiceStatusEnum>() {
            public ServiceStatusEnum findValueByNumber(int number) {
              return ServiceStatusEnum.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 context.ContextOuterClass.getDescriptor().getEnumTypes().get(4);
    }

    private static final ServiceStatusEnum[] VALUES = values();

    public static ServiceStatusEnum 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 ServiceStatusEnum(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:context.ServiceStatusEnum)
  }

  /**
   * Protobuf enum {@code context.SliceStatusEnum}
   */
  public enum SliceStatusEnum
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * <code>SLICESTATUS_UNDEFINED = 0;</code>
     */
    SLICESTATUS_UNDEFINED(0),
    /**
     * <code>SLICESTATUS_PLANNED = 1;</code>
     */
    SLICESTATUS_PLANNED(1),
    /**
     * <code>SLICESTATUS_INIT = 2;</code>
     */
    SLICESTATUS_INIT(2),
    /**
     * <code>SLICESTATUS_ACTIVE = 3;</code>
     */
    SLICESTATUS_ACTIVE(3),
    /**
     * <code>SLICESTATUS_DEINIT = 4;</code>
     */
    SLICESTATUS_DEINIT(4),
    /**
     * <code>SLICESTATUS_SLA_VIOLATED = 5;</code>
     */
    SLICESTATUS_SLA_VIOLATED(5),
    UNRECOGNIZED(-1),
    ;

    /**
     * <code>SLICESTATUS_UNDEFINED = 0;</code>
     */
    public static final int SLICESTATUS_UNDEFINED_VALUE = 0;
    /**
     * <code>SLICESTATUS_PLANNED = 1;</code>
     */
    public static final int SLICESTATUS_PLANNED_VALUE = 1;
    /**
     * <code>SLICESTATUS_INIT = 2;</code>
     */
    public static final int SLICESTATUS_INIT_VALUE = 2;
    /**
     * <code>SLICESTATUS_ACTIVE = 3;</code>
     */
    public static final int SLICESTATUS_ACTIVE_VALUE = 3;
    /**
     * <code>SLICESTATUS_DEINIT = 4;</code>
     */
    public static final int SLICESTATUS_DEINIT_VALUE = 4;
    /**
     * <code>SLICESTATUS_SLA_VIOLATED = 5;</code>
     */
    public static final int SLICESTATUS_SLA_VIOLATED_VALUE = 5;


    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 SliceStatusEnum 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 SliceStatusEnum forNumber(int value) {
      switch (value) {
        case 0: return SLICESTATUS_UNDEFINED;
        case 1: return SLICESTATUS_PLANNED;
        case 2: return SLICESTATUS_INIT;
        case 3: return SLICESTATUS_ACTIVE;
        case 4: return SLICESTATUS_DEINIT;
        case 5: return SLICESTATUS_SLA_VIOLATED;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap<SliceStatusEnum>
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        SliceStatusEnum> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap<SliceStatusEnum>() {
            public SliceStatusEnum findValueByNumber(int number) {
              return SliceStatusEnum.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 context.ContextOuterClass.getDescriptor().getEnumTypes().get(5);
    }

    private static final SliceStatusEnum[] VALUES = values();

    public static SliceStatusEnum 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 SliceStatusEnum(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:context.SliceStatusEnum)
  }

  /**
   * <pre>
   * ----- Configuration -------------------------------------------------------------------------------------------------
   * </pre>
   *
   * Protobuf enum {@code context.ConfigActionEnum}
   */
  public enum ConfigActionEnum
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * <code>CONFIGACTION_UNDEFINED = 0;</code>
     */
    CONFIGACTION_UNDEFINED(0),
    /**
     * <code>CONFIGACTION_SET = 1;</code>
     */
    CONFIGACTION_SET(1),
    /**
     * <code>CONFIGACTION_DELETE = 2;</code>
     */
    CONFIGACTION_DELETE(2),
    UNRECOGNIZED(-1),
    ;

    /**
     * <code>CONFIGACTION_UNDEFINED = 0;</code>
     */
    public static final int CONFIGACTION_UNDEFINED_VALUE = 0;
    /**
     * <code>CONFIGACTION_SET = 1;</code>
     */
    public static final int CONFIGACTION_SET_VALUE = 1;
    /**
     * <code>CONFIGACTION_DELETE = 2;</code>
     */
    public static final int CONFIGACTION_DELETE_VALUE = 2;


    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 ConfigActionEnum 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 ConfigActionEnum forNumber(int value) {
      switch (value) {
        case 0: return CONFIGACTION_UNDEFINED;
        case 1: return CONFIGACTION_SET;
        case 2: return CONFIGACTION_DELETE;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap<ConfigActionEnum>
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        ConfigActionEnum> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap<ConfigActionEnum>() {
            public ConfigActionEnum findValueByNumber(int number) {
              return ConfigActionEnum.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 context.ContextOuterClass.getDescriptor().getEnumTypes().get(6);
    }

    private static final ConfigActionEnum[] VALUES = values();

    public static ConfigActionEnum 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 ConfigActionEnum(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:context.ConfigActionEnum)
  }

  /**
   * <pre>
   * ----- Constraint ----------------------------------------------------------------------------------------------------
   * </pre>
   *
   * Protobuf enum {@code context.ConstraintActionEnum}
   */
  public enum ConstraintActionEnum
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * <code>CONSTRAINTACTION_UNDEFINED = 0;</code>
     */
    CONSTRAINTACTION_UNDEFINED(0),
    /**
     * <code>CONSTRAINTACTION_SET = 1;</code>
     */
    CONSTRAINTACTION_SET(1),
    /**
     * <code>CONSTRAINTACTION_DELETE = 2;</code>
     */
    CONSTRAINTACTION_DELETE(2),
    UNRECOGNIZED(-1),
    ;

    /**
     * <code>CONSTRAINTACTION_UNDEFINED = 0;</code>
     */