// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: comm.proto

package org.jeecg.pm.entity;

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

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  /**
   * <pre>
   *&#64;事件状态定义
   * </pre>
   *
   * Protobuf enum {@code org.jeecg.modules.pm.entity.eps.EventState}
   */
  public enum EventState
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * <pre>
     *瞬时事件，保存
     * </pre>
     *
     * <code>EVENT_STATE_INSTANT = 0;</code>
     */
    EVENT_STATE_INSTANT(0),
    /**
     * <pre>
     *事件开始，保存
     * </pre>
     *
     * <code>EVENT_STATE_START = 1;</code>
     */
    EVENT_STATE_START(1),
    /**
     * <pre>
     *事件结束，更新结束时间
     * </pre>
     *
     * <code>EVENT_STATE_STOP = 2;</code>
     */
    EVENT_STATE_STOP(2),
    /**
     * <pre>
     *事件脉冲，客户端和服务器使用，CMS不用
     * </pre>
     *
     * <code>EVENT_STATE_PULSE = 3;</code>
     */
    EVENT_STATE_PULSE(3),
    /**
     * <pre>
     *事件更新，联动结果更新
     * </pre>
     *
     * <code>EVENT_STATE_UPDATE = 4;</code>
     */
    EVENT_STATE_UPDATE(4),
    ;

    /**
     * <pre>
     *瞬时事件，保存
     * </pre>
     *
     * <code>EVENT_STATE_INSTANT = 0;</code>
     */
    public static final int EVENT_STATE_INSTANT_VALUE = 0;
    /**
     * <pre>
     *事件开始，保存
     * </pre>
     *
     * <code>EVENT_STATE_START = 1;</code>
     */
    public static final int EVENT_STATE_START_VALUE = 1;
    /**
     * <pre>
     *事件结束，更新结束时间
     * </pre>
     *
     * <code>EVENT_STATE_STOP = 2;</code>
     */
    public static final int EVENT_STATE_STOP_VALUE = 2;
    /**
     * <pre>
     *事件脉冲，客户端和服务器使用，CMS不用
     * </pre>
     *
     * <code>EVENT_STATE_PULSE = 3;</code>
     */
    public static final int EVENT_STATE_PULSE_VALUE = 3;
    /**
     * <pre>
     *事件更新，联动结果更新
     * </pre>
     *
     * <code>EVENT_STATE_UPDATE = 4;</code>
     */
    public static final int EVENT_STATE_UPDATE_VALUE = 4;


    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.
     */
    @Deprecated
    public static EventState 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 EventState forNumber(int value) {
      switch (value) {
        case 0: return EVENT_STATE_INSTANT;
        case 1: return EVENT_STATE_START;
        case 2: return EVENT_STATE_STOP;
        case 3: return EVENT_STATE_PULSE;
        case 4: return EVENT_STATE_UPDATE;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap<EventState>
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        EventState> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap<EventState>() {
            public EventState findValueByNumber(int number) {
              return EventState.forNumber(number);
            }
          };

    public final com.google.protobuf.Descriptors.EnumValueDescriptor
        getValueDescriptor() {
      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 Comm.getDescriptor().getEnumTypes().get(0);
    }

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

    public static EventState valueOf(
        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
      if (desc.getType() != getDescriptor()) {
        throw new IllegalArgumentException(
          "EnumValueDescriptor is not for this type.");
      }
      return VALUES[desc.getIndex()];
    }

    private final int value;

    private EventState(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:org.jeecg.modules.pm.entity.eps.EventState)
  }

  /**
   * <pre>
   *&#64;与事件分发服务通信的命令码定义
   * </pre>
   *
   * Protobuf enum {@code org.jeecg.modules.pm.entity.eps.MsgCmdType}
   */
  public enum MsgCmdType
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * <pre>
     *client msg 0x000001xxx
     * </pre>
     *
     * <code>MSG_CMD_TYPE_MASK = 65280;</code>
     */
    MSG_CMD_TYPE_MASK(65280),
    /**
     * <pre>
     *手动事件命令码
     * </pre>
     *
     * <code>MSG_CMD_MANUAL_EVENT = 257;</code>
     */
    MSG_CMD_MANUAL_EVENT(257),
    /**
     * <pre>
     *报警确认命令码
     * </pre>
     *
     * <code>MSG_CMD_CONFIRM_EVENT = 258;</code>
     */
    MSG_CMD_CONFIRM_EVENT(258),
    /**
     * <pre>
     *xx_2_eds msg 0x000002xxx
     * </pre>
     *
     * <code>MSG_CMD_REPORT_EVENT = 513;</code>
     */
    MSG_CMD_REPORT_EVENT(513),
    /**
     * <pre>
     *订阅事件命令码
     * </pre>
     *
     * <code>MSG_CMD_SUBRECV_EVENT = 514;</code>
     */
    MSG_CMD_SUBRECV_EVENT(514),
    /**
     * <pre>
     *eds_2_eds msg 0x000003xxx
     * </pre>
     *
     * <code>MSG_CMD_EVENT_NOTIFY_REQ = 769;</code>
     */
    MSG_CMD_EVENT_NOTIFY_REQ(769),
    /**
     * <pre>
     *事件分发服务内部事件通知响应
     * </pre>
     *
     * <code>MSG_CMD_EVENT_NOTIFY_RSP = 770;</code>
     */
    MSG_CMD_EVENT_NOTIFY_RSP(770),
    ;

    /**
     * <pre>
     *client msg 0x000001xxx
     * </pre>
     *
     * <code>MSG_CMD_TYPE_MASK = 65280;</code>
     */
    public static final int MSG_CMD_TYPE_MASK_VALUE = 65280;
    /**
     * <pre>
     *手动事件命令码
     * </pre>
     *
     * <code>MSG_CMD_MANUAL_EVENT = 257;</code>
     */
    public static final int MSG_CMD_MANUAL_EVENT_VALUE = 257;
    /**
     * <pre>
     *报警确认命令码
     * </pre>
     *
     * <code>MSG_CMD_CONFIRM_EVENT = 258;</code>
     */
    public static final int MSG_CMD_CONFIRM_EVENT_VALUE = 258;
    /**
     * <pre>
     *xx_2_eds msg 0x000002xxx
     * </pre>
     *
     * <code>MSG_CMD_REPORT_EVENT = 513;</code>
     */
    public static final int MSG_CMD_REPORT_EVENT_VALUE = 513;
    /**
     * <pre>
     *订阅事件命令码
     * </pre>
     *
     * <code>MSG_CMD_SUBRECV_EVENT = 514;</code>
     */
    public static final int MSG_CMD_SUBRECV_EVENT_VALUE = 514;
    /**
     * <pre>
     *eds_2_eds msg 0x000003xxx
     * </pre>
     *
     * <code>MSG_CMD_EVENT_NOTIFY_REQ = 769;</code>
     */
    public static final int MSG_CMD_EVENT_NOTIFY_REQ_VALUE = 769;
    /**
     * <pre>
     *事件分发服务内部事件通知响应
     * </pre>
     *
     * <code>MSG_CMD_EVENT_NOTIFY_RSP = 770;</code>
     */
    public static final int MSG_CMD_EVENT_NOTIFY_RSP_VALUE = 770;


    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.
     */
    @Deprecated
    public static MsgCmdType 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 MsgCmdType forNumber(int value) {
      switch (value) {
        case 65280: return MSG_CMD_TYPE_MASK;
        case 257: return MSG_CMD_MANUAL_EVENT;
        case 258: return MSG_CMD_CONFIRM_EVENT;
        case 513: return MSG_CMD_REPORT_EVENT;
        case 514: return MSG_CMD_SUBRECV_EVENT;
        case 769: return MSG_CMD_EVENT_NOTIFY_REQ;
        case 770: return MSG_CMD_EVENT_NOTIFY_RSP;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap<MsgCmdType>
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        MsgCmdType> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap<MsgCmdType>() {
            public MsgCmdType findValueByNumber(int number) {
              return MsgCmdType.forNumber(number);
            }
          };

    public final com.google.protobuf.Descriptors.EnumValueDescriptor
        getValueDescriptor() {
      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 Comm.getDescriptor().getEnumTypes().get(1);
    }

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

    public static MsgCmdType valueOf(
        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
      if (desc.getType() != getDescriptor()) {
        throw new IllegalArgumentException(
          "EnumValueDescriptor is not for this type.");
      }
      return VALUES[desc.getIndex()];
    }

    private final int value;

    private MsgCmdType(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:org.jeecg.modules.pm.entity.eps.MsgCmdType)
  }

  public interface TriggerResultOrBuilder extends
      // @@protoc_insertion_point(interface_extends:org.jeecg.modules.pm.entity.eps.TriggerResult)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <pre>
     *联动类型: 参见联动类型定义
     * </pre>
     *
     * <code>required int32 trigger_type = 1;</code>
     * @return Whether the triggerType field is set.
     */
    boolean hasTriggerType();
    /**
     * <pre>
     *联动类型: 参见联动类型定义
     * </pre>
     *
     * <code>required int32 trigger_type = 1;</code>
     * @return The triggerType.
     */
    int getTriggerType();

    /**
     * <pre>
     *联动结果
     * </pre>
     *
     * <code>repeated int32 trigger_ret = 2;</code>
     * @return A list containing the triggerRet.
     */
    java.util.List<Integer> getTriggerRetList();
    /**
     * <pre>
     *联动结果
     * </pre>
     *
     * <code>repeated int32 trigger_ret = 2;</code>
     * @return The count of triggerRet.
     */
    int getTriggerRetCount();
    /**
     * <pre>
     *联动结果
     * </pre>
     *
     * <code>repeated int32 trigger_ret = 2;</code>
     * @param index The index of the element to return.
     * @return The triggerRet at the given index.
     */
    int getTriggerRet(int index);

    /**
     * <pre>
     *联动执行时间(确认时为确认时间)
     * </pre>
     *
     * <code>required string trigger_time = 3;</code>
     * @return Whether the triggerTime field is set.
     */
    boolean hasTriggerTime();
    /**
     * <pre>
     *联动执行时间(确认时为确认时间)
     * </pre>
     *
     * <code>required string trigger_time = 3;</code>
     * @return The triggerTime.
     */
    String getTriggerTime();
    /**
     * <pre>
     *联动执行时间(确认时为确认时间)
     * </pre>
     *
     * <code>required string trigger_time = 3;</code>
     * @return The bytes for triggerTime.
     */
    com.google.protobuf.ByteString
        getTriggerTimeBytes();

    /**
     * <pre>
     *联动详情，录像格式：监控点名称,录像计划Id,录像类型,监控点编号;
     * </pre>
     *
     * <code>optional string trigger_info = 33;</code>
     * @return Whether the triggerInfo field is set.
     */
    boolean hasTriggerInfo();
    /**
     * <pre>
     *联动详情，录像格式：监控点名称,录像计划Id,录像类型,监控点编号;
     * </pre>
     *
     * <code>optional string trigger_info = 33;</code>
     * @return The triggerInfo.
     */
    String getTriggerInfo();
    /**
     * <pre>
     *联动详情，录像格式：监控点名称,录像计划Id,录像类型,监控点编号;
     * </pre>
     *
     * <code>optional string trigger_info = 33;</code>
     * @return The bytes for triggerInfo.
     */
    com.google.protobuf.ByteString
        getTriggerInfoBytes();

    /**
     * <pre>
     *图片联动 监控点名称,联动url,格式：cam1,url1;cam2,url2;
     *客户端确认信息:user_name;confirm_desc;user_ip;
     * </pre>
     *
     * <code>optional string err_msg = 34;</code>
     * @return Whether the errMsg field is set.
     */
    boolean hasErrMsg();
    /**
     * <pre>
     *图片联动 监控点名称,联动url,格式：cam1,url1;cam2,url2;
     *客户端确认信息:user_name;confirm_desc;user_ip;
     * </pre>
     *
     * <code>optional string err_msg = 34;</code>
     * @return The errMsg.
     */
    String getErrMsg();
    /**
     * <pre>
     *图片联动 监控点名称,联动url,格式：cam1,url1;cam2,url2;
     *客户端确认信息:user_name;confirm_desc;user_ip;
     * </pre>
     *
     * <code>optional string err_msg = 34;</code>
     * @return The bytes for errMsg.
     */
    com.google.protobuf.ByteString
        getErrMsgBytes();
  }
  /**
   * <pre>
   *&#64;事件处理结果消息结构体
   * </pre>
   *
   * Protobuf type {@code org.jeecg.modules.pm.entity.eps.TriggerResult}
   */
  public static final class TriggerResult extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:org.jeecg.modules.pm.entity.eps.TriggerResult)
      TriggerResultOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use TriggerResult.newBuilder() to construct.
    private TriggerResult(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private TriggerResult() {
      triggerRet_ = emptyIntList();
      triggerTime_ = "";
      triggerInfo_ = "";
      errMsg_ = "";
    }

    @Override
    @SuppressWarnings({"unused"})
    protected Object newInstance(
        UnusedPrivateParameter unused) {
      return new TriggerResult();
    }

    @Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private TriggerResult(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 8: {
              bitField0_ |= 0x00000001;
              triggerType_ = input.readInt32();
              break;
            }
            case 16: {
              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                triggerRet_ = newIntList();
                mutable_bitField0_ |= 0x00000002;
              }
              triggerRet_.addInt(input.readInt32());
              break;
            }
            case 18: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) {
                triggerRet_ = newIntList();
                mutable_bitField0_ |= 0x00000002;
              }
              while (input.getBytesUntilLimit() > 0) {
                triggerRet_.addInt(input.readInt32());
              }
              input.popLimit(limit);
              break;
            }
            case 26: {
              com.google.protobuf.ByteString bs = input.readBytes();
              bitField0_ |= 0x00000002;
              triggerTime_ = bs;
              break;
            }
            case 266: {
              com.google.protobuf.ByteString bs = input.readBytes();
              bitField0_ |= 0x00000004;
              triggerInfo_ = bs;
              break;
            }
            case 274: {
              com.google.protobuf.ByteString bs = input.readBytes();
              bitField0_ |= 0x00000008;
              errMsg_ = bs;
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000002) != 0)) {
          triggerRet_.makeImmutable(); // C
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return Comm.internal_static_org_jeecg_modules_pm_entity_eps_TriggerResult_descriptor;
    }

    @Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return Comm.internal_static_org_jeecg_modules_pm_entity_eps_TriggerResult_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              TriggerResult.class, Builder.class);
    }

    private int bitField0_;
    public static final int TRIGGER_TYPE_FIELD_NUMBER = 1;
    private int triggerType_;
    /**
     * <pre>
     *联动类型: 参见联动类型定义
     * </pre>
     *
     * <code>required int32 trigger_type = 1;</code>
     * @return Whether the triggerType field is set.
     */
    @Override
    public boolean hasTriggerType() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <pre>
     *联动类型: 参见联动类型定义
     * </pre>
     *
     * <code>required int32 trigger_type = 1;</code>
     * @return The triggerType.
     */
    @Override
    public int getTriggerType() {
      return triggerType_;
    }

    public static final int TRIGGER_RET_FIELD_NUMBER = 2;
    private com.google.protobuf.Internal.IntList triggerRet_;
    /**
     * <pre>
     *联动结果
     * </pre>
     *
     * <code>repeated int32 trigger_ret = 2;</code>
     * @return A list containing the triggerRet.
     */
    @Override
    public java.util.List<Integer>
        getTriggerRetList() {
      return triggerRet_;
    }
    /**
     * <pre>
     *联动结果
     * </pre>
     *
     * <code>repeated int32 trigger_ret = 2;</code>
     * @return The count of triggerRet.
     */
    public int getTriggerRetCount() {
      return triggerRet_.size();
    }
    /**
     * <pre>
     *联动结果
     * </pre>
     *
     * <code>repeated int32 trigger_ret = 2;</code>
     * @param index The index of the element to return.
     * @return The triggerRet at the given index.
     */
    public int getTriggerRet(int index) {
      return triggerRet_.getInt(index);
    }

    public static final int TRIGGER_TIME_FIELD_NUMBER = 3;
    private volatile Object triggerTime_;
    /**
     * <pre>
     *联动执行时间(确认时为确认时间)
     * </pre>
     *
     * <code>required string trigger_time = 3;</code>
     * @return Whether the triggerTime field is set.
     */
    @Override
    public boolean hasTriggerTime() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * <pre>
     *联动执行时间(确认时为确认时间)
     * </pre>
     *
     * <code>required string trigger_time = 3;</code>
     * @return The triggerTime.
     */
    @Override
    public String getTriggerTime() {
      Object ref = triggerTime_;
      if (ref instanceof String) {
        return (String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        if (bs.isValidUtf8()) {
          triggerTime_ = s;
        }
        return s;
      }
    }
    /**
     * <pre>
     *联动执行时间(确认时为确认时间)
     * </pre>
     *
     * <code>required string trigger_time = 3;</code>
     * @return The bytes for triggerTime.
     */
    @Override
    public com.google.protobuf.ByteString
        getTriggerTimeBytes() {
      Object ref = triggerTime_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        triggerTime_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int TRIGGER_INFO_FIELD_NUMBER = 33;
    private volatile Object triggerInfo_;
    /**
     * <pre>
     *联动详情，录像格式：监控点名称,录像计划Id,录像类型,监控点编号;
     * </pre>
     *
     * <code>optional string trigger_info = 33;</code>
     * @return Whether the triggerInfo field is set.
     */
    @Override
    public boolean hasTriggerInfo() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * <pre>
     *联动详情，录像格式：监控点名称,录像计划Id,录像类型,监控点编号;
     * </pre>
     *
     * <code>optional string trigger_info = 33;</code>
     * @return The triggerInfo.
     */
    @Override
    public String getTriggerInfo() {
      Object ref = triggerInfo_;
      if (ref instanceof String) {
        return (String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        if (bs.isValidUtf8()) {
          triggerInfo_ = s;
        }
        return s;
      }
    }
    /**
     * <pre>
     *联动详情，录像格式：监控点名称,录像计划Id,录像类型,监控点编号;
     * </pre>
     *
     * <code>optional string trigger_info = 33;</code>
     * @return The bytes for triggerInfo.
     */
    @Override
    public com.google.protobuf.ByteString
        getTriggerInfoBytes() {
      Object ref = triggerInfo_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        triggerInfo_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int ERR_MSG_FIELD_NUMBER = 34;
    private volatile Object errMsg_;
    /**
     * <pre>
     *图片联动 监控点名称,联动url,格式：cam1,url1;cam2,url2;
     *客户端确认信息:user_name;confirm_desc;user_ip;
     * </pre>
     *
     * <code>optional string err_msg = 34;</code>
     * @return Whether the errMsg field is set.
     */
    @Override
    public boolean hasErrMsg() {
      return ((bitField0_ & 0x00000008) != 0);
    }
    /**
     * <pre>
     *图片联动 监控点名称,联动url,格式：cam1,url1;cam2,url2;
     *客户端确认信息:user_name;confirm_desc;user_ip;
     * </pre>
     *
     * <code>optional string err_msg = 34;</code>
     * @return The errMsg.
     */
    @Override
    public String getErrMsg() {
      Object ref = errMsg_;
      if (ref instanceof String) {
        return (String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        if (bs.isValidUtf8()) {
          errMsg_ = s;
        }
        return s;
      }
    }
    /**
     * <pre>
     *图片联动 监控点名称,联动url,格式：cam1,url1;cam2,url2;
     *客户端确认信息:user_name;confirm_desc;user_ip;
     * </pre>
     *
     * <code>optional string err_msg = 34;</code>
     * @return The bytes for errMsg.
     */
    @Override
    public com.google.protobuf.ByteString
        getErrMsgBytes() {
      Object ref = errMsg_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        errMsg_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    private byte memoizedIsInitialized = -1;
    @Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      if (!hasTriggerType()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasTriggerTime()) {
        memoizedIsInitialized = 0;
        return false;
      }
      memoizedIsInitialized = 1;
      return true;
    }

    @Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (((bitField0_ & 0x00000001) != 0)) {
        output.writeInt32(1, triggerType_);
      }
      for (int i = 0; i < triggerRet_.size(); i++) {
        output.writeInt32(2, triggerRet_.getInt(i));
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, triggerTime_);
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 33, triggerInfo_);
      }
      if (((bitField0_ & 0x00000008) != 0)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 34, errMsg_);
      }
      unknownFields.writeTo(output);
    }

    @Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(1, triggerType_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < triggerRet_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeInt32SizeNoTag(triggerRet_.getInt(i));
        }
        size += dataSize;
        size += 1 * getTriggerRetList().size();
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, triggerTime_);
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(33, triggerInfo_);
      }
      if (((bitField0_ & 0x00000008) != 0)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(34, errMsg_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @Override
    public boolean equals(final Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof TriggerResult)) {
        return super.equals(obj);
      }
      TriggerResult other = (TriggerResult) obj;

      if (hasTriggerType() != other.hasTriggerType()) return false;
      if (hasTriggerType()) {
        if (getTriggerType()
            != other.getTriggerType()) return false;
      }
      if (!getTriggerRetList()
          .equals(other.getTriggerRetList())) return false;
      if (hasTriggerTime() != other.hasTriggerTime()) return false;
      if (hasTriggerTime()) {
        if (!getTriggerTime()
            .equals(other.getTriggerTime())) return false;
      }
      if (hasTriggerInfo() != other.hasTriggerInfo()) return false;
      if (hasTriggerInfo()) {
        if (!getTriggerInfo()
            .equals(other.getTriggerInfo())) return false;
      }
      if (hasErrMsg() != other.hasErrMsg()) return false;
      if (hasErrMsg()) {
        if (!getErrMsg()
            .equals(other.getErrMsg())) return false;
      }
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasTriggerType()) {
        hash = (37 * hash) + TRIGGER_TYPE_FIELD_NUMBER;
        hash = (53 * hash) + getTriggerType();
      }
      if (getTriggerRetCount() > 0) {
        hash = (37 * hash) + TRIGGER_RET_FIELD_NUMBER;
        hash = (53 * hash) + getTriggerRetList().hashCode();
      }
      if (hasTriggerTime()) {
        hash = (37 * hash) + TRIGGER_TIME_FIELD_NUMBER;
        hash = (53 * hash) + getTriggerTime().hashCode();
      }
      if (hasTriggerInfo()) {
        hash = (37 * hash) + TRIGGER_INFO_FIELD_NUMBER;
        hash = (53 * hash) + getTriggerInfo().hashCode();
      }
      if (hasErrMsg()) {
        hash = (37 * hash) + ERR_MSG_FIELD_NUMBER;
        hash = (53 * hash) + getErrMsg().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static TriggerResult parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static TriggerResult parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static TriggerResult parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static TriggerResult parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static TriggerResult parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static TriggerResult parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static TriggerResult parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static TriggerResult parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static TriggerResult parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static TriggerResult parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static TriggerResult parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static TriggerResult parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(TriggerResult prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * <pre>
     *&#64;事件处理结果消息结构体
     * </pre>
     *
     * Protobuf type {@code org.jeecg.modules.pm.entity.eps.TriggerResult}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:org.jeecg.modules.pm.entity.eps.TriggerResult)
        TriggerResultOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return Comm.internal_static_org_jeecg_modules_pm_entity_eps_TriggerResult_descriptor;
      }

      @Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return Comm.internal_static_org_jeecg_modules_pm_entity_eps_TriggerResult_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                TriggerResult.class, Builder.class);
      }

      // Construct using org.jeecg.modules.pm.entity.eps.Comm.TriggerResult.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @Override
      public Builder clear() {
        super.clear();
        triggerType_ = 0;
        bitField0_ = (bitField0_ & ~0x00000001);
        triggerRet_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000002);
        triggerTime_ = "";
        bitField0_ = (bitField0_ & ~0x00000004);
        triggerInfo_ = "";
        bitField0_ = (bitField0_ & ~0x00000008);
        errMsg_ = "";
        bitField0_ = (bitField0_ & ~0x00000010);
        return this;
      }

      @Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return Comm.internal_static_org_jeecg_modules_pm_entity_eps_TriggerResult_descriptor;
      }

      @Override
      public TriggerResult getDefaultInstanceForType() {
        return TriggerResult.getDefaultInstance();
      }

      @Override
      public TriggerResult build() {
        TriggerResult result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @Override
      public TriggerResult buildPartial() {
        TriggerResult result = new TriggerResult(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.triggerType_ = triggerType_;
          to_bitField0_ |= 0x00000001;
        }
        if (((bitField0_ & 0x00000002) != 0)) {
          triggerRet_.makeImmutable();
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.triggerRet_ = triggerRet_;
        if (((from_bitField0_ & 0x00000004) != 0)) {
          to_bitField0_ |= 0x00000002;
        }
        result.triggerTime_ = triggerTime_;
        if (((from_bitField0_ & 0x00000008) != 0)) {
          to_bitField0_ |= 0x00000004;
        }
        result.triggerInfo_ = triggerInfo_;
        if (((from_bitField0_ & 0x00000010) != 0)) {
          to_bitField0_ |= 0x00000008;
        }
        result.errMsg_ = errMsg_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      @Override
      public Builder clone() {
        return super.clone();
      }
      @Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return super.setField(field, value);
      }
      @Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return super.addRepeatedField(field, value);
      }
      @Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof TriggerResult) {
          return mergeFrom((TriggerResult)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(TriggerResult other) {
        if (other == TriggerResult.getDefaultInstance()) return this;
        if (other.hasTriggerType()) {
          setTriggerType(other.getTriggerType());
        }
        if (!other.triggerRet_.isEmpty()) {
          if (triggerRet_.isEmpty()) {
            triggerRet_ = other.triggerRet_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensureTriggerRetIsMutable();
            triggerRet_.addAll(other.triggerRet_);
          }
          onChanged();
        }
        if (other.hasTriggerTime()) {
          bitField0_ |= 0x00000004;
          triggerTime_ = other.triggerTime_;
          onChanged();
        }
        if (other.hasTriggerInfo()) {
          bitField0_ |= 0x00000008;
          triggerInfo_ = other.triggerInfo_;
          onChanged();
        }
        if (other.hasErrMsg()) {
          bitField0_ |= 0x00000010;
          errMsg_ = other.errMsg_;
          onChanged();
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @Override
      public final boolean isInitialized() {
        if (!hasTriggerType()) {
          return false;
        }
        if (!hasTriggerTime()) {
          return false;
        }
        return true;
      }

      @Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        TriggerResult parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (TriggerResult) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private int triggerType_ ;
      /**
       * <pre>
       *联动类型: 参见联动类型定义
       * </pre>
       *
       * <code>required int32 trigger_type = 1;</code>
       * @return Whether the triggerType field is set.
       */
      @Override
      public boolean hasTriggerType() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * <pre>
       *联动类型: 参见联动类型定义
       * </pre>
       *
       * <code>required int32 trigger_type = 1;</code>
       * @return The triggerType.
       */
      @Override
      public int getTriggerType() {
        return triggerType_;
      }
      /**
       * <pre>
       *联动类型: 参见联动类型定义
       * </pre>
       *
       * <code>required int32 trigger_type = 1;</code>
       * @param value The triggerType to set.
       * @return This builder for chaining.
       */
      public Builder setTriggerType(int value) {
        bitField0_ |= 0x00000001;
        triggerType_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *联动类型: 参见联动类型定义
       * </pre>
       *
       * <code>required int32 trigger_type = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearTriggerType() {
        bitField0_ = (bitField0_ & ~0x00000001);
        triggerType_ = 0;
        onChanged();
        return this;
      }

      private com.google.protobuf.Internal.IntList triggerRet_ = emptyIntList();
      private void ensureTriggerRetIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          triggerRet_ = mutableCopy(triggerRet_);
          bitField0_ |= 0x00000002;
         }
      }
      /**
       * <pre>
       *联动结果
       * </pre>
       *
       * <code>repeated int32 trigger_ret = 2;</code>
       * @return A list containing the triggerRet.
       */
      public java.util.List<Integer>
          getTriggerRetList() {
        return ((bitField0_ & 0x00000002) != 0) ?
                 java.util.Collections.unmodifiableList(triggerRet_) : triggerRet_;
      }
      /**
       * <pre>
       *联动结果
       * </pre>
       *
       * <code>repeated int32 trigger_ret = 2;</code>
       * @return The count of triggerRet.
       */
      public int getTriggerRetCount() {
        return triggerRet_.size();
      }
      /**
       * <pre>
       *联动结果
       * </pre>
       *
       * <code>repeated int32 trigger_ret = 2;</code>
       * @param index The index of the element to return.
       * @return The triggerRet at the given index.
       */
      public int getTriggerRet(int index) {
        return triggerRet_.getInt(index);
      }
      /**
       * <pre>
       *联动结果
       * </pre>
       *
       * <code>repeated int32 trigger_ret = 2;</code>
       * @param index The index to set the value at.
       * @param value The triggerRet to set.
       * @return This builder for chaining.
       */
      public Builder setTriggerRet(
          int index, int value) {
        ensureTriggerRetIsMutable();
        triggerRet_.setInt(index, value);
        onChanged();
        return this;
      }
      /**
       * <pre>
       *联动结果
       * </pre>
       *
       * <code>repeated int32 trigger_ret = 2;</code>
       * @param value The triggerRet to add.
       * @return This builder for chaining.
       */
      public Builder addTriggerRet(int value) {
        ensureTriggerRetIsMutable();
        triggerRet_.addInt(value);
        onChanged();
        return this;
      }
      /**
       * <pre>
       *联动结果
       * </pre>
       *
       * <code>repeated int32 trigger_ret = 2;</code>
       * @param values The triggerRet to add.
       * @return This builder for chaining.
       */
      public Builder addAllTriggerRet(
          Iterable<? extends Integer> values) {
        ensureTriggerRetIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, triggerRet_);
        onChanged();
        return this;
      }
      /**
       * <pre>
       *联动结果
       * </pre>
       *
       * <code>repeated int32 trigger_ret = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearTriggerRet() {
        triggerRet_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
        return this;
      }

      private Object triggerTime_ = "";
      /**
       * <pre>
       *联动执行时间(确认时为确认时间)
       * </pre>
       *
       * <code>required string trigger_time = 3;</code>
       * @return Whether the triggerTime field is set.
       */
      public boolean hasTriggerTime() {
        return ((bitField0_ & 0x00000004) != 0);
      }
      /**
       * <pre>
       *联动执行时间(确认时为确认时间)
       * </pre>
       *
       * <code>required string trigger_time = 3;</code>
       * @return The triggerTime.
       */
      public String getTriggerTime() {
        Object ref = triggerTime_;
        if (!(ref instanceof String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          String s = bs.toStringUtf8();
          if (bs.isValidUtf8()) {
            triggerTime_ = s;
          }
          return s;
        } else {
          return (String) ref;
        }
      }
      /**
       * <pre>
       *联动执行时间(确认时为确认时间)
       * </pre>
       *
       * <code>required string trigger_time = 3;</code>
       * @return The bytes for triggerTime.
       */
      public com.google.protobuf.ByteString
          getTriggerTimeBytes() {
        Object ref = triggerTime_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (String) ref);
          triggerTime_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       *联动执行时间(确认时为确认时间)
       * </pre>
       *
       * <code>required string trigger_time = 3;</code>
       * @param value The triggerTime to set.
       * @return This builder for chaining.
       */
      public Builder setTriggerTime(
          String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000004;
        triggerTime_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *联动执行时间(确认时为确认时间)
       * </pre>
       *
       * <code>required string trigger_time = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearTriggerTime() {
        bitField0_ = (bitField0_ & ~0x00000004);
        triggerTime_ = getDefaultInstance().getTriggerTime();
        onChanged();
        return this;
      }
      /**
       * <pre>
       *联动执行时间(确认时为确认时间)
       * </pre>
       *
       * <code>required string trigger_time = 3;</code>
       * @param value The bytes for triggerTime to set.
       * @return This builder for chaining.
       */
      public Builder setTriggerTimeBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000004;
        triggerTime_ = value;
        onChanged();
        return this;
      }

      private Object triggerInfo_ = "";
      /**
       * <pre>
       *联动详情，录像格式：监控点名称,录像计划Id,录像类型,监控点编号;
       * </pre>
       *
       * <code>optional string trigger_info = 33;</code>
       * @return Whether the triggerInfo field is set.
       */
      public boolean hasTriggerInfo() {
        return ((bitField0_ & 0x00000008) != 0);
      }
      /**
       * <pre>
       *联动详情，录像格式：监控点名称,录像计划Id,录像类型,监控点编号;
       * </pre>
       *
       * <code>optional string trigger_info = 33;</code>
       * @return The triggerInfo.
       */
      public String getTriggerInfo() {
        Object ref = triggerInfo_;
        if (!(ref instanceof String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          String s = bs.toStringUtf8();
          if (bs.isValidUtf8()) {
            triggerInfo_ = s;
          }
          return s;
        } else {
          return (String) ref;
        }
      }
      /**
       * <pre>
       *联动详情，录像格式：监控点名称,录像计划Id,录像类型,监控点编号;
       * </pre>
       *
       * <code>optional string trigger_info = 33;</code>
       * @return The bytes for triggerInfo.
       */
      public com.google.protobuf.ByteString
          getTriggerInfoBytes() {
        Object ref = triggerInfo_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (String) ref);
          triggerInfo_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       *联动详情，录像格式：监控点名称,录像计划Id,录像类型,监控点编号;
       * </pre>
       *
       * <code>optional string trigger_info = 33;</code>
       * @param value The triggerInfo to set.
       * @return This builder for chaining.
       */
      public Builder setTriggerInfo(
          String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000008;
        triggerInfo_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *联动详情，录像格式：监控点名称,录像计划Id,录像类型,监控点编号;
       * </pre>
       *
       * <code>optional string trigger_info = 33;</code>
       * @return This builder for chaining.
       */
      public Builder clearTriggerInfo() {
        bitField0_ = (bitField0_ & ~0x00000008);
        triggerInfo_ = getDefaultInstance().getTriggerInfo();
        onChanged();
        return this;
      }
      /**
       * <pre>
       *联动详情，录像格式：监控点名称,录像计划Id,录像类型,监控点编号;
       * </pre>
       *
       * <code>optional string trigger_info = 33;</code>
       * @param value The bytes for triggerInfo to set.
       * @return This builder for chaining.
       */
      public Builder setTriggerInfoBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000008;
        triggerInfo_ = value;
        onChanged();
        return this;
      }

      private Object errMsg_ = "";
      /**
       * <pre>
       *图片联动 监控点名称,联动url,格式：cam1,url1;cam2,url2;
       *客户端确认信息:user_name;confirm_desc;user_ip;
       * </pre>
       *
       * <code>optional string err_msg = 34;</code>
       * @return Whether the errMsg field is set.
       */
      public boolean hasErrMsg() {
        return ((bitField0_ & 0x00000010) != 0);
      }
      /**
       * <pre>
       *图片联动 监控点名称,联动url,格式：cam1,url1;cam2,url2;
       *客户端确认信息:user_name;confirm_desc;user_ip;
       * </pre>
       *
       * <code>optional string err_msg = 34;</code>
       * @return The errMsg.
       */
      public String getErrMsg() {
        Object ref = errMsg_;
        if (!(ref instanceof String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          String s = bs.toStringUtf8();
          if (bs.isValidUtf8()) {
            errMsg_ = s;
          }
          return s;
        } else {
          return (String) ref;
        }
      }
      /**
       * <pre>
       *图片联动 监控点名称,联动url,格式：cam1,url1;cam2,url2;
       *客户端确认信息:user_name;confirm_desc;user_ip;
       * </pre>
       *
       * <code>optional string err_msg = 34;</code>
       * @return The bytes for errMsg.
       */
      public com.google.protobuf.ByteString
          getErrMsgBytes() {
        Object ref = errMsg_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (String) ref);
          errMsg_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       *图片联动 监控点名称,联动url,格式：cam1,url1;cam2,url2;
       *客户端确认信息:user_name;confirm_desc;user_ip;
       * </pre>
       *
       * <code>optional string err_msg = 34;</code>
       * @param value The errMsg to set.
       * @return This builder for chaining.
       */
      public Builder setErrMsg(
          String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000010;
        errMsg_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *图片联动 监控点名称,联动url,格式：cam1,url1;cam2,url2;
       *客户端确认信息:user_name;confirm_desc;user_ip;
       * </pre>
       *
       * <code>optional string err_msg = 34;</code>
       * @return This builder for chaining.
       */
      public Builder clearErrMsg() {
        bitField0_ = (bitField0_ & ~0x00000010);
        errMsg_ = getDefaultInstance().getErrMsg();
        onChanged();
        return this;
      }
      /**
       * <pre>
       *图片联动 监控点名称,联动url,格式：cam1,url1;cam2,url2;
       *客户端确认信息:user_name;confirm_desc;user_ip;
       * </pre>
       *
       * <code>optional string err_msg = 34;</code>
       * @param value The bytes for errMsg to set.
       * @return This builder for chaining.
       */
      public Builder setErrMsgBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000010;
        errMsg_ = value;
        onChanged();
        return this;
      }
      @Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:org.jeecg.modules.pm.entity.eps.TriggerResult)
    }

    // @@protoc_insertion_point(class_scope:org.jeecg.modules.pm.entity.eps.TriggerResult)
    private static final TriggerResult DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new TriggerResult();
    }

    public static TriggerResult getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    @Deprecated public static final com.google.protobuf.Parser<TriggerResult>
        PARSER = new com.google.protobuf.AbstractParser<TriggerResult>() {
      @Override
      public TriggerResult parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new TriggerResult(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser<TriggerResult> parser() {
      return PARSER;
    }

    @Override
    public com.google.protobuf.Parser<TriggerResult> getParserForType() {
      return PARSER;
    }

    @Override
    public TriggerResult getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface CommEventTrigOrBuilder extends
      // @@protoc_insertion_point(interface_extends:org.jeecg.modules.pm.entity.eps.CommEventTrig)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <pre>
     *联动类型: 参见联动类型定义blg.proto
     * </pre>
     *
     * <code>required int32 trigger_type = 1;</code>
     * @return Whether the triggerType field is set.
     */
    boolean hasTriggerType();
    /**
     * <pre>
     *联动类型: 参见联动类型定义blg.proto
     * </pre>
     *
     * <code>required int32 trigger_type = 1;</code>
     * @return The triggerType.
     */
    int getTriggerType();

    /**
     * <pre>
     *联动内容：参加联动格式定义blg.proto
     * </pre>
     *
     * <code>required bytes trigger_info = 2;</code>
     * @return Whether the triggerInfo field is set.
     */
    boolean hasTriggerInfo();
    /**
     * <pre>
     *联动内容：参加联动格式定义blg.proto
     * </pre>
     *
     * <code>required bytes trigger_info = 2;</code>
     * @return The triggerInfo.
     */
    com.google.protobuf.ByteString getTriggerInfo();
  }
  /**
   * <pre>
   *&#64;事件联动消息结构体
   * </pre>
   *
   * Protobuf type {@code org.jeecg.modules.pm.entity.eps.CommEventTrig}
   */
  public static final class CommEventTrig extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:org.jeecg.modules.pm.entity.eps.CommEventTrig)
      CommEventTrigOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use CommEventTrig.newBuilder() to construct.
    private CommEventTrig(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private CommEventTrig() {
      triggerInfo_ = com.google.protobuf.ByteString.EMPTY;
    }

    @Override
    @SuppressWarnings({"unused"})
    protected Object newInstance(
        UnusedPrivateParameter unused) {
      return new CommEventTrig();
    }

    @Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private CommEventTrig(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 8: {
              bitField0_ |= 0x00000001;
              triggerType_ = input.readInt32();
              break;
            }
            case 18: {
              bitField0_ |= 0x00000002;
              triggerInfo_ = input.readBytes();
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return Comm.internal_static_org_jeecg_modules_pm_entity_eps_CommEventTrig_descriptor;
    }

    @Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return Comm.internal_static_org_jeecg_modules_pm_entity_eps_CommEventTrig_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              CommEventTrig.class, Builder.class);
    }

    private int bitField0_;
    public static final int TRIGGER_TYPE_FIELD_NUMBER = 1;
    private int triggerType_;
    /**
     * <pre>
     *联动类型: 参见联动类型定义blg.proto
     * </pre>
     *
     * <code>required int32 trigger_type = 1;</code>
     * @return Whether the triggerType field is set.
     */
    @Override
    public boolean hasTriggerType() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <pre>
     *联动类型: 参见联动类型定义blg.proto
     * </pre>
     *
     * <code>required int32 trigger_type = 1;</code>
     * @return The triggerType.
     */
    @Override
    public int getTriggerType() {
      return triggerType_;
    }

    public static final int TRIGGER_INFO_FIELD_NUMBER = 2;
    private com.google.protobuf.ByteString triggerInfo_;
    /**
     * <pre>
     *联动内容：参加联动格式定义blg.proto
     * </pre>
     *
     * <code>required bytes trigger_info = 2;</code>
     * @return Whether the triggerInfo field is set.
     */
    @Override
    public boolean hasTriggerInfo() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * <pre>
     *联动内容：参加联动格式定义blg.proto
     * </pre>
     *
     * <code>required bytes trigger_info = 2;</code>
     * @return The triggerInfo.
     */
    @Override
    public com.google.protobuf.ByteString getTriggerInfo() {
      return triggerInfo_;
    }

    private byte memoizedIsInitialized = -1;
    @Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      if (!hasTriggerType()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasTriggerInfo()) {
        memoizedIsInitialized = 0;
        return false;
      }
      memoizedIsInitialized = 1;
      return true;
    }

    @Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (((bitField0_ & 0x00000001) != 0)) {
        output.writeInt32(1, triggerType_);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        output.writeBytes(2, triggerInfo_);
      }
      unknownFields.writeTo(output);
    }

    @Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(1, triggerType_);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(2, triggerInfo_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @Override
    public boolean equals(final Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof CommEventTrig)) {
        return super.equals(obj);
      }
      CommEventTrig other = (CommEventTrig) obj;

      if (hasTriggerType() != other.hasTriggerType()) return false;
      if (hasTriggerType()) {
        if (getTriggerType()
            != other.getTriggerType()) return false;
      }
      if (hasTriggerInfo() != other.hasTriggerInfo()) return false;
      if (hasTriggerInfo()) {
        if (!getTriggerInfo()
            .equals(other.getTriggerInfo())) return false;
      }
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasTriggerType()) {
        hash = (37 * hash) + TRIGGER_TYPE_FIELD_NUMBER;
        hash = (53 * hash) + getTriggerType();
      }
      if (hasTriggerInfo()) {
        hash = (37 * hash) + TRIGGER_INFO_FIELD_NUMBER;
        hash = (53 * hash) + getTriggerInfo().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static CommEventTrig parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static CommEventTrig parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static CommEventTrig parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static CommEventTrig parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static CommEventTrig parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static CommEventTrig parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static CommEventTrig parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static CommEventTrig parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static CommEventTrig parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static CommEventTrig parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static CommEventTrig parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static CommEventTrig parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(CommEventTrig prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * <pre>
     *&#64;事件联动消息结构体
     * </pre>
     *
     * Protobuf type {@code org.jeecg.modules.pm.entity.eps.CommEventTrig}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:org.jeecg.modules.pm.entity.eps.CommEventTrig)
        CommEventTrigOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return Comm.internal_static_org_jeecg_modules_pm_entity_eps_CommEventTrig_descriptor;
      }

      @Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return Comm.internal_static_org_jeecg_modules_pm_entity_eps_CommEventTrig_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                CommEventTrig.class, Builder.class);
      }

      // Construct using org.jeecg.modules.pm.entity.eps.Comm.CommEventTrig.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @Override
      public Builder clear() {
        super.clear();
        triggerType_ = 0;
        bitField0_ = (bitField0_ & ~0x00000001);
        triggerInfo_ = com.google.protobuf.ByteString.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000002);
        return this;
      }

      @Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return Comm.internal_static_org_jeecg_modules_pm_entity_eps_CommEventTrig_descriptor;
      }

      @Override
      public CommEventTrig getDefaultInstanceForType() {
        return CommEventTrig.getDefaultInstance();
      }

      @Override
      public CommEventTrig build() {
        CommEventTrig result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @Override
      public CommEventTrig buildPartial() {
        CommEventTrig result = new CommEventTrig(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.triggerType_ = triggerType_;
          to_bitField0_ |= 0x00000001;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          to_bitField0_ |= 0x00000002;
        }
        result.triggerInfo_ = triggerInfo_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      @Override
      public Builder clone() {
        return super.clone();
      }
      @Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return super.setField(field, value);
      }
      @Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return super.addRepeatedField(field, value);
      }
      @Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof CommEventTrig) {
          return mergeFrom((CommEventTrig)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(CommEventTrig other) {
        if (other == CommEventTrig.getDefaultInstance()) return this;
        if (other.hasTriggerType()) {
          setTriggerType(other.getTriggerType());
        }
        if (other.hasTriggerInfo()) {
          setTriggerInfo(other.getTriggerInfo());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @Override
      public final boolean isInitialized() {
        if (!hasTriggerType()) {
          return false;
        }
        if (!hasTriggerInfo()) {
          return false;
        }
        return true;
      }

      @Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        CommEventTrig parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (CommEventTrig) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private int triggerType_ ;
      /**
       * <pre>
       *联动类型: 参见联动类型定义blg.proto
       * </pre>
       *
       * <code>required int32 trigger_type = 1;</code>
       * @return Whether the triggerType field is set.
       */
      @Override
      public boolean hasTriggerType() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * <pre>
       *联动类型: 参见联动类型定义blg.proto
       * </pre>
       *
       * <code>required int32 trigger_type = 1;</code>
       * @return The triggerType.
       */
      @Override
      public int getTriggerType() {
        return triggerType_;
      }
      /**
       * <pre>
       *联动类型: 参见联动类型定义blg.proto
       * </pre>
       *
       * <code>required int32 trigger_type = 1;</code>
       * @param value The triggerType to set.
       * @return This builder for chaining.
       */
      public Builder setTriggerType(int value) {
        bitField0_ |= 0x00000001;
        triggerType_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *联动类型: 参见联动类型定义blg.proto
       * </pre>
       *
       * <code>required int32 trigger_type = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearTriggerType() {
        bitField0_ = (bitField0_ & ~0x00000001);
        triggerType_ = 0;
        onChanged();
        return this;
      }

      private com.google.protobuf.ByteString triggerInfo_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * <pre>
       *联动内容：参加联动格式定义blg.proto
       * </pre>
       *
       * <code>required bytes trigger_info = 2;</code>
       * @return Whether the triggerInfo field is set.
       */
      @Override
      public boolean hasTriggerInfo() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * <pre>
       *联动内容：参加联动格式定义blg.proto
       * </pre>
       *
       * <code>required bytes trigger_info = 2;</code>
       * @return The triggerInfo.
       */
      @Override
      public com.google.protobuf.ByteString getTriggerInfo() {
        return triggerInfo_;
      }
      /**
       * <pre>
       *联动内容：参加联动格式定义blg.proto
       * </pre>
       *
       * <code>required bytes trigger_info = 2;</code>
       * @param value The triggerInfo to set.
       * @return This builder for chaining.
       */
      public Builder setTriggerInfo(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000002;
        triggerInfo_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *联动内容：参加联动格式定义blg.proto
       * </pre>
       *
       * <code>required bytes trigger_info = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearTriggerInfo() {
        bitField0_ = (bitField0_ & ~0x00000002);
        triggerInfo_ = getDefaultInstance().getTriggerInfo();
        onChanged();
        return this;
      }
      @Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:org.jeecg.modules.pm.entity.eps.CommEventTrig)
    }

    // @@protoc_insertion_point(class_scope:org.jeecg.modules.pm.entity.eps.CommEventTrig)
    private static final CommEventTrig DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new CommEventTrig();
    }

    public static CommEventTrig getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    @Deprecated public static final com.google.protobuf.Parser<CommEventTrig>
        PARSER = new com.google.protobuf.AbstractParser<CommEventTrig>() {
      @Override
      public CommEventTrig parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new CommEventTrig(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser<CommEventTrig> parser() {
      return PARSER;
    }

    @Override
    public com.google.protobuf.Parser<CommEventTrig> getParserForType() {
      return PARSER;
    }

    @Override
    public CommEventTrig getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_org_jeecg_modules_pm_entity_eps_TriggerResult_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_org_jeecg_modules_pm_entity_eps_TriggerResult_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_org_jeecg_modules_pm_entity_eps_CommEventTrig_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_org_jeecg_modules_pm_entity_eps_CommEventTrig_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    String[] descriptorData = {
      "\n\ncomm.proto\022\037org.jeecg.modules.pm.entit" +
      "y.eps\"w\n\rTriggerResult\022\024\n\014trigger_type\030\001" +
      " \002(\005\022\023\n\013trigger_ret\030\002 \003(\005\022\024\n\014trigger_tim" +
      "e\030\003 \002(\t\022\024\n\014trigger_info\030! \001(\t\022\017\n\007err_msg" +
      "\030\" \001(\t\";\n\rCommEventTrig\022\024\n\014trigger_type\030" +
      "\001 \002(\005\022\024\n\014trigger_info\030\002 \002(\014*\201\001\n\nEventSta" +
      "te\022\027\n\023EVENT_STATE_INSTANT\020\000\022\025\n\021EVENT_STA" +
      "TE_START\020\001\022\024\n\020EVENT_STATE_STOP\020\002\022\025\n\021EVEN" +
      "T_STATE_PULSE\020\003\022\026\n\022EVENT_STATE_UPDATE\020\004*" +
      "\321\001\n\nMsgCmdType\022\027\n\021MSG_CMD_TYPE_MASK\020\200\376\003\022" +
      "\031\n\024MSG_CMD_MANUAL_EVENT\020\201\002\022\032\n\025MSG_CMD_CO" +
      "NFIRM_EVENT\020\202\002\022\031\n\024MSG_CMD_REPORT_EVENT\020\201" +
      "\004\022\032\n\025MSG_CMD_SUBRECV_EVENT\020\202\004\022\035\n\030MSG_CMD" +
      "_EVENT_NOTIFY_REQ\020\201\006\022\035\n\030MSG_CMD_EVENT_NO" +
      "TIFY_RSP\020\202\006"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
        });
    internal_static_org_jeecg_modules_pm_entity_eps_TriggerResult_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_org_jeecg_modules_pm_entity_eps_TriggerResult_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_org_jeecg_modules_pm_entity_eps_TriggerResult_descriptor,
        new String[] { "TriggerType", "TriggerRet", "TriggerTime", "TriggerInfo", "ErrMsg", });
    internal_static_org_jeecg_modules_pm_entity_eps_CommEventTrig_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_org_jeecg_modules_pm_entity_eps_CommEventTrig_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_org_jeecg_modules_pm_entity_eps_CommEventTrig_descriptor,
        new String[] { "TriggerType", "TriggerInfo", });
  }

  // @@protoc_insertion_point(outer_class_scope)
}
