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

main.java.com.streamlayer.triggers.EssentialTriggerData 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.EssentialTriggerData}
 */
public  final class EssentialTriggerData extends
    com.google.protobuf.GeneratedMessageLite<
        EssentialTriggerData, EssentialTriggerData.Builder> implements
    // @@protoc_insertion_point(message_implements:streamlayer.triggers.EssentialTriggerData)
    EssentialTriggerDataOrBuilder {
  private EssentialTriggerData() {
    name_ = "";
    description_ = "";
    datasource_ = "";
    scope_ = "";
    scopeId_ = "";
    entity_ = "";
    entityId_ = "";
  }
  public static final int NAME_FIELD_NUMBER = 1;
  private java.lang.String name_;
  /**
   * string name = 1 [json_name = "name"];
   * @return The name.
   */
  @java.lang.Override
  public java.lang.String getName() {
    return name_;
  }
  /**
   * string name = 1 [json_name = "name"];
   * @return The bytes for name.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getNameBytes() {
    return com.google.protobuf.ByteString.copyFromUtf8(name_);
  }
  /**
   * string name = 1 [json_name = "name"];
   * @param value The name to set.
   */
  private void setName(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  
    name_ = value;
  }
  /**
   * string name = 1 [json_name = "name"];
   */
  private void clearName() {

    name_ = getDefaultInstance().getName();
  }
  /**
   * string name = 1 [json_name = "name"];
   * @param value The bytes for name to set.
   */
  private void setNameBytes(
      com.google.protobuf.ByteString value) {
    checkByteStringIsUtf8(value);
    name_ = value.toStringUtf8();

  }

  public static final int DESCRIPTION_FIELD_NUMBER = 2;
  private java.lang.String description_;
  /**
   * string description = 2 [json_name = "description"];
   * @return The description.
   */
  @java.lang.Override
  public java.lang.String getDescription() {
    return description_;
  }
  /**
   * string description = 2 [json_name = "description"];
   * @return The bytes for description.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDescriptionBytes() {
    return com.google.protobuf.ByteString.copyFromUtf8(description_);
  }
  /**
   * string description = 2 [json_name = "description"];
   * @param value The description to set.
   */
  private void setDescription(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  
    description_ = value;
  }
  /**
   * string description = 2 [json_name = "description"];
   */
  private void clearDescription() {

    description_ = getDefaultInstance().getDescription();
  }
  /**
   * string description = 2 [json_name = "description"];
   * @param value The bytes for description to set.
   */
  private void setDescriptionBytes(
      com.google.protobuf.ByteString value) {
    checkByteStringIsUtf8(value);
    description_ = value.toStringUtf8();

  }

  public static final int DATASOURCE_FIELD_NUMBER = 3;
  private java.lang.String datasource_;
  /**
   * string datasource = 3 [json_name = "datasource"];
   * @return The datasource.
   */
  @java.lang.Override
  public java.lang.String getDatasource() {
    return datasource_;
  }
  /**
   * string datasource = 3 [json_name = "datasource"];
   * @return The bytes for datasource.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDatasourceBytes() {
    return com.google.protobuf.ByteString.copyFromUtf8(datasource_);
  }
  /**
   * string datasource = 3 [json_name = "datasource"];
   * @param value The datasource to set.
   */
  private void setDatasource(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  
    datasource_ = value;
  }
  /**
   * string datasource = 3 [json_name = "datasource"];
   */
  private void clearDatasource() {

    datasource_ = getDefaultInstance().getDatasource();
  }
  /**
   * string datasource = 3 [json_name = "datasource"];
   * @param value The bytes for datasource to set.
   */
  private void setDatasourceBytes(
      com.google.protobuf.ByteString value) {
    checkByteStringIsUtf8(value);
    datasource_ = value.toStringUtf8();

  }

  public static final int SCOPE_FIELD_NUMBER = 4;
  private java.lang.String scope_;
  /**
   * string scope = 4 [json_name = "scope"];
   * @return The scope.
   */
  @java.lang.Override
  public java.lang.String getScope() {
    return scope_;
  }
  /**
   * string scope = 4 [json_name = "scope"];
   * @return The bytes for scope.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getScopeBytes() {
    return com.google.protobuf.ByteString.copyFromUtf8(scope_);
  }
  /**
   * string scope = 4 [json_name = "scope"];
   * @param value The scope to set.
   */
  private void setScope(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  
    scope_ = value;
  }
  /**
   * string scope = 4 [json_name = "scope"];
   */
  private void clearScope() {

    scope_ = getDefaultInstance().getScope();
  }
  /**
   * string scope = 4 [json_name = "scope"];
   * @param value The bytes for scope to set.
   */
  private void setScopeBytes(
      com.google.protobuf.ByteString value) {
    checkByteStringIsUtf8(value);
    scope_ = value.toStringUtf8();

  }

  public static final int SCOPE_ID_FIELD_NUMBER = 5;
  private java.lang.String scopeId_;
  /**
   * string scope_id = 5 [json_name = "scopeId"];
   * @return The scopeId.
   */
  @java.lang.Override
  public java.lang.String getScopeId() {
    return scopeId_;
  }
  /**
   * string scope_id = 5 [json_name = "scopeId"];
   * @return The bytes for scopeId.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getScopeIdBytes() {
    return com.google.protobuf.ByteString.copyFromUtf8(scopeId_);
  }
  /**
   * string scope_id = 5 [json_name = "scopeId"];
   * @param value The scopeId to set.
   */
  private void setScopeId(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  
    scopeId_ = value;
  }
  /**
   * string scope_id = 5 [json_name = "scopeId"];
   */
  private void clearScopeId() {

    scopeId_ = getDefaultInstance().getScopeId();
  }
  /**
   * string scope_id = 5 [json_name = "scopeId"];
   * @param value The bytes for scopeId to set.
   */
  private void setScopeIdBytes(
      com.google.protobuf.ByteString value) {
    checkByteStringIsUtf8(value);
    scopeId_ = value.toStringUtf8();

  }

  public static final int ENTITY_FIELD_NUMBER = 6;
  private java.lang.String entity_;
  /**
   * string entity = 6 [json_name = "entity"];
   * @return The entity.
   */
  @java.lang.Override
  public java.lang.String getEntity() {
    return entity_;
  }
  /**
   * string entity = 6 [json_name = "entity"];
   * @return The bytes for entity.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getEntityBytes() {
    return com.google.protobuf.ByteString.copyFromUtf8(entity_);
  }
  /**
   * string entity = 6 [json_name = "entity"];
   * @param value The entity to set.
   */
  private void setEntity(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  
    entity_ = value;
  }
  /**
   * string entity = 6 [json_name = "entity"];
   */
  private void clearEntity() {

    entity_ = getDefaultInstance().getEntity();
  }
  /**
   * string entity = 6 [json_name = "entity"];
   * @param value The bytes for entity to set.
   */
  private void setEntityBytes(
      com.google.protobuf.ByteString value) {
    checkByteStringIsUtf8(value);
    entity_ = value.toStringUtf8();

  }

  public static final int ENTITY_ID_FIELD_NUMBER = 7;
  private java.lang.String entityId_;
  /**
   * string entity_id = 7 [json_name = "entityId"];
   * @return The entityId.
   */
  @java.lang.Override
  public java.lang.String getEntityId() {
    return entityId_;
  }
  /**
   * string entity_id = 7 [json_name = "entityId"];
   * @return The bytes for entityId.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getEntityIdBytes() {
    return com.google.protobuf.ByteString.copyFromUtf8(entityId_);
  }
  /**
   * string entity_id = 7 [json_name = "entityId"];
   * @param value The entityId to set.
   */
  private void setEntityId(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  
    entityId_ = value;
  }
  /**
   * string entity_id = 7 [json_name = "entityId"];
   */
  private void clearEntityId() {

    entityId_ = getDefaultInstance().getEntityId();
  }
  /**
   * string entity_id = 7 [json_name = "entityId"];
   * @param value The bytes for entityId to set.
   */
  private void setEntityIdBytes(
      com.google.protobuf.ByteString value) {
    checkByteStringIsUtf8(value);
    entityId_ = value.toStringUtf8();

  }

  public static final int DISABLED_FIELD_NUMBER = 8;
  private boolean disabled_;
  /**
   * 
   * should be set to true if trigger is created as disabled
   * 
* * bool disabled = 8 [json_name = "disabled"]; * @return The disabled. */ @java.lang.Override public boolean getDisabled() { return disabled_; } /** *
   * should be set to true if trigger is created as disabled
   * 
* * bool disabled = 8 [json_name = "disabled"]; * @param value The disabled to set. */ private void setDisabled(boolean value) { disabled_ = value; } /** *
   * should be set to true if trigger is created as disabled
   * 
* * bool disabled = 8 [json_name = "disabled"]; */ private void clearDisabled() { disabled_ = false; } public static final int THRESHOLD_FIELD_NUMBER = 9; private int threshold_; /** * int32 threshold = 9 [json_name = "threshold"]; * @return The threshold. */ @java.lang.Override public int getThreshold() { return threshold_; } /** * int32 threshold = 9 [json_name = "threshold"]; * @param value The threshold to set. */ private void setThreshold(int value) { threshold_ = value; } /** * int32 threshold = 9 [json_name = "threshold"]; */ private void clearThreshold() { threshold_ = 0; } public static final int DISABLED_ENTITY_FIELD_NUMBER = 10; private boolean disabledEntity_; /** *
   * should be set to true if trigger is created in disabled entity
   * 
* * bool disabled_entity = 10 [json_name = "disabledEntity"]; * @return The disabledEntity. */ @java.lang.Override public boolean getDisabledEntity() { return disabledEntity_; } /** *
   * should be set to true if trigger is created in disabled entity
   * 
* * bool disabled_entity = 10 [json_name = "disabledEntity"]; * @param value The disabledEntity to set. */ private void setDisabledEntity(boolean value) { disabledEntity_ = value; } /** *
   * should be set to true if trigger is created in disabled entity
   * 
* * bool disabled_entity = 10 [json_name = "disabledEntity"]; */ private void clearDisabledEntity() { disabledEntity_ = false; } public static final int USE_ENTITY_LIMITS_FIELD_NUMBER = 11; private boolean useEntityLimits_; /** * bool use_entity_limits = 11 [json_name = "useEntityLimits"]; * @return The useEntityLimits. */ @java.lang.Override public boolean getUseEntityLimits() { return useEntityLimits_; } /** * bool use_entity_limits = 11 [json_name = "useEntityLimits"]; * @param value The useEntityLimits to set. */ private void setUseEntityLimits(boolean value) { useEntityLimits_ = value; } /** * bool use_entity_limits = 11 [json_name = "useEntityLimits"]; */ private void clearUseEntityLimits() { useEntityLimits_ = false; } public static final int USE_CONDITION_THRESHOLD_FIELD_NUMBER = 12; private int useConditionThreshold_; /** * .streamlayer.triggers.UseConditionThreshold use_condition_threshold = 12 [json_name = "useConditionThreshold"]; * @return The enum numeric value on the wire for useConditionThreshold. */ @java.lang.Override public int getUseConditionThresholdValue() { return useConditionThreshold_; } /** * .streamlayer.triggers.UseConditionThreshold use_condition_threshold = 12 [json_name = "useConditionThreshold"]; * @return The useConditionThreshold. */ @java.lang.Override public com.streamlayer.triggers.UseConditionThreshold getUseConditionThreshold() { com.streamlayer.triggers.UseConditionThreshold result = com.streamlayer.triggers.UseConditionThreshold.forNumber(useConditionThreshold_); return result == null ? com.streamlayer.triggers.UseConditionThreshold.UNRECOGNIZED : result; } /** * .streamlayer.triggers.UseConditionThreshold use_condition_threshold = 12 [json_name = "useConditionThreshold"]; * @param value The enum numeric value on the wire for useConditionThreshold to set. */ private void setUseConditionThresholdValue(int value) { useConditionThreshold_ = value; } /** * .streamlayer.triggers.UseConditionThreshold use_condition_threshold = 12 [json_name = "useConditionThreshold"]; * @param value The useConditionThreshold to set. */ private void setUseConditionThreshold(com.streamlayer.triggers.UseConditionThreshold value) { useConditionThreshold_ = value.getNumber(); } /** * .streamlayer.triggers.UseConditionThreshold use_condition_threshold = 12 [json_name = "useConditionThreshold"]; */ private void clearUseConditionThreshold() { useConditionThreshold_ = 0; } public static final int USE_LIMITS_FIELD_NUMBER = 13; private int useLimits_; /** * .streamlayer.triggers.UseTriggerLimits use_limits = 13 [json_name = "useLimits"]; * @return The enum numeric value on the wire for useLimits. */ @java.lang.Override public int getUseLimitsValue() { return useLimits_; } /** * .streamlayer.triggers.UseTriggerLimits use_limits = 13 [json_name = "useLimits"]; * @return The useLimits. */ @java.lang.Override public com.streamlayer.triggers.UseTriggerLimits getUseLimits() { com.streamlayer.triggers.UseTriggerLimits result = com.streamlayer.triggers.UseTriggerLimits.forNumber(useLimits_); return result == null ? com.streamlayer.triggers.UseTriggerLimits.UNRECOGNIZED : result; } /** * .streamlayer.triggers.UseTriggerLimits use_limits = 13 [json_name = "useLimits"]; * @param value The enum numeric value on the wire for useLimits to set. */ private void setUseLimitsValue(int value) { useLimits_ = value; } /** * .streamlayer.triggers.UseTriggerLimits use_limits = 13 [json_name = "useLimits"]; * @param value The useLimits to set. */ private void setUseLimits(com.streamlayer.triggers.UseTriggerLimits value) { useLimits_ = value.getNumber(); } /** * .streamlayer.triggers.UseTriggerLimits use_limits = 13 [json_name = "useLimits"]; */ private void clearUseLimits() { useLimits_ = 0; } public static com.streamlayer.triggers.EssentialTriggerData parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.triggers.EssentialTriggerData 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.EssentialTriggerData 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.EssentialTriggerData 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.EssentialTriggerData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.triggers.EssentialTriggerData 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.EssentialTriggerData parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.triggers.EssentialTriggerData 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.EssentialTriggerData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.streamlayer.triggers.EssentialTriggerData 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.EssentialTriggerData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.triggers.EssentialTriggerData 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.EssentialTriggerData prototype) { return DEFAULT_INSTANCE.createBuilder(prototype); } /** * Protobuf type {@code streamlayer.triggers.EssentialTriggerData} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.streamlayer.triggers.EssentialTriggerData, Builder> implements // @@protoc_insertion_point(builder_implements:streamlayer.triggers.EssentialTriggerData) com.streamlayer.triggers.EssentialTriggerDataOrBuilder { // Construct using com.streamlayer.triggers.EssentialTriggerData.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * string name = 1 [json_name = "name"]; * @return The name. */ @java.lang.Override public java.lang.String getName() { return instance.getName(); } /** * string name = 1 [json_name = "name"]; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { return instance.getNameBytes(); } /** * string name = 1 [json_name = "name"]; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { copyOnWrite(); instance.setName(value); return this; } /** * string name = 1 [json_name = "name"]; * @return This builder for chaining. */ public Builder clearName() { copyOnWrite(); instance.clearName(); return this; } /** * string name = 1 [json_name = "name"]; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setNameBytes(value); return this; } /** * string description = 2 [json_name = "description"]; * @return The description. */ @java.lang.Override public java.lang.String getDescription() { return instance.getDescription(); } /** * string description = 2 [json_name = "description"]; * @return The bytes for description. */ @java.lang.Override public com.google.protobuf.ByteString getDescriptionBytes() { return instance.getDescriptionBytes(); } /** * string description = 2 [json_name = "description"]; * @param value The description to set. * @return This builder for chaining. */ public Builder setDescription( java.lang.String value) { copyOnWrite(); instance.setDescription(value); return this; } /** * string description = 2 [json_name = "description"]; * @return This builder for chaining. */ public Builder clearDescription() { copyOnWrite(); instance.clearDescription(); return this; } /** * string description = 2 [json_name = "description"]; * @param value The bytes for description to set. * @return This builder for chaining. */ public Builder setDescriptionBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setDescriptionBytes(value); return this; } /** * string datasource = 3 [json_name = "datasource"]; * @return The datasource. */ @java.lang.Override public java.lang.String getDatasource() { return instance.getDatasource(); } /** * string datasource = 3 [json_name = "datasource"]; * @return The bytes for datasource. */ @java.lang.Override public com.google.protobuf.ByteString getDatasourceBytes() { return instance.getDatasourceBytes(); } /** * string datasource = 3 [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; } /** * string datasource = 3 [json_name = "datasource"]; * @return This builder for chaining. */ public Builder clearDatasource() { copyOnWrite(); instance.clearDatasource(); return this; } /** * string datasource = 3 [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; } /** * string scope = 4 [json_name = "scope"]; * @return The scope. */ @java.lang.Override public java.lang.String getScope() { return instance.getScope(); } /** * string scope = 4 [json_name = "scope"]; * @return The bytes for scope. */ @java.lang.Override public com.google.protobuf.ByteString getScopeBytes() { return instance.getScopeBytes(); } /** * string scope = 4 [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; } /** * string scope = 4 [json_name = "scope"]; * @return This builder for chaining. */ public Builder clearScope() { copyOnWrite(); instance.clearScope(); return this; } /** * string scope = 4 [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; } /** * string scope_id = 5 [json_name = "scopeId"]; * @return The scopeId. */ @java.lang.Override public java.lang.String getScopeId() { return instance.getScopeId(); } /** * string scope_id = 5 [json_name = "scopeId"]; * @return The bytes for scopeId. */ @java.lang.Override public com.google.protobuf.ByteString getScopeIdBytes() { return instance.getScopeIdBytes(); } /** * string scope_id = 5 [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; } /** * string scope_id = 5 [json_name = "scopeId"]; * @return This builder for chaining. */ public Builder clearScopeId() { copyOnWrite(); instance.clearScopeId(); return this; } /** * string scope_id = 5 [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; } /** * string entity = 6 [json_name = "entity"]; * @return The entity. */ @java.lang.Override public java.lang.String getEntity() { return instance.getEntity(); } /** * string entity = 6 [json_name = "entity"]; * @return The bytes for entity. */ @java.lang.Override public com.google.protobuf.ByteString getEntityBytes() { return instance.getEntityBytes(); } /** * string entity = 6 [json_name = "entity"]; * @param value The entity to set. * @return This builder for chaining. */ public Builder setEntity( java.lang.String value) { copyOnWrite(); instance.setEntity(value); return this; } /** * string entity = 6 [json_name = "entity"]; * @return This builder for chaining. */ public Builder clearEntity() { copyOnWrite(); instance.clearEntity(); return this; } /** * string entity = 6 [json_name = "entity"]; * @param value The bytes for entity to set. * @return This builder for chaining. */ public Builder setEntityBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setEntityBytes(value); return this; } /** * string entity_id = 7 [json_name = "entityId"]; * @return The entityId. */ @java.lang.Override public java.lang.String getEntityId() { return instance.getEntityId(); } /** * string entity_id = 7 [json_name = "entityId"]; * @return The bytes for entityId. */ @java.lang.Override public com.google.protobuf.ByteString getEntityIdBytes() { return instance.getEntityIdBytes(); } /** * string entity_id = 7 [json_name = "entityId"]; * @param value The entityId to set. * @return This builder for chaining. */ public Builder setEntityId( java.lang.String value) { copyOnWrite(); instance.setEntityId(value); return this; } /** * string entity_id = 7 [json_name = "entityId"]; * @return This builder for chaining. */ public Builder clearEntityId() { copyOnWrite(); instance.clearEntityId(); return this; } /** * string entity_id = 7 [json_name = "entityId"]; * @param value The bytes for entityId to set. * @return This builder for chaining. */ public Builder setEntityIdBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setEntityIdBytes(value); return this; } /** *
     * should be set to true if trigger is created as disabled
     * 
* * bool disabled = 8 [json_name = "disabled"]; * @return The disabled. */ @java.lang.Override public boolean getDisabled() { return instance.getDisabled(); } /** *
     * should be set to true if trigger is created as disabled
     * 
* * bool disabled = 8 [json_name = "disabled"]; * @param value The disabled to set. * @return This builder for chaining. */ public Builder setDisabled(boolean value) { copyOnWrite(); instance.setDisabled(value); return this; } /** *
     * should be set to true if trigger is created as disabled
     * 
* * bool disabled = 8 [json_name = "disabled"]; * @return This builder for chaining. */ public Builder clearDisabled() { copyOnWrite(); instance.clearDisabled(); return this; } /** * int32 threshold = 9 [json_name = "threshold"]; * @return The threshold. */ @java.lang.Override public int getThreshold() { return instance.getThreshold(); } /** * int32 threshold = 9 [json_name = "threshold"]; * @param value The threshold to set. * @return This builder for chaining. */ public Builder setThreshold(int value) { copyOnWrite(); instance.setThreshold(value); return this; } /** * int32 threshold = 9 [json_name = "threshold"]; * @return This builder for chaining. */ public Builder clearThreshold() { copyOnWrite(); instance.clearThreshold(); return this; } /** *
     * should be set to true if trigger is created in disabled entity
     * 
* * bool disabled_entity = 10 [json_name = "disabledEntity"]; * @return The disabledEntity. */ @java.lang.Override public boolean getDisabledEntity() { return instance.getDisabledEntity(); } /** *
     * should be set to true if trigger is created in disabled entity
     * 
* * bool disabled_entity = 10 [json_name = "disabledEntity"]; * @param value The disabledEntity to set. * @return This builder for chaining. */ public Builder setDisabledEntity(boolean value) { copyOnWrite(); instance.setDisabledEntity(value); return this; } /** *
     * should be set to true if trigger is created in disabled entity
     * 
* * bool disabled_entity = 10 [json_name = "disabledEntity"]; * @return This builder for chaining. */ public Builder clearDisabledEntity() { copyOnWrite(); instance.clearDisabledEntity(); return this; } /** * bool use_entity_limits = 11 [json_name = "useEntityLimits"]; * @return The useEntityLimits. */ @java.lang.Override public boolean getUseEntityLimits() { return instance.getUseEntityLimits(); } /** * bool use_entity_limits = 11 [json_name = "useEntityLimits"]; * @param value The useEntityLimits to set. * @return This builder for chaining. */ public Builder setUseEntityLimits(boolean value) { copyOnWrite(); instance.setUseEntityLimits(value); return this; } /** * bool use_entity_limits = 11 [json_name = "useEntityLimits"]; * @return This builder for chaining. */ public Builder clearUseEntityLimits() { copyOnWrite(); instance.clearUseEntityLimits(); return this; } /** * .streamlayer.triggers.UseConditionThreshold use_condition_threshold = 12 [json_name = "useConditionThreshold"]; * @return The enum numeric value on the wire for useConditionThreshold. */ @java.lang.Override public int getUseConditionThresholdValue() { return instance.getUseConditionThresholdValue(); } /** * .streamlayer.triggers.UseConditionThreshold use_condition_threshold = 12 [json_name = "useConditionThreshold"]; * @param value The useConditionThreshold to set. * @return This builder for chaining. */ public Builder setUseConditionThresholdValue(int value) { copyOnWrite(); instance.setUseConditionThresholdValue(value); return this; } /** * .streamlayer.triggers.UseConditionThreshold use_condition_threshold = 12 [json_name = "useConditionThreshold"]; * @return The useConditionThreshold. */ @java.lang.Override public com.streamlayer.triggers.UseConditionThreshold getUseConditionThreshold() { return instance.getUseConditionThreshold(); } /** * .streamlayer.triggers.UseConditionThreshold use_condition_threshold = 12 [json_name = "useConditionThreshold"]; * @param value The enum numeric value on the wire for useConditionThreshold to set. * @return This builder for chaining. */ public Builder setUseConditionThreshold(com.streamlayer.triggers.UseConditionThreshold value) { copyOnWrite(); instance.setUseConditionThreshold(value); return this; } /** * .streamlayer.triggers.UseConditionThreshold use_condition_threshold = 12 [json_name = "useConditionThreshold"]; * @return This builder for chaining. */ public Builder clearUseConditionThreshold() { copyOnWrite(); instance.clearUseConditionThreshold(); return this; } /** * .streamlayer.triggers.UseTriggerLimits use_limits = 13 [json_name = "useLimits"]; * @return The enum numeric value on the wire for useLimits. */ @java.lang.Override public int getUseLimitsValue() { return instance.getUseLimitsValue(); } /** * .streamlayer.triggers.UseTriggerLimits use_limits = 13 [json_name = "useLimits"]; * @param value The useLimits to set. * @return This builder for chaining. */ public Builder setUseLimitsValue(int value) { copyOnWrite(); instance.setUseLimitsValue(value); return this; } /** * .streamlayer.triggers.UseTriggerLimits use_limits = 13 [json_name = "useLimits"]; * @return The useLimits. */ @java.lang.Override public com.streamlayer.triggers.UseTriggerLimits getUseLimits() { return instance.getUseLimits(); } /** * .streamlayer.triggers.UseTriggerLimits use_limits = 13 [json_name = "useLimits"]; * @param value The enum numeric value on the wire for useLimits to set. * @return This builder for chaining. */ public Builder setUseLimits(com.streamlayer.triggers.UseTriggerLimits value) { copyOnWrite(); instance.setUseLimits(value); return this; } /** * .streamlayer.triggers.UseTriggerLimits use_limits = 13 [json_name = "useLimits"]; * @return This builder for chaining. */ public Builder clearUseLimits() { copyOnWrite(); instance.clearUseLimits(); return this; } // @@protoc_insertion_point(builder_scope:streamlayer.triggers.EssentialTriggerData) } @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.EssentialTriggerData(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "name_", "description_", "datasource_", "scope_", "scopeId_", "entity_", "entityId_", "disabled_", "threshold_", "disabledEntity_", "useEntityLimits_", "useConditionThreshold_", "useLimits_", }; java.lang.String info = "\u0000\r\u0000\u0000\u0001\r\r\u0000\u0000\u0000\u0001\u0208\u0002\u0208\u0003\u0208" + "\u0004\u0208\u0005\u0208\u0006\u0208\u0007\u0208\b\u0007\t\u0004\n\u0007\u000b\u0007" + "\f\f\r\f"; 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.EssentialTriggerData.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.EssentialTriggerData) private static final com.streamlayer.triggers.EssentialTriggerData DEFAULT_INSTANCE; static { EssentialTriggerData defaultInstance = new EssentialTriggerData(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( EssentialTriggerData.class, defaultInstance); } public static com.streamlayer.triggers.EssentialTriggerData 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