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

main.java.com.streamlayer.triggers.CreateTriggersRequest 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.CreateTriggersRequest}
 */
public  final class CreateTriggersRequest extends
    com.google.protobuf.GeneratedMessageLite<
        CreateTriggersRequest, CreateTriggersRequest.Builder> implements
    // @@protoc_insertion_point(message_implements:streamlayer.triggers.CreateTriggersRequest)
    CreateTriggersRequestOrBuilder {
  private CreateTriggersRequest() {
    organizationId_ = "";
    eventId_ = "";
  }
  public interface UniqTriggerDataOrBuilder extends
      // @@protoc_insertion_point(interface_extends:streamlayer.triggers.CreateTriggersRequest.UniqTriggerData)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * string name = 1 [json_name = "name"];
     * @return The name.
     */
    java.lang.String getName();
    /**
     * string name = 1 [json_name = "name"];
     * @return The bytes for name.
     */
    com.google.protobuf.ByteString
        getNameBytes();

    /**
     * string description = 2 [json_name = "description"];
     * @return The description.
     */
    java.lang.String getDescription();
    /**
     * string description = 2 [json_name = "description"];
     * @return The bytes for description.
     */
    com.google.protobuf.ByteString
        getDescriptionBytes();

    /**
     * 
     * should be set to true if trigger is created as disabled
     * 
* * bool disabled = 3 [json_name = "disabled"]; * @return The disabled. */ boolean getDisabled(); /** * int32 threshold = 4 [json_name = "threshold"]; * @return The threshold. */ int getThreshold(); /** *
     * should be set to true if trigger is created in disabled entity
     * 
* * bool disabled_entity = 5 [json_name = "disabledEntity"]; * @return The disabledEntity. */ boolean getDisabledEntity(); /** * bool use_entity_limits = 6 [json_name = "useEntityLimits"]; * @return The useEntityLimits. */ boolean getUseEntityLimits(); /** * .streamlayer.triggers.UseConditionThreshold use_condition_threshold = 7 [json_name = "useConditionThreshold"]; * @return The enum numeric value on the wire for useConditionThreshold. */ int getUseConditionThresholdValue(); /** * .streamlayer.triggers.UseConditionThreshold use_condition_threshold = 7 [json_name = "useConditionThreshold"]; * @return The useConditionThreshold. */ com.streamlayer.triggers.UseConditionThreshold getUseConditionThreshold(); /** * .streamlayer.triggers.UseTriggerLimits use_limits = 8 [json_name = "useLimits"]; * @return The enum numeric value on the wire for useLimits. */ int getUseLimitsValue(); /** * .streamlayer.triggers.UseTriggerLimits use_limits = 8 [json_name = "useLimits"]; * @return The useLimits. */ com.streamlayer.triggers.UseTriggerLimits getUseLimits(); } /** * Protobuf type {@code streamlayer.triggers.CreateTriggersRequest.UniqTriggerData} */ public static final class UniqTriggerData extends com.google.protobuf.GeneratedMessageLite< UniqTriggerData, UniqTriggerData.Builder> implements // @@protoc_insertion_point(message_implements:streamlayer.triggers.CreateTriggersRequest.UniqTriggerData) UniqTriggerDataOrBuilder { private UniqTriggerData() { name_ = ""; description_ = ""; } 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 DISABLED_FIELD_NUMBER = 3; private boolean disabled_; /** *
     * should be set to true if trigger is created as disabled
     * 
* * bool disabled = 3 [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 = 3 [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 = 3 [json_name = "disabled"]; */ private void clearDisabled() { disabled_ = false; } public static final int THRESHOLD_FIELD_NUMBER = 4; private int threshold_; /** * int32 threshold = 4 [json_name = "threshold"]; * @return The threshold. */ @java.lang.Override public int getThreshold() { return threshold_; } /** * int32 threshold = 4 [json_name = "threshold"]; * @param value The threshold to set. */ private void setThreshold(int value) { threshold_ = value; } /** * int32 threshold = 4 [json_name = "threshold"]; */ private void clearThreshold() { threshold_ = 0; } public static final int DISABLED_ENTITY_FIELD_NUMBER = 5; private boolean disabledEntity_; /** *
     * should be set to true if trigger is created in disabled entity
     * 
* * bool disabled_entity = 5 [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 = 5 [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 = 5 [json_name = "disabledEntity"]; */ private void clearDisabledEntity() { disabledEntity_ = false; } public static final int USE_ENTITY_LIMITS_FIELD_NUMBER = 6; private boolean useEntityLimits_; /** * bool use_entity_limits = 6 [json_name = "useEntityLimits"]; * @return The useEntityLimits. */ @java.lang.Override public boolean getUseEntityLimits() { return useEntityLimits_; } /** * bool use_entity_limits = 6 [json_name = "useEntityLimits"]; * @param value The useEntityLimits to set. */ private void setUseEntityLimits(boolean value) { useEntityLimits_ = value; } /** * bool use_entity_limits = 6 [json_name = "useEntityLimits"]; */ private void clearUseEntityLimits() { useEntityLimits_ = false; } public static final int USE_CONDITION_THRESHOLD_FIELD_NUMBER = 7; private int useConditionThreshold_; /** * .streamlayer.triggers.UseConditionThreshold use_condition_threshold = 7 [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 = 7 [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 = 7 [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 = 7 [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 = 7 [json_name = "useConditionThreshold"]; */ private void clearUseConditionThreshold() { useConditionThreshold_ = 0; } public static final int USE_LIMITS_FIELD_NUMBER = 8; private int useLimits_; /** * .streamlayer.triggers.UseTriggerLimits use_limits = 8 [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 = 8 [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 = 8 [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 = 8 [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 = 8 [json_name = "useLimits"]; */ private void clearUseLimits() { useLimits_ = 0; } public static com.streamlayer.triggers.CreateTriggersRequest.UniqTriggerData parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.triggers.CreateTriggersRequest.UniqTriggerData 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.CreateTriggersRequest.UniqTriggerData 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.CreateTriggersRequest.UniqTriggerData 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.CreateTriggersRequest.UniqTriggerData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.triggers.CreateTriggersRequest.UniqTriggerData 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.CreateTriggersRequest.UniqTriggerData parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.triggers.CreateTriggersRequest.UniqTriggerData 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.CreateTriggersRequest.UniqTriggerData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.streamlayer.triggers.CreateTriggersRequest.UniqTriggerData 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.CreateTriggersRequest.UniqTriggerData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.triggers.CreateTriggersRequest.UniqTriggerData 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.CreateTriggersRequest.UniqTriggerData prototype) { return DEFAULT_INSTANCE.createBuilder(prototype); } /** * Protobuf type {@code streamlayer.triggers.CreateTriggersRequest.UniqTriggerData} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.streamlayer.triggers.CreateTriggersRequest.UniqTriggerData, Builder> implements // @@protoc_insertion_point(builder_implements:streamlayer.triggers.CreateTriggersRequest.UniqTriggerData) com.streamlayer.triggers.CreateTriggersRequest.UniqTriggerDataOrBuilder { // Construct using com.streamlayer.triggers.CreateTriggersRequest.UniqTriggerData.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; } /** *
       * should be set to true if trigger is created as disabled
       * 
* * bool disabled = 3 [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 = 3 [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 = 3 [json_name = "disabled"]; * @return This builder for chaining. */ public Builder clearDisabled() { copyOnWrite(); instance.clearDisabled(); return this; } /** * int32 threshold = 4 [json_name = "threshold"]; * @return The threshold. */ @java.lang.Override public int getThreshold() { return instance.getThreshold(); } /** * int32 threshold = 4 [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 = 4 [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 = 5 [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 = 5 [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 = 5 [json_name = "disabledEntity"]; * @return This builder for chaining. */ public Builder clearDisabledEntity() { copyOnWrite(); instance.clearDisabledEntity(); return this; } /** * bool use_entity_limits = 6 [json_name = "useEntityLimits"]; * @return The useEntityLimits. */ @java.lang.Override public boolean getUseEntityLimits() { return instance.getUseEntityLimits(); } /** * bool use_entity_limits = 6 [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 = 6 [json_name = "useEntityLimits"]; * @return This builder for chaining. */ public Builder clearUseEntityLimits() { copyOnWrite(); instance.clearUseEntityLimits(); return this; } /** * .streamlayer.triggers.UseConditionThreshold use_condition_threshold = 7 [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 = 7 [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 = 7 [json_name = "useConditionThreshold"]; * @return The useConditionThreshold. */ @java.lang.Override public com.streamlayer.triggers.UseConditionThreshold getUseConditionThreshold() { return instance.getUseConditionThreshold(); } /** * .streamlayer.triggers.UseConditionThreshold use_condition_threshold = 7 [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 = 7 [json_name = "useConditionThreshold"]; * @return This builder for chaining. */ public Builder clearUseConditionThreshold() { copyOnWrite(); instance.clearUseConditionThreshold(); return this; } /** * .streamlayer.triggers.UseTriggerLimits use_limits = 8 [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 = 8 [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 = 8 [json_name = "useLimits"]; * @return The useLimits. */ @java.lang.Override public com.streamlayer.triggers.UseTriggerLimits getUseLimits() { return instance.getUseLimits(); } /** * .streamlayer.triggers.UseTriggerLimits use_limits = 8 [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 = 8 [json_name = "useLimits"]; * @return This builder for chaining. */ public Builder clearUseLimits() { copyOnWrite(); instance.clearUseLimits(); return this; } // @@protoc_insertion_point(builder_scope:streamlayer.triggers.CreateTriggersRequest.UniqTriggerData) } @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.CreateTriggersRequest.UniqTriggerData(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "name_", "description_", "disabled_", "threshold_", "disabledEntity_", "useEntityLimits_", "useConditionThreshold_", "useLimits_", }; java.lang.String info = "\u0000\b\u0000\u0000\u0001\b\b\u0000\u0000\u0000\u0001\u0208\u0002\u0208\u0003\u0007" + "\u0004\u0004\u0005\u0007\u0006\u0007\u0007\f\b\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.CreateTriggersRequest.UniqTriggerData.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.CreateTriggersRequest.UniqTriggerData) private static final com.streamlayer.triggers.CreateTriggersRequest.UniqTriggerData DEFAULT_INSTANCE; static { UniqTriggerData defaultInstance = new UniqTriggerData(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( UniqTriggerData.class, defaultInstance); } public static com.streamlayer.triggers.CreateTriggersRequest.UniqTriggerData getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } } public interface TriggerOrBuilder extends // @@protoc_insertion_point(interface_extends:streamlayer.triggers.CreateTriggersRequest.Trigger) com.google.protobuf.MessageLiteOrBuilder { /** * .streamlayer.triggers.CreateTriggersRequest.UniqTriggerData trigger = 1 [json_name = "trigger"]; * @return Whether the trigger field is set. */ boolean hasTrigger(); /** * .streamlayer.triggers.CreateTriggersRequest.UniqTriggerData trigger = 1 [json_name = "trigger"]; * @return The trigger. */ com.streamlayer.triggers.CreateTriggersRequest.UniqTriggerData getTrigger(); /** * repeated .streamlayer.triggers.EssentialConditionData conditions = 2 [json_name = "conditions"]; */ java.util.List getConditionsList(); /** * repeated .streamlayer.triggers.EssentialConditionData conditions = 2 [json_name = "conditions"]; */ com.streamlayer.triggers.EssentialConditionData getConditions(int index); /** * repeated .streamlayer.triggers.EssentialConditionData conditions = 2 [json_name = "conditions"]; */ int getConditionsCount(); /** * map<string, int32> limits = 3 [json_name = "limits"]; */ int getLimitsCount(); /** * map<string, int32> limits = 3 [json_name = "limits"]; */ boolean containsLimits( java.lang.String key); /** * Use {@link #getLimitsMap()} instead. */ @java.lang.Deprecated java.util.Map getLimits(); /** * map<string, int32> limits = 3 [json_name = "limits"]; */ java.util.Map getLimitsMap(); /** * map<string, int32> limits = 3 [json_name = "limits"]; */ int getLimitsOrDefault( java.lang.String key, int defaultValue); /** * map<string, int32> limits = 3 [json_name = "limits"]; */ int getLimitsOrThrow( java.lang.String key); } /** * Protobuf type {@code streamlayer.triggers.CreateTriggersRequest.Trigger} */ public static final class Trigger extends com.google.protobuf.GeneratedMessageLite< Trigger, Trigger.Builder> implements // @@protoc_insertion_point(message_implements:streamlayer.triggers.CreateTriggersRequest.Trigger) TriggerOrBuilder { private Trigger() { conditions_ = emptyProtobufList(); } private int bitField0_; public static final int TRIGGER_FIELD_NUMBER = 1; private com.streamlayer.triggers.CreateTriggersRequest.UniqTriggerData trigger_; /** * .streamlayer.triggers.CreateTriggersRequest.UniqTriggerData trigger = 1 [json_name = "trigger"]; */ @java.lang.Override public boolean hasTrigger() { return ((bitField0_ & 0x00000001) != 0); } /** * .streamlayer.triggers.CreateTriggersRequest.UniqTriggerData trigger = 1 [json_name = "trigger"]; */ @java.lang.Override public com.streamlayer.triggers.CreateTriggersRequest.UniqTriggerData getTrigger() { return trigger_ == null ? com.streamlayer.triggers.CreateTriggersRequest.UniqTriggerData.getDefaultInstance() : trigger_; } /** * .streamlayer.triggers.CreateTriggersRequest.UniqTriggerData trigger = 1 [json_name = "trigger"]; */ private void setTrigger(com.streamlayer.triggers.CreateTriggersRequest.UniqTriggerData value) { value.getClass(); trigger_ = value; bitField0_ |= 0x00000001; } /** * .streamlayer.triggers.CreateTriggersRequest.UniqTriggerData trigger = 1 [json_name = "trigger"]; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeTrigger(com.streamlayer.triggers.CreateTriggersRequest.UniqTriggerData value) { value.getClass(); if (trigger_ != null && trigger_ != com.streamlayer.triggers.CreateTriggersRequest.UniqTriggerData.getDefaultInstance()) { trigger_ = com.streamlayer.triggers.CreateTriggersRequest.UniqTriggerData.newBuilder(trigger_).mergeFrom(value).buildPartial(); } else { trigger_ = value; } bitField0_ |= 0x00000001; } /** * .streamlayer.triggers.CreateTriggersRequest.UniqTriggerData trigger = 1 [json_name = "trigger"]; */ private void clearTrigger() { trigger_ = null; bitField0_ = (bitField0_ & ~0x00000001); } public static final int CONDITIONS_FIELD_NUMBER = 2; private com.google.protobuf.Internal.ProtobufList conditions_; /** * repeated .streamlayer.triggers.EssentialConditionData conditions = 2 [json_name = "conditions"]; */ @java.lang.Override public java.util.List getConditionsList() { return conditions_; } /** * repeated .streamlayer.triggers.EssentialConditionData conditions = 2 [json_name = "conditions"]; */ public java.util.List getConditionsOrBuilderList() { return conditions_; } /** * repeated .streamlayer.triggers.EssentialConditionData conditions = 2 [json_name = "conditions"]; */ @java.lang.Override public int getConditionsCount() { return conditions_.size(); } /** * repeated .streamlayer.triggers.EssentialConditionData conditions = 2 [json_name = "conditions"]; */ @java.lang.Override public com.streamlayer.triggers.EssentialConditionData getConditions(int index) { return conditions_.get(index); } /** * repeated .streamlayer.triggers.EssentialConditionData conditions = 2 [json_name = "conditions"]; */ public com.streamlayer.triggers.EssentialConditionDataOrBuilder getConditionsOrBuilder( int index) { return conditions_.get(index); } private void ensureConditionsIsMutable() { com.google.protobuf.Internal.ProtobufList tmp = conditions_; if (!tmp.isModifiable()) { conditions_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); } } /** * repeated .streamlayer.triggers.EssentialConditionData conditions = 2 [json_name = "conditions"]; */ private void setConditions( int index, com.streamlayer.triggers.EssentialConditionData value) { value.getClass(); ensureConditionsIsMutable(); conditions_.set(index, value); } /** * repeated .streamlayer.triggers.EssentialConditionData conditions = 2 [json_name = "conditions"]; */ private void addConditions(com.streamlayer.triggers.EssentialConditionData value) { value.getClass(); ensureConditionsIsMutable(); conditions_.add(value); } /** * repeated .streamlayer.triggers.EssentialConditionData conditions = 2 [json_name = "conditions"]; */ private void addConditions( int index, com.streamlayer.triggers.EssentialConditionData value) { value.getClass(); ensureConditionsIsMutable(); conditions_.add(index, value); } /** * repeated .streamlayer.triggers.EssentialConditionData conditions = 2 [json_name = "conditions"]; */ private void addAllConditions( java.lang.Iterable values) { ensureConditionsIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, conditions_); } /** * repeated .streamlayer.triggers.EssentialConditionData conditions = 2 [json_name = "conditions"]; */ private void clearConditions() { conditions_ = emptyProtobufList(); } /** * repeated .streamlayer.triggers.EssentialConditionData conditions = 2 [json_name = "conditions"]; */ private void removeConditions(int index) { ensureConditionsIsMutable(); conditions_.remove(index); } public static final int LIMITS_FIELD_NUMBER = 3; private static final class LimitsDefaultEntryHolder { static final com.google.protobuf.MapEntryLite< java.lang.String, java.lang.Integer> defaultEntry = com.google.protobuf.MapEntryLite .newDefaultInstance( com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.INT32, 0); } private com.google.protobuf.MapFieldLite< java.lang.String, java.lang.Integer> limits_ = com.google.protobuf.MapFieldLite.emptyMapField(); private com.google.protobuf.MapFieldLite internalGetLimits() { return limits_; } private com.google.protobuf.MapFieldLite internalGetMutableLimits() { if (!limits_.isMutable()) { limits_ = limits_.mutableCopy(); } return limits_; } @java.lang.Override public int getLimitsCount() { return internalGetLimits().size(); } /** * map<string, int32> limits = 3 [json_name = "limits"]; */ @java.lang.Override public boolean containsLimits( java.lang.String key) { java.lang.Class keyClass = key.getClass(); return internalGetLimits().containsKey(key); } /** * Use {@link #getLimitsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLimits() { return getLimitsMap(); } /** * map<string, int32> limits = 3 [json_name = "limits"]; */ @java.lang.Override public java.util.Map getLimitsMap() { return java.util.Collections.unmodifiableMap( internalGetLimits()); } /** * map<string, int32> limits = 3 [json_name = "limits"]; */ @java.lang.Override public int getLimitsOrDefault( java.lang.String key, int defaultValue) { java.lang.Class keyClass = key.getClass(); java.util.Map map = internalGetLimits(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, int32> limits = 3 [json_name = "limits"]; */ @java.lang.Override public int getLimitsOrThrow( java.lang.String key) { java.lang.Class keyClass = key.getClass(); java.util.Map map = internalGetLimits(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } /** * map<string, int32> limits = 3 [json_name = "limits"]; */ private java.util.Map getMutableLimitsMap() { return internalGetMutableLimits(); } public static com.streamlayer.triggers.CreateTriggersRequest.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.CreateTriggersRequest.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.CreateTriggersRequest.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.CreateTriggersRequest.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.CreateTriggersRequest.Trigger parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.triggers.CreateTriggersRequest.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.CreateTriggersRequest.Trigger parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.triggers.CreateTriggersRequest.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.CreateTriggersRequest.Trigger parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.streamlayer.triggers.CreateTriggersRequest.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.CreateTriggersRequest.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.CreateTriggersRequest.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.CreateTriggersRequest.Trigger prototype) { return DEFAULT_INSTANCE.createBuilder(prototype); } /** * Protobuf type {@code streamlayer.triggers.CreateTriggersRequest.Trigger} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.streamlayer.triggers.CreateTriggersRequest.Trigger, Builder> implements // @@protoc_insertion_point(builder_implements:streamlayer.triggers.CreateTriggersRequest.Trigger) com.streamlayer.triggers.CreateTriggersRequest.TriggerOrBuilder { // Construct using com.streamlayer.triggers.CreateTriggersRequest.Trigger.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * .streamlayer.triggers.CreateTriggersRequest.UniqTriggerData trigger = 1 [json_name = "trigger"]; */ @java.lang.Override public boolean hasTrigger() { return instance.hasTrigger(); } /** * .streamlayer.triggers.CreateTriggersRequest.UniqTriggerData trigger = 1 [json_name = "trigger"]; */ @java.lang.Override public com.streamlayer.triggers.CreateTriggersRequest.UniqTriggerData getTrigger() { return instance.getTrigger(); } /** * .streamlayer.triggers.CreateTriggersRequest.UniqTriggerData trigger = 1 [json_name = "trigger"]; */ public Builder setTrigger(com.streamlayer.triggers.CreateTriggersRequest.UniqTriggerData value) { copyOnWrite(); instance.setTrigger(value); return this; } /** * .streamlayer.triggers.CreateTriggersRequest.UniqTriggerData trigger = 1 [json_name = "trigger"]; */ public Builder setTrigger( com.streamlayer.triggers.CreateTriggersRequest.UniqTriggerData.Builder builderForValue) { copyOnWrite(); instance.setTrigger(builderForValue.build()); return this; } /** * .streamlayer.triggers.CreateTriggersRequest.UniqTriggerData trigger = 1 [json_name = "trigger"]; */ public Builder mergeTrigger(com.streamlayer.triggers.CreateTriggersRequest.UniqTriggerData value) { copyOnWrite(); instance.mergeTrigger(value); return this; } /** * .streamlayer.triggers.CreateTriggersRequest.UniqTriggerData trigger = 1 [json_name = "trigger"]; */ public Builder clearTrigger() { copyOnWrite(); instance.clearTrigger(); return this; } /** * repeated .streamlayer.triggers.EssentialConditionData conditions = 2 [json_name = "conditions"]; */ @java.lang.Override public java.util.List getConditionsList() { return java.util.Collections.unmodifiableList( instance.getConditionsList()); } /** * repeated .streamlayer.triggers.EssentialConditionData conditions = 2 [json_name = "conditions"]; */ @java.lang.Override public int getConditionsCount() { return instance.getConditionsCount(); }/** * repeated .streamlayer.triggers.EssentialConditionData conditions = 2 [json_name = "conditions"]; */ @java.lang.Override public com.streamlayer.triggers.EssentialConditionData getConditions(int index) { return instance.getConditions(index); } /** * repeated .streamlayer.triggers.EssentialConditionData conditions = 2 [json_name = "conditions"]; */ public Builder setConditions( int index, com.streamlayer.triggers.EssentialConditionData value) { copyOnWrite(); instance.setConditions(index, value); return this; } /** * repeated .streamlayer.triggers.EssentialConditionData conditions = 2 [json_name = "conditions"]; */ public Builder setConditions( int index, com.streamlayer.triggers.EssentialConditionData.Builder builderForValue) { copyOnWrite(); instance.setConditions(index, builderForValue.build()); return this; } /** * repeated .streamlayer.triggers.EssentialConditionData conditions = 2 [json_name = "conditions"]; */ public Builder addConditions(com.streamlayer.triggers.EssentialConditionData value) { copyOnWrite(); instance.addConditions(value); return this; } /** * repeated .streamlayer.triggers.EssentialConditionData conditions = 2 [json_name = "conditions"]; */ public Builder addConditions( int index, com.streamlayer.triggers.EssentialConditionData value) { copyOnWrite(); instance.addConditions(index, value); return this; } /** * repeated .streamlayer.triggers.EssentialConditionData conditions = 2 [json_name = "conditions"]; */ public Builder addConditions( com.streamlayer.triggers.EssentialConditionData.Builder builderForValue) { copyOnWrite(); instance.addConditions(builderForValue.build()); return this; } /** * repeated .streamlayer.triggers.EssentialConditionData conditions = 2 [json_name = "conditions"]; */ public Builder addConditions( int index, com.streamlayer.triggers.EssentialConditionData.Builder builderForValue) { copyOnWrite(); instance.addConditions(index, builderForValue.build()); return this; } /** * repeated .streamlayer.triggers.EssentialConditionData conditions = 2 [json_name = "conditions"]; */ public Builder addAllConditions( java.lang.Iterable values) { copyOnWrite(); instance.addAllConditions(values); return this; } /** * repeated .streamlayer.triggers.EssentialConditionData conditions = 2 [json_name = "conditions"]; */ public Builder clearConditions() { copyOnWrite(); instance.clearConditions(); return this; } /** * repeated .streamlayer.triggers.EssentialConditionData conditions = 2 [json_name = "conditions"]; */ public Builder removeConditions(int index) { copyOnWrite(); instance.removeConditions(index); return this; } @java.lang.Override public int getLimitsCount() { return instance.getLimitsMap().size(); } /** * map<string, int32> limits = 3 [json_name = "limits"]; */ @java.lang.Override public boolean containsLimits( java.lang.String key) { java.lang.Class keyClass = key.getClass(); return instance.getLimitsMap().containsKey(key); } public Builder clearLimits() { copyOnWrite(); instance.getMutableLimitsMap().clear(); return this; } /** * map<string, int32> limits = 3 [json_name = "limits"]; */ public Builder removeLimits( java.lang.String key) { java.lang.Class keyClass = key.getClass(); copyOnWrite(); instance.getMutableLimitsMap().remove(key); return this; } /** * Use {@link #getLimitsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLimits() { return getLimitsMap(); } /** * map<string, int32> limits = 3 [json_name = "limits"]; */ @java.lang.Override public java.util.Map getLimitsMap() { return java.util.Collections.unmodifiableMap( instance.getLimitsMap()); } /** * map<string, int32> limits = 3 [json_name = "limits"]; */ @java.lang.Override public int getLimitsOrDefault( java.lang.String key, int defaultValue) { java.lang.Class keyClass = key.getClass(); java.util.Map map = instance.getLimitsMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, int32> limits = 3 [json_name = "limits"]; */ @java.lang.Override public int getLimitsOrThrow( java.lang.String key) { java.lang.Class keyClass = key.getClass(); java.util.Map map = instance.getLimitsMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } /** * map<string, int32> limits = 3 [json_name = "limits"]; */ public Builder putLimits( java.lang.String key, int value) { java.lang.Class keyClass = key.getClass(); copyOnWrite(); instance.getMutableLimitsMap().put(key, value); return this; } /** * map<string, int32> limits = 3 [json_name = "limits"]; */ public Builder putAllLimits( java.util.Map values) { copyOnWrite(); instance.getMutableLimitsMap().putAll(values); return this; } // @@protoc_insertion_point(builder_scope:streamlayer.triggers.CreateTriggersRequest.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.CreateTriggersRequest.Trigger(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "bitField0_", "trigger_", "conditions_", com.streamlayer.triggers.EssentialConditionData.class, "limits_", LimitsDefaultEntryHolder.defaultEntry, }; java.lang.String info = "\u0000\u0003\u0000\u0001\u0001\u0003\u0003\u0001\u0001\u0000\u0001\u1009\u0000\u0002" + "\u001b\u00032"; 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.CreateTriggersRequest.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.CreateTriggersRequest.Trigger) private static final com.streamlayer.triggers.CreateTriggersRequest.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.CreateTriggersRequest.Trigger getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } } public interface CreateTriggersRequestDataOrBuilder extends // @@protoc_insertion_point(interface_extends:streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData) com.google.protobuf.MessageLiteOrBuilder { /** * string datasource = 3 [json_name = "datasource"]; * @return The datasource. */ java.lang.String getDatasource(); /** * string datasource = 3 [json_name = "datasource"]; * @return The bytes for datasource. */ com.google.protobuf.ByteString getDatasourceBytes(); /** * string scope = 4 [json_name = "scope"]; * @return The scope. */ java.lang.String getScope(); /** * string scope = 4 [json_name = "scope"]; * @return The bytes for scope. */ com.google.protobuf.ByteString getScopeBytes(); /** * string scope_id = 5 [json_name = "scopeId"]; * @return The scopeId. */ java.lang.String getScopeId(); /** * string scope_id = 5 [json_name = "scopeId"]; * @return The bytes for scopeId. */ com.google.protobuf.ByteString getScopeIdBytes(); /** * string entity = 6 [json_name = "entity"]; * @return The entity. */ java.lang.String getEntity(); /** * string entity = 6 [json_name = "entity"]; * @return The bytes for entity. */ com.google.protobuf.ByteString getEntityBytes(); /** * string entity_id = 7 [json_name = "entityId"]; * @return The entityId. */ java.lang.String getEntityId(); /** * string entity_id = 7 [json_name = "entityId"]; * @return The bytes for entityId. */ com.google.protobuf.ByteString getEntityIdBytes(); /** * repeated .streamlayer.triggers.CreateTriggersRequest.Trigger triggers = 8 [json_name = "triggers"]; */ java.util.List getTriggersList(); /** * repeated .streamlayer.triggers.CreateTriggersRequest.Trigger triggers = 8 [json_name = "triggers"]; */ com.streamlayer.triggers.CreateTriggersRequest.Trigger getTriggers(int index); /** * repeated .streamlayer.triggers.CreateTriggersRequest.Trigger triggers = 8 [json_name = "triggers"]; */ int getTriggersCount(); } /** * Protobuf type {@code streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData} */ public static final class CreateTriggersRequestData extends com.google.protobuf.GeneratedMessageLite< CreateTriggersRequestData, CreateTriggersRequestData.Builder> implements // @@protoc_insertion_point(message_implements:streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData) CreateTriggersRequestDataOrBuilder { private CreateTriggersRequestData() { datasource_ = ""; scope_ = ""; scopeId_ = ""; entity_ = ""; entityId_ = ""; triggers_ = emptyProtobufList(); } 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 TRIGGERS_FIELD_NUMBER = 8; private com.google.protobuf.Internal.ProtobufList triggers_; /** * repeated .streamlayer.triggers.CreateTriggersRequest.Trigger triggers = 8 [json_name = "triggers"]; */ @java.lang.Override public java.util.List getTriggersList() { return triggers_; } /** * repeated .streamlayer.triggers.CreateTriggersRequest.Trigger triggers = 8 [json_name = "triggers"]; */ public java.util.List getTriggersOrBuilderList() { return triggers_; } /** * repeated .streamlayer.triggers.CreateTriggersRequest.Trigger triggers = 8 [json_name = "triggers"]; */ @java.lang.Override public int getTriggersCount() { return triggers_.size(); } /** * repeated .streamlayer.triggers.CreateTriggersRequest.Trigger triggers = 8 [json_name = "triggers"]; */ @java.lang.Override public com.streamlayer.triggers.CreateTriggersRequest.Trigger getTriggers(int index) { return triggers_.get(index); } /** * repeated .streamlayer.triggers.CreateTriggersRequest.Trigger triggers = 8 [json_name = "triggers"]; */ public com.streamlayer.triggers.CreateTriggersRequest.TriggerOrBuilder getTriggersOrBuilder( int index) { return triggers_.get(index); } private void ensureTriggersIsMutable() { com.google.protobuf.Internal.ProtobufList tmp = triggers_; if (!tmp.isModifiable()) { triggers_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); } } /** * repeated .streamlayer.triggers.CreateTriggersRequest.Trigger triggers = 8 [json_name = "triggers"]; */ private void setTriggers( int index, com.streamlayer.triggers.CreateTriggersRequest.Trigger value) { value.getClass(); ensureTriggersIsMutable(); triggers_.set(index, value); } /** * repeated .streamlayer.triggers.CreateTriggersRequest.Trigger triggers = 8 [json_name = "triggers"]; */ private void addTriggers(com.streamlayer.triggers.CreateTriggersRequest.Trigger value) { value.getClass(); ensureTriggersIsMutable(); triggers_.add(value); } /** * repeated .streamlayer.triggers.CreateTriggersRequest.Trigger triggers = 8 [json_name = "triggers"]; */ private void addTriggers( int index, com.streamlayer.triggers.CreateTriggersRequest.Trigger value) { value.getClass(); ensureTriggersIsMutable(); triggers_.add(index, value); } /** * repeated .streamlayer.triggers.CreateTriggersRequest.Trigger triggers = 8 [json_name = "triggers"]; */ private void addAllTriggers( java.lang.Iterable values) { ensureTriggersIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, triggers_); } /** * repeated .streamlayer.triggers.CreateTriggersRequest.Trigger triggers = 8 [json_name = "triggers"]; */ private void clearTriggers() { triggers_ = emptyProtobufList(); } /** * repeated .streamlayer.triggers.CreateTriggersRequest.Trigger triggers = 8 [json_name = "triggers"]; */ private void removeTriggers(int index) { ensureTriggersIsMutable(); triggers_.remove(index); } public static com.streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData 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.CreateTriggersRequest.CreateTriggersRequestData 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.CreateTriggersRequest.CreateTriggersRequestData 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.CreateTriggersRequest.CreateTriggersRequestData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData 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.CreateTriggersRequest.CreateTriggersRequestData parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData 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.CreateTriggersRequest.CreateTriggersRequestData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData 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.CreateTriggersRequest.CreateTriggersRequestData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData 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.CreateTriggersRequest.CreateTriggersRequestData prototype) { return DEFAULT_INSTANCE.createBuilder(prototype); } /** * Protobuf type {@code streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData, Builder> implements // @@protoc_insertion_point(builder_implements:streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData) com.streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestDataOrBuilder { // Construct using com.streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * 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; } /** * repeated .streamlayer.triggers.CreateTriggersRequest.Trigger triggers = 8 [json_name = "triggers"]; */ @java.lang.Override public java.util.List getTriggersList() { return java.util.Collections.unmodifiableList( instance.getTriggersList()); } /** * repeated .streamlayer.triggers.CreateTriggersRequest.Trigger triggers = 8 [json_name = "triggers"]; */ @java.lang.Override public int getTriggersCount() { return instance.getTriggersCount(); }/** * repeated .streamlayer.triggers.CreateTriggersRequest.Trigger triggers = 8 [json_name = "triggers"]; */ @java.lang.Override public com.streamlayer.triggers.CreateTriggersRequest.Trigger getTriggers(int index) { return instance.getTriggers(index); } /** * repeated .streamlayer.triggers.CreateTriggersRequest.Trigger triggers = 8 [json_name = "triggers"]; */ public Builder setTriggers( int index, com.streamlayer.triggers.CreateTriggersRequest.Trigger value) { copyOnWrite(); instance.setTriggers(index, value); return this; } /** * repeated .streamlayer.triggers.CreateTriggersRequest.Trigger triggers = 8 [json_name = "triggers"]; */ public Builder setTriggers( int index, com.streamlayer.triggers.CreateTriggersRequest.Trigger.Builder builderForValue) { copyOnWrite(); instance.setTriggers(index, builderForValue.build()); return this; } /** * repeated .streamlayer.triggers.CreateTriggersRequest.Trigger triggers = 8 [json_name = "triggers"]; */ public Builder addTriggers(com.streamlayer.triggers.CreateTriggersRequest.Trigger value) { copyOnWrite(); instance.addTriggers(value); return this; } /** * repeated .streamlayer.triggers.CreateTriggersRequest.Trigger triggers = 8 [json_name = "triggers"]; */ public Builder addTriggers( int index, com.streamlayer.triggers.CreateTriggersRequest.Trigger value) { copyOnWrite(); instance.addTriggers(index, value); return this; } /** * repeated .streamlayer.triggers.CreateTriggersRequest.Trigger triggers = 8 [json_name = "triggers"]; */ public Builder addTriggers( com.streamlayer.triggers.CreateTriggersRequest.Trigger.Builder builderForValue) { copyOnWrite(); instance.addTriggers(builderForValue.build()); return this; } /** * repeated .streamlayer.triggers.CreateTriggersRequest.Trigger triggers = 8 [json_name = "triggers"]; */ public Builder addTriggers( int index, com.streamlayer.triggers.CreateTriggersRequest.Trigger.Builder builderForValue) { copyOnWrite(); instance.addTriggers(index, builderForValue.build()); return this; } /** * repeated .streamlayer.triggers.CreateTriggersRequest.Trigger triggers = 8 [json_name = "triggers"]; */ public Builder addAllTriggers( java.lang.Iterable values) { copyOnWrite(); instance.addAllTriggers(values); return this; } /** * repeated .streamlayer.triggers.CreateTriggersRequest.Trigger triggers = 8 [json_name = "triggers"]; */ public Builder clearTriggers() { copyOnWrite(); instance.clearTriggers(); return this; } /** * repeated .streamlayer.triggers.CreateTriggersRequest.Trigger triggers = 8 [json_name = "triggers"]; */ public Builder removeTriggers(int index) { copyOnWrite(); instance.removeTriggers(index); return this; } // @@protoc_insertion_point(builder_scope:streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData) } @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.CreateTriggersRequest.CreateTriggersRequestData(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "datasource_", "scope_", "scopeId_", "entity_", "entityId_", "triggers_", com.streamlayer.triggers.CreateTriggersRequest.Trigger.class, }; java.lang.String info = "\u0000\u0006\u0000\u0000\u0003\b\u0006\u0000\u0001\u0000\u0003\u0208\u0004\u0208" + "\u0005\u0208\u0006\u0208\u0007\u0208\b\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.CreateTriggersRequest.CreateTriggersRequestData.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.CreateTriggersRequest.CreateTriggersRequestData) private static final com.streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData DEFAULT_INSTANCE; static { CreateTriggersRequestData defaultInstance = new CreateTriggersRequestData(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( CreateTriggersRequestData.class, defaultInstance); } public static com.streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } } private int bitField0_; public static final int DATA_FIELD_NUMBER = 1; private com.streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData data_; /** * .streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData data = 1 [json_name = "data"]; */ @java.lang.Override public boolean hasData() { return ((bitField0_ & 0x00000001) != 0); } /** * .streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData data = 1 [json_name = "data"]; */ @java.lang.Override public com.streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData getData() { return data_ == null ? com.streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData.getDefaultInstance() : data_; } /** * .streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData data = 1 [json_name = "data"]; */ private void setData(com.streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData value) { value.getClass(); data_ = value; bitField0_ |= 0x00000001; } /** * .streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData data = 1 [json_name = "data"]; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeData(com.streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData value) { value.getClass(); if (data_ != null && data_ != com.streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData.getDefaultInstance()) { data_ = com.streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData.newBuilder(data_).mergeFrom(value).buildPartial(); } else { data_ = value; } bitField0_ |= 0x00000001; } /** * .streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData data = 1 [json_name = "data"]; */ private void clearData() { data_ = null; bitField0_ = (bitField0_ & ~0x00000001); } public static final int ORGANIZATION_ID_FIELD_NUMBER = 2; private java.lang.String organizationId_; /** *
   * required for ModerationSubscriptionResponse
   * 
* * optional string organization_id = 2 [json_name = "organizationId"]; * @return Whether the organizationId field is set. */ @java.lang.Override public boolean hasOrganizationId() { return ((bitField0_ & 0x00000002) != 0); } /** *
   * required for ModerationSubscriptionResponse
   * 
* * optional string organization_id = 2 [json_name = "organizationId"]; * @return The organizationId. */ @java.lang.Override public java.lang.String getOrganizationId() { return organizationId_; } /** *
   * required for ModerationSubscriptionResponse
   * 
* * optional string organization_id = 2 [json_name = "organizationId"]; * @return The bytes for organizationId. */ @java.lang.Override public com.google.protobuf.ByteString getOrganizationIdBytes() { return com.google.protobuf.ByteString.copyFromUtf8(organizationId_); } /** *
   * required for ModerationSubscriptionResponse
   * 
* * optional string organization_id = 2 [json_name = "organizationId"]; * @param value The organizationId to set. */ private void setOrganizationId( java.lang.String value) { java.lang.Class valueClass = value.getClass(); bitField0_ |= 0x00000002; organizationId_ = value; } /** *
   * required for ModerationSubscriptionResponse
   * 
* * optional string organization_id = 2 [json_name = "organizationId"]; */ private void clearOrganizationId() { bitField0_ = (bitField0_ & ~0x00000002); organizationId_ = getDefaultInstance().getOrganizationId(); } /** *
   * required for ModerationSubscriptionResponse
   * 
* * optional string organization_id = 2 [json_name = "organizationId"]; * @param value The bytes for organizationId to set. */ private void setOrganizationIdBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); organizationId_ = value.toStringUtf8(); bitField0_ |= 0x00000002; } public static final int EVENT_ID_FIELD_NUMBER = 3; private java.lang.String eventId_; /** *
   * required for ModerationSubscriptionResponse
   * 
* * optional string event_id = 3 [json_name = "eventId"]; * @return Whether the eventId field is set. */ @java.lang.Override public boolean hasEventId() { return ((bitField0_ & 0x00000004) != 0); } /** *
   * required for ModerationSubscriptionResponse
   * 
* * optional string event_id = 3 [json_name = "eventId"]; * @return The eventId. */ @java.lang.Override public java.lang.String getEventId() { return eventId_; } /** *
   * required for ModerationSubscriptionResponse
   * 
* * optional string event_id = 3 [json_name = "eventId"]; * @return The bytes for eventId. */ @java.lang.Override public com.google.protobuf.ByteString getEventIdBytes() { return com.google.protobuf.ByteString.copyFromUtf8(eventId_); } /** *
   * required for ModerationSubscriptionResponse
   * 
* * optional string event_id = 3 [json_name = "eventId"]; * @param value The eventId to set. */ private void setEventId( java.lang.String value) { java.lang.Class valueClass = value.getClass(); bitField0_ |= 0x00000004; eventId_ = value; } /** *
   * required for ModerationSubscriptionResponse
   * 
* * optional string event_id = 3 [json_name = "eventId"]; */ private void clearEventId() { bitField0_ = (bitField0_ & ~0x00000004); eventId_ = getDefaultInstance().getEventId(); } /** *
   * required for ModerationSubscriptionResponse
   * 
* * optional string event_id = 3 [json_name = "eventId"]; * @param value The bytes for eventId to set. */ private void setEventIdBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); eventId_ = value.toStringUtf8(); bitField0_ |= 0x00000004; } public static com.streamlayer.triggers.CreateTriggersRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.triggers.CreateTriggersRequest 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.CreateTriggersRequest 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.CreateTriggersRequest 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.CreateTriggersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.triggers.CreateTriggersRequest 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.CreateTriggersRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.triggers.CreateTriggersRequest 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.CreateTriggersRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.streamlayer.triggers.CreateTriggersRequest 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.CreateTriggersRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.triggers.CreateTriggersRequest 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.CreateTriggersRequest prototype) { return DEFAULT_INSTANCE.createBuilder(prototype); } /** * Protobuf type {@code streamlayer.triggers.CreateTriggersRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.streamlayer.triggers.CreateTriggersRequest, Builder> implements // @@protoc_insertion_point(builder_implements:streamlayer.triggers.CreateTriggersRequest) com.streamlayer.triggers.CreateTriggersRequestOrBuilder { // Construct using com.streamlayer.triggers.CreateTriggersRequest.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * .streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData data = 1 [json_name = "data"]; */ @java.lang.Override public boolean hasData() { return instance.hasData(); } /** * .streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData data = 1 [json_name = "data"]; */ @java.lang.Override public com.streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData getData() { return instance.getData(); } /** * .streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData data = 1 [json_name = "data"]; */ public Builder setData(com.streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData value) { copyOnWrite(); instance.setData(value); return this; } /** * .streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData data = 1 [json_name = "data"]; */ public Builder setData( com.streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData.Builder builderForValue) { copyOnWrite(); instance.setData(builderForValue.build()); return this; } /** * .streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData data = 1 [json_name = "data"]; */ public Builder mergeData(com.streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData value) { copyOnWrite(); instance.mergeData(value); return this; } /** * .streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData data = 1 [json_name = "data"]; */ public Builder clearData() { copyOnWrite(); instance.clearData(); return this; } /** *
     * required for ModerationSubscriptionResponse
     * 
* * optional string organization_id = 2 [json_name = "organizationId"]; * @return Whether the organizationId field is set. */ @java.lang.Override public boolean hasOrganizationId() { return instance.hasOrganizationId(); } /** *
     * required for ModerationSubscriptionResponse
     * 
* * optional string organization_id = 2 [json_name = "organizationId"]; * @return The organizationId. */ @java.lang.Override public java.lang.String getOrganizationId() { return instance.getOrganizationId(); } /** *
     * required for ModerationSubscriptionResponse
     * 
* * optional string organization_id = 2 [json_name = "organizationId"]; * @return The bytes for organizationId. */ @java.lang.Override public com.google.protobuf.ByteString getOrganizationIdBytes() { return instance.getOrganizationIdBytes(); } /** *
     * required for ModerationSubscriptionResponse
     * 
* * optional string organization_id = 2 [json_name = "organizationId"]; * @param value The organizationId to set. * @return This builder for chaining. */ public Builder setOrganizationId( java.lang.String value) { copyOnWrite(); instance.setOrganizationId(value); return this; } /** *
     * required for ModerationSubscriptionResponse
     * 
* * optional string organization_id = 2 [json_name = "organizationId"]; * @return This builder for chaining. */ public Builder clearOrganizationId() { copyOnWrite(); instance.clearOrganizationId(); return this; } /** *
     * required for ModerationSubscriptionResponse
     * 
* * optional string organization_id = 2 [json_name = "organizationId"]; * @param value The bytes for organizationId to set. * @return This builder for chaining. */ public Builder setOrganizationIdBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setOrganizationIdBytes(value); return this; } /** *
     * required for ModerationSubscriptionResponse
     * 
* * optional string event_id = 3 [json_name = "eventId"]; * @return Whether the eventId field is set. */ @java.lang.Override public boolean hasEventId() { return instance.hasEventId(); } /** *
     * required for ModerationSubscriptionResponse
     * 
* * optional string event_id = 3 [json_name = "eventId"]; * @return The eventId. */ @java.lang.Override public java.lang.String getEventId() { return instance.getEventId(); } /** *
     * required for ModerationSubscriptionResponse
     * 
* * optional string event_id = 3 [json_name = "eventId"]; * @return The bytes for eventId. */ @java.lang.Override public com.google.protobuf.ByteString getEventIdBytes() { return instance.getEventIdBytes(); } /** *
     * required for ModerationSubscriptionResponse
     * 
* * optional string event_id = 3 [json_name = "eventId"]; * @param value The eventId to set. * @return This builder for chaining. */ public Builder setEventId( java.lang.String value) { copyOnWrite(); instance.setEventId(value); return this; } /** *
     * required for ModerationSubscriptionResponse
     * 
* * optional string event_id = 3 [json_name = "eventId"]; * @return This builder for chaining. */ public Builder clearEventId() { copyOnWrite(); instance.clearEventId(); return this; } /** *
     * required for ModerationSubscriptionResponse
     * 
* * optional string event_id = 3 [json_name = "eventId"]; * @param value The bytes for eventId to set. * @return This builder for chaining. */ public Builder setEventIdBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setEventIdBytes(value); return this; } // @@protoc_insertion_point(builder_scope:streamlayer.triggers.CreateTriggersRequest) } @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.CreateTriggersRequest(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "bitField0_", "data_", "organizationId_", "eventId_", }; java.lang.String info = "\u0000\u0003\u0000\u0001\u0001\u0003\u0003\u0000\u0000\u0000\u0001\u1009\u0000\u0002" + "\u1208\u0001\u0003\u1208\u0002"; 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.CreateTriggersRequest.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.CreateTriggersRequest) private static final com.streamlayer.triggers.CreateTriggersRequest DEFAULT_INSTANCE; static { CreateTriggersRequest defaultInstance = new CreateTriggersRequest(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( CreateTriggersRequest.class, defaultInstance); } public static com.streamlayer.triggers.CreateTriggersRequest 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