All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.java.com.streamlayer.triggers.TriggerCondition Maven / Gradle / Ivy

There is a newer version: 5.133.1
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: streamlayer/triggers/triggers.proto

// Protobuf Java Version: 3.25.3
package com.streamlayer.triggers;

/**
 * Protobuf type {@code streamlayer.triggers.TriggerCondition}
 */
public  final class TriggerCondition extends
    com.google.protobuf.GeneratedMessageLite<
        TriggerCondition, TriggerCondition.Builder> implements
    // @@protoc_insertion_point(message_implements:streamlayer.triggers.TriggerCondition)
    TriggerConditionOrBuilder {
  private TriggerCondition() {
    id_ = "";
    triggerId_ = "";
    event_ = "";
    datasource_ = "";
    scope_ = "";
    scopeId_ = "";
    compare_ = "";
    type_ = "";
    targets_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
    current_ = "";
    chainOperation_ = "";
    log_ = emptyProtobufList();
    options_ = emptyProtobufList();
  }
  private int bitField0_;
  public static final int ID_FIELD_NUMBER = 1;
  private java.lang.String id_;
  /**
   * 
   * uuid generated for each condition
   * 
* * string id = 1 [json_name = "id"]; * @return The id. */ @java.lang.Override public java.lang.String getId() { return id_; } /** *
   * uuid generated for each condition
   * 
* * string id = 1 [json_name = "id"]; * @return The bytes for id. */ @java.lang.Override public com.google.protobuf.ByteString getIdBytes() { return com.google.protobuf.ByteString.copyFromUtf8(id_); } /** *
   * uuid generated for each condition
   * 
* * string id = 1 [json_name = "id"]; * @param value The id to set. */ private void setId( java.lang.String value) { java.lang.Class valueClass = value.getClass(); id_ = value; } /** *
   * uuid generated for each condition
   * 
* * string id = 1 [json_name = "id"]; */ private void clearId() { id_ = getDefaultInstance().getId(); } /** *
   * uuid generated for each condition
   * 
* * string id = 1 [json_name = "id"]; * @param value The bytes for id to set. */ private void setIdBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); id_ = value.toStringUtf8(); } public static final int TRIGGER_ID_FIELD_NUMBER = 2; private java.lang.String triggerId_; /** *
   * owner id
   * 
* * optional string trigger_id = 2 [json_name = "triggerId"]; * @return Whether the triggerId field is set. */ @java.lang.Override public boolean hasTriggerId() { return ((bitField0_ & 0x00000001) != 0); } /** *
   * owner id
   * 
* * optional string trigger_id = 2 [json_name = "triggerId"]; * @return The triggerId. */ @java.lang.Override public java.lang.String getTriggerId() { return triggerId_; } /** *
   * owner id
   * 
* * optional string trigger_id = 2 [json_name = "triggerId"]; * @return The bytes for triggerId. */ @java.lang.Override public com.google.protobuf.ByteString getTriggerIdBytes() { return com.google.protobuf.ByteString.copyFromUtf8(triggerId_); } /** *
   * owner id
   * 
* * optional string trigger_id = 2 [json_name = "triggerId"]; * @param value The triggerId to set. */ private void setTriggerId( java.lang.String value) { java.lang.Class valueClass = value.getClass(); bitField0_ |= 0x00000001; triggerId_ = value; } /** *
   * owner id
   * 
* * optional string trigger_id = 2 [json_name = "triggerId"]; */ private void clearTriggerId() { bitField0_ = (bitField0_ & ~0x00000001); triggerId_ = getDefaultInstance().getTriggerId(); } /** *
   * owner id
   * 
* * optional string trigger_id = 2 [json_name = "triggerId"]; * @param value The bytes for triggerId to set. */ private void setTriggerIdBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); triggerId_ = value.toStringUtf8(); bitField0_ |= 0x00000001; } public static final int EVENT_FIELD_NUMBER = 3; private java.lang.String event_; /** *
   * name of event to be compared with
   * 
* * optional string event = 3 [json_name = "event"]; * @return Whether the event field is set. */ @java.lang.Override public boolean hasEvent() { return ((bitField0_ & 0x00000002) != 0); } /** *
   * name of event to be compared with
   * 
* * optional string event = 3 [json_name = "event"]; * @return The event. */ @java.lang.Override public java.lang.String getEvent() { return event_; } /** *
   * name of event to be compared with
   * 
* * optional string event = 3 [json_name = "event"]; * @return The bytes for event. */ @java.lang.Override public com.google.protobuf.ByteString getEventBytes() { return com.google.protobuf.ByteString.copyFromUtf8(event_); } /** *
   * name of event to be compared with
   * 
* * optional string event = 3 [json_name = "event"]; * @param value The event to set. */ private void setEvent( java.lang.String value) { java.lang.Class valueClass = value.getClass(); bitField0_ |= 0x00000002; event_ = value; } /** *
   * name of event to be compared with
   * 
* * optional string event = 3 [json_name = "event"]; */ private void clearEvent() { bitField0_ = (bitField0_ & ~0x00000002); event_ = getDefaultInstance().getEvent(); } /** *
   * name of event to be compared with
   * 
* * optional string event = 3 [json_name = "event"]; * @param value The bytes for event to set. */ private void setEventBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); event_ = value.toStringUtf8(); bitField0_ |= 0x00000002; } public static final int DATASOURCE_FIELD_NUMBER = 4; private java.lang.String datasource_; /** *
   * scope of event
   * 
* * optional string datasource = 4 [json_name = "datasource"]; * @return Whether the datasource field is set. */ @java.lang.Override public boolean hasDatasource() { return ((bitField0_ & 0x00000004) != 0); } /** *
   * scope of event
   * 
* * optional string datasource = 4 [json_name = "datasource"]; * @return The datasource. */ @java.lang.Override public java.lang.String getDatasource() { return datasource_; } /** *
   * scope of event
   * 
* * optional string datasource = 4 [json_name = "datasource"]; * @return The bytes for datasource. */ @java.lang.Override public com.google.protobuf.ByteString getDatasourceBytes() { return com.google.protobuf.ByteString.copyFromUtf8(datasource_); } /** *
   * scope of event
   * 
* * optional string datasource = 4 [json_name = "datasource"]; * @param value The datasource to set. */ private void setDatasource( java.lang.String value) { java.lang.Class valueClass = value.getClass(); bitField0_ |= 0x00000004; datasource_ = value; } /** *
   * scope of event
   * 
* * optional string datasource = 4 [json_name = "datasource"]; */ private void clearDatasource() { bitField0_ = (bitField0_ & ~0x00000004); datasource_ = getDefaultInstance().getDatasource(); } /** *
   * scope of event
   * 
* * optional string datasource = 4 [json_name = "datasource"]; * @param value The bytes for datasource to set. */ private void setDatasourceBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); datasource_ = value.toStringUtf8(); bitField0_ |= 0x00000004; } public static final int SCOPE_FIELD_NUMBER = 5; private java.lang.String scope_; /** *
   * scope of event
   * 
* * optional string scope = 5 [json_name = "scope"]; * @return Whether the scope field is set. */ @java.lang.Override public boolean hasScope() { return ((bitField0_ & 0x00000008) != 0); } /** *
   * scope of event
   * 
* * optional string scope = 5 [json_name = "scope"]; * @return The scope. */ @java.lang.Override public java.lang.String getScope() { return scope_; } /** *
   * scope of event
   * 
* * optional string scope = 5 [json_name = "scope"]; * @return The bytes for scope. */ @java.lang.Override public com.google.protobuf.ByteString getScopeBytes() { return com.google.protobuf.ByteString.copyFromUtf8(scope_); } /** *
   * scope of event
   * 
* * optional string scope = 5 [json_name = "scope"]; * @param value The scope to set. */ private void setScope( java.lang.String value) { java.lang.Class valueClass = value.getClass(); bitField0_ |= 0x00000008; scope_ = value; } /** *
   * scope of event
   * 
* * optional string scope = 5 [json_name = "scope"]; */ private void clearScope() { bitField0_ = (bitField0_ & ~0x00000008); scope_ = getDefaultInstance().getScope(); } /** *
   * scope of event
   * 
* * optional string scope = 5 [json_name = "scope"]; * @param value The bytes for scope to set. */ private void setScopeBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); scope_ = value.toStringUtf8(); bitField0_ |= 0x00000008; } public static final int SCOPE_ID_FIELD_NUMBER = 6; private java.lang.String scopeId_; /** *
   * scope identifier
   * 
* * optional string scope_id = 6 [json_name = "scopeId"]; * @return Whether the scopeId field is set. */ @java.lang.Override public boolean hasScopeId() { return ((bitField0_ & 0x00000010) != 0); } /** *
   * scope identifier
   * 
* * optional string scope_id = 6 [json_name = "scopeId"]; * @return The scopeId. */ @java.lang.Override public java.lang.String getScopeId() { return scopeId_; } /** *
   * scope identifier
   * 
* * optional string scope_id = 6 [json_name = "scopeId"]; * @return The bytes for scopeId. */ @java.lang.Override public com.google.protobuf.ByteString getScopeIdBytes() { return com.google.protobuf.ByteString.copyFromUtf8(scopeId_); } /** *
   * scope identifier
   * 
* * optional string scope_id = 6 [json_name = "scopeId"]; * @param value The scopeId to set. */ private void setScopeId( java.lang.String value) { java.lang.Class valueClass = value.getClass(); bitField0_ |= 0x00000010; scopeId_ = value; } /** *
   * scope identifier
   * 
* * optional string scope_id = 6 [json_name = "scopeId"]; */ private void clearScopeId() { bitField0_ = (bitField0_ & ~0x00000010); scopeId_ = getDefaultInstance().getScopeId(); } /** *
   * scope identifier
   * 
* * optional string scope_id = 6 [json_name = "scopeId"]; * @param value The bytes for scopeId to set. */ private void setScopeIdBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); scopeId_ = value.toStringUtf8(); bitField0_ |= 0x00000010; } public static final int COMPARE_FIELD_NUMBER = 7; private java.lang.String compare_; /** *
   * comparison operation, should be used to compare "current" and "target" and return a boolean
   * 
* * optional string compare = 7 [json_name = "compare"]; * @return Whether the compare field is set. */ @java.lang.Override public boolean hasCompare() { return ((bitField0_ & 0x00000020) != 0); } /** *
   * comparison operation, should be used to compare "current" and "target" and return a boolean
   * 
* * optional string compare = 7 [json_name = "compare"]; * @return The compare. */ @java.lang.Override public java.lang.String getCompare() { return compare_; } /** *
   * comparison operation, should be used to compare "current" and "target" and return a boolean
   * 
* * optional string compare = 7 [json_name = "compare"]; * @return The bytes for compare. */ @java.lang.Override public com.google.protobuf.ByteString getCompareBytes() { return com.google.protobuf.ByteString.copyFromUtf8(compare_); } /** *
   * comparison operation, should be used to compare "current" and "target" and return a boolean
   * 
* * optional string compare = 7 [json_name = "compare"]; * @param value The compare to set. */ private void setCompare( java.lang.String value) { java.lang.Class valueClass = value.getClass(); bitField0_ |= 0x00000020; compare_ = value; } /** *
   * comparison operation, should be used to compare "current" and "target" and return a boolean
   * 
* * optional string compare = 7 [json_name = "compare"]; */ private void clearCompare() { bitField0_ = (bitField0_ & ~0x00000020); compare_ = getDefaultInstance().getCompare(); } /** *
   * comparison operation, should be used to compare "current" and "target" and return a boolean
   * 
* * optional string compare = 7 [json_name = "compare"]; * @param value The bytes for compare to set. */ private void setCompareBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); compare_ = value.toStringUtf8(); bitField0_ |= 0x00000020; } public static final int TYPE_FIELD_NUMBER = 8; private java.lang.String type_; /** *
   * type of condition
   * 
* * optional string type = 8 [json_name = "type"]; * @return Whether the type field is set. */ @java.lang.Override public boolean hasType() { return ((bitField0_ & 0x00000040) != 0); } /** *
   * type of condition
   * 
* * optional string type = 8 [json_name = "type"]; * @return The type. */ @java.lang.Override public java.lang.String getType() { return type_; } /** *
   * type of condition
   * 
* * optional string type = 8 [json_name = "type"]; * @return The bytes for type. */ @java.lang.Override public com.google.protobuf.ByteString getTypeBytes() { return com.google.protobuf.ByteString.copyFromUtf8(type_); } /** *
   * type of condition
   * 
* * optional string type = 8 [json_name = "type"]; * @param value The type to set. */ private void setType( java.lang.String value) { java.lang.Class valueClass = value.getClass(); bitField0_ |= 0x00000040; type_ = value; } /** *
   * type of condition
   * 
* * optional string type = 8 [json_name = "type"]; */ private void clearType() { bitField0_ = (bitField0_ & ~0x00000040); type_ = getDefaultInstance().getType(); } /** *
   * type of condition
   * 
* * optional string type = 8 [json_name = "type"]; * @param value The bytes for type to set. */ private void setTypeBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); type_ = value.toStringUtf8(); bitField0_ |= 0x00000040; } public static final int TARGETS_FIELD_NUMBER = 9; private com.google.protobuf.Internal.ProtobufList targets_; /** *
   * target value of the event
   * 
* * repeated string targets = 9 [json_name = "targets"]; * @return A list containing the targets. */ @java.lang.Override public java.util.List getTargetsList() { return targets_; } /** *
   * target value of the event
   * 
* * repeated string targets = 9 [json_name = "targets"]; * @return The count of targets. */ @java.lang.Override public int getTargetsCount() { return targets_.size(); } /** *
   * target value of the event
   * 
* * repeated string targets = 9 [json_name = "targets"]; * @param index The index of the element to return. * @return The targets at the given index. */ @java.lang.Override public java.lang.String getTargets(int index) { return targets_.get(index); } /** *
   * target value of the event
   * 
* * repeated string targets = 9 [json_name = "targets"]; * @param index The index of the value to return. * @return The bytes of the targets at the given index. */ @java.lang.Override public com.google.protobuf.ByteString getTargetsBytes(int index) { return com.google.protobuf.ByteString.copyFromUtf8( targets_.get(index)); } private void ensureTargetsIsMutable() { com.google.protobuf.Internal.ProtobufList tmp = targets_; if (!tmp.isModifiable()) { targets_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); } } /** *
   * target value of the event
   * 
* * repeated string targets = 9 [json_name = "targets"]; * @param index The index to set the value at. * @param value The targets to set. */ private void setTargets( int index, java.lang.String value) { java.lang.Class valueClass = value.getClass(); ensureTargetsIsMutable(); targets_.set(index, value); } /** *
   * target value of the event
   * 
* * repeated string targets = 9 [json_name = "targets"]; * @param value The targets to add. */ private void addTargets( java.lang.String value) { java.lang.Class valueClass = value.getClass(); ensureTargetsIsMutable(); targets_.add(value); } /** *
   * target value of the event
   * 
* * repeated string targets = 9 [json_name = "targets"]; * @param values The targets to add. */ private void addAllTargets( java.lang.Iterable values) { ensureTargetsIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, targets_); } /** *
   * target value of the event
   * 
* * repeated string targets = 9 [json_name = "targets"]; */ private void clearTargets() { targets_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList(); } /** *
   * target value of the event
   * 
* * repeated string targets = 9 [json_name = "targets"]; * @param value The bytes of the targets to add. */ private void addTargetsBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensureTargetsIsMutable(); targets_.add(value.toStringUtf8()); } public static final int CURRENT_FIELD_NUMBER = 10; private java.lang.String current_; /** *
   * current value read from event
   * 
* * optional string current = 10 [json_name = "current"]; * @return Whether the current field is set. */ @java.lang.Override public boolean hasCurrent() { return ((bitField0_ & 0x00000080) != 0); } /** *
   * current value read from event
   * 
* * optional string current = 10 [json_name = "current"]; * @return The current. */ @java.lang.Override public java.lang.String getCurrent() { return current_; } /** *
   * current value read from event
   * 
* * optional string current = 10 [json_name = "current"]; * @return The bytes for current. */ @java.lang.Override public com.google.protobuf.ByteString getCurrentBytes() { return com.google.protobuf.ByteString.copyFromUtf8(current_); } /** *
   * current value read from event
   * 
* * optional string current = 10 [json_name = "current"]; * @param value The current to set. */ private void setCurrent( java.lang.String value) { java.lang.Class valueClass = value.getClass(); bitField0_ |= 0x00000080; current_ = value; } /** *
   * current value read from event
   * 
* * optional string current = 10 [json_name = "current"]; */ private void clearCurrent() { bitField0_ = (bitField0_ & ~0x00000080); current_ = getDefaultInstance().getCurrent(); } /** *
   * current value read from event
   * 
* * optional string current = 10 [json_name = "current"]; * @param value The bytes for current to set. */ private void setCurrentBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); current_ = value.toStringUtf8(); bitField0_ |= 0x00000080; } public static final int ACTIVATED_FIELD_NUMBER = 11; private boolean activated_; /** *
   * true when compare(target, current) == true
   * 
* * bool activated = 11 [json_name = "activated"]; * @return The activated. */ @java.lang.Override public boolean getActivated() { return activated_; } /** *
   * true when compare(target, current) == true
   * 
* * bool activated = 11 [json_name = "activated"]; * @param value The activated to set. */ private void setActivated(boolean value) { activated_ = value; } /** *
   * true when compare(target, current) == true
   * 
* * bool activated = 11 [json_name = "activated"]; */ private void clearActivated() { activated_ = false; } public static final int CHAIN_ORDER_FIELD_NUMBER = 12; private int chainOrder_; /** *
   * order of occurrence of condition in array of conditions
   * 
* * optional int32 chain_order = 12 [json_name = "chainOrder"]; * @return Whether the chainOrder field is set. */ @java.lang.Override public boolean hasChainOrder() { return ((bitField0_ & 0x00000100) != 0); } /** *
   * order of occurrence of condition in array of conditions
   * 
* * optional int32 chain_order = 12 [json_name = "chainOrder"]; * @return The chainOrder. */ @java.lang.Override public int getChainOrder() { return chainOrder_; } /** *
   * order of occurrence of condition in array of conditions
   * 
* * optional int32 chain_order = 12 [json_name = "chainOrder"]; * @param value The chainOrder to set. */ private void setChainOrder(int value) { bitField0_ |= 0x00000100; chainOrder_ = value; } /** *
   * order of occurrence of condition in array of conditions
   * 
* * optional int32 chain_order = 12 [json_name = "chainOrder"]; */ private void clearChainOrder() { bitField0_ = (bitField0_ & ~0x00000100); chainOrder_ = 0; } public static final int CHAIN_OPERATION_FIELD_NUMBER = 13; private java.lang.String chainOperation_; /** *
   * logical operation on condition when combining multiple conditions together
   * 
* * optional string chain_operation = 13 [json_name = "chainOperation"]; * @return Whether the chainOperation field is set. */ @java.lang.Override public boolean hasChainOperation() { return ((bitField0_ & 0x00000200) != 0); } /** *
   * logical operation on condition when combining multiple conditions together
   * 
* * optional string chain_operation = 13 [json_name = "chainOperation"]; * @return The chainOperation. */ @java.lang.Override public java.lang.String getChainOperation() { return chainOperation_; } /** *
   * logical operation on condition when combining multiple conditions together
   * 
* * optional string chain_operation = 13 [json_name = "chainOperation"]; * @return The bytes for chainOperation. */ @java.lang.Override public com.google.protobuf.ByteString getChainOperationBytes() { return com.google.protobuf.ByteString.copyFromUtf8(chainOperation_); } /** *
   * logical operation on condition when combining multiple conditions together
   * 
* * optional string chain_operation = 13 [json_name = "chainOperation"]; * @param value The chainOperation to set. */ private void setChainOperation( java.lang.String value) { java.lang.Class valueClass = value.getClass(); bitField0_ |= 0x00000200; chainOperation_ = value; } /** *
   * logical operation on condition when combining multiple conditions together
   * 
* * optional string chain_operation = 13 [json_name = "chainOperation"]; */ private void clearChainOperation() { bitField0_ = (bitField0_ & ~0x00000200); chainOperation_ = getDefaultInstance().getChainOperation(); } /** *
   * logical operation on condition when combining multiple conditions together
   * 
* * optional string chain_operation = 13 [json_name = "chainOperation"]; * @param value The bytes for chainOperation to set. */ private void setChainOperationBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); chainOperation_ = value.toStringUtf8(); bitField0_ |= 0x00000200; } public static final int LOG_FIELD_NUMBER = 14; private com.google.protobuf.Internal.ProtobufList log_; /** *
   * log of events consumed by condition
   * 
* * repeated .streamlayer.triggers.Event log = 14 [json_name = "log"]; */ @java.lang.Override public java.util.List getLogList() { return log_; } /** *
   * log of events consumed by condition
   * 
* * repeated .streamlayer.triggers.Event log = 14 [json_name = "log"]; */ public java.util.List getLogOrBuilderList() { return log_; } /** *
   * log of events consumed by condition
   * 
* * repeated .streamlayer.triggers.Event log = 14 [json_name = "log"]; */ @java.lang.Override public int getLogCount() { return log_.size(); } /** *
   * log of events consumed by condition
   * 
* * repeated .streamlayer.triggers.Event log = 14 [json_name = "log"]; */ @java.lang.Override public com.streamlayer.triggers.Event getLog(int index) { return log_.get(index); } /** *
   * log of events consumed by condition
   * 
* * repeated .streamlayer.triggers.Event log = 14 [json_name = "log"]; */ public com.streamlayer.triggers.EventOrBuilder getLogOrBuilder( int index) { return log_.get(index); } private void ensureLogIsMutable() { com.google.protobuf.Internal.ProtobufList tmp = log_; if (!tmp.isModifiable()) { log_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); } } /** *
   * log of events consumed by condition
   * 
* * repeated .streamlayer.triggers.Event log = 14 [json_name = "log"]; */ private void setLog( int index, com.streamlayer.triggers.Event value) { value.getClass(); ensureLogIsMutable(); log_.set(index, value); } /** *
   * log of events consumed by condition
   * 
* * repeated .streamlayer.triggers.Event log = 14 [json_name = "log"]; */ private void addLog(com.streamlayer.triggers.Event value) { value.getClass(); ensureLogIsMutable(); log_.add(value); } /** *
   * log of events consumed by condition
   * 
* * repeated .streamlayer.triggers.Event log = 14 [json_name = "log"]; */ private void addLog( int index, com.streamlayer.triggers.Event value) { value.getClass(); ensureLogIsMutable(); log_.add(index, value); } /** *
   * log of events consumed by condition
   * 
* * repeated .streamlayer.triggers.Event log = 14 [json_name = "log"]; */ private void addAllLog( java.lang.Iterable values) { ensureLogIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, log_); } /** *
   * log of events consumed by condition
   * 
* * repeated .streamlayer.triggers.Event log = 14 [json_name = "log"]; */ private void clearLog() { log_ = emptyProtobufList(); } /** *
   * log of events consumed by condition
   * 
* * repeated .streamlayer.triggers.Event log = 14 [json_name = "log"]; */ private void removeLog(int index) { ensureLogIsMutable(); log_.remove(index); } public static final int OPTIONS_FIELD_NUMBER = 15; private com.google.protobuf.Internal.ProtobufList options_; /** *
   * condition options, additional events required for condition to be activated
   * 
* * repeated .streamlayer.triggers.TriggerConditionOption options = 15 [json_name = "options"]; */ @java.lang.Override public java.util.List getOptionsList() { return options_; } /** *
   * condition options, additional events required for condition to be activated
   * 
* * repeated .streamlayer.triggers.TriggerConditionOption options = 15 [json_name = "options"]; */ public java.util.List getOptionsOrBuilderList() { return options_; } /** *
   * condition options, additional events required for condition to be activated
   * 
* * repeated .streamlayer.triggers.TriggerConditionOption options = 15 [json_name = "options"]; */ @java.lang.Override public int getOptionsCount() { return options_.size(); } /** *
   * condition options, additional events required for condition to be activated
   * 
* * repeated .streamlayer.triggers.TriggerConditionOption options = 15 [json_name = "options"]; */ @java.lang.Override public com.streamlayer.triggers.TriggerConditionOption getOptions(int index) { return options_.get(index); } /** *
   * condition options, additional events required for condition to be activated
   * 
* * repeated .streamlayer.triggers.TriggerConditionOption options = 15 [json_name = "options"]; */ public com.streamlayer.triggers.TriggerConditionOptionOrBuilder getOptionsOrBuilder( int index) { return options_.get(index); } private void ensureOptionsIsMutable() { com.google.protobuf.Internal.ProtobufList tmp = options_; if (!tmp.isModifiable()) { options_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); } } /** *
   * condition options, additional events required for condition to be activated
   * 
* * repeated .streamlayer.triggers.TriggerConditionOption options = 15 [json_name = "options"]; */ private void setOptions( int index, com.streamlayer.triggers.TriggerConditionOption value) { value.getClass(); ensureOptionsIsMutable(); options_.set(index, value); } /** *
   * condition options, additional events required for condition to be activated
   * 
* * repeated .streamlayer.triggers.TriggerConditionOption options = 15 [json_name = "options"]; */ private void addOptions(com.streamlayer.triggers.TriggerConditionOption value) { value.getClass(); ensureOptionsIsMutable(); options_.add(value); } /** *
   * condition options, additional events required for condition to be activated
   * 
* * repeated .streamlayer.triggers.TriggerConditionOption options = 15 [json_name = "options"]; */ private void addOptions( int index, com.streamlayer.triggers.TriggerConditionOption value) { value.getClass(); ensureOptionsIsMutable(); options_.add(index, value); } /** *
   * condition options, additional events required for condition to be activated
   * 
* * repeated .streamlayer.triggers.TriggerConditionOption options = 15 [json_name = "options"]; */ private void addAllOptions( java.lang.Iterable values) { ensureOptionsIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, options_); } /** *
   * condition options, additional events required for condition to be activated
   * 
* * repeated .streamlayer.triggers.TriggerConditionOption options = 15 [json_name = "options"]; */ private void clearOptions() { options_ = emptyProtobufList(); } /** *
   * condition options, additional events required for condition to be activated
   * 
* * repeated .streamlayer.triggers.TriggerConditionOption options = 15 [json_name = "options"]; */ private void removeOptions(int index) { ensureOptionsIsMutable(); options_.remove(index); } public static com.streamlayer.triggers.TriggerCondition parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.triggers.TriggerCondition parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.streamlayer.triggers.TriggerCondition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.triggers.TriggerCondition parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.streamlayer.triggers.TriggerCondition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.triggers.TriggerCondition parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.streamlayer.triggers.TriggerCondition parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.triggers.TriggerCondition parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static com.streamlayer.triggers.TriggerCondition parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.streamlayer.triggers.TriggerCondition parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.streamlayer.triggers.TriggerCondition parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.triggers.TriggerCondition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return (Builder) DEFAULT_INSTANCE.createBuilder(); } public static Builder newBuilder(com.streamlayer.triggers.TriggerCondition prototype) { return DEFAULT_INSTANCE.createBuilder(prototype); } /** * Protobuf type {@code streamlayer.triggers.TriggerCondition} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.streamlayer.triggers.TriggerCondition, Builder> implements // @@protoc_insertion_point(builder_implements:streamlayer.triggers.TriggerCondition) com.streamlayer.triggers.TriggerConditionOrBuilder { // Construct using com.streamlayer.triggers.TriggerCondition.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** *
     * uuid generated for each condition
     * 
* * string id = 1 [json_name = "id"]; * @return The id. */ @java.lang.Override public java.lang.String getId() { return instance.getId(); } /** *
     * uuid generated for each condition
     * 
* * string id = 1 [json_name = "id"]; * @return The bytes for id. */ @java.lang.Override public com.google.protobuf.ByteString getIdBytes() { return instance.getIdBytes(); } /** *
     * uuid generated for each condition
     * 
* * string id = 1 [json_name = "id"]; * @param value The id to set. * @return This builder for chaining. */ public Builder setId( java.lang.String value) { copyOnWrite(); instance.setId(value); return this; } /** *
     * uuid generated for each condition
     * 
* * string id = 1 [json_name = "id"]; * @return This builder for chaining. */ public Builder clearId() { copyOnWrite(); instance.clearId(); return this; } /** *
     * uuid generated for each condition
     * 
* * string id = 1 [json_name = "id"]; * @param value The bytes for id to set. * @return This builder for chaining. */ public Builder setIdBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setIdBytes(value); return this; } /** *
     * owner id
     * 
* * optional string trigger_id = 2 [json_name = "triggerId"]; * @return Whether the triggerId field is set. */ @java.lang.Override public boolean hasTriggerId() { return instance.hasTriggerId(); } /** *
     * owner id
     * 
* * optional string trigger_id = 2 [json_name = "triggerId"]; * @return The triggerId. */ @java.lang.Override public java.lang.String getTriggerId() { return instance.getTriggerId(); } /** *
     * owner id
     * 
* * optional string trigger_id = 2 [json_name = "triggerId"]; * @return The bytes for triggerId. */ @java.lang.Override public com.google.protobuf.ByteString getTriggerIdBytes() { return instance.getTriggerIdBytes(); } /** *
     * owner id
     * 
* * optional string trigger_id = 2 [json_name = "triggerId"]; * @param value The triggerId to set. * @return This builder for chaining. */ public Builder setTriggerId( java.lang.String value) { copyOnWrite(); instance.setTriggerId(value); return this; } /** *
     * owner id
     * 
* * optional string trigger_id = 2 [json_name = "triggerId"]; * @return This builder for chaining. */ public Builder clearTriggerId() { copyOnWrite(); instance.clearTriggerId(); return this; } /** *
     * owner id
     * 
* * optional string trigger_id = 2 [json_name = "triggerId"]; * @param value The bytes for triggerId to set. * @return This builder for chaining. */ public Builder setTriggerIdBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setTriggerIdBytes(value); return this; } /** *
     * name of event to be compared with
     * 
* * optional string event = 3 [json_name = "event"]; * @return Whether the event field is set. */ @java.lang.Override public boolean hasEvent() { return instance.hasEvent(); } /** *
     * name of event to be compared with
     * 
* * optional string event = 3 [json_name = "event"]; * @return The event. */ @java.lang.Override public java.lang.String getEvent() { return instance.getEvent(); } /** *
     * name of event to be compared with
     * 
* * optional string event = 3 [json_name = "event"]; * @return The bytes for event. */ @java.lang.Override public com.google.protobuf.ByteString getEventBytes() { return instance.getEventBytes(); } /** *
     * name of event to be compared with
     * 
* * optional string event = 3 [json_name = "event"]; * @param value The event to set. * @return This builder for chaining. */ public Builder setEvent( java.lang.String value) { copyOnWrite(); instance.setEvent(value); return this; } /** *
     * name of event to be compared with
     * 
* * optional string event = 3 [json_name = "event"]; * @return This builder for chaining. */ public Builder clearEvent() { copyOnWrite(); instance.clearEvent(); return this; } /** *
     * name of event to be compared with
     * 
* * optional string event = 3 [json_name = "event"]; * @param value The bytes for event to set. * @return This builder for chaining. */ public Builder setEventBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setEventBytes(value); return this; } /** *
     * scope of event
     * 
* * optional string datasource = 4 [json_name = "datasource"]; * @return Whether the datasource field is set. */ @java.lang.Override public boolean hasDatasource() { return instance.hasDatasource(); } /** *
     * scope of event
     * 
* * optional string datasource = 4 [json_name = "datasource"]; * @return The datasource. */ @java.lang.Override public java.lang.String getDatasource() { return instance.getDatasource(); } /** *
     * scope of event
     * 
* * optional string datasource = 4 [json_name = "datasource"]; * @return The bytes for datasource. */ @java.lang.Override public com.google.protobuf.ByteString getDatasourceBytes() { return instance.getDatasourceBytes(); } /** *
     * scope of event
     * 
* * optional string datasource = 4 [json_name = "datasource"]; * @param value The datasource to set. * @return This builder for chaining. */ public Builder setDatasource( java.lang.String value) { copyOnWrite(); instance.setDatasource(value); return this; } /** *
     * scope of event
     * 
* * optional string datasource = 4 [json_name = "datasource"]; * @return This builder for chaining. */ public Builder clearDatasource() { copyOnWrite(); instance.clearDatasource(); return this; } /** *
     * scope of event
     * 
* * optional string datasource = 4 [json_name = "datasource"]; * @param value The bytes for datasource to set. * @return This builder for chaining. */ public Builder setDatasourceBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setDatasourceBytes(value); return this; } /** *
     * scope of event
     * 
* * optional string scope = 5 [json_name = "scope"]; * @return Whether the scope field is set. */ @java.lang.Override public boolean hasScope() { return instance.hasScope(); } /** *
     * scope of event
     * 
* * optional string scope = 5 [json_name = "scope"]; * @return The scope. */ @java.lang.Override public java.lang.String getScope() { return instance.getScope(); } /** *
     * scope of event
     * 
* * optional string scope = 5 [json_name = "scope"]; * @return The bytes for scope. */ @java.lang.Override public com.google.protobuf.ByteString getScopeBytes() { return instance.getScopeBytes(); } /** *
     * scope of event
     * 
* * optional string scope = 5 [json_name = "scope"]; * @param value The scope to set. * @return This builder for chaining. */ public Builder setScope( java.lang.String value) { copyOnWrite(); instance.setScope(value); return this; } /** *
     * scope of event
     * 
* * optional string scope = 5 [json_name = "scope"]; * @return This builder for chaining. */ public Builder clearScope() { copyOnWrite(); instance.clearScope(); return this; } /** *
     * scope of event
     * 
* * optional string scope = 5 [json_name = "scope"]; * @param value The bytes for scope to set. * @return This builder for chaining. */ public Builder setScopeBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setScopeBytes(value); return this; } /** *
     * scope identifier
     * 
* * optional string scope_id = 6 [json_name = "scopeId"]; * @return Whether the scopeId field is set. */ @java.lang.Override public boolean hasScopeId() { return instance.hasScopeId(); } /** *
     * scope identifier
     * 
* * optional string scope_id = 6 [json_name = "scopeId"]; * @return The scopeId. */ @java.lang.Override public java.lang.String getScopeId() { return instance.getScopeId(); } /** *
     * scope identifier
     * 
* * optional string scope_id = 6 [json_name = "scopeId"]; * @return The bytes for scopeId. */ @java.lang.Override public com.google.protobuf.ByteString getScopeIdBytes() { return instance.getScopeIdBytes(); } /** *
     * scope identifier
     * 
* * optional string scope_id = 6 [json_name = "scopeId"]; * @param value The scopeId to set. * @return This builder for chaining. */ public Builder setScopeId( java.lang.String value) { copyOnWrite(); instance.setScopeId(value); return this; } /** *
     * scope identifier
     * 
* * optional string scope_id = 6 [json_name = "scopeId"]; * @return This builder for chaining. */ public Builder clearScopeId() { copyOnWrite(); instance.clearScopeId(); return this; } /** *
     * scope identifier
     * 
* * optional string scope_id = 6 [json_name = "scopeId"]; * @param value The bytes for scopeId to set. * @return This builder for chaining. */ public Builder setScopeIdBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setScopeIdBytes(value); return this; } /** *
     * comparison operation, should be used to compare "current" and "target" and return a boolean
     * 
* * optional string compare = 7 [json_name = "compare"]; * @return Whether the compare field is set. */ @java.lang.Override public boolean hasCompare() { return instance.hasCompare(); } /** *
     * comparison operation, should be used to compare "current" and "target" and return a boolean
     * 
* * optional string compare = 7 [json_name = "compare"]; * @return The compare. */ @java.lang.Override public java.lang.String getCompare() { return instance.getCompare(); } /** *
     * comparison operation, should be used to compare "current" and "target" and return a boolean
     * 
* * optional string compare = 7 [json_name = "compare"]; * @return The bytes for compare. */ @java.lang.Override public com.google.protobuf.ByteString getCompareBytes() { return instance.getCompareBytes(); } /** *
     * comparison operation, should be used to compare "current" and "target" and return a boolean
     * 
* * optional string compare = 7 [json_name = "compare"]; * @param value The compare to set. * @return This builder for chaining. */ public Builder setCompare( java.lang.String value) { copyOnWrite(); instance.setCompare(value); return this; } /** *
     * comparison operation, should be used to compare "current" and "target" and return a boolean
     * 
* * optional string compare = 7 [json_name = "compare"]; * @return This builder for chaining. */ public Builder clearCompare() { copyOnWrite(); instance.clearCompare(); return this; } /** *
     * comparison operation, should be used to compare "current" and "target" and return a boolean
     * 
* * optional string compare = 7 [json_name = "compare"]; * @param value The bytes for compare to set. * @return This builder for chaining. */ public Builder setCompareBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setCompareBytes(value); return this; } /** *
     * type of condition
     * 
* * optional string type = 8 [json_name = "type"]; * @return Whether the type field is set. */ @java.lang.Override public boolean hasType() { return instance.hasType(); } /** *
     * type of condition
     * 
* * optional string type = 8 [json_name = "type"]; * @return The type. */ @java.lang.Override public java.lang.String getType() { return instance.getType(); } /** *
     * type of condition
     * 
* * optional string type = 8 [json_name = "type"]; * @return The bytes for type. */ @java.lang.Override public com.google.protobuf.ByteString getTypeBytes() { return instance.getTypeBytes(); } /** *
     * type of condition
     * 
* * optional string type = 8 [json_name = "type"]; * @param value The type to set. * @return This builder for chaining. */ public Builder setType( java.lang.String value) { copyOnWrite(); instance.setType(value); return this; } /** *
     * type of condition
     * 
* * optional string type = 8 [json_name = "type"]; * @return This builder for chaining. */ public Builder clearType() { copyOnWrite(); instance.clearType(); return this; } /** *
     * type of condition
     * 
* * optional string type = 8 [json_name = "type"]; * @param value The bytes for type to set. * @return This builder for chaining. */ public Builder setTypeBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setTypeBytes(value); return this; } /** *
     * target value of the event
     * 
* * repeated string targets = 9 [json_name = "targets"]; * @return A list containing the targets. */ @java.lang.Override public java.util.List getTargetsList() { return java.util.Collections.unmodifiableList( instance.getTargetsList()); } /** *
     * target value of the event
     * 
* * repeated string targets = 9 [json_name = "targets"]; * @return The count of targets. */ @java.lang.Override public int getTargetsCount() { return instance.getTargetsCount(); } /** *
     * target value of the event
     * 
* * repeated string targets = 9 [json_name = "targets"]; * @param index The index of the element to return. * @return The targets at the given index. */ @java.lang.Override public java.lang.String getTargets(int index) { return instance.getTargets(index); } /** *
     * target value of the event
     * 
* * repeated string targets = 9 [json_name = "targets"]; * @param index The index of the value to return. * @return The bytes of the targets at the given index. */ @java.lang.Override public com.google.protobuf.ByteString getTargetsBytes(int index) { return instance.getTargetsBytes(index); } /** *
     * target value of the event
     * 
* * repeated string targets = 9 [json_name = "targets"]; * @param index The index to set the value at. * @param value The targets to set. * @return This builder for chaining. */ public Builder setTargets( int index, java.lang.String value) { copyOnWrite(); instance.setTargets(index, value); return this; } /** *
     * target value of the event
     * 
* * repeated string targets = 9 [json_name = "targets"]; * @param value The targets to add. * @return This builder for chaining. */ public Builder addTargets( java.lang.String value) { copyOnWrite(); instance.addTargets(value); return this; } /** *
     * target value of the event
     * 
* * repeated string targets = 9 [json_name = "targets"]; * @param values The targets to add. * @return This builder for chaining. */ public Builder addAllTargets( java.lang.Iterable values) { copyOnWrite(); instance.addAllTargets(values); return this; } /** *
     * target value of the event
     * 
* * repeated string targets = 9 [json_name = "targets"]; * @return This builder for chaining. */ public Builder clearTargets() { copyOnWrite(); instance.clearTargets(); return this; } /** *
     * target value of the event
     * 
* * repeated string targets = 9 [json_name = "targets"]; * @param value The bytes of the targets to add. * @return This builder for chaining. */ public Builder addTargetsBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.addTargetsBytes(value); return this; } /** *
     * current value read from event
     * 
* * optional string current = 10 [json_name = "current"]; * @return Whether the current field is set. */ @java.lang.Override public boolean hasCurrent() { return instance.hasCurrent(); } /** *
     * current value read from event
     * 
* * optional string current = 10 [json_name = "current"]; * @return The current. */ @java.lang.Override public java.lang.String getCurrent() { return instance.getCurrent(); } /** *
     * current value read from event
     * 
* * optional string current = 10 [json_name = "current"]; * @return The bytes for current. */ @java.lang.Override public com.google.protobuf.ByteString getCurrentBytes() { return instance.getCurrentBytes(); } /** *
     * current value read from event
     * 
* * optional string current = 10 [json_name = "current"]; * @param value The current to set. * @return This builder for chaining. */ public Builder setCurrent( java.lang.String value) { copyOnWrite(); instance.setCurrent(value); return this; } /** *
     * current value read from event
     * 
* * optional string current = 10 [json_name = "current"]; * @return This builder for chaining. */ public Builder clearCurrent() { copyOnWrite(); instance.clearCurrent(); return this; } /** *
     * current value read from event
     * 
* * optional string current = 10 [json_name = "current"]; * @param value The bytes for current to set. * @return This builder for chaining. */ public Builder setCurrentBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setCurrentBytes(value); return this; } /** *
     * true when compare(target, current) == true
     * 
* * bool activated = 11 [json_name = "activated"]; * @return The activated. */ @java.lang.Override public boolean getActivated() { return instance.getActivated(); } /** *
     * true when compare(target, current) == true
     * 
* * bool activated = 11 [json_name = "activated"]; * @param value The activated to set. * @return This builder for chaining. */ public Builder setActivated(boolean value) { copyOnWrite(); instance.setActivated(value); return this; } /** *
     * true when compare(target, current) == true
     * 
* * bool activated = 11 [json_name = "activated"]; * @return This builder for chaining. */ public Builder clearActivated() { copyOnWrite(); instance.clearActivated(); return this; } /** *
     * order of occurrence of condition in array of conditions
     * 
* * optional int32 chain_order = 12 [json_name = "chainOrder"]; * @return Whether the chainOrder field is set. */ @java.lang.Override public boolean hasChainOrder() { return instance.hasChainOrder(); } /** *
     * order of occurrence of condition in array of conditions
     * 
* * optional int32 chain_order = 12 [json_name = "chainOrder"]; * @return The chainOrder. */ @java.lang.Override public int getChainOrder() { return instance.getChainOrder(); } /** *
     * order of occurrence of condition in array of conditions
     * 
* * optional int32 chain_order = 12 [json_name = "chainOrder"]; * @param value The chainOrder to set. * @return This builder for chaining. */ public Builder setChainOrder(int value) { copyOnWrite(); instance.setChainOrder(value); return this; } /** *
     * order of occurrence of condition in array of conditions
     * 
* * optional int32 chain_order = 12 [json_name = "chainOrder"]; * @return This builder for chaining. */ public Builder clearChainOrder() { copyOnWrite(); instance.clearChainOrder(); return this; } /** *
     * logical operation on condition when combining multiple conditions together
     * 
* * optional string chain_operation = 13 [json_name = "chainOperation"]; * @return Whether the chainOperation field is set. */ @java.lang.Override public boolean hasChainOperation() { return instance.hasChainOperation(); } /** *
     * logical operation on condition when combining multiple conditions together
     * 
* * optional string chain_operation = 13 [json_name = "chainOperation"]; * @return The chainOperation. */ @java.lang.Override public java.lang.String getChainOperation() { return instance.getChainOperation(); } /** *
     * logical operation on condition when combining multiple conditions together
     * 
* * optional string chain_operation = 13 [json_name = "chainOperation"]; * @return The bytes for chainOperation. */ @java.lang.Override public com.google.protobuf.ByteString getChainOperationBytes() { return instance.getChainOperationBytes(); } /** *
     * logical operation on condition when combining multiple conditions together
     * 
* * optional string chain_operation = 13 [json_name = "chainOperation"]; * @param value The chainOperation to set. * @return This builder for chaining. */ public Builder setChainOperation( java.lang.String value) { copyOnWrite(); instance.setChainOperation(value); return this; } /** *
     * logical operation on condition when combining multiple conditions together
     * 
* * optional string chain_operation = 13 [json_name = "chainOperation"]; * @return This builder for chaining. */ public Builder clearChainOperation() { copyOnWrite(); instance.clearChainOperation(); return this; } /** *
     * logical operation on condition when combining multiple conditions together
     * 
* * optional string chain_operation = 13 [json_name = "chainOperation"]; * @param value The bytes for chainOperation to set. * @return This builder for chaining. */ public Builder setChainOperationBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setChainOperationBytes(value); return this; } /** *
     * log of events consumed by condition
     * 
* * repeated .streamlayer.triggers.Event log = 14 [json_name = "log"]; */ @java.lang.Override public java.util.List getLogList() { return java.util.Collections.unmodifiableList( instance.getLogList()); } /** *
     * log of events consumed by condition
     * 
* * repeated .streamlayer.triggers.Event log = 14 [json_name = "log"]; */ @java.lang.Override public int getLogCount() { return instance.getLogCount(); }/** *
     * log of events consumed by condition
     * 
* * repeated .streamlayer.triggers.Event log = 14 [json_name = "log"]; */ @java.lang.Override public com.streamlayer.triggers.Event getLog(int index) { return instance.getLog(index); } /** *
     * log of events consumed by condition
     * 
* * repeated .streamlayer.triggers.Event log = 14 [json_name = "log"]; */ public Builder setLog( int index, com.streamlayer.triggers.Event value) { copyOnWrite(); instance.setLog(index, value); return this; } /** *
     * log of events consumed by condition
     * 
* * repeated .streamlayer.triggers.Event log = 14 [json_name = "log"]; */ public Builder setLog( int index, com.streamlayer.triggers.Event.Builder builderForValue) { copyOnWrite(); instance.setLog(index, builderForValue.build()); return this; } /** *
     * log of events consumed by condition
     * 
* * repeated .streamlayer.triggers.Event log = 14 [json_name = "log"]; */ public Builder addLog(com.streamlayer.triggers.Event value) { copyOnWrite(); instance.addLog(value); return this; } /** *
     * log of events consumed by condition
     * 
* * repeated .streamlayer.triggers.Event log = 14 [json_name = "log"]; */ public Builder addLog( int index, com.streamlayer.triggers.Event value) { copyOnWrite(); instance.addLog(index, value); return this; } /** *
     * log of events consumed by condition
     * 
* * repeated .streamlayer.triggers.Event log = 14 [json_name = "log"]; */ public Builder addLog( com.streamlayer.triggers.Event.Builder builderForValue) { copyOnWrite(); instance.addLog(builderForValue.build()); return this; } /** *
     * log of events consumed by condition
     * 
* * repeated .streamlayer.triggers.Event log = 14 [json_name = "log"]; */ public Builder addLog( int index, com.streamlayer.triggers.Event.Builder builderForValue) { copyOnWrite(); instance.addLog(index, builderForValue.build()); return this; } /** *
     * log of events consumed by condition
     * 
* * repeated .streamlayer.triggers.Event log = 14 [json_name = "log"]; */ public Builder addAllLog( java.lang.Iterable values) { copyOnWrite(); instance.addAllLog(values); return this; } /** *
     * log of events consumed by condition
     * 
* * repeated .streamlayer.triggers.Event log = 14 [json_name = "log"]; */ public Builder clearLog() { copyOnWrite(); instance.clearLog(); return this; } /** *
     * log of events consumed by condition
     * 
* * repeated .streamlayer.triggers.Event log = 14 [json_name = "log"]; */ public Builder removeLog(int index) { copyOnWrite(); instance.removeLog(index); return this; } /** *
     * condition options, additional events required for condition to be activated
     * 
* * repeated .streamlayer.triggers.TriggerConditionOption options = 15 [json_name = "options"]; */ @java.lang.Override public java.util.List getOptionsList() { return java.util.Collections.unmodifiableList( instance.getOptionsList()); } /** *
     * condition options, additional events required for condition to be activated
     * 
* * repeated .streamlayer.triggers.TriggerConditionOption options = 15 [json_name = "options"]; */ @java.lang.Override public int getOptionsCount() { return instance.getOptionsCount(); }/** *
     * condition options, additional events required for condition to be activated
     * 
* * repeated .streamlayer.triggers.TriggerConditionOption options = 15 [json_name = "options"]; */ @java.lang.Override public com.streamlayer.triggers.TriggerConditionOption getOptions(int index) { return instance.getOptions(index); } /** *
     * condition options, additional events required for condition to be activated
     * 
* * repeated .streamlayer.triggers.TriggerConditionOption options = 15 [json_name = "options"]; */ public Builder setOptions( int index, com.streamlayer.triggers.TriggerConditionOption value) { copyOnWrite(); instance.setOptions(index, value); return this; } /** *
     * condition options, additional events required for condition to be activated
     * 
* * repeated .streamlayer.triggers.TriggerConditionOption options = 15 [json_name = "options"]; */ public Builder setOptions( int index, com.streamlayer.triggers.TriggerConditionOption.Builder builderForValue) { copyOnWrite(); instance.setOptions(index, builderForValue.build()); return this; } /** *
     * condition options, additional events required for condition to be activated
     * 
* * repeated .streamlayer.triggers.TriggerConditionOption options = 15 [json_name = "options"]; */ public Builder addOptions(com.streamlayer.triggers.TriggerConditionOption value) { copyOnWrite(); instance.addOptions(value); return this; } /** *
     * condition options, additional events required for condition to be activated
     * 
* * repeated .streamlayer.triggers.TriggerConditionOption options = 15 [json_name = "options"]; */ public Builder addOptions( int index, com.streamlayer.triggers.TriggerConditionOption value) { copyOnWrite(); instance.addOptions(index, value); return this; } /** *
     * condition options, additional events required for condition to be activated
     * 
* * repeated .streamlayer.triggers.TriggerConditionOption options = 15 [json_name = "options"]; */ public Builder addOptions( com.streamlayer.triggers.TriggerConditionOption.Builder builderForValue) { copyOnWrite(); instance.addOptions(builderForValue.build()); return this; } /** *
     * condition options, additional events required for condition to be activated
     * 
* * repeated .streamlayer.triggers.TriggerConditionOption options = 15 [json_name = "options"]; */ public Builder addOptions( int index, com.streamlayer.triggers.TriggerConditionOption.Builder builderForValue) { copyOnWrite(); instance.addOptions(index, builderForValue.build()); return this; } /** *
     * condition options, additional events required for condition to be activated
     * 
* * repeated .streamlayer.triggers.TriggerConditionOption options = 15 [json_name = "options"]; */ public Builder addAllOptions( java.lang.Iterable values) { copyOnWrite(); instance.addAllOptions(values); return this; } /** *
     * condition options, additional events required for condition to be activated
     * 
* * repeated .streamlayer.triggers.TriggerConditionOption options = 15 [json_name = "options"]; */ public Builder clearOptions() { copyOnWrite(); instance.clearOptions(); return this; } /** *
     * condition options, additional events required for condition to be activated
     * 
* * repeated .streamlayer.triggers.TriggerConditionOption options = 15 [json_name = "options"]; */ public Builder removeOptions(int index) { copyOnWrite(); instance.removeOptions(index); return this; } // @@protoc_insertion_point(builder_scope:streamlayer.triggers.TriggerCondition) } @java.lang.Override @java.lang.SuppressWarnings({"unchecked", "fallthrough"}) protected final java.lang.Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new com.streamlayer.triggers.TriggerCondition(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "bitField0_", "id_", "triggerId_", "event_", "datasource_", "scope_", "scopeId_", "compare_", "type_", "targets_", "current_", "activated_", "chainOrder_", "chainOperation_", "log_", com.streamlayer.triggers.Event.class, "options_", com.streamlayer.triggers.TriggerConditionOption.class, }; java.lang.String info = "\u0000\u000f\u0000\u0001\u0001\u000f\u000f\u0000\u0003\u0000\u0001\u0208\u0002\u1208" + "\u0000\u0003\u1208\u0001\u0004\u1208\u0002\u0005\u1208\u0003\u0006\u1208\u0004\u0007" + "\u1208\u0005\b\u1208\u0006\t\u021a\n\u1208\u0007\u000b\u0007\f\u1004\b\r\u1208\t" + "\u000e\u001b\u000f\u001b"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { com.google.protobuf.Parser parser = PARSER; if (parser == null) { synchronized (com.streamlayer.triggers.TriggerCondition.class) { parser = PARSER; if (parser == null) { parser = new DefaultInstanceBasedParser( DEFAULT_INSTANCE); PARSER = parser; } } } return parser; } case GET_MEMOIZED_IS_INITIALIZED: { return (byte) 1; } case SET_MEMOIZED_IS_INITIALIZED: { return null; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:streamlayer.triggers.TriggerCondition) private static final com.streamlayer.triggers.TriggerCondition DEFAULT_INSTANCE; static { TriggerCondition defaultInstance = new TriggerCondition(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( TriggerCondition.class, defaultInstance); } public static com.streamlayer.triggers.TriggerCondition getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy