From 0a6ecff6f3059336bea174c39c78b2cad95b731b Mon Sep 17 00:00:00 2001 From: Daniel Lublin Date: Sat, 11 Apr 2020 21:46:07 +0200 Subject: Update (add) protobuf spec file and recompile to java Bumping the protobuf-java implementation as well. --- build.gradle | 2 +- src/Mumble.proto | 573 + src/main/java/se/lublin/humla/protobuf/Mumble.java | 22622 ++++++++++++++----- 3 files changed, 17268 insertions(+), 5929 deletions(-) create mode 100644 src/Mumble.proto diff --git a/build.gradle b/build.gradle index 66b23d5..8b88493 100644 --- a/build.gradle +++ b/build.gradle @@ -32,7 +32,7 @@ repositories { } dependencies { - api 'com.google.protobuf:protobuf-java:3.4.0' + api 'com.google.protobuf:protobuf-java:3.11.4' api 'com.madgag.spongycastle:core:1.51.0.0' // Custom PKCS12 keybag parse modifications to support Mumble unencrypted certificates diff --git a/src/Mumble.proto b/src/Mumble.proto new file mode 100644 index 0000000..62ec0d0 --- /dev/null +++ b/src/Mumble.proto @@ -0,0 +1,573 @@ +// This is src/Mumble.proto from the Mumble repository at 1.3.1-rc1 (branch 1.3.x). +// Going to compile to java classes using protoc from libprotoc 3.11.4. +// NOTE: java compile options added at the bottom of this file. +// +// Copyright 2005-2019 The Mumble Developers. All rights reserved. +// Use of this source code is governed by a BSD-style license +// that can be found in the LICENSE file at the root of the +// Mumble source tree or at . + +syntax = "proto2"; + +package MumbleProto; + +option optimize_for = SPEED; + +message Version { + // 2-byte Major, 1-byte Minor and 1-byte Patch version number. + optional uint32 version = 1; + // Client release name. + optional string release = 2; + // Client OS name. + optional string os = 3; + // Client OS version. + optional string os_version = 4; +} + +// Not used. Not even for tunneling UDP through TCP. +message UDPTunnel { + // Not used. + required bytes packet = 1; +} + +// Used by the client to send the authentication credentials to the server. +message Authenticate { + // UTF-8 encoded username. + optional string username = 1; + // Server or user password. + optional string password = 2; + // Additional access tokens for server ACL groups. + repeated string tokens = 3; + // A list of CELT bitstream version constants supported by the client. + repeated int32 celt_versions = 4; + optional bool opus = 5 [default = false]; +} + +// Sent by the client to notify the server that the client is still alive. +// Server must reply to the packet with the same timestamp and its own +// good/late/lost/resync numbers. None of the fields is strictly required. +message Ping { + // Client timestamp. Server should not attempt to decode. + optional uint64 timestamp = 1; + // The amount of good packets received. + optional uint32 good = 2; + // The amount of late packets received. + optional uint32 late = 3; + // The amount of packets never received. + optional uint32 lost = 4; + // The amount of nonce resyncs. + optional uint32 resync = 5; + // The total amount of UDP packets received. + optional uint32 udp_packets = 6; + // The total amount of TCP packets received. + optional uint32 tcp_packets = 7; + // UDP ping average. + optional float udp_ping_avg = 8; + // UDP ping variance. + optional float udp_ping_var = 9; + // TCP ping average. + optional float tcp_ping_avg = 10; + // TCP ping variance. + optional float tcp_ping_var = 11; +} + +// Sent by the server when it rejects the user connection. +message Reject { + enum RejectType { + // The rejection reason is unknown (details should be available + // in Reject.reason). + None = 0; + // The client attempted to connect with an incompatible version. + WrongVersion = 1; + // The user name supplied by the client was invalid. + InvalidUsername = 2; + // The client attempted to authenticate as a user with a password but it + // was wrong. + WrongUserPW = 3; + // The client attempted to connect to a passworded server but the password + // was wrong. + WrongServerPW = 4; + // Supplied username is already in use. + UsernameInUse = 5; + // Server is currently full and cannot accept more users. + ServerFull = 6; + // The user did not provide a certificate but one is required. + NoCertificate = 7; + AuthenticatorFail = 8; + } + // Rejection type. + optional RejectType type = 1; + // Human readable rejection reason. + optional string reason = 2; +} + +// ServerSync message is sent by the server when it has authenticated the user +// and finished synchronizing the server state. +message ServerSync { + // The session of the current user. + optional uint32 session = 1; + // Maximum bandwidth that the user should use. + optional uint32 max_bandwidth = 2; + // Server welcome text. + optional string welcome_text = 3; + // Current user permissions in the root channel. + optional uint64 permissions = 4; +} + +// Sent by the client when it wants a channel removed. Sent by the server when +// a channel has been removed and clients should be notified. +message ChannelRemove { + required uint32 channel_id = 1; +} + +// Used to communicate channel properties between the client and the server. +// Sent by the server during the login process or when channel properties are +// updated. Client may use this message to update said channel properties. +message ChannelState { + // Unique ID for the channel within the server. + optional uint32 channel_id = 1; + // channel_id of the parent channel. + optional uint32 parent = 2; + // UTF-8 encoded channel name. + optional string name = 3; + // A collection of channel id values of the linked channels. Absent during + // the first channel listing. + repeated uint32 links = 4; + // UTF-8 encoded channel description. Only if the description is less than + // 128 bytes + optional string description = 5; + // A collection of channel_id values that should be added to links. + repeated uint32 links_add = 6; + // A collection of channel_id values that should be removed from links. + repeated uint32 links_remove = 7; + // True if the channel is temporary. + optional bool temporary = 8 [default = false]; + // Position weight to tweak the channel position in the channel list. + optional int32 position = 9 [default = 0]; + // SHA1 hash of the description if the description is 128 bytes or more. + optional bytes description_hash = 10; + // Maximum number of users allowed in the channel. If this value is zero, + // the maximum number of users allowed in the channel is given by the + // server's "usersperchannel" setting. + optional uint32 max_users = 11; +} + +// Used to communicate user leaving or being kicked. May be sent by the client +// when it attempts to kick a user. Sent by the server when it informs the +// clients that a user is not present anymore. +message UserRemove { + // The user who is being kicked, identified by their session, not present + // when no one is being kicked. + required uint32 session = 1; + // The user who initiated the removal. Either the user who performs the kick + // or the user who is currently leaving. + optional uint32 actor = 2; + // Reason for the kick, stored as the ban reason if the user is banned. + optional string reason = 3; + // True if the kick should result in a ban. + optional bool ban = 4; +} + +// Sent by the server when it communicates new and changed users to client. +// First seen during login procedure. May be sent by the client when it wishes +// to alter its state. +message UserState { + // Unique user session ID of the user whose state this is, may change on + // reconnect. + optional uint32 session = 1; + // The session of the user who is updating this user. + optional uint32 actor = 2; + // User name, UTF-8 encoded. + optional string name = 3; + // Registered user ID if the user is registered. + optional uint32 user_id = 4; + // Channel on which the user is. + optional uint32 channel_id = 5; + // True if the user is muted by admin. + optional bool mute = 6; + // True if the user is deafened by admin. + optional bool deaf = 7; + // True if the user has been suppressed from talking by a reason other than + // being muted. + optional bool suppress = 8; + // True if the user has muted self. + optional bool self_mute = 9; + // True if the user has deafened self. + optional bool self_deaf = 10; + // User image if it is less than 128 bytes. + optional bytes texture = 11; + // The positional audio plugin identifier. + // Positional audio information is only sent to users who share + // identical plugin contexts. + // + // This value is not trasmitted to clients. + optional bytes plugin_context = 12; + // The user's plugin-specific identity. + // This value is not transmitted to clients. + optional string plugin_identity = 13; + // User comment if it is less than 128 bytes. + optional string comment = 14; + // The hash of the user certificate. + optional string hash = 15; + // SHA1 hash of the user comment if it 128 bytes or more. + optional bytes comment_hash = 16; + // SHA1 hash of the user picture if it 128 bytes or more. + optional bytes texture_hash = 17; + // True if the user is a priority speaker. + optional bool priority_speaker = 18; + // True if the user is currently recording. + optional bool recording = 19; +} + +// Relays information on the bans. The client may send the BanList message to +// either modify the list of bans or query them from the server. The server +// sends this list only after a client queries for it. +message BanList { + message BanEntry { + // Banned IP address. + required bytes address = 1; + // The length of the subnet mask for the ban. + required uint32 mask = 2; + // User name for identification purposes (does not affect the ban). + optional string name = 3; + // The certificate hash of the banned user. + optional string hash = 4; + // Reason for the ban (does not affect the ban). + optional string reason = 5; + // Ban start time. + optional string start = 6; + // Ban duration in seconds. + optional uint32 duration = 7; + } + // List of ban entries currently in place. + repeated BanEntry bans = 1; + // True if the server should return the list, false if it should replace old + // ban list with the one provided. + optional bool query = 2 [default = false]; +} + +// Used to send and broadcast text messages. +message TextMessage { + // The message sender, identified by its session. + optional uint32 actor = 1; + // Target users for the message, identified by their session. + repeated uint32 session = 2; + // The channels to which the message is sent, identified by their + // channel_ids. + repeated uint32 channel_id = 3; + // The root channels when sending message recursively to several channels, + // identified by their channel_ids. + repeated uint32 tree_id = 4; + // The UTF-8 encoded message. May be HTML if the server allows. + required string message = 5; +} + +message PermissionDenied { + enum DenyType { + // Operation denied for other reason, see reason field. + Text = 0; + // Permissions were denied. + Permission = 1; + // Cannot modify SuperUser. + SuperUser = 2; + // Invalid channel name. + ChannelName = 3; + // Text message too long. + TextTooLong = 4; + // The flux capacitor was spelled wrong. + H9K = 5; + // Operation not permitted in temporary channel. + TemporaryChannel = 6; + // Operation requires certificate. + MissingCertificate = 7; + // Invalid username. + UserName = 8; + // Channel is full. + ChannelFull = 9; + // Channels are nested too deply. + NestingLimit = 10; + // Maximum channel count reached. + ChannelCountLimit = 11; + } + // The denied permission when type is Permission. + optional uint32 permission = 1; + // channel_id for the channel where the permission was denied when type is + // Permission. + optional uint32 channel_id = 2; + // The user who was denied permissions, identified by session. + optional uint32 session = 3; + // Textual reason for the denial. + optional string reason = 4; + // Type of the denial. + optional DenyType type = 5; + // The name that is invalid when type is UserName. + optional string name = 6; +} + +message ACL { + message ChanGroup { + // Name of the channel group, UTF-8 encoded. + required string name = 1; + // True if the group has been inherited from the parent (Read only). + optional bool inherited = 2 [default = true]; + // True if the group members are inherited. + optional bool inherit = 3 [default = true]; + // True if the group can be inherited by sub channels. + optional bool inheritable = 4 [default = true]; + // Users explicitly included in this group, identified by user_id. + repeated uint32 add = 5; + // Users explicitly removed from this group in this channel if the group + // has been inherited, identified by user_id. + repeated uint32 remove = 6; + // Users inherited, identified by user_id. + repeated uint32 inherited_members = 7; + } + message ChanACL { + // True if this ACL applies to the current channel. + optional bool apply_here = 1 [default = true]; + // True if this ACL applies to the sub channels. + optional bool apply_subs = 2 [default = true]; + // True if the ACL has been inherited from the parent. + optional bool inherited = 3 [default = true]; + // ID of the user that is affected by this ACL. + optional uint32 user_id = 4; + // ID of the group that is affected by this ACL. + optional string group = 5; + // Bit flag field of the permissions granted by this ACL. + optional uint32 grant = 6; + // Bit flag field of the permissions denied by this ACL. + optional uint32 deny = 7; + } + // Channel ID of the channel this message affects. + required uint32 channel_id = 1; + // True if the channel inherits its parent's ACLs. + optional bool inherit_acls = 2 [default = true]; + // User group specifications. + repeated ChanGroup groups = 3; + // ACL specifications. + repeated ChanACL acls = 4; + // True if the message is a query for ACLs instead of setting them. + optional bool query = 5 [default = false]; +} + +// Client may use this message to refresh its registered user information. The +// client should fill the IDs or Names of the users it wants to refresh. The +// server fills the missing parts and sends the message back. +message QueryUsers { + // user_ids. + repeated uint32 ids = 1; + // User names in the same order as ids. + repeated string names = 2; +} + +// Used to initialize and resync the UDP encryption. Either side may request a +// resync by sending the message without any values filled. The resync is +// performed by sending the message with only the client or server nonce +// filled. +message CryptSetup { + // Encryption key. + optional bytes key = 1; + // Client nonce. + optional bytes client_nonce = 2; + // Server nonce. + optional bytes server_nonce = 3; +} + +message ContextActionModify { + enum Context { + // Action is applicable to the server. + Server = 0x01; + // Action can target a Channel. + Channel = 0x02; + // Action can target a User. + User = 0x04; + } + enum Operation { + Add = 0; + Remove = 1; + } + // The action name. + required string action = 1; + // The display name of the action. + optional string text = 2; + // Context bit flags defining where the action should be displayed. + optional uint32 context = 3; + optional Operation operation = 4; +} + +// Sent by the client when it wants to initiate a Context action. +message ContextAction { + // The target User for the action, identified by session. + optional uint32 session = 1; + // The target Channel for the action, identified by channel_id. + optional uint32 channel_id = 2; + // The action that should be executed. + required string action = 3; +} + +// Lists the registered users. +message UserList { + message User { + // Registered user ID. + required uint32 user_id = 1; + // Registered user name. + optional string name = 2; + optional string last_seen = 3; + optional uint32 last_channel = 4; + } + // A list of registered users. + repeated User users = 1; +} + +// Sent by the client when it wants to register or clear whisper targets. +// +// Note: The first available target ID is 1 as 0 is reserved for normal +// talking. Maximum target ID is 30. +message VoiceTarget { + message Target { + // Users that are included as targets. + repeated uint32 session = 1; + // Channel that is included as a target. + optional uint32 channel_id = 2; + // ACL group that is included as a target. + optional string group = 3; + // True if the voice should follow links from the specified channel. + optional bool links = 4 [default = false]; + // True if the voice should also be sent to children of the specific + // channel. + optional bool children = 5 [default = false]; + } + // Voice target ID. + optional uint32 id = 1; + // The receivers that this voice target includes. + repeated Target targets = 2; +} + +// Sent by the client when it wants permissions for a certain channel. Sent by +// the server when it replies to the query or wants the user to resync all +// channel permissions. +message PermissionQuery { + // channel_id of the channel for which the permissions are queried. + optional uint32 channel_id = 1; + // Channel permissions. + optional uint32 permissions = 2; + // True if the client should drop its current permission information for all + // channels. + optional bool flush = 3 [default = false]; +} + +// Sent by the server to notify the users of the version of the CELT codec they +// should use. This may change during the connection when new users join. +message CodecVersion { + // The version of the CELT Alpha codec. + required int32 alpha = 1; + // The version of the CELT Beta codec. + required int32 beta = 2; + // True if the user should prefer Alpha over Beta. + required bool prefer_alpha = 3 [default = true]; + optional bool opus = 4 [default = false]; +} + +// Used to communicate user stats between the server and clients. +message UserStats { + message Stats { + // The amount of good packets received. + optional uint32 good = 1; + // The amount of late packets received. + optional uint32 late = 2; + // The amount of packets never received. + optional uint32 lost = 3; + // The amount of nonce resyncs. + optional uint32 resync = 4; + } + + // User whose stats these are. + optional uint32 session = 1; + // True if the message contains only mutable stats (packets, ping). + optional bool stats_only = 2 [default = false]; + // Full user certificate chain of the user certificate in DER format. + repeated bytes certificates = 3; + // Packet statistics for packets received from the client. + optional Stats from_client = 4; + // Packet statistics for packets sent by the server. + optional Stats from_server = 5; + + // Amount of UDP packets sent. + optional uint32 udp_packets = 6; + // Amount of TCP packets sent. + optional uint32 tcp_packets = 7; + // UDP ping average. + optional float udp_ping_avg = 8; + // UDP ping variance. + optional float udp_ping_var = 9; + // TCP ping average. + optional float tcp_ping_avg = 10; + // TCP ping variance. + optional float tcp_ping_var = 11; + + // Client version. + optional Version version = 12; + // A list of CELT bitstream version constants supported by the client of this + // user. + repeated int32 celt_versions = 13; + // Client IP address. + optional bytes address = 14; + // Bandwith used by this client. + optional uint32 bandwidth = 15; + // Connection duration. + optional uint32 onlinesecs = 16; + // Duration since last activity. + optional uint32 idlesecs = 17; + // True if the user has a strong certificate. + optional bool strong_certificate = 18 [default = false]; + optional bool opus = 19 [default = false]; +} + +// Used by the client to request binary data from the server. By default large +// comments or textures are not sent within standard messages but instead the +// hash is. If the client does not recognize the hash it may request the +// resource when it needs it. The client does so by sending a RequestBlob +// message with the correct fields filled with the user sessions or channel_ids +// it wants to receive. The server replies to this by sending a new +// UserState/ChannelState message with the resources filled even if they would +// normally be transmitted as hashes. +message RequestBlob { + // sessions of the requested UserState textures. + repeated uint32 session_texture = 1; + // sessions of the requested UserState comments. + repeated uint32 session_comment = 2; + // channel_ids of the requested ChannelState descriptions. + repeated uint32 channel_description = 3; +} + +// Sent by the server when it informs the clients on server configuration +// details. +message ServerConfig { + // The maximum bandwidth the clients should use. + optional uint32 max_bandwidth = 1; + // Server welcome text. + optional string welcome_text = 2; + // True if the server allows HTML. + optional bool allow_html = 3; + // Maximum text message length. + optional uint32 message_length = 4; + // Maximum image message length. + optional uint32 image_message_length = 5; + // The maximum number of users allowed on the server. + optional uint32 max_users = 6; +} + +// Sent by the server to inform the clients of suggested client configuration +// specified by the server administrator. +message SuggestConfig { + // Suggested client version. + optional uint32 version = 1; + // True if the administrator suggests positional audio to be used on this + // server. + optional bool positional = 2; + // True if the administrator suggests push to talk to be used on this server. + optional bool push_to_talk = 3; +} +option java_package = "se.lublin.humla.protobuf"; +option java_outer_classname = "Mumble"; +option java_multiple_files = false; diff --git a/src/main/java/se/lublin/humla/protobuf/Mumble.java b/src/main/java/se/lublin/humla/protobuf/Mumble.java index cb774c0..e04f6b1 100644 --- a/src/main/java/se/lublin/humla/protobuf/Mumble.java +++ b/src/main/java/se/lublin/humla/protobuf/Mumble.java @@ -1,5 +1,5 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: Mumble.proto +// source: src/Mumble.proto package se.lublin.humla.protobuf; @@ -19,52 +19,107 @@ public final class Mumble { com.google.protobuf.MessageOrBuilder { /** + *
+     * 2-byte Major, 1-byte Minor and 1-byte Patch version number.
+     * 
+ * * optional uint32 version = 1; + * @return Whether the version field is set. */ boolean hasVersion(); /** + *
+     * 2-byte Major, 1-byte Minor and 1-byte Patch version number.
+     * 
+ * * optional uint32 version = 1; + * @return The version. */ int getVersion(); /** + *
+     * Client release name.
+     * 
+ * * optional string release = 2; + * @return Whether the release field is set. */ boolean hasRelease(); /** + *
+     * Client release name.
+     * 
+ * * optional string release = 2; + * @return The release. */ java.lang.String getRelease(); /** + *
+     * Client release name.
+     * 
+ * * optional string release = 2; + * @return The bytes for release. */ com.google.protobuf.ByteString getReleaseBytes(); /** + *
+     * Client OS name.
+     * 
+ * * optional string os = 3; + * @return Whether the os field is set. */ boolean hasOs(); /** + *
+     * Client OS name.
+     * 
+ * * optional string os = 3; + * @return The os. */ java.lang.String getOs(); /** + *
+     * Client OS name.
+     * 
+ * * optional string os = 3; + * @return The bytes for os. */ com.google.protobuf.ByteString getOsBytes(); /** + *
+     * Client OS version.
+     * 
+ * * optional string os_version = 4; + * @return Whether the osVersion field is set. */ boolean hasOsVersion(); /** + *
+     * Client OS version.
+     * 
+ * * optional string os_version = 4; + * @return The osVersion. */ java.lang.String getOsVersion(); /** + *
+     * Client OS version.
+     * 
+ * * optional string os_version = 4; + * @return The bytes for osVersion. */ com.google.protobuf.ByteString getOsVersionBytes(); @@ -76,17 +131,24 @@ public final class Mumble { com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:MumbleProto.Version) VersionOrBuilder { + private static final long serialVersionUID = 0L; // Use Version.newBuilder() to construct. private Version(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Version() { - version_ = 0; release_ = ""; os_ = ""; osVersion_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Version(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { @@ -97,6 +159,9 @@ public final class Mumble { com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -108,13 +173,6 @@ public final class Mumble { case 0: done = true; break; - default: { - if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; version_ = input.readUInt32(); @@ -138,6 +196,13 @@ public final class Mumble { osVersion_ = bs; break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -155,6 +220,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_Version_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_Version_fieldAccessorTable @@ -166,13 +232,23 @@ public final class Mumble { public static final int VERSION_FIELD_NUMBER = 1; private int version_; /** + *
+     * 2-byte Major, 1-byte Minor and 1-byte Patch version number.
+     * 
+ * * optional uint32 version = 1; + * @return Whether the version field is set. */ public boolean hasVersion() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+     * 2-byte Major, 1-byte Minor and 1-byte Patch version number.
+     * 
+ * * optional uint32 version = 1; + * @return The version. */ public int getVersion() { return version_; @@ -181,13 +257,23 @@ public final class Mumble { public static final int RELEASE_FIELD_NUMBER = 2; private volatile java.lang.Object release_; /** + *
+     * Client release name.
+     * 
+ * * optional string release = 2; + * @return Whether the release field is set. */ public boolean hasRelease() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+     * Client release name.
+     * 
+ * * optional string release = 2; + * @return The release. */ public java.lang.String getRelease() { java.lang.Object ref = release_; @@ -204,7 +290,12 @@ public final class Mumble { } } /** + *
+     * Client release name.
+     * 
+ * * optional string release = 2; + * @return The bytes for release. */ public com.google.protobuf.ByteString getReleaseBytes() { @@ -223,13 +314,23 @@ public final class Mumble { public static final int OS_FIELD_NUMBER = 3; private volatile java.lang.Object os_; /** + *
+     * Client OS name.
+     * 
+ * * optional string os = 3; + * @return Whether the os field is set. */ public boolean hasOs() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** + *
+     * Client OS name.
+     * 
+ * * optional string os = 3; + * @return The os. */ public java.lang.String getOs() { java.lang.Object ref = os_; @@ -246,7 +347,12 @@ public final class Mumble { } } /** + *
+     * Client OS name.
+     * 
+ * * optional string os = 3; + * @return The bytes for os. */ public com.google.protobuf.ByteString getOsBytes() { @@ -265,13 +371,23 @@ public final class Mumble { public static final int OS_VERSION_FIELD_NUMBER = 4; private volatile java.lang.Object osVersion_; /** + *
+     * Client OS version.
+     * 
+ * * optional string os_version = 4; + * @return Whether the osVersion field is set. */ public boolean hasOsVersion() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** + *
+     * Client OS version.
+     * 
+ * * optional string os_version = 4; + * @return The osVersion. */ public java.lang.String getOsVersion() { java.lang.Object ref = osVersion_; @@ -288,7 +404,12 @@ public final class Mumble { } } /** + *
+     * Client OS version.
+     * 
+ * * optional string os_version = 4; + * @return The bytes for osVersion. */ public com.google.protobuf.ByteString getOsVersionBytes() { @@ -305,6 +426,7 @@ public final class Mumble { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -314,39 +436,41 @@ public final class Mumble { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, version_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, release_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, os_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, osVersion_); } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, version_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, release_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, os_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, osVersion_); } size += unknownFields.getSerializedSize(); @@ -354,7 +478,6 @@ public final class Mumble { return size; } - private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { @@ -365,29 +488,28 @@ public final class Mumble { } se.lublin.humla.protobuf.Mumble.Version other = (se.lublin.humla.protobuf.Mumble.Version) obj; - boolean result = true; - result = result && (hasVersion() == other.hasVersion()); + if (hasVersion() != other.hasVersion()) return false; if (hasVersion()) { - result = result && (getVersion() - == other.getVersion()); + if (getVersion() + != other.getVersion()) return false; } - result = result && (hasRelease() == other.hasRelease()); + if (hasRelease() != other.hasRelease()) return false; if (hasRelease()) { - result = result && getRelease() - .equals(other.getRelease()); + if (!getRelease() + .equals(other.getRelease())) return false; } - result = result && (hasOs() == other.hasOs()); + if (hasOs() != other.hasOs()) return false; if (hasOs()) { - result = result && getOs() - .equals(other.getOs()); + if (!getOs() + .equals(other.getOs())) return false; } - result = result && (hasOsVersion() == other.hasOsVersion()); + if (hasOsVersion() != other.hasOsVersion()) return false; if (hasOsVersion()) { - result = result && getOsVersion() - .equals(other.getOsVersion()); + if (!getOsVersion() + .equals(other.getOsVersion())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -396,7 +518,7 @@ public final class Mumble { return memoizedHashCode; } int hash = 41; - hash = (19 * hash) + getDescriptorForType().hashCode(); + hash = (19 * hash) + getDescriptor().hashCode(); if (hasVersion()) { hash = (37 * hash) + VERSION_FIELD_NUMBER; hash = (53 * hash) + getVersion(); @@ -418,6 +540,17 @@ public final class Mumble { return hash; } + public static se.lublin.humla.protobuf.Mumble.Version parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static se.lublin.humla.protobuf.Mumble.Version parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static se.lublin.humla.protobuf.Mumble.Version parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -477,6 +610,7 @@ public final class Mumble { .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); @@ -484,6 +618,7 @@ public final class Mumble { public static Builder newBuilder(se.lublin.humla.protobuf.Mumble.Version prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -507,6 +642,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_Version_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_Version_fieldAccessorTable @@ -529,6 +665,7 @@ public final class Mumble { .alwaysUseFieldBuilders) { } } + @java.lang.Override public Builder clear() { super.clear(); version_ = 0; @@ -542,15 +679,18 @@ public final class Mumble { return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_Version_descriptor; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.Version getDefaultInstanceForType() { return se.lublin.humla.protobuf.Mumble.Version.getDefaultInstance(); } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.Version build() { se.lublin.humla.protobuf.Mumble.Version result = buildPartial(); if (!result.isInitialized()) { @@ -559,23 +699,24 @@ public final class Mumble { return result; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.Version buildPartial() { se.lublin.humla.protobuf.Mumble.Version result = new se.lublin.humla.protobuf.Mumble.Version(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.version_ = version_; to_bitField0_ |= 0x00000001; } - result.version_ = version_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.release_ = release_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.os_ = os_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.osVersion_ = osVersion_; @@ -584,32 +725,39 @@ public final class Mumble { return result; } + @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.setField(field, value); + java.lang.Object value) { + return super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { - return (Builder) super.setRepeatedField(field, index, value); + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.addRepeatedField(field, value); + java.lang.Object value) { + return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof se.lublin.humla.protobuf.Mumble.Version) { return mergeFrom((se.lublin.humla.protobuf.Mumble.Version)other); @@ -644,10 +792,12 @@ public final class Mumble { return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -669,19 +819,35 @@ public final class Mumble { private int version_ ; /** + *
+       * 2-byte Major, 1-byte Minor and 1-byte Patch version number.
+       * 
+ * * optional uint32 version = 1; + * @return Whether the version field is set. */ public boolean hasVersion() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+       * 2-byte Major, 1-byte Minor and 1-byte Patch version number.
+       * 
+ * * optional uint32 version = 1; + * @return The version. */ public int getVersion() { return version_; } /** + *
+       * 2-byte Major, 1-byte Minor and 1-byte Patch version number.
+       * 
+ * * optional uint32 version = 1; + * @param value The version to set. + * @return This builder for chaining. */ public Builder setVersion(int value) { bitField0_ |= 0x00000001; @@ -690,7 +856,12 @@ public final class Mumble { return this; } /** + *
+       * 2-byte Major, 1-byte Minor and 1-byte Patch version number.
+       * 
+ * * optional uint32 version = 1; + * @return This builder for chaining. */ public Builder clearVersion() { bitField0_ = (bitField0_ & ~0x00000001); @@ -701,13 +872,23 @@ public final class Mumble { private java.lang.Object release_ = ""; /** + *
+       * Client release name.
+       * 
+ * * optional string release = 2; + * @return Whether the release field is set. */ public boolean hasRelease() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+       * Client release name.
+       * 
+ * * optional string release = 2; + * @return The release. */ public java.lang.String getRelease() { java.lang.Object ref = release_; @@ -724,7 +905,12 @@ public final class Mumble { } } /** + *
+       * Client release name.
+       * 
+ * * optional string release = 2; + * @return The bytes for release. */ public com.google.protobuf.ByteString getReleaseBytes() { @@ -740,7 +926,13 @@ public final class Mumble { } } /** + *
+       * Client release name.
+       * 
+ * * optional string release = 2; + * @param value The release to set. + * @return This builder for chaining. */ public Builder setRelease( java.lang.String value) { @@ -753,7 +945,12 @@ public final class Mumble { return this; } /** + *
+       * Client release name.
+       * 
+ * * optional string release = 2; + * @return This builder for chaining. */ public Builder clearRelease() { bitField0_ = (bitField0_ & ~0x00000002); @@ -762,7 +959,13 @@ public final class Mumble { return this; } /** + *
+       * Client release name.
+       * 
+ * * optional string release = 2; + * @param value The bytes for release to set. + * @return This builder for chaining. */ public Builder setReleaseBytes( com.google.protobuf.ByteString value) { @@ -777,13 +980,23 @@ public final class Mumble { private java.lang.Object os_ = ""; /** + *
+       * Client OS name.
+       * 
+ * * optional string os = 3; + * @return Whether the os field is set. */ public boolean hasOs() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** + *
+       * Client OS name.
+       * 
+ * * optional string os = 3; + * @return The os. */ public java.lang.String getOs() { java.lang.Object ref = os_; @@ -800,7 +1013,12 @@ public final class Mumble { } } /** + *
+       * Client OS name.
+       * 
+ * * optional string os = 3; + * @return The bytes for os. */ public com.google.protobuf.ByteString getOsBytes() { @@ -816,7 +1034,13 @@ public final class Mumble { } } /** + *
+       * Client OS name.
+       * 
+ * * optional string os = 3; + * @param value The os to set. + * @return This builder for chaining. */ public Builder setOs( java.lang.String value) { @@ -829,7 +1053,12 @@ public final class Mumble { return this; } /** + *
+       * Client OS name.
+       * 
+ * * optional string os = 3; + * @return This builder for chaining. */ public Builder clearOs() { bitField0_ = (bitField0_ & ~0x00000004); @@ -838,7 +1067,13 @@ public final class Mumble { return this; } /** + *
+       * Client OS name.
+       * 
+ * * optional string os = 3; + * @param value The bytes for os to set. + * @return This builder for chaining. */ public Builder setOsBytes( com.google.protobuf.ByteString value) { @@ -853,13 +1088,23 @@ public final class Mumble { private java.lang.Object osVersion_ = ""; /** + *
+       * Client OS version.
+       * 
+ * * optional string os_version = 4; + * @return Whether the osVersion field is set. */ public boolean hasOsVersion() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** + *
+       * Client OS version.
+       * 
+ * * optional string os_version = 4; + * @return The osVersion. */ public java.lang.String getOsVersion() { java.lang.Object ref = osVersion_; @@ -876,7 +1121,12 @@ public final class Mumble { } } /** + *
+       * Client OS version.
+       * 
+ * * optional string os_version = 4; + * @return The bytes for osVersion. */ public com.google.protobuf.ByteString getOsVersionBytes() { @@ -892,7 +1142,13 @@ public final class Mumble { } } /** + *
+       * Client OS version.
+       * 
+ * * optional string os_version = 4; + * @param value The osVersion to set. + * @return This builder for chaining. */ public Builder setOsVersion( java.lang.String value) { @@ -905,7 +1161,12 @@ public final class Mumble { return this; } /** + *
+       * Client OS version.
+       * 
+ * * optional string os_version = 4; + * @return This builder for chaining. */ public Builder clearOsVersion() { bitField0_ = (bitField0_ & ~0x00000008); @@ -914,7 +1175,13 @@ public final class Mumble { return this; } /** + *
+       * Client OS version.
+       * 
+ * * optional string os_version = 4; + * @param value The bytes for osVersion to set. + * @return This builder for chaining. */ public Builder setOsVersionBytes( com.google.protobuf.ByteString value) { @@ -926,11 +1193,13 @@ public final class Mumble { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -952,11 +1221,12 @@ public final class Mumble { @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override public Version parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Version(input, extensionRegistry); + return new Version(input, extensionRegistry); } }; @@ -969,6 +1239,7 @@ public final class Mumble { return PARSER; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.Version getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -980,21 +1251,36 @@ public final class Mumble { com.google.protobuf.MessageOrBuilder { /** + *
+     * Not used.
+     * 
+ * * required bytes packet = 1; + * @return Whether the packet field is set. */ boolean hasPacket(); /** + *
+     * Not used.
+     * 
+ * * required bytes packet = 1; + * @return The packet. */ com.google.protobuf.ByteString getPacket(); } /** + *
+   * Not used. Not even for tunneling UDP through TCP.
+   * 
+ * * Protobuf type {@code MumbleProto.UDPTunnel} */ public static final class UDPTunnel extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:MumbleProto.UDPTunnel) UDPTunnelOrBuilder { + private static final long serialVersionUID = 0L; // Use UDPTunnel.newBuilder() to construct. private UDPTunnel(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -1003,6 +1289,13 @@ public final class Mumble { packet_ = com.google.protobuf.ByteString.EMPTY; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UDPTunnel(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { @@ -1013,6 +1306,9 @@ public final class Mumble { com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1024,18 +1320,18 @@ public final class Mumble { case 0: done = true; break; - default: { - if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { - done = true; - } - break; - } case 10: { bitField0_ |= 0x00000001; packet_ = input.readBytes(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1053,6 +1349,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_UDPTunnel_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_UDPTunnel_fieldAccessorTable @@ -1064,19 +1361,30 @@ public final class Mumble { public static final int PACKET_FIELD_NUMBER = 1; private com.google.protobuf.ByteString packet_; /** + *
+     * Not used.
+     * 
+ * * required bytes packet = 1; + * @return Whether the packet field is set. */ public boolean hasPacket() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+     * Not used.
+     * 
+ * * required bytes packet = 1; + * @return The packet. */ public com.google.protobuf.ByteString getPacket() { return packet_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -1090,20 +1398,22 @@ public final class Mumble { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeBytes(1, packet_); } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, packet_); } @@ -1112,7 +1422,6 @@ public final class Mumble { return size; } - private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { @@ -1123,14 +1432,13 @@ public final class Mumble { } se.lublin.humla.protobuf.Mumble.UDPTunnel other = (se.lublin.humla.protobuf.Mumble.UDPTunnel) obj; - boolean result = true; - result = result && (hasPacket() == other.hasPacket()); + if (hasPacket() != other.hasPacket()) return false; if (hasPacket()) { - result = result && getPacket() - .equals(other.getPacket()); + if (!getPacket() + .equals(other.getPacket())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -1139,7 +1447,7 @@ public final class Mumble { return memoizedHashCode; } int hash = 41; - hash = (19 * hash) + getDescriptorForType().hashCode(); + hash = (19 * hash) + getDescriptor().hashCode(); if (hasPacket()) { hash = (37 * hash) + PACKET_FIELD_NUMBER; hash = (53 * hash) + getPacket().hashCode(); @@ -1149,6 +1457,17 @@ public final class Mumble { return hash; } + public static se.lublin.humla.protobuf.Mumble.UDPTunnel parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static se.lublin.humla.protobuf.Mumble.UDPTunnel parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static se.lublin.humla.protobuf.Mumble.UDPTunnel parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -1208,6 +1527,7 @@ public final class Mumble { .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); @@ -1215,6 +1535,7 @@ public final class Mumble { public static Builder newBuilder(se.lublin.humla.protobuf.Mumble.UDPTunnel prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -1227,6 +1548,10 @@ public final class Mumble { return builder; } /** + *
+     * Not used. Not even for tunneling UDP through TCP.
+     * 
+ * * Protobuf type {@code MumbleProto.UDPTunnel} */ public static final class Builder extends @@ -1238,6 +1563,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_UDPTunnel_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_UDPTunnel_fieldAccessorTable @@ -1260,6 +1586,7 @@ public final class Mumble { .alwaysUseFieldBuilders) { } } + @java.lang.Override public Builder clear() { super.clear(); packet_ = com.google.protobuf.ByteString.EMPTY; @@ -1267,15 +1594,18 @@ public final class Mumble { return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_UDPTunnel_descriptor; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.UDPTunnel getDefaultInstanceForType() { return se.lublin.humla.protobuf.Mumble.UDPTunnel.getDefaultInstance(); } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.UDPTunnel build() { se.lublin.humla.protobuf.Mumble.UDPTunnel result = buildPartial(); if (!result.isInitialized()) { @@ -1284,11 +1614,12 @@ public final class Mumble { return result; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.UDPTunnel buildPartial() { se.lublin.humla.protobuf.Mumble.UDPTunnel result = new se.lublin.humla.protobuf.Mumble.UDPTunnel(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.packet_ = packet_; @@ -1297,32 +1628,39 @@ public final class Mumble { return result; } + @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.setField(field, value); + java.lang.Object value) { + return super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { - return (Builder) super.setRepeatedField(field, index, value); + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.addRepeatedField(field, value); + java.lang.Object value) { + return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof se.lublin.humla.protobuf.Mumble.UDPTunnel) { return mergeFrom((se.lublin.humla.protobuf.Mumble.UDPTunnel)other); @@ -1342,6 +1680,7 @@ public final class Mumble { return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasPacket()) { return false; @@ -1349,6 +1688,7 @@ public final class Mumble { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1370,19 +1710,35 @@ public final class Mumble { private com.google.protobuf.ByteString packet_ = com.google.protobuf.ByteString.EMPTY; /** + *
+       * Not used.
+       * 
+ * * required bytes packet = 1; + * @return Whether the packet field is set. */ public boolean hasPacket() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+       * Not used.
+       * 
+ * * required bytes packet = 1; + * @return The packet. */ public com.google.protobuf.ByteString getPacket() { return packet_; } /** + *
+       * Not used.
+       * 
+ * * required bytes packet = 1; + * @param value The packet to set. + * @return This builder for chaining. */ public Builder setPacket(com.google.protobuf.ByteString value) { if (value == null) { @@ -1394,7 +1750,12 @@ public final class Mumble { return this; } /** + *
+       * Not used.
+       * 
+ * * required bytes packet = 1; + * @return This builder for chaining. */ public Builder clearPacket() { bitField0_ = (bitField0_ & ~0x00000001); @@ -1402,11 +1763,13 @@ public final class Mumble { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -1428,11 +1791,12 @@ public final class Mumble { @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override public UDPTunnel parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UDPTunnel(input, extensionRegistry); + return new UDPTunnel(input, extensionRegistry); } }; @@ -1445,6 +1809,7 @@ public final class Mumble { return PARSER; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.UDPTunnel getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -1456,81 +1821,156 @@ public final class Mumble { com.google.protobuf.MessageOrBuilder { /** + *
+     * UTF-8 encoded username.
+     * 
+ * * optional string username = 1; + * @return Whether the username field is set. */ boolean hasUsername(); /** + *
+     * UTF-8 encoded username.
+     * 
+ * * optional string username = 1; + * @return The username. */ java.lang.String getUsername(); /** + *
+     * UTF-8 encoded username.
+     * 
+ * * optional string username = 1; + * @return The bytes for username. */ com.google.protobuf.ByteString getUsernameBytes(); /** + *
+     * Server or user password.
+     * 
+ * * optional string password = 2; + * @return Whether the password field is set. */ boolean hasPassword(); /** + *
+     * Server or user password.
+     * 
+ * * optional string password = 2; + * @return The password. */ java.lang.String getPassword(); /** + *
+     * Server or user password.
+     * 
+ * * optional string password = 2; + * @return The bytes for password. */ com.google.protobuf.ByteString getPasswordBytes(); /** + *
+     * Additional access tokens for server ACL groups.
+     * 
+ * * repeated string tokens = 3; + * @return A list containing the tokens. */ java.util.List getTokensList(); /** + *
+     * Additional access tokens for server ACL groups.
+     * 
+ * * repeated string tokens = 3; + * @return The count of tokens. */ int getTokensCount(); /** + *
+     * Additional access tokens for server ACL groups.
+     * 
+ * * repeated string tokens = 3; + * @param index The index of the element to return. + * @return The tokens at the given index. */ java.lang.String getTokens(int index); /** + *
+     * Additional access tokens for server ACL groups.
+     * 
+ * * repeated string tokens = 3; + * @param index The index of the value to return. + * @return The bytes of the tokens at the given index. */ com.google.protobuf.ByteString getTokensBytes(int index); /** + *
+     * A list of CELT bitstream version constants supported by the client.
+     * 
+ * * repeated int32 celt_versions = 4; + * @return A list containing the celtVersions. */ java.util.List getCeltVersionsList(); /** + *
+     * A list of CELT bitstream version constants supported by the client.
+     * 
+ * * repeated int32 celt_versions = 4; + * @return The count of celtVersions. */ int getCeltVersionsCount(); /** + *
+     * A list of CELT bitstream version constants supported by the client.
+     * 
+ * * repeated int32 celt_versions = 4; + * @param index The index of the element to return. + * @return The celtVersions at the given index. */ int getCeltVersions(int index); /** * optional bool opus = 5 [default = false]; + * @return Whether the opus field is set. */ boolean hasOpus(); /** * optional bool opus = 5 [default = false]; + * @return The opus. */ boolean getOpus(); } /** + *
+   * Used by the client to send the authentication credentials to the server.
+   * 
+ * * Protobuf type {@code MumbleProto.Authenticate} */ public static final class Authenticate extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:MumbleProto.Authenticate) AuthenticateOrBuilder { + private static final long serialVersionUID = 0L; // Use Authenticate.newBuilder() to construct. private Authenticate(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -1539,8 +1979,14 @@ public final class Mumble { username_ = ""; password_ = ""; tokens_ = com.google.protobuf.LazyStringArrayList.EMPTY; - celtVersions_ = java.util.Collections.emptyList(); - opus_ = false; + celtVersions_ = emptyIntList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Authenticate(); } @java.lang.Override @@ -1553,6 +1999,9 @@ public final class Mumble { com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1564,13 +2013,6 @@ public final class Mumble { case 0: done = true; break; - default: { - if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { - done = true; - } - break; - } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; @@ -1585,7 +2027,7 @@ public final class Mumble { } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); - if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { tokens_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000004; } @@ -1593,22 +2035,22 @@ public final class Mumble { break; } case 32: { - if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { - celtVersions_ = new java.util.ArrayList(); + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + celtVersions_ = newIntList(); mutable_bitField0_ |= 0x00000008; } - celtVersions_.add(input.readInt32()); + celtVersions_.addInt(input.readInt32()); break; } case 34: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000008) == 0x00000008) && input.getBytesUntilLimit() > 0) { - celtVersions_ = new java.util.ArrayList(); + if (!((mutable_bitField0_ & 0x00000008) != 0) && input.getBytesUntilLimit() > 0) { + celtVersions_ = newIntList(); mutable_bitField0_ |= 0x00000008; } while (input.getBytesUntilLimit() > 0) { - celtVersions_.add(input.readInt32()); + celtVersions_.addInt(input.readInt32()); } input.popLimit(limit); break; @@ -1618,6 +2060,13 @@ public final class Mumble { opus_ = input.readBool(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1626,11 +2075,11 @@ public final class Mumble { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { + if (((mutable_bitField0_ & 0x00000004) != 0)) { tokens_ = tokens_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { - celtVersions_ = java.util.Collections.unmodifiableList(celtVersions_); + if (((mutable_bitField0_ & 0x00000008) != 0)) { + celtVersions_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -1641,6 +2090,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_Authenticate_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_Authenticate_fieldAccessorTable @@ -1652,13 +2102,23 @@ public final class Mumble { public static final int USERNAME_FIELD_NUMBER = 1; private volatile java.lang.Object username_; /** + *
+     * UTF-8 encoded username.
+     * 
+ * * optional string username = 1; + * @return Whether the username field is set. */ public boolean hasUsername() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+     * UTF-8 encoded username.
+     * 
+ * * optional string username = 1; + * @return The username. */ public java.lang.String getUsername() { java.lang.Object ref = username_; @@ -1675,7 +2135,12 @@ public final class Mumble { } } /** + *
+     * UTF-8 encoded username.
+     * 
+ * * optional string username = 1; + * @return The bytes for username. */ public com.google.protobuf.ByteString getUsernameBytes() { @@ -1694,13 +2159,23 @@ public final class Mumble { public static final int PASSWORD_FIELD_NUMBER = 2; private volatile java.lang.Object password_; /** + *
+     * Server or user password.
+     * 
+ * * optional string password = 2; + * @return Whether the password field is set. */ public boolean hasPassword() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+     * Server or user password.
+     * 
+ * * optional string password = 2; + * @return The password. */ public java.lang.String getPassword() { java.lang.Object ref = password_; @@ -1717,7 +2192,12 @@ public final class Mumble { } } /** + *
+     * Server or user password.
+     * 
+ * * optional string password = 2; + * @return The bytes for password. */ public com.google.protobuf.ByteString getPasswordBytes() { @@ -1736,26 +2216,48 @@ public final class Mumble { public static final int TOKENS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList tokens_; /** + *
+     * Additional access tokens for server ACL groups.
+     * 
+ * * repeated string tokens = 3; + * @return A list containing the tokens. */ public com.google.protobuf.ProtocolStringList getTokensList() { return tokens_; } /** + *
+     * Additional access tokens for server ACL groups.
+     * 
+ * * repeated string tokens = 3; + * @return The count of tokens. */ public int getTokensCount() { return tokens_.size(); } /** + *
+     * Additional access tokens for server ACL groups.
+     * 
+ * * repeated string tokens = 3; + * @param index The index of the element to return. + * @return The tokens at the given index. */ public java.lang.String getTokens(int index) { return tokens_.get(index); } /** + *
+     * Additional access tokens for server ACL groups.
+     * 
+ * * repeated string tokens = 3; + * @param index The index of the value to return. + * @return The bytes of the tokens at the given index. */ public com.google.protobuf.ByteString getTokensBytes(int index) { @@ -1763,43 +2265,62 @@ public final class Mumble { } public static final int CELT_VERSIONS_FIELD_NUMBER = 4; - private java.util.List celtVersions_; + private com.google.protobuf.Internal.IntList celtVersions_; /** + *
+     * A list of CELT bitstream version constants supported by the client.
+     * 
+ * * repeated int32 celt_versions = 4; + * @return A list containing the celtVersions. */ public java.util.List getCeltVersionsList() { return celtVersions_; } /** + *
+     * A list of CELT bitstream version constants supported by the client.
+     * 
+ * * repeated int32 celt_versions = 4; + * @return The count of celtVersions. */ public int getCeltVersionsCount() { return celtVersions_.size(); } /** + *
+     * A list of CELT bitstream version constants supported by the client.
+     * 
+ * * repeated int32 celt_versions = 4; + * @param index The index of the element to return. + * @return The celtVersions at the given index. */ public int getCeltVersions(int index) { - return celtVersions_.get(index); + return celtVersions_.getInt(index); } public static final int OPUS_FIELD_NUMBER = 5; private boolean opus_; /** * optional bool opus = 5 [default = false]; + * @return Whether the opus field is set. */ public boolean hasOpus() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * optional bool opus = 5 [default = false]; + * @return The opus. */ public boolean getOpus() { return opus_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -1809,35 +2330,37 @@ public final class Mumble { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, username_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, password_); } for (int i = 0; i < tokens_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, tokens_.getRaw(i)); } for (int i = 0; i < celtVersions_.size(); i++) { - output.writeInt32(4, celtVersions_.get(i)); + output.writeInt32(4, celtVersions_.getInt(i)); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeBool(5, opus_); } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, username_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, password_); } { @@ -1852,12 +2375,12 @@ public final class Mumble { int dataSize = 0; for (int i = 0; i < celtVersions_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(celtVersions_.get(i)); + .computeInt32SizeNoTag(celtVersions_.getInt(i)); } size += dataSize; size += 1 * getCeltVersionsList().size(); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(5, opus_); } @@ -1866,7 +2389,6 @@ public final class Mumble { return size; } - private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { @@ -1877,28 +2399,27 @@ public final class Mumble { } se.lublin.humla.protobuf.Mumble.Authenticate other = (se.lublin.humla.protobuf.Mumble.Authenticate) obj; - boolean result = true; - result = result && (hasUsername() == other.hasUsername()); + if (hasUsername() != other.hasUsername()) return false; if (hasUsername()) { - result = result && getUsername() - .equals(other.getUsername()); + if (!getUsername() + .equals(other.getUsername())) return false; } - result = result && (hasPassword() == other.hasPassword()); + if (hasPassword() != other.hasPassword()) return false; if (hasPassword()) { - result = result && getPassword() - .equals(other.getPassword()); - } - result = result && getTokensList() - .equals(other.getTokensList()); - result = result && getCeltVersionsList() - .equals(other.getCeltVersionsList()); - result = result && (hasOpus() == other.hasOpus()); + if (!getPassword() + .equals(other.getPassword())) return false; + } + if (!getTokensList() + .equals(other.getTokensList())) return false; + if (!getCeltVersionsList() + .equals(other.getCeltVersionsList())) return false; + if (hasOpus() != other.hasOpus()) return false; if (hasOpus()) { - result = result && (getOpus() - == other.getOpus()); + if (getOpus() + != other.getOpus()) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -1907,7 +2428,7 @@ public final class Mumble { return memoizedHashCode; } int hash = 41; - hash = (19 * hash) + getDescriptorForType().hashCode(); + hash = (19 * hash) + getDescriptor().hashCode(); if (hasUsername()) { hash = (37 * hash) + USERNAME_FIELD_NUMBER; hash = (53 * hash) + getUsername().hashCode(); @@ -1934,6 +2455,17 @@ public final class Mumble { return hash; } + public static se.lublin.humla.protobuf.Mumble.Authenticate parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static se.lublin.humla.protobuf.Mumble.Authenticate parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static se.lublin.humla.protobuf.Mumble.Authenticate parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -1993,6 +2525,7 @@ public final class Mumble { .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); @@ -2000,6 +2533,7 @@ public final class Mumble { public static Builder newBuilder(se.lublin.humla.protobuf.Mumble.Authenticate prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -2012,6 +2546,10 @@ public final class Mumble { return builder; } /** + *
+     * Used by the client to send the authentication credentials to the server.
+     * 
+ * * Protobuf type {@code MumbleProto.Authenticate} */ public static final class Builder extends @@ -2023,6 +2561,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_Authenticate_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_Authenticate_fieldAccessorTable @@ -2045,6 +2584,7 @@ public final class Mumble { .alwaysUseFieldBuilders) { } } + @java.lang.Override public Builder clear() { super.clear(); username_ = ""; @@ -2053,22 +2593,25 @@ public final class Mumble { bitField0_ = (bitField0_ & ~0x00000002); tokens_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); - celtVersions_ = java.util.Collections.emptyList(); + celtVersions_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000008); opus_ = false; bitField0_ = (bitField0_ & ~0x00000010); return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_Authenticate_descriptor; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.Authenticate getDefaultInstanceForType() { return se.lublin.humla.protobuf.Mumble.Authenticate.getDefaultInstance(); } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.Authenticate build() { se.lublin.humla.protobuf.Mumble.Authenticate result = buildPartial(); if (!result.isInitialized()) { @@ -2077,63 +2620,71 @@ public final class Mumble { return result; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.Authenticate buildPartial() { se.lublin.humla.protobuf.Mumble.Authenticate result = new se.lublin.humla.protobuf.Mumble.Authenticate(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.username_ = username_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.password_ = password_; - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { tokens_ = tokens_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); } result.tokens_ = tokens_; - if (((bitField0_ & 0x00000008) == 0x00000008)) { - celtVersions_ = java.util.Collections.unmodifiableList(celtVersions_); + if (((bitField0_ & 0x00000008) != 0)) { + celtVersions_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000008); } result.celtVersions_ = celtVersions_; - if (((from_bitField0_ & 0x00000010) == 0x00000010)) { + if (((from_bitField0_ & 0x00000010) != 0)) { + result.opus_ = opus_; to_bitField0_ |= 0x00000004; } - result.opus_ = opus_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } + @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.setField(field, value); + java.lang.Object value) { + return super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { - return (Builder) super.setRepeatedField(field, index, value); + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.addRepeatedField(field, value); + java.lang.Object value) { + return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof se.lublin.humla.protobuf.Mumble.Authenticate) { return mergeFrom((se.lublin.humla.protobuf.Mumble.Authenticate)other); @@ -2183,10 +2734,12 @@ public final class Mumble { return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2208,13 +2761,23 @@ public final class Mumble { private java.lang.Object username_ = ""; /** + *
+       * UTF-8 encoded username.
+       * 
+ * * optional string username = 1; + * @return Whether the username field is set. */ public boolean hasUsername() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+       * UTF-8 encoded username.
+       * 
+ * * optional string username = 1; + * @return The username. */ public java.lang.String getUsername() { java.lang.Object ref = username_; @@ -2231,7 +2794,12 @@ public final class Mumble { } } /** + *
+       * UTF-8 encoded username.
+       * 
+ * * optional string username = 1; + * @return The bytes for username. */ public com.google.protobuf.ByteString getUsernameBytes() { @@ -2247,7 +2815,13 @@ public final class Mumble { } } /** + *
+       * UTF-8 encoded username.
+       * 
+ * * optional string username = 1; + * @param value The username to set. + * @return This builder for chaining. */ public Builder setUsername( java.lang.String value) { @@ -2260,7 +2834,12 @@ public final class Mumble { return this; } /** + *
+       * UTF-8 encoded username.
+       * 
+ * * optional string username = 1; + * @return This builder for chaining. */ public Builder clearUsername() { bitField0_ = (bitField0_ & ~0x00000001); @@ -2269,7 +2848,13 @@ public final class Mumble { return this; } /** + *
+       * UTF-8 encoded username.
+       * 
+ * * optional string username = 1; + * @param value The bytes for username to set. + * @return This builder for chaining. */ public Builder setUsernameBytes( com.google.protobuf.ByteString value) { @@ -2284,13 +2869,23 @@ public final class Mumble { private java.lang.Object password_ = ""; /** + *
+       * Server or user password.
+       * 
+ * * optional string password = 2; + * @return Whether the password field is set. */ public boolean hasPassword() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+       * Server or user password.
+       * 
+ * * optional string password = 2; + * @return The password. */ public java.lang.String getPassword() { java.lang.Object ref = password_; @@ -2307,7 +2902,12 @@ public final class Mumble { } } /** + *
+       * Server or user password.
+       * 
+ * * optional string password = 2; + * @return The bytes for password. */ public com.google.protobuf.ByteString getPasswordBytes() { @@ -2323,7 +2923,13 @@ public final class Mumble { } } /** + *
+       * Server or user password.
+       * 
+ * * optional string password = 2; + * @param value The password to set. + * @return This builder for chaining. */ public Builder setPassword( java.lang.String value) { @@ -2336,7 +2942,12 @@ public final class Mumble { return this; } /** + *
+       * Server or user password.
+       * 
+ * * optional string password = 2; + * @return This builder for chaining. */ public Builder clearPassword() { bitField0_ = (bitField0_ & ~0x00000002); @@ -2345,7 +2956,13 @@ public final class Mumble { return this; } /** + *
+       * Server or user password.
+       * 
+ * * optional string password = 2; + * @param value The bytes for password to set. + * @return This builder for chaining. */ public Builder setPasswordBytes( com.google.protobuf.ByteString value) { @@ -2360,39 +2977,68 @@ public final class Mumble { private com.google.protobuf.LazyStringList tokens_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureTokensIsMutable() { - if (!((bitField0_ & 0x00000004) == 0x00000004)) { + if (!((bitField0_ & 0x00000004) != 0)) { tokens_ = new com.google.protobuf.LazyStringArrayList(tokens_); bitField0_ |= 0x00000004; } } /** + *
+       * Additional access tokens for server ACL groups.
+       * 
+ * * repeated string tokens = 3; + * @return A list containing the tokens. */ public com.google.protobuf.ProtocolStringList getTokensList() { return tokens_.getUnmodifiableView(); } /** + *
+       * Additional access tokens for server ACL groups.
+       * 
+ * * repeated string tokens = 3; + * @return The count of tokens. */ public int getTokensCount() { return tokens_.size(); } /** + *
+       * Additional access tokens for server ACL groups.
+       * 
+ * * repeated string tokens = 3; + * @param index The index of the element to return. + * @return The tokens at the given index. */ public java.lang.String getTokens(int index) { return tokens_.get(index); } /** + *
+       * Additional access tokens for server ACL groups.
+       * 
+ * * repeated string tokens = 3; + * @param index The index of the value to return. + * @return The bytes of the tokens at the given index. */ public com.google.protobuf.ByteString getTokensBytes(int index) { return tokens_.getByteString(index); } /** + *
+       * Additional access tokens for server ACL groups.
+       * 
+ * * repeated string tokens = 3; + * @param index The index to set the value at. + * @param value The tokens to set. + * @return This builder for chaining. */ public Builder setTokens( int index, java.lang.String value) { @@ -2405,7 +3051,13 @@ public final class Mumble { return this; } /** + *
+       * Additional access tokens for server ACL groups.
+       * 
+ * * repeated string tokens = 3; + * @param value The tokens to add. + * @return This builder for chaining. */ public Builder addTokens( java.lang.String value) { @@ -2418,7 +3070,13 @@ public final class Mumble { return this; } /** + *
+       * Additional access tokens for server ACL groups.
+       * 
+ * * repeated string tokens = 3; + * @param values The tokens to add. + * @return This builder for chaining. */ public Builder addAllTokens( java.lang.Iterable values) { @@ -2429,7 +3087,12 @@ public final class Mumble { return this; } /** + *
+       * Additional access tokens for server ACL groups.
+       * 
+ * * repeated string tokens = 3; + * @return This builder for chaining. */ public Builder clearTokens() { tokens_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -2438,7 +3101,13 @@ public final class Mumble { return this; } /** + *
+       * Additional access tokens for server ACL groups.
+       * 
+ * * repeated string tokens = 3; + * @param value The bytes of the tokens to add. + * @return This builder for chaining. */ public Builder addTokensBytes( com.google.protobuf.ByteString value) { @@ -2451,53 +3120,89 @@ public final class Mumble { return this; } - private java.util.List celtVersions_ = java.util.Collections.emptyList(); + private com.google.protobuf.Internal.IntList celtVersions_ = emptyIntList(); private void ensureCeltVersionsIsMutable() { - if (!((bitField0_ & 0x00000008) == 0x00000008)) { - celtVersions_ = new java.util.ArrayList(celtVersions_); + if (!((bitField0_ & 0x00000008) != 0)) { + celtVersions_ = mutableCopy(celtVersions_); bitField0_ |= 0x00000008; } } /** + *
+       * A list of CELT bitstream version constants supported by the client.
+       * 
+ * * repeated int32 celt_versions = 4; + * @return A list containing the celtVersions. */ public java.util.List getCeltVersionsList() { - return java.util.Collections.unmodifiableList(celtVersions_); + return ((bitField0_ & 0x00000008) != 0) ? + java.util.Collections.unmodifiableList(celtVersions_) : celtVersions_; } /** + *
+       * A list of CELT bitstream version constants supported by the client.
+       * 
+ * * repeated int32 celt_versions = 4; + * @return The count of celtVersions. */ public int getCeltVersionsCount() { return celtVersions_.size(); } /** + *
+       * A list of CELT bitstream version constants supported by the client.
+       * 
+ * * repeated int32 celt_versions = 4; + * @param index The index of the element to return. + * @return The celtVersions at the given index. */ public int getCeltVersions(int index) { - return celtVersions_.get(index); + return celtVersions_.getInt(index); } /** + *
+       * A list of CELT bitstream version constants supported by the client.
+       * 
+ * * repeated int32 celt_versions = 4; + * @param index The index to set the value at. + * @param value The celtVersions to set. + * @return This builder for chaining. */ public Builder setCeltVersions( int index, int value) { ensureCeltVersionsIsMutable(); - celtVersions_.set(index, value); + celtVersions_.setInt(index, value); onChanged(); return this; } /** + *
+       * A list of CELT bitstream version constants supported by the client.
+       * 
+ * * repeated int32 celt_versions = 4; + * @param value The celtVersions to add. + * @return This builder for chaining. */ public Builder addCeltVersions(int value) { ensureCeltVersionsIsMutable(); - celtVersions_.add(value); + celtVersions_.addInt(value); onChanged(); return this; } /** + *
+       * A list of CELT bitstream version constants supported by the client.
+       * 
+ * * repeated int32 celt_versions = 4; + * @param values The celtVersions to add. + * @return This builder for chaining. */ public Builder addAllCeltVersions( java.lang.Iterable values) { @@ -2508,10 +3213,15 @@ public final class Mumble { return this; } /** + *
+       * A list of CELT bitstream version constants supported by the client.
+       * 
+ * * repeated int32 celt_versions = 4; + * @return This builder for chaining. */ public Builder clearCeltVersions() { - celtVersions_ = java.util.Collections.emptyList(); + celtVersions_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; @@ -2520,18 +3230,22 @@ public final class Mumble { private boolean opus_ ; /** * optional bool opus = 5 [default = false]; + * @return Whether the opus field is set. */ public boolean hasOpus() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000010) != 0); } /** * optional bool opus = 5 [default = false]; + * @return The opus. */ public boolean getOpus() { return opus_; } /** * optional bool opus = 5 [default = false]; + * @param value The opus to set. + * @return This builder for chaining. */ public Builder setOpus(boolean value) { bitField0_ |= 0x00000010; @@ -2541,6 +3255,7 @@ public final class Mumble { } /** * optional bool opus = 5 [default = false]; + * @return This builder for chaining. */ public Builder clearOpus() { bitField0_ = (bitField0_ & ~0x00000010); @@ -2548,11 +3263,13 @@ public final class Mumble { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -2574,11 +3291,12 @@ public final class Mumble { @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override public Authenticate parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Authenticate(input, extensionRegistry); + return new Authenticate(input, extensionRegistry); } }; @@ -2591,6 +3309,7 @@ public final class Mumble { return PARSER; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.Authenticate getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -2602,127 +3321,240 @@ public final class Mumble { com.google.protobuf.MessageOrBuilder { /** + *
+     * Client timestamp. Server should not attempt to decode.
+     * 
+ * * optional uint64 timestamp = 1; + * @return Whether the timestamp field is set. */ boolean hasTimestamp(); /** + *
+     * Client timestamp. Server should not attempt to decode.
+     * 
+ * * optional uint64 timestamp = 1; + * @return The timestamp. */ long getTimestamp(); /** + *
+     * The amount of good packets received.
+     * 
+ * * optional uint32 good = 2; + * @return Whether the good field is set. */ boolean hasGood(); /** + *
+     * The amount of good packets received.
+     * 
+ * * optional uint32 good = 2; + * @return The good. */ int getGood(); /** + *
+     * The amount of late packets received.
+     * 
+ * * optional uint32 late = 3; + * @return Whether the late field is set. */ boolean hasLate(); /** + *
+     * The amount of late packets received.
+     * 
+ * * optional uint32 late = 3; + * @return The late. */ int getLate(); /** + *
+     * The amount of packets never received.
+     * 
+ * * optional uint32 lost = 4; + * @return Whether the lost field is set. */ boolean hasLost(); /** + *
+     * The amount of packets never received.
+     * 
+ * * optional uint32 lost = 4; + * @return The lost. */ int getLost(); /** + *
+     * The amount of nonce resyncs.
+     * 
+ * * optional uint32 resync = 5; + * @return Whether the resync field is set. */ boolean hasResync(); /** + *
+     * The amount of nonce resyncs.
+     * 
+ * * optional uint32 resync = 5; + * @return The resync. */ int getResync(); /** + *
+     * The total amount of UDP packets received.
+     * 
+ * * optional uint32 udp_packets = 6; + * @return Whether the udpPackets field is set. */ boolean hasUdpPackets(); /** + *
+     * The total amount of UDP packets received.
+     * 
+ * * optional uint32 udp_packets = 6; + * @return The udpPackets. */ int getUdpPackets(); /** + *
+     * The total amount of TCP packets received.
+     * 
+ * * optional uint32 tcp_packets = 7; + * @return Whether the tcpPackets field is set. */ boolean hasTcpPackets(); /** + *
+     * The total amount of TCP packets received.
+     * 
+ * * optional uint32 tcp_packets = 7; + * @return The tcpPackets. */ int getTcpPackets(); /** + *
+     * UDP ping average.
+     * 
+ * * optional float udp_ping_avg = 8; + * @return Whether the udpPingAvg field is set. */ boolean hasUdpPingAvg(); /** + *
+     * UDP ping average.
+     * 
+ * * optional float udp_ping_avg = 8; + * @return The udpPingAvg. */ float getUdpPingAvg(); /** + *
+     * UDP ping variance.
+     * 
+ * * optional float udp_ping_var = 9; + * @return Whether the udpPingVar field is set. */ boolean hasUdpPingVar(); /** + *
+     * UDP ping variance.
+     * 
+ * * optional float udp_ping_var = 9; + * @return The udpPingVar. */ float getUdpPingVar(); /** + *
+     * TCP ping average.
+     * 
+ * * optional float tcp_ping_avg = 10; + * @return Whether the tcpPingAvg field is set. */ boolean hasTcpPingAvg(); /** + *
+     * TCP ping average.
+     * 
+ * * optional float tcp_ping_avg = 10; + * @return The tcpPingAvg. */ float getTcpPingAvg(); /** + *
+     * TCP ping variance.
+     * 
+ * * optional float tcp_ping_var = 11; + * @return Whether the tcpPingVar field is set. */ boolean hasTcpPingVar(); /** + *
+     * TCP ping variance.
+     * 
+ * * optional float tcp_ping_var = 11; + * @return The tcpPingVar. */ float getTcpPingVar(); } /** + *
+   * Sent by the client to notify the server that the client is still alive.
+   * Server must reply to the packet with the same timestamp and its own
+   * good/late/lost/resync numbers. None of the fields is strictly required.
+   * 
+ * * Protobuf type {@code MumbleProto.Ping} */ public static final class Ping extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:MumbleProto.Ping) PingOrBuilder { + private static final long serialVersionUID = 0L; // Use Ping.newBuilder() to construct. private Ping(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Ping() { - timestamp_ = 0L; - good_ = 0; - late_ = 0; - lost_ = 0; - resync_ = 0; - udpPackets_ = 0; - tcpPackets_ = 0; - udpPingAvg_ = 0F; - udpPingVar_ = 0F; - tcpPingAvg_ = 0F; - tcpPingVar_ = 0F; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Ping(); } @java.lang.Override @@ -2735,6 +3567,9 @@ public final class Mumble { com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2746,13 +3581,6 @@ public final class Mumble { case 0: done = true; break; - default: { - if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; timestamp_ = input.readUInt64(); @@ -2808,6 +3636,13 @@ public final class Mumble { tcpPingVar_ = input.readFloat(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2825,6 +3660,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_Ping_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_Ping_fieldAccessorTable @@ -2836,13 +3672,23 @@ public final class Mumble { public static final int TIMESTAMP_FIELD_NUMBER = 1; private long timestamp_; /** + *
+     * Client timestamp. Server should not attempt to decode.
+     * 
+ * * optional uint64 timestamp = 1; + * @return Whether the timestamp field is set. */ public boolean hasTimestamp() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+     * Client timestamp. Server should not attempt to decode.
+     * 
+ * * optional uint64 timestamp = 1; + * @return The timestamp. */ public long getTimestamp() { return timestamp_; @@ -2851,13 +3697,23 @@ public final class Mumble { public static final int GOOD_FIELD_NUMBER = 2; private int good_; /** + *
+     * The amount of good packets received.
+     * 
+ * * optional uint32 good = 2; + * @return Whether the good field is set. */ public boolean hasGood() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+     * The amount of good packets received.
+     * 
+ * * optional uint32 good = 2; + * @return The good. */ public int getGood() { return good_; @@ -2866,13 +3722,23 @@ public final class Mumble { public static final int LATE_FIELD_NUMBER = 3; private int late_; /** + *
+     * The amount of late packets received.
+     * 
+ * * optional uint32 late = 3; + * @return Whether the late field is set. */ public boolean hasLate() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** + *
+     * The amount of late packets received.
+     * 
+ * * optional uint32 late = 3; + * @return The late. */ public int getLate() { return late_; @@ -2881,13 +3747,23 @@ public final class Mumble { public static final int LOST_FIELD_NUMBER = 4; private int lost_; /** + *
+     * The amount of packets never received.
+     * 
+ * * optional uint32 lost = 4; + * @return Whether the lost field is set. */ public boolean hasLost() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** + *
+     * The amount of packets never received.
+     * 
+ * * optional uint32 lost = 4; + * @return The lost. */ public int getLost() { return lost_; @@ -2896,13 +3772,23 @@ public final class Mumble { public static final int RESYNC_FIELD_NUMBER = 5; private int resync_; /** + *
+     * The amount of nonce resyncs.
+     * 
+ * * optional uint32 resync = 5; + * @return Whether the resync field is set. */ public boolean hasResync() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000010) != 0); } /** + *
+     * The amount of nonce resyncs.
+     * 
+ * * optional uint32 resync = 5; + * @return The resync. */ public int getResync() { return resync_; @@ -2911,13 +3797,23 @@ public final class Mumble { public static final int UDP_PACKETS_FIELD_NUMBER = 6; private int udpPackets_; /** + *
+     * The total amount of UDP packets received.
+     * 
+ * * optional uint32 udp_packets = 6; + * @return Whether the udpPackets field is set. */ public boolean hasUdpPackets() { - return ((bitField0_ & 0x00000020) == 0x00000020); + return ((bitField0_ & 0x00000020) != 0); } /** + *
+     * The total amount of UDP packets received.
+     * 
+ * * optional uint32 udp_packets = 6; + * @return The udpPackets. */ public int getUdpPackets() { return udpPackets_; @@ -2926,13 +3822,23 @@ public final class Mumble { public static final int TCP_PACKETS_FIELD_NUMBER = 7; private int tcpPackets_; /** + *
+     * The total amount of TCP packets received.
+     * 
+ * * optional uint32 tcp_packets = 7; + * @return Whether the tcpPackets field is set. */ public boolean hasTcpPackets() { - return ((bitField0_ & 0x00000040) == 0x00000040); + return ((bitField0_ & 0x00000040) != 0); } /** + *
+     * The total amount of TCP packets received.
+     * 
+ * * optional uint32 tcp_packets = 7; + * @return The tcpPackets. */ public int getTcpPackets() { return tcpPackets_; @@ -2941,13 +3847,23 @@ public final class Mumble { public static final int UDP_PING_AVG_FIELD_NUMBER = 8; private float udpPingAvg_; /** + *
+     * UDP ping average.
+     * 
+ * * optional float udp_ping_avg = 8; + * @return Whether the udpPingAvg field is set. */ public boolean hasUdpPingAvg() { - return ((bitField0_ & 0x00000080) == 0x00000080); + return ((bitField0_ & 0x00000080) != 0); } /** + *
+     * UDP ping average.
+     * 
+ * * optional float udp_ping_avg = 8; + * @return The udpPingAvg. */ public float getUdpPingAvg() { return udpPingAvg_; @@ -2956,13 +3872,23 @@ public final class Mumble { public static final int UDP_PING_VAR_FIELD_NUMBER = 9; private float udpPingVar_; /** + *
+     * UDP ping variance.
+     * 
+ * * optional float udp_ping_var = 9; + * @return Whether the udpPingVar field is set. */ public boolean hasUdpPingVar() { - return ((bitField0_ & 0x00000100) == 0x00000100); + return ((bitField0_ & 0x00000100) != 0); } /** + *
+     * UDP ping variance.
+     * 
+ * * optional float udp_ping_var = 9; + * @return The udpPingVar. */ public float getUdpPingVar() { return udpPingVar_; @@ -2971,13 +3897,23 @@ public final class Mumble { public static final int TCP_PING_AVG_FIELD_NUMBER = 10; private float tcpPingAvg_; /** + *
+     * TCP ping average.
+     * 
+ * * optional float tcp_ping_avg = 10; + * @return Whether the tcpPingAvg field is set. */ public boolean hasTcpPingAvg() { - return ((bitField0_ & 0x00000200) == 0x00000200); + return ((bitField0_ & 0x00000200) != 0); } /** + *
+     * TCP ping average.
+     * 
+ * * optional float tcp_ping_avg = 10; + * @return The tcpPingAvg. */ public float getTcpPingAvg() { return tcpPingAvg_; @@ -2986,19 +3922,30 @@ public final class Mumble { public static final int TCP_PING_VAR_FIELD_NUMBER = 11; private float tcpPingVar_; /** + *
+     * TCP ping variance.
+     * 
+ * * optional float tcp_ping_var = 11; + * @return Whether the tcpPingVar field is set. */ public boolean hasTcpPingVar() { - return ((bitField0_ & 0x00000400) == 0x00000400); + return ((bitField0_ & 0x00000400) != 0); } /** + *
+     * TCP ping variance.
+     * 
+ * * optional float tcp_ping_var = 11; + * @return The tcpPingVar. */ public float getTcpPingVar() { return tcpPingVar_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -3008,90 +3955,92 @@ public final class Mumble { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt64(1, timestamp_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, good_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeUInt32(3, late_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { output.writeUInt32(4, lost_); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000010) != 0)) { output.writeUInt32(5, resync_); } - if (((bitField0_ & 0x00000020) == 0x00000020)) { + if (((bitField0_ & 0x00000020) != 0)) { output.writeUInt32(6, udpPackets_); } - if (((bitField0_ & 0x00000040) == 0x00000040)) { + if (((bitField0_ & 0x00000040) != 0)) { output.writeUInt32(7, tcpPackets_); } - if (((bitField0_ & 0x00000080) == 0x00000080)) { + if (((bitField0_ & 0x00000080) != 0)) { output.writeFloat(8, udpPingAvg_); } - if (((bitField0_ & 0x00000100) == 0x00000100)) { + if (((bitField0_ & 0x00000100) != 0)) { output.writeFloat(9, udpPingVar_); } - if (((bitField0_ & 0x00000200) == 0x00000200)) { + if (((bitField0_ & 0x00000200) != 0)) { output.writeFloat(10, tcpPingAvg_); } - if (((bitField0_ & 0x00000400) == 0x00000400)) { + if (((bitField0_ & 0x00000400) != 0)) { output.writeFloat(11, tcpPingVar_); } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(1, timestamp_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, good_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, late_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, lost_); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, resync_); } - if (((bitField0_ & 0x00000020) == 0x00000020)) { + if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(6, udpPackets_); } - if (((bitField0_ & 0x00000040) == 0x00000040)) { + if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(7, tcpPackets_); } - if (((bitField0_ & 0x00000080) == 0x00000080)) { + if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(8, udpPingAvg_); } - if (((bitField0_ & 0x00000100) == 0x00000100)) { + if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(9, udpPingVar_); } - if (((bitField0_ & 0x00000200) == 0x00000200)) { + if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(10, tcpPingAvg_); } - if (((bitField0_ & 0x00000400) == 0x00000400)) { + if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(11, tcpPingVar_); } @@ -3100,7 +4049,6 @@ public final class Mumble { return size; } - private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { @@ -3111,72 +4059,67 @@ public final class Mumble { } se.lublin.humla.protobuf.Mumble.Ping other = (se.lublin.humla.protobuf.Mumble.Ping) obj; - boolean result = true; - result = result && (hasTimestamp() == other.hasTimestamp()); + if (hasTimestamp() != other.hasTimestamp()) return false; if (hasTimestamp()) { - result = result && (getTimestamp() - == other.getTimestamp()); + if (getTimestamp() + != other.getTimestamp()) return false; } - result = result && (hasGood() == other.hasGood()); + if (hasGood() != other.hasGood()) return false; if (hasGood()) { - result = result && (getGood() - == other.getGood()); + if (getGood() + != other.getGood()) return false; } - result = result && (hasLate() == other.hasLate()); + if (hasLate() != other.hasLate()) return false; if (hasLate()) { - result = result && (getLate() - == other.getLate()); + if (getLate() + != other.getLate()) return false; } - result = result && (hasLost() == other.hasLost()); + if (hasLost() != other.hasLost()) return false; if (hasLost()) { - result = result && (getLost() - == other.getLost()); + if (getLost() + != other.getLost()) return false; } - result = result && (hasResync() == other.hasResync()); + if (hasResync() != other.hasResync()) return false; if (hasResync()) { - result = result && (getResync() - == other.getResync()); + if (getResync() + != other.getResync()) return false; } - result = result && (hasUdpPackets() == other.hasUdpPackets()); + if (hasUdpPackets() != other.hasUdpPackets()) return false; if (hasUdpPackets()) { - result = result && (getUdpPackets() - == other.getUdpPackets()); + if (getUdpPackets() + != other.getUdpPackets()) return false; } - result = result && (hasTcpPackets() == other.hasTcpPackets()); + if (hasTcpPackets() != other.hasTcpPackets()) return false; if (hasTcpPackets()) { - result = result && (getTcpPackets() - == other.getTcpPackets()); + if (getTcpPackets() + != other.getTcpPackets()) return false; } - result = result && (hasUdpPingAvg() == other.hasUdpPingAvg()); + if (hasUdpPingAvg() != other.hasUdpPingAvg()) return false; if (hasUdpPingAvg()) { - result = result && ( - java.lang.Float.floatToIntBits(getUdpPingAvg()) - == java.lang.Float.floatToIntBits( - other.getUdpPingAvg())); + if (java.lang.Float.floatToIntBits(getUdpPingAvg()) + != java.lang.Float.floatToIntBits( + other.getUdpPingAvg())) return false; } - result = result && (hasUdpPingVar() == other.hasUdpPingVar()); + if (hasUdpPingVar() != other.hasUdpPingVar()) return false; if (hasUdpPingVar()) { - result = result && ( - java.lang.Float.floatToIntBits(getUdpPingVar()) - == java.lang.Float.floatToIntBits( - other.getUdpPingVar())); + if (java.lang.Float.floatToIntBits(getUdpPingVar()) + != java.lang.Float.floatToIntBits( + other.getUdpPingVar())) return false; } - result = result && (hasTcpPingAvg() == other.hasTcpPingAvg()); + if (hasTcpPingAvg() != other.hasTcpPingAvg()) return false; if (hasTcpPingAvg()) { - result = result && ( - java.lang.Float.floatToIntBits(getTcpPingAvg()) - == java.lang.Float.floatToIntBits( - other.getTcpPingAvg())); + if (java.lang.Float.floatToIntBits(getTcpPingAvg()) + != java.lang.Float.floatToIntBits( + other.getTcpPingAvg())) return false; } - result = result && (hasTcpPingVar() == other.hasTcpPingVar()); + if (hasTcpPingVar() != other.hasTcpPingVar()) return false; if (hasTcpPingVar()) { - result = result && ( - java.lang.Float.floatToIntBits(getTcpPingVar()) - == java.lang.Float.floatToIntBits( - other.getTcpPingVar())); + if (java.lang.Float.floatToIntBits(getTcpPingVar()) + != java.lang.Float.floatToIntBits( + other.getTcpPingVar())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -3185,7 +4128,7 @@ public final class Mumble { return memoizedHashCode; } int hash = 41; - hash = (19 * hash) + getDescriptorForType().hashCode(); + hash = (19 * hash) + getDescriptor().hashCode(); if (hasTimestamp()) { hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( @@ -3240,6 +4183,17 @@ public final class Mumble { return hash; } + public static se.lublin.humla.protobuf.Mumble.Ping parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static se.lublin.humla.protobuf.Mumble.Ping parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static se.lublin.humla.protobuf.Mumble.Ping parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -3299,6 +4253,7 @@ public final class Mumble { .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); @@ -3306,6 +4261,7 @@ public final class Mumble { public static Builder newBuilder(se.lublin.humla.protobuf.Mumble.Ping prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -3318,6 +4274,12 @@ public final class Mumble { return builder; } /** + *
+     * Sent by the client to notify the server that the client is still alive.
+     * Server must reply to the packet with the same timestamp and its own
+     * good/late/lost/resync numbers. None of the fields is strictly required.
+     * 
+ * * Protobuf type {@code MumbleProto.Ping} */ public static final class Builder extends @@ -3329,6 +4291,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_Ping_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_Ping_fieldAccessorTable @@ -3351,6 +4314,7 @@ public final class Mumble { .alwaysUseFieldBuilders) { } } + @java.lang.Override public Builder clear() { super.clear(); timestamp_ = 0L; @@ -3378,15 +4342,18 @@ public final class Mumble { return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_Ping_descriptor; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.Ping getDefaultInstanceForType() { return se.lublin.humla.protobuf.Mumble.Ping.getDefaultInstance(); } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.Ping build() { se.lublin.humla.protobuf.Mumble.Ping result = buildPartial(); if (!result.isInitialized()) { @@ -3395,85 +4362,93 @@ public final class Mumble { return result; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.Ping buildPartial() { se.lublin.humla.protobuf.Mumble.Ping result = new se.lublin.humla.protobuf.Mumble.Ping(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.timestamp_ = timestamp_; to_bitField0_ |= 0x00000001; } - result.timestamp_ = timestamp_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.good_ = good_; to_bitField0_ |= 0x00000002; } - result.good_ = good_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { + result.late_ = late_; to_bitField0_ |= 0x00000004; } - result.late_ = late_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + if (((from_bitField0_ & 0x00000008) != 0)) { + result.lost_ = lost_; to_bitField0_ |= 0x00000008; } - result.lost_ = lost_; - if (((from_bitField0_ & 0x00000010) == 0x00000010)) { + if (((from_bitField0_ & 0x00000010) != 0)) { + result.resync_ = resync_; to_bitField0_ |= 0x00000010; } - result.resync_ = resync_; - if (((from_bitField0_ & 0x00000020) == 0x00000020)) { + if (((from_bitField0_ & 0x00000020) != 0)) { + result.udpPackets_ = udpPackets_; to_bitField0_ |= 0x00000020; } - result.udpPackets_ = udpPackets_; - if (((from_bitField0_ & 0x00000040) == 0x00000040)) { + if (((from_bitField0_ & 0x00000040) != 0)) { + result.tcpPackets_ = tcpPackets_; to_bitField0_ |= 0x00000040; } - result.tcpPackets_ = tcpPackets_; - if (((from_bitField0_ & 0x00000080) == 0x00000080)) { + if (((from_bitField0_ & 0x00000080) != 0)) { + result.udpPingAvg_ = udpPingAvg_; to_bitField0_ |= 0x00000080; } - result.udpPingAvg_ = udpPingAvg_; - if (((from_bitField0_ & 0x00000100) == 0x00000100)) { + if (((from_bitField0_ & 0x00000100) != 0)) { + result.udpPingVar_ = udpPingVar_; to_bitField0_ |= 0x00000100; } - result.udpPingVar_ = udpPingVar_; - if (((from_bitField0_ & 0x00000200) == 0x00000200)) { + if (((from_bitField0_ & 0x00000200) != 0)) { + result.tcpPingAvg_ = tcpPingAvg_; to_bitField0_ |= 0x00000200; } - result.tcpPingAvg_ = tcpPingAvg_; - if (((from_bitField0_ & 0x00000400) == 0x00000400)) { + if (((from_bitField0_ & 0x00000400) != 0)) { + result.tcpPingVar_ = tcpPingVar_; to_bitField0_ |= 0x00000400; } - result.tcpPingVar_ = tcpPingVar_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } + @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.setField(field, value); + java.lang.Object value) { + return super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { - return (Builder) super.setRepeatedField(field, index, value); + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.addRepeatedField(field, value); + java.lang.Object value) { + return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof se.lublin.humla.protobuf.Mumble.Ping) { return mergeFrom((se.lublin.humla.protobuf.Mumble.Ping)other); @@ -3523,10 +4498,12 @@ public final class Mumble { return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -3548,19 +4525,35 @@ public final class Mumble { private long timestamp_ ; /** + *
+       * Client timestamp. Server should not attempt to decode.
+       * 
+ * * optional uint64 timestamp = 1; + * @return Whether the timestamp field is set. */ public boolean hasTimestamp() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+       * Client timestamp. Server should not attempt to decode.
+       * 
+ * * optional uint64 timestamp = 1; + * @return The timestamp. */ public long getTimestamp() { return timestamp_; } /** + *
+       * Client timestamp. Server should not attempt to decode.
+       * 
+ * * optional uint64 timestamp = 1; + * @param value The timestamp to set. + * @return This builder for chaining. */ public Builder setTimestamp(long value) { bitField0_ |= 0x00000001; @@ -3569,7 +4562,12 @@ public final class Mumble { return this; } /** + *
+       * Client timestamp. Server should not attempt to decode.
+       * 
+ * * optional uint64 timestamp = 1; + * @return This builder for chaining. */ public Builder clearTimestamp() { bitField0_ = (bitField0_ & ~0x00000001); @@ -3580,19 +4578,35 @@ public final class Mumble { private int good_ ; /** + *
+       * The amount of good packets received.
+       * 
+ * * optional uint32 good = 2; + * @return Whether the good field is set. */ public boolean hasGood() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+       * The amount of good packets received.
+       * 
+ * * optional uint32 good = 2; + * @return The good. */ public int getGood() { return good_; } /** + *
+       * The amount of good packets received.
+       * 
+ * * optional uint32 good = 2; + * @param value The good to set. + * @return This builder for chaining. */ public Builder setGood(int value) { bitField0_ |= 0x00000002; @@ -3601,7 +4615,12 @@ public final class Mumble { return this; } /** + *
+       * The amount of good packets received.
+       * 
+ * * optional uint32 good = 2; + * @return This builder for chaining. */ public Builder clearGood() { bitField0_ = (bitField0_ & ~0x00000002); @@ -3612,19 +4631,35 @@ public final class Mumble { private int late_ ; /** + *
+       * The amount of late packets received.
+       * 
+ * * optional uint32 late = 3; + * @return Whether the late field is set. */ public boolean hasLate() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** + *
+       * The amount of late packets received.
+       * 
+ * * optional uint32 late = 3; + * @return The late. */ public int getLate() { return late_; } /** + *
+       * The amount of late packets received.
+       * 
+ * * optional uint32 late = 3; + * @param value The late to set. + * @return This builder for chaining. */ public Builder setLate(int value) { bitField0_ |= 0x00000004; @@ -3633,7 +4668,12 @@ public final class Mumble { return this; } /** + *
+       * The amount of late packets received.
+       * 
+ * * optional uint32 late = 3; + * @return This builder for chaining. */ public Builder clearLate() { bitField0_ = (bitField0_ & ~0x00000004); @@ -3644,19 +4684,35 @@ public final class Mumble { private int lost_ ; /** + *
+       * The amount of packets never received.
+       * 
+ * * optional uint32 lost = 4; + * @return Whether the lost field is set. */ public boolean hasLost() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** + *
+       * The amount of packets never received.
+       * 
+ * * optional uint32 lost = 4; + * @return The lost. */ public int getLost() { return lost_; } /** + *
+       * The amount of packets never received.
+       * 
+ * * optional uint32 lost = 4; + * @param value The lost to set. + * @return This builder for chaining. */ public Builder setLost(int value) { bitField0_ |= 0x00000008; @@ -3665,7 +4721,12 @@ public final class Mumble { return this; } /** + *
+       * The amount of packets never received.
+       * 
+ * * optional uint32 lost = 4; + * @return This builder for chaining. */ public Builder clearLost() { bitField0_ = (bitField0_ & ~0x00000008); @@ -3676,19 +4737,35 @@ public final class Mumble { private int resync_ ; /** + *
+       * The amount of nonce resyncs.
+       * 
+ * * optional uint32 resync = 5; + * @return Whether the resync field is set. */ public boolean hasResync() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000010) != 0); } /** + *
+       * The amount of nonce resyncs.
+       * 
+ * * optional uint32 resync = 5; + * @return The resync. */ public int getResync() { return resync_; } /** + *
+       * The amount of nonce resyncs.
+       * 
+ * * optional uint32 resync = 5; + * @param value The resync to set. + * @return This builder for chaining. */ public Builder setResync(int value) { bitField0_ |= 0x00000010; @@ -3697,7 +4774,12 @@ public final class Mumble { return this; } /** + *
+       * The amount of nonce resyncs.
+       * 
+ * * optional uint32 resync = 5; + * @return This builder for chaining. */ public Builder clearResync() { bitField0_ = (bitField0_ & ~0x00000010); @@ -3708,19 +4790,35 @@ public final class Mumble { private int udpPackets_ ; /** + *
+       * The total amount of UDP packets received.
+       * 
+ * * optional uint32 udp_packets = 6; + * @return Whether the udpPackets field is set. */ public boolean hasUdpPackets() { - return ((bitField0_ & 0x00000020) == 0x00000020); + return ((bitField0_ & 0x00000020) != 0); } /** + *
+       * The total amount of UDP packets received.
+       * 
+ * * optional uint32 udp_packets = 6; + * @return The udpPackets. */ public int getUdpPackets() { return udpPackets_; } /** + *
+       * The total amount of UDP packets received.
+       * 
+ * * optional uint32 udp_packets = 6; + * @param value The udpPackets to set. + * @return This builder for chaining. */ public Builder setUdpPackets(int value) { bitField0_ |= 0x00000020; @@ -3729,7 +4827,12 @@ public final class Mumble { return this; } /** + *
+       * The total amount of UDP packets received.
+       * 
+ * * optional uint32 udp_packets = 6; + * @return This builder for chaining. */ public Builder clearUdpPackets() { bitField0_ = (bitField0_ & ~0x00000020); @@ -3740,19 +4843,35 @@ public final class Mumble { private int tcpPackets_ ; /** + *
+       * The total amount of TCP packets received.
+       * 
+ * * optional uint32 tcp_packets = 7; + * @return Whether the tcpPackets field is set. */ public boolean hasTcpPackets() { - return ((bitField0_ & 0x00000040) == 0x00000040); + return ((bitField0_ & 0x00000040) != 0); } /** + *
+       * The total amount of TCP packets received.
+       * 
+ * * optional uint32 tcp_packets = 7; + * @return The tcpPackets. */ public int getTcpPackets() { return tcpPackets_; } /** + *
+       * The total amount of TCP packets received.
+       * 
+ * * optional uint32 tcp_packets = 7; + * @param value The tcpPackets to set. + * @return This builder for chaining. */ public Builder setTcpPackets(int value) { bitField0_ |= 0x00000040; @@ -3761,7 +4880,12 @@ public final class Mumble { return this; } /** + *
+       * The total amount of TCP packets received.
+       * 
+ * * optional uint32 tcp_packets = 7; + * @return This builder for chaining. */ public Builder clearTcpPackets() { bitField0_ = (bitField0_ & ~0x00000040); @@ -3772,19 +4896,35 @@ public final class Mumble { private float udpPingAvg_ ; /** + *
+       * UDP ping average.
+       * 
+ * * optional float udp_ping_avg = 8; + * @return Whether the udpPingAvg field is set. */ public boolean hasUdpPingAvg() { - return ((bitField0_ & 0x00000080) == 0x00000080); + return ((bitField0_ & 0x00000080) != 0); } /** + *
+       * UDP ping average.
+       * 
+ * * optional float udp_ping_avg = 8; + * @return The udpPingAvg. */ public float getUdpPingAvg() { return udpPingAvg_; } /** + *
+       * UDP ping average.
+       * 
+ * * optional float udp_ping_avg = 8; + * @param value The udpPingAvg to set. + * @return This builder for chaining. */ public Builder setUdpPingAvg(float value) { bitField0_ |= 0x00000080; @@ -3793,7 +4933,12 @@ public final class Mumble { return this; } /** + *
+       * UDP ping average.
+       * 
+ * * optional float udp_ping_avg = 8; + * @return This builder for chaining. */ public Builder clearUdpPingAvg() { bitField0_ = (bitField0_ & ~0x00000080); @@ -3804,19 +4949,35 @@ public final class Mumble { private float udpPingVar_ ; /** + *
+       * UDP ping variance.
+       * 
+ * * optional float udp_ping_var = 9; + * @return Whether the udpPingVar field is set. */ public boolean hasUdpPingVar() { - return ((bitField0_ & 0x00000100) == 0x00000100); + return ((bitField0_ & 0x00000100) != 0); } /** + *
+       * UDP ping variance.
+       * 
+ * * optional float udp_ping_var = 9; + * @return The udpPingVar. */ public float getUdpPingVar() { return udpPingVar_; } /** + *
+       * UDP ping variance.
+       * 
+ * * optional float udp_ping_var = 9; + * @param value The udpPingVar to set. + * @return This builder for chaining. */ public Builder setUdpPingVar(float value) { bitField0_ |= 0x00000100; @@ -3825,7 +4986,12 @@ public final class Mumble { return this; } /** + *
+       * UDP ping variance.
+       * 
+ * * optional float udp_ping_var = 9; + * @return This builder for chaining. */ public Builder clearUdpPingVar() { bitField0_ = (bitField0_ & ~0x00000100); @@ -3836,19 +5002,35 @@ public final class Mumble { private float tcpPingAvg_ ; /** + *
+       * TCP ping average.
+       * 
+ * * optional float tcp_ping_avg = 10; + * @return Whether the tcpPingAvg field is set. */ public boolean hasTcpPingAvg() { - return ((bitField0_ & 0x00000200) == 0x00000200); + return ((bitField0_ & 0x00000200) != 0); } /** + *
+       * TCP ping average.
+       * 
+ * * optional float tcp_ping_avg = 10; + * @return The tcpPingAvg. */ public float getTcpPingAvg() { return tcpPingAvg_; } /** + *
+       * TCP ping average.
+       * 
+ * * optional float tcp_ping_avg = 10; + * @param value The tcpPingAvg to set. + * @return This builder for chaining. */ public Builder setTcpPingAvg(float value) { bitField0_ |= 0x00000200; @@ -3857,7 +5039,12 @@ public final class Mumble { return this; } /** + *
+       * TCP ping average.
+       * 
+ * * optional float tcp_ping_avg = 10; + * @return This builder for chaining. */ public Builder clearTcpPingAvg() { bitField0_ = (bitField0_ & ~0x00000200); @@ -3868,19 +5055,35 @@ public final class Mumble { private float tcpPingVar_ ; /** + *
+       * TCP ping variance.
+       * 
+ * * optional float tcp_ping_var = 11; + * @return Whether the tcpPingVar field is set. */ public boolean hasTcpPingVar() { - return ((bitField0_ & 0x00000400) == 0x00000400); + return ((bitField0_ & 0x00000400) != 0); } /** + *
+       * TCP ping variance.
+       * 
+ * * optional float tcp_ping_var = 11; + * @return The tcpPingVar. */ public float getTcpPingVar() { return tcpPingVar_; } /** + *
+       * TCP ping variance.
+       * 
+ * * optional float tcp_ping_var = 11; + * @param value The tcpPingVar to set. + * @return This builder for chaining. */ public Builder setTcpPingVar(float value) { bitField0_ |= 0x00000400; @@ -3889,7 +5092,12 @@ public final class Mumble { return this; } /** + *
+       * TCP ping variance.
+       * 
+ * * optional float tcp_ping_var = 11; + * @return This builder for chaining. */ public Builder clearTcpPingVar() { bitField0_ = (bitField0_ & ~0x00000400); @@ -3897,11 +5105,13 @@ public final class Mumble { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -3923,11 +5133,12 @@ public final class Mumble { @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override public Ping parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Ping(input, extensionRegistry); + return new Ping(input, extensionRegistry); } }; @@ -3940,6 +5151,7 @@ public final class Mumble { return PARSER; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.Ping getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -3951,35 +5163,65 @@ public final class Mumble { com.google.protobuf.MessageOrBuilder { /** + *
+     * Rejection type.
+     * 
+ * * optional .MumbleProto.Reject.RejectType type = 1; + * @return Whether the type field is set. */ boolean hasType(); /** + *
+     * Rejection type.
+     * 
+ * * optional .MumbleProto.Reject.RejectType type = 1; + * @return The type. */ se.lublin.humla.protobuf.Mumble.Reject.RejectType getType(); /** + *
+     * Human readable rejection reason.
+     * 
+ * * optional string reason = 2; + * @return Whether the reason field is set. */ boolean hasReason(); /** + *
+     * Human readable rejection reason.
+     * 
+ * * optional string reason = 2; + * @return The reason. */ java.lang.String getReason(); /** + *
+     * Human readable rejection reason.
+     * 
+ * * optional string reason = 2; + * @return The bytes for reason. */ com.google.protobuf.ByteString getReasonBytes(); } /** + *
+   * Sent by the server when it rejects the user connection.
+   * 
+ * * Protobuf type {@code MumbleProto.Reject} */ public static final class Reject extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:MumbleProto.Reject) RejectOrBuilder { + private static final long serialVersionUID = 0L; // Use Reject.newBuilder() to construct. private Reject(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -3989,6 +5231,13 @@ public final class Mumble { reason_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Reject(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { @@ -3999,6 +5248,9 @@ public final class Mumble { com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -4010,15 +5262,9 @@ public final class Mumble { case 0: done = true; break; - default: { - if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") se.lublin.humla.protobuf.Mumble.Reject.RejectType value = se.lublin.humla.protobuf.Mumble.Reject.RejectType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); @@ -4034,6 +5280,13 @@ public final class Mumble { reason_ = bs; break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4051,6 +5304,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_Reject_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_Reject_fieldAccessorTable @@ -4064,71 +5318,149 @@ public final class Mumble { public enum RejectType implements com.google.protobuf.ProtocolMessageEnum { /** + *
+       * The rejection reason is unknown (details should be available
+       * in Reject.reason).
+       * 
+ * * None = 0; */ None(0), /** + *
+       * The client attempted to connect with an incompatible version.
+       * 
+ * * WrongVersion = 1; */ WrongVersion(1), /** + *
+       * The user name supplied by the client was invalid.
+       * 
+ * * InvalidUsername = 2; */ InvalidUsername(2), /** + *
+       * The client attempted to authenticate as a user with a password but it
+       * was wrong.
+       * 
+ * * WrongUserPW = 3; */ WrongUserPW(3), /** + *
+       * The client attempted to connect to a passworded server but the password
+       * was wrong.
+       * 
+ * * WrongServerPW = 4; */ WrongServerPW(4), /** + *
+       * Supplied username is already in use.
+       * 
+ * * UsernameInUse = 5; */ UsernameInUse(5), /** + *
+       * Server is currently full and cannot accept more users.
+       * 
+ * * ServerFull = 6; */ ServerFull(6), /** + *
+       * The user did not provide a certificate but one is required.
+       * 
+ * * NoCertificate = 7; */ NoCertificate(7), + /** + * AuthenticatorFail = 8; + */ + AuthenticatorFail(8), ; /** + *
+       * The rejection reason is unknown (details should be available
+       * in Reject.reason).
+       * 
+ * * None = 0; */ public static final int None_VALUE = 0; /** + *
+       * The client attempted to connect with an incompatible version.
+       * 
+ * * WrongVersion = 1; */ public static final int WrongVersion_VALUE = 1; /** + *
+       * The user name supplied by the client was invalid.
+       * 
+ * * InvalidUsername = 2; */ public static final int InvalidUsername_VALUE = 2; /** + *
+       * The client attempted to authenticate as a user with a password but it
+       * was wrong.
+       * 
+ * * WrongUserPW = 3; */ public static final int WrongUserPW_VALUE = 3; /** + *
+       * The client attempted to connect to a passworded server but the password
+       * was wrong.
+       * 
+ * * WrongServerPW = 4; */ public static final int WrongServerPW_VALUE = 4; /** + *
+       * Supplied username is already in use.
+       * 
+ * * UsernameInUse = 5; */ public static final int UsernameInUse_VALUE = 5; /** + *
+       * Server is currently full and cannot accept more users.
+       * 
+ * * ServerFull = 6; */ public static final int ServerFull_VALUE = 6; /** + *
+       * The user did not provide a certificate but one is required.
+       * 
+ * * NoCertificate = 7; */ public static final int NoCertificate_VALUE = 7; + /** + * AuthenticatorFail = 8; + */ + public static final int AuthenticatorFail_VALUE = 8; public final int getNumber() { @@ -4136,6 +5468,8 @@ public final class Mumble { } /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated @@ -4143,6 +5477,10 @@ public final class Mumble { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static RejectType forNumber(int value) { switch (value) { case 0: return None; @@ -4153,6 +5491,7 @@ public final class Mumble { case 5: return UsernameInUse; case 6: return ServerFull; case 7: return NoCertificate; + case 8: return AuthenticatorFail; default: return null; } } @@ -4206,15 +5545,26 @@ public final class Mumble { public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** + *
+     * Rejection type.
+     * 
+ * * optional .MumbleProto.Reject.RejectType type = 1; + * @return Whether the type field is set. */ public boolean hasType() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+     * Rejection type.
+     * 
+ * * optional .MumbleProto.Reject.RejectType type = 1; + * @return The type. */ public se.lublin.humla.protobuf.Mumble.Reject.RejectType getType() { + @SuppressWarnings("deprecation") se.lublin.humla.protobuf.Mumble.Reject.RejectType result = se.lublin.humla.protobuf.Mumble.Reject.RejectType.valueOf(type_); return result == null ? se.lublin.humla.protobuf.Mumble.Reject.RejectType.None : result; } @@ -4222,13 +5572,23 @@ public final class Mumble { public static final int REASON_FIELD_NUMBER = 2; private volatile java.lang.Object reason_; /** + *
+     * Human readable rejection reason.
+     * 
+ * * optional string reason = 2; + * @return Whether the reason field is set. */ public boolean hasReason() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+     * Human readable rejection reason.
+     * 
+ * * optional string reason = 2; + * @return The reason. */ public java.lang.String getReason() { java.lang.Object ref = reason_; @@ -4245,7 +5605,12 @@ public final class Mumble { } } /** + *
+     * Human readable rejection reason.
+     * 
+ * * optional string reason = 2; + * @return The bytes for reason. */ public com.google.protobuf.ByteString getReasonBytes() { @@ -4262,6 +5627,7 @@ public final class Mumble { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -4271,27 +5637,29 @@ public final class Mumble { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeEnum(1, type_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, reason_); } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, type_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, reason_); } size += unknownFields.getSerializedSize(); @@ -4299,7 +5667,6 @@ public final class Mumble { return size; } - private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { @@ -4310,18 +5677,17 @@ public final class Mumble { } se.lublin.humla.protobuf.Mumble.Reject other = (se.lublin.humla.protobuf.Mumble.Reject) obj; - boolean result = true; - result = result && (hasType() == other.hasType()); + if (hasType() != other.hasType()) return false; if (hasType()) { - result = result && type_ == other.type_; + if (type_ != other.type_) return false; } - result = result && (hasReason() == other.hasReason()); + if (hasReason() != other.hasReason()) return false; if (hasReason()) { - result = result && getReason() - .equals(other.getReason()); + if (!getReason() + .equals(other.getReason())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -4330,7 +5696,7 @@ public final class Mumble { return memoizedHashCode; } int hash = 41; - hash = (19 * hash) + getDescriptorForType().hashCode(); + hash = (19 * hash) + getDescriptor().hashCode(); if (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; @@ -4344,6 +5710,17 @@ public final class Mumble { return hash; } + public static se.lublin.humla.protobuf.Mumble.Reject parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static se.lublin.humla.protobuf.Mumble.Reject parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static se.lublin.humla.protobuf.Mumble.Reject parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -4403,6 +5780,7 @@ public final class Mumble { .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); @@ -4410,6 +5788,7 @@ public final class Mumble { public static Builder newBuilder(se.lublin.humla.protobuf.Mumble.Reject prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -4422,6 +5801,10 @@ public final class Mumble { return builder; } /** + *
+     * Sent by the server when it rejects the user connection.
+     * 
+ * * Protobuf type {@code MumbleProto.Reject} */ public static final class Builder extends @@ -4433,6 +5816,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_Reject_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_Reject_fieldAccessorTable @@ -4455,6 +5839,7 @@ public final class Mumble { .alwaysUseFieldBuilders) { } } + @java.lang.Override public Builder clear() { super.clear(); type_ = 0; @@ -4464,15 +5849,18 @@ public final class Mumble { return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_Reject_descriptor; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.Reject getDefaultInstanceForType() { return se.lublin.humla.protobuf.Mumble.Reject.getDefaultInstance(); } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.Reject build() { se.lublin.humla.protobuf.Mumble.Reject result = buildPartial(); if (!result.isInitialized()) { @@ -4481,15 +5869,16 @@ public final class Mumble { return result; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.Reject buildPartial() { se.lublin.humla.protobuf.Mumble.Reject result = new se.lublin.humla.protobuf.Mumble.Reject(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.type_ = type_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.reason_ = reason_; @@ -4498,32 +5887,39 @@ public final class Mumble { return result; } + @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.setField(field, value); + java.lang.Object value) { + return super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { - return (Builder) super.setRepeatedField(field, index, value); + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.addRepeatedField(field, value); + java.lang.Object value) { + return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof se.lublin.humla.protobuf.Mumble.Reject) { return mergeFrom((se.lublin.humla.protobuf.Mumble.Reject)other); @@ -4548,10 +5944,12 @@ public final class Mumble { return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -4573,20 +5971,37 @@ public final class Mumble { private int type_ = 0; /** + *
+       * Rejection type.
+       * 
+ * * optional .MumbleProto.Reject.RejectType type = 1; + * @return Whether the type field is set. */ public boolean hasType() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+       * Rejection type.
+       * 
+ * * optional .MumbleProto.Reject.RejectType type = 1; + * @return The type. */ public se.lublin.humla.protobuf.Mumble.Reject.RejectType getType() { + @SuppressWarnings("deprecation") se.lublin.humla.protobuf.Mumble.Reject.RejectType result = se.lublin.humla.protobuf.Mumble.Reject.RejectType.valueOf(type_); return result == null ? se.lublin.humla.protobuf.Mumble.Reject.RejectType.None : result; } /** + *
+       * Rejection type.
+       * 
+ * * optional .MumbleProto.Reject.RejectType type = 1; + * @param value The type to set. + * @return This builder for chaining. */ public Builder setType(se.lublin.humla.protobuf.Mumble.Reject.RejectType value) { if (value == null) { @@ -4598,7 +6013,12 @@ public final class Mumble { return this; } /** + *
+       * Rejection type.
+       * 
+ * * optional .MumbleProto.Reject.RejectType type = 1; + * @return This builder for chaining. */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000001); @@ -4609,13 +6029,23 @@ public final class Mumble { private java.lang.Object reason_ = ""; /** + *
+       * Human readable rejection reason.
+       * 
+ * * optional string reason = 2; + * @return Whether the reason field is set. */ public boolean hasReason() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+       * Human readable rejection reason.
+       * 
+ * * optional string reason = 2; + * @return The reason. */ public java.lang.String getReason() { java.lang.Object ref = reason_; @@ -4632,7 +6062,12 @@ public final class Mumble { } } /** + *
+       * Human readable rejection reason.
+       * 
+ * * optional string reason = 2; + * @return The bytes for reason. */ public com.google.protobuf.ByteString getReasonBytes() { @@ -4648,7 +6083,13 @@ public final class Mumble { } } /** + *
+       * Human readable rejection reason.
+       * 
+ * * optional string reason = 2; + * @param value The reason to set. + * @return This builder for chaining. */ public Builder setReason( java.lang.String value) { @@ -4661,7 +6102,12 @@ public final class Mumble { return this; } /** + *
+       * Human readable rejection reason.
+       * 
+ * * optional string reason = 2; + * @return This builder for chaining. */ public Builder clearReason() { bitField0_ = (bitField0_ & ~0x00000002); @@ -4670,7 +6116,13 @@ public final class Mumble { return this; } /** + *
+       * Human readable rejection reason.
+       * 
+ * * optional string reason = 2; + * @param value The bytes for reason to set. + * @return This builder for chaining. */ public Builder setReasonBytes( com.google.protobuf.ByteString value) { @@ -4682,11 +6134,13 @@ public final class Mumble { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -4708,11 +6162,12 @@ public final class Mumble { @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override public Reject parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Reject(input, extensionRegistry); + return new Reject(input, extensionRegistry); } }; @@ -4725,83 +6180,129 @@ public final class Mumble { return PARSER; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.Reject getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface ServerConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:MumbleProto.ServerConfig) + public interface ServerSyncOrBuilder extends + // @@protoc_insertion_point(interface_extends:MumbleProto.ServerSync) com.google.protobuf.MessageOrBuilder { /** - * optional uint32 max_bandwidth = 1; + *
+     * The session of the current user.
+     * 
+ * + * optional uint32 session = 1; + * @return Whether the session field is set. + */ + boolean hasSession(); + /** + *
+     * The session of the current user.
+     * 
+ * + * optional uint32 session = 1; + * @return The session. + */ + int getSession(); + + /** + *
+     * Maximum bandwidth that the user should use.
+     * 
+ * + * optional uint32 max_bandwidth = 2; + * @return Whether the maxBandwidth field is set. */ boolean hasMaxBandwidth(); /** - * optional uint32 max_bandwidth = 1; + *
+     * Maximum bandwidth that the user should use.
+     * 
+ * + * optional uint32 max_bandwidth = 2; + * @return The maxBandwidth. */ int getMaxBandwidth(); /** - * optional string welcome_text = 2; + *
+     * Server welcome text.
+     * 
+ * + * optional string welcome_text = 3; + * @return Whether the welcomeText field is set. */ boolean hasWelcomeText(); /** - * optional string welcome_text = 2; + *
+     * Server welcome text.
+     * 
+ * + * optional string welcome_text = 3; + * @return The welcomeText. */ java.lang.String getWelcomeText(); /** - * optional string welcome_text = 2; + *
+     * Server welcome text.
+     * 
+ * + * optional string welcome_text = 3; + * @return The bytes for welcomeText. */ com.google.protobuf.ByteString getWelcomeTextBytes(); /** - * optional bool allow_html = 3; - */ - boolean hasAllowHtml(); - /** - * optional bool allow_html = 3; - */ - boolean getAllowHtml(); - - /** - * optional uint32 message_length = 4; - */ - boolean hasMessageLength(); - /** - * optional uint32 message_length = 4; - */ - int getMessageLength(); - - /** - * optional uint32 image_message_length = 5; + *
+     * Current user permissions in the root channel.
+     * 
+ * + * optional uint64 permissions = 4; + * @return Whether the permissions field is set. */ - boolean hasImageMessageLength(); + boolean hasPermissions(); /** - * optional uint32 image_message_length = 5; + *
+     * Current user permissions in the root channel.
+     * 
+ * + * optional uint64 permissions = 4; + * @return The permissions. */ - int getImageMessageLength(); + long getPermissions(); } /** - * Protobuf type {@code MumbleProto.ServerConfig} + *
+   * ServerSync message is sent by the server when it has authenticated the user
+   * and finished synchronizing the server state.
+   * 
+ * + * Protobuf type {@code MumbleProto.ServerSync} */ - public static final class ServerConfig extends + public static final class ServerSync extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:MumbleProto.ServerConfig) - ServerConfigOrBuilder { - // Use ServerConfig.newBuilder() to construct. - private ServerConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // @@protoc_insertion_point(message_implements:MumbleProto.ServerSync) + ServerSyncOrBuilder { + private static final long serialVersionUID = 0L; + // Use ServerSync.newBuilder() to construct. + private ServerSync(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ServerConfig() { - maxBandwidth_ = 0; + private ServerSync() { welcomeText_ = ""; - allowHtml_ = false; - messageLength_ = 0; - imageMessageLength_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ServerSync(); } @java.lang.Override @@ -4809,11 +6310,14 @@ public final class Mumble { getUnknownFields() { return this.unknownFields; } - private ServerConfig( + private ServerSync( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -4825,37 +6329,32 @@ public final class Mumble { case 0: done = true; break; - default: { - if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; - maxBandwidth_ = input.readUInt32(); + session_ = input.readUInt32(); break; } - case 18: { - com.google.protobuf.ByteString bs = input.readBytes(); + case 16: { bitField0_ |= 0x00000002; - welcomeText_ = bs; + maxBandwidth_ = input.readUInt32(); break; } - case 24: { + case 26: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; - allowHtml_ = input.readBool(); + welcomeText_ = bs; break; } case 32: { bitField0_ |= 0x00000008; - messageLength_ = input.readUInt32(); + permissions_ = input.readUInt64(); break; } - case 40: { - bitField0_ |= 0x00000010; - imageMessageLength_ = input.readUInt32(); + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } break; } } @@ -4872,42 +6371,88 @@ public final class Mumble { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ServerConfig_descriptor; + return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ServerSync_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ServerConfig_fieldAccessorTable + return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ServerSync_fieldAccessorTable .ensureFieldAccessorsInitialized( - se.lublin.humla.protobuf.Mumble.ServerConfig.class, se.lublin.humla.protobuf.Mumble.ServerConfig.Builder.class); + se.lublin.humla.protobuf.Mumble.ServerSync.class, se.lublin.humla.protobuf.Mumble.ServerSync.Builder.class); } private int bitField0_; - public static final int MAX_BANDWIDTH_FIELD_NUMBER = 1; + public static final int SESSION_FIELD_NUMBER = 1; + private int session_; + /** + *
+     * The session of the current user.
+     * 
+ * + * optional uint32 session = 1; + * @return Whether the session field is set. + */ + public boolean hasSession() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+     * The session of the current user.
+     * 
+ * + * optional uint32 session = 1; + * @return The session. + */ + public int getSession() { + return session_; + } + + public static final int MAX_BANDWIDTH_FIELD_NUMBER = 2; private int maxBandwidth_; /** - * optional uint32 max_bandwidth = 1; + *
+     * Maximum bandwidth that the user should use.
+     * 
+ * + * optional uint32 max_bandwidth = 2; + * @return Whether the maxBandwidth field is set. */ public boolean hasMaxBandwidth() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000002) != 0); } /** - * optional uint32 max_bandwidth = 1; + *
+     * Maximum bandwidth that the user should use.
+     * 
+ * + * optional uint32 max_bandwidth = 2; + * @return The maxBandwidth. */ public int getMaxBandwidth() { return maxBandwidth_; } - public static final int WELCOME_TEXT_FIELD_NUMBER = 2; + public static final int WELCOME_TEXT_FIELD_NUMBER = 3; private volatile java.lang.Object welcomeText_; /** - * optional string welcome_text = 2; + *
+     * Server welcome text.
+     * 
+ * + * optional string welcome_text = 3; + * @return Whether the welcomeText field is set. */ public boolean hasWelcomeText() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000004) != 0); } /** - * optional string welcome_text = 2; + *
+     * Server welcome text.
+     * 
+ * + * optional string welcome_text = 3; + * @return The welcomeText. */ public java.lang.String getWelcomeText() { java.lang.Object ref = welcomeText_; @@ -4924,7 +6469,12 @@ public final class Mumble { } } /** - * optional string welcome_text = 2; + *
+     * Server welcome text.
+     * 
+ * + * optional string welcome_text = 3; + * @return The bytes for welcomeText. */ public com.google.protobuf.ByteString getWelcomeTextBytes() { @@ -4940,52 +6490,33 @@ public final class Mumble { } } - public static final int ALLOW_HTML_FIELD_NUMBER = 3; - private boolean allowHtml_; - /** - * optional bool allow_html = 3; - */ - public boolean hasAllowHtml() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - /** - * optional bool allow_html = 3; - */ - public boolean getAllowHtml() { - return allowHtml_; - } - - public static final int MESSAGE_LENGTH_FIELD_NUMBER = 4; - private int messageLength_; - /** - * optional uint32 message_length = 4; - */ - public boolean hasMessageLength() { - return ((bitField0_ & 0x00000008) == 0x00000008); - } - /** - * optional uint32 message_length = 4; - */ - public int getMessageLength() { - return messageLength_; - } - - public static final int IMAGE_MESSAGE_LENGTH_FIELD_NUMBER = 5; - private int imageMessageLength_; + public static final int PERMISSIONS_FIELD_NUMBER = 4; + private long permissions_; /** - * optional uint32 image_message_length = 5; + *
+     * Current user permissions in the root channel.
+     * 
+ * + * optional uint64 permissions = 4; + * @return Whether the permissions field is set. */ - public boolean hasImageMessageLength() { - return ((bitField0_ & 0x00000010) == 0x00000010); + public boolean hasPermissions() { + return ((bitField0_ & 0x00000008) != 0); } /** - * optional uint32 image_message_length = 5; + *
+     * Current user permissions in the root channel.
+     * 
+ * + * optional uint64 permissions = 4; + * @return The permissions. */ - public int getImageMessageLength() { - return imageMessageLength_; + public long getPermissions() { + return permissions_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -4995,94 +6526,82 @@ public final class Mumble { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, maxBandwidth_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, welcomeText_); + if (((bitField0_ & 0x00000001) != 0)) { + output.writeUInt32(1, session_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeBool(3, allowHtml_); + if (((bitField0_ & 0x00000002) != 0)) { + output.writeUInt32(2, maxBandwidth_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeUInt32(4, messageLength_); + if (((bitField0_ & 0x00000004) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, welcomeText_); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { - output.writeUInt32(5, imageMessageLength_); + if (((bitField0_ & 0x00000008) != 0)) { + output.writeUInt64(4, permissions_); } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, maxBandwidth_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, welcomeText_); + .computeUInt32Size(1, session_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, allowHtml_); + .computeUInt32Size(2, maxBandwidth_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(4, messageLength_); + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, welcomeText_); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(5, imageMessageLength_); + .computeUInt64Size(4, permissions_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } - private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof se.lublin.humla.protobuf.Mumble.ServerConfig)) { + if (!(obj instanceof se.lublin.humla.protobuf.Mumble.ServerSync)) { return super.equals(obj); } - se.lublin.humla.protobuf.Mumble.ServerConfig other = (se.lublin.humla.protobuf.Mumble.ServerConfig) obj; + se.lublin.humla.protobuf.Mumble.ServerSync other = (se.lublin.humla.protobuf.Mumble.ServerSync) obj; - boolean result = true; - result = result && (hasMaxBandwidth() == other.hasMaxBandwidth()); + if (hasSession() != other.hasSession()) return false; + if (hasSession()) { + if (getSession() + != other.getSession()) return false; + } + if (hasMaxBandwidth() != other.hasMaxBandwidth()) return false; if (hasMaxBandwidth()) { - result = result && (getMaxBandwidth() - == other.getMaxBandwidth()); + if (getMaxBandwidth() + != other.getMaxBandwidth()) return false; } - result = result && (hasWelcomeText() == other.hasWelcomeText()); + if (hasWelcomeText() != other.hasWelcomeText()) return false; if (hasWelcomeText()) { - result = result && getWelcomeText() - .equals(other.getWelcomeText()); - } - result = result && (hasAllowHtml() == other.hasAllowHtml()); - if (hasAllowHtml()) { - result = result && (getAllowHtml() - == other.getAllowHtml()); - } - result = result && (hasMessageLength() == other.hasMessageLength()); - if (hasMessageLength()) { - result = result && (getMessageLength() - == other.getMessageLength()); + if (!getWelcomeText() + .equals(other.getWelcomeText())) return false; } - result = result && (hasImageMessageLength() == other.hasImageMessageLength()); - if (hasImageMessageLength()) { - result = result && (getImageMessageLength() - == other.getImageMessageLength()); + if (hasPermissions() != other.hasPermissions()) return false; + if (hasPermissions()) { + if (getPermissions() + != other.getPermissions()) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -5091,7 +6610,11 @@ public final class Mumble { return memoizedHashCode; } int hash = 41; - hash = (19 * hash) + getDescriptorForType().hashCode(); + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasSession()) { + hash = (37 * hash) + SESSION_FIELD_NUMBER; + hash = (53 * hash) + getSession(); + } if (hasMaxBandwidth()) { hash = (37 * hash) + MAX_BANDWIDTH_FIELD_NUMBER; hash = (53 * hash) + getMaxBandwidth(); @@ -5100,76 +6623,79 @@ public final class Mumble { hash = (37 * hash) + WELCOME_TEXT_FIELD_NUMBER; hash = (53 * hash) + getWelcomeText().hashCode(); } - if (hasAllowHtml()) { - hash = (37 * hash) + ALLOW_HTML_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowHtml()); - } - if (hasMessageLength()) { - hash = (37 * hash) + MESSAGE_LENGTH_FIELD_NUMBER; - hash = (53 * hash) + getMessageLength(); - } - if (hasImageMessageLength()) { - hash = (37 * hash) + IMAGE_MESSAGE_LENGTH_FIELD_NUMBER; - hash = (53 * hash) + getImageMessageLength(); + if (hasPermissions()) { + hash = (37 * hash) + PERMISSIONS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getPermissions()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static se.lublin.humla.protobuf.Mumble.ServerConfig parseFrom( + public static se.lublin.humla.protobuf.Mumble.ServerSync parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static se.lublin.humla.protobuf.Mumble.ServerSync parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static se.lublin.humla.protobuf.Mumble.ServerSync parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static se.lublin.humla.protobuf.Mumble.ServerConfig parseFrom( + public static se.lublin.humla.protobuf.Mumble.ServerSync parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static se.lublin.humla.protobuf.Mumble.ServerConfig parseFrom(byte[] data) + public static se.lublin.humla.protobuf.Mumble.ServerSync parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static se.lublin.humla.protobuf.Mumble.ServerConfig parseFrom( + public static se.lublin.humla.protobuf.Mumble.ServerSync parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static se.lublin.humla.protobuf.Mumble.ServerConfig parseFrom(java.io.InputStream input) + public static se.lublin.humla.protobuf.Mumble.ServerSync parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static se.lublin.humla.protobuf.Mumble.ServerConfig parseFrom( + public static se.lublin.humla.protobuf.Mumble.ServerSync parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static se.lublin.humla.protobuf.Mumble.ServerConfig parseDelimitedFrom(java.io.InputStream input) + public static se.lublin.humla.protobuf.Mumble.ServerSync parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static se.lublin.humla.protobuf.Mumble.ServerConfig parseDelimitedFrom( + public static se.lublin.humla.protobuf.Mumble.ServerSync parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static se.lublin.humla.protobuf.Mumble.ServerConfig parseFrom( + public static se.lublin.humla.protobuf.Mumble.ServerSync parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static se.lublin.humla.protobuf.Mumble.ServerConfig parseFrom( + public static se.lublin.humla.protobuf.Mumble.ServerSync parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -5177,13 +6703,15 @@ public final class Mumble { .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(se.lublin.humla.protobuf.Mumble.ServerConfig prototype) { + public static Builder newBuilder(se.lublin.humla.protobuf.Mumble.ServerSync prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -5196,25 +6724,31 @@ public final class Mumble { return builder; } /** - * Protobuf type {@code MumbleProto.ServerConfig} + *
+     * ServerSync message is sent by the server when it has authenticated the user
+     * and finished synchronizing the server state.
+     * 
+ * + * Protobuf type {@code MumbleProto.ServerSync} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:MumbleProto.ServerConfig) - se.lublin.humla.protobuf.Mumble.ServerConfigOrBuilder { + // @@protoc_insertion_point(builder_implements:MumbleProto.ServerSync) + se.lublin.humla.protobuf.Mumble.ServerSyncOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ServerConfig_descriptor; + return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ServerSync_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ServerConfig_fieldAccessorTable + return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ServerSync_fieldAccessorTable .ensureFieldAccessorsInitialized( - se.lublin.humla.protobuf.Mumble.ServerConfig.class, se.lublin.humla.protobuf.Mumble.ServerConfig.Builder.class); + se.lublin.humla.protobuf.Mumble.ServerSync.class, se.lublin.humla.protobuf.Mumble.ServerSync.Builder.class); } - // Construct using se.lublin.humla.protobuf.Mumble.ServerConfig.newBuilder() + // Construct using se.lublin.humla.protobuf.Mumble.ServerSync.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -5229,139 +6763,144 @@ public final class Mumble { .alwaysUseFieldBuilders) { } } + @java.lang.Override public Builder clear() { super.clear(); - maxBandwidth_ = 0; + session_ = 0; bitField0_ = (bitField0_ & ~0x00000001); - welcomeText_ = ""; + maxBandwidth_ = 0; bitField0_ = (bitField0_ & ~0x00000002); - allowHtml_ = false; + welcomeText_ = ""; bitField0_ = (bitField0_ & ~0x00000004); - messageLength_ = 0; + permissions_ = 0L; bitField0_ = (bitField0_ & ~0x00000008); - imageMessageLength_ = 0; - bitField0_ = (bitField0_ & ~0x00000010); return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ServerConfig_descriptor; + return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ServerSync_descriptor; } - public se.lublin.humla.protobuf.Mumble.ServerConfig getDefaultInstanceForType() { - return se.lublin.humla.protobuf.Mumble.ServerConfig.getDefaultInstance(); + @java.lang.Override + public se.lublin.humla.protobuf.Mumble.ServerSync getDefaultInstanceForType() { + return se.lublin.humla.protobuf.Mumble.ServerSync.getDefaultInstance(); } - public se.lublin.humla.protobuf.Mumble.ServerConfig build() { - se.lublin.humla.protobuf.Mumble.ServerConfig result = buildPartial(); + @java.lang.Override + public se.lublin.humla.protobuf.Mumble.ServerSync build() { + se.lublin.humla.protobuf.Mumble.ServerSync result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public se.lublin.humla.protobuf.Mumble.ServerConfig buildPartial() { - se.lublin.humla.protobuf.Mumble.ServerConfig result = new se.lublin.humla.protobuf.Mumble.ServerConfig(this); + @java.lang.Override + public se.lublin.humla.protobuf.Mumble.ServerSync buildPartial() { + se.lublin.humla.protobuf.Mumble.ServerSync result = new se.lublin.humla.protobuf.Mumble.ServerSync(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.session_ = session_; to_bitField0_ |= 0x00000001; } - result.maxBandwidth_ = maxBandwidth_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.maxBandwidth_ = maxBandwidth_; to_bitField0_ |= 0x00000002; } - result.welcomeText_ = welcomeText_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } - result.allowHtml_ = allowHtml_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + result.welcomeText_ = welcomeText_; + if (((from_bitField0_ & 0x00000008) != 0)) { + result.permissions_ = permissions_; to_bitField0_ |= 0x00000008; } - result.messageLength_ = messageLength_; - if (((from_bitField0_ & 0x00000010) == 0x00000010)) { - to_bitField0_ |= 0x00000010; - } - result.imageMessageLength_ = imageMessageLength_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } + @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.setField(field, value); + java.lang.Object value) { + return super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { - return (Builder) super.setRepeatedField(field, index, value); + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.addRepeatedField(field, value); + java.lang.Object value) { + return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof se.lublin.humla.protobuf.Mumble.ServerConfig) { - return mergeFrom((se.lublin.humla.protobuf.Mumble.ServerConfig)other); + if (other instanceof se.lublin.humla.protobuf.Mumble.ServerSync) { + return mergeFrom((se.lublin.humla.protobuf.Mumble.ServerSync)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(se.lublin.humla.protobuf.Mumble.ServerConfig other) { - if (other == se.lublin.humla.protobuf.Mumble.ServerConfig.getDefaultInstance()) return this; + public Builder mergeFrom(se.lublin.humla.protobuf.Mumble.ServerSync other) { + if (other == se.lublin.humla.protobuf.Mumble.ServerSync.getDefaultInstance()) return this; + if (other.hasSession()) { + setSession(other.getSession()); + } if (other.hasMaxBandwidth()) { setMaxBandwidth(other.getMaxBandwidth()); } if (other.hasWelcomeText()) { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; welcomeText_ = other.welcomeText_; onChanged(); } - if (other.hasAllowHtml()) { - setAllowHtml(other.getAllowHtml()); - } - if (other.hasMessageLength()) { - setMessageLength(other.getMessageLength()); - } - if (other.hasImageMessageLength()) { - setImageMessageLength(other.getImageMessageLength()); + if (other.hasPermissions()) { + setPermissions(other.getPermissions()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - se.lublin.humla.protobuf.Mumble.ServerConfig parsedMessage = null; + se.lublin.humla.protobuf.Mumble.ServerSync parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (se.lublin.humla.protobuf.Mumble.ServerConfig) e.getUnfinishedMessage(); + parsedMessage = (se.lublin.humla.protobuf.Mumble.ServerSync) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -5372,33 +6911,107 @@ public final class Mumble { } private int bitField0_; + private int session_ ; + /** + *
+       * The session of the current user.
+       * 
+ * + * optional uint32 session = 1; + * @return Whether the session field is set. + */ + public boolean hasSession() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+       * The session of the current user.
+       * 
+ * + * optional uint32 session = 1; + * @return The session. + */ + public int getSession() { + return session_; + } + /** + *
+       * The session of the current user.
+       * 
+ * + * optional uint32 session = 1; + * @param value The session to set. + * @return This builder for chaining. + */ + public Builder setSession(int value) { + bitField0_ |= 0x00000001; + session_ = value; + onChanged(); + return this; + } + /** + *
+       * The session of the current user.
+       * 
+ * + * optional uint32 session = 1; + * @return This builder for chaining. + */ + public Builder clearSession() { + bitField0_ = (bitField0_ & ~0x00000001); + session_ = 0; + onChanged(); + return this; + } + private int maxBandwidth_ ; /** - * optional uint32 max_bandwidth = 1; + *
+       * Maximum bandwidth that the user should use.
+       * 
+ * + * optional uint32 max_bandwidth = 2; + * @return Whether the maxBandwidth field is set. */ public boolean hasMaxBandwidth() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000002) != 0); } /** - * optional uint32 max_bandwidth = 1; + *
+       * Maximum bandwidth that the user should use.
+       * 
+ * + * optional uint32 max_bandwidth = 2; + * @return The maxBandwidth. */ public int getMaxBandwidth() { return maxBandwidth_; } /** - * optional uint32 max_bandwidth = 1; + *
+       * Maximum bandwidth that the user should use.
+       * 
+ * + * optional uint32 max_bandwidth = 2; + * @param value The maxBandwidth to set. + * @return This builder for chaining. */ public Builder setMaxBandwidth(int value) { - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000002; maxBandwidth_ = value; onChanged(); return this; } /** - * optional uint32 max_bandwidth = 1; + *
+       * Maximum bandwidth that the user should use.
+       * 
+ * + * optional uint32 max_bandwidth = 2; + * @return This builder for chaining. */ public Builder clearMaxBandwidth() { - bitField0_ = (bitField0_ & ~0x00000001); + bitField0_ = (bitField0_ & ~0x00000002); maxBandwidth_ = 0; onChanged(); return this; @@ -5406,13 +7019,23 @@ public final class Mumble { private java.lang.Object welcomeText_ = ""; /** - * optional string welcome_text = 2; + *
+       * Server welcome text.
+       * 
+ * + * optional string welcome_text = 3; + * @return Whether the welcomeText field is set. */ public boolean hasWelcomeText() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000004) != 0); } /** - * optional string welcome_text = 2; + *
+       * Server welcome text.
+       * 
+ * + * optional string welcome_text = 3; + * @return The welcomeText. */ public java.lang.String getWelcomeText() { java.lang.Object ref = welcomeText_; @@ -5429,7 +7052,12 @@ public final class Mumble { } } /** - * optional string welcome_text = 2; + *
+       * Server welcome text.
+       * 
+ * + * optional string welcome_text = 3; + * @return The bytes for welcomeText. */ public com.google.protobuf.ByteString getWelcomeTextBytes() { @@ -5445,246 +7073,203 @@ public final class Mumble { } } /** - * optional string welcome_text = 2; + *
+       * Server welcome text.
+       * 
+ * + * optional string welcome_text = 3; + * @param value The welcomeText to set. + * @return This builder for chaining. */ public Builder setWelcomeText( java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; welcomeText_ = value; onChanged(); return this; } /** - * optional string welcome_text = 2; + *
+       * Server welcome text.
+       * 
+ * + * optional string welcome_text = 3; + * @return This builder for chaining. */ public Builder clearWelcomeText() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000004); welcomeText_ = getDefaultInstance().getWelcomeText(); onChanged(); return this; } /** - * optional string welcome_text = 2; + *
+       * Server welcome text.
+       * 
+ * + * optional string welcome_text = 3; + * @param value The bytes for welcomeText to set. + * @return This builder for chaining. */ public Builder setWelcomeTextBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; welcomeText_ = value; onChanged(); return this; } - private boolean allowHtml_ ; - /** - * optional bool allow_html = 3; - */ - public boolean hasAllowHtml() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - /** - * optional bool allow_html = 3; - */ - public boolean getAllowHtml() { - return allowHtml_; - } - /** - * optional bool allow_html = 3; - */ - public Builder setAllowHtml(boolean value) { - bitField0_ |= 0x00000004; - allowHtml_ = value; - onChanged(); - return this; - } - /** - * optional bool allow_html = 3; - */ - public Builder clearAllowHtml() { - bitField0_ = (bitField0_ & ~0x00000004); - allowHtml_ = false; - onChanged(); - return this; - } - - private int messageLength_ ; + private long permissions_ ; /** - * optional uint32 message_length = 4; + *
+       * Current user permissions in the root channel.
+       * 
+ * + * optional uint64 permissions = 4; + * @return Whether the permissions field is set. */ - public boolean hasMessageLength() { - return ((bitField0_ & 0x00000008) == 0x00000008); + public boolean hasPermissions() { + return ((bitField0_ & 0x00000008) != 0); } /** - * optional uint32 message_length = 4; + *
+       * Current user permissions in the root channel.
+       * 
+ * + * optional uint64 permissions = 4; + * @return The permissions. */ - public int getMessageLength() { - return messageLength_; + public long getPermissions() { + return permissions_; } /** - * optional uint32 message_length = 4; + *
+       * Current user permissions in the root channel.
+       * 
+ * + * optional uint64 permissions = 4; + * @param value The permissions to set. + * @return This builder for chaining. */ - public Builder setMessageLength(int value) { + public Builder setPermissions(long value) { bitField0_ |= 0x00000008; - messageLength_ = value; + permissions_ = value; onChanged(); return this; } /** - * optional uint32 message_length = 4; + *
+       * Current user permissions in the root channel.
+       * 
+ * + * optional uint64 permissions = 4; + * @return This builder for chaining. */ - public Builder clearMessageLength() { + public Builder clearPermissions() { bitField0_ = (bitField0_ & ~0x00000008); - messageLength_ = 0; - onChanged(); - return this; - } - - private int imageMessageLength_ ; - /** - * optional uint32 image_message_length = 5; - */ - public boolean hasImageMessageLength() { - return ((bitField0_ & 0x00000010) == 0x00000010); - } - /** - * optional uint32 image_message_length = 5; - */ - public int getImageMessageLength() { - return imageMessageLength_; - } - /** - * optional uint32 image_message_length = 5; - */ - public Builder setImageMessageLength(int value) { - bitField0_ |= 0x00000010; - imageMessageLength_ = value; - onChanged(); - return this; - } - /** - * optional uint32 image_message_length = 5; - */ - public Builder clearImageMessageLength() { - bitField0_ = (bitField0_ & ~0x00000010); - imageMessageLength_ = 0; + permissions_ = 0L; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:MumbleProto.ServerConfig) + // @@protoc_insertion_point(builder_scope:MumbleProto.ServerSync) } - // @@protoc_insertion_point(class_scope:MumbleProto.ServerConfig) - private static final se.lublin.humla.protobuf.Mumble.ServerConfig DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:MumbleProto.ServerSync) + private static final se.lublin.humla.protobuf.Mumble.ServerSync DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new se.lublin.humla.protobuf.Mumble.ServerConfig(); + DEFAULT_INSTANCE = new se.lublin.humla.protobuf.Mumble.ServerSync(); } - public static se.lublin.humla.protobuf.Mumble.ServerConfig getDefaultInstance() { + public static se.lublin.humla.protobuf.Mumble.ServerSync getDefaultInstance() { return DEFAULT_INSTANCE; } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - public ServerConfig parsePartialFrom( + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ServerSync parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ServerConfig(input, extensionRegistry); + return new ServerSync(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } - public se.lublin.humla.protobuf.Mumble.ServerConfig getDefaultInstanceForType() { + @java.lang.Override + public se.lublin.humla.protobuf.Mumble.ServerSync getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface ServerSyncOrBuilder extends - // @@protoc_insertion_point(interface_extends:MumbleProto.ServerSync) + public interface ChannelRemoveOrBuilder extends + // @@protoc_insertion_point(interface_extends:MumbleProto.ChannelRemove) com.google.protobuf.MessageOrBuilder { /** - * optional uint32 session = 1; - */ - boolean hasSession(); - /** - * optional uint32 session = 1; - */ - int getSession(); - - /** - * optional uint32 max_bandwidth = 2; - */ - boolean hasMaxBandwidth(); - /** - * optional uint32 max_bandwidth = 2; - */ - int getMaxBandwidth(); - - /** - * optional string welcome_text = 3; - */ - boolean hasWelcomeText(); - /** - * optional string welcome_text = 3; - */ - java.lang.String getWelcomeText(); - /** - * optional string welcome_text = 3; - */ - com.google.protobuf.ByteString - getWelcomeTextBytes(); - - /** - * optional uint64 permissions = 4; + * required uint32 channel_id = 1; + * @return Whether the channelId field is set. */ - boolean hasPermissions(); + boolean hasChannelId(); /** - * optional uint64 permissions = 4; + * required uint32 channel_id = 1; + * @return The channelId. */ - long getPermissions(); + int getChannelId(); } /** - * Protobuf type {@code MumbleProto.ServerSync} + *
+   * Sent by the client when it wants a channel removed. Sent by the server when
+   * a channel has been removed and clients should be notified.
+   * 
+ * + * Protobuf type {@code MumbleProto.ChannelRemove} */ - public static final class ServerSync extends + public static final class ChannelRemove extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:MumbleProto.ServerSync) - ServerSyncOrBuilder { - // Use ServerSync.newBuilder() to construct. - private ServerSync(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // @@protoc_insertion_point(message_implements:MumbleProto.ChannelRemove) + ChannelRemoveOrBuilder { + private static final long serialVersionUID = 0L; + // Use ChannelRemove.newBuilder() to construct. + private ChannelRemove(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ServerSync() { - session_ = 0; - maxBandwidth_ = 0; - welcomeText_ = ""; - permissions_ = 0L; + private ChannelRemove() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ChannelRemove(); } @java.lang.Override @@ -5692,11 +7277,14 @@ public final class Mumble { getUnknownFields() { return this.unknownFields; } - private ServerSync( + private ChannelRemove( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -5708,32 +7296,16 @@ public final class Mumble { case 0: done = true; break; - default: { - if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; - session_ = input.readUInt32(); - break; - } - case 16: { - bitField0_ |= 0x00000002; - maxBandwidth_ = input.readUInt32(); - break; - } - case 26: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000004; - welcomeText_ = bs; + channelId_ = input.readUInt32(); break; } - case 32: { - bitField0_ |= 0x00000008; - permissions_ = input.readUInt64(); + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } break; } } @@ -5750,190 +7322,91 @@ public final class Mumble { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ServerSync_descriptor; + return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ChannelRemove_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ServerSync_fieldAccessorTable + return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ChannelRemove_fieldAccessorTable .ensureFieldAccessorsInitialized( - se.lublin.humla.protobuf.Mumble.ServerSync.class, se.lublin.humla.protobuf.Mumble.ServerSync.Builder.class); + se.lublin.humla.protobuf.Mumble.ChannelRemove.class, se.lublin.humla.protobuf.Mumble.ChannelRemove.Builder.class); } private int bitField0_; - public static final int SESSION_FIELD_NUMBER = 1; - private int session_; - /** - * optional uint32 session = 1; - */ - public boolean hasSession() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - * optional uint32 session = 1; - */ - public int getSession() { - return session_; - } - - public static final int MAX_BANDWIDTH_FIELD_NUMBER = 2; - private int maxBandwidth_; - /** - * optional uint32 max_bandwidth = 2; - */ - public boolean hasMaxBandwidth() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * optional uint32 max_bandwidth = 2; - */ - public int getMaxBandwidth() { - return maxBandwidth_; - } - - public static final int WELCOME_TEXT_FIELD_NUMBER = 3; - private volatile java.lang.Object welcomeText_; - /** - * optional string welcome_text = 3; - */ - public boolean hasWelcomeText() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - /** - * optional string welcome_text = 3; - */ - public java.lang.String getWelcomeText() { - java.lang.Object ref = welcomeText_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - welcomeText_ = s; - } - return s; - } - } - /** - * optional string welcome_text = 3; - */ - public com.google.protobuf.ByteString - getWelcomeTextBytes() { - java.lang.Object ref = welcomeText_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - welcomeText_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int PERMISSIONS_FIELD_NUMBER = 4; - private long permissions_; + public static final int CHANNEL_ID_FIELD_NUMBER = 1; + private int channelId_; /** - * optional uint64 permissions = 4; + * required uint32 channel_id = 1; + * @return Whether the channelId field is set. */ - public boolean hasPermissions() { - return ((bitField0_ & 0x00000008) == 0x00000008); + public boolean hasChannelId() { + return ((bitField0_ & 0x00000001) != 0); } /** - * optional uint64 permissions = 4; + * required uint32 channel_id = 1; + * @return The channelId. */ - public long getPermissions() { - return permissions_; + public int getChannelId() { + return channelId_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; + if (!hasChannelId()) { + memoizedIsInitialized = 0; + return false; + } memoizedIsInitialized = 1; return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, session_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, maxBandwidth_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, welcomeText_); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeUInt64(4, permissions_); + if (((bitField0_ & 0x00000001) != 0)) { + output.writeUInt32(1, channelId_); } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, session_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, maxBandwidth_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, welcomeText_); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeUInt64Size(4, permissions_); + .computeUInt32Size(1, channelId_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } - private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof se.lublin.humla.protobuf.Mumble.ServerSync)) { + if (!(obj instanceof se.lublin.humla.protobuf.Mumble.ChannelRemove)) { return super.equals(obj); } - se.lublin.humla.protobuf.Mumble.ServerSync other = (se.lublin.humla.protobuf.Mumble.ServerSync) obj; + se.lublin.humla.protobuf.Mumble.ChannelRemove other = (se.lublin.humla.protobuf.Mumble.ChannelRemove) obj; - boolean result = true; - result = result && (hasSession() == other.hasSession()); - if (hasSession()) { - result = result && (getSession() - == other.getSession()); - } - result = result && (hasMaxBandwidth() == other.hasMaxBandwidth()); - if (hasMaxBandwidth()) { - result = result && (getMaxBandwidth() - == other.getMaxBandwidth()); - } - result = result && (hasWelcomeText() == other.hasWelcomeText()); - if (hasWelcomeText()) { - result = result && getWelcomeText() - .equals(other.getWelcomeText()); - } - result = result && (hasPermissions() == other.hasPermissions()); - if (hasPermissions()) { - result = result && (getPermissions() - == other.getPermissions()); + if (hasChannelId() != other.hasChannelId()) return false; + if (hasChannelId()) { + if (getChannelId() + != other.getChannelId()) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -5942,81 +7415,79 @@ public final class Mumble { return memoizedHashCode; } int hash = 41; - hash = (19 * hash) + getDescriptorForType().hashCode(); - if (hasSession()) { - hash = (37 * hash) + SESSION_FIELD_NUMBER; - hash = (53 * hash) + getSession(); - } - if (hasMaxBandwidth()) { - hash = (37 * hash) + MAX_BANDWIDTH_FIELD_NUMBER; - hash = (53 * hash) + getMaxBandwidth(); - } - if (hasWelcomeText()) { - hash = (37 * hash) + WELCOME_TEXT_FIELD_NUMBER; - hash = (53 * hash) + getWelcomeText().hashCode(); - } - if (hasPermissions()) { - hash = (37 * hash) + PERMISSIONS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getPermissions()); + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasChannelId()) { + hash = (37 * hash) + CHANNEL_ID_FIELD_NUMBER; + hash = (53 * hash) + getChannelId(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static se.lublin.humla.protobuf.Mumble.ServerSync parseFrom( - com.google.protobuf.ByteString data) + public static se.lublin.humla.protobuf.Mumble.ChannelRemove parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static se.lublin.humla.protobuf.Mumble.ServerSync parseFrom( - com.google.protobuf.ByteString data, + public static se.lublin.humla.protobuf.Mumble.ChannelRemove parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static se.lublin.humla.protobuf.Mumble.ServerSync parseFrom(byte[] data) + public static se.lublin.humla.protobuf.Mumble.ChannelRemove parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static se.lublin.humla.protobuf.Mumble.ServerSync parseFrom( + public static se.lublin.humla.protobuf.Mumble.ChannelRemove parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static se.lublin.humla.protobuf.Mumble.ChannelRemove parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static se.lublin.humla.protobuf.Mumble.ChannelRemove parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static se.lublin.humla.protobuf.Mumble.ServerSync parseFrom(java.io.InputStream input) + public static se.lublin.humla.protobuf.Mumble.ChannelRemove parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static se.lublin.humla.protobuf.Mumble.ServerSync parseFrom( + public static se.lublin.humla.protobuf.Mumble.ChannelRemove parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static se.lublin.humla.protobuf.Mumble.ServerSync parseDelimitedFrom(java.io.InputStream input) + public static se.lublin.humla.protobuf.Mumble.ChannelRemove parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static se.lublin.humla.protobuf.Mumble.ServerSync parseDelimitedFrom( + public static se.lublin.humla.protobuf.Mumble.ChannelRemove parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static se.lublin.humla.protobuf.Mumble.ServerSync parseFrom( + public static se.lublin.humla.protobuf.Mumble.ChannelRemove parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static se.lublin.humla.protobuf.Mumble.ServerSync parseFrom( + public static se.lublin.humla.protobuf.Mumble.ChannelRemove parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -6024,13 +7495,15 @@ public final class Mumble { .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(se.lublin.humla.protobuf.Mumble.ServerSync prototype) { + public static Builder newBuilder(se.lublin.humla.protobuf.Mumble.ChannelRemove prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -6043,25 +7516,31 @@ public final class Mumble { return builder; } /** - * Protobuf type {@code MumbleProto.ServerSync} + *
+     * Sent by the client when it wants a channel removed. Sent by the server when
+     * a channel has been removed and clients should be notified.
+     * 
+ * + * Protobuf type {@code MumbleProto.ChannelRemove} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:MumbleProto.ServerSync) - se.lublin.humla.protobuf.Mumble.ServerSyncOrBuilder { + // @@protoc_insertion_point(builder_implements:MumbleProto.ChannelRemove) + se.lublin.humla.protobuf.Mumble.ChannelRemoveOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ServerSync_descriptor; + return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ChannelRemove_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ServerSync_fieldAccessorTable + return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ChannelRemove_fieldAccessorTable .ensureFieldAccessorsInitialized( - se.lublin.humla.protobuf.Mumble.ServerSync.class, se.lublin.humla.protobuf.Mumble.ServerSync.Builder.class); + se.lublin.humla.protobuf.Mumble.ChannelRemove.class, se.lublin.humla.protobuf.Mumble.ChannelRemove.Builder.class); } - // Construct using se.lublin.humla.protobuf.Mumble.ServerSync.newBuilder() + // Construct using se.lublin.humla.protobuf.Mumble.ChannelRemove.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -6076,130 +7555,118 @@ public final class Mumble { .alwaysUseFieldBuilders) { } } + @java.lang.Override public Builder clear() { super.clear(); - session_ = 0; + channelId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); - maxBandwidth_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); - welcomeText_ = ""; - bitField0_ = (bitField0_ & ~0x00000004); - permissions_ = 0L; - bitField0_ = (bitField0_ & ~0x00000008); return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ServerSync_descriptor; + return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ChannelRemove_descriptor; } - public se.lublin.humla.protobuf.Mumble.ServerSync getDefaultInstanceForType() { - return se.lublin.humla.protobuf.Mumble.ServerSync.getDefaultInstance(); + @java.lang.Override + public se.lublin.humla.protobuf.Mumble.ChannelRemove getDefaultInstanceForType() { + return se.lublin.humla.protobuf.Mumble.ChannelRemove.getDefaultInstance(); } - public se.lublin.humla.protobuf.Mumble.ServerSync build() { - se.lublin.humla.protobuf.Mumble.ServerSync result = buildPartial(); + @java.lang.Override + public se.lublin.humla.protobuf.Mumble.ChannelRemove build() { + se.lublin.humla.protobuf.Mumble.ChannelRemove result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public se.lublin.humla.protobuf.Mumble.ServerSync buildPartial() { - se.lublin.humla.protobuf.Mumble.ServerSync result = new se.lublin.humla.protobuf.Mumble.ServerSync(this); + @java.lang.Override + public se.lublin.humla.protobuf.Mumble.ChannelRemove buildPartial() { + se.lublin.humla.protobuf.Mumble.ChannelRemove result = new se.lublin.humla.protobuf.Mumble.ChannelRemove(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.channelId_ = channelId_; to_bitField0_ |= 0x00000001; } - result.session_ = session_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - result.maxBandwidth_ = maxBandwidth_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } - result.welcomeText_ = welcomeText_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { - to_bitField0_ |= 0x00000008; - } - result.permissions_ = permissions_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } + @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.setField(field, value); + java.lang.Object value) { + return super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { - return (Builder) super.setRepeatedField(field, index, value); + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.addRepeatedField(field, value); + java.lang.Object value) { + return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof se.lublin.humla.protobuf.Mumble.ServerSync) { - return mergeFrom((se.lublin.humla.protobuf.Mumble.ServerSync)other); + if (other instanceof se.lublin.humla.protobuf.Mumble.ChannelRemove) { + return mergeFrom((se.lublin.humla.protobuf.Mumble.ChannelRemove)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(se.lublin.humla.protobuf.Mumble.ServerSync other) { - if (other == se.lublin.humla.protobuf.Mumble.ServerSync.getDefaultInstance()) return this; - if (other.hasSession()) { - setSession(other.getSession()); - } - if (other.hasMaxBandwidth()) { - setMaxBandwidth(other.getMaxBandwidth()); - } - if (other.hasWelcomeText()) { - bitField0_ |= 0x00000004; - welcomeText_ = other.welcomeText_; - onChanged(); - } - if (other.hasPermissions()) { - setPermissions(other.getPermissions()); + public Builder mergeFrom(se.lublin.humla.protobuf.Mumble.ChannelRemove other) { + if (other == se.lublin.humla.protobuf.Mumble.ChannelRemove.getDefaultInstance()) return this; + if (other.hasChannelId()) { + setChannelId(other.getChannelId()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { + if (!hasChannelId()) { + return false; + } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - se.lublin.humla.protobuf.Mumble.ServerSync parsedMessage = null; + se.lublin.humla.protobuf.Mumble.ChannelRemove parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (se.lublin.humla.protobuf.Mumble.ServerSync) e.getUnfinishedMessage(); + parsedMessage = (se.lublin.humla.protobuf.Mumble.ChannelRemove) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -6210,252 +7677,400 @@ public final class Mumble { } private int bitField0_; - private int session_ ; + private int channelId_ ; /** - * optional uint32 session = 1; + * required uint32 channel_id = 1; + * @return Whether the channelId field is set. */ - public boolean hasSession() { - return ((bitField0_ & 0x00000001) == 0x00000001); + public boolean hasChannelId() { + return ((bitField0_ & 0x00000001) != 0); } /** - * optional uint32 session = 1; + * required uint32 channel_id = 1; + * @return The channelId. */ - public int getSession() { - return session_; + public int getChannelId() { + return channelId_; } /** - * optional uint32 session = 1; + * required uint32 channel_id = 1; + * @param value The channelId to set. + * @return This builder for chaining. */ - public Builder setSession(int value) { + public Builder setChannelId(int value) { bitField0_ |= 0x00000001; - session_ = value; + channelId_ = value; onChanged(); return this; } /** - * optional uint32 session = 1; + * required uint32 channel_id = 1; + * @return This builder for chaining. */ - public Builder clearSession() { + public Builder clearChannelId() { bitField0_ = (bitField0_ & ~0x00000001); - session_ = 0; - onChanged(); - return this; - } - - private int maxBandwidth_ ; - /** - * optional uint32 max_bandwidth = 2; - */ - public boolean hasMaxBandwidth() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * optional uint32 max_bandwidth = 2; - */ - public int getMaxBandwidth() { - return maxBandwidth_; - } - /** - * optional uint32 max_bandwidth = 2; - */ - public Builder setMaxBandwidth(int value) { - bitField0_ |= 0x00000002; - maxBandwidth_ = value; + channelId_ = 0; onChanged(); return this; } - /** - * optional uint32 max_bandwidth = 2; - */ - public Builder clearMaxBandwidth() { - bitField0_ = (bitField0_ & ~0x00000002); - maxBandwidth_ = 0; - onChanged(); - return this; + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); } - private java.lang.Object welcomeText_ = ""; - /** - * optional string welcome_text = 3; - */ - public boolean hasWelcomeText() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - /** - * optional string welcome_text = 3; - */ - public java.lang.String getWelcomeText() { - java.lang.Object ref = welcomeText_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - welcomeText_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string welcome_text = 3; - */ - public com.google.protobuf.ByteString - getWelcomeTextBytes() { - java.lang.Object ref = welcomeText_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - welcomeText_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string welcome_text = 3; - */ - public Builder setWelcomeText( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - welcomeText_ = value; - onChanged(); - return this; - } - /** - * optional string welcome_text = 3; - */ - public Builder clearWelcomeText() { - bitField0_ = (bitField0_ & ~0x00000004); - welcomeText_ = getDefaultInstance().getWelcomeText(); - onChanged(); - return this; - } - /** - * optional string welcome_text = 3; - */ - public Builder setWelcomeTextBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - welcomeText_ = value; - onChanged(); - return this; - } - - private long permissions_ ; - /** - * optional uint64 permissions = 4; - */ - public boolean hasPermissions() { - return ((bitField0_ & 0x00000008) == 0x00000008); - } - /** - * optional uint64 permissions = 4; - */ - public long getPermissions() { - return permissions_; - } - /** - * optional uint64 permissions = 4; - */ - public Builder setPermissions(long value) { - bitField0_ |= 0x00000008; - permissions_ = value; - onChanged(); - return this; - } - /** - * optional uint64 permissions = 4; - */ - public Builder clearPermissions() { - bitField0_ = (bitField0_ & ~0x00000008); - permissions_ = 0L; - onChanged(); - return this; - } - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:MumbleProto.ServerSync) + // @@protoc_insertion_point(builder_scope:MumbleProto.ChannelRemove) } - // @@protoc_insertion_point(class_scope:MumbleProto.ServerSync) - private static final se.lublin.humla.protobuf.Mumble.ServerSync DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:MumbleProto.ChannelRemove) + private static final se.lublin.humla.protobuf.Mumble.ChannelRemove DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new se.lublin.humla.protobuf.Mumble.ServerSync(); + DEFAULT_INSTANCE = new se.lublin.humla.protobuf.Mumble.ChannelRemove(); } - public static se.lublin.humla.protobuf.Mumble.ServerSync getDefaultInstance() { + public static se.lublin.humla.protobuf.Mumble.ChannelRemove getDefaultInstance() { return DEFAULT_INSTANCE; } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - public ServerSync parsePartialFrom( + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChannelRemove parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ServerSync(input, extensionRegistry); + return new ChannelRemove(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } - public se.lublin.humla.protobuf.Mumble.ServerSync getDefaultInstanceForType() { + @java.lang.Override + public se.lublin.humla.protobuf.Mumble.ChannelRemove getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface ChannelRemoveOrBuilder extends - // @@protoc_insertion_point(interface_extends:MumbleProto.ChannelRemove) + public interface ChannelStateOrBuilder extends + // @@protoc_insertion_point(interface_extends:MumbleProto.ChannelState) com.google.protobuf.MessageOrBuilder { /** - * required uint32 channel_id = 1; + *
+     * Unique ID for the channel within the server.
+     * 
+ * + * optional uint32 channel_id = 1; + * @return Whether the channelId field is set. */ boolean hasChannelId(); /** - * required uint32 channel_id = 1; + *
+     * Unique ID for the channel within the server.
+     * 
+ * + * optional uint32 channel_id = 1; + * @return The channelId. */ int getChannelId(); + + /** + *
+     * channel_id of the parent channel.
+     * 
+ * + * optional uint32 parent = 2; + * @return Whether the parent field is set. + */ + boolean hasParent(); + /** + *
+     * channel_id of the parent channel.
+     * 
+ * + * optional uint32 parent = 2; + * @return The parent. + */ + int getParent(); + + /** + *
+     * UTF-8 encoded channel name.
+     * 
+ * + * optional string name = 3; + * @return Whether the name field is set. + */ + boolean hasName(); + /** + *
+     * UTF-8 encoded channel name.
+     * 
+ * + * optional string name = 3; + * @return The name. + */ + java.lang.String getName(); + /** + *
+     * UTF-8 encoded channel name.
+     * 
+ * + * optional string name = 3; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+     * A collection of channel id values of the linked channels. Absent during
+     * the first channel listing.
+     * 
+ * + * repeated uint32 links = 4; + * @return A list containing the links. + */ + java.util.List getLinksList(); + /** + *
+     * A collection of channel id values of the linked channels. Absent during
+     * the first channel listing.
+     * 
+ * + * repeated uint32 links = 4; + * @return The count of links. + */ + int getLinksCount(); + /** + *
+     * A collection of channel id values of the linked channels. Absent during
+     * the first channel listing.
+     * 
+ * + * repeated uint32 links = 4; + * @param index The index of the element to return. + * @return The links at the given index. + */ + int getLinks(int index); + + /** + *
+     * UTF-8 encoded channel description. Only if the description is less than
+     * 128 bytes
+     * 
+ * + * optional string description = 5; + * @return Whether the description field is set. + */ + boolean hasDescription(); + /** + *
+     * UTF-8 encoded channel description. Only if the description is less than
+     * 128 bytes
+     * 
+ * + * optional string description = 5; + * @return The description. + */ + java.lang.String getDescription(); + /** + *
+     * UTF-8 encoded channel description. Only if the description is less than
+     * 128 bytes
+     * 
+ * + * optional string description = 5; + * @return The bytes for description. + */ + com.google.protobuf.ByteString + getDescriptionBytes(); + + /** + *
+     * A collection of channel_id values that should be added to links.
+     * 
+ * + * repeated uint32 links_add = 6; + * @return A list containing the linksAdd. + */ + java.util.List getLinksAddList(); + /** + *
+     * A collection of channel_id values that should be added to links.
+     * 
+ * + * repeated uint32 links_add = 6; + * @return The count of linksAdd. + */ + int getLinksAddCount(); + /** + *
+     * A collection of channel_id values that should be added to links.
+     * 
+ * + * repeated uint32 links_add = 6; + * @param index The index of the element to return. + * @return The linksAdd at the given index. + */ + int getLinksAdd(int index); + + /** + *
+     * A collection of channel_id values that should be removed from links.
+     * 
+ * + * repeated uint32 links_remove = 7; + * @return A list containing the linksRemove. + */ + java.util.List getLinksRemoveList(); + /** + *
+     * A collection of channel_id values that should be removed from links.
+     * 
+ * + * repeated uint32 links_remove = 7; + * @return The count of linksRemove. + */ + int getLinksRemoveCount(); + /** + *
+     * A collection of channel_id values that should be removed from links.
+     * 
+ * + * repeated uint32 links_remove = 7; + * @param index The index of the element to return. + * @return The linksRemove at the given index. + */ + int getLinksRemove(int index); + + /** + *
+     * True if the channel is temporary.
+     * 
+ * + * optional bool temporary = 8 [default = false]; + * @return Whether the temporary field is set. + */ + boolean hasTemporary(); + /** + *
+     * True if the channel is temporary.
+     * 
+ * + * optional bool temporary = 8 [default = false]; + * @return The temporary. + */ + boolean getTemporary(); + + /** + *
+     * Position weight to tweak the channel position in the channel list.
+     * 
+ * + * optional int32 position = 9 [default = 0]; + * @return Whether the position field is set. + */ + boolean hasPosition(); + /** + *
+     * Position weight to tweak the channel position in the channel list.
+     * 
+ * + * optional int32 position = 9 [default = 0]; + * @return The position. + */ + int getPosition(); + + /** + *
+     * SHA1 hash of the description if the description is 128 bytes or more.
+     * 
+ * + * optional bytes description_hash = 10; + * @return Whether the descriptionHash field is set. + */ + boolean hasDescriptionHash(); + /** + *
+     * SHA1 hash of the description if the description is 128 bytes or more.
+     * 
+ * + * optional bytes description_hash = 10; + * @return The descriptionHash. + */ + com.google.protobuf.ByteString getDescriptionHash(); + + /** + *
+     * Maximum number of users allowed in the channel. If this value is zero,
+     * the maximum number of users allowed in the channel is given by the
+     * server's "usersperchannel" setting.
+     * 
+ * + * optional uint32 max_users = 11; + * @return Whether the maxUsers field is set. + */ + boolean hasMaxUsers(); + /** + *
+     * Maximum number of users allowed in the channel. If this value is zero,
+     * the maximum number of users allowed in the channel is given by the
+     * server's "usersperchannel" setting.
+     * 
+ * + * optional uint32 max_users = 11; + * @return The maxUsers. + */ + int getMaxUsers(); } /** - * Protobuf type {@code MumbleProto.ChannelRemove} + *
+   * Used to communicate channel properties between the client and the server.
+   * Sent by the server during the login process or when channel properties are
+   * updated. Client may use this message to update said channel properties.
+   * 
+ * + * Protobuf type {@code MumbleProto.ChannelState} */ - public static final class ChannelRemove extends + public static final class ChannelState extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:MumbleProto.ChannelRemove) - ChannelRemoveOrBuilder { - // Use ChannelRemove.newBuilder() to construct. - private ChannelRemove(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // @@protoc_insertion_point(message_implements:MumbleProto.ChannelState) + ChannelStateOrBuilder { + private static final long serialVersionUID = 0L; + // Use ChannelState.newBuilder() to construct. + private ChannelState(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ChannelRemove() { - channelId_ = 0; + private ChannelState() { + name_ = ""; + links_ = emptyIntList(); + description_ = ""; + linksAdd_ = emptyIntList(); + linksRemove_ = emptyIntList(); + descriptionHash_ = com.google.protobuf.ByteString.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ChannelState(); } @java.lang.Override @@ -6463,11 +8078,14 @@ public final class Mumble { getUnknownFields() { return this.unknownFields; } - private ChannelRemove( + private ChannelState( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -6479,1185 +8097,797 @@ public final class Mumble { case 0: done = true; break; - default: { - if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; channelId_ = input.readUInt32(); break; } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ChannelRemove_descriptor; - } - - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ChannelRemove_fieldAccessorTable - .ensureFieldAccessorsInitialized( - se.lublin.humla.protobuf.Mumble.ChannelRemove.class, se.lublin.humla.protobuf.Mumble.ChannelRemove.Builder.class); - } - - private int bitField0_; - public static final int CHANNEL_ID_FIELD_NUMBER = 1; - private int channelId_; - /** - * required uint32 channel_id = 1; - */ - public boolean hasChannelId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - * required uint32 channel_id = 1; - */ - public int getChannelId() { - return channelId_; - } - - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - if (!hasChannelId()) { - memoizedIsInitialized = 0; - return false; + case 16: { + bitField0_ |= 0x00000002; + parent_ = input.readUInt32(); + break; + } + case 26: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000004; + name_ = bs; + break; + } + case 32: { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + links_ = newIntList(); + mutable_bitField0_ |= 0x00000008; + } + links_.addInt(input.readUInt32()); + break; + } + case 34: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000008) != 0) && input.getBytesUntilLimit() > 0) { + links_ = newIntList(); + mutable_bitField0_ |= 0x00000008; + } + while (input.getBytesUntilLimit() > 0) { + links_.addInt(input.readUInt32()); + } + input.popLimit(limit); + break; + } + case 42: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000008; + description_ = bs; + break; + } + case 48: { + if (!((mutable_bitField0_ & 0x00000020) != 0)) { + linksAdd_ = newIntList(); + mutable_bitField0_ |= 0x00000020; + } + linksAdd_.addInt(input.readUInt32()); + break; + } + case 50: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000020) != 0) && input.getBytesUntilLimit() > 0) { + linksAdd_ = newIntList(); + mutable_bitField0_ |= 0x00000020; + } + while (input.getBytesUntilLimit() > 0) { + linksAdd_.addInt(input.readUInt32()); + } + input.popLimit(limit); + break; + } + case 56: { + if (!((mutable_bitField0_ & 0x00000040) != 0)) { + linksRemove_ = newIntList(); + mutable_bitField0_ |= 0x00000040; + } + linksRemove_.addInt(input.readUInt32()); + break; + } + case 58: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000040) != 0) && input.getBytesUntilLimit() > 0) { + linksRemove_ = newIntList(); + mutable_bitField0_ |= 0x00000040; + } + while (input.getBytesUntilLimit() > 0) { + linksRemove_.addInt(input.readUInt32()); + } + input.popLimit(limit); + break; + } + case 64: { + bitField0_ |= 0x00000010; + temporary_ = input.readBool(); + break; + } + case 72: { + bitField0_ |= 0x00000020; + position_ = input.readInt32(); + break; + } + case 82: { + bitField0_ |= 0x00000040; + descriptionHash_ = input.readBytes(); + break; + } + case 88: { + bitField0_ |= 0x00000080; + maxUsers_ = input.readUInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000008) != 0)) { + links_.makeImmutable(); // C + } + if (((mutable_bitField0_ & 0x00000020) != 0)) { + linksAdd_.makeImmutable(); // C + } + if (((mutable_bitField0_ & 0x00000040) != 0)) { + linksRemove_.makeImmutable(); // C + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); } - memoizedIsInitialized = 1; - return true; } - - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, channelId_); - } - unknownFields.writeTo(output); + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ChannelState_descriptor; } - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, channelId_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ChannelState_fieldAccessorTable + .ensureFieldAccessorsInitialized( + se.lublin.humla.protobuf.Mumble.ChannelState.class, se.lublin.humla.protobuf.Mumble.ChannelState.Builder.class); } - private static final long serialVersionUID = 0L; - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof se.lublin.humla.protobuf.Mumble.ChannelRemove)) { - return super.equals(obj); - } - se.lublin.humla.protobuf.Mumble.ChannelRemove other = (se.lublin.humla.protobuf.Mumble.ChannelRemove) obj; + private int bitField0_; + public static final int CHANNEL_ID_FIELD_NUMBER = 1; + private int channelId_; + /** + *
+     * Unique ID for the channel within the server.
+     * 
+ * + * optional uint32 channel_id = 1; + * @return Whether the channelId field is set. + */ + public boolean hasChannelId() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+     * Unique ID for the channel within the server.
+     * 
+ * + * optional uint32 channel_id = 1; + * @return The channelId. + */ + public int getChannelId() { + return channelId_; + } - boolean result = true; - result = result && (hasChannelId() == other.hasChannelId()); - if (hasChannelId()) { - result = result && (getChannelId() - == other.getChannelId()); - } - result = result && unknownFields.equals(other.unknownFields); - return result; + public static final int PARENT_FIELD_NUMBER = 2; + private int parent_; + /** + *
+     * channel_id of the parent channel.
+     * 
+ * + * optional uint32 parent = 2; + * @return Whether the parent field is set. + */ + public boolean hasParent() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + *
+     * channel_id of the parent channel.
+     * 
+ * + * optional uint32 parent = 2; + * @return The parent. + */ + public int getParent() { + return parent_; } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; + public static final int NAME_FIELD_NUMBER = 3; + private volatile java.lang.Object name_; + /** + *
+     * UTF-8 encoded channel name.
+     * 
+ * + * optional string name = 3; + * @return Whether the name field is set. + */ + public boolean hasName() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + *
+     * UTF-8 encoded channel name.
+     * 
+ * + * optional string name = 3; + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + name_ = s; + } + return s; } - int hash = 41; - hash = (19 * hash) + getDescriptorForType().hashCode(); - if (hasChannelId()) { - hash = (37 * hash) + CHANNEL_ID_FIELD_NUMBER; - hash = (53 * hash) + getChannelId(); + } + /** + *
+     * UTF-8 encoded channel name.
+     * 
+ * + * optional string name = 3; + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; } - public static se.lublin.humla.protobuf.Mumble.ChannelRemove parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + public static final int LINKS_FIELD_NUMBER = 4; + private com.google.protobuf.Internal.IntList links_; + /** + *
+     * A collection of channel id values of the linked channels. Absent during
+     * the first channel listing.
+     * 
+ * + * repeated uint32 links = 4; + * @return A list containing the links. + */ + public java.util.List + getLinksList() { + return links_; } - public static se.lublin.humla.protobuf.Mumble.ChannelRemove parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + /** + *
+     * A collection of channel id values of the linked channels. Absent during
+     * the first channel listing.
+     * 
+ * + * repeated uint32 links = 4; + * @return The count of links. + */ + public int getLinksCount() { + return links_.size(); } - public static se.lublin.humla.protobuf.Mumble.ChannelRemove parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + /** + *
+     * A collection of channel id values of the linked channels. Absent during
+     * the first channel listing.
+     * 
+ * + * repeated uint32 links = 4; + * @param index The index of the element to return. + * @return The links at the given index. + */ + public int getLinks(int index) { + return links_.getInt(index); } - public static se.lublin.humla.protobuf.Mumble.ChannelRemove parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + + public static final int DESCRIPTION_FIELD_NUMBER = 5; + private volatile java.lang.Object description_; + /** + *
+     * UTF-8 encoded channel description. Only if the description is less than
+     * 128 bytes
+     * 
+ * + * optional string description = 5; + * @return Whether the description field is set. + */ + public boolean hasDescription() { + return ((bitField0_ & 0x00000008) != 0); } - public static se.lublin.humla.protobuf.Mumble.ChannelRemove parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + /** + *
+     * UTF-8 encoded channel description. Only if the description is less than
+     * 128 bytes
+     * 
+ * + * optional string description = 5; + * @return The description. + */ + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + description_ = s; + } + return s; + } } - public static se.lublin.humla.protobuf.Mumble.ChannelRemove parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + /** + *
+     * UTF-8 encoded channel description. Only if the description is less than
+     * 128 bytes
+     * 
+ * + * optional string description = 5; + * @return The bytes for description. + */ + public com.google.protobuf.ByteString + getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } - public static se.lublin.humla.protobuf.Mumble.ChannelRemove parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static final int LINKS_ADD_FIELD_NUMBER = 6; + private com.google.protobuf.Internal.IntList linksAdd_; + /** + *
+     * A collection of channel_id values that should be added to links.
+     * 
+ * + * repeated uint32 links_add = 6; + * @return A list containing the linksAdd. + */ + public java.util.List + getLinksAddList() { + return linksAdd_; } - public static se.lublin.humla.protobuf.Mumble.ChannelRemove parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + /** + *
+     * A collection of channel_id values that should be added to links.
+     * 
+ * + * repeated uint32 links_add = 6; + * @return The count of linksAdd. + */ + public int getLinksAddCount() { + return linksAdd_.size(); } - public static se.lublin.humla.protobuf.Mumble.ChannelRemove parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + /** + *
+     * A collection of channel_id values that should be added to links.
+     * 
+ * + * repeated uint32 links_add = 6; + * @param index The index of the element to return. + * @return The linksAdd at the given index. + */ + public int getLinksAdd(int index) { + return linksAdd_.getInt(index); } - public static se.lublin.humla.protobuf.Mumble.ChannelRemove parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static final int LINKS_REMOVE_FIELD_NUMBER = 7; + private com.google.protobuf.Internal.IntList linksRemove_; + /** + *
+     * A collection of channel_id values that should be removed from links.
+     * 
+ * + * repeated uint32 links_remove = 7; + * @return A list containing the linksRemove. + */ + public java.util.List + getLinksRemoveList() { + return linksRemove_; + } + /** + *
+     * A collection of channel_id values that should be removed from links.
+     * 
+ * + * repeated uint32 links_remove = 7; + * @return The count of linksRemove. + */ + public int getLinksRemoveCount() { + return linksRemove_.size(); + } + /** + *
+     * A collection of channel_id values that should be removed from links.
+     * 
+ * + * repeated uint32 links_remove = 7; + * @param index The index of the element to return. + * @return The linksRemove at the given index. + */ + public int getLinksRemove(int index) { + return linksRemove_.getInt(index); } - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); + public static final int TEMPORARY_FIELD_NUMBER = 8; + private boolean temporary_; + /** + *
+     * True if the channel is temporary.
+     * 
+ * + * optional bool temporary = 8 [default = false]; + * @return Whether the temporary field is set. + */ + public boolean hasTemporary() { + return ((bitField0_ & 0x00000010) != 0); } - public static Builder newBuilder(se.lublin.humla.protobuf.Mumble.ChannelRemove prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + /** + *
+     * True if the channel is temporary.
+     * 
+ * + * optional bool temporary = 8 [default = false]; + * @return The temporary. + */ + public boolean getTemporary() { + return temporary_; } - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + + public static final int POSITION_FIELD_NUMBER = 9; + private int position_; + /** + *
+     * Position weight to tweak the channel position in the channel list.
+     * 
+ * + * optional int32 position = 9 [default = 0]; + * @return Whether the position field is set. + */ + public boolean hasPosition() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + *
+     * Position weight to tweak the channel position in the channel list.
+     * 
+ * + * optional int32 position = 9 [default = 0]; + * @return The position. + */ + public int getPosition() { + return position_; } - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; + public static final int DESCRIPTION_HASH_FIELD_NUMBER = 10; + private com.google.protobuf.ByteString descriptionHash_; + /** + *
+     * SHA1 hash of the description if the description is 128 bytes or more.
+     * 
+ * + * optional bytes description_hash = 10; + * @return Whether the descriptionHash field is set. + */ + public boolean hasDescriptionHash() { + return ((bitField0_ & 0x00000040) != 0); } /** - * Protobuf type {@code MumbleProto.ChannelRemove} + *
+     * SHA1 hash of the description if the description is 128 bytes or more.
+     * 
+ * + * optional bytes description_hash = 10; + * @return The descriptionHash. */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:MumbleProto.ChannelRemove) - se.lublin.humla.protobuf.Mumble.ChannelRemoveOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ChannelRemove_descriptor; - } + public com.google.protobuf.ByteString getDescriptionHash() { + return descriptionHash_; + } - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ChannelRemove_fieldAccessorTable - .ensureFieldAccessorsInitialized( - se.lublin.humla.protobuf.Mumble.ChannelRemove.class, se.lublin.humla.protobuf.Mumble.ChannelRemove.Builder.class); - } + public static final int MAX_USERS_FIELD_NUMBER = 11; + private int maxUsers_; + /** + *
+     * Maximum number of users allowed in the channel. If this value is zero,
+     * the maximum number of users allowed in the channel is given by the
+     * server's "usersperchannel" setting.
+     * 
+ * + * optional uint32 max_users = 11; + * @return Whether the maxUsers field is set. + */ + public boolean hasMaxUsers() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + *
+     * Maximum number of users allowed in the channel. If this value is zero,
+     * the maximum number of users allowed in the channel is given by the
+     * server's "usersperchannel" setting.
+     * 
+ * + * optional uint32 max_users = 11; + * @return The maxUsers. + */ + public int getMaxUsers() { + return maxUsers_; + } - // Construct using se.lublin.humla.protobuf.Mumble.ChannelRemove.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - public Builder clear() { - super.clear(); - channelId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } + memoizedIsInitialized = 1; + return true; + } - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ChannelRemove_descriptor; + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeUInt32(1, channelId_); } - - public se.lublin.humla.protobuf.Mumble.ChannelRemove getDefaultInstanceForType() { - return se.lublin.humla.protobuf.Mumble.ChannelRemove.getDefaultInstance(); + if (((bitField0_ & 0x00000002) != 0)) { + output.writeUInt32(2, parent_); } - - public se.lublin.humla.protobuf.Mumble.ChannelRemove build() { - se.lublin.humla.protobuf.Mumble.ChannelRemove result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; + if (((bitField0_ & 0x00000004) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); } - - public se.lublin.humla.protobuf.Mumble.ChannelRemove buildPartial() { - se.lublin.humla.protobuf.Mumble.ChannelRemove result = new se.lublin.humla.protobuf.Mumble.ChannelRemove(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.channelId_ = channelId_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; + for (int i = 0; i < links_.size(); i++) { + output.writeUInt32(4, links_.getInt(i)); } - - public Builder clone() { - return (Builder) super.clone(); + if (((bitField0_ & 0x00000008) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, description_); } - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.setField(field, value); + for (int i = 0; i < linksAdd_.size(); i++) { + output.writeUInt32(6, linksAdd_.getInt(i)); } - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + for (int i = 0; i < linksRemove_.size(); i++) { + output.writeUInt32(7, linksRemove_.getInt(i)); } - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + if (((bitField0_ & 0x00000010) != 0)) { + output.writeBool(8, temporary_); } - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { - return (Builder) super.setRepeatedField(field, index, value); + if (((bitField0_ & 0x00000020) != 0)) { + output.writeInt32(9, position_); } - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.addRepeatedField(field, value); + if (((bitField0_ & 0x00000040) != 0)) { + output.writeBytes(10, descriptionHash_); } - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof se.lublin.humla.protobuf.Mumble.ChannelRemove) { - return mergeFrom((se.lublin.humla.protobuf.Mumble.ChannelRemove)other); - } else { - super.mergeFrom(other); - return this; - } + if (((bitField0_ & 0x00000080) != 0)) { + output.writeUInt32(11, maxUsers_); } + unknownFields.writeTo(output); + } - public Builder mergeFrom(se.lublin.humla.protobuf.Mumble.ChannelRemove other) { - if (other == se.lublin.humla.protobuf.Mumble.ChannelRemove.getDefaultInstance()) return this; - if (other.hasChannelId()) { - setChannelId(other.getChannelId()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; - public final boolean isInitialized() { - if (!hasChannelId()) { - return false; + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1, channelId_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(2, parent_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); + } + { + int dataSize = 0; + for (int i = 0; i < links_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(links_.getInt(i)); } - return true; + size += dataSize; + size += 1 * getLinksList().size(); } - - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - se.lublin.humla.protobuf.Mumble.ChannelRemove parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (se.lublin.humla.protobuf.Mumble.ChannelRemove) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_); + } + { + int dataSize = 0; + for (int i = 0; i < linksAdd_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(linksAdd_.getInt(i)); } - return this; + size += dataSize; + size += 1 * getLinksAddList().size(); } - private int bitField0_; - - private int channelId_ ; - /** - * required uint32 channel_id = 1; - */ - public boolean hasChannelId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + { + int dataSize = 0; + for (int i = 0; i < linksRemove_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(linksRemove_.getInt(i)); + } + size += dataSize; + size += 1 * getLinksRemoveList().size(); } - /** - * required uint32 channel_id = 1; - */ - public int getChannelId() { - return channelId_; + if (((bitField0_ & 0x00000010) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(8, temporary_); } - /** - * required uint32 channel_id = 1; - */ - public Builder setChannelId(int value) { - bitField0_ |= 0x00000001; - channelId_ = value; - onChanged(); - return this; + if (((bitField0_ & 0x00000020) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(9, position_); } - /** - * required uint32 channel_id = 1; - */ - public Builder clearChannelId() { - bitField0_ = (bitField0_ & ~0x00000001); - channelId_ = 0; - onChanged(); - return this; + if (((bitField0_ & 0x00000040) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(10, descriptionHash_); } - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); + if (((bitField0_ & 0x00000080) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(11, maxUsers_); } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; } + if (!(obj instanceof se.lublin.humla.protobuf.Mumble.ChannelState)) { + return super.equals(obj); + } + se.lublin.humla.protobuf.Mumble.ChannelState other = (se.lublin.humla.protobuf.Mumble.ChannelState) obj; - - // @@protoc_insertion_point(builder_scope:MumbleProto.ChannelRemove) + if (hasChannelId() != other.hasChannelId()) return false; + if (hasChannelId()) { + if (getChannelId() + != other.getChannelId()) return false; + } + if (hasParent() != other.hasParent()) return false; + if (hasParent()) { + if (getParent() + != other.getParent()) return false; + } + if (hasName() != other.hasName()) return false; + if (hasName()) { + if (!getName() + .equals(other.getName())) return false; + } + if (!getLinksList() + .equals(other.getLinksList())) return false; + if (hasDescription() != other.hasDescription()) return false; + if (hasDescription()) { + if (!getDescription() + .equals(other.getDescription())) return false; + } + if (!getLinksAddList() + .equals(other.getLinksAddList())) return false; + if (!getLinksRemoveList() + .equals(other.getLinksRemoveList())) return false; + if (hasTemporary() != other.hasTemporary()) return false; + if (hasTemporary()) { + if (getTemporary() + != other.getTemporary()) return false; + } + if (hasPosition() != other.hasPosition()) return false; + if (hasPosition()) { + if (getPosition() + != other.getPosition()) return false; + } + if (hasDescriptionHash() != other.hasDescriptionHash()) return false; + if (hasDescriptionHash()) { + if (!getDescriptionHash() + .equals(other.getDescriptionHash())) return false; + } + if (hasMaxUsers() != other.hasMaxUsers()) return false; + if (hasMaxUsers()) { + if (getMaxUsers() + != other.getMaxUsers()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } - // @@protoc_insertion_point(class_scope:MumbleProto.ChannelRemove) - private static final se.lublin.humla.protobuf.Mumble.ChannelRemove DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new se.lublin.humla.protobuf.Mumble.ChannelRemove(); + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasChannelId()) { + hash = (37 * hash) + CHANNEL_ID_FIELD_NUMBER; + hash = (53 * hash) + getChannelId(); + } + if (hasParent()) { + hash = (37 * hash) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent(); + } + if (hasName()) { + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + } + if (getLinksCount() > 0) { + hash = (37 * hash) + LINKS_FIELD_NUMBER; + hash = (53 * hash) + getLinksList().hashCode(); + } + if (hasDescription()) { + hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getDescription().hashCode(); + } + if (getLinksAddCount() > 0) { + hash = (37 * hash) + LINKS_ADD_FIELD_NUMBER; + hash = (53 * hash) + getLinksAddList().hashCode(); + } + if (getLinksRemoveCount() > 0) { + hash = (37 * hash) + LINKS_REMOVE_FIELD_NUMBER; + hash = (53 * hash) + getLinksRemoveList().hashCode(); + } + if (hasTemporary()) { + hash = (37 * hash) + TEMPORARY_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getTemporary()); + } + if (hasPosition()) { + hash = (37 * hash) + POSITION_FIELD_NUMBER; + hash = (53 * hash) + getPosition(); + } + if (hasDescriptionHash()) { + hash = (37 * hash) + DESCRIPTION_HASH_FIELD_NUMBER; + hash = (53 * hash) + getDescriptionHash().hashCode(); + } + if (hasMaxUsers()) { + hash = (37 * hash) + MAX_USERS_FIELD_NUMBER; + hash = (53 * hash) + getMaxUsers(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; } - public static se.lublin.humla.protobuf.Mumble.ChannelRemove getDefaultInstance() { - return DEFAULT_INSTANCE; + public static se.lublin.humla.protobuf.Mumble.ChannelState parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); } - - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - public ChannelRemove parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ChannelRemove(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; + public static se.lublin.humla.protobuf.Mumble.ChannelState parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + public static se.lublin.humla.protobuf.Mumble.ChannelState parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); } - - public se.lublin.humla.protobuf.Mumble.ChannelRemove getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ChannelStateOrBuilder extends - // @@protoc_insertion_point(interface_extends:MumbleProto.ChannelState) - com.google.protobuf.MessageOrBuilder { - - /** - * optional uint32 channel_id = 1; - */ - boolean hasChannelId(); - /** - * optional uint32 channel_id = 1; - */ - int getChannelId(); - - /** - * optional uint32 parent = 2; - */ - boolean hasParent(); - /** - * optional uint32 parent = 2; - */ - int getParent(); - - /** - * optional string name = 3; - */ - boolean hasName(); - /** - * optional string name = 3; - */ - java.lang.String getName(); - /** - * optional string name = 3; - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - * repeated uint32 links = 4; - */ - java.util.List getLinksList(); - /** - * repeated uint32 links = 4; - */ - int getLinksCount(); - /** - * repeated uint32 links = 4; - */ - int getLinks(int index); - - /** - * optional string description = 5; - */ - boolean hasDescription(); - /** - * optional string description = 5; - */ - java.lang.String getDescription(); - /** - * optional string description = 5; - */ - com.google.protobuf.ByteString - getDescriptionBytes(); - - /** - * repeated uint32 links_add = 6; - */ - java.util.List getLinksAddList(); - /** - * repeated uint32 links_add = 6; - */ - int getLinksAddCount(); - /** - * repeated uint32 links_add = 6; - */ - int getLinksAdd(int index); - - /** - * repeated uint32 links_remove = 7; - */ - java.util.List getLinksRemoveList(); - /** - * repeated uint32 links_remove = 7; - */ - int getLinksRemoveCount(); - /** - * repeated uint32 links_remove = 7; - */ - int getLinksRemove(int index); - - /** - * optional bool temporary = 8 [default = false]; - */ - boolean hasTemporary(); - /** - * optional bool temporary = 8 [default = false]; - */ - boolean getTemporary(); - - /** - * optional int32 position = 9 [default = 0]; - */ - boolean hasPosition(); - /** - * optional int32 position = 9 [default = 0]; - */ - int getPosition(); - - /** - * optional bytes description_hash = 10; - */ - boolean hasDescriptionHash(); - /** - * optional bytes description_hash = 10; - */ - com.google.protobuf.ByteString getDescriptionHash(); - } - /** - * Protobuf type {@code MumbleProto.ChannelState} - */ - public static final class ChannelState extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:MumbleProto.ChannelState) - ChannelStateOrBuilder { - // Use ChannelState.newBuilder() to construct. - private ChannelState(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ChannelState() { - channelId_ = 0; - parent_ = 0; - name_ = ""; - links_ = java.util.Collections.emptyList(); - description_ = ""; - linksAdd_ = java.util.Collections.emptyList(); - linksRemove_ = java.util.Collections.emptyList(); - temporary_ = false; - position_ = 0; - descriptionHash_ = com.google.protobuf.ByteString.EMPTY; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ChannelState( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { - done = true; - } - break; - } - case 8: { - bitField0_ |= 0x00000001; - channelId_ = input.readUInt32(); - break; - } - case 16: { - bitField0_ |= 0x00000002; - parent_ = input.readUInt32(); - break; - } - case 26: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000004; - name_ = bs; - break; - } - case 32: { - if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { - links_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; - } - links_.add(input.readUInt32()); - break; - } - case 34: { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000008) == 0x00000008) && input.getBytesUntilLimit() > 0) { - links_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; - } - while (input.getBytesUntilLimit() > 0) { - links_.add(input.readUInt32()); - } - input.popLimit(limit); - break; - } - case 42: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000008; - description_ = bs; - break; - } - case 48: { - if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { - linksAdd_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000020; - } - linksAdd_.add(input.readUInt32()); - break; - } - case 50: { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000020) == 0x00000020) && input.getBytesUntilLimit() > 0) { - linksAdd_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000020; - } - while (input.getBytesUntilLimit() > 0) { - linksAdd_.add(input.readUInt32()); - } - input.popLimit(limit); - break; - } - case 56: { - if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) { - linksRemove_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000040; - } - linksRemove_.add(input.readUInt32()); - break; - } - case 58: { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000040) == 0x00000040) && input.getBytesUntilLimit() > 0) { - linksRemove_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000040; - } - while (input.getBytesUntilLimit() > 0) { - linksRemove_.add(input.readUInt32()); - } - input.popLimit(limit); - break; - } - case 64: { - bitField0_ |= 0x00000010; - temporary_ = input.readBool(); - break; - } - case 72: { - bitField0_ |= 0x00000020; - position_ = input.readInt32(); - break; - } - case 82: { - bitField0_ |= 0x00000040; - descriptionHash_ = input.readBytes(); - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { - links_ = java.util.Collections.unmodifiableList(links_); - } - if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) { - linksAdd_ = java.util.Collections.unmodifiableList(linksAdd_); - } - if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) { - linksRemove_ = java.util.Collections.unmodifiableList(linksRemove_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ChannelState_descriptor; - } - - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ChannelState_fieldAccessorTable - .ensureFieldAccessorsInitialized( - se.lublin.humla.protobuf.Mumble.ChannelState.class, se.lublin.humla.protobuf.Mumble.ChannelState.Builder.class); - } - - private int bitField0_; - public static final int CHANNEL_ID_FIELD_NUMBER = 1; - private int channelId_; - /** - * optional uint32 channel_id = 1; - */ - public boolean hasChannelId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - * optional uint32 channel_id = 1; - */ - public int getChannelId() { - return channelId_; - } - - public static final int PARENT_FIELD_NUMBER = 2; - private int parent_; - /** - * optional uint32 parent = 2; - */ - public boolean hasParent() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * optional uint32 parent = 2; - */ - public int getParent() { - return parent_; - } - - public static final int NAME_FIELD_NUMBER = 3; - private volatile java.lang.Object name_; - /** - * optional string name = 3; - */ - public boolean hasName() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - /** - * optional string name = 3; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - name_ = s; - } - return s; - } - } - /** - * optional string name = 3; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int LINKS_FIELD_NUMBER = 4; - private java.util.List links_; - /** - * repeated uint32 links = 4; - */ - public java.util.List - getLinksList() { - return links_; - } - /** - * repeated uint32 links = 4; - */ - public int getLinksCount() { - return links_.size(); - } - /** - * repeated uint32 links = 4; - */ - public int getLinks(int index) { - return links_.get(index); - } - - public static final int DESCRIPTION_FIELD_NUMBER = 5; - private volatile java.lang.Object description_; - /** - * optional string description = 5; - */ - public boolean hasDescription() { - return ((bitField0_ & 0x00000008) == 0x00000008); - } - /** - * optional string description = 5; - */ - public java.lang.String getDescription() { - java.lang.Object ref = description_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - description_ = s; - } - return s; - } - } - /** - * optional string description = 5; - */ - public com.google.protobuf.ByteString - getDescriptionBytes() { - java.lang.Object ref = description_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - description_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int LINKS_ADD_FIELD_NUMBER = 6; - private java.util.List linksAdd_; - /** - * repeated uint32 links_add = 6; - */ - public java.util.List - getLinksAddList() { - return linksAdd_; - } - /** - * repeated uint32 links_add = 6; - */ - public int getLinksAddCount() { - return linksAdd_.size(); - } - /** - * repeated uint32 links_add = 6; - */ - public int getLinksAdd(int index) { - return linksAdd_.get(index); - } - - public static final int LINKS_REMOVE_FIELD_NUMBER = 7; - private java.util.List linksRemove_; - /** - * repeated uint32 links_remove = 7; - */ - public java.util.List - getLinksRemoveList() { - return linksRemove_; - } - /** - * repeated uint32 links_remove = 7; - */ - public int getLinksRemoveCount() { - return linksRemove_.size(); - } - /** - * repeated uint32 links_remove = 7; - */ - public int getLinksRemove(int index) { - return linksRemove_.get(index); - } - - public static final int TEMPORARY_FIELD_NUMBER = 8; - private boolean temporary_; - /** - * optional bool temporary = 8 [default = false]; - */ - public boolean hasTemporary() { - return ((bitField0_ & 0x00000010) == 0x00000010); - } - /** - * optional bool temporary = 8 [default = false]; - */ - public boolean getTemporary() { - return temporary_; - } - - public static final int POSITION_FIELD_NUMBER = 9; - private int position_; - /** - * optional int32 position = 9 [default = 0]; - */ - public boolean hasPosition() { - return ((bitField0_ & 0x00000020) == 0x00000020); - } - /** - * optional int32 position = 9 [default = 0]; - */ - public int getPosition() { - return position_; - } - - public static final int DESCRIPTION_HASH_FIELD_NUMBER = 10; - private com.google.protobuf.ByteString descriptionHash_; - /** - * optional bytes description_hash = 10; - */ - public boolean hasDescriptionHash() { - return ((bitField0_ & 0x00000040) == 0x00000040); - } - /** - * optional bytes description_hash = 10; - */ - public com.google.protobuf.ByteString getDescriptionHash() { - return descriptionHash_; - } - - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, channelId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, parent_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); - } - for (int i = 0; i < links_.size(); i++) { - output.writeUInt32(4, links_.get(i)); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, description_); - } - for (int i = 0; i < linksAdd_.size(); i++) { - output.writeUInt32(6, linksAdd_.get(i)); - } - for (int i = 0; i < linksRemove_.size(); i++) { - output.writeUInt32(7, linksRemove_.get(i)); - } - if (((bitField0_ & 0x00000010) == 0x00000010)) { - output.writeBool(8, temporary_); - } - if (((bitField0_ & 0x00000020) == 0x00000020)) { - output.writeInt32(9, position_); - } - if (((bitField0_ & 0x00000040) == 0x00000040)) { - output.writeBytes(10, descriptionHash_); - } - unknownFields.writeTo(output); - } - - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, channelId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, parent_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); - } - { - int dataSize = 0; - for (int i = 0; i < links_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(links_.get(i)); - } - size += dataSize; - size += 1 * getLinksList().size(); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_); - } - { - int dataSize = 0; - for (int i = 0; i < linksAdd_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(linksAdd_.get(i)); - } - size += dataSize; - size += 1 * getLinksAddList().size(); - } - { - int dataSize = 0; - for (int i = 0; i < linksRemove_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(linksRemove_.get(i)); - } - size += dataSize; - size += 1 * getLinksRemoveList().size(); - } - if (((bitField0_ & 0x00000010) == 0x00000010)) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(8, temporary_); - } - if (((bitField0_ & 0x00000020) == 0x00000020)) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(9, position_); - } - if (((bitField0_ & 0x00000040) == 0x00000040)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(10, descriptionHash_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - private static final long serialVersionUID = 0L; - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof se.lublin.humla.protobuf.Mumble.ChannelState)) { - return super.equals(obj); - } - se.lublin.humla.protobuf.Mumble.ChannelState other = (se.lublin.humla.protobuf.Mumble.ChannelState) obj; - - boolean result = true; - result = result && (hasChannelId() == other.hasChannelId()); - if (hasChannelId()) { - result = result && (getChannelId() - == other.getChannelId()); - } - result = result && (hasParent() == other.hasParent()); - if (hasParent()) { - result = result && (getParent() - == other.getParent()); - } - result = result && (hasName() == other.hasName()); - if (hasName()) { - result = result && getName() - .equals(other.getName()); - } - result = result && getLinksList() - .equals(other.getLinksList()); - result = result && (hasDescription() == other.hasDescription()); - if (hasDescription()) { - result = result && getDescription() - .equals(other.getDescription()); - } - result = result && getLinksAddList() - .equals(other.getLinksAddList()); - result = result && getLinksRemoveList() - .equals(other.getLinksRemoveList()); - result = result && (hasTemporary() == other.hasTemporary()); - if (hasTemporary()) { - result = result && (getTemporary() - == other.getTemporary()); - } - result = result && (hasPosition() == other.hasPosition()); - if (hasPosition()) { - result = result && (getPosition() - == other.getPosition()); - } - result = result && (hasDescriptionHash() == other.hasDescriptionHash()); - if (hasDescriptionHash()) { - result = result && getDescriptionHash() - .equals(other.getDescriptionHash()); - } - result = result && unknownFields.equals(other.unknownFields); - return result; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptorForType().hashCode(); - if (hasChannelId()) { - hash = (37 * hash) + CHANNEL_ID_FIELD_NUMBER; - hash = (53 * hash) + getChannelId(); - } - if (hasParent()) { - hash = (37 * hash) + PARENT_FIELD_NUMBER; - hash = (53 * hash) + getParent(); - } - if (hasName()) { - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - } - if (getLinksCount() > 0) { - hash = (37 * hash) + LINKS_FIELD_NUMBER; - hash = (53 * hash) + getLinksList().hashCode(); - } - if (hasDescription()) { - hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; - hash = (53 * hash) + getDescription().hashCode(); - } - if (getLinksAddCount() > 0) { - hash = (37 * hash) + LINKS_ADD_FIELD_NUMBER; - hash = (53 * hash) + getLinksAddList().hashCode(); - } - if (getLinksRemoveCount() > 0) { - hash = (37 * hash) + LINKS_REMOVE_FIELD_NUMBER; - hash = (53 * hash) + getLinksRemoveList().hashCode(); - } - if (hasTemporary()) { - hash = (37 * hash) + TEMPORARY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getTemporary()); - } - if (hasPosition()) { - hash = (37 * hash) + POSITION_FIELD_NUMBER; - hash = (53 * hash) + getPosition(); - } - if (hasDescriptionHash()) { - hash = (37 * hash) + DESCRIPTION_HASH_FIELD_NUMBER; - hash = (53 * hash) + getDescriptionHash().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static se.lublin.humla.protobuf.Mumble.ChannelState parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static se.lublin.humla.protobuf.Mumble.ChannelState parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + public static se.lublin.humla.protobuf.Mumble.ChannelState parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); } public static se.lublin.humla.protobuf.Mumble.ChannelState parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -7707,6 +8937,7 @@ public final class Mumble { .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); @@ -7714,6 +8945,7 @@ public final class Mumble { public static Builder newBuilder(se.lublin.humla.protobuf.Mumble.ChannelState prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -7726,6 +8958,12 @@ public final class Mumble { return builder; } /** + *
+     * Used to communicate channel properties between the client and the server.
+     * Sent by the server during the login process or when channel properties are
+     * updated. Client may use this message to update said channel properties.
+     * 
+ * * Protobuf type {@code MumbleProto.ChannelState} */ public static final class Builder extends @@ -7737,6 +8975,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ChannelState_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ChannelState_fieldAccessorTable @@ -7759,6 +8998,7 @@ public final class Mumble { .alwaysUseFieldBuilders) { } } + @java.lang.Override public Builder clear() { super.clear(); channelId_ = 0; @@ -7767,13 +9007,13 @@ public final class Mumble { bitField0_ = (bitField0_ & ~0x00000002); name_ = ""; bitField0_ = (bitField0_ & ~0x00000004); - links_ = java.util.Collections.emptyList(); + links_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000008); description_ = ""; bitField0_ = (bitField0_ & ~0x00000010); - linksAdd_ = java.util.Collections.emptyList(); + linksAdd_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000020); - linksRemove_ = java.util.Collections.emptyList(); + linksRemove_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000040); temporary_ = false; bitField0_ = (bitField0_ & ~0x00000080); @@ -7781,18 +9021,23 @@ public final class Mumble { bitField0_ = (bitField0_ & ~0x00000100); descriptionHash_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000200); + maxUsers_ = 0; + bitField0_ = (bitField0_ & ~0x00000400); return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ChannelState_descriptor; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.ChannelState getDefaultInstanceForType() { return se.lublin.humla.protobuf.Mumble.ChannelState.getDefaultInstance(); } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.ChannelState build() { se.lublin.humla.protobuf.Mumble.ChannelState result = buildPartial(); if (!result.isInitialized()) { @@ -7801,84 +9046,96 @@ public final class Mumble { return result; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.ChannelState buildPartial() { se.lublin.humla.protobuf.Mumble.ChannelState result = new se.lublin.humla.protobuf.Mumble.ChannelState(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.channelId_ = channelId_; to_bitField0_ |= 0x00000001; } - result.channelId_ = channelId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.parent_ = parent_; to_bitField0_ |= 0x00000002; } - result.parent_ = parent_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.name_ = name_; - if (((bitField0_ & 0x00000008) == 0x00000008)) { - links_ = java.util.Collections.unmodifiableList(links_); + if (((bitField0_ & 0x00000008) != 0)) { + links_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000008); } result.links_ = links_; - if (((from_bitField0_ & 0x00000010) == 0x00000010)) { + if (((from_bitField0_ & 0x00000010) != 0)) { to_bitField0_ |= 0x00000008; } result.description_ = description_; - if (((bitField0_ & 0x00000020) == 0x00000020)) { - linksAdd_ = java.util.Collections.unmodifiableList(linksAdd_); + if (((bitField0_ & 0x00000020) != 0)) { + linksAdd_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000020); } result.linksAdd_ = linksAdd_; - if (((bitField0_ & 0x00000040) == 0x00000040)) { - linksRemove_ = java.util.Collections.unmodifiableList(linksRemove_); + if (((bitField0_ & 0x00000040) != 0)) { + linksRemove_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000040); } result.linksRemove_ = linksRemove_; - if (((from_bitField0_ & 0x00000080) == 0x00000080)) { + if (((from_bitField0_ & 0x00000080) != 0)) { + result.temporary_ = temporary_; to_bitField0_ |= 0x00000010; } - result.temporary_ = temporary_; - if (((from_bitField0_ & 0x00000100) == 0x00000100)) { + if (((from_bitField0_ & 0x00000100) != 0)) { + result.position_ = position_; to_bitField0_ |= 0x00000020; } - result.position_ = position_; - if (((from_bitField0_ & 0x00000200) == 0x00000200)) { + if (((from_bitField0_ & 0x00000200) != 0)) { to_bitField0_ |= 0x00000040; } result.descriptionHash_ = descriptionHash_; + if (((from_bitField0_ & 0x00000400) != 0)) { + result.maxUsers_ = maxUsers_; + to_bitField0_ |= 0x00000080; + } result.bitField0_ = to_bitField0_; onBuilt(); return result; } + @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.setField(field, value); + java.lang.Object value) { + return super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { - return (Builder) super.setRepeatedField(field, index, value); + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.addRepeatedField(field, value); + java.lang.Object value) { + return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof se.lublin.humla.protobuf.Mumble.ChannelState) { return mergeFrom((se.lublin.humla.protobuf.Mumble.ChannelState)other); @@ -7945,15 +9202,20 @@ public final class Mumble { if (other.hasDescriptionHash()) { setDescriptionHash(other.getDescriptionHash()); } + if (other.hasMaxUsers()) { + setMaxUsers(other.getMaxUsers()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -7975,19 +9237,35 @@ public final class Mumble { private int channelId_ ; /** + *
+       * Unique ID for the channel within the server.
+       * 
+ * * optional uint32 channel_id = 1; + * @return Whether the channelId field is set. */ public boolean hasChannelId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+       * Unique ID for the channel within the server.
+       * 
+ * * optional uint32 channel_id = 1; + * @return The channelId. */ public int getChannelId() { return channelId_; } /** + *
+       * Unique ID for the channel within the server.
+       * 
+ * * optional uint32 channel_id = 1; + * @param value The channelId to set. + * @return This builder for chaining. */ public Builder setChannelId(int value) { bitField0_ |= 0x00000001; @@ -7996,7 +9274,12 @@ public final class Mumble { return this; } /** + *
+       * Unique ID for the channel within the server.
+       * 
+ * * optional uint32 channel_id = 1; + * @return This builder for chaining. */ public Builder clearChannelId() { bitField0_ = (bitField0_ & ~0x00000001); @@ -8007,19 +9290,35 @@ public final class Mumble { private int parent_ ; /** + *
+       * channel_id of the parent channel.
+       * 
+ * * optional uint32 parent = 2; + * @return Whether the parent field is set. */ public boolean hasParent() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+       * channel_id of the parent channel.
+       * 
+ * * optional uint32 parent = 2; + * @return The parent. */ public int getParent() { return parent_; } /** + *
+       * channel_id of the parent channel.
+       * 
+ * * optional uint32 parent = 2; + * @param value The parent to set. + * @return This builder for chaining. */ public Builder setParent(int value) { bitField0_ |= 0x00000002; @@ -8028,7 +9327,12 @@ public final class Mumble { return this; } /** + *
+       * channel_id of the parent channel.
+       * 
+ * * optional uint32 parent = 2; + * @return This builder for chaining. */ public Builder clearParent() { bitField0_ = (bitField0_ & ~0x00000002); @@ -8039,13 +9343,23 @@ public final class Mumble { private java.lang.Object name_ = ""; /** + *
+       * UTF-8 encoded channel name.
+       * 
+ * * optional string name = 3; + * @return Whether the name field is set. */ public boolean hasName() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** + *
+       * UTF-8 encoded channel name.
+       * 
+ * * optional string name = 3; + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -8062,7 +9376,12 @@ public final class Mumble { } } /** + *
+       * UTF-8 encoded channel name.
+       * 
+ * * optional string name = 3; + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { @@ -8078,7 +9397,13 @@ public final class Mumble { } } /** + *
+       * UTF-8 encoded channel name.
+       * 
+ * * optional string name = 3; + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName( java.lang.String value) { @@ -8091,7 +9416,12 @@ public final class Mumble { return this; } /** + *
+       * UTF-8 encoded channel name.
+       * 
+ * * optional string name = 3; + * @return This builder for chaining. */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000004); @@ -8100,7 +9430,13 @@ public final class Mumble { return this; } /** + *
+       * UTF-8 encoded channel name.
+       * 
+ * * optional string name = 3; + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { @@ -8113,53 +9449,95 @@ public final class Mumble { return this; } - private java.util.List links_ = java.util.Collections.emptyList(); + private com.google.protobuf.Internal.IntList links_ = emptyIntList(); private void ensureLinksIsMutable() { - if (!((bitField0_ & 0x00000008) == 0x00000008)) { - links_ = new java.util.ArrayList(links_); + if (!((bitField0_ & 0x00000008) != 0)) { + links_ = mutableCopy(links_); bitField0_ |= 0x00000008; } } /** + *
+       * A collection of channel id values of the linked channels. Absent during
+       * the first channel listing.
+       * 
+ * * repeated uint32 links = 4; + * @return A list containing the links. */ public java.util.List getLinksList() { - return java.util.Collections.unmodifiableList(links_); + return ((bitField0_ & 0x00000008) != 0) ? + java.util.Collections.unmodifiableList(links_) : links_; } /** + *
+       * A collection of channel id values of the linked channels. Absent during
+       * the first channel listing.
+       * 
+ * * repeated uint32 links = 4; + * @return The count of links. */ public int getLinksCount() { return links_.size(); } /** + *
+       * A collection of channel id values of the linked channels. Absent during
+       * the first channel listing.
+       * 
+ * * repeated uint32 links = 4; + * @param index The index of the element to return. + * @return The links at the given index. */ public int getLinks(int index) { - return links_.get(index); + return links_.getInt(index); } /** + *
+       * A collection of channel id values of the linked channels. Absent during
+       * the first channel listing.
+       * 
+ * * repeated uint32 links = 4; + * @param index The index to set the value at. + * @param value The links to set. + * @return This builder for chaining. */ public Builder setLinks( int index, int value) { ensureLinksIsMutable(); - links_.set(index, value); + links_.setInt(index, value); onChanged(); return this; } /** + *
+       * A collection of channel id values of the linked channels. Absent during
+       * the first channel listing.
+       * 
+ * * repeated uint32 links = 4; + * @param value The links to add. + * @return This builder for chaining. */ public Builder addLinks(int value) { ensureLinksIsMutable(); - links_.add(value); + links_.addInt(value); onChanged(); return this; } /** + *
+       * A collection of channel id values of the linked channels. Absent during
+       * the first channel listing.
+       * 
+ * * repeated uint32 links = 4; + * @param values The links to add. + * @return This builder for chaining. */ public Builder addAllLinks( java.lang.Iterable values) { @@ -8170,10 +9548,16 @@ public final class Mumble { return this; } /** + *
+       * A collection of channel id values of the linked channels. Absent during
+       * the first channel listing.
+       * 
+ * * repeated uint32 links = 4; + * @return This builder for chaining. */ public Builder clearLinks() { - links_ = java.util.Collections.emptyList(); + links_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; @@ -8181,13 +9565,25 @@ public final class Mumble { private java.lang.Object description_ = ""; /** + *
+       * UTF-8 encoded channel description. Only if the description is less than
+       * 128 bytes
+       * 
+ * * optional string description = 5; + * @return Whether the description field is set. */ public boolean hasDescription() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000010) != 0); } /** + *
+       * UTF-8 encoded channel description. Only if the description is less than
+       * 128 bytes
+       * 
+ * * optional string description = 5; + * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; @@ -8204,7 +9600,13 @@ public final class Mumble { } } /** + *
+       * UTF-8 encoded channel description. Only if the description is less than
+       * 128 bytes
+       * 
+ * * optional string description = 5; + * @return The bytes for description. */ public com.google.protobuf.ByteString getDescriptionBytes() { @@ -8220,7 +9622,14 @@ public final class Mumble { } } /** + *
+       * UTF-8 encoded channel description. Only if the description is less than
+       * 128 bytes
+       * 
+ * * optional string description = 5; + * @param value The description to set. + * @return This builder for chaining. */ public Builder setDescription( java.lang.String value) { @@ -8233,7 +9642,13 @@ public final class Mumble { return this; } /** + *
+       * UTF-8 encoded channel description. Only if the description is less than
+       * 128 bytes
+       * 
+ * * optional string description = 5; + * @return This builder for chaining. */ public Builder clearDescription() { bitField0_ = (bitField0_ & ~0x00000010); @@ -8242,7 +9657,14 @@ public final class Mumble { return this; } /** + *
+       * UTF-8 encoded channel description. Only if the description is less than
+       * 128 bytes
+       * 
+ * * optional string description = 5; + * @param value The bytes for description to set. + * @return This builder for chaining. */ public Builder setDescriptionBytes( com.google.protobuf.ByteString value) { @@ -8255,53 +9677,89 @@ public final class Mumble { return this; } - private java.util.List linksAdd_ = java.util.Collections.emptyList(); + private com.google.protobuf.Internal.IntList linksAdd_ = emptyIntList(); private void ensureLinksAddIsMutable() { - if (!((bitField0_ & 0x00000020) == 0x00000020)) { - linksAdd_ = new java.util.ArrayList(linksAdd_); + if (!((bitField0_ & 0x00000020) != 0)) { + linksAdd_ = mutableCopy(linksAdd_); bitField0_ |= 0x00000020; } } /** + *
+       * A collection of channel_id values that should be added to links.
+       * 
+ * * repeated uint32 links_add = 6; + * @return A list containing the linksAdd. */ public java.util.List getLinksAddList() { - return java.util.Collections.unmodifiableList(linksAdd_); + return ((bitField0_ & 0x00000020) != 0) ? + java.util.Collections.unmodifiableList(linksAdd_) : linksAdd_; } /** + *
+       * A collection of channel_id values that should be added to links.
+       * 
+ * * repeated uint32 links_add = 6; + * @return The count of linksAdd. */ public int getLinksAddCount() { return linksAdd_.size(); } /** + *
+       * A collection of channel_id values that should be added to links.
+       * 
+ * * repeated uint32 links_add = 6; + * @param index The index of the element to return. + * @return The linksAdd at the given index. */ public int getLinksAdd(int index) { - return linksAdd_.get(index); + return linksAdd_.getInt(index); } /** + *
+       * A collection of channel_id values that should be added to links.
+       * 
+ * * repeated uint32 links_add = 6; + * @param index The index to set the value at. + * @param value The linksAdd to set. + * @return This builder for chaining. */ public Builder setLinksAdd( int index, int value) { ensureLinksAddIsMutable(); - linksAdd_.set(index, value); + linksAdd_.setInt(index, value); onChanged(); return this; } /** + *
+       * A collection of channel_id values that should be added to links.
+       * 
+ * * repeated uint32 links_add = 6; + * @param value The linksAdd to add. + * @return This builder for chaining. */ public Builder addLinksAdd(int value) { ensureLinksAddIsMutable(); - linksAdd_.add(value); + linksAdd_.addInt(value); onChanged(); return this; } /** + *
+       * A collection of channel_id values that should be added to links.
+       * 
+ * * repeated uint32 links_add = 6; + * @param values The linksAdd to add. + * @return This builder for chaining. */ public Builder addAllLinksAdd( java.lang.Iterable values) { @@ -8312,62 +9770,103 @@ public final class Mumble { return this; } /** + *
+       * A collection of channel_id values that should be added to links.
+       * 
+ * * repeated uint32 links_add = 6; + * @return This builder for chaining. */ public Builder clearLinksAdd() { - linksAdd_ = java.util.Collections.emptyList(); + linksAdd_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } - private java.util.List linksRemove_ = java.util.Collections.emptyList(); + private com.google.protobuf.Internal.IntList linksRemove_ = emptyIntList(); private void ensureLinksRemoveIsMutable() { - if (!((bitField0_ & 0x00000040) == 0x00000040)) { - linksRemove_ = new java.util.ArrayList(linksRemove_); + if (!((bitField0_ & 0x00000040) != 0)) { + linksRemove_ = mutableCopy(linksRemove_); bitField0_ |= 0x00000040; } } /** + *
+       * A collection of channel_id values that should be removed from links.
+       * 
+ * * repeated uint32 links_remove = 7; + * @return A list containing the linksRemove. */ public java.util.List getLinksRemoveList() { - return java.util.Collections.unmodifiableList(linksRemove_); + return ((bitField0_ & 0x00000040) != 0) ? + java.util.Collections.unmodifiableList(linksRemove_) : linksRemove_; } /** + *
+       * A collection of channel_id values that should be removed from links.
+       * 
+ * * repeated uint32 links_remove = 7; + * @return The count of linksRemove. */ public int getLinksRemoveCount() { return linksRemove_.size(); } /** + *
+       * A collection of channel_id values that should be removed from links.
+       * 
+ * * repeated uint32 links_remove = 7; + * @param index The index of the element to return. + * @return The linksRemove at the given index. */ public int getLinksRemove(int index) { - return linksRemove_.get(index); + return linksRemove_.getInt(index); } /** + *
+       * A collection of channel_id values that should be removed from links.
+       * 
+ * * repeated uint32 links_remove = 7; + * @param index The index to set the value at. + * @param value The linksRemove to set. + * @return This builder for chaining. */ public Builder setLinksRemove( int index, int value) { ensureLinksRemoveIsMutable(); - linksRemove_.set(index, value); + linksRemove_.setInt(index, value); onChanged(); return this; } /** + *
+       * A collection of channel_id values that should be removed from links.
+       * 
+ * * repeated uint32 links_remove = 7; + * @param value The linksRemove to add. + * @return This builder for chaining. */ public Builder addLinksRemove(int value) { ensureLinksRemoveIsMutable(); - linksRemove_.add(value); + linksRemove_.addInt(value); onChanged(); return this; } /** + *
+       * A collection of channel_id values that should be removed from links.
+       * 
+ * * repeated uint32 links_remove = 7; + * @param values The linksRemove to add. + * @return This builder for chaining. */ public Builder addAllLinksRemove( java.lang.Iterable values) { @@ -8378,10 +9877,15 @@ public final class Mumble { return this; } /** + *
+       * A collection of channel_id values that should be removed from links.
+       * 
+ * * repeated uint32 links_remove = 7; + * @return This builder for chaining. */ public Builder clearLinksRemove() { - linksRemove_ = java.util.Collections.emptyList(); + linksRemove_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; @@ -8389,19 +9893,35 @@ public final class Mumble { private boolean temporary_ ; /** + *
+       * True if the channel is temporary.
+       * 
+ * * optional bool temporary = 8 [default = false]; + * @return Whether the temporary field is set. */ public boolean hasTemporary() { - return ((bitField0_ & 0x00000080) == 0x00000080); + return ((bitField0_ & 0x00000080) != 0); } /** + *
+       * True if the channel is temporary.
+       * 
+ * * optional bool temporary = 8 [default = false]; + * @return The temporary. */ public boolean getTemporary() { return temporary_; } /** + *
+       * True if the channel is temporary.
+       * 
+ * * optional bool temporary = 8 [default = false]; + * @param value The temporary to set. + * @return This builder for chaining. */ public Builder setTemporary(boolean value) { bitField0_ |= 0x00000080; @@ -8410,7 +9930,12 @@ public final class Mumble { return this; } /** + *
+       * True if the channel is temporary.
+       * 
+ * * optional bool temporary = 8 [default = false]; + * @return This builder for chaining. */ public Builder clearTemporary() { bitField0_ = (bitField0_ & ~0x00000080); @@ -8421,19 +9946,35 @@ public final class Mumble { private int position_ ; /** + *
+       * Position weight to tweak the channel position in the channel list.
+       * 
+ * * optional int32 position = 9 [default = 0]; + * @return Whether the position field is set. */ public boolean hasPosition() { - return ((bitField0_ & 0x00000100) == 0x00000100); + return ((bitField0_ & 0x00000100) != 0); } /** + *
+       * Position weight to tweak the channel position in the channel list.
+       * 
+ * * optional int32 position = 9 [default = 0]; + * @return The position. */ public int getPosition() { return position_; } /** + *
+       * Position weight to tweak the channel position in the channel list.
+       * 
+ * * optional int32 position = 9 [default = 0]; + * @param value The position to set. + * @return This builder for chaining. */ public Builder setPosition(int value) { bitField0_ |= 0x00000100; @@ -8442,7 +9983,12 @@ public final class Mumble { return this; } /** + *
+       * Position weight to tweak the channel position in the channel list.
+       * 
+ * * optional int32 position = 9 [default = 0]; + * @return This builder for chaining. */ public Builder clearPosition() { bitField0_ = (bitField0_ & ~0x00000100); @@ -8453,19 +9999,35 @@ public final class Mumble { private com.google.protobuf.ByteString descriptionHash_ = com.google.protobuf.ByteString.EMPTY; /** + *
+       * SHA1 hash of the description if the description is 128 bytes or more.
+       * 
+ * * optional bytes description_hash = 10; + * @return Whether the descriptionHash field is set. */ public boolean hasDescriptionHash() { - return ((bitField0_ & 0x00000200) == 0x00000200); + return ((bitField0_ & 0x00000200) != 0); } /** + *
+       * SHA1 hash of the description if the description is 128 bytes or more.
+       * 
+ * * optional bytes description_hash = 10; + * @return The descriptionHash. */ public com.google.protobuf.ByteString getDescriptionHash() { return descriptionHash_; } /** + *
+       * SHA1 hash of the description if the description is 128 bytes or more.
+       * 
+ * * optional bytes description_hash = 10; + * @param value The descriptionHash to set. + * @return This builder for chaining. */ public Builder setDescriptionHash(com.google.protobuf.ByteString value) { if (value == null) { @@ -8477,7 +10039,12 @@ public final class Mumble { return this; } /** + *
+       * SHA1 hash of the description if the description is 128 bytes or more.
+       * 
+ * * optional bytes description_hash = 10; + * @return This builder for chaining. */ public Builder clearDescriptionHash() { bitField0_ = (bitField0_ & ~0x00000200); @@ -8485,11 +10052,74 @@ public final class Mumble { onChanged(); return this; } + + private int maxUsers_ ; + /** + *
+       * Maximum number of users allowed in the channel. If this value is zero,
+       * the maximum number of users allowed in the channel is given by the
+       * server's "usersperchannel" setting.
+       * 
+ * + * optional uint32 max_users = 11; + * @return Whether the maxUsers field is set. + */ + public boolean hasMaxUsers() { + return ((bitField0_ & 0x00000400) != 0); + } + /** + *
+       * Maximum number of users allowed in the channel. If this value is zero,
+       * the maximum number of users allowed in the channel is given by the
+       * server's "usersperchannel" setting.
+       * 
+ * + * optional uint32 max_users = 11; + * @return The maxUsers. + */ + public int getMaxUsers() { + return maxUsers_; + } + /** + *
+       * Maximum number of users allowed in the channel. If this value is zero,
+       * the maximum number of users allowed in the channel is given by the
+       * server's "usersperchannel" setting.
+       * 
+ * + * optional uint32 max_users = 11; + * @param value The maxUsers to set. + * @return This builder for chaining. + */ + public Builder setMaxUsers(int value) { + bitField0_ |= 0x00000400; + maxUsers_ = value; + onChanged(); + return this; + } + /** + *
+       * Maximum number of users allowed in the channel. If this value is zero,
+       * the maximum number of users allowed in the channel is given by the
+       * server's "usersperchannel" setting.
+       * 
+ * + * optional uint32 max_users = 11; + * @return This builder for chaining. + */ + public Builder clearMaxUsers() { + bitField0_ = (bitField0_ & ~0x00000400); + maxUsers_ = 0; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -8511,11 +10141,12 @@ public final class Mumble { @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override public ChannelState parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ChannelState(input, extensionRegistry); + return new ChannelState(input, extensionRegistry); } }; @@ -8528,6 +10159,7 @@ public final class Mumble { return PARSER; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.ChannelState getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -8539,62 +10171,122 @@ public final class Mumble { com.google.protobuf.MessageOrBuilder { /** + *
+     * The user who is being kicked, identified by their session, not present
+     * when no one is being kicked.
+     * 
+ * * required uint32 session = 1; + * @return Whether the session field is set. */ boolean hasSession(); /** + *
+     * The user who is being kicked, identified by their session, not present
+     * when no one is being kicked.
+     * 
+ * * required uint32 session = 1; + * @return The session. */ int getSession(); /** + *
+     * The user who initiated the removal. Either the user who performs the kick
+     * or the user who is currently leaving.
+     * 
+ * * optional uint32 actor = 2; + * @return Whether the actor field is set. */ boolean hasActor(); /** + *
+     * The user who initiated the removal. Either the user who performs the kick
+     * or the user who is currently leaving.
+     * 
+ * * optional uint32 actor = 2; + * @return The actor. */ int getActor(); /** + *
+     * Reason for the kick, stored as the ban reason if the user is banned.
+     * 
+ * * optional string reason = 3; + * @return Whether the reason field is set. */ boolean hasReason(); /** + *
+     * Reason for the kick, stored as the ban reason if the user is banned.
+     * 
+ * * optional string reason = 3; + * @return The reason. */ java.lang.String getReason(); /** + *
+     * Reason for the kick, stored as the ban reason if the user is banned.
+     * 
+ * * optional string reason = 3; + * @return The bytes for reason. */ com.google.protobuf.ByteString getReasonBytes(); /** + *
+     * True if the kick should result in a ban.
+     * 
+ * * optional bool ban = 4; + * @return Whether the ban field is set. */ boolean hasBan(); /** + *
+     * True if the kick should result in a ban.
+     * 
+ * * optional bool ban = 4; + * @return The ban. */ boolean getBan(); } /** + *
+   * Used to communicate user leaving or being kicked. May be sent by the client
+   * when it attempts to kick a user. Sent by the server when it informs the
+   * clients that a user is not present anymore.
+   * 
+ * * Protobuf type {@code MumbleProto.UserRemove} */ public static final class UserRemove extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:MumbleProto.UserRemove) UserRemoveOrBuilder { + private static final long serialVersionUID = 0L; // Use UserRemove.newBuilder() to construct. private UserRemove(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UserRemove() { - session_ = 0; - actor_ = 0; reason_ = ""; - ban_ = false; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UserRemove(); } @java.lang.Override @@ -8607,6 +10299,9 @@ public final class Mumble { com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -8618,13 +10313,6 @@ public final class Mumble { case 0: done = true; break; - default: { - if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; session_ = input.readUInt32(); @@ -8646,6 +10334,13 @@ public final class Mumble { ban_ = input.readBool(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -8663,6 +10358,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_UserRemove_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_UserRemove_fieldAccessorTable @@ -8674,13 +10370,25 @@ public final class Mumble { public static final int SESSION_FIELD_NUMBER = 1; private int session_; /** + *
+     * The user who is being kicked, identified by their session, not present
+     * when no one is being kicked.
+     * 
+ * * required uint32 session = 1; + * @return Whether the session field is set. */ public boolean hasSession() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+     * The user who is being kicked, identified by their session, not present
+     * when no one is being kicked.
+     * 
+ * * required uint32 session = 1; + * @return The session. */ public int getSession() { return session_; @@ -8689,13 +10397,25 @@ public final class Mumble { public static final int ACTOR_FIELD_NUMBER = 2; private int actor_; /** + *
+     * The user who initiated the removal. Either the user who performs the kick
+     * or the user who is currently leaving.
+     * 
+ * * optional uint32 actor = 2; + * @return Whether the actor field is set. */ public boolean hasActor() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+     * The user who initiated the removal. Either the user who performs the kick
+     * or the user who is currently leaving.
+     * 
+ * * optional uint32 actor = 2; + * @return The actor. */ public int getActor() { return actor_; @@ -8704,13 +10424,23 @@ public final class Mumble { public static final int REASON_FIELD_NUMBER = 3; private volatile java.lang.Object reason_; /** + *
+     * Reason for the kick, stored as the ban reason if the user is banned.
+     * 
+ * * optional string reason = 3; + * @return Whether the reason field is set. */ public boolean hasReason() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** + *
+     * Reason for the kick, stored as the ban reason if the user is banned.
+     * 
+ * * optional string reason = 3; + * @return The reason. */ public java.lang.String getReason() { java.lang.Object ref = reason_; @@ -8727,7 +10457,12 @@ public final class Mumble { } } /** + *
+     * Reason for the kick, stored as the ban reason if the user is banned.
+     * 
+ * * optional string reason = 3; + * @return The bytes for reason. */ public com.google.protobuf.ByteString getReasonBytes() { @@ -8746,19 +10481,30 @@ public final class Mumble { public static final int BAN_FIELD_NUMBER = 4; private boolean ban_; /** + *
+     * True if the kick should result in a ban.
+     * 
+ * * optional bool ban = 4; + * @return Whether the ban field is set. */ public boolean hasBan() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** + *
+     * True if the kick should result in a ban.
+     * 
+ * * optional bool ban = 4; + * @return The ban. */ public boolean getBan() { return ban_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -8772,40 +10518,42 @@ public final class Mumble { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, session_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, actor_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, reason_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { output.writeBool(4, ban_); } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, session_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, actor_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, reason_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, ban_); } @@ -8814,7 +10562,6 @@ public final class Mumble { return size; } - private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { @@ -8825,29 +10572,28 @@ public final class Mumble { } se.lublin.humla.protobuf.Mumble.UserRemove other = (se.lublin.humla.protobuf.Mumble.UserRemove) obj; - boolean result = true; - result = result && (hasSession() == other.hasSession()); + if (hasSession() != other.hasSession()) return false; if (hasSession()) { - result = result && (getSession() - == other.getSession()); + if (getSession() + != other.getSession()) return false; } - result = result && (hasActor() == other.hasActor()); + if (hasActor() != other.hasActor()) return false; if (hasActor()) { - result = result && (getActor() - == other.getActor()); + if (getActor() + != other.getActor()) return false; } - result = result && (hasReason() == other.hasReason()); + if (hasReason() != other.hasReason()) return false; if (hasReason()) { - result = result && getReason() - .equals(other.getReason()); + if (!getReason() + .equals(other.getReason())) return false; } - result = result && (hasBan() == other.hasBan()); + if (hasBan() != other.hasBan()) return false; if (hasBan()) { - result = result && (getBan() - == other.getBan()); + if (getBan() + != other.getBan()) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -8856,7 +10602,7 @@ public final class Mumble { return memoizedHashCode; } int hash = 41; - hash = (19 * hash) + getDescriptorForType().hashCode(); + hash = (19 * hash) + getDescriptor().hashCode(); if (hasSession()) { hash = (37 * hash) + SESSION_FIELD_NUMBER; hash = (53 * hash) + getSession(); @@ -8879,6 +10625,17 @@ public final class Mumble { return hash; } + public static se.lublin.humla.protobuf.Mumble.UserRemove parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static se.lublin.humla.protobuf.Mumble.UserRemove parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static se.lublin.humla.protobuf.Mumble.UserRemove parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -8938,6 +10695,7 @@ public final class Mumble { .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); @@ -8945,6 +10703,7 @@ public final class Mumble { public static Builder newBuilder(se.lublin.humla.protobuf.Mumble.UserRemove prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -8957,6 +10716,12 @@ public final class Mumble { return builder; } /** + *
+     * Used to communicate user leaving or being kicked. May be sent by the client
+     * when it attempts to kick a user. Sent by the server when it informs the
+     * clients that a user is not present anymore.
+     * 
+ * * Protobuf type {@code MumbleProto.UserRemove} */ public static final class Builder extends @@ -8968,6 +10733,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_UserRemove_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_UserRemove_fieldAccessorTable @@ -8990,6 +10756,7 @@ public final class Mumble { .alwaysUseFieldBuilders) { } } + @java.lang.Override public Builder clear() { super.clear(); session_ = 0; @@ -9003,15 +10770,18 @@ public final class Mumble { return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_UserRemove_descriptor; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.UserRemove getDefaultInstanceForType() { return se.lublin.humla.protobuf.Mumble.UserRemove.getDefaultInstance(); } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.UserRemove build() { se.lublin.humla.protobuf.Mumble.UserRemove result = buildPartial(); if (!result.isInitialized()) { @@ -9020,57 +10790,65 @@ public final class Mumble { return result; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.UserRemove buildPartial() { se.lublin.humla.protobuf.Mumble.UserRemove result = new se.lublin.humla.protobuf.Mumble.UserRemove(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.session_ = session_; to_bitField0_ |= 0x00000001; } - result.session_ = session_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.actor_ = actor_; to_bitField0_ |= 0x00000002; } - result.actor_ = actor_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.reason_ = reason_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + if (((from_bitField0_ & 0x00000008) != 0)) { + result.ban_ = ban_; to_bitField0_ |= 0x00000008; } - result.ban_ = ban_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } + @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.setField(field, value); + java.lang.Object value) { + return super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { - return (Builder) super.setRepeatedField(field, index, value); + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.addRepeatedField(field, value); + java.lang.Object value) { + return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof se.lublin.humla.protobuf.Mumble.UserRemove) { return mergeFrom((se.lublin.humla.protobuf.Mumble.UserRemove)other); @@ -9101,6 +10879,7 @@ public final class Mumble { return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasSession()) { return false; @@ -9108,6 +10887,7 @@ public final class Mumble { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -9129,19 +10909,38 @@ public final class Mumble { private int session_ ; /** + *
+       * The user who is being kicked, identified by their session, not present
+       * when no one is being kicked.
+       * 
+ * * required uint32 session = 1; + * @return Whether the session field is set. */ public boolean hasSession() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+       * The user who is being kicked, identified by their session, not present
+       * when no one is being kicked.
+       * 
+ * * required uint32 session = 1; + * @return The session. */ public int getSession() { return session_; } /** + *
+       * The user who is being kicked, identified by their session, not present
+       * when no one is being kicked.
+       * 
+ * * required uint32 session = 1; + * @param value The session to set. + * @return This builder for chaining. */ public Builder setSession(int value) { bitField0_ |= 0x00000001; @@ -9150,7 +10949,13 @@ public final class Mumble { return this; } /** + *
+       * The user who is being kicked, identified by their session, not present
+       * when no one is being kicked.
+       * 
+ * * required uint32 session = 1; + * @return This builder for chaining. */ public Builder clearSession() { bitField0_ = (bitField0_ & ~0x00000001); @@ -9161,19 +10966,38 @@ public final class Mumble { private int actor_ ; /** + *
+       * The user who initiated the removal. Either the user who performs the kick
+       * or the user who is currently leaving.
+       * 
+ * * optional uint32 actor = 2; + * @return Whether the actor field is set. */ public boolean hasActor() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+       * The user who initiated the removal. Either the user who performs the kick
+       * or the user who is currently leaving.
+       * 
+ * * optional uint32 actor = 2; + * @return The actor. */ public int getActor() { return actor_; } /** + *
+       * The user who initiated the removal. Either the user who performs the kick
+       * or the user who is currently leaving.
+       * 
+ * * optional uint32 actor = 2; + * @param value The actor to set. + * @return This builder for chaining. */ public Builder setActor(int value) { bitField0_ |= 0x00000002; @@ -9182,7 +11006,13 @@ public final class Mumble { return this; } /** + *
+       * The user who initiated the removal. Either the user who performs the kick
+       * or the user who is currently leaving.
+       * 
+ * * optional uint32 actor = 2; + * @return This builder for chaining. */ public Builder clearActor() { bitField0_ = (bitField0_ & ~0x00000002); @@ -9193,13 +11023,23 @@ public final class Mumble { private java.lang.Object reason_ = ""; /** + *
+       * Reason for the kick, stored as the ban reason if the user is banned.
+       * 
+ * * optional string reason = 3; + * @return Whether the reason field is set. */ public boolean hasReason() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** + *
+       * Reason for the kick, stored as the ban reason if the user is banned.
+       * 
+ * * optional string reason = 3; + * @return The reason. */ public java.lang.String getReason() { java.lang.Object ref = reason_; @@ -9216,7 +11056,12 @@ public final class Mumble { } } /** + *
+       * Reason for the kick, stored as the ban reason if the user is banned.
+       * 
+ * * optional string reason = 3; + * @return The bytes for reason. */ public com.google.protobuf.ByteString getReasonBytes() { @@ -9232,7 +11077,13 @@ public final class Mumble { } } /** + *
+       * Reason for the kick, stored as the ban reason if the user is banned.
+       * 
+ * * optional string reason = 3; + * @param value The reason to set. + * @return This builder for chaining. */ public Builder setReason( java.lang.String value) { @@ -9245,7 +11096,12 @@ public final class Mumble { return this; } /** + *
+       * Reason for the kick, stored as the ban reason if the user is banned.
+       * 
+ * * optional string reason = 3; + * @return This builder for chaining. */ public Builder clearReason() { bitField0_ = (bitField0_ & ~0x00000004); @@ -9254,7 +11110,13 @@ public final class Mumble { return this; } /** + *
+       * Reason for the kick, stored as the ban reason if the user is banned.
+       * 
+ * * optional string reason = 3; + * @param value The bytes for reason to set. + * @return This builder for chaining. */ public Builder setReasonBytes( com.google.protobuf.ByteString value) { @@ -9269,19 +11131,35 @@ public final class Mumble { private boolean ban_ ; /** + *
+       * True if the kick should result in a ban.
+       * 
+ * * optional bool ban = 4; + * @return Whether the ban field is set. */ public boolean hasBan() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** + *
+       * True if the kick should result in a ban.
+       * 
+ * * optional bool ban = 4; + * @return The ban. */ public boolean getBan() { return ban_; } /** + *
+       * True if the kick should result in a ban.
+       * 
+ * * optional bool ban = 4; + * @param value The ban to set. + * @return This builder for chaining. */ public Builder setBan(boolean value) { bitField0_ |= 0x00000008; @@ -9290,7 +11168,12 @@ public final class Mumble { return this; } /** + *
+       * True if the kick should result in a ban.
+       * 
+ * * optional bool ban = 4; + * @return This builder for chaining. */ public Builder clearBan() { bitField0_ = (bitField0_ & ~0x00000008); @@ -9298,11 +11181,13 @@ public final class Mumble { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -9324,11 +11209,12 @@ public final class Mumble { @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override public UserRemove parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UserRemove(input, extensionRegistry); + return new UserRemove(input, extensionRegistry); } }; @@ -9341,6 +11227,7 @@ public final class Mumble { return PARSER; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.UserRemove getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -9352,218 +11239,439 @@ public final class Mumble { com.google.protobuf.MessageOrBuilder { /** + *
+     * Unique user session ID of the user whose state this is, may change on
+     * reconnect.
+     * 
+ * * optional uint32 session = 1; + * @return Whether the session field is set. */ boolean hasSession(); /** + *
+     * Unique user session ID of the user whose state this is, may change on
+     * reconnect.
+     * 
+ * * optional uint32 session = 1; + * @return The session. */ int getSession(); /** + *
+     * The session of the user who is updating this user.
+     * 
+ * * optional uint32 actor = 2; + * @return Whether the actor field is set. */ boolean hasActor(); /** + *
+     * The session of the user who is updating this user.
+     * 
+ * * optional uint32 actor = 2; + * @return The actor. */ int getActor(); /** + *
+     * User name, UTF-8 encoded.
+     * 
+ * * optional string name = 3; + * @return Whether the name field is set. */ boolean hasName(); /** + *
+     * User name, UTF-8 encoded.
+     * 
+ * * optional string name = 3; + * @return The name. */ java.lang.String getName(); /** + *
+     * User name, UTF-8 encoded.
+     * 
+ * * optional string name = 3; + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** + *
+     * Registered user ID if the user is registered.
+     * 
+ * * optional uint32 user_id = 4; + * @return Whether the userId field is set. */ boolean hasUserId(); /** + *
+     * Registered user ID if the user is registered.
+     * 
+ * * optional uint32 user_id = 4; + * @return The userId. */ int getUserId(); /** + *
+     * Channel on which the user is.
+     * 
+ * * optional uint32 channel_id = 5; + * @return Whether the channelId field is set. */ boolean hasChannelId(); /** + *
+     * Channel on which the user is.
+     * 
+ * * optional uint32 channel_id = 5; + * @return The channelId. */ int getChannelId(); /** + *
+     * True if the user is muted by admin.
+     * 
+ * * optional bool mute = 6; + * @return Whether the mute field is set. */ boolean hasMute(); /** + *
+     * True if the user is muted by admin.
+     * 
+ * * optional bool mute = 6; + * @return The mute. */ boolean getMute(); /** + *
+     * True if the user is deafened by admin.
+     * 
+ * * optional bool deaf = 7; + * @return Whether the deaf field is set. */ boolean hasDeaf(); /** + *
+     * True if the user is deafened by admin.
+     * 
+ * * optional bool deaf = 7; + * @return The deaf. */ boolean getDeaf(); /** + *
+     * True if the user has been suppressed from talking by a reason other than
+     * being muted.
+     * 
+ * * optional bool suppress = 8; + * @return Whether the suppress field is set. */ boolean hasSuppress(); /** + *
+     * True if the user has been suppressed from talking by a reason other than
+     * being muted.
+     * 
+ * * optional bool suppress = 8; + * @return The suppress. */ boolean getSuppress(); /** + *
+     * True if the user has muted self.
+     * 
+ * * optional bool self_mute = 9; + * @return Whether the selfMute field is set. */ boolean hasSelfMute(); /** + *
+     * True if the user has muted self.
+     * 
+ * * optional bool self_mute = 9; + * @return The selfMute. */ boolean getSelfMute(); /** + *
+     * True if the user has deafened self.
+     * 
+ * * optional bool self_deaf = 10; + * @return Whether the selfDeaf field is set. */ boolean hasSelfDeaf(); /** + *
+     * True if the user has deafened self.
+     * 
+ * * optional bool self_deaf = 10; + * @return The selfDeaf. */ boolean getSelfDeaf(); /** + *
+     * User image if it is less than 128 bytes.
+     * 
+ * * optional bytes texture = 11; + * @return Whether the texture field is set. */ boolean hasTexture(); /** + *
+     * User image if it is less than 128 bytes.
+     * 
+ * * optional bytes texture = 11; + * @return The texture. */ com.google.protobuf.ByteString getTexture(); /** + *
+     * The positional audio plugin identifier.
+     * Positional audio information is only sent to users who share
+     * identical plugin contexts.
+     * This value is not trasmitted to clients.
+     * 
+ * * optional bytes plugin_context = 12; + * @return Whether the pluginContext field is set. */ boolean hasPluginContext(); /** + *
+     * The positional audio plugin identifier.
+     * Positional audio information is only sent to users who share
+     * identical plugin contexts.
+     * This value is not trasmitted to clients.
+     * 
+ * * optional bytes plugin_context = 12; + * @return The pluginContext. */ com.google.protobuf.ByteString getPluginContext(); /** + *
+     * The user's plugin-specific identity.
+     * This value is not transmitted to clients.
+     * 
+ * * optional string plugin_identity = 13; + * @return Whether the pluginIdentity field is set. */ boolean hasPluginIdentity(); /** + *
+     * The user's plugin-specific identity.
+     * This value is not transmitted to clients.
+     * 
+ * * optional string plugin_identity = 13; + * @return The pluginIdentity. */ java.lang.String getPluginIdentity(); /** + *
+     * The user's plugin-specific identity.
+     * This value is not transmitted to clients.
+     * 
+ * * optional string plugin_identity = 13; + * @return The bytes for pluginIdentity. */ com.google.protobuf.ByteString getPluginIdentityBytes(); /** + *
+     * User comment if it is less than 128 bytes.
+     * 
+ * * optional string comment = 14; + * @return Whether the comment field is set. */ boolean hasComment(); /** + *
+     * User comment if it is less than 128 bytes.
+     * 
+ * * optional string comment = 14; + * @return The comment. */ java.lang.String getComment(); /** + *
+     * User comment if it is less than 128 bytes.
+     * 
+ * * optional string comment = 14; + * @return The bytes for comment. */ com.google.protobuf.ByteString getCommentBytes(); /** + *
+     * The hash of the user certificate.
+     * 
+ * * optional string hash = 15; + * @return Whether the hash field is set. */ boolean hasHash(); /** + *
+     * The hash of the user certificate.
+     * 
+ * * optional string hash = 15; + * @return The hash. */ java.lang.String getHash(); /** + *
+     * The hash of the user certificate.
+     * 
+ * * optional string hash = 15; + * @return The bytes for hash. */ com.google.protobuf.ByteString getHashBytes(); /** + *
+     * SHA1 hash of the user comment if it 128 bytes or more.
+     * 
+ * * optional bytes comment_hash = 16; + * @return Whether the commentHash field is set. */ boolean hasCommentHash(); /** + *
+     * SHA1 hash of the user comment if it 128 bytes or more.
+     * 
+ * * optional bytes comment_hash = 16; + * @return The commentHash. */ com.google.protobuf.ByteString getCommentHash(); /** + *
+     * SHA1 hash of the user picture if it 128 bytes or more.
+     * 
+ * * optional bytes texture_hash = 17; + * @return Whether the textureHash field is set. */ boolean hasTextureHash(); /** + *
+     * SHA1 hash of the user picture if it 128 bytes or more.
+     * 
+ * * optional bytes texture_hash = 17; + * @return The textureHash. */ com.google.protobuf.ByteString getTextureHash(); /** + *
+     * True if the user is a priority speaker.
+     * 
+ * * optional bool priority_speaker = 18; + * @return Whether the prioritySpeaker field is set. */ boolean hasPrioritySpeaker(); /** + *
+     * True if the user is a priority speaker.
+     * 
+ * * optional bool priority_speaker = 18; + * @return The prioritySpeaker. */ boolean getPrioritySpeaker(); /** + *
+     * True if the user is currently recording.
+     * 
+ * * optional bool recording = 19; + * @return Whether the recording field is set. */ boolean hasRecording(); /** + *
+     * True if the user is currently recording.
+     * 
+ * * optional bool recording = 19; + * @return The recording. */ boolean getRecording(); } /** + *
+   * Sent by the server when it communicates new and changed users to client.
+   * First seen during login procedure. May be sent by the client when it wishes
+   * to alter its state.
+   * 
+ * * Protobuf type {@code MumbleProto.UserState} */ public static final class UserState extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:MumbleProto.UserState) UserStateOrBuilder { + private static final long serialVersionUID = 0L; // Use UserState.newBuilder() to construct. private UserState(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UserState() { - session_ = 0; - actor_ = 0; name_ = ""; - userId_ = 0; - channelId_ = 0; - mute_ = false; - deaf_ = false; - suppress_ = false; - selfMute_ = false; - selfDeaf_ = false; texture_ = com.google.protobuf.ByteString.EMPTY; pluginContext_ = com.google.protobuf.ByteString.EMPTY; pluginIdentity_ = ""; @@ -9571,8 +11679,13 @@ public final class Mumble { hash_ = ""; commentHash_ = com.google.protobuf.ByteString.EMPTY; textureHash_ = com.google.protobuf.ByteString.EMPTY; - prioritySpeaker_ = false; - recording_ = false; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UserState(); } @java.lang.Override @@ -9585,6 +11698,9 @@ public final class Mumble { com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -9596,13 +11712,6 @@ public final class Mumble { case 0: done = true; break; - default: { - if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; session_ = input.readUInt32(); @@ -9702,6 +11811,13 @@ public final class Mumble { recording_ = input.readBool(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -9719,6 +11835,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_UserState_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_UserState_fieldAccessorTable @@ -9730,13 +11847,25 @@ public final class Mumble { public static final int SESSION_FIELD_NUMBER = 1; private int session_; /** + *
+     * Unique user session ID of the user whose state this is, may change on
+     * reconnect.
+     * 
+ * * optional uint32 session = 1; + * @return Whether the session field is set. */ public boolean hasSession() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+     * Unique user session ID of the user whose state this is, may change on
+     * reconnect.
+     * 
+ * * optional uint32 session = 1; + * @return The session. */ public int getSession() { return session_; @@ -9745,13 +11874,23 @@ public final class Mumble { public static final int ACTOR_FIELD_NUMBER = 2; private int actor_; /** + *
+     * The session of the user who is updating this user.
+     * 
+ * * optional uint32 actor = 2; + * @return Whether the actor field is set. */ public boolean hasActor() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+     * The session of the user who is updating this user.
+     * 
+ * * optional uint32 actor = 2; + * @return The actor. */ public int getActor() { return actor_; @@ -9760,13 +11899,23 @@ public final class Mumble { public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** + *
+     * User name, UTF-8 encoded.
+     * 
+ * * optional string name = 3; + * @return Whether the name field is set. */ public boolean hasName() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** + *
+     * User name, UTF-8 encoded.
+     * 
+ * * optional string name = 3; + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -9783,7 +11932,12 @@ public final class Mumble { } } /** + *
+     * User name, UTF-8 encoded.
+     * 
+ * * optional string name = 3; + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { @@ -9802,13 +11956,23 @@ public final class Mumble { public static final int USER_ID_FIELD_NUMBER = 4; private int userId_; /** + *
+     * Registered user ID if the user is registered.
+     * 
+ * * optional uint32 user_id = 4; + * @return Whether the userId field is set. */ public boolean hasUserId() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** + *
+     * Registered user ID if the user is registered.
+     * 
+ * * optional uint32 user_id = 4; + * @return The userId. */ public int getUserId() { return userId_; @@ -9817,13 +11981,23 @@ public final class Mumble { public static final int CHANNEL_ID_FIELD_NUMBER = 5; private int channelId_; /** + *
+     * Channel on which the user is.
+     * 
+ * * optional uint32 channel_id = 5; + * @return Whether the channelId field is set. */ public boolean hasChannelId() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000010) != 0); } /** + *
+     * Channel on which the user is.
+     * 
+ * * optional uint32 channel_id = 5; + * @return The channelId. */ public int getChannelId() { return channelId_; @@ -9832,13 +12006,23 @@ public final class Mumble { public static final int MUTE_FIELD_NUMBER = 6; private boolean mute_; /** + *
+     * True if the user is muted by admin.
+     * 
+ * * optional bool mute = 6; + * @return Whether the mute field is set. */ public boolean hasMute() { - return ((bitField0_ & 0x00000020) == 0x00000020); + return ((bitField0_ & 0x00000020) != 0); } /** + *
+     * True if the user is muted by admin.
+     * 
+ * * optional bool mute = 6; + * @return The mute. */ public boolean getMute() { return mute_; @@ -9847,13 +12031,23 @@ public final class Mumble { public static final int DEAF_FIELD_NUMBER = 7; private boolean deaf_; /** + *
+     * True if the user is deafened by admin.
+     * 
+ * * optional bool deaf = 7; + * @return Whether the deaf field is set. */ public boolean hasDeaf() { - return ((bitField0_ & 0x00000040) == 0x00000040); + return ((bitField0_ & 0x00000040) != 0); } /** + *
+     * True if the user is deafened by admin.
+     * 
+ * * optional bool deaf = 7; + * @return The deaf. */ public boolean getDeaf() { return deaf_; @@ -9862,13 +12056,25 @@ public final class Mumble { public static final int SUPPRESS_FIELD_NUMBER = 8; private boolean suppress_; /** + *
+     * True if the user has been suppressed from talking by a reason other than
+     * being muted.
+     * 
+ * * optional bool suppress = 8; + * @return Whether the suppress field is set. */ public boolean hasSuppress() { - return ((bitField0_ & 0x00000080) == 0x00000080); + return ((bitField0_ & 0x00000080) != 0); } /** + *
+     * True if the user has been suppressed from talking by a reason other than
+     * being muted.
+     * 
+ * * optional bool suppress = 8; + * @return The suppress. */ public boolean getSuppress() { return suppress_; @@ -9877,13 +12083,23 @@ public final class Mumble { public static final int SELF_MUTE_FIELD_NUMBER = 9; private boolean selfMute_; /** + *
+     * True if the user has muted self.
+     * 
+ * * optional bool self_mute = 9; + * @return Whether the selfMute field is set. */ public boolean hasSelfMute() { - return ((bitField0_ & 0x00000100) == 0x00000100); + return ((bitField0_ & 0x00000100) != 0); } /** + *
+     * True if the user has muted self.
+     * 
+ * * optional bool self_mute = 9; + * @return The selfMute. */ public boolean getSelfMute() { return selfMute_; @@ -9892,13 +12108,23 @@ public final class Mumble { public static final int SELF_DEAF_FIELD_NUMBER = 10; private boolean selfDeaf_; /** + *
+     * True if the user has deafened self.
+     * 
+ * * optional bool self_deaf = 10; + * @return Whether the selfDeaf field is set. */ public boolean hasSelfDeaf() { - return ((bitField0_ & 0x00000200) == 0x00000200); + return ((bitField0_ & 0x00000200) != 0); } /** + *
+     * True if the user has deafened self.
+     * 
+ * * optional bool self_deaf = 10; + * @return The selfDeaf. */ public boolean getSelfDeaf() { return selfDeaf_; @@ -9907,13 +12133,23 @@ public final class Mumble { public static final int TEXTURE_FIELD_NUMBER = 11; private com.google.protobuf.ByteString texture_; /** + *
+     * User image if it is less than 128 bytes.
+     * 
+ * * optional bytes texture = 11; + * @return Whether the texture field is set. */ public boolean hasTexture() { - return ((bitField0_ & 0x00000400) == 0x00000400); + return ((bitField0_ & 0x00000400) != 0); } /** + *
+     * User image if it is less than 128 bytes.
+     * 
+ * * optional bytes texture = 11; + * @return The texture. */ public com.google.protobuf.ByteString getTexture() { return texture_; @@ -9922,13 +12158,29 @@ public final class Mumble { public static final int PLUGIN_CONTEXT_FIELD_NUMBER = 12; private com.google.protobuf.ByteString pluginContext_; /** + *
+     * The positional audio plugin identifier.
+     * Positional audio information is only sent to users who share
+     * identical plugin contexts.
+     * This value is not trasmitted to clients.
+     * 
+ * * optional bytes plugin_context = 12; + * @return Whether the pluginContext field is set. */ public boolean hasPluginContext() { - return ((bitField0_ & 0x00000800) == 0x00000800); + return ((bitField0_ & 0x00000800) != 0); } /** + *
+     * The positional audio plugin identifier.
+     * Positional audio information is only sent to users who share
+     * identical plugin contexts.
+     * This value is not trasmitted to clients.
+     * 
+ * * optional bytes plugin_context = 12; + * @return The pluginContext. */ public com.google.protobuf.ByteString getPluginContext() { return pluginContext_; @@ -9937,13 +12189,25 @@ public final class Mumble { public static final int PLUGIN_IDENTITY_FIELD_NUMBER = 13; private volatile java.lang.Object pluginIdentity_; /** + *
+     * The user's plugin-specific identity.
+     * This value is not transmitted to clients.
+     * 
+ * * optional string plugin_identity = 13; + * @return Whether the pluginIdentity field is set. */ public boolean hasPluginIdentity() { - return ((bitField0_ & 0x00001000) == 0x00001000); + return ((bitField0_ & 0x00001000) != 0); } /** + *
+     * The user's plugin-specific identity.
+     * This value is not transmitted to clients.
+     * 
+ * * optional string plugin_identity = 13; + * @return The pluginIdentity. */ public java.lang.String getPluginIdentity() { java.lang.Object ref = pluginIdentity_; @@ -9960,7 +12224,13 @@ public final class Mumble { } } /** + *
+     * The user's plugin-specific identity.
+     * This value is not transmitted to clients.
+     * 
+ * * optional string plugin_identity = 13; + * @return The bytes for pluginIdentity. */ public com.google.protobuf.ByteString getPluginIdentityBytes() { @@ -9979,13 +12249,23 @@ public final class Mumble { public static final int COMMENT_FIELD_NUMBER = 14; private volatile java.lang.Object comment_; /** + *
+     * User comment if it is less than 128 bytes.
+     * 
+ * * optional string comment = 14; + * @return Whether the comment field is set. */ public boolean hasComment() { - return ((bitField0_ & 0x00002000) == 0x00002000); + return ((bitField0_ & 0x00002000) != 0); } /** + *
+     * User comment if it is less than 128 bytes.
+     * 
+ * * optional string comment = 14; + * @return The comment. */ public java.lang.String getComment() { java.lang.Object ref = comment_; @@ -10002,7 +12282,12 @@ public final class Mumble { } } /** + *
+     * User comment if it is less than 128 bytes.
+     * 
+ * * optional string comment = 14; + * @return The bytes for comment. */ public com.google.protobuf.ByteString getCommentBytes() { @@ -10021,13 +12306,23 @@ public final class Mumble { public static final int HASH_FIELD_NUMBER = 15; private volatile java.lang.Object hash_; /** + *
+     * The hash of the user certificate.
+     * 
+ * * optional string hash = 15; + * @return Whether the hash field is set. */ public boolean hasHash() { - return ((bitField0_ & 0x00004000) == 0x00004000); + return ((bitField0_ & 0x00004000) != 0); } /** + *
+     * The hash of the user certificate.
+     * 
+ * * optional string hash = 15; + * @return The hash. */ public java.lang.String getHash() { java.lang.Object ref = hash_; @@ -10044,7 +12339,12 @@ public final class Mumble { } } /** + *
+     * The hash of the user certificate.
+     * 
+ * * optional string hash = 15; + * @return The bytes for hash. */ public com.google.protobuf.ByteString getHashBytes() { @@ -10063,13 +12363,23 @@ public final class Mumble { public static final int COMMENT_HASH_FIELD_NUMBER = 16; private com.google.protobuf.ByteString commentHash_; /** + *
+     * SHA1 hash of the user comment if it 128 bytes or more.
+     * 
+ * * optional bytes comment_hash = 16; + * @return Whether the commentHash field is set. */ public boolean hasCommentHash() { - return ((bitField0_ & 0x00008000) == 0x00008000); + return ((bitField0_ & 0x00008000) != 0); } /** + *
+     * SHA1 hash of the user comment if it 128 bytes or more.
+     * 
+ * * optional bytes comment_hash = 16; + * @return The commentHash. */ public com.google.protobuf.ByteString getCommentHash() { return commentHash_; @@ -10078,13 +12388,23 @@ public final class Mumble { public static final int TEXTURE_HASH_FIELD_NUMBER = 17; private com.google.protobuf.ByteString textureHash_; /** + *
+     * SHA1 hash of the user picture if it 128 bytes or more.
+     * 
+ * * optional bytes texture_hash = 17; + * @return Whether the textureHash field is set. */ public boolean hasTextureHash() { - return ((bitField0_ & 0x00010000) == 0x00010000); + return ((bitField0_ & 0x00010000) != 0); } /** + *
+     * SHA1 hash of the user picture if it 128 bytes or more.
+     * 
+ * * optional bytes texture_hash = 17; + * @return The textureHash. */ public com.google.protobuf.ByteString getTextureHash() { return textureHash_; @@ -10093,13 +12413,23 @@ public final class Mumble { public static final int PRIORITY_SPEAKER_FIELD_NUMBER = 18; private boolean prioritySpeaker_; /** + *
+     * True if the user is a priority speaker.
+     * 
+ * * optional bool priority_speaker = 18; + * @return Whether the prioritySpeaker field is set. */ public boolean hasPrioritySpeaker() { - return ((bitField0_ & 0x00020000) == 0x00020000); + return ((bitField0_ & 0x00020000) != 0); } /** + *
+     * True if the user is a priority speaker.
+     * 
+ * * optional bool priority_speaker = 18; + * @return The prioritySpeaker. */ public boolean getPrioritySpeaker() { return prioritySpeaker_; @@ -10108,19 +12438,30 @@ public final class Mumble { public static final int RECORDING_FIELD_NUMBER = 19; private boolean recording_; /** + *
+     * True if the user is currently recording.
+     * 
+ * * optional bool recording = 19; + * @return Whether the recording field is set. */ public boolean hasRecording() { - return ((bitField0_ & 0x00040000) == 0x00040000); + return ((bitField0_ & 0x00040000) != 0); } /** + *
+     * True if the user is currently recording.
+     * 
+ * * optional bool recording = 19; + * @return The recording. */ public boolean getRecording() { return recording_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -10130,142 +12471,144 @@ public final class Mumble { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, session_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, actor_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { output.writeUInt32(4, userId_); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000010) != 0)) { output.writeUInt32(5, channelId_); } - if (((bitField0_ & 0x00000020) == 0x00000020)) { + if (((bitField0_ & 0x00000020) != 0)) { output.writeBool(6, mute_); } - if (((bitField0_ & 0x00000040) == 0x00000040)) { + if (((bitField0_ & 0x00000040) != 0)) { output.writeBool(7, deaf_); } - if (((bitField0_ & 0x00000080) == 0x00000080)) { + if (((bitField0_ & 0x00000080) != 0)) { output.writeBool(8, suppress_); } - if (((bitField0_ & 0x00000100) == 0x00000100)) { + if (((bitField0_ & 0x00000100) != 0)) { output.writeBool(9, selfMute_); } - if (((bitField0_ & 0x00000200) == 0x00000200)) { + if (((bitField0_ & 0x00000200) != 0)) { output.writeBool(10, selfDeaf_); } - if (((bitField0_ & 0x00000400) == 0x00000400)) { + if (((bitField0_ & 0x00000400) != 0)) { output.writeBytes(11, texture_); } - if (((bitField0_ & 0x00000800) == 0x00000800)) { + if (((bitField0_ & 0x00000800) != 0)) { output.writeBytes(12, pluginContext_); } - if (((bitField0_ & 0x00001000) == 0x00001000)) { + if (((bitField0_ & 0x00001000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, pluginIdentity_); } - if (((bitField0_ & 0x00002000) == 0x00002000)) { + if (((bitField0_ & 0x00002000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 14, comment_); } - if (((bitField0_ & 0x00004000) == 0x00004000)) { + if (((bitField0_ & 0x00004000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 15, hash_); } - if (((bitField0_ & 0x00008000) == 0x00008000)) { + if (((bitField0_ & 0x00008000) != 0)) { output.writeBytes(16, commentHash_); } - if (((bitField0_ & 0x00010000) == 0x00010000)) { + if (((bitField0_ & 0x00010000) != 0)) { output.writeBytes(17, textureHash_); } - if (((bitField0_ & 0x00020000) == 0x00020000)) { + if (((bitField0_ & 0x00020000) != 0)) { output.writeBool(18, prioritySpeaker_); } - if (((bitField0_ & 0x00040000) == 0x00040000)) { + if (((bitField0_ & 0x00040000) != 0)) { output.writeBool(19, recording_); } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, session_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, actor_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, userId_); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, channelId_); } - if (((bitField0_ & 0x00000020) == 0x00000020)) { + if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(6, mute_); } - if (((bitField0_ & 0x00000040) == 0x00000040)) { + if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(7, deaf_); } - if (((bitField0_ & 0x00000080) == 0x00000080)) { + if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(8, suppress_); } - if (((bitField0_ & 0x00000100) == 0x00000100)) { + if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(9, selfMute_); } - if (((bitField0_ & 0x00000200) == 0x00000200)) { + if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(10, selfDeaf_); } - if (((bitField0_ & 0x00000400) == 0x00000400)) { + if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(11, texture_); } - if (((bitField0_ & 0x00000800) == 0x00000800)) { + if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(12, pluginContext_); } - if (((bitField0_ & 0x00001000) == 0x00001000)) { + if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, pluginIdentity_); } - if (((bitField0_ & 0x00002000) == 0x00002000)) { + if (((bitField0_ & 0x00002000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, comment_); } - if (((bitField0_ & 0x00004000) == 0x00004000)) { + if (((bitField0_ & 0x00004000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, hash_); } - if (((bitField0_ & 0x00008000) == 0x00008000)) { + if (((bitField0_ & 0x00008000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(16, commentHash_); } - if (((bitField0_ & 0x00010000) == 0x00010000)) { + if (((bitField0_ & 0x00010000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(17, textureHash_); } - if (((bitField0_ & 0x00020000) == 0x00020000)) { + if (((bitField0_ & 0x00020000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(18, prioritySpeaker_); } - if (((bitField0_ & 0x00040000) == 0x00040000)) { + if (((bitField0_ & 0x00040000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(19, recording_); } @@ -10274,7 +12617,6 @@ public final class Mumble { return size; } - private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { @@ -10285,104 +12627,103 @@ public final class Mumble { } se.lublin.humla.protobuf.Mumble.UserState other = (se.lublin.humla.protobuf.Mumble.UserState) obj; - boolean result = true; - result = result && (hasSession() == other.hasSession()); + if (hasSession() != other.hasSession()) return false; if (hasSession()) { - result = result && (getSession() - == other.getSession()); + if (getSession() + != other.getSession()) return false; } - result = result && (hasActor() == other.hasActor()); + if (hasActor() != other.hasActor()) return false; if (hasActor()) { - result = result && (getActor() - == other.getActor()); + if (getActor() + != other.getActor()) return false; } - result = result && (hasName() == other.hasName()); + if (hasName() != other.hasName()) return false; if (hasName()) { - result = result && getName() - .equals(other.getName()); + if (!getName() + .equals(other.getName())) return false; } - result = result && (hasUserId() == other.hasUserId()); + if (hasUserId() != other.hasUserId()) return false; if (hasUserId()) { - result = result && (getUserId() - == other.getUserId()); + if (getUserId() + != other.getUserId()) return false; } - result = result && (hasChannelId() == other.hasChannelId()); + if (hasChannelId() != other.hasChannelId()) return false; if (hasChannelId()) { - result = result && (getChannelId() - == other.getChannelId()); + if (getChannelId() + != other.getChannelId()) return false; } - result = result && (hasMute() == other.hasMute()); + if (hasMute() != other.hasMute()) return false; if (hasMute()) { - result = result && (getMute() - == other.getMute()); + if (getMute() + != other.getMute()) return false; } - result = result && (hasDeaf() == other.hasDeaf()); + if (hasDeaf() != other.hasDeaf()) return false; if (hasDeaf()) { - result = result && (getDeaf() - == other.getDeaf()); + if (getDeaf() + != other.getDeaf()) return false; } - result = result && (hasSuppress() == other.hasSuppress()); + if (hasSuppress() != other.hasSuppress()) return false; if (hasSuppress()) { - result = result && (getSuppress() - == other.getSuppress()); + if (getSuppress() + != other.getSuppress()) return false; } - result = result && (hasSelfMute() == other.hasSelfMute()); + if (hasSelfMute() != other.hasSelfMute()) return false; if (hasSelfMute()) { - result = result && (getSelfMute() - == other.getSelfMute()); + if (getSelfMute() + != other.getSelfMute()) return false; } - result = result && (hasSelfDeaf() == other.hasSelfDeaf()); + if (hasSelfDeaf() != other.hasSelfDeaf()) return false; if (hasSelfDeaf()) { - result = result && (getSelfDeaf() - == other.getSelfDeaf()); + if (getSelfDeaf() + != other.getSelfDeaf()) return false; } - result = result && (hasTexture() == other.hasTexture()); + if (hasTexture() != other.hasTexture()) return false; if (hasTexture()) { - result = result && getTexture() - .equals(other.getTexture()); + if (!getTexture() + .equals(other.getTexture())) return false; } - result = result && (hasPluginContext() == other.hasPluginContext()); + if (hasPluginContext() != other.hasPluginContext()) return false; if (hasPluginContext()) { - result = result && getPluginContext() - .equals(other.getPluginContext()); + if (!getPluginContext() + .equals(other.getPluginContext())) return false; } - result = result && (hasPluginIdentity() == other.hasPluginIdentity()); + if (hasPluginIdentity() != other.hasPluginIdentity()) return false; if (hasPluginIdentity()) { - result = result && getPluginIdentity() - .equals(other.getPluginIdentity()); + if (!getPluginIdentity() + .equals(other.getPluginIdentity())) return false; } - result = result && (hasComment() == other.hasComment()); + if (hasComment() != other.hasComment()) return false; if (hasComment()) { - result = result && getComment() - .equals(other.getComment()); + if (!getComment() + .equals(other.getComment())) return false; } - result = result && (hasHash() == other.hasHash()); + if (hasHash() != other.hasHash()) return false; if (hasHash()) { - result = result && getHash() - .equals(other.getHash()); + if (!getHash() + .equals(other.getHash())) return false; } - result = result && (hasCommentHash() == other.hasCommentHash()); + if (hasCommentHash() != other.hasCommentHash()) return false; if (hasCommentHash()) { - result = result && getCommentHash() - .equals(other.getCommentHash()); + if (!getCommentHash() + .equals(other.getCommentHash())) return false; } - result = result && (hasTextureHash() == other.hasTextureHash()); + if (hasTextureHash() != other.hasTextureHash()) return false; if (hasTextureHash()) { - result = result && getTextureHash() - .equals(other.getTextureHash()); + if (!getTextureHash() + .equals(other.getTextureHash())) return false; } - result = result && (hasPrioritySpeaker() == other.hasPrioritySpeaker()); + if (hasPrioritySpeaker() != other.hasPrioritySpeaker()) return false; if (hasPrioritySpeaker()) { - result = result && (getPrioritySpeaker() - == other.getPrioritySpeaker()); + if (getPrioritySpeaker() + != other.getPrioritySpeaker()) return false; } - result = result && (hasRecording() == other.hasRecording()); + if (hasRecording() != other.hasRecording()) return false; if (hasRecording()) { - result = result && (getRecording() - == other.getRecording()); + if (getRecording() + != other.getRecording()) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -10391,7 +12732,7 @@ public final class Mumble { return memoizedHashCode; } int hash = 41; - hash = (19 * hash) + getDescriptorForType().hashCode(); + hash = (19 * hash) + getDescriptor().hashCode(); if (hasSession()) { hash = (37 * hash) + SESSION_FIELD_NUMBER; hash = (53 * hash) + getSession(); @@ -10479,7 +12820,18 @@ public final class Mumble { memoizedHashCode = hash; return hash; } - + + public static se.lublin.humla.protobuf.Mumble.UserState parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static se.lublin.humla.protobuf.Mumble.UserState parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static se.lublin.humla.protobuf.Mumble.UserState parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -10539,6 +12891,7 @@ public final class Mumble { .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); @@ -10546,6 +12899,7 @@ public final class Mumble { public static Builder newBuilder(se.lublin.humla.protobuf.Mumble.UserState prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -10558,6 +12912,12 @@ public final class Mumble { return builder; } /** + *
+     * Sent by the server when it communicates new and changed users to client.
+     * First seen during login procedure. May be sent by the client when it wishes
+     * to alter its state.
+     * 
+ * * Protobuf type {@code MumbleProto.UserState} */ public static final class Builder extends @@ -10569,6 +12929,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_UserState_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_UserState_fieldAccessorTable @@ -10591,6 +12952,7 @@ public final class Mumble { .alwaysUseFieldBuilders) { } } + @java.lang.Override public Builder clear() { super.clear(); session_ = 0; @@ -10634,15 +12996,18 @@ public final class Mumble { return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_UserState_descriptor; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.UserState getDefaultInstanceForType() { return se.lublin.humla.protobuf.Mumble.UserState.getDefaultInstance(); } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.UserState build() { se.lublin.humla.protobuf.Mumble.UserState result = buildPartial(); if (!result.isInitialized()) { @@ -10651,117 +13016,125 @@ public final class Mumble { return result; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.UserState buildPartial() { se.lublin.humla.protobuf.Mumble.UserState result = new se.lublin.humla.protobuf.Mumble.UserState(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.session_ = session_; to_bitField0_ |= 0x00000001; } - result.session_ = session_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.actor_ = actor_; to_bitField0_ |= 0x00000002; } - result.actor_ = actor_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.name_ = name_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + if (((from_bitField0_ & 0x00000008) != 0)) { + result.userId_ = userId_; to_bitField0_ |= 0x00000008; } - result.userId_ = userId_; - if (((from_bitField0_ & 0x00000010) == 0x00000010)) { + if (((from_bitField0_ & 0x00000010) != 0)) { + result.channelId_ = channelId_; to_bitField0_ |= 0x00000010; } - result.channelId_ = channelId_; - if (((from_bitField0_ & 0x00000020) == 0x00000020)) { + if (((from_bitField0_ & 0x00000020) != 0)) { + result.mute_ = mute_; to_bitField0_ |= 0x00000020; } - result.mute_ = mute_; - if (((from_bitField0_ & 0x00000040) == 0x00000040)) { + if (((from_bitField0_ & 0x00000040) != 0)) { + result.deaf_ = deaf_; to_bitField0_ |= 0x00000040; } - result.deaf_ = deaf_; - if (((from_bitField0_ & 0x00000080) == 0x00000080)) { + if (((from_bitField0_ & 0x00000080) != 0)) { + result.suppress_ = suppress_; to_bitField0_ |= 0x00000080; } - result.suppress_ = suppress_; - if (((from_bitField0_ & 0x00000100) == 0x00000100)) { + if (((from_bitField0_ & 0x00000100) != 0)) { + result.selfMute_ = selfMute_; to_bitField0_ |= 0x00000100; } - result.selfMute_ = selfMute_; - if (((from_bitField0_ & 0x00000200) == 0x00000200)) { + if (((from_bitField0_ & 0x00000200) != 0)) { + result.selfDeaf_ = selfDeaf_; to_bitField0_ |= 0x00000200; } - result.selfDeaf_ = selfDeaf_; - if (((from_bitField0_ & 0x00000400) == 0x00000400)) { + if (((from_bitField0_ & 0x00000400) != 0)) { to_bitField0_ |= 0x00000400; } result.texture_ = texture_; - if (((from_bitField0_ & 0x00000800) == 0x00000800)) { + if (((from_bitField0_ & 0x00000800) != 0)) { to_bitField0_ |= 0x00000800; } result.pluginContext_ = pluginContext_; - if (((from_bitField0_ & 0x00001000) == 0x00001000)) { + if (((from_bitField0_ & 0x00001000) != 0)) { to_bitField0_ |= 0x00001000; } result.pluginIdentity_ = pluginIdentity_; - if (((from_bitField0_ & 0x00002000) == 0x00002000)) { + if (((from_bitField0_ & 0x00002000) != 0)) { to_bitField0_ |= 0x00002000; } result.comment_ = comment_; - if (((from_bitField0_ & 0x00004000) == 0x00004000)) { + if (((from_bitField0_ & 0x00004000) != 0)) { to_bitField0_ |= 0x00004000; } result.hash_ = hash_; - if (((from_bitField0_ & 0x00008000) == 0x00008000)) { + if (((from_bitField0_ & 0x00008000) != 0)) { to_bitField0_ |= 0x00008000; } result.commentHash_ = commentHash_; - if (((from_bitField0_ & 0x00010000) == 0x00010000)) { + if (((from_bitField0_ & 0x00010000) != 0)) { to_bitField0_ |= 0x00010000; } result.textureHash_ = textureHash_; - if (((from_bitField0_ & 0x00020000) == 0x00020000)) { + if (((from_bitField0_ & 0x00020000) != 0)) { + result.prioritySpeaker_ = prioritySpeaker_; to_bitField0_ |= 0x00020000; } - result.prioritySpeaker_ = prioritySpeaker_; - if (((from_bitField0_ & 0x00040000) == 0x00040000)) { + if (((from_bitField0_ & 0x00040000) != 0)) { + result.recording_ = recording_; to_bitField0_ |= 0x00040000; } - result.recording_ = recording_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } + @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.setField(field, value); + java.lang.Object value) { + return super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { - return (Builder) super.setRepeatedField(field, index, value); + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.addRepeatedField(field, value); + java.lang.Object value) { + return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof se.lublin.humla.protobuf.Mumble.UserState) { return mergeFrom((se.lublin.humla.protobuf.Mumble.UserState)other); @@ -10843,10 +13216,12 @@ public final class Mumble { return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -10868,19 +13243,38 @@ public final class Mumble { private int session_ ; /** + *
+       * Unique user session ID of the user whose state this is, may change on
+       * reconnect.
+       * 
+ * * optional uint32 session = 1; + * @return Whether the session field is set. */ public boolean hasSession() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+       * Unique user session ID of the user whose state this is, may change on
+       * reconnect.
+       * 
+ * * optional uint32 session = 1; + * @return The session. */ public int getSession() { return session_; } /** + *
+       * Unique user session ID of the user whose state this is, may change on
+       * reconnect.
+       * 
+ * * optional uint32 session = 1; + * @param value The session to set. + * @return This builder for chaining. */ public Builder setSession(int value) { bitField0_ |= 0x00000001; @@ -10889,7 +13283,13 @@ public final class Mumble { return this; } /** + *
+       * Unique user session ID of the user whose state this is, may change on
+       * reconnect.
+       * 
+ * * optional uint32 session = 1; + * @return This builder for chaining. */ public Builder clearSession() { bitField0_ = (bitField0_ & ~0x00000001); @@ -10900,19 +13300,35 @@ public final class Mumble { private int actor_ ; /** + *
+       * The session of the user who is updating this user.
+       * 
+ * * optional uint32 actor = 2; + * @return Whether the actor field is set. */ public boolean hasActor() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+       * The session of the user who is updating this user.
+       * 
+ * * optional uint32 actor = 2; + * @return The actor. */ public int getActor() { return actor_; } /** + *
+       * The session of the user who is updating this user.
+       * 
+ * * optional uint32 actor = 2; + * @param value The actor to set. + * @return This builder for chaining. */ public Builder setActor(int value) { bitField0_ |= 0x00000002; @@ -10921,7 +13337,12 @@ public final class Mumble { return this; } /** + *
+       * The session of the user who is updating this user.
+       * 
+ * * optional uint32 actor = 2; + * @return This builder for chaining. */ public Builder clearActor() { bitField0_ = (bitField0_ & ~0x00000002); @@ -10932,13 +13353,23 @@ public final class Mumble { private java.lang.Object name_ = ""; /** + *
+       * User name, UTF-8 encoded.
+       * 
+ * * optional string name = 3; + * @return Whether the name field is set. */ public boolean hasName() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** + *
+       * User name, UTF-8 encoded.
+       * 
+ * * optional string name = 3; + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -10955,7 +13386,12 @@ public final class Mumble { } } /** + *
+       * User name, UTF-8 encoded.
+       * 
+ * * optional string name = 3; + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { @@ -10971,7 +13407,13 @@ public final class Mumble { } } /** + *
+       * User name, UTF-8 encoded.
+       * 
+ * * optional string name = 3; + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName( java.lang.String value) { @@ -10984,7 +13426,12 @@ public final class Mumble { return this; } /** + *
+       * User name, UTF-8 encoded.
+       * 
+ * * optional string name = 3; + * @return This builder for chaining. */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000004); @@ -10993,7 +13440,13 @@ public final class Mumble { return this; } /** + *
+       * User name, UTF-8 encoded.
+       * 
+ * * optional string name = 3; + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { @@ -11008,19 +13461,35 @@ public final class Mumble { private int userId_ ; /** + *
+       * Registered user ID if the user is registered.
+       * 
+ * * optional uint32 user_id = 4; + * @return Whether the userId field is set. */ public boolean hasUserId() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** + *
+       * Registered user ID if the user is registered.
+       * 
+ * * optional uint32 user_id = 4; + * @return The userId. */ public int getUserId() { return userId_; } /** + *
+       * Registered user ID if the user is registered.
+       * 
+ * * optional uint32 user_id = 4; + * @param value The userId to set. + * @return This builder for chaining. */ public Builder setUserId(int value) { bitField0_ |= 0x00000008; @@ -11029,7 +13498,12 @@ public final class Mumble { return this; } /** + *
+       * Registered user ID if the user is registered.
+       * 
+ * * optional uint32 user_id = 4; + * @return This builder for chaining. */ public Builder clearUserId() { bitField0_ = (bitField0_ & ~0x00000008); @@ -11040,19 +13514,35 @@ public final class Mumble { private int channelId_ ; /** + *
+       * Channel on which the user is.
+       * 
+ * * optional uint32 channel_id = 5; + * @return Whether the channelId field is set. */ public boolean hasChannelId() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000010) != 0); } /** + *
+       * Channel on which the user is.
+       * 
+ * * optional uint32 channel_id = 5; + * @return The channelId. */ public int getChannelId() { return channelId_; } /** + *
+       * Channel on which the user is.
+       * 
+ * * optional uint32 channel_id = 5; + * @param value The channelId to set. + * @return This builder for chaining. */ public Builder setChannelId(int value) { bitField0_ |= 0x00000010; @@ -11061,7 +13551,12 @@ public final class Mumble { return this; } /** + *
+       * Channel on which the user is.
+       * 
+ * * optional uint32 channel_id = 5; + * @return This builder for chaining. */ public Builder clearChannelId() { bitField0_ = (bitField0_ & ~0x00000010); @@ -11072,19 +13567,35 @@ public final class Mumble { private boolean mute_ ; /** + *
+       * True if the user is muted by admin.
+       * 
+ * * optional bool mute = 6; + * @return Whether the mute field is set. */ public boolean hasMute() { - return ((bitField0_ & 0x00000020) == 0x00000020); + return ((bitField0_ & 0x00000020) != 0); } /** + *
+       * True if the user is muted by admin.
+       * 
+ * * optional bool mute = 6; + * @return The mute. */ public boolean getMute() { return mute_; } /** + *
+       * True if the user is muted by admin.
+       * 
+ * * optional bool mute = 6; + * @param value The mute to set. + * @return This builder for chaining. */ public Builder setMute(boolean value) { bitField0_ |= 0x00000020; @@ -11093,7 +13604,12 @@ public final class Mumble { return this; } /** + *
+       * True if the user is muted by admin.
+       * 
+ * * optional bool mute = 6; + * @return This builder for chaining. */ public Builder clearMute() { bitField0_ = (bitField0_ & ~0x00000020); @@ -11104,19 +13620,35 @@ public final class Mumble { private boolean deaf_ ; /** + *
+       * True if the user is deafened by admin.
+       * 
+ * * optional bool deaf = 7; + * @return Whether the deaf field is set. */ public boolean hasDeaf() { - return ((bitField0_ & 0x00000040) == 0x00000040); + return ((bitField0_ & 0x00000040) != 0); } /** + *
+       * True if the user is deafened by admin.
+       * 
+ * * optional bool deaf = 7; + * @return The deaf. */ public boolean getDeaf() { return deaf_; } /** + *
+       * True if the user is deafened by admin.
+       * 
+ * * optional bool deaf = 7; + * @param value The deaf to set. + * @return This builder for chaining. */ public Builder setDeaf(boolean value) { bitField0_ |= 0x00000040; @@ -11125,7 +13657,12 @@ public final class Mumble { return this; } /** + *
+       * True if the user is deafened by admin.
+       * 
+ * * optional bool deaf = 7; + * @return This builder for chaining. */ public Builder clearDeaf() { bitField0_ = (bitField0_ & ~0x00000040); @@ -11136,19 +13673,38 @@ public final class Mumble { private boolean suppress_ ; /** + *
+       * True if the user has been suppressed from talking by a reason other than
+       * being muted.
+       * 
+ * * optional bool suppress = 8; + * @return Whether the suppress field is set. */ public boolean hasSuppress() { - return ((bitField0_ & 0x00000080) == 0x00000080); + return ((bitField0_ & 0x00000080) != 0); } /** + *
+       * True if the user has been suppressed from talking by a reason other than
+       * being muted.
+       * 
+ * * optional bool suppress = 8; + * @return The suppress. */ public boolean getSuppress() { return suppress_; } /** + *
+       * True if the user has been suppressed from talking by a reason other than
+       * being muted.
+       * 
+ * * optional bool suppress = 8; + * @param value The suppress to set. + * @return This builder for chaining. */ public Builder setSuppress(boolean value) { bitField0_ |= 0x00000080; @@ -11157,7 +13713,13 @@ public final class Mumble { return this; } /** + *
+       * True if the user has been suppressed from talking by a reason other than
+       * being muted.
+       * 
+ * * optional bool suppress = 8; + * @return This builder for chaining. */ public Builder clearSuppress() { bitField0_ = (bitField0_ & ~0x00000080); @@ -11168,19 +13730,35 @@ public final class Mumble { private boolean selfMute_ ; /** + *
+       * True if the user has muted self.
+       * 
+ * * optional bool self_mute = 9; + * @return Whether the selfMute field is set. */ public boolean hasSelfMute() { - return ((bitField0_ & 0x00000100) == 0x00000100); + return ((bitField0_ & 0x00000100) != 0); } /** + *
+       * True if the user has muted self.
+       * 
+ * * optional bool self_mute = 9; + * @return The selfMute. */ public boolean getSelfMute() { return selfMute_; } /** + *
+       * True if the user has muted self.
+       * 
+ * * optional bool self_mute = 9; + * @param value The selfMute to set. + * @return This builder for chaining. */ public Builder setSelfMute(boolean value) { bitField0_ |= 0x00000100; @@ -11189,7 +13767,12 @@ public final class Mumble { return this; } /** + *
+       * True if the user has muted self.
+       * 
+ * * optional bool self_mute = 9; + * @return This builder for chaining. */ public Builder clearSelfMute() { bitField0_ = (bitField0_ & ~0x00000100); @@ -11200,19 +13783,35 @@ public final class Mumble { private boolean selfDeaf_ ; /** + *
+       * True if the user has deafened self.
+       * 
+ * * optional bool self_deaf = 10; + * @return Whether the selfDeaf field is set. */ public boolean hasSelfDeaf() { - return ((bitField0_ & 0x00000200) == 0x00000200); + return ((bitField0_ & 0x00000200) != 0); } /** + *
+       * True if the user has deafened self.
+       * 
+ * * optional bool self_deaf = 10; + * @return The selfDeaf. */ public boolean getSelfDeaf() { return selfDeaf_; } /** + *
+       * True if the user has deafened self.
+       * 
+ * * optional bool self_deaf = 10; + * @param value The selfDeaf to set. + * @return This builder for chaining. */ public Builder setSelfDeaf(boolean value) { bitField0_ |= 0x00000200; @@ -11221,7 +13820,12 @@ public final class Mumble { return this; } /** + *
+       * True if the user has deafened self.
+       * 
+ * * optional bool self_deaf = 10; + * @return This builder for chaining. */ public Builder clearSelfDeaf() { bitField0_ = (bitField0_ & ~0x00000200); @@ -11232,19 +13836,35 @@ public final class Mumble { private com.google.protobuf.ByteString texture_ = com.google.protobuf.ByteString.EMPTY; /** + *
+       * User image if it is less than 128 bytes.
+       * 
+ * * optional bytes texture = 11; + * @return Whether the texture field is set. */ public boolean hasTexture() { - return ((bitField0_ & 0x00000400) == 0x00000400); + return ((bitField0_ & 0x00000400) != 0); } /** + *
+       * User image if it is less than 128 bytes.
+       * 
+ * * optional bytes texture = 11; + * @return The texture. */ public com.google.protobuf.ByteString getTexture() { return texture_; } /** + *
+       * User image if it is less than 128 bytes.
+       * 
+ * * optional bytes texture = 11; + * @param value The texture to set. + * @return This builder for chaining. */ public Builder setTexture(com.google.protobuf.ByteString value) { if (value == null) { @@ -11256,7 +13876,12 @@ public final class Mumble { return this; } /** + *
+       * User image if it is less than 128 bytes.
+       * 
+ * * optional bytes texture = 11; + * @return This builder for chaining. */ public Builder clearTexture() { bitField0_ = (bitField0_ & ~0x00000400); @@ -11267,19 +13892,44 @@ public final class Mumble { private com.google.protobuf.ByteString pluginContext_ = com.google.protobuf.ByteString.EMPTY; /** + *
+       * The positional audio plugin identifier.
+       * Positional audio information is only sent to users who share
+       * identical plugin contexts.
+       * This value is not trasmitted to clients.
+       * 
+ * * optional bytes plugin_context = 12; + * @return Whether the pluginContext field is set. */ public boolean hasPluginContext() { - return ((bitField0_ & 0x00000800) == 0x00000800); + return ((bitField0_ & 0x00000800) != 0); } /** + *
+       * The positional audio plugin identifier.
+       * Positional audio information is only sent to users who share
+       * identical plugin contexts.
+       * This value is not trasmitted to clients.
+       * 
+ * * optional bytes plugin_context = 12; + * @return The pluginContext. */ public com.google.protobuf.ByteString getPluginContext() { return pluginContext_; } /** + *
+       * The positional audio plugin identifier.
+       * Positional audio information is only sent to users who share
+       * identical plugin contexts.
+       * This value is not trasmitted to clients.
+       * 
+ * * optional bytes plugin_context = 12; + * @param value The pluginContext to set. + * @return This builder for chaining. */ public Builder setPluginContext(com.google.protobuf.ByteString value) { if (value == null) { @@ -11291,7 +13941,15 @@ public final class Mumble { return this; } /** + *
+       * The positional audio plugin identifier.
+       * Positional audio information is only sent to users who share
+       * identical plugin contexts.
+       * This value is not trasmitted to clients.
+       * 
+ * * optional bytes plugin_context = 12; + * @return This builder for chaining. */ public Builder clearPluginContext() { bitField0_ = (bitField0_ & ~0x00000800); @@ -11302,13 +13960,25 @@ public final class Mumble { private java.lang.Object pluginIdentity_ = ""; /** + *
+       * The user's plugin-specific identity.
+       * This value is not transmitted to clients.
+       * 
+ * * optional string plugin_identity = 13; + * @return Whether the pluginIdentity field is set. */ public boolean hasPluginIdentity() { - return ((bitField0_ & 0x00001000) == 0x00001000); + return ((bitField0_ & 0x00001000) != 0); } /** + *
+       * The user's plugin-specific identity.
+       * This value is not transmitted to clients.
+       * 
+ * * optional string plugin_identity = 13; + * @return The pluginIdentity. */ public java.lang.String getPluginIdentity() { java.lang.Object ref = pluginIdentity_; @@ -11325,7 +13995,13 @@ public final class Mumble { } } /** + *
+       * The user's plugin-specific identity.
+       * This value is not transmitted to clients.
+       * 
+ * * optional string plugin_identity = 13; + * @return The bytes for pluginIdentity. */ public com.google.protobuf.ByteString getPluginIdentityBytes() { @@ -11341,7 +14017,14 @@ public final class Mumble { } } /** + *
+       * The user's plugin-specific identity.
+       * This value is not transmitted to clients.
+       * 
+ * * optional string plugin_identity = 13; + * @param value The pluginIdentity to set. + * @return This builder for chaining. */ public Builder setPluginIdentity( java.lang.String value) { @@ -11354,7 +14037,13 @@ public final class Mumble { return this; } /** + *
+       * The user's plugin-specific identity.
+       * This value is not transmitted to clients.
+       * 
+ * * optional string plugin_identity = 13; + * @return This builder for chaining. */ public Builder clearPluginIdentity() { bitField0_ = (bitField0_ & ~0x00001000); @@ -11363,7 +14052,14 @@ public final class Mumble { return this; } /** + *
+       * The user's plugin-specific identity.
+       * This value is not transmitted to clients.
+       * 
+ * * optional string plugin_identity = 13; + * @param value The bytes for pluginIdentity to set. + * @return This builder for chaining. */ public Builder setPluginIdentityBytes( com.google.protobuf.ByteString value) { @@ -11378,13 +14074,23 @@ public final class Mumble { private java.lang.Object comment_ = ""; /** + *
+       * User comment if it is less than 128 bytes.
+       * 
+ * * optional string comment = 14; + * @return Whether the comment field is set. */ public boolean hasComment() { - return ((bitField0_ & 0x00002000) == 0x00002000); + return ((bitField0_ & 0x00002000) != 0); } /** + *
+       * User comment if it is less than 128 bytes.
+       * 
+ * * optional string comment = 14; + * @return The comment. */ public java.lang.String getComment() { java.lang.Object ref = comment_; @@ -11401,7 +14107,12 @@ public final class Mumble { } } /** + *
+       * User comment if it is less than 128 bytes.
+       * 
+ * * optional string comment = 14; + * @return The bytes for comment. */ public com.google.protobuf.ByteString getCommentBytes() { @@ -11417,7 +14128,13 @@ public final class Mumble { } } /** + *
+       * User comment if it is less than 128 bytes.
+       * 
+ * * optional string comment = 14; + * @param value The comment to set. + * @return This builder for chaining. */ public Builder setComment( java.lang.String value) { @@ -11430,7 +14147,12 @@ public final class Mumble { return this; } /** + *
+       * User comment if it is less than 128 bytes.
+       * 
+ * * optional string comment = 14; + * @return This builder for chaining. */ public Builder clearComment() { bitField0_ = (bitField0_ & ~0x00002000); @@ -11439,7 +14161,13 @@ public final class Mumble { return this; } /** + *
+       * User comment if it is less than 128 bytes.
+       * 
+ * * optional string comment = 14; + * @param value The bytes for comment to set. + * @return This builder for chaining. */ public Builder setCommentBytes( com.google.protobuf.ByteString value) { @@ -11454,13 +14182,23 @@ public final class Mumble { private java.lang.Object hash_ = ""; /** + *
+       * The hash of the user certificate.
+       * 
+ * * optional string hash = 15; + * @return Whether the hash field is set. */ public boolean hasHash() { - return ((bitField0_ & 0x00004000) == 0x00004000); + return ((bitField0_ & 0x00004000) != 0); } /** + *
+       * The hash of the user certificate.
+       * 
+ * * optional string hash = 15; + * @return The hash. */ public java.lang.String getHash() { java.lang.Object ref = hash_; @@ -11477,7 +14215,12 @@ public final class Mumble { } } /** + *
+       * The hash of the user certificate.
+       * 
+ * * optional string hash = 15; + * @return The bytes for hash. */ public com.google.protobuf.ByteString getHashBytes() { @@ -11493,7 +14236,13 @@ public final class Mumble { } } /** + *
+       * The hash of the user certificate.
+       * 
+ * * optional string hash = 15; + * @param value The hash to set. + * @return This builder for chaining. */ public Builder setHash( java.lang.String value) { @@ -11506,7 +14255,12 @@ public final class Mumble { return this; } /** + *
+       * The hash of the user certificate.
+       * 
+ * * optional string hash = 15; + * @return This builder for chaining. */ public Builder clearHash() { bitField0_ = (bitField0_ & ~0x00004000); @@ -11515,7 +14269,13 @@ public final class Mumble { return this; } /** + *
+       * The hash of the user certificate.
+       * 
+ * * optional string hash = 15; + * @param value The bytes for hash to set. + * @return This builder for chaining. */ public Builder setHashBytes( com.google.protobuf.ByteString value) { @@ -11530,19 +14290,35 @@ public final class Mumble { private com.google.protobuf.ByteString commentHash_ = com.google.protobuf.ByteString.EMPTY; /** + *
+       * SHA1 hash of the user comment if it 128 bytes or more.
+       * 
+ * * optional bytes comment_hash = 16; + * @return Whether the commentHash field is set. */ public boolean hasCommentHash() { - return ((bitField0_ & 0x00008000) == 0x00008000); + return ((bitField0_ & 0x00008000) != 0); } /** + *
+       * SHA1 hash of the user comment if it 128 bytes or more.
+       * 
+ * * optional bytes comment_hash = 16; + * @return The commentHash. */ public com.google.protobuf.ByteString getCommentHash() { return commentHash_; } /** + *
+       * SHA1 hash of the user comment if it 128 bytes or more.
+       * 
+ * * optional bytes comment_hash = 16; + * @param value The commentHash to set. + * @return This builder for chaining. */ public Builder setCommentHash(com.google.protobuf.ByteString value) { if (value == null) { @@ -11554,7 +14330,12 @@ public final class Mumble { return this; } /** + *
+       * SHA1 hash of the user comment if it 128 bytes or more.
+       * 
+ * * optional bytes comment_hash = 16; + * @return This builder for chaining. */ public Builder clearCommentHash() { bitField0_ = (bitField0_ & ~0x00008000); @@ -11565,19 +14346,35 @@ public final class Mumble { private com.google.protobuf.ByteString textureHash_ = com.google.protobuf.ByteString.EMPTY; /** + *
+       * SHA1 hash of the user picture if it 128 bytes or more.
+       * 
+ * * optional bytes texture_hash = 17; + * @return Whether the textureHash field is set. */ public boolean hasTextureHash() { - return ((bitField0_ & 0x00010000) == 0x00010000); + return ((bitField0_ & 0x00010000) != 0); } /** + *
+       * SHA1 hash of the user picture if it 128 bytes or more.
+       * 
+ * * optional bytes texture_hash = 17; + * @return The textureHash. */ public com.google.protobuf.ByteString getTextureHash() { return textureHash_; } /** + *
+       * SHA1 hash of the user picture if it 128 bytes or more.
+       * 
+ * * optional bytes texture_hash = 17; + * @param value The textureHash to set. + * @return This builder for chaining. */ public Builder setTextureHash(com.google.protobuf.ByteString value) { if (value == null) { @@ -11589,7 +14386,12 @@ public final class Mumble { return this; } /** + *
+       * SHA1 hash of the user picture if it 128 bytes or more.
+       * 
+ * * optional bytes texture_hash = 17; + * @return This builder for chaining. */ public Builder clearTextureHash() { bitField0_ = (bitField0_ & ~0x00010000); @@ -11600,19 +14402,35 @@ public final class Mumble { private boolean prioritySpeaker_ ; /** + *
+       * True if the user is a priority speaker.
+       * 
+ * * optional bool priority_speaker = 18; + * @return Whether the prioritySpeaker field is set. */ public boolean hasPrioritySpeaker() { - return ((bitField0_ & 0x00020000) == 0x00020000); + return ((bitField0_ & 0x00020000) != 0); } /** + *
+       * True if the user is a priority speaker.
+       * 
+ * * optional bool priority_speaker = 18; + * @return The prioritySpeaker. */ public boolean getPrioritySpeaker() { return prioritySpeaker_; } /** + *
+       * True if the user is a priority speaker.
+       * 
+ * * optional bool priority_speaker = 18; + * @param value The prioritySpeaker to set. + * @return This builder for chaining. */ public Builder setPrioritySpeaker(boolean value) { bitField0_ |= 0x00020000; @@ -11621,7 +14439,12 @@ public final class Mumble { return this; } /** + *
+       * True if the user is a priority speaker.
+       * 
+ * * optional bool priority_speaker = 18; + * @return This builder for chaining. */ public Builder clearPrioritySpeaker() { bitField0_ = (bitField0_ & ~0x00020000); @@ -11632,19 +14455,35 @@ public final class Mumble { private boolean recording_ ; /** + *
+       * True if the user is currently recording.
+       * 
+ * * optional bool recording = 19; + * @return Whether the recording field is set. */ public boolean hasRecording() { - return ((bitField0_ & 0x00040000) == 0x00040000); + return ((bitField0_ & 0x00040000) != 0); } /** + *
+       * True if the user is currently recording.
+       * 
+ * * optional bool recording = 19; + * @return The recording. */ public boolean getRecording() { return recording_; } /** + *
+       * True if the user is currently recording.
+       * 
+ * * optional bool recording = 19; + * @param value The recording to set. + * @return This builder for chaining. */ public Builder setRecording(boolean value) { bitField0_ |= 0x00040000; @@ -11653,7 +14492,12 @@ public final class Mumble { return this; } /** + *
+       * True if the user is currently recording.
+       * 
+ * * optional bool recording = 19; + * @return This builder for chaining. */ public Builder clearRecording() { bitField0_ = (bitField0_ & ~0x00040000); @@ -11661,11 +14505,13 @@ public final class Mumble { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -11687,11 +14533,12 @@ public final class Mumble { @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override public UserState parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UserState(input, extensionRegistry); + return new UserState(input, extensionRegistry); } }; @@ -11704,6 +14551,7 @@ public final class Mumble { return PARSER; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.UserState getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -11715,52 +14563,97 @@ public final class Mumble { com.google.protobuf.MessageOrBuilder { /** + *
+     * List of ban entries currently in place.
+     * 
+ * * repeated .MumbleProto.BanList.BanEntry bans = 1; */ java.util.List getBansList(); /** + *
+     * List of ban entries currently in place.
+     * 
+ * * repeated .MumbleProto.BanList.BanEntry bans = 1; */ se.lublin.humla.protobuf.Mumble.BanList.BanEntry getBans(int index); /** + *
+     * List of ban entries currently in place.
+     * 
+ * * repeated .MumbleProto.BanList.BanEntry bans = 1; */ int getBansCount(); /** + *
+     * List of ban entries currently in place.
+     * 
+ * * repeated .MumbleProto.BanList.BanEntry bans = 1; */ java.util.List getBansOrBuilderList(); /** + *
+     * List of ban entries currently in place.
+     * 
+ * * repeated .MumbleProto.BanList.BanEntry bans = 1; */ se.lublin.humla.protobuf.Mumble.BanList.BanEntryOrBuilder getBansOrBuilder( int index); /** + *
+     * True if the server should return the list, false if it should replace old
+     * ban list with the one provided.
+     * 
+ * * optional bool query = 2 [default = false]; + * @return Whether the query field is set. */ boolean hasQuery(); /** + *
+     * True if the server should return the list, false if it should replace old
+     * ban list with the one provided.
+     * 
+ * * optional bool query = 2 [default = false]; + * @return The query. */ boolean getQuery(); } /** + *
+   * Relays information on the bans. The client may send the BanList message to
+   * either modify the list of bans or query them from the server. The server
+   * sends this list only after a client queries for it.
+   * 
+ * * Protobuf type {@code MumbleProto.BanList} */ public static final class BanList extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:MumbleProto.BanList) BanListOrBuilder { + private static final long serialVersionUID = 0L; // Use BanList.newBuilder() to construct. private BanList(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BanList() { bans_ = java.util.Collections.emptyList(); - query_ = false; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new BanList(); } @java.lang.Override @@ -11773,6 +14666,9 @@ public final class Mumble { com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -11784,15 +14680,8 @@ public final class Mumble { case 0: done = true; break; - default: { - if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { - done = true; - } - break; - } case 10: { - if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { bans_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } @@ -11805,6 +14694,13 @@ public final class Mumble { query_ = input.readBool(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -11813,7 +14709,7 @@ public final class Mumble { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { bans_ = java.util.Collections.unmodifiableList(bans_); } this.unknownFields = unknownFields.build(); @@ -11825,6 +14721,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_BanList_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_BanList_fieldAccessorTable @@ -11837,85 +14734,175 @@ public final class Mumble { com.google.protobuf.MessageOrBuilder { /** + *
+       * Banned IP address.
+       * 
+ * * required bytes address = 1; + * @return Whether the address field is set. */ boolean hasAddress(); /** + *
+       * Banned IP address.
+       * 
+ * * required bytes address = 1; + * @return The address. */ com.google.protobuf.ByteString getAddress(); /** + *
+       * The length of the subnet mask for the ban.
+       * 
+ * * required uint32 mask = 2; + * @return Whether the mask field is set. */ boolean hasMask(); /** + *
+       * The length of the subnet mask for the ban.
+       * 
+ * * required uint32 mask = 2; + * @return The mask. */ int getMask(); /** + *
+       * User name for identification purposes (does not affect the ban).
+       * 
+ * * optional string name = 3; + * @return Whether the name field is set. */ boolean hasName(); /** + *
+       * User name for identification purposes (does not affect the ban).
+       * 
+ * * optional string name = 3; + * @return The name. */ java.lang.String getName(); /** + *
+       * User name for identification purposes (does not affect the ban).
+       * 
+ * * optional string name = 3; + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** + *
+       * The certificate hash of the banned user.
+       * 
+ * * optional string hash = 4; + * @return Whether the hash field is set. */ boolean hasHash(); /** + *
+       * The certificate hash of the banned user.
+       * 
+ * * optional string hash = 4; + * @return The hash. */ java.lang.String getHash(); /** + *
+       * The certificate hash of the banned user.
+       * 
+ * * optional string hash = 4; + * @return The bytes for hash. */ com.google.protobuf.ByteString getHashBytes(); /** + *
+       * Reason for the ban (does not affect the ban).
+       * 
+ * * optional string reason = 5; + * @return Whether the reason field is set. */ boolean hasReason(); /** + *
+       * Reason for the ban (does not affect the ban).
+       * 
+ * * optional string reason = 5; + * @return The reason. */ java.lang.String getReason(); /** + *
+       * Reason for the ban (does not affect the ban).
+       * 
+ * * optional string reason = 5; + * @return The bytes for reason. */ com.google.protobuf.ByteString getReasonBytes(); /** + *
+       * Ban start time.
+       * 
+ * * optional string start = 6; + * @return Whether the start field is set. */ boolean hasStart(); /** + *
+       * Ban start time.
+       * 
+ * * optional string start = 6; + * @return The start. */ java.lang.String getStart(); /** + *
+       * Ban start time.
+       * 
+ * * optional string start = 6; + * @return The bytes for start. */ com.google.protobuf.ByteString getStartBytes(); /** + *
+       * Ban duration in seconds.
+       * 
+ * * optional uint32 duration = 7; + * @return Whether the duration field is set. */ boolean hasDuration(); /** + *
+       * Ban duration in seconds.
+       * 
+ * * optional uint32 duration = 7; + * @return The duration. */ int getDuration(); } @@ -11926,18 +14913,24 @@ public final class Mumble { com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:MumbleProto.BanList.BanEntry) BanEntryOrBuilder { + private static final long serialVersionUID = 0L; // Use BanEntry.newBuilder() to construct. private BanEntry(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BanEntry() { address_ = com.google.protobuf.ByteString.EMPTY; - mask_ = 0; name_ = ""; hash_ = ""; reason_ = ""; start_ = ""; - duration_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new BanEntry(); } @java.lang.Override @@ -11950,6 +14943,9 @@ public final class Mumble { com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -11961,13 +14957,6 @@ public final class Mumble { case 0: done = true; break; - default: { - if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { - done = true; - } - break; - } case 10: { bitField0_ |= 0x00000001; address_ = input.readBytes(); @@ -12007,6 +14996,13 @@ public final class Mumble { duration_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -12024,6 +15020,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_BanList_BanEntry_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_BanList_BanEntry_fieldAccessorTable @@ -12035,13 +15032,23 @@ public final class Mumble { public static final int ADDRESS_FIELD_NUMBER = 1; private com.google.protobuf.ByteString address_; /** + *
+       * Banned IP address.
+       * 
+ * * required bytes address = 1; + * @return Whether the address field is set. */ public boolean hasAddress() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+       * Banned IP address.
+       * 
+ * * required bytes address = 1; + * @return The address. */ public com.google.protobuf.ByteString getAddress() { return address_; @@ -12050,13 +15057,23 @@ public final class Mumble { public static final int MASK_FIELD_NUMBER = 2; private int mask_; /** + *
+       * The length of the subnet mask for the ban.
+       * 
+ * * required uint32 mask = 2; + * @return Whether the mask field is set. */ public boolean hasMask() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+       * The length of the subnet mask for the ban.
+       * 
+ * * required uint32 mask = 2; + * @return The mask. */ public int getMask() { return mask_; @@ -12065,13 +15082,23 @@ public final class Mumble { public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** + *
+       * User name for identification purposes (does not affect the ban).
+       * 
+ * * optional string name = 3; + * @return Whether the name field is set. */ public boolean hasName() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** + *
+       * User name for identification purposes (does not affect the ban).
+       * 
+ * * optional string name = 3; + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -12088,7 +15115,12 @@ public final class Mumble { } } /** + *
+       * User name for identification purposes (does not affect the ban).
+       * 
+ * * optional string name = 3; + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { @@ -12107,13 +15139,23 @@ public final class Mumble { public static final int HASH_FIELD_NUMBER = 4; private volatile java.lang.Object hash_; /** + *
+       * The certificate hash of the banned user.
+       * 
+ * * optional string hash = 4; + * @return Whether the hash field is set. */ public boolean hasHash() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** + *
+       * The certificate hash of the banned user.
+       * 
+ * * optional string hash = 4; + * @return The hash. */ public java.lang.String getHash() { java.lang.Object ref = hash_; @@ -12130,7 +15172,12 @@ public final class Mumble { } } /** + *
+       * The certificate hash of the banned user.
+       * 
+ * * optional string hash = 4; + * @return The bytes for hash. */ public com.google.protobuf.ByteString getHashBytes() { @@ -12149,13 +15196,23 @@ public final class Mumble { public static final int REASON_FIELD_NUMBER = 5; private volatile java.lang.Object reason_; /** + *
+       * Reason for the ban (does not affect the ban).
+       * 
+ * * optional string reason = 5; + * @return Whether the reason field is set. */ public boolean hasReason() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000010) != 0); } /** + *
+       * Reason for the ban (does not affect the ban).
+       * 
+ * * optional string reason = 5; + * @return The reason. */ public java.lang.String getReason() { java.lang.Object ref = reason_; @@ -12172,7 +15229,12 @@ public final class Mumble { } } /** + *
+       * Reason for the ban (does not affect the ban).
+       * 
+ * * optional string reason = 5; + * @return The bytes for reason. */ public com.google.protobuf.ByteString getReasonBytes() { @@ -12191,13 +15253,23 @@ public final class Mumble { public static final int START_FIELD_NUMBER = 6; private volatile java.lang.Object start_; /** + *
+       * Ban start time.
+       * 
+ * * optional string start = 6; + * @return Whether the start field is set. */ public boolean hasStart() { - return ((bitField0_ & 0x00000020) == 0x00000020); + return ((bitField0_ & 0x00000020) != 0); } /** + *
+       * Ban start time.
+       * 
+ * * optional string start = 6; + * @return The start. */ public java.lang.String getStart() { java.lang.Object ref = start_; @@ -12214,7 +15286,12 @@ public final class Mumble { } } /** + *
+       * Ban start time.
+       * 
+ * * optional string start = 6; + * @return The bytes for start. */ public com.google.protobuf.ByteString getStartBytes() { @@ -12233,19 +15310,30 @@ public final class Mumble { public static final int DURATION_FIELD_NUMBER = 7; private int duration_; /** + *
+       * Ban duration in seconds.
+       * 
+ * * optional uint32 duration = 7; + * @return Whether the duration field is set. */ public boolean hasDuration() { - return ((bitField0_ & 0x00000040) == 0x00000040); + return ((bitField0_ & 0x00000040) != 0); } /** + *
+       * Ban duration in seconds.
+       * 
+ * * optional uint32 duration = 7; + * @return The duration. */ public int getDuration() { return duration_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -12263,58 +15351,60 @@ public final class Mumble { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeBytes(1, address_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, mask_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, hash_); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000010) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, reason_); } - if (((bitField0_ & 0x00000020) == 0x00000020)) { + if (((bitField0_ & 0x00000020) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, start_); } - if (((bitField0_ & 0x00000040) == 0x00000040)) { + if (((bitField0_ & 0x00000040) != 0)) { output.writeUInt32(7, duration_); } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, address_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, mask_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, hash_); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, reason_); } - if (((bitField0_ & 0x00000020) == 0x00000020)) { + if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, start_); } - if (((bitField0_ & 0x00000040) == 0x00000040)) { + if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(7, duration_); } @@ -12323,7 +15413,6 @@ public final class Mumble { return size; } - private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { @@ -12334,44 +15423,43 @@ public final class Mumble { } se.lublin.humla.protobuf.Mumble.BanList.BanEntry other = (se.lublin.humla.protobuf.Mumble.BanList.BanEntry) obj; - boolean result = true; - result = result && (hasAddress() == other.hasAddress()); + if (hasAddress() != other.hasAddress()) return false; if (hasAddress()) { - result = result && getAddress() - .equals(other.getAddress()); + if (!getAddress() + .equals(other.getAddress())) return false; } - result = result && (hasMask() == other.hasMask()); + if (hasMask() != other.hasMask()) return false; if (hasMask()) { - result = result && (getMask() - == other.getMask()); + if (getMask() + != other.getMask()) return false; } - result = result && (hasName() == other.hasName()); + if (hasName() != other.hasName()) return false; if (hasName()) { - result = result && getName() - .equals(other.getName()); + if (!getName() + .equals(other.getName())) return false; } - result = result && (hasHash() == other.hasHash()); + if (hasHash() != other.hasHash()) return false; if (hasHash()) { - result = result && getHash() - .equals(other.getHash()); + if (!getHash() + .equals(other.getHash())) return false; } - result = result && (hasReason() == other.hasReason()); + if (hasReason() != other.hasReason()) return false; if (hasReason()) { - result = result && getReason() - .equals(other.getReason()); + if (!getReason() + .equals(other.getReason())) return false; } - result = result && (hasStart() == other.hasStart()); + if (hasStart() != other.hasStart()) return false; if (hasStart()) { - result = result && getStart() - .equals(other.getStart()); + if (!getStart() + .equals(other.getStart())) return false; } - result = result && (hasDuration() == other.hasDuration()); + if (hasDuration() != other.hasDuration()) return false; if (hasDuration()) { - result = result && (getDuration() - == other.getDuration()); + if (getDuration() + != other.getDuration()) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -12380,7 +15468,7 @@ public final class Mumble { return memoizedHashCode; } int hash = 41; - hash = (19 * hash) + getDescriptorForType().hashCode(); + hash = (19 * hash) + getDescriptor().hashCode(); if (hasAddress()) { hash = (37 * hash) + ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getAddress().hashCode(); @@ -12414,6 +15502,17 @@ public final class Mumble { return hash; } + public static se.lublin.humla.protobuf.Mumble.BanList.BanEntry parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static se.lublin.humla.protobuf.Mumble.BanList.BanEntry parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static se.lublin.humla.protobuf.Mumble.BanList.BanEntry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -12473,6 +15572,7 @@ public final class Mumble { .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); @@ -12480,6 +15580,7 @@ public final class Mumble { public static Builder newBuilder(se.lublin.humla.protobuf.Mumble.BanList.BanEntry prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -12503,6 +15604,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_BanList_BanEntry_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_BanList_BanEntry_fieldAccessorTable @@ -12525,6 +15627,7 @@ public final class Mumble { .alwaysUseFieldBuilders) { } } + @java.lang.Override public Builder clear() { super.clear(); address_ = com.google.protobuf.ByteString.EMPTY; @@ -12544,15 +15647,18 @@ public final class Mumble { return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_BanList_BanEntry_descriptor; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.BanList.BanEntry getDefaultInstanceForType() { return se.lublin.humla.protobuf.Mumble.BanList.BanEntry.getDefaultInstance(); } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.BanList.BanEntry build() { se.lublin.humla.protobuf.Mumble.BanList.BanEntry result = buildPartial(); if (!result.isInitialized()) { @@ -12561,69 +15667,77 @@ public final class Mumble { return result; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.BanList.BanEntry buildPartial() { se.lublin.humla.protobuf.Mumble.BanList.BanEntry result = new se.lublin.humla.protobuf.Mumble.BanList.BanEntry(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.address_ = address_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.mask_ = mask_; to_bitField0_ |= 0x00000002; } - result.mask_ = mask_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.name_ = name_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.hash_ = hash_; - if (((from_bitField0_ & 0x00000010) == 0x00000010)) { + if (((from_bitField0_ & 0x00000010) != 0)) { to_bitField0_ |= 0x00000010; } result.reason_ = reason_; - if (((from_bitField0_ & 0x00000020) == 0x00000020)) { + if (((from_bitField0_ & 0x00000020) != 0)) { to_bitField0_ |= 0x00000020; } result.start_ = start_; - if (((from_bitField0_ & 0x00000040) == 0x00000040)) { + if (((from_bitField0_ & 0x00000040) != 0)) { + result.duration_ = duration_; to_bitField0_ |= 0x00000040; } - result.duration_ = duration_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } + @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.setField(field, value); + java.lang.Object value) { + return super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { - return (Builder) super.setRepeatedField(field, index, value); + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.addRepeatedField(field, value); + java.lang.Object value) { + return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof se.lublin.humla.protobuf.Mumble.BanList.BanEntry) { return mergeFrom((se.lublin.humla.protobuf.Mumble.BanList.BanEntry)other); @@ -12669,6 +15783,7 @@ public final class Mumble { return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasAddress()) { return false; @@ -12679,6 +15794,7 @@ public final class Mumble { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -12700,19 +15816,35 @@ public final class Mumble { private com.google.protobuf.ByteString address_ = com.google.protobuf.ByteString.EMPTY; /** + *
+         * Banned IP address.
+         * 
+ * * required bytes address = 1; + * @return Whether the address field is set. */ public boolean hasAddress() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+         * Banned IP address.
+         * 
+ * * required bytes address = 1; + * @return The address. */ public com.google.protobuf.ByteString getAddress() { return address_; } /** + *
+         * Banned IP address.
+         * 
+ * * required bytes address = 1; + * @param value The address to set. + * @return This builder for chaining. */ public Builder setAddress(com.google.protobuf.ByteString value) { if (value == null) { @@ -12724,7 +15856,12 @@ public final class Mumble { return this; } /** + *
+         * Banned IP address.
+         * 
+ * * required bytes address = 1; + * @return This builder for chaining. */ public Builder clearAddress() { bitField0_ = (bitField0_ & ~0x00000001); @@ -12735,19 +15872,35 @@ public final class Mumble { private int mask_ ; /** + *
+         * The length of the subnet mask for the ban.
+         * 
+ * * required uint32 mask = 2; + * @return Whether the mask field is set. */ public boolean hasMask() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+         * The length of the subnet mask for the ban.
+         * 
+ * * required uint32 mask = 2; + * @return The mask. */ public int getMask() { return mask_; } /** + *
+         * The length of the subnet mask for the ban.
+         * 
+ * * required uint32 mask = 2; + * @param value The mask to set. + * @return This builder for chaining. */ public Builder setMask(int value) { bitField0_ |= 0x00000002; @@ -12756,7 +15909,12 @@ public final class Mumble { return this; } /** + *
+         * The length of the subnet mask for the ban.
+         * 
+ * * required uint32 mask = 2; + * @return This builder for chaining. */ public Builder clearMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -12767,13 +15925,23 @@ public final class Mumble { private java.lang.Object name_ = ""; /** + *
+         * User name for identification purposes (does not affect the ban).
+         * 
+ * * optional string name = 3; + * @return Whether the name field is set. */ public boolean hasName() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** + *
+         * User name for identification purposes (does not affect the ban).
+         * 
+ * * optional string name = 3; + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -12790,7 +15958,12 @@ public final class Mumble { } } /** + *
+         * User name for identification purposes (does not affect the ban).
+         * 
+ * * optional string name = 3; + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { @@ -12806,7 +15979,13 @@ public final class Mumble { } } /** + *
+         * User name for identification purposes (does not affect the ban).
+         * 
+ * * optional string name = 3; + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName( java.lang.String value) { @@ -12819,7 +15998,12 @@ public final class Mumble { return this; } /** + *
+         * User name for identification purposes (does not affect the ban).
+         * 
+ * * optional string name = 3; + * @return This builder for chaining. */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000004); @@ -12828,7 +16012,13 @@ public final class Mumble { return this; } /** + *
+         * User name for identification purposes (does not affect the ban).
+         * 
+ * * optional string name = 3; + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { @@ -12843,13 +16033,23 @@ public final class Mumble { private java.lang.Object hash_ = ""; /** + *
+         * The certificate hash of the banned user.
+         * 
+ * * optional string hash = 4; + * @return Whether the hash field is set. */ public boolean hasHash() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** + *
+         * The certificate hash of the banned user.
+         * 
+ * * optional string hash = 4; + * @return The hash. */ public java.lang.String getHash() { java.lang.Object ref = hash_; @@ -12866,7 +16066,12 @@ public final class Mumble { } } /** + *
+         * The certificate hash of the banned user.
+         * 
+ * * optional string hash = 4; + * @return The bytes for hash. */ public com.google.protobuf.ByteString getHashBytes() { @@ -12882,7 +16087,13 @@ public final class Mumble { } } /** + *
+         * The certificate hash of the banned user.
+         * 
+ * * optional string hash = 4; + * @param value The hash to set. + * @return This builder for chaining. */ public Builder setHash( java.lang.String value) { @@ -12895,7 +16106,12 @@ public final class Mumble { return this; } /** + *
+         * The certificate hash of the banned user.
+         * 
+ * * optional string hash = 4; + * @return This builder for chaining. */ public Builder clearHash() { bitField0_ = (bitField0_ & ~0x00000008); @@ -12904,7 +16120,13 @@ public final class Mumble { return this; } /** + *
+         * The certificate hash of the banned user.
+         * 
+ * * optional string hash = 4; + * @param value The bytes for hash to set. + * @return This builder for chaining. */ public Builder setHashBytes( com.google.protobuf.ByteString value) { @@ -12919,13 +16141,23 @@ public final class Mumble { private java.lang.Object reason_ = ""; /** + *
+         * Reason for the ban (does not affect the ban).
+         * 
+ * * optional string reason = 5; + * @return Whether the reason field is set. */ public boolean hasReason() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000010) != 0); } /** + *
+         * Reason for the ban (does not affect the ban).
+         * 
+ * * optional string reason = 5; + * @return The reason. */ public java.lang.String getReason() { java.lang.Object ref = reason_; @@ -12942,7 +16174,12 @@ public final class Mumble { } } /** + *
+         * Reason for the ban (does not affect the ban).
+         * 
+ * * optional string reason = 5; + * @return The bytes for reason. */ public com.google.protobuf.ByteString getReasonBytes() { @@ -12958,7 +16195,13 @@ public final class Mumble { } } /** + *
+         * Reason for the ban (does not affect the ban).
+         * 
+ * * optional string reason = 5; + * @param value The reason to set. + * @return This builder for chaining. */ public Builder setReason( java.lang.String value) { @@ -12971,7 +16214,12 @@ public final class Mumble { return this; } /** + *
+         * Reason for the ban (does not affect the ban).
+         * 
+ * * optional string reason = 5; + * @return This builder for chaining. */ public Builder clearReason() { bitField0_ = (bitField0_ & ~0x00000010); @@ -12980,7 +16228,13 @@ public final class Mumble { return this; } /** + *
+         * Reason for the ban (does not affect the ban).
+         * 
+ * * optional string reason = 5; + * @param value The bytes for reason to set. + * @return This builder for chaining. */ public Builder setReasonBytes( com.google.protobuf.ByteString value) { @@ -12995,13 +16249,23 @@ public final class Mumble { private java.lang.Object start_ = ""; /** + *
+         * Ban start time.
+         * 
+ * * optional string start = 6; + * @return Whether the start field is set. */ public boolean hasStart() { - return ((bitField0_ & 0x00000020) == 0x00000020); + return ((bitField0_ & 0x00000020) != 0); } /** + *
+         * Ban start time.
+         * 
+ * * optional string start = 6; + * @return The start. */ public java.lang.String getStart() { java.lang.Object ref = start_; @@ -13018,7 +16282,12 @@ public final class Mumble { } } /** + *
+         * Ban start time.
+         * 
+ * * optional string start = 6; + * @return The bytes for start. */ public com.google.protobuf.ByteString getStartBytes() { @@ -13034,7 +16303,13 @@ public final class Mumble { } } /** + *
+         * Ban start time.
+         * 
+ * * optional string start = 6; + * @param value The start to set. + * @return This builder for chaining. */ public Builder setStart( java.lang.String value) { @@ -13047,7 +16322,12 @@ public final class Mumble { return this; } /** + *
+         * Ban start time.
+         * 
+ * * optional string start = 6; + * @return This builder for chaining. */ public Builder clearStart() { bitField0_ = (bitField0_ & ~0x00000020); @@ -13056,7 +16336,13 @@ public final class Mumble { return this; } /** + *
+         * Ban start time.
+         * 
+ * * optional string start = 6; + * @param value The bytes for start to set. + * @return This builder for chaining. */ public Builder setStartBytes( com.google.protobuf.ByteString value) { @@ -13071,19 +16357,35 @@ public final class Mumble { private int duration_ ; /** + *
+         * Ban duration in seconds.
+         * 
+ * * optional uint32 duration = 7; + * @return Whether the duration field is set. */ public boolean hasDuration() { - return ((bitField0_ & 0x00000040) == 0x00000040); + return ((bitField0_ & 0x00000040) != 0); } /** + *
+         * Ban duration in seconds.
+         * 
+ * * optional uint32 duration = 7; + * @return The duration. */ public int getDuration() { return duration_; } /** + *
+         * Ban duration in seconds.
+         * 
+ * * optional uint32 duration = 7; + * @param value The duration to set. + * @return This builder for chaining. */ public Builder setDuration(int value) { bitField0_ |= 0x00000040; @@ -13092,7 +16394,12 @@ public final class Mumble { return this; } /** + *
+         * Ban duration in seconds.
+         * 
+ * * optional uint32 duration = 7; + * @return This builder for chaining. */ public Builder clearDuration() { bitField0_ = (bitField0_ & ~0x00000040); @@ -13100,11 +16407,13 @@ public final class Mumble { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -13126,11 +16435,12 @@ public final class Mumble { @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override public BanEntry parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BanEntry(input, extensionRegistry); + return new BanEntry(input, extensionRegistry); } }; @@ -13143,6 +16453,7 @@ public final class Mumble { return PARSER; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.BanList.BanEntry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -13153,12 +16464,20 @@ public final class Mumble { public static final int BANS_FIELD_NUMBER = 1; private java.util.List bans_; /** + *
+     * List of ban entries currently in place.
+     * 
+ * * repeated .MumbleProto.BanList.BanEntry bans = 1; */ public java.util.List getBansList() { return bans_; } /** + *
+     * List of ban entries currently in place.
+     * 
+ * * repeated .MumbleProto.BanList.BanEntry bans = 1; */ public java.util.List @@ -13166,18 +16485,30 @@ public final class Mumble { return bans_; } /** + *
+     * List of ban entries currently in place.
+     * 
+ * * repeated .MumbleProto.BanList.BanEntry bans = 1; */ public int getBansCount() { return bans_.size(); } /** + *
+     * List of ban entries currently in place.
+     * 
+ * * repeated .MumbleProto.BanList.BanEntry bans = 1; */ public se.lublin.humla.protobuf.Mumble.BanList.BanEntry getBans(int index) { return bans_.get(index); } /** + *
+     * List of ban entries currently in place.
+     * 
+ * * repeated .MumbleProto.BanList.BanEntry bans = 1; */ public se.lublin.humla.protobuf.Mumble.BanList.BanEntryOrBuilder getBansOrBuilder( @@ -13188,19 +16519,32 @@ public final class Mumble { public static final int QUERY_FIELD_NUMBER = 2; private boolean query_; /** + *
+     * True if the server should return the list, false if it should replace old
+     * ban list with the one provided.
+     * 
+ * * optional bool query = 2 [default = false]; + * @return Whether the query field is set. */ public boolean hasQuery() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+     * True if the server should return the list, false if it should replace old
+     * ban list with the one provided.
+     * 
+ * * optional bool query = 2 [default = false]; + * @return The query. */ public boolean getQuery() { return query_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -13216,17 +16560,19 @@ public final class Mumble { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < bans_.size(); i++) { output.writeMessage(1, bans_.get(i)); } - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeBool(2, query_); } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; @@ -13236,7 +16582,7 @@ public final class Mumble { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, bans_.get(i)); } - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, query_); } @@ -13245,7 +16591,6 @@ public final class Mumble { return size; } - private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { @@ -13256,16 +16601,15 @@ public final class Mumble { } se.lublin.humla.protobuf.Mumble.BanList other = (se.lublin.humla.protobuf.Mumble.BanList) obj; - boolean result = true; - result = result && getBansList() - .equals(other.getBansList()); - result = result && (hasQuery() == other.hasQuery()); + if (!getBansList() + .equals(other.getBansList())) return false; + if (hasQuery() != other.hasQuery()) return false; if (hasQuery()) { - result = result && (getQuery() - == other.getQuery()); + if (getQuery() + != other.getQuery()) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -13274,7 +16618,7 @@ public final class Mumble { return memoizedHashCode; } int hash = 41; - hash = (19 * hash) + getDescriptorForType().hashCode(); + hash = (19 * hash) + getDescriptor().hashCode(); if (getBansCount() > 0) { hash = (37 * hash) + BANS_FIELD_NUMBER; hash = (53 * hash) + getBansList().hashCode(); @@ -13289,6 +16633,17 @@ public final class Mumble { return hash; } + public static se.lublin.humla.protobuf.Mumble.BanList parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static se.lublin.humla.protobuf.Mumble.BanList parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static se.lublin.humla.protobuf.Mumble.BanList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -13348,6 +16703,7 @@ public final class Mumble { .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); @@ -13355,6 +16711,7 @@ public final class Mumble { public static Builder newBuilder(se.lublin.humla.protobuf.Mumble.BanList prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -13367,6 +16724,12 @@ public final class Mumble { return builder; } /** + *
+     * Relays information on the bans. The client may send the BanList message to
+     * either modify the list of bans or query them from the server. The server
+     * sends this list only after a client queries for it.
+     * 
+ * * Protobuf type {@code MumbleProto.BanList} */ public static final class Builder extends @@ -13378,6 +16741,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_BanList_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_BanList_fieldAccessorTable @@ -13401,6 +16765,7 @@ public final class Mumble { getBansFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); if (bansBuilder_ == null) { @@ -13414,15 +16779,18 @@ public final class Mumble { return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_BanList_descriptor; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.BanList getDefaultInstanceForType() { return se.lublin.humla.protobuf.Mumble.BanList.getDefaultInstance(); } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.BanList build() { se.lublin.humla.protobuf.Mumble.BanList result = buildPartial(); if (!result.isInitialized()) { @@ -13431,12 +16799,13 @@ public final class Mumble { return result; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.BanList buildPartial() { se.lublin.humla.protobuf.Mumble.BanList result = new se.lublin.humla.protobuf.Mumble.BanList(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (bansBuilder_ == null) { - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { bans_ = java.util.Collections.unmodifiableList(bans_); bitField0_ = (bitField0_ & ~0x00000001); } @@ -13444,41 +16813,48 @@ public final class Mumble { } else { result.bans_ = bansBuilder_.build(); } - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.query_ = query_; to_bitField0_ |= 0x00000001; } - result.query_ = query_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } + @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.setField(field, value); + java.lang.Object value) { + return super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { - return (Builder) super.setRepeatedField(field, index, value); + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.addRepeatedField(field, value); + java.lang.Object value) { + return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof se.lublin.humla.protobuf.Mumble.BanList) { return mergeFrom((se.lublin.humla.protobuf.Mumble.BanList)other); @@ -13524,6 +16900,7 @@ public final class Mumble { return this; } + @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getBansCount(); i++) { if (!getBans(i).isInitialized()) { @@ -13533,6 +16910,7 @@ public final class Mumble { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -13555,7 +16933,7 @@ public final class Mumble { private java.util.List bans_ = java.util.Collections.emptyList(); private void ensureBansIsMutable() { - if (!((bitField0_ & 0x00000001) == 0x00000001)) { + if (!((bitField0_ & 0x00000001) != 0)) { bans_ = new java.util.ArrayList(bans_); bitField0_ |= 0x00000001; } @@ -13565,6 +16943,10 @@ public final class Mumble { se.lublin.humla.protobuf.Mumble.BanList.BanEntry, se.lublin.humla.protobuf.Mumble.BanList.BanEntry.Builder, se.lublin.humla.protobuf.Mumble.BanList.BanEntryOrBuilder> bansBuilder_; /** + *
+       * List of ban entries currently in place.
+       * 
+ * * repeated .MumbleProto.BanList.BanEntry bans = 1; */ public java.util.List getBansList() { @@ -13575,6 +16957,10 @@ public final class Mumble { } } /** + *
+       * List of ban entries currently in place.
+       * 
+ * * repeated .MumbleProto.BanList.BanEntry bans = 1; */ public int getBansCount() { @@ -13585,6 +16971,10 @@ public final class Mumble { } } /** + *
+       * List of ban entries currently in place.
+       * 
+ * * repeated .MumbleProto.BanList.BanEntry bans = 1; */ public se.lublin.humla.protobuf.Mumble.BanList.BanEntry getBans(int index) { @@ -13595,6 +16985,10 @@ public final class Mumble { } } /** + *
+       * List of ban entries currently in place.
+       * 
+ * * repeated .MumbleProto.BanList.BanEntry bans = 1; */ public Builder setBans( @@ -13612,6 +17006,10 @@ public final class Mumble { return this; } /** + *
+       * List of ban entries currently in place.
+       * 
+ * * repeated .MumbleProto.BanList.BanEntry bans = 1; */ public Builder setBans( @@ -13626,6 +17024,10 @@ public final class Mumble { return this; } /** + *
+       * List of ban entries currently in place.
+       * 
+ * * repeated .MumbleProto.BanList.BanEntry bans = 1; */ public Builder addBans(se.lublin.humla.protobuf.Mumble.BanList.BanEntry value) { @@ -13642,6 +17044,10 @@ public final class Mumble { return this; } /** + *
+       * List of ban entries currently in place.
+       * 
+ * * repeated .MumbleProto.BanList.BanEntry bans = 1; */ public Builder addBans( @@ -13659,6 +17065,10 @@ public final class Mumble { return this; } /** + *
+       * List of ban entries currently in place.
+       * 
+ * * repeated .MumbleProto.BanList.BanEntry bans = 1; */ public Builder addBans( @@ -13673,6 +17083,10 @@ public final class Mumble { return this; } /** + *
+       * List of ban entries currently in place.
+       * 
+ * * repeated .MumbleProto.BanList.BanEntry bans = 1; */ public Builder addBans( @@ -13687,6 +17101,10 @@ public final class Mumble { return this; } /** + *
+       * List of ban entries currently in place.
+       * 
+ * * repeated .MumbleProto.BanList.BanEntry bans = 1; */ public Builder addAllBans( @@ -13702,6 +17120,10 @@ public final class Mumble { return this; } /** + *
+       * List of ban entries currently in place.
+       * 
+ * * repeated .MumbleProto.BanList.BanEntry bans = 1; */ public Builder clearBans() { @@ -13715,6 +17137,10 @@ public final class Mumble { return this; } /** + *
+       * List of ban entries currently in place.
+       * 
+ * * repeated .MumbleProto.BanList.BanEntry bans = 1; */ public Builder removeBans(int index) { @@ -13728,6 +17154,10 @@ public final class Mumble { return this; } /** + *
+       * List of ban entries currently in place.
+       * 
+ * * repeated .MumbleProto.BanList.BanEntry bans = 1; */ public se.lublin.humla.protobuf.Mumble.BanList.BanEntry.Builder getBansBuilder( @@ -13735,6 +17165,10 @@ public final class Mumble { return getBansFieldBuilder().getBuilder(index); } /** + *
+       * List of ban entries currently in place.
+       * 
+ * * repeated .MumbleProto.BanList.BanEntry bans = 1; */ public se.lublin.humla.protobuf.Mumble.BanList.BanEntryOrBuilder getBansOrBuilder( @@ -13745,6 +17179,10 @@ public final class Mumble { } } /** + *
+       * List of ban entries currently in place.
+       * 
+ * * repeated .MumbleProto.BanList.BanEntry bans = 1; */ public java.util.List @@ -13756,6 +17194,10 @@ public final class Mumble { } } /** + *
+       * List of ban entries currently in place.
+       * 
+ * * repeated .MumbleProto.BanList.BanEntry bans = 1; */ public se.lublin.humla.protobuf.Mumble.BanList.BanEntry.Builder addBansBuilder() { @@ -13763,6 +17205,10 @@ public final class Mumble { se.lublin.humla.protobuf.Mumble.BanList.BanEntry.getDefaultInstance()); } /** + *
+       * List of ban entries currently in place.
+       * 
+ * * repeated .MumbleProto.BanList.BanEntry bans = 1; */ public se.lublin.humla.protobuf.Mumble.BanList.BanEntry.Builder addBansBuilder( @@ -13771,6 +17217,10 @@ public final class Mumble { index, se.lublin.humla.protobuf.Mumble.BanList.BanEntry.getDefaultInstance()); } /** + *
+       * List of ban entries currently in place.
+       * 
+ * * repeated .MumbleProto.BanList.BanEntry bans = 1; */ public java.util.List @@ -13784,7 +17234,7 @@ public final class Mumble { bansBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< se.lublin.humla.protobuf.Mumble.BanList.BanEntry, se.lublin.humla.protobuf.Mumble.BanList.BanEntry.Builder, se.lublin.humla.protobuf.Mumble.BanList.BanEntryOrBuilder>( bans_, - ((bitField0_ & 0x00000001) == 0x00000001), + ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); bans_ = null; @@ -13794,19 +17244,38 @@ public final class Mumble { private boolean query_ ; /** + *
+       * True if the server should return the list, false if it should replace old
+       * ban list with the one provided.
+       * 
+ * * optional bool query = 2 [default = false]; + * @return Whether the query field is set. */ public boolean hasQuery() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+       * True if the server should return the list, false if it should replace old
+       * ban list with the one provided.
+       * 
+ * * optional bool query = 2 [default = false]; + * @return The query. */ public boolean getQuery() { return query_; } /** + *
+       * True if the server should return the list, false if it should replace old
+       * ban list with the one provided.
+       * 
+ * * optional bool query = 2 [default = false]; + * @param value The query to set. + * @return This builder for chaining. */ public Builder setQuery(boolean value) { bitField0_ |= 0x00000002; @@ -13815,7 +17284,13 @@ public final class Mumble { return this; } /** + *
+       * True if the server should return the list, false if it should replace old
+       * ban list with the one provided.
+       * 
+ * * optional bool query = 2 [default = false]; + * @return This builder for chaining. */ public Builder clearQuery() { bitField0_ = (bitField0_ & ~0x00000002); @@ -13823,11 +17298,13 @@ public final class Mumble { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -13849,11 +17326,12 @@ public final class Mumble { @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override public BanList parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BanList(input, extensionRegistry); + return new BanList(input, extensionRegistry); } }; @@ -13866,6 +17344,7 @@ public final class Mumble { return PARSER; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.BanList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -13877,86 +17356,176 @@ public final class Mumble { com.google.protobuf.MessageOrBuilder { /** + *
+     * The message sender, identified by its session.
+     * 
+ * * optional uint32 actor = 1; + * @return Whether the actor field is set. */ boolean hasActor(); /** + *
+     * The message sender, identified by its session.
+     * 
+ * * optional uint32 actor = 1; + * @return The actor. */ int getActor(); /** + *
+     * Target users for the message, identified by their session.
+     * 
+ * * repeated uint32 session = 2; + * @return A list containing the session. */ java.util.List getSessionList(); /** + *
+     * Target users for the message, identified by their session.
+     * 
+ * * repeated uint32 session = 2; + * @return The count of session. */ int getSessionCount(); /** + *
+     * Target users for the message, identified by their session.
+     * 
+ * * repeated uint32 session = 2; + * @param index The index of the element to return. + * @return The session at the given index. */ int getSession(int index); /** + *
+     * The channels to which the message is sent, identified by their
+     * channel_ids.
+     * 
+ * * repeated uint32 channel_id = 3; + * @return A list containing the channelId. */ java.util.List getChannelIdList(); /** + *
+     * The channels to which the message is sent, identified by their
+     * channel_ids.
+     * 
+ * * repeated uint32 channel_id = 3; + * @return The count of channelId. */ int getChannelIdCount(); /** + *
+     * The channels to which the message is sent, identified by their
+     * channel_ids.
+     * 
+ * * repeated uint32 channel_id = 3; + * @param index The index of the element to return. + * @return The channelId at the given index. */ int getChannelId(int index); /** + *
+     * The root channels when sending message recursively to several channels,
+     * identified by their channel_ids.
+     * 
+ * * repeated uint32 tree_id = 4; + * @return A list containing the treeId. */ java.util.List getTreeIdList(); /** + *
+     * The root channels when sending message recursively to several channels,
+     * identified by their channel_ids.
+     * 
+ * * repeated uint32 tree_id = 4; + * @return The count of treeId. */ int getTreeIdCount(); /** + *
+     * The root channels when sending message recursively to several channels,
+     * identified by their channel_ids.
+     * 
+ * * repeated uint32 tree_id = 4; + * @param index The index of the element to return. + * @return The treeId at the given index. */ int getTreeId(int index); /** + *
+     * The UTF-8 encoded message. May be HTML if the server allows.
+     * 
+ * * required string message = 5; + * @return Whether the message field is set. */ boolean hasMessage(); /** + *
+     * The UTF-8 encoded message. May be HTML if the server allows.
+     * 
+ * * required string message = 5; + * @return The message. */ java.lang.String getMessage(); /** + *
+     * The UTF-8 encoded message. May be HTML if the server allows.
+     * 
+ * * required string message = 5; + * @return The bytes for message. */ com.google.protobuf.ByteString getMessageBytes(); } /** + *
+   * Used to send and broadcast text messages.
+   * 
+ * * Protobuf type {@code MumbleProto.TextMessage} */ public static final class TextMessage extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:MumbleProto.TextMessage) TextMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use TextMessage.newBuilder() to construct. private TextMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TextMessage() { - actor_ = 0; - session_ = java.util.Collections.emptyList(); - channelId_ = java.util.Collections.emptyList(); - treeId_ = java.util.Collections.emptyList(); + session_ = emptyIntList(); + channelId_ = emptyIntList(); + treeId_ = emptyIntList(); message_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new TextMessage(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { @@ -13967,6 +17536,9 @@ public final class Mumble { com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -13978,77 +17550,70 @@ public final class Mumble { case 0: done = true; break; - default: { - if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; actor_ = input.readUInt32(); break; } case 16: { - if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { - session_ = new java.util.ArrayList(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + session_ = newIntList(); mutable_bitField0_ |= 0x00000002; } - session_.add(input.readUInt32()); + session_.addInt(input.readUInt32()); break; } case 18: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000002) == 0x00000002) && input.getBytesUntilLimit() > 0) { - session_ = new java.util.ArrayList(); + if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) { + session_ = newIntList(); mutable_bitField0_ |= 0x00000002; } while (input.getBytesUntilLimit() > 0) { - session_.add(input.readUInt32()); + session_.addInt(input.readUInt32()); } input.popLimit(limit); break; } case 24: { - if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { - channelId_ = new java.util.ArrayList(); + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + channelId_ = newIntList(); mutable_bitField0_ |= 0x00000004; } - channelId_.add(input.readUInt32()); + channelId_.addInt(input.readUInt32()); break; } case 26: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000004) == 0x00000004) && input.getBytesUntilLimit() > 0) { - channelId_ = new java.util.ArrayList(); + if (!((mutable_bitField0_ & 0x00000004) != 0) && input.getBytesUntilLimit() > 0) { + channelId_ = newIntList(); mutable_bitField0_ |= 0x00000004; } while (input.getBytesUntilLimit() > 0) { - channelId_.add(input.readUInt32()); + channelId_.addInt(input.readUInt32()); } input.popLimit(limit); break; } case 32: { - if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { - treeId_ = new java.util.ArrayList(); + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + treeId_ = newIntList(); mutable_bitField0_ |= 0x00000008; } - treeId_.add(input.readUInt32()); + treeId_.addInt(input.readUInt32()); break; } case 34: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000008) == 0x00000008) && input.getBytesUntilLimit() > 0) { - treeId_ = new java.util.ArrayList(); + if (!((mutable_bitField0_ & 0x00000008) != 0) && input.getBytesUntilLimit() > 0) { + treeId_ = newIntList(); mutable_bitField0_ |= 0x00000008; } while (input.getBytesUntilLimit() > 0) { - treeId_.add(input.readUInt32()); + treeId_.addInt(input.readUInt32()); } input.popLimit(limit); break; @@ -14059,6 +17624,13 @@ public final class Mumble { message_ = bs; break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -14067,14 +17639,14 @@ public final class Mumble { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { - session_ = java.util.Collections.unmodifiableList(session_); + if (((mutable_bitField0_ & 0x00000002) != 0)) { + session_.makeImmutable(); // C } - if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { - channelId_ = java.util.Collections.unmodifiableList(channelId_); + if (((mutable_bitField0_ & 0x00000004) != 0)) { + channelId_.makeImmutable(); // C } - if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { - treeId_ = java.util.Collections.unmodifiableList(treeId_); + if (((mutable_bitField0_ & 0x00000008) != 0)) { + treeId_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -14085,6 +17657,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_TextMessage_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_TextMessage_fieldAccessorTable @@ -14096,94 +17669,168 @@ public final class Mumble { public static final int ACTOR_FIELD_NUMBER = 1; private int actor_; /** + *
+     * The message sender, identified by its session.
+     * 
+ * * optional uint32 actor = 1; + * @return Whether the actor field is set. */ public boolean hasActor() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+     * The message sender, identified by its session.
+     * 
+ * * optional uint32 actor = 1; + * @return The actor. */ public int getActor() { return actor_; } public static final int SESSION_FIELD_NUMBER = 2; - private java.util.List session_; + private com.google.protobuf.Internal.IntList session_; /** + *
+     * Target users for the message, identified by their session.
+     * 
+ * * repeated uint32 session = 2; + * @return A list containing the session. */ public java.util.List getSessionList() { return session_; } /** + *
+     * Target users for the message, identified by their session.
+     * 
+ * * repeated uint32 session = 2; + * @return The count of session. */ public int getSessionCount() { return session_.size(); } /** + *
+     * Target users for the message, identified by their session.
+     * 
+ * * repeated uint32 session = 2; + * @param index The index of the element to return. + * @return The session at the given index. */ public int getSession(int index) { - return session_.get(index); + return session_.getInt(index); } public static final int CHANNEL_ID_FIELD_NUMBER = 3; - private java.util.List channelId_; + private com.google.protobuf.Internal.IntList channelId_; /** + *
+     * The channels to which the message is sent, identified by their
+     * channel_ids.
+     * 
+ * * repeated uint32 channel_id = 3; + * @return A list containing the channelId. */ public java.util.List getChannelIdList() { return channelId_; } /** + *
+     * The channels to which the message is sent, identified by their
+     * channel_ids.
+     * 
+ * * repeated uint32 channel_id = 3; + * @return The count of channelId. */ public int getChannelIdCount() { return channelId_.size(); } /** + *
+     * The channels to which the message is sent, identified by their
+     * channel_ids.
+     * 
+ * * repeated uint32 channel_id = 3; + * @param index The index of the element to return. + * @return The channelId at the given index. */ public int getChannelId(int index) { - return channelId_.get(index); + return channelId_.getInt(index); } public static final int TREE_ID_FIELD_NUMBER = 4; - private java.util.List treeId_; + private com.google.protobuf.Internal.IntList treeId_; /** + *
+     * The root channels when sending message recursively to several channels,
+     * identified by their channel_ids.
+     * 
+ * * repeated uint32 tree_id = 4; + * @return A list containing the treeId. */ public java.util.List getTreeIdList() { return treeId_; } /** + *
+     * The root channels when sending message recursively to several channels,
+     * identified by their channel_ids.
+     * 
+ * * repeated uint32 tree_id = 4; + * @return The count of treeId. */ public int getTreeIdCount() { return treeId_.size(); } /** + *
+     * The root channels when sending message recursively to several channels,
+     * identified by their channel_ids.
+     * 
+ * * repeated uint32 tree_id = 4; + * @param index The index of the element to return. + * @return The treeId at the given index. */ public int getTreeId(int index) { - return treeId_.get(index); + return treeId_.getInt(index); } public static final int MESSAGE_FIELD_NUMBER = 5; private volatile java.lang.Object message_; /** + *
+     * The UTF-8 encoded message. May be HTML if the server allows.
+     * 
+ * * required string message = 5; + * @return Whether the message field is set. */ public boolean hasMessage() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+     * The UTF-8 encoded message. May be HTML if the server allows.
+     * 
+ * * required string message = 5; + * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; @@ -14200,7 +17847,12 @@ public final class Mumble { } } /** + *
+     * The UTF-8 encoded message. May be HTML if the server allows.
+     * 
+ * * required string message = 5; + * @return The bytes for message. */ public com.google.protobuf.ByteString getMessageBytes() { @@ -14217,6 +17869,7 @@ public final class Mumble { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -14230,32 +17883,34 @@ public final class Mumble { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, actor_); } for (int i = 0; i < session_.size(); i++) { - output.writeUInt32(2, session_.get(i)); + output.writeUInt32(2, session_.getInt(i)); } for (int i = 0; i < channelId_.size(); i++) { - output.writeUInt32(3, channelId_.get(i)); + output.writeUInt32(3, channelId_.getInt(i)); } for (int i = 0; i < treeId_.size(); i++) { - output.writeUInt32(4, treeId_.get(i)); + output.writeUInt32(4, treeId_.getInt(i)); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, message_); } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, actor_); } @@ -14263,7 +17918,7 @@ public final class Mumble { int dataSize = 0; for (int i = 0; i < session_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(session_.get(i)); + .computeUInt32SizeNoTag(session_.getInt(i)); } size += dataSize; size += 1 * getSessionList().size(); @@ -14272,7 +17927,7 @@ public final class Mumble { int dataSize = 0; for (int i = 0; i < channelId_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(channelId_.get(i)); + .computeUInt32SizeNoTag(channelId_.getInt(i)); } size += dataSize; size += 1 * getChannelIdList().size(); @@ -14281,12 +17936,12 @@ public final class Mumble { int dataSize = 0; for (int i = 0; i < treeId_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(treeId_.get(i)); + .computeUInt32SizeNoTag(treeId_.getInt(i)); } size += dataSize; size += 1 * getTreeIdList().size(); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, message_); } size += unknownFields.getSerializedSize(); @@ -14294,7 +17949,6 @@ public final class Mumble { return size; } - private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { @@ -14305,25 +17959,24 @@ public final class Mumble { } se.lublin.humla.protobuf.Mumble.TextMessage other = (se.lublin.humla.protobuf.Mumble.TextMessage) obj; - boolean result = true; - result = result && (hasActor() == other.hasActor()); + if (hasActor() != other.hasActor()) return false; if (hasActor()) { - result = result && (getActor() - == other.getActor()); - } - result = result && getSessionList() - .equals(other.getSessionList()); - result = result && getChannelIdList() - .equals(other.getChannelIdList()); - result = result && getTreeIdList() - .equals(other.getTreeIdList()); - result = result && (hasMessage() == other.hasMessage()); + if (getActor() + != other.getActor()) return false; + } + if (!getSessionList() + .equals(other.getSessionList())) return false; + if (!getChannelIdList() + .equals(other.getChannelIdList())) return false; + if (!getTreeIdList() + .equals(other.getTreeIdList())) return false; + if (hasMessage() != other.hasMessage()) return false; if (hasMessage()) { - result = result && getMessage() - .equals(other.getMessage()); + if (!getMessage() + .equals(other.getMessage())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -14332,7 +17985,7 @@ public final class Mumble { return memoizedHashCode; } int hash = 41; - hash = (19 * hash) + getDescriptorForType().hashCode(); + hash = (19 * hash) + getDescriptor().hashCode(); if (hasActor()) { hash = (37 * hash) + ACTOR_FIELD_NUMBER; hash = (53 * hash) + getActor(); @@ -14358,6 +18011,17 @@ public final class Mumble { return hash; } + public static se.lublin.humla.protobuf.Mumble.TextMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static se.lublin.humla.protobuf.Mumble.TextMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static se.lublin.humla.protobuf.Mumble.TextMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -14417,6 +18081,7 @@ public final class Mumble { .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); @@ -14424,6 +18089,7 @@ public final class Mumble { public static Builder newBuilder(se.lublin.humla.protobuf.Mumble.TextMessage prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -14436,6 +18102,10 @@ public final class Mumble { return builder; } /** + *
+     * Used to send and broadcast text messages.
+     * 
+ * * Protobuf type {@code MumbleProto.TextMessage} */ public static final class Builder extends @@ -14447,6 +18117,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_TextMessage_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_TextMessage_fieldAccessorTable @@ -14469,30 +18140,34 @@ public final class Mumble { .alwaysUseFieldBuilders) { } } + @java.lang.Override public Builder clear() { super.clear(); actor_ = 0; bitField0_ = (bitField0_ & ~0x00000001); - session_ = java.util.Collections.emptyList(); + session_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000002); - channelId_ = java.util.Collections.emptyList(); + channelId_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000004); - treeId_ = java.util.Collections.emptyList(); + treeId_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000008); message_ = ""; bitField0_ = (bitField0_ & ~0x00000010); return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_TextMessage_descriptor; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.TextMessage getDefaultInstanceForType() { return se.lublin.humla.protobuf.Mumble.TextMessage.getDefaultInstance(); } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.TextMessage build() { se.lublin.humla.protobuf.Mumble.TextMessage result = buildPartial(); if (!result.isInitialized()) { @@ -14501,30 +18176,31 @@ public final class Mumble { return result; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.TextMessage buildPartial() { se.lublin.humla.protobuf.Mumble.TextMessage result = new se.lublin.humla.protobuf.Mumble.TextMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.actor_ = actor_; to_bitField0_ |= 0x00000001; } - result.actor_ = actor_; - if (((bitField0_ & 0x00000002) == 0x00000002)) { - session_ = java.util.Collections.unmodifiableList(session_); + if (((bitField0_ & 0x00000002) != 0)) { + session_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000002); } result.session_ = session_; - if (((bitField0_ & 0x00000004) == 0x00000004)) { - channelId_ = java.util.Collections.unmodifiableList(channelId_); + if (((bitField0_ & 0x00000004) != 0)) { + channelId_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000004); } result.channelId_ = channelId_; - if (((bitField0_ & 0x00000008) == 0x00000008)) { - treeId_ = java.util.Collections.unmodifiableList(treeId_); + if (((bitField0_ & 0x00000008) != 0)) { + treeId_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000008); } result.treeId_ = treeId_; - if (((from_bitField0_ & 0x00000010) == 0x00000010)) { + if (((from_bitField0_ & 0x00000010) != 0)) { to_bitField0_ |= 0x00000002; } result.message_ = message_; @@ -14533,32 +18209,39 @@ public final class Mumble { return result; } + @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.setField(field, value); + java.lang.Object value) { + return super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { - return (Builder) super.setRepeatedField(field, index, value); + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.addRepeatedField(field, value); + java.lang.Object value) { + return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof se.lublin.humla.protobuf.Mumble.TextMessage) { return mergeFrom((se.lublin.humla.protobuf.Mumble.TextMessage)other); @@ -14613,6 +18296,7 @@ public final class Mumble { return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasMessage()) { return false; @@ -14620,6 +18304,7 @@ public final class Mumble { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -14641,19 +18326,35 @@ public final class Mumble { private int actor_ ; /** + *
+       * The message sender, identified by its session.
+       * 
+ * * optional uint32 actor = 1; + * @return Whether the actor field is set. */ public boolean hasActor() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+       * The message sender, identified by its session.
+       * 
+ * * optional uint32 actor = 1; + * @return The actor. */ public int getActor() { return actor_; } /** + *
+       * The message sender, identified by its session.
+       * 
+ * * optional uint32 actor = 1; + * @param value The actor to set. + * @return This builder for chaining. */ public Builder setActor(int value) { bitField0_ |= 0x00000001; @@ -14662,7 +18363,12 @@ public final class Mumble { return this; } /** + *
+       * The message sender, identified by its session.
+       * 
+ * * optional uint32 actor = 1; + * @return This builder for chaining. */ public Builder clearActor() { bitField0_ = (bitField0_ & ~0x00000001); @@ -14671,53 +18377,89 @@ public final class Mumble { return this; } - private java.util.List session_ = java.util.Collections.emptyList(); + private com.google.protobuf.Internal.IntList session_ = emptyIntList(); private void ensureSessionIsMutable() { - if (!((bitField0_ & 0x00000002) == 0x00000002)) { - session_ = new java.util.ArrayList(session_); + if (!((bitField0_ & 0x00000002) != 0)) { + session_ = mutableCopy(session_); bitField0_ |= 0x00000002; } } /** + *
+       * Target users for the message, identified by their session.
+       * 
+ * * repeated uint32 session = 2; + * @return A list containing the session. */ public java.util.List getSessionList() { - return java.util.Collections.unmodifiableList(session_); + return ((bitField0_ & 0x00000002) != 0) ? + java.util.Collections.unmodifiableList(session_) : session_; } /** + *
+       * Target users for the message, identified by their session.
+       * 
+ * * repeated uint32 session = 2; + * @return The count of session. */ public int getSessionCount() { return session_.size(); } /** + *
+       * Target users for the message, identified by their session.
+       * 
+ * * repeated uint32 session = 2; + * @param index The index of the element to return. + * @return The session at the given index. */ public int getSession(int index) { - return session_.get(index); + return session_.getInt(index); } /** + *
+       * Target users for the message, identified by their session.
+       * 
+ * * repeated uint32 session = 2; + * @param index The index to set the value at. + * @param value The session to set. + * @return This builder for chaining. */ public Builder setSession( int index, int value) { ensureSessionIsMutable(); - session_.set(index, value); + session_.setInt(index, value); onChanged(); return this; } /** + *
+       * Target users for the message, identified by their session.
+       * 
+ * * repeated uint32 session = 2; + * @param value The session to add. + * @return This builder for chaining. */ public Builder addSession(int value) { ensureSessionIsMutable(); - session_.add(value); + session_.addInt(value); onChanged(); return this; } /** + *
+       * Target users for the message, identified by their session.
+       * 
+ * * repeated uint32 session = 2; + * @param values The session to add. + * @return This builder for chaining. */ public Builder addAllSession( java.lang.Iterable values) { @@ -14728,62 +18470,109 @@ public final class Mumble { return this; } /** + *
+       * Target users for the message, identified by their session.
+       * 
+ * * repeated uint32 session = 2; + * @return This builder for chaining. */ public Builder clearSession() { - session_ = java.util.Collections.emptyList(); + session_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } - private java.util.List channelId_ = java.util.Collections.emptyList(); + private com.google.protobuf.Internal.IntList channelId_ = emptyIntList(); private void ensureChannelIdIsMutable() { - if (!((bitField0_ & 0x00000004) == 0x00000004)) { - channelId_ = new java.util.ArrayList(channelId_); + if (!((bitField0_ & 0x00000004) != 0)) { + channelId_ = mutableCopy(channelId_); bitField0_ |= 0x00000004; } } /** + *
+       * The channels to which the message is sent, identified by their
+       * channel_ids.
+       * 
+ * * repeated uint32 channel_id = 3; + * @return A list containing the channelId. */ public java.util.List getChannelIdList() { - return java.util.Collections.unmodifiableList(channelId_); + return ((bitField0_ & 0x00000004) != 0) ? + java.util.Collections.unmodifiableList(channelId_) : channelId_; } /** + *
+       * The channels to which the message is sent, identified by their
+       * channel_ids.
+       * 
+ * * repeated uint32 channel_id = 3; + * @return The count of channelId. */ public int getChannelIdCount() { return channelId_.size(); } /** + *
+       * The channels to which the message is sent, identified by their
+       * channel_ids.
+       * 
+ * * repeated uint32 channel_id = 3; + * @param index The index of the element to return. + * @return The channelId at the given index. */ public int getChannelId(int index) { - return channelId_.get(index); + return channelId_.getInt(index); } /** + *
+       * The channels to which the message is sent, identified by their
+       * channel_ids.
+       * 
+ * * repeated uint32 channel_id = 3; + * @param index The index to set the value at. + * @param value The channelId to set. + * @return This builder for chaining. */ public Builder setChannelId( int index, int value) { ensureChannelIdIsMutable(); - channelId_.set(index, value); + channelId_.setInt(index, value); onChanged(); return this; } /** + *
+       * The channels to which the message is sent, identified by their
+       * channel_ids.
+       * 
+ * * repeated uint32 channel_id = 3; + * @param value The channelId to add. + * @return This builder for chaining. */ public Builder addChannelId(int value) { ensureChannelIdIsMutable(); - channelId_.add(value); + channelId_.addInt(value); onChanged(); return this; } /** + *
+       * The channels to which the message is sent, identified by their
+       * channel_ids.
+       * 
+ * * repeated uint32 channel_id = 3; + * @param values The channelId to add. + * @return This builder for chaining. */ public Builder addAllChannelId( java.lang.Iterable values) { @@ -14794,62 +18583,110 @@ public final class Mumble { return this; } /** + *
+       * The channels to which the message is sent, identified by their
+       * channel_ids.
+       * 
+ * * repeated uint32 channel_id = 3; + * @return This builder for chaining. */ public Builder clearChannelId() { - channelId_ = java.util.Collections.emptyList(); + channelId_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } - private java.util.List treeId_ = java.util.Collections.emptyList(); + private com.google.protobuf.Internal.IntList treeId_ = emptyIntList(); private void ensureTreeIdIsMutable() { - if (!((bitField0_ & 0x00000008) == 0x00000008)) { - treeId_ = new java.util.ArrayList(treeId_); + if (!((bitField0_ & 0x00000008) != 0)) { + treeId_ = mutableCopy(treeId_); bitField0_ |= 0x00000008; } } /** + *
+       * The root channels when sending message recursively to several channels,
+       * identified by their channel_ids.
+       * 
+ * * repeated uint32 tree_id = 4; + * @return A list containing the treeId. */ public java.util.List getTreeIdList() { - return java.util.Collections.unmodifiableList(treeId_); + return ((bitField0_ & 0x00000008) != 0) ? + java.util.Collections.unmodifiableList(treeId_) : treeId_; } /** + *
+       * The root channels when sending message recursively to several channels,
+       * identified by their channel_ids.
+       * 
+ * * repeated uint32 tree_id = 4; + * @return The count of treeId. */ public int getTreeIdCount() { return treeId_.size(); } /** + *
+       * The root channels when sending message recursively to several channels,
+       * identified by their channel_ids.
+       * 
+ * * repeated uint32 tree_id = 4; + * @param index The index of the element to return. + * @return The treeId at the given index. */ public int getTreeId(int index) { - return treeId_.get(index); + return treeId_.getInt(index); } /** + *
+       * The root channels when sending message recursively to several channels,
+       * identified by their channel_ids.
+       * 
+ * * repeated uint32 tree_id = 4; + * @param index The index to set the value at. + * @param value The treeId to set. + * @return This builder for chaining. */ public Builder setTreeId( int index, int value) { ensureTreeIdIsMutable(); - treeId_.set(index, value); + treeId_.setInt(index, value); onChanged(); return this; } /** + *
+       * The root channels when sending message recursively to several channels,
+       * identified by their channel_ids.
+       * 
+ * * repeated uint32 tree_id = 4; + * @param value The treeId to add. + * @return This builder for chaining. */ public Builder addTreeId(int value) { ensureTreeIdIsMutable(); - treeId_.add(value); + treeId_.addInt(value); onChanged(); return this; } /** + *
+       * The root channels when sending message recursively to several channels,
+       * identified by their channel_ids.
+       * 
+ * * repeated uint32 tree_id = 4; + * @param values The treeId to add. + * @return This builder for chaining. */ public Builder addAllTreeId( java.lang.Iterable values) { @@ -14860,10 +18697,16 @@ public final class Mumble { return this; } /** + *
+       * The root channels when sending message recursively to several channels,
+       * identified by their channel_ids.
+       * 
+ * * repeated uint32 tree_id = 4; + * @return This builder for chaining. */ public Builder clearTreeId() { - treeId_ = java.util.Collections.emptyList(); + treeId_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; @@ -14871,13 +18714,23 @@ public final class Mumble { private java.lang.Object message_ = ""; /** + *
+       * The UTF-8 encoded message. May be HTML if the server allows.
+       * 
+ * * required string message = 5; + * @return Whether the message field is set. */ public boolean hasMessage() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000010) != 0); } /** + *
+       * The UTF-8 encoded message. May be HTML if the server allows.
+       * 
+ * * required string message = 5; + * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; @@ -14894,7 +18747,12 @@ public final class Mumble { } } /** + *
+       * The UTF-8 encoded message. May be HTML if the server allows.
+       * 
+ * * required string message = 5; + * @return The bytes for message. */ public com.google.protobuf.ByteString getMessageBytes() { @@ -14910,7 +18768,13 @@ public final class Mumble { } } /** + *
+       * The UTF-8 encoded message. May be HTML if the server allows.
+       * 
+ * * required string message = 5; + * @param value The message to set. + * @return This builder for chaining. */ public Builder setMessage( java.lang.String value) { @@ -14923,7 +18787,12 @@ public final class Mumble { return this; } /** + *
+       * The UTF-8 encoded message. May be HTML if the server allows.
+       * 
+ * * required string message = 5; + * @return This builder for chaining. */ public Builder clearMessage() { bitField0_ = (bitField0_ & ~0x00000010); @@ -14932,7 +18801,13 @@ public final class Mumble { return this; } /** + *
+       * The UTF-8 encoded message. May be HTML if the server allows.
+       * 
+ * * required string message = 5; + * @param value The bytes for message to set. + * @return This builder for chaining. */ public Builder setMessageBytes( com.google.protobuf.ByteString value) { @@ -14944,11 +18819,13 @@ public final class Mumble { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -14970,11 +18847,12 @@ public final class Mumble { @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override public TextMessage parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TextMessage(input, extensionRegistry); + return new TextMessage(input, extensionRegistry); } }; @@ -14987,6 +18865,7 @@ public final class Mumble { return PARSER; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.TextMessage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -14998,65 +18877,137 @@ public final class Mumble { com.google.protobuf.MessageOrBuilder { /** + *
+     * The denied permission when type is Permission.
+     * 
+ * * optional uint32 permission = 1; + * @return Whether the permission field is set. */ boolean hasPermission(); /** + *
+     * The denied permission when type is Permission.
+     * 
+ * * optional uint32 permission = 1; + * @return The permission. */ int getPermission(); /** + *
+     * channel_id for the channel where the permission was denied when type is
+     * Permission.
+     * 
+ * * optional uint32 channel_id = 2; + * @return Whether the channelId field is set. */ boolean hasChannelId(); /** + *
+     * channel_id for the channel where the permission was denied when type is
+     * Permission.
+     * 
+ * * optional uint32 channel_id = 2; + * @return The channelId. */ int getChannelId(); /** + *
+     * The user who was denied permissions, identified by session.
+     * 
+ * * optional uint32 session = 3; + * @return Whether the session field is set. */ boolean hasSession(); /** + *
+     * The user who was denied permissions, identified by session.
+     * 
+ * * optional uint32 session = 3; + * @return The session. */ int getSession(); /** + *
+     * Textual reason for the denial.
+     * 
+ * * optional string reason = 4; + * @return Whether the reason field is set. */ boolean hasReason(); /** + *
+     * Textual reason for the denial.
+     * 
+ * * optional string reason = 4; + * @return The reason. */ java.lang.String getReason(); /** + *
+     * Textual reason for the denial.
+     * 
+ * * optional string reason = 4; + * @return The bytes for reason. */ com.google.protobuf.ByteString getReasonBytes(); /** + *
+     * Type of the denial.
+     * 
+ * * optional .MumbleProto.PermissionDenied.DenyType type = 5; + * @return Whether the type field is set. */ boolean hasType(); /** + *
+     * Type of the denial.
+     * 
+ * * optional .MumbleProto.PermissionDenied.DenyType type = 5; + * @return The type. */ se.lublin.humla.protobuf.Mumble.PermissionDenied.DenyType getType(); /** + *
+     * The name that is invalid when type is UserName.
+     * 
+ * * optional string name = 6; + * @return Whether the name field is set. */ boolean hasName(); /** + *
+     * The name that is invalid when type is UserName.
+     * 
+ * * optional string name = 6; + * @return The name. */ java.lang.String getName(); /** + *
+     * The name that is invalid when type is UserName.
+     * 
+ * * optional string name = 6; + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); @@ -15068,19 +19019,24 @@ public final class Mumble { com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:MumbleProto.PermissionDenied) PermissionDeniedOrBuilder { + private static final long serialVersionUID = 0L; // Use PermissionDenied.newBuilder() to construct. private PermissionDenied(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PermissionDenied() { - permission_ = 0; - channelId_ = 0; - session_ = 0; reason_ = ""; type_ = 0; name_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PermissionDenied(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { @@ -15091,6 +19047,9 @@ public final class Mumble { com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -15102,13 +19061,6 @@ public final class Mumble { case 0: done = true; break; - default: { - if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; permission_ = input.readUInt32(); @@ -15132,6 +19084,7 @@ public final class Mumble { } case 40: { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") se.lublin.humla.protobuf.Mumble.PermissionDenied.DenyType value = se.lublin.humla.protobuf.Mumble.PermissionDenied.DenyType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(5, rawValue); @@ -15147,6 +19100,13 @@ public final class Mumble { name_ = bs; break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -15164,6 +19124,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_PermissionDenied_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_PermissionDenied_fieldAccessorTable @@ -15177,95 +19138,199 @@ public final class Mumble { public enum DenyType implements com.google.protobuf.ProtocolMessageEnum { /** + *
+       * Operation denied for other reason, see reason field.
+       * 
+ * * Text = 0; */ Text(0), /** + *
+       * Permissions were denied.
+       * 
+ * * Permission = 1; */ Permission(1), /** + *
+       * Cannot modify SuperUser.
+       * 
+ * * SuperUser = 2; */ SuperUser(2), /** + *
+       * Invalid channel name.
+       * 
+ * * ChannelName = 3; */ ChannelName(3), /** + *
+       * Text message too long.
+       * 
+ * * TextTooLong = 4; */ TextTooLong(4), /** + *
+       * The flux capacitor was spelled wrong.
+       * 
+ * * H9K = 5; */ H9K(5), /** + *
+       * Operation not permitted in temporary channel.
+       * 
+ * * TemporaryChannel = 6; */ TemporaryChannel(6), /** + *
+       * Operation requires certificate.
+       * 
+ * * MissingCertificate = 7; */ MissingCertificate(7), /** + *
+       * Invalid username.
+       * 
+ * * UserName = 8; */ UserName(8), /** + *
+       * Channel is full.
+       * 
+ * * ChannelFull = 9; */ ChannelFull(9), /** + *
+       * Channels are nested too deply.
+       * 
+ * * NestingLimit = 10; */ NestingLimit(10), + /** + *
+       * Maximum channel count reached.
+       * 
+ * + * ChannelCountLimit = 11; + */ + ChannelCountLimit(11), ; /** + *
+       * Operation denied for other reason, see reason field.
+       * 
+ * * Text = 0; */ public static final int Text_VALUE = 0; /** + *
+       * Permissions were denied.
+       * 
+ * * Permission = 1; */ public static final int Permission_VALUE = 1; /** + *
+       * Cannot modify SuperUser.
+       * 
+ * * SuperUser = 2; */ public static final int SuperUser_VALUE = 2; /** + *
+       * Invalid channel name.
+       * 
+ * * ChannelName = 3; */ public static final int ChannelName_VALUE = 3; /** + *
+       * Text message too long.
+       * 
+ * * TextTooLong = 4; */ public static final int TextTooLong_VALUE = 4; /** + *
+       * The flux capacitor was spelled wrong.
+       * 
+ * * H9K = 5; */ public static final int H9K_VALUE = 5; /** + *
+       * Operation not permitted in temporary channel.
+       * 
+ * * TemporaryChannel = 6; */ public static final int TemporaryChannel_VALUE = 6; /** + *
+       * Operation requires certificate.
+       * 
+ * * MissingCertificate = 7; */ public static final int MissingCertificate_VALUE = 7; /** + *
+       * Invalid username.
+       * 
+ * * UserName = 8; */ public static final int UserName_VALUE = 8; /** + *
+       * Channel is full.
+       * 
+ * * ChannelFull = 9; */ public static final int ChannelFull_VALUE = 9; /** + *
+       * Channels are nested too deply.
+       * 
+ * * NestingLimit = 10; */ public static final int NestingLimit_VALUE = 10; + /** + *
+       * Maximum channel count reached.
+       * 
+ * + * ChannelCountLimit = 11; + */ + public static final int ChannelCountLimit_VALUE = 11; public final int getNumber() { @@ -15273,6 +19338,8 @@ public final class Mumble { } /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated @@ -15280,6 +19347,10 @@ public final class Mumble { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static DenyType forNumber(int value) { switch (value) { case 0: return Text; @@ -15293,6 +19364,7 @@ public final class Mumble { case 8: return UserName; case 9: return ChannelFull; case 10: return NestingLimit; + case 11: return ChannelCountLimit; default: return null; } } @@ -15346,13 +19418,23 @@ public final class Mumble { public static final int PERMISSION_FIELD_NUMBER = 1; private int permission_; /** + *
+     * The denied permission when type is Permission.
+     * 
+ * * optional uint32 permission = 1; + * @return Whether the permission field is set. */ public boolean hasPermission() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+     * The denied permission when type is Permission.
+     * 
+ * * optional uint32 permission = 1; + * @return The permission. */ public int getPermission() { return permission_; @@ -15361,13 +19443,25 @@ public final class Mumble { public static final int CHANNEL_ID_FIELD_NUMBER = 2; private int channelId_; /** + *
+     * channel_id for the channel where the permission was denied when type is
+     * Permission.
+     * 
+ * * optional uint32 channel_id = 2; + * @return Whether the channelId field is set. */ public boolean hasChannelId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+     * channel_id for the channel where the permission was denied when type is
+     * Permission.
+     * 
+ * * optional uint32 channel_id = 2; + * @return The channelId. */ public int getChannelId() { return channelId_; @@ -15376,13 +19470,23 @@ public final class Mumble { public static final int SESSION_FIELD_NUMBER = 3; private int session_; /** + *
+     * The user who was denied permissions, identified by session.
+     * 
+ * * optional uint32 session = 3; + * @return Whether the session field is set. */ public boolean hasSession() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** + *
+     * The user who was denied permissions, identified by session.
+     * 
+ * * optional uint32 session = 3; + * @return The session. */ public int getSession() { return session_; @@ -15391,13 +19495,23 @@ public final class Mumble { public static final int REASON_FIELD_NUMBER = 4; private volatile java.lang.Object reason_; /** + *
+     * Textual reason for the denial.
+     * 
+ * * optional string reason = 4; + * @return Whether the reason field is set. */ public boolean hasReason() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** + *
+     * Textual reason for the denial.
+     * 
+ * * optional string reason = 4; + * @return The reason. */ public java.lang.String getReason() { java.lang.Object ref = reason_; @@ -15414,7 +19528,12 @@ public final class Mumble { } } /** + *
+     * Textual reason for the denial.
+     * 
+ * * optional string reason = 4; + * @return The bytes for reason. */ public com.google.protobuf.ByteString getReasonBytes() { @@ -15433,15 +19552,26 @@ public final class Mumble { public static final int TYPE_FIELD_NUMBER = 5; private int type_; /** + *
+     * Type of the denial.
+     * 
+ * * optional .MumbleProto.PermissionDenied.DenyType type = 5; + * @return Whether the type field is set. */ public boolean hasType() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000010) != 0); } /** + *
+     * Type of the denial.
+     * 
+ * * optional .MumbleProto.PermissionDenied.DenyType type = 5; + * @return The type. */ public se.lublin.humla.protobuf.Mumble.PermissionDenied.DenyType getType() { + @SuppressWarnings("deprecation") se.lublin.humla.protobuf.Mumble.PermissionDenied.DenyType result = se.lublin.humla.protobuf.Mumble.PermissionDenied.DenyType.valueOf(type_); return result == null ? se.lublin.humla.protobuf.Mumble.PermissionDenied.DenyType.Text : result; } @@ -15449,13 +19579,23 @@ public final class Mumble { public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** + *
+     * The name that is invalid when type is UserName.
+     * 
+ * * optional string name = 6; + * @return Whether the name field is set. */ public boolean hasName() { - return ((bitField0_ & 0x00000020) == 0x00000020); + return ((bitField0_ & 0x00000020) != 0); } /** + *
+     * The name that is invalid when type is UserName.
+     * 
+ * * optional string name = 6; + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -15472,7 +19612,12 @@ public final class Mumble { } } /** + *
+     * The name that is invalid when type is UserName.
+     * 
+ * * optional string name = 6; + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { @@ -15489,6 +19634,7 @@ public final class Mumble { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -15498,54 +19644,56 @@ public final class Mumble { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, permission_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, channelId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeUInt32(3, session_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, reason_); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000010) != 0)) { output.writeEnum(5, type_); } - if (((bitField0_ & 0x00000020) == 0x00000020)) { + if (((bitField0_ & 0x00000020) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, name_); } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, permission_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, channelId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, session_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, reason_); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(5, type_); } - if (((bitField0_ & 0x00000020) == 0x00000020)) { + if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, name_); } size += unknownFields.getSerializedSize(); @@ -15553,7 +19701,6 @@ public final class Mumble { return size; } - private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { @@ -15564,38 +19711,37 @@ public final class Mumble { } se.lublin.humla.protobuf.Mumble.PermissionDenied other = (se.lublin.humla.protobuf.Mumble.PermissionDenied) obj; - boolean result = true; - result = result && (hasPermission() == other.hasPermission()); + if (hasPermission() != other.hasPermission()) return false; if (hasPermission()) { - result = result && (getPermission() - == other.getPermission()); + if (getPermission() + != other.getPermission()) return false; } - result = result && (hasChannelId() == other.hasChannelId()); + if (hasChannelId() != other.hasChannelId()) return false; if (hasChannelId()) { - result = result && (getChannelId() - == other.getChannelId()); + if (getChannelId() + != other.getChannelId()) return false; } - result = result && (hasSession() == other.hasSession()); + if (hasSession() != other.hasSession()) return false; if (hasSession()) { - result = result && (getSession() - == other.getSession()); + if (getSession() + != other.getSession()) return false; } - result = result && (hasReason() == other.hasReason()); + if (hasReason() != other.hasReason()) return false; if (hasReason()) { - result = result && getReason() - .equals(other.getReason()); + if (!getReason() + .equals(other.getReason())) return false; } - result = result && (hasType() == other.hasType()); + if (hasType() != other.hasType()) return false; if (hasType()) { - result = result && type_ == other.type_; + if (type_ != other.type_) return false; } - result = result && (hasName() == other.hasName()); + if (hasName() != other.hasName()) return false; if (hasName()) { - result = result && getName() - .equals(other.getName()); + if (!getName() + .equals(other.getName())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -15604,7 +19750,7 @@ public final class Mumble { return memoizedHashCode; } int hash = 41; - hash = (19 * hash) + getDescriptorForType().hashCode(); + hash = (19 * hash) + getDescriptor().hashCode(); if (hasPermission()) { hash = (37 * hash) + PERMISSION_FIELD_NUMBER; hash = (53 * hash) + getPermission(); @@ -15634,6 +19780,17 @@ public final class Mumble { return hash; } + public static se.lublin.humla.protobuf.Mumble.PermissionDenied parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static se.lublin.humla.protobuf.Mumble.PermissionDenied parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static se.lublin.humla.protobuf.Mumble.PermissionDenied parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -15693,6 +19850,7 @@ public final class Mumble { .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); @@ -15700,6 +19858,7 @@ public final class Mumble { public static Builder newBuilder(se.lublin.humla.protobuf.Mumble.PermissionDenied prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -15723,6 +19882,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_PermissionDenied_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_PermissionDenied_fieldAccessorTable @@ -15745,6 +19905,7 @@ public final class Mumble { .alwaysUseFieldBuilders) { } } + @java.lang.Override public Builder clear() { super.clear(); permission_ = 0; @@ -15762,15 +19923,18 @@ public final class Mumble { return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_PermissionDenied_descriptor; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.PermissionDenied getDefaultInstanceForType() { return se.lublin.humla.protobuf.Mumble.PermissionDenied.getDefaultInstance(); } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.PermissionDenied build() { se.lublin.humla.protobuf.Mumble.PermissionDenied result = buildPartial(); if (!result.isInitialized()) { @@ -15779,31 +19943,32 @@ public final class Mumble { return result; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.PermissionDenied buildPartial() { se.lublin.humla.protobuf.Mumble.PermissionDenied result = new se.lublin.humla.protobuf.Mumble.PermissionDenied(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.permission_ = permission_; to_bitField0_ |= 0x00000001; } - result.permission_ = permission_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.channelId_ = channelId_; to_bitField0_ |= 0x00000002; } - result.channelId_ = channelId_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { + result.session_ = session_; to_bitField0_ |= 0x00000004; } - result.session_ = session_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.reason_ = reason_; - if (((from_bitField0_ & 0x00000010) == 0x00000010)) { + if (((from_bitField0_ & 0x00000010) != 0)) { to_bitField0_ |= 0x00000010; } result.type_ = type_; - if (((from_bitField0_ & 0x00000020) == 0x00000020)) { + if (((from_bitField0_ & 0x00000020) != 0)) { to_bitField0_ |= 0x00000020; } result.name_ = name_; @@ -15812,32 +19977,39 @@ public final class Mumble { return result; } + @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.setField(field, value); + java.lang.Object value) { + return super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { - return (Builder) super.setRepeatedField(field, index, value); + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.addRepeatedField(field, value); + java.lang.Object value) { + return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof se.lublin.humla.protobuf.Mumble.PermissionDenied) { return mergeFrom((se.lublin.humla.protobuf.Mumble.PermissionDenied)other); @@ -15876,10 +20048,12 @@ public final class Mumble { return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -15901,19 +20075,35 @@ public final class Mumble { private int permission_ ; /** + *
+       * The denied permission when type is Permission.
+       * 
+ * * optional uint32 permission = 1; + * @return Whether the permission field is set. */ public boolean hasPermission() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+       * The denied permission when type is Permission.
+       * 
+ * * optional uint32 permission = 1; + * @return The permission. */ public int getPermission() { return permission_; } /** + *
+       * The denied permission when type is Permission.
+       * 
+ * * optional uint32 permission = 1; + * @param value The permission to set. + * @return This builder for chaining. */ public Builder setPermission(int value) { bitField0_ |= 0x00000001; @@ -15922,7 +20112,12 @@ public final class Mumble { return this; } /** + *
+       * The denied permission when type is Permission.
+       * 
+ * * optional uint32 permission = 1; + * @return This builder for chaining. */ public Builder clearPermission() { bitField0_ = (bitField0_ & ~0x00000001); @@ -15933,19 +20128,38 @@ public final class Mumble { private int channelId_ ; /** + *
+       * channel_id for the channel where the permission was denied when type is
+       * Permission.
+       * 
+ * * optional uint32 channel_id = 2; + * @return Whether the channelId field is set. */ public boolean hasChannelId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+       * channel_id for the channel where the permission was denied when type is
+       * Permission.
+       * 
+ * * optional uint32 channel_id = 2; + * @return The channelId. */ public int getChannelId() { return channelId_; } /** + *
+       * channel_id for the channel where the permission was denied when type is
+       * Permission.
+       * 
+ * * optional uint32 channel_id = 2; + * @param value The channelId to set. + * @return This builder for chaining. */ public Builder setChannelId(int value) { bitField0_ |= 0x00000002; @@ -15954,7 +20168,13 @@ public final class Mumble { return this; } /** + *
+       * channel_id for the channel where the permission was denied when type is
+       * Permission.
+       * 
+ * * optional uint32 channel_id = 2; + * @return This builder for chaining. */ public Builder clearChannelId() { bitField0_ = (bitField0_ & ~0x00000002); @@ -15965,19 +20185,35 @@ public final class Mumble { private int session_ ; /** + *
+       * The user who was denied permissions, identified by session.
+       * 
+ * * optional uint32 session = 3; + * @return Whether the session field is set. */ public boolean hasSession() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** + *
+       * The user who was denied permissions, identified by session.
+       * 
+ * * optional uint32 session = 3; + * @return The session. */ public int getSession() { return session_; } /** + *
+       * The user who was denied permissions, identified by session.
+       * 
+ * * optional uint32 session = 3; + * @param value The session to set. + * @return This builder for chaining. */ public Builder setSession(int value) { bitField0_ |= 0x00000004; @@ -15986,7 +20222,12 @@ public final class Mumble { return this; } /** + *
+       * The user who was denied permissions, identified by session.
+       * 
+ * * optional uint32 session = 3; + * @return This builder for chaining. */ public Builder clearSession() { bitField0_ = (bitField0_ & ~0x00000004); @@ -15997,13 +20238,23 @@ public final class Mumble { private java.lang.Object reason_ = ""; /** + *
+       * Textual reason for the denial.
+       * 
+ * * optional string reason = 4; + * @return Whether the reason field is set. */ public boolean hasReason() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** + *
+       * Textual reason for the denial.
+       * 
+ * * optional string reason = 4; + * @return The reason. */ public java.lang.String getReason() { java.lang.Object ref = reason_; @@ -16020,7 +20271,12 @@ public final class Mumble { } } /** + *
+       * Textual reason for the denial.
+       * 
+ * * optional string reason = 4; + * @return The bytes for reason. */ public com.google.protobuf.ByteString getReasonBytes() { @@ -16036,7 +20292,13 @@ public final class Mumble { } } /** + *
+       * Textual reason for the denial.
+       * 
+ * * optional string reason = 4; + * @param value The reason to set. + * @return This builder for chaining. */ public Builder setReason( java.lang.String value) { @@ -16049,7 +20311,12 @@ public final class Mumble { return this; } /** + *
+       * Textual reason for the denial.
+       * 
+ * * optional string reason = 4; + * @return This builder for chaining. */ public Builder clearReason() { bitField0_ = (bitField0_ & ~0x00000008); @@ -16058,7 +20325,13 @@ public final class Mumble { return this; } /** + *
+       * Textual reason for the denial.
+       * 
+ * * optional string reason = 4; + * @param value The bytes for reason to set. + * @return This builder for chaining. */ public Builder setReasonBytes( com.google.protobuf.ByteString value) { @@ -16073,20 +20346,37 @@ public final class Mumble { private int type_ = 0; /** + *
+       * Type of the denial.
+       * 
+ * * optional .MumbleProto.PermissionDenied.DenyType type = 5; + * @return Whether the type field is set. */ public boolean hasType() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000010) != 0); } /** + *
+       * Type of the denial.
+       * 
+ * * optional .MumbleProto.PermissionDenied.DenyType type = 5; + * @return The type. */ public se.lublin.humla.protobuf.Mumble.PermissionDenied.DenyType getType() { + @SuppressWarnings("deprecation") se.lublin.humla.protobuf.Mumble.PermissionDenied.DenyType result = se.lublin.humla.protobuf.Mumble.PermissionDenied.DenyType.valueOf(type_); return result == null ? se.lublin.humla.protobuf.Mumble.PermissionDenied.DenyType.Text : result; } /** + *
+       * Type of the denial.
+       * 
+ * * optional .MumbleProto.PermissionDenied.DenyType type = 5; + * @param value The type to set. + * @return This builder for chaining. */ public Builder setType(se.lublin.humla.protobuf.Mumble.PermissionDenied.DenyType value) { if (value == null) { @@ -16098,7 +20388,12 @@ public final class Mumble { return this; } /** + *
+       * Type of the denial.
+       * 
+ * * optional .MumbleProto.PermissionDenied.DenyType type = 5; + * @return This builder for chaining. */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000010); @@ -16109,13 +20404,23 @@ public final class Mumble { private java.lang.Object name_ = ""; /** + *
+       * The name that is invalid when type is UserName.
+       * 
+ * * optional string name = 6; + * @return Whether the name field is set. */ public boolean hasName() { - return ((bitField0_ & 0x00000020) == 0x00000020); + return ((bitField0_ & 0x00000020) != 0); } /** + *
+       * The name that is invalid when type is UserName.
+       * 
+ * * optional string name = 6; + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -16132,7 +20437,12 @@ public final class Mumble { } } /** + *
+       * The name that is invalid when type is UserName.
+       * 
+ * * optional string name = 6; + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { @@ -16148,7 +20458,13 @@ public final class Mumble { } } /** + *
+       * The name that is invalid when type is UserName.
+       * 
+ * * optional string name = 6; + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName( java.lang.String value) { @@ -16161,7 +20477,12 @@ public final class Mumble { return this; } /** + *
+       * The name that is invalid when type is UserName.
+       * 
+ * * optional string name = 6; + * @return This builder for chaining. */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000020); @@ -16170,7 +20491,13 @@ public final class Mumble { return this; } /** + *
+       * The name that is invalid when type is UserName.
+       * 
+ * * optional string name = 6; + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { @@ -16182,11 +20509,13 @@ public final class Mumble { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -16208,11 +20537,12 @@ public final class Mumble { @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override public PermissionDenied parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new PermissionDenied(input, extensionRegistry); + return new PermissionDenied(input, extensionRegistry); } }; @@ -16225,6 +20555,7 @@ public final class Mumble { return PARSER; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.PermissionDenied getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -16236,77 +20567,147 @@ public final class Mumble { com.google.protobuf.MessageOrBuilder { /** + *
+     * Channel ID of the channel this message affects.
+     * 
+ * * required uint32 channel_id = 1; + * @return Whether the channelId field is set. */ boolean hasChannelId(); /** + *
+     * Channel ID of the channel this message affects.
+     * 
+ * * required uint32 channel_id = 1; + * @return The channelId. */ int getChannelId(); /** + *
+     * True if the channel inherits its parent's ACLs.
+     * 
+ * * optional bool inherit_acls = 2 [default = true]; + * @return Whether the inheritAcls field is set. */ boolean hasInheritAcls(); /** + *
+     * True if the channel inherits its parent's ACLs.
+     * 
+ * * optional bool inherit_acls = 2 [default = true]; + * @return The inheritAcls. */ boolean getInheritAcls(); /** + *
+     * User group specifications.
+     * 
+ * * repeated .MumbleProto.ACL.ChanGroup groups = 3; */ java.util.List getGroupsList(); /** + *
+     * User group specifications.
+     * 
+ * * repeated .MumbleProto.ACL.ChanGroup groups = 3; */ se.lublin.humla.protobuf.Mumble.ACL.ChanGroup getGroups(int index); /** + *
+     * User group specifications.
+     * 
+ * * repeated .MumbleProto.ACL.ChanGroup groups = 3; */ int getGroupsCount(); /** + *
+     * User group specifications.
+     * 
+ * * repeated .MumbleProto.ACL.ChanGroup groups = 3; */ java.util.List getGroupsOrBuilderList(); /** + *
+     * User group specifications.
+     * 
+ * * repeated .MumbleProto.ACL.ChanGroup groups = 3; */ se.lublin.humla.protobuf.Mumble.ACL.ChanGroupOrBuilder getGroupsOrBuilder( int index); /** + *
+     * ACL specifications.
+     * 
+ * * repeated .MumbleProto.ACL.ChanACL acls = 4; */ java.util.List getAclsList(); /** + *
+     * ACL specifications.
+     * 
+ * * repeated .MumbleProto.ACL.ChanACL acls = 4; */ se.lublin.humla.protobuf.Mumble.ACL.ChanACL getAcls(int index); /** + *
+     * ACL specifications.
+     * 
+ * * repeated .MumbleProto.ACL.ChanACL acls = 4; */ int getAclsCount(); /** + *
+     * ACL specifications.
+     * 
+ * * repeated .MumbleProto.ACL.ChanACL acls = 4; */ java.util.List getAclsOrBuilderList(); /** + *
+     * ACL specifications.
+     * 
+ * * repeated .MumbleProto.ACL.ChanACL acls = 4; */ se.lublin.humla.protobuf.Mumble.ACL.ChanACLOrBuilder getAclsOrBuilder( int index); /** + *
+     * True if the message is a query for ACLs instead of setting them.
+     * 
+ * * optional bool query = 5 [default = false]; + * @return Whether the query field is set. */ boolean hasQuery(); /** + *
+     * True if the message is a query for ACLs instead of setting them.
+     * 
+ * * optional bool query = 5 [default = false]; + * @return The query. */ boolean getQuery(); } @@ -16317,16 +20718,22 @@ public final class Mumble { com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:MumbleProto.ACL) ACLOrBuilder { + private static final long serialVersionUID = 0L; // Use ACL.newBuilder() to construct. private ACL(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ACL() { - channelId_ = 0; inheritAcls_ = true; groups_ = java.util.Collections.emptyList(); acls_ = java.util.Collections.emptyList(); - query_ = false; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ACL(); } @java.lang.Override @@ -16339,6 +20746,9 @@ public final class Mumble { com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -16350,13 +20760,6 @@ public final class Mumble { case 0: done = true; break; - default: { - if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; channelId_ = input.readUInt32(); @@ -16368,7 +20771,7 @@ public final class Mumble { break; } case 26: { - if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { groups_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } @@ -16377,7 +20780,7 @@ public final class Mumble { break; } case 34: { - if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { acls_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } @@ -16390,6 +20793,13 @@ public final class Mumble { query_ = input.readBool(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -16398,10 +20808,10 @@ public final class Mumble { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { + if (((mutable_bitField0_ & 0x00000004) != 0)) { groups_ = java.util.Collections.unmodifiableList(groups_); } - if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { + if (((mutable_bitField0_ & 0x00000008) != 0)) { acls_ = java.util.Collections.unmodifiableList(acls_); } this.unknownFields = unknownFields.build(); @@ -16413,6 +20823,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ACL_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ACL_fieldAccessorTable @@ -16425,82 +20836,178 @@ public final class Mumble { com.google.protobuf.MessageOrBuilder { /** + *
+       * Name of the channel group, UTF-8 encoded.
+       * 
+ * * required string name = 1; + * @return Whether the name field is set. */ boolean hasName(); /** + *
+       * Name of the channel group, UTF-8 encoded.
+       * 
+ * * required string name = 1; + * @return The name. */ java.lang.String getName(); /** + *
+       * Name of the channel group, UTF-8 encoded.
+       * 
+ * * required string name = 1; + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** + *
+       * True if the group has been inherited from the parent (Read only).
+       * 
+ * * optional bool inherited = 2 [default = true]; + * @return Whether the inherited field is set. */ boolean hasInherited(); /** + *
+       * True if the group has been inherited from the parent (Read only).
+       * 
+ * * optional bool inherited = 2 [default = true]; + * @return The inherited. */ boolean getInherited(); /** + *
+       * True if the group members are inherited.
+       * 
+ * * optional bool inherit = 3 [default = true]; + * @return Whether the inherit field is set. */ boolean hasInherit(); /** + *
+       * True if the group members are inherited.
+       * 
+ * * optional bool inherit = 3 [default = true]; + * @return The inherit. */ boolean getInherit(); /** + *
+       * True if the group can be inherited by sub channels.
+       * 
+ * * optional bool inheritable = 4 [default = true]; + * @return Whether the inheritable field is set. */ boolean hasInheritable(); /** + *
+       * True if the group can be inherited by sub channels.
+       * 
+ * * optional bool inheritable = 4 [default = true]; + * @return The inheritable. */ boolean getInheritable(); /** + *
+       * Users explicitly included in this group, identified by user_id.
+       * 
+ * * repeated uint32 add = 5; + * @return A list containing the add. */ java.util.List getAddList(); /** + *
+       * Users explicitly included in this group, identified by user_id.
+       * 
+ * * repeated uint32 add = 5; + * @return The count of add. */ int getAddCount(); /** + *
+       * Users explicitly included in this group, identified by user_id.
+       * 
+ * * repeated uint32 add = 5; + * @param index The index of the element to return. + * @return The add at the given index. */ int getAdd(int index); /** + *
+       * Users explicitly removed from this group in this channel if the group
+       * has been inherited, identified by user_id.
+       * 
+ * * repeated uint32 remove = 6; + * @return A list containing the remove. */ java.util.List getRemoveList(); /** + *
+       * Users explicitly removed from this group in this channel if the group
+       * has been inherited, identified by user_id.
+       * 
+ * * repeated uint32 remove = 6; + * @return The count of remove. */ int getRemoveCount(); /** + *
+       * Users explicitly removed from this group in this channel if the group
+       * has been inherited, identified by user_id.
+       * 
+ * * repeated uint32 remove = 6; + * @param index The index of the element to return. + * @return The remove at the given index. */ int getRemove(int index); /** + *
+       * Users inherited, identified by user_id.
+       * 
+ * * repeated uint32 inherited_members = 7; + * @return A list containing the inheritedMembers. */ java.util.List getInheritedMembersList(); /** + *
+       * Users inherited, identified by user_id.
+       * 
+ * * repeated uint32 inherited_members = 7; + * @return The count of inheritedMembers. */ int getInheritedMembersCount(); /** + *
+       * Users inherited, identified by user_id.
+       * 
+ * * repeated uint32 inherited_members = 7; + * @param index The index of the element to return. + * @return The inheritedMembers at the given index. */ int getInheritedMembers(int index); } @@ -16511,6 +21018,7 @@ public final class Mumble { com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:MumbleProto.ACL.ChanGroup) ChanGroupOrBuilder { + private static final long serialVersionUID = 0L; // Use ChanGroup.newBuilder() to construct. private ChanGroup(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -16520,9 +21028,16 @@ public final class Mumble { inherited_ = true; inherit_ = true; inheritable_ = true; - add_ = java.util.Collections.emptyList(); - remove_ = java.util.Collections.emptyList(); - inheritedMembers_ = java.util.Collections.emptyList(); + add_ = emptyIntList(); + remove_ = emptyIntList(); + inheritedMembers_ = emptyIntList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ChanGroup(); } @java.lang.Override @@ -16535,6 +21050,9 @@ public final class Mumble { com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -16546,13 +21064,6 @@ public final class Mumble { case 0: done = true; break; - default: { - if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { - done = true; - } - break; - } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; @@ -16575,66 +21086,73 @@ public final class Mumble { break; } case 40: { - if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { - add_ = new java.util.ArrayList(); + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + add_ = newIntList(); mutable_bitField0_ |= 0x00000010; } - add_.add(input.readUInt32()); + add_.addInt(input.readUInt32()); break; } case 42: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000010) == 0x00000010) && input.getBytesUntilLimit() > 0) { - add_ = new java.util.ArrayList(); + if (!((mutable_bitField0_ & 0x00000010) != 0) && input.getBytesUntilLimit() > 0) { + add_ = newIntList(); mutable_bitField0_ |= 0x00000010; } while (input.getBytesUntilLimit() > 0) { - add_.add(input.readUInt32()); + add_.addInt(input.readUInt32()); } input.popLimit(limit); break; } case 48: { - if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { - remove_ = new java.util.ArrayList(); + if (!((mutable_bitField0_ & 0x00000020) != 0)) { + remove_ = newIntList(); mutable_bitField0_ |= 0x00000020; } - remove_.add(input.readUInt32()); + remove_.addInt(input.readUInt32()); break; } case 50: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000020) == 0x00000020) && input.getBytesUntilLimit() > 0) { - remove_ = new java.util.ArrayList(); + if (!((mutable_bitField0_ & 0x00000020) != 0) && input.getBytesUntilLimit() > 0) { + remove_ = newIntList(); mutable_bitField0_ |= 0x00000020; } while (input.getBytesUntilLimit() > 0) { - remove_.add(input.readUInt32()); + remove_.addInt(input.readUInt32()); } input.popLimit(limit); break; } case 56: { - if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) { - inheritedMembers_ = new java.util.ArrayList(); + if (!((mutable_bitField0_ & 0x00000040) != 0)) { + inheritedMembers_ = newIntList(); mutable_bitField0_ |= 0x00000040; } - inheritedMembers_.add(input.readUInt32()); + inheritedMembers_.addInt(input.readUInt32()); break; } case 58: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000040) == 0x00000040) && input.getBytesUntilLimit() > 0) { - inheritedMembers_ = new java.util.ArrayList(); + if (!((mutable_bitField0_ & 0x00000040) != 0) && input.getBytesUntilLimit() > 0) { + inheritedMembers_ = newIntList(); mutable_bitField0_ |= 0x00000040; } while (input.getBytesUntilLimit() > 0) { - inheritedMembers_.add(input.readUInt32()); + inheritedMembers_.addInt(input.readUInt32()); + } + input.popLimit(limit); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } - input.popLimit(limit); break; } } @@ -16645,14 +21163,14 @@ public final class Mumble { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) { - add_ = java.util.Collections.unmodifiableList(add_); + if (((mutable_bitField0_ & 0x00000010) != 0)) { + add_.makeImmutable(); // C } - if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) { - remove_ = java.util.Collections.unmodifiableList(remove_); + if (((mutable_bitField0_ & 0x00000020) != 0)) { + remove_.makeImmutable(); // C } - if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) { - inheritedMembers_ = java.util.Collections.unmodifiableList(inheritedMembers_); + if (((mutable_bitField0_ & 0x00000040) != 0)) { + inheritedMembers_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -16663,6 +21181,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ACL_ChanGroup_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ACL_ChanGroup_fieldAccessorTable @@ -16674,13 +21193,23 @@ public final class Mumble { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + *
+       * Name of the channel group, UTF-8 encoded.
+       * 
+ * * required string name = 1; + * @return Whether the name field is set. */ public boolean hasName() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+       * Name of the channel group, UTF-8 encoded.
+       * 
+ * * required string name = 1; + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -16697,7 +21226,12 @@ public final class Mumble { } } /** + *
+       * Name of the channel group, UTF-8 encoded.
+       * 
+ * * required string name = 1; + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { @@ -16716,13 +21250,23 @@ public final class Mumble { public static final int INHERITED_FIELD_NUMBER = 2; private boolean inherited_; /** + *
+       * True if the group has been inherited from the parent (Read only).
+       * 
+ * * optional bool inherited = 2 [default = true]; + * @return Whether the inherited field is set. */ public boolean hasInherited() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+       * True if the group has been inherited from the parent (Read only).
+       * 
+ * * optional bool inherited = 2 [default = true]; + * @return The inherited. */ public boolean getInherited() { return inherited_; @@ -16731,13 +21275,23 @@ public final class Mumble { public static final int INHERIT_FIELD_NUMBER = 3; private boolean inherit_; /** + *
+       * True if the group members are inherited.
+       * 
+ * * optional bool inherit = 3 [default = true]; + * @return Whether the inherit field is set. */ public boolean hasInherit() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** + *
+       * True if the group members are inherited.
+       * 
+ * * optional bool inherit = 3 [default = true]; + * @return The inherit. */ public boolean getInherit() { return inherit_; @@ -16746,85 +21300,147 @@ public final class Mumble { public static final int INHERITABLE_FIELD_NUMBER = 4; private boolean inheritable_; /** + *
+       * True if the group can be inherited by sub channels.
+       * 
+ * * optional bool inheritable = 4 [default = true]; + * @return Whether the inheritable field is set. */ public boolean hasInheritable() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** + *
+       * True if the group can be inherited by sub channels.
+       * 
+ * * optional bool inheritable = 4 [default = true]; + * @return The inheritable. */ public boolean getInheritable() { return inheritable_; } public static final int ADD_FIELD_NUMBER = 5; - private java.util.List add_; + private com.google.protobuf.Internal.IntList add_; /** + *
+       * Users explicitly included in this group, identified by user_id.
+       * 
+ * * repeated uint32 add = 5; + * @return A list containing the add. */ public java.util.List getAddList() { return add_; } /** + *
+       * Users explicitly included in this group, identified by user_id.
+       * 
+ * * repeated uint32 add = 5; + * @return The count of add. */ public int getAddCount() { return add_.size(); } /** + *
+       * Users explicitly included in this group, identified by user_id.
+       * 
+ * * repeated uint32 add = 5; + * @param index The index of the element to return. + * @return The add at the given index. */ public int getAdd(int index) { - return add_.get(index); + return add_.getInt(index); } public static final int REMOVE_FIELD_NUMBER = 6; - private java.util.List remove_; + private com.google.protobuf.Internal.IntList remove_; /** + *
+       * Users explicitly removed from this group in this channel if the group
+       * has been inherited, identified by user_id.
+       * 
+ * * repeated uint32 remove = 6; + * @return A list containing the remove. */ public java.util.List getRemoveList() { return remove_; } /** + *
+       * Users explicitly removed from this group in this channel if the group
+       * has been inherited, identified by user_id.
+       * 
+ * * repeated uint32 remove = 6; + * @return The count of remove. */ public int getRemoveCount() { return remove_.size(); } /** + *
+       * Users explicitly removed from this group in this channel if the group
+       * has been inherited, identified by user_id.
+       * 
+ * * repeated uint32 remove = 6; + * @param index The index of the element to return. + * @return The remove at the given index. */ public int getRemove(int index) { - return remove_.get(index); + return remove_.getInt(index); } public static final int INHERITED_MEMBERS_FIELD_NUMBER = 7; - private java.util.List inheritedMembers_; + private com.google.protobuf.Internal.IntList inheritedMembers_; /** + *
+       * Users inherited, identified by user_id.
+       * 
+ * * repeated uint32 inherited_members = 7; + * @return A list containing the inheritedMembers. */ public java.util.List getInheritedMembersList() { return inheritedMembers_; } /** + *
+       * Users inherited, identified by user_id.
+       * 
+ * * repeated uint32 inherited_members = 7; + * @return The count of inheritedMembers. */ public int getInheritedMembersCount() { return inheritedMembers_.size(); } /** + *
+       * Users inherited, identified by user_id.
+       * 
+ * * repeated uint32 inherited_members = 7; + * @param index The index of the element to return. + * @return The inheritedMembers at the given index. */ public int getInheritedMembers(int index) { - return inheritedMembers_.get(index); + return inheritedMembers_.getInt(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -16838,49 +21454,51 @@ public final class Mumble { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeBool(2, inherited_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeBool(3, inherit_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { output.writeBool(4, inheritable_); } for (int i = 0; i < add_.size(); i++) { - output.writeUInt32(5, add_.get(i)); + output.writeUInt32(5, add_.getInt(i)); } for (int i = 0; i < remove_.size(); i++) { - output.writeUInt32(6, remove_.get(i)); + output.writeUInt32(6, remove_.getInt(i)); } for (int i = 0; i < inheritedMembers_.size(); i++) { - output.writeUInt32(7, inheritedMembers_.get(i)); + output.writeUInt32(7, inheritedMembers_.getInt(i)); } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, inherited_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, inherit_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, inheritable_); } @@ -16888,7 +21506,7 @@ public final class Mumble { int dataSize = 0; for (int i = 0; i < add_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(add_.get(i)); + .computeUInt32SizeNoTag(add_.getInt(i)); } size += dataSize; size += 1 * getAddList().size(); @@ -16897,7 +21515,7 @@ public final class Mumble { int dataSize = 0; for (int i = 0; i < remove_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(remove_.get(i)); + .computeUInt32SizeNoTag(remove_.getInt(i)); } size += dataSize; size += 1 * getRemoveList().size(); @@ -16906,7 +21524,7 @@ public final class Mumble { int dataSize = 0; for (int i = 0; i < inheritedMembers_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(inheritedMembers_.get(i)); + .computeUInt32SizeNoTag(inheritedMembers_.getInt(i)); } size += dataSize; size += 1 * getInheritedMembersList().size(); @@ -16916,7 +21534,6 @@ public final class Mumble { return size; } - private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { @@ -16927,35 +21544,34 @@ public final class Mumble { } se.lublin.humla.protobuf.Mumble.ACL.ChanGroup other = (se.lublin.humla.protobuf.Mumble.ACL.ChanGroup) obj; - boolean result = true; - result = result && (hasName() == other.hasName()); + if (hasName() != other.hasName()) return false; if (hasName()) { - result = result && getName() - .equals(other.getName()); + if (!getName() + .equals(other.getName())) return false; } - result = result && (hasInherited() == other.hasInherited()); + if (hasInherited() != other.hasInherited()) return false; if (hasInherited()) { - result = result && (getInherited() - == other.getInherited()); + if (getInherited() + != other.getInherited()) return false; } - result = result && (hasInherit() == other.hasInherit()); + if (hasInherit() != other.hasInherit()) return false; if (hasInherit()) { - result = result && (getInherit() - == other.getInherit()); + if (getInherit() + != other.getInherit()) return false; } - result = result && (hasInheritable() == other.hasInheritable()); + if (hasInheritable() != other.hasInheritable()) return false; if (hasInheritable()) { - result = result && (getInheritable() - == other.getInheritable()); - } - result = result && getAddList() - .equals(other.getAddList()); - result = result && getRemoveList() - .equals(other.getRemoveList()); - result = result && getInheritedMembersList() - .equals(other.getInheritedMembersList()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (getInheritable() + != other.getInheritable()) return false; + } + if (!getAddList() + .equals(other.getAddList())) return false; + if (!getRemoveList() + .equals(other.getRemoveList())) return false; + if (!getInheritedMembersList() + .equals(other.getInheritedMembersList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -16964,7 +21580,7 @@ public final class Mumble { return memoizedHashCode; } int hash = 41; - hash = (19 * hash) + getDescriptorForType().hashCode(); + hash = (19 * hash) + getDescriptor().hashCode(); if (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); @@ -17001,6 +21617,17 @@ public final class Mumble { return hash; } + public static se.lublin.humla.protobuf.Mumble.ACL.ChanGroup parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static se.lublin.humla.protobuf.Mumble.ACL.ChanGroup parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static se.lublin.humla.protobuf.Mumble.ACL.ChanGroup parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -17060,6 +21687,7 @@ public final class Mumble { .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); @@ -17067,6 +21695,7 @@ public final class Mumble { public static Builder newBuilder(se.lublin.humla.protobuf.Mumble.ACL.ChanGroup prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -17090,6 +21719,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ACL_ChanGroup_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ACL_ChanGroup_fieldAccessorTable @@ -17112,6 +21742,7 @@ public final class Mumble { .alwaysUseFieldBuilders) { } } + @java.lang.Override public Builder clear() { super.clear(); name_ = ""; @@ -17122,24 +21753,27 @@ public final class Mumble { bitField0_ = (bitField0_ & ~0x00000004); inheritable_ = true; bitField0_ = (bitField0_ & ~0x00000008); - add_ = java.util.Collections.emptyList(); + add_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000010); - remove_ = java.util.Collections.emptyList(); + remove_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000020); - inheritedMembers_ = java.util.Collections.emptyList(); + inheritedMembers_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000040); return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ACL_ChanGroup_descriptor; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.ACL.ChanGroup getDefaultInstanceForType() { return se.lublin.humla.protobuf.Mumble.ACL.ChanGroup.getDefaultInstance(); } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.ACL.ChanGroup build() { se.lublin.humla.protobuf.Mumble.ACL.ChanGroup result = buildPartial(); if (!result.isInitialized()) { @@ -17148,38 +21782,39 @@ public final class Mumble { return result; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.ACL.ChanGroup buildPartial() { se.lublin.humla.protobuf.Mumble.ACL.ChanGroup result = new se.lublin.humla.protobuf.Mumble.ACL.ChanGroup(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.name_ = name_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.inherited_ = inherited_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.inherit_ = inherit_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.inheritable_ = inheritable_; - if (((bitField0_ & 0x00000010) == 0x00000010)) { - add_ = java.util.Collections.unmodifiableList(add_); + if (((bitField0_ & 0x00000010) != 0)) { + add_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000010); } result.add_ = add_; - if (((bitField0_ & 0x00000020) == 0x00000020)) { - remove_ = java.util.Collections.unmodifiableList(remove_); + if (((bitField0_ & 0x00000020) != 0)) { + remove_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000020); } result.remove_ = remove_; - if (((bitField0_ & 0x00000040) == 0x00000040)) { - inheritedMembers_ = java.util.Collections.unmodifiableList(inheritedMembers_); + if (((bitField0_ & 0x00000040) != 0)) { + inheritedMembers_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000040); } result.inheritedMembers_ = inheritedMembers_; @@ -17188,32 +21823,39 @@ public final class Mumble { return result; } + @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.setField(field, value); + java.lang.Object value) { + return super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { - return (Builder) super.setRepeatedField(field, index, value); + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.addRepeatedField(field, value); + java.lang.Object value) { + return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof se.lublin.humla.protobuf.Mumble.ACL.ChanGroup) { return mergeFrom((se.lublin.humla.protobuf.Mumble.ACL.ChanGroup)other); @@ -17274,6 +21916,7 @@ public final class Mumble { return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasName()) { return false; @@ -17281,6 +21924,7 @@ public final class Mumble { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -17302,13 +21946,23 @@ public final class Mumble { private java.lang.Object name_ = ""; /** + *
+         * Name of the channel group, UTF-8 encoded.
+         * 
+ * * required string name = 1; + * @return Whether the name field is set. */ public boolean hasName() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+         * Name of the channel group, UTF-8 encoded.
+         * 
+ * * required string name = 1; + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -17325,7 +21979,12 @@ public final class Mumble { } } /** + *
+         * Name of the channel group, UTF-8 encoded.
+         * 
+ * * required string name = 1; + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { @@ -17341,7 +22000,13 @@ public final class Mumble { } } /** + *
+         * Name of the channel group, UTF-8 encoded.
+         * 
+ * * required string name = 1; + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName( java.lang.String value) { @@ -17354,7 +22019,12 @@ public final class Mumble { return this; } /** + *
+         * Name of the channel group, UTF-8 encoded.
+         * 
+ * * required string name = 1; + * @return This builder for chaining. */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); @@ -17363,7 +22033,13 @@ public final class Mumble { return this; } /** + *
+         * Name of the channel group, UTF-8 encoded.
+         * 
+ * * required string name = 1; + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { @@ -17378,19 +22054,35 @@ public final class Mumble { private boolean inherited_ = true; /** + *
+         * True if the group has been inherited from the parent (Read only).
+         * 
+ * * optional bool inherited = 2 [default = true]; + * @return Whether the inherited field is set. */ public boolean hasInherited() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+         * True if the group has been inherited from the parent (Read only).
+         * 
+ * * optional bool inherited = 2 [default = true]; + * @return The inherited. */ public boolean getInherited() { return inherited_; } /** + *
+         * True if the group has been inherited from the parent (Read only).
+         * 
+ * * optional bool inherited = 2 [default = true]; + * @param value The inherited to set. + * @return This builder for chaining. */ public Builder setInherited(boolean value) { bitField0_ |= 0x00000002; @@ -17399,7 +22091,12 @@ public final class Mumble { return this; } /** + *
+         * True if the group has been inherited from the parent (Read only).
+         * 
+ * * optional bool inherited = 2 [default = true]; + * @return This builder for chaining. */ public Builder clearInherited() { bitField0_ = (bitField0_ & ~0x00000002); @@ -17410,19 +22107,35 @@ public final class Mumble { private boolean inherit_ = true; /** + *
+         * True if the group members are inherited.
+         * 
+ * * optional bool inherit = 3 [default = true]; + * @return Whether the inherit field is set. */ public boolean hasInherit() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** + *
+         * True if the group members are inherited.
+         * 
+ * * optional bool inherit = 3 [default = true]; + * @return The inherit. */ public boolean getInherit() { return inherit_; } /** + *
+         * True if the group members are inherited.
+         * 
+ * * optional bool inherit = 3 [default = true]; + * @param value The inherit to set. + * @return This builder for chaining. */ public Builder setInherit(boolean value) { bitField0_ |= 0x00000004; @@ -17431,7 +22144,12 @@ public final class Mumble { return this; } /** + *
+         * True if the group members are inherited.
+         * 
+ * * optional bool inherit = 3 [default = true]; + * @return This builder for chaining. */ public Builder clearInherit() { bitField0_ = (bitField0_ & ~0x00000004); @@ -17442,19 +22160,35 @@ public final class Mumble { private boolean inheritable_ = true; /** + *
+         * True if the group can be inherited by sub channels.
+         * 
+ * * optional bool inheritable = 4 [default = true]; + * @return Whether the inheritable field is set. */ public boolean hasInheritable() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** + *
+         * True if the group can be inherited by sub channels.
+         * 
+ * * optional bool inheritable = 4 [default = true]; + * @return The inheritable. */ public boolean getInheritable() { return inheritable_; } /** + *
+         * True if the group can be inherited by sub channels.
+         * 
+ * * optional bool inheritable = 4 [default = true]; + * @param value The inheritable to set. + * @return This builder for chaining. */ public Builder setInheritable(boolean value) { bitField0_ |= 0x00000008; @@ -17463,7 +22197,12 @@ public final class Mumble { return this; } /** + *
+         * True if the group can be inherited by sub channels.
+         * 
+ * * optional bool inheritable = 4 [default = true]; + * @return This builder for chaining. */ public Builder clearInheritable() { bitField0_ = (bitField0_ & ~0x00000008); @@ -17472,53 +22211,89 @@ public final class Mumble { return this; } - private java.util.List add_ = java.util.Collections.emptyList(); + private com.google.protobuf.Internal.IntList add_ = emptyIntList(); private void ensureAddIsMutable() { - if (!((bitField0_ & 0x00000010) == 0x00000010)) { - add_ = new java.util.ArrayList(add_); + if (!((bitField0_ & 0x00000010) != 0)) { + add_ = mutableCopy(add_); bitField0_ |= 0x00000010; } } /** + *
+         * Users explicitly included in this group, identified by user_id.
+         * 
+ * * repeated uint32 add = 5; + * @return A list containing the add. */ public java.util.List getAddList() { - return java.util.Collections.unmodifiableList(add_); + return ((bitField0_ & 0x00000010) != 0) ? + java.util.Collections.unmodifiableList(add_) : add_; } /** + *
+         * Users explicitly included in this group, identified by user_id.
+         * 
+ * * repeated uint32 add = 5; + * @return The count of add. */ public int getAddCount() { return add_.size(); } /** + *
+         * Users explicitly included in this group, identified by user_id.
+         * 
+ * * repeated uint32 add = 5; + * @param index The index of the element to return. + * @return The add at the given index. */ public int getAdd(int index) { - return add_.get(index); + return add_.getInt(index); } /** + *
+         * Users explicitly included in this group, identified by user_id.
+         * 
+ * * repeated uint32 add = 5; + * @param index The index to set the value at. + * @param value The add to set. + * @return This builder for chaining. */ public Builder setAdd( int index, int value) { ensureAddIsMutable(); - add_.set(index, value); + add_.setInt(index, value); onChanged(); return this; } /** + *
+         * Users explicitly included in this group, identified by user_id.
+         * 
+ * * repeated uint32 add = 5; + * @param value The add to add. + * @return This builder for chaining. */ public Builder addAdd(int value) { ensureAddIsMutable(); - add_.add(value); + add_.addInt(value); onChanged(); return this; } /** + *
+         * Users explicitly included in this group, identified by user_id.
+         * 
+ * * repeated uint32 add = 5; + * @param values The add to add. + * @return This builder for chaining. */ public Builder addAllAdd( java.lang.Iterable values) { @@ -17529,62 +22304,109 @@ public final class Mumble { return this; } /** + *
+         * Users explicitly included in this group, identified by user_id.
+         * 
+ * * repeated uint32 add = 5; + * @return This builder for chaining. */ public Builder clearAdd() { - add_ = java.util.Collections.emptyList(); + add_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } - private java.util.List remove_ = java.util.Collections.emptyList(); + private com.google.protobuf.Internal.IntList remove_ = emptyIntList(); private void ensureRemoveIsMutable() { - if (!((bitField0_ & 0x00000020) == 0x00000020)) { - remove_ = new java.util.ArrayList(remove_); + if (!((bitField0_ & 0x00000020) != 0)) { + remove_ = mutableCopy(remove_); bitField0_ |= 0x00000020; } } /** + *
+         * Users explicitly removed from this group in this channel if the group
+         * has been inherited, identified by user_id.
+         * 
+ * * repeated uint32 remove = 6; + * @return A list containing the remove. */ public java.util.List getRemoveList() { - return java.util.Collections.unmodifiableList(remove_); + return ((bitField0_ & 0x00000020) != 0) ? + java.util.Collections.unmodifiableList(remove_) : remove_; } /** + *
+         * Users explicitly removed from this group in this channel if the group
+         * has been inherited, identified by user_id.
+         * 
+ * * repeated uint32 remove = 6; + * @return The count of remove. */ public int getRemoveCount() { return remove_.size(); } /** + *
+         * Users explicitly removed from this group in this channel if the group
+         * has been inherited, identified by user_id.
+         * 
+ * * repeated uint32 remove = 6; + * @param index The index of the element to return. + * @return The remove at the given index. */ public int getRemove(int index) { - return remove_.get(index); + return remove_.getInt(index); } /** + *
+         * Users explicitly removed from this group in this channel if the group
+         * has been inherited, identified by user_id.
+         * 
+ * * repeated uint32 remove = 6; + * @param index The index to set the value at. + * @param value The remove to set. + * @return This builder for chaining. */ public Builder setRemove( int index, int value) { ensureRemoveIsMutable(); - remove_.set(index, value); + remove_.setInt(index, value); onChanged(); return this; } /** + *
+         * Users explicitly removed from this group in this channel if the group
+         * has been inherited, identified by user_id.
+         * 
+ * * repeated uint32 remove = 6; + * @param value The remove to add. + * @return This builder for chaining. */ public Builder addRemove(int value) { ensureRemoveIsMutable(); - remove_.add(value); + remove_.addInt(value); onChanged(); return this; } /** + *
+         * Users explicitly removed from this group in this channel if the group
+         * has been inherited, identified by user_id.
+         * 
+ * * repeated uint32 remove = 6; + * @param values The remove to add. + * @return This builder for chaining. */ public Builder addAllRemove( java.lang.Iterable values) { @@ -17595,62 +22417,104 @@ public final class Mumble { return this; } /** + *
+         * Users explicitly removed from this group in this channel if the group
+         * has been inherited, identified by user_id.
+         * 
+ * * repeated uint32 remove = 6; + * @return This builder for chaining. */ public Builder clearRemove() { - remove_ = java.util.Collections.emptyList(); + remove_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } - private java.util.List inheritedMembers_ = java.util.Collections.emptyList(); + private com.google.protobuf.Internal.IntList inheritedMembers_ = emptyIntList(); private void ensureInheritedMembersIsMutable() { - if (!((bitField0_ & 0x00000040) == 0x00000040)) { - inheritedMembers_ = new java.util.ArrayList(inheritedMembers_); + if (!((bitField0_ & 0x00000040) != 0)) { + inheritedMembers_ = mutableCopy(inheritedMembers_); bitField0_ |= 0x00000040; } } /** + *
+         * Users inherited, identified by user_id.
+         * 
+ * * repeated uint32 inherited_members = 7; + * @return A list containing the inheritedMembers. */ public java.util.List getInheritedMembersList() { - return java.util.Collections.unmodifiableList(inheritedMembers_); + return ((bitField0_ & 0x00000040) != 0) ? + java.util.Collections.unmodifiableList(inheritedMembers_) : inheritedMembers_; } /** + *
+         * Users inherited, identified by user_id.
+         * 
+ * * repeated uint32 inherited_members = 7; + * @return The count of inheritedMembers. */ public int getInheritedMembersCount() { return inheritedMembers_.size(); } /** + *
+         * Users inherited, identified by user_id.
+         * 
+ * * repeated uint32 inherited_members = 7; + * @param index The index of the element to return. + * @return The inheritedMembers at the given index. */ public int getInheritedMembers(int index) { - return inheritedMembers_.get(index); + return inheritedMembers_.getInt(index); } /** + *
+         * Users inherited, identified by user_id.
+         * 
+ * * repeated uint32 inherited_members = 7; + * @param index The index to set the value at. + * @param value The inheritedMembers to set. + * @return This builder for chaining. */ public Builder setInheritedMembers( int index, int value) { ensureInheritedMembersIsMutable(); - inheritedMembers_.set(index, value); + inheritedMembers_.setInt(index, value); onChanged(); return this; } /** + *
+         * Users inherited, identified by user_id.
+         * 
+ * * repeated uint32 inherited_members = 7; + * @param value The inheritedMembers to add. + * @return This builder for chaining. */ public Builder addInheritedMembers(int value) { ensureInheritedMembersIsMutable(); - inheritedMembers_.add(value); + inheritedMembers_.addInt(value); onChanged(); return this; } /** + *
+         * Users inherited, identified by user_id.
+         * 
+ * * repeated uint32 inherited_members = 7; + * @param values The inheritedMembers to add. + * @return This builder for chaining. */ public Builder addAllInheritedMembers( java.lang.Iterable values) { @@ -17661,19 +22525,26 @@ public final class Mumble { return this; } /** + *
+         * Users inherited, identified by user_id.
+         * 
+ * * repeated uint32 inherited_members = 7; + * @return This builder for chaining. */ public Builder clearInheritedMembers() { - inheritedMembers_ = java.util.Collections.emptyList(); + inheritedMembers_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -17695,11 +22566,12 @@ public final class Mumble { @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override public ChanGroup parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ChanGroup(input, extensionRegistry); + return new ChanGroup(input, extensionRegistry); } }; @@ -17712,6 +22584,7 @@ public final class Mumble { return PARSER; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.ACL.ChanGroup getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -17723,70 +22596,145 @@ public final class Mumble { com.google.protobuf.MessageOrBuilder { /** + *
+       * True if this ACL applies to the current channel.
+       * 
+ * * optional bool apply_here = 1 [default = true]; + * @return Whether the applyHere field is set. */ boolean hasApplyHere(); /** + *
+       * True if this ACL applies to the current channel.
+       * 
+ * * optional bool apply_here = 1 [default = true]; + * @return The applyHere. */ boolean getApplyHere(); /** + *
+       * True if this ACL applies to the sub channels.
+       * 
+ * * optional bool apply_subs = 2 [default = true]; + * @return Whether the applySubs field is set. */ boolean hasApplySubs(); /** + *
+       * True if this ACL applies to the sub channels.
+       * 
+ * * optional bool apply_subs = 2 [default = true]; + * @return The applySubs. */ boolean getApplySubs(); /** + *
+       * True if the ACL has been inherited from the parent.
+       * 
+ * * optional bool inherited = 3 [default = true]; + * @return Whether the inherited field is set. */ boolean hasInherited(); /** + *
+       * True if the ACL has been inherited from the parent.
+       * 
+ * * optional bool inherited = 3 [default = true]; + * @return The inherited. */ boolean getInherited(); /** + *
+       * ID of the user that is affected by this ACL.
+       * 
+ * * optional uint32 user_id = 4; + * @return Whether the userId field is set. */ boolean hasUserId(); /** + *
+       * ID of the user that is affected by this ACL.
+       * 
+ * * optional uint32 user_id = 4; + * @return The userId. */ int getUserId(); /** + *
+       * ID of the group that is affected by this ACL.
+       * 
+ * * optional string group = 5; + * @return Whether the group field is set. */ boolean hasGroup(); /** + *
+       * ID of the group that is affected by this ACL.
+       * 
+ * * optional string group = 5; + * @return The group. */ java.lang.String getGroup(); /** + *
+       * ID of the group that is affected by this ACL.
+       * 
+ * * optional string group = 5; + * @return The bytes for group. */ com.google.protobuf.ByteString getGroupBytes(); /** + *
+       * Bit flag field of the permissions granted by this ACL.
+       * 
+ * * optional uint32 grant = 6; + * @return Whether the grant field is set. */ boolean hasGrant(); /** + *
+       * Bit flag field of the permissions granted by this ACL.
+       * 
+ * * optional uint32 grant = 6; + * @return The grant. */ int getGrant(); /** + *
+       * Bit flag field of the permissions denied by this ACL.
+       * 
+ * * optional uint32 deny = 7; + * @return Whether the deny field is set. */ boolean hasDeny(); /** + *
+       * Bit flag field of the permissions denied by this ACL.
+       * 
+ * * optional uint32 deny = 7; + * @return The deny. */ int getDeny(); } @@ -17797,6 +22745,7 @@ public final class Mumble { com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:MumbleProto.ACL.ChanACL) ChanACLOrBuilder { + private static final long serialVersionUID = 0L; // Use ChanACL.newBuilder() to construct. private ChanACL(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -17805,10 +22754,14 @@ public final class Mumble { applyHere_ = true; applySubs_ = true; inherited_ = true; - userId_ = 0; group_ = ""; - grant_ = 0; - deny_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ChanACL(); } @java.lang.Override @@ -17821,6 +22774,9 @@ public final class Mumble { com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -17832,13 +22788,6 @@ public final class Mumble { case 0: done = true; break; - default: { - if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; applyHere_ = input.readBool(); @@ -17875,6 +22824,13 @@ public final class Mumble { deny_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -17892,6 +22848,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ACL_ChanACL_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ACL_ChanACL_fieldAccessorTable @@ -17903,13 +22860,23 @@ public final class Mumble { public static final int APPLY_HERE_FIELD_NUMBER = 1; private boolean applyHere_; /** + *
+       * True if this ACL applies to the current channel.
+       * 
+ * * optional bool apply_here = 1 [default = true]; + * @return Whether the applyHere field is set. */ public boolean hasApplyHere() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+       * True if this ACL applies to the current channel.
+       * 
+ * * optional bool apply_here = 1 [default = true]; + * @return The applyHere. */ public boolean getApplyHere() { return applyHere_; @@ -17918,13 +22885,23 @@ public final class Mumble { public static final int APPLY_SUBS_FIELD_NUMBER = 2; private boolean applySubs_; /** + *
+       * True if this ACL applies to the sub channels.
+       * 
+ * * optional bool apply_subs = 2 [default = true]; + * @return Whether the applySubs field is set. */ public boolean hasApplySubs() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+       * True if this ACL applies to the sub channels.
+       * 
+ * * optional bool apply_subs = 2 [default = true]; + * @return The applySubs. */ public boolean getApplySubs() { return applySubs_; @@ -17933,13 +22910,23 @@ public final class Mumble { public static final int INHERITED_FIELD_NUMBER = 3; private boolean inherited_; /** + *
+       * True if the ACL has been inherited from the parent.
+       * 
+ * * optional bool inherited = 3 [default = true]; + * @return Whether the inherited field is set. */ public boolean hasInherited() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** + *
+       * True if the ACL has been inherited from the parent.
+       * 
+ * * optional bool inherited = 3 [default = true]; + * @return The inherited. */ public boolean getInherited() { return inherited_; @@ -17948,13 +22935,23 @@ public final class Mumble { public static final int USER_ID_FIELD_NUMBER = 4; private int userId_; /** + *
+       * ID of the user that is affected by this ACL.
+       * 
+ * * optional uint32 user_id = 4; + * @return Whether the userId field is set. */ public boolean hasUserId() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** + *
+       * ID of the user that is affected by this ACL.
+       * 
+ * * optional uint32 user_id = 4; + * @return The userId. */ public int getUserId() { return userId_; @@ -17963,13 +22960,23 @@ public final class Mumble { public static final int GROUP_FIELD_NUMBER = 5; private volatile java.lang.Object group_; /** + *
+       * ID of the group that is affected by this ACL.
+       * 
+ * * optional string group = 5; + * @return Whether the group field is set. */ public boolean hasGroup() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000010) != 0); } /** + *
+       * ID of the group that is affected by this ACL.
+       * 
+ * * optional string group = 5; + * @return The group. */ public java.lang.String getGroup() { java.lang.Object ref = group_; @@ -17986,7 +22993,12 @@ public final class Mumble { } } /** + *
+       * ID of the group that is affected by this ACL.
+       * 
+ * * optional string group = 5; + * @return The bytes for group. */ public com.google.protobuf.ByteString getGroupBytes() { @@ -18005,13 +23017,23 @@ public final class Mumble { public static final int GRANT_FIELD_NUMBER = 6; private int grant_; /** + *
+       * Bit flag field of the permissions granted by this ACL.
+       * 
+ * * optional uint32 grant = 6; + * @return Whether the grant field is set. */ public boolean hasGrant() { - return ((bitField0_ & 0x00000020) == 0x00000020); + return ((bitField0_ & 0x00000020) != 0); } /** + *
+       * Bit flag field of the permissions granted by this ACL.
+       * 
+ * * optional uint32 grant = 6; + * @return The grant. */ public int getGrant() { return grant_; @@ -18020,19 +23042,30 @@ public final class Mumble { public static final int DENY_FIELD_NUMBER = 7; private int deny_; /** + *
+       * Bit flag field of the permissions denied by this ACL.
+       * 
+ * * optional uint32 deny = 7; + * @return Whether the deny field is set. */ public boolean hasDeny() { - return ((bitField0_ & 0x00000040) == 0x00000040); + return ((bitField0_ & 0x00000040) != 0); } /** + *
+       * Bit flag field of the permissions denied by this ACL.
+       * 
+ * * optional uint32 deny = 7; + * @return The deny. */ public int getDeny() { return deny_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -18042,61 +23075,63 @@ public final class Mumble { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeBool(1, applyHere_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeBool(2, applySubs_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeBool(3, inherited_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { output.writeUInt32(4, userId_); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000010) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, group_); } - if (((bitField0_ & 0x00000020) == 0x00000020)) { + if (((bitField0_ & 0x00000020) != 0)) { output.writeUInt32(6, grant_); } - if (((bitField0_ & 0x00000040) == 0x00000040)) { + if (((bitField0_ & 0x00000040) != 0)) { output.writeUInt32(7, deny_); } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, applyHere_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, applySubs_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, inherited_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, userId_); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, group_); } - if (((bitField0_ & 0x00000020) == 0x00000020)) { + if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(6, grant_); } - if (((bitField0_ & 0x00000040) == 0x00000040)) { + if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(7, deny_); } @@ -18105,7 +23140,6 @@ public final class Mumble { return size; } - private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { @@ -18116,44 +23150,43 @@ public final class Mumble { } se.lublin.humla.protobuf.Mumble.ACL.ChanACL other = (se.lublin.humla.protobuf.Mumble.ACL.ChanACL) obj; - boolean result = true; - result = result && (hasApplyHere() == other.hasApplyHere()); + if (hasApplyHere() != other.hasApplyHere()) return false; if (hasApplyHere()) { - result = result && (getApplyHere() - == other.getApplyHere()); + if (getApplyHere() + != other.getApplyHere()) return false; } - result = result && (hasApplySubs() == other.hasApplySubs()); + if (hasApplySubs() != other.hasApplySubs()) return false; if (hasApplySubs()) { - result = result && (getApplySubs() - == other.getApplySubs()); + if (getApplySubs() + != other.getApplySubs()) return false; } - result = result && (hasInherited() == other.hasInherited()); + if (hasInherited() != other.hasInherited()) return false; if (hasInherited()) { - result = result && (getInherited() - == other.getInherited()); + if (getInherited() + != other.getInherited()) return false; } - result = result && (hasUserId() == other.hasUserId()); + if (hasUserId() != other.hasUserId()) return false; if (hasUserId()) { - result = result && (getUserId() - == other.getUserId()); + if (getUserId() + != other.getUserId()) return false; } - result = result && (hasGroup() == other.hasGroup()); + if (hasGroup() != other.hasGroup()) return false; if (hasGroup()) { - result = result && getGroup() - .equals(other.getGroup()); + if (!getGroup() + .equals(other.getGroup())) return false; } - result = result && (hasGrant() == other.hasGrant()); + if (hasGrant() != other.hasGrant()) return false; if (hasGrant()) { - result = result && (getGrant() - == other.getGrant()); + if (getGrant() + != other.getGrant()) return false; } - result = result && (hasDeny() == other.hasDeny()); + if (hasDeny() != other.hasDeny()) return false; if (hasDeny()) { - result = result && (getDeny() - == other.getDeny()); + if (getDeny() + != other.getDeny()) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -18162,7 +23195,7 @@ public final class Mumble { return memoizedHashCode; } int hash = 41; - hash = (19 * hash) + getDescriptorForType().hashCode(); + hash = (19 * hash) + getDescriptor().hashCode(); if (hasApplyHere()) { hash = (37 * hash) + APPLY_HERE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( @@ -18199,6 +23232,17 @@ public final class Mumble { return hash; } + public static se.lublin.humla.protobuf.Mumble.ACL.ChanACL parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static se.lublin.humla.protobuf.Mumble.ACL.ChanACL parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static se.lublin.humla.protobuf.Mumble.ACL.ChanACL parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -18258,6 +23302,7 @@ public final class Mumble { .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); @@ -18265,6 +23310,7 @@ public final class Mumble { public static Builder newBuilder(se.lublin.humla.protobuf.Mumble.ACL.ChanACL prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -18288,6 +23334,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ACL_ChanACL_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ACL_ChanACL_fieldAccessorTable @@ -18310,6 +23357,7 @@ public final class Mumble { .alwaysUseFieldBuilders) { } } + @java.lang.Override public Builder clear() { super.clear(); applyHere_ = true; @@ -18329,15 +23377,18 @@ public final class Mumble { return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ACL_ChanACL_descriptor; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.ACL.ChanACL getDefaultInstanceForType() { return se.lublin.humla.protobuf.Mumble.ACL.ChanACL.getDefaultInstance(); } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.ACL.ChanACL build() { se.lublin.humla.protobuf.Mumble.ACL.ChanACL result = buildPartial(); if (!result.isInitialized()) { @@ -18346,69 +23397,77 @@ public final class Mumble { return result; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.ACL.ChanACL buildPartial() { se.lublin.humla.protobuf.Mumble.ACL.ChanACL result = new se.lublin.humla.protobuf.Mumble.ACL.ChanACL(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.applyHere_ = applyHere_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.applySubs_ = applySubs_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.inherited_ = inherited_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + if (((from_bitField0_ & 0x00000008) != 0)) { + result.userId_ = userId_; to_bitField0_ |= 0x00000008; } - result.userId_ = userId_; - if (((from_bitField0_ & 0x00000010) == 0x00000010)) { + if (((from_bitField0_ & 0x00000010) != 0)) { to_bitField0_ |= 0x00000010; } result.group_ = group_; - if (((from_bitField0_ & 0x00000020) == 0x00000020)) { + if (((from_bitField0_ & 0x00000020) != 0)) { + result.grant_ = grant_; to_bitField0_ |= 0x00000020; } - result.grant_ = grant_; - if (((from_bitField0_ & 0x00000040) == 0x00000040)) { + if (((from_bitField0_ & 0x00000040) != 0)) { + result.deny_ = deny_; to_bitField0_ |= 0x00000040; } - result.deny_ = deny_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } + @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.setField(field, value); + java.lang.Object value) { + return super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { - return (Builder) super.setRepeatedField(field, index, value); + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.addRepeatedField(field, value); + java.lang.Object value) { + return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof se.lublin.humla.protobuf.Mumble.ACL.ChanACL) { return mergeFrom((se.lublin.humla.protobuf.Mumble.ACL.ChanACL)other); @@ -18448,10 +23507,12 @@ public final class Mumble { return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -18473,19 +23534,35 @@ public final class Mumble { private boolean applyHere_ = true; /** + *
+         * True if this ACL applies to the current channel.
+         * 
+ * * optional bool apply_here = 1 [default = true]; + * @return Whether the applyHere field is set. */ public boolean hasApplyHere() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+         * True if this ACL applies to the current channel.
+         * 
+ * * optional bool apply_here = 1 [default = true]; + * @return The applyHere. */ public boolean getApplyHere() { return applyHere_; } /** + *
+         * True if this ACL applies to the current channel.
+         * 
+ * * optional bool apply_here = 1 [default = true]; + * @param value The applyHere to set. + * @return This builder for chaining. */ public Builder setApplyHere(boolean value) { bitField0_ |= 0x00000001; @@ -18494,7 +23571,12 @@ public final class Mumble { return this; } /** + *
+         * True if this ACL applies to the current channel.
+         * 
+ * * optional bool apply_here = 1 [default = true]; + * @return This builder for chaining. */ public Builder clearApplyHere() { bitField0_ = (bitField0_ & ~0x00000001); @@ -18505,19 +23587,35 @@ public final class Mumble { private boolean applySubs_ = true; /** + *
+         * True if this ACL applies to the sub channels.
+         * 
+ * * optional bool apply_subs = 2 [default = true]; + * @return Whether the applySubs field is set. */ public boolean hasApplySubs() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+         * True if this ACL applies to the sub channels.
+         * 
+ * * optional bool apply_subs = 2 [default = true]; + * @return The applySubs. */ public boolean getApplySubs() { return applySubs_; } /** + *
+         * True if this ACL applies to the sub channels.
+         * 
+ * * optional bool apply_subs = 2 [default = true]; + * @param value The applySubs to set. + * @return This builder for chaining. */ public Builder setApplySubs(boolean value) { bitField0_ |= 0x00000002; @@ -18526,7 +23624,12 @@ public final class Mumble { return this; } /** + *
+         * True if this ACL applies to the sub channels.
+         * 
+ * * optional bool apply_subs = 2 [default = true]; + * @return This builder for chaining. */ public Builder clearApplySubs() { bitField0_ = (bitField0_ & ~0x00000002); @@ -18537,19 +23640,35 @@ public final class Mumble { private boolean inherited_ = true; /** + *
+         * True if the ACL has been inherited from the parent.
+         * 
+ * * optional bool inherited = 3 [default = true]; + * @return Whether the inherited field is set. */ public boolean hasInherited() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** + *
+         * True if the ACL has been inherited from the parent.
+         * 
+ * * optional bool inherited = 3 [default = true]; + * @return The inherited. */ public boolean getInherited() { return inherited_; } /** + *
+         * True if the ACL has been inherited from the parent.
+         * 
+ * * optional bool inherited = 3 [default = true]; + * @param value The inherited to set. + * @return This builder for chaining. */ public Builder setInherited(boolean value) { bitField0_ |= 0x00000004; @@ -18558,7 +23677,12 @@ public final class Mumble { return this; } /** + *
+         * True if the ACL has been inherited from the parent.
+         * 
+ * * optional bool inherited = 3 [default = true]; + * @return This builder for chaining. */ public Builder clearInherited() { bitField0_ = (bitField0_ & ~0x00000004); @@ -18569,19 +23693,35 @@ public final class Mumble { private int userId_ ; /** + *
+         * ID of the user that is affected by this ACL.
+         * 
+ * * optional uint32 user_id = 4; + * @return Whether the userId field is set. */ public boolean hasUserId() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** + *
+         * ID of the user that is affected by this ACL.
+         * 
+ * * optional uint32 user_id = 4; + * @return The userId. */ public int getUserId() { return userId_; } /** + *
+         * ID of the user that is affected by this ACL.
+         * 
+ * * optional uint32 user_id = 4; + * @param value The userId to set. + * @return This builder for chaining. */ public Builder setUserId(int value) { bitField0_ |= 0x00000008; @@ -18590,7 +23730,12 @@ public final class Mumble { return this; } /** + *
+         * ID of the user that is affected by this ACL.
+         * 
+ * * optional uint32 user_id = 4; + * @return This builder for chaining. */ public Builder clearUserId() { bitField0_ = (bitField0_ & ~0x00000008); @@ -18601,13 +23746,23 @@ public final class Mumble { private java.lang.Object group_ = ""; /** + *
+         * ID of the group that is affected by this ACL.
+         * 
+ * * optional string group = 5; + * @return Whether the group field is set. */ public boolean hasGroup() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000010) != 0); } /** + *
+         * ID of the group that is affected by this ACL.
+         * 
+ * * optional string group = 5; + * @return The group. */ public java.lang.String getGroup() { java.lang.Object ref = group_; @@ -18624,7 +23779,12 @@ public final class Mumble { } } /** + *
+         * ID of the group that is affected by this ACL.
+         * 
+ * * optional string group = 5; + * @return The bytes for group. */ public com.google.protobuf.ByteString getGroupBytes() { @@ -18640,7 +23800,13 @@ public final class Mumble { } } /** + *
+         * ID of the group that is affected by this ACL.
+         * 
+ * * optional string group = 5; + * @param value The group to set. + * @return This builder for chaining. */ public Builder setGroup( java.lang.String value) { @@ -18653,7 +23819,12 @@ public final class Mumble { return this; } /** + *
+         * ID of the group that is affected by this ACL.
+         * 
+ * * optional string group = 5; + * @return This builder for chaining. */ public Builder clearGroup() { bitField0_ = (bitField0_ & ~0x00000010); @@ -18662,7 +23833,13 @@ public final class Mumble { return this; } /** + *
+         * ID of the group that is affected by this ACL.
+         * 
+ * * optional string group = 5; + * @param value The bytes for group to set. + * @return This builder for chaining. */ public Builder setGroupBytes( com.google.protobuf.ByteString value) { @@ -18677,19 +23854,35 @@ public final class Mumble { private int grant_ ; /** + *
+         * Bit flag field of the permissions granted by this ACL.
+         * 
+ * * optional uint32 grant = 6; + * @return Whether the grant field is set. */ public boolean hasGrant() { - return ((bitField0_ & 0x00000020) == 0x00000020); + return ((bitField0_ & 0x00000020) != 0); } /** + *
+         * Bit flag field of the permissions granted by this ACL.
+         * 
+ * * optional uint32 grant = 6; + * @return The grant. */ public int getGrant() { return grant_; } /** + *
+         * Bit flag field of the permissions granted by this ACL.
+         * 
+ * * optional uint32 grant = 6; + * @param value The grant to set. + * @return This builder for chaining. */ public Builder setGrant(int value) { bitField0_ |= 0x00000020; @@ -18698,7 +23891,12 @@ public final class Mumble { return this; } /** + *
+         * Bit flag field of the permissions granted by this ACL.
+         * 
+ * * optional uint32 grant = 6; + * @return This builder for chaining. */ public Builder clearGrant() { bitField0_ = (bitField0_ & ~0x00000020); @@ -18709,19 +23907,35 @@ public final class Mumble { private int deny_ ; /** + *
+         * Bit flag field of the permissions denied by this ACL.
+         * 
+ * * optional uint32 deny = 7; + * @return Whether the deny field is set. */ public boolean hasDeny() { - return ((bitField0_ & 0x00000040) == 0x00000040); + return ((bitField0_ & 0x00000040) != 0); } /** + *
+         * Bit flag field of the permissions denied by this ACL.
+         * 
+ * * optional uint32 deny = 7; + * @return The deny. */ public int getDeny() { return deny_; } /** + *
+         * Bit flag field of the permissions denied by this ACL.
+         * 
+ * * optional uint32 deny = 7; + * @param value The deny to set. + * @return This builder for chaining. */ public Builder setDeny(int value) { bitField0_ |= 0x00000040; @@ -18730,7 +23944,12 @@ public final class Mumble { return this; } /** + *
+         * Bit flag field of the permissions denied by this ACL.
+         * 
+ * * optional uint32 deny = 7; + * @return This builder for chaining. */ public Builder clearDeny() { bitField0_ = (bitField0_ & ~0x00000040); @@ -18738,11 +23957,13 @@ public final class Mumble { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -18764,11 +23985,12 @@ public final class Mumble { @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override public ChanACL parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ChanACL(input, extensionRegistry); + return new ChanACL(input, extensionRegistry); } }; @@ -18781,6 +24003,7 @@ public final class Mumble { return PARSER; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.ACL.ChanACL getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -18791,13 +24014,23 @@ public final class Mumble { public static final int CHANNEL_ID_FIELD_NUMBER = 1; private int channelId_; /** + *
+     * Channel ID of the channel this message affects.
+     * 
+ * * required uint32 channel_id = 1; + * @return Whether the channelId field is set. */ public boolean hasChannelId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+     * Channel ID of the channel this message affects.
+     * 
+ * * required uint32 channel_id = 1; + * @return The channelId. */ public int getChannelId() { return channelId_; @@ -18806,13 +24039,23 @@ public final class Mumble { public static final int INHERIT_ACLS_FIELD_NUMBER = 2; private boolean inheritAcls_; /** + *
+     * True if the channel inherits its parent's ACLs.
+     * 
+ * * optional bool inherit_acls = 2 [default = true]; + * @return Whether the inheritAcls field is set. */ public boolean hasInheritAcls() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+     * True if the channel inherits its parent's ACLs.
+     * 
+ * * optional bool inherit_acls = 2 [default = true]; + * @return The inheritAcls. */ public boolean getInheritAcls() { return inheritAcls_; @@ -18821,12 +24064,20 @@ public final class Mumble { public static final int GROUPS_FIELD_NUMBER = 3; private java.util.List groups_; /** + *
+     * User group specifications.
+     * 
+ * * repeated .MumbleProto.ACL.ChanGroup groups = 3; */ public java.util.List getGroupsList() { return groups_; } /** + *
+     * User group specifications.
+     * 
+ * * repeated .MumbleProto.ACL.ChanGroup groups = 3; */ public java.util.List @@ -18834,18 +24085,30 @@ public final class Mumble { return groups_; } /** + *
+     * User group specifications.
+     * 
+ * * repeated .MumbleProto.ACL.ChanGroup groups = 3; */ public int getGroupsCount() { return groups_.size(); } /** + *
+     * User group specifications.
+     * 
+ * * repeated .MumbleProto.ACL.ChanGroup groups = 3; */ public se.lublin.humla.protobuf.Mumble.ACL.ChanGroup getGroups(int index) { return groups_.get(index); } /** + *
+     * User group specifications.
+     * 
+ * * repeated .MumbleProto.ACL.ChanGroup groups = 3; */ public se.lublin.humla.protobuf.Mumble.ACL.ChanGroupOrBuilder getGroupsOrBuilder( @@ -18856,12 +24119,20 @@ public final class Mumble { public static final int ACLS_FIELD_NUMBER = 4; private java.util.List acls_; /** + *
+     * ACL specifications.
+     * 
+ * * repeated .MumbleProto.ACL.ChanACL acls = 4; */ public java.util.List getAclsList() { return acls_; } /** + *
+     * ACL specifications.
+     * 
+ * * repeated .MumbleProto.ACL.ChanACL acls = 4; */ public java.util.List @@ -18869,18 +24140,30 @@ public final class Mumble { return acls_; } /** + *
+     * ACL specifications.
+     * 
+ * * repeated .MumbleProto.ACL.ChanACL acls = 4; */ public int getAclsCount() { return acls_.size(); } /** + *
+     * ACL specifications.
+     * 
+ * * repeated .MumbleProto.ACL.ChanACL acls = 4; */ public se.lublin.humla.protobuf.Mumble.ACL.ChanACL getAcls(int index) { return acls_.get(index); } /** + *
+     * ACL specifications.
+     * 
+ * * repeated .MumbleProto.ACL.ChanACL acls = 4; */ public se.lublin.humla.protobuf.Mumble.ACL.ChanACLOrBuilder getAclsOrBuilder( @@ -18891,19 +24174,30 @@ public final class Mumble { public static final int QUERY_FIELD_NUMBER = 5; private boolean query_; /** + *
+     * True if the message is a query for ACLs instead of setting them.
+     * 
+ * * optional bool query = 5 [default = false]; + * @return Whether the query field is set. */ public boolean hasQuery() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** + *
+     * True if the message is a query for ACLs instead of setting them.
+     * 
+ * * optional bool query = 5 [default = false]; + * @return The query. */ public boolean getQuery() { return query_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -18923,12 +24217,13 @@ public final class Mumble { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, channelId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeBool(2, inheritAcls_); } for (int i = 0; i < groups_.size(); i++) { @@ -18937,22 +24232,23 @@ public final class Mumble { for (int i = 0; i < acls_.size(); i++) { output.writeMessage(4, acls_.get(i)); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeBool(5, query_); } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, channelId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, inheritAcls_); } @@ -18964,7 +24260,7 @@ public final class Mumble { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, acls_.get(i)); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(5, query_); } @@ -18973,7 +24269,6 @@ public final class Mumble { return size; } - private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { @@ -18984,28 +24279,27 @@ public final class Mumble { } se.lublin.humla.protobuf.Mumble.ACL other = (se.lublin.humla.protobuf.Mumble.ACL) obj; - boolean result = true; - result = result && (hasChannelId() == other.hasChannelId()); + if (hasChannelId() != other.hasChannelId()) return false; if (hasChannelId()) { - result = result && (getChannelId() - == other.getChannelId()); + if (getChannelId() + != other.getChannelId()) return false; } - result = result && (hasInheritAcls() == other.hasInheritAcls()); + if (hasInheritAcls() != other.hasInheritAcls()) return false; if (hasInheritAcls()) { - result = result && (getInheritAcls() - == other.getInheritAcls()); - } - result = result && getGroupsList() - .equals(other.getGroupsList()); - result = result && getAclsList() - .equals(other.getAclsList()); - result = result && (hasQuery() == other.hasQuery()); + if (getInheritAcls() + != other.getInheritAcls()) return false; + } + if (!getGroupsList() + .equals(other.getGroupsList())) return false; + if (!getAclsList() + .equals(other.getAclsList())) return false; + if (hasQuery() != other.hasQuery()) return false; if (hasQuery()) { - result = result && (getQuery() - == other.getQuery()); + if (getQuery() + != other.getQuery()) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -19014,7 +24308,7 @@ public final class Mumble { return memoizedHashCode; } int hash = 41; - hash = (19 * hash) + getDescriptorForType().hashCode(); + hash = (19 * hash) + getDescriptor().hashCode(); if (hasChannelId()) { hash = (37 * hash) + CHANNEL_ID_FIELD_NUMBER; hash = (53 * hash) + getChannelId(); @@ -19042,6 +24336,17 @@ public final class Mumble { return hash; } + public static se.lublin.humla.protobuf.Mumble.ACL parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static se.lublin.humla.protobuf.Mumble.ACL parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static se.lublin.humla.protobuf.Mumble.ACL parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -19101,6 +24406,7 @@ public final class Mumble { .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); @@ -19108,6 +24414,7 @@ public final class Mumble { public static Builder newBuilder(se.lublin.humla.protobuf.Mumble.ACL prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -19131,6 +24438,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ACL_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ACL_fieldAccessorTable @@ -19155,6 +24463,7 @@ public final class Mumble { getAclsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); channelId_ = 0; @@ -19178,15 +24487,18 @@ public final class Mumble { return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ACL_descriptor; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.ACL getDefaultInstanceForType() { return se.lublin.humla.protobuf.Mumble.ACL.getDefaultInstance(); } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.ACL build() { se.lublin.humla.protobuf.Mumble.ACL result = buildPartial(); if (!result.isInitialized()) { @@ -19195,20 +24507,21 @@ public final class Mumble { return result; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.ACL buildPartial() { se.lublin.humla.protobuf.Mumble.ACL result = new se.lublin.humla.protobuf.Mumble.ACL(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.channelId_ = channelId_; to_bitField0_ |= 0x00000001; } - result.channelId_ = channelId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.inheritAcls_ = inheritAcls_; if (groupsBuilder_ == null) { - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { groups_ = java.util.Collections.unmodifiableList(groups_); bitField0_ = (bitField0_ & ~0x00000004); } @@ -19217,7 +24530,7 @@ public final class Mumble { result.groups_ = groupsBuilder_.build(); } if (aclsBuilder_ == null) { - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { acls_ = java.util.Collections.unmodifiableList(acls_); bitField0_ = (bitField0_ & ~0x00000008); } @@ -19225,41 +24538,48 @@ public final class Mumble { } else { result.acls_ = aclsBuilder_.build(); } - if (((from_bitField0_ & 0x00000010) == 0x00000010)) { + if (((from_bitField0_ & 0x00000010) != 0)) { + result.query_ = query_; to_bitField0_ |= 0x00000004; } - result.query_ = query_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } + @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.setField(field, value); + java.lang.Object value) { + return super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { - return (Builder) super.setRepeatedField(field, index, value); + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.addRepeatedField(field, value); + java.lang.Object value) { + return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof se.lublin.humla.protobuf.Mumble.ACL) { return mergeFrom((se.lublin.humla.protobuf.Mumble.ACL)other); @@ -19337,6 +24657,7 @@ public final class Mumble { return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasChannelId()) { return false; @@ -19349,6 +24670,7 @@ public final class Mumble { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -19370,19 +24692,35 @@ public final class Mumble { private int channelId_ ; /** + *
+       * Channel ID of the channel this message affects.
+       * 
+ * * required uint32 channel_id = 1; + * @return Whether the channelId field is set. */ public boolean hasChannelId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+       * Channel ID of the channel this message affects.
+       * 
+ * * required uint32 channel_id = 1; + * @return The channelId. */ public int getChannelId() { return channelId_; } /** + *
+       * Channel ID of the channel this message affects.
+       * 
+ * * required uint32 channel_id = 1; + * @param value The channelId to set. + * @return This builder for chaining. */ public Builder setChannelId(int value) { bitField0_ |= 0x00000001; @@ -19391,7 +24729,12 @@ public final class Mumble { return this; } /** + *
+       * Channel ID of the channel this message affects.
+       * 
+ * * required uint32 channel_id = 1; + * @return This builder for chaining. */ public Builder clearChannelId() { bitField0_ = (bitField0_ & ~0x00000001); @@ -19402,19 +24745,35 @@ public final class Mumble { private boolean inheritAcls_ = true; /** + *
+       * True if the channel inherits its parent's ACLs.
+       * 
+ * * optional bool inherit_acls = 2 [default = true]; + * @return Whether the inheritAcls field is set. */ public boolean hasInheritAcls() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+       * True if the channel inherits its parent's ACLs.
+       * 
+ * * optional bool inherit_acls = 2 [default = true]; + * @return The inheritAcls. */ public boolean getInheritAcls() { return inheritAcls_; } /** + *
+       * True if the channel inherits its parent's ACLs.
+       * 
+ * * optional bool inherit_acls = 2 [default = true]; + * @param value The inheritAcls to set. + * @return This builder for chaining. */ public Builder setInheritAcls(boolean value) { bitField0_ |= 0x00000002; @@ -19423,7 +24782,12 @@ public final class Mumble { return this; } /** + *
+       * True if the channel inherits its parent's ACLs.
+       * 
+ * * optional bool inherit_acls = 2 [default = true]; + * @return This builder for chaining. */ public Builder clearInheritAcls() { bitField0_ = (bitField0_ & ~0x00000002); @@ -19435,7 +24799,7 @@ public final class Mumble { private java.util.List groups_ = java.util.Collections.emptyList(); private void ensureGroupsIsMutable() { - if (!((bitField0_ & 0x00000004) == 0x00000004)) { + if (!((bitField0_ & 0x00000004) != 0)) { groups_ = new java.util.ArrayList(groups_); bitField0_ |= 0x00000004; } @@ -19445,6 +24809,10 @@ public final class Mumble { se.lublin.humla.protobuf.Mumble.ACL.ChanGroup, se.lublin.humla.protobuf.Mumble.ACL.ChanGroup.Builder, se.lublin.humla.protobuf.Mumble.ACL.ChanGroupOrBuilder> groupsBuilder_; /** + *
+       * User group specifications.
+       * 
+ * * repeated .MumbleProto.ACL.ChanGroup groups = 3; */ public java.util.List getGroupsList() { @@ -19455,6 +24823,10 @@ public final class Mumble { } } /** + *
+       * User group specifications.
+       * 
+ * * repeated .MumbleProto.ACL.ChanGroup groups = 3; */ public int getGroupsCount() { @@ -19465,6 +24837,10 @@ public final class Mumble { } } /** + *
+       * User group specifications.
+       * 
+ * * repeated .MumbleProto.ACL.ChanGroup groups = 3; */ public se.lublin.humla.protobuf.Mumble.ACL.ChanGroup getGroups(int index) { @@ -19475,6 +24851,10 @@ public final class Mumble { } } /** + *
+       * User group specifications.
+       * 
+ * * repeated .MumbleProto.ACL.ChanGroup groups = 3; */ public Builder setGroups( @@ -19492,6 +24872,10 @@ public final class Mumble { return this; } /** + *
+       * User group specifications.
+       * 
+ * * repeated .MumbleProto.ACL.ChanGroup groups = 3; */ public Builder setGroups( @@ -19506,6 +24890,10 @@ public final class Mumble { return this; } /** + *
+       * User group specifications.
+       * 
+ * * repeated .MumbleProto.ACL.ChanGroup groups = 3; */ public Builder addGroups(se.lublin.humla.protobuf.Mumble.ACL.ChanGroup value) { @@ -19522,6 +24910,10 @@ public final class Mumble { return this; } /** + *
+       * User group specifications.
+       * 
+ * * repeated .MumbleProto.ACL.ChanGroup groups = 3; */ public Builder addGroups( @@ -19539,6 +24931,10 @@ public final class Mumble { return this; } /** + *
+       * User group specifications.
+       * 
+ * * repeated .MumbleProto.ACL.ChanGroup groups = 3; */ public Builder addGroups( @@ -19553,6 +24949,10 @@ public final class Mumble { return this; } /** + *
+       * User group specifications.
+       * 
+ * * repeated .MumbleProto.ACL.ChanGroup groups = 3; */ public Builder addGroups( @@ -19567,6 +24967,10 @@ public final class Mumble { return this; } /** + *
+       * User group specifications.
+       * 
+ * * repeated .MumbleProto.ACL.ChanGroup groups = 3; */ public Builder addAllGroups( @@ -19582,6 +24986,10 @@ public final class Mumble { return this; } /** + *
+       * User group specifications.
+       * 
+ * * repeated .MumbleProto.ACL.ChanGroup groups = 3; */ public Builder clearGroups() { @@ -19595,6 +25003,10 @@ public final class Mumble { return this; } /** + *
+       * User group specifications.
+       * 
+ * * repeated .MumbleProto.ACL.ChanGroup groups = 3; */ public Builder removeGroups(int index) { @@ -19608,6 +25020,10 @@ public final class Mumble { return this; } /** + *
+       * User group specifications.
+       * 
+ * * repeated .MumbleProto.ACL.ChanGroup groups = 3; */ public se.lublin.humla.protobuf.Mumble.ACL.ChanGroup.Builder getGroupsBuilder( @@ -19615,6 +25031,10 @@ public final class Mumble { return getGroupsFieldBuilder().getBuilder(index); } /** + *
+       * User group specifications.
+       * 
+ * * repeated .MumbleProto.ACL.ChanGroup groups = 3; */ public se.lublin.humla.protobuf.Mumble.ACL.ChanGroupOrBuilder getGroupsOrBuilder( @@ -19625,6 +25045,10 @@ public final class Mumble { } } /** + *
+       * User group specifications.
+       * 
+ * * repeated .MumbleProto.ACL.ChanGroup groups = 3; */ public java.util.List @@ -19636,6 +25060,10 @@ public final class Mumble { } } /** + *
+       * User group specifications.
+       * 
+ * * repeated .MumbleProto.ACL.ChanGroup groups = 3; */ public se.lublin.humla.protobuf.Mumble.ACL.ChanGroup.Builder addGroupsBuilder() { @@ -19643,6 +25071,10 @@ public final class Mumble { se.lublin.humla.protobuf.Mumble.ACL.ChanGroup.getDefaultInstance()); } /** + *
+       * User group specifications.
+       * 
+ * * repeated .MumbleProto.ACL.ChanGroup groups = 3; */ public se.lublin.humla.protobuf.Mumble.ACL.ChanGroup.Builder addGroupsBuilder( @@ -19651,6 +25083,10 @@ public final class Mumble { index, se.lublin.humla.protobuf.Mumble.ACL.ChanGroup.getDefaultInstance()); } /** + *
+       * User group specifications.
+       * 
+ * * repeated .MumbleProto.ACL.ChanGroup groups = 3; */ public java.util.List @@ -19664,7 +25100,7 @@ public final class Mumble { groupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< se.lublin.humla.protobuf.Mumble.ACL.ChanGroup, se.lublin.humla.protobuf.Mumble.ACL.ChanGroup.Builder, se.lublin.humla.protobuf.Mumble.ACL.ChanGroupOrBuilder>( groups_, - ((bitField0_ & 0x00000004) == 0x00000004), + ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); groups_ = null; @@ -19675,7 +25111,7 @@ public final class Mumble { private java.util.List acls_ = java.util.Collections.emptyList(); private void ensureAclsIsMutable() { - if (!((bitField0_ & 0x00000008) == 0x00000008)) { + if (!((bitField0_ & 0x00000008) != 0)) { acls_ = new java.util.ArrayList(acls_); bitField0_ |= 0x00000008; } @@ -19685,6 +25121,10 @@ public final class Mumble { se.lublin.humla.protobuf.Mumble.ACL.ChanACL, se.lublin.humla.protobuf.Mumble.ACL.ChanACL.Builder, se.lublin.humla.protobuf.Mumble.ACL.ChanACLOrBuilder> aclsBuilder_; /** + *
+       * ACL specifications.
+       * 
+ * * repeated .MumbleProto.ACL.ChanACL acls = 4; */ public java.util.List getAclsList() { @@ -19695,6 +25135,10 @@ public final class Mumble { } } /** + *
+       * ACL specifications.
+       * 
+ * * repeated .MumbleProto.ACL.ChanACL acls = 4; */ public int getAclsCount() { @@ -19705,6 +25149,10 @@ public final class Mumble { } } /** + *
+       * ACL specifications.
+       * 
+ * * repeated .MumbleProto.ACL.ChanACL acls = 4; */ public se.lublin.humla.protobuf.Mumble.ACL.ChanACL getAcls(int index) { @@ -19715,6 +25163,10 @@ public final class Mumble { } } /** + *
+       * ACL specifications.
+       * 
+ * * repeated .MumbleProto.ACL.ChanACL acls = 4; */ public Builder setAcls( @@ -19732,6 +25184,10 @@ public final class Mumble { return this; } /** + *
+       * ACL specifications.
+       * 
+ * * repeated .MumbleProto.ACL.ChanACL acls = 4; */ public Builder setAcls( @@ -19746,6 +25202,10 @@ public final class Mumble { return this; } /** + *
+       * ACL specifications.
+       * 
+ * * repeated .MumbleProto.ACL.ChanACL acls = 4; */ public Builder addAcls(se.lublin.humla.protobuf.Mumble.ACL.ChanACL value) { @@ -19762,6 +25222,10 @@ public final class Mumble { return this; } /** + *
+       * ACL specifications.
+       * 
+ * * repeated .MumbleProto.ACL.ChanACL acls = 4; */ public Builder addAcls( @@ -19779,6 +25243,10 @@ public final class Mumble { return this; } /** + *
+       * ACL specifications.
+       * 
+ * * repeated .MumbleProto.ACL.ChanACL acls = 4; */ public Builder addAcls( @@ -19793,6 +25261,10 @@ public final class Mumble { return this; } /** + *
+       * ACL specifications.
+       * 
+ * * repeated .MumbleProto.ACL.ChanACL acls = 4; */ public Builder addAcls( @@ -19807,6 +25279,10 @@ public final class Mumble { return this; } /** + *
+       * ACL specifications.
+       * 
+ * * repeated .MumbleProto.ACL.ChanACL acls = 4; */ public Builder addAllAcls( @@ -19822,6 +25298,10 @@ public final class Mumble { return this; } /** + *
+       * ACL specifications.
+       * 
+ * * repeated .MumbleProto.ACL.ChanACL acls = 4; */ public Builder clearAcls() { @@ -19835,6 +25315,10 @@ public final class Mumble { return this; } /** + *
+       * ACL specifications.
+       * 
+ * * repeated .MumbleProto.ACL.ChanACL acls = 4; */ public Builder removeAcls(int index) { @@ -19848,6 +25332,10 @@ public final class Mumble { return this; } /** + *
+       * ACL specifications.
+       * 
+ * * repeated .MumbleProto.ACL.ChanACL acls = 4; */ public se.lublin.humla.protobuf.Mumble.ACL.ChanACL.Builder getAclsBuilder( @@ -19855,6 +25343,10 @@ public final class Mumble { return getAclsFieldBuilder().getBuilder(index); } /** + *
+       * ACL specifications.
+       * 
+ * * repeated .MumbleProto.ACL.ChanACL acls = 4; */ public se.lublin.humla.protobuf.Mumble.ACL.ChanACLOrBuilder getAclsOrBuilder( @@ -19865,6 +25357,10 @@ public final class Mumble { } } /** + *
+       * ACL specifications.
+       * 
+ * * repeated .MumbleProto.ACL.ChanACL acls = 4; */ public java.util.List @@ -19876,6 +25372,10 @@ public final class Mumble { } } /** + *
+       * ACL specifications.
+       * 
+ * * repeated .MumbleProto.ACL.ChanACL acls = 4; */ public se.lublin.humla.protobuf.Mumble.ACL.ChanACL.Builder addAclsBuilder() { @@ -19883,6 +25383,10 @@ public final class Mumble { se.lublin.humla.protobuf.Mumble.ACL.ChanACL.getDefaultInstance()); } /** + *
+       * ACL specifications.
+       * 
+ * * repeated .MumbleProto.ACL.ChanACL acls = 4; */ public se.lublin.humla.protobuf.Mumble.ACL.ChanACL.Builder addAclsBuilder( @@ -19891,6 +25395,10 @@ public final class Mumble { index, se.lublin.humla.protobuf.Mumble.ACL.ChanACL.getDefaultInstance()); } /** + *
+       * ACL specifications.
+       * 
+ * * repeated .MumbleProto.ACL.ChanACL acls = 4; */ public java.util.List @@ -19904,7 +25412,7 @@ public final class Mumble { aclsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< se.lublin.humla.protobuf.Mumble.ACL.ChanACL, se.lublin.humla.protobuf.Mumble.ACL.ChanACL.Builder, se.lublin.humla.protobuf.Mumble.ACL.ChanACLOrBuilder>( acls_, - ((bitField0_ & 0x00000008) == 0x00000008), + ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); acls_ = null; @@ -19914,19 +25422,35 @@ public final class Mumble { private boolean query_ ; /** + *
+       * True if the message is a query for ACLs instead of setting them.
+       * 
+ * * optional bool query = 5 [default = false]; + * @return Whether the query field is set. */ public boolean hasQuery() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000010) != 0); } /** + *
+       * True if the message is a query for ACLs instead of setting them.
+       * 
+ * * optional bool query = 5 [default = false]; + * @return The query. */ public boolean getQuery() { return query_; } /** + *
+       * True if the message is a query for ACLs instead of setting them.
+       * 
+ * * optional bool query = 5 [default = false]; + * @param value The query to set. + * @return This builder for chaining. */ public Builder setQuery(boolean value) { bitField0_ |= 0x00000010; @@ -19935,7 +25459,12 @@ public final class Mumble { return this; } /** + *
+       * True if the message is a query for ACLs instead of setting them.
+       * 
+ * * optional bool query = 5 [default = false]; + * @return This builder for chaining. */ public Builder clearQuery() { bitField0_ = (bitField0_ & ~0x00000010); @@ -19943,11 +25472,13 @@ public final class Mumble { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -19969,11 +25500,12 @@ public final class Mumble { @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override public ACL parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ACL(input, extensionRegistry); + return new ACL(input, extensionRegistry); } }; @@ -19986,6 +25518,7 @@ public final class Mumble { return PARSER; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.ACL getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -19997,53 +25530,105 @@ public final class Mumble { com.google.protobuf.MessageOrBuilder { /** + *
+     * user_ids.
+     * 
+ * * repeated uint32 ids = 1; + * @return A list containing the ids. */ java.util.List getIdsList(); /** + *
+     * user_ids.
+     * 
+ * * repeated uint32 ids = 1; + * @return The count of ids. */ int getIdsCount(); /** + *
+     * user_ids.
+     * 
+ * * repeated uint32 ids = 1; + * @param index The index of the element to return. + * @return The ids at the given index. */ int getIds(int index); /** + *
+     * User names in the same order as ids.
+     * 
+ * * repeated string names = 2; + * @return A list containing the names. */ java.util.List getNamesList(); /** + *
+     * User names in the same order as ids.
+     * 
+ * * repeated string names = 2; + * @return The count of names. */ int getNamesCount(); /** + *
+     * User names in the same order as ids.
+     * 
+ * * repeated string names = 2; + * @param index The index of the element to return. + * @return The names at the given index. */ java.lang.String getNames(int index); /** + *
+     * User names in the same order as ids.
+     * 
+ * * repeated string names = 2; + * @param index The index of the value to return. + * @return The bytes of the names at the given index. */ com.google.protobuf.ByteString getNamesBytes(int index); } /** + *
+   * Client may use this message to refresh its registered user information. The
+   * client should fill the IDs or Names of the users it wants to refresh. The
+   * server fills the missing parts and sends the message back.
+   * 
+ * * Protobuf type {@code MumbleProto.QueryUsers} */ public static final class QueryUsers extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:MumbleProto.QueryUsers) QueryUsersOrBuilder { + private static final long serialVersionUID = 0L; // Use QueryUsers.newBuilder() to construct. private QueryUsers(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryUsers() { - ids_ = java.util.Collections.emptyList(); + ids_ = emptyIntList(); names_ = com.google.protobuf.LazyStringArrayList.EMPTY; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new QueryUsers(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { @@ -20054,6 +25639,9 @@ public final class Mumble { com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -20065,43 +25653,43 @@ public final class Mumble { case 0: done = true; break; - default: { - if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { - if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { - ids_ = new java.util.ArrayList(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + ids_ = newIntList(); mutable_bitField0_ |= 0x00000001; } - ids_.add(input.readUInt32()); + ids_.addInt(input.readUInt32()); break; } case 10: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) { - ids_ = new java.util.ArrayList(); + if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { + ids_ = newIntList(); mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { - ids_.add(input.readUInt32()); + ids_.addInt(input.readUInt32()); } input.popLimit(limit); break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); - if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { names_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000002; } names_.add(bs); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -20110,10 +25698,10 @@ public final class Mumble { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { - ids_ = java.util.Collections.unmodifiableList(ids_); + if (((mutable_bitField0_ & 0x00000001) != 0)) { + ids_.makeImmutable(); // C } - if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + if (((mutable_bitField0_ & 0x00000002) != 0)) { names_ = names_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -20125,6 +25713,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_QueryUsers_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_QueryUsers_fieldAccessorTable @@ -20133,50 +25722,88 @@ public final class Mumble { } public static final int IDS_FIELD_NUMBER = 1; - private java.util.List ids_; + private com.google.protobuf.Internal.IntList ids_; /** + *
+     * user_ids.
+     * 
+ * * repeated uint32 ids = 1; + * @return A list containing the ids. */ public java.util.List getIdsList() { return ids_; } /** + *
+     * user_ids.
+     * 
+ * * repeated uint32 ids = 1; + * @return The count of ids. */ public int getIdsCount() { return ids_.size(); } /** + *
+     * user_ids.
+     * 
+ * * repeated uint32 ids = 1; + * @param index The index of the element to return. + * @return The ids at the given index. */ public int getIds(int index) { - return ids_.get(index); + return ids_.getInt(index); } public static final int NAMES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList names_; /** + *
+     * User names in the same order as ids.
+     * 
+ * * repeated string names = 2; + * @return A list containing the names. */ public com.google.protobuf.ProtocolStringList getNamesList() { return names_; } /** + *
+     * User names in the same order as ids.
+     * 
+ * * repeated string names = 2; + * @return The count of names. */ public int getNamesCount() { return names_.size(); } /** + *
+     * User names in the same order as ids.
+     * 
+ * * repeated string names = 2; + * @param index The index of the element to return. + * @return The names at the given index. */ public java.lang.String getNames(int index) { return names_.get(index); } /** + *
+     * User names in the same order as ids.
+     * 
+ * * repeated string names = 2; + * @param index The index of the value to return. + * @return The bytes of the names at the given index. */ public com.google.protobuf.ByteString getNamesBytes(int index) { @@ -20184,6 +25811,7 @@ public final class Mumble { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -20193,10 +25821,11 @@ public final class Mumble { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < ids_.size(); i++) { - output.writeUInt32(1, ids_.get(i)); + output.writeUInt32(1, ids_.getInt(i)); } for (int i = 0; i < names_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, names_.getRaw(i)); @@ -20204,6 +25833,7 @@ public final class Mumble { unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; @@ -20213,7 +25843,7 @@ public final class Mumble { int dataSize = 0; for (int i = 0; i < ids_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(ids_.get(i)); + .computeUInt32SizeNoTag(ids_.getInt(i)); } size += dataSize; size += 1 * getIdsList().size(); @@ -20231,7 +25861,6 @@ public final class Mumble { return size; } - private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { @@ -20242,13 +25871,12 @@ public final class Mumble { } se.lublin.humla.protobuf.Mumble.QueryUsers other = (se.lublin.humla.protobuf.Mumble.QueryUsers) obj; - boolean result = true; - result = result && getIdsList() - .equals(other.getIdsList()); - result = result && getNamesList() - .equals(other.getNamesList()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getIdsList() + .equals(other.getIdsList())) return false; + if (!getNamesList() + .equals(other.getNamesList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -20257,7 +25885,7 @@ public final class Mumble { return memoizedHashCode; } int hash = 41; - hash = (19 * hash) + getDescriptorForType().hashCode(); + hash = (19 * hash) + getDescriptor().hashCode(); if (getIdsCount() > 0) { hash = (37 * hash) + IDS_FIELD_NUMBER; hash = (53 * hash) + getIdsList().hashCode(); @@ -20271,6 +25899,17 @@ public final class Mumble { return hash; } + public static se.lublin.humla.protobuf.Mumble.QueryUsers parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static se.lublin.humla.protobuf.Mumble.QueryUsers parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static se.lublin.humla.protobuf.Mumble.QueryUsers parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -20330,6 +25969,7 @@ public final class Mumble { .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); @@ -20337,6 +25977,7 @@ public final class Mumble { public static Builder newBuilder(se.lublin.humla.protobuf.Mumble.QueryUsers prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -20349,6 +25990,12 @@ public final class Mumble { return builder; } /** + *
+     * Client may use this message to refresh its registered user information. The
+     * client should fill the IDs or Names of the users it wants to refresh. The
+     * server fills the missing parts and sends the message back.
+     * 
+ * * Protobuf type {@code MumbleProto.QueryUsers} */ public static final class Builder extends @@ -20360,6 +26007,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_QueryUsers_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_QueryUsers_fieldAccessorTable @@ -20382,24 +26030,28 @@ public final class Mumble { .alwaysUseFieldBuilders) { } } + @java.lang.Override public Builder clear() { super.clear(); - ids_ = java.util.Collections.emptyList(); + ids_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000001); names_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_QueryUsers_descriptor; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.QueryUsers getDefaultInstanceForType() { return se.lublin.humla.protobuf.Mumble.QueryUsers.getDefaultInstance(); } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.QueryUsers build() { se.lublin.humla.protobuf.Mumble.QueryUsers result = buildPartial(); if (!result.isInitialized()) { @@ -20408,15 +26060,16 @@ public final class Mumble { return result; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.QueryUsers buildPartial() { se.lublin.humla.protobuf.Mumble.QueryUsers result = new se.lublin.humla.protobuf.Mumble.QueryUsers(this); int from_bitField0_ = bitField0_; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - ids_ = java.util.Collections.unmodifiableList(ids_); + if (((bitField0_ & 0x00000001) != 0)) { + ids_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000001); } result.ids_ = ids_; - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { names_ = names_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); } @@ -20425,32 +26078,39 @@ public final class Mumble { return result; } + @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.setField(field, value); + java.lang.Object value) { + return super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { - return (Builder) super.setRepeatedField(field, index, value); + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.addRepeatedField(field, value); + java.lang.Object value) { + return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof se.lublin.humla.protobuf.Mumble.QueryUsers) { return mergeFrom((se.lublin.humla.protobuf.Mumble.QueryUsers)other); @@ -20487,10 +26147,12 @@ public final class Mumble { return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -20510,53 +26172,89 @@ public final class Mumble { } private int bitField0_; - private java.util.List ids_ = java.util.Collections.emptyList(); + private com.google.protobuf.Internal.IntList ids_ = emptyIntList(); private void ensureIdsIsMutable() { - if (!((bitField0_ & 0x00000001) == 0x00000001)) { - ids_ = new java.util.ArrayList(ids_); + if (!((bitField0_ & 0x00000001) != 0)) { + ids_ = mutableCopy(ids_); bitField0_ |= 0x00000001; } } /** + *
+       * user_ids.
+       * 
+ * * repeated uint32 ids = 1; + * @return A list containing the ids. */ public java.util.List getIdsList() { - return java.util.Collections.unmodifiableList(ids_); + return ((bitField0_ & 0x00000001) != 0) ? + java.util.Collections.unmodifiableList(ids_) : ids_; } /** + *
+       * user_ids.
+       * 
+ * * repeated uint32 ids = 1; + * @return The count of ids. */ public int getIdsCount() { return ids_.size(); } /** + *
+       * user_ids.
+       * 
+ * * repeated uint32 ids = 1; + * @param index The index of the element to return. + * @return The ids at the given index. */ public int getIds(int index) { - return ids_.get(index); + return ids_.getInt(index); } /** + *
+       * user_ids.
+       * 
+ * * repeated uint32 ids = 1; + * @param index The index to set the value at. + * @param value The ids to set. + * @return This builder for chaining. */ public Builder setIds( int index, int value) { ensureIdsIsMutable(); - ids_.set(index, value); + ids_.setInt(index, value); onChanged(); return this; } /** + *
+       * user_ids.
+       * 
+ * * repeated uint32 ids = 1; + * @param value The ids to add. + * @return This builder for chaining. */ public Builder addIds(int value) { ensureIdsIsMutable(); - ids_.add(value); + ids_.addInt(value); onChanged(); return this; } /** + *
+       * user_ids.
+       * 
+ * * repeated uint32 ids = 1; + * @param values The ids to add. + * @return This builder for chaining. */ public Builder addAllIds( java.lang.Iterable values) { @@ -20567,10 +26265,15 @@ public final class Mumble { return this; } /** + *
+       * user_ids.
+       * 
+ * * repeated uint32 ids = 1; + * @return This builder for chaining. */ public Builder clearIds() { - ids_ = java.util.Collections.emptyList(); + ids_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; @@ -20578,39 +26281,68 @@ public final class Mumble { private com.google.protobuf.LazyStringList names_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureNamesIsMutable() { - if (!((bitField0_ & 0x00000002) == 0x00000002)) { + if (!((bitField0_ & 0x00000002) != 0)) { names_ = new com.google.protobuf.LazyStringArrayList(names_); bitField0_ |= 0x00000002; } } /** + *
+       * User names in the same order as ids.
+       * 
+ * * repeated string names = 2; + * @return A list containing the names. */ public com.google.protobuf.ProtocolStringList getNamesList() { return names_.getUnmodifiableView(); } /** + *
+       * User names in the same order as ids.
+       * 
+ * * repeated string names = 2; + * @return The count of names. */ public int getNamesCount() { return names_.size(); } /** + *
+       * User names in the same order as ids.
+       * 
+ * * repeated string names = 2; + * @param index The index of the element to return. + * @return The names at the given index. */ public java.lang.String getNames(int index) { return names_.get(index); } /** + *
+       * User names in the same order as ids.
+       * 
+ * * repeated string names = 2; + * @param index The index of the value to return. + * @return The bytes of the names at the given index. */ public com.google.protobuf.ByteString getNamesBytes(int index) { return names_.getByteString(index); } /** + *
+       * User names in the same order as ids.
+       * 
+ * * repeated string names = 2; + * @param index The index to set the value at. + * @param value The names to set. + * @return This builder for chaining. */ public Builder setNames( int index, java.lang.String value) { @@ -20623,7 +26355,13 @@ public final class Mumble { return this; } /** + *
+       * User names in the same order as ids.
+       * 
+ * * repeated string names = 2; + * @param value The names to add. + * @return This builder for chaining. */ public Builder addNames( java.lang.String value) { @@ -20636,7 +26374,13 @@ public final class Mumble { return this; } /** + *
+       * User names in the same order as ids.
+       * 
+ * * repeated string names = 2; + * @param values The names to add. + * @return This builder for chaining. */ public Builder addAllNames( java.lang.Iterable values) { @@ -20647,7 +26391,12 @@ public final class Mumble { return this; } /** + *
+       * User names in the same order as ids.
+       * 
+ * * repeated string names = 2; + * @return This builder for chaining. */ public Builder clearNames() { names_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -20656,7 +26405,13 @@ public final class Mumble { return this; } /** + *
+       * User names in the same order as ids.
+       * 
+ * * repeated string names = 2; + * @param value The bytes of the names to add. + * @return This builder for chaining. */ public Builder addNamesBytes( com.google.protobuf.ByteString value) { @@ -20668,11 +26423,13 @@ public final class Mumble { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -20694,11 +26451,12 @@ public final class Mumble { @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override public QueryUsers parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new QueryUsers(input, extensionRegistry); + return new QueryUsers(input, extensionRegistry); } }; @@ -20711,6 +26469,7 @@ public final class Mumble { return PARSER; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.QueryUsers getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -20722,39 +26481,77 @@ public final class Mumble { com.google.protobuf.MessageOrBuilder { /** + *
+     * Encryption key.
+     * 
+ * * optional bytes key = 1; + * @return Whether the key field is set. */ boolean hasKey(); /** + *
+     * Encryption key.
+     * 
+ * * optional bytes key = 1; + * @return The key. */ com.google.protobuf.ByteString getKey(); /** + *
+     * Client nonce.
+     * 
+ * * optional bytes client_nonce = 2; + * @return Whether the clientNonce field is set. */ boolean hasClientNonce(); /** + *
+     * Client nonce.
+     * 
+ * * optional bytes client_nonce = 2; + * @return The clientNonce. */ com.google.protobuf.ByteString getClientNonce(); /** + *
+     * Server nonce.
+     * 
+ * * optional bytes server_nonce = 3; + * @return Whether the serverNonce field is set. */ boolean hasServerNonce(); /** + *
+     * Server nonce.
+     * 
+ * * optional bytes server_nonce = 3; + * @return The serverNonce. */ com.google.protobuf.ByteString getServerNonce(); } /** + *
+   * Used to initialize and resync the UDP encryption. Either side may request a
+   * resync by sending the message without any values filled. The resync is
+   * performed by sending the message with only the client or server nonce
+   * filled.
+   * 
+ * * Protobuf type {@code MumbleProto.CryptSetup} */ public static final class CryptSetup extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:MumbleProto.CryptSetup) CryptSetupOrBuilder { + private static final long serialVersionUID = 0L; // Use CryptSetup.newBuilder() to construct. private CryptSetup(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -20765,6 +26562,13 @@ public final class Mumble { serverNonce_ = com.google.protobuf.ByteString.EMPTY; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CryptSetup(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { @@ -20775,6 +26579,9 @@ public final class Mumble { com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -20786,13 +26593,6 @@ public final class Mumble { case 0: done = true; break; - default: { - if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { - done = true; - } - break; - } case 10: { bitField0_ |= 0x00000001; key_ = input.readBytes(); @@ -20808,6 +26608,13 @@ public final class Mumble { serverNonce_ = input.readBytes(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -20825,6 +26632,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_CryptSetup_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_CryptSetup_fieldAccessorTable @@ -20836,13 +26644,23 @@ public final class Mumble { public static final int KEY_FIELD_NUMBER = 1; private com.google.protobuf.ByteString key_; /** + *
+     * Encryption key.
+     * 
+ * * optional bytes key = 1; + * @return Whether the key field is set. */ public boolean hasKey() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+     * Encryption key.
+     * 
+ * * optional bytes key = 1; + * @return The key. */ public com.google.protobuf.ByteString getKey() { return key_; @@ -20851,13 +26669,23 @@ public final class Mumble { public static final int CLIENT_NONCE_FIELD_NUMBER = 2; private com.google.protobuf.ByteString clientNonce_; /** + *
+     * Client nonce.
+     * 
+ * * optional bytes client_nonce = 2; + * @return Whether the clientNonce field is set. */ public boolean hasClientNonce() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+     * Client nonce.
+     * 
+ * * optional bytes client_nonce = 2; + * @return The clientNonce. */ public com.google.protobuf.ByteString getClientNonce() { return clientNonce_; @@ -20866,19 +26694,30 @@ public final class Mumble { public static final int SERVER_NONCE_FIELD_NUMBER = 3; private com.google.protobuf.ByteString serverNonce_; /** + *
+     * Server nonce.
+     * 
+ * * optional bytes server_nonce = 3; + * @return Whether the serverNonce field is set. */ public boolean hasServerNonce() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** + *
+     * Server nonce.
+     * 
+ * * optional bytes server_nonce = 3; + * @return The serverNonce. */ public com.google.protobuf.ByteString getServerNonce() { return serverNonce_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -20888,34 +26727,36 @@ public final class Mumble { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeBytes(1, key_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeBytes(2, clientNonce_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeBytes(3, serverNonce_); } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, key_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, clientNonce_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, serverNonce_); } @@ -20924,7 +26765,6 @@ public final class Mumble { return size; } - private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { @@ -20935,24 +26775,23 @@ public final class Mumble { } se.lublin.humla.protobuf.Mumble.CryptSetup other = (se.lublin.humla.protobuf.Mumble.CryptSetup) obj; - boolean result = true; - result = result && (hasKey() == other.hasKey()); + if (hasKey() != other.hasKey()) return false; if (hasKey()) { - result = result && getKey() - .equals(other.getKey()); + if (!getKey() + .equals(other.getKey())) return false; } - result = result && (hasClientNonce() == other.hasClientNonce()); + if (hasClientNonce() != other.hasClientNonce()) return false; if (hasClientNonce()) { - result = result && getClientNonce() - .equals(other.getClientNonce()); + if (!getClientNonce() + .equals(other.getClientNonce())) return false; } - result = result && (hasServerNonce() == other.hasServerNonce()); + if (hasServerNonce() != other.hasServerNonce()) return false; if (hasServerNonce()) { - result = result && getServerNonce() - .equals(other.getServerNonce()); + if (!getServerNonce() + .equals(other.getServerNonce())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -20961,7 +26800,7 @@ public final class Mumble { return memoizedHashCode; } int hash = 41; - hash = (19 * hash) + getDescriptorForType().hashCode(); + hash = (19 * hash) + getDescriptor().hashCode(); if (hasKey()) { hash = (37 * hash) + KEY_FIELD_NUMBER; hash = (53 * hash) + getKey().hashCode(); @@ -20979,6 +26818,17 @@ public final class Mumble { return hash; } + public static se.lublin.humla.protobuf.Mumble.CryptSetup parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static se.lublin.humla.protobuf.Mumble.CryptSetup parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static se.lublin.humla.protobuf.Mumble.CryptSetup parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -21038,6 +26888,7 @@ public final class Mumble { .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); @@ -21045,6 +26896,7 @@ public final class Mumble { public static Builder newBuilder(se.lublin.humla.protobuf.Mumble.CryptSetup prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -21057,6 +26909,13 @@ public final class Mumble { return builder; } /** + *
+     * Used to initialize and resync the UDP encryption. Either side may request a
+     * resync by sending the message without any values filled. The resync is
+     * performed by sending the message with only the client or server nonce
+     * filled.
+     * 
+ * * Protobuf type {@code MumbleProto.CryptSetup} */ public static final class Builder extends @@ -21068,6 +26927,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_CryptSetup_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_CryptSetup_fieldAccessorTable @@ -21090,6 +26950,7 @@ public final class Mumble { .alwaysUseFieldBuilders) { } } + @java.lang.Override public Builder clear() { super.clear(); key_ = com.google.protobuf.ByteString.EMPTY; @@ -21101,15 +26962,18 @@ public final class Mumble { return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_CryptSetup_descriptor; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.CryptSetup getDefaultInstanceForType() { return se.lublin.humla.protobuf.Mumble.CryptSetup.getDefaultInstance(); } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.CryptSetup build() { se.lublin.humla.protobuf.Mumble.CryptSetup result = buildPartial(); if (!result.isInitialized()) { @@ -21118,19 +26982,20 @@ public final class Mumble { return result; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.CryptSetup buildPartial() { se.lublin.humla.protobuf.Mumble.CryptSetup result = new se.lublin.humla.protobuf.Mumble.CryptSetup(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.key_ = key_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.clientNonce_ = clientNonce_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.serverNonce_ = serverNonce_; @@ -21139,32 +27004,39 @@ public final class Mumble { return result; } + @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.setField(field, value); + java.lang.Object value) { + return super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { - return (Builder) super.setRepeatedField(field, index, value); + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.addRepeatedField(field, value); + java.lang.Object value) { + return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof se.lublin.humla.protobuf.Mumble.CryptSetup) { return mergeFrom((se.lublin.humla.protobuf.Mumble.CryptSetup)other); @@ -21190,10 +27062,12 @@ public final class Mumble { return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -21215,19 +27089,35 @@ public final class Mumble { private com.google.protobuf.ByteString key_ = com.google.protobuf.ByteString.EMPTY; /** + *
+       * Encryption key.
+       * 
+ * * optional bytes key = 1; + * @return Whether the key field is set. */ public boolean hasKey() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+       * Encryption key.
+       * 
+ * * optional bytes key = 1; + * @return The key. */ public com.google.protobuf.ByteString getKey() { return key_; } /** + *
+       * Encryption key.
+       * 
+ * * optional bytes key = 1; + * @param value The key to set. + * @return This builder for chaining. */ public Builder setKey(com.google.protobuf.ByteString value) { if (value == null) { @@ -21239,7 +27129,12 @@ public final class Mumble { return this; } /** + *
+       * Encryption key.
+       * 
+ * * optional bytes key = 1; + * @return This builder for chaining. */ public Builder clearKey() { bitField0_ = (bitField0_ & ~0x00000001); @@ -21250,19 +27145,35 @@ public final class Mumble { private com.google.protobuf.ByteString clientNonce_ = com.google.protobuf.ByteString.EMPTY; /** + *
+       * Client nonce.
+       * 
+ * * optional bytes client_nonce = 2; + * @return Whether the clientNonce field is set. */ public boolean hasClientNonce() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+       * Client nonce.
+       * 
+ * * optional bytes client_nonce = 2; + * @return The clientNonce. */ public com.google.protobuf.ByteString getClientNonce() { return clientNonce_; } /** + *
+       * Client nonce.
+       * 
+ * * optional bytes client_nonce = 2; + * @param value The clientNonce to set. + * @return This builder for chaining. */ public Builder setClientNonce(com.google.protobuf.ByteString value) { if (value == null) { @@ -21274,7 +27185,12 @@ public final class Mumble { return this; } /** + *
+       * Client nonce.
+       * 
+ * * optional bytes client_nonce = 2; + * @return This builder for chaining. */ public Builder clearClientNonce() { bitField0_ = (bitField0_ & ~0x00000002); @@ -21285,19 +27201,35 @@ public final class Mumble { private com.google.protobuf.ByteString serverNonce_ = com.google.protobuf.ByteString.EMPTY; /** + *
+       * Server nonce.
+       * 
+ * * optional bytes server_nonce = 3; + * @return Whether the serverNonce field is set. */ public boolean hasServerNonce() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** + *
+       * Server nonce.
+       * 
+ * * optional bytes server_nonce = 3; + * @return The serverNonce. */ public com.google.protobuf.ByteString getServerNonce() { return serverNonce_; } /** + *
+       * Server nonce.
+       * 
+ * * optional bytes server_nonce = 3; + * @param value The serverNonce to set. + * @return This builder for chaining. */ public Builder setServerNonce(com.google.protobuf.ByteString value) { if (value == null) { @@ -21309,7 +27241,12 @@ public final class Mumble { return this; } /** + *
+       * Server nonce.
+       * 
+ * * optional bytes server_nonce = 3; + * @return This builder for chaining. */ public Builder clearServerNonce() { bitField0_ = (bitField0_ & ~0x00000004); @@ -21317,11 +27254,13 @@ public final class Mumble { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -21343,11 +27282,12 @@ public final class Mumble { @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override public CryptSetup parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CryptSetup(input, extensionRegistry); + return new CryptSetup(input, extensionRegistry); } }; @@ -21360,6 +27300,7 @@ public final class Mumble { return PARSER; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.CryptSetup getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -21371,48 +27312,90 @@ public final class Mumble { com.google.protobuf.MessageOrBuilder { /** + *
+     * The action name.
+     * 
+ * * required string action = 1; + * @return Whether the action field is set. */ boolean hasAction(); /** + *
+     * The action name.
+     * 
+ * * required string action = 1; + * @return The action. */ java.lang.String getAction(); /** + *
+     * The action name.
+     * 
+ * * required string action = 1; + * @return The bytes for action. */ com.google.protobuf.ByteString getActionBytes(); /** + *
+     * The display name of the action.
+     * 
+ * * optional string text = 2; + * @return Whether the text field is set. */ boolean hasText(); /** + *
+     * The display name of the action.
+     * 
+ * * optional string text = 2; + * @return The text. */ java.lang.String getText(); /** + *
+     * The display name of the action.
+     * 
+ * * optional string text = 2; + * @return The bytes for text. */ com.google.protobuf.ByteString getTextBytes(); /** + *
+     * Context bit flags defining where the action should be displayed.
+     * 
+ * * optional uint32 context = 3; + * @return Whether the context field is set. */ boolean hasContext(); /** + *
+     * Context bit flags defining where the action should be displayed.
+     * 
+ * * optional uint32 context = 3; + * @return The context. */ int getContext(); /** * optional .MumbleProto.ContextActionModify.Operation operation = 4; + * @return Whether the operation field is set. */ boolean hasOperation(); /** * optional .MumbleProto.ContextActionModify.Operation operation = 4; + * @return The operation. */ se.lublin.humla.protobuf.Mumble.ContextActionModify.Operation getOperation(); } @@ -21423,6 +27406,7 @@ public final class Mumble { com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:MumbleProto.ContextActionModify) ContextActionModifyOrBuilder { + private static final long serialVersionUID = 0L; // Use ContextActionModify.newBuilder() to construct. private ContextActionModify(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -21430,10 +27414,16 @@ public final class Mumble { private ContextActionModify() { action_ = ""; text_ = ""; - context_ = 0; operation_ = 0; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ContextActionModify(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { @@ -21444,6 +27434,9 @@ public final class Mumble { com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -21455,13 +27448,6 @@ public final class Mumble { case 0: done = true; break; - default: { - if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { - done = true; - } - break; - } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; @@ -21481,6 +27467,7 @@ public final class Mumble { } case 32: { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") se.lublin.humla.protobuf.Mumble.ContextActionModify.Operation value = se.lublin.humla.protobuf.Mumble.ContextActionModify.Operation.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(4, rawValue); @@ -21490,6 +27477,13 @@ public final class Mumble { } break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -21507,6 +27501,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ContextActionModify_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ContextActionModify_fieldAccessorTable @@ -21520,28 +27515,52 @@ public final class Mumble { public enum Context implements com.google.protobuf.ProtocolMessageEnum { /** + *
+       * Action is applicable to the server.
+       * 
+ * * Server = 1; */ Server(1), /** + *
+       * Action can target a Channel.
+       * 
+ * * Channel = 2; */ Channel(2), /** + *
+       * Action can target a User.
+       * 
+ * * User = 4; */ User(4), ; /** + *
+       * Action is applicable to the server.
+       * 
+ * * Server = 1; */ public static final int Server_VALUE = 1; /** + *
+       * Action can target a Channel.
+       * 
+ * * Channel = 2; */ public static final int Channel_VALUE = 2; /** + *
+       * Action can target a User.
+       * 
+ * * User = 4; */ public static final int User_VALUE = 4; @@ -21552,6 +27571,8 @@ public final class Mumble { } /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated @@ -21559,6 +27580,10 @@ public final class Mumble { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static Context forNumber(int value) { switch (value) { case 1: return Server; @@ -21643,6 +27668,8 @@ public final class Mumble { } /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated @@ -21650,6 +27677,10 @@ public final class Mumble { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static Operation forNumber(int value) { switch (value) { case 0: return Add; @@ -21707,13 +27738,23 @@ public final class Mumble { public static final int ACTION_FIELD_NUMBER = 1; private volatile java.lang.Object action_; /** + *
+     * The action name.
+     * 
+ * * required string action = 1; + * @return Whether the action field is set. */ public boolean hasAction() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+     * The action name.
+     * 
+ * * required string action = 1; + * @return The action. */ public java.lang.String getAction() { java.lang.Object ref = action_; @@ -21730,7 +27771,12 @@ public final class Mumble { } } /** + *
+     * The action name.
+     * 
+ * * required string action = 1; + * @return The bytes for action. */ public com.google.protobuf.ByteString getActionBytes() { @@ -21749,13 +27795,23 @@ public final class Mumble { public static final int TEXT_FIELD_NUMBER = 2; private volatile java.lang.Object text_; /** + *
+     * The display name of the action.
+     * 
+ * * optional string text = 2; + * @return Whether the text field is set. */ public boolean hasText() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+     * The display name of the action.
+     * 
+ * * optional string text = 2; + * @return The text. */ public java.lang.String getText() { java.lang.Object ref = text_; @@ -21772,7 +27828,12 @@ public final class Mumble { } } /** + *
+     * The display name of the action.
+     * 
+ * * optional string text = 2; + * @return The bytes for text. */ public com.google.protobuf.ByteString getTextBytes() { @@ -21791,13 +27852,23 @@ public final class Mumble { public static final int CONTEXT_FIELD_NUMBER = 3; private int context_; /** + *
+     * Context bit flags defining where the action should be displayed.
+     * 
+ * * optional uint32 context = 3; + * @return Whether the context field is set. */ public boolean hasContext() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** + *
+     * Context bit flags defining where the action should be displayed.
+     * 
+ * * optional uint32 context = 3; + * @return The context. */ public int getContext() { return context_; @@ -21807,19 +27878,23 @@ public final class Mumble { private int operation_; /** * optional .MumbleProto.ContextActionModify.Operation operation = 4; + * @return Whether the operation field is set. */ public boolean hasOperation() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** * optional .MumbleProto.ContextActionModify.Operation operation = 4; + * @return The operation. */ public se.lublin.humla.protobuf.Mumble.ContextActionModify.Operation getOperation() { + @SuppressWarnings("deprecation") se.lublin.humla.protobuf.Mumble.ContextActionModify.Operation result = se.lublin.humla.protobuf.Mumble.ContextActionModify.Operation.valueOf(operation_); return result == null ? se.lublin.humla.protobuf.Mumble.ContextActionModify.Operation.Add : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -21833,39 +27908,41 @@ public final class Mumble { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, action_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, text_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeUInt32(3, context_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { output.writeEnum(4, operation_); } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, action_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, text_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, context_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(4, operation_); } @@ -21874,7 +27951,6 @@ public final class Mumble { return size; } - private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { @@ -21885,28 +27961,27 @@ public final class Mumble { } se.lublin.humla.protobuf.Mumble.ContextActionModify other = (se.lublin.humla.protobuf.Mumble.ContextActionModify) obj; - boolean result = true; - result = result && (hasAction() == other.hasAction()); + if (hasAction() != other.hasAction()) return false; if (hasAction()) { - result = result && getAction() - .equals(other.getAction()); + if (!getAction() + .equals(other.getAction())) return false; } - result = result && (hasText() == other.hasText()); + if (hasText() != other.hasText()) return false; if (hasText()) { - result = result && getText() - .equals(other.getText()); + if (!getText() + .equals(other.getText())) return false; } - result = result && (hasContext() == other.hasContext()); + if (hasContext() != other.hasContext()) return false; if (hasContext()) { - result = result && (getContext() - == other.getContext()); + if (getContext() + != other.getContext()) return false; } - result = result && (hasOperation() == other.hasOperation()); + if (hasOperation() != other.hasOperation()) return false; if (hasOperation()) { - result = result && operation_ == other.operation_; + if (operation_ != other.operation_) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -21915,7 +27990,7 @@ public final class Mumble { return memoizedHashCode; } int hash = 41; - hash = (19 * hash) + getDescriptorForType().hashCode(); + hash = (19 * hash) + getDescriptor().hashCode(); if (hasAction()) { hash = (37 * hash) + ACTION_FIELD_NUMBER; hash = (53 * hash) + getAction().hashCode(); @@ -21937,6 +28012,17 @@ public final class Mumble { return hash; } + public static se.lublin.humla.protobuf.Mumble.ContextActionModify parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static se.lublin.humla.protobuf.Mumble.ContextActionModify parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static se.lublin.humla.protobuf.Mumble.ContextActionModify parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -21996,6 +28082,7 @@ public final class Mumble { .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); @@ -22003,6 +28090,7 @@ public final class Mumble { public static Builder newBuilder(se.lublin.humla.protobuf.Mumble.ContextActionModify prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -22026,6 +28114,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ContextActionModify_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ContextActionModify_fieldAccessorTable @@ -22048,6 +28137,7 @@ public final class Mumble { .alwaysUseFieldBuilders) { } } + @java.lang.Override public Builder clear() { super.clear(); action_ = ""; @@ -22061,15 +28151,18 @@ public final class Mumble { return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ContextActionModify_descriptor; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.ContextActionModify getDefaultInstanceForType() { return se.lublin.humla.protobuf.Mumble.ContextActionModify.getDefaultInstance(); } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.ContextActionModify build() { se.lublin.humla.protobuf.Mumble.ContextActionModify result = buildPartial(); if (!result.isInitialized()) { @@ -22078,23 +28171,24 @@ public final class Mumble { return result; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.ContextActionModify buildPartial() { se.lublin.humla.protobuf.Mumble.ContextActionModify result = new se.lublin.humla.protobuf.Mumble.ContextActionModify(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.action_ = action_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.text_ = text_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { + result.context_ = context_; to_bitField0_ |= 0x00000004; } - result.context_ = context_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.operation_ = operation_; @@ -22103,32 +28197,39 @@ public final class Mumble { return result; } + @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.setField(field, value); + java.lang.Object value) { + return super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { - return (Builder) super.setRepeatedField(field, index, value); + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.addRepeatedField(field, value); + java.lang.Object value) { + return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof se.lublin.humla.protobuf.Mumble.ContextActionModify) { return mergeFrom((se.lublin.humla.protobuf.Mumble.ContextActionModify)other); @@ -22161,6 +28262,7 @@ public final class Mumble { return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasAction()) { return false; @@ -22168,6 +28270,7 @@ public final class Mumble { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -22189,13 +28292,23 @@ public final class Mumble { private java.lang.Object action_ = ""; /** + *
+       * The action name.
+       * 
+ * * required string action = 1; + * @return Whether the action field is set. */ public boolean hasAction() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+       * The action name.
+       * 
+ * * required string action = 1; + * @return The action. */ public java.lang.String getAction() { java.lang.Object ref = action_; @@ -22212,7 +28325,12 @@ public final class Mumble { } } /** + *
+       * The action name.
+       * 
+ * * required string action = 1; + * @return The bytes for action. */ public com.google.protobuf.ByteString getActionBytes() { @@ -22228,7 +28346,13 @@ public final class Mumble { } } /** + *
+       * The action name.
+       * 
+ * * required string action = 1; + * @param value The action to set. + * @return This builder for chaining. */ public Builder setAction( java.lang.String value) { @@ -22241,7 +28365,12 @@ public final class Mumble { return this; } /** + *
+       * The action name.
+       * 
+ * * required string action = 1; + * @return This builder for chaining. */ public Builder clearAction() { bitField0_ = (bitField0_ & ~0x00000001); @@ -22250,7 +28379,13 @@ public final class Mumble { return this; } /** + *
+       * The action name.
+       * 
+ * * required string action = 1; + * @param value The bytes for action to set. + * @return This builder for chaining. */ public Builder setActionBytes( com.google.protobuf.ByteString value) { @@ -22265,13 +28400,23 @@ public final class Mumble { private java.lang.Object text_ = ""; /** + *
+       * The display name of the action.
+       * 
+ * * optional string text = 2; + * @return Whether the text field is set. */ public boolean hasText() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+       * The display name of the action.
+       * 
+ * * optional string text = 2; + * @return The text. */ public java.lang.String getText() { java.lang.Object ref = text_; @@ -22288,7 +28433,12 @@ public final class Mumble { } } /** + *
+       * The display name of the action.
+       * 
+ * * optional string text = 2; + * @return The bytes for text. */ public com.google.protobuf.ByteString getTextBytes() { @@ -22304,7 +28454,13 @@ public final class Mumble { } } /** + *
+       * The display name of the action.
+       * 
+ * * optional string text = 2; + * @param value The text to set. + * @return This builder for chaining. */ public Builder setText( java.lang.String value) { @@ -22317,7 +28473,12 @@ public final class Mumble { return this; } /** + *
+       * The display name of the action.
+       * 
+ * * optional string text = 2; + * @return This builder for chaining. */ public Builder clearText() { bitField0_ = (bitField0_ & ~0x00000002); @@ -22326,7 +28487,13 @@ public final class Mumble { return this; } /** + *
+       * The display name of the action.
+       * 
+ * * optional string text = 2; + * @param value The bytes for text to set. + * @return This builder for chaining. */ public Builder setTextBytes( com.google.protobuf.ByteString value) { @@ -22341,19 +28508,35 @@ public final class Mumble { private int context_ ; /** + *
+       * Context bit flags defining where the action should be displayed.
+       * 
+ * * optional uint32 context = 3; + * @return Whether the context field is set. */ public boolean hasContext() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** + *
+       * Context bit flags defining where the action should be displayed.
+       * 
+ * * optional uint32 context = 3; + * @return The context. */ public int getContext() { return context_; } /** + *
+       * Context bit flags defining where the action should be displayed.
+       * 
+ * * optional uint32 context = 3; + * @param value The context to set. + * @return This builder for chaining. */ public Builder setContext(int value) { bitField0_ |= 0x00000004; @@ -22362,7 +28545,12 @@ public final class Mumble { return this; } /** + *
+       * Context bit flags defining where the action should be displayed.
+       * 
+ * * optional uint32 context = 3; + * @return This builder for chaining. */ public Builder clearContext() { bitField0_ = (bitField0_ & ~0x00000004); @@ -22374,19 +28562,24 @@ public final class Mumble { private int operation_ = 0; /** * optional .MumbleProto.ContextActionModify.Operation operation = 4; + * @return Whether the operation field is set. */ public boolean hasOperation() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** * optional .MumbleProto.ContextActionModify.Operation operation = 4; + * @return The operation. */ public se.lublin.humla.protobuf.Mumble.ContextActionModify.Operation getOperation() { + @SuppressWarnings("deprecation") se.lublin.humla.protobuf.Mumble.ContextActionModify.Operation result = se.lublin.humla.protobuf.Mumble.ContextActionModify.Operation.valueOf(operation_); return result == null ? se.lublin.humla.protobuf.Mumble.ContextActionModify.Operation.Add : result; } /** * optional .MumbleProto.ContextActionModify.Operation operation = 4; + * @param value The operation to set. + * @return This builder for chaining. */ public Builder setOperation(se.lublin.humla.protobuf.Mumble.ContextActionModify.Operation value) { if (value == null) { @@ -22399,6 +28592,7 @@ public final class Mumble { } /** * optional .MumbleProto.ContextActionModify.Operation operation = 4; + * @return This builder for chaining. */ public Builder clearOperation() { bitField0_ = (bitField0_ & ~0x00000008); @@ -22406,11 +28600,13 @@ public final class Mumble { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -22432,11 +28628,12 @@ public final class Mumble { @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override public ContextActionModify parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ContextActionModify(input, extensionRegistry); + return new ContextActionModify(input, extensionRegistry); } }; @@ -22449,6 +28646,7 @@ public final class Mumble { return PARSER; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.ContextActionModify getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -22460,54 +28658,99 @@ public final class Mumble { com.google.protobuf.MessageOrBuilder { /** + *
+     * The target User for the action, identified by session.
+     * 
+ * * optional uint32 session = 1; + * @return Whether the session field is set. */ boolean hasSession(); /** + *
+     * The target User for the action, identified by session.
+     * 
+ * * optional uint32 session = 1; + * @return The session. */ int getSession(); /** + *
+     * The target Channel for the action, identified by channel_id.
+     * 
+ * * optional uint32 channel_id = 2; + * @return Whether the channelId field is set. */ boolean hasChannelId(); /** + *
+     * The target Channel for the action, identified by channel_id.
+     * 
+ * * optional uint32 channel_id = 2; + * @return The channelId. */ int getChannelId(); /** + *
+     * The action that should be executed.
+     * 
+ * * required string action = 3; + * @return Whether the action field is set. */ boolean hasAction(); /** + *
+     * The action that should be executed.
+     * 
+ * * required string action = 3; + * @return The action. */ java.lang.String getAction(); /** + *
+     * The action that should be executed.
+     * 
+ * * required string action = 3; + * @return The bytes for action. */ com.google.protobuf.ByteString getActionBytes(); } /** + *
+   * Sent by the client when it wants to initiate a Context action.
+   * 
+ * * Protobuf type {@code MumbleProto.ContextAction} */ public static final class ContextAction extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:MumbleProto.ContextAction) ContextActionOrBuilder { + private static final long serialVersionUID = 0L; // Use ContextAction.newBuilder() to construct. private ContextAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ContextAction() { - session_ = 0; - channelId_ = 0; action_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ContextAction(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { @@ -22518,6 +28761,9 @@ public final class Mumble { com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -22525,17 +28771,10 @@ public final class Mumble { boolean done = false; while (!done) { int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { - done = true; - } + switch (tag) { + case 0: + done = true; break; - } case 8: { bitField0_ |= 0x00000001; session_ = input.readUInt32(); @@ -22552,6 +28791,13 @@ public final class Mumble { action_ = bs; break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -22569,6 +28815,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ContextAction_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ContextAction_fieldAccessorTable @@ -22580,13 +28827,23 @@ public final class Mumble { public static final int SESSION_FIELD_NUMBER = 1; private int session_; /** + *
+     * The target User for the action, identified by session.
+     * 
+ * * optional uint32 session = 1; + * @return Whether the session field is set. */ public boolean hasSession() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+     * The target User for the action, identified by session.
+     * 
+ * * optional uint32 session = 1; + * @return The session. */ public int getSession() { return session_; @@ -22595,13 +28852,23 @@ public final class Mumble { public static final int CHANNEL_ID_FIELD_NUMBER = 2; private int channelId_; /** + *
+     * The target Channel for the action, identified by channel_id.
+     * 
+ * * optional uint32 channel_id = 2; + * @return Whether the channelId field is set. */ public boolean hasChannelId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+     * The target Channel for the action, identified by channel_id.
+     * 
+ * * optional uint32 channel_id = 2; + * @return The channelId. */ public int getChannelId() { return channelId_; @@ -22610,13 +28877,23 @@ public final class Mumble { public static final int ACTION_FIELD_NUMBER = 3; private volatile java.lang.Object action_; /** + *
+     * The action that should be executed.
+     * 
+ * * required string action = 3; + * @return Whether the action field is set. */ public boolean hasAction() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** + *
+     * The action that should be executed.
+     * 
+ * * required string action = 3; + * @return The action. */ public java.lang.String getAction() { java.lang.Object ref = action_; @@ -22633,7 +28910,12 @@ public final class Mumble { } } /** + *
+     * The action that should be executed.
+     * 
+ * * required string action = 3; + * @return The bytes for action. */ public com.google.protobuf.ByteString getActionBytes() { @@ -22650,6 +28932,7 @@ public final class Mumble { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -22663,34 +28946,36 @@ public final class Mumble { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, session_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, channelId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, action_); } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, session_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, channelId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, action_); } size += unknownFields.getSerializedSize(); @@ -22698,7 +28983,6 @@ public final class Mumble { return size; } - private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { @@ -22709,24 +28993,23 @@ public final class Mumble { } se.lublin.humla.protobuf.Mumble.ContextAction other = (se.lublin.humla.protobuf.Mumble.ContextAction) obj; - boolean result = true; - result = result && (hasSession() == other.hasSession()); + if (hasSession() != other.hasSession()) return false; if (hasSession()) { - result = result && (getSession() - == other.getSession()); + if (getSession() + != other.getSession()) return false; } - result = result && (hasChannelId() == other.hasChannelId()); + if (hasChannelId() != other.hasChannelId()) return false; if (hasChannelId()) { - result = result && (getChannelId() - == other.getChannelId()); + if (getChannelId() + != other.getChannelId()) return false; } - result = result && (hasAction() == other.hasAction()); + if (hasAction() != other.hasAction()) return false; if (hasAction()) { - result = result && getAction() - .equals(other.getAction()); + if (!getAction() + .equals(other.getAction())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -22735,7 +29018,7 @@ public final class Mumble { return memoizedHashCode; } int hash = 41; - hash = (19 * hash) + getDescriptorForType().hashCode(); + hash = (19 * hash) + getDescriptor().hashCode(); if (hasSession()) { hash = (37 * hash) + SESSION_FIELD_NUMBER; hash = (53 * hash) + getSession(); @@ -22753,6 +29036,17 @@ public final class Mumble { return hash; } + public static se.lublin.humla.protobuf.Mumble.ContextAction parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static se.lublin.humla.protobuf.Mumble.ContextAction parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static se.lublin.humla.protobuf.Mumble.ContextAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -22812,6 +29106,7 @@ public final class Mumble { .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); @@ -22819,6 +29114,7 @@ public final class Mumble { public static Builder newBuilder(se.lublin.humla.protobuf.Mumble.ContextAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -22831,6 +29127,10 @@ public final class Mumble { return builder; } /** + *
+     * Sent by the client when it wants to initiate a Context action.
+     * 
+ * * Protobuf type {@code MumbleProto.ContextAction} */ public static final class Builder extends @@ -22842,6 +29142,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ContextAction_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ContextAction_fieldAccessorTable @@ -22864,6 +29165,7 @@ public final class Mumble { .alwaysUseFieldBuilders) { } } + @java.lang.Override public Builder clear() { super.clear(); session_ = 0; @@ -22875,15 +29177,18 @@ public final class Mumble { return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ContextAction_descriptor; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.ContextAction getDefaultInstanceForType() { return se.lublin.humla.protobuf.Mumble.ContextAction.getDefaultInstance(); } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.ContextAction build() { se.lublin.humla.protobuf.Mumble.ContextAction result = buildPartial(); if (!result.isInitialized()) { @@ -22892,19 +29197,20 @@ public final class Mumble { return result; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.ContextAction buildPartial() { se.lublin.humla.protobuf.Mumble.ContextAction result = new se.lublin.humla.protobuf.Mumble.ContextAction(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.session_ = session_; to_bitField0_ |= 0x00000001; } - result.session_ = session_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.channelId_ = channelId_; to_bitField0_ |= 0x00000002; } - result.channelId_ = channelId_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.action_ = action_; @@ -22913,32 +29219,39 @@ public final class Mumble { return result; } + @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.setField(field, value); + java.lang.Object value) { + return super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { - return (Builder) super.setRepeatedField(field, index, value); + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.addRepeatedField(field, value); + java.lang.Object value) { + return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof se.lublin.humla.protobuf.Mumble.ContextAction) { return mergeFrom((se.lublin.humla.protobuf.Mumble.ContextAction)other); @@ -22966,6 +29279,7 @@ public final class Mumble { return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasAction()) { return false; @@ -22973,6 +29287,7 @@ public final class Mumble { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -22994,19 +29309,35 @@ public final class Mumble { private int session_ ; /** + *
+       * The target User for the action, identified by session.
+       * 
+ * * optional uint32 session = 1; + * @return Whether the session field is set. */ public boolean hasSession() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+       * The target User for the action, identified by session.
+       * 
+ * * optional uint32 session = 1; + * @return The session. */ public int getSession() { return session_; } /** + *
+       * The target User for the action, identified by session.
+       * 
+ * * optional uint32 session = 1; + * @param value The session to set. + * @return This builder for chaining. */ public Builder setSession(int value) { bitField0_ |= 0x00000001; @@ -23015,7 +29346,12 @@ public final class Mumble { return this; } /** + *
+       * The target User for the action, identified by session.
+       * 
+ * * optional uint32 session = 1; + * @return This builder for chaining. */ public Builder clearSession() { bitField0_ = (bitField0_ & ~0x00000001); @@ -23026,19 +29362,35 @@ public final class Mumble { private int channelId_ ; /** + *
+       * The target Channel for the action, identified by channel_id.
+       * 
+ * * optional uint32 channel_id = 2; + * @return Whether the channelId field is set. */ public boolean hasChannelId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+       * The target Channel for the action, identified by channel_id.
+       * 
+ * * optional uint32 channel_id = 2; + * @return The channelId. */ public int getChannelId() { return channelId_; } /** + *
+       * The target Channel for the action, identified by channel_id.
+       * 
+ * * optional uint32 channel_id = 2; + * @param value The channelId to set. + * @return This builder for chaining. */ public Builder setChannelId(int value) { bitField0_ |= 0x00000002; @@ -23047,7 +29399,12 @@ public final class Mumble { return this; } /** + *
+       * The target Channel for the action, identified by channel_id.
+       * 
+ * * optional uint32 channel_id = 2; + * @return This builder for chaining. */ public Builder clearChannelId() { bitField0_ = (bitField0_ & ~0x00000002); @@ -23058,13 +29415,23 @@ public final class Mumble { private java.lang.Object action_ = ""; /** + *
+       * The action that should be executed.
+       * 
+ * * required string action = 3; + * @return Whether the action field is set. */ public boolean hasAction() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** + *
+       * The action that should be executed.
+       * 
+ * * required string action = 3; + * @return The action. */ public java.lang.String getAction() { java.lang.Object ref = action_; @@ -23081,7 +29448,12 @@ public final class Mumble { } } /** + *
+       * The action that should be executed.
+       * 
+ * * required string action = 3; + * @return The bytes for action. */ public com.google.protobuf.ByteString getActionBytes() { @@ -23097,7 +29469,13 @@ public final class Mumble { } } /** + *
+       * The action that should be executed.
+       * 
+ * * required string action = 3; + * @param value The action to set. + * @return This builder for chaining. */ public Builder setAction( java.lang.String value) { @@ -23110,7 +29488,12 @@ public final class Mumble { return this; } /** + *
+       * The action that should be executed.
+       * 
+ * * required string action = 3; + * @return This builder for chaining. */ public Builder clearAction() { bitField0_ = (bitField0_ & ~0x00000004); @@ -23119,7 +29502,13 @@ public final class Mumble { return this; } /** + *
+       * The action that should be executed.
+       * 
+ * * required string action = 3; + * @param value The bytes for action to set. + * @return This builder for chaining. */ public Builder setActionBytes( com.google.protobuf.ByteString value) { @@ -23131,11 +29520,13 @@ public final class Mumble { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -23157,11 +29548,12 @@ public final class Mumble { @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override public ContextAction parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ContextAction(input, extensionRegistry); + return new ContextAction(input, extensionRegistry); } }; @@ -23174,6 +29566,7 @@ public final class Mumble { return PARSER; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.ContextAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -23185,36 +29578,61 @@ public final class Mumble { com.google.protobuf.MessageOrBuilder { /** + *
+     * A list of registered users.
+     * 
+ * * repeated .MumbleProto.UserList.User users = 1; */ java.util.List getUsersList(); /** + *
+     * A list of registered users.
+     * 
+ * * repeated .MumbleProto.UserList.User users = 1; */ se.lublin.humla.protobuf.Mumble.UserList.User getUsers(int index); /** + *
+     * A list of registered users.
+     * 
+ * * repeated .MumbleProto.UserList.User users = 1; */ int getUsersCount(); /** + *
+     * A list of registered users.
+     * 
+ * * repeated .MumbleProto.UserList.User users = 1; */ java.util.List getUsersOrBuilderList(); /** + *
+     * A list of registered users.
+     * 
+ * * repeated .MumbleProto.UserList.User users = 1; */ se.lublin.humla.protobuf.Mumble.UserList.UserOrBuilder getUsersOrBuilder( int index); } /** + *
+   * Lists the registered users.
+   * 
+ * * Protobuf type {@code MumbleProto.UserList} */ public static final class UserList extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:MumbleProto.UserList) UserListOrBuilder { + private static final long serialVersionUID = 0L; // Use UserList.newBuilder() to construct. private UserList(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -23223,6 +29641,13 @@ public final class Mumble { users_ = java.util.Collections.emptyList(); } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UserList(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { @@ -23233,6 +29658,9 @@ public final class Mumble { com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -23244,15 +29672,8 @@ public final class Mumble { case 0: done = true; break; - default: { - if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { - done = true; - } - break; - } case 10: { - if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { users_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } @@ -23260,6 +29681,13 @@ public final class Mumble { input.readMessage(se.lublin.humla.protobuf.Mumble.UserList.User.PARSER, extensionRegistry)); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -23268,7 +29696,7 @@ public final class Mumble { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { users_ = java.util.Collections.unmodifiableList(users_); } this.unknownFields = unknownFields.build(); @@ -23280,6 +29708,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_UserList_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_UserList_fieldAccessorTable @@ -23292,27 +29721,80 @@ public final class Mumble { com.google.protobuf.MessageOrBuilder { /** + *
+       * Registered user ID.
+       * 
+ * * required uint32 user_id = 1; + * @return Whether the userId field is set. */ boolean hasUserId(); /** + *
+       * Registered user ID.
+       * 
+ * * required uint32 user_id = 1; + * @return The userId. */ int getUserId(); /** + *
+       * Registered user name.
+       * 
+ * * optional string name = 2; + * @return Whether the name field is set. */ boolean hasName(); /** + *
+       * Registered user name.
+       * 
+ * * optional string name = 2; + * @return The name. */ java.lang.String getName(); /** + *
+       * Registered user name.
+       * 
+ * * optional string name = 2; + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); + + /** + * optional string last_seen = 3; + * @return Whether the lastSeen field is set. + */ + boolean hasLastSeen(); + /** + * optional string last_seen = 3; + * @return The lastSeen. + */ + java.lang.String getLastSeen(); + /** + * optional string last_seen = 3; + * @return The bytes for lastSeen. + */ + com.google.protobuf.ByteString + getLastSeenBytes(); + + /** + * optional uint32 last_channel = 4; + * @return Whether the lastChannel field is set. + */ + boolean hasLastChannel(); + /** + * optional uint32 last_channel = 4; + * @return The lastChannel. + */ + int getLastChannel(); } /** * Protobuf type {@code MumbleProto.UserList.User} @@ -23321,13 +29803,21 @@ public final class Mumble { com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:MumbleProto.UserList.User) UserOrBuilder { + private static final long serialVersionUID = 0L; // Use User.newBuilder() to construct. private User(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private User() { - userId_ = 0; name_ = ""; + lastSeen_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new User(); } @java.lang.Override @@ -23340,6 +29830,9 @@ public final class Mumble { com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -23351,13 +29844,6 @@ public final class Mumble { case 0: done = true; break; - default: { - if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; userId_ = input.readUInt32(); @@ -23369,6 +29855,24 @@ public final class Mumble { name_ = bs; break; } + case 26: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000004; + lastSeen_ = bs; + break; + } + case 32: { + bitField0_ |= 0x00000008; + lastChannel_ = input.readUInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -23386,6 +29890,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_UserList_User_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_UserList_User_fieldAccessorTable @@ -23397,13 +29902,23 @@ public final class Mumble { public static final int USER_ID_FIELD_NUMBER = 1; private int userId_; /** + *
+       * Registered user ID.
+       * 
+ * * required uint32 user_id = 1; + * @return Whether the userId field is set. */ public boolean hasUserId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+       * Registered user ID.
+       * 
+ * * required uint32 user_id = 1; + * @return The userId. */ public int getUserId() { return userId_; @@ -23412,13 +29927,23 @@ public final class Mumble { public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** + *
+       * Registered user name.
+       * 
+ * * optional string name = 2; + * @return Whether the name field is set. */ public boolean hasName() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+       * Registered user name.
+       * 
+ * * optional string name = 2; + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -23435,7 +29960,12 @@ public final class Mumble { } } /** + *
+       * Registered user name.
+       * 
+ * * optional string name = 2; + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { @@ -23451,7 +29981,70 @@ public final class Mumble { } } + public static final int LAST_SEEN_FIELD_NUMBER = 3; + private volatile java.lang.Object lastSeen_; + /** + * optional string last_seen = 3; + * @return Whether the lastSeen field is set. + */ + public boolean hasLastSeen() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * optional string last_seen = 3; + * @return The lastSeen. + */ + public java.lang.String getLastSeen() { + java.lang.Object ref = lastSeen_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + lastSeen_ = s; + } + return s; + } + } + /** + * optional string last_seen = 3; + * @return The bytes for lastSeen. + */ + public com.google.protobuf.ByteString + getLastSeenBytes() { + java.lang.Object ref = lastSeen_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + lastSeen_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int LAST_CHANNEL_FIELD_NUMBER = 4; + private int lastChannel_; + /** + * optional uint32 last_channel = 4; + * @return Whether the lastChannel field is set. + */ + public boolean hasLastChannel() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * optional uint32 last_channel = 4; + * @return The lastChannel. + */ + public int getLastChannel() { + return lastChannel_; + } + private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -23465,35 +30058,49 @@ public final class Mumble { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, userId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); } + if (((bitField0_ & 0x00000004) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, lastSeen_); + } + if (((bitField0_ & 0x00000008) != 0)) { + output.writeUInt32(4, lastChannel_); + } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, userId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, lastSeen_); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(4, lastChannel_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } - private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { @@ -23504,19 +30111,28 @@ public final class Mumble { } se.lublin.humla.protobuf.Mumble.UserList.User other = (se.lublin.humla.protobuf.Mumble.UserList.User) obj; - boolean result = true; - result = result && (hasUserId() == other.hasUserId()); + if (hasUserId() != other.hasUserId()) return false; if (hasUserId()) { - result = result && (getUserId() - == other.getUserId()); + if (getUserId() + != other.getUserId()) return false; } - result = result && (hasName() == other.hasName()); + if (hasName() != other.hasName()) return false; if (hasName()) { - result = result && getName() - .equals(other.getName()); + if (!getName() + .equals(other.getName())) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (hasLastSeen() != other.hasLastSeen()) return false; + if (hasLastSeen()) { + if (!getLastSeen() + .equals(other.getLastSeen())) return false; + } + if (hasLastChannel() != other.hasLastChannel()) return false; + if (hasLastChannel()) { + if (getLastChannel() + != other.getLastChannel()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -23525,7 +30141,7 @@ public final class Mumble { return memoizedHashCode; } int hash = 41; - hash = (19 * hash) + getDescriptorForType().hashCode(); + hash = (19 * hash) + getDescriptor().hashCode(); if (hasUserId()) { hash = (37 * hash) + USER_ID_FIELD_NUMBER; hash = (53 * hash) + getUserId(); @@ -23534,11 +30150,30 @@ public final class Mumble { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } + if (hasLastSeen()) { + hash = (37 * hash) + LAST_SEEN_FIELD_NUMBER; + hash = (53 * hash) + getLastSeen().hashCode(); + } + if (hasLastChannel()) { + hash = (37 * hash) + LAST_CHANNEL_FIELD_NUMBER; + hash = (53 * hash) + getLastChannel(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } + public static se.lublin.humla.protobuf.Mumble.UserList.User parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static se.lublin.humla.protobuf.Mumble.UserList.User parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static se.lublin.humla.protobuf.Mumble.UserList.User parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -23598,6 +30233,7 @@ public final class Mumble { .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); @@ -23605,6 +30241,7 @@ public final class Mumble { public static Builder newBuilder(se.lublin.humla.protobuf.Mumble.UserList.User prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -23628,6 +30265,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_UserList_User_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_UserList_User_fieldAccessorTable @@ -23650,24 +30288,32 @@ public final class Mumble { .alwaysUseFieldBuilders) { } } + @java.lang.Override public Builder clear() { super.clear(); userId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); name_ = ""; bitField0_ = (bitField0_ & ~0x00000002); + lastSeen_ = ""; + bitField0_ = (bitField0_ & ~0x00000004); + lastChannel_ = 0; + bitField0_ = (bitField0_ & ~0x00000008); return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_UserList_User_descriptor; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.UserList.User getDefaultInstanceForType() { return se.lublin.humla.protobuf.Mumble.UserList.User.getDefaultInstance(); } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.UserList.User build() { se.lublin.humla.protobuf.Mumble.UserList.User result = buildPartial(); if (!result.isInitialized()) { @@ -23676,49 +30322,65 @@ public final class Mumble { return result; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.UserList.User buildPartial() { se.lublin.humla.protobuf.Mumble.UserList.User result = new se.lublin.humla.protobuf.Mumble.UserList.User(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.userId_ = userId_; to_bitField0_ |= 0x00000001; } - result.userId_ = userId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.name_ = name_; + if (((from_bitField0_ & 0x00000004) != 0)) { + to_bitField0_ |= 0x00000004; + } + result.lastSeen_ = lastSeen_; + if (((from_bitField0_ & 0x00000008) != 0)) { + result.lastChannel_ = lastChannel_; + to_bitField0_ |= 0x00000008; + } result.bitField0_ = to_bitField0_; onBuilt(); return result; } + @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.setField(field, value); + java.lang.Object value) { + return super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { - return (Builder) super.setRepeatedField(field, index, value); + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.addRepeatedField(field, value); + java.lang.Object value) { + return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof se.lublin.humla.protobuf.Mumble.UserList.User) { return mergeFrom((se.lublin.humla.protobuf.Mumble.UserList.User)other); @@ -23738,11 +30400,20 @@ public final class Mumble { name_ = other.name_; onChanged(); } + if (other.hasLastSeen()) { + bitField0_ |= 0x00000004; + lastSeen_ = other.lastSeen_; + onChanged(); + } + if (other.hasLastChannel()) { + setLastChannel(other.getLastChannel()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasUserId()) { return false; @@ -23750,6 +30421,7 @@ public final class Mumble { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -23771,19 +30443,35 @@ public final class Mumble { private int userId_ ; /** + *
+         * Registered user ID.
+         * 
+ * * required uint32 user_id = 1; + * @return Whether the userId field is set. */ public boolean hasUserId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+         * Registered user ID.
+         * 
+ * * required uint32 user_id = 1; + * @return The userId. */ public int getUserId() { return userId_; } /** + *
+         * Registered user ID.
+         * 
+ * * required uint32 user_id = 1; + * @param value The userId to set. + * @return This builder for chaining. */ public Builder setUserId(int value) { bitField0_ |= 0x00000001; @@ -23792,7 +30480,12 @@ public final class Mumble { return this; } /** + *
+         * Registered user ID.
+         * 
+ * * required uint32 user_id = 1; + * @return This builder for chaining. */ public Builder clearUserId() { bitField0_ = (bitField0_ & ~0x00000001); @@ -23803,13 +30496,23 @@ public final class Mumble { private java.lang.Object name_ = ""; /** + *
+         * Registered user name.
+         * 
+ * * optional string name = 2; + * @return Whether the name field is set. */ public boolean hasName() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+         * Registered user name.
+         * 
+ * * optional string name = 2; + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -23826,7 +30529,12 @@ public final class Mumble { } } /** + *
+         * Registered user name.
+         * 
+ * * optional string name = 2; + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { @@ -23842,7 +30550,13 @@ public final class Mumble { } } /** + *
+         * Registered user name.
+         * 
+ * * optional string name = 2; + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName( java.lang.String value) { @@ -23855,7 +30569,12 @@ public final class Mumble { return this; } /** + *
+         * Registered user name.
+         * 
+ * * optional string name = 2; + * @return This builder for chaining. */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000002); @@ -23864,23 +30583,152 @@ public final class Mumble { return this; } /** - * optional string name = 2; + *
+         * Registered user name.
+         * 
+ * + * optional string name = 2; + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + name_ = value; + onChanged(); + return this; + } + + private java.lang.Object lastSeen_ = ""; + /** + * optional string last_seen = 3; + * @return Whether the lastSeen field is set. + */ + public boolean hasLastSeen() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * optional string last_seen = 3; + * @return The lastSeen. + */ + public java.lang.String getLastSeen() { + java.lang.Object ref = lastSeen_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + lastSeen_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string last_seen = 3; + * @return The bytes for lastSeen. + */ + public com.google.protobuf.ByteString + getLastSeenBytes() { + java.lang.Object ref = lastSeen_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + lastSeen_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string last_seen = 3; + * @param value The lastSeen to set. + * @return This builder for chaining. + */ + public Builder setLastSeen( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + lastSeen_ = value; + onChanged(); + return this; + } + /** + * optional string last_seen = 3; + * @return This builder for chaining. + */ + public Builder clearLastSeen() { + bitField0_ = (bitField0_ & ~0x00000004); + lastSeen_ = getDefaultInstance().getLastSeen(); + onChanged(); + return this; + } + /** + * optional string last_seen = 3; + * @param value The bytes for lastSeen to set. + * @return This builder for chaining. + */ + public Builder setLastSeenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + lastSeen_ = value; + onChanged(); + return this; + } + + private int lastChannel_ ; + /** + * optional uint32 last_channel = 4; + * @return Whether the lastChannel field is set. + */ + public boolean hasLastChannel() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * optional uint32 last_channel = 4; + * @return The lastChannel. + */ + public int getLastChannel() { + return lastChannel_; + } + /** + * optional uint32 last_channel = 4; + * @param value The lastChannel to set. + * @return This builder for chaining. + */ + public Builder setLastChannel(int value) { + bitField0_ |= 0x00000008; + lastChannel_ = value; + onChanged(); + return this; + } + /** + * optional uint32 last_channel = 4; + * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - name_ = value; + public Builder clearLastChannel() { + bitField0_ = (bitField0_ & ~0x00000008); + lastChannel_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -23902,11 +30750,12 @@ public final class Mumble { @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override public User parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new User(input, extensionRegistry); + return new User(input, extensionRegistry); } }; @@ -23919,6 +30768,7 @@ public final class Mumble { return PARSER; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.UserList.User getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -23928,12 +30778,20 @@ public final class Mumble { public static final int USERS_FIELD_NUMBER = 1; private java.util.List users_; /** + *
+     * A list of registered users.
+     * 
+ * * repeated .MumbleProto.UserList.User users = 1; */ public java.util.List getUsersList() { return users_; } /** + *
+     * A list of registered users.
+     * 
+ * * repeated .MumbleProto.UserList.User users = 1; */ public java.util.List @@ -23941,18 +30799,30 @@ public final class Mumble { return users_; } /** + *
+     * A list of registered users.
+     * 
+ * * repeated .MumbleProto.UserList.User users = 1; */ public int getUsersCount() { return users_.size(); } /** + *
+     * A list of registered users.
+     * 
+ * * repeated .MumbleProto.UserList.User users = 1; */ public se.lublin.humla.protobuf.Mumble.UserList.User getUsers(int index) { return users_.get(index); } /** + *
+     * A list of registered users.
+     * 
+ * * repeated .MumbleProto.UserList.User users = 1; */ public se.lublin.humla.protobuf.Mumble.UserList.UserOrBuilder getUsersOrBuilder( @@ -23961,6 +30831,7 @@ public final class Mumble { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -23976,6 +30847,7 @@ public final class Mumble { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < users_.size(); i++) { @@ -23984,6 +30856,7 @@ public final class Mumble { unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; @@ -23998,7 +30871,6 @@ public final class Mumble { return size; } - private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { @@ -24009,11 +30881,10 @@ public final class Mumble { } se.lublin.humla.protobuf.Mumble.UserList other = (se.lublin.humla.protobuf.Mumble.UserList) obj; - boolean result = true; - result = result && getUsersList() - .equals(other.getUsersList()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getUsersList() + .equals(other.getUsersList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -24022,7 +30893,7 @@ public final class Mumble { return memoizedHashCode; } int hash = 41; - hash = (19 * hash) + getDescriptorForType().hashCode(); + hash = (19 * hash) + getDescriptor().hashCode(); if (getUsersCount() > 0) { hash = (37 * hash) + USERS_FIELD_NUMBER; hash = (53 * hash) + getUsersList().hashCode(); @@ -24032,6 +30903,17 @@ public final class Mumble { return hash; } + public static se.lublin.humla.protobuf.Mumble.UserList parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static se.lublin.humla.protobuf.Mumble.UserList parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static se.lublin.humla.protobuf.Mumble.UserList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -24091,6 +30973,7 @@ public final class Mumble { .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); @@ -24098,6 +30981,7 @@ public final class Mumble { public static Builder newBuilder(se.lublin.humla.protobuf.Mumble.UserList prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -24110,6 +30994,10 @@ public final class Mumble { return builder; } /** + *
+     * Lists the registered users.
+     * 
+ * * Protobuf type {@code MumbleProto.UserList} */ public static final class Builder extends @@ -24121,6 +31009,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_UserList_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_UserList_fieldAccessorTable @@ -24144,6 +31033,7 @@ public final class Mumble { getUsersFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); if (usersBuilder_ == null) { @@ -24155,15 +31045,18 @@ public final class Mumble { return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_UserList_descriptor; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.UserList getDefaultInstanceForType() { return se.lublin.humla.protobuf.Mumble.UserList.getDefaultInstance(); } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.UserList build() { se.lublin.humla.protobuf.Mumble.UserList result = buildPartial(); if (!result.isInitialized()) { @@ -24172,11 +31065,12 @@ public final class Mumble { return result; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.UserList buildPartial() { se.lublin.humla.protobuf.Mumble.UserList result = new se.lublin.humla.protobuf.Mumble.UserList(this); int from_bitField0_ = bitField0_; if (usersBuilder_ == null) { - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { users_ = java.util.Collections.unmodifiableList(users_); bitField0_ = (bitField0_ & ~0x00000001); } @@ -24188,32 +31082,39 @@ public final class Mumble { return result; } + @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.setField(field, value); + java.lang.Object value) { + return super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { - return (Builder) super.setRepeatedField(field, index, value); + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.addRepeatedField(field, value); + java.lang.Object value) { + return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof se.lublin.humla.protobuf.Mumble.UserList) { return mergeFrom((se.lublin.humla.protobuf.Mumble.UserList)other); @@ -24256,6 +31157,7 @@ public final class Mumble { return this; } + @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getUsersCount(); i++) { if (!getUsers(i).isInitialized()) { @@ -24265,6 +31167,7 @@ public final class Mumble { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -24287,7 +31190,7 @@ public final class Mumble { private java.util.List users_ = java.util.Collections.emptyList(); private void ensureUsersIsMutable() { - if (!((bitField0_ & 0x00000001) == 0x00000001)) { + if (!((bitField0_ & 0x00000001) != 0)) { users_ = new java.util.ArrayList(users_); bitField0_ |= 0x00000001; } @@ -24297,6 +31200,10 @@ public final class Mumble { se.lublin.humla.protobuf.Mumble.UserList.User, se.lublin.humla.protobuf.Mumble.UserList.User.Builder, se.lublin.humla.protobuf.Mumble.UserList.UserOrBuilder> usersBuilder_; /** + *
+       * A list of registered users.
+       * 
+ * * repeated .MumbleProto.UserList.User users = 1; */ public java.util.List getUsersList() { @@ -24307,6 +31214,10 @@ public final class Mumble { } } /** + *
+       * A list of registered users.
+       * 
+ * * repeated .MumbleProto.UserList.User users = 1; */ public int getUsersCount() { @@ -24317,6 +31228,10 @@ public final class Mumble { } } /** + *
+       * A list of registered users.
+       * 
+ * * repeated .MumbleProto.UserList.User users = 1; */ public se.lublin.humla.protobuf.Mumble.UserList.User getUsers(int index) { @@ -24327,6 +31242,10 @@ public final class Mumble { } } /** + *
+       * A list of registered users.
+       * 
+ * * repeated .MumbleProto.UserList.User users = 1; */ public Builder setUsers( @@ -24344,6 +31263,10 @@ public final class Mumble { return this; } /** + *
+       * A list of registered users.
+       * 
+ * * repeated .MumbleProto.UserList.User users = 1; */ public Builder setUsers( @@ -24358,6 +31281,10 @@ public final class Mumble { return this; } /** + *
+       * A list of registered users.
+       * 
+ * * repeated .MumbleProto.UserList.User users = 1; */ public Builder addUsers(se.lublin.humla.protobuf.Mumble.UserList.User value) { @@ -24374,6 +31301,10 @@ public final class Mumble { return this; } /** + *
+       * A list of registered users.
+       * 
+ * * repeated .MumbleProto.UserList.User users = 1; */ public Builder addUsers( @@ -24391,6 +31322,10 @@ public final class Mumble { return this; } /** + *
+       * A list of registered users.
+       * 
+ * * repeated .MumbleProto.UserList.User users = 1; */ public Builder addUsers( @@ -24405,6 +31340,10 @@ public final class Mumble { return this; } /** + *
+       * A list of registered users.
+       * 
+ * * repeated .MumbleProto.UserList.User users = 1; */ public Builder addUsers( @@ -24419,6 +31358,10 @@ public final class Mumble { return this; } /** + *
+       * A list of registered users.
+       * 
+ * * repeated .MumbleProto.UserList.User users = 1; */ public Builder addAllUsers( @@ -24434,6 +31377,10 @@ public final class Mumble { return this; } /** + *
+       * A list of registered users.
+       * 
+ * * repeated .MumbleProto.UserList.User users = 1; */ public Builder clearUsers() { @@ -24447,6 +31394,10 @@ public final class Mumble { return this; } /** + *
+       * A list of registered users.
+       * 
+ * * repeated .MumbleProto.UserList.User users = 1; */ public Builder removeUsers(int index) { @@ -24460,6 +31411,10 @@ public final class Mumble { return this; } /** + *
+       * A list of registered users.
+       * 
+ * * repeated .MumbleProto.UserList.User users = 1; */ public se.lublin.humla.protobuf.Mumble.UserList.User.Builder getUsersBuilder( @@ -24467,6 +31422,10 @@ public final class Mumble { return getUsersFieldBuilder().getBuilder(index); } /** + *
+       * A list of registered users.
+       * 
+ * * repeated .MumbleProto.UserList.User users = 1; */ public se.lublin.humla.protobuf.Mumble.UserList.UserOrBuilder getUsersOrBuilder( @@ -24477,6 +31436,10 @@ public final class Mumble { } } /** + *
+       * A list of registered users.
+       * 
+ * * repeated .MumbleProto.UserList.User users = 1; */ public java.util.List @@ -24488,6 +31451,10 @@ public final class Mumble { } } /** + *
+       * A list of registered users.
+       * 
+ * * repeated .MumbleProto.UserList.User users = 1; */ public se.lublin.humla.protobuf.Mumble.UserList.User.Builder addUsersBuilder() { @@ -24495,6 +31462,10 @@ public final class Mumble { se.lublin.humla.protobuf.Mumble.UserList.User.getDefaultInstance()); } /** + *
+       * A list of registered users.
+       * 
+ * * repeated .MumbleProto.UserList.User users = 1; */ public se.lublin.humla.protobuf.Mumble.UserList.User.Builder addUsersBuilder( @@ -24503,6 +31474,10 @@ public final class Mumble { index, se.lublin.humla.protobuf.Mumble.UserList.User.getDefaultInstance()); } /** + *
+       * A list of registered users.
+       * 
+ * * repeated .MumbleProto.UserList.User users = 1; */ public java.util.List @@ -24516,18 +31491,20 @@ public final class Mumble { usersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< se.lublin.humla.protobuf.Mumble.UserList.User, se.lublin.humla.protobuf.Mumble.UserList.User.Builder, se.lublin.humla.protobuf.Mumble.UserList.UserOrBuilder>( users_, - ((bitField0_ & 0x00000001) == 0x00000001), + ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); users_ = null; } return usersBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -24549,11 +31526,12 @@ public final class Mumble { @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override public UserList parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UserList(input, extensionRegistry); + return new UserList(input, extensionRegistry); } }; @@ -24566,6 +31544,7 @@ public final class Mumble { return PARSER; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.UserList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -24577,54 +31556,97 @@ public final class Mumble { com.google.protobuf.MessageOrBuilder { /** + *
+     * Voice target ID.
+     * 
+ * * optional uint32 id = 1; + * @return Whether the id field is set. */ boolean hasId(); /** + *
+     * Voice target ID.
+     * 
+ * * optional uint32 id = 1; + * @return The id. */ int getId(); /** + *
+     * The receivers that this voice target includes.
+     * 
+ * * repeated .MumbleProto.VoiceTarget.Target targets = 2; */ java.util.List getTargetsList(); /** + *
+     * The receivers that this voice target includes.
+     * 
+ * * repeated .MumbleProto.VoiceTarget.Target targets = 2; */ se.lublin.humla.protobuf.Mumble.VoiceTarget.Target getTargets(int index); /** + *
+     * The receivers that this voice target includes.
+     * 
+ * * repeated .MumbleProto.VoiceTarget.Target targets = 2; */ int getTargetsCount(); /** + *
+     * The receivers that this voice target includes.
+     * 
+ * * repeated .MumbleProto.VoiceTarget.Target targets = 2; */ java.util.List getTargetsOrBuilderList(); /** + *
+     * The receivers that this voice target includes.
+     * 
+ * * repeated .MumbleProto.VoiceTarget.Target targets = 2; */ se.lublin.humla.protobuf.Mumble.VoiceTarget.TargetOrBuilder getTargetsOrBuilder( int index); } /** + *
+   * Sent by the client when it wants to register or clear whisper targets.
+   * Note: The first available target ID is 1 as 0 is reserved for normal
+   * talking. Maximum target ID is 30.
+   * 
+ * * Protobuf type {@code MumbleProto.VoiceTarget} */ public static final class VoiceTarget extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:MumbleProto.VoiceTarget) VoiceTargetOrBuilder { + private static final long serialVersionUID = 0L; // Use VoiceTarget.newBuilder() to construct. private VoiceTarget(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private VoiceTarget() { - id_ = 0; targets_ = java.util.Collections.emptyList(); } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new VoiceTarget(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { @@ -24635,6 +31657,9 @@ public final class Mumble { com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -24646,20 +31671,13 @@ public final class Mumble { case 0: done = true; break; - default: { - if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; id_ = input.readUInt32(); break; } case 18: { - if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { targets_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } @@ -24667,6 +31685,13 @@ public final class Mumble { input.readMessage(se.lublin.humla.protobuf.Mumble.VoiceTarget.Target.PARSER, extensionRegistry)); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -24675,7 +31700,7 @@ public final class Mumble { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + if (((mutable_bitField0_ & 0x00000002) != 0)) { targets_ = java.util.Collections.unmodifiableList(targets_); } this.unknownFields = unknownFields.build(); @@ -24687,6 +31712,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_VoiceTarget_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_VoiceTarget_fieldAccessorTable @@ -24699,56 +31725,119 @@ public final class Mumble { com.google.protobuf.MessageOrBuilder { /** + *
+       * Users that are included as targets.
+       * 
+ * * repeated uint32 session = 1; + * @return A list containing the session. */ java.util.List getSessionList(); /** + *
+       * Users that are included as targets.
+       * 
+ * * repeated uint32 session = 1; + * @return The count of session. */ int getSessionCount(); /** + *
+       * Users that are included as targets.
+       * 
+ * * repeated uint32 session = 1; + * @param index The index of the element to return. + * @return The session at the given index. */ int getSession(int index); /** + *
+       * Channel that is included as a target.
+       * 
+ * * optional uint32 channel_id = 2; + * @return Whether the channelId field is set. */ boolean hasChannelId(); /** + *
+       * Channel that is included as a target.
+       * 
+ * * optional uint32 channel_id = 2; + * @return The channelId. */ int getChannelId(); /** + *
+       * ACL group that is included as a target.
+       * 
+ * * optional string group = 3; + * @return Whether the group field is set. */ boolean hasGroup(); /** + *
+       * ACL group that is included as a target.
+       * 
+ * * optional string group = 3; + * @return The group. */ java.lang.String getGroup(); /** + *
+       * ACL group that is included as a target.
+       * 
+ * * optional string group = 3; + * @return The bytes for group. */ com.google.protobuf.ByteString getGroupBytes(); /** + *
+       * True if the voice should follow links from the specified channel.
+       * 
+ * * optional bool links = 4 [default = false]; + * @return Whether the links field is set. */ boolean hasLinks(); /** + *
+       * True if the voice should follow links from the specified channel.
+       * 
+ * * optional bool links = 4 [default = false]; + * @return The links. */ boolean getLinks(); /** + *
+       * True if the voice should also be sent to children of the specific
+       * channel.
+       * 
+ * * optional bool children = 5 [default = false]; + * @return Whether the children field is set. */ boolean hasChildren(); /** + *
+       * True if the voice should also be sent to children of the specific
+       * channel.
+       * 
+ * * optional bool children = 5 [default = false]; + * @return The children. */ boolean getChildren(); } @@ -24759,16 +31848,21 @@ public final class Mumble { com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:MumbleProto.VoiceTarget.Target) TargetOrBuilder { + private static final long serialVersionUID = 0L; // Use Target.newBuilder() to construct. private Target(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Target() { - session_ = java.util.Collections.emptyList(); - channelId_ = 0; + session_ = emptyIntList(); group_ = ""; - links_ = false; - children_ = false; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Target(); } @java.lang.Override @@ -24781,6 +31875,9 @@ public final class Mumble { com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -24792,30 +31889,23 @@ public final class Mumble { case 0: done = true; break; - default: { - if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { - if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { - session_ = new java.util.ArrayList(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + session_ = newIntList(); mutable_bitField0_ |= 0x00000001; } - session_.add(input.readUInt32()); + session_.addInt(input.readUInt32()); break; } case 10: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) { - session_ = new java.util.ArrayList(); + if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { + session_ = newIntList(); mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { - session_.add(input.readUInt32()); + session_.addInt(input.readUInt32()); } input.popLimit(limit); break; @@ -24841,6 +31931,13 @@ public final class Mumble { children_ = input.readBool(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -24849,8 +31946,8 @@ public final class Mumble { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { - session_ = java.util.Collections.unmodifiableList(session_); + if (((mutable_bitField0_ & 0x00000001) != 0)) { + session_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -24861,6 +31958,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_VoiceTarget_Target_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_VoiceTarget_Target_fieldAccessorTable @@ -24870,37 +31968,63 @@ public final class Mumble { private int bitField0_; public static final int SESSION_FIELD_NUMBER = 1; - private java.util.List session_; + private com.google.protobuf.Internal.IntList session_; /** + *
+       * Users that are included as targets.
+       * 
+ * * repeated uint32 session = 1; + * @return A list containing the session. */ public java.util.List getSessionList() { return session_; } /** + *
+       * Users that are included as targets.
+       * 
+ * * repeated uint32 session = 1; + * @return The count of session. */ public int getSessionCount() { return session_.size(); } /** + *
+       * Users that are included as targets.
+       * 
+ * * repeated uint32 session = 1; + * @param index The index of the element to return. + * @return The session at the given index. */ public int getSession(int index) { - return session_.get(index); + return session_.getInt(index); } public static final int CHANNEL_ID_FIELD_NUMBER = 2; private int channelId_; /** + *
+       * Channel that is included as a target.
+       * 
+ * * optional uint32 channel_id = 2; + * @return Whether the channelId field is set. */ public boolean hasChannelId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+       * Channel that is included as a target.
+       * 
+ * * optional uint32 channel_id = 2; + * @return The channelId. */ public int getChannelId() { return channelId_; @@ -24909,13 +32033,23 @@ public final class Mumble { public static final int GROUP_FIELD_NUMBER = 3; private volatile java.lang.Object group_; /** + *
+       * ACL group that is included as a target.
+       * 
+ * * optional string group = 3; + * @return Whether the group field is set. */ public boolean hasGroup() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+       * ACL group that is included as a target.
+       * 
+ * * optional string group = 3; + * @return The group. */ public java.lang.String getGroup() { java.lang.Object ref = group_; @@ -24932,7 +32066,12 @@ public final class Mumble { } } /** + *
+       * ACL group that is included as a target.
+       * 
+ * * optional string group = 3; + * @return The bytes for group. */ public com.google.protobuf.ByteString getGroupBytes() { @@ -24951,13 +32090,23 @@ public final class Mumble { public static final int LINKS_FIELD_NUMBER = 4; private boolean links_; /** + *
+       * True if the voice should follow links from the specified channel.
+       * 
+ * * optional bool links = 4 [default = false]; + * @return Whether the links field is set. */ public boolean hasLinks() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** + *
+       * True if the voice should follow links from the specified channel.
+       * 
+ * * optional bool links = 4 [default = false]; + * @return The links. */ public boolean getLinks() { return links_; @@ -24966,19 +32115,32 @@ public final class Mumble { public static final int CHILDREN_FIELD_NUMBER = 5; private boolean children_; /** + *
+       * True if the voice should also be sent to children of the specific
+       * channel.
+       * 
+ * * optional bool children = 5 [default = false]; + * @return Whether the children field is set. */ public boolean hasChildren() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** + *
+       * True if the voice should also be sent to children of the specific
+       * channel.
+       * 
+ * * optional bool children = 5 [default = false]; + * @return The children. */ public boolean getChildren() { return children_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -24988,26 +32150,28 @@ public final class Mumble { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < session_.size(); i++) { - output.writeUInt32(1, session_.get(i)); + output.writeUInt32(1, session_.getInt(i)); } - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(2, channelId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, group_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeBool(4, links_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { output.writeBool(5, children_); } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; @@ -25017,23 +32181,23 @@ public final class Mumble { int dataSize = 0; for (int i = 0; i < session_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(session_.get(i)); + .computeUInt32SizeNoTag(session_.getInt(i)); } size += dataSize; size += 1 * getSessionList().size(); } - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, channelId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, group_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, links_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(5, children_); } @@ -25042,7 +32206,6 @@ public final class Mumble { return size; } - private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { @@ -25053,31 +32216,30 @@ public final class Mumble { } se.lublin.humla.protobuf.Mumble.VoiceTarget.Target other = (se.lublin.humla.protobuf.Mumble.VoiceTarget.Target) obj; - boolean result = true; - result = result && getSessionList() - .equals(other.getSessionList()); - result = result && (hasChannelId() == other.hasChannelId()); + if (!getSessionList() + .equals(other.getSessionList())) return false; + if (hasChannelId() != other.hasChannelId()) return false; if (hasChannelId()) { - result = result && (getChannelId() - == other.getChannelId()); + if (getChannelId() + != other.getChannelId()) return false; } - result = result && (hasGroup() == other.hasGroup()); + if (hasGroup() != other.hasGroup()) return false; if (hasGroup()) { - result = result && getGroup() - .equals(other.getGroup()); + if (!getGroup() + .equals(other.getGroup())) return false; } - result = result && (hasLinks() == other.hasLinks()); + if (hasLinks() != other.hasLinks()) return false; if (hasLinks()) { - result = result && (getLinks() - == other.getLinks()); + if (getLinks() + != other.getLinks()) return false; } - result = result && (hasChildren() == other.hasChildren()); + if (hasChildren() != other.hasChildren()) return false; if (hasChildren()) { - result = result && (getChildren() - == other.getChildren()); + if (getChildren() + != other.getChildren()) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -25086,7 +32248,7 @@ public final class Mumble { return memoizedHashCode; } int hash = 41; - hash = (19 * hash) + getDescriptorForType().hashCode(); + hash = (19 * hash) + getDescriptor().hashCode(); if (getSessionCount() > 0) { hash = (37 * hash) + SESSION_FIELD_NUMBER; hash = (53 * hash) + getSessionList().hashCode(); @@ -25114,6 +32276,17 @@ public final class Mumble { return hash; } + public static se.lublin.humla.protobuf.Mumble.VoiceTarget.Target parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static se.lublin.humla.protobuf.Mumble.VoiceTarget.Target parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static se.lublin.humla.protobuf.Mumble.VoiceTarget.Target parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -25173,6 +32346,7 @@ public final class Mumble { .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); @@ -25180,6 +32354,7 @@ public final class Mumble { public static Builder newBuilder(se.lublin.humla.protobuf.Mumble.VoiceTarget.Target prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -25203,6 +32378,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_VoiceTarget_Target_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_VoiceTarget_Target_fieldAccessorTable @@ -25225,9 +32401,10 @@ public final class Mumble { .alwaysUseFieldBuilders) { } } + @java.lang.Override public Builder clear() { super.clear(); - session_ = java.util.Collections.emptyList(); + session_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000001); channelId_ = 0; bitField0_ = (bitField0_ & ~0x00000002); @@ -25240,15 +32417,18 @@ public final class Mumble { return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_VoiceTarget_Target_descriptor; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.VoiceTarget.Target getDefaultInstanceForType() { return se.lublin.humla.protobuf.Mumble.VoiceTarget.Target.getDefaultInstance(); } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.VoiceTarget.Target build() { se.lublin.humla.protobuf.Mumble.VoiceTarget.Target result = buildPartial(); if (!result.isInitialized()) { @@ -25257,62 +32437,70 @@ public final class Mumble { return result; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.VoiceTarget.Target buildPartial() { se.lublin.humla.protobuf.Mumble.VoiceTarget.Target result = new se.lublin.humla.protobuf.Mumble.VoiceTarget.Target(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - session_ = java.util.Collections.unmodifiableList(session_); + if (((bitField0_ & 0x00000001) != 0)) { + session_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000001); } result.session_ = session_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.channelId_ = channelId_; to_bitField0_ |= 0x00000001; } - result.channelId_ = channelId_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000002; } result.group_ = group_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + if (((from_bitField0_ & 0x00000008) != 0)) { + result.links_ = links_; to_bitField0_ |= 0x00000004; } - result.links_ = links_; - if (((from_bitField0_ & 0x00000010) == 0x00000010)) { + if (((from_bitField0_ & 0x00000010) != 0)) { + result.children_ = children_; to_bitField0_ |= 0x00000008; } - result.children_ = children_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } + @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.setField(field, value); + java.lang.Object value) { + return super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { - return (Builder) super.setRepeatedField(field, index, value); + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.addRepeatedField(field, value); + java.lang.Object value) { + return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof se.lublin.humla.protobuf.Mumble.VoiceTarget.Target) { return mergeFrom((se.lublin.humla.protobuf.Mumble.VoiceTarget.Target)other); @@ -25353,10 +32541,12 @@ public final class Mumble { return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -25376,53 +32566,89 @@ public final class Mumble { } private int bitField0_; - private java.util.List session_ = java.util.Collections.emptyList(); + private com.google.protobuf.Internal.IntList session_ = emptyIntList(); private void ensureSessionIsMutable() { - if (!((bitField0_ & 0x00000001) == 0x00000001)) { - session_ = new java.util.ArrayList(session_); + if (!((bitField0_ & 0x00000001) != 0)) { + session_ = mutableCopy(session_); bitField0_ |= 0x00000001; } } /** + *
+         * Users that are included as targets.
+         * 
+ * * repeated uint32 session = 1; + * @return A list containing the session. */ public java.util.List getSessionList() { - return java.util.Collections.unmodifiableList(session_); + return ((bitField0_ & 0x00000001) != 0) ? + java.util.Collections.unmodifiableList(session_) : session_; } /** + *
+         * Users that are included as targets.
+         * 
+ * * repeated uint32 session = 1; + * @return The count of session. */ public int getSessionCount() { return session_.size(); } /** + *
+         * Users that are included as targets.
+         * 
+ * * repeated uint32 session = 1; + * @param index The index of the element to return. + * @return The session at the given index. */ public int getSession(int index) { - return session_.get(index); + return session_.getInt(index); } /** + *
+         * Users that are included as targets.
+         * 
+ * * repeated uint32 session = 1; + * @param index The index to set the value at. + * @param value The session to set. + * @return This builder for chaining. */ public Builder setSession( int index, int value) { ensureSessionIsMutable(); - session_.set(index, value); + session_.setInt(index, value); onChanged(); return this; } /** + *
+         * Users that are included as targets.
+         * 
+ * * repeated uint32 session = 1; + * @param value The session to add. + * @return This builder for chaining. */ public Builder addSession(int value) { ensureSessionIsMutable(); - session_.add(value); + session_.addInt(value); onChanged(); return this; } /** + *
+         * Users that are included as targets.
+         * 
+ * * repeated uint32 session = 1; + * @param values The session to add. + * @return This builder for chaining. */ public Builder addAllSession( java.lang.Iterable values) { @@ -25433,10 +32659,15 @@ public final class Mumble { return this; } /** + *
+         * Users that are included as targets.
+         * 
+ * * repeated uint32 session = 1; + * @return This builder for chaining. */ public Builder clearSession() { - session_ = java.util.Collections.emptyList(); + session_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; @@ -25444,19 +32675,35 @@ public final class Mumble { private int channelId_ ; /** + *
+         * Channel that is included as a target.
+         * 
+ * * optional uint32 channel_id = 2; + * @return Whether the channelId field is set. */ public boolean hasChannelId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+         * Channel that is included as a target.
+         * 
+ * * optional uint32 channel_id = 2; + * @return The channelId. */ public int getChannelId() { return channelId_; } /** + *
+         * Channel that is included as a target.
+         * 
+ * * optional uint32 channel_id = 2; + * @param value The channelId to set. + * @return This builder for chaining. */ public Builder setChannelId(int value) { bitField0_ |= 0x00000002; @@ -25465,7 +32712,12 @@ public final class Mumble { return this; } /** + *
+         * Channel that is included as a target.
+         * 
+ * * optional uint32 channel_id = 2; + * @return This builder for chaining. */ public Builder clearChannelId() { bitField0_ = (bitField0_ & ~0x00000002); @@ -25476,13 +32728,23 @@ public final class Mumble { private java.lang.Object group_ = ""; /** + *
+         * ACL group that is included as a target.
+         * 
+ * * optional string group = 3; + * @return Whether the group field is set. */ public boolean hasGroup() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** + *
+         * ACL group that is included as a target.
+         * 
+ * * optional string group = 3; + * @return The group. */ public java.lang.String getGroup() { java.lang.Object ref = group_; @@ -25499,7 +32761,12 @@ public final class Mumble { } } /** + *
+         * ACL group that is included as a target.
+         * 
+ * * optional string group = 3; + * @return The bytes for group. */ public com.google.protobuf.ByteString getGroupBytes() { @@ -25515,7 +32782,13 @@ public final class Mumble { } } /** + *
+         * ACL group that is included as a target.
+         * 
+ * * optional string group = 3; + * @param value The group to set. + * @return This builder for chaining. */ public Builder setGroup( java.lang.String value) { @@ -25528,7 +32801,12 @@ public final class Mumble { return this; } /** + *
+         * ACL group that is included as a target.
+         * 
+ * * optional string group = 3; + * @return This builder for chaining. */ public Builder clearGroup() { bitField0_ = (bitField0_ & ~0x00000004); @@ -25537,7 +32815,13 @@ public final class Mumble { return this; } /** + *
+         * ACL group that is included as a target.
+         * 
+ * * optional string group = 3; + * @param value The bytes for group to set. + * @return This builder for chaining. */ public Builder setGroupBytes( com.google.protobuf.ByteString value) { @@ -25552,19 +32836,35 @@ public final class Mumble { private boolean links_ ; /** + *
+         * True if the voice should follow links from the specified channel.
+         * 
+ * * optional bool links = 4 [default = false]; + * @return Whether the links field is set. */ public boolean hasLinks() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** + *
+         * True if the voice should follow links from the specified channel.
+         * 
+ * * optional bool links = 4 [default = false]; + * @return The links. */ public boolean getLinks() { return links_; } /** + *
+         * True if the voice should follow links from the specified channel.
+         * 
+ * * optional bool links = 4 [default = false]; + * @param value The links to set. + * @return This builder for chaining. */ public Builder setLinks(boolean value) { bitField0_ |= 0x00000008; @@ -25573,7 +32873,12 @@ public final class Mumble { return this; } /** + *
+         * True if the voice should follow links from the specified channel.
+         * 
+ * * optional bool links = 4 [default = false]; + * @return This builder for chaining. */ public Builder clearLinks() { bitField0_ = (bitField0_ & ~0x00000008); @@ -25584,19 +32889,38 @@ public final class Mumble { private boolean children_ ; /** + *
+         * True if the voice should also be sent to children of the specific
+         * channel.
+         * 
+ * * optional bool children = 5 [default = false]; + * @return Whether the children field is set. */ public boolean hasChildren() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000010) != 0); } /** + *
+         * True if the voice should also be sent to children of the specific
+         * channel.
+         * 
+ * * optional bool children = 5 [default = false]; + * @return The children. */ public boolean getChildren() { return children_; } /** + *
+         * True if the voice should also be sent to children of the specific
+         * channel.
+         * 
+ * * optional bool children = 5 [default = false]; + * @param value The children to set. + * @return This builder for chaining. */ public Builder setChildren(boolean value) { bitField0_ |= 0x00000010; @@ -25605,7 +32929,13 @@ public final class Mumble { return this; } /** + *
+         * True if the voice should also be sent to children of the specific
+         * channel.
+         * 
+ * * optional bool children = 5 [default = false]; + * @return This builder for chaining. */ public Builder clearChildren() { bitField0_ = (bitField0_ & ~0x00000010); @@ -25613,11 +32943,13 @@ public final class Mumble { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -25639,11 +32971,12 @@ public final class Mumble { @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override public Target parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Target(input, extensionRegistry); + return new Target(input, extensionRegistry); } }; @@ -25656,6 +32989,7 @@ public final class Mumble { return PARSER; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.VoiceTarget.Target getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -25666,13 +33000,23 @@ public final class Mumble { public static final int ID_FIELD_NUMBER = 1; private int id_; /** + *
+     * Voice target ID.
+     * 
+ * * optional uint32 id = 1; + * @return Whether the id field is set. */ public boolean hasId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+     * Voice target ID.
+     * 
+ * * optional uint32 id = 1; + * @return The id. */ public int getId() { return id_; @@ -25681,12 +33025,20 @@ public final class Mumble { public static final int TARGETS_FIELD_NUMBER = 2; private java.util.List targets_; /** + *
+     * The receivers that this voice target includes.
+     * 
+ * * repeated .MumbleProto.VoiceTarget.Target targets = 2; */ public java.util.List getTargetsList() { return targets_; } /** + *
+     * The receivers that this voice target includes.
+     * 
+ * * repeated .MumbleProto.VoiceTarget.Target targets = 2; */ public java.util.List @@ -25694,18 +33046,30 @@ public final class Mumble { return targets_; } /** + *
+     * The receivers that this voice target includes.
+     * 
+ * * repeated .MumbleProto.VoiceTarget.Target targets = 2; */ public int getTargetsCount() { return targets_.size(); } /** + *
+     * The receivers that this voice target includes.
+     * 
+ * * repeated .MumbleProto.VoiceTarget.Target targets = 2; */ public se.lublin.humla.protobuf.Mumble.VoiceTarget.Target getTargets(int index) { return targets_.get(index); } /** + *
+     * The receivers that this voice target includes.
+     * 
+ * * repeated .MumbleProto.VoiceTarget.Target targets = 2; */ public se.lublin.humla.protobuf.Mumble.VoiceTarget.TargetOrBuilder getTargetsOrBuilder( @@ -25714,6 +33078,7 @@ public final class Mumble { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -25723,9 +33088,10 @@ public final class Mumble { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, id_); } for (int i = 0; i < targets_.size(); i++) { @@ -25734,12 +33100,13 @@ public final class Mumble { unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, id_); } @@ -25752,7 +33119,6 @@ public final class Mumble { return size; } - private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { @@ -25763,16 +33129,15 @@ public final class Mumble { } se.lublin.humla.protobuf.Mumble.VoiceTarget other = (se.lublin.humla.protobuf.Mumble.VoiceTarget) obj; - boolean result = true; - result = result && (hasId() == other.hasId()); + if (hasId() != other.hasId()) return false; if (hasId()) { - result = result && (getId() - == other.getId()); + if (getId() + != other.getId()) return false; } - result = result && getTargetsList() - .equals(other.getTargetsList()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getTargetsList() + .equals(other.getTargetsList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -25781,7 +33146,7 @@ public final class Mumble { return memoizedHashCode; } int hash = 41; - hash = (19 * hash) + getDescriptorForType().hashCode(); + hash = (19 * hash) + getDescriptor().hashCode(); if (hasId()) { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getId(); @@ -25795,6 +33160,17 @@ public final class Mumble { return hash; } + public static se.lublin.humla.protobuf.Mumble.VoiceTarget parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static se.lublin.humla.protobuf.Mumble.VoiceTarget parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static se.lublin.humla.protobuf.Mumble.VoiceTarget parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -25854,6 +33230,7 @@ public final class Mumble { .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); @@ -25861,6 +33238,7 @@ public final class Mumble { public static Builder newBuilder(se.lublin.humla.protobuf.Mumble.VoiceTarget prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -25873,6 +33251,12 @@ public final class Mumble { return builder; } /** + *
+     * Sent by the client when it wants to register or clear whisper targets.
+     * Note: The first available target ID is 1 as 0 is reserved for normal
+     * talking. Maximum target ID is 30.
+     * 
+ * * Protobuf type {@code MumbleProto.VoiceTarget} */ public static final class Builder extends @@ -25884,6 +33268,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_VoiceTarget_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_VoiceTarget_fieldAccessorTable @@ -25907,6 +33292,7 @@ public final class Mumble { getTargetsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); id_ = 0; @@ -25920,15 +33306,18 @@ public final class Mumble { return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_VoiceTarget_descriptor; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.VoiceTarget getDefaultInstanceForType() { return se.lublin.humla.protobuf.Mumble.VoiceTarget.getDefaultInstance(); } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.VoiceTarget build() { se.lublin.humla.protobuf.Mumble.VoiceTarget result = buildPartial(); if (!result.isInitialized()) { @@ -25937,16 +33326,17 @@ public final class Mumble { return result; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.VoiceTarget buildPartial() { se.lublin.humla.protobuf.Mumble.VoiceTarget result = new se.lublin.humla.protobuf.Mumble.VoiceTarget(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.id_ = id_; to_bitField0_ |= 0x00000001; } - result.id_ = id_; if (targetsBuilder_ == null) { - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { targets_ = java.util.Collections.unmodifiableList(targets_); bitField0_ = (bitField0_ & ~0x00000002); } @@ -25959,32 +33349,39 @@ public final class Mumble { return result; } + @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.setField(field, value); + java.lang.Object value) { + return super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { - return (Builder) super.setRepeatedField(field, index, value); + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.addRepeatedField(field, value); + java.lang.Object value) { + return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof se.lublin.humla.protobuf.Mumble.VoiceTarget) { return mergeFrom((se.lublin.humla.protobuf.Mumble.VoiceTarget)other); @@ -26030,10 +33427,12 @@ public final class Mumble { return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -26055,19 +33454,35 @@ public final class Mumble { private int id_ ; /** + *
+       * Voice target ID.
+       * 
+ * * optional uint32 id = 1; + * @return Whether the id field is set. */ public boolean hasId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+       * Voice target ID.
+       * 
+ * * optional uint32 id = 1; + * @return The id. */ public int getId() { return id_; } /** + *
+       * Voice target ID.
+       * 
+ * * optional uint32 id = 1; + * @param value The id to set. + * @return This builder for chaining. */ public Builder setId(int value) { bitField0_ |= 0x00000001; @@ -26076,7 +33491,12 @@ public final class Mumble { return this; } /** + *
+       * Voice target ID.
+       * 
+ * * optional uint32 id = 1; + * @return This builder for chaining. */ public Builder clearId() { bitField0_ = (bitField0_ & ~0x00000001); @@ -26088,7 +33508,7 @@ public final class Mumble { private java.util.List targets_ = java.util.Collections.emptyList(); private void ensureTargetsIsMutable() { - if (!((bitField0_ & 0x00000002) == 0x00000002)) { + if (!((bitField0_ & 0x00000002) != 0)) { targets_ = new java.util.ArrayList(targets_); bitField0_ |= 0x00000002; } @@ -26098,6 +33518,10 @@ public final class Mumble { se.lublin.humla.protobuf.Mumble.VoiceTarget.Target, se.lublin.humla.protobuf.Mumble.VoiceTarget.Target.Builder, se.lublin.humla.protobuf.Mumble.VoiceTarget.TargetOrBuilder> targetsBuilder_; /** + *
+       * The receivers that this voice target includes.
+       * 
+ * * repeated .MumbleProto.VoiceTarget.Target targets = 2; */ public java.util.List getTargetsList() { @@ -26108,6 +33532,10 @@ public final class Mumble { } } /** + *
+       * The receivers that this voice target includes.
+       * 
+ * * repeated .MumbleProto.VoiceTarget.Target targets = 2; */ public int getTargetsCount() { @@ -26118,6 +33546,10 @@ public final class Mumble { } } /** + *
+       * The receivers that this voice target includes.
+       * 
+ * * repeated .MumbleProto.VoiceTarget.Target targets = 2; */ public se.lublin.humla.protobuf.Mumble.VoiceTarget.Target getTargets(int index) { @@ -26128,6 +33560,10 @@ public final class Mumble { } } /** + *
+       * The receivers that this voice target includes.
+       * 
+ * * repeated .MumbleProto.VoiceTarget.Target targets = 2; */ public Builder setTargets( @@ -26145,6 +33581,10 @@ public final class Mumble { return this; } /** + *
+       * The receivers that this voice target includes.
+       * 
+ * * repeated .MumbleProto.VoiceTarget.Target targets = 2; */ public Builder setTargets( @@ -26159,6 +33599,10 @@ public final class Mumble { return this; } /** + *
+       * The receivers that this voice target includes.
+       * 
+ * * repeated .MumbleProto.VoiceTarget.Target targets = 2; */ public Builder addTargets(se.lublin.humla.protobuf.Mumble.VoiceTarget.Target value) { @@ -26175,6 +33619,10 @@ public final class Mumble { return this; } /** + *
+       * The receivers that this voice target includes.
+       * 
+ * * repeated .MumbleProto.VoiceTarget.Target targets = 2; */ public Builder addTargets( @@ -26192,6 +33640,10 @@ public final class Mumble { return this; } /** + *
+       * The receivers that this voice target includes.
+       * 
+ * * repeated .MumbleProto.VoiceTarget.Target targets = 2; */ public Builder addTargets( @@ -26206,6 +33658,10 @@ public final class Mumble { return this; } /** + *
+       * The receivers that this voice target includes.
+       * 
+ * * repeated .MumbleProto.VoiceTarget.Target targets = 2; */ public Builder addTargets( @@ -26220,6 +33676,10 @@ public final class Mumble { return this; } /** + *
+       * The receivers that this voice target includes.
+       * 
+ * * repeated .MumbleProto.VoiceTarget.Target targets = 2; */ public Builder addAllTargets( @@ -26235,6 +33695,10 @@ public final class Mumble { return this; } /** + *
+       * The receivers that this voice target includes.
+       * 
+ * * repeated .MumbleProto.VoiceTarget.Target targets = 2; */ public Builder clearTargets() { @@ -26248,6 +33712,10 @@ public final class Mumble { return this; } /** + *
+       * The receivers that this voice target includes.
+       * 
+ * * repeated .MumbleProto.VoiceTarget.Target targets = 2; */ public Builder removeTargets(int index) { @@ -26261,6 +33729,10 @@ public final class Mumble { return this; } /** + *
+       * The receivers that this voice target includes.
+       * 
+ * * repeated .MumbleProto.VoiceTarget.Target targets = 2; */ public se.lublin.humla.protobuf.Mumble.VoiceTarget.Target.Builder getTargetsBuilder( @@ -26268,6 +33740,10 @@ public final class Mumble { return getTargetsFieldBuilder().getBuilder(index); } /** + *
+       * The receivers that this voice target includes.
+       * 
+ * * repeated .MumbleProto.VoiceTarget.Target targets = 2; */ public se.lublin.humla.protobuf.Mumble.VoiceTarget.TargetOrBuilder getTargetsOrBuilder( @@ -26278,6 +33754,10 @@ public final class Mumble { } } /** + *
+       * The receivers that this voice target includes.
+       * 
+ * * repeated .MumbleProto.VoiceTarget.Target targets = 2; */ public java.util.List @@ -26289,6 +33769,10 @@ public final class Mumble { } } /** + *
+       * The receivers that this voice target includes.
+       * 
+ * * repeated .MumbleProto.VoiceTarget.Target targets = 2; */ public se.lublin.humla.protobuf.Mumble.VoiceTarget.Target.Builder addTargetsBuilder() { @@ -26296,6 +33780,10 @@ public final class Mumble { se.lublin.humla.protobuf.Mumble.VoiceTarget.Target.getDefaultInstance()); } /** + *
+       * The receivers that this voice target includes.
+       * 
+ * * repeated .MumbleProto.VoiceTarget.Target targets = 2; */ public se.lublin.humla.protobuf.Mumble.VoiceTarget.Target.Builder addTargetsBuilder( @@ -26304,6 +33792,10 @@ public final class Mumble { index, se.lublin.humla.protobuf.Mumble.VoiceTarget.Target.getDefaultInstance()); } /** + *
+       * The receivers that this voice target includes.
+       * 
+ * * repeated .MumbleProto.VoiceTarget.Target targets = 2; */ public java.util.List @@ -26317,18 +33809,20 @@ public final class Mumble { targetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< se.lublin.humla.protobuf.Mumble.VoiceTarget.Target, se.lublin.humla.protobuf.Mumble.VoiceTarget.Target.Builder, se.lublin.humla.protobuf.Mumble.VoiceTarget.TargetOrBuilder>( targets_, - ((bitField0_ & 0x00000002) == 0x00000002), + ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); targets_ = null; } return targetsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -26350,11 +33844,12 @@ public final class Mumble { @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override public VoiceTarget parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new VoiceTarget(input, extensionRegistry); + return new VoiceTarget(input, extensionRegistry); } }; @@ -26367,6 +33862,7 @@ public final class Mumble { return PARSER; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.VoiceTarget getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -26378,47 +33874,90 @@ public final class Mumble { com.google.protobuf.MessageOrBuilder { /** + *
+     * channel_id of the channel for which the permissions are queried.
+     * 
+ * * optional uint32 channel_id = 1; + * @return Whether the channelId field is set. */ boolean hasChannelId(); /** + *
+     * channel_id of the channel for which the permissions are queried.
+     * 
+ * * optional uint32 channel_id = 1; + * @return The channelId. */ int getChannelId(); /** + *
+     * Channel permissions.
+     * 
+ * * optional uint32 permissions = 2; + * @return Whether the permissions field is set. */ boolean hasPermissions(); /** + *
+     * Channel permissions.
+     * 
+ * * optional uint32 permissions = 2; + * @return The permissions. */ int getPermissions(); /** + *
+     * True if the client should drop its current permission information for all
+     * channels.
+     * 
+ * * optional bool flush = 3 [default = false]; + * @return Whether the flush field is set. */ boolean hasFlush(); /** + *
+     * True if the client should drop its current permission information for all
+     * channels.
+     * 
+ * * optional bool flush = 3 [default = false]; + * @return The flush. */ boolean getFlush(); } /** + *
+   * Sent by the client when it wants permissions for a certain channel. Sent by
+   * the server when it replies to the query or wants the user to resync all
+   * channel permissions.
+   * 
+ * * Protobuf type {@code MumbleProto.PermissionQuery} */ public static final class PermissionQuery extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:MumbleProto.PermissionQuery) PermissionQueryOrBuilder { + private static final long serialVersionUID = 0L; // Use PermissionQuery.newBuilder() to construct. private PermissionQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PermissionQuery() { - channelId_ = 0; - permissions_ = 0; - flush_ = false; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PermissionQuery(); } @java.lang.Override @@ -26431,6 +33970,9 @@ public final class Mumble { com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -26442,13 +33984,6 @@ public final class Mumble { case 0: done = true; break; - default: { - if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; channelId_ = input.readUInt32(); @@ -26464,6 +33999,13 @@ public final class Mumble { flush_ = input.readBool(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -26481,6 +34023,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_PermissionQuery_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_PermissionQuery_fieldAccessorTable @@ -26492,13 +34035,23 @@ public final class Mumble { public static final int CHANNEL_ID_FIELD_NUMBER = 1; private int channelId_; /** + *
+     * channel_id of the channel for which the permissions are queried.
+     * 
+ * * optional uint32 channel_id = 1; + * @return Whether the channelId field is set. */ public boolean hasChannelId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+     * channel_id of the channel for which the permissions are queried.
+     * 
+ * * optional uint32 channel_id = 1; + * @return The channelId. */ public int getChannelId() { return channelId_; @@ -26507,13 +34060,23 @@ public final class Mumble { public static final int PERMISSIONS_FIELD_NUMBER = 2; private int permissions_; /** + *
+     * Channel permissions.
+     * 
+ * * optional uint32 permissions = 2; + * @return Whether the permissions field is set. */ public boolean hasPermissions() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+     * Channel permissions.
+     * 
+ * * optional uint32 permissions = 2; + * @return The permissions. */ public int getPermissions() { return permissions_; @@ -26522,19 +34085,32 @@ public final class Mumble { public static final int FLUSH_FIELD_NUMBER = 3; private boolean flush_; /** + *
+     * True if the client should drop its current permission information for all
+     * channels.
+     * 
+ * * optional bool flush = 3 [default = false]; + * @return Whether the flush field is set. */ public boolean hasFlush() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** + *
+     * True if the client should drop its current permission information for all
+     * channels.
+     * 
+ * * optional bool flush = 3 [default = false]; + * @return The flush. */ public boolean getFlush() { return flush_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -26544,34 +34120,36 @@ public final class Mumble { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, channelId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, permissions_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeBool(3, flush_); } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, channelId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, permissions_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, flush_); } @@ -26580,7 +34158,6 @@ public final class Mumble { return size; } - private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { @@ -26591,24 +34168,23 @@ public final class Mumble { } se.lublin.humla.protobuf.Mumble.PermissionQuery other = (se.lublin.humla.protobuf.Mumble.PermissionQuery) obj; - boolean result = true; - result = result && (hasChannelId() == other.hasChannelId()); + if (hasChannelId() != other.hasChannelId()) return false; if (hasChannelId()) { - result = result && (getChannelId() - == other.getChannelId()); + if (getChannelId() + != other.getChannelId()) return false; } - result = result && (hasPermissions() == other.hasPermissions()); + if (hasPermissions() != other.hasPermissions()) return false; if (hasPermissions()) { - result = result && (getPermissions() - == other.getPermissions()); + if (getPermissions() + != other.getPermissions()) return false; } - result = result && (hasFlush() == other.hasFlush()); + if (hasFlush() != other.hasFlush()) return false; if (hasFlush()) { - result = result && (getFlush() - == other.getFlush()); + if (getFlush() + != other.getFlush()) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -26617,7 +34193,7 @@ public final class Mumble { return memoizedHashCode; } int hash = 41; - hash = (19 * hash) + getDescriptorForType().hashCode(); + hash = (19 * hash) + getDescriptor().hashCode(); if (hasChannelId()) { hash = (37 * hash) + CHANNEL_ID_FIELD_NUMBER; hash = (53 * hash) + getChannelId(); @@ -26636,6 +34212,17 @@ public final class Mumble { return hash; } + public static se.lublin.humla.protobuf.Mumble.PermissionQuery parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static se.lublin.humla.protobuf.Mumble.PermissionQuery parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static se.lublin.humla.protobuf.Mumble.PermissionQuery parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -26695,6 +34282,7 @@ public final class Mumble { .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); @@ -26702,6 +34290,7 @@ public final class Mumble { public static Builder newBuilder(se.lublin.humla.protobuf.Mumble.PermissionQuery prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -26714,6 +34303,12 @@ public final class Mumble { return builder; } /** + *
+     * Sent by the client when it wants permissions for a certain channel. Sent by
+     * the server when it replies to the query or wants the user to resync all
+     * channel permissions.
+     * 
+ * * Protobuf type {@code MumbleProto.PermissionQuery} */ public static final class Builder extends @@ -26725,6 +34320,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_PermissionQuery_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_PermissionQuery_fieldAccessorTable @@ -26747,6 +34343,7 @@ public final class Mumble { .alwaysUseFieldBuilders) { } } + @java.lang.Override public Builder clear() { super.clear(); channelId_ = 0; @@ -26758,15 +34355,18 @@ public final class Mumble { return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_PermissionQuery_descriptor; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.PermissionQuery getDefaultInstanceForType() { return se.lublin.humla.protobuf.Mumble.PermissionQuery.getDefaultInstance(); } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.PermissionQuery build() { se.lublin.humla.protobuf.Mumble.PermissionQuery result = buildPartial(); if (!result.isInitialized()) { @@ -26775,53 +34375,61 @@ public final class Mumble { return result; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.PermissionQuery buildPartial() { se.lublin.humla.protobuf.Mumble.PermissionQuery result = new se.lublin.humla.protobuf.Mumble.PermissionQuery(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.channelId_ = channelId_; to_bitField0_ |= 0x00000001; } - result.channelId_ = channelId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.permissions_ = permissions_; to_bitField0_ |= 0x00000002; } - result.permissions_ = permissions_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { + result.flush_ = flush_; to_bitField0_ |= 0x00000004; } - result.flush_ = flush_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } + @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.setField(field, value); + java.lang.Object value) { + return super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { - return (Builder) super.setRepeatedField(field, index, value); + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.addRepeatedField(field, value); + java.lang.Object value) { + return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof se.lublin.humla.protobuf.Mumble.PermissionQuery) { return mergeFrom((se.lublin.humla.protobuf.Mumble.PermissionQuery)other); @@ -26847,10 +34455,12 @@ public final class Mumble { return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -26872,19 +34482,35 @@ public final class Mumble { private int channelId_ ; /** + *
+       * channel_id of the channel for which the permissions are queried.
+       * 
+ * * optional uint32 channel_id = 1; + * @return Whether the channelId field is set. */ public boolean hasChannelId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+       * channel_id of the channel for which the permissions are queried.
+       * 
+ * * optional uint32 channel_id = 1; + * @return The channelId. */ public int getChannelId() { return channelId_; } /** + *
+       * channel_id of the channel for which the permissions are queried.
+       * 
+ * * optional uint32 channel_id = 1; + * @param value The channelId to set. + * @return This builder for chaining. */ public Builder setChannelId(int value) { bitField0_ |= 0x00000001; @@ -26893,7 +34519,12 @@ public final class Mumble { return this; } /** + *
+       * channel_id of the channel for which the permissions are queried.
+       * 
+ * * optional uint32 channel_id = 1; + * @return This builder for chaining. */ public Builder clearChannelId() { bitField0_ = (bitField0_ & ~0x00000001); @@ -26904,19 +34535,35 @@ public final class Mumble { private int permissions_ ; /** + *
+       * Channel permissions.
+       * 
+ * * optional uint32 permissions = 2; + * @return Whether the permissions field is set. */ public boolean hasPermissions() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+       * Channel permissions.
+       * 
+ * * optional uint32 permissions = 2; + * @return The permissions. */ public int getPermissions() { return permissions_; } /** + *
+       * Channel permissions.
+       * 
+ * * optional uint32 permissions = 2; + * @param value The permissions to set. + * @return This builder for chaining. */ public Builder setPermissions(int value) { bitField0_ |= 0x00000002; @@ -26925,7 +34572,12 @@ public final class Mumble { return this; } /** + *
+       * Channel permissions.
+       * 
+ * * optional uint32 permissions = 2; + * @return This builder for chaining. */ public Builder clearPermissions() { bitField0_ = (bitField0_ & ~0x00000002); @@ -26936,19 +34588,38 @@ public final class Mumble { private boolean flush_ ; /** + *
+       * True if the client should drop its current permission information for all
+       * channels.
+       * 
+ * * optional bool flush = 3 [default = false]; + * @return Whether the flush field is set. */ public boolean hasFlush() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** + *
+       * True if the client should drop its current permission information for all
+       * channels.
+       * 
+ * * optional bool flush = 3 [default = false]; + * @return The flush. */ public boolean getFlush() { return flush_; } /** + *
+       * True if the client should drop its current permission information for all
+       * channels.
+       * 
+ * * optional bool flush = 3 [default = false]; + * @param value The flush to set. + * @return This builder for chaining. */ public Builder setFlush(boolean value) { bitField0_ |= 0x00000004; @@ -26957,7 +34628,13 @@ public final class Mumble { return this; } /** + *
+       * True if the client should drop its current permission information for all
+       * channels.
+       * 
+ * * optional bool flush = 3 [default = false]; + * @return This builder for chaining. */ public Builder clearFlush() { bitField0_ = (bitField0_ & ~0x00000004); @@ -26965,11 +34642,13 @@ public final class Mumble { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -26991,11 +34670,12 @@ public final class Mumble { @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override public PermissionQuery parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new PermissionQuery(input, extensionRegistry); + return new PermissionQuery(input, extensionRegistry); } }; @@ -27008,6 +34688,7 @@ public final class Mumble { return PARSER; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.PermissionQuery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -27019,57 +34700,99 @@ public final class Mumble { com.google.protobuf.MessageOrBuilder { /** + *
+     * The version of the CELT Alpha codec.
+     * 
+ * * required int32 alpha = 1; + * @return Whether the alpha field is set. */ boolean hasAlpha(); /** + *
+     * The version of the CELT Alpha codec.
+     * 
+ * * required int32 alpha = 1; + * @return The alpha. */ int getAlpha(); /** + *
+     * The version of the CELT Beta codec.
+     * 
+ * * required int32 beta = 2; + * @return Whether the beta field is set. */ boolean hasBeta(); /** + *
+     * The version of the CELT Beta codec.
+     * 
+ * * required int32 beta = 2; + * @return The beta. */ int getBeta(); /** + *
+     * True if the user should prefer Alpha over Beta.
+     * 
+ * * required bool prefer_alpha = 3 [default = true]; + * @return Whether the preferAlpha field is set. */ boolean hasPreferAlpha(); /** + *
+     * True if the user should prefer Alpha over Beta.
+     * 
+ * * required bool prefer_alpha = 3 [default = true]; + * @return The preferAlpha. */ boolean getPreferAlpha(); /** * optional bool opus = 4 [default = false]; + * @return Whether the opus field is set. */ boolean hasOpus(); /** * optional bool opus = 4 [default = false]; + * @return The opus. */ boolean getOpus(); } /** + *
+   * Sent by the server to notify the users of the version of the CELT codec they
+   * should use. This may change during the connection when new users join.
+   * 
+ * * Protobuf type {@code MumbleProto.CodecVersion} */ public static final class CodecVersion extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:MumbleProto.CodecVersion) CodecVersionOrBuilder { + private static final long serialVersionUID = 0L; // Use CodecVersion.newBuilder() to construct. private CodecVersion(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CodecVersion() { - alpha_ = 0; - beta_ = 0; preferAlpha_ = true; - opus_ = false; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CodecVersion(); } @java.lang.Override @@ -27082,6 +34805,9 @@ public final class Mumble { com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -27093,13 +34819,6 @@ public final class Mumble { case 0: done = true; break; - default: { - if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; alpha_ = input.readInt32(); @@ -27120,6 +34839,13 @@ public final class Mumble { opus_ = input.readBool(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -27137,6 +34863,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_CodecVersion_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_CodecVersion_fieldAccessorTable @@ -27148,13 +34875,23 @@ public final class Mumble { public static final int ALPHA_FIELD_NUMBER = 1; private int alpha_; /** + *
+     * The version of the CELT Alpha codec.
+     * 
+ * * required int32 alpha = 1; + * @return Whether the alpha field is set. */ public boolean hasAlpha() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+     * The version of the CELT Alpha codec.
+     * 
+ * * required int32 alpha = 1; + * @return The alpha. */ public int getAlpha() { return alpha_; @@ -27163,13 +34900,23 @@ public final class Mumble { public static final int BETA_FIELD_NUMBER = 2; private int beta_; /** + *
+     * The version of the CELT Beta codec.
+     * 
+ * * required int32 beta = 2; + * @return Whether the beta field is set. */ public boolean hasBeta() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+     * The version of the CELT Beta codec.
+     * 
+ * * required int32 beta = 2; + * @return The beta. */ public int getBeta() { return beta_; @@ -27178,13 +34925,23 @@ public final class Mumble { public static final int PREFER_ALPHA_FIELD_NUMBER = 3; private boolean preferAlpha_; /** + *
+     * True if the user should prefer Alpha over Beta.
+     * 
+ * * required bool prefer_alpha = 3 [default = true]; + * @return Whether the preferAlpha field is set. */ public boolean hasPreferAlpha() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** + *
+     * True if the user should prefer Alpha over Beta.
+     * 
+ * * required bool prefer_alpha = 3 [default = true]; + * @return The preferAlpha. */ public boolean getPreferAlpha() { return preferAlpha_; @@ -27194,18 +34951,21 @@ public final class Mumble { private boolean opus_; /** * optional bool opus = 4 [default = false]; + * @return Whether the opus field is set. */ public boolean hasOpus() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** * optional bool opus = 4 [default = false]; + * @return The opus. */ public boolean getOpus() { return opus_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -27227,41 +34987,43 @@ public final class Mumble { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeInt32(1, alpha_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeInt32(2, beta_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeBool(3, preferAlpha_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { output.writeBool(4, opus_); } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, alpha_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, beta_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, preferAlpha_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, opus_); } @@ -27270,7 +35032,6 @@ public final class Mumble { return size; } - private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { @@ -27281,29 +35042,28 @@ public final class Mumble { } se.lublin.humla.protobuf.Mumble.CodecVersion other = (se.lublin.humla.protobuf.Mumble.CodecVersion) obj; - boolean result = true; - result = result && (hasAlpha() == other.hasAlpha()); + if (hasAlpha() != other.hasAlpha()) return false; if (hasAlpha()) { - result = result && (getAlpha() - == other.getAlpha()); + if (getAlpha() + != other.getAlpha()) return false; } - result = result && (hasBeta() == other.hasBeta()); + if (hasBeta() != other.hasBeta()) return false; if (hasBeta()) { - result = result && (getBeta() - == other.getBeta()); + if (getBeta() + != other.getBeta()) return false; } - result = result && (hasPreferAlpha() == other.hasPreferAlpha()); + if (hasPreferAlpha() != other.hasPreferAlpha()) return false; if (hasPreferAlpha()) { - result = result && (getPreferAlpha() - == other.getPreferAlpha()); + if (getPreferAlpha() + != other.getPreferAlpha()) return false; } - result = result && (hasOpus() == other.hasOpus()); + if (hasOpus() != other.hasOpus()) return false; if (hasOpus()) { - result = result && (getOpus() - == other.getOpus()); + if (getOpus() + != other.getOpus()) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -27312,7 +35072,7 @@ public final class Mumble { return memoizedHashCode; } int hash = 41; - hash = (19 * hash) + getDescriptorForType().hashCode(); + hash = (19 * hash) + getDescriptor().hashCode(); if (hasAlpha()) { hash = (37 * hash) + ALPHA_FIELD_NUMBER; hash = (53 * hash) + getAlpha(); @@ -27336,6 +35096,17 @@ public final class Mumble { return hash; } + public static se.lublin.humla.protobuf.Mumble.CodecVersion parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static se.lublin.humla.protobuf.Mumble.CodecVersion parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static se.lublin.humla.protobuf.Mumble.CodecVersion parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -27395,6 +35166,7 @@ public final class Mumble { .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); @@ -27402,6 +35174,7 @@ public final class Mumble { public static Builder newBuilder(se.lublin.humla.protobuf.Mumble.CodecVersion prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -27414,6 +35187,11 @@ public final class Mumble { return builder; } /** + *
+     * Sent by the server to notify the users of the version of the CELT codec they
+     * should use. This may change during the connection when new users join.
+     * 
+ * * Protobuf type {@code MumbleProto.CodecVersion} */ public static final class Builder extends @@ -27425,6 +35203,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_CodecVersion_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_CodecVersion_fieldAccessorTable @@ -27447,6 +35226,7 @@ public final class Mumble { .alwaysUseFieldBuilders) { } } + @java.lang.Override public Builder clear() { super.clear(); alpha_ = 0; @@ -27460,15 +35240,18 @@ public final class Mumble { return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_CodecVersion_descriptor; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.CodecVersion getDefaultInstanceForType() { return se.lublin.humla.protobuf.Mumble.CodecVersion.getDefaultInstance(); } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.CodecVersion build() { se.lublin.humla.protobuf.Mumble.CodecVersion result = buildPartial(); if (!result.isInitialized()) { @@ -27477,57 +35260,65 @@ public final class Mumble { return result; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.CodecVersion buildPartial() { se.lublin.humla.protobuf.Mumble.CodecVersion result = new se.lublin.humla.protobuf.Mumble.CodecVersion(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.alpha_ = alpha_; to_bitField0_ |= 0x00000001; } - result.alpha_ = alpha_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.beta_ = beta_; to_bitField0_ |= 0x00000002; } - result.beta_ = beta_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.preferAlpha_ = preferAlpha_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + if (((from_bitField0_ & 0x00000008) != 0)) { + result.opus_ = opus_; to_bitField0_ |= 0x00000008; } - result.opus_ = opus_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } + @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.setField(field, value); + java.lang.Object value) { + return super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { - return (Builder) super.setRepeatedField(field, index, value); + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.addRepeatedField(field, value); + java.lang.Object value) { + return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof se.lublin.humla.protobuf.Mumble.CodecVersion) { return mergeFrom((se.lublin.humla.protobuf.Mumble.CodecVersion)other); @@ -27556,6 +35347,7 @@ public final class Mumble { return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasAlpha()) { return false; @@ -27569,6 +35361,7 @@ public final class Mumble { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -27590,19 +35383,35 @@ public final class Mumble { private int alpha_ ; /** + *
+       * The version of the CELT Alpha codec.
+       * 
+ * * required int32 alpha = 1; + * @return Whether the alpha field is set. */ public boolean hasAlpha() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+       * The version of the CELT Alpha codec.
+       * 
+ * * required int32 alpha = 1; + * @return The alpha. */ public int getAlpha() { return alpha_; } /** + *
+       * The version of the CELT Alpha codec.
+       * 
+ * * required int32 alpha = 1; + * @param value The alpha to set. + * @return This builder for chaining. */ public Builder setAlpha(int value) { bitField0_ |= 0x00000001; @@ -27611,7 +35420,12 @@ public final class Mumble { return this; } /** + *
+       * The version of the CELT Alpha codec.
+       * 
+ * * required int32 alpha = 1; + * @return This builder for chaining. */ public Builder clearAlpha() { bitField0_ = (bitField0_ & ~0x00000001); @@ -27622,19 +35436,35 @@ public final class Mumble { private int beta_ ; /** + *
+       * The version of the CELT Beta codec.
+       * 
+ * * required int32 beta = 2; + * @return Whether the beta field is set. */ public boolean hasBeta() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+       * The version of the CELT Beta codec.
+       * 
+ * * required int32 beta = 2; + * @return The beta. */ public int getBeta() { return beta_; } /** + *
+       * The version of the CELT Beta codec.
+       * 
+ * * required int32 beta = 2; + * @param value The beta to set. + * @return This builder for chaining. */ public Builder setBeta(int value) { bitField0_ |= 0x00000002; @@ -27643,7 +35473,12 @@ public final class Mumble { return this; } /** + *
+       * The version of the CELT Beta codec.
+       * 
+ * * required int32 beta = 2; + * @return This builder for chaining. */ public Builder clearBeta() { bitField0_ = (bitField0_ & ~0x00000002); @@ -27654,19 +35489,35 @@ public final class Mumble { private boolean preferAlpha_ = true; /** + *
+       * True if the user should prefer Alpha over Beta.
+       * 
+ * * required bool prefer_alpha = 3 [default = true]; + * @return Whether the preferAlpha field is set. */ public boolean hasPreferAlpha() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** + *
+       * True if the user should prefer Alpha over Beta.
+       * 
+ * * required bool prefer_alpha = 3 [default = true]; + * @return The preferAlpha. */ public boolean getPreferAlpha() { return preferAlpha_; } /** + *
+       * True if the user should prefer Alpha over Beta.
+       * 
+ * * required bool prefer_alpha = 3 [default = true]; + * @param value The preferAlpha to set. + * @return This builder for chaining. */ public Builder setPreferAlpha(boolean value) { bitField0_ |= 0x00000004; @@ -27675,7 +35526,12 @@ public final class Mumble { return this; } /** + *
+       * True if the user should prefer Alpha over Beta.
+       * 
+ * * required bool prefer_alpha = 3 [default = true]; + * @return This builder for chaining. */ public Builder clearPreferAlpha() { bitField0_ = (bitField0_ & ~0x00000004); @@ -27687,18 +35543,22 @@ public final class Mumble { private boolean opus_ ; /** * optional bool opus = 4 [default = false]; + * @return Whether the opus field is set. */ public boolean hasOpus() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** * optional bool opus = 4 [default = false]; + * @return The opus. */ public boolean getOpus() { return opus_; } /** * optional bool opus = 4 [default = false]; + * @param value The opus to set. + * @return This builder for chaining. */ public Builder setOpus(boolean value) { bitField0_ |= 0x00000008; @@ -27708,6 +35568,7 @@ public final class Mumble { } /** * optional bool opus = 4 [default = false]; + * @return This builder for chaining. */ public Builder clearOpus() { bitField0_ = (bitField0_ & ~0x00000008); @@ -27715,11 +35576,13 @@ public final class Mumble { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -27741,11 +35604,12 @@ public final class Mumble { @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override public CodecVersion parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CodecVersion(input, extensionRegistry); + return new CodecVersion(input, extensionRegistry); } }; @@ -27758,6 +35622,7 @@ public final class Mumble { return PARSER; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.CodecVersion getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -27769,224 +35634,432 @@ public final class Mumble { com.google.protobuf.MessageOrBuilder { /** + *
+     * User whose stats these are.
+     * 
+ * * optional uint32 session = 1; + * @return Whether the session field is set. */ boolean hasSession(); /** + *
+     * User whose stats these are.
+     * 
+ * * optional uint32 session = 1; + * @return The session. */ int getSession(); /** + *
+     * True if the message contains only mutable stats (packets, ping).
+     * 
+ * * optional bool stats_only = 2 [default = false]; + * @return Whether the statsOnly field is set. */ boolean hasStatsOnly(); /** + *
+     * True if the message contains only mutable stats (packets, ping).
+     * 
+ * * optional bool stats_only = 2 [default = false]; + * @return The statsOnly. */ boolean getStatsOnly(); /** + *
+     * Full user certificate chain of the user certificate in DER format.
+     * 
+ * * repeated bytes certificates = 3; + * @return A list containing the certificates. */ java.util.List getCertificatesList(); /** + *
+     * Full user certificate chain of the user certificate in DER format.
+     * 
+ * * repeated bytes certificates = 3; + * @return The count of certificates. */ int getCertificatesCount(); /** + *
+     * Full user certificate chain of the user certificate in DER format.
+     * 
+ * * repeated bytes certificates = 3; + * @param index The index of the element to return. + * @return The certificates at the given index. */ com.google.protobuf.ByteString getCertificates(int index); /** + *
+     * Packet statistics for packets received from the client.
+     * 
+ * * optional .MumbleProto.UserStats.Stats from_client = 4; + * @return Whether the fromClient field is set. */ boolean hasFromClient(); /** + *
+     * Packet statistics for packets received from the client.
+     * 
+ * * optional .MumbleProto.UserStats.Stats from_client = 4; + * @return The fromClient. */ se.lublin.humla.protobuf.Mumble.UserStats.Stats getFromClient(); /** + *
+     * Packet statistics for packets received from the client.
+     * 
+ * * optional .MumbleProto.UserStats.Stats from_client = 4; */ se.lublin.humla.protobuf.Mumble.UserStats.StatsOrBuilder getFromClientOrBuilder(); /** + *
+     * Packet statistics for packets sent by the server.
+     * 
+ * * optional .MumbleProto.UserStats.Stats from_server = 5; + * @return Whether the fromServer field is set. */ boolean hasFromServer(); /** + *
+     * Packet statistics for packets sent by the server.
+     * 
+ * * optional .MumbleProto.UserStats.Stats from_server = 5; + * @return The fromServer. */ se.lublin.humla.protobuf.Mumble.UserStats.Stats getFromServer(); /** + *
+     * Packet statistics for packets sent by the server.
+     * 
+ * * optional .MumbleProto.UserStats.Stats from_server = 5; */ se.lublin.humla.protobuf.Mumble.UserStats.StatsOrBuilder getFromServerOrBuilder(); /** + *
+     * Amount of UDP packets sent.
+     * 
+ * * optional uint32 udp_packets = 6; + * @return Whether the udpPackets field is set. */ boolean hasUdpPackets(); /** + *
+     * Amount of UDP packets sent.
+     * 
+ * * optional uint32 udp_packets = 6; + * @return The udpPackets. */ int getUdpPackets(); /** + *
+     * Amount of TCP packets sent.
+     * 
+ * * optional uint32 tcp_packets = 7; + * @return Whether the tcpPackets field is set. */ boolean hasTcpPackets(); /** + *
+     * Amount of TCP packets sent.
+     * 
+ * * optional uint32 tcp_packets = 7; + * @return The tcpPackets. */ int getTcpPackets(); /** + *
+     * UDP ping average.
+     * 
+ * * optional float udp_ping_avg = 8; + * @return Whether the udpPingAvg field is set. */ boolean hasUdpPingAvg(); /** + *
+     * UDP ping average.
+     * 
+ * * optional float udp_ping_avg = 8; + * @return The udpPingAvg. */ float getUdpPingAvg(); /** + *
+     * UDP ping variance.
+     * 
+ * * optional float udp_ping_var = 9; + * @return Whether the udpPingVar field is set. */ boolean hasUdpPingVar(); /** + *
+     * UDP ping variance.
+     * 
+ * * optional float udp_ping_var = 9; + * @return The udpPingVar. */ float getUdpPingVar(); /** + *
+     * TCP ping average.
+     * 
+ * * optional float tcp_ping_avg = 10; + * @return Whether the tcpPingAvg field is set. */ boolean hasTcpPingAvg(); /** + *
+     * TCP ping average.
+     * 
+ * * optional float tcp_ping_avg = 10; + * @return The tcpPingAvg. */ float getTcpPingAvg(); /** + *
+     * TCP ping variance.
+     * 
+ * * optional float tcp_ping_var = 11; + * @return Whether the tcpPingVar field is set. */ boolean hasTcpPingVar(); /** + *
+     * TCP ping variance.
+     * 
+ * * optional float tcp_ping_var = 11; + * @return The tcpPingVar. */ float getTcpPingVar(); /** + *
+     * Client version.
+     * 
+ * * optional .MumbleProto.Version version = 12; + * @return Whether the version field is set. */ boolean hasVersion(); /** + *
+     * Client version.
+     * 
+ * * optional .MumbleProto.Version version = 12; + * @return The version. */ se.lublin.humla.protobuf.Mumble.Version getVersion(); /** + *
+     * Client version.
+     * 
+ * * optional .MumbleProto.Version version = 12; */ se.lublin.humla.protobuf.Mumble.VersionOrBuilder getVersionOrBuilder(); /** + *
+     * A list of CELT bitstream version constants supported by the client of this
+     * user.
+     * 
+ * * repeated int32 celt_versions = 13; + * @return A list containing the celtVersions. */ java.util.List getCeltVersionsList(); /** + *
+     * A list of CELT bitstream version constants supported by the client of this
+     * user.
+     * 
+ * * repeated int32 celt_versions = 13; + * @return The count of celtVersions. */ int getCeltVersionsCount(); /** + *
+     * A list of CELT bitstream version constants supported by the client of this
+     * user.
+     * 
+ * * repeated int32 celt_versions = 13; + * @param index The index of the element to return. + * @return The celtVersions at the given index. */ int getCeltVersions(int index); /** + *
+     * Client IP address.
+     * 
+ * * optional bytes address = 14; + * @return Whether the address field is set. */ boolean hasAddress(); /** + *
+     * Client IP address.
+     * 
+ * * optional bytes address = 14; + * @return The address. */ com.google.protobuf.ByteString getAddress(); /** + *
+     * Bandwith used by this client.
+     * 
+ * * optional uint32 bandwidth = 15; + * @return Whether the bandwidth field is set. */ boolean hasBandwidth(); /** + *
+     * Bandwith used by this client.
+     * 
+ * * optional uint32 bandwidth = 15; + * @return The bandwidth. */ int getBandwidth(); /** + *
+     * Connection duration.
+     * 
+ * * optional uint32 onlinesecs = 16; + * @return Whether the onlinesecs field is set. */ boolean hasOnlinesecs(); /** + *
+     * Connection duration.
+     * 
+ * * optional uint32 onlinesecs = 16; + * @return The onlinesecs. */ int getOnlinesecs(); /** + *
+     * Duration since last activity.
+     * 
+ * * optional uint32 idlesecs = 17; + * @return Whether the idlesecs field is set. */ boolean hasIdlesecs(); /** + *
+     * Duration since last activity.
+     * 
+ * * optional uint32 idlesecs = 17; + * @return The idlesecs. */ int getIdlesecs(); /** + *
+     * True if the user has a strong certificate.
+     * 
+ * * optional bool strong_certificate = 18 [default = false]; + * @return Whether the strongCertificate field is set. */ boolean hasStrongCertificate(); /** + *
+     * True if the user has a strong certificate.
+     * 
+ * * optional bool strong_certificate = 18 [default = false]; + * @return The strongCertificate. */ boolean getStrongCertificate(); /** * optional bool opus = 19 [default = false]; + * @return Whether the opus field is set. */ boolean hasOpus(); /** * optional bool opus = 19 [default = false]; + * @return The opus. */ boolean getOpus(); } /** + *
+   * Used to communicate user stats between the server and clients.
+   * 
+ * * Protobuf type {@code MumbleProto.UserStats} */ public static final class UserStats extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:MumbleProto.UserStats) UserStatsOrBuilder { + private static final long serialVersionUID = 0L; // Use UserStats.newBuilder() to construct. private UserStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UserStats() { - session_ = 0; - statsOnly_ = false; certificates_ = java.util.Collections.emptyList(); - udpPackets_ = 0; - tcpPackets_ = 0; - udpPingAvg_ = 0F; - udpPingVar_ = 0F; - tcpPingAvg_ = 0F; - tcpPingVar_ = 0F; - celtVersions_ = java.util.Collections.emptyList(); + celtVersions_ = emptyIntList(); address_ = com.google.protobuf.ByteString.EMPTY; - bandwidth_ = 0; - onlinesecs_ = 0; - idlesecs_ = 0; - strongCertificate_ = false; - opus_ = false; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UserStats(); } @java.lang.Override @@ -27999,6 +36072,9 @@ public final class Mumble { com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -28010,13 +36086,6 @@ public final class Mumble { case 0: done = true; break; - default: { - if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; session_ = input.readUInt32(); @@ -28028,7 +36097,7 @@ public final class Mumble { break; } case 26: { - if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { certificates_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } @@ -28037,7 +36106,7 @@ public final class Mumble { } case 34: { se.lublin.humla.protobuf.Mumble.UserStats.Stats.Builder subBuilder = null; - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { subBuilder = fromClient_.toBuilder(); } fromClient_ = input.readMessage(se.lublin.humla.protobuf.Mumble.UserStats.Stats.PARSER, extensionRegistry); @@ -28050,7 +36119,7 @@ public final class Mumble { } case 42: { se.lublin.humla.protobuf.Mumble.UserStats.Stats.Builder subBuilder = null; - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { subBuilder = fromServer_.toBuilder(); } fromServer_ = input.readMessage(se.lublin.humla.protobuf.Mumble.UserStats.Stats.PARSER, extensionRegistry); @@ -28093,7 +36162,7 @@ public final class Mumble { } case 98: { se.lublin.humla.protobuf.Mumble.Version.Builder subBuilder = null; - if (((bitField0_ & 0x00000400) == 0x00000400)) { + if (((bitField0_ & 0x00000400) != 0)) { subBuilder = version_.toBuilder(); } version_ = input.readMessage(se.lublin.humla.protobuf.Mumble.Version.PARSER, extensionRegistry); @@ -28105,22 +36174,22 @@ public final class Mumble { break; } case 104: { - if (!((mutable_bitField0_ & 0x00001000) == 0x00001000)) { - celtVersions_ = new java.util.ArrayList(); + if (!((mutable_bitField0_ & 0x00001000) != 0)) { + celtVersions_ = newIntList(); mutable_bitField0_ |= 0x00001000; } - celtVersions_.add(input.readInt32()); + celtVersions_.addInt(input.readInt32()); break; } case 106: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00001000) == 0x00001000) && input.getBytesUntilLimit() > 0) { - celtVersions_ = new java.util.ArrayList(); + if (!((mutable_bitField0_ & 0x00001000) != 0) && input.getBytesUntilLimit() > 0) { + celtVersions_ = newIntList(); mutable_bitField0_ |= 0x00001000; } while (input.getBytesUntilLimit() > 0) { - celtVersions_.add(input.readInt32()); + celtVersions_.addInt(input.readInt32()); } input.popLimit(limit); break; @@ -28155,6 +36224,13 @@ public final class Mumble { opus_ = input.readBool(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -28163,11 +36239,11 @@ public final class Mumble { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { - certificates_ = java.util.Collections.unmodifiableList(certificates_); + if (((mutable_bitField0_ & 0x00000004) != 0)) { + certificates_ = java.util.Collections.unmodifiableList(certificates_); // C } - if (((mutable_bitField0_ & 0x00001000) == 0x00001000)) { - celtVersions_ = java.util.Collections.unmodifiableList(celtVersions_); + if (((mutable_bitField0_ & 0x00001000) != 0)) { + celtVersions_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -28178,6 +36254,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_UserStats_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_UserStats_fieldAccessorTable @@ -28190,38 +36267,78 @@ public final class Mumble { com.google.protobuf.MessageOrBuilder { /** + *
+       * The amount of good packets received.
+       * 
+ * * optional uint32 good = 1; + * @return Whether the good field is set. */ boolean hasGood(); /** + *
+       * The amount of good packets received.
+       * 
+ * * optional uint32 good = 1; + * @return The good. */ int getGood(); /** + *
+       * The amount of late packets received.
+       * 
+ * * optional uint32 late = 2; + * @return Whether the late field is set. */ boolean hasLate(); /** + *
+       * The amount of late packets received.
+       * 
+ * * optional uint32 late = 2; + * @return The late. */ int getLate(); /** + *
+       * The amount of packets never received.
+       * 
+ * * optional uint32 lost = 3; + * @return Whether the lost field is set. */ boolean hasLost(); /** + *
+       * The amount of packets never received.
+       * 
+ * * optional uint32 lost = 3; + * @return The lost. */ int getLost(); /** + *
+       * The amount of nonce resyncs.
+       * 
+ * * optional uint32 resync = 4; + * @return Whether the resync field is set. */ boolean hasResync(); /** + *
+       * The amount of nonce resyncs.
+       * 
+ * * optional uint32 resync = 4; + * @return The resync. */ int getResync(); } @@ -28232,15 +36349,19 @@ public final class Mumble { com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:MumbleProto.UserStats.Stats) StatsOrBuilder { + private static final long serialVersionUID = 0L; // Use Stats.newBuilder() to construct. private Stats(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Stats() { - good_ = 0; - late_ = 0; - lost_ = 0; - resync_ = 0; + super(builder); + } + private Stats() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Stats(); } @java.lang.Override @@ -28253,6 +36374,9 @@ public final class Mumble { com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -28264,13 +36388,6 @@ public final class Mumble { case 0: done = true; break; - default: { - if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; good_ = input.readUInt32(); @@ -28291,6 +36408,13 @@ public final class Mumble { resync_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -28308,6 +36432,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_UserStats_Stats_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_UserStats_Stats_fieldAccessorTable @@ -28319,13 +36444,23 @@ public final class Mumble { public static final int GOOD_FIELD_NUMBER = 1; private int good_; /** + *
+       * The amount of good packets received.
+       * 
+ * * optional uint32 good = 1; + * @return Whether the good field is set. */ public boolean hasGood() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+       * The amount of good packets received.
+       * 
+ * * optional uint32 good = 1; + * @return The good. */ public int getGood() { return good_; @@ -28334,13 +36469,23 @@ public final class Mumble { public static final int LATE_FIELD_NUMBER = 2; private int late_; /** + *
+       * The amount of late packets received.
+       * 
+ * * optional uint32 late = 2; + * @return Whether the late field is set. */ public boolean hasLate() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+       * The amount of late packets received.
+       * 
+ * * optional uint32 late = 2; + * @return The late. */ public int getLate() { return late_; @@ -28349,13 +36494,23 @@ public final class Mumble { public static final int LOST_FIELD_NUMBER = 3; private int lost_; /** + *
+       * The amount of packets never received.
+       * 
+ * * optional uint32 lost = 3; + * @return Whether the lost field is set. */ public boolean hasLost() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** + *
+       * The amount of packets never received.
+       * 
+ * * optional uint32 lost = 3; + * @return The lost. */ public int getLost() { return lost_; @@ -28364,19 +36519,30 @@ public final class Mumble { public static final int RESYNC_FIELD_NUMBER = 4; private int resync_; /** + *
+       * The amount of nonce resyncs.
+       * 
+ * * optional uint32 resync = 4; + * @return Whether the resync field is set. */ public boolean hasResync() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** + *
+       * The amount of nonce resyncs.
+       * 
+ * * optional uint32 resync = 4; + * @return The resync. */ public int getResync() { return resync_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -28386,41 +36552,43 @@ public final class Mumble { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, good_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, late_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeUInt32(3, lost_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { output.writeUInt32(4, resync_); } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, good_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, late_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, lost_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, resync_); } @@ -28429,7 +36597,6 @@ public final class Mumble { return size; } - private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { @@ -28440,29 +36607,28 @@ public final class Mumble { } se.lublin.humla.protobuf.Mumble.UserStats.Stats other = (se.lublin.humla.protobuf.Mumble.UserStats.Stats) obj; - boolean result = true; - result = result && (hasGood() == other.hasGood()); + if (hasGood() != other.hasGood()) return false; if (hasGood()) { - result = result && (getGood() - == other.getGood()); + if (getGood() + != other.getGood()) return false; } - result = result && (hasLate() == other.hasLate()); + if (hasLate() != other.hasLate()) return false; if (hasLate()) { - result = result && (getLate() - == other.getLate()); + if (getLate() + != other.getLate()) return false; } - result = result && (hasLost() == other.hasLost()); + if (hasLost() != other.hasLost()) return false; if (hasLost()) { - result = result && (getLost() - == other.getLost()); + if (getLost() + != other.getLost()) return false; } - result = result && (hasResync() == other.hasResync()); + if (hasResync() != other.hasResync()) return false; if (hasResync()) { - result = result && (getResync() - == other.getResync()); + if (getResync() + != other.getResync()) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -28471,7 +36637,7 @@ public final class Mumble { return memoizedHashCode; } int hash = 41; - hash = (19 * hash) + getDescriptorForType().hashCode(); + hash = (19 * hash) + getDescriptor().hashCode(); if (hasGood()) { hash = (37 * hash) + GOOD_FIELD_NUMBER; hash = (53 * hash) + getGood(); @@ -28493,6 +36659,17 @@ public final class Mumble { return hash; } + public static se.lublin.humla.protobuf.Mumble.UserStats.Stats parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static se.lublin.humla.protobuf.Mumble.UserStats.Stats parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static se.lublin.humla.protobuf.Mumble.UserStats.Stats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -28552,6 +36729,7 @@ public final class Mumble { .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); @@ -28559,6 +36737,7 @@ public final class Mumble { public static Builder newBuilder(se.lublin.humla.protobuf.Mumble.UserStats.Stats prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -28582,6 +36761,7 @@ public final class Mumble { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_UserStats_Stats_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_UserStats_Stats_fieldAccessorTable @@ -28604,6 +36784,7 @@ public final class Mumble { .alwaysUseFieldBuilders) { } } + @java.lang.Override public Builder clear() { super.clear(); good_ = 0; @@ -28617,15 +36798,18 @@ public final class Mumble { return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_UserStats_Stats_descriptor; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.UserStats.Stats getDefaultInstanceForType() { return se.lublin.humla.protobuf.Mumble.UserStats.Stats.getDefaultInstance(); } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.UserStats.Stats build() { se.lublin.humla.protobuf.Mumble.UserStats.Stats result = buildPartial(); if (!result.isInitialized()) { @@ -28634,57 +36818,65 @@ public final class Mumble { return result; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.UserStats.Stats buildPartial() { se.lublin.humla.protobuf.Mumble.UserStats.Stats result = new se.lublin.humla.protobuf.Mumble.UserStats.Stats(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.good_ = good_; to_bitField0_ |= 0x00000001; } - result.good_ = good_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.late_ = late_; to_bitField0_ |= 0x00000002; } - result.late_ = late_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { + result.lost_ = lost_; to_bitField0_ |= 0x00000004; } - result.lost_ = lost_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + if (((from_bitField0_ & 0x00000008) != 0)) { + result.resync_ = resync_; to_bitField0_ |= 0x00000008; } - result.resync_ = resync_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } + @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.setField(field, value); + java.lang.Object value) { + return super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { - return (Builder) super.setRepeatedField(field, index, value); + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.addRepeatedField(field, value); + java.lang.Object value) { + return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof se.lublin.humla.protobuf.Mumble.UserStats.Stats) { return mergeFrom((se.lublin.humla.protobuf.Mumble.UserStats.Stats)other); @@ -28713,10 +36905,12 @@ public final class Mumble { return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -28738,19 +36932,35 @@ public final class Mumble { private int good_ ; /** + *
+         * The amount of good packets received.
+         * 
+ * * optional uint32 good = 1; + * @return Whether the good field is set. */ public boolean hasGood() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+         * The amount of good packets received.
+         * 
+ * * optional uint32 good = 1; + * @return The good. */ public int getGood() { return good_; } /** + *
+         * The amount of good packets received.
+         * 
+ * * optional uint32 good = 1; + * @param value The good to set. + * @return This builder for chaining. */ public Builder setGood(int value) { bitField0_ |= 0x00000001; @@ -28759,7 +36969,12 @@ public final class Mumble { return this; } /** + *
+         * The amount of good packets received.
+         * 
+ * * optional uint32 good = 1; + * @return This builder for chaining. */ public Builder clearGood() { bitField0_ = (bitField0_ & ~0x00000001); @@ -28770,19 +36985,35 @@ public final class Mumble { private int late_ ; /** + *
+         * The amount of late packets received.
+         * 
+ * * optional uint32 late = 2; + * @return Whether the late field is set. */ public boolean hasLate() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+         * The amount of late packets received.
+         * 
+ * * optional uint32 late = 2; + * @return The late. */ public int getLate() { return late_; } /** + *
+         * The amount of late packets received.
+         * 
+ * * optional uint32 late = 2; + * @param value The late to set. + * @return This builder for chaining. */ public Builder setLate(int value) { bitField0_ |= 0x00000002; @@ -28791,7 +37022,12 @@ public final class Mumble { return this; } /** + *
+         * The amount of late packets received.
+         * 
+ * * optional uint32 late = 2; + * @return This builder for chaining. */ public Builder clearLate() { bitField0_ = (bitField0_ & ~0x00000002); @@ -28802,19 +37038,35 @@ public final class Mumble { private int lost_ ; /** + *
+         * The amount of packets never received.
+         * 
+ * * optional uint32 lost = 3; + * @return Whether the lost field is set. */ public boolean hasLost() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** + *
+         * The amount of packets never received.
+         * 
+ * * optional uint32 lost = 3; + * @return The lost. */ public int getLost() { return lost_; } /** + *
+         * The amount of packets never received.
+         * 
+ * * optional uint32 lost = 3; + * @param value The lost to set. + * @return This builder for chaining. */ public Builder setLost(int value) { bitField0_ |= 0x00000004; @@ -28823,7 +37075,12 @@ public final class Mumble { return this; } /** + *
+         * The amount of packets never received.
+         * 
+ * * optional uint32 lost = 3; + * @return This builder for chaining. */ public Builder clearLost() { bitField0_ = (bitField0_ & ~0x00000004); @@ -28834,19 +37091,35 @@ public final class Mumble { private int resync_ ; /** + *
+         * The amount of nonce resyncs.
+         * 
+ * * optional uint32 resync = 4; + * @return Whether the resync field is set. */ public boolean hasResync() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** + *
+         * The amount of nonce resyncs.
+         * 
+ * * optional uint32 resync = 4; + * @return The resync. */ public int getResync() { return resync_; } /** + *
+         * The amount of nonce resyncs.
+         * 
+ * * optional uint32 resync = 4; + * @param value The resync to set. + * @return This builder for chaining. */ public Builder setResync(int value) { bitField0_ |= 0x00000008; @@ -28855,7 +37128,12 @@ public final class Mumble { return this; } /** + *
+         * The amount of nonce resyncs.
+         * 
+ * * optional uint32 resync = 4; + * @return This builder for chaining. */ public Builder clearResync() { bitField0_ = (bitField0_ & ~0x00000008); @@ -28863,11 +37141,13 @@ public final class Mumble { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -28889,11 +37169,12 @@ public final class Mumble { @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override public Stats parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Stats(input, extensionRegistry); + return new Stats(input, extensionRegistry); } }; @@ -28906,6 +37187,7 @@ public final class Mumble { return PARSER; } + @java.lang.Override public se.lublin.humla.protobuf.Mumble.UserStats.Stats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -28916,13 +37198,23 @@ public final class Mumble { public static final int SESSION_FIELD_NUMBER = 1; private int session_; /** + *
+     * User whose stats these are.
+     * 
+ * * optional uint32 session = 1; + * @return Whether the session field is set. */ public boolean hasSession() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** + *
+     * User whose stats these are.
+     * 
+ * * optional uint32 session = 1; + * @return The session. */ public int getSession() { return session_; @@ -28931,13 +37223,23 @@ public final class Mumble { public static final int STATS_ONLY_FIELD_NUMBER = 2; private boolean statsOnly_; /** + *
+     * True if the message contains only mutable stats (packets, ping).
+     * 
+ * * optional bool stats_only = 2 [default = false]; + * @return Whether the statsOnly field is set. */ public boolean hasStatsOnly() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** + *
+     * True if the message contains only mutable stats (packets, ping).
+     * 
+ * * optional bool stats_only = 2 [default = false]; + * @return The statsOnly. */ public boolean getStatsOnly() { return statsOnly_; @@ -28946,20 +37248,36 @@ public final class Mumble { public static final int CERTIFICATES_FIELD_NUMBER = 3; private java.util.List certificates_; /** + *
+     * Full user certificate chain of the user certificate in DER format.
+     * 
+ * * repeated bytes certificates = 3; + * @return A list containing the certificates. */ public java.util.List getCertificatesList() { return certificates_; } /** + *
+     * Full user certificate chain of the user certificate in DER format.
+     * 
+ * * repeated bytes certificates = 3; + * @return The count of certificates. */ public int getCertificatesCount() { return certificates_.size(); } /** + *
+     * Full user certificate chain of the user certificate in DER format.
+     * 
+ * * repeated bytes certificates = 3; + * @param index The index of the element to return. + * @return The certificates at the given index. */ public com.google.protobuf.ByteString getCertificates(int index) { return certificates_.get(index); @@ -28968,18 +37286,32 @@ public final class Mumble { public static final int FROM_CLIENT_FIELD_NUMBER = 4; private se.lublin.humla.protobuf.Mumble.UserStats.Stats fromClient_; /** + *
+     * Packet statistics for packets received from the client.
+     * 
+ * * optional .MumbleProto.UserStats.Stats from_client = 4; + * @return Whether the fromClient field is set. */ public boolean hasFromClient() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** + *
+     * Packet statistics for packets received from the client.
+     * 
+ * * optional .MumbleProto.UserStats.Stats from_client = 4; + * @return The fromClient. */ public se.lublin.humla.protobuf.Mumble.UserStats.Stats getFromClient() { return fromClient_ == null ? se.lublin.humla.protobuf.Mumble.UserStats.Stats.getDefaultInstance() : fromClient_; } /** + *
+     * Packet statistics for packets received from the client.
+     * 
+ * * optional .MumbleProto.UserStats.Stats from_client = 4; */ public se.lublin.humla.protobuf.Mumble.UserStats.StatsOrBuilder getFromClientOrBuilder() { @@ -28989,18 +37321,32 @@ public final class Mumble { public static final int FROM_SERVER_FIELD_NUMBER = 5; private se.lublin.humla.protobuf.Mumble.UserStats.Stats fromServer_; /** + *
+     * Packet statistics for packets sent by the server.
+     * 
+ * * optional .MumbleProto.UserStats.Stats from_server = 5; + * @return Whether the fromServer field is set. */ public boolean hasFromServer() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** + *
+     * Packet statistics for packets sent by the server.
+     * 
+ * * optional .MumbleProto.UserStats.Stats from_server = 5; + * @return The fromServer. */ public se.lublin.humla.protobuf.Mumble.UserStats.Stats getFromServer() { return fromServer_ == null ? se.lublin.humla.protobuf.Mumble.UserStats.Stats.getDefaultInstance() : fromServer_; } /** + *
+     * Packet statistics for packets sent by the server.
+     * 
+ * * optional .MumbleProto.UserStats.Stats from_server = 5; */ public se.lublin.humla.protobuf.Mumble.UserStats.StatsOrBuilder getFromServerOrBuilder() { @@ -29010,13 +37356,23 @@ public final class Mumble { public static final int UDP_PACKETS_FIELD_NUMBER = 6; private int udpPackets_; /** + *
+     * Amount of UDP packets sent.
+     * 
+ * * optional uint32 udp_packets = 6; + * @return Whether the udpPackets field is set. */ public boolean hasUdpPackets() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000010) != 0); } /** + *
+     * Amount of UDP packets sent.
+     * 
+ * * optional uint32 udp_packets = 6; + * @return The udpPackets. */ public int getUdpPackets() { return udpPackets_; @@ -29025,13 +37381,23 @@ public final class Mumble { public static final int TCP_PACKETS_FIELD_NUMBER = 7; private int tcpPackets_; /** + *
+     * Amount of TCP packets sent.
+     * 
+ * * optional uint32 tcp_packets = 7; + * @return Whether the tcpPackets field is set. */ public boolean hasTcpPackets() { - return ((bitField0_ & 0x00000020) == 0x00000020); + return ((bitField0_ & 0x00000020) != 0); } /** + *
+     * Amount of TCP packets sent.
+     * 
+ * * optional uint32 tcp_packets = 7; + * @return The tcpPackets. */ public int getTcpPackets() { return tcpPackets_; @@ -29040,13 +37406,23 @@ public final class Mumble { public static final int UDP_PING_AVG_FIELD_NUMBER = 8; private float udpPingAvg_; /** + *
+     * UDP ping average.
+     * 
+ * * optional float udp_ping_avg = 8; + * @return Whether the udpPingAvg field is set. */ public boolean hasUdpPingAvg() { - return ((bitField0_ & 0x00000040) == 0x00000040); + return ((bitField0_ & 0x00000040) != 0); } /** + *
+     * UDP ping average.
+     * 
+ * * optional float udp_ping_avg = 8; + * @return The udpPingAvg. */ public float getUdpPingAvg() { return udpPingAvg_; @@ -29055,13 +37431,23 @@ public final class Mumble { public static final int UDP_PING_VAR_FIELD_NUMBER = 9; private float udpPingVar_; /** + *
+     * UDP ping variance.
+     * 
+ * * optional float udp_ping_var = 9; + * @return Whether the udpPingVar field is set. */ public boolean hasUdpPingVar() { - return ((bitField0_ & 0x00000080) == 0x00000080); + return ((bitField0_ & 0x00000080) != 0); } /** + *
+     * UDP ping variance.
+     * 
+ * * optional float udp_ping_var = 9; + * @return The udpPingVar. */ public float getUdpPingVar() { return udpPingVar_; @@ -29070,13 +37456,23 @@ public final class Mumble { public static final int TCP_PING_AVG_FIELD_NUMBER = 10; private float tcpPingAvg_; /** + *
+     * TCP ping average.
+     * 
+ * * optional float tcp_ping_avg = 10; + * @return Whether the tcpPingAvg field is set. */ public boolean hasTcpPingAvg() { - return ((bitField0_ & 0x00000100) == 0x00000100); + return ((bitField0_ & 0x00000100) != 0); } /** + *
+     * TCP ping average.
+     * 
+ * * optional float tcp_ping_avg = 10; + * @return The tcpPingAvg. */ public float getTcpPingAvg() { return tcpPingAvg_; @@ -29085,13 +37481,23 @@ public final class Mumble { public static final int TCP_PING_VAR_FIELD_NUMBER = 11; private float tcpPingVar_; /** + *
+     * TCP ping variance.
+     * 
+ * * optional float tcp_ping_var = 11; + * @return Whether the tcpPingVar field is set. */ public boolean hasTcpPingVar() { - return ((bitField0_ & 0x00000200) == 0x00000200); + return ((bitField0_ & 0x00000200) != 0); } /** + *
+     * TCP ping variance.
+     * 
+ * * optional float tcp_ping_var = 11; + * @return The tcpPingVar. */ public float getTcpPingVar() { return tcpPingVar_; @@ -29100,18 +37506,32 @@ public final class Mumble { public static final int VERSION_FIELD_NUMBER = 12; private se.lublin.humla.protobuf.Mumble.Version version_; /** + *
+     * Client version.
+     * 
+ * * optional .MumbleProto.Version version = 12; + * @return Whether the version field is set. */ public boolean hasVersion() { - return ((bitField0_ & 0x00000400) == 0x00000400); + return ((bitField0_ & 0x00000400) != 0); } /** + *
+     * Client version.
+     * 
+ * * optional .MumbleProto.Version version = 12; + * @return The version. */ public se.lublin.humla.protobuf.Mumble.Version getVersion() { return version_ == null ? se.lublin.humla.protobuf.Mumble.Version.getDefaultInstance() : version_; } /** + *
+     * Client version.
+     * 
+ * * optional .MumbleProto.Version version = 12; */ public se.lublin.humla.protobuf.Mumble.VersionOrBuilder getVersionOrBuilder() { @@ -29119,37 +37539,66 @@ public final class Mumble { } public static final int CELT_VERSIONS_FIELD_NUMBER = 13; - private java.util.List celtVersions_; + private com.google.protobuf.Internal.IntList celtVersions_; /** + *
+     * A list of CELT bitstream version constants supported by the client of this
+     * user.
+     * 
+ * * repeated int32 celt_versions = 13; + * @return A list containing the celtVersions. */ public java.util.List getCeltVersionsList() { return celtVersions_; } /** + *
+     * A list of CELT bitstream version constants supported by the client of this
+     * user.
+     * 
+ * * repeated int32 celt_versions = 13; + * @return The count of celtVersions. */ public int getCeltVersionsCount() { return celtVersions_.size(); } /** + *
+     * A list of CELT bitstream version constants supported by the client of this
+     * user.
+     * 
+ * * repeated int32 celt_versions = 13; + * @param index The index of the element to return. + * @return The celtVersions at the given index. */ public int getCeltVersions(int index) { - return celtVersions_.get(index); + return celtVersions_.getInt(index); } public static final int ADDRESS_FIELD_NUMBER = 14; private com.google.protobuf.ByteString address_; /** + *
+     * Client IP address.
+     * 
+ * * optional bytes address = 14; + * @return Whether the address field is set. */ public boolean hasAddress() { - return ((bitField0_ & 0x00000800) == 0x00000800); + return ((bitField0_ & 0x00000800) != 0); } /** + *
+     * Client IP address.
+     * 
+ * * optional bytes address = 14; + * @return The address. */ public com.google.protobuf.ByteString getAddress() { return address_; @@ -29158,13 +37607,23 @@ public final class Mumble { public static final int BANDWIDTH_FIELD_NUMBER = 15; private int bandwidth_; /** + *
+     * Bandwith used by this client.
+     * 
+ * * optional uint32 bandwidth = 15; + * @return Whether the bandwidth field is set. */ public boolean hasBandwidth() { - return ((bitField0_ & 0x00001000) == 0x00001000); + return ((bitField0_ & 0x00001000) != 0); } /** + *
+     * Bandwith used by this client.
+     * 
+ * * optional uint32 bandwidth = 15; + * @return The bandwidth. */ public int getBandwidth() { return bandwidth_; @@ -29173,13 +37632,23 @@ public final class Mumble { public static final int ONLINESECS_FIELD_NUMBER = 16; private int onlinesecs_; /** + *
+     * Connection duration.
+     * 
+ * * optional uint32 onlinesecs = 16; + * @return Whether the onlinesecs field is set. */ public boolean hasOnlinesecs() { - return ((bitField0_ & 0x00002000) == 0x00002000); + return ((bitField0_ & 0x00002000) != 0); } /** + *
+     * Connection duration.
+     * 
+ * * optional uint32 onlinesecs = 16; + * @return The onlinesecs. */ public int getOnlinesecs() { return onlinesecs_; @@ -29188,13 +37657,23 @@ public final class Mumble { public static final int IDLESECS_FIELD_NUMBER = 17; private int idlesecs_; /** + *
+     * Duration since last activity.
+     * 
+ * * optional uint32 idlesecs = 17; + * @return Whether the idlesecs field is set. */ public boolean hasIdlesecs() { - return ((bitField0_ & 0x00004000) == 0x00004000); + return ((bitField0_ & 0x00004000) != 0); } /** + *
+     * Duration since last activity.
+     * 
+ * * optional uint32 idlesecs = 17; + * @return The idlesecs. */ public int getIdlesecs() { return idlesecs_; @@ -29203,13 +37682,23 @@ public final class Mumble { public static final int STRONG_CERTIFICATE_FIELD_NUMBER = 18; private boolean strongCertificate_; /** + *
+     * True if the user has a strong certificate.
+     * 
+ * * optional bool strong_certificate = 18 [default = false]; + * @return Whether the strongCertificate field is set. */ public boolean hasStrongCertificate() { - return ((bitField0_ & 0x00008000) == 0x00008000); + return ((bitField0_ & 0x00008000) != 0); } /** + *
+     * True if the user has a strong certificate.
+     * 
+ * * optional bool strong_certificate = 18 [default = false]; + * @return The strongCertificate. */ public boolean getStrongCertificate() { return strongCertificate_; @@ -29219,18 +37708,21 @@ public final class Mumble { private boolean opus_; /** * optional bool opus = 19 [default = false]; + * @return Whether the opus field is set. */ public boolean hasOpus() { - return ((bitField0_ & 0x00010000) == 0x00010000); + return ((bitField0_ & 0x00010000) != 0); } /** * optional bool opus = 19 [default = false]; + * @return The opus. */ public boolean getOpus() { return opus_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -29240,78 +37732,80 @@ public final class Mumble { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, session_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeBool(2, statsOnly_); } for (int i = 0; i < certificates_.size(); i++) { output.writeBytes(3, certificates_.get(i)); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(4, getFromClient()); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(5, getFromServer()); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000010) != 0)) { output.writeUInt32(6, udpPackets_); } - if (((bitField0_ & 0x00000020) == 0x00000020)) { + if (((bitField0_ & 0x00000020) != 0)) { output.writeUInt32(7, tcpPackets_); } - if (((bitField0_ & 0x00000040) == 0x00000040)) { + if (((bitField0_ & 0x00000040) != 0)) { output.writeFloat(8, udpPingAvg_); } - if (((bitField0_ & 0x00000080) == 0x00000080)) { + if (((bitField0_ & 0x00000080) != 0)) { output.writeFloat(9, udpPingVar_); } - if (((bitField0_ & 0x00000100) == 0x00000100)) { + if (((bitField0_ & 0x00000100) != 0)) { output.writeFloat(10, tcpPingAvg_); } - if (((bitField0_ & 0x00000200) == 0x00000200)) { + if (((bitField0_ & 0x00000200) != 0)) { output.writeFloat(11, tcpPingVar_); } - if (((bitField0_ & 0x00000400) == 0x00000400)) { + if (((bitField0_ & 0x00000400) != 0)) { output.writeMessage(12, getVersion()); } for (int i = 0; i < celtVersions_.size(); i++) { - output.writeInt32(13, celtVersions_.get(i)); + output.writeInt32(13, celtVersions_.getInt(i)); } - if (((bitField0_ & 0x00000800) == 0x00000800)) { + if (((bitField0_ & 0x00000800) != 0)) { output.writeBytes(14, address_); } - if (((bitField0_ & 0x00001000) == 0x00001000)) { + if (((bitField0_ & 0x00001000) != 0)) { output.writeUInt32(15, bandwidth_); } - if (((bitField0_ & 0x00002000) == 0x00002000)) { + if (((bitField0_ & 0x00002000) != 0)) { output.writeUInt32(16, onlinesecs_); } - if (((bitField0_ & 0x00004000) == 0x00004000)) { + if (((bitField0_ & 0x00004000) != 0)) { output.writeUInt32(17, idlesecs_); } - if (((bitField0_ & 0x00008000) == 0x00008000)) { + if (((bitField0_ & 0x00008000) != 0)) { output.writeBool(18, strongCertificate_); } - if (((bitField0_ & 0x00010000) == 0x00010000)) { + if (((bitField0_ & 0x00010000) != 0)) { output.writeBool(19, opus_); } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, session_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, statsOnly_); } @@ -29324,39 +37818,39 @@ public final class Mumble { size += dataSize; size += 1 * getCertificatesList().size(); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getFromClient()); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getFromServer()); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(6, udpPackets_); } - if (((bitField0_ & 0x00000020) == 0x00000020)) { + if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(7, tcpPackets_); } - if (((bitField0_ & 0x00000040) == 0x00000040)) { + if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(8, udpPingAvg_); } - if (((bitField0_ & 0x00000080) == 0x00000080)) { + if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(9, udpPingVar_); } - if (((bitField0_ & 0x00000100) == 0x00000100)) { + if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(10, tcpPingAvg_); } - if (((bitField0_ & 0x00000200) == 0x00000200)) { + if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(11, tcpPingVar_); } - if (((bitField0_ & 0x00000400) == 0x00000400)) { + if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, getVersion()); } @@ -29364,32 +37858,32 @@ public final class Mumble { int dataSize = 0; for (int i = 0; i < celtVersions_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(celtVersions_.get(i)); + .computeInt32SizeNoTag(celtVersions_.getInt(i)); } size += dataSize; size += 1 * getCeltVersionsList().size(); } - if (((bitField0_ & 0x00000800) == 0x00000800)) { + if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(14, address_); } - if (((bitField0_ & 0x00001000) == 0x00001000)) { + if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(15, bandwidth_); } - if (((bitField0_ & 0x00002000) == 0x00002000)) { + if (((bitField0_ & 0x00002000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(16, onlinesecs_); } - if (((bitField0_ & 0x00004000) == 0x00004000)) { + if (((bitField0_ & 0x00004000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(17, idlesecs_); } - if (((bitField0_ & 0x00008000) == 0x00008000)) { + if (((bitField0_ & 0x00008000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(18, strongCertificate_); } - if (((bitField0_ & 0x00010000) == 0x00010000)) { + if (((bitField0_ & 0x00010000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(19, opus_); } @@ -29398,7 +37892,6 @@ public final class Mumble { return size; } - private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { @@ -29409,1661 +37902,3426 @@ public final class Mumble { } se.lublin.humla.protobuf.Mumble.UserStats other = (se.lublin.humla.protobuf.Mumble.UserStats) obj; - boolean result = true; - result = result && (hasSession() == other.hasSession()); + if (hasSession() != other.hasSession()) return false; + if (hasSession()) { + if (getSession() + != other.getSession()) return false; + } + if (hasStatsOnly() != other.hasStatsOnly()) return false; + if (hasStatsOnly()) { + if (getStatsOnly() + != other.getStatsOnly()) return false; + } + if (!getCertificatesList() + .equals(other.getCertificatesList())) return false; + if (hasFromClient() != other.hasFromClient()) return false; + if (hasFromClient()) { + if (!getFromClient() + .equals(other.getFromClient())) return false; + } + if (hasFromServer() != other.hasFromServer()) return false; + if (hasFromServer()) { + if (!getFromServer() + .equals(other.getFromServer())) return false; + } + if (hasUdpPackets() != other.hasUdpPackets()) return false; + if (hasUdpPackets()) { + if (getUdpPackets() + != other.getUdpPackets()) return false; + } + if (hasTcpPackets() != other.hasTcpPackets()) return false; + if (hasTcpPackets()) { + if (getTcpPackets() + != other.getTcpPackets()) return false; + } + if (hasUdpPingAvg() != other.hasUdpPingAvg()) return false; + if (hasUdpPingAvg()) { + if (java.lang.Float.floatToIntBits(getUdpPingAvg()) + != java.lang.Float.floatToIntBits( + other.getUdpPingAvg())) return false; + } + if (hasUdpPingVar() != other.hasUdpPingVar()) return false; + if (hasUdpPingVar()) { + if (java.lang.Float.floatToIntBits(getUdpPingVar()) + != java.lang.Float.floatToIntBits( + other.getUdpPingVar())) return false; + } + if (hasTcpPingAvg() != other.hasTcpPingAvg()) return false; + if (hasTcpPingAvg()) { + if (java.lang.Float.floatToIntBits(getTcpPingAvg()) + != java.lang.Float.floatToIntBits( + other.getTcpPingAvg())) return false; + } + if (hasTcpPingVar() != other.hasTcpPingVar()) return false; + if (hasTcpPingVar()) { + if (java.lang.Float.floatToIntBits(getTcpPingVar()) + != java.lang.Float.floatToIntBits( + other.getTcpPingVar())) return false; + } + if (hasVersion() != other.hasVersion()) return false; + if (hasVersion()) { + if (!getVersion() + .equals(other.getVersion())) return false; + } + if (!getCeltVersionsList() + .equals(other.getCeltVersionsList())) return false; + if (hasAddress() != other.hasAddress()) return false; + if (hasAddress()) { + if (!getAddress() + .equals(other.getAddress())) return false; + } + if (hasBandwidth() != other.hasBandwidth()) return false; + if (hasBandwidth()) { + if (getBandwidth() + != other.getBandwidth()) return false; + } + if (hasOnlinesecs() != other.hasOnlinesecs()) return false; + if (hasOnlinesecs()) { + if (getOnlinesecs() + != other.getOnlinesecs()) return false; + } + if (hasIdlesecs() != other.hasIdlesecs()) return false; + if (hasIdlesecs()) { + if (getIdlesecs() + != other.getIdlesecs()) return false; + } + if (hasStrongCertificate() != other.hasStrongCertificate()) return false; + if (hasStrongCertificate()) { + if (getStrongCertificate() + != other.getStrongCertificate()) return false; + } + if (hasOpus() != other.hasOpus()) return false; + if (hasOpus()) { + if (getOpus() + != other.getOpus()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); if (hasSession()) { - result = result && (getSession() - == other.getSession()); + hash = (37 * hash) + SESSION_FIELD_NUMBER; + hash = (53 * hash) + getSession(); } - result = result && (hasStatsOnly() == other.hasStatsOnly()); if (hasStatsOnly()) { - result = result && (getStatsOnly() - == other.getStatsOnly()); + hash = (37 * hash) + STATS_ONLY_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getStatsOnly()); + } + if (getCertificatesCount() > 0) { + hash = (37 * hash) + CERTIFICATES_FIELD_NUMBER; + hash = (53 * hash) + getCertificatesList().hashCode(); } - result = result && getCertificatesList() - .equals(other.getCertificatesList()); - result = result && (hasFromClient() == other.hasFromClient()); if (hasFromClient()) { - result = result && getFromClient() - .equals(other.getFromClient()); + hash = (37 * hash) + FROM_CLIENT_FIELD_NUMBER; + hash = (53 * hash) + getFromClient().hashCode(); } - result = result && (hasFromServer() == other.hasFromServer()); if (hasFromServer()) { - result = result && getFromServer() - .equals(other.getFromServer()); + hash = (37 * hash) + FROM_SERVER_FIELD_NUMBER; + hash = (53 * hash) + getFromServer().hashCode(); } - result = result && (hasUdpPackets() == other.hasUdpPackets()); if (hasUdpPackets()) { - result = result && (getUdpPackets() - == other.getUdpPackets()); + hash = (37 * hash) + UDP_PACKETS_FIELD_NUMBER; + hash = (53 * hash) + getUdpPackets(); } - result = result && (hasTcpPackets() == other.hasTcpPackets()); if (hasTcpPackets()) { - result = result && (getTcpPackets() - == other.getTcpPackets()); + hash = (37 * hash) + TCP_PACKETS_FIELD_NUMBER; + hash = (53 * hash) + getTcpPackets(); } - result = result && (hasUdpPingAvg() == other.hasUdpPingAvg()); if (hasUdpPingAvg()) { - result = result && ( - java.lang.Float.floatToIntBits(getUdpPingAvg()) - == java.lang.Float.floatToIntBits( - other.getUdpPingAvg())); + hash = (37 * hash) + UDP_PING_AVG_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getUdpPingAvg()); } - result = result && (hasUdpPingVar() == other.hasUdpPingVar()); if (hasUdpPingVar()) { - result = result && ( - java.lang.Float.floatToIntBits(getUdpPingVar()) - == java.lang.Float.floatToIntBits( - other.getUdpPingVar())); + hash = (37 * hash) + UDP_PING_VAR_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getUdpPingVar()); } - result = result && (hasTcpPingAvg() == other.hasTcpPingAvg()); if (hasTcpPingAvg()) { - result = result && ( - java.lang.Float.floatToIntBits(getTcpPingAvg()) - == java.lang.Float.floatToIntBits( - other.getTcpPingAvg())); + hash = (37 * hash) + TCP_PING_AVG_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getTcpPingAvg()); + } + if (hasTcpPingVar()) { + hash = (37 * hash) + TCP_PING_VAR_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getTcpPingVar()); + } + if (hasVersion()) { + hash = (37 * hash) + VERSION_FIELD_NUMBER; + hash = (53 * hash) + getVersion().hashCode(); + } + if (getCeltVersionsCount() > 0) { + hash = (37 * hash) + CELT_VERSIONS_FIELD_NUMBER; + hash = (53 * hash) + getCeltVersionsList().hashCode(); + } + if (hasAddress()) { + hash = (37 * hash) + ADDRESS_FIELD_NUMBER; + hash = (53 * hash) + getAddress().hashCode(); + } + if (hasBandwidth()) { + hash = (37 * hash) + BANDWIDTH_FIELD_NUMBER; + hash = (53 * hash) + getBandwidth(); + } + if (hasOnlinesecs()) { + hash = (37 * hash) + ONLINESECS_FIELD_NUMBER; + hash = (53 * hash) + getOnlinesecs(); + } + if (hasIdlesecs()) { + hash = (37 * hash) + IDLESECS_FIELD_NUMBER; + hash = (53 * hash) + getIdlesecs(); + } + if (hasStrongCertificate()) { + hash = (37 * hash) + STRONG_CERTIFICATE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getStrongCertificate()); + } + if (hasOpus()) { + hash = (37 * hash) + OPUS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getOpus()); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static se.lublin.humla.protobuf.Mumble.UserStats parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static se.lublin.humla.protobuf.Mumble.UserStats parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static se.lublin.humla.protobuf.Mumble.UserStats parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static se.lublin.humla.protobuf.Mumble.UserStats parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static se.lublin.humla.protobuf.Mumble.UserStats parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static se.lublin.humla.protobuf.Mumble.UserStats parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static se.lublin.humla.protobuf.Mumble.UserStats parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static se.lublin.humla.protobuf.Mumble.UserStats parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static se.lublin.humla.protobuf.Mumble.UserStats parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static se.lublin.humla.protobuf.Mumble.UserStats parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static se.lublin.humla.protobuf.Mumble.UserStats parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static se.lublin.humla.protobuf.Mumble.UserStats parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(se.lublin.humla.protobuf.Mumble.UserStats prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Used to communicate user stats between the server and clients.
+     * 
+ * + * Protobuf type {@code MumbleProto.UserStats} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:MumbleProto.UserStats) + se.lublin.humla.protobuf.Mumble.UserStatsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_UserStats_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_UserStats_fieldAccessorTable + .ensureFieldAccessorsInitialized( + se.lublin.humla.protobuf.Mumble.UserStats.class, se.lublin.humla.protobuf.Mumble.UserStats.Builder.class); } - result = result && (hasTcpPingVar() == other.hasTcpPingVar()); - if (hasTcpPingVar()) { - result = result && ( - java.lang.Float.floatToIntBits(getTcpPingVar()) - == java.lang.Float.floatToIntBits( - other.getTcpPingVar())); + + // Construct using se.lublin.humla.protobuf.Mumble.UserStats.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); } - result = result && (hasVersion() == other.hasVersion()); - if (hasVersion()) { - result = result && getVersion() - .equals(other.getVersion()); + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); } - result = result && getCeltVersionsList() - .equals(other.getCeltVersionsList()); - result = result && (hasAddress() == other.hasAddress()); - if (hasAddress()) { - result = result && getAddress() - .equals(other.getAddress()); + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getFromClientFieldBuilder(); + getFromServerFieldBuilder(); + getVersionFieldBuilder(); + } } - result = result && (hasBandwidth() == other.hasBandwidth()); - if (hasBandwidth()) { - result = result && (getBandwidth() - == other.getBandwidth()); + @java.lang.Override + public Builder clear() { + super.clear(); + session_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + statsOnly_ = false; + bitField0_ = (bitField0_ & ~0x00000002); + certificates_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + if (fromClientBuilder_ == null) { + fromClient_ = null; + } else { + fromClientBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000008); + if (fromServerBuilder_ == null) { + fromServer_ = null; + } else { + fromServerBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000010); + udpPackets_ = 0; + bitField0_ = (bitField0_ & ~0x00000020); + tcpPackets_ = 0; + bitField0_ = (bitField0_ & ~0x00000040); + udpPingAvg_ = 0F; + bitField0_ = (bitField0_ & ~0x00000080); + udpPingVar_ = 0F; + bitField0_ = (bitField0_ & ~0x00000100); + tcpPingAvg_ = 0F; + bitField0_ = (bitField0_ & ~0x00000200); + tcpPingVar_ = 0F; + bitField0_ = (bitField0_ & ~0x00000400); + if (versionBuilder_ == null) { + version_ = null; + } else { + versionBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000800); + celtVersions_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00001000); + address_ = com.google.protobuf.ByteString.EMPTY; + bitField0_ = (bitField0_ & ~0x00002000); + bandwidth_ = 0; + bitField0_ = (bitField0_ & ~0x00004000); + onlinesecs_ = 0; + bitField0_ = (bitField0_ & ~0x00008000); + idlesecs_ = 0; + bitField0_ = (bitField0_ & ~0x00010000); + strongCertificate_ = false; + bitField0_ = (bitField0_ & ~0x00020000); + opus_ = false; + bitField0_ = (bitField0_ & ~0x00040000); + return this; } - result = result && (hasOnlinesecs() == other.hasOnlinesecs()); - if (hasOnlinesecs()) { - result = result && (getOnlinesecs() - == other.getOnlinesecs()); + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_UserStats_descriptor; } - result = result && (hasIdlesecs() == other.hasIdlesecs()); - if (hasIdlesecs()) { - result = result && (getIdlesecs() - == other.getIdlesecs()); + + @java.lang.Override + public se.lublin.humla.protobuf.Mumble.UserStats getDefaultInstanceForType() { + return se.lublin.humla.protobuf.Mumble.UserStats.getDefaultInstance(); } - result = result && (hasStrongCertificate() == other.hasStrongCertificate()); - if (hasStrongCertificate()) { - result = result && (getStrongCertificate() - == other.getStrongCertificate()); + + @java.lang.Override + public se.lublin.humla.protobuf.Mumble.UserStats build() { + se.lublin.humla.protobuf.Mumble.UserStats result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; } - result = result && (hasOpus() == other.hasOpus()); - if (hasOpus()) { - result = result && (getOpus() - == other.getOpus()); + + @java.lang.Override + public se.lublin.humla.protobuf.Mumble.UserStats buildPartial() { + se.lublin.humla.protobuf.Mumble.UserStats result = new se.lublin.humla.protobuf.Mumble.UserStats(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.session_ = session_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.statsOnly_ = statsOnly_; + to_bitField0_ |= 0x00000002; + } + if (((bitField0_ & 0x00000004) != 0)) { + certificates_ = java.util.Collections.unmodifiableList(certificates_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.certificates_ = certificates_; + if (((from_bitField0_ & 0x00000008) != 0)) { + if (fromClientBuilder_ == null) { + result.fromClient_ = fromClient_; + } else { + result.fromClient_ = fromClientBuilder_.build(); + } + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + if (fromServerBuilder_ == null) { + result.fromServer_ = fromServer_; + } else { + result.fromServer_ = fromServerBuilder_.build(); + } + to_bitField0_ |= 0x00000008; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.udpPackets_ = udpPackets_; + to_bitField0_ |= 0x00000010; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.tcpPackets_ = tcpPackets_; + to_bitField0_ |= 0x00000020; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.udpPingAvg_ = udpPingAvg_; + to_bitField0_ |= 0x00000040; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.udpPingVar_ = udpPingVar_; + to_bitField0_ |= 0x00000080; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.tcpPingAvg_ = tcpPingAvg_; + to_bitField0_ |= 0x00000100; + } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.tcpPingVar_ = tcpPingVar_; + to_bitField0_ |= 0x00000200; + } + if (((from_bitField0_ & 0x00000800) != 0)) { + if (versionBuilder_ == null) { + result.version_ = version_; + } else { + result.version_ = versionBuilder_.build(); + } + to_bitField0_ |= 0x00000400; + } + if (((bitField0_ & 0x00001000) != 0)) { + celtVersions_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00001000); + } + result.celtVersions_ = celtVersions_; + if (((from_bitField0_ & 0x00002000) != 0)) { + to_bitField0_ |= 0x00000800; + } + result.address_ = address_; + if (((from_bitField0_ & 0x00004000) != 0)) { + result.bandwidth_ = bandwidth_; + to_bitField0_ |= 0x00001000; + } + if (((from_bitField0_ & 0x00008000) != 0)) { + result.onlinesecs_ = onlinesecs_; + to_bitField0_ |= 0x00002000; + } + if (((from_bitField0_ & 0x00010000) != 0)) { + result.idlesecs_ = idlesecs_; + to_bitField0_ |= 0x00004000; + } + if (((from_bitField0_ & 0x00020000) != 0)) { + result.strongCertificate_ = strongCertificate_; + to_bitField0_ |= 0x00008000; + } + if (((from_bitField0_ & 0x00040000) != 0)) { + result.opus_ = opus_; + to_bitField0_ |= 0x00010000; + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; } - result = result && unknownFields.equals(other.unknownFields); - return result; - } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; + @java.lang.Override + public Builder clone() { + return super.clone(); } - int hash = 41; - hash = (19 * hash) + getDescriptorForType().hashCode(); - if (hasSession()) { - hash = (37 * hash) + SESSION_FIELD_NUMBER; - hash = (53 * hash) + getSession(); + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); } - if (hasStatsOnly()) { - hash = (37 * hash) + STATS_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getStatsOnly()); + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); } - if (getCertificatesCount() > 0) { - hash = (37 * hash) + CERTIFICATES_FIELD_NUMBER; - hash = (53 * hash) + getCertificatesList().hashCode(); + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); } - if (hasFromClient()) { - hash = (37 * hash) + FROM_CLIENT_FIELD_NUMBER; - hash = (53 * hash) + getFromClient().hashCode(); + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } - if (hasFromServer()) { - hash = (37 * hash) + FROM_SERVER_FIELD_NUMBER; - hash = (53 * hash) + getFromServer().hashCode(); + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); } - if (hasUdpPackets()) { - hash = (37 * hash) + UDP_PACKETS_FIELD_NUMBER; - hash = (53 * hash) + getUdpPackets(); + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof se.lublin.humla.protobuf.Mumble.UserStats) { + return mergeFrom((se.lublin.humla.protobuf.Mumble.UserStats)other); + } else { + super.mergeFrom(other); + return this; + } } - if (hasTcpPackets()) { - hash = (37 * hash) + TCP_PACKETS_FIELD_NUMBER; - hash = (53 * hash) + getTcpPackets(); + + public Builder mergeFrom(se.lublin.humla.protobuf.Mumble.UserStats other) { + if (other == se.lublin.humla.protobuf.Mumble.UserStats.getDefaultInstance()) return this; + if (other.hasSession()) { + setSession(other.getSession()); + } + if (other.hasStatsOnly()) { + setStatsOnly(other.getStatsOnly()); + } + if (!other.certificates_.isEmpty()) { + if (certificates_.isEmpty()) { + certificates_ = other.certificates_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureCertificatesIsMutable(); + certificates_.addAll(other.certificates_); + } + onChanged(); + } + if (other.hasFromClient()) { + mergeFromClient(other.getFromClient()); + } + if (other.hasFromServer()) { + mergeFromServer(other.getFromServer()); + } + if (other.hasUdpPackets()) { + setUdpPackets(other.getUdpPackets()); + } + if (other.hasTcpPackets()) { + setTcpPackets(other.getTcpPackets()); + } + if (other.hasUdpPingAvg()) { + setUdpPingAvg(other.getUdpPingAvg()); + } + if (other.hasUdpPingVar()) { + setUdpPingVar(other.getUdpPingVar()); + } + if (other.hasTcpPingAvg()) { + setTcpPingAvg(other.getTcpPingAvg()); + } + if (other.hasTcpPingVar()) { + setTcpPingVar(other.getTcpPingVar()); + } + if (other.hasVersion()) { + mergeVersion(other.getVersion()); + } + if (!other.celtVersions_.isEmpty()) { + if (celtVersions_.isEmpty()) { + celtVersions_ = other.celtVersions_; + bitField0_ = (bitField0_ & ~0x00001000); + } else { + ensureCeltVersionsIsMutable(); + celtVersions_.addAll(other.celtVersions_); + } + onChanged(); + } + if (other.hasAddress()) { + setAddress(other.getAddress()); + } + if (other.hasBandwidth()) { + setBandwidth(other.getBandwidth()); + } + if (other.hasOnlinesecs()) { + setOnlinesecs(other.getOnlinesecs()); + } + if (other.hasIdlesecs()) { + setIdlesecs(other.getIdlesecs()); + } + if (other.hasStrongCertificate()) { + setStrongCertificate(other.getStrongCertificate()); + } + if (other.hasOpus()) { + setOpus(other.getOpus()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; } - if (hasUdpPingAvg()) { - hash = (37 * hash) + UDP_PING_AVG_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getUdpPingAvg()); + + @java.lang.Override + public final boolean isInitialized() { + return true; } - if (hasUdpPingVar()) { - hash = (37 * hash) + UDP_PING_VAR_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getUdpPingVar()); + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + se.lublin.humla.protobuf.Mumble.UserStats parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (se.lublin.humla.protobuf.Mumble.UserStats) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; } - if (hasTcpPingAvg()) { - hash = (37 * hash) + TCP_PING_AVG_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getTcpPingAvg()); + private int bitField0_; + + private int session_ ; + /** + *
+       * User whose stats these are.
+       * 
+ * + * optional uint32 session = 1; + * @return Whether the session field is set. + */ + public boolean hasSession() { + return ((bitField0_ & 0x00000001) != 0); } - if (hasTcpPingVar()) { - hash = (37 * hash) + TCP_PING_VAR_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getTcpPingVar()); + /** + *
+       * User whose stats these are.
+       * 
+ * + * optional uint32 session = 1; + * @return The session. + */ + public int getSession() { + return session_; } - if (hasVersion()) { - hash = (37 * hash) + VERSION_FIELD_NUMBER; - hash = (53 * hash) + getVersion().hashCode(); + /** + *
+       * User whose stats these are.
+       * 
+ * + * optional uint32 session = 1; + * @param value The session to set. + * @return This builder for chaining. + */ + public Builder setSession(int value) { + bitField0_ |= 0x00000001; + session_ = value; + onChanged(); + return this; } - if (getCeltVersionsCount() > 0) { - hash = (37 * hash) + CELT_VERSIONS_FIELD_NUMBER; - hash = (53 * hash) + getCeltVersionsList().hashCode(); + /** + *
+       * User whose stats these are.
+       * 
+ * + * optional uint32 session = 1; + * @return This builder for chaining. + */ + public Builder clearSession() { + bitField0_ = (bitField0_ & ~0x00000001); + session_ = 0; + onChanged(); + return this; } - if (hasAddress()) { - hash = (37 * hash) + ADDRESS_FIELD_NUMBER; - hash = (53 * hash) + getAddress().hashCode(); + + private boolean statsOnly_ ; + /** + *
+       * True if the message contains only mutable stats (packets, ping).
+       * 
+ * + * optional bool stats_only = 2 [default = false]; + * @return Whether the statsOnly field is set. + */ + public boolean hasStatsOnly() { + return ((bitField0_ & 0x00000002) != 0); } - if (hasBandwidth()) { - hash = (37 * hash) + BANDWIDTH_FIELD_NUMBER; - hash = (53 * hash) + getBandwidth(); + /** + *
+       * True if the message contains only mutable stats (packets, ping).
+       * 
+ * + * optional bool stats_only = 2 [default = false]; + * @return The statsOnly. + */ + public boolean getStatsOnly() { + return statsOnly_; } - if (hasOnlinesecs()) { - hash = (37 * hash) + ONLINESECS_FIELD_NUMBER; - hash = (53 * hash) + getOnlinesecs(); + /** + *
+       * True if the message contains only mutable stats (packets, ping).
+       * 
+ * + * optional bool stats_only = 2 [default = false]; + * @param value The statsOnly to set. + * @return This builder for chaining. + */ + public Builder setStatsOnly(boolean value) { + bitField0_ |= 0x00000002; + statsOnly_ = value; + onChanged(); + return this; } - if (hasIdlesecs()) { - hash = (37 * hash) + IDLESECS_FIELD_NUMBER; - hash = (53 * hash) + getIdlesecs(); + /** + *
+       * True if the message contains only mutable stats (packets, ping).
+       * 
+ * + * optional bool stats_only = 2 [default = false]; + * @return This builder for chaining. + */ + public Builder clearStatsOnly() { + bitField0_ = (bitField0_ & ~0x00000002); + statsOnly_ = false; + onChanged(); + return this; } - if (hasStrongCertificate()) { - hash = (37 * hash) + STRONG_CERTIFICATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getStrongCertificate()); + + private java.util.List certificates_ = java.util.Collections.emptyList(); + private void ensureCertificatesIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + certificates_ = new java.util.ArrayList(certificates_); + bitField0_ |= 0x00000004; + } } - if (hasOpus()) { - hash = (37 * hash) + OPUS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getOpus()); + /** + *
+       * Full user certificate chain of the user certificate in DER format.
+       * 
+ * + * repeated bytes certificates = 3; + * @return A list containing the certificates. + */ + public java.util.List + getCertificatesList() { + return ((bitField0_ & 0x00000004) != 0) ? + java.util.Collections.unmodifiableList(certificates_) : certificates_; } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static se.lublin.humla.protobuf.Mumble.UserStats parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static se.lublin.humla.protobuf.Mumble.UserStats parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static se.lublin.humla.protobuf.Mumble.UserStats parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static se.lublin.humla.protobuf.Mumble.UserStats parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static se.lublin.humla.protobuf.Mumble.UserStats parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static se.lublin.humla.protobuf.Mumble.UserStats parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static se.lublin.humla.protobuf.Mumble.UserStats parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static se.lublin.humla.protobuf.Mumble.UserStats parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static se.lublin.humla.protobuf.Mumble.UserStats parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static se.lublin.humla.protobuf.Mumble.UserStats parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(se.lublin.humla.protobuf.Mumble.UserStats prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code MumbleProto.UserStats} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:MumbleProto.UserStats) - se.lublin.humla.protobuf.Mumble.UserStatsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_UserStats_descriptor; + /** + *
+       * Full user certificate chain of the user certificate in DER format.
+       * 
+ * + * repeated bytes certificates = 3; + * @return The count of certificates. + */ + public int getCertificatesCount() { + return certificates_.size(); } - - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_UserStats_fieldAccessorTable - .ensureFieldAccessorsInitialized( - se.lublin.humla.protobuf.Mumble.UserStats.class, se.lublin.humla.protobuf.Mumble.UserStats.Builder.class); + /** + *
+       * Full user certificate chain of the user certificate in DER format.
+       * 
+ * + * repeated bytes certificates = 3; + * @param index The index of the element to return. + * @return The certificates at the given index. + */ + public com.google.protobuf.ByteString getCertificates(int index) { + return certificates_.get(index); } - - // Construct using se.lublin.humla.protobuf.Mumble.UserStats.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); + /** + *
+       * Full user certificate chain of the user certificate in DER format.
+       * 
+ * + * repeated bytes certificates = 3; + * @param index The index to set the value at. + * @param value The certificates to set. + * @return This builder for chaining. + */ + public Builder setCertificates( + int index, com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + ensureCertificatesIsMutable(); + certificates_.set(index, value); + onChanged(); + return this; } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); + /** + *
+       * Full user certificate chain of the user certificate in DER format.
+       * 
+ * + * repeated bytes certificates = 3; + * @param value The certificates to add. + * @return This builder for chaining. + */ + public Builder addCertificates(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + ensureCertificatesIsMutable(); + certificates_.add(value); + onChanged(); + return this; } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getFromClientFieldBuilder(); - getFromServerFieldBuilder(); - getVersionFieldBuilder(); - } + /** + *
+       * Full user certificate chain of the user certificate in DER format.
+       * 
+ * + * repeated bytes certificates = 3; + * @param values The certificates to add. + * @return This builder for chaining. + */ + public Builder addAllCertificates( + java.lang.Iterable values) { + ensureCertificatesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, certificates_); + onChanged(); + return this; } - public Builder clear() { - super.clear(); - session_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); - statsOnly_ = false; - bitField0_ = (bitField0_ & ~0x00000002); + /** + *
+       * Full user certificate chain of the user certificate in DER format.
+       * 
+ * + * repeated bytes certificates = 3; + * @return This builder for chaining. + */ + public Builder clearCertificates() { certificates_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + private se.lublin.humla.protobuf.Mumble.UserStats.Stats fromClient_; + private com.google.protobuf.SingleFieldBuilderV3< + se.lublin.humla.protobuf.Mumble.UserStats.Stats, se.lublin.humla.protobuf.Mumble.UserStats.Stats.Builder, se.lublin.humla.protobuf.Mumble.UserStats.StatsOrBuilder> fromClientBuilder_; + /** + *
+       * Packet statistics for packets received from the client.
+       * 
+ * + * optional .MumbleProto.UserStats.Stats from_client = 4; + * @return Whether the fromClient field is set. + */ + public boolean hasFromClient() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + *
+       * Packet statistics for packets received from the client.
+       * 
+ * + * optional .MumbleProto.UserStats.Stats from_client = 4; + * @return The fromClient. + */ + public se.lublin.humla.protobuf.Mumble.UserStats.Stats getFromClient() { + if (fromClientBuilder_ == null) { + return fromClient_ == null ? se.lublin.humla.protobuf.Mumble.UserStats.Stats.getDefaultInstance() : fromClient_; + } else { + return fromClientBuilder_.getMessage(); + } + } + /** + *
+       * Packet statistics for packets received from the client.
+       * 
+ * + * optional .MumbleProto.UserStats.Stats from_client = 4; + */ + public Builder setFromClient(se.lublin.humla.protobuf.Mumble.UserStats.Stats value) { + if (fromClientBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + fromClient_ = value; + onChanged(); + } else { + fromClientBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + return this; + } + /** + *
+       * Packet statistics for packets received from the client.
+       * 
+ * + * optional .MumbleProto.UserStats.Stats from_client = 4; + */ + public Builder setFromClient( + se.lublin.humla.protobuf.Mumble.UserStats.Stats.Builder builderForValue) { + if (fromClientBuilder_ == null) { + fromClient_ = builderForValue.build(); + onChanged(); + } else { + fromClientBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + return this; + } + /** + *
+       * Packet statistics for packets received from the client.
+       * 
+ * + * optional .MumbleProto.UserStats.Stats from_client = 4; + */ + public Builder mergeFromClient(se.lublin.humla.protobuf.Mumble.UserStats.Stats value) { + if (fromClientBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) && + fromClient_ != null && + fromClient_ != se.lublin.humla.protobuf.Mumble.UserStats.Stats.getDefaultInstance()) { + fromClient_ = + se.lublin.humla.protobuf.Mumble.UserStats.Stats.newBuilder(fromClient_).mergeFrom(value).buildPartial(); + } else { + fromClient_ = value; + } + onChanged(); + } else { + fromClientBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000008; + return this; + } + /** + *
+       * Packet statistics for packets received from the client.
+       * 
+ * + * optional .MumbleProto.UserStats.Stats from_client = 4; + */ + public Builder clearFromClient() { if (fromClientBuilder_ == null) { fromClient_ = null; + onChanged(); } else { fromClientBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); + return this; + } + /** + *
+       * Packet statistics for packets received from the client.
+       * 
+ * + * optional .MumbleProto.UserStats.Stats from_client = 4; + */ + public se.lublin.humla.protobuf.Mumble.UserStats.Stats.Builder getFromClientBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getFromClientFieldBuilder().getBuilder(); + } + /** + *
+       * Packet statistics for packets received from the client.
+       * 
+ * + * optional .MumbleProto.UserStats.Stats from_client = 4; + */ + public se.lublin.humla.protobuf.Mumble.UserStats.StatsOrBuilder getFromClientOrBuilder() { + if (fromClientBuilder_ != null) { + return fromClientBuilder_.getMessageOrBuilder(); + } else { + return fromClient_ == null ? + se.lublin.humla.protobuf.Mumble.UserStats.Stats.getDefaultInstance() : fromClient_; + } + } + /** + *
+       * Packet statistics for packets received from the client.
+       * 
+ * + * optional .MumbleProto.UserStats.Stats from_client = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + se.lublin.humla.protobuf.Mumble.UserStats.Stats, se.lublin.humla.protobuf.Mumble.UserStats.Stats.Builder, se.lublin.humla.protobuf.Mumble.UserStats.StatsOrBuilder> + getFromClientFieldBuilder() { + if (fromClientBuilder_ == null) { + fromClientBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + se.lublin.humla.protobuf.Mumble.UserStats.Stats, se.lublin.humla.protobuf.Mumble.UserStats.Stats.Builder, se.lublin.humla.protobuf.Mumble.UserStats.StatsOrBuilder>( + getFromClient(), + getParentForChildren(), + isClean()); + fromClient_ = null; + } + return fromClientBuilder_; + } + + private se.lublin.humla.protobuf.Mumble.UserStats.Stats fromServer_; + private com.google.protobuf.SingleFieldBuilderV3< + se.lublin.humla.protobuf.Mumble.UserStats.Stats, se.lublin.humla.protobuf.Mumble.UserStats.Stats.Builder, se.lublin.humla.protobuf.Mumble.UserStats.StatsOrBuilder> fromServerBuilder_; + /** + *
+       * Packet statistics for packets sent by the server.
+       * 
+ * + * optional .MumbleProto.UserStats.Stats from_server = 5; + * @return Whether the fromServer field is set. + */ + public boolean hasFromServer() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + *
+       * Packet statistics for packets sent by the server.
+       * 
+ * + * optional .MumbleProto.UserStats.Stats from_server = 5; + * @return The fromServer. + */ + public se.lublin.humla.protobuf.Mumble.UserStats.Stats getFromServer() { + if (fromServerBuilder_ == null) { + return fromServer_ == null ? se.lublin.humla.protobuf.Mumble.UserStats.Stats.getDefaultInstance() : fromServer_; + } else { + return fromServerBuilder_.getMessage(); + } + } + /** + *
+       * Packet statistics for packets sent by the server.
+       * 
+ * + * optional .MumbleProto.UserStats.Stats from_server = 5; + */ + public Builder setFromServer(se.lublin.humla.protobuf.Mumble.UserStats.Stats value) { + if (fromServerBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + fromServer_ = value; + onChanged(); + } else { + fromServerBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + return this; + } + /** + *
+       * Packet statistics for packets sent by the server.
+       * 
+ * + * optional .MumbleProto.UserStats.Stats from_server = 5; + */ + public Builder setFromServer( + se.lublin.humla.protobuf.Mumble.UserStats.Stats.Builder builderForValue) { + if (fromServerBuilder_ == null) { + fromServer_ = builderForValue.build(); + onChanged(); + } else { + fromServerBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + return this; + } + /** + *
+       * Packet statistics for packets sent by the server.
+       * 
+ * + * optional .MumbleProto.UserStats.Stats from_server = 5; + */ + public Builder mergeFromServer(se.lublin.humla.protobuf.Mumble.UserStats.Stats value) { + if (fromServerBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) && + fromServer_ != null && + fromServer_ != se.lublin.humla.protobuf.Mumble.UserStats.Stats.getDefaultInstance()) { + fromServer_ = + se.lublin.humla.protobuf.Mumble.UserStats.Stats.newBuilder(fromServer_).mergeFrom(value).buildPartial(); + } else { + fromServer_ = value; + } + onChanged(); + } else { + fromServerBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000010; + return this; + } + /** + *
+       * Packet statistics for packets sent by the server.
+       * 
+ * + * optional .MumbleProto.UserStats.Stats from_server = 5; + */ + public Builder clearFromServer() { if (fromServerBuilder_ == null) { fromServer_ = null; + onChanged(); } else { fromServerBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); - udpPackets_ = 0; - bitField0_ = (bitField0_ & ~0x00000020); - tcpPackets_ = 0; - bitField0_ = (bitField0_ & ~0x00000040); - udpPingAvg_ = 0F; - bitField0_ = (bitField0_ & ~0x00000080); - udpPingVar_ = 0F; - bitField0_ = (bitField0_ & ~0x00000100); - tcpPingAvg_ = 0F; - bitField0_ = (bitField0_ & ~0x00000200); - tcpPingVar_ = 0F; - bitField0_ = (bitField0_ & ~0x00000400); - if (versionBuilder_ == null) { - version_ = null; + return this; + } + /** + *
+       * Packet statistics for packets sent by the server.
+       * 
+ * + * optional .MumbleProto.UserStats.Stats from_server = 5; + */ + public se.lublin.humla.protobuf.Mumble.UserStats.Stats.Builder getFromServerBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return getFromServerFieldBuilder().getBuilder(); + } + /** + *
+       * Packet statistics for packets sent by the server.
+       * 
+ * + * optional .MumbleProto.UserStats.Stats from_server = 5; + */ + public se.lublin.humla.protobuf.Mumble.UserStats.StatsOrBuilder getFromServerOrBuilder() { + if (fromServerBuilder_ != null) { + return fromServerBuilder_.getMessageOrBuilder(); } else { - versionBuilder_.clear(); + return fromServer_ == null ? + se.lublin.humla.protobuf.Mumble.UserStats.Stats.getDefaultInstance() : fromServer_; } - bitField0_ = (bitField0_ & ~0x00000800); - celtVersions_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00001000); - address_ = com.google.protobuf.ByteString.EMPTY; - bitField0_ = (bitField0_ & ~0x00002000); - bandwidth_ = 0; - bitField0_ = (bitField0_ & ~0x00004000); - onlinesecs_ = 0; - bitField0_ = (bitField0_ & ~0x00008000); - idlesecs_ = 0; - bitField0_ = (bitField0_ & ~0x00010000); - strongCertificate_ = false; - bitField0_ = (bitField0_ & ~0x00020000); - opus_ = false; - bitField0_ = (bitField0_ & ~0x00040000); + } + /** + *
+       * Packet statistics for packets sent by the server.
+       * 
+ * + * optional .MumbleProto.UserStats.Stats from_server = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + se.lublin.humla.protobuf.Mumble.UserStats.Stats, se.lublin.humla.protobuf.Mumble.UserStats.Stats.Builder, se.lublin.humla.protobuf.Mumble.UserStats.StatsOrBuilder> + getFromServerFieldBuilder() { + if (fromServerBuilder_ == null) { + fromServerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + se.lublin.humla.protobuf.Mumble.UserStats.Stats, se.lublin.humla.protobuf.Mumble.UserStats.Stats.Builder, se.lublin.humla.protobuf.Mumble.UserStats.StatsOrBuilder>( + getFromServer(), + getParentForChildren(), + isClean()); + fromServer_ = null; + } + return fromServerBuilder_; + } + + private int udpPackets_ ; + /** + *
+       * Amount of UDP packets sent.
+       * 
+ * + * optional uint32 udp_packets = 6; + * @return Whether the udpPackets field is set. + */ + public boolean hasUdpPackets() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + *
+       * Amount of UDP packets sent.
+       * 
+ * + * optional uint32 udp_packets = 6; + * @return The udpPackets. + */ + public int getUdpPackets() { + return udpPackets_; + } + /** + *
+       * Amount of UDP packets sent.
+       * 
+ * + * optional uint32 udp_packets = 6; + * @param value The udpPackets to set. + * @return This builder for chaining. + */ + public Builder setUdpPackets(int value) { + bitField0_ |= 0x00000020; + udpPackets_ = value; + onChanged(); + return this; + } + /** + *
+       * Amount of UDP packets sent.
+       * 
+ * + * optional uint32 udp_packets = 6; + * @return This builder for chaining. + */ + public Builder clearUdpPackets() { + bitField0_ = (bitField0_ & ~0x00000020); + udpPackets_ = 0; + onChanged(); return this; } - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_UserStats_descriptor; + private int tcpPackets_ ; + /** + *
+       * Amount of TCP packets sent.
+       * 
+ * + * optional uint32 tcp_packets = 7; + * @return Whether the tcpPackets field is set. + */ + public boolean hasTcpPackets() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + *
+       * Amount of TCP packets sent.
+       * 
+ * + * optional uint32 tcp_packets = 7; + * @return The tcpPackets. + */ + public int getTcpPackets() { + return tcpPackets_; + } + /** + *
+       * Amount of TCP packets sent.
+       * 
+ * + * optional uint32 tcp_packets = 7; + * @param value The tcpPackets to set. + * @return This builder for chaining. + */ + public Builder setTcpPackets(int value) { + bitField0_ |= 0x00000040; + tcpPackets_ = value; + onChanged(); + return this; + } + /** + *
+       * Amount of TCP packets sent.
+       * 
+ * + * optional uint32 tcp_packets = 7; + * @return This builder for chaining. + */ + public Builder clearTcpPackets() { + bitField0_ = (bitField0_ & ~0x00000040); + tcpPackets_ = 0; + onChanged(); + return this; } - public se.lublin.humla.protobuf.Mumble.UserStats getDefaultInstanceForType() { - return se.lublin.humla.protobuf.Mumble.UserStats.getDefaultInstance(); + private float udpPingAvg_ ; + /** + *
+       * UDP ping average.
+       * 
+ * + * optional float udp_ping_avg = 8; + * @return Whether the udpPingAvg field is set. + */ + public boolean hasUdpPingAvg() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + *
+       * UDP ping average.
+       * 
+ * + * optional float udp_ping_avg = 8; + * @return The udpPingAvg. + */ + public float getUdpPingAvg() { + return udpPingAvg_; + } + /** + *
+       * UDP ping average.
+       * 
+ * + * optional float udp_ping_avg = 8; + * @param value The udpPingAvg to set. + * @return This builder for chaining. + */ + public Builder setUdpPingAvg(float value) { + bitField0_ |= 0x00000080; + udpPingAvg_ = value; + onChanged(); + return this; + } + /** + *
+       * UDP ping average.
+       * 
+ * + * optional float udp_ping_avg = 8; + * @return This builder for chaining. + */ + public Builder clearUdpPingAvg() { + bitField0_ = (bitField0_ & ~0x00000080); + udpPingAvg_ = 0F; + onChanged(); + return this; } - public se.lublin.humla.protobuf.Mumble.UserStats build() { - se.lublin.humla.protobuf.Mumble.UserStats result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; + private float udpPingVar_ ; + /** + *
+       * UDP ping variance.
+       * 
+ * + * optional float udp_ping_var = 9; + * @return Whether the udpPingVar field is set. + */ + public boolean hasUdpPingVar() { + return ((bitField0_ & 0x00000100) != 0); + } + /** + *
+       * UDP ping variance.
+       * 
+ * + * optional float udp_ping_var = 9; + * @return The udpPingVar. + */ + public float getUdpPingVar() { + return udpPingVar_; + } + /** + *
+       * UDP ping variance.
+       * 
+ * + * optional float udp_ping_var = 9; + * @param value The udpPingVar to set. + * @return This builder for chaining. + */ + public Builder setUdpPingVar(float value) { + bitField0_ |= 0x00000100; + udpPingVar_ = value; + onChanged(); + return this; + } + /** + *
+       * UDP ping variance.
+       * 
+ * + * optional float udp_ping_var = 9; + * @return This builder for chaining. + */ + public Builder clearUdpPingVar() { + bitField0_ = (bitField0_ & ~0x00000100); + udpPingVar_ = 0F; + onChanged(); + return this; } - public se.lublin.humla.protobuf.Mumble.UserStats buildPartial() { - se.lublin.humla.protobuf.Mumble.UserStats result = new se.lublin.humla.protobuf.Mumble.UserStats(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.session_ = session_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - result.statsOnly_ = statsOnly_; - if (((bitField0_ & 0x00000004) == 0x00000004)) { - certificates_ = java.util.Collections.unmodifiableList(certificates_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.certificates_ = certificates_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { - to_bitField0_ |= 0x00000004; - } - if (fromClientBuilder_ == null) { - result.fromClient_ = fromClient_; - } else { - result.fromClient_ = fromClientBuilder_.build(); - } - if (((from_bitField0_ & 0x00000010) == 0x00000010)) { - to_bitField0_ |= 0x00000008; - } - if (fromServerBuilder_ == null) { - result.fromServer_ = fromServer_; - } else { - result.fromServer_ = fromServerBuilder_.build(); - } - if (((from_bitField0_ & 0x00000020) == 0x00000020)) { - to_bitField0_ |= 0x00000010; - } - result.udpPackets_ = udpPackets_; - if (((from_bitField0_ & 0x00000040) == 0x00000040)) { - to_bitField0_ |= 0x00000020; - } - result.tcpPackets_ = tcpPackets_; - if (((from_bitField0_ & 0x00000080) == 0x00000080)) { - to_bitField0_ |= 0x00000040; - } - result.udpPingAvg_ = udpPingAvg_; - if (((from_bitField0_ & 0x00000100) == 0x00000100)) { - to_bitField0_ |= 0x00000080; - } - result.udpPingVar_ = udpPingVar_; - if (((from_bitField0_ & 0x00000200) == 0x00000200)) { - to_bitField0_ |= 0x00000100; - } - result.tcpPingAvg_ = tcpPingAvg_; - if (((from_bitField0_ & 0x00000400) == 0x00000400)) { - to_bitField0_ |= 0x00000200; - } - result.tcpPingVar_ = tcpPingVar_; - if (((from_bitField0_ & 0x00000800) == 0x00000800)) { - to_bitField0_ |= 0x00000400; - } - if (versionBuilder_ == null) { - result.version_ = version_; - } else { - result.version_ = versionBuilder_.build(); - } - if (((bitField0_ & 0x00001000) == 0x00001000)) { - celtVersions_ = java.util.Collections.unmodifiableList(celtVersions_); - bitField0_ = (bitField0_ & ~0x00001000); - } - result.celtVersions_ = celtVersions_; - if (((from_bitField0_ & 0x00002000) == 0x00002000)) { - to_bitField0_ |= 0x00000800; - } - result.address_ = address_; - if (((from_bitField0_ & 0x00004000) == 0x00004000)) { - to_bitField0_ |= 0x00001000; - } - result.bandwidth_ = bandwidth_; - if (((from_bitField0_ & 0x00008000) == 0x00008000)) { - to_bitField0_ |= 0x00002000; - } - result.onlinesecs_ = onlinesecs_; - if (((from_bitField0_ & 0x00010000) == 0x00010000)) { - to_bitField0_ |= 0x00004000; - } - result.idlesecs_ = idlesecs_; - if (((from_bitField0_ & 0x00020000) == 0x00020000)) { - to_bitField0_ |= 0x00008000; - } - result.strongCertificate_ = strongCertificate_; - if (((from_bitField0_ & 0x00040000) == 0x00040000)) { - to_bitField0_ |= 0x00010000; - } - result.opus_ = opus_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; + private float tcpPingAvg_ ; + /** + *
+       * TCP ping average.
+       * 
+ * + * optional float tcp_ping_avg = 10; + * @return Whether the tcpPingAvg field is set. + */ + public boolean hasTcpPingAvg() { + return ((bitField0_ & 0x00000200) != 0); } - - public Builder clone() { - return (Builder) super.clone(); + /** + *
+       * TCP ping average.
+       * 
+ * + * optional float tcp_ping_avg = 10; + * @return The tcpPingAvg. + */ + public float getTcpPingAvg() { + return tcpPingAvg_; } - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.setField(field, value); + /** + *
+       * TCP ping average.
+       * 
+ * + * optional float tcp_ping_avg = 10; + * @param value The tcpPingAvg to set. + * @return This builder for chaining. + */ + public Builder setTcpPingAvg(float value) { + bitField0_ |= 0x00000200; + tcpPingAvg_ = value; + onChanged(); + return this; } - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + /** + *
+       * TCP ping average.
+       * 
+ * + * optional float tcp_ping_avg = 10; + * @return This builder for chaining. + */ + public Builder clearTcpPingAvg() { + bitField0_ = (bitField0_ & ~0x00000200); + tcpPingAvg_ = 0F; + onChanged(); + return this; } - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + + private float tcpPingVar_ ; + /** + *
+       * TCP ping variance.
+       * 
+ * + * optional float tcp_ping_var = 11; + * @return Whether the tcpPingVar field is set. + */ + public boolean hasTcpPingVar() { + return ((bitField0_ & 0x00000400) != 0); } - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { - return (Builder) super.setRepeatedField(field, index, value); + /** + *
+       * TCP ping variance.
+       * 
+ * + * optional float tcp_ping_var = 11; + * @return The tcpPingVar. + */ + public float getTcpPingVar() { + return tcpPingVar_; } - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.addRepeatedField(field, value); + /** + *
+       * TCP ping variance.
+       * 
+ * + * optional float tcp_ping_var = 11; + * @param value The tcpPingVar to set. + * @return This builder for chaining. + */ + public Builder setTcpPingVar(float value) { + bitField0_ |= 0x00000400; + tcpPingVar_ = value; + onChanged(); + return this; } - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof se.lublin.humla.protobuf.Mumble.UserStats) { - return mergeFrom((se.lublin.humla.protobuf.Mumble.UserStats)other); - } else { - super.mergeFrom(other); - return this; - } + /** + *
+       * TCP ping variance.
+       * 
+ * + * optional float tcp_ping_var = 11; + * @return This builder for chaining. + */ + public Builder clearTcpPingVar() { + bitField0_ = (bitField0_ & ~0x00000400); + tcpPingVar_ = 0F; + onChanged(); + return this; } - public Builder mergeFrom(se.lublin.humla.protobuf.Mumble.UserStats other) { - if (other == se.lublin.humla.protobuf.Mumble.UserStats.getDefaultInstance()) return this; - if (other.hasSession()) { - setSession(other.getSession()); - } - if (other.hasStatsOnly()) { - setStatsOnly(other.getStatsOnly()); + private se.lublin.humla.protobuf.Mumble.Version version_; + private com.google.protobuf.SingleFieldBuilderV3< + se.lublin.humla.protobuf.Mumble.Version, se.lublin.humla.protobuf.Mumble.Version.Builder, se.lublin.humla.protobuf.Mumble.VersionOrBuilder> versionBuilder_; + /** + *
+       * Client version.
+       * 
+ * + * optional .MumbleProto.Version version = 12; + * @return Whether the version field is set. + */ + public boolean hasVersion() { + return ((bitField0_ & 0x00000800) != 0); + } + /** + *
+       * Client version.
+       * 
+ * + * optional .MumbleProto.Version version = 12; + * @return The version. + */ + public se.lublin.humla.protobuf.Mumble.Version getVersion() { + if (versionBuilder_ == null) { + return version_ == null ? se.lublin.humla.protobuf.Mumble.Version.getDefaultInstance() : version_; + } else { + return versionBuilder_.getMessage(); } - if (!other.certificates_.isEmpty()) { - if (certificates_.isEmpty()) { - certificates_ = other.certificates_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureCertificatesIsMutable(); - certificates_.addAll(other.certificates_); + } + /** + *
+       * Client version.
+       * 
+ * + * optional .MumbleProto.Version version = 12; + */ + public Builder setVersion(se.lublin.humla.protobuf.Mumble.Version value) { + if (versionBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); } + version_ = value; onChanged(); + } else { + versionBuilder_.setMessage(value); } - if (other.hasFromClient()) { - mergeFromClient(other.getFromClient()); - } - if (other.hasFromServer()) { - mergeFromServer(other.getFromServer()); - } - if (other.hasUdpPackets()) { - setUdpPackets(other.getUdpPackets()); - } - if (other.hasTcpPackets()) { - setTcpPackets(other.getTcpPackets()); - } - if (other.hasUdpPingAvg()) { - setUdpPingAvg(other.getUdpPingAvg()); - } - if (other.hasUdpPingVar()) { - setUdpPingVar(other.getUdpPingVar()); - } - if (other.hasTcpPingAvg()) { - setTcpPingAvg(other.getTcpPingAvg()); - } - if (other.hasTcpPingVar()) { - setTcpPingVar(other.getTcpPingVar()); - } - if (other.hasVersion()) { - mergeVersion(other.getVersion()); + bitField0_ |= 0x00000800; + return this; + } + /** + *
+       * Client version.
+       * 
+ * + * optional .MumbleProto.Version version = 12; + */ + public Builder setVersion( + se.lublin.humla.protobuf.Mumble.Version.Builder builderForValue) { + if (versionBuilder_ == null) { + version_ = builderForValue.build(); + onChanged(); + } else { + versionBuilder_.setMessage(builderForValue.build()); } - if (!other.celtVersions_.isEmpty()) { - if (celtVersions_.isEmpty()) { - celtVersions_ = other.celtVersions_; - bitField0_ = (bitField0_ & ~0x00001000); + bitField0_ |= 0x00000800; + return this; + } + /** + *
+       * Client version.
+       * 
+ * + * optional .MumbleProto.Version version = 12; + */ + public Builder mergeVersion(se.lublin.humla.protobuf.Mumble.Version value) { + if (versionBuilder_ == null) { + if (((bitField0_ & 0x00000800) != 0) && + version_ != null && + version_ != se.lublin.humla.protobuf.Mumble.Version.getDefaultInstance()) { + version_ = + se.lublin.humla.protobuf.Mumble.Version.newBuilder(version_).mergeFrom(value).buildPartial(); } else { - ensureCeltVersionsIsMutable(); - celtVersions_.addAll(other.celtVersions_); + version_ = value; } onChanged(); + } else { + versionBuilder_.mergeFrom(value); } - if (other.hasAddress()) { - setAddress(other.getAddress()); - } - if (other.hasBandwidth()) { - setBandwidth(other.getBandwidth()); - } - if (other.hasOnlinesecs()) { - setOnlinesecs(other.getOnlinesecs()); - } - if (other.hasIdlesecs()) { - setIdlesecs(other.getIdlesecs()); - } - if (other.hasStrongCertificate()) { - setStrongCertificate(other.getStrongCertificate()); - } - if (other.hasOpus()) { - setOpus(other.getOpus()); + bitField0_ |= 0x00000800; + return this; + } + /** + *
+       * Client version.
+       * 
+ * + * optional .MumbleProto.Version version = 12; + */ + public Builder clearVersion() { + if (versionBuilder_ == null) { + version_ = null; + onChanged(); + } else { + versionBuilder_.clear(); } - this.mergeUnknownFields(other.unknownFields); - onChanged(); + bitField0_ = (bitField0_ & ~0x00000800); return this; } - - public final boolean isInitialized() { - return true; + /** + *
+       * Client version.
+       * 
+ * + * optional .MumbleProto.Version version = 12; + */ + public se.lublin.humla.protobuf.Mumble.Version.Builder getVersionBuilder() { + bitField0_ |= 0x00000800; + onChanged(); + return getVersionFieldBuilder().getBuilder(); } - - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - se.lublin.humla.protobuf.Mumble.UserStats parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (se.lublin.humla.protobuf.Mumble.UserStats) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } + /** + *
+       * Client version.
+       * 
+ * + * optional .MumbleProto.Version version = 12; + */ + public se.lublin.humla.protobuf.Mumble.VersionOrBuilder getVersionOrBuilder() { + if (versionBuilder_ != null) { + return versionBuilder_.getMessageOrBuilder(); + } else { + return version_ == null ? + se.lublin.humla.protobuf.Mumble.Version.getDefaultInstance() : version_; } - return this; } - private int bitField0_; - - private int session_ ; /** - * optional uint32 session = 1; + *
+       * Client version.
+       * 
+ * + * optional .MumbleProto.Version version = 12; + */ + private com.google.protobuf.SingleFieldBuilderV3< + se.lublin.humla.protobuf.Mumble.Version, se.lublin.humla.protobuf.Mumble.Version.Builder, se.lublin.humla.protobuf.Mumble.VersionOrBuilder> + getVersionFieldBuilder() { + if (versionBuilder_ == null) { + versionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + se.lublin.humla.protobuf.Mumble.Version, se.lublin.humla.protobuf.Mumble.Version.Builder, se.lublin.humla.protobuf.Mumble.VersionOrBuilder>( + getVersion(), + getParentForChildren(), + isClean()); + version_ = null; + } + return versionBuilder_; + } + + private com.google.protobuf.Internal.IntList celtVersions_ = emptyIntList(); + private void ensureCeltVersionsIsMutable() { + if (!((bitField0_ & 0x00001000) != 0)) { + celtVersions_ = mutableCopy(celtVersions_); + bitField0_ |= 0x00001000; + } + } + /** + *
+       * A list of CELT bitstream version constants supported by the client of this
+       * user.
+       * 
+ * + * repeated int32 celt_versions = 13; + * @return A list containing the celtVersions. */ - public boolean hasSession() { - return ((bitField0_ & 0x00000001) == 0x00000001); + public java.util.List + getCeltVersionsList() { + return ((bitField0_ & 0x00001000) != 0) ? + java.util.Collections.unmodifiableList(celtVersions_) : celtVersions_; } /** - * optional uint32 session = 1; + *
+       * A list of CELT bitstream version constants supported by the client of this
+       * user.
+       * 
+ * + * repeated int32 celt_versions = 13; + * @return The count of celtVersions. */ - public int getSession() { - return session_; + public int getCeltVersionsCount() { + return celtVersions_.size(); } /** - * optional uint32 session = 1; + *
+       * A list of CELT bitstream version constants supported by the client of this
+       * user.
+       * 
+ * + * repeated int32 celt_versions = 13; + * @param index The index of the element to return. + * @return The celtVersions at the given index. */ - public Builder setSession(int value) { - bitField0_ |= 0x00000001; - session_ = value; - onChanged(); - return this; + public int getCeltVersions(int index) { + return celtVersions_.getInt(index); } /** - * optional uint32 session = 1; + *
+       * A list of CELT bitstream version constants supported by the client of this
+       * user.
+       * 
+ * + * repeated int32 celt_versions = 13; + * @param index The index to set the value at. + * @param value The celtVersions to set. + * @return This builder for chaining. */ - public Builder clearSession() { - bitField0_ = (bitField0_ & ~0x00000001); - session_ = 0; + public Builder setCeltVersions( + int index, int value) { + ensureCeltVersionsIsMutable(); + celtVersions_.setInt(index, value); onChanged(); return this; } - - private boolean statsOnly_ ; - /** - * optional bool stats_only = 2 [default = false]; - */ - public boolean hasStatsOnly() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } /** - * optional bool stats_only = 2 [default = false]; + *
+       * A list of CELT bitstream version constants supported by the client of this
+       * user.
+       * 
+ * + * repeated int32 celt_versions = 13; + * @param value The celtVersions to add. + * @return This builder for chaining. */ - public boolean getStatsOnly() { - return statsOnly_; + public Builder addCeltVersions(int value) { + ensureCeltVersionsIsMutable(); + celtVersions_.addInt(value); + onChanged(); + return this; } /** - * optional bool stats_only = 2 [default = false]; + *
+       * A list of CELT bitstream version constants supported by the client of this
+       * user.
+       * 
+ * + * repeated int32 celt_versions = 13; + * @param values The celtVersions to add. + * @return This builder for chaining. */ - public Builder setStatsOnly(boolean value) { - bitField0_ |= 0x00000002; - statsOnly_ = value; + public Builder addAllCeltVersions( + java.lang.Iterable values) { + ensureCeltVersionsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, celtVersions_); onChanged(); return this; } /** - * optional bool stats_only = 2 [default = false]; + *
+       * A list of CELT bitstream version constants supported by the client of this
+       * user.
+       * 
+ * + * repeated int32 celt_versions = 13; + * @return This builder for chaining. */ - public Builder clearStatsOnly() { - bitField0_ = (bitField0_ & ~0x00000002); - statsOnly_ = false; + public Builder clearCeltVersions() { + celtVersions_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00001000); onChanged(); return this; } - private java.util.List certificates_ = java.util.Collections.emptyList(); - private void ensureCertificatesIsMutable() { - if (!((bitField0_ & 0x00000004) == 0x00000004)) { - certificates_ = new java.util.ArrayList(certificates_); - bitField0_ |= 0x00000004; - } - } - /** - * repeated bytes certificates = 3; - */ - public java.util.List - getCertificatesList() { - return java.util.Collections.unmodifiableList(certificates_); - } + private com.google.protobuf.ByteString address_ = com.google.protobuf.ByteString.EMPTY; /** - * repeated bytes certificates = 3; + *
+       * Client IP address.
+       * 
+ * + * optional bytes address = 14; + * @return Whether the address field is set. */ - public int getCertificatesCount() { - return certificates_.size(); + public boolean hasAddress() { + return ((bitField0_ & 0x00002000) != 0); } /** - * repeated bytes certificates = 3; + *
+       * Client IP address.
+       * 
+ * + * optional bytes address = 14; + * @return The address. */ - public com.google.protobuf.ByteString getCertificates(int index) { - return certificates_.get(index); + public com.google.protobuf.ByteString getAddress() { + return address_; } /** - * repeated bytes certificates = 3; + *
+       * Client IP address.
+       * 
+ * + * optional bytes address = 14; + * @param value The address to set. + * @return This builder for chaining. */ - public Builder setCertificates( - int index, com.google.protobuf.ByteString value) { + public Builder setAddress(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } - ensureCertificatesIsMutable(); - certificates_.set(index, value); + bitField0_ |= 0x00002000; + address_ = value; onChanged(); return this; } /** - * repeated bytes certificates = 3; + *
+       * Client IP address.
+       * 
+ * + * optional bytes address = 14; + * @return This builder for chaining. */ - public Builder addCertificates(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureCertificatesIsMutable(); - certificates_.add(value); + public Builder clearAddress() { + bitField0_ = (bitField0_ & ~0x00002000); + address_ = getDefaultInstance().getAddress(); onChanged(); return this; } + + private int bandwidth_ ; /** - * repeated bytes certificates = 3; + *
+       * Bandwith used by this client.
+       * 
+ * + * optional uint32 bandwidth = 15; + * @return Whether the bandwidth field is set. */ - public Builder addAllCertificates( - java.lang.Iterable values) { - ensureCertificatesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, certificates_); + public boolean hasBandwidth() { + return ((bitField0_ & 0x00004000) != 0); + } + /** + *
+       * Bandwith used by this client.
+       * 
+ * + * optional uint32 bandwidth = 15; + * @return The bandwidth. + */ + public int getBandwidth() { + return bandwidth_; + } + /** + *
+       * Bandwith used by this client.
+       * 
+ * + * optional uint32 bandwidth = 15; + * @param value The bandwidth to set. + * @return This builder for chaining. + */ + public Builder setBandwidth(int value) { + bitField0_ |= 0x00004000; + bandwidth_ = value; onChanged(); return this; } /** - * repeated bytes certificates = 3; + *
+       * Bandwith used by this client.
+       * 
+ * + * optional uint32 bandwidth = 15; + * @return This builder for chaining. */ - public Builder clearCertificates() { - certificates_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); + public Builder clearBandwidth() { + bitField0_ = (bitField0_ & ~0x00004000); + bandwidth_ = 0; onChanged(); return this; } - private se.lublin.humla.protobuf.Mumble.UserStats.Stats fromClient_ = null; - private com.google.protobuf.SingleFieldBuilderV3< - se.lublin.humla.protobuf.Mumble.UserStats.Stats, se.lublin.humla.protobuf.Mumble.UserStats.Stats.Builder, se.lublin.humla.protobuf.Mumble.UserStats.StatsOrBuilder> fromClientBuilder_; + private int onlinesecs_ ; /** - * optional .MumbleProto.UserStats.Stats from_client = 4; + *
+       * Connection duration.
+       * 
+ * + * optional uint32 onlinesecs = 16; + * @return Whether the onlinesecs field is set. */ - public boolean hasFromClient() { - return ((bitField0_ & 0x00000008) == 0x00000008); + public boolean hasOnlinesecs() { + return ((bitField0_ & 0x00008000) != 0); } /** - * optional .MumbleProto.UserStats.Stats from_client = 4; + *
+       * Connection duration.
+       * 
+ * + * optional uint32 onlinesecs = 16; + * @return The onlinesecs. */ - public se.lublin.humla.protobuf.Mumble.UserStats.Stats getFromClient() { - if (fromClientBuilder_ == null) { - return fromClient_ == null ? se.lublin.humla.protobuf.Mumble.UserStats.Stats.getDefaultInstance() : fromClient_; - } else { - return fromClientBuilder_.getMessage(); - } + public int getOnlinesecs() { + return onlinesecs_; } /** - * optional .MumbleProto.UserStats.Stats from_client = 4; + *
+       * Connection duration.
+       * 
+ * + * optional uint32 onlinesecs = 16; + * @param value The onlinesecs to set. + * @return This builder for chaining. */ - public Builder setFromClient(se.lublin.humla.protobuf.Mumble.UserStats.Stats value) { - if (fromClientBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - fromClient_ = value; - onChanged(); - } else { - fromClientBuilder_.setMessage(value); - } - bitField0_ |= 0x00000008; + public Builder setOnlinesecs(int value) { + bitField0_ |= 0x00008000; + onlinesecs_ = value; + onChanged(); return this; } /** - * optional .MumbleProto.UserStats.Stats from_client = 4; + *
+       * Connection duration.
+       * 
+ * + * optional uint32 onlinesecs = 16; + * @return This builder for chaining. */ - public Builder setFromClient( - se.lublin.humla.protobuf.Mumble.UserStats.Stats.Builder builderForValue) { - if (fromClientBuilder_ == null) { - fromClient_ = builderForValue.build(); - onChanged(); - } else { - fromClientBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000008; + public Builder clearOnlinesecs() { + bitField0_ = (bitField0_ & ~0x00008000); + onlinesecs_ = 0; + onChanged(); return this; } + + private int idlesecs_ ; /** - * optional .MumbleProto.UserStats.Stats from_client = 4; + *
+       * Duration since last activity.
+       * 
+ * + * optional uint32 idlesecs = 17; + * @return Whether the idlesecs field is set. */ - public Builder mergeFromClient(se.lublin.humla.protobuf.Mumble.UserStats.Stats value) { - if (fromClientBuilder_ == null) { - if (((bitField0_ & 0x00000008) == 0x00000008) && - fromClient_ != null && - fromClient_ != se.lublin.humla.protobuf.Mumble.UserStats.Stats.getDefaultInstance()) { - fromClient_ = - se.lublin.humla.protobuf.Mumble.UserStats.Stats.newBuilder(fromClient_).mergeFrom(value).buildPartial(); - } else { - fromClient_ = value; - } - onChanged(); - } else { - fromClientBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000008; - return this; + public boolean hasIdlesecs() { + return ((bitField0_ & 0x00010000) != 0); } /** - * optional .MumbleProto.UserStats.Stats from_client = 4; + *
+       * Duration since last activity.
+       * 
+ * + * optional uint32 idlesecs = 17; + * @return The idlesecs. */ - public Builder clearFromClient() { - if (fromClientBuilder_ == null) { - fromClient_ = null; - onChanged(); - } else { - fromClientBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000008); + public int getIdlesecs() { + return idlesecs_; + } + /** + *
+       * Duration since last activity.
+       * 
+ * + * optional uint32 idlesecs = 17; + * @param value The idlesecs to set. + * @return This builder for chaining. + */ + public Builder setIdlesecs(int value) { + bitField0_ |= 0x00010000; + idlesecs_ = value; + onChanged(); return this; } /** - * optional .MumbleProto.UserStats.Stats from_client = 4; + *
+       * Duration since last activity.
+       * 
+ * + * optional uint32 idlesecs = 17; + * @return This builder for chaining. */ - public se.lublin.humla.protobuf.Mumble.UserStats.Stats.Builder getFromClientBuilder() { - bitField0_ |= 0x00000008; + public Builder clearIdlesecs() { + bitField0_ = (bitField0_ & ~0x00010000); + idlesecs_ = 0; onChanged(); - return getFromClientFieldBuilder().getBuilder(); + return this; } + + private boolean strongCertificate_ ; /** - * optional .MumbleProto.UserStats.Stats from_client = 4; + *
+       * True if the user has a strong certificate.
+       * 
+ * + * optional bool strong_certificate = 18 [default = false]; + * @return Whether the strongCertificate field is set. */ - public se.lublin.humla.protobuf.Mumble.UserStats.StatsOrBuilder getFromClientOrBuilder() { - if (fromClientBuilder_ != null) { - return fromClientBuilder_.getMessageOrBuilder(); - } else { - return fromClient_ == null ? - se.lublin.humla.protobuf.Mumble.UserStats.Stats.getDefaultInstance() : fromClient_; - } + public boolean hasStrongCertificate() { + return ((bitField0_ & 0x00020000) != 0); + } + /** + *
+       * True if the user has a strong certificate.
+       * 
+ * + * optional bool strong_certificate = 18 [default = false]; + * @return The strongCertificate. + */ + public boolean getStrongCertificate() { + return strongCertificate_; + } + /** + *
+       * True if the user has a strong certificate.
+       * 
+ * + * optional bool strong_certificate = 18 [default = false]; + * @param value The strongCertificate to set. + * @return This builder for chaining. + */ + public Builder setStrongCertificate(boolean value) { + bitField0_ |= 0x00020000; + strongCertificate_ = value; + onChanged(); + return this; } /** - * optional .MumbleProto.UserStats.Stats from_client = 4; + *
+       * True if the user has a strong certificate.
+       * 
+ * + * optional bool strong_certificate = 18 [default = false]; + * @return This builder for chaining. */ - private com.google.protobuf.SingleFieldBuilderV3< - se.lublin.humla.protobuf.Mumble.UserStats.Stats, se.lublin.humla.protobuf.Mumble.UserStats.Stats.Builder, se.lublin.humla.protobuf.Mumble.UserStats.StatsOrBuilder> - getFromClientFieldBuilder() { - if (fromClientBuilder_ == null) { - fromClientBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - se.lublin.humla.protobuf.Mumble.UserStats.Stats, se.lublin.humla.protobuf.Mumble.UserStats.Stats.Builder, se.lublin.humla.protobuf.Mumble.UserStats.StatsOrBuilder>( - getFromClient(), - getParentForChildren(), - isClean()); - fromClient_ = null; - } - return fromClientBuilder_; + public Builder clearStrongCertificate() { + bitField0_ = (bitField0_ & ~0x00020000); + strongCertificate_ = false; + onChanged(); + return this; } - private se.lublin.humla.protobuf.Mumble.UserStats.Stats fromServer_ = null; - private com.google.protobuf.SingleFieldBuilderV3< - se.lublin.humla.protobuf.Mumble.UserStats.Stats, se.lublin.humla.protobuf.Mumble.UserStats.Stats.Builder, se.lublin.humla.protobuf.Mumble.UserStats.StatsOrBuilder> fromServerBuilder_; + private boolean opus_ ; /** - * optional .MumbleProto.UserStats.Stats from_server = 5; + * optional bool opus = 19 [default = false]; + * @return Whether the opus field is set. */ - public boolean hasFromServer() { - return ((bitField0_ & 0x00000010) == 0x00000010); + public boolean hasOpus() { + return ((bitField0_ & 0x00040000) != 0); } /** - * optional .MumbleProto.UserStats.Stats from_server = 5; + * optional bool opus = 19 [default = false]; + * @return The opus. */ - public se.lublin.humla.protobuf.Mumble.UserStats.Stats getFromServer() { - if (fromServerBuilder_ == null) { - return fromServer_ == null ? se.lublin.humla.protobuf.Mumble.UserStats.Stats.getDefaultInstance() : fromServer_; - } else { - return fromServerBuilder_.getMessage(); - } + public boolean getOpus() { + return opus_; } /** - * optional .MumbleProto.UserStats.Stats from_server = 5; + * optional bool opus = 19 [default = false]; + * @param value The opus to set. + * @return This builder for chaining. */ - public Builder setFromServer(se.lublin.humla.protobuf.Mumble.UserStats.Stats value) { - if (fromServerBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - fromServer_ = value; - onChanged(); - } else { - fromServerBuilder_.setMessage(value); - } - bitField0_ |= 0x00000010; + public Builder setOpus(boolean value) { + bitField0_ |= 0x00040000; + opus_ = value; + onChanged(); return this; } /** - * optional .MumbleProto.UserStats.Stats from_server = 5; + * optional bool opus = 19 [default = false]; + * @return This builder for chaining. */ - public Builder setFromServer( - se.lublin.humla.protobuf.Mumble.UserStats.Stats.Builder builderForValue) { - if (fromServerBuilder_ == null) { - fromServer_ = builderForValue.build(); - onChanged(); - } else { - fromServerBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000010; + public Builder clearOpus() { + bitField0_ = (bitField0_ & ~0x00040000); + opus_ = false; + onChanged(); return this; } - /** - * optional .MumbleProto.UserStats.Stats from_server = 5; - */ - public Builder mergeFromServer(se.lublin.humla.protobuf.Mumble.UserStats.Stats value) { - if (fromServerBuilder_ == null) { - if (((bitField0_ & 0x00000010) == 0x00000010) && - fromServer_ != null && - fromServer_ != se.lublin.humla.protobuf.Mumble.UserStats.Stats.getDefaultInstance()) { - fromServer_ = - se.lublin.humla.protobuf.Mumble.UserStats.Stats.newBuilder(fromServer_).mergeFrom(value).buildPartial(); - } else { - fromServer_ = value; + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:MumbleProto.UserStats) + } + + // @@protoc_insertion_point(class_scope:MumbleProto.UserStats) + private static final se.lublin.humla.protobuf.Mumble.UserStats DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new se.lublin.humla.protobuf.Mumble.UserStats(); + } + + public static se.lublin.humla.protobuf.Mumble.UserStats getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UserStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UserStats(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public se.lublin.humla.protobuf.Mumble.UserStats getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface RequestBlobOrBuilder extends + // @@protoc_insertion_point(interface_extends:MumbleProto.RequestBlob) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * sessions of the requested UserState textures.
+     * 
+ * + * repeated uint32 session_texture = 1; + * @return A list containing the sessionTexture. + */ + java.util.List getSessionTextureList(); + /** + *
+     * sessions of the requested UserState textures.
+     * 
+ * + * repeated uint32 session_texture = 1; + * @return The count of sessionTexture. + */ + int getSessionTextureCount(); + /** + *
+     * sessions of the requested UserState textures.
+     * 
+ * + * repeated uint32 session_texture = 1; + * @param index The index of the element to return. + * @return The sessionTexture at the given index. + */ + int getSessionTexture(int index); + + /** + *
+     * sessions of the requested UserState comments.
+     * 
+ * + * repeated uint32 session_comment = 2; + * @return A list containing the sessionComment. + */ + java.util.List getSessionCommentList(); + /** + *
+     * sessions of the requested UserState comments.
+     * 
+ * + * repeated uint32 session_comment = 2; + * @return The count of sessionComment. + */ + int getSessionCommentCount(); + /** + *
+     * sessions of the requested UserState comments.
+     * 
+ * + * repeated uint32 session_comment = 2; + * @param index The index of the element to return. + * @return The sessionComment at the given index. + */ + int getSessionComment(int index); + + /** + *
+     * channel_ids of the requested ChannelState descriptions.
+     * 
+ * + * repeated uint32 channel_description = 3; + * @return A list containing the channelDescription. + */ + java.util.List getChannelDescriptionList(); + /** + *
+     * channel_ids of the requested ChannelState descriptions.
+     * 
+ * + * repeated uint32 channel_description = 3; + * @return The count of channelDescription. + */ + int getChannelDescriptionCount(); + /** + *
+     * channel_ids of the requested ChannelState descriptions.
+     * 
+ * + * repeated uint32 channel_description = 3; + * @param index The index of the element to return. + * @return The channelDescription at the given index. + */ + int getChannelDescription(int index); + } + /** + *
+   * Used by the client to request binary data from the server. By default large
+   * comments or textures are not sent within standard messages but instead the
+   * hash is. If the client does not recognize the hash it may request the
+   * resource when it needs it. The client does so by sending a RequestBlob
+   * message with the correct fields filled with the user sessions or channel_ids
+   * it wants to receive. The server replies to this by sending a new
+   * UserState/ChannelState message with the resources filled even if they would
+   * normally be transmitted as hashes.
+   * 
+ * + * Protobuf type {@code MumbleProto.RequestBlob} + */ + public static final class RequestBlob extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MumbleProto.RequestBlob) + RequestBlobOrBuilder { + private static final long serialVersionUID = 0L; + // Use RequestBlob.newBuilder() to construct. + private RequestBlob(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private RequestBlob() { + sessionTexture_ = emptyIntList(); + sessionComment_ = emptyIntList(); + channelDescription_ = emptyIntList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new RequestBlob(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private RequestBlob( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + sessionTexture_ = newIntList(); + mutable_bitField0_ |= 0x00000001; + } + sessionTexture_.addInt(input.readUInt32()); + break; + } + case 10: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { + sessionTexture_ = newIntList(); + mutable_bitField0_ |= 0x00000001; + } + while (input.getBytesUntilLimit() > 0) { + sessionTexture_.addInt(input.readUInt32()); + } + input.popLimit(limit); + break; + } + case 16: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + sessionComment_ = newIntList(); + mutable_bitField0_ |= 0x00000002; + } + sessionComment_.addInt(input.readUInt32()); + break; + } + case 18: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) { + sessionComment_ = newIntList(); + mutable_bitField0_ |= 0x00000002; + } + while (input.getBytesUntilLimit() > 0) { + sessionComment_.addInt(input.readUInt32()); + } + input.popLimit(limit); + break; + } + case 24: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + channelDescription_ = newIntList(); + mutable_bitField0_ |= 0x00000004; + } + channelDescription_.addInt(input.readUInt32()); + break; + } + case 26: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000004) != 0) && input.getBytesUntilLimit() > 0) { + channelDescription_ = newIntList(); + mutable_bitField0_ |= 0x00000004; + } + while (input.getBytesUntilLimit() > 0) { + channelDescription_.addInt(input.readUInt32()); + } + input.popLimit(limit); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } - onChanged(); - } else { - fromServerBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000010; - return this; - } - /** - * optional .MumbleProto.UserStats.Stats from_server = 5; - */ - public Builder clearFromServer() { - if (fromServerBuilder_ == null) { - fromServer_ = null; - onChanged(); - } else { - fromServerBuilder_.clear(); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + sessionTexture_.makeImmutable(); // C } - bitField0_ = (bitField0_ & ~0x00000010); - return this; - } - /** - * optional .MumbleProto.UserStats.Stats from_server = 5; - */ - public se.lublin.humla.protobuf.Mumble.UserStats.Stats.Builder getFromServerBuilder() { - bitField0_ |= 0x00000010; - onChanged(); - return getFromServerFieldBuilder().getBuilder(); - } - /** - * optional .MumbleProto.UserStats.Stats from_server = 5; - */ - public se.lublin.humla.protobuf.Mumble.UserStats.StatsOrBuilder getFromServerOrBuilder() { - if (fromServerBuilder_ != null) { - return fromServerBuilder_.getMessageOrBuilder(); - } else { - return fromServer_ == null ? - se.lublin.humla.protobuf.Mumble.UserStats.Stats.getDefaultInstance() : fromServer_; + if (((mutable_bitField0_ & 0x00000002) != 0)) { + sessionComment_.makeImmutable(); // C } - } - /** - * optional .MumbleProto.UserStats.Stats from_server = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - se.lublin.humla.protobuf.Mumble.UserStats.Stats, se.lublin.humla.protobuf.Mumble.UserStats.Stats.Builder, se.lublin.humla.protobuf.Mumble.UserStats.StatsOrBuilder> - getFromServerFieldBuilder() { - if (fromServerBuilder_ == null) { - fromServerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - se.lublin.humla.protobuf.Mumble.UserStats.Stats, se.lublin.humla.protobuf.Mumble.UserStats.Stats.Builder, se.lublin.humla.protobuf.Mumble.UserStats.StatsOrBuilder>( - getFromServer(), - getParentForChildren(), - isClean()); - fromServer_ = null; + if (((mutable_bitField0_ & 0x00000004) != 0)) { + channelDescription_.makeImmutable(); // C } - return fromServerBuilder_; + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_RequestBlob_descriptor; + } - private int udpPackets_ ; - /** - * optional uint32 udp_packets = 6; - */ - public boolean hasUdpPackets() { - return ((bitField0_ & 0x00000020) == 0x00000020); - } - /** - * optional uint32 udp_packets = 6; - */ - public int getUdpPackets() { - return udpPackets_; + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_RequestBlob_fieldAccessorTable + .ensureFieldAccessorsInitialized( + se.lublin.humla.protobuf.Mumble.RequestBlob.class, se.lublin.humla.protobuf.Mumble.RequestBlob.Builder.class); + } + + public static final int SESSION_TEXTURE_FIELD_NUMBER = 1; + private com.google.protobuf.Internal.IntList sessionTexture_; + /** + *
+     * sessions of the requested UserState textures.
+     * 
+ * + * repeated uint32 session_texture = 1; + * @return A list containing the sessionTexture. + */ + public java.util.List + getSessionTextureList() { + return sessionTexture_; + } + /** + *
+     * sessions of the requested UserState textures.
+     * 
+ * + * repeated uint32 session_texture = 1; + * @return The count of sessionTexture. + */ + public int getSessionTextureCount() { + return sessionTexture_.size(); + } + /** + *
+     * sessions of the requested UserState textures.
+     * 
+ * + * repeated uint32 session_texture = 1; + * @param index The index of the element to return. + * @return The sessionTexture at the given index. + */ + public int getSessionTexture(int index) { + return sessionTexture_.getInt(index); + } + + public static final int SESSION_COMMENT_FIELD_NUMBER = 2; + private com.google.protobuf.Internal.IntList sessionComment_; + /** + *
+     * sessions of the requested UserState comments.
+     * 
+ * + * repeated uint32 session_comment = 2; + * @return A list containing the sessionComment. + */ + public java.util.List + getSessionCommentList() { + return sessionComment_; + } + /** + *
+     * sessions of the requested UserState comments.
+     * 
+ * + * repeated uint32 session_comment = 2; + * @return The count of sessionComment. + */ + public int getSessionCommentCount() { + return sessionComment_.size(); + } + /** + *
+     * sessions of the requested UserState comments.
+     * 
+ * + * repeated uint32 session_comment = 2; + * @param index The index of the element to return. + * @return The sessionComment at the given index. + */ + public int getSessionComment(int index) { + return sessionComment_.getInt(index); + } + + public static final int CHANNEL_DESCRIPTION_FIELD_NUMBER = 3; + private com.google.protobuf.Internal.IntList channelDescription_; + /** + *
+     * channel_ids of the requested ChannelState descriptions.
+     * 
+ * + * repeated uint32 channel_description = 3; + * @return A list containing the channelDescription. + */ + public java.util.List + getChannelDescriptionList() { + return channelDescription_; + } + /** + *
+     * channel_ids of the requested ChannelState descriptions.
+     * 
+ * + * repeated uint32 channel_description = 3; + * @return The count of channelDescription. + */ + public int getChannelDescriptionCount() { + return channelDescription_.size(); + } + /** + *
+     * channel_ids of the requested ChannelState descriptions.
+     * 
+ * + * repeated uint32 channel_description = 3; + * @param index The index of the element to return. + * @return The channelDescription at the given index. + */ + public int getChannelDescription(int index) { + return channelDescription_.getInt(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < sessionTexture_.size(); i++) { + output.writeUInt32(1, sessionTexture_.getInt(i)); } - /** - * optional uint32 udp_packets = 6; - */ - public Builder setUdpPackets(int value) { - bitField0_ |= 0x00000020; - udpPackets_ = value; - onChanged(); - return this; + for (int i = 0; i < sessionComment_.size(); i++) { + output.writeUInt32(2, sessionComment_.getInt(i)); } - /** - * optional uint32 udp_packets = 6; - */ - public Builder clearUdpPackets() { - bitField0_ = (bitField0_ & ~0x00000020); - udpPackets_ = 0; - onChanged(); - return this; + for (int i = 0; i < channelDescription_.size(); i++) { + output.writeUInt32(3, channelDescription_.getInt(i)); } + unknownFields.writeTo(output); + } - private int tcpPackets_ ; - /** - * optional uint32 tcp_packets = 7; - */ - public boolean hasTcpPackets() { - return ((bitField0_ & 0x00000040) == 0x00000040); + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < sessionTexture_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(sessionTexture_.getInt(i)); + } + size += dataSize; + size += 1 * getSessionTextureList().size(); } - /** - * optional uint32 tcp_packets = 7; - */ - public int getTcpPackets() { - return tcpPackets_; + { + int dataSize = 0; + for (int i = 0; i < sessionComment_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(sessionComment_.getInt(i)); + } + size += dataSize; + size += 1 * getSessionCommentList().size(); } - /** - * optional uint32 tcp_packets = 7; - */ - public Builder setTcpPackets(int value) { - bitField0_ |= 0x00000040; - tcpPackets_ = value; - onChanged(); - return this; + { + int dataSize = 0; + for (int i = 0; i < channelDescription_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(channelDescription_.getInt(i)); + } + size += dataSize; + size += 1 * getChannelDescriptionList().size(); } - /** - * optional uint32 tcp_packets = 7; - */ - public Builder clearTcpPackets() { - bitField0_ = (bitField0_ & ~0x00000040); - tcpPackets_ = 0; - onChanged(); - return this; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof se.lublin.humla.protobuf.Mumble.RequestBlob)) { + return super.equals(obj); } + se.lublin.humla.protobuf.Mumble.RequestBlob other = (se.lublin.humla.protobuf.Mumble.RequestBlob) obj; - private float udpPingAvg_ ; - /** - * optional float udp_ping_avg = 8; - */ - public boolean hasUdpPingAvg() { - return ((bitField0_ & 0x00000080) == 0x00000080); + if (!getSessionTextureList() + .equals(other.getSessionTextureList())) return false; + if (!getSessionCommentList() + .equals(other.getSessionCommentList())) return false; + if (!getChannelDescriptionList() + .equals(other.getChannelDescriptionList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; } - /** - * optional float udp_ping_avg = 8; - */ - public float getUdpPingAvg() { - return udpPingAvg_; + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getSessionTextureCount() > 0) { + hash = (37 * hash) + SESSION_TEXTURE_FIELD_NUMBER; + hash = (53 * hash) + getSessionTextureList().hashCode(); } - /** - * optional float udp_ping_avg = 8; - */ - public Builder setUdpPingAvg(float value) { - bitField0_ |= 0x00000080; - udpPingAvg_ = value; - onChanged(); - return this; + if (getSessionCommentCount() > 0) { + hash = (37 * hash) + SESSION_COMMENT_FIELD_NUMBER; + hash = (53 * hash) + getSessionCommentList().hashCode(); } - /** - * optional float udp_ping_avg = 8; - */ - public Builder clearUdpPingAvg() { - bitField0_ = (bitField0_ & ~0x00000080); - udpPingAvg_ = 0F; - onChanged(); - return this; + if (getChannelDescriptionCount() > 0) { + hash = (37 * hash) + CHANNEL_DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getChannelDescriptionList().hashCode(); } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } - private float udpPingVar_ ; - /** - * optional float udp_ping_var = 9; - */ - public boolean hasUdpPingVar() { - return ((bitField0_ & 0x00000100) == 0x00000100); + public static se.lublin.humla.protobuf.Mumble.RequestBlob parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static se.lublin.humla.protobuf.Mumble.RequestBlob parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static se.lublin.humla.protobuf.Mumble.RequestBlob parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static se.lublin.humla.protobuf.Mumble.RequestBlob parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static se.lublin.humla.protobuf.Mumble.RequestBlob parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static se.lublin.humla.protobuf.Mumble.RequestBlob parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static se.lublin.humla.protobuf.Mumble.RequestBlob parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static se.lublin.humla.protobuf.Mumble.RequestBlob parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static se.lublin.humla.protobuf.Mumble.RequestBlob parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static se.lublin.humla.protobuf.Mumble.RequestBlob parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static se.lublin.humla.protobuf.Mumble.RequestBlob parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static se.lublin.humla.protobuf.Mumble.RequestBlob parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(se.lublin.humla.protobuf.Mumble.RequestBlob prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Used by the client to request binary data from the server. By default large
+     * comments or textures are not sent within standard messages but instead the
+     * hash is. If the client does not recognize the hash it may request the
+     * resource when it needs it. The client does so by sending a RequestBlob
+     * message with the correct fields filled with the user sessions or channel_ids
+     * it wants to receive. The server replies to this by sending a new
+     * UserState/ChannelState message with the resources filled even if they would
+     * normally be transmitted as hashes.
+     * 
+ * + * Protobuf type {@code MumbleProto.RequestBlob} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:MumbleProto.RequestBlob) + se.lublin.humla.protobuf.Mumble.RequestBlobOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_RequestBlob_descriptor; } - /** - * optional float udp_ping_var = 9; - */ - public float getUdpPingVar() { - return udpPingVar_; + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_RequestBlob_fieldAccessorTable + .ensureFieldAccessorsInitialized( + se.lublin.humla.protobuf.Mumble.RequestBlob.class, se.lublin.humla.protobuf.Mumble.RequestBlob.Builder.class); } - /** - * optional float udp_ping_var = 9; - */ - public Builder setUdpPingVar(float value) { - bitField0_ |= 0x00000100; - udpPingVar_ = value; - onChanged(); - return this; + + // Construct using se.lublin.humla.protobuf.Mumble.RequestBlob.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); } - /** - * optional float udp_ping_var = 9; - */ - public Builder clearUdpPingVar() { - bitField0_ = (bitField0_ & ~0x00000100); - udpPingVar_ = 0F; - onChanged(); + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + sessionTexture_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000001); + sessionComment_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000002); + channelDescription_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000004); return this; } - private float tcpPingAvg_ ; - /** - * optional float tcp_ping_avg = 10; - */ - public boolean hasTcpPingAvg() { - return ((bitField0_ & 0x00000200) == 0x00000200); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_RequestBlob_descriptor; } - /** - * optional float tcp_ping_avg = 10; - */ - public float getTcpPingAvg() { - return tcpPingAvg_; + + @java.lang.Override + public se.lublin.humla.protobuf.Mumble.RequestBlob getDefaultInstanceForType() { + return se.lublin.humla.protobuf.Mumble.RequestBlob.getDefaultInstance(); } - /** - * optional float tcp_ping_avg = 10; - */ - public Builder setTcpPingAvg(float value) { - bitField0_ |= 0x00000200; - tcpPingAvg_ = value; - onChanged(); - return this; + + @java.lang.Override + public se.lublin.humla.protobuf.Mumble.RequestBlob build() { + se.lublin.humla.protobuf.Mumble.RequestBlob result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; } - /** - * optional float tcp_ping_avg = 10; - */ - public Builder clearTcpPingAvg() { - bitField0_ = (bitField0_ & ~0x00000200); - tcpPingAvg_ = 0F; - onChanged(); - return this; + + @java.lang.Override + public se.lublin.humla.protobuf.Mumble.RequestBlob buildPartial() { + se.lublin.humla.protobuf.Mumble.RequestBlob result = new se.lublin.humla.protobuf.Mumble.RequestBlob(this); + int from_bitField0_ = bitField0_; + if (((bitField0_ & 0x00000001) != 0)) { + sessionTexture_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.sessionTexture_ = sessionTexture_; + if (((bitField0_ & 0x00000002) != 0)) { + sessionComment_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.sessionComment_ = sessionComment_; + if (((bitField0_ & 0x00000004) != 0)) { + channelDescription_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.channelDescription_ = channelDescription_; + onBuilt(); + return result; } - private float tcpPingVar_ ; - /** - * optional float tcp_ping_var = 11; - */ - public boolean hasTcpPingVar() { - return ((bitField0_ & 0x00000400) == 0x00000400); + @java.lang.Override + public Builder clone() { + return super.clone(); } - /** - * optional float tcp_ping_var = 11; - */ - public float getTcpPingVar() { - return tcpPingVar_; + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); } - /** - * optional float tcp_ping_var = 11; - */ - public Builder setTcpPingVar(float value) { - bitField0_ |= 0x00000400; - tcpPingVar_ = value; - onChanged(); - return this; + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); } - /** - * optional float tcp_ping_var = 11; - */ - public Builder clearTcpPingVar() { - bitField0_ = (bitField0_ & ~0x00000400); - tcpPingVar_ = 0F; - onChanged(); - return this; + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); } - - private se.lublin.humla.protobuf.Mumble.Version version_ = null; - private com.google.protobuf.SingleFieldBuilderV3< - se.lublin.humla.protobuf.Mumble.Version, se.lublin.humla.protobuf.Mumble.Version.Builder, se.lublin.humla.protobuf.Mumble.VersionOrBuilder> versionBuilder_; - /** - * optional .MumbleProto.Version version = 12; - */ - public boolean hasVersion() { - return ((bitField0_ & 0x00000800) == 0x00000800); + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } - /** - * optional .MumbleProto.Version version = 12; - */ - public se.lublin.humla.protobuf.Mumble.Version getVersion() { - if (versionBuilder_ == null) { - return version_ == null ? se.lublin.humla.protobuf.Mumble.Version.getDefaultInstance() : version_; - } else { - return versionBuilder_.getMessage(); - } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); } - /** - * optional .MumbleProto.Version version = 12; - */ - public Builder setVersion(se.lublin.humla.protobuf.Mumble.Version value) { - if (versionBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - version_ = value; - onChanged(); + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof se.lublin.humla.protobuf.Mumble.RequestBlob) { + return mergeFrom((se.lublin.humla.protobuf.Mumble.RequestBlob)other); } else { - versionBuilder_.setMessage(value); + super.mergeFrom(other); + return this; } - bitField0_ |= 0x00000800; - return this; } - /** - * optional .MumbleProto.Version version = 12; - */ - public Builder setVersion( - se.lublin.humla.protobuf.Mumble.Version.Builder builderForValue) { - if (versionBuilder_ == null) { - version_ = builderForValue.build(); + + public Builder mergeFrom(se.lublin.humla.protobuf.Mumble.RequestBlob other) { + if (other == se.lublin.humla.protobuf.Mumble.RequestBlob.getDefaultInstance()) return this; + if (!other.sessionTexture_.isEmpty()) { + if (sessionTexture_.isEmpty()) { + sessionTexture_ = other.sessionTexture_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureSessionTextureIsMutable(); + sessionTexture_.addAll(other.sessionTexture_); + } onChanged(); - } else { - versionBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000800; - return this; - } - /** - * optional .MumbleProto.Version version = 12; - */ - public Builder mergeVersion(se.lublin.humla.protobuf.Mumble.Version value) { - if (versionBuilder_ == null) { - if (((bitField0_ & 0x00000800) == 0x00000800) && - version_ != null && - version_ != se.lublin.humla.protobuf.Mumble.Version.getDefaultInstance()) { - version_ = - se.lublin.humla.protobuf.Mumble.Version.newBuilder(version_).mergeFrom(value).buildPartial(); + if (!other.sessionComment_.isEmpty()) { + if (sessionComment_.isEmpty()) { + sessionComment_ = other.sessionComment_; + bitField0_ = (bitField0_ & ~0x00000002); } else { - version_ = value; + ensureSessionCommentIsMutable(); + sessionComment_.addAll(other.sessionComment_); } onChanged(); - } else { - versionBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000800; - return this; - } - /** - * optional .MumbleProto.Version version = 12; - */ - public Builder clearVersion() { - if (versionBuilder_ == null) { - version_ = null; + if (!other.channelDescription_.isEmpty()) { + if (channelDescription_.isEmpty()) { + channelDescription_ = other.channelDescription_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureChannelDescriptionIsMutable(); + channelDescription_.addAll(other.channelDescription_); + } onChanged(); - } else { - versionBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00000800); - return this; - } - /** - * optional .MumbleProto.Version version = 12; - */ - public se.lublin.humla.protobuf.Mumble.Version.Builder getVersionBuilder() { - bitField0_ |= 0x00000800; + this.mergeUnknownFields(other.unknownFields); onChanged(); - return getVersionFieldBuilder().getBuilder(); + return this; } - /** - * optional .MumbleProto.Version version = 12; - */ - public se.lublin.humla.protobuf.Mumble.VersionOrBuilder getVersionOrBuilder() { - if (versionBuilder_ != null) { - return versionBuilder_.getMessageOrBuilder(); - } else { - return version_ == null ? - se.lublin.humla.protobuf.Mumble.Version.getDefaultInstance() : version_; - } + + @java.lang.Override + public final boolean isInitialized() { + return true; } - /** - * optional .MumbleProto.Version version = 12; - */ - private com.google.protobuf.SingleFieldBuilderV3< - se.lublin.humla.protobuf.Mumble.Version, se.lublin.humla.protobuf.Mumble.Version.Builder, se.lublin.humla.protobuf.Mumble.VersionOrBuilder> - getVersionFieldBuilder() { - if (versionBuilder_ == null) { - versionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - se.lublin.humla.protobuf.Mumble.Version, se.lublin.humla.protobuf.Mumble.Version.Builder, se.lublin.humla.protobuf.Mumble.VersionOrBuilder>( - getVersion(), - getParentForChildren(), - isClean()); - version_ = null; + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + se.lublin.humla.protobuf.Mumble.RequestBlob parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (se.lublin.humla.protobuf.Mumble.RequestBlob) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } } - return versionBuilder_; + return this; } + private int bitField0_; - private java.util.List celtVersions_ = java.util.Collections.emptyList(); - private void ensureCeltVersionsIsMutable() { - if (!((bitField0_ & 0x00001000) == 0x00001000)) { - celtVersions_ = new java.util.ArrayList(celtVersions_); - bitField0_ |= 0x00001000; + private com.google.protobuf.Internal.IntList sessionTexture_ = emptyIntList(); + private void ensureSessionTextureIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + sessionTexture_ = mutableCopy(sessionTexture_); + bitField0_ |= 0x00000001; } } /** - * repeated int32 celt_versions = 13; + *
+       * sessions of the requested UserState textures.
+       * 
+ * + * repeated uint32 session_texture = 1; + * @return A list containing the sessionTexture. */ public java.util.List - getCeltVersionsList() { - return java.util.Collections.unmodifiableList(celtVersions_); - } - /** - * repeated int32 celt_versions = 13; - */ - public int getCeltVersionsCount() { - return celtVersions_.size(); - } - /** - * repeated int32 celt_versions = 13; - */ - public int getCeltVersions(int index) { - return celtVersions_.get(index); - } - /** - * repeated int32 celt_versions = 13; - */ - public Builder setCeltVersions( - int index, int value) { - ensureCeltVersionsIsMutable(); - celtVersions_.set(index, value); - onChanged(); - return this; - } - /** - * repeated int32 celt_versions = 13; - */ - public Builder addCeltVersions(int value) { - ensureCeltVersionsIsMutable(); - celtVersions_.add(value); - onChanged(); - return this; - } - /** - * repeated int32 celt_versions = 13; - */ - public Builder addAllCeltVersions( - java.lang.Iterable values) { - ensureCeltVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, celtVersions_); - onChanged(); - return this; - } - /** - * repeated int32 celt_versions = 13; - */ - public Builder clearCeltVersions() { - celtVersions_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00001000); - onChanged(); - return this; + getSessionTextureList() { + return ((bitField0_ & 0x00000001) != 0) ? + java.util.Collections.unmodifiableList(sessionTexture_) : sessionTexture_; } - - private com.google.protobuf.ByteString address_ = com.google.protobuf.ByteString.EMPTY; /** - * optional bytes address = 14; + *
+       * sessions of the requested UserState textures.
+       * 
+ * + * repeated uint32 session_texture = 1; + * @return The count of sessionTexture. */ - public boolean hasAddress() { - return ((bitField0_ & 0x00002000) == 0x00002000); + public int getSessionTextureCount() { + return sessionTexture_.size(); } /** - * optional bytes address = 14; + *
+       * sessions of the requested UserState textures.
+       * 
+ * + * repeated uint32 session_texture = 1; + * @param index The index of the element to return. + * @return The sessionTexture at the given index. */ - public com.google.protobuf.ByteString getAddress() { - return address_; + public int getSessionTexture(int index) { + return sessionTexture_.getInt(index); } /** - * optional bytes address = 14; + *
+       * sessions of the requested UserState textures.
+       * 
+ * + * repeated uint32 session_texture = 1; + * @param index The index to set the value at. + * @param value The sessionTexture to set. + * @return This builder for chaining. */ - public Builder setAddress(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00002000; - address_ = value; + public Builder setSessionTexture( + int index, int value) { + ensureSessionTextureIsMutable(); + sessionTexture_.setInt(index, value); onChanged(); return this; } /** - * optional bytes address = 14; + *
+       * sessions of the requested UserState textures.
+       * 
+ * + * repeated uint32 session_texture = 1; + * @param value The sessionTexture to add. + * @return This builder for chaining. */ - public Builder clearAddress() { - bitField0_ = (bitField0_ & ~0x00002000); - address_ = getDefaultInstance().getAddress(); + public Builder addSessionTexture(int value) { + ensureSessionTextureIsMutable(); + sessionTexture_.addInt(value); onChanged(); return this; } - - private int bandwidth_ ; - /** - * optional uint32 bandwidth = 15; - */ - public boolean hasBandwidth() { - return ((bitField0_ & 0x00004000) == 0x00004000); - } /** - * optional uint32 bandwidth = 15; - */ - public int getBandwidth() { - return bandwidth_; - } - /** - * optional uint32 bandwidth = 15; + *
+       * sessions of the requested UserState textures.
+       * 
+ * + * repeated uint32 session_texture = 1; + * @param values The sessionTexture to add. + * @return This builder for chaining. */ - public Builder setBandwidth(int value) { - bitField0_ |= 0x00004000; - bandwidth_ = value; + public Builder addAllSessionTexture( + java.lang.Iterable values) { + ensureSessionTextureIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, sessionTexture_); onChanged(); return this; } /** - * optional uint32 bandwidth = 15; + *
+       * sessions of the requested UserState textures.
+       * 
+ * + * repeated uint32 session_texture = 1; + * @return This builder for chaining. */ - public Builder clearBandwidth() { - bitField0_ = (bitField0_ & ~0x00004000); - bandwidth_ = 0; + public Builder clearSessionTexture() { + sessionTexture_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } - private int onlinesecs_ ; + private com.google.protobuf.Internal.IntList sessionComment_ = emptyIntList(); + private void ensureSessionCommentIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + sessionComment_ = mutableCopy(sessionComment_); + bitField0_ |= 0x00000002; + } + } /** - * optional uint32 onlinesecs = 16; + *
+       * sessions of the requested UserState comments.
+       * 
+ * + * repeated uint32 session_comment = 2; + * @return A list containing the sessionComment. */ - public boolean hasOnlinesecs() { - return ((bitField0_ & 0x00008000) == 0x00008000); + public java.util.List + getSessionCommentList() { + return ((bitField0_ & 0x00000002) != 0) ? + java.util.Collections.unmodifiableList(sessionComment_) : sessionComment_; } /** - * optional uint32 onlinesecs = 16; + *
+       * sessions of the requested UserState comments.
+       * 
+ * + * repeated uint32 session_comment = 2; + * @return The count of sessionComment. */ - public int getOnlinesecs() { - return onlinesecs_; + public int getSessionCommentCount() { + return sessionComment_.size(); } /** - * optional uint32 onlinesecs = 16; + *
+       * sessions of the requested UserState comments.
+       * 
+ * + * repeated uint32 session_comment = 2; + * @param index The index of the element to return. + * @return The sessionComment at the given index. */ - public Builder setOnlinesecs(int value) { - bitField0_ |= 0x00008000; - onlinesecs_ = value; - onChanged(); - return this; + public int getSessionComment(int index) { + return sessionComment_.getInt(index); } /** - * optional uint32 onlinesecs = 16; + *
+       * sessions of the requested UserState comments.
+       * 
+ * + * repeated uint32 session_comment = 2; + * @param index The index to set the value at. + * @param value The sessionComment to set. + * @return This builder for chaining. */ - public Builder clearOnlinesecs() { - bitField0_ = (bitField0_ & ~0x00008000); - onlinesecs_ = 0; + public Builder setSessionComment( + int index, int value) { + ensureSessionCommentIsMutable(); + sessionComment_.setInt(index, value); onChanged(); return this; } - - private int idlesecs_ ; - /** - * optional uint32 idlesecs = 17; - */ - public boolean hasIdlesecs() { - return ((bitField0_ & 0x00010000) == 0x00010000); - } /** - * optional uint32 idlesecs = 17; + *
+       * sessions of the requested UserState comments.
+       * 
+ * + * repeated uint32 session_comment = 2; + * @param value The sessionComment to add. + * @return This builder for chaining. */ - public int getIdlesecs() { - return idlesecs_; + public Builder addSessionComment(int value) { + ensureSessionCommentIsMutable(); + sessionComment_.addInt(value); + onChanged(); + return this; } /** - * optional uint32 idlesecs = 17; + *
+       * sessions of the requested UserState comments.
+       * 
+ * + * repeated uint32 session_comment = 2; + * @param values The sessionComment to add. + * @return This builder for chaining. */ - public Builder setIdlesecs(int value) { - bitField0_ |= 0x00010000; - idlesecs_ = value; + public Builder addAllSessionComment( + java.lang.Iterable values) { + ensureSessionCommentIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, sessionComment_); onChanged(); return this; } /** - * optional uint32 idlesecs = 17; + *
+       * sessions of the requested UserState comments.
+       * 
+ * + * repeated uint32 session_comment = 2; + * @return This builder for chaining. */ - public Builder clearIdlesecs() { - bitField0_ = (bitField0_ & ~0x00010000); - idlesecs_ = 0; + public Builder clearSessionComment() { + sessionComment_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } - private boolean strongCertificate_ ; + private com.google.protobuf.Internal.IntList channelDescription_ = emptyIntList(); + private void ensureChannelDescriptionIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + channelDescription_ = mutableCopy(channelDescription_); + bitField0_ |= 0x00000004; + } + } /** - * optional bool strong_certificate = 18 [default = false]; + *
+       * channel_ids of the requested ChannelState descriptions.
+       * 
+ * + * repeated uint32 channel_description = 3; + * @return A list containing the channelDescription. */ - public boolean hasStrongCertificate() { - return ((bitField0_ & 0x00020000) == 0x00020000); + public java.util.List + getChannelDescriptionList() { + return ((bitField0_ & 0x00000004) != 0) ? + java.util.Collections.unmodifiableList(channelDescription_) : channelDescription_; } /** - * optional bool strong_certificate = 18 [default = false]; + *
+       * channel_ids of the requested ChannelState descriptions.
+       * 
+ * + * repeated uint32 channel_description = 3; + * @return The count of channelDescription. */ - public boolean getStrongCertificate() { - return strongCertificate_; + public int getChannelDescriptionCount() { + return channelDescription_.size(); } /** - * optional bool strong_certificate = 18 [default = false]; + *
+       * channel_ids of the requested ChannelState descriptions.
+       * 
+ * + * repeated uint32 channel_description = 3; + * @param index The index of the element to return. + * @return The channelDescription at the given index. */ - public Builder setStrongCertificate(boolean value) { - bitField0_ |= 0x00020000; - strongCertificate_ = value; - onChanged(); - return this; + public int getChannelDescription(int index) { + return channelDescription_.getInt(index); } /** - * optional bool strong_certificate = 18 [default = false]; + *
+       * channel_ids of the requested ChannelState descriptions.
+       * 
+ * + * repeated uint32 channel_description = 3; + * @param index The index to set the value at. + * @param value The channelDescription to set. + * @return This builder for chaining. */ - public Builder clearStrongCertificate() { - bitField0_ = (bitField0_ & ~0x00020000); - strongCertificate_ = false; + public Builder setChannelDescription( + int index, int value) { + ensureChannelDescriptionIsMutable(); + channelDescription_.setInt(index, value); onChanged(); return this; } - - private boolean opus_ ; - /** - * optional bool opus = 19 [default = false]; - */ - public boolean hasOpus() { - return ((bitField0_ & 0x00040000) == 0x00040000); - } /** - * optional bool opus = 19 [default = false]; + *
+       * channel_ids of the requested ChannelState descriptions.
+       * 
+ * + * repeated uint32 channel_description = 3; + * @param value The channelDescription to add. + * @return This builder for chaining. */ - public boolean getOpus() { - return opus_; + public Builder addChannelDescription(int value) { + ensureChannelDescriptionIsMutable(); + channelDescription_.addInt(value); + onChanged(); + return this; } /** - * optional bool opus = 19 [default = false]; + *
+       * channel_ids of the requested ChannelState descriptions.
+       * 
+ * + * repeated uint32 channel_description = 3; + * @param values The channelDescription to add. + * @return This builder for chaining. */ - public Builder setOpus(boolean value) { - bitField0_ |= 0x00040000; - opus_ = value; + public Builder addAllChannelDescription( + java.lang.Iterable values) { + ensureChannelDescriptionIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, channelDescription_); onChanged(); return this; } /** - * optional bool opus = 19 [default = false]; + *
+       * channel_ids of the requested ChannelState descriptions.
+       * 
+ * + * repeated uint32 channel_description = 3; + * @return This builder for chaining. */ - public Builder clearOpus() { - bitField0_ = (bitField0_ & ~0x00040000); - opus_ = false; + public Builder clearChannelDescription() { + channelDescription_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:MumbleProto.UserStats) + // @@protoc_insertion_point(builder_scope:MumbleProto.RequestBlob) } - // @@protoc_insertion_point(class_scope:MumbleProto.UserStats) - private static final se.lublin.humla.protobuf.Mumble.UserStats DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:MumbleProto.RequestBlob) + private static final se.lublin.humla.protobuf.Mumble.RequestBlob DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new se.lublin.humla.protobuf.Mumble.UserStats(); + DEFAULT_INSTANCE = new se.lublin.humla.protobuf.Mumble.RequestBlob(); } - public static se.lublin.humla.protobuf.Mumble.UserStats getDefaultInstance() { + public static se.lublin.humla.protobuf.Mumble.RequestBlob getDefaultInstance() { return DEFAULT_INSTANCE; } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - public UserStats parsePartialFrom( + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RequestBlob parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UserStats(input, extensionRegistry); + return new RequestBlob(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } - public se.lublin.humla.protobuf.Mumble.UserStats getDefaultInstanceForType() { + @java.lang.Override + public se.lublin.humla.protobuf.Mumble.RequestBlob getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface SuggestConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:MumbleProto.SuggestConfig) + public interface ServerConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:MumbleProto.ServerConfig) com.google.protobuf.MessageOrBuilder { /** - * optional uint32 version = 1; + *
+     * The maximum bandwidth the clients should use.
+     * 
+ * + * optional uint32 max_bandwidth = 1; + * @return Whether the maxBandwidth field is set. */ - boolean hasVersion(); + boolean hasMaxBandwidth(); /** - * optional uint32 version = 1; + *
+     * The maximum bandwidth the clients should use.
+     * 
+ * + * optional uint32 max_bandwidth = 1; + * @return The maxBandwidth. */ - int getVersion(); + int getMaxBandwidth(); /** - * optional bool positional = 2; + *
+     * Server welcome text.
+     * 
+ * + * optional string welcome_text = 2; + * @return Whether the welcomeText field is set. */ - boolean hasPositional(); + boolean hasWelcomeText(); + /** + *
+     * Server welcome text.
+     * 
+ * + * optional string welcome_text = 2; + * @return The welcomeText. + */ + java.lang.String getWelcomeText(); + /** + *
+     * Server welcome text.
+     * 
+ * + * optional string welcome_text = 2; + * @return The bytes for welcomeText. + */ + com.google.protobuf.ByteString + getWelcomeTextBytes(); + + /** + *
+     * True if the server allows HTML.
+     * 
+ * + * optional bool allow_html = 3; + * @return Whether the allowHtml field is set. + */ + boolean hasAllowHtml(); + /** + *
+     * True if the server allows HTML.
+     * 
+ * + * optional bool allow_html = 3; + * @return The allowHtml. + */ + boolean getAllowHtml(); + + /** + *
+     * Maximum text message length.
+     * 
+ * + * optional uint32 message_length = 4; + * @return Whether the messageLength field is set. + */ + boolean hasMessageLength(); + /** + *
+     * Maximum text message length.
+     * 
+ * + * optional uint32 message_length = 4; + * @return The messageLength. + */ + int getMessageLength(); + + /** + *
+     * Maximum image message length.
+     * 
+ * + * optional uint32 image_message_length = 5; + * @return Whether the imageMessageLength field is set. + */ + boolean hasImageMessageLength(); /** - * optional bool positional = 2; + *
+     * Maximum image message length.
+     * 
+ * + * optional uint32 image_message_length = 5; + * @return The imageMessageLength. */ - boolean getPositional(); + int getImageMessageLength(); /** - * optional bool push_to_talk = 3; + *
+     * The maximum number of users allowed on the server.
+     * 
+ * + * optional uint32 max_users = 6; + * @return Whether the maxUsers field is set. */ - boolean hasPushToTalk(); + boolean hasMaxUsers(); /** - * optional bool push_to_talk = 3; + *
+     * The maximum number of users allowed on the server.
+     * 
+ * + * optional uint32 max_users = 6; + * @return The maxUsers. */ - boolean getPushToTalk(); + int getMaxUsers(); } /** - * Protobuf type {@code MumbleProto.SuggestConfig} + *
+   * Sent by the server when it informs the clients on server configuration
+   * details.
+   * 
+ * + * Protobuf type {@code MumbleProto.ServerConfig} */ - public static final class SuggestConfig extends + public static final class ServerConfig extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:MumbleProto.SuggestConfig) - SuggestConfigOrBuilder { - // Use SuggestConfig.newBuilder() to construct. - private SuggestConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // @@protoc_insertion_point(message_implements:MumbleProto.ServerConfig) + ServerConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use ServerConfig.newBuilder() to construct. + private ServerConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SuggestConfig() { - version_ = 0; - positional_ = false; - pushToTalk_ = false; + private ServerConfig() { + welcomeText_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ServerConfig(); } @java.lang.Override @@ -31071,11 +41329,14 @@ public final class Mumble { getUnknownFields() { return this.unknownFields; } - private SuggestConfig( + private ServerConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -31087,26 +41348,42 @@ public final class Mumble { case 0: done = true; break; - default: { - if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; - version_ = input.readUInt32(); + maxBandwidth_ = input.readUInt32(); break; } - case 16: { + case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; - positional_ = input.readBool(); + welcomeText_ = bs; break; } case 24: { bitField0_ |= 0x00000004; - pushToTalk_ = input.readBool(); + allowHtml_ = input.readBool(); + break; + } + case 32: { + bitField0_ |= 0x00000008; + messageLength_ = input.readUInt32(); + break; + } + case 40: { + bitField0_ |= 0x00000010; + imageMessageLength_ = input.readUInt32(); + break; + } + case 48: { + bitField0_ |= 0x00000020; + maxUsers_ = input.readUInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } break; } } @@ -31123,63 +41400,202 @@ public final class Mumble { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_SuggestConfig_descriptor; + return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ServerConfig_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_SuggestConfig_fieldAccessorTable + return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ServerConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - se.lublin.humla.protobuf.Mumble.SuggestConfig.class, se.lublin.humla.protobuf.Mumble.SuggestConfig.Builder.class); + se.lublin.humla.protobuf.Mumble.ServerConfig.class, se.lublin.humla.protobuf.Mumble.ServerConfig.Builder.class); } private int bitField0_; - public static final int VERSION_FIELD_NUMBER = 1; - private int version_; + public static final int MAX_BANDWIDTH_FIELD_NUMBER = 1; + private int maxBandwidth_; /** - * optional uint32 version = 1; + *
+     * The maximum bandwidth the clients should use.
+     * 
+ * + * optional uint32 max_bandwidth = 1; + * @return Whether the maxBandwidth field is set. */ - public boolean hasVersion() { - return ((bitField0_ & 0x00000001) == 0x00000001); + public boolean hasMaxBandwidth() { + return ((bitField0_ & 0x00000001) != 0); } /** - * optional uint32 version = 1; + *
+     * The maximum bandwidth the clients should use.
+     * 
+ * + * optional uint32 max_bandwidth = 1; + * @return The maxBandwidth. */ - public int getVersion() { - return version_; + public int getMaxBandwidth() { + return maxBandwidth_; } - public static final int POSITIONAL_FIELD_NUMBER = 2; - private boolean positional_; + public static final int WELCOME_TEXT_FIELD_NUMBER = 2; + private volatile java.lang.Object welcomeText_; /** - * optional bool positional = 2; + *
+     * Server welcome text.
+     * 
+ * + * optional string welcome_text = 2; + * @return Whether the welcomeText field is set. */ - public boolean hasPositional() { - return ((bitField0_ & 0x00000002) == 0x00000002); + public boolean hasWelcomeText() { + return ((bitField0_ & 0x00000002) != 0); } /** - * optional bool positional = 2; + *
+     * Server welcome text.
+     * 
+ * + * optional string welcome_text = 2; + * @return The welcomeText. */ - public boolean getPositional() { - return positional_; + public java.lang.String getWelcomeText() { + java.lang.Object ref = welcomeText_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + welcomeText_ = s; + } + return s; + } + } + /** + *
+     * Server welcome text.
+     * 
+ * + * optional string welcome_text = 2; + * @return The bytes for welcomeText. + */ + public com.google.protobuf.ByteString + getWelcomeTextBytes() { + java.lang.Object ref = welcomeText_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + welcomeText_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } - public static final int PUSH_TO_TALK_FIELD_NUMBER = 3; - private boolean pushToTalk_; + public static final int ALLOW_HTML_FIELD_NUMBER = 3; + private boolean allowHtml_; /** - * optional bool push_to_talk = 3; + *
+     * True if the server allows HTML.
+     * 
+ * + * optional bool allow_html = 3; + * @return Whether the allowHtml field is set. */ - public boolean hasPushToTalk() { - return ((bitField0_ & 0x00000004) == 0x00000004); + public boolean hasAllowHtml() { + return ((bitField0_ & 0x00000004) != 0); } /** - * optional bool push_to_talk = 3; + *
+     * True if the server allows HTML.
+     * 
+ * + * optional bool allow_html = 3; + * @return The allowHtml. */ - public boolean getPushToTalk() { - return pushToTalk_; + public boolean getAllowHtml() { + return allowHtml_; + } + + public static final int MESSAGE_LENGTH_FIELD_NUMBER = 4; + private int messageLength_; + /** + *
+     * Maximum text message length.
+     * 
+ * + * optional uint32 message_length = 4; + * @return Whether the messageLength field is set. + */ + public boolean hasMessageLength() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + *
+     * Maximum text message length.
+     * 
+ * + * optional uint32 message_length = 4; + * @return The messageLength. + */ + public int getMessageLength() { + return messageLength_; + } + + public static final int IMAGE_MESSAGE_LENGTH_FIELD_NUMBER = 5; + private int imageMessageLength_; + /** + *
+     * Maximum image message length.
+     * 
+ * + * optional uint32 image_message_length = 5; + * @return Whether the imageMessageLength field is set. + */ + public boolean hasImageMessageLength() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + *
+     * Maximum image message length.
+     * 
+ * + * optional uint32 image_message_length = 5; + * @return The imageMessageLength. + */ + public int getImageMessageLength() { + return imageMessageLength_; + } + + public static final int MAX_USERS_FIELD_NUMBER = 6; + private int maxUsers_; + /** + *
+     * The maximum number of users allowed on the server.
+     * 
+ * + * optional uint32 max_users = 6; + * @return Whether the maxUsers field is set. + */ + public boolean hasMaxUsers() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + *
+     * The maximum number of users allowed on the server.
+     * 
+ * + * optional uint32 max_users = 6; + * @return The maxUsers. + */ + public int getMaxUsers() { + return maxUsers_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -31189,71 +41605,106 @@ public final class Mumble { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, version_); + if (((bitField0_ & 0x00000001) != 0)) { + output.writeUInt32(1, maxBandwidth_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeBool(2, positional_); + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, welcomeText_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeBool(3, pushToTalk_); + if (((bitField0_ & 0x00000004) != 0)) { + output.writeBool(3, allowHtml_); + } + if (((bitField0_ & 0x00000008) != 0)) { + output.writeUInt32(4, messageLength_); + } + if (((bitField0_ & 0x00000010) != 0)) { + output.writeUInt32(5, imageMessageLength_); + } + if (((bitField0_ & 0x00000020) != 0)) { + output.writeUInt32(6, maxUsers_); } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, version_); + .computeUInt32Size(1, maxBandwidth_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, welcomeText_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, positional_); + .computeBoolSize(3, allowHtml_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, pushToTalk_); + .computeUInt32Size(4, messageLength_); + } + if (((bitField0_ & 0x00000010) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(5, imageMessageLength_); + } + if (((bitField0_ & 0x00000020) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(6, maxUsers_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } - private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof se.lublin.humla.protobuf.Mumble.SuggestConfig)) { + if (!(obj instanceof se.lublin.humla.protobuf.Mumble.ServerConfig)) { return super.equals(obj); } - se.lublin.humla.protobuf.Mumble.SuggestConfig other = (se.lublin.humla.protobuf.Mumble.SuggestConfig) obj; + se.lublin.humla.protobuf.Mumble.ServerConfig other = (se.lublin.humla.protobuf.Mumble.ServerConfig) obj; - boolean result = true; - result = result && (hasVersion() == other.hasVersion()); - if (hasVersion()) { - result = result && (getVersion() - == other.getVersion()); + if (hasMaxBandwidth() != other.hasMaxBandwidth()) return false; + if (hasMaxBandwidth()) { + if (getMaxBandwidth() + != other.getMaxBandwidth()) return false; } - result = result && (hasPositional() == other.hasPositional()); - if (hasPositional()) { - result = result && (getPositional() - == other.getPositional()); + if (hasWelcomeText() != other.hasWelcomeText()) return false; + if (hasWelcomeText()) { + if (!getWelcomeText() + .equals(other.getWelcomeText())) return false; } - result = result && (hasPushToTalk() == other.hasPushToTalk()); - if (hasPushToTalk()) { - result = result && (getPushToTalk() - == other.getPushToTalk()); + if (hasAllowHtml() != other.hasAllowHtml()) return false; + if (hasAllowHtml()) { + if (getAllowHtml() + != other.getAllowHtml()) return false; + } + if (hasMessageLength() != other.hasMessageLength()) return false; + if (hasMessageLength()) { + if (getMessageLength() + != other.getMessageLength()) return false; + } + if (hasImageMessageLength() != other.hasImageMessageLength()) return false; + if (hasImageMessageLength()) { + if (getImageMessageLength() + != other.getImageMessageLength()) return false; } - result = result && unknownFields.equals(other.unknownFields); - return result; + if (hasMaxUsers() != other.hasMaxUsers()) return false; + if (hasMaxUsers()) { + if (getMaxUsers() + != other.getMaxUsers()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -31262,78 +41713,100 @@ public final class Mumble { return memoizedHashCode; } int hash = 41; - hash = (19 * hash) + getDescriptorForType().hashCode(); - if (hasVersion()) { - hash = (37 * hash) + VERSION_FIELD_NUMBER; - hash = (53 * hash) + getVersion(); + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasMaxBandwidth()) { + hash = (37 * hash) + MAX_BANDWIDTH_FIELD_NUMBER; + hash = (53 * hash) + getMaxBandwidth(); } - if (hasPositional()) { - hash = (37 * hash) + POSITIONAL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getPositional()); + if (hasWelcomeText()) { + hash = (37 * hash) + WELCOME_TEXT_FIELD_NUMBER; + hash = (53 * hash) + getWelcomeText().hashCode(); } - if (hasPushToTalk()) { - hash = (37 * hash) + PUSH_TO_TALK_FIELD_NUMBER; + if (hasAllowHtml()) { + hash = (37 * hash) + ALLOW_HTML_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getPushToTalk()); + getAllowHtml()); + } + if (hasMessageLength()) { + hash = (37 * hash) + MESSAGE_LENGTH_FIELD_NUMBER; + hash = (53 * hash) + getMessageLength(); + } + if (hasImageMessageLength()) { + hash = (37 * hash) + IMAGE_MESSAGE_LENGTH_FIELD_NUMBER; + hash = (53 * hash) + getImageMessageLength(); + } + if (hasMaxUsers()) { + hash = (37 * hash) + MAX_USERS_FIELD_NUMBER; + hash = (53 * hash) + getMaxUsers(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static se.lublin.humla.protobuf.Mumble.SuggestConfig parseFrom( + public static se.lublin.humla.protobuf.Mumble.ServerConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static se.lublin.humla.protobuf.Mumble.ServerConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static se.lublin.humla.protobuf.Mumble.ServerConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static se.lublin.humla.protobuf.Mumble.SuggestConfig parseFrom( + public static se.lublin.humla.protobuf.Mumble.ServerConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static se.lublin.humla.protobuf.Mumble.SuggestConfig parseFrom(byte[] data) + public static se.lublin.humla.protobuf.Mumble.ServerConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static se.lublin.humla.protobuf.Mumble.SuggestConfig parseFrom( + public static se.lublin.humla.protobuf.Mumble.ServerConfig parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static se.lublin.humla.protobuf.Mumble.SuggestConfig parseFrom(java.io.InputStream input) + public static se.lublin.humla.protobuf.Mumble.ServerConfig parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static se.lublin.humla.protobuf.Mumble.SuggestConfig parseFrom( + public static se.lublin.humla.protobuf.Mumble.ServerConfig parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static se.lublin.humla.protobuf.Mumble.SuggestConfig parseDelimitedFrom(java.io.InputStream input) + public static se.lublin.humla.protobuf.Mumble.ServerConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static se.lublin.humla.protobuf.Mumble.SuggestConfig parseDelimitedFrom( + public static se.lublin.humla.protobuf.Mumble.ServerConfig parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static se.lublin.humla.protobuf.Mumble.SuggestConfig parseFrom( + public static se.lublin.humla.protobuf.Mumble.ServerConfig parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static se.lublin.humla.protobuf.Mumble.SuggestConfig parseFrom( + public static se.lublin.humla.protobuf.Mumble.ServerConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -31341,13 +41814,15 @@ public final class Mumble { .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(se.lublin.humla.protobuf.Mumble.SuggestConfig prototype) { + public static Builder newBuilder(se.lublin.humla.protobuf.Mumble.ServerConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -31360,25 +41835,31 @@ public final class Mumble { return builder; } /** - * Protobuf type {@code MumbleProto.SuggestConfig} + *
+     * Sent by the server when it informs the clients on server configuration
+     * details.
+     * 
+ * + * Protobuf type {@code MumbleProto.ServerConfig} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:MumbleProto.SuggestConfig) - se.lublin.humla.protobuf.Mumble.SuggestConfigOrBuilder { + // @@protoc_insertion_point(builder_implements:MumbleProto.ServerConfig) + se.lublin.humla.protobuf.Mumble.ServerConfigOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_SuggestConfig_descriptor; + return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ServerConfig_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_SuggestConfig_fieldAccessorTable + return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ServerConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - se.lublin.humla.protobuf.Mumble.SuggestConfig.class, se.lublin.humla.protobuf.Mumble.SuggestConfig.Builder.class); + se.lublin.humla.protobuf.Mumble.ServerConfig.class, se.lublin.humla.protobuf.Mumble.ServerConfig.Builder.class); } - // Construct using se.lublin.humla.protobuf.Mumble.SuggestConfig.newBuilder() + // Construct using se.lublin.humla.protobuf.Mumble.ServerConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -31393,119 +41874,162 @@ public final class Mumble { .alwaysUseFieldBuilders) { } } + @java.lang.Override public Builder clear() { super.clear(); - version_ = 0; + maxBandwidth_ = 0; bitField0_ = (bitField0_ & ~0x00000001); - positional_ = false; + welcomeText_ = ""; bitField0_ = (bitField0_ & ~0x00000002); - pushToTalk_ = false; + allowHtml_ = false; bitField0_ = (bitField0_ & ~0x00000004); + messageLength_ = 0; + bitField0_ = (bitField0_ & ~0x00000008); + imageMessageLength_ = 0; + bitField0_ = (bitField0_ & ~0x00000010); + maxUsers_ = 0; + bitField0_ = (bitField0_ & ~0x00000020); return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_SuggestConfig_descriptor; + return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ServerConfig_descriptor; } - public se.lublin.humla.protobuf.Mumble.SuggestConfig getDefaultInstanceForType() { - return se.lublin.humla.protobuf.Mumble.SuggestConfig.getDefaultInstance(); + @java.lang.Override + public se.lublin.humla.protobuf.Mumble.ServerConfig getDefaultInstanceForType() { + return se.lublin.humla.protobuf.Mumble.ServerConfig.getDefaultInstance(); } - public se.lublin.humla.protobuf.Mumble.SuggestConfig build() { - se.lublin.humla.protobuf.Mumble.SuggestConfig result = buildPartial(); + @java.lang.Override + public se.lublin.humla.protobuf.Mumble.ServerConfig build() { + se.lublin.humla.protobuf.Mumble.ServerConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public se.lublin.humla.protobuf.Mumble.SuggestConfig buildPartial() { - se.lublin.humla.protobuf.Mumble.SuggestConfig result = new se.lublin.humla.protobuf.Mumble.SuggestConfig(this); + @java.lang.Override + public se.lublin.humla.protobuf.Mumble.ServerConfig buildPartial() { + se.lublin.humla.protobuf.Mumble.ServerConfig result = new se.lublin.humla.protobuf.Mumble.ServerConfig(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.maxBandwidth_ = maxBandwidth_; to_bitField0_ |= 0x00000001; } - result.version_ = version_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } - result.positional_ = positional_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + result.welcomeText_ = welcomeText_; + if (((from_bitField0_ & 0x00000004) != 0)) { + result.allowHtml_ = allowHtml_; to_bitField0_ |= 0x00000004; } - result.pushToTalk_ = pushToTalk_; + if (((from_bitField0_ & 0x00000008) != 0)) { + result.messageLength_ = messageLength_; + to_bitField0_ |= 0x00000008; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.imageMessageLength_ = imageMessageLength_; + to_bitField0_ |= 0x00000010; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.maxUsers_ = maxUsers_; + to_bitField0_ |= 0x00000020; + } result.bitField0_ = to_bitField0_; onBuilt(); return result; } + @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.setField(field, value); + java.lang.Object value) { + return super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { - return (Builder) super.setRepeatedField(field, index, value); + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.addRepeatedField(field, value); + java.lang.Object value) { + return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof se.lublin.humla.protobuf.Mumble.SuggestConfig) { - return mergeFrom((se.lublin.humla.protobuf.Mumble.SuggestConfig)other); + if (other instanceof se.lublin.humla.protobuf.Mumble.ServerConfig) { + return mergeFrom((se.lublin.humla.protobuf.Mumble.ServerConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(se.lublin.humla.protobuf.Mumble.SuggestConfig other) { - if (other == se.lublin.humla.protobuf.Mumble.SuggestConfig.getDefaultInstance()) return this; - if (other.hasVersion()) { - setVersion(other.getVersion()); + public Builder mergeFrom(se.lublin.humla.protobuf.Mumble.ServerConfig other) { + if (other == se.lublin.humla.protobuf.Mumble.ServerConfig.getDefaultInstance()) return this; + if (other.hasMaxBandwidth()) { + setMaxBandwidth(other.getMaxBandwidth()); } - if (other.hasPositional()) { - setPositional(other.getPositional()); + if (other.hasWelcomeText()) { + bitField0_ |= 0x00000002; + welcomeText_ = other.welcomeText_; + onChanged(); } - if (other.hasPushToTalk()) { - setPushToTalk(other.getPushToTalk()); + if (other.hasAllowHtml()) { + setAllowHtml(other.getAllowHtml()); + } + if (other.hasMessageLength()) { + setMessageLength(other.getMessageLength()); + } + if (other.hasImageMessageLength()) { + setImageMessageLength(other.getImageMessageLength()); + } + if (other.hasMaxUsers()) { + setMaxUsers(other.getMaxUsers()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - se.lublin.humla.protobuf.Mumble.SuggestConfig parsedMessage = null; + se.lublin.humla.protobuf.Mumble.ServerConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (se.lublin.humla.protobuf.Mumble.SuggestConfig) e.getUnfinishedMessage(); + parsedMessage = (se.lublin.humla.protobuf.Mumble.ServerConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -31516,208 +42040,519 @@ public final class Mumble { } private int bitField0_; - private int version_ ; + private int maxBandwidth_ ; + /** + *
+       * The maximum bandwidth the clients should use.
+       * 
+ * + * optional uint32 max_bandwidth = 1; + * @return Whether the maxBandwidth field is set. + */ + public boolean hasMaxBandwidth() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+       * The maximum bandwidth the clients should use.
+       * 
+ * + * optional uint32 max_bandwidth = 1; + * @return The maxBandwidth. + */ + public int getMaxBandwidth() { + return maxBandwidth_; + } + /** + *
+       * The maximum bandwidth the clients should use.
+       * 
+ * + * optional uint32 max_bandwidth = 1; + * @param value The maxBandwidth to set. + * @return This builder for chaining. + */ + public Builder setMaxBandwidth(int value) { + bitField0_ |= 0x00000001; + maxBandwidth_ = value; + onChanged(); + return this; + } + /** + *
+       * The maximum bandwidth the clients should use.
+       * 
+ * + * optional uint32 max_bandwidth = 1; + * @return This builder for chaining. + */ + public Builder clearMaxBandwidth() { + bitField0_ = (bitField0_ & ~0x00000001); + maxBandwidth_ = 0; + onChanged(); + return this; + } + + private java.lang.Object welcomeText_ = ""; + /** + *
+       * Server welcome text.
+       * 
+ * + * optional string welcome_text = 2; + * @return Whether the welcomeText field is set. + */ + public boolean hasWelcomeText() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + *
+       * Server welcome text.
+       * 
+ * + * optional string welcome_text = 2; + * @return The welcomeText. + */ + public java.lang.String getWelcomeText() { + java.lang.Object ref = welcomeText_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + welcomeText_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Server welcome text.
+       * 
+ * + * optional string welcome_text = 2; + * @return The bytes for welcomeText. + */ + public com.google.protobuf.ByteString + getWelcomeTextBytes() { + java.lang.Object ref = welcomeText_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + welcomeText_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Server welcome text.
+       * 
+ * + * optional string welcome_text = 2; + * @param value The welcomeText to set. + * @return This builder for chaining. + */ + public Builder setWelcomeText( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + welcomeText_ = value; + onChanged(); + return this; + } + /** + *
+       * Server welcome text.
+       * 
+ * + * optional string welcome_text = 2; + * @return This builder for chaining. + */ + public Builder clearWelcomeText() { + bitField0_ = (bitField0_ & ~0x00000002); + welcomeText_ = getDefaultInstance().getWelcomeText(); + onChanged(); + return this; + } + /** + *
+       * Server welcome text.
+       * 
+ * + * optional string welcome_text = 2; + * @param value The bytes for welcomeText to set. + * @return This builder for chaining. + */ + public Builder setWelcomeTextBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + welcomeText_ = value; + onChanged(); + return this; + } + + private boolean allowHtml_ ; + /** + *
+       * True if the server allows HTML.
+       * 
+ * + * optional bool allow_html = 3; + * @return Whether the allowHtml field is set. + */ + public boolean hasAllowHtml() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + *
+       * True if the server allows HTML.
+       * 
+ * + * optional bool allow_html = 3; + * @return The allowHtml. + */ + public boolean getAllowHtml() { + return allowHtml_; + } + /** + *
+       * True if the server allows HTML.
+       * 
+ * + * optional bool allow_html = 3; + * @param value The allowHtml to set. + * @return This builder for chaining. + */ + public Builder setAllowHtml(boolean value) { + bitField0_ |= 0x00000004; + allowHtml_ = value; + onChanged(); + return this; + } + /** + *
+       * True if the server allows HTML.
+       * 
+ * + * optional bool allow_html = 3; + * @return This builder for chaining. + */ + public Builder clearAllowHtml() { + bitField0_ = (bitField0_ & ~0x00000004); + allowHtml_ = false; + onChanged(); + return this; + } + + private int messageLength_ ; /** - * optional uint32 version = 1; + *
+       * Maximum text message length.
+       * 
+ * + * optional uint32 message_length = 4; + * @return Whether the messageLength field is set. */ - public boolean hasVersion() { - return ((bitField0_ & 0x00000001) == 0x00000001); + public boolean hasMessageLength() { + return ((bitField0_ & 0x00000008) != 0); } /** - * optional uint32 version = 1; + *
+       * Maximum text message length.
+       * 
+ * + * optional uint32 message_length = 4; + * @return The messageLength. */ - public int getVersion() { - return version_; + public int getMessageLength() { + return messageLength_; } /** - * optional uint32 version = 1; + *
+       * Maximum text message length.
+       * 
+ * + * optional uint32 message_length = 4; + * @param value The messageLength to set. + * @return This builder for chaining. */ - public Builder setVersion(int value) { - bitField0_ |= 0x00000001; - version_ = value; + public Builder setMessageLength(int value) { + bitField0_ |= 0x00000008; + messageLength_ = value; onChanged(); return this; } /** - * optional uint32 version = 1; + *
+       * Maximum text message length.
+       * 
+ * + * optional uint32 message_length = 4; + * @return This builder for chaining. */ - public Builder clearVersion() { - bitField0_ = (bitField0_ & ~0x00000001); - version_ = 0; + public Builder clearMessageLength() { + bitField0_ = (bitField0_ & ~0x00000008); + messageLength_ = 0; onChanged(); return this; } - private boolean positional_ ; + private int imageMessageLength_ ; /** - * optional bool positional = 2; + *
+       * Maximum image message length.
+       * 
+ * + * optional uint32 image_message_length = 5; + * @return Whether the imageMessageLength field is set. */ - public boolean hasPositional() { - return ((bitField0_ & 0x00000002) == 0x00000002); + public boolean hasImageMessageLength() { + return ((bitField0_ & 0x00000010) != 0); } /** - * optional bool positional = 2; + *
+       * Maximum image message length.
+       * 
+ * + * optional uint32 image_message_length = 5; + * @return The imageMessageLength. */ - public boolean getPositional() { - return positional_; + public int getImageMessageLength() { + return imageMessageLength_; } /** - * optional bool positional = 2; + *
+       * Maximum image message length.
+       * 
+ * + * optional uint32 image_message_length = 5; + * @param value The imageMessageLength to set. + * @return This builder for chaining. */ - public Builder setPositional(boolean value) { - bitField0_ |= 0x00000002; - positional_ = value; + public Builder setImageMessageLength(int value) { + bitField0_ |= 0x00000010; + imageMessageLength_ = value; onChanged(); return this; } /** - * optional bool positional = 2; + *
+       * Maximum image message length.
+       * 
+ * + * optional uint32 image_message_length = 5; + * @return This builder for chaining. */ - public Builder clearPositional() { - bitField0_ = (bitField0_ & ~0x00000002); - positional_ = false; + public Builder clearImageMessageLength() { + bitField0_ = (bitField0_ & ~0x00000010); + imageMessageLength_ = 0; onChanged(); return this; } - private boolean pushToTalk_ ; + private int maxUsers_ ; /** - * optional bool push_to_talk = 3; + *
+       * The maximum number of users allowed on the server.
+       * 
+ * + * optional uint32 max_users = 6; + * @return Whether the maxUsers field is set. */ - public boolean hasPushToTalk() { - return ((bitField0_ & 0x00000004) == 0x00000004); + public boolean hasMaxUsers() { + return ((bitField0_ & 0x00000020) != 0); } /** - * optional bool push_to_talk = 3; + *
+       * The maximum number of users allowed on the server.
+       * 
+ * + * optional uint32 max_users = 6; + * @return The maxUsers. */ - public boolean getPushToTalk() { - return pushToTalk_; + public int getMaxUsers() { + return maxUsers_; } /** - * optional bool push_to_talk = 3; + *
+       * The maximum number of users allowed on the server.
+       * 
+ * + * optional uint32 max_users = 6; + * @param value The maxUsers to set. + * @return This builder for chaining. */ - public Builder setPushToTalk(boolean value) { - bitField0_ |= 0x00000004; - pushToTalk_ = value; + public Builder setMaxUsers(int value) { + bitField0_ |= 0x00000020; + maxUsers_ = value; onChanged(); return this; } /** - * optional bool push_to_talk = 3; + *
+       * The maximum number of users allowed on the server.
+       * 
+ * + * optional uint32 max_users = 6; + * @return This builder for chaining. */ - public Builder clearPushToTalk() { - bitField0_ = (bitField0_ & ~0x00000004); - pushToTalk_ = false; + public Builder clearMaxUsers() { + bitField0_ = (bitField0_ & ~0x00000020); + maxUsers_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:MumbleProto.SuggestConfig) + // @@protoc_insertion_point(builder_scope:MumbleProto.ServerConfig) } - // @@protoc_insertion_point(class_scope:MumbleProto.SuggestConfig) - private static final se.lublin.humla.protobuf.Mumble.SuggestConfig DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:MumbleProto.ServerConfig) + private static final se.lublin.humla.protobuf.Mumble.ServerConfig DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new se.lublin.humla.protobuf.Mumble.SuggestConfig(); + DEFAULT_INSTANCE = new se.lublin.humla.protobuf.Mumble.ServerConfig(); } - public static se.lublin.humla.protobuf.Mumble.SuggestConfig getDefaultInstance() { + public static se.lublin.humla.protobuf.Mumble.ServerConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - public SuggestConfig parsePartialFrom( + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ServerConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SuggestConfig(input, extensionRegistry); + return new ServerConfig(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } - public se.lublin.humla.protobuf.Mumble.SuggestConfig getDefaultInstanceForType() { + @java.lang.Override + public se.lublin.humla.protobuf.Mumble.ServerConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface RequestBlobOrBuilder extends - // @@protoc_insertion_point(interface_extends:MumbleProto.RequestBlob) + public interface SuggestConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:MumbleProto.SuggestConfig) com.google.protobuf.MessageOrBuilder { /** - * repeated uint32 session_texture = 1; - */ - java.util.List getSessionTextureList(); - /** - * repeated uint32 session_texture = 1; + *
+     * Suggested client version.
+     * 
+ * + * optional uint32 version = 1; + * @return Whether the version field is set. */ - int getSessionTextureCount(); + boolean hasVersion(); /** - * repeated uint32 session_texture = 1; + *
+     * Suggested client version.
+     * 
+ * + * optional uint32 version = 1; + * @return The version. */ - int getSessionTexture(int index); + int getVersion(); /** - * repeated uint32 session_comment = 2; - */ - java.util.List getSessionCommentList(); - /** - * repeated uint32 session_comment = 2; + *
+     * True if the administrator suggests positional audio to be used on this
+     * server.
+     * 
+ * + * optional bool positional = 2; + * @return Whether the positional field is set. */ - int getSessionCommentCount(); + boolean hasPositional(); /** - * repeated uint32 session_comment = 2; + *
+     * True if the administrator suggests positional audio to be used on this
+     * server.
+     * 
+ * + * optional bool positional = 2; + * @return The positional. */ - int getSessionComment(int index); + boolean getPositional(); /** - * repeated uint32 channel_description = 3; - */ - java.util.List getChannelDescriptionList(); - /** - * repeated uint32 channel_description = 3; + *
+     * True if the administrator suggests push to talk to be used on this server.
+     * 
+ * + * optional bool push_to_talk = 3; + * @return Whether the pushToTalk field is set. */ - int getChannelDescriptionCount(); + boolean hasPushToTalk(); /** - * repeated uint32 channel_description = 3; + *
+     * True if the administrator suggests push to talk to be used on this server.
+     * 
+ * + * optional bool push_to_talk = 3; + * @return The pushToTalk. */ - int getChannelDescription(int index); + boolean getPushToTalk(); } /** - * Protobuf type {@code MumbleProto.RequestBlob} + *
+   * Sent by the server to inform the clients of suggested client configuration
+   * specified by the server administrator.
+   * 
+ * + * Protobuf type {@code MumbleProto.SuggestConfig} */ - public static final class RequestBlob extends + public static final class SuggestConfig extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:MumbleProto.RequestBlob) - RequestBlobOrBuilder { - // Use RequestBlob.newBuilder() to construct. - private RequestBlob(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // @@protoc_insertion_point(message_implements:MumbleProto.SuggestConfig) + SuggestConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use SuggestConfig.newBuilder() to construct. + private SuggestConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RequestBlob() { - sessionTexture_ = java.util.Collections.emptyList(); - sessionComment_ = java.util.Collections.emptyList(); - channelDescription_ = java.util.Collections.emptyList(); + private SuggestConfig() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new SuggestConfig(); } @java.lang.Override @@ -31725,11 +42560,14 @@ public final class Mumble { getUnknownFields() { return this.unknownFields; } - private RequestBlob( + private SuggestConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -31741,74 +42579,26 @@ public final class Mumble { case 0: done = true; break; - default: { - if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { - if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { - sessionTexture_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - sessionTexture_.add(input.readUInt32()); - break; - } - case 10: { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) { - sessionTexture_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - while (input.getBytesUntilLimit() > 0) { - sessionTexture_.add(input.readUInt32()); - } - input.popLimit(limit); + bitField0_ |= 0x00000001; + version_ = input.readUInt32(); break; } case 16: { - if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { - sessionComment_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - sessionComment_.add(input.readUInt32()); - break; - } - case 18: { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000002) == 0x00000002) && input.getBytesUntilLimit() > 0) { - sessionComment_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - while (input.getBytesUntilLimit() > 0) { - sessionComment_.add(input.readUInt32()); - } - input.popLimit(limit); + bitField0_ |= 0x00000002; + positional_ = input.readBool(); break; } case 24: { - if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { - channelDescription_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; - } - channelDescription_.add(input.readUInt32()); + bitField0_ |= 0x00000004; + pushToTalk_ = input.readBool(); break; } - case 26: { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000004) == 0x00000004) && input.getBytesUntilLimit() > 0) { - channelDescription_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; - } - while (input.getBytesUntilLimit() > 0) { - channelDescription_.add(input.readUInt32()); + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } - input.popLimit(limit); break; } } @@ -31819,98 +42609,103 @@ public final class Mumble { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { - sessionTexture_ = java.util.Collections.unmodifiableList(sessionTexture_); - } - if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { - sessionComment_ = java.util.Collections.unmodifiableList(sessionComment_); - } - if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { - channelDescription_ = java.util.Collections.unmodifiableList(channelDescription_); - } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_RequestBlob_descriptor; + return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_SuggestConfig_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_RequestBlob_fieldAccessorTable + return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_SuggestConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - se.lublin.humla.protobuf.Mumble.RequestBlob.class, se.lublin.humla.protobuf.Mumble.RequestBlob.Builder.class); + se.lublin.humla.protobuf.Mumble.SuggestConfig.class, se.lublin.humla.protobuf.Mumble.SuggestConfig.Builder.class); } - public static final int SESSION_TEXTURE_FIELD_NUMBER = 1; - private java.util.List sessionTexture_; - /** - * repeated uint32 session_texture = 1; - */ - public java.util.List - getSessionTextureList() { - return sessionTexture_; - } + private int bitField0_; + public static final int VERSION_FIELD_NUMBER = 1; + private int version_; /** - * repeated uint32 session_texture = 1; + *
+     * Suggested client version.
+     * 
+ * + * optional uint32 version = 1; + * @return Whether the version field is set. */ - public int getSessionTextureCount() { - return sessionTexture_.size(); + public boolean hasVersion() { + return ((bitField0_ & 0x00000001) != 0); } /** - * repeated uint32 session_texture = 1; + *
+     * Suggested client version.
+     * 
+ * + * optional uint32 version = 1; + * @return The version. */ - public int getSessionTexture(int index) { - return sessionTexture_.get(index); + public int getVersion() { + return version_; } - public static final int SESSION_COMMENT_FIELD_NUMBER = 2; - private java.util.List sessionComment_; - /** - * repeated uint32 session_comment = 2; - */ - public java.util.List - getSessionCommentList() { - return sessionComment_; - } - /** - * repeated uint32 session_comment = 2; - */ - public int getSessionCommentCount() { - return sessionComment_.size(); - } + public static final int POSITIONAL_FIELD_NUMBER = 2; + private boolean positional_; /** - * repeated uint32 session_comment = 2; + *
+     * True if the administrator suggests positional audio to be used on this
+     * server.
+     * 
+ * + * optional bool positional = 2; + * @return Whether the positional field is set. */ - public int getSessionComment(int index) { - return sessionComment_.get(index); - } - - public static final int CHANNEL_DESCRIPTION_FIELD_NUMBER = 3; - private java.util.List channelDescription_; + public boolean hasPositional() { + return ((bitField0_ & 0x00000002) != 0); + } /** - * repeated uint32 channel_description = 3; + *
+     * True if the administrator suggests positional audio to be used on this
+     * server.
+     * 
+ * + * optional bool positional = 2; + * @return The positional. */ - public java.util.List - getChannelDescriptionList() { - return channelDescription_; + public boolean getPositional() { + return positional_; } + + public static final int PUSH_TO_TALK_FIELD_NUMBER = 3; + private boolean pushToTalk_; /** - * repeated uint32 channel_description = 3; + *
+     * True if the administrator suggests push to talk to be used on this server.
+     * 
+ * + * optional bool push_to_talk = 3; + * @return Whether the pushToTalk field is set. */ - public int getChannelDescriptionCount() { - return channelDescription_.size(); + public boolean hasPushToTalk() { + return ((bitField0_ & 0x00000004) != 0); } /** - * repeated uint32 channel_description = 3; + *
+     * True if the administrator suggests push to talk to be used on this server.
+     * 
+ * + * optional bool push_to_talk = 3; + * @return The pushToTalk. */ - public int getChannelDescription(int index) { - return channelDescription_.get(index); + public boolean getPushToTalk() { + return pushToTalk_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -31920,77 +42715,71 @@ public final class Mumble { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < sessionTexture_.size(); i++) { - output.writeUInt32(1, sessionTexture_.get(i)); + if (((bitField0_ & 0x00000001) != 0)) { + output.writeUInt32(1, version_); } - for (int i = 0; i < sessionComment_.size(); i++) { - output.writeUInt32(2, sessionComment_.get(i)); + if (((bitField0_ & 0x00000002) != 0)) { + output.writeBool(2, positional_); } - for (int i = 0; i < channelDescription_.size(); i++) { - output.writeUInt32(3, channelDescription_.get(i)); + if (((bitField0_ & 0x00000004) != 0)) { + output.writeBool(3, pushToTalk_); } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; - { - int dataSize = 0; - for (int i = 0; i < sessionTexture_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(sessionTexture_.get(i)); - } - size += dataSize; - size += 1 * getSessionTextureList().size(); + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1, version_); } - { - int dataSize = 0; - for (int i = 0; i < sessionComment_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(sessionComment_.get(i)); - } - size += dataSize; - size += 1 * getSessionCommentList().size(); + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, positional_); } - { - int dataSize = 0; - for (int i = 0; i < channelDescription_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(channelDescription_.get(i)); - } - size += dataSize; - size += 1 * getChannelDescriptionList().size(); + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, pushToTalk_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } - private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof se.lublin.humla.protobuf.Mumble.RequestBlob)) { + if (!(obj instanceof se.lublin.humla.protobuf.Mumble.SuggestConfig)) { return super.equals(obj); } - se.lublin.humla.protobuf.Mumble.RequestBlob other = (se.lublin.humla.protobuf.Mumble.RequestBlob) obj; + se.lublin.humla.protobuf.Mumble.SuggestConfig other = (se.lublin.humla.protobuf.Mumble.SuggestConfig) obj; - boolean result = true; - result = result && getSessionTextureList() - .equals(other.getSessionTextureList()); - result = result && getSessionCommentList() - .equals(other.getSessionCommentList()); - result = result && getChannelDescriptionList() - .equals(other.getChannelDescriptionList()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (hasVersion() != other.hasVersion()) return false; + if (hasVersion()) { + if (getVersion() + != other.getVersion()) return false; + } + if (hasPositional() != other.hasPositional()) return false; + if (hasPositional()) { + if (getPositional() + != other.getPositional()) return false; + } + if (hasPushToTalk() != other.hasPushToTalk()) return false; + if (hasPushToTalk()) { + if (getPushToTalk() + != other.getPushToTalk()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } @java.lang.Override @@ -31999,76 +42788,89 @@ public final class Mumble { return memoizedHashCode; } int hash = 41; - hash = (19 * hash) + getDescriptorForType().hashCode(); - if (getSessionTextureCount() > 0) { - hash = (37 * hash) + SESSION_TEXTURE_FIELD_NUMBER; - hash = (53 * hash) + getSessionTextureList().hashCode(); + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasVersion()) { + hash = (37 * hash) + VERSION_FIELD_NUMBER; + hash = (53 * hash) + getVersion(); } - if (getSessionCommentCount() > 0) { - hash = (37 * hash) + SESSION_COMMENT_FIELD_NUMBER; - hash = (53 * hash) + getSessionCommentList().hashCode(); + if (hasPositional()) { + hash = (37 * hash) + POSITIONAL_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getPositional()); } - if (getChannelDescriptionCount() > 0) { - hash = (37 * hash) + CHANNEL_DESCRIPTION_FIELD_NUMBER; - hash = (53 * hash) + getChannelDescriptionList().hashCode(); + if (hasPushToTalk()) { + hash = (37 * hash) + PUSH_TO_TALK_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getPushToTalk()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static se.lublin.humla.protobuf.Mumble.RequestBlob parseFrom( + public static se.lublin.humla.protobuf.Mumble.SuggestConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static se.lublin.humla.protobuf.Mumble.SuggestConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static se.lublin.humla.protobuf.Mumble.SuggestConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static se.lublin.humla.protobuf.Mumble.RequestBlob parseFrom( + public static se.lublin.humla.protobuf.Mumble.SuggestConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static se.lublin.humla.protobuf.Mumble.RequestBlob parseFrom(byte[] data) + public static se.lublin.humla.protobuf.Mumble.SuggestConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static se.lublin.humla.protobuf.Mumble.RequestBlob parseFrom( + public static se.lublin.humla.protobuf.Mumble.SuggestConfig parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static se.lublin.humla.protobuf.Mumble.RequestBlob parseFrom(java.io.InputStream input) + public static se.lublin.humla.protobuf.Mumble.SuggestConfig parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static se.lublin.humla.protobuf.Mumble.RequestBlob parseFrom( + public static se.lublin.humla.protobuf.Mumble.SuggestConfig parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static se.lublin.humla.protobuf.Mumble.RequestBlob parseDelimitedFrom(java.io.InputStream input) + public static se.lublin.humla.protobuf.Mumble.SuggestConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static se.lublin.humla.protobuf.Mumble.RequestBlob parseDelimitedFrom( + public static se.lublin.humla.protobuf.Mumble.SuggestConfig parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static se.lublin.humla.protobuf.Mumble.RequestBlob parseFrom( + public static se.lublin.humla.protobuf.Mumble.SuggestConfig parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static se.lublin.humla.protobuf.Mumble.RequestBlob parseFrom( + public static se.lublin.humla.protobuf.Mumble.SuggestConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -32076,13 +42878,15 @@ public final class Mumble { .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(se.lublin.humla.protobuf.Mumble.RequestBlob prototype) { + public static Builder newBuilder(se.lublin.humla.protobuf.Mumble.SuggestConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -32095,25 +42899,31 @@ public final class Mumble { return builder; } /** - * Protobuf type {@code MumbleProto.RequestBlob} + *
+     * Sent by the server to inform the clients of suggested client configuration
+     * specified by the server administrator.
+     * 
+ * + * Protobuf type {@code MumbleProto.SuggestConfig} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:MumbleProto.RequestBlob) - se.lublin.humla.protobuf.Mumble.RequestBlobOrBuilder { + // @@protoc_insertion_point(builder_implements:MumbleProto.SuggestConfig) + se.lublin.humla.protobuf.Mumble.SuggestConfigOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_RequestBlob_descriptor; + return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_SuggestConfig_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_RequestBlob_fieldAccessorTable + return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_SuggestConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - se.lublin.humla.protobuf.Mumble.RequestBlob.class, se.lublin.humla.protobuf.Mumble.RequestBlob.Builder.class); + se.lublin.humla.protobuf.Mumble.SuggestConfig.class, se.lublin.humla.protobuf.Mumble.SuggestConfig.Builder.class); } - // Construct using se.lublin.humla.protobuf.Mumble.RequestBlob.newBuilder() + // Construct using se.lublin.humla.protobuf.Mumble.SuggestConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -32128,392 +42938,353 @@ public final class Mumble { .alwaysUseFieldBuilders) { } } + @java.lang.Override public Builder clear() { super.clear(); - sessionTexture_ = java.util.Collections.emptyList(); + version_ = 0; bitField0_ = (bitField0_ & ~0x00000001); - sessionComment_ = java.util.Collections.emptyList(); + positional_ = false; bitField0_ = (bitField0_ & ~0x00000002); - channelDescription_ = java.util.Collections.emptyList(); + pushToTalk_ = false; bitField0_ = (bitField0_ & ~0x00000004); return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_RequestBlob_descriptor; + return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_SuggestConfig_descriptor; } - public se.lublin.humla.protobuf.Mumble.RequestBlob getDefaultInstanceForType() { - return se.lublin.humla.protobuf.Mumble.RequestBlob.getDefaultInstance(); + @java.lang.Override + public se.lublin.humla.protobuf.Mumble.SuggestConfig getDefaultInstanceForType() { + return se.lublin.humla.protobuf.Mumble.SuggestConfig.getDefaultInstance(); } - public se.lublin.humla.protobuf.Mumble.RequestBlob build() { - se.lublin.humla.protobuf.Mumble.RequestBlob result = buildPartial(); + @java.lang.Override + public se.lublin.humla.protobuf.Mumble.SuggestConfig build() { + se.lublin.humla.protobuf.Mumble.SuggestConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public se.lublin.humla.protobuf.Mumble.RequestBlob buildPartial() { - se.lublin.humla.protobuf.Mumble.RequestBlob result = new se.lublin.humla.protobuf.Mumble.RequestBlob(this); + @java.lang.Override + public se.lublin.humla.protobuf.Mumble.SuggestConfig buildPartial() { + se.lublin.humla.protobuf.Mumble.SuggestConfig result = new se.lublin.humla.protobuf.Mumble.SuggestConfig(this); int from_bitField0_ = bitField0_; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - sessionTexture_ = java.util.Collections.unmodifiableList(sessionTexture_); - bitField0_ = (bitField0_ & ~0x00000001); + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.version_ = version_; + to_bitField0_ |= 0x00000001; } - result.sessionTexture_ = sessionTexture_; - if (((bitField0_ & 0x00000002) == 0x00000002)) { - sessionComment_ = java.util.Collections.unmodifiableList(sessionComment_); - bitField0_ = (bitField0_ & ~0x00000002); + if (((from_bitField0_ & 0x00000002) != 0)) { + result.positional_ = positional_; + to_bitField0_ |= 0x00000002; } - result.sessionComment_ = sessionComment_; - if (((bitField0_ & 0x00000004) == 0x00000004)) { - channelDescription_ = java.util.Collections.unmodifiableList(channelDescription_); - bitField0_ = (bitField0_ & ~0x00000004); + if (((from_bitField0_ & 0x00000004) != 0)) { + result.pushToTalk_ = pushToTalk_; + to_bitField0_ |= 0x00000004; } - result.channelDescription_ = channelDescription_; + result.bitField0_ = to_bitField0_; onBuilt(); return result; } + @java.lang.Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.setField(field, value); + java.lang.Object value) { + return super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { - return (Builder) super.setRepeatedField(field, index, value); + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { - return (Builder) super.addRepeatedField(field, value); + java.lang.Object value) { + return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof se.lublin.humla.protobuf.Mumble.RequestBlob) { - return mergeFrom((se.lublin.humla.protobuf.Mumble.RequestBlob)other); + if (other instanceof se.lublin.humla.protobuf.Mumble.SuggestConfig) { + return mergeFrom((se.lublin.humla.protobuf.Mumble.SuggestConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(se.lublin.humla.protobuf.Mumble.RequestBlob other) { - if (other == se.lublin.humla.protobuf.Mumble.RequestBlob.getDefaultInstance()) return this; - if (!other.sessionTexture_.isEmpty()) { - if (sessionTexture_.isEmpty()) { - sessionTexture_ = other.sessionTexture_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureSessionTextureIsMutable(); - sessionTexture_.addAll(other.sessionTexture_); - } - onChanged(); + public Builder mergeFrom(se.lublin.humla.protobuf.Mumble.SuggestConfig other) { + if (other == se.lublin.humla.protobuf.Mumble.SuggestConfig.getDefaultInstance()) return this; + if (other.hasVersion()) { + setVersion(other.getVersion()); } - if (!other.sessionComment_.isEmpty()) { - if (sessionComment_.isEmpty()) { - sessionComment_ = other.sessionComment_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureSessionCommentIsMutable(); - sessionComment_.addAll(other.sessionComment_); - } - onChanged(); + if (other.hasPositional()) { + setPositional(other.getPositional()); } - if (!other.channelDescription_.isEmpty()) { - if (channelDescription_.isEmpty()) { - channelDescription_ = other.channelDescription_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureChannelDescriptionIsMutable(); - channelDescription_.addAll(other.channelDescription_); - } - onChanged(); + if (other.hasPushToTalk()) { + setPushToTalk(other.getPushToTalk()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - se.lublin.humla.protobuf.Mumble.RequestBlob parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (se.lublin.humla.protobuf.Mumble.RequestBlob) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.util.List sessionTexture_ = java.util.Collections.emptyList(); - private void ensureSessionTextureIsMutable() { - if (!((bitField0_ & 0x00000001) == 0x00000001)) { - sessionTexture_ = new java.util.ArrayList(sessionTexture_); - bitField0_ |= 0x00000001; - } - } - /** - * repeated uint32 session_texture = 1; - */ - public java.util.List - getSessionTextureList() { - return java.util.Collections.unmodifiableList(sessionTexture_); - } - /** - * repeated uint32 session_texture = 1; - */ - public int getSessionTextureCount() { - return sessionTexture_.size(); - } - /** - * repeated uint32 session_texture = 1; - */ - public int getSessionTexture(int index) { - return sessionTexture_.get(index); + se.lublin.humla.protobuf.Mumble.SuggestConfig parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (se.lublin.humla.protobuf.Mumble.SuggestConfig) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; } + private int bitField0_; + + private int version_ ; /** - * repeated uint32 session_texture = 1; + *
+       * Suggested client version.
+       * 
+ * + * optional uint32 version = 1; + * @return Whether the version field is set. */ - public Builder setSessionTexture( - int index, int value) { - ensureSessionTextureIsMutable(); - sessionTexture_.set(index, value); - onChanged(); - return this; + public boolean hasVersion() { + return ((bitField0_ & 0x00000001) != 0); } /** - * repeated uint32 session_texture = 1; + *
+       * Suggested client version.
+       * 
+ * + * optional uint32 version = 1; + * @return The version. */ - public Builder addSessionTexture(int value) { - ensureSessionTextureIsMutable(); - sessionTexture_.add(value); - onChanged(); - return this; + public int getVersion() { + return version_; } /** - * repeated uint32 session_texture = 1; + *
+       * Suggested client version.
+       * 
+ * + * optional uint32 version = 1; + * @param value The version to set. + * @return This builder for chaining. */ - public Builder addAllSessionTexture( - java.lang.Iterable values) { - ensureSessionTextureIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, sessionTexture_); + public Builder setVersion(int value) { + bitField0_ |= 0x00000001; + version_ = value; onChanged(); return this; } /** - * repeated uint32 session_texture = 1; + *
+       * Suggested client version.
+       * 
+ * + * optional uint32 version = 1; + * @return This builder for chaining. */ - public Builder clearSessionTexture() { - sessionTexture_ = java.util.Collections.emptyList(); + public Builder clearVersion() { bitField0_ = (bitField0_ & ~0x00000001); + version_ = 0; onChanged(); return this; } - private java.util.List sessionComment_ = java.util.Collections.emptyList(); - private void ensureSessionCommentIsMutable() { - if (!((bitField0_ & 0x00000002) == 0x00000002)) { - sessionComment_ = new java.util.ArrayList(sessionComment_); - bitField0_ |= 0x00000002; - } - } - /** - * repeated uint32 session_comment = 2; - */ - public java.util.List - getSessionCommentList() { - return java.util.Collections.unmodifiableList(sessionComment_); - } - /** - * repeated uint32 session_comment = 2; - */ - public int getSessionCommentCount() { - return sessionComment_.size(); - } - /** - * repeated uint32 session_comment = 2; - */ - public int getSessionComment(int index) { - return sessionComment_.get(index); - } + private boolean positional_ ; /** - * repeated uint32 session_comment = 2; + *
+       * True if the administrator suggests positional audio to be used on this
+       * server.
+       * 
+ * + * optional bool positional = 2; + * @return Whether the positional field is set. */ - public Builder setSessionComment( - int index, int value) { - ensureSessionCommentIsMutable(); - sessionComment_.set(index, value); - onChanged(); - return this; + public boolean hasPositional() { + return ((bitField0_ & 0x00000002) != 0); } /** - * repeated uint32 session_comment = 2; + *
+       * True if the administrator suggests positional audio to be used on this
+       * server.
+       * 
+ * + * optional bool positional = 2; + * @return The positional. */ - public Builder addSessionComment(int value) { - ensureSessionCommentIsMutable(); - sessionComment_.add(value); - onChanged(); - return this; + public boolean getPositional() { + return positional_; } /** - * repeated uint32 session_comment = 2; + *
+       * True if the administrator suggests positional audio to be used on this
+       * server.
+       * 
+ * + * optional bool positional = 2; + * @param value The positional to set. + * @return This builder for chaining. */ - public Builder addAllSessionComment( - java.lang.Iterable values) { - ensureSessionCommentIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, sessionComment_); + public Builder setPositional(boolean value) { + bitField0_ |= 0x00000002; + positional_ = value; onChanged(); return this; } /** - * repeated uint32 session_comment = 2; + *
+       * True if the administrator suggests positional audio to be used on this
+       * server.
+       * 
+ * + * optional bool positional = 2; + * @return This builder for chaining. */ - public Builder clearSessionComment() { - sessionComment_ = java.util.Collections.emptyList(); + public Builder clearPositional() { bitField0_ = (bitField0_ & ~0x00000002); + positional_ = false; onChanged(); return this; } - private java.util.List channelDescription_ = java.util.Collections.emptyList(); - private void ensureChannelDescriptionIsMutable() { - if (!((bitField0_ & 0x00000004) == 0x00000004)) { - channelDescription_ = new java.util.ArrayList(channelDescription_); - bitField0_ |= 0x00000004; - } - } - /** - * repeated uint32 channel_description = 3; - */ - public java.util.List - getChannelDescriptionList() { - return java.util.Collections.unmodifiableList(channelDescription_); - } - /** - * repeated uint32 channel_description = 3; - */ - public int getChannelDescriptionCount() { - return channelDescription_.size(); - } - /** - * repeated uint32 channel_description = 3; - */ - public int getChannelDescription(int index) { - return channelDescription_.get(index); - } + private boolean pushToTalk_ ; /** - * repeated uint32 channel_description = 3; + *
+       * True if the administrator suggests push to talk to be used on this server.
+       * 
+ * + * optional bool push_to_talk = 3; + * @return Whether the pushToTalk field is set. */ - public Builder setChannelDescription( - int index, int value) { - ensureChannelDescriptionIsMutable(); - channelDescription_.set(index, value); - onChanged(); - return this; + public boolean hasPushToTalk() { + return ((bitField0_ & 0x00000004) != 0); } /** - * repeated uint32 channel_description = 3; + *
+       * True if the administrator suggests push to talk to be used on this server.
+       * 
+ * + * optional bool push_to_talk = 3; + * @return The pushToTalk. */ - public Builder addChannelDescription(int value) { - ensureChannelDescriptionIsMutable(); - channelDescription_.add(value); - onChanged(); - return this; + public boolean getPushToTalk() { + return pushToTalk_; } /** - * repeated uint32 channel_description = 3; + *
+       * True if the administrator suggests push to talk to be used on this server.
+       * 
+ * + * optional bool push_to_talk = 3; + * @param value The pushToTalk to set. + * @return This builder for chaining. */ - public Builder addAllChannelDescription( - java.lang.Iterable values) { - ensureChannelDescriptionIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, channelDescription_); + public Builder setPushToTalk(boolean value) { + bitField0_ |= 0x00000004; + pushToTalk_ = value; onChanged(); return this; } /** - * repeated uint32 channel_description = 3; + *
+       * True if the administrator suggests push to talk to be used on this server.
+       * 
+ * + * optional bool push_to_talk = 3; + * @return This builder for chaining. */ - public Builder clearChannelDescription() { - channelDescription_ = java.util.Collections.emptyList(); + public Builder clearPushToTalk() { bitField0_ = (bitField0_ & ~0x00000004); + pushToTalk_ = false; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:MumbleProto.RequestBlob) + // @@protoc_insertion_point(builder_scope:MumbleProto.SuggestConfig) } - // @@protoc_insertion_point(class_scope:MumbleProto.RequestBlob) - private static final se.lublin.humla.protobuf.Mumble.RequestBlob DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:MumbleProto.SuggestConfig) + private static final se.lublin.humla.protobuf.Mumble.SuggestConfig DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new se.lublin.humla.protobuf.Mumble.RequestBlob(); + DEFAULT_INSTANCE = new se.lublin.humla.protobuf.Mumble.SuggestConfig(); } - public static se.lublin.humla.protobuf.Mumble.RequestBlob getDefaultInstance() { + public static se.lublin.humla.protobuf.Mumble.SuggestConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - public RequestBlob parsePartialFrom( + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SuggestConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new RequestBlob(input, extensionRegistry); + return new SuggestConfig(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } - public se.lublin.humla.protobuf.Mumble.RequestBlob getDefaultInstanceForType() { + @java.lang.Override + public se.lublin.humla.protobuf.Mumble.SuggestConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -32544,11 +43315,6 @@ public final class Mumble { private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_MumbleProto_Reject_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_MumbleProto_ServerConfig_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_MumbleProto_ServerConfig_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_MumbleProto_ServerSync_descriptor; private static final @@ -32670,15 +43436,20 @@ public final class Mumble { com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_MumbleProto_UserStats_Stats_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_MumbleProto_SuggestConfig_descriptor; + internal_static_MumbleProto_RequestBlob_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_MumbleProto_SuggestConfig_fieldAccessorTable; + internal_static_MumbleProto_RequestBlob_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_MumbleProto_RequestBlob_descriptor; + internal_static_MumbleProto_ServerConfig_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_MumbleProto_RequestBlob_fieldAccessorTable; + internal_static_MumbleProto_ServerConfig_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_MumbleProto_SuggestConfig_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_MumbleProto_SuggestConfig_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -32688,129 +43459,124 @@ public final class Mumble { descriptor; static { java.lang.String[] descriptorData = { - "\n\014Mumble.proto\022\013MumbleProto\"K\n\007Version\022\017" + - "\n\007version\030\001 \001(\r\022\017\n\007release\030\002 \001(\t\022\n\n\002os\030\003" + - " \001(\t\022\022\n\nos_version\030\004 \001(\t\"\033\n\tUDPTunnel\022\016\n" + - "\006packet\030\001 \002(\014\"n\n\014Authenticate\022\020\n\010usernam" + - "e\030\001 \001(\t\022\020\n\010password\030\002 \001(\t\022\016\n\006tokens\030\003 \003(" + - "\t\022\025\n\rcelt_versions\030\004 \003(\005\022\023\n\004opus\030\005 \001(\010:\005" + - "false\"\325\001\n\004Ping\022\021\n\ttimestamp\030\001 \001(\004\022\014\n\004goo" + - "d\030\002 \001(\r\022\014\n\004late\030\003 \001(\r\022\014\n\004lost\030\004 \001(\r\022\016\n\006r" + - "esync\030\005 \001(\r\022\023\n\013udp_packets\030\006 \001(\r\022\023\n\013tcp_" + - "packets\030\007 \001(\r\022\024\n\014udp_ping_avg\030\010 \001(\002\022\024\n\014u", - "dp_ping_var\030\t \001(\002\022\024\n\014tcp_ping_avg\030\n \001(\002\022" + - "\024\n\014tcp_ping_var\030\013 \001(\002\"\340\001\n\006Reject\022,\n\004type" + - "\030\001 \001(\0162\036.MumbleProto.Reject.RejectType\022\016" + - "\n\006reason\030\002 \001(\t\"\227\001\n\nRejectType\022\010\n\004None\020\000\022" + - "\020\n\014WrongVersion\020\001\022\023\n\017InvalidUsername\020\002\022\017" + - "\n\013WrongUserPW\020\003\022\021\n\rWrongServerPW\020\004\022\021\n\rUs" + - "ernameInUse\020\005\022\016\n\nServerFull\020\006\022\021\n\rNoCerti" + - "ficate\020\007\"\205\001\n\014ServerConfig\022\025\n\rmax_bandwid" + - "th\030\001 \001(\r\022\024\n\014welcome_text\030\002 \001(\t\022\022\n\nallow_" + - "html\030\003 \001(\010\022\026\n\016message_length\030\004 \001(\r\022\034\n\024im", - "age_message_length\030\005 \001(\r\"_\n\nServerSync\022\017" + - "\n\007session\030\001 \001(\r\022\025\n\rmax_bandwidth\030\002 \001(\r\022\024" + - "\n\014welcome_text\030\003 \001(\t\022\023\n\013permissions\030\004 \001(" + - "\004\"#\n\rChannelRemove\022\022\n\nchannel_id\030\001 \002(\r\"\326" + - "\001\n\014ChannelState\022\022\n\nchannel_id\030\001 \001(\r\022\016\n\006p" + - "arent\030\002 \001(\r\022\014\n\004name\030\003 \001(\t\022\r\n\005links\030\004 \003(\r" + - "\022\023\n\013description\030\005 \001(\t\022\021\n\tlinks_add\030\006 \003(\r" + - "\022\024\n\014links_remove\030\007 \003(\r\022\030\n\ttemporary\030\010 \001(" + - "\010:\005false\022\023\n\010position\030\t \001(\005:\0010\022\030\n\020descrip" + - "tion_hash\030\n \001(\014\"I\n\nUserRemove\022\017\n\007session", - "\030\001 \002(\r\022\r\n\005actor\030\002 \001(\r\022\016\n\006reason\030\003 \001(\t\022\013\n" + - "\003ban\030\004 \001(\010\"\354\002\n\tUserState\022\017\n\007session\030\001 \001(" + - "\r\022\r\n\005actor\030\002 \001(\r\022\014\n\004name\030\003 \001(\t\022\017\n\007user_i" + - "d\030\004 \001(\r\022\022\n\nchannel_id\030\005 \001(\r\022\014\n\004mute\030\006 \001(" + - "\010\022\014\n\004deaf\030\007 \001(\010\022\020\n\010suppress\030\010 \001(\010\022\021\n\tsel" + - "f_mute\030\t \001(\010\022\021\n\tself_deaf\030\n \001(\010\022\017\n\007textu" + - "re\030\013 \001(\014\022\026\n\016plugin_context\030\014 \001(\014\022\027\n\017plug" + - "in_identity\030\r \001(\t\022\017\n\007comment\030\016 \001(\t\022\014\n\004ha" + - "sh\030\017 \001(\t\022\024\n\014comment_hash\030\020 \001(\014\022\024\n\014textur" + - "e_hash\030\021 \001(\014\022\030\n\020priority_speaker\030\022 \001(\010\022\021", - "\n\trecording\030\023 \001(\010\"\304\001\n\007BanList\022+\n\004bans\030\001 " + - "\003(\0132\035.MumbleProto.BanList.BanEntry\022\024\n\005qu" + - "ery\030\002 \001(\010:\005false\032v\n\010BanEntry\022\017\n\007address\030" + - "\001 \002(\014\022\014\n\004mask\030\002 \002(\r\022\014\n\004name\030\003 \001(\t\022\014\n\004has" + - "h\030\004 \001(\t\022\016\n\006reason\030\005 \001(\t\022\r\n\005start\030\006 \001(\t\022\020" + - "\n\010duration\030\007 \001(\r\"c\n\013TextMessage\022\r\n\005actor" + - "\030\001 \001(\r\022\017\n\007session\030\002 \003(\r\022\022\n\nchannel_id\030\003 " + - "\003(\r\022\017\n\007tree_id\030\004 \003(\r\022\017\n\007message\030\005 \002(\t\"\337\002" + - "\n\020PermissionDenied\022\022\n\npermission\030\001 \001(\r\022\022" + - "\n\nchannel_id\030\002 \001(\r\022\017\n\007session\030\003 \001(\r\022\016\n\006r", - "eason\030\004 \001(\t\0224\n\004type\030\005 \001(\0162&.MumbleProto." + - "PermissionDenied.DenyType\022\014\n\004name\030\006 \001(\t\"" + - "\275\001\n\010DenyType\022\010\n\004Text\020\000\022\016\n\nPermission\020\001\022\r" + - "\n\tSuperUser\020\002\022\017\n\013ChannelName\020\003\022\017\n\013TextTo" + - "oLong\020\004\022\007\n\003H9K\020\005\022\024\n\020TemporaryChannel\020\006\022\026" + - "\n\022MissingCertificate\020\007\022\014\n\010UserName\020\010\022\017\n\013" + - "ChannelFull\020\t\022\020\n\014NestingLimit\020\n\"\324\003\n\003ACL\022" + - "\022\n\nchannel_id\030\001 \002(\r\022\032\n\014inherit_acls\030\002 \001(" + - "\010:\004true\022*\n\006groups\030\003 \003(\0132\032.MumbleProto.AC" + - "L.ChanGroup\022&\n\004acls\030\004 \003(\0132\030.MumbleProto.", - "ACL.ChanACL\022\024\n\005query\030\005 \001(\010:\005false\032\234\001\n\tCh" + - "anGroup\022\014\n\004name\030\001 \002(\t\022\027\n\tinherited\030\002 \001(\010" + - ":\004true\022\025\n\007inherit\030\003 \001(\010:\004true\022\031\n\013inherit" + - "able\030\004 \001(\010:\004true\022\013\n\003add\030\005 \003(\r\022\016\n\006remove\030" + - "\006 \003(\r\022\031\n\021inherited_members\030\007 \003(\r\032\223\001\n\007Cha" + - "nACL\022\030\n\napply_here\030\001 \001(\010:\004true\022\030\n\napply_" + - "subs\030\002 \001(\010:\004true\022\027\n\tinherited\030\003 \001(\010:\004tru" + - "e\022\017\n\007user_id\030\004 \001(\r\022\r\n\005group\030\005 \001(\t\022\r\n\005gra" + - "nt\030\006 \001(\r\022\014\n\004deny\030\007 \001(\r\"(\n\nQueryUsers\022\013\n\003" + - "ids\030\001 \003(\r\022\r\n\005names\030\002 \003(\t\"E\n\nCryptSetup\022\013", - "\n\003key\030\001 \001(\014\022\024\n\014client_nonce\030\002 \001(\014\022\024\n\014ser" + - "ver_nonce\030\003 \001(\014\"\323\001\n\023ContextActionModify\022" + - "\016\n\006action\030\001 \002(\t\022\014\n\004text\030\002 \001(\t\022\017\n\007context" + - "\030\003 \001(\r\022=\n\toperation\030\004 \001(\0162*.MumbleProto." + - "ContextActionModify.Operation\",\n\007Context" + - "\022\n\n\006Server\020\001\022\013\n\007Channel\020\002\022\010\n\004User\020\004\" \n\tO" + - "peration\022\007\n\003Add\020\000\022\n\n\006Remove\020\001\"D\n\rContext" + - "Action\022\017\n\007session\030\001 \001(\r\022\022\n\nchannel_id\030\002 " + - "\001(\r\022\016\n\006action\030\003 \002(\t\"\\\n\010UserList\022)\n\005users" + - "\030\001 \003(\0132\032.MumbleProto.UserList.User\032%\n\004Us", - "er\022\017\n\007user_id\030\001 \002(\r\022\014\n\004name\030\002 \001(\t\"\270\001\n\013Vo" + - "iceTarget\022\n\n\002id\030\001 \001(\r\0220\n\007targets\030\002 \003(\0132\037" + - ".MumbleProto.VoiceTarget.Target\032k\n\006Targe" + - "t\022\017\n\007session\030\001 \003(\r\022\022\n\nchannel_id\030\002 \001(\r\022\r" + - "\n\005group\030\003 \001(\t\022\024\n\005links\030\004 \001(\010:\005false\022\027\n\010c" + - "hildren\030\005 \001(\010:\005false\"P\n\017PermissionQuery\022" + - "\022\n\nchannel_id\030\001 \001(\r\022\023\n\013permissions\030\002 \001(\r" + - "\022\024\n\005flush\030\003 \001(\010:\005false\"\\\n\014CodecVersion\022\r" + - "\n\005alpha\030\001 \002(\005\022\014\n\004beta\030\002 \002(\005\022\032\n\014prefer_al" + - "pha\030\003 \002(\010:\004true\022\023\n\004opus\030\004 \001(\010:\005false\"\270\004\n", - "\tUserStats\022\017\n\007session\030\001 \001(\r\022\031\n\nstats_onl" + - "y\030\002 \001(\010:\005false\022\024\n\014certificates\030\003 \003(\014\0221\n\013" + - "from_client\030\004 \001(\0132\034.MumbleProto.UserStat" + - "s.Stats\0221\n\013from_server\030\005 \001(\0132\034.MumblePro" + - "to.UserStats.Stats\022\023\n\013udp_packets\030\006 \001(\r\022" + - "\023\n\013tcp_packets\030\007 \001(\r\022\024\n\014udp_ping_avg\030\010 \001" + - "(\002\022\024\n\014udp_ping_var\030\t \001(\002\022\024\n\014tcp_ping_avg" + - "\030\n \001(\002\022\024\n\014tcp_ping_var\030\013 \001(\002\022%\n\007version\030" + - "\014 \001(\0132\024.MumbleProto.Version\022\025\n\rcelt_vers" + - "ions\030\r \003(\005\022\017\n\007address\030\016 \001(\014\022\021\n\tbandwidth", - "\030\017 \001(\r\022\022\n\nonlinesecs\030\020 \001(\r\022\020\n\010idlesecs\030\021" + - " \001(\r\022!\n\022strong_certificate\030\022 \001(\010:\005false\022" + - "\023\n\004opus\030\023 \001(\010:\005false\032A\n\005Stats\022\014\n\004good\030\001 " + - "\001(\r\022\014\n\004late\030\002 \001(\r\022\014\n\004lost\030\003 \001(\r\022\016\n\006resyn" + - "c\030\004 \001(\r\"J\n\rSuggestConfig\022\017\n\007version\030\001 \001(" + - "\r\022\022\n\npositional\030\002 \001(\010\022\024\n\014push_to_talk\030\003 " + - "\001(\010\"\\\n\013RequestBlob\022\027\n\017session_texture\030\001 " + - "\003(\r\022\027\n\017session_comment\030\002 \003(\r\022\033\n\023channel_" + - "description\030\003 \003(\rB\037\n\033se.lublin.humla." + - "protobufH\001" + "\n\020src/Mumble.proto\022\013MumbleProto\"K\n\007Versi" + + "on\022\017\n\007version\030\001 \001(\r\022\017\n\007release\030\002 \001(\t\022\n\n\002" + + "os\030\003 \001(\t\022\022\n\nos_version\030\004 \001(\t\"\033\n\tUDPTunne" + + "l\022\016\n\006packet\030\001 \002(\014\"n\n\014Authenticate\022\020\n\010use" + + "rname\030\001 \001(\t\022\020\n\010password\030\002 \001(\t\022\016\n\006tokens\030" + + "\003 \003(\t\022\025\n\rcelt_versions\030\004 \003(\005\022\023\n\004opus\030\005 \001" + + "(\010:\005false\"\325\001\n\004Ping\022\021\n\ttimestamp\030\001 \001(\004\022\014\n" + + "\004good\030\002 \001(\r\022\014\n\004late\030\003 \001(\r\022\014\n\004lost\030\004 \001(\r\022" + + "\016\n\006resync\030\005 \001(\r\022\023\n\013udp_packets\030\006 \001(\r\022\023\n\013" + + "tcp_packets\030\007 \001(\r\022\024\n\014udp_ping_avg\030\010 \001(\002\022" + + "\024\n\014udp_ping_var\030\t \001(\002\022\024\n\014tcp_ping_avg\030\n " + + "\001(\002\022\024\n\014tcp_ping_var\030\013 \001(\002\"\367\001\n\006Reject\022,\n\004" + + "type\030\001 \001(\0162\036.MumbleProto.Reject.RejectTy" + + "pe\022\016\n\006reason\030\002 \001(\t\"\256\001\n\nRejectType\022\010\n\004Non" + + "e\020\000\022\020\n\014WrongVersion\020\001\022\023\n\017InvalidUsername" + + "\020\002\022\017\n\013WrongUserPW\020\003\022\021\n\rWrongServerPW\020\004\022\021" + + "\n\rUsernameInUse\020\005\022\016\n\nServerFull\020\006\022\021\n\rNoC" + + "ertificate\020\007\022\025\n\021AuthenticatorFail\020\010\"_\n\nS" + + "erverSync\022\017\n\007session\030\001 \001(\r\022\025\n\rmax_bandwi" + + "dth\030\002 \001(\r\022\024\n\014welcome_text\030\003 \001(\t\022\023\n\013permi" + + "ssions\030\004 \001(\004\"#\n\rChannelRemove\022\022\n\nchannel" + + "_id\030\001 \002(\r\"\351\001\n\014ChannelState\022\022\n\nchannel_id" + + "\030\001 \001(\r\022\016\n\006parent\030\002 \001(\r\022\014\n\004name\030\003 \001(\t\022\r\n\005" + + "links\030\004 \003(\r\022\023\n\013description\030\005 \001(\t\022\021\n\tlink" + + "s_add\030\006 \003(\r\022\024\n\014links_remove\030\007 \003(\r\022\030\n\ttem" + + "porary\030\010 \001(\010:\005false\022\023\n\010position\030\t \001(\005:\0010" + + "\022\030\n\020description_hash\030\n \001(\014\022\021\n\tmax_users\030" + + "\013 \001(\r\"I\n\nUserRemove\022\017\n\007session\030\001 \002(\r\022\r\n\005" + + "actor\030\002 \001(\r\022\016\n\006reason\030\003 \001(\t\022\013\n\003ban\030\004 \001(\010" + + "\"\354\002\n\tUserState\022\017\n\007session\030\001 \001(\r\022\r\n\005actor" + + "\030\002 \001(\r\022\014\n\004name\030\003 \001(\t\022\017\n\007user_id\030\004 \001(\r\022\022\n" + + "\nchannel_id\030\005 \001(\r\022\014\n\004mute\030\006 \001(\010\022\014\n\004deaf\030" + + "\007 \001(\010\022\020\n\010suppress\030\010 \001(\010\022\021\n\tself_mute\030\t \001" + + "(\010\022\021\n\tself_deaf\030\n \001(\010\022\017\n\007texture\030\013 \001(\014\022\026" + + "\n\016plugin_context\030\014 \001(\014\022\027\n\017plugin_identit" + + "y\030\r \001(\t\022\017\n\007comment\030\016 \001(\t\022\014\n\004hash\030\017 \001(\t\022\024" + + "\n\014comment_hash\030\020 \001(\014\022\024\n\014texture_hash\030\021 \001" + + "(\014\022\030\n\020priority_speaker\030\022 \001(\010\022\021\n\trecordin" + + "g\030\023 \001(\010\"\304\001\n\007BanList\022+\n\004bans\030\001 \003(\0132\035.Mumb" + + "leProto.BanList.BanEntry\022\024\n\005query\030\002 \001(\010:" + + "\005false\032v\n\010BanEntry\022\017\n\007address\030\001 \002(\014\022\014\n\004m" + + "ask\030\002 \002(\r\022\014\n\004name\030\003 \001(\t\022\014\n\004hash\030\004 \001(\t\022\016\n" + + "\006reason\030\005 \001(\t\022\r\n\005start\030\006 \001(\t\022\020\n\010duration" + + "\030\007 \001(\r\"c\n\013TextMessage\022\r\n\005actor\030\001 \001(\r\022\017\n\007" + + "session\030\002 \003(\r\022\022\n\nchannel_id\030\003 \003(\r\022\017\n\007tre" + + "e_id\030\004 \003(\r\022\017\n\007message\030\005 \002(\t\"\366\002\n\020Permissi" + + "onDenied\022\022\n\npermission\030\001 \001(\r\022\022\n\nchannel_" + + "id\030\002 \001(\r\022\017\n\007session\030\003 \001(\r\022\016\n\006reason\030\004 \001(" + + "\t\0224\n\004type\030\005 \001(\0162&.MumbleProto.Permission" + + "Denied.DenyType\022\014\n\004name\030\006 \001(\t\"\324\001\n\010DenyTy" + + "pe\022\010\n\004Text\020\000\022\016\n\nPermission\020\001\022\r\n\tSuperUse" + + "r\020\002\022\017\n\013ChannelName\020\003\022\017\n\013TextTooLong\020\004\022\007\n" + + "\003H9K\020\005\022\024\n\020TemporaryChannel\020\006\022\026\n\022MissingC" + + "ertificate\020\007\022\014\n\010UserName\020\010\022\017\n\013ChannelFul" + + "l\020\t\022\020\n\014NestingLimit\020\n\022\025\n\021ChannelCountLim" + + "it\020\013\"\324\003\n\003ACL\022\022\n\nchannel_id\030\001 \002(\r\022\032\n\014inhe" + + "rit_acls\030\002 \001(\010:\004true\022*\n\006groups\030\003 \003(\0132\032.M" + + "umbleProto.ACL.ChanGroup\022&\n\004acls\030\004 \003(\0132\030" + + ".MumbleProto.ACL.ChanACL\022\024\n\005query\030\005 \001(\010:" + + "\005false\032\234\001\n\tChanGroup\022\014\n\004name\030\001 \002(\t\022\027\n\tin" + + "herited\030\002 \001(\010:\004true\022\025\n\007inherit\030\003 \001(\010:\004tr" + + "ue\022\031\n\013inheritable\030\004 \001(\010:\004true\022\013\n\003add\030\005 \003" + + "(\r\022\016\n\006remove\030\006 \003(\r\022\031\n\021inherited_members\030" + + "\007 \003(\r\032\223\001\n\007ChanACL\022\030\n\napply_here\030\001 \001(\010:\004t" + + "rue\022\030\n\napply_subs\030\002 \001(\010:\004true\022\027\n\tinherit" + + "ed\030\003 \001(\010:\004true\022\017\n\007user_id\030\004 \001(\r\022\r\n\005group" + + "\030\005 \001(\t\022\r\n\005grant\030\006 \001(\r\022\014\n\004deny\030\007 \001(\r\"(\n\nQ" + + "ueryUsers\022\013\n\003ids\030\001 \003(\r\022\r\n\005names\030\002 \003(\t\"E\n" + + "\nCryptSetup\022\013\n\003key\030\001 \001(\014\022\024\n\014client_nonce" + + "\030\002 \001(\014\022\024\n\014server_nonce\030\003 \001(\014\"\323\001\n\023Context" + + "ActionModify\022\016\n\006action\030\001 \002(\t\022\014\n\004text\030\002 \001" + + "(\t\022\017\n\007context\030\003 \001(\r\022=\n\toperation\030\004 \001(\0162*" + + ".MumbleProto.ContextActionModify.Operati" + + "on\",\n\007Context\022\n\n\006Server\020\001\022\013\n\007Channel\020\002\022\010" + + "\n\004User\020\004\" \n\tOperation\022\007\n\003Add\020\000\022\n\n\006Remove" + + "\020\001\"D\n\rContextAction\022\017\n\007session\030\001 \001(\r\022\022\n\n" + + "channel_id\030\002 \001(\r\022\016\n\006action\030\003 \002(\t\"\205\001\n\010Use" + + "rList\022)\n\005users\030\001 \003(\0132\032.MumbleProto.UserL" + + "ist.User\032N\n\004User\022\017\n\007user_id\030\001 \002(\r\022\014\n\004nam" + + "e\030\002 \001(\t\022\021\n\tlast_seen\030\003 \001(\t\022\024\n\014last_chann" + + "el\030\004 \001(\r\"\270\001\n\013VoiceTarget\022\n\n\002id\030\001 \001(\r\0220\n\007" + + "targets\030\002 \003(\0132\037.MumbleProto.VoiceTarget." + + "Target\032k\n\006Target\022\017\n\007session\030\001 \003(\r\022\022\n\ncha" + + "nnel_id\030\002 \001(\r\022\r\n\005group\030\003 \001(\t\022\024\n\005links\030\004 " + + "\001(\010:\005false\022\027\n\010children\030\005 \001(\010:\005false\"P\n\017P" + + "ermissionQuery\022\022\n\nchannel_id\030\001 \001(\r\022\023\n\013pe" + + "rmissions\030\002 \001(\r\022\024\n\005flush\030\003 \001(\010:\005false\"\\\n" + + "\014CodecVersion\022\r\n\005alpha\030\001 \002(\005\022\014\n\004beta\030\002 \002" + + "(\005\022\032\n\014prefer_alpha\030\003 \002(\010:\004true\022\023\n\004opus\030\004" + + " \001(\010:\005false\"\270\004\n\tUserStats\022\017\n\007session\030\001 \001" + + "(\r\022\031\n\nstats_only\030\002 \001(\010:\005false\022\024\n\014certifi" + + "cates\030\003 \003(\014\0221\n\013from_client\030\004 \001(\0132\034.Mumbl" + + "eProto.UserStats.Stats\0221\n\013from_server\030\005 " + + "\001(\0132\034.MumbleProto.UserStats.Stats\022\023\n\013udp" + + "_packets\030\006 \001(\r\022\023\n\013tcp_packets\030\007 \001(\r\022\024\n\014u" + + "dp_ping_avg\030\010 \001(\002\022\024\n\014udp_ping_var\030\t \001(\002\022" + + "\024\n\014tcp_ping_avg\030\n \001(\002\022\024\n\014tcp_ping_var\030\013 " + + "\001(\002\022%\n\007version\030\014 \001(\0132\024.MumbleProto.Versi" + + "on\022\025\n\rcelt_versions\030\r \003(\005\022\017\n\007address\030\016 \001" + + "(\014\022\021\n\tbandwidth\030\017 \001(\r\022\022\n\nonlinesecs\030\020 \001(" + + "\r\022\020\n\010idlesecs\030\021 \001(\r\022!\n\022strong_certificat" + + "e\030\022 \001(\010:\005false\022\023\n\004opus\030\023 \001(\010:\005false\032A\n\005S" + + "tats\022\014\n\004good\030\001 \001(\r\022\014\n\004late\030\002 \001(\r\022\014\n\004lost" + + "\030\003 \001(\r\022\016\n\006resync\030\004 \001(\r\"\\\n\013RequestBlob\022\027\n" + + "\017session_texture\030\001 \003(\r\022\027\n\017session_commen" + + "t\030\002 \003(\r\022\033\n\023channel_description\030\003 \003(\r\"\230\001\n" + + "\014ServerConfig\022\025\n\rmax_bandwidth\030\001 \001(\r\022\024\n\014" + + "welcome_text\030\002 \001(\t\022\022\n\nallow_html\030\003 \001(\010\022\026" + + "\n\016message_length\030\004 \001(\r\022\034\n\024image_message_" + + "length\030\005 \001(\r\022\021\n\tmax_users\030\006 \001(\r\"J\n\rSugge" + + "stConfig\022\017\n\007version\030\001 \001(\r\022\022\n\npositional\030" + + "\002 \001(\010\022\024\n\014push_to_talk\030\003 \001(\010B&\n\030se.lublin" + + ".humla.protobufB\006MumbleH\001P\000" }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor + descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - }, assigner); + }); internal_static_MumbleProto_Version_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_MumbleProto_Version_fieldAccessorTable = new @@ -32841,44 +43607,38 @@ public final class Mumble { com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_MumbleProto_Reject_descriptor, new java.lang.String[] { "Type", "Reason", }); - internal_static_MumbleProto_ServerConfig_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_MumbleProto_ServerConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_MumbleProto_ServerConfig_descriptor, - new java.lang.String[] { "MaxBandwidth", "WelcomeText", "AllowHtml", "MessageLength", "ImageMessageLength", }); internal_static_MumbleProto_ServerSync_descriptor = - getDescriptor().getMessageTypes().get(6); + getDescriptor().getMessageTypes().get(5); internal_static_MumbleProto_ServerSync_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_MumbleProto_ServerSync_descriptor, new java.lang.String[] { "Session", "MaxBandwidth", "WelcomeText", "Permissions", }); internal_static_MumbleProto_ChannelRemove_descriptor = - getDescriptor().getMessageTypes().get(7); + getDescriptor().getMessageTypes().get(6); internal_static_MumbleProto_ChannelRemove_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_MumbleProto_ChannelRemove_descriptor, new java.lang.String[] { "ChannelId", }); internal_static_MumbleProto_ChannelState_descriptor = - getDescriptor().getMessageTypes().get(8); + getDescriptor().getMessageTypes().get(7); internal_static_MumbleProto_ChannelState_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_MumbleProto_ChannelState_descriptor, - new java.lang.String[] { "ChannelId", "Parent", "Name", "Links", "Description", "LinksAdd", "LinksRemove", "Temporary", "Position", "DescriptionHash", }); + new java.lang.String[] { "ChannelId", "Parent", "Name", "Links", "Description", "LinksAdd", "LinksRemove", "Temporary", "Position", "DescriptionHash", "MaxUsers", }); internal_static_MumbleProto_UserRemove_descriptor = - getDescriptor().getMessageTypes().get(9); + getDescriptor().getMessageTypes().get(8); internal_static_MumbleProto_UserRemove_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_MumbleProto_UserRemove_descriptor, new java.lang.String[] { "Session", "Actor", "Reason", "Ban", }); internal_static_MumbleProto_UserState_descriptor = - getDescriptor().getMessageTypes().get(10); + getDescriptor().getMessageTypes().get(9); internal_static_MumbleProto_UserState_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_MumbleProto_UserState_descriptor, new java.lang.String[] { "Session", "Actor", "Name", "UserId", "ChannelId", "Mute", "Deaf", "Suppress", "SelfMute", "SelfDeaf", "Texture", "PluginContext", "PluginIdentity", "Comment", "Hash", "CommentHash", "TextureHash", "PrioritySpeaker", "Recording", }); internal_static_MumbleProto_BanList_descriptor = - getDescriptor().getMessageTypes().get(11); + getDescriptor().getMessageTypes().get(10); internal_static_MumbleProto_BanList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_MumbleProto_BanList_descriptor, @@ -32890,19 +43650,19 @@ public final class Mumble { internal_static_MumbleProto_BanList_BanEntry_descriptor, new java.lang.String[] { "Address", "Mask", "Name", "Hash", "Reason", "Start", "Duration", }); internal_static_MumbleProto_TextMessage_descriptor = - getDescriptor().getMessageTypes().get(12); + getDescriptor().getMessageTypes().get(11); internal_static_MumbleProto_TextMessage_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_MumbleProto_TextMessage_descriptor, new java.lang.String[] { "Actor", "Session", "ChannelId", "TreeId", "Message", }); internal_static_MumbleProto_PermissionDenied_descriptor = - getDescriptor().getMessageTypes().get(13); + getDescriptor().getMessageTypes().get(12); internal_static_MumbleProto_PermissionDenied_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_MumbleProto_PermissionDenied_descriptor, new java.lang.String[] { "Permission", "ChannelId", "Session", "Reason", "Type", "Name", }); internal_static_MumbleProto_ACL_descriptor = - getDescriptor().getMessageTypes().get(14); + getDescriptor().getMessageTypes().get(13); internal_static_MumbleProto_ACL_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_MumbleProto_ACL_descriptor, @@ -32920,31 +43680,31 @@ public final class Mumble { internal_static_MumbleProto_ACL_ChanACL_descriptor, new java.lang.String[] { "ApplyHere", "ApplySubs", "Inherited", "UserId", "Group", "Grant", "Deny", }); internal_static_MumbleProto_QueryUsers_descriptor = - getDescriptor().getMessageTypes().get(15); + getDescriptor().getMessageTypes().get(14); internal_static_MumbleProto_QueryUsers_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_MumbleProto_QueryUsers_descriptor, new java.lang.String[] { "Ids", "Names", }); internal_static_MumbleProto_CryptSetup_descriptor = - getDescriptor().getMessageTypes().get(16); + getDescriptor().getMessageTypes().get(15); internal_static_MumbleProto_CryptSetup_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_MumbleProto_CryptSetup_descriptor, new java.lang.String[] { "Key", "ClientNonce", "ServerNonce", }); internal_static_MumbleProto_ContextActionModify_descriptor = - getDescriptor().getMessageTypes().get(17); + getDescriptor().getMessageTypes().get(16); internal_static_MumbleProto_ContextActionModify_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_MumbleProto_ContextActionModify_descriptor, new java.lang.String[] { "Action", "Text", "Context", "Operation", }); internal_static_MumbleProto_ContextAction_descriptor = - getDescriptor().getMessageTypes().get(18); + getDescriptor().getMessageTypes().get(17); internal_static_MumbleProto_ContextAction_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_MumbleProto_ContextAction_descriptor, new java.lang.String[] { "Session", "ChannelId", "Action", }); internal_static_MumbleProto_UserList_descriptor = - getDescriptor().getMessageTypes().get(19); + getDescriptor().getMessageTypes().get(18); internal_static_MumbleProto_UserList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_MumbleProto_UserList_descriptor, @@ -32954,9 +43714,9 @@ public final class Mumble { internal_static_MumbleProto_UserList_User_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_MumbleProto_UserList_User_descriptor, - new java.lang.String[] { "UserId", "Name", }); + new java.lang.String[] { "UserId", "Name", "LastSeen", "LastChannel", }); internal_static_MumbleProto_VoiceTarget_descriptor = - getDescriptor().getMessageTypes().get(20); + getDescriptor().getMessageTypes().get(19); internal_static_MumbleProto_VoiceTarget_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_MumbleProto_VoiceTarget_descriptor, @@ -32968,19 +43728,19 @@ public final class Mumble { internal_static_MumbleProto_VoiceTarget_Target_descriptor, new java.lang.String[] { "Session", "ChannelId", "Group", "Links", "Children", }); internal_static_MumbleProto_PermissionQuery_descriptor = - getDescriptor().getMessageTypes().get(21); + getDescriptor().getMessageTypes().get(20); internal_static_MumbleProto_PermissionQuery_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_MumbleProto_PermissionQuery_descriptor, new java.lang.String[] { "ChannelId", "Permissions", "Flush", }); internal_static_MumbleProto_CodecVersion_descriptor = - getDescriptor().getMessageTypes().get(22); + getDescriptor().getMessageTypes().get(21); internal_static_MumbleProto_CodecVersion_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_MumbleProto_CodecVersion_descriptor, new java.lang.String[] { "Alpha", "Beta", "PreferAlpha", "Opus", }); internal_static_MumbleProto_UserStats_descriptor = - getDescriptor().getMessageTypes().get(23); + getDescriptor().getMessageTypes().get(22); internal_static_MumbleProto_UserStats_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_MumbleProto_UserStats_descriptor, @@ -32991,18 +43751,24 @@ public final class Mumble { com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_MumbleProto_UserStats_Stats_descriptor, new java.lang.String[] { "Good", "Late", "Lost", "Resync", }); - internal_static_MumbleProto_SuggestConfig_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_MumbleProto_SuggestConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_MumbleProto_SuggestConfig_descriptor, - new java.lang.String[] { "Version", "Positional", "PushToTalk", }); internal_static_MumbleProto_RequestBlob_descriptor = - getDescriptor().getMessageTypes().get(25); + getDescriptor().getMessageTypes().get(23); internal_static_MumbleProto_RequestBlob_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_MumbleProto_RequestBlob_descriptor, new java.lang.String[] { "SessionTexture", "SessionComment", "ChannelDescription", }); + internal_static_MumbleProto_ServerConfig_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_MumbleProto_ServerConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_MumbleProto_ServerConfig_descriptor, + new java.lang.String[] { "MaxBandwidth", "WelcomeText", "AllowHtml", "MessageLength", "ImageMessageLength", "MaxUsers", }); + internal_static_MumbleProto_SuggestConfig_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_MumbleProto_SuggestConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_MumbleProto_SuggestConfig_descriptor, + new java.lang.String[] { "Version", "Positional", "PushToTalk", }); } // @@protoc_insertion_point(outer_class_scope) -- cgit v1.2.3