main.java.com.streamlayer.interactive.common.BypassNotifications 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/interactive/interactive.common.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.interactive.common;
/**
* Protobuf type {@code streamlayer.interactive.BypassNotifications}
*/
public final class BypassNotifications extends
com.google.protobuf.GeneratedMessageLite<
BypassNotifications, BypassNotifications.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.interactive.BypassNotifications)
BypassNotificationsOrBuilder {
private BypassNotifications() {
}
public static final int IN_APP_SILENCE_FIELD_NUMBER = 1;
private int inAppSilence_;
/**
* .streamlayer.interactive.SilenceSetting in_app_silence = 1 [json_name = "inAppSilence"];
* @return The enum numeric value on the wire for inAppSilence.
*/
@java.lang.Override
public int getInAppSilenceValue() {
return inAppSilence_;
}
/**
* .streamlayer.interactive.SilenceSetting in_app_silence = 1 [json_name = "inAppSilence"];
* @return The inAppSilence.
*/
@java.lang.Override
public com.streamlayer.interactive.common.SilenceSetting getInAppSilence() {
com.streamlayer.interactive.common.SilenceSetting result = com.streamlayer.interactive.common.SilenceSetting.forNumber(inAppSilence_);
return result == null ? com.streamlayer.interactive.common.SilenceSetting.UNRECOGNIZED : result;
}
/**
* .streamlayer.interactive.SilenceSetting in_app_silence = 1 [json_name = "inAppSilence"];
* @param value The enum numeric value on the wire for inAppSilence to set.
*/
private void setInAppSilenceValue(int value) {
inAppSilence_ = value;
}
/**
* .streamlayer.interactive.SilenceSetting in_app_silence = 1 [json_name = "inAppSilence"];
* @param value The inAppSilence to set.
*/
private void setInAppSilence(com.streamlayer.interactive.common.SilenceSetting value) {
inAppSilence_ = value.getNumber();
}
/**
* .streamlayer.interactive.SilenceSetting in_app_silence = 1 [json_name = "inAppSilence"];
*/
private void clearInAppSilence() {
inAppSilence_ = 0;
}
public static com.streamlayer.interactive.common.BypassNotifications parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.common.BypassNotifications 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.interactive.common.BypassNotifications parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.common.BypassNotifications 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.interactive.common.BypassNotifications parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.common.BypassNotifications 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.interactive.common.BypassNotifications parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.common.BypassNotifications 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.interactive.common.BypassNotifications parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.common.BypassNotifications parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.interactive.common.BypassNotifications parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.common.BypassNotifications 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.interactive.common.BypassNotifications prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.interactive.BypassNotifications}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.interactive.common.BypassNotifications, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.interactive.BypassNotifications)
com.streamlayer.interactive.common.BypassNotificationsOrBuilder {
// Construct using com.streamlayer.interactive.common.BypassNotifications.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* .streamlayer.interactive.SilenceSetting in_app_silence = 1 [json_name = "inAppSilence"];
* @return The enum numeric value on the wire for inAppSilence.
*/
@java.lang.Override
public int getInAppSilenceValue() {
return instance.getInAppSilenceValue();
}
/**
* .streamlayer.interactive.SilenceSetting in_app_silence = 1 [json_name = "inAppSilence"];
* @param value The inAppSilence to set.
* @return This builder for chaining.
*/
public Builder setInAppSilenceValue(int value) {
copyOnWrite();
instance.setInAppSilenceValue(value);
return this;
}
/**
* .streamlayer.interactive.SilenceSetting in_app_silence = 1 [json_name = "inAppSilence"];
* @return The inAppSilence.
*/
@java.lang.Override
public com.streamlayer.interactive.common.SilenceSetting getInAppSilence() {
return instance.getInAppSilence();
}
/**
* .streamlayer.interactive.SilenceSetting in_app_silence = 1 [json_name = "inAppSilence"];
* @param value The enum numeric value on the wire for inAppSilence to set.
* @return This builder for chaining.
*/
public Builder setInAppSilence(com.streamlayer.interactive.common.SilenceSetting value) {
copyOnWrite();
instance.setInAppSilence(value);
return this;
}
/**
* .streamlayer.interactive.SilenceSetting in_app_silence = 1 [json_name = "inAppSilence"];
* @return This builder for chaining.
*/
public Builder clearInAppSilence() {
copyOnWrite();
instance.clearInAppSilence();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.interactive.BypassNotifications)
}
@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.interactive.common.BypassNotifications();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"inAppSilence_",
};
java.lang.String info =
"\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001\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.interactive.common.BypassNotifications.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.interactive.BypassNotifications)
private static final com.streamlayer.interactive.common.BypassNotifications DEFAULT_INSTANCE;
static {
BypassNotifications defaultInstance = new BypassNotifications();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
BypassNotifications.class, defaultInstance);
}
public static com.streamlayer.interactive.common.BypassNotifications getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}