main.java.com.streamlayer.triggers.Trigger Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sl-protofiles Show documentation
Show all versions of sl-protofiles Show documentation
StreamLayer Java Protofiles
// 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.Trigger}
*/
public final class Trigger extends
com.google.protobuf.GeneratedMessageLite<
Trigger, Trigger.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.triggers.Trigger)
TriggerOrBuilder {
private Trigger() {
id_ = "";
name_ = "";
description_ = "";
scope_ = "";
scopeId_ = "";
entity_ = "";
entityId_ = "";
}
public static final int ID_FIELD_NUMBER = 1;
private java.lang.String id_;
/**
*
* uuid generated for each trigger
*
*
* string id = 1 [json_name = "id"];
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return id_;
}
/**
*
* uuid generated for each trigger
*
*
* 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 trigger
*
*
* 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 trigger
*
*
* string id = 1 [json_name = "id"];
*/
private void clearId() {
id_ = getDefaultInstance().getId();
}
/**
*
* uuid generated for each trigger
*
*
* 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 NAME_FIELD_NUMBER = 2;
private java.lang.String name_;
/**
*
* human-readable name just for description purposes
*
*
* string name = 2 [json_name = "name"];
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return name_;
}
/**
*
* human-readable name just for description purposes
*
*
* string name = 2 [json_name = "name"];
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(name_);
}
/**
*
* human-readable name just for description purposes
*
*
* string name = 2 [json_name = "name"];
* @param value The name to set.
*/
private void setName(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
name_ = value;
}
/**
*
* human-readable name just for description purposes
*
*
* string name = 2 [json_name = "name"];
*/
private void clearName() {
name_ = getDefaultInstance().getName();
}
/**
*
* human-readable name just for description purposes
*
*
* string name = 2 [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 = 3;
private java.lang.String description_;
/**
*
* human-readable name just for description purposes
*
*
* string description = 3 [json_name = "description"];
* @return The description.
*/
@java.lang.Override
public java.lang.String getDescription() {
return description_;
}
/**
*
* human-readable name just for description purposes
*
*
* string description = 3 [json_name = "description"];
* @return The bytes for description.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDescriptionBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(description_);
}
/**
*
* human-readable name just for description purposes
*
*
* string description = 3 [json_name = "description"];
* @param value The description to set.
*/
private void setDescription(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
description_ = value;
}
/**
*
* human-readable name just for description purposes
*
*
* string description = 3 [json_name = "description"];
*/
private void clearDescription() {
description_ = getDefaultInstance().getDescription();
}
/**
*
* human-readable name just for description purposes
*
*
* string description = 3 [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 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 ACTIVATED_FIELD_NUMBER = 6;
private boolean activated_;
/**
* bool activated = 6 [json_name = "activated"];
* @return The activated.
*/
@java.lang.Override
public boolean getActivated() {
return activated_;
}
/**
* bool activated = 6 [json_name = "activated"];
* @param value The activated to set.
*/
private void setActivated(boolean value) {
activated_ = value;
}
/**
* bool activated = 6 [json_name = "activated"];
*/
private void clearActivated() {
activated_ = false;
}
public static final int ENTITY_FIELD_NUMBER = 7;
private java.lang.String entity_;
/**
* string entity = 7 [json_name = "entity"];
* @return The entity.
*/
@java.lang.Override
public java.lang.String getEntity() {
return entity_;
}
/**
* string entity = 7 [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 = 7 [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 = 7 [json_name = "entity"];
*/
private void clearEntity() {
entity_ = getDefaultInstance().getEntity();
}
/**
* string entity = 7 [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 = 8;
private java.lang.String entityId_;
/**
* string entity_id = 8 [json_name = "entityId"];
* @return The entityId.
*/
@java.lang.Override
public java.lang.String getEntityId() {
return entityId_;
}
/**
* string entity_id = 8 [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 = 8 [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 = 8 [json_name = "entityId"];
*/
private void clearEntityId() {
entityId_ = getDefaultInstance().getEntityId();
}
/**
* string entity_id = 8 [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 = 9;
private boolean disabled_;
/**
* bool disabled = 9 [json_name = "disabled"];
* @return The disabled.
*/
@java.lang.Override
public boolean getDisabled() {
return disabled_;
}
/**
* bool disabled = 9 [json_name = "disabled"];
* @param value The disabled to set.
*/
private void setDisabled(boolean value) {
disabled_ = value;
}
/**
* bool disabled = 9 [json_name = "disabled"];
*/
private void clearDisabled() {
disabled_ = false;
}
public static final int THRESHOLD_FIELD_NUMBER = 10;
private int threshold_;
/**
* int32 threshold = 10 [json_name = "threshold"];
* @return The threshold.
*/
@java.lang.Override
public int getThreshold() {
return threshold_;
}
/**
* int32 threshold = 10 [json_name = "threshold"];
* @param value The threshold to set.
*/
private void setThreshold(int value) {
threshold_ = value;
}
/**
* int32 threshold = 10 [json_name = "threshold"];
*/
private void clearThreshold() {
threshold_ = 0;
}
public static final int DISABLED_ENTITY_FIELD_NUMBER = 11;
private boolean disabledEntity_;
/**
* bool disabled_entity = 11 [json_name = "disabledEntity"];
* @return The disabledEntity.
*/
@java.lang.Override
public boolean getDisabledEntity() {
return disabledEntity_;
}
/**
* bool disabled_entity = 11 [json_name = "disabledEntity"];
* @param value The disabledEntity to set.
*/
private void setDisabledEntity(boolean value) {
disabledEntity_ = value;
}
/**
* bool disabled_entity = 11 [json_name = "disabledEntity"];
*/
private void clearDisabledEntity() {
disabledEntity_ = false;
}
public static final int USE_ENTITY_LIMITS_FIELD_NUMBER = 12;
private boolean useEntityLimits_;
/**
*
* global limits
*
*
* bool use_entity_limits = 12 [json_name = "useEntityLimits"];
* @return The useEntityLimits.
*/
@java.lang.Override
public boolean getUseEntityLimits() {
return useEntityLimits_;
}
/**
*
* global limits
*
*
* bool use_entity_limits = 12 [json_name = "useEntityLimits"];
* @param value The useEntityLimits to set.
*/
private void setUseEntityLimits(boolean value) {
useEntityLimits_ = value;
}
/**
*
* global limits
*
*
* bool use_entity_limits = 12 [json_name = "useEntityLimits"];
*/
private void clearUseEntityLimits() {
useEntityLimits_ = false;
}
public static final int USE_CONDITION_THRESHOLD_FIELD_NUMBER = 13;
private int useConditionThreshold_;
/**
*
* threshold flag
*
*
* .streamlayer.triggers.UseConditionThreshold use_condition_threshold = 13 [json_name = "useConditionThreshold"];
* @return The enum numeric value on the wire for useConditionThreshold.
*/
@java.lang.Override
public int getUseConditionThresholdValue() {
return useConditionThreshold_;
}
/**
*
* threshold flag
*
*
* .streamlayer.triggers.UseConditionThreshold use_condition_threshold = 13 [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;
}
/**
*
* threshold flag
*
*
* .streamlayer.triggers.UseConditionThreshold use_condition_threshold = 13 [json_name = "useConditionThreshold"];
* @param value The enum numeric value on the wire for useConditionThreshold to set.
*/
private void setUseConditionThresholdValue(int value) {
useConditionThreshold_ = value;
}
/**
*
* threshold flag
*
*
* .streamlayer.triggers.UseConditionThreshold use_condition_threshold = 13 [json_name = "useConditionThreshold"];
* @param value The useConditionThreshold to set.
*/
private void setUseConditionThreshold(com.streamlayer.triggers.UseConditionThreshold value) {
useConditionThreshold_ = value.getNumber();
}
/**
*
* threshold flag
*
*
* .streamlayer.triggers.UseConditionThreshold use_condition_threshold = 13 [json_name = "useConditionThreshold"];
*/
private void clearUseConditionThreshold() {
useConditionThreshold_ = 0;
}
public static final int USE_LIMITS_FIELD_NUMBER = 14;
private int useLimits_;
/**
* .streamlayer.triggers.UseTriggerLimits use_limits = 14 [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 = 14 [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 = 14 [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 = 14 [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 = 14 [json_name = "useLimits"];
*/
private void clearUseLimits() {
useLimits_ = 0;
}
public static com.streamlayer.triggers.Trigger parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.triggers.Trigger 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.Trigger 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.Trigger 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.Trigger parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.triggers.Trigger 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.Trigger parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.triggers.Trigger 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.Trigger parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.triggers.Trigger 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.Trigger parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.triggers.Trigger 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.Trigger prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.triggers.Trigger}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.triggers.Trigger, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.triggers.Trigger)
com.streamlayer.triggers.TriggerOrBuilder {
// Construct using com.streamlayer.triggers.Trigger.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
*
* uuid generated for each trigger
*
*
* string id = 1 [json_name = "id"];
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return instance.getId();
}
/**
*
* uuid generated for each trigger
*
*
* 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 trigger
*
*
* 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 trigger
*
*
* string id = 1 [json_name = "id"];
* @return This builder for chaining.
*/
public Builder clearId() {
copyOnWrite();
instance.clearId();
return this;
}
/**
*
* uuid generated for each trigger
*
*
* 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;
}
/**
*
* human-readable name just for description purposes
*
*
* string name = 2 [json_name = "name"];
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return instance.getName();
}
/**
*
* human-readable name just for description purposes
*
*
* string name = 2 [json_name = "name"];
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return instance.getNameBytes();
}
/**
*
* human-readable name just for description purposes
*
*
* string name = 2 [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;
}
/**
*
* human-readable name just for description purposes
*
*
* string name = 2 [json_name = "name"];
* @return This builder for chaining.
*/
public Builder clearName() {
copyOnWrite();
instance.clearName();
return this;
}
/**
*
* human-readable name just for description purposes
*
*
* string name = 2 [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;
}
/**
*
* human-readable name just for description purposes
*
*
* string description = 3 [json_name = "description"];
* @return The description.
*/
@java.lang.Override
public java.lang.String getDescription() {
return instance.getDescription();
}
/**
*
* human-readable name just for description purposes
*
*
* string description = 3 [json_name = "description"];
* @return The bytes for description.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDescriptionBytes() {
return instance.getDescriptionBytes();
}
/**
*
* human-readable name just for description purposes
*
*
* string description = 3 [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;
}
/**
*
* human-readable name just for description purposes
*
*
* string description = 3 [json_name = "description"];
* @return This builder for chaining.
*/
public Builder clearDescription() {
copyOnWrite();
instance.clearDescription();
return this;
}
/**
*
* human-readable name just for description purposes
*
*
* string description = 3 [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 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;
}
/**
* bool activated = 6 [json_name = "activated"];
* @return The activated.
*/
@java.lang.Override
public boolean getActivated() {
return instance.getActivated();
}
/**
* bool activated = 6 [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;
}
/**
* bool activated = 6 [json_name = "activated"];
* @return This builder for chaining.
*/
public Builder clearActivated() {
copyOnWrite();
instance.clearActivated();
return this;
}
/**
* string entity = 7 [json_name = "entity"];
* @return The entity.
*/
@java.lang.Override
public java.lang.String getEntity() {
return instance.getEntity();
}
/**
* string entity = 7 [json_name = "entity"];
* @return The bytes for entity.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getEntityBytes() {
return instance.getEntityBytes();
}
/**
* string entity = 7 [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 = 7 [json_name = "entity"];
* @return This builder for chaining.
*/
public Builder clearEntity() {
copyOnWrite();
instance.clearEntity();
return this;
}
/**
* string entity = 7 [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 = 8 [json_name = "entityId"];
* @return The entityId.
*/
@java.lang.Override
public java.lang.String getEntityId() {
return instance.getEntityId();
}
/**
* string entity_id = 8 [json_name = "entityId"];
* @return The bytes for entityId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getEntityIdBytes() {
return instance.getEntityIdBytes();
}
/**
* string entity_id = 8 [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 = 8 [json_name = "entityId"];
* @return This builder for chaining.
*/
public Builder clearEntityId() {
copyOnWrite();
instance.clearEntityId();
return this;
}
/**
* string entity_id = 8 [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;
}
/**
* bool disabled = 9 [json_name = "disabled"];
* @return The disabled.
*/
@java.lang.Override
public boolean getDisabled() {
return instance.getDisabled();
}
/**
* bool disabled = 9 [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;
}
/**
* bool disabled = 9 [json_name = "disabled"];
* @return This builder for chaining.
*/
public Builder clearDisabled() {
copyOnWrite();
instance.clearDisabled();
return this;
}
/**
* int32 threshold = 10 [json_name = "threshold"];
* @return The threshold.
*/
@java.lang.Override
public int getThreshold() {
return instance.getThreshold();
}
/**
* int32 threshold = 10 [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 = 10 [json_name = "threshold"];
* @return This builder for chaining.
*/
public Builder clearThreshold() {
copyOnWrite();
instance.clearThreshold();
return this;
}
/**
* bool disabled_entity = 11 [json_name = "disabledEntity"];
* @return The disabledEntity.
*/
@java.lang.Override
public boolean getDisabledEntity() {
return instance.getDisabledEntity();
}
/**
* bool disabled_entity = 11 [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;
}
/**
* bool disabled_entity = 11 [json_name = "disabledEntity"];
* @return This builder for chaining.
*/
public Builder clearDisabledEntity() {
copyOnWrite();
instance.clearDisabledEntity();
return this;
}
/**
*
* global limits
*
*
* bool use_entity_limits = 12 [json_name = "useEntityLimits"];
* @return The useEntityLimits.
*/
@java.lang.Override
public boolean getUseEntityLimits() {
return instance.getUseEntityLimits();
}
/**
*
* global limits
*
*
* bool use_entity_limits = 12 [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;
}
/**
*
* global limits
*
*
* bool use_entity_limits = 12 [json_name = "useEntityLimits"];
* @return This builder for chaining.
*/
public Builder clearUseEntityLimits() {
copyOnWrite();
instance.clearUseEntityLimits();
return this;
}
/**
*
* threshold flag
*
*
* .streamlayer.triggers.UseConditionThreshold use_condition_threshold = 13 [json_name = "useConditionThreshold"];
* @return The enum numeric value on the wire for useConditionThreshold.
*/
@java.lang.Override
public int getUseConditionThresholdValue() {
return instance.getUseConditionThresholdValue();
}
/**
*
* threshold flag
*
*
* .streamlayer.triggers.UseConditionThreshold use_condition_threshold = 13 [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;
}
/**
*
* threshold flag
*
*
* .streamlayer.triggers.UseConditionThreshold use_condition_threshold = 13 [json_name = "useConditionThreshold"];
* @return The useConditionThreshold.
*/
@java.lang.Override
public com.streamlayer.triggers.UseConditionThreshold getUseConditionThreshold() {
return instance.getUseConditionThreshold();
}
/**
*
* threshold flag
*
*
* .streamlayer.triggers.UseConditionThreshold use_condition_threshold = 13 [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;
}
/**
*
* threshold flag
*
*
* .streamlayer.triggers.UseConditionThreshold use_condition_threshold = 13 [json_name = "useConditionThreshold"];
* @return This builder for chaining.
*/
public Builder clearUseConditionThreshold() {
copyOnWrite();
instance.clearUseConditionThreshold();
return this;
}
/**
* .streamlayer.triggers.UseTriggerLimits use_limits = 14 [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 = 14 [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 = 14 [json_name = "useLimits"];
* @return The useLimits.
*/
@java.lang.Override
public com.streamlayer.triggers.UseTriggerLimits getUseLimits() {
return instance.getUseLimits();
}
/**
* .streamlayer.triggers.UseTriggerLimits use_limits = 14 [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 = 14 [json_name = "useLimits"];
* @return This builder for chaining.
*/
public Builder clearUseLimits() {
copyOnWrite();
instance.clearUseLimits();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.triggers.Trigger)
}
@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.Trigger();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"id_",
"name_",
"description_",
"scope_",
"scopeId_",
"activated_",
"entity_",
"entityId_",
"disabled_",
"threshold_",
"disabledEntity_",
"useEntityLimits_",
"useConditionThreshold_",
"useLimits_",
};
java.lang.String info =
"\u0000\u000e\u0000\u0000\u0001\u000e\u000e\u0000\u0000\u0000\u0001\u0208\u0002\u0208" +
"\u0003\u0208\u0004\u0208\u0005\u0208\u0006\u0007\u0007\u0208\b\u0208\t\u0007\n\u0004" +
"\u000b\u0007\f\u0007\r\f\u000e\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.Trigger.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.Trigger)
private static final com.streamlayer.triggers.Trigger DEFAULT_INSTANCE;
static {
Trigger defaultInstance = new Trigger();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Trigger.class, defaultInstance);
}
public static com.streamlayer.triggers.Trigger getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}