/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
package org.apache.plc4x.java.opcua.readwrite;

import java.util.HashMap;
import java.util.Map;

// Code generated by code-generation. DO NOT EDIT.

public enum OpcuaNodeIdServicesVariableUadp {
  UadpNetworkMessageContentMask_OptionSetValues((int) 15643L),
  UadpDataSetMessageContentMask_OptionSetValues((int) 15647L),
  UadpDataSetReaderMessageType_DataSetOffset((int) 17477L),
  UadpWriterGroupMessageType_GroupVersion((int) 21106L),
  UadpWriterGroupMessageType_DataSetOrdering((int) 21107L),
  UadpWriterGroupMessageType_NetworkMessageContentMask((int) 21108L),
  UadpWriterGroupMessageType_SamplingOffset((int) 21109L),
  UadpWriterGroupMessageType_PublishingOffset((int) 21110L),
  UadpDataSetWriterMessageType_DataSetMessageContentMask((int) 21112L),
  UadpDataSetWriterMessageType_ConfiguredSize((int) 21113L),
  UadpDataSetWriterMessageType_NetworkMessageNumber((int) 21114L),
  UadpDataSetWriterMessageType_DataSetOffset((int) 21115L),
  UadpDataSetReaderMessageType_GroupVersion((int) 21117L),
  UadpDataSetReaderMessageType_NetworkMessageNumber((int) 21119L),
  UadpDataSetReaderMessageType_DataSetClassId((int) 21120L),
  UadpDataSetReaderMessageType_NetworkMessageContentMask((int) 21121L),
  UadpDataSetReaderMessageType_DataSetMessageContentMask((int) 21122L),
  UadpDataSetReaderMessageType_PublishingInterval((int) 21123L),
  UadpDataSetReaderMessageType_ProcessingOffset((int) 21124L),
  UadpDataSetReaderMessageType_ReceiveOffset((int) 21125L);
  private static final Map<Integer, OpcuaNodeIdServicesVariableUadp> map;

  static {
    map = new HashMap<>();
    for (OpcuaNodeIdServicesVariableUadp value : OpcuaNodeIdServicesVariableUadp.values()) {
      map.put((int) value.getValue(), value);
    }
  }

  private final int value;

  OpcuaNodeIdServicesVariableUadp(int value) {
    this.value = value;
  }

  public int getValue() {
    return value;
  }

  public static OpcuaNodeIdServicesVariableUadp enumForValue(int value) {
    return map.get(value);
  }

  public static Boolean isDefined(int value) {
    return map.containsKey(value);
  }
}
