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

main.java.com.streamlayer.triggers.TriggerSubscription 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.TriggerSubscription}
 */
public  final class TriggerSubscription extends
    com.google.protobuf.GeneratedMessageLite<
        TriggerSubscription, TriggerSubscription.Builder> implements
    // @@protoc_insertion_point(message_implements:streamlayer.triggers.TriggerSubscription)
    TriggerSubscriptionOrBuilder {
  private TriggerSubscription() {
    id_ = "";
    triggerId_ = "";
    route_ = "";
    entity_ = "";
    entityId_ = "";
  }
  public static final int ID_FIELD_NUMBER = 1;
  private java.lang.String id_;
  /**
   * 
   * subscription identifier
   * 
* * string id = 1 [json_name = "id"]; * @return The id. */ @java.lang.Override public java.lang.String getId() { return id_; } /** *
   * subscription identifier
   * 
* * 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_); } /** *
   * subscription identifier
   * 
* * 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; } /** *
   * subscription identifier
   * 
* * string id = 1 [json_name = "id"]; */ private void clearId() { id_ = getDefaultInstance().getId(); } /** *
   * subscription identifier
   * 
* * string id = 1 [json_name = "id"]; * @param value The bytes for id to set. */ private void setIdBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); id_ = value.toStringUtf8(); } public static final int TRIGGER_ID_FIELD_NUMBER = 2; private java.lang.String triggerId_; /** *
   * trigger identifier
   * 
* * string trigger_id = 2 [json_name = "triggerId"]; * @return The triggerId. */ @java.lang.Override public java.lang.String getTriggerId() { return triggerId_; } /** *
   * trigger identifier
   * 
* * string trigger_id = 2 [json_name = "triggerId"]; * @return The bytes for triggerId. */ @java.lang.Override public com.google.protobuf.ByteString getTriggerIdBytes() { return com.google.protobuf.ByteString.copyFromUtf8(triggerId_); } /** *
   * trigger identifier
   * 
* * string trigger_id = 2 [json_name = "triggerId"]; * @param value The triggerId to set. */ private void setTriggerId( java.lang.String value) { java.lang.Class valueClass = value.getClass(); triggerId_ = value; } /** *
   * trigger identifier
   * 
* * string trigger_id = 2 [json_name = "triggerId"]; */ private void clearTriggerId() { triggerId_ = getDefaultInstance().getTriggerId(); } /** *
   * trigger identifier
   * 
* * string trigger_id = 2 [json_name = "triggerId"]; * @param value The bytes for triggerId to set. */ private void setTriggerIdBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); triggerId_ = value.toStringUtf8(); } public static final int ROUTE_FIELD_NUMBER = 3; private java.lang.String route_; /** *
   * amqp route to which a message will be sent upon trigger activation
   * 
* * string route = 3 [json_name = "route"]; * @return The route. */ @java.lang.Override public java.lang.String getRoute() { return route_; } /** *
   * amqp route to which a message will be sent upon trigger activation
   * 
* * string route = 3 [json_name = "route"]; * @return The bytes for route. */ @java.lang.Override public com.google.protobuf.ByteString getRouteBytes() { return com.google.protobuf.ByteString.copyFromUtf8(route_); } /** *
   * amqp route to which a message will be sent upon trigger activation
   * 
* * string route = 3 [json_name = "route"]; * @param value The route to set. */ private void setRoute( java.lang.String value) { java.lang.Class valueClass = value.getClass(); route_ = value; } /** *
   * amqp route to which a message will be sent upon trigger activation
   * 
* * string route = 3 [json_name = "route"]; */ private void clearRoute() { route_ = getDefaultInstance().getRoute(); } /** *
   * amqp route to which a message will be sent upon trigger activation
   * 
* * string route = 3 [json_name = "route"]; * @param value The bytes for route to set. */ private void setRouteBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); route_ = value.toStringUtf8(); } public static final int ENTITY_FIELD_NUMBER = 4; private java.lang.String entity_; /** *
   * entity subscribed
   * 
* * string entity = 4 [json_name = "entity"]; * @return The entity. */ @java.lang.Override public java.lang.String getEntity() { return entity_; } /** *
   * entity subscribed
   * 
* * string entity = 4 [json_name = "entity"]; * @return The bytes for entity. */ @java.lang.Override public com.google.protobuf.ByteString getEntityBytes() { return com.google.protobuf.ByteString.copyFromUtf8(entity_); } /** *
   * entity subscribed
   * 
* * string entity = 4 [json_name = "entity"]; * @param value The entity to set. */ private void setEntity( java.lang.String value) { java.lang.Class valueClass = value.getClass(); entity_ = value; } /** *
   * entity subscribed
   * 
* * string entity = 4 [json_name = "entity"]; */ private void clearEntity() { entity_ = getDefaultInstance().getEntity(); } /** *
   * entity subscribed
   * 
* * string entity = 4 [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 = 5; private java.lang.String entityId_; /** *
   * entity identifier
   * 
* * string entity_id = 5 [json_name = "entityId"]; * @return The entityId. */ @java.lang.Override public java.lang.String getEntityId() { return entityId_; } /** *
   * entity identifier
   * 
* * string entity_id = 5 [json_name = "entityId"]; * @return The bytes for entityId. */ @java.lang.Override public com.google.protobuf.ByteString getEntityIdBytes() { return com.google.protobuf.ByteString.copyFromUtf8(entityId_); } /** *
   * entity identifier
   * 
* * string entity_id = 5 [json_name = "entityId"]; * @param value The entityId to set. */ private void setEntityId( java.lang.String value) { java.lang.Class valueClass = value.getClass(); entityId_ = value; } /** *
   * entity identifier
   * 
* * string entity_id = 5 [json_name = "entityId"]; */ private void clearEntityId() { entityId_ = getDefaultInstance().getEntityId(); } /** *
   * entity identifier
   * 
* * string entity_id = 5 [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 PAYLOAD_FIELD_NUMBER = 6; private static final class PayloadDefaultEntryHolder { static final com.google.protobuf.MapEntryLite< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntryLite .newDefaultInstance( com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } private com.google.protobuf.MapFieldLite< java.lang.String, java.lang.String> payload_ = com.google.protobuf.MapFieldLite.emptyMapField(); private com.google.protobuf.MapFieldLite internalGetPayload() { return payload_; } private com.google.protobuf.MapFieldLite internalGetMutablePayload() { if (!payload_.isMutable()) { payload_ = payload_.mutableCopy(); } return payload_; } @java.lang.Override public int getPayloadCount() { return internalGetPayload().size(); } /** *
   * message payload
   * 
* * map<string, string> payload = 6 [json_name = "payload"]; */ @java.lang.Override public boolean containsPayload( java.lang.String key) { java.lang.Class keyClass = key.getClass(); return internalGetPayload().containsKey(key); } /** * Use {@link #getPayloadMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getPayload() { return getPayloadMap(); } /** *
   * message payload
   * 
* * map<string, string> payload = 6 [json_name = "payload"]; */ @java.lang.Override public java.util.Map getPayloadMap() { return java.util.Collections.unmodifiableMap( internalGetPayload()); } /** *
   * message payload
   * 
* * map<string, string> payload = 6 [json_name = "payload"]; */ @java.lang.Override public /* nullable */ java.lang.String getPayloadOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue) { java.lang.Class keyClass = key.getClass(); java.util.Map map = internalGetPayload(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
   * message payload
   * 
* * map<string, string> payload = 6 [json_name = "payload"]; */ @java.lang.Override public java.lang.String getPayloadOrThrow( java.lang.String key) { java.lang.Class keyClass = key.getClass(); java.util.Map map = internalGetPayload(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } /** *
   * message payload
   * 
* * map<string, string> payload = 6 [json_name = "payload"]; */ private java.util.Map getMutablePayloadMap() { return internalGetMutablePayload(); } public static final int OPTIONS_FIELD_NUMBER = 7; private static final class OptionsDefaultEntryHolder { static final com.google.protobuf.MapEntryLite< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntryLite .newDefaultInstance( com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } private com.google.protobuf.MapFieldLite< java.lang.String, java.lang.String> options_ = com.google.protobuf.MapFieldLite.emptyMapField(); private com.google.protobuf.MapFieldLite internalGetOptions() { return options_; } private com.google.protobuf.MapFieldLite internalGetMutableOptions() { if (!options_.isMutable()) { options_ = options_.mutableCopy(); } return options_; } @java.lang.Override public int getOptionsCount() { return internalGetOptions().size(); } /** *
   * amqp options
   * 
* * map<string, string> options = 7 [json_name = "options"]; */ @java.lang.Override public boolean containsOptions( java.lang.String key) { java.lang.Class keyClass = key.getClass(); return internalGetOptions().containsKey(key); } /** * Use {@link #getOptionsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getOptions() { return getOptionsMap(); } /** *
   * amqp options
   * 
* * map<string, string> options = 7 [json_name = "options"]; */ @java.lang.Override public java.util.Map getOptionsMap() { return java.util.Collections.unmodifiableMap( internalGetOptions()); } /** *
   * amqp options
   * 
* * map<string, string> options = 7 [json_name = "options"]; */ @java.lang.Override public /* nullable */ java.lang.String getOptionsOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue) { java.lang.Class keyClass = key.getClass(); java.util.Map map = internalGetOptions(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
   * amqp options
   * 
* * map<string, string> options = 7 [json_name = "options"]; */ @java.lang.Override public java.lang.String getOptionsOrThrow( java.lang.String key) { java.lang.Class keyClass = key.getClass(); java.util.Map map = internalGetOptions(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } /** *
   * amqp options
   * 
* * map<string, string> options = 7 [json_name = "options"]; */ private java.util.Map getMutableOptionsMap() { return internalGetMutableOptions(); } public static com.streamlayer.triggers.TriggerSubscription parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.triggers.TriggerSubscription 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.TriggerSubscription 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.TriggerSubscription 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.TriggerSubscription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.triggers.TriggerSubscription 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.TriggerSubscription parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.triggers.TriggerSubscription 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.TriggerSubscription parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.streamlayer.triggers.TriggerSubscription 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.TriggerSubscription parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.triggers.TriggerSubscription 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.TriggerSubscription prototype) { return DEFAULT_INSTANCE.createBuilder(prototype); } /** * Protobuf type {@code streamlayer.triggers.TriggerSubscription} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.streamlayer.triggers.TriggerSubscription, Builder> implements // @@protoc_insertion_point(builder_implements:streamlayer.triggers.TriggerSubscription) com.streamlayer.triggers.TriggerSubscriptionOrBuilder { // Construct using com.streamlayer.triggers.TriggerSubscription.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** *
     * subscription identifier
     * 
* * string id = 1 [json_name = "id"]; * @return The id. */ @java.lang.Override public java.lang.String getId() { return instance.getId(); } /** *
     * subscription identifier
     * 
* * string id = 1 [json_name = "id"]; * @return The bytes for id. */ @java.lang.Override public com.google.protobuf.ByteString getIdBytes() { return instance.getIdBytes(); } /** *
     * subscription identifier
     * 
* * 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; } /** *
     * subscription identifier
     * 
* * string id = 1 [json_name = "id"]; * @return This builder for chaining. */ public Builder clearId() { copyOnWrite(); instance.clearId(); return this; } /** *
     * subscription identifier
     * 
* * 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; } /** *
     * trigger identifier
     * 
* * string trigger_id = 2 [json_name = "triggerId"]; * @return The triggerId. */ @java.lang.Override public java.lang.String getTriggerId() { return instance.getTriggerId(); } /** *
     * trigger identifier
     * 
* * string trigger_id = 2 [json_name = "triggerId"]; * @return The bytes for triggerId. */ @java.lang.Override public com.google.protobuf.ByteString getTriggerIdBytes() { return instance.getTriggerIdBytes(); } /** *
     * trigger identifier
     * 
* * string trigger_id = 2 [json_name = "triggerId"]; * @param value The triggerId to set. * @return This builder for chaining. */ public Builder setTriggerId( java.lang.String value) { copyOnWrite(); instance.setTriggerId(value); return this; } /** *
     * trigger identifier
     * 
* * string trigger_id = 2 [json_name = "triggerId"]; * @return This builder for chaining. */ public Builder clearTriggerId() { copyOnWrite(); instance.clearTriggerId(); return this; } /** *
     * trigger identifier
     * 
* * string trigger_id = 2 [json_name = "triggerId"]; * @param value The bytes for triggerId to set. * @return This builder for chaining. */ public Builder setTriggerIdBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setTriggerIdBytes(value); return this; } /** *
     * amqp route to which a message will be sent upon trigger activation
     * 
* * string route = 3 [json_name = "route"]; * @return The route. */ @java.lang.Override public java.lang.String getRoute() { return instance.getRoute(); } /** *
     * amqp route to which a message will be sent upon trigger activation
     * 
* * string route = 3 [json_name = "route"]; * @return The bytes for route. */ @java.lang.Override public com.google.protobuf.ByteString getRouteBytes() { return instance.getRouteBytes(); } /** *
     * amqp route to which a message will be sent upon trigger activation
     * 
* * string route = 3 [json_name = "route"]; * @param value The route to set. * @return This builder for chaining. */ public Builder setRoute( java.lang.String value) { copyOnWrite(); instance.setRoute(value); return this; } /** *
     * amqp route to which a message will be sent upon trigger activation
     * 
* * string route = 3 [json_name = "route"]; * @return This builder for chaining. */ public Builder clearRoute() { copyOnWrite(); instance.clearRoute(); return this; } /** *
     * amqp route to which a message will be sent upon trigger activation
     * 
* * string route = 3 [json_name = "route"]; * @param value The bytes for route to set. * @return This builder for chaining. */ public Builder setRouteBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setRouteBytes(value); return this; } /** *
     * entity subscribed
     * 
* * string entity = 4 [json_name = "entity"]; * @return The entity. */ @java.lang.Override public java.lang.String getEntity() { return instance.getEntity(); } /** *
     * entity subscribed
     * 
* * string entity = 4 [json_name = "entity"]; * @return The bytes for entity. */ @java.lang.Override public com.google.protobuf.ByteString getEntityBytes() { return instance.getEntityBytes(); } /** *
     * entity subscribed
     * 
* * string entity = 4 [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; } /** *
     * entity subscribed
     * 
* * string entity = 4 [json_name = "entity"]; * @return This builder for chaining. */ public Builder clearEntity() { copyOnWrite(); instance.clearEntity(); return this; } /** *
     * entity subscribed
     * 
* * string entity = 4 [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; } /** *
     * entity identifier
     * 
* * string entity_id = 5 [json_name = "entityId"]; * @return The entityId. */ @java.lang.Override public java.lang.String getEntityId() { return instance.getEntityId(); } /** *
     * entity identifier
     * 
* * string entity_id = 5 [json_name = "entityId"]; * @return The bytes for entityId. */ @java.lang.Override public com.google.protobuf.ByteString getEntityIdBytes() { return instance.getEntityIdBytes(); } /** *
     * entity identifier
     * 
* * string entity_id = 5 [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; } /** *
     * entity identifier
     * 
* * string entity_id = 5 [json_name = "entityId"]; * @return This builder for chaining. */ public Builder clearEntityId() { copyOnWrite(); instance.clearEntityId(); return this; } /** *
     * entity identifier
     * 
* * string entity_id = 5 [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; } @java.lang.Override public int getPayloadCount() { return instance.getPayloadMap().size(); } /** *
     * message payload
     * 
* * map<string, string> payload = 6 [json_name = "payload"]; */ @java.lang.Override public boolean containsPayload( java.lang.String key) { java.lang.Class keyClass = key.getClass(); return instance.getPayloadMap().containsKey(key); } public Builder clearPayload() { copyOnWrite(); instance.getMutablePayloadMap().clear(); return this; } /** *
     * message payload
     * 
* * map<string, string> payload = 6 [json_name = "payload"]; */ public Builder removePayload( java.lang.String key) { java.lang.Class keyClass = key.getClass(); copyOnWrite(); instance.getMutablePayloadMap().remove(key); return this; } /** * Use {@link #getPayloadMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getPayload() { return getPayloadMap(); } /** *
     * message payload
     * 
* * map<string, string> payload = 6 [json_name = "payload"]; */ @java.lang.Override public java.util.Map getPayloadMap() { return java.util.Collections.unmodifiableMap( instance.getPayloadMap()); } /** *
     * message payload
     * 
* * map<string, string> payload = 6 [json_name = "payload"]; */ @java.lang.Override public /* nullable */ java.lang.String getPayloadOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue) { java.lang.Class keyClass = key.getClass(); java.util.Map map = instance.getPayloadMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * message payload
     * 
* * map<string, string> payload = 6 [json_name = "payload"]; */ @java.lang.Override public java.lang.String getPayloadOrThrow( java.lang.String key) { java.lang.Class keyClass = key.getClass(); java.util.Map map = instance.getPayloadMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } /** *
     * message payload
     * 
* * map<string, string> payload = 6 [json_name = "payload"]; */ public Builder putPayload( java.lang.String key, java.lang.String value) { java.lang.Class keyClass = key.getClass(); java.lang.Class valueClass = value.getClass(); copyOnWrite(); instance.getMutablePayloadMap().put(key, value); return this; } /** *
     * message payload
     * 
* * map<string, string> payload = 6 [json_name = "payload"]; */ public Builder putAllPayload( java.util.Map values) { copyOnWrite(); instance.getMutablePayloadMap().putAll(values); return this; } @java.lang.Override public int getOptionsCount() { return instance.getOptionsMap().size(); } /** *
     * amqp options
     * 
* * map<string, string> options = 7 [json_name = "options"]; */ @java.lang.Override public boolean containsOptions( java.lang.String key) { java.lang.Class keyClass = key.getClass(); return instance.getOptionsMap().containsKey(key); } public Builder clearOptions() { copyOnWrite(); instance.getMutableOptionsMap().clear(); return this; } /** *
     * amqp options
     * 
* * map<string, string> options = 7 [json_name = "options"]; */ public Builder removeOptions( java.lang.String key) { java.lang.Class keyClass = key.getClass(); copyOnWrite(); instance.getMutableOptionsMap().remove(key); return this; } /** * Use {@link #getOptionsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getOptions() { return getOptionsMap(); } /** *
     * amqp options
     * 
* * map<string, string> options = 7 [json_name = "options"]; */ @java.lang.Override public java.util.Map getOptionsMap() { return java.util.Collections.unmodifiableMap( instance.getOptionsMap()); } /** *
     * amqp options
     * 
* * map<string, string> options = 7 [json_name = "options"]; */ @java.lang.Override public /* nullable */ java.lang.String getOptionsOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue) { java.lang.Class keyClass = key.getClass(); java.util.Map map = instance.getOptionsMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * amqp options
     * 
* * map<string, string> options = 7 [json_name = "options"]; */ @java.lang.Override public java.lang.String getOptionsOrThrow( java.lang.String key) { java.lang.Class keyClass = key.getClass(); java.util.Map map = instance.getOptionsMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } /** *
     * amqp options
     * 
* * map<string, string> options = 7 [json_name = "options"]; */ public Builder putOptions( java.lang.String key, java.lang.String value) { java.lang.Class keyClass = key.getClass(); java.lang.Class valueClass = value.getClass(); copyOnWrite(); instance.getMutableOptionsMap().put(key, value); return this; } /** *
     * amqp options
     * 
* * map<string, string> options = 7 [json_name = "options"]; */ public Builder putAllOptions( java.util.Map values) { copyOnWrite(); instance.getMutableOptionsMap().putAll(values); return this; } // @@protoc_insertion_point(builder_scope:streamlayer.triggers.TriggerSubscription) } @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.TriggerSubscription(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "id_", "triggerId_", "route_", "entity_", "entityId_", "payload_", PayloadDefaultEntryHolder.defaultEntry, "options_", OptionsDefaultEntryHolder.defaultEntry, }; java.lang.String info = "\u0000\u0007\u0000\u0000\u0001\u0007\u0007\u0002\u0000\u0000\u0001\u0208\u0002\u0208" + "\u0003\u0208\u0004\u0208\u0005\u0208\u00062\u00072"; 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.TriggerSubscription.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.TriggerSubscription) private static final com.streamlayer.triggers.TriggerSubscription DEFAULT_INSTANCE; static { TriggerSubscription defaultInstance = new TriggerSubscription(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( TriggerSubscription.class, defaultInstance); } public static com.streamlayer.triggers.TriggerSubscription 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