main.java.com.streamlayer.studio.users.UpdateRequest 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/studio/users/studio_users.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.studio.users;
/**
* Protobuf type {@code streamlayer.studio.users.UpdateRequest}
*/
public final class UpdateRequest extends
com.google.protobuf.GeneratedMessageLite<
UpdateRequest, UpdateRequest.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.studio.users.UpdateRequest)
UpdateRequestOrBuilder {
private UpdateRequest() {
}
private int nameCase_ = 0;
private java.lang.Object name_;
public enum NameCase {
SET_NAME(2),
DEL_NAME(3),
NAME_NOT_SET(0);
private final int value;
private NameCase(int value) {
this.value = value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static NameCase valueOf(int value) {
return forNumber(value);
}
public static NameCase forNumber(int value) {
switch (value) {
case 2: return SET_NAME;
case 3: return DEL_NAME;
case 0: return NAME_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
@java.lang.Override
public NameCase
getNameCase() {
return NameCase.forNumber(
nameCase_);
}
private void clearName() {
nameCase_ = 0;
name_ = null;
}
private int avatarCase_ = 0;
private java.lang.Object avatar_;
public enum AvatarCase {
SET_AVATAR(4),
DEL_AVATAR(5),
AVATAR_NOT_SET(0);
private final int value;
private AvatarCase(int value) {
this.value = value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static AvatarCase valueOf(int value) {
return forNumber(value);
}
public static AvatarCase forNumber(int value) {
switch (value) {
case 4: return SET_AVATAR;
case 5: return DEL_AVATAR;
case 0: return AVATAR_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
@java.lang.Override
public AvatarCase
getAvatarCase() {
return AvatarCase.forNumber(
avatarCase_);
}
private void clearAvatar() {
avatarCase_ = 0;
avatar_ = null;
}
private int avatarBackgroundColourCase_ = 0;
private java.lang.Object avatarBackgroundColour_;
public enum AvatarBackgroundColourCase {
SET_AVATAR_BACKGROUND_COLOUR(6),
DEL_AVATAR_BACKGROUND_COLOUR(7),
AVATARBACKGROUNDCOLOUR_NOT_SET(0);
private final int value;
private AvatarBackgroundColourCase(int value) {
this.value = value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static AvatarBackgroundColourCase valueOf(int value) {
return forNumber(value);
}
public static AvatarBackgroundColourCase forNumber(int value) {
switch (value) {
case 6: return SET_AVATAR_BACKGROUND_COLOUR;
case 7: return DEL_AVATAR_BACKGROUND_COLOUR;
case 0: return AVATARBACKGROUNDCOLOUR_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
@java.lang.Override
public AvatarBackgroundColourCase
getAvatarBackgroundColourCase() {
return AvatarBackgroundColourCase.forNumber(
avatarBackgroundColourCase_);
}
private void clearAvatarBackgroundColour() {
avatarBackgroundColourCase_ = 0;
avatarBackgroundColour_ = null;
}
private int timezoneCase_ = 0;
private java.lang.Object timezone_;
public enum TimezoneCase {
SET_TIMEZONE(8),
DEL_TIMEZONE(9),
TIMEZONE_NOT_SET(0);
private final int value;
private TimezoneCase(int value) {
this.value = value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static TimezoneCase valueOf(int value) {
return forNumber(value);
}
public static TimezoneCase forNumber(int value) {
switch (value) {
case 8: return SET_TIMEZONE;
case 9: return DEL_TIMEZONE;
case 0: return TIMEZONE_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
@java.lang.Override
public TimezoneCase
getTimezoneCase() {
return TimezoneCase.forNumber(
timezoneCase_);
}
private void clearTimezone() {
timezoneCase_ = 0;
timezone_ = null;
}
private int notificationPreferenceCase_ = 0;
private java.lang.Object notificationPreference_;
public enum NotificationPreferenceCase {
SET_NOTIFICATION_PREFERENCE(10),
DEL_NOTIFICATION_PREFERENCE(11),
NOTIFICATIONPREFERENCE_NOT_SET(0);
private final int value;
private NotificationPreferenceCase(int value) {
this.value = value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static NotificationPreferenceCase valueOf(int value) {
return forNumber(value);
}
public static NotificationPreferenceCase forNumber(int value) {
switch (value) {
case 10: return SET_NOTIFICATION_PREFERENCE;
case 11: return DEL_NOTIFICATION_PREFERENCE;
case 0: return NOTIFICATIONPREFERENCE_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
@java.lang.Override
public NotificationPreferenceCase
getNotificationPreferenceCase() {
return NotificationPreferenceCase.forNumber(
notificationPreferenceCase_);
}
private void clearNotificationPreference() {
notificationPreferenceCase_ = 0;
notificationPreference_ = null;
}
private int aliasCase_ = 0;
private java.lang.Object alias_;
public enum AliasCase {
SET_ALIAS(12),
DEL_ALIAS(13),
ALIAS_NOT_SET(0);
private final int value;
private AliasCase(int value) {
this.value = value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static AliasCase valueOf(int value) {
return forNumber(value);
}
public static AliasCase forNumber(int value) {
switch (value) {
case 12: return SET_ALIAS;
case 13: return DEL_ALIAS;
case 0: return ALIAS_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
@java.lang.Override
public AliasCase
getAliasCase() {
return AliasCase.forNumber(
aliasCase_);
}
private void clearAlias() {
aliasCase_ = 0;
alias_ = null;
}
public static final int SET_NAME_FIELD_NUMBER = 2;
/**
* string set_name = 2 [json_name = "setName"];
* @return Whether the setName field is set.
*/
@java.lang.Override
public boolean hasSetName() {
return nameCase_ == 2;
}
/**
* string set_name = 2 [json_name = "setName"];
* @return The setName.
*/
@java.lang.Override
public java.lang.String getSetName() {
java.lang.String ref = "";
if (nameCase_ == 2) {
ref = (java.lang.String) name_;
}
return ref;
}
/**
* string set_name = 2 [json_name = "setName"];
* @return The bytes for setName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSetNameBytes() {
java.lang.String ref = "";
if (nameCase_ == 2) {
ref = (java.lang.String) name_;
}
return com.google.protobuf.ByteString.copyFromUtf8(ref);
}
/**
* string set_name = 2 [json_name = "setName"];
* @param value The setName to set.
*/
private void setSetName(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
nameCase_ = 2;
name_ = value;
}
/**
* string set_name = 2 [json_name = "setName"];
*/
private void clearSetName() {
if (nameCase_ == 2) {
nameCase_ = 0;
name_ = null;
}
}
/**
* string set_name = 2 [json_name = "setName"];
* @param value The bytes for setName to set.
*/
private void setSetNameBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
name_ = value.toStringUtf8();
nameCase_ = 2;
}
public static final int DEL_NAME_FIELD_NUMBER = 3;
/**
* string del_name = 3 [json_name = "delName"];
* @return Whether the delName field is set.
*/
@java.lang.Override
public boolean hasDelName() {
return nameCase_ == 3;
}
/**
* string del_name = 3 [json_name = "delName"];
* @return The delName.
*/
@java.lang.Override
public java.lang.String getDelName() {
java.lang.String ref = "";
if (nameCase_ == 3) {
ref = (java.lang.String) name_;
}
return ref;
}
/**
* string del_name = 3 [json_name = "delName"];
* @return The bytes for delName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDelNameBytes() {
java.lang.String ref = "";
if (nameCase_ == 3) {
ref = (java.lang.String) name_;
}
return com.google.protobuf.ByteString.copyFromUtf8(ref);
}
/**
* string del_name = 3 [json_name = "delName"];
* @param value The delName to set.
*/
private void setDelName(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
nameCase_ = 3;
name_ = value;
}
/**
* string del_name = 3 [json_name = "delName"];
*/
private void clearDelName() {
if (nameCase_ == 3) {
nameCase_ = 0;
name_ = null;
}
}
/**
* string del_name = 3 [json_name = "delName"];
* @param value The bytes for delName to set.
*/
private void setDelNameBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
name_ = value.toStringUtf8();
nameCase_ = 3;
}
public static final int SET_AVATAR_FIELD_NUMBER = 4;
/**
* string set_avatar = 4 [json_name = "setAvatar"];
* @return Whether the setAvatar field is set.
*/
@java.lang.Override
public boolean hasSetAvatar() {
return avatarCase_ == 4;
}
/**
* string set_avatar = 4 [json_name = "setAvatar"];
* @return The setAvatar.
*/
@java.lang.Override
public java.lang.String getSetAvatar() {
java.lang.String ref = "";
if (avatarCase_ == 4) {
ref = (java.lang.String) avatar_;
}
return ref;
}
/**
* string set_avatar = 4 [json_name = "setAvatar"];
* @return The bytes for setAvatar.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSetAvatarBytes() {
java.lang.String ref = "";
if (avatarCase_ == 4) {
ref = (java.lang.String) avatar_;
}
return com.google.protobuf.ByteString.copyFromUtf8(ref);
}
/**
* string set_avatar = 4 [json_name = "setAvatar"];
* @param value The setAvatar to set.
*/
private void setSetAvatar(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
avatarCase_ = 4;
avatar_ = value;
}
/**
* string set_avatar = 4 [json_name = "setAvatar"];
*/
private void clearSetAvatar() {
if (avatarCase_ == 4) {
avatarCase_ = 0;
avatar_ = null;
}
}
/**
* string set_avatar = 4 [json_name = "setAvatar"];
* @param value The bytes for setAvatar to set.
*/
private void setSetAvatarBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
avatar_ = value.toStringUtf8();
avatarCase_ = 4;
}
public static final int DEL_AVATAR_FIELD_NUMBER = 5;
/**
* string del_avatar = 5 [json_name = "delAvatar"];
* @return Whether the delAvatar field is set.
*/
@java.lang.Override
public boolean hasDelAvatar() {
return avatarCase_ == 5;
}
/**
* string del_avatar = 5 [json_name = "delAvatar"];
* @return The delAvatar.
*/
@java.lang.Override
public java.lang.String getDelAvatar() {
java.lang.String ref = "";
if (avatarCase_ == 5) {
ref = (java.lang.String) avatar_;
}
return ref;
}
/**
* string del_avatar = 5 [json_name = "delAvatar"];
* @return The bytes for delAvatar.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDelAvatarBytes() {
java.lang.String ref = "";
if (avatarCase_ == 5) {
ref = (java.lang.String) avatar_;
}
return com.google.protobuf.ByteString.copyFromUtf8(ref);
}
/**
* string del_avatar = 5 [json_name = "delAvatar"];
* @param value The delAvatar to set.
*/
private void setDelAvatar(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
avatarCase_ = 5;
avatar_ = value;
}
/**
* string del_avatar = 5 [json_name = "delAvatar"];
*/
private void clearDelAvatar() {
if (avatarCase_ == 5) {
avatarCase_ = 0;
avatar_ = null;
}
}
/**
* string del_avatar = 5 [json_name = "delAvatar"];
* @param value The bytes for delAvatar to set.
*/
private void setDelAvatarBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
avatar_ = value.toStringUtf8();
avatarCase_ = 5;
}
public static final int SET_AVATAR_BACKGROUND_COLOUR_FIELD_NUMBER = 6;
/**
* string set_avatar_background_colour = 6 [json_name = "setAvatarBackgroundColour"];
* @return Whether the setAvatarBackgroundColour field is set.
*/
@java.lang.Override
public boolean hasSetAvatarBackgroundColour() {
return avatarBackgroundColourCase_ == 6;
}
/**
* string set_avatar_background_colour = 6 [json_name = "setAvatarBackgroundColour"];
* @return The setAvatarBackgroundColour.
*/
@java.lang.Override
public java.lang.String getSetAvatarBackgroundColour() {
java.lang.String ref = "";
if (avatarBackgroundColourCase_ == 6) {
ref = (java.lang.String) avatarBackgroundColour_;
}
return ref;
}
/**
* string set_avatar_background_colour = 6 [json_name = "setAvatarBackgroundColour"];
* @return The bytes for setAvatarBackgroundColour.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSetAvatarBackgroundColourBytes() {
java.lang.String ref = "";
if (avatarBackgroundColourCase_ == 6) {
ref = (java.lang.String) avatarBackgroundColour_;
}
return com.google.protobuf.ByteString.copyFromUtf8(ref);
}
/**
* string set_avatar_background_colour = 6 [json_name = "setAvatarBackgroundColour"];
* @param value The setAvatarBackgroundColour to set.
*/
private void setSetAvatarBackgroundColour(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
avatarBackgroundColourCase_ = 6;
avatarBackgroundColour_ = value;
}
/**
* string set_avatar_background_colour = 6 [json_name = "setAvatarBackgroundColour"];
*/
private void clearSetAvatarBackgroundColour() {
if (avatarBackgroundColourCase_ == 6) {
avatarBackgroundColourCase_ = 0;
avatarBackgroundColour_ = null;
}
}
/**
* string set_avatar_background_colour = 6 [json_name = "setAvatarBackgroundColour"];
* @param value The bytes for setAvatarBackgroundColour to set.
*/
private void setSetAvatarBackgroundColourBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
avatarBackgroundColour_ = value.toStringUtf8();
avatarBackgroundColourCase_ = 6;
}
public static final int DEL_AVATAR_BACKGROUND_COLOUR_FIELD_NUMBER = 7;
/**
* string del_avatar_background_colour = 7 [json_name = "delAvatarBackgroundColour"];
* @return Whether the delAvatarBackgroundColour field is set.
*/
@java.lang.Override
public boolean hasDelAvatarBackgroundColour() {
return avatarBackgroundColourCase_ == 7;
}
/**
* string del_avatar_background_colour = 7 [json_name = "delAvatarBackgroundColour"];
* @return The delAvatarBackgroundColour.
*/
@java.lang.Override
public java.lang.String getDelAvatarBackgroundColour() {
java.lang.String ref = "";
if (avatarBackgroundColourCase_ == 7) {
ref = (java.lang.String) avatarBackgroundColour_;
}
return ref;
}
/**
* string del_avatar_background_colour = 7 [json_name = "delAvatarBackgroundColour"];
* @return The bytes for delAvatarBackgroundColour.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDelAvatarBackgroundColourBytes() {
java.lang.String ref = "";
if (avatarBackgroundColourCase_ == 7) {
ref = (java.lang.String) avatarBackgroundColour_;
}
return com.google.protobuf.ByteString.copyFromUtf8(ref);
}
/**
* string del_avatar_background_colour = 7 [json_name = "delAvatarBackgroundColour"];
* @param value The delAvatarBackgroundColour to set.
*/
private void setDelAvatarBackgroundColour(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
avatarBackgroundColourCase_ = 7;
avatarBackgroundColour_ = value;
}
/**
* string del_avatar_background_colour = 7 [json_name = "delAvatarBackgroundColour"];
*/
private void clearDelAvatarBackgroundColour() {
if (avatarBackgroundColourCase_ == 7) {
avatarBackgroundColourCase_ = 0;
avatarBackgroundColour_ = null;
}
}
/**
* string del_avatar_background_colour = 7 [json_name = "delAvatarBackgroundColour"];
* @param value The bytes for delAvatarBackgroundColour to set.
*/
private void setDelAvatarBackgroundColourBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
avatarBackgroundColour_ = value.toStringUtf8();
avatarBackgroundColourCase_ = 7;
}
public static final int SET_TIMEZONE_FIELD_NUMBER = 8;
/**
* string set_timezone = 8 [json_name = "setTimezone"];
* @return Whether the setTimezone field is set.
*/
@java.lang.Override
public boolean hasSetTimezone() {
return timezoneCase_ == 8;
}
/**
* string set_timezone = 8 [json_name = "setTimezone"];
* @return The setTimezone.
*/
@java.lang.Override
public java.lang.String getSetTimezone() {
java.lang.String ref = "";
if (timezoneCase_ == 8) {
ref = (java.lang.String) timezone_;
}
return ref;
}
/**
* string set_timezone = 8 [json_name = "setTimezone"];
* @return The bytes for setTimezone.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSetTimezoneBytes() {
java.lang.String ref = "";
if (timezoneCase_ == 8) {
ref = (java.lang.String) timezone_;
}
return com.google.protobuf.ByteString.copyFromUtf8(ref);
}
/**
* string set_timezone = 8 [json_name = "setTimezone"];
* @param value The setTimezone to set.
*/
private void setSetTimezone(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
timezoneCase_ = 8;
timezone_ = value;
}
/**
* string set_timezone = 8 [json_name = "setTimezone"];
*/
private void clearSetTimezone() {
if (timezoneCase_ == 8) {
timezoneCase_ = 0;
timezone_ = null;
}
}
/**
* string set_timezone = 8 [json_name = "setTimezone"];
* @param value The bytes for setTimezone to set.
*/
private void setSetTimezoneBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
timezone_ = value.toStringUtf8();
timezoneCase_ = 8;
}
public static final int DEL_TIMEZONE_FIELD_NUMBER = 9;
/**
* string del_timezone = 9 [json_name = "delTimezone"];
* @return Whether the delTimezone field is set.
*/
@java.lang.Override
public boolean hasDelTimezone() {
return timezoneCase_ == 9;
}
/**
* string del_timezone = 9 [json_name = "delTimezone"];
* @return The delTimezone.
*/
@java.lang.Override
public java.lang.String getDelTimezone() {
java.lang.String ref = "";
if (timezoneCase_ == 9) {
ref = (java.lang.String) timezone_;
}
return ref;
}
/**
* string del_timezone = 9 [json_name = "delTimezone"];
* @return The bytes for delTimezone.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDelTimezoneBytes() {
java.lang.String ref = "";
if (timezoneCase_ == 9) {
ref = (java.lang.String) timezone_;
}
return com.google.protobuf.ByteString.copyFromUtf8(ref);
}
/**
* string del_timezone = 9 [json_name = "delTimezone"];
* @param value The delTimezone to set.
*/
private void setDelTimezone(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
timezoneCase_ = 9;
timezone_ = value;
}
/**
* string del_timezone = 9 [json_name = "delTimezone"];
*/
private void clearDelTimezone() {
if (timezoneCase_ == 9) {
timezoneCase_ = 0;
timezone_ = null;
}
}
/**
* string del_timezone = 9 [json_name = "delTimezone"];
* @param value The bytes for delTimezone to set.
*/
private void setDelTimezoneBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
timezone_ = value.toStringUtf8();
timezoneCase_ = 9;
}
public static final int SET_NOTIFICATION_PREFERENCE_FIELD_NUMBER = 10;
/**
* .streamlayer.users.UserNotificationPreference set_notification_preference = 10 [json_name = "setNotificationPreference"];
* @return Whether the setNotificationPreference field is set.
*/
@java.lang.Override
public boolean hasSetNotificationPreference() {
return notificationPreferenceCase_ == 10;
}
/**
* .streamlayer.users.UserNotificationPreference set_notification_preference = 10 [json_name = "setNotificationPreference"];
* @return The enum numeric value on the wire for setNotificationPreference.
*/
@java.lang.Override
public int getSetNotificationPreferenceValue() {
if (notificationPreferenceCase_ == 10) {
return (java.lang.Integer) notificationPreference_;
}
return 0;
}
/**
* .streamlayer.users.UserNotificationPreference set_notification_preference = 10 [json_name = "setNotificationPreference"];
* @return The setNotificationPreference.
*/
@java.lang.Override
public com.streamlayer.users.UserNotificationPreference getSetNotificationPreference() {
if (notificationPreferenceCase_ == 10) {
com.streamlayer.users.UserNotificationPreference result = com.streamlayer.users.UserNotificationPreference.forNumber((java.lang.Integer) notificationPreference_);
return result == null ? com.streamlayer.users.UserNotificationPreference.UNRECOGNIZED : result;
}
return com.streamlayer.users.UserNotificationPreference.USER_NOTIFICATION_PREFERENCE_UNSET;
}
/**
* .streamlayer.users.UserNotificationPreference set_notification_preference = 10 [json_name = "setNotificationPreference"];
* @param value The enum numeric value on the wire for setNotificationPreference to set.
*/
private void setSetNotificationPreferenceValue(int value) {
notificationPreferenceCase_ = 10;
notificationPreference_ = value;
}
/**
* .streamlayer.users.UserNotificationPreference set_notification_preference = 10 [json_name = "setNotificationPreference"];
* @param value The setNotificationPreference to set.
*/
private void setSetNotificationPreference(com.streamlayer.users.UserNotificationPreference value) {
notificationPreference_ = value.getNumber();
notificationPreferenceCase_ = 10;
}
/**
* .streamlayer.users.UserNotificationPreference set_notification_preference = 10 [json_name = "setNotificationPreference"];
*/
private void clearSetNotificationPreference() {
if (notificationPreferenceCase_ == 10) {
notificationPreferenceCase_ = 0;
notificationPreference_ = null;
}
}
public static final int DEL_NOTIFICATION_PREFERENCE_FIELD_NUMBER = 11;
/**
* .streamlayer.users.UserNotificationPreference del_notification_preference = 11 [json_name = "delNotificationPreference"];
* @return Whether the delNotificationPreference field is set.
*/
@java.lang.Override
public boolean hasDelNotificationPreference() {
return notificationPreferenceCase_ == 11;
}
/**
* .streamlayer.users.UserNotificationPreference del_notification_preference = 11 [json_name = "delNotificationPreference"];
* @return The enum numeric value on the wire for delNotificationPreference.
*/
@java.lang.Override
public int getDelNotificationPreferenceValue() {
if (notificationPreferenceCase_ == 11) {
return (java.lang.Integer) notificationPreference_;
}
return 0;
}
/**
* .streamlayer.users.UserNotificationPreference del_notification_preference = 11 [json_name = "delNotificationPreference"];
* @return The delNotificationPreference.
*/
@java.lang.Override
public com.streamlayer.users.UserNotificationPreference getDelNotificationPreference() {
if (notificationPreferenceCase_ == 11) {
com.streamlayer.users.UserNotificationPreference result = com.streamlayer.users.UserNotificationPreference.forNumber((java.lang.Integer) notificationPreference_);
return result == null ? com.streamlayer.users.UserNotificationPreference.UNRECOGNIZED : result;
}
return com.streamlayer.users.UserNotificationPreference.USER_NOTIFICATION_PREFERENCE_UNSET;
}
/**
* .streamlayer.users.UserNotificationPreference del_notification_preference = 11 [json_name = "delNotificationPreference"];
* @param value The enum numeric value on the wire for delNotificationPreference to set.
*/
private void setDelNotificationPreferenceValue(int value) {
notificationPreferenceCase_ = 11;
notificationPreference_ = value;
}
/**
* .streamlayer.users.UserNotificationPreference del_notification_preference = 11 [json_name = "delNotificationPreference"];
* @param value The delNotificationPreference to set.
*/
private void setDelNotificationPreference(com.streamlayer.users.UserNotificationPreference value) {
notificationPreference_ = value.getNumber();
notificationPreferenceCase_ = 11;
}
/**
* .streamlayer.users.UserNotificationPreference del_notification_preference = 11 [json_name = "delNotificationPreference"];
*/
private void clearDelNotificationPreference() {
if (notificationPreferenceCase_ == 11) {
notificationPreferenceCase_ = 0;
notificationPreference_ = null;
}
}
public static final int SET_ALIAS_FIELD_NUMBER = 12;
/**
* string set_alias = 12 [json_name = "setAlias"];
* @return Whether the setAlias field is set.
*/
@java.lang.Override
public boolean hasSetAlias() {
return aliasCase_ == 12;
}
/**
* string set_alias = 12 [json_name = "setAlias"];
* @return The setAlias.
*/
@java.lang.Override
public java.lang.String getSetAlias() {
java.lang.String ref = "";
if (aliasCase_ == 12) {
ref = (java.lang.String) alias_;
}
return ref;
}
/**
* string set_alias = 12 [json_name = "setAlias"];
* @return The bytes for setAlias.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSetAliasBytes() {
java.lang.String ref = "";
if (aliasCase_ == 12) {
ref = (java.lang.String) alias_;
}
return com.google.protobuf.ByteString.copyFromUtf8(ref);
}
/**
* string set_alias = 12 [json_name = "setAlias"];
* @param value The setAlias to set.
*/
private void setSetAlias(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
aliasCase_ = 12;
alias_ = value;
}
/**
* string set_alias = 12 [json_name = "setAlias"];
*/
private void clearSetAlias() {
if (aliasCase_ == 12) {
aliasCase_ = 0;
alias_ = null;
}
}
/**
* string set_alias = 12 [json_name = "setAlias"];
* @param value The bytes for setAlias to set.
*/
private void setSetAliasBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
alias_ = value.toStringUtf8();
aliasCase_ = 12;
}
public static final int DEL_ALIAS_FIELD_NUMBER = 13;
/**
* string del_alias = 13 [json_name = "delAlias"];
* @return Whether the delAlias field is set.
*/
@java.lang.Override
public boolean hasDelAlias() {
return aliasCase_ == 13;
}
/**
* string del_alias = 13 [json_name = "delAlias"];
* @return The delAlias.
*/
@java.lang.Override
public java.lang.String getDelAlias() {
java.lang.String ref = "";
if (aliasCase_ == 13) {
ref = (java.lang.String) alias_;
}
return ref;
}
/**
* string del_alias = 13 [json_name = "delAlias"];
* @return The bytes for delAlias.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDelAliasBytes() {
java.lang.String ref = "";
if (aliasCase_ == 13) {
ref = (java.lang.String) alias_;
}
return com.google.protobuf.ByteString.copyFromUtf8(ref);
}
/**
* string del_alias = 13 [json_name = "delAlias"];
* @param value The delAlias to set.
*/
private void setDelAlias(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
aliasCase_ = 13;
alias_ = value;
}
/**
* string del_alias = 13 [json_name = "delAlias"];
*/
private void clearDelAlias() {
if (aliasCase_ == 13) {
aliasCase_ = 0;
alias_ = null;
}
}
/**
* string del_alias = 13 [json_name = "delAlias"];
* @param value The bytes for delAlias to set.
*/
private void setDelAliasBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
alias_ = value.toStringUtf8();
aliasCase_ = 13;
}
public static com.streamlayer.studio.users.UpdateRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.studio.users.UpdateRequest 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.studio.users.UpdateRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.studio.users.UpdateRequest 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.studio.users.UpdateRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.studio.users.UpdateRequest 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.studio.users.UpdateRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.studio.users.UpdateRequest 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.studio.users.UpdateRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.studio.users.UpdateRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.studio.users.UpdateRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.studio.users.UpdateRequest 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.studio.users.UpdateRequest prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.studio.users.UpdateRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.studio.users.UpdateRequest, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.studio.users.UpdateRequest)
com.streamlayer.studio.users.UpdateRequestOrBuilder {
// Construct using com.streamlayer.studio.users.UpdateRequest.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
@java.lang.Override
public NameCase
getNameCase() {
return instance.getNameCase();
}
public Builder clearName() {
copyOnWrite();
instance.clearName();
return this;
}
@java.lang.Override
public AvatarCase
getAvatarCase() {
return instance.getAvatarCase();
}
public Builder clearAvatar() {
copyOnWrite();
instance.clearAvatar();
return this;
}
@java.lang.Override
public AvatarBackgroundColourCase
getAvatarBackgroundColourCase() {
return instance.getAvatarBackgroundColourCase();
}
public Builder clearAvatarBackgroundColour() {
copyOnWrite();
instance.clearAvatarBackgroundColour();
return this;
}
@java.lang.Override
public TimezoneCase
getTimezoneCase() {
return instance.getTimezoneCase();
}
public Builder clearTimezone() {
copyOnWrite();
instance.clearTimezone();
return this;
}
@java.lang.Override
public NotificationPreferenceCase
getNotificationPreferenceCase() {
return instance.getNotificationPreferenceCase();
}
public Builder clearNotificationPreference() {
copyOnWrite();
instance.clearNotificationPreference();
return this;
}
@java.lang.Override
public AliasCase
getAliasCase() {
return instance.getAliasCase();
}
public Builder clearAlias() {
copyOnWrite();
instance.clearAlias();
return this;
}
/**
* string set_name = 2 [json_name = "setName"];
* @return Whether the setName field is set.
*/
@java.lang.Override
public boolean hasSetName() {
return instance.hasSetName();
}
/**
* string set_name = 2 [json_name = "setName"];
* @return The setName.
*/
@java.lang.Override
public java.lang.String getSetName() {
return instance.getSetName();
}
/**
* string set_name = 2 [json_name = "setName"];
* @return The bytes for setName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSetNameBytes() {
return instance.getSetNameBytes();
}
/**
* string set_name = 2 [json_name = "setName"];
* @param value The setName to set.
* @return This builder for chaining.
*/
public Builder setSetName(
java.lang.String value) {
copyOnWrite();
instance.setSetName(value);
return this;
}
/**
* string set_name = 2 [json_name = "setName"];
* @return This builder for chaining.
*/
public Builder clearSetName() {
copyOnWrite();
instance.clearSetName();
return this;
}
/**
* string set_name = 2 [json_name = "setName"];
* @param value The bytes for setName to set.
* @return This builder for chaining.
*/
public Builder setSetNameBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setSetNameBytes(value);
return this;
}
/**
* string del_name = 3 [json_name = "delName"];
* @return Whether the delName field is set.
*/
@java.lang.Override
public boolean hasDelName() {
return instance.hasDelName();
}
/**
* string del_name = 3 [json_name = "delName"];
* @return The delName.
*/
@java.lang.Override
public java.lang.String getDelName() {
return instance.getDelName();
}
/**
* string del_name = 3 [json_name = "delName"];
* @return The bytes for delName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDelNameBytes() {
return instance.getDelNameBytes();
}
/**
* string del_name = 3 [json_name = "delName"];
* @param value The delName to set.
* @return This builder for chaining.
*/
public Builder setDelName(
java.lang.String value) {
copyOnWrite();
instance.setDelName(value);
return this;
}
/**
* string del_name = 3 [json_name = "delName"];
* @return This builder for chaining.
*/
public Builder clearDelName() {
copyOnWrite();
instance.clearDelName();
return this;
}
/**
* string del_name = 3 [json_name = "delName"];
* @param value The bytes for delName to set.
* @return This builder for chaining.
*/
public Builder setDelNameBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setDelNameBytes(value);
return this;
}
/**
* string set_avatar = 4 [json_name = "setAvatar"];
* @return Whether the setAvatar field is set.
*/
@java.lang.Override
public boolean hasSetAvatar() {
return instance.hasSetAvatar();
}
/**
* string set_avatar = 4 [json_name = "setAvatar"];
* @return The setAvatar.
*/
@java.lang.Override
public java.lang.String getSetAvatar() {
return instance.getSetAvatar();
}
/**
* string set_avatar = 4 [json_name = "setAvatar"];
* @return The bytes for setAvatar.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSetAvatarBytes() {
return instance.getSetAvatarBytes();
}
/**
* string set_avatar = 4 [json_name = "setAvatar"];
* @param value The setAvatar to set.
* @return This builder for chaining.
*/
public Builder setSetAvatar(
java.lang.String value) {
copyOnWrite();
instance.setSetAvatar(value);
return this;
}
/**
* string set_avatar = 4 [json_name = "setAvatar"];
* @return This builder for chaining.
*/
public Builder clearSetAvatar() {
copyOnWrite();
instance.clearSetAvatar();
return this;
}
/**
* string set_avatar = 4 [json_name = "setAvatar"];
* @param value The bytes for setAvatar to set.
* @return This builder for chaining.
*/
public Builder setSetAvatarBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setSetAvatarBytes(value);
return this;
}
/**
* string del_avatar = 5 [json_name = "delAvatar"];
* @return Whether the delAvatar field is set.
*/
@java.lang.Override
public boolean hasDelAvatar() {
return instance.hasDelAvatar();
}
/**
* string del_avatar = 5 [json_name = "delAvatar"];
* @return The delAvatar.
*/
@java.lang.Override
public java.lang.String getDelAvatar() {
return instance.getDelAvatar();
}
/**
* string del_avatar = 5 [json_name = "delAvatar"];
* @return The bytes for delAvatar.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDelAvatarBytes() {
return instance.getDelAvatarBytes();
}
/**
* string del_avatar = 5 [json_name = "delAvatar"];
* @param value The delAvatar to set.
* @return This builder for chaining.
*/
public Builder setDelAvatar(
java.lang.String value) {
copyOnWrite();
instance.setDelAvatar(value);
return this;
}
/**
* string del_avatar = 5 [json_name = "delAvatar"];
* @return This builder for chaining.
*/
public Builder clearDelAvatar() {
copyOnWrite();
instance.clearDelAvatar();
return this;
}
/**
* string del_avatar = 5 [json_name = "delAvatar"];
* @param value The bytes for delAvatar to set.
* @return This builder for chaining.
*/
public Builder setDelAvatarBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setDelAvatarBytes(value);
return this;
}
/**
* string set_avatar_background_colour = 6 [json_name = "setAvatarBackgroundColour"];
* @return Whether the setAvatarBackgroundColour field is set.
*/
@java.lang.Override
public boolean hasSetAvatarBackgroundColour() {
return instance.hasSetAvatarBackgroundColour();
}
/**
* string set_avatar_background_colour = 6 [json_name = "setAvatarBackgroundColour"];
* @return The setAvatarBackgroundColour.
*/
@java.lang.Override
public java.lang.String getSetAvatarBackgroundColour() {
return instance.getSetAvatarBackgroundColour();
}
/**
* string set_avatar_background_colour = 6 [json_name = "setAvatarBackgroundColour"];
* @return The bytes for setAvatarBackgroundColour.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSetAvatarBackgroundColourBytes() {
return instance.getSetAvatarBackgroundColourBytes();
}
/**
* string set_avatar_background_colour = 6 [json_name = "setAvatarBackgroundColour"];
* @param value The setAvatarBackgroundColour to set.
* @return This builder for chaining.
*/
public Builder setSetAvatarBackgroundColour(
java.lang.String value) {
copyOnWrite();
instance.setSetAvatarBackgroundColour(value);
return this;
}
/**
* string set_avatar_background_colour = 6 [json_name = "setAvatarBackgroundColour"];
* @return This builder for chaining.
*/
public Builder clearSetAvatarBackgroundColour() {
copyOnWrite();
instance.clearSetAvatarBackgroundColour();
return this;
}
/**
* string set_avatar_background_colour = 6 [json_name = "setAvatarBackgroundColour"];
* @param value The bytes for setAvatarBackgroundColour to set.
* @return This builder for chaining.
*/
public Builder setSetAvatarBackgroundColourBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setSetAvatarBackgroundColourBytes(value);
return this;
}
/**
* string del_avatar_background_colour = 7 [json_name = "delAvatarBackgroundColour"];
* @return Whether the delAvatarBackgroundColour field is set.
*/
@java.lang.Override
public boolean hasDelAvatarBackgroundColour() {
return instance.hasDelAvatarBackgroundColour();
}
/**
* string del_avatar_background_colour = 7 [json_name = "delAvatarBackgroundColour"];
* @return The delAvatarBackgroundColour.
*/
@java.lang.Override
public java.lang.String getDelAvatarBackgroundColour() {
return instance.getDelAvatarBackgroundColour();
}
/**
* string del_avatar_background_colour = 7 [json_name = "delAvatarBackgroundColour"];
* @return The bytes for delAvatarBackgroundColour.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDelAvatarBackgroundColourBytes() {
return instance.getDelAvatarBackgroundColourBytes();
}
/**
* string del_avatar_background_colour = 7 [json_name = "delAvatarBackgroundColour"];
* @param value The delAvatarBackgroundColour to set.
* @return This builder for chaining.
*/
public Builder setDelAvatarBackgroundColour(
java.lang.String value) {
copyOnWrite();
instance.setDelAvatarBackgroundColour(value);
return this;
}
/**
* string del_avatar_background_colour = 7 [json_name = "delAvatarBackgroundColour"];
* @return This builder for chaining.
*/
public Builder clearDelAvatarBackgroundColour() {
copyOnWrite();
instance.clearDelAvatarBackgroundColour();
return this;
}
/**
* string del_avatar_background_colour = 7 [json_name = "delAvatarBackgroundColour"];
* @param value The bytes for delAvatarBackgroundColour to set.
* @return This builder for chaining.
*/
public Builder setDelAvatarBackgroundColourBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setDelAvatarBackgroundColourBytes(value);
return this;
}
/**
* string set_timezone = 8 [json_name = "setTimezone"];
* @return Whether the setTimezone field is set.
*/
@java.lang.Override
public boolean hasSetTimezone() {
return instance.hasSetTimezone();
}
/**
* string set_timezone = 8 [json_name = "setTimezone"];
* @return The setTimezone.
*/
@java.lang.Override
public java.lang.String getSetTimezone() {
return instance.getSetTimezone();
}
/**
* string set_timezone = 8 [json_name = "setTimezone"];
* @return The bytes for setTimezone.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSetTimezoneBytes() {
return instance.getSetTimezoneBytes();
}
/**
* string set_timezone = 8 [json_name = "setTimezone"];
* @param value The setTimezone to set.
* @return This builder for chaining.
*/
public Builder setSetTimezone(
java.lang.String value) {
copyOnWrite();
instance.setSetTimezone(value);
return this;
}
/**
* string set_timezone = 8 [json_name = "setTimezone"];
* @return This builder for chaining.
*/
public Builder clearSetTimezone() {
copyOnWrite();
instance.clearSetTimezone();
return this;
}
/**
* string set_timezone = 8 [json_name = "setTimezone"];
* @param value The bytes for setTimezone to set.
* @return This builder for chaining.
*/
public Builder setSetTimezoneBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setSetTimezoneBytes(value);
return this;
}
/**
* string del_timezone = 9 [json_name = "delTimezone"];
* @return Whether the delTimezone field is set.
*/
@java.lang.Override
public boolean hasDelTimezone() {
return instance.hasDelTimezone();
}
/**
* string del_timezone = 9 [json_name = "delTimezone"];
* @return The delTimezone.
*/
@java.lang.Override
public java.lang.String getDelTimezone() {
return instance.getDelTimezone();
}
/**
* string del_timezone = 9 [json_name = "delTimezone"];
* @return The bytes for delTimezone.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDelTimezoneBytes() {
return instance.getDelTimezoneBytes();
}
/**
* string del_timezone = 9 [json_name = "delTimezone"];
* @param value The delTimezone to set.
* @return This builder for chaining.
*/
public Builder setDelTimezone(
java.lang.String value) {
copyOnWrite();
instance.setDelTimezone(value);
return this;
}
/**
* string del_timezone = 9 [json_name = "delTimezone"];
* @return This builder for chaining.
*/
public Builder clearDelTimezone() {
copyOnWrite();
instance.clearDelTimezone();
return this;
}
/**
* string del_timezone = 9 [json_name = "delTimezone"];
* @param value The bytes for delTimezone to set.
* @return This builder for chaining.
*/
public Builder setDelTimezoneBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setDelTimezoneBytes(value);
return this;
}
/**
* .streamlayer.users.UserNotificationPreference set_notification_preference = 10 [json_name = "setNotificationPreference"];
* @return Whether the setNotificationPreference field is set.
*/
@java.lang.Override
public boolean hasSetNotificationPreference() {
return instance.hasSetNotificationPreference();
}
/**
* .streamlayer.users.UserNotificationPreference set_notification_preference = 10 [json_name = "setNotificationPreference"];
* @return The enum numeric value on the wire for setNotificationPreference.
*/
@java.lang.Override
public int getSetNotificationPreferenceValue() {
return instance.getSetNotificationPreferenceValue();
}
/**
* .streamlayer.users.UserNotificationPreference set_notification_preference = 10 [json_name = "setNotificationPreference"];
* @param value The enum numeric value on the wire for setNotificationPreference to set.
* @return This builder for chaining.
*/
public Builder setSetNotificationPreferenceValue(int value) {
copyOnWrite();
instance.setSetNotificationPreferenceValue(value);
return this;
}
/**
* .streamlayer.users.UserNotificationPreference set_notification_preference = 10 [json_name = "setNotificationPreference"];
* @return The setNotificationPreference.
*/
@java.lang.Override
public com.streamlayer.users.UserNotificationPreference getSetNotificationPreference() {
return instance.getSetNotificationPreference();
}
/**
* .streamlayer.users.UserNotificationPreference set_notification_preference = 10 [json_name = "setNotificationPreference"];
* @param value The setNotificationPreference to set.
* @return This builder for chaining.
*/
public Builder setSetNotificationPreference(com.streamlayer.users.UserNotificationPreference value) {
copyOnWrite();
instance.setSetNotificationPreference(value);
return this;
}
/**
* .streamlayer.users.UserNotificationPreference set_notification_preference = 10 [json_name = "setNotificationPreference"];
* @return This builder for chaining.
*/
public Builder clearSetNotificationPreference() {
copyOnWrite();
instance.clearSetNotificationPreference();
return this;
}
/**
* .streamlayer.users.UserNotificationPreference del_notification_preference = 11 [json_name = "delNotificationPreference"];
* @return Whether the delNotificationPreference field is set.
*/
@java.lang.Override
public boolean hasDelNotificationPreference() {
return instance.hasDelNotificationPreference();
}
/**
* .streamlayer.users.UserNotificationPreference del_notification_preference = 11 [json_name = "delNotificationPreference"];
* @return The enum numeric value on the wire for delNotificationPreference.
*/
@java.lang.Override
public int getDelNotificationPreferenceValue() {
return instance.getDelNotificationPreferenceValue();
}
/**
* .streamlayer.users.UserNotificationPreference del_notification_preference = 11 [json_name = "delNotificationPreference"];
* @param value The enum numeric value on the wire for delNotificationPreference to set.
* @return This builder for chaining.
*/
public Builder setDelNotificationPreferenceValue(int value) {
copyOnWrite();
instance.setDelNotificationPreferenceValue(value);
return this;
}
/**
* .streamlayer.users.UserNotificationPreference del_notification_preference = 11 [json_name = "delNotificationPreference"];
* @return The delNotificationPreference.
*/
@java.lang.Override
public com.streamlayer.users.UserNotificationPreference getDelNotificationPreference() {
return instance.getDelNotificationPreference();
}
/**
* .streamlayer.users.UserNotificationPreference del_notification_preference = 11 [json_name = "delNotificationPreference"];
* @param value The delNotificationPreference to set.
* @return This builder for chaining.
*/
public Builder setDelNotificationPreference(com.streamlayer.users.UserNotificationPreference value) {
copyOnWrite();
instance.setDelNotificationPreference(value);
return this;
}
/**
* .streamlayer.users.UserNotificationPreference del_notification_preference = 11 [json_name = "delNotificationPreference"];
* @return This builder for chaining.
*/
public Builder clearDelNotificationPreference() {
copyOnWrite();
instance.clearDelNotificationPreference();
return this;
}
/**
* string set_alias = 12 [json_name = "setAlias"];
* @return Whether the setAlias field is set.
*/
@java.lang.Override
public boolean hasSetAlias() {
return instance.hasSetAlias();
}
/**
* string set_alias = 12 [json_name = "setAlias"];
* @return The setAlias.
*/
@java.lang.Override
public java.lang.String getSetAlias() {
return instance.getSetAlias();
}
/**
* string set_alias = 12 [json_name = "setAlias"];
* @return The bytes for setAlias.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSetAliasBytes() {
return instance.getSetAliasBytes();
}
/**
* string set_alias = 12 [json_name = "setAlias"];
* @param value The setAlias to set.
* @return This builder for chaining.
*/
public Builder setSetAlias(
java.lang.String value) {
copyOnWrite();
instance.setSetAlias(value);
return this;
}
/**
* string set_alias = 12 [json_name = "setAlias"];
* @return This builder for chaining.
*/
public Builder clearSetAlias() {
copyOnWrite();
instance.clearSetAlias();
return this;
}
/**
* string set_alias = 12 [json_name = "setAlias"];
* @param value The bytes for setAlias to set.
* @return This builder for chaining.
*/
public Builder setSetAliasBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setSetAliasBytes(value);
return this;
}
/**
* string del_alias = 13 [json_name = "delAlias"];
* @return Whether the delAlias field is set.
*/
@java.lang.Override
public boolean hasDelAlias() {
return instance.hasDelAlias();
}
/**
* string del_alias = 13 [json_name = "delAlias"];
* @return The delAlias.
*/
@java.lang.Override
public java.lang.String getDelAlias() {
return instance.getDelAlias();
}
/**
* string del_alias = 13 [json_name = "delAlias"];
* @return The bytes for delAlias.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDelAliasBytes() {
return instance.getDelAliasBytes();
}
/**
* string del_alias = 13 [json_name = "delAlias"];
* @param value The delAlias to set.
* @return This builder for chaining.
*/
public Builder setDelAlias(
java.lang.String value) {
copyOnWrite();
instance.setDelAlias(value);
return this;
}
/**
* string del_alias = 13 [json_name = "delAlias"];
* @return This builder for chaining.
*/
public Builder clearDelAlias() {
copyOnWrite();
instance.clearDelAlias();
return this;
}
/**
* string del_alias = 13 [json_name = "delAlias"];
* @param value The bytes for delAlias to set.
* @return This builder for chaining.
*/
public Builder setDelAliasBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setDelAliasBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.studio.users.UpdateRequest)
}
@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.studio.users.UpdateRequest();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"name_",
"nameCase_",
"avatar_",
"avatarCase_",
"avatarBackgroundColour_",
"avatarBackgroundColourCase_",
"timezone_",
"timezoneCase_",
"notificationPreference_",
"notificationPreferenceCase_",
"alias_",
"aliasCase_",
};
java.lang.String info =
"\u0000\f\u0006\u0000\u0002\r\f\u0000\u0000\u0000\u0002\u023b\u0000\u0003\u023b\u0000" +
"\u0004\u023b\u0001\u0005\u023b\u0001\u0006\u023b\u0002\u0007\u023b\u0002\b\u023b" +
"\u0003\t\u023b\u0003\n?\u0004\u000b?\u0004\f\u023b\u0005\r\u023b\u0005";
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.studio.users.UpdateRequest.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.studio.users.UpdateRequest)
private static final com.streamlayer.studio.users.UpdateRequest DEFAULT_INSTANCE;
static {
UpdateRequest defaultInstance = new UpdateRequest();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
UpdateRequest.class, defaultInstance);
}
public static com.streamlayer.studio.users.UpdateRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}