main.java.com.streamlayer.sdkSettings.client.ClientSettings 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/sdkSettings/client/client.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.sdkSettings.client;
/**
* Protobuf type {@code streamlayer.sdkSettings.client.ClientSettings}
*/
public final class ClientSettings extends
com.google.protobuf.GeneratedMessageLite<
ClientSettings, ClientSettings.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sdkSettings.client.ClientSettings)
ClientSettingsOrBuilder {
private ClientSettings() {
}
private int bitField0_;
public static final int VISIBLE_STATUS_FIELD_NUMBER = 1;
private int visibleStatus_;
/**
* .streamlayer.sdkSettings.client.VisibleStatus visible_status = 1 [json_name = "visibleStatus"];
* @return The enum numeric value on the wire for visibleStatus.
*/
@java.lang.Override
public int getVisibleStatusValue() {
return visibleStatus_;
}
/**
* .streamlayer.sdkSettings.client.VisibleStatus visible_status = 1 [json_name = "visibleStatus"];
* @return The visibleStatus.
*/
@java.lang.Override
public com.streamlayer.sdkSettings.client.VisibleStatus getVisibleStatus() {
com.streamlayer.sdkSettings.client.VisibleStatus result = com.streamlayer.sdkSettings.client.VisibleStatus.forNumber(visibleStatus_);
return result == null ? com.streamlayer.sdkSettings.client.VisibleStatus.UNRECOGNIZED : result;
}
/**
* .streamlayer.sdkSettings.client.VisibleStatus visible_status = 1 [json_name = "visibleStatus"];
* @param value The enum numeric value on the wire for visibleStatus to set.
*/
private void setVisibleStatusValue(int value) {
visibleStatus_ = value;
}
/**
* .streamlayer.sdkSettings.client.VisibleStatus visible_status = 1 [json_name = "visibleStatus"];
* @param value The visibleStatus to set.
*/
private void setVisibleStatus(com.streamlayer.sdkSettings.client.VisibleStatus value) {
visibleStatus_ = value.getNumber();
}
/**
* .streamlayer.sdkSettings.client.VisibleStatus visible_status = 1 [json_name = "visibleStatus"];
*/
private void clearVisibleStatus() {
visibleStatus_ = 0;
}
public static final int MESSAGES_NOTIFY_FIELD_NUMBER = 2;
private int messagesNotify_;
/**
* .streamlayer.sdkSettings.client.MessagesNotify messages_notify = 2 [json_name = "messagesNotify"];
* @return The enum numeric value on the wire for messagesNotify.
*/
@java.lang.Override
public int getMessagesNotifyValue() {
return messagesNotify_;
}
/**
* .streamlayer.sdkSettings.client.MessagesNotify messages_notify = 2 [json_name = "messagesNotify"];
* @return The messagesNotify.
*/
@java.lang.Override
public com.streamlayer.sdkSettings.client.MessagesNotify getMessagesNotify() {
com.streamlayer.sdkSettings.client.MessagesNotify result = com.streamlayer.sdkSettings.client.MessagesNotify.forNumber(messagesNotify_);
return result == null ? com.streamlayer.sdkSettings.client.MessagesNotify.UNRECOGNIZED : result;
}
/**
* .streamlayer.sdkSettings.client.MessagesNotify messages_notify = 2 [json_name = "messagesNotify"];
* @param value The enum numeric value on the wire for messagesNotify to set.
*/
private void setMessagesNotifyValue(int value) {
messagesNotify_ = value;
}
/**
* .streamlayer.sdkSettings.client.MessagesNotify messages_notify = 2 [json_name = "messagesNotify"];
* @param value The messagesNotify to set.
*/
private void setMessagesNotify(com.streamlayer.sdkSettings.client.MessagesNotify value) {
messagesNotify_ = value.getNumber();
}
/**
* .streamlayer.sdkSettings.client.MessagesNotify messages_notify = 2 [json_name = "messagesNotify"];
*/
private void clearMessagesNotify() {
messagesNotify_ = 0;
}
public static final int FRIENDS_NOTIFY_FIELD_NUMBER = 3;
private int friendsNotify_;
/**
* .streamlayer.sdkSettings.client.FriendsNotify friends_notify = 3 [json_name = "friendsNotify"];
* @return The enum numeric value on the wire for friendsNotify.
*/
@java.lang.Override
public int getFriendsNotifyValue() {
return friendsNotify_;
}
/**
* .streamlayer.sdkSettings.client.FriendsNotify friends_notify = 3 [json_name = "friendsNotify"];
* @return The friendsNotify.
*/
@java.lang.Override
public com.streamlayer.sdkSettings.client.FriendsNotify getFriendsNotify() {
com.streamlayer.sdkSettings.client.FriendsNotify result = com.streamlayer.sdkSettings.client.FriendsNotify.forNumber(friendsNotify_);
return result == null ? com.streamlayer.sdkSettings.client.FriendsNotify.UNRECOGNIZED : result;
}
/**
* .streamlayer.sdkSettings.client.FriendsNotify friends_notify = 3 [json_name = "friendsNotify"];
* @param value The enum numeric value on the wire for friendsNotify to set.
*/
private void setFriendsNotifyValue(int value) {
friendsNotify_ = value;
}
/**
* .streamlayer.sdkSettings.client.FriendsNotify friends_notify = 3 [json_name = "friendsNotify"];
* @param value The friendsNotify to set.
*/
private void setFriendsNotify(com.streamlayer.sdkSettings.client.FriendsNotify value) {
friendsNotify_ = value.getNumber();
}
/**
* .streamlayer.sdkSettings.client.FriendsNotify friends_notify = 3 [json_name = "friendsNotify"];
*/
private void clearFriendsNotify() {
friendsNotify_ = 0;
}
public static final int CALLS_SOUND_FIELD_NUMBER = 4;
private int callsSound_;
/**
* .streamlayer.sdkSettings.client.CallsSound calls_sound = 4 [json_name = "callsSound"];
* @return The enum numeric value on the wire for callsSound.
*/
@java.lang.Override
public int getCallsSoundValue() {
return callsSound_;
}
/**
* .streamlayer.sdkSettings.client.CallsSound calls_sound = 4 [json_name = "callsSound"];
* @return The callsSound.
*/
@java.lang.Override
public com.streamlayer.sdkSettings.client.CallsSound getCallsSound() {
com.streamlayer.sdkSettings.client.CallsSound result = com.streamlayer.sdkSettings.client.CallsSound.forNumber(callsSound_);
return result == null ? com.streamlayer.sdkSettings.client.CallsSound.UNRECOGNIZED : result;
}
/**
* .streamlayer.sdkSettings.client.CallsSound calls_sound = 4 [json_name = "callsSound"];
* @param value The enum numeric value on the wire for callsSound to set.
*/
private void setCallsSoundValue(int value) {
callsSound_ = value;
}
/**
* .streamlayer.sdkSettings.client.CallsSound calls_sound = 4 [json_name = "callsSound"];
* @param value The callsSound to set.
*/
private void setCallsSound(com.streamlayer.sdkSettings.client.CallsSound value) {
callsSound_ = value.getNumber();
}
/**
* .streamlayer.sdkSettings.client.CallsSound calls_sound = 4 [json_name = "callsSound"];
*/
private void clearCallsSound() {
callsSound_ = 0;
}
public static final int MESSAGES_SOUND_FIELD_NUMBER = 5;
private int messagesSound_;
/**
* .streamlayer.sdkSettings.client.MessagesSound messages_sound = 5 [json_name = "messagesSound"];
* @return The enum numeric value on the wire for messagesSound.
*/
@java.lang.Override
public int getMessagesSoundValue() {
return messagesSound_;
}
/**
* .streamlayer.sdkSettings.client.MessagesSound messages_sound = 5 [json_name = "messagesSound"];
* @return The messagesSound.
*/
@java.lang.Override
public com.streamlayer.sdkSettings.client.MessagesSound getMessagesSound() {
com.streamlayer.sdkSettings.client.MessagesSound result = com.streamlayer.sdkSettings.client.MessagesSound.forNumber(messagesSound_);
return result == null ? com.streamlayer.sdkSettings.client.MessagesSound.UNRECOGNIZED : result;
}
/**
* .streamlayer.sdkSettings.client.MessagesSound messages_sound = 5 [json_name = "messagesSound"];
* @param value The enum numeric value on the wire for messagesSound to set.
*/
private void setMessagesSoundValue(int value) {
messagesSound_ = value;
}
/**
* .streamlayer.sdkSettings.client.MessagesSound messages_sound = 5 [json_name = "messagesSound"];
* @param value The messagesSound to set.
*/
private void setMessagesSound(com.streamlayer.sdkSettings.client.MessagesSound value) {
messagesSound_ = value.getNumber();
}
/**
* .streamlayer.sdkSettings.client.MessagesSound messages_sound = 5 [json_name = "messagesSound"];
*/
private void clearMessagesSound() {
messagesSound_ = 0;
}
public static final int FRIENDS_SOUND_FIELD_NUMBER = 6;
private int friendsSound_;
/**
* .streamlayer.sdkSettings.client.FriendsSound friends_sound = 6 [json_name = "friendsSound"];
* @return The enum numeric value on the wire for friendsSound.
*/
@java.lang.Override
public int getFriendsSoundValue() {
return friendsSound_;
}
/**
* .streamlayer.sdkSettings.client.FriendsSound friends_sound = 6 [json_name = "friendsSound"];
* @return The friendsSound.
*/
@java.lang.Override
public com.streamlayer.sdkSettings.client.FriendsSound getFriendsSound() {
com.streamlayer.sdkSettings.client.FriendsSound result = com.streamlayer.sdkSettings.client.FriendsSound.forNumber(friendsSound_);
return result == null ? com.streamlayer.sdkSettings.client.FriendsSound.UNRECOGNIZED : result;
}
/**
* .streamlayer.sdkSettings.client.FriendsSound friends_sound = 6 [json_name = "friendsSound"];
* @param value The enum numeric value on the wire for friendsSound to set.
*/
private void setFriendsSoundValue(int value) {
friendsSound_ = value;
}
/**
* .streamlayer.sdkSettings.client.FriendsSound friends_sound = 6 [json_name = "friendsSound"];
* @param value The friendsSound to set.
*/
private void setFriendsSound(com.streamlayer.sdkSettings.client.FriendsSound value) {
friendsSound_ = value.getNumber();
}
/**
* .streamlayer.sdkSettings.client.FriendsSound friends_sound = 6 [json_name = "friendsSound"];
*/
private void clearFriendsSound() {
friendsSound_ = 0;
}
public static final int TWITTER_NOTIFY_FIELD_NUMBER = 7;
private int twitterNotify_;
/**
* .streamlayer.sdkSettings.client.TwitterNotify twitter_notify = 7 [json_name = "twitterNotify"];
* @return The enum numeric value on the wire for twitterNotify.
*/
@java.lang.Override
public int getTwitterNotifyValue() {
return twitterNotify_;
}
/**
* .streamlayer.sdkSettings.client.TwitterNotify twitter_notify = 7 [json_name = "twitterNotify"];
* @return The twitterNotify.
*/
@java.lang.Override
public com.streamlayer.sdkSettings.client.TwitterNotify getTwitterNotify() {
com.streamlayer.sdkSettings.client.TwitterNotify result = com.streamlayer.sdkSettings.client.TwitterNotify.forNumber(twitterNotify_);
return result == null ? com.streamlayer.sdkSettings.client.TwitterNotify.UNRECOGNIZED : result;
}
/**
* .streamlayer.sdkSettings.client.TwitterNotify twitter_notify = 7 [json_name = "twitterNotify"];
* @param value The enum numeric value on the wire for twitterNotify to set.
*/
private void setTwitterNotifyValue(int value) {
twitterNotify_ = value;
}
/**
* .streamlayer.sdkSettings.client.TwitterNotify twitter_notify = 7 [json_name = "twitterNotify"];
* @param value The twitterNotify to set.
*/
private void setTwitterNotify(com.streamlayer.sdkSettings.client.TwitterNotify value) {
twitterNotify_ = value.getNumber();
}
/**
* .streamlayer.sdkSettings.client.TwitterNotify twitter_notify = 7 [json_name = "twitterNotify"];
*/
private void clearTwitterNotify() {
twitterNotify_ = 0;
}
public static final int TWITTER_SOUND_FIELD_NUMBER = 8;
private int twitterSound_;
/**
* .streamlayer.sdkSettings.client.TwitterSound twitter_sound = 8 [json_name = "twitterSound"];
* @return The enum numeric value on the wire for twitterSound.
*/
@java.lang.Override
public int getTwitterSoundValue() {
return twitterSound_;
}
/**
* .streamlayer.sdkSettings.client.TwitterSound twitter_sound = 8 [json_name = "twitterSound"];
* @return The twitterSound.
*/
@java.lang.Override
public com.streamlayer.sdkSettings.client.TwitterSound getTwitterSound() {
com.streamlayer.sdkSettings.client.TwitterSound result = com.streamlayer.sdkSettings.client.TwitterSound.forNumber(twitterSound_);
return result == null ? com.streamlayer.sdkSettings.client.TwitterSound.UNRECOGNIZED : result;
}
/**
* .streamlayer.sdkSettings.client.TwitterSound twitter_sound = 8 [json_name = "twitterSound"];
* @param value The enum numeric value on the wire for twitterSound to set.
*/
private void setTwitterSoundValue(int value) {
twitterSound_ = value;
}
/**
* .streamlayer.sdkSettings.client.TwitterSound twitter_sound = 8 [json_name = "twitterSound"];
* @param value The twitterSound to set.
*/
private void setTwitterSound(com.streamlayer.sdkSettings.client.TwitterSound value) {
twitterSound_ = value.getNumber();
}
/**
* .streamlayer.sdkSettings.client.TwitterSound twitter_sound = 8 [json_name = "twitterSound"];
*/
private void clearTwitterSound() {
twitterSound_ = 0;
}
public static final int GAMIFICATION_FIELD_NUMBER = 9;
private com.streamlayer.sdkSettings.client.ClientSettingsNotifications gamification_;
/**
* .streamlayer.sdkSettings.client.ClientSettingsNotifications gamification = 9 [json_name = "gamification"];
*/
@java.lang.Override
public boolean hasGamification() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.sdkSettings.client.ClientSettingsNotifications gamification = 9 [json_name = "gamification"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.client.ClientSettingsNotifications getGamification() {
return gamification_ == null ? com.streamlayer.sdkSettings.client.ClientSettingsNotifications.getDefaultInstance() : gamification_;
}
/**
* .streamlayer.sdkSettings.client.ClientSettingsNotifications gamification = 9 [json_name = "gamification"];
*/
private void setGamification(com.streamlayer.sdkSettings.client.ClientSettingsNotifications value) {
value.getClass();
gamification_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sdkSettings.client.ClientSettingsNotifications gamification = 9 [json_name = "gamification"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeGamification(com.streamlayer.sdkSettings.client.ClientSettingsNotifications value) {
value.getClass();
if (gamification_ != null &&
gamification_ != com.streamlayer.sdkSettings.client.ClientSettingsNotifications.getDefaultInstance()) {
gamification_ =
com.streamlayer.sdkSettings.client.ClientSettingsNotifications.newBuilder(gamification_).mergeFrom(value).buildPartial();
} else {
gamification_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sdkSettings.client.ClientSettingsNotifications gamification = 9 [json_name = "gamification"];
*/
private void clearGamification() { gamification_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int WATCH_PARTY_INVITATION_FIELD_NUMBER = 10;
private com.streamlayer.sdkSettings.client.ClientSettingsNotifications watchPartyInvitation_;
/**
* .streamlayer.sdkSettings.client.ClientSettingsNotifications watch_party_invitation = 10 [json_name = "watchPartyInvitation"];
*/
@java.lang.Override
public boolean hasWatchPartyInvitation() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* .streamlayer.sdkSettings.client.ClientSettingsNotifications watch_party_invitation = 10 [json_name = "watchPartyInvitation"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.client.ClientSettingsNotifications getWatchPartyInvitation() {
return watchPartyInvitation_ == null ? com.streamlayer.sdkSettings.client.ClientSettingsNotifications.getDefaultInstance() : watchPartyInvitation_;
}
/**
* .streamlayer.sdkSettings.client.ClientSettingsNotifications watch_party_invitation = 10 [json_name = "watchPartyInvitation"];
*/
private void setWatchPartyInvitation(com.streamlayer.sdkSettings.client.ClientSettingsNotifications value) {
value.getClass();
watchPartyInvitation_ = value;
bitField0_ |= 0x00000002;
}
/**
* .streamlayer.sdkSettings.client.ClientSettingsNotifications watch_party_invitation = 10 [json_name = "watchPartyInvitation"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeWatchPartyInvitation(com.streamlayer.sdkSettings.client.ClientSettingsNotifications value) {
value.getClass();
if (watchPartyInvitation_ != null &&
watchPartyInvitation_ != com.streamlayer.sdkSettings.client.ClientSettingsNotifications.getDefaultInstance()) {
watchPartyInvitation_ =
com.streamlayer.sdkSettings.client.ClientSettingsNotifications.newBuilder(watchPartyInvitation_).mergeFrom(value).buildPartial();
} else {
watchPartyInvitation_ = value;
}
bitField0_ |= 0x00000002;
}
/**
* .streamlayer.sdkSettings.client.ClientSettingsNotifications watch_party_invitation = 10 [json_name = "watchPartyInvitation"];
*/
private void clearWatchPartyInvitation() { watchPartyInvitation_ = null;
bitField0_ = (bitField0_ & ~0x00000002);
}
public static final int TWITTER_QUESTION_FIELD_NUMBER = 11;
private com.streamlayer.sdkSettings.client.ClientSettingsNotifications twitterQuestion_;
/**
* .streamlayer.sdkSettings.client.ClientSettingsNotifications twitter_question = 11 [json_name = "twitterQuestion"];
*/
@java.lang.Override
public boolean hasTwitterQuestion() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* .streamlayer.sdkSettings.client.ClientSettingsNotifications twitter_question = 11 [json_name = "twitterQuestion"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.client.ClientSettingsNotifications getTwitterQuestion() {
return twitterQuestion_ == null ? com.streamlayer.sdkSettings.client.ClientSettingsNotifications.getDefaultInstance() : twitterQuestion_;
}
/**
* .streamlayer.sdkSettings.client.ClientSettingsNotifications twitter_question = 11 [json_name = "twitterQuestion"];
*/
private void setTwitterQuestion(com.streamlayer.sdkSettings.client.ClientSettingsNotifications value) {
value.getClass();
twitterQuestion_ = value;
bitField0_ |= 0x00000004;
}
/**
* .streamlayer.sdkSettings.client.ClientSettingsNotifications twitter_question = 11 [json_name = "twitterQuestion"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeTwitterQuestion(com.streamlayer.sdkSettings.client.ClientSettingsNotifications value) {
value.getClass();
if (twitterQuestion_ != null &&
twitterQuestion_ != com.streamlayer.sdkSettings.client.ClientSettingsNotifications.getDefaultInstance()) {
twitterQuestion_ =
com.streamlayer.sdkSettings.client.ClientSettingsNotifications.newBuilder(twitterQuestion_).mergeFrom(value).buildPartial();
} else {
twitterQuestion_ = value;
}
bitField0_ |= 0x00000004;
}
/**
* .streamlayer.sdkSettings.client.ClientSettingsNotifications twitter_question = 11 [json_name = "twitterQuestion"];
*/
private void clearTwitterQuestion() { twitterQuestion_ = null;
bitField0_ = (bitField0_ & ~0x00000004);
}
public static com.streamlayer.sdkSettings.client.ClientSettings parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sdkSettings.client.ClientSettings 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.sdkSettings.client.ClientSettings parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sdkSettings.client.ClientSettings 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.sdkSettings.client.ClientSettings parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sdkSettings.client.ClientSettings 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.sdkSettings.client.ClientSettings parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sdkSettings.client.ClientSettings 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.sdkSettings.client.ClientSettings parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sdkSettings.client.ClientSettings parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.sdkSettings.client.ClientSettings parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sdkSettings.client.ClientSettings 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.sdkSettings.client.ClientSettings prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sdkSettings.client.ClientSettings}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sdkSettings.client.ClientSettings, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sdkSettings.client.ClientSettings)
com.streamlayer.sdkSettings.client.ClientSettingsOrBuilder {
// Construct using com.streamlayer.sdkSettings.client.ClientSettings.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* .streamlayer.sdkSettings.client.VisibleStatus visible_status = 1 [json_name = "visibleStatus"];
* @return The enum numeric value on the wire for visibleStatus.
*/
@java.lang.Override
public int getVisibleStatusValue() {
return instance.getVisibleStatusValue();
}
/**
* .streamlayer.sdkSettings.client.VisibleStatus visible_status = 1 [json_name = "visibleStatus"];
* @param value The visibleStatus to set.
* @return This builder for chaining.
*/
public Builder setVisibleStatusValue(int value) {
copyOnWrite();
instance.setVisibleStatusValue(value);
return this;
}
/**
* .streamlayer.sdkSettings.client.VisibleStatus visible_status = 1 [json_name = "visibleStatus"];
* @return The visibleStatus.
*/
@java.lang.Override
public com.streamlayer.sdkSettings.client.VisibleStatus getVisibleStatus() {
return instance.getVisibleStatus();
}
/**
* .streamlayer.sdkSettings.client.VisibleStatus visible_status = 1 [json_name = "visibleStatus"];
* @param value The enum numeric value on the wire for visibleStatus to set.
* @return This builder for chaining.
*/
public Builder setVisibleStatus(com.streamlayer.sdkSettings.client.VisibleStatus value) {
copyOnWrite();
instance.setVisibleStatus(value);
return this;
}
/**
* .streamlayer.sdkSettings.client.VisibleStatus visible_status = 1 [json_name = "visibleStatus"];
* @return This builder for chaining.
*/
public Builder clearVisibleStatus() {
copyOnWrite();
instance.clearVisibleStatus();
return this;
}
/**
* .streamlayer.sdkSettings.client.MessagesNotify messages_notify = 2 [json_name = "messagesNotify"];
* @return The enum numeric value on the wire for messagesNotify.
*/
@java.lang.Override
public int getMessagesNotifyValue() {
return instance.getMessagesNotifyValue();
}
/**
* .streamlayer.sdkSettings.client.MessagesNotify messages_notify = 2 [json_name = "messagesNotify"];
* @param value The messagesNotify to set.
* @return This builder for chaining.
*/
public Builder setMessagesNotifyValue(int value) {
copyOnWrite();
instance.setMessagesNotifyValue(value);
return this;
}
/**
* .streamlayer.sdkSettings.client.MessagesNotify messages_notify = 2 [json_name = "messagesNotify"];
* @return The messagesNotify.
*/
@java.lang.Override
public com.streamlayer.sdkSettings.client.MessagesNotify getMessagesNotify() {
return instance.getMessagesNotify();
}
/**
* .streamlayer.sdkSettings.client.MessagesNotify messages_notify = 2 [json_name = "messagesNotify"];
* @param value The enum numeric value on the wire for messagesNotify to set.
* @return This builder for chaining.
*/
public Builder setMessagesNotify(com.streamlayer.sdkSettings.client.MessagesNotify value) {
copyOnWrite();
instance.setMessagesNotify(value);
return this;
}
/**
* .streamlayer.sdkSettings.client.MessagesNotify messages_notify = 2 [json_name = "messagesNotify"];
* @return This builder for chaining.
*/
public Builder clearMessagesNotify() {
copyOnWrite();
instance.clearMessagesNotify();
return this;
}
/**
* .streamlayer.sdkSettings.client.FriendsNotify friends_notify = 3 [json_name = "friendsNotify"];
* @return The enum numeric value on the wire for friendsNotify.
*/
@java.lang.Override
public int getFriendsNotifyValue() {
return instance.getFriendsNotifyValue();
}
/**
* .streamlayer.sdkSettings.client.FriendsNotify friends_notify = 3 [json_name = "friendsNotify"];
* @param value The friendsNotify to set.
* @return This builder for chaining.
*/
public Builder setFriendsNotifyValue(int value) {
copyOnWrite();
instance.setFriendsNotifyValue(value);
return this;
}
/**
* .streamlayer.sdkSettings.client.FriendsNotify friends_notify = 3 [json_name = "friendsNotify"];
* @return The friendsNotify.
*/
@java.lang.Override
public com.streamlayer.sdkSettings.client.FriendsNotify getFriendsNotify() {
return instance.getFriendsNotify();
}
/**
* .streamlayer.sdkSettings.client.FriendsNotify friends_notify = 3 [json_name = "friendsNotify"];
* @param value The enum numeric value on the wire for friendsNotify to set.
* @return This builder for chaining.
*/
public Builder setFriendsNotify(com.streamlayer.sdkSettings.client.FriendsNotify value) {
copyOnWrite();
instance.setFriendsNotify(value);
return this;
}
/**
* .streamlayer.sdkSettings.client.FriendsNotify friends_notify = 3 [json_name = "friendsNotify"];
* @return This builder for chaining.
*/
public Builder clearFriendsNotify() {
copyOnWrite();
instance.clearFriendsNotify();
return this;
}
/**
* .streamlayer.sdkSettings.client.CallsSound calls_sound = 4 [json_name = "callsSound"];
* @return The enum numeric value on the wire for callsSound.
*/
@java.lang.Override
public int getCallsSoundValue() {
return instance.getCallsSoundValue();
}
/**
* .streamlayer.sdkSettings.client.CallsSound calls_sound = 4 [json_name = "callsSound"];
* @param value The callsSound to set.
* @return This builder for chaining.
*/
public Builder setCallsSoundValue(int value) {
copyOnWrite();
instance.setCallsSoundValue(value);
return this;
}
/**
* .streamlayer.sdkSettings.client.CallsSound calls_sound = 4 [json_name = "callsSound"];
* @return The callsSound.
*/
@java.lang.Override
public com.streamlayer.sdkSettings.client.CallsSound getCallsSound() {
return instance.getCallsSound();
}
/**
* .streamlayer.sdkSettings.client.CallsSound calls_sound = 4 [json_name = "callsSound"];
* @param value The enum numeric value on the wire for callsSound to set.
* @return This builder for chaining.
*/
public Builder setCallsSound(com.streamlayer.sdkSettings.client.CallsSound value) {
copyOnWrite();
instance.setCallsSound(value);
return this;
}
/**
* .streamlayer.sdkSettings.client.CallsSound calls_sound = 4 [json_name = "callsSound"];
* @return This builder for chaining.
*/
public Builder clearCallsSound() {
copyOnWrite();
instance.clearCallsSound();
return this;
}
/**
* .streamlayer.sdkSettings.client.MessagesSound messages_sound = 5 [json_name = "messagesSound"];
* @return The enum numeric value on the wire for messagesSound.
*/
@java.lang.Override
public int getMessagesSoundValue() {
return instance.getMessagesSoundValue();
}
/**
* .streamlayer.sdkSettings.client.MessagesSound messages_sound = 5 [json_name = "messagesSound"];
* @param value The messagesSound to set.
* @return This builder for chaining.
*/
public Builder setMessagesSoundValue(int value) {
copyOnWrite();
instance.setMessagesSoundValue(value);
return this;
}
/**
* .streamlayer.sdkSettings.client.MessagesSound messages_sound = 5 [json_name = "messagesSound"];
* @return The messagesSound.
*/
@java.lang.Override
public com.streamlayer.sdkSettings.client.MessagesSound getMessagesSound() {
return instance.getMessagesSound();
}
/**
* .streamlayer.sdkSettings.client.MessagesSound messages_sound = 5 [json_name = "messagesSound"];
* @param value The enum numeric value on the wire for messagesSound to set.
* @return This builder for chaining.
*/
public Builder setMessagesSound(com.streamlayer.sdkSettings.client.MessagesSound value) {
copyOnWrite();
instance.setMessagesSound(value);
return this;
}
/**
* .streamlayer.sdkSettings.client.MessagesSound messages_sound = 5 [json_name = "messagesSound"];
* @return This builder for chaining.
*/
public Builder clearMessagesSound() {
copyOnWrite();
instance.clearMessagesSound();
return this;
}
/**
* .streamlayer.sdkSettings.client.FriendsSound friends_sound = 6 [json_name = "friendsSound"];
* @return The enum numeric value on the wire for friendsSound.
*/
@java.lang.Override
public int getFriendsSoundValue() {
return instance.getFriendsSoundValue();
}
/**
* .streamlayer.sdkSettings.client.FriendsSound friends_sound = 6 [json_name = "friendsSound"];
* @param value The friendsSound to set.
* @return This builder for chaining.
*/
public Builder setFriendsSoundValue(int value) {
copyOnWrite();
instance.setFriendsSoundValue(value);
return this;
}
/**
* .streamlayer.sdkSettings.client.FriendsSound friends_sound = 6 [json_name = "friendsSound"];
* @return The friendsSound.
*/
@java.lang.Override
public com.streamlayer.sdkSettings.client.FriendsSound getFriendsSound() {
return instance.getFriendsSound();
}
/**
* .streamlayer.sdkSettings.client.FriendsSound friends_sound = 6 [json_name = "friendsSound"];
* @param value The enum numeric value on the wire for friendsSound to set.
* @return This builder for chaining.
*/
public Builder setFriendsSound(com.streamlayer.sdkSettings.client.FriendsSound value) {
copyOnWrite();
instance.setFriendsSound(value);
return this;
}
/**
* .streamlayer.sdkSettings.client.FriendsSound friends_sound = 6 [json_name = "friendsSound"];
* @return This builder for chaining.
*/
public Builder clearFriendsSound() {
copyOnWrite();
instance.clearFriendsSound();
return this;
}
/**
* .streamlayer.sdkSettings.client.TwitterNotify twitter_notify = 7 [json_name = "twitterNotify"];
* @return The enum numeric value on the wire for twitterNotify.
*/
@java.lang.Override
public int getTwitterNotifyValue() {
return instance.getTwitterNotifyValue();
}
/**
* .streamlayer.sdkSettings.client.TwitterNotify twitter_notify = 7 [json_name = "twitterNotify"];
* @param value The twitterNotify to set.
* @return This builder for chaining.
*/
public Builder setTwitterNotifyValue(int value) {
copyOnWrite();
instance.setTwitterNotifyValue(value);
return this;
}
/**
* .streamlayer.sdkSettings.client.TwitterNotify twitter_notify = 7 [json_name = "twitterNotify"];
* @return The twitterNotify.
*/
@java.lang.Override
public com.streamlayer.sdkSettings.client.TwitterNotify getTwitterNotify() {
return instance.getTwitterNotify();
}
/**
* .streamlayer.sdkSettings.client.TwitterNotify twitter_notify = 7 [json_name = "twitterNotify"];
* @param value The enum numeric value on the wire for twitterNotify to set.
* @return This builder for chaining.
*/
public Builder setTwitterNotify(com.streamlayer.sdkSettings.client.TwitterNotify value) {
copyOnWrite();
instance.setTwitterNotify(value);
return this;
}
/**
* .streamlayer.sdkSettings.client.TwitterNotify twitter_notify = 7 [json_name = "twitterNotify"];
* @return This builder for chaining.
*/
public Builder clearTwitterNotify() {
copyOnWrite();
instance.clearTwitterNotify();
return this;
}
/**
* .streamlayer.sdkSettings.client.TwitterSound twitter_sound = 8 [json_name = "twitterSound"];
* @return The enum numeric value on the wire for twitterSound.
*/
@java.lang.Override
public int getTwitterSoundValue() {
return instance.getTwitterSoundValue();
}
/**
* .streamlayer.sdkSettings.client.TwitterSound twitter_sound = 8 [json_name = "twitterSound"];
* @param value The twitterSound to set.
* @return This builder for chaining.
*/
public Builder setTwitterSoundValue(int value) {
copyOnWrite();
instance.setTwitterSoundValue(value);
return this;
}
/**
* .streamlayer.sdkSettings.client.TwitterSound twitter_sound = 8 [json_name = "twitterSound"];
* @return The twitterSound.
*/
@java.lang.Override
public com.streamlayer.sdkSettings.client.TwitterSound getTwitterSound() {
return instance.getTwitterSound();
}
/**
* .streamlayer.sdkSettings.client.TwitterSound twitter_sound = 8 [json_name = "twitterSound"];
* @param value The enum numeric value on the wire for twitterSound to set.
* @return This builder for chaining.
*/
public Builder setTwitterSound(com.streamlayer.sdkSettings.client.TwitterSound value) {
copyOnWrite();
instance.setTwitterSound(value);
return this;
}
/**
* .streamlayer.sdkSettings.client.TwitterSound twitter_sound = 8 [json_name = "twitterSound"];
* @return This builder for chaining.
*/
public Builder clearTwitterSound() {
copyOnWrite();
instance.clearTwitterSound();
return this;
}
/**
* .streamlayer.sdkSettings.client.ClientSettingsNotifications gamification = 9 [json_name = "gamification"];
*/
@java.lang.Override
public boolean hasGamification() {
return instance.hasGamification();
}
/**
* .streamlayer.sdkSettings.client.ClientSettingsNotifications gamification = 9 [json_name = "gamification"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.client.ClientSettingsNotifications getGamification() {
return instance.getGamification();
}
/**
* .streamlayer.sdkSettings.client.ClientSettingsNotifications gamification = 9 [json_name = "gamification"];
*/
public Builder setGamification(com.streamlayer.sdkSettings.client.ClientSettingsNotifications value) {
copyOnWrite();
instance.setGamification(value);
return this;
}
/**
* .streamlayer.sdkSettings.client.ClientSettingsNotifications gamification = 9 [json_name = "gamification"];
*/
public Builder setGamification(
com.streamlayer.sdkSettings.client.ClientSettingsNotifications.Builder builderForValue) {
copyOnWrite();
instance.setGamification(builderForValue.build());
return this;
}
/**
* .streamlayer.sdkSettings.client.ClientSettingsNotifications gamification = 9 [json_name = "gamification"];
*/
public Builder mergeGamification(com.streamlayer.sdkSettings.client.ClientSettingsNotifications value) {
copyOnWrite();
instance.mergeGamification(value);
return this;
}
/**
* .streamlayer.sdkSettings.client.ClientSettingsNotifications gamification = 9 [json_name = "gamification"];
*/
public Builder clearGamification() { copyOnWrite();
instance.clearGamification();
return this;
}
/**
* .streamlayer.sdkSettings.client.ClientSettingsNotifications watch_party_invitation = 10 [json_name = "watchPartyInvitation"];
*/
@java.lang.Override
public boolean hasWatchPartyInvitation() {
return instance.hasWatchPartyInvitation();
}
/**
* .streamlayer.sdkSettings.client.ClientSettingsNotifications watch_party_invitation = 10 [json_name = "watchPartyInvitation"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.client.ClientSettingsNotifications getWatchPartyInvitation() {
return instance.getWatchPartyInvitation();
}
/**
* .streamlayer.sdkSettings.client.ClientSettingsNotifications watch_party_invitation = 10 [json_name = "watchPartyInvitation"];
*/
public Builder setWatchPartyInvitation(com.streamlayer.sdkSettings.client.ClientSettingsNotifications value) {
copyOnWrite();
instance.setWatchPartyInvitation(value);
return this;
}
/**
* .streamlayer.sdkSettings.client.ClientSettingsNotifications watch_party_invitation = 10 [json_name = "watchPartyInvitation"];
*/
public Builder setWatchPartyInvitation(
com.streamlayer.sdkSettings.client.ClientSettingsNotifications.Builder builderForValue) {
copyOnWrite();
instance.setWatchPartyInvitation(builderForValue.build());
return this;
}
/**
* .streamlayer.sdkSettings.client.ClientSettingsNotifications watch_party_invitation = 10 [json_name = "watchPartyInvitation"];
*/
public Builder mergeWatchPartyInvitation(com.streamlayer.sdkSettings.client.ClientSettingsNotifications value) {
copyOnWrite();
instance.mergeWatchPartyInvitation(value);
return this;
}
/**
* .streamlayer.sdkSettings.client.ClientSettingsNotifications watch_party_invitation = 10 [json_name = "watchPartyInvitation"];
*/
public Builder clearWatchPartyInvitation() { copyOnWrite();
instance.clearWatchPartyInvitation();
return this;
}
/**
* .streamlayer.sdkSettings.client.ClientSettingsNotifications twitter_question = 11 [json_name = "twitterQuestion"];
*/
@java.lang.Override
public boolean hasTwitterQuestion() {
return instance.hasTwitterQuestion();
}
/**
* .streamlayer.sdkSettings.client.ClientSettingsNotifications twitter_question = 11 [json_name = "twitterQuestion"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.client.ClientSettingsNotifications getTwitterQuestion() {
return instance.getTwitterQuestion();
}
/**
* .streamlayer.sdkSettings.client.ClientSettingsNotifications twitter_question = 11 [json_name = "twitterQuestion"];
*/
public Builder setTwitterQuestion(com.streamlayer.sdkSettings.client.ClientSettingsNotifications value) {
copyOnWrite();
instance.setTwitterQuestion(value);
return this;
}
/**
* .streamlayer.sdkSettings.client.ClientSettingsNotifications twitter_question = 11 [json_name = "twitterQuestion"];
*/
public Builder setTwitterQuestion(
com.streamlayer.sdkSettings.client.ClientSettingsNotifications.Builder builderForValue) {
copyOnWrite();
instance.setTwitterQuestion(builderForValue.build());
return this;
}
/**
* .streamlayer.sdkSettings.client.ClientSettingsNotifications twitter_question = 11 [json_name = "twitterQuestion"];
*/
public Builder mergeTwitterQuestion(com.streamlayer.sdkSettings.client.ClientSettingsNotifications value) {
copyOnWrite();
instance.mergeTwitterQuestion(value);
return this;
}
/**
* .streamlayer.sdkSettings.client.ClientSettingsNotifications twitter_question = 11 [json_name = "twitterQuestion"];
*/
public Builder clearTwitterQuestion() { copyOnWrite();
instance.clearTwitterQuestion();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sdkSettings.client.ClientSettings)
}
@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.sdkSettings.client.ClientSettings();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"visibleStatus_",
"messagesNotify_",
"friendsNotify_",
"callsSound_",
"messagesSound_",
"friendsSound_",
"twitterNotify_",
"twitterSound_",
"gamification_",
"watchPartyInvitation_",
"twitterQuestion_",
};
java.lang.String info =
"\u0000\u000b\u0000\u0001\u0001\u000b\u000b\u0000\u0000\u0000\u0001\f\u0002\f\u0003" +
"\f\u0004\f\u0005\f\u0006\f\u0007\f\b\f\t\u1009\u0000\n\u1009\u0001\u000b\u1009\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.sdkSettings.client.ClientSettings.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.sdkSettings.client.ClientSettings)
private static final com.streamlayer.sdkSettings.client.ClientSettings DEFAULT_INSTANCE;
static {
ClientSettings defaultInstance = new ClientSettings();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
ClientSettings.class, defaultInstance);
}
public static com.streamlayer.sdkSettings.client.ClientSettings getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}