main.java.com.streamlayer.triggers.EssentialSubscriptionData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sl-protofiles Show documentation
Show all versions of sl-protofiles Show documentation
StreamLayer Java Protofiles
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: streamlayer/triggers/triggers.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.triggers;
/**
* Protobuf type {@code streamlayer.triggers.EssentialSubscriptionData}
*/
public final class EssentialSubscriptionData extends
com.google.protobuf.GeneratedMessageLite<
EssentialSubscriptionData, EssentialSubscriptionData.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.triggers.EssentialSubscriptionData)
EssentialSubscriptionDataOrBuilder {
private EssentialSubscriptionData() {
route_ = "";
entity_ = "";
entityId_ = "";
}
public static final int ROUTE_FIELD_NUMBER = 1;
private java.lang.String route_;
/**
*
* amqp route to which a message will be sent upon trigger activation
*
*
* string route = 1 [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 = 1 [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 = 1 [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 = 1 [json_name = "route"];
*/
private void clearRoute() {
route_ = getDefaultInstance().getRoute();
}
/**
*
* amqp route to which a message will be sent upon trigger activation
*
*
* string route = 1 [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 = 2;
private java.lang.String entity_;
/**
*
* entity subscribed
*
*
* string entity = 2 [json_name = "entity"];
* @return The entity.
*/
@java.lang.Override
public java.lang.String getEntity() {
return entity_;
}
/**
*
* entity subscribed
*
*
* string entity = 2 [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 = 2 [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 = 2 [json_name = "entity"];
*/
private void clearEntity() {
entity_ = getDefaultInstance().getEntity();
}
/**
*
* entity subscribed
*
*
* string entity = 2 [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 = 3;
private java.lang.String entityId_;
/**
*
* entity identifier
*
*
* string entity_id = 3 [json_name = "entityId"];
* @return The entityId.
*/
@java.lang.Override
public java.lang.String getEntityId() {
return entityId_;
}
/**
*
* entity identifier
*
*
* string entity_id = 3 [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 = 3 [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 = 3 [json_name = "entityId"];
*/
private void clearEntityId() {
entityId_ = getDefaultInstance().getEntityId();
}
/**
*
* entity identifier
*
*
* string entity_id = 3 [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 = 4;
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 = 4 [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 = 4 [json_name = "payload"];
*/
@java.lang.Override
public java.util.Map getPayloadMap() {
return java.util.Collections.unmodifiableMap(
internalGetPayload());
}
/**
*
* message payload
*
*
* map<string, string> payload = 4 [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 = 4 [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 = 4 [json_name = "payload"];
*/
private java.util.Map
getMutablePayloadMap() {
return internalGetMutablePayload();
}
public static final int OPTIONS_FIELD_NUMBER = 5;
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 = 5 [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 = 5 [json_name = "options"];
*/
@java.lang.Override
public java.util.Map getOptionsMap() {
return java.util.Collections.unmodifiableMap(
internalGetOptions());
}
/**
*
* amqp options
*
*
* map<string, string> options = 5 [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 = 5 [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 = 5 [json_name = "options"];
*/
private java.util.Map
getMutableOptionsMap() {
return internalGetMutableOptions();
}
public static com.streamlayer.triggers.EssentialSubscriptionData parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.triggers.EssentialSubscriptionData 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.EssentialSubscriptionData 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.EssentialSubscriptionData 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.EssentialSubscriptionData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.triggers.EssentialSubscriptionData 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.EssentialSubscriptionData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.triggers.EssentialSubscriptionData 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.EssentialSubscriptionData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.triggers.EssentialSubscriptionData 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.EssentialSubscriptionData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.triggers.EssentialSubscriptionData 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.EssentialSubscriptionData prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.triggers.EssentialSubscriptionData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.triggers.EssentialSubscriptionData, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.triggers.EssentialSubscriptionData)
com.streamlayer.triggers.EssentialSubscriptionDataOrBuilder {
// Construct using com.streamlayer.triggers.EssentialSubscriptionData.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
*
* amqp route to which a message will be sent upon trigger activation
*
*
* string route = 1 [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 = 1 [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 = 1 [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 = 1 [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 = 1 [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 = 2 [json_name = "entity"];
* @return The entity.
*/
@java.lang.Override
public java.lang.String getEntity() {
return instance.getEntity();
}
/**
*
* entity subscribed
*
*
* string entity = 2 [json_name = "entity"];
* @return The bytes for entity.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getEntityBytes() {
return instance.getEntityBytes();
}
/**
*
* entity subscribed
*
*
* string entity = 2 [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 = 2 [json_name = "entity"];
* @return This builder for chaining.
*/
public Builder clearEntity() {
copyOnWrite();
instance.clearEntity();
return this;
}
/**
*
* entity subscribed
*
*
* string entity = 2 [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 = 3 [json_name = "entityId"];
* @return The entityId.
*/
@java.lang.Override
public java.lang.String getEntityId() {
return instance.getEntityId();
}
/**
*
* entity identifier
*
*
* string entity_id = 3 [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 = 3 [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 = 3 [json_name = "entityId"];
* @return This builder for chaining.
*/
public Builder clearEntityId() {
copyOnWrite();
instance.clearEntityId();
return this;
}
/**
*
* entity identifier
*
*
* string entity_id = 3 [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 = 4 [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 = 4 [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 = 4 [json_name = "payload"];
*/
@java.lang.Override
public java.util.Map getPayloadMap() {
return java.util.Collections.unmodifiableMap(
instance.getPayloadMap());
}
/**
*
* message payload
*
*
* map<string, string> payload = 4 [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 = 4 [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 = 4 [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 = 4 [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 = 5 [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 = 5 [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 = 5 [json_name = "options"];
*/
@java.lang.Override
public java.util.Map getOptionsMap() {
return java.util.Collections.unmodifiableMap(
instance.getOptionsMap());
}
/**
*
* amqp options
*
*
* map<string, string> options = 5 [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 = 5 [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 = 5 [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 = 5 [json_name = "options"];
*/
public Builder putAllOptions(
java.util.Map values) {
copyOnWrite();
instance.getMutableOptionsMap().putAll(values);
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.triggers.EssentialSubscriptionData)
}
@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.EssentialSubscriptionData();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"route_",
"entity_",
"entityId_",
"payload_",
PayloadDefaultEntryHolder.defaultEntry,
"options_",
OptionsDefaultEntryHolder.defaultEntry,
};
java.lang.String info =
"\u0000\u0005\u0000\u0000\u0001\u0005\u0005\u0002\u0000\u0000\u0001\u0208\u0002\u0208" +
"\u0003\u0208\u00042\u00052";
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.EssentialSubscriptionData.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.EssentialSubscriptionData)
private static final com.streamlayer.triggers.EssentialSubscriptionData DEFAULT_INSTANCE;
static {
EssentialSubscriptionData defaultInstance = new EssentialSubscriptionData();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
EssentialSubscriptionData.class, defaultInstance);
}
public static com.streamlayer.triggers.EssentialSubscriptionData getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}