Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/humla.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Lublin <daniel@lublin.se>2020-04-11 22:46:07 +0300
committerDaniel Lublin <daniel@lublin.se>2020-04-11 22:52:23 +0300
commit0a6ecff6f3059336bea174c39c78b2cad95b731b (patch)
tree5eb03eb79604f6b7392a5b4b0e65d00048da96f9
parenta79f6d4f44495dcaa691dbee686ada6e43bdb1bd (diff)
Update (add) protobuf spec file and recompile to java
Bumping the protobuf-java implementation as well.
-rw-r--r--build.gradle2
-rw-r--r--src/Mumble.proto573
-rw-r--r--src/main/java/se/lublin/humla/protobuf/Mumble.java18648
3 files changed, 15281 insertions, 3942 deletions
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 <https://www.mumble.info/LICENSE>.
+
+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 {
/**
+ * <pre>
+ * 2-byte Major, 1-byte Minor and 1-byte Patch version number.
+ * </pre>
+ *
* <code>optional uint32 version = 1;</code>
+ * @return Whether the version field is set.
*/
boolean hasVersion();
/**
+ * <pre>
+ * 2-byte Major, 1-byte Minor and 1-byte Patch version number.
+ * </pre>
+ *
* <code>optional uint32 version = 1;</code>
+ * @return The version.
*/
int getVersion();
/**
+ * <pre>
+ * Client release name.
+ * </pre>
+ *
* <code>optional string release = 2;</code>
+ * @return Whether the release field is set.
*/
boolean hasRelease();
/**
+ * <pre>
+ * Client release name.
+ * </pre>
+ *
* <code>optional string release = 2;</code>
+ * @return The release.
*/
java.lang.String getRelease();
/**
+ * <pre>
+ * Client release name.
+ * </pre>
+ *
* <code>optional string release = 2;</code>
+ * @return The bytes for release.
*/
com.google.protobuf.ByteString
getReleaseBytes();
/**
+ * <pre>
+ * Client OS name.
+ * </pre>
+ *
* <code>optional string os = 3;</code>
+ * @return Whether the os field is set.
*/
boolean hasOs();
/**
+ * <pre>
+ * Client OS name.
+ * </pre>
+ *
* <code>optional string os = 3;</code>
+ * @return The os.
*/
java.lang.String getOs();
/**
+ * <pre>
+ * Client OS name.
+ * </pre>
+ *
* <code>optional string os = 3;</code>
+ * @return The bytes for os.
*/
com.google.protobuf.ByteString
getOsBytes();
/**
+ * <pre>
+ * Client OS version.
+ * </pre>
+ *
* <code>optional string os_version = 4;</code>
+ * @return Whether the osVersion field is set.
*/
boolean hasOsVersion();
/**
+ * <pre>
+ * Client OS version.
+ * </pre>
+ *
* <code>optional string os_version = 4;</code>
+ * @return The osVersion.
*/
java.lang.String getOsVersion();
/**
+ * <pre>
+ * Client OS version.
+ * </pre>
+ *
* <code>optional string os_version = 4;</code>
+ * @return The bytes for osVersion.
*/
com.google.protobuf.ByteString
getOsVersionBytes();
@@ -76,18 +131,25 @@ 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() {
return this.unknownFields;
@@ -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_;
/**
+ * <pre>
+ * 2-byte Major, 1-byte Minor and 1-byte Patch version number.
+ * </pre>
+ *
* <code>optional uint32 version = 1;</code>
+ * @return Whether the version field is set.
*/
public boolean hasVersion() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * 2-byte Major, 1-byte Minor and 1-byte Patch version number.
+ * </pre>
+ *
* <code>optional uint32 version = 1;</code>
+ * @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_;
/**
+ * <pre>
+ * Client release name.
+ * </pre>
+ *
* <code>optional string release = 2;</code>
+ * @return Whether the release field is set.
*/
public boolean hasRelease() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * Client release name.
+ * </pre>
+ *
* <code>optional string release = 2;</code>
+ * @return The release.
*/
public java.lang.String getRelease() {
java.lang.Object ref = release_;
@@ -204,7 +290,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Client release name.
+ * </pre>
+ *
* <code>optional string release = 2;</code>
+ * @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_;
/**
+ * <pre>
+ * Client OS name.
+ * </pre>
+ *
* <code>optional string os = 3;</code>
+ * @return Whether the os field is set.
*/
public boolean hasOs() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
+ * <pre>
+ * Client OS name.
+ * </pre>
+ *
* <code>optional string os = 3;</code>
+ * @return The os.
*/
public java.lang.String getOs() {
java.lang.Object ref = os_;
@@ -246,7 +347,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Client OS name.
+ * </pre>
+ *
* <code>optional string os = 3;</code>
+ * @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_;
/**
+ * <pre>
+ * Client OS version.
+ * </pre>
+ *
* <code>optional string os_version = 4;</code>
+ * @return Whether the osVersion field is set.
*/
public boolean hasOsVersion() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
+ * <pre>
+ * Client OS version.
+ * </pre>
+ *
* <code>optional string os_version = 4;</code>
+ * @return The osVersion.
*/
public java.lang.String getOsVersion() {
java.lang.Object ref = osVersion_;
@@ -288,7 +404,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Client OS version.
+ * </pre>
+ *
* <code>optional string os_version = 4;</code>
+ * @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();
@@ -419,6 +541,17 @@ public final class Mumble {
}
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 {
return PARSER.parseFrom(data);
@@ -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_ ;
/**
+ * <pre>
+ * 2-byte Major, 1-byte Minor and 1-byte Patch version number.
+ * </pre>
+ *
* <code>optional uint32 version = 1;</code>
+ * @return Whether the version field is set.
*/
public boolean hasVersion() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * 2-byte Major, 1-byte Minor and 1-byte Patch version number.
+ * </pre>
+ *
* <code>optional uint32 version = 1;</code>
+ * @return The version.
*/
public int getVersion() {
return version_;
}
/**
+ * <pre>
+ * 2-byte Major, 1-byte Minor and 1-byte Patch version number.
+ * </pre>
+ *
* <code>optional uint32 version = 1;</code>
+ * @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;
}
/**
+ * <pre>
+ * 2-byte Major, 1-byte Minor and 1-byte Patch version number.
+ * </pre>
+ *
* <code>optional uint32 version = 1;</code>
+ * @return This builder for chaining.
*/
public Builder clearVersion() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -701,13 +872,23 @@ public final class Mumble {
private java.lang.Object release_ = "";
/**
+ * <pre>
+ * Client release name.
+ * </pre>
+ *
* <code>optional string release = 2;</code>
+ * @return Whether the release field is set.
*/
public boolean hasRelease() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * Client release name.
+ * </pre>
+ *
* <code>optional string release = 2;</code>
+ * @return The release.
*/
public java.lang.String getRelease() {
java.lang.Object ref = release_;
@@ -724,7 +905,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Client release name.
+ * </pre>
+ *
* <code>optional string release = 2;</code>
+ * @return The bytes for release.
*/
public com.google.protobuf.ByteString
getReleaseBytes() {
@@ -740,7 +926,13 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Client release name.
+ * </pre>
+ *
* <code>optional string release = 2;</code>
+ * @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;
}
/**
+ * <pre>
+ * Client release name.
+ * </pre>
+ *
* <code>optional string release = 2;</code>
+ * @return This builder for chaining.
*/
public Builder clearRelease() {
bitField0_ = (bitField0_ & ~0x00000002);
@@ -762,7 +959,13 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Client release name.
+ * </pre>
+ *
* <code>optional string release = 2;</code>
+ * @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_ = "";
/**
+ * <pre>
+ * Client OS name.
+ * </pre>
+ *
* <code>optional string os = 3;</code>
+ * @return Whether the os field is set.
*/
public boolean hasOs() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
+ * <pre>
+ * Client OS name.
+ * </pre>
+ *
* <code>optional string os = 3;</code>
+ * @return The os.
*/
public java.lang.String getOs() {
java.lang.Object ref = os_;
@@ -800,7 +1013,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Client OS name.
+ * </pre>
+ *
* <code>optional string os = 3;</code>
+ * @return The bytes for os.
*/
public com.google.protobuf.ByteString
getOsBytes() {
@@ -816,7 +1034,13 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Client OS name.
+ * </pre>
+ *
* <code>optional string os = 3;</code>
+ * @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;
}
/**
+ * <pre>
+ * Client OS name.
+ * </pre>
+ *
* <code>optional string os = 3;</code>
+ * @return This builder for chaining.
*/
public Builder clearOs() {
bitField0_ = (bitField0_ & ~0x00000004);
@@ -838,7 +1067,13 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Client OS name.
+ * </pre>
+ *
* <code>optional string os = 3;</code>
+ * @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_ = "";
/**
+ * <pre>
+ * Client OS version.
+ * </pre>
+ *
* <code>optional string os_version = 4;</code>
+ * @return Whether the osVersion field is set.
*/
public boolean hasOsVersion() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
+ * <pre>
+ * Client OS version.
+ * </pre>
+ *
* <code>optional string os_version = 4;</code>
+ * @return The osVersion.
*/
public java.lang.String getOsVersion() {
java.lang.Object ref = osVersion_;
@@ -876,7 +1121,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Client OS version.
+ * </pre>
+ *
* <code>optional string os_version = 4;</code>
+ * @return The bytes for osVersion.
*/
public com.google.protobuf.ByteString
getOsVersionBytes() {
@@ -892,7 +1142,13 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Client OS version.
+ * </pre>
+ *
* <code>optional string os_version = 4;</code>
+ * @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;
}
/**
+ * <pre>
+ * Client OS version.
+ * </pre>
+ *
* <code>optional string os_version = 4;</code>
+ * @return This builder for chaining.
*/
public Builder clearOsVersion() {
bitField0_ = (bitField0_ & ~0x00000008);
@@ -914,7 +1175,13 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Client OS version.
+ * </pre>
+ *
* <code>optional string os_version = 4;</code>
+ * @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<Version>
PARSER = new com.google.protobuf.AbstractParser<Version>() {
+ @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 {
/**
+ * <pre>
+ * Not used.
+ * </pre>
+ *
* <code>required bytes packet = 1;</code>
+ * @return Whether the packet field is set.
*/
boolean hasPacket();
/**
+ * <pre>
+ * Not used.
+ * </pre>
+ *
* <code>required bytes packet = 1;</code>
+ * @return The packet.
*/
com.google.protobuf.ByteString getPacket();
}
/**
+ * <pre>
+ * Not used. Not even for tunneling UDP through TCP.
+ * </pre>
+ *
* 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);
@@ -1004,6 +1290,13 @@ public final class Mumble {
}
@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() {
return this.unknownFields;
@@ -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_;
/**
+ * <pre>
+ * Not used.
+ * </pre>
+ *
* <code>required bytes packet = 1;</code>
+ * @return Whether the packet field is set.
*/
public boolean hasPacket() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * Not used.
+ * </pre>
+ *
* <code>required bytes packet = 1;</code>
+ * @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();
@@ -1150,6 +1458,17 @@ public final class Mumble {
}
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 {
return PARSER.parseFrom(data);
@@ -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;
}
/**
+ * <pre>
+ * Not used. Not even for tunneling UDP through TCP.
+ * </pre>
+ *
* 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;
/**
+ * <pre>
+ * Not used.
+ * </pre>
+ *
* <code>required bytes packet = 1;</code>
+ * @return Whether the packet field is set.
*/
public boolean hasPacket() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * Not used.
+ * </pre>
+ *
* <code>required bytes packet = 1;</code>
+ * @return The packet.
*/
public com.google.protobuf.ByteString getPacket() {
return packet_;
}
/**
+ * <pre>
+ * Not used.
+ * </pre>
+ *
* <code>required bytes packet = 1;</code>
+ * @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;
}
/**
+ * <pre>
+ * Not used.
+ * </pre>
+ *
* <code>required bytes packet = 1;</code>
+ * @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<UDPTunnel>
PARSER = new com.google.protobuf.AbstractParser<UDPTunnel>() {
+ @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 {
/**
+ * <pre>
+ * UTF-8 encoded username.
+ * </pre>
+ *
* <code>optional string username = 1;</code>
+ * @return Whether the username field is set.
*/
boolean hasUsername();
/**
+ * <pre>
+ * UTF-8 encoded username.
+ * </pre>
+ *
* <code>optional string username = 1;</code>
+ * @return The username.
*/
java.lang.String getUsername();
/**
+ * <pre>
+ * UTF-8 encoded username.
+ * </pre>
+ *
* <code>optional string username = 1;</code>
+ * @return The bytes for username.
*/
com.google.protobuf.ByteString
getUsernameBytes();
/**
+ * <pre>
+ * Server or user password.
+ * </pre>
+ *
* <code>optional string password = 2;</code>
+ * @return Whether the password field is set.
*/
boolean hasPassword();
/**
+ * <pre>
+ * Server or user password.
+ * </pre>
+ *
* <code>optional string password = 2;</code>
+ * @return The password.
*/
java.lang.String getPassword();
/**
+ * <pre>
+ * Server or user password.
+ * </pre>
+ *
* <code>optional string password = 2;</code>
+ * @return The bytes for password.
*/
com.google.protobuf.ByteString
getPasswordBytes();
/**
+ * <pre>
+ * Additional access tokens for server ACL groups.
+ * </pre>
+ *
* <code>repeated string tokens = 3;</code>
+ * @return A list containing the tokens.
*/
java.util.List<java.lang.String>
getTokensList();
/**
+ * <pre>
+ * Additional access tokens for server ACL groups.
+ * </pre>
+ *
* <code>repeated string tokens = 3;</code>
+ * @return The count of tokens.
*/
int getTokensCount();
/**
+ * <pre>
+ * Additional access tokens for server ACL groups.
+ * </pre>
+ *
* <code>repeated string tokens = 3;</code>
+ * @param index The index of the element to return.
+ * @return The tokens at the given index.
*/
java.lang.String getTokens(int index);
/**
+ * <pre>
+ * Additional access tokens for server ACL groups.
+ * </pre>
+ *
* <code>repeated string tokens = 3;</code>
+ * @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);
/**
+ * <pre>
+ * A list of CELT bitstream version constants supported by the client.
+ * </pre>
+ *
* <code>repeated int32 celt_versions = 4;</code>
+ * @return A list containing the celtVersions.
*/
java.util.List<java.lang.Integer> getCeltVersionsList();
/**
+ * <pre>
+ * A list of CELT bitstream version constants supported by the client.
+ * </pre>
+ *
* <code>repeated int32 celt_versions = 4;</code>
+ * @return The count of celtVersions.
*/
int getCeltVersionsCount();
/**
+ * <pre>
+ * A list of CELT bitstream version constants supported by the client.
+ * </pre>
+ *
* <code>repeated int32 celt_versions = 4;</code>
+ * @param index The index of the element to return.
+ * @return The celtVersions at the given index.
*/
int getCeltVersions(int index);
/**
* <code>optional bool opus = 5 [default = false];</code>
+ * @return Whether the opus field is set.
*/
boolean hasOpus();
/**
* <code>optional bool opus = 5 [default = false];</code>
+ * @return The opus.
*/
boolean getOpus();
}
/**
+ * <pre>
+ * Used by the client to send the authentication credentials to the server.
+ * </pre>
+ *
* 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<java.lang.Integer>();
+ 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<java.lang.Integer>();
+ 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_;
/**
+ * <pre>
+ * UTF-8 encoded username.
+ * </pre>
+ *
* <code>optional string username = 1;</code>
+ * @return Whether the username field is set.
*/
public boolean hasUsername() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * UTF-8 encoded username.
+ * </pre>
+ *
* <code>optional string username = 1;</code>
+ * @return The username.
*/
public java.lang.String getUsername() {
java.lang.Object ref = username_;
@@ -1675,7 +2135,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * UTF-8 encoded username.
+ * </pre>
+ *
* <code>optional string username = 1;</code>
+ * @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_;
/**
+ * <pre>
+ * Server or user password.
+ * </pre>
+ *
* <code>optional string password = 2;</code>
+ * @return Whether the password field is set.
*/
public boolean hasPassword() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * Server or user password.
+ * </pre>
+ *
* <code>optional string password = 2;</code>
+ * @return The password.
*/
public java.lang.String getPassword() {
java.lang.Object ref = password_;
@@ -1717,7 +2192,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Server or user password.
+ * </pre>
+ *
* <code>optional string password = 2;</code>
+ * @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_;
/**
+ * <pre>
+ * Additional access tokens for server ACL groups.
+ * </pre>
+ *
* <code>repeated string tokens = 3;</code>
+ * @return A list containing the tokens.
*/
public com.google.protobuf.ProtocolStringList
getTokensList() {
return tokens_;
}
/**
+ * <pre>
+ * Additional access tokens for server ACL groups.
+ * </pre>
+ *
* <code>repeated string tokens = 3;</code>
+ * @return The count of tokens.
*/
public int getTokensCount() {
return tokens_.size();
}
/**
+ * <pre>
+ * Additional access tokens for server ACL groups.
+ * </pre>
+ *
* <code>repeated string tokens = 3;</code>
+ * @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);
}
/**
+ * <pre>
+ * Additional access tokens for server ACL groups.
+ * </pre>
+ *
* <code>repeated string tokens = 3;</code>
+ * @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<java.lang.Integer> celtVersions_;
+ private com.google.protobuf.Internal.IntList celtVersions_;
/**
+ * <pre>
+ * A list of CELT bitstream version constants supported by the client.
+ * </pre>
+ *
* <code>repeated int32 celt_versions = 4;</code>
+ * @return A list containing the celtVersions.
*/
public java.util.List<java.lang.Integer>
getCeltVersionsList() {
return celtVersions_;
}
/**
+ * <pre>
+ * A list of CELT bitstream version constants supported by the client.
+ * </pre>
+ *
* <code>repeated int32 celt_versions = 4;</code>
+ * @return The count of celtVersions.
*/
public int getCeltVersionsCount() {
return celtVersions_.size();
}
/**
+ * <pre>
+ * A list of CELT bitstream version constants supported by the client.
+ * </pre>
+ *
* <code>repeated int32 celt_versions = 4;</code>
+ * @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_;
/**
* <code>optional bool opus = 5 [default = false];</code>
+ * @return Whether the opus field is set.
*/
public boolean hasOpus() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional bool opus = 5 [default = false];</code>
+ * @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();
@@ -1935,6 +2456,17 @@ public final class Mumble {
}
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 {
return PARSER.parseFrom(data);
@@ -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;
}
/**
+ * <pre>
+ * Used by the client to send the authentication credentials to the server.
+ * </pre>
+ *
* 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_ = "";
/**
+ * <pre>
+ * UTF-8 encoded username.
+ * </pre>
+ *
* <code>optional string username = 1;</code>
+ * @return Whether the username field is set.
*/
public boolean hasUsername() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * UTF-8 encoded username.
+ * </pre>
+ *
* <code>optional string username = 1;</code>
+ * @return The username.
*/
public java.lang.String getUsername() {
java.lang.Object ref = username_;
@@ -2231,7 +2794,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * UTF-8 encoded username.
+ * </pre>
+ *
* <code>optional string username = 1;</code>
+ * @return The bytes for username.
*/
public com.google.protobuf.ByteString
getUsernameBytes() {
@@ -2247,7 +2815,13 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * UTF-8 encoded username.
+ * </pre>
+ *
* <code>optional string username = 1;</code>
+ * @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;
}
/**
+ * <pre>
+ * UTF-8 encoded username.
+ * </pre>
+ *
* <code>optional string username = 1;</code>
+ * @return This builder for chaining.
*/
public Builder clearUsername() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -2269,7 +2848,13 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * UTF-8 encoded username.
+ * </pre>
+ *
* <code>optional string username = 1;</code>
+ * @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_ = "";
/**
+ * <pre>
+ * Server or user password.
+ * </pre>
+ *
* <code>optional string password = 2;</code>
+ * @return Whether the password field is set.
*/
public boolean hasPassword() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * Server or user password.
+ * </pre>
+ *
* <code>optional string password = 2;</code>
+ * @return The password.
*/
public java.lang.String getPassword() {
java.lang.Object ref = password_;
@@ -2307,7 +2902,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Server or user password.
+ * </pre>
+ *
* <code>optional string password = 2;</code>
+ * @return The bytes for password.
*/
public com.google.protobuf.ByteString
getPasswordBytes() {
@@ -2323,7 +2923,13 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Server or user password.
+ * </pre>
+ *
* <code>optional string password = 2;</code>
+ * @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;
}
/**
+ * <pre>
+ * Server or user password.
+ * </pre>
+ *
* <code>optional string password = 2;</code>
+ * @return This builder for chaining.
*/
public Builder clearPassword() {
bitField0_ = (bitField0_ & ~0x00000002);
@@ -2345,7 +2956,13 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Server or user password.
+ * </pre>
+ *
* <code>optional string password = 2;</code>
+ * @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;
}
}
/**
+ * <pre>
+ * Additional access tokens for server ACL groups.
+ * </pre>
+ *
* <code>repeated string tokens = 3;</code>
+ * @return A list containing the tokens.
*/
public com.google.protobuf.ProtocolStringList
getTokensList() {
return tokens_.getUnmodifiableView();
}
/**
+ * <pre>
+ * Additional access tokens for server ACL groups.
+ * </pre>
+ *
* <code>repeated string tokens = 3;</code>
+ * @return The count of tokens.
*/
public int getTokensCount() {
return tokens_.size();
}
/**
+ * <pre>
+ * Additional access tokens for server ACL groups.
+ * </pre>
+ *
* <code>repeated string tokens = 3;</code>
+ * @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);
}
/**
+ * <pre>
+ * Additional access tokens for server ACL groups.
+ * </pre>
+ *
* <code>repeated string tokens = 3;</code>
+ * @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);
}
/**
+ * <pre>
+ * Additional access tokens for server ACL groups.
+ * </pre>
+ *
* <code>repeated string tokens = 3;</code>
+ * @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;
}
/**
+ * <pre>
+ * Additional access tokens for server ACL groups.
+ * </pre>
+ *
* <code>repeated string tokens = 3;</code>
+ * @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;
}
/**
+ * <pre>
+ * Additional access tokens for server ACL groups.
+ * </pre>
+ *
* <code>repeated string tokens = 3;</code>
+ * @param values The tokens to add.
+ * @return This builder for chaining.
*/
public Builder addAllTokens(
java.lang.Iterable<java.lang.String> values) {
@@ -2429,7 +3087,12 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Additional access tokens for server ACL groups.
+ * </pre>
+ *
* <code>repeated string tokens = 3;</code>
+ * @return This builder for chaining.
*/
public Builder clearTokens() {
tokens_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -2438,7 +3101,13 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Additional access tokens for server ACL groups.
+ * </pre>
+ *
* <code>repeated string tokens = 3;</code>
+ * @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<java.lang.Integer> 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<java.lang.Integer>(celtVersions_);
+ if (!((bitField0_ & 0x00000008) != 0)) {
+ celtVersions_ = mutableCopy(celtVersions_);
bitField0_ |= 0x00000008;
}
}
/**
+ * <pre>
+ * A list of CELT bitstream version constants supported by the client.
+ * </pre>
+ *
* <code>repeated int32 celt_versions = 4;</code>
+ * @return A list containing the celtVersions.
*/
public java.util.List<java.lang.Integer>
getCeltVersionsList() {
- return java.util.Collections.unmodifiableList(celtVersions_);
+ return ((bitField0_ & 0x00000008) != 0) ?
+ java.util.Collections.unmodifiableList(celtVersions_) : celtVersions_;
}
/**
+ * <pre>
+ * A list of CELT bitstream version constants supported by the client.
+ * </pre>
+ *
* <code>repeated int32 celt_versions = 4;</code>
+ * @return The count of celtVersions.
*/
public int getCeltVersionsCount() {
return celtVersions_.size();
}
/**
+ * <pre>
+ * A list of CELT bitstream version constants supported by the client.
+ * </pre>
+ *
* <code>repeated int32 celt_versions = 4;</code>
+ * @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);
}
/**
+ * <pre>
+ * A list of CELT bitstream version constants supported by the client.
+ * </pre>
+ *
* <code>repeated int32 celt_versions = 4;</code>
+ * @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;
}
/**
+ * <pre>
+ * A list of CELT bitstream version constants supported by the client.
+ * </pre>
+ *
* <code>repeated int32 celt_versions = 4;</code>
+ * @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;
}
/**
+ * <pre>
+ * A list of CELT bitstream version constants supported by the client.
+ * </pre>
+ *
* <code>repeated int32 celt_versions = 4;</code>
+ * @param values The celtVersions to add.
+ * @return This builder for chaining.
*/
public Builder addAllCeltVersions(
java.lang.Iterable<? extends java.lang.Integer> values) {
@@ -2508,10 +3213,15 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * A list of CELT bitstream version constants supported by the client.
+ * </pre>
+ *
* <code>repeated int32 celt_versions = 4;</code>
+ * @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_ ;
/**
* <code>optional bool opus = 5 [default = false];</code>
+ * @return Whether the opus field is set.
*/
public boolean hasOpus() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional bool opus = 5 [default = false];</code>
+ * @return The opus.
*/
public boolean getOpus() {
return opus_;
}
/**
* <code>optional bool opus = 5 [default = false];</code>
+ * @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 {
}
/**
* <code>optional bool opus = 5 [default = false];</code>
+ * @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<Authenticate>
PARSER = new com.google.protobuf.AbstractParser<Authenticate>() {
+ @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 {
/**
+ * <pre>
+ * Client timestamp. Server should not attempt to decode.
+ * </pre>
+ *
* <code>optional uint64 timestamp = 1;</code>
+ * @return Whether the timestamp field is set.
*/
boolean hasTimestamp();
/**
+ * <pre>
+ * Client timestamp. Server should not attempt to decode.
+ * </pre>
+ *
* <code>optional uint64 timestamp = 1;</code>
+ * @return The timestamp.
*/
long getTimestamp();
/**
+ * <pre>
+ * The amount of good packets received.
+ * </pre>
+ *
* <code>optional uint32 good = 2;</code>
+ * @return Whether the good field is set.
*/
boolean hasGood();
/**
+ * <pre>
+ * The amount of good packets received.
+ * </pre>
+ *
* <code>optional uint32 good = 2;</code>
+ * @return The good.
*/
int getGood();
/**
+ * <pre>
+ * The amount of late packets received.
+ * </pre>
+ *
* <code>optional uint32 late = 3;</code>
+ * @return Whether the late field is set.
*/
boolean hasLate();
/**
+ * <pre>
+ * The amount of late packets received.
+ * </pre>
+ *
* <code>optional uint32 late = 3;</code>
+ * @return The late.
*/
int getLate();
/**
+ * <pre>
+ * The amount of packets never received.
+ * </pre>
+ *
* <code>optional uint32 lost = 4;</code>
+ * @return Whether the lost field is set.
*/
boolean hasLost();
/**
+ * <pre>
+ * The amount of packets never received.
+ * </pre>
+ *
* <code>optional uint32 lost = 4;</code>
+ * @return The lost.
*/
int getLost();
/**
+ * <pre>
+ * The amount of nonce resyncs.
+ * </pre>
+ *
* <code>optional uint32 resync = 5;</code>
+ * @return Whether the resync field is set.
*/
boolean hasResync();
/**
+ * <pre>
+ * The amount of nonce resyncs.
+ * </pre>
+ *
* <code>optional uint32 resync = 5;</code>
+ * @return The resync.
*/
int getResync();
/**
+ * <pre>
+ * The total amount of UDP packets received.
+ * </pre>
+ *
* <code>optional uint32 udp_packets = 6;</code>
+ * @return Whether the udpPackets field is set.
*/
boolean hasUdpPackets();
/**
+ * <pre>
+ * The total amount of UDP packets received.
+ * </pre>
+ *
* <code>optional uint32 udp_packets = 6;</code>
+ * @return The udpPackets.
*/
int getUdpPackets();
/**
+ * <pre>
+ * The total amount of TCP packets received.
+ * </pre>
+ *
* <code>optional uint32 tcp_packets = 7;</code>
+ * @return Whether the tcpPackets field is set.
*/
boolean hasTcpPackets();
/**
+ * <pre>
+ * The total amount of TCP packets received.
+ * </pre>
+ *
* <code>optional uint32 tcp_packets = 7;</code>
+ * @return The tcpPackets.
*/
int getTcpPackets();
/**
+ * <pre>
+ * UDP ping average.
+ * </pre>
+ *
* <code>optional float udp_ping_avg = 8;</code>
+ * @return Whether the udpPingAvg field is set.
*/
boolean hasUdpPingAvg();
/**
+ * <pre>
+ * UDP ping average.
+ * </pre>
+ *
* <code>optional float udp_ping_avg = 8;</code>
+ * @return The udpPingAvg.
*/
float getUdpPingAvg();
/**
+ * <pre>
+ * UDP ping variance.
+ * </pre>
+ *
* <code>optional float udp_ping_var = 9;</code>
+ * @return Whether the udpPingVar field is set.
*/
boolean hasUdpPingVar();
/**
+ * <pre>
+ * UDP ping variance.
+ * </pre>
+ *
* <code>optional float udp_ping_var = 9;</code>
+ * @return The udpPingVar.
*/
float getUdpPingVar();
/**
+ * <pre>
+ * TCP ping average.
+ * </pre>
+ *
* <code>optional float tcp_ping_avg = 10;</code>
+ * @return Whether the tcpPingAvg field is set.
*/
boolean hasTcpPingAvg();
/**
+ * <pre>
+ * TCP ping average.
+ * </pre>
+ *
* <code>optional float tcp_ping_avg = 10;</code>
+ * @return The tcpPingAvg.
*/
float getTcpPingAvg();
/**
+ * <pre>
+ * TCP ping variance.
+ * </pre>
+ *
* <code>optional float tcp_ping_var = 11;</code>
+ * @return Whether the tcpPingVar field is set.
*/
boolean hasTcpPingVar();
/**
+ * <pre>
+ * TCP ping variance.
+ * </pre>
+ *
* <code>optional float tcp_ping_var = 11;</code>
+ * @return The tcpPingVar.
*/
float getTcpPingVar();
}
/**
+ * <pre>
+ * 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.
+ * </pre>
+ *
* 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_;
/**
+ * <pre>
+ * Client timestamp. Server should not attempt to decode.
+ * </pre>
+ *
* <code>optional uint64 timestamp = 1;</code>
+ * @return Whether the timestamp field is set.
*/
public boolean hasTimestamp() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * Client timestamp. Server should not attempt to decode.
+ * </pre>
+ *
* <code>optional uint64 timestamp = 1;</code>
+ * @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_;
/**
+ * <pre>
+ * The amount of good packets received.
+ * </pre>
+ *
* <code>optional uint32 good = 2;</code>
+ * @return Whether the good field is set.
*/
public boolean hasGood() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * The amount of good packets received.
+ * </pre>
+ *
* <code>optional uint32 good = 2;</code>
+ * @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_;
/**
+ * <pre>
+ * The amount of late packets received.
+ * </pre>
+ *
* <code>optional uint32 late = 3;</code>
+ * @return Whether the late field is set.
*/
public boolean hasLate() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
+ * <pre>
+ * The amount of late packets received.
+ * </pre>
+ *
* <code>optional uint32 late = 3;</code>
+ * @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_;
/**
+ * <pre>
+ * The amount of packets never received.
+ * </pre>
+ *
* <code>optional uint32 lost = 4;</code>
+ * @return Whether the lost field is set.
*/
public boolean hasLost() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
+ * <pre>
+ * The amount of packets never received.
+ * </pre>
+ *
* <code>optional uint32 lost = 4;</code>
+ * @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_;
/**
+ * <pre>
+ * The amount of nonce resyncs.
+ * </pre>
+ *
* <code>optional uint32 resync = 5;</code>
+ * @return Whether the resync field is set.
*/
public boolean hasResync() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
+ * <pre>
+ * The amount of nonce resyncs.
+ * </pre>
+ *
* <code>optional uint32 resync = 5;</code>
+ * @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_;
/**
+ * <pre>
+ * The total amount of UDP packets received.
+ * </pre>
+ *
* <code>optional uint32 udp_packets = 6;</code>
+ * @return Whether the udpPackets field is set.
*/
public boolean hasUdpPackets() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
+ return ((bitField0_ & 0x00000020) != 0);
}
/**
+ * <pre>
+ * The total amount of UDP packets received.
+ * </pre>
+ *
* <code>optional uint32 udp_packets = 6;</code>
+ * @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_;
/**
+ * <pre>
+ * The total amount of TCP packets received.
+ * </pre>
+ *
* <code>optional uint32 tcp_packets = 7;</code>
+ * @return Whether the tcpPackets field is set.
*/
public boolean hasTcpPackets() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
+ return ((bitField0_ & 0x00000040) != 0);
}
/**
+ * <pre>
+ * The total amount of TCP packets received.
+ * </pre>
+ *
* <code>optional uint32 tcp_packets = 7;</code>
+ * @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_;
/**
+ * <pre>
+ * UDP ping average.
+ * </pre>
+ *
* <code>optional float udp_ping_avg = 8;</code>
+ * @return Whether the udpPingAvg field is set.
*/
public boolean hasUdpPingAvg() {
- return ((bitField0_ & 0x00000080) == 0x00000080);
+ return ((bitField0_ & 0x00000080) != 0);
}
/**
+ * <pre>
+ * UDP ping average.
+ * </pre>
+ *
* <code>optional float udp_ping_avg = 8;</code>
+ * @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_;
/**
+ * <pre>
+ * UDP ping variance.
+ * </pre>
+ *
* <code>optional float udp_ping_var = 9;</code>
+ * @return Whether the udpPingVar field is set.
*/
public boolean hasUdpPingVar() {
- return ((bitField0_ & 0x00000100) == 0x00000100);
+ return ((bitField0_ & 0x00000100) != 0);
}
/**
+ * <pre>
+ * UDP ping variance.
+ * </pre>
+ *
* <code>optional float udp_ping_var = 9;</code>
+ * @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_;
/**
+ * <pre>
+ * TCP ping average.
+ * </pre>
+ *
* <code>optional float tcp_ping_avg = 10;</code>
+ * @return Whether the tcpPingAvg field is set.
*/
public boolean hasTcpPingAvg() {
- return ((bitField0_ & 0x00000200) == 0x00000200);
+ return ((bitField0_ & 0x00000200) != 0);
}
/**
+ * <pre>
+ * TCP ping average.
+ * </pre>
+ *
* <code>optional float tcp_ping_avg = 10;</code>
+ * @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_;
/**
+ * <pre>
+ * TCP ping variance.
+ * </pre>
+ *
* <code>optional float tcp_ping_var = 11;</code>
+ * @return Whether the tcpPingVar field is set.
*/
public boolean hasTcpPingVar() {
- return ((bitField0_ & 0x00000400) == 0x00000400);
+ return ((bitField0_ & 0x00000400) != 0);
}
/**
+ * <pre>
+ * TCP ping variance.
+ * </pre>
+ *
* <code>optional float tcp_ping_var = 11;</code>
+ * @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(
@@ -3241,6 +4184,17 @@ public final class Mumble {
}
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 {
return PARSER.parseFrom(data);
@@ -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;
}
/**
+ * <pre>
+ * 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.
+ * </pre>
+ *
* 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_ ;
/**
+ * <pre>
+ * Client timestamp. Server should not attempt to decode.
+ * </pre>
+ *
* <code>optional uint64 timestamp = 1;</code>
+ * @return Whether the timestamp field is set.
*/
public boolean hasTimestamp() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * Client timestamp. Server should not attempt to decode.
+ * </pre>
+ *
* <code>optional uint64 timestamp = 1;</code>
+ * @return The timestamp.
*/
public long getTimestamp() {
return timestamp_;
}
/**
+ * <pre>
+ * Client timestamp. Server should not attempt to decode.
+ * </pre>
+ *
* <code>optional uint64 timestamp = 1;</code>
+ * @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;
}
/**
+ * <pre>
+ * Client timestamp. Server should not attempt to decode.
+ * </pre>
+ *
* <code>optional uint64 timestamp = 1;</code>
+ * @return This builder for chaining.
*/
public Builder clearTimestamp() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -3580,19 +4578,35 @@ public final class Mumble {
private int good_ ;
/**
+ * <pre>
+ * The amount of good packets received.
+ * </pre>
+ *
* <code>optional uint32 good = 2;</code>
+ * @return Whether the good field is set.
*/
public boolean hasGood() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * The amount of good packets received.
+ * </pre>
+ *
* <code>optional uint32 good = 2;</code>
+ * @return The good.
*/
public int getGood() {
return good_;
}
/**
+ * <pre>
+ * The amount of good packets received.
+ * </pre>
+ *
* <code>optional uint32 good = 2;</code>
+ * @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;
}
/**
+ * <pre>
+ * The amount of good packets received.
+ * </pre>
+ *
* <code>optional uint32 good = 2;</code>
+ * @return This builder for chaining.
*/
public Builder clearGood() {
bitField0_ = (bitField0_ & ~0x00000002);
@@ -3612,19 +4631,35 @@ public final class Mumble {
private int late_ ;
/**
+ * <pre>
+ * The amount of late packets received.
+ * </pre>
+ *
* <code>optional uint32 late = 3;</code>
+ * @return Whether the late field is set.
*/
public boolean hasLate() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
+ * <pre>
+ * The amount of late packets received.
+ * </pre>
+ *
* <code>optional uint32 late = 3;</code>
+ * @return The late.
*/
public int getLate() {
return late_;
}
/**
+ * <pre>
+ * The amount of late packets received.
+ * </pre>
+ *
* <code>optional uint32 late = 3;</code>
+ * @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;
}
/**
+ * <pre>
+ * The amount of late packets received.
+ * </pre>
+ *
* <code>optional uint32 late = 3;</code>
+ * @return This builder for chaining.
*/
public Builder clearLate() {
bitField0_ = (bitField0_ & ~0x00000004);
@@ -3644,19 +4684,35 @@ public final class Mumble {
private int lost_ ;
/**
+ * <pre>
+ * The amount of packets never received.
+ * </pre>
+ *
* <code>optional uint32 lost = 4;</code>
+ * @return Whether the lost field is set.
*/
public boolean hasLost() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
+ * <pre>
+ * The amount of packets never received.
+ * </pre>
+ *
* <code>optional uint32 lost = 4;</code>
+ * @return The lost.
*/
public int getLost() {
return lost_;
}
/**
+ * <pre>
+ * The amount of packets never received.
+ * </pre>
+ *
* <code>optional uint32 lost = 4;</code>
+ * @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;
}
/**
+ * <pre>
+ * The amount of packets never received.
+ * </pre>
+ *
* <code>optional uint32 lost = 4;</code>
+ * @return This builder for chaining.
*/
public Builder clearLost() {
bitField0_ = (bitField0_ & ~0x00000008);
@@ -3676,19 +4737,35 @@ public final class Mumble {
private int resync_ ;
/**
+ * <pre>
+ * The amount of nonce resyncs.
+ * </pre>
+ *
* <code>optional uint32 resync = 5;</code>
+ * @return Whether the resync field is set.
*/
public boolean hasResync() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
+ * <pre>
+ * The amount of nonce resyncs.
+ * </pre>
+ *
* <code>optional uint32 resync = 5;</code>
+ * @return The resync.
*/
public int getResync() {
return resync_;
}
/**
+ * <pre>
+ * The amount of nonce resyncs.
+ * </pre>
+ *
* <code>optional uint32 resync = 5;</code>
+ * @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;
}
/**
+ * <pre>
+ * The amount of nonce resyncs.
+ * </pre>
+ *
* <code>optional uint32 resync = 5;</code>
+ * @return This builder for chaining.
*/
public Builder clearResync() {
bitField0_ = (bitField0_ & ~0x00000010);
@@ -3708,19 +4790,35 @@ public final class Mumble {
private int udpPackets_ ;
/**
+ * <pre>
+ * The total amount of UDP packets received.
+ * </pre>
+ *
* <code>optional uint32 udp_packets = 6;</code>
+ * @return Whether the udpPackets field is set.
*/
public boolean hasUdpPackets() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
+ return ((bitField0_ & 0x00000020) != 0);
}
/**
+ * <pre>
+ * The total amount of UDP packets received.
+ * </pre>
+ *
* <code>optional uint32 udp_packets = 6;</code>
+ * @return The udpPackets.
*/
public int getUdpPackets() {
return udpPackets_;
}
/**
+ * <pre>
+ * The total amount of UDP packets received.
+ * </pre>
+ *
* <code>optional uint32 udp_packets = 6;</code>
+ * @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;
}
/**
+ * <pre>
+ * The total amount of UDP packets received.
+ * </pre>
+ *
* <code>optional uint32 udp_packets = 6;</code>
+ * @return This builder for chaining.
*/
public Builder clearUdpPackets() {
bitField0_ = (bitField0_ & ~0x00000020);
@@ -3740,19 +4843,35 @@ public final class Mumble {
private int tcpPackets_ ;
/**
+ * <pre>
+ * The total amount of TCP packets received.
+ * </pre>
+ *
* <code>optional uint32 tcp_packets = 7;</code>
+ * @return Whether the tcpPackets field is set.
*/
public boolean hasTcpPackets() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
+ return ((bitField0_ & 0x00000040) != 0);
}
/**
+ * <pre>
+ * The total amount of TCP packets received.
+ * </pre>
+ *
* <code>optional uint32 tcp_packets = 7;</code>
+ * @return The tcpPackets.
*/
public int getTcpPackets() {
return tcpPackets_;
}
/**
+ * <pre>
+ * The total amount of TCP packets received.
+ * </pre>
+ *
* <code>optional uint32 tcp_packets = 7;</code>
+ * @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;
}
/**
+ * <pre>
+ * The total amount of TCP packets received.
+ * </pre>
+ *
* <code>optional uint32 tcp_packets = 7;</code>
+ * @return This builder for chaining.
*/
public Builder clearTcpPackets() {
bitField0_ = (bitField0_ & ~0x00000040);
@@ -3772,19 +4896,35 @@ public final class Mumble {
private float udpPingAvg_ ;
/**
+ * <pre>
+ * UDP ping average.
+ * </pre>
+ *
* <code>optional float udp_ping_avg = 8;</code>
+ * @return Whether the udpPingAvg field is set.
*/
public boolean hasUdpPingAvg() {
- return ((bitField0_ & 0x00000080) == 0x00000080);
+ return ((bitField0_ & 0x00000080) != 0);
}
/**
+ * <pre>
+ * UDP ping average.
+ * </pre>
+ *
* <code>optional float udp_ping_avg = 8;</code>
+ * @return The udpPingAvg.
*/
public float getUdpPingAvg() {
return udpPingAvg_;
}
/**
+ * <pre>
+ * UDP ping average.
+ * </pre>
+ *
* <code>optional float udp_ping_avg = 8;</code>
+ * @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;
}
/**
+ * <pre>
+ * UDP ping average.
+ * </pre>
+ *
* <code>optional float udp_ping_avg = 8;</code>
+ * @return This builder for chaining.
*/
public Builder clearUdpPingAvg() {
bitField0_ = (bitField0_ & ~0x00000080);
@@ -3804,19 +4949,35 @@ public final class Mumble {
private float udpPingVar_ ;
/**
+ * <pre>
+ * UDP ping variance.
+ * </pre>
+ *
* <code>optional float udp_ping_var = 9;</code>
+ * @return Whether the udpPingVar field is set.
*/
public boolean hasUdpPingVar() {
- return ((bitField0_ & 0x00000100) == 0x00000100);
+ return ((bitField0_ & 0x00000100) != 0);
}
/**
+ * <pre>
+ * UDP ping variance.
+ * </pre>
+ *
* <code>optional float udp_ping_var = 9;</code>
+ * @return The udpPingVar.
*/
public float getUdpPingVar() {
return udpPingVar_;
}
/**
+ * <pre>
+ * UDP ping variance.
+ * </pre>
+ *
* <code>optional float udp_ping_var = 9;</code>
+ * @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;
}
/**
+ * <pre>
+ * UDP ping variance.
+ * </pre>
+ *
* <code>optional float udp_ping_var = 9;</code>
+ * @return This builder for chaining.
*/
public Builder clearUdpPingVar() {
bitField0_ = (bitField0_ & ~0x00000100);
@@ -3836,19 +5002,35 @@ public final class Mumble {
private float tcpPingAvg_ ;
/**
+ * <pre>
+ * TCP ping average.
+ * </pre>
+ *
* <code>optional float tcp_ping_avg = 10;</code>
+ * @return Whether the tcpPingAvg field is set.
*/
public boolean hasTcpPingAvg() {
- return ((bitField0_ & 0x00000200) == 0x00000200);
+ return ((bitField0_ & 0x00000200) != 0);
}
/**
+ * <pre>
+ * TCP ping average.
+ * </pre>
+ *
* <code>optional float tcp_ping_avg = 10;</code>
+ * @return The tcpPingAvg.
*/
public float getTcpPingAvg() {
return tcpPingAvg_;
}
/**
+ * <pre>
+ * TCP ping average.
+ * </pre>
+ *
* <code>optional float tcp_ping_avg = 10;</code>
+ * @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;
}
/**
+ * <pre>
+ * TCP ping average.
+ * </pre>
+ *
* <code>optional float tcp_ping_avg = 10;</code>
+ * @return This builder for chaining.
*/
public Builder clearTcpPingAvg() {
bitField0_ = (bitField0_ & ~0x00000200);
@@ -3868,19 +5055,35 @@ public final class Mumble {
private float tcpPingVar_ ;
/**
+ * <pre>
+ * TCP ping variance.
+ * </pre>
+ *
* <code>optional float tcp_ping_var = 11;</code>
+ * @return Whether the tcpPingVar field is set.
*/
public boolean hasTcpPingVar() {
- return ((bitField0_ & 0x00000400) == 0x00000400);
+ return ((bitField0_ & 0x00000400) != 0);
}
/**
+ * <pre>
+ * TCP ping variance.
+ * </pre>
+ *
* <code>optional float tcp_ping_var = 11;</code>
+ * @return The tcpPingVar.
*/
public float getTcpPingVar() {
return tcpPingVar_;
}
/**
+ * <pre>
+ * TCP ping variance.
+ * </pre>
+ *
* <code>optional float tcp_ping_var = 11;</code>
+ * @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;
}
/**
+ * <pre>
+ * TCP ping variance.
+ * </pre>
+ *
* <code>optional float tcp_ping_var = 11;</code>
+ * @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<Ping>
PARSER = new com.google.protobuf.AbstractParser<Ping>() {
+ @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 {
/**
+ * <pre>
+ * Rejection type.
+ * </pre>
+ *
* <code>optional .MumbleProto.Reject.RejectType type = 1;</code>
+ * @return Whether the type field is set.
*/
boolean hasType();
/**
+ * <pre>
+ * Rejection type.
+ * </pre>
+ *
* <code>optional .MumbleProto.Reject.RejectType type = 1;</code>
+ * @return The type.
*/
se.lublin.humla.protobuf.Mumble.Reject.RejectType getType();
/**
+ * <pre>
+ * Human readable rejection reason.
+ * </pre>
+ *
* <code>optional string reason = 2;</code>
+ * @return Whether the reason field is set.
*/
boolean hasReason();
/**
+ * <pre>
+ * Human readable rejection reason.
+ * </pre>
+ *
* <code>optional string reason = 2;</code>
+ * @return The reason.
*/
java.lang.String getReason();
/**
+ * <pre>
+ * Human readable rejection reason.
+ * </pre>
+ *
* <code>optional string reason = 2;</code>
+ * @return The bytes for reason.
*/
com.google.protobuf.ByteString
getReasonBytes();
}
/**
+ * <pre>
+ * Sent by the server when it rejects the user connection.
+ * </pre>
+ *
* 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);
@@ -3990,6 +5232,13 @@ public final class Mumble {
}
@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() {
return this.unknownFields;
@@ -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 {
/**
+ * <pre>
+ * The rejection reason is unknown (details should be available
+ * in Reject.reason).
+ * </pre>
+ *
* <code>None = 0;</code>
*/
None(0),
/**
+ * <pre>
+ * The client attempted to connect with an incompatible version.
+ * </pre>
+ *
* <code>WrongVersion = 1;</code>
*/
WrongVersion(1),
/**
+ * <pre>
+ * The user name supplied by the client was invalid.
+ * </pre>
+ *
* <code>InvalidUsername = 2;</code>
*/
InvalidUsername(2),
/**
+ * <pre>
+ * The client attempted to authenticate as a user with a password but it
+ * was wrong.
+ * </pre>
+ *
* <code>WrongUserPW = 3;</code>
*/
WrongUserPW(3),
/**
+ * <pre>
+ * The client attempted to connect to a passworded server but the password
+ * was wrong.
+ * </pre>
+ *
* <code>WrongServerPW = 4;</code>
*/
WrongServerPW(4),
/**
+ * <pre>
+ * Supplied username is already in use.
+ * </pre>
+ *
* <code>UsernameInUse = 5;</code>
*/
UsernameInUse(5),
/**
+ * <pre>
+ * Server is currently full and cannot accept more users.
+ * </pre>
+ *
* <code>ServerFull = 6;</code>
*/
ServerFull(6),
/**
+ * <pre>
+ * The user did not provide a certificate but one is required.
+ * </pre>
+ *
* <code>NoCertificate = 7;</code>
*/
NoCertificate(7),
+ /**
+ * <code>AuthenticatorFail = 8;</code>
+ */
+ AuthenticatorFail(8),
;
/**
+ * <pre>
+ * The rejection reason is unknown (details should be available
+ * in Reject.reason).
+ * </pre>
+ *
* <code>None = 0;</code>
*/
public static final int None_VALUE = 0;
/**
+ * <pre>
+ * The client attempted to connect with an incompatible version.
+ * </pre>
+ *
* <code>WrongVersion = 1;</code>
*/
public static final int WrongVersion_VALUE = 1;
/**
+ * <pre>
+ * The user name supplied by the client was invalid.
+ * </pre>
+ *
* <code>InvalidUsername = 2;</code>
*/
public static final int InvalidUsername_VALUE = 2;
/**
+ * <pre>
+ * The client attempted to authenticate as a user with a password but it
+ * was wrong.
+ * </pre>
+ *
* <code>WrongUserPW = 3;</code>
*/
public static final int WrongUserPW_VALUE = 3;
/**
+ * <pre>
+ * The client attempted to connect to a passworded server but the password
+ * was wrong.
+ * </pre>
+ *
* <code>WrongServerPW = 4;</code>
*/
public static final int WrongServerPW_VALUE = 4;
/**
+ * <pre>
+ * Supplied username is already in use.
+ * </pre>
+ *
* <code>UsernameInUse = 5;</code>
*/
public static final int UsernameInUse_VALUE = 5;
/**
+ * <pre>
+ * Server is currently full and cannot accept more users.
+ * </pre>
+ *
* <code>ServerFull = 6;</code>
*/
public static final int ServerFull_VALUE = 6;
/**
+ * <pre>
+ * The user did not provide a certificate but one is required.
+ * </pre>
+ *
* <code>NoCertificate = 7;</code>
*/
public static final int NoCertificate_VALUE = 7;
+ /**
+ * <code>AuthenticatorFail = 8;</code>
+ */
+ 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_;
/**
+ * <pre>
+ * Rejection type.
+ * </pre>
+ *
* <code>optional .MumbleProto.Reject.RejectType type = 1;</code>
+ * @return Whether the type field is set.
*/
public boolean hasType() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * Rejection type.
+ * </pre>
+ *
* <code>optional .MumbleProto.Reject.RejectType type = 1;</code>
+ * @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_;
/**
+ * <pre>
+ * Human readable rejection reason.
+ * </pre>
+ *
* <code>optional string reason = 2;</code>
+ * @return Whether the reason field is set.
*/
public boolean hasReason() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * Human readable rejection reason.
+ * </pre>
+ *
* <code>optional string reason = 2;</code>
+ * @return The reason.
*/
public java.lang.String getReason() {
java.lang.Object ref = reason_;
@@ -4245,7 +5605,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Human readable rejection reason.
+ * </pre>
+ *
* <code>optional string reason = 2;</code>
+ * @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_;
@@ -4345,6 +5711,17 @@ public final class Mumble {
}
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 {
return PARSER.parseFrom(data);
@@ -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;
}
/**
+ * <pre>
+ * Sent by the server when it rejects the user connection.
+ * </pre>
+ *
* 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;
/**
+ * <pre>
+ * Rejection type.
+ * </pre>
+ *
* <code>optional .MumbleProto.Reject.RejectType type = 1;</code>
+ * @return Whether the type field is set.
*/
public boolean hasType() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * Rejection type.
+ * </pre>
+ *
* <code>optional .MumbleProto.Reject.RejectType type = 1;</code>
+ * @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;
}
/**
+ * <pre>
+ * Rejection type.
+ * </pre>
+ *
* <code>optional .MumbleProto.Reject.RejectType type = 1;</code>
+ * @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;
}
/**
+ * <pre>
+ * Rejection type.
+ * </pre>
+ *
* <code>optional .MumbleProto.Reject.RejectType type = 1;</code>
+ * @return This builder for chaining.
*/
public Builder clearType() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -4609,13 +6029,23 @@ public final class Mumble {
private java.lang.Object reason_ = "";
/**
+ * <pre>
+ * Human readable rejection reason.
+ * </pre>
+ *
* <code>optional string reason = 2;</code>
+ * @return Whether the reason field is set.
*/
public boolean hasReason() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * Human readable rejection reason.
+ * </pre>
+ *
* <code>optional string reason = 2;</code>
+ * @return The reason.
*/
public java.lang.String getReason() {
java.lang.Object ref = reason_;
@@ -4632,7 +6062,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Human readable rejection reason.
+ * </pre>
+ *
* <code>optional string reason = 2;</code>
+ * @return The bytes for reason.
*/
public com.google.protobuf.ByteString
getReasonBytes() {
@@ -4648,7 +6083,13 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Human readable rejection reason.
+ * </pre>
+ *
* <code>optional string reason = 2;</code>
+ * @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;
}
/**
+ * <pre>
+ * Human readable rejection reason.
+ * </pre>
+ *
* <code>optional string reason = 2;</code>
+ * @return This builder for chaining.
*/
public Builder clearReason() {
bitField0_ = (bitField0_ & ~0x00000002);
@@ -4670,7 +6116,13 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Human readable rejection reason.
+ * </pre>
+ *
* <code>optional string reason = 2;</code>
+ * @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<Reject>
PARSER = new com.google.protobuf.AbstractParser<Reject>() {
+ @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,900 +6180,8 @@ public final class Mumble {
return PARSER;
}
- public se.lublin.humla.protobuf.Mumble.Reject getDefaultInstanceForType() {
- return DEFAULT_INSTANCE;
- }
-
- }
-
- public interface ServerConfigOrBuilder extends
- // @@protoc_insertion_point(interface_extends:MumbleProto.ServerConfig)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * <code>optional uint32 max_bandwidth = 1;</code>
- */
- boolean hasMaxBandwidth();
- /**
- * <code>optional uint32 max_bandwidth = 1;</code>
- */
- int getMaxBandwidth();
-
- /**
- * <code>optional string welcome_text = 2;</code>
- */
- boolean hasWelcomeText();
- /**
- * <code>optional string welcome_text = 2;</code>
- */
- java.lang.String getWelcomeText();
- /**
- * <code>optional string welcome_text = 2;</code>
- */
- com.google.protobuf.ByteString
- getWelcomeTextBytes();
-
- /**
- * <code>optional bool allow_html = 3;</code>
- */
- boolean hasAllowHtml();
- /**
- * <code>optional bool allow_html = 3;</code>
- */
- boolean getAllowHtml();
-
- /**
- * <code>optional uint32 message_length = 4;</code>
- */
- boolean hasMessageLength();
- /**
- * <code>optional uint32 message_length = 4;</code>
- */
- int getMessageLength();
-
- /**
- * <code>optional uint32 image_message_length = 5;</code>
- */
- boolean hasImageMessageLength();
- /**
- * <code>optional uint32 image_message_length = 5;</code>
- */
- int getImageMessageLength();
- }
- /**
- * Protobuf type {@code MumbleProto.ServerConfig}
- */
- public static final class ServerConfig 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) {
- super(builder);
- }
- private ServerConfig() {
- maxBandwidth_ = 0;
- welcomeText_ = "";
- allowHtml_ = false;
- messageLength_ = 0;
- imageMessageLength_ = 0;
- }
-
@java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private ServerConfig(
- 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;
- maxBandwidth_ = input.readUInt32();
- break;
- }
- case 18: {
- com.google.protobuf.ByteString bs = input.readBytes();
- bitField0_ |= 0x00000002;
- welcomeText_ = bs;
- break;
- }
- case 24: {
- bitField0_ |= 0x00000004;
- allowHtml_ = input.readBool();
- break;
- }
- case 32: {
- bitField0_ |= 0x00000008;
- messageLength_ = input.readUInt32();
- break;
- }
- case 40: {
- bitField0_ |= 0x00000010;
- imageMessageLength_ = 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_ServerConfig_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ServerConfig_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- se.lublin.humla.protobuf.Mumble.ServerConfig.class, se.lublin.humla.protobuf.Mumble.ServerConfig.Builder.class);
- }
-
- private int bitField0_;
- public static final int MAX_BANDWIDTH_FIELD_NUMBER = 1;
- private int maxBandwidth_;
- /**
- * <code>optional uint32 max_bandwidth = 1;</code>
- */
- public boolean hasMaxBandwidth() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- /**
- * <code>optional uint32 max_bandwidth = 1;</code>
- */
- public int getMaxBandwidth() {
- return maxBandwidth_;
- }
-
- public static final int WELCOME_TEXT_FIELD_NUMBER = 2;
- private volatile java.lang.Object welcomeText_;
- /**
- * <code>optional string welcome_text = 2;</code>
- */
- public boolean hasWelcomeText() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- /**
- * <code>optional string welcome_text = 2;</code>
- */
- 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;
- }
- }
- /**
- * <code>optional string welcome_text = 2;</code>
- */
- 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 ALLOW_HTML_FIELD_NUMBER = 3;
- private boolean allowHtml_;
- /**
- * <code>optional bool allow_html = 3;</code>
- */
- public boolean hasAllowHtml() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- /**
- * <code>optional bool allow_html = 3;</code>
- */
- public boolean getAllowHtml() {
- return allowHtml_;
- }
-
- public static final int MESSAGE_LENGTH_FIELD_NUMBER = 4;
- private int messageLength_;
- /**
- * <code>optional uint32 message_length = 4;</code>
- */
- public boolean hasMessageLength() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
- }
- /**
- * <code>optional uint32 message_length = 4;</code>
- */
- public int getMessageLength() {
- return messageLength_;
- }
-
- public static final int IMAGE_MESSAGE_LENGTH_FIELD_NUMBER = 5;
- private int imageMessageLength_;
- /**
- * <code>optional uint32 image_message_length = 5;</code>
- */
- public boolean hasImageMessageLength() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
- }
- /**
- * <code>optional uint32 image_message_length = 5;</code>
- */
- public int getImageMessageLength() {
- return imageMessageLength_;
- }
-
- 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, maxBandwidth_);
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 2, welcomeText_);
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- output.writeBool(3, allowHtml_);
- }
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- output.writeUInt32(4, messageLength_);
- }
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- output.writeUInt32(5, imageMessageLength_);
- }
- 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, maxBandwidth_);
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, welcomeText_);
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBoolSize(3, allowHtml_);
- }
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(4, messageLength_);
- }
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(5, imageMessageLength_);
- }
- 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)) {
- return super.equals(obj);
- }
- se.lublin.humla.protobuf.Mumble.ServerConfig other = (se.lublin.humla.protobuf.Mumble.ServerConfig) obj;
-
- boolean result = true;
- 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 && (hasAllowHtml() == other.hasAllowHtml());
- if (hasAllowHtml()) {
- result = result && (getAllowHtml()
- == other.getAllowHtml());
- }
- result = result && (hasMessageLength() == other.hasMessageLength());
- if (hasMessageLength()) {
- result = result && (getMessageLength()
- == other.getMessageLength());
- }
- result = result && (hasImageMessageLength() == other.hasImageMessageLength());
- if (hasImageMessageLength()) {
- result = result && (getImageMessageLength()
- == other.getImageMessageLength());
- }
- 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 (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 (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();
- }
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- 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.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.ServerConfig parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- 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.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.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.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.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.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.ServerConfig 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.ServerConfig 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.ServerConfig}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
- // @@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_ServerConfig_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ServerConfig_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- se.lublin.humla.protobuf.Mumble.ServerConfig.class, se.lublin.humla.protobuf.Mumble.ServerConfig.Builder.class);
- }
-
- // Construct using se.lublin.humla.protobuf.Mumble.ServerConfig.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- 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();
- maxBandwidth_ = 0;
- bitField0_ = (bitField0_ & ~0x00000001);
- welcomeText_ = "";
- bitField0_ = (bitField0_ & ~0x00000002);
- allowHtml_ = false;
- bitField0_ = (bitField0_ & ~0x00000004);
- messageLength_ = 0;
- bitField0_ = (bitField0_ & ~0x00000008);
- imageMessageLength_ = 0;
- bitField0_ = (bitField0_ & ~0x00000010);
- return this;
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ServerConfig_descriptor;
- }
-
- public se.lublin.humla.protobuf.Mumble.ServerConfig getDefaultInstanceForType() {
- return se.lublin.humla.protobuf.Mumble.ServerConfig.getDefaultInstance();
- }
-
- 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.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)) {
- to_bitField0_ |= 0x00000001;
- }
- result.maxBandwidth_ = maxBandwidth_;
- if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
- to_bitField0_ |= 0x00000002;
- }
- result.welcomeText_ = welcomeText_;
- if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
- to_bitField0_ |= 0x00000004;
- }
- result.allowHtml_ = allowHtml_;
- if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
- to_bitField0_ |= 0x00000008;
- }
- result.messageLength_ = messageLength_;
- if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
- to_bitField0_ |= 0x00000010;
- }
- result.imageMessageLength_ = imageMessageLength_;
- result.bitField0_ = to_bitField0_;
- onBuilt();
- return result;
- }
-
- public Builder clone() {
- return (Builder) super.clone();
- }
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.setField(field, value);
- }
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return (Builder) super.clearField(field);
- }
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return (Builder) super.clearOneof(oneof);
- }
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, Object value) {
- return (Builder) super.setRepeatedField(field, index, value);
- }
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.addRepeatedField(field, value);
- }
- 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);
- } 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;
- if (other.hasMaxBandwidth()) {
- setMaxBandwidth(other.getMaxBandwidth());
- }
- if (other.hasWelcomeText()) {
- bitField0_ |= 0x00000002;
- welcomeText_ = other.welcomeText_;
- onChanged();
- }
- if (other.hasAllowHtml()) {
- setAllowHtml(other.getAllowHtml());
- }
- if (other.hasMessageLength()) {
- setMessageLength(other.getMessageLength());
- }
- if (other.hasImageMessageLength()) {
- setImageMessageLength(other.getImageMessageLength());
- }
- this.mergeUnknownFields(other.unknownFields);
- onChanged();
- return this;
- }
-
- public final boolean isInitialized() {
- return true;
- }
-
- 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;
- try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (se.lublin.humla.protobuf.Mumble.ServerConfig) e.getUnfinishedMessage();
- throw e.unwrapIOException();
- } finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
- return this;
- }
- private int bitField0_;
-
- private int maxBandwidth_ ;
- /**
- * <code>optional uint32 max_bandwidth = 1;</code>
- */
- public boolean hasMaxBandwidth() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- /**
- * <code>optional uint32 max_bandwidth = 1;</code>
- */
- public int getMaxBandwidth() {
- return maxBandwidth_;
- }
- /**
- * <code>optional uint32 max_bandwidth = 1;</code>
- */
- public Builder setMaxBandwidth(int value) {
- bitField0_ |= 0x00000001;
- maxBandwidth_ = value;
- onChanged();
- return this;
- }
- /**
- * <code>optional uint32 max_bandwidth = 1;</code>
- */
- public Builder clearMaxBandwidth() {
- bitField0_ = (bitField0_ & ~0x00000001);
- maxBandwidth_ = 0;
- onChanged();
- return this;
- }
-
- private java.lang.Object welcomeText_ = "";
- /**
- * <code>optional string welcome_text = 2;</code>
- */
- public boolean hasWelcomeText() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- /**
- * <code>optional string welcome_text = 2;</code>
- */
- 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;
- }
- }
- /**
- * <code>optional string welcome_text = 2;</code>
- */
- 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;
- }
- }
- /**
- * <code>optional string welcome_text = 2;</code>
- */
- public Builder setWelcomeText(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000002;
- welcomeText_ = value;
- onChanged();
- return this;
- }
- /**
- * <code>optional string welcome_text = 2;</code>
- */
- public Builder clearWelcomeText() {
- bitField0_ = (bitField0_ & ~0x00000002);
- welcomeText_ = getDefaultInstance().getWelcomeText();
- onChanged();
- return this;
- }
- /**
- * <code>optional string welcome_text = 2;</code>
- */
- public Builder setWelcomeTextBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000002;
- welcomeText_ = value;
- onChanged();
- return this;
- }
-
- private boolean allowHtml_ ;
- /**
- * <code>optional bool allow_html = 3;</code>
- */
- public boolean hasAllowHtml() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- /**
- * <code>optional bool allow_html = 3;</code>
- */
- public boolean getAllowHtml() {
- return allowHtml_;
- }
- /**
- * <code>optional bool allow_html = 3;</code>
- */
- public Builder setAllowHtml(boolean value) {
- bitField0_ |= 0x00000004;
- allowHtml_ = value;
- onChanged();
- return this;
- }
- /**
- * <code>optional bool allow_html = 3;</code>
- */
- public Builder clearAllowHtml() {
- bitField0_ = (bitField0_ & ~0x00000004);
- allowHtml_ = false;
- onChanged();
- return this;
- }
-
- private int messageLength_ ;
- /**
- * <code>optional uint32 message_length = 4;</code>
- */
- public boolean hasMessageLength() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
- }
- /**
- * <code>optional uint32 message_length = 4;</code>
- */
- public int getMessageLength() {
- return messageLength_;
- }
- /**
- * <code>optional uint32 message_length = 4;</code>
- */
- public Builder setMessageLength(int value) {
- bitField0_ |= 0x00000008;
- messageLength_ = value;
- onChanged();
- return this;
- }
- /**
- * <code>optional uint32 message_length = 4;</code>
- */
- public Builder clearMessageLength() {
- bitField0_ = (bitField0_ & ~0x00000008);
- messageLength_ = 0;
- onChanged();
- return this;
- }
-
- private int imageMessageLength_ ;
- /**
- * <code>optional uint32 image_message_length = 5;</code>
- */
- public boolean hasImageMessageLength() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
- }
- /**
- * <code>optional uint32 image_message_length = 5;</code>
- */
- public int getImageMessageLength() {
- return imageMessageLength_;
- }
- /**
- * <code>optional uint32 image_message_length = 5;</code>
- */
- public Builder setImageMessageLength(int value) {
- bitField0_ |= 0x00000010;
- imageMessageLength_ = value;
- onChanged();
- return this;
- }
- /**
- * <code>optional uint32 image_message_length = 5;</code>
- */
- public Builder clearImageMessageLength() {
- bitField0_ = (bitField0_ & ~0x00000010);
- imageMessageLength_ = 0;
- 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);
- }
-
-
- // @@protoc_insertion_point(builder_scope:MumbleProto.ServerConfig)
- }
-
- // @@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.ServerConfig();
- }
-
- public static se.lublin.humla.protobuf.Mumble.ServerConfig getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- @java.lang.Deprecated public static final com.google.protobuf.Parser<ServerConfig>
- PARSER = new com.google.protobuf.AbstractParser<ServerConfig>() {
- public ServerConfig parsePartialFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return new ServerConfig(input, extensionRegistry);
- }
- };
-
- public static com.google.protobuf.Parser<ServerConfig> parser() {
- return PARSER;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parser<ServerConfig> getParserForType() {
- return PARSER;
- }
-
- public se.lublin.humla.protobuf.Mumble.ServerConfig getDefaultInstanceForType() {
+ public se.lublin.humla.protobuf.Mumble.Reject getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
@@ -5629,62 +6192,117 @@ public final class Mumble {
com.google.protobuf.MessageOrBuilder {
/**
+ * <pre>
+ * The session of the current user.
+ * </pre>
+ *
* <code>optional uint32 session = 1;</code>
+ * @return Whether the session field is set.
*/
boolean hasSession();
/**
+ * <pre>
+ * The session of the current user.
+ * </pre>
+ *
* <code>optional uint32 session = 1;</code>
+ * @return The session.
*/
int getSession();
/**
+ * <pre>
+ * Maximum bandwidth that the user should use.
+ * </pre>
+ *
* <code>optional uint32 max_bandwidth = 2;</code>
+ * @return Whether the maxBandwidth field is set.
*/
boolean hasMaxBandwidth();
/**
+ * <pre>
+ * Maximum bandwidth that the user should use.
+ * </pre>
+ *
* <code>optional uint32 max_bandwidth = 2;</code>
+ * @return The maxBandwidth.
*/
int getMaxBandwidth();
/**
+ * <pre>
+ * Server welcome text.
+ * </pre>
+ *
* <code>optional string welcome_text = 3;</code>
+ * @return Whether the welcomeText field is set.
*/
boolean hasWelcomeText();
/**
+ * <pre>
+ * Server welcome text.
+ * </pre>
+ *
* <code>optional string welcome_text = 3;</code>
+ * @return The welcomeText.
*/
java.lang.String getWelcomeText();
/**
+ * <pre>
+ * Server welcome text.
+ * </pre>
+ *
* <code>optional string welcome_text = 3;</code>
+ * @return The bytes for welcomeText.
*/
com.google.protobuf.ByteString
getWelcomeTextBytes();
/**
+ * <pre>
+ * Current user permissions in the root channel.
+ * </pre>
+ *
* <code>optional uint64 permissions = 4;</code>
+ * @return Whether the permissions field is set.
*/
boolean hasPermissions();
/**
+ * <pre>
+ * Current user permissions in the root channel.
+ * </pre>
+ *
* <code>optional uint64 permissions = 4;</code>
+ * @return The permissions.
*/
long getPermissions();
}
/**
+ * <pre>
+ * ServerSync message is sent by the server when it has authenticated the user
+ * and finished synchronizing the server state.
+ * </pre>
+ *
* Protobuf type {@code MumbleProto.ServerSync}
*/
public static final class ServerSync extends
com.google.protobuf.GeneratedMessageV3 implements
// @@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 ServerSync() {
- session_ = 0;
- maxBandwidth_ = 0;
welcomeText_ = "";
- permissions_ = 0L;
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new ServerSync();
}
@java.lang.Override
@@ -5697,6 +6315,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();
@@ -5708,13 +6329,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();
@@ -5736,6 +6350,13 @@ public final class Mumble {
permissions_ = input.readUInt64();
break;
}
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -5753,6 +6374,7 @@ public final class Mumble {
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_ServerSync_fieldAccessorTable
@@ -5764,13 +6386,23 @@ public final class Mumble {
public static final int SESSION_FIELD_NUMBER = 1;
private int session_;
/**
+ * <pre>
+ * The session of the current user.
+ * </pre>
+ *
* <code>optional uint32 session = 1;</code>
+ * @return Whether the session field is set.
*/
public boolean hasSession() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * The session of the current user.
+ * </pre>
+ *
* <code>optional uint32 session = 1;</code>
+ * @return The session.
*/
public int getSession() {
return session_;
@@ -5779,13 +6411,23 @@ public final class Mumble {
public static final int MAX_BANDWIDTH_FIELD_NUMBER = 2;
private int maxBandwidth_;
/**
+ * <pre>
+ * Maximum bandwidth that the user should use.
+ * </pre>
+ *
* <code>optional uint32 max_bandwidth = 2;</code>
+ * @return Whether the maxBandwidth field is set.
*/
public boolean hasMaxBandwidth() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * Maximum bandwidth that the user should use.
+ * </pre>
+ *
* <code>optional uint32 max_bandwidth = 2;</code>
+ * @return The maxBandwidth.
*/
public int getMaxBandwidth() {
return maxBandwidth_;
@@ -5794,13 +6436,23 @@ public final class Mumble {
public static final int WELCOME_TEXT_FIELD_NUMBER = 3;
private volatile java.lang.Object welcomeText_;
/**
+ * <pre>
+ * Server welcome text.
+ * </pre>
+ *
* <code>optional string welcome_text = 3;</code>
+ * @return Whether the welcomeText field is set.
*/
public boolean hasWelcomeText() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
+ * <pre>
+ * Server welcome text.
+ * </pre>
+ *
* <code>optional string welcome_text = 3;</code>
+ * @return The welcomeText.
*/
public java.lang.String getWelcomeText() {
java.lang.Object ref = welcomeText_;
@@ -5817,7 +6469,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Server welcome text.
+ * </pre>
+ *
* <code>optional string welcome_text = 3;</code>
+ * @return The bytes for welcomeText.
*/
public com.google.protobuf.ByteString
getWelcomeTextBytes() {
@@ -5836,19 +6493,30 @@ public final class Mumble {
public static final int PERMISSIONS_FIELD_NUMBER = 4;
private long permissions_;
/**
+ * <pre>
+ * Current user permissions in the root channel.
+ * </pre>
+ *
* <code>optional uint64 permissions = 4;</code>
+ * @return Whether the permissions field is set.
*/
public boolean hasPermissions() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
+ * <pre>
+ * Current user permissions in the root channel.
+ * </pre>
+ *
* <code>optional uint64 permissions = 4;</code>
+ * @return The permissions.
*/
public long getPermissions() {
return permissions_;
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -5858,40 +6526,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, maxBandwidth_);
}
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, welcomeText_);
}
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ 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, session_);
}
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, maxBandwidth_);
}
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, welcomeText_);
}
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(4, permissions_);
}
@@ -5900,7 +6570,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) {
@@ -5911,29 +6580,28 @@ public final class Mumble {
}
se.lublin.humla.protobuf.Mumble.ServerSync other = (se.lublin.humla.protobuf.Mumble.ServerSync) 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 && (hasMaxBandwidth() == other.hasMaxBandwidth());
+ 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());
+ if (!getWelcomeText()
+ .equals(other.getWelcomeText())) 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 && unknownFields.equals(other.unknownFields);
- return result;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
}
@java.lang.Override
@@ -5942,7 +6610,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();
@@ -5966,6 +6634,17 @@ public final class Mumble {
}
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);
@@ -6024,6 +6703,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();
@@ -6031,6 +6711,7 @@ public final class Mumble {
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);
@@ -6043,6 +6724,11 @@ public final class Mumble {
return builder;
}
/**
+ * <pre>
+ * ServerSync message is sent by the server when it has authenticated the user
+ * and finished synchronizing the server state.
+ * </pre>
+ *
* Protobuf type {@code MumbleProto.ServerSync}
*/
public static final class Builder extends
@@ -6054,6 +6740,7 @@ public final class Mumble {
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_ServerSync_fieldAccessorTable
@@ -6076,6 +6763,7 @@ public final class Mumble {
.alwaysUseFieldBuilders) {
}
}
+ @java.lang.Override
public Builder clear() {
super.clear();
session_ = 0;
@@ -6089,15 +6777,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_ServerSync_descriptor;
}
+ @java.lang.Override
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.ServerSync build() {
se.lublin.humla.protobuf.Mumble.ServerSync result = buildPartial();
if (!result.isInitialized()) {
@@ -6106,57 +6797,65 @@ public final class Mumble {
return result;
}
+ @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.session_ = session_;
- if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.maxBandwidth_ = maxBandwidth_;
to_bitField0_ |= 0x00000002;
}
- result.maxBandwidth_ = maxBandwidth_;
- if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
+ if (((from_bitField0_ & 0x00000004) != 0)) {
to_bitField0_ |= 0x00000004;
}
result.welcomeText_ = welcomeText_;
- if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.permissions_ = permissions_;
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);
@@ -6187,10 +6886,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)
@@ -6212,19 +6913,35 @@ public final class Mumble {
private int session_ ;
/**
+ * <pre>
+ * The session of the current user.
+ * </pre>
+ *
* <code>optional uint32 session = 1;</code>
+ * @return Whether the session field is set.
*/
public boolean hasSession() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * The session of the current user.
+ * </pre>
+ *
* <code>optional uint32 session = 1;</code>
+ * @return The session.
*/
public int getSession() {
return session_;
}
/**
+ * <pre>
+ * The session of the current user.
+ * </pre>
+ *
* <code>optional uint32 session = 1;</code>
+ * @param value The session to set.
+ * @return This builder for chaining.
*/
public Builder setSession(int value) {
bitField0_ |= 0x00000001;
@@ -6233,7 +6950,12 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * The session of the current user.
+ * </pre>
+ *
* <code>optional uint32 session = 1;</code>
+ * @return This builder for chaining.
*/
public Builder clearSession() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -6244,19 +6966,35 @@ public final class Mumble {
private int maxBandwidth_ ;
/**
+ * <pre>
+ * Maximum bandwidth that the user should use.
+ * </pre>
+ *
* <code>optional uint32 max_bandwidth = 2;</code>
+ * @return Whether the maxBandwidth field is set.
*/
public boolean hasMaxBandwidth() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * Maximum bandwidth that the user should use.
+ * </pre>
+ *
* <code>optional uint32 max_bandwidth = 2;</code>
+ * @return The maxBandwidth.
*/
public int getMaxBandwidth() {
return maxBandwidth_;
}
/**
+ * <pre>
+ * Maximum bandwidth that the user should use.
+ * </pre>
+ *
* <code>optional uint32 max_bandwidth = 2;</code>
+ * @param value The maxBandwidth to set.
+ * @return This builder for chaining.
*/
public Builder setMaxBandwidth(int value) {
bitField0_ |= 0x00000002;
@@ -6265,7 +7003,12 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Maximum bandwidth that the user should use.
+ * </pre>
+ *
* <code>optional uint32 max_bandwidth = 2;</code>
+ * @return This builder for chaining.
*/
public Builder clearMaxBandwidth() {
bitField0_ = (bitField0_ & ~0x00000002);
@@ -6276,13 +7019,23 @@ public final class Mumble {
private java.lang.Object welcomeText_ = "";
/**
+ * <pre>
+ * Server welcome text.
+ * </pre>
+ *
* <code>optional string welcome_text = 3;</code>
+ * @return Whether the welcomeText field is set.
*/
public boolean hasWelcomeText() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
+ * <pre>
+ * Server welcome text.
+ * </pre>
+ *
* <code>optional string welcome_text = 3;</code>
+ * @return The welcomeText.
*/
public java.lang.String getWelcomeText() {
java.lang.Object ref = welcomeText_;
@@ -6299,7 +7052,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Server welcome text.
+ * </pre>
+ *
* <code>optional string welcome_text = 3;</code>
+ * @return The bytes for welcomeText.
*/
public com.google.protobuf.ByteString
getWelcomeTextBytes() {
@@ -6315,7 +7073,13 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Server welcome text.
+ * </pre>
+ *
* <code>optional string welcome_text = 3;</code>
+ * @param value The welcomeText to set.
+ * @return This builder for chaining.
*/
public Builder setWelcomeText(
java.lang.String value) {
@@ -6328,7 +7092,12 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Server welcome text.
+ * </pre>
+ *
* <code>optional string welcome_text = 3;</code>
+ * @return This builder for chaining.
*/
public Builder clearWelcomeText() {
bitField0_ = (bitField0_ & ~0x00000004);
@@ -6337,7 +7106,13 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Server welcome text.
+ * </pre>
+ *
* <code>optional string welcome_text = 3;</code>
+ * @param value The bytes for welcomeText to set.
+ * @return This builder for chaining.
*/
public Builder setWelcomeTextBytes(
com.google.protobuf.ByteString value) {
@@ -6352,19 +7127,35 @@ public final class Mumble {
private long permissions_ ;
/**
+ * <pre>
+ * Current user permissions in the root channel.
+ * </pre>
+ *
* <code>optional uint64 permissions = 4;</code>
+ * @return Whether the permissions field is set.
*/
public boolean hasPermissions() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
+ * <pre>
+ * Current user permissions in the root channel.
+ * </pre>
+ *
* <code>optional uint64 permissions = 4;</code>
+ * @return The permissions.
*/
public long getPermissions() {
return permissions_;
}
/**
+ * <pre>
+ * Current user permissions in the root channel.
+ * </pre>
+ *
* <code>optional uint64 permissions = 4;</code>
+ * @param value The permissions to set.
+ * @return This builder for chaining.
*/
public Builder setPermissions(long value) {
bitField0_ |= 0x00000008;
@@ -6373,7 +7164,12 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Current user permissions in the root channel.
+ * </pre>
+ *
* <code>optional uint64 permissions = 4;</code>
+ * @return This builder for chaining.
*/
public Builder clearPermissions() {
bitField0_ = (bitField0_ & ~0x00000008);
@@ -6381,11 +7177,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);
@@ -6407,11 +7205,12 @@ public final class Mumble {
@java.lang.Deprecated public static final com.google.protobuf.Parser<ServerSync>
PARSER = new com.google.protobuf.AbstractParser<ServerSync>() {
+ @java.lang.Override
public ServerSync parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new ServerSync(input, extensionRegistry);
+ return new ServerSync(input, extensionRegistry);
}
};
@@ -6424,6 +7223,7 @@ public final class Mumble {
return PARSER;
}
+ @java.lang.Override
public se.lublin.humla.protobuf.Mumble.ServerSync getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
@@ -6436,26 +7236,40 @@ public final class Mumble {
/**
* <code>required uint32 channel_id = 1;</code>
+ * @return Whether the channelId field is set.
*/
boolean hasChannelId();
/**
* <code>required uint32 channel_id = 1;</code>
+ * @return The channelId.
*/
int getChannelId();
}
/**
+ * <pre>
+ * 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.
+ * </pre>
+ *
* Protobuf type {@code MumbleProto.ChannelRemove}
*/
public static final class ChannelRemove extends
com.google.protobuf.GeneratedMessageV3 implements
// @@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 ChannelRemove() {
- channelId_ = 0;
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new ChannelRemove();
}
@java.lang.Override
@@ -6468,6 +7282,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();
@@ -6479,18 +7296,18 @@ 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;
}
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -6508,6 +7325,7 @@ public final class Mumble {
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_ChannelRemove_fieldAccessorTable
@@ -6520,18 +7338,21 @@ public final class Mumble {
private int channelId_;
/**
* <code>required uint32 channel_id = 1;</code>
+ * @return Whether the channelId field is set.
*/
public boolean hasChannelId() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>required uint32 channel_id = 1;</code>
+ * @return The channelId.
*/
public int getChannelId() {
return channelId_;
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -6545,20 +7366,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.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)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, channelId_);
}
@@ -6567,7 +7390,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) {
@@ -6578,14 +7400,13 @@ public final class Mumble {
}
se.lublin.humla.protobuf.Mumble.ChannelRemove other = (se.lublin.humla.protobuf.Mumble.ChannelRemove) 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 && unknownFields.equals(other.unknownFields);
- return result;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
}
@java.lang.Override
@@ -6594,7 +7415,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();
@@ -6605,6 +7426,17 @@ public final class Mumble {
}
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.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.ChannelRemove parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
@@ -6663,6 +7495,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();
@@ -6670,6 +7503,7 @@ public final class Mumble {
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);
@@ -6682,6 +7516,11 @@ public final class Mumble {
return builder;
}
/**
+ * <pre>
+ * 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.
+ * </pre>
+ *
* Protobuf type {@code MumbleProto.ChannelRemove}
*/
public static final class Builder extends
@@ -6693,6 +7532,7 @@ public final class Mumble {
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_ChannelRemove_fieldAccessorTable
@@ -6715,6 +7555,7 @@ public final class Mumble {
.alwaysUseFieldBuilders) {
}
}
+ @java.lang.Override
public Builder clear() {
super.clear();
channelId_ = 0;
@@ -6722,15 +7563,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_ChannelRemove_descriptor;
}
+ @java.lang.Override
public se.lublin.humla.protobuf.Mumble.ChannelRemove getDefaultInstanceForType() {
return se.lublin.humla.protobuf.Mumble.ChannelRemove.getDefaultInstance();
}
+ @java.lang.Override
public se.lublin.humla.protobuf.Mumble.ChannelRemove build() {
se.lublin.humla.protobuf.Mumble.ChannelRemove result = buildPartial();
if (!result.isInitialized()) {
@@ -6739,45 +7583,53 @@ public final class Mumble {
return result;
}
+ @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.channelId_ = channelId_;
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.ChannelRemove) {
return mergeFrom((se.lublin.humla.protobuf.Mumble.ChannelRemove)other);
@@ -6797,6 +7649,7 @@ public final class Mumble {
return this;
}
+ @java.lang.Override
public final boolean isInitialized() {
if (!hasChannelId()) {
return false;
@@ -6804,6 +7657,7 @@ public final class Mumble {
return true;
}
+ @java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -6826,18 +7680,22 @@ public final class Mumble {
private int channelId_ ;
/**
* <code>required uint32 channel_id = 1;</code>
+ * @return Whether the channelId field is set.
*/
public boolean hasChannelId() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>required uint32 channel_id = 1;</code>
+ * @return The channelId.
*/
public int getChannelId() {
return channelId_;
}
/**
* <code>required uint32 channel_id = 1;</code>
+ * @param value The channelId to set.
+ * @return This builder for chaining.
*/
public Builder setChannelId(int value) {
bitField0_ |= 0x00000001;
@@ -6847,6 +7705,7 @@ public final class Mumble {
}
/**
* <code>required uint32 channel_id = 1;</code>
+ * @return This builder for chaining.
*/
public Builder clearChannelId() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -6854,11 +7713,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);
@@ -6880,11 +7741,12 @@ public final class Mumble {
@java.lang.Deprecated public static final com.google.protobuf.Parser<ChannelRemove>
PARSER = new com.google.protobuf.AbstractParser<ChannelRemove>() {
+ @java.lang.Override
public ChannelRemove parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new ChannelRemove(input, extensionRegistry);
+ return new ChannelRemove(input, extensionRegistry);
}
};
@@ -6897,6 +7759,7 @@ public final class Mumble {
return PARSER;
}
+ @java.lang.Override
public se.lublin.humla.protobuf.Mumble.ChannelRemove getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
@@ -6908,142 +7771,309 @@ public final class Mumble {
com.google.protobuf.MessageOrBuilder {
/**
+ * <pre>
+ * Unique ID for the channel within the server.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 1;</code>
+ * @return Whether the channelId field is set.
*/
boolean hasChannelId();
/**
+ * <pre>
+ * Unique ID for the channel within the server.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 1;</code>
+ * @return The channelId.
*/
int getChannelId();
/**
+ * <pre>
+ * channel_id of the parent channel.
+ * </pre>
+ *
* <code>optional uint32 parent = 2;</code>
+ * @return Whether the parent field is set.
*/
boolean hasParent();
/**
+ * <pre>
+ * channel_id of the parent channel.
+ * </pre>
+ *
* <code>optional uint32 parent = 2;</code>
+ * @return The parent.
*/
int getParent();
/**
+ * <pre>
+ * UTF-8 encoded channel name.
+ * </pre>
+ *
* <code>optional string name = 3;</code>
+ * @return Whether the name field is set.
*/
boolean hasName();
/**
+ * <pre>
+ * UTF-8 encoded channel name.
+ * </pre>
+ *
* <code>optional string name = 3;</code>
+ * @return The name.
*/
java.lang.String getName();
/**
+ * <pre>
+ * UTF-8 encoded channel name.
+ * </pre>
+ *
* <code>optional string name = 3;</code>
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
+ * <pre>
+ * A collection of channel id values of the linked channels. Absent during
+ * the first channel listing.
+ * </pre>
+ *
* <code>repeated uint32 links = 4;</code>
+ * @return A list containing the links.
*/
java.util.List<java.lang.Integer> getLinksList();
/**
+ * <pre>
+ * A collection of channel id values of the linked channels. Absent during
+ * the first channel listing.
+ * </pre>
+ *
* <code>repeated uint32 links = 4;</code>
+ * @return The count of links.
*/
int getLinksCount();
/**
+ * <pre>
+ * A collection of channel id values of the linked channels. Absent during
+ * the first channel listing.
+ * </pre>
+ *
* <code>repeated uint32 links = 4;</code>
+ * @param index The index of the element to return.
+ * @return The links at the given index.
*/
int getLinks(int index);
/**
+ * <pre>
+ * UTF-8 encoded channel description. Only if the description is less than
+ * 128 bytes
+ * </pre>
+ *
* <code>optional string description = 5;</code>
+ * @return Whether the description field is set.
*/
boolean hasDescription();
/**
+ * <pre>
+ * UTF-8 encoded channel description. Only if the description is less than
+ * 128 bytes
+ * </pre>
+ *
* <code>optional string description = 5;</code>
+ * @return The description.
*/
java.lang.String getDescription();
/**
+ * <pre>
+ * UTF-8 encoded channel description. Only if the description is less than
+ * 128 bytes
+ * </pre>
+ *
* <code>optional string description = 5;</code>
+ * @return The bytes for description.
*/
com.google.protobuf.ByteString
getDescriptionBytes();
/**
+ * <pre>
+ * A collection of channel_id values that should be added to links.
+ * </pre>
+ *
* <code>repeated uint32 links_add = 6;</code>
+ * @return A list containing the linksAdd.
*/
java.util.List<java.lang.Integer> getLinksAddList();
/**
+ * <pre>
+ * A collection of channel_id values that should be added to links.
+ * </pre>
+ *
* <code>repeated uint32 links_add = 6;</code>
+ * @return The count of linksAdd.
*/
int getLinksAddCount();
/**
+ * <pre>
+ * A collection of channel_id values that should be added to links.
+ * </pre>
+ *
* <code>repeated uint32 links_add = 6;</code>
+ * @param index The index of the element to return.
+ * @return The linksAdd at the given index.
*/
int getLinksAdd(int index);
/**
+ * <pre>
+ * A collection of channel_id values that should be removed from links.
+ * </pre>
+ *
* <code>repeated uint32 links_remove = 7;</code>
+ * @return A list containing the linksRemove.
*/
java.util.List<java.lang.Integer> getLinksRemoveList();
/**
+ * <pre>
+ * A collection of channel_id values that should be removed from links.
+ * </pre>
+ *
* <code>repeated uint32 links_remove = 7;</code>
+ * @return The count of linksRemove.
*/
int getLinksRemoveCount();
/**
+ * <pre>
+ * A collection of channel_id values that should be removed from links.
+ * </pre>
+ *
* <code>repeated uint32 links_remove = 7;</code>
+ * @param index The index of the element to return.
+ * @return The linksRemove at the given index.
*/
int getLinksRemove(int index);
/**
+ * <pre>
+ * True if the channel is temporary.
+ * </pre>
+ *
* <code>optional bool temporary = 8 [default = false];</code>
+ * @return Whether the temporary field is set.
*/
boolean hasTemporary();
/**
+ * <pre>
+ * True if the channel is temporary.
+ * </pre>
+ *
* <code>optional bool temporary = 8 [default = false];</code>
+ * @return The temporary.
*/
boolean getTemporary();
/**
+ * <pre>
+ * Position weight to tweak the channel position in the channel list.
+ * </pre>
+ *
* <code>optional int32 position = 9 [default = 0];</code>
+ * @return Whether the position field is set.
*/
boolean hasPosition();
/**
+ * <pre>
+ * Position weight to tweak the channel position in the channel list.
+ * </pre>
+ *
* <code>optional int32 position = 9 [default = 0];</code>
+ * @return The position.
*/
int getPosition();
/**
+ * <pre>
+ * SHA1 hash of the description if the description is 128 bytes or more.
+ * </pre>
+ *
* <code>optional bytes description_hash = 10;</code>
+ * @return Whether the descriptionHash field is set.
*/
boolean hasDescriptionHash();
/**
+ * <pre>
+ * SHA1 hash of the description if the description is 128 bytes or more.
+ * </pre>
+ *
* <code>optional bytes description_hash = 10;</code>
+ * @return The descriptionHash.
*/
com.google.protobuf.ByteString getDescriptionHash();
+
+ /**
+ * <pre>
+ * 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.
+ * </pre>
+ *
+ * <code>optional uint32 max_users = 11;</code>
+ * @return Whether the maxUsers field is set.
+ */
+ boolean hasMaxUsers();
+ /**
+ * <pre>
+ * 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.
+ * </pre>
+ *
+ * <code>optional uint32 max_users = 11;</code>
+ * @return The maxUsers.
+ */
+ int getMaxUsers();
}
/**
+ * <pre>
+ * 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.
+ * </pre>
+ *
* Protobuf type {@code MumbleProto.ChannelState}
*/
public static final class ChannelState extends
com.google.protobuf.GeneratedMessageV3 implements
// @@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 ChannelState() {
- channelId_ = 0;
- parent_ = 0;
name_ = "";
- links_ = java.util.Collections.emptyList();
+ links_ = emptyIntList();
description_ = "";
- linksAdd_ = java.util.Collections.emptyList();
- linksRemove_ = java.util.Collections.emptyList();
- temporary_ = false;
- position_ = 0;
+ 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
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
@@ -7053,6 +8083,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();
@@ -7064,13 +8097,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();
@@ -7088,22 +8114,22 @@ public final class Mumble {
break;
}
case 32: {
- if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
- links_ = new java.util.ArrayList<java.lang.Integer>();
+ if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+ links_ = newIntList();
mutable_bitField0_ |= 0x00000008;
}
- links_.add(input.readUInt32());
+ links_.addInt(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<java.lang.Integer>();
+ if (!((mutable_bitField0_ & 0x00000008) != 0) && input.getBytesUntilLimit() > 0) {
+ links_ = newIntList();
mutable_bitField0_ |= 0x00000008;
}
while (input.getBytesUntilLimit() > 0) {
- links_.add(input.readUInt32());
+ links_.addInt(input.readUInt32());
}
input.popLimit(limit);
break;
@@ -7115,43 +8141,43 @@ public final class Mumble {
break;
}
case 48: {
- if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
- linksAdd_ = new java.util.ArrayList<java.lang.Integer>();
+ if (!((mutable_bitField0_ & 0x00000020) != 0)) {
+ linksAdd_ = newIntList();
mutable_bitField0_ |= 0x00000020;
}
- linksAdd_.add(input.readUInt32());
+ linksAdd_.addInt(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<java.lang.Integer>();
+ if (!((mutable_bitField0_ & 0x00000020) != 0) && input.getBytesUntilLimit() > 0) {
+ linksAdd_ = newIntList();
mutable_bitField0_ |= 0x00000020;
}
while (input.getBytesUntilLimit() > 0) {
- linksAdd_.add(input.readUInt32());
+ linksAdd_.addInt(input.readUInt32());
}
input.popLimit(limit);
break;
}
case 56: {
- if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
- linksRemove_ = new java.util.ArrayList<java.lang.Integer>();
+ if (!((mutable_bitField0_ & 0x00000040) != 0)) {
+ linksRemove_ = newIntList();
mutable_bitField0_ |= 0x00000040;
}
- linksRemove_.add(input.readUInt32());
+ linksRemove_.addInt(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<java.lang.Integer>();
+ if (!((mutable_bitField0_ & 0x00000040) != 0) && input.getBytesUntilLimit() > 0) {
+ linksRemove_ = newIntList();
mutable_bitField0_ |= 0x00000040;
}
while (input.getBytesUntilLimit() > 0) {
- linksRemove_.add(input.readUInt32());
+ linksRemove_.addInt(input.readUInt32());
}
input.popLimit(limit);
break;
@@ -7171,6 +8197,18 @@ public final class Mumble {
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) {
@@ -7179,14 +8217,14 @@ public final class Mumble {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
- links_ = java.util.Collections.unmodifiableList(links_);
+ if (((mutable_bitField0_ & 0x00000008) != 0)) {
+ links_.makeImmutable(); // C
}
- if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
- linksAdd_ = java.util.Collections.unmodifiableList(linksAdd_);
+ if (((mutable_bitField0_ & 0x00000020) != 0)) {
+ linksAdd_.makeImmutable(); // C
}
- if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
- linksRemove_ = java.util.Collections.unmodifiableList(linksRemove_);
+ if (((mutable_bitField0_ & 0x00000040) != 0)) {
+ linksRemove_.makeImmutable(); // C
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
@@ -7197,6 +8235,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
@@ -7208,13 +8247,23 @@ public final class Mumble {
public static final int CHANNEL_ID_FIELD_NUMBER = 1;
private int channelId_;
/**
+ * <pre>
+ * Unique ID for the channel within the server.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 1;</code>
+ * @return Whether the channelId field is set.
*/
public boolean hasChannelId() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * Unique ID for the channel within the server.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 1;</code>
+ * @return The channelId.
*/
public int getChannelId() {
return channelId_;
@@ -7223,13 +8272,23 @@ public final class Mumble {
public static final int PARENT_FIELD_NUMBER = 2;
private int parent_;
/**
+ * <pre>
+ * channel_id of the parent channel.
+ * </pre>
+ *
* <code>optional uint32 parent = 2;</code>
+ * @return Whether the parent field is set.
*/
public boolean hasParent() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * channel_id of the parent channel.
+ * </pre>
+ *
* <code>optional uint32 parent = 2;</code>
+ * @return The parent.
*/
public int getParent() {
return parent_;
@@ -7238,13 +8297,23 @@ public final class Mumble {
public static final int NAME_FIELD_NUMBER = 3;
private volatile java.lang.Object name_;
/**
+ * <pre>
+ * UTF-8 encoded channel name.
+ * </pre>
+ *
* <code>optional string name = 3;</code>
+ * @return Whether the name field is set.
*/
public boolean hasName() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
+ * <pre>
+ * UTF-8 encoded channel name.
+ * </pre>
+ *
* <code>optional string name = 3;</code>
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -7261,7 +8330,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * UTF-8 encoded channel name.
+ * </pre>
+ *
* <code>optional string name = 3;</code>
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
@@ -7278,37 +8352,68 @@ public final class Mumble {
}
public static final int LINKS_FIELD_NUMBER = 4;
- private java.util.List<java.lang.Integer> links_;
+ private com.google.protobuf.Internal.IntList links_;
/**
+ * <pre>
+ * A collection of channel id values of the linked channels. Absent during
+ * the first channel listing.
+ * </pre>
+ *
* <code>repeated uint32 links = 4;</code>
+ * @return A list containing the links.
*/
public java.util.List<java.lang.Integer>
getLinksList() {
return links_;
}
/**
+ * <pre>
+ * A collection of channel id values of the linked channels. Absent during
+ * the first channel listing.
+ * </pre>
+ *
* <code>repeated uint32 links = 4;</code>
+ * @return The count of links.
*/
public int getLinksCount() {
return links_.size();
}
/**
+ * <pre>
+ * A collection of channel id values of the linked channels. Absent during
+ * the first channel listing.
+ * </pre>
+ *
* <code>repeated uint32 links = 4;</code>
+ * @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);
}
public static final int DESCRIPTION_FIELD_NUMBER = 5;
private volatile java.lang.Object description_;
/**
+ * <pre>
+ * UTF-8 encoded channel description. Only if the description is less than
+ * 128 bytes
+ * </pre>
+ *
* <code>optional string description = 5;</code>
+ * @return Whether the description field is set.
*/
public boolean hasDescription() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
+ * <pre>
+ * UTF-8 encoded channel description. Only if the description is less than
+ * 128 bytes
+ * </pre>
+ *
* <code>optional string description = 5;</code>
+ * @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
@@ -7325,7 +8430,13 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * UTF-8 encoded channel description. Only if the description is less than
+ * 128 bytes
+ * </pre>
+ *
* <code>optional string description = 5;</code>
+ * @return The bytes for description.
*/
public com.google.protobuf.ByteString
getDescriptionBytes() {
@@ -7342,59 +8453,101 @@ public final class Mumble {
}
public static final int LINKS_ADD_FIELD_NUMBER = 6;
- private java.util.List<java.lang.Integer> linksAdd_;
+ private com.google.protobuf.Internal.IntList linksAdd_;
/**
+ * <pre>
+ * A collection of channel_id values that should be added to links.
+ * </pre>
+ *
* <code>repeated uint32 links_add = 6;</code>
+ * @return A list containing the linksAdd.
*/
public java.util.List<java.lang.Integer>
getLinksAddList() {
return linksAdd_;
}
/**
+ * <pre>
+ * A collection of channel_id values that should be added to links.
+ * </pre>
+ *
* <code>repeated uint32 links_add = 6;</code>
+ * @return The count of linksAdd.
*/
public int getLinksAddCount() {
return linksAdd_.size();
}
/**
+ * <pre>
+ * A collection of channel_id values that should be added to links.
+ * </pre>
+ *
* <code>repeated uint32 links_add = 6;</code>
+ * @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);
}
public static final int LINKS_REMOVE_FIELD_NUMBER = 7;
- private java.util.List<java.lang.Integer> linksRemove_;
+ private com.google.protobuf.Internal.IntList linksRemove_;
/**
+ * <pre>
+ * A collection of channel_id values that should be removed from links.
+ * </pre>
+ *
* <code>repeated uint32 links_remove = 7;</code>
+ * @return A list containing the linksRemove.
*/
public java.util.List<java.lang.Integer>
getLinksRemoveList() {
return linksRemove_;
}
/**
+ * <pre>
+ * A collection of channel_id values that should be removed from links.
+ * </pre>
+ *
* <code>repeated uint32 links_remove = 7;</code>
+ * @return The count of linksRemove.
*/
public int getLinksRemoveCount() {
return linksRemove_.size();
}
/**
+ * <pre>
+ * A collection of channel_id values that should be removed from links.
+ * </pre>
+ *
* <code>repeated uint32 links_remove = 7;</code>
+ * @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);
}
public static final int TEMPORARY_FIELD_NUMBER = 8;
private boolean temporary_;
/**
+ * <pre>
+ * True if the channel is temporary.
+ * </pre>
+ *
* <code>optional bool temporary = 8 [default = false];</code>
+ * @return Whether the temporary field is set.
*/
public boolean hasTemporary() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
+ * <pre>
+ * True if the channel is temporary.
+ * </pre>
+ *
* <code>optional bool temporary = 8 [default = false];</code>
+ * @return The temporary.
*/
public boolean getTemporary() {
return temporary_;
@@ -7403,13 +8556,23 @@ public final class Mumble {
public static final int POSITION_FIELD_NUMBER = 9;
private int position_;
/**
+ * <pre>
+ * Position weight to tweak the channel position in the channel list.
+ * </pre>
+ *
* <code>optional int32 position = 9 [default = 0];</code>
+ * @return Whether the position field is set.
*/
public boolean hasPosition() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
+ return ((bitField0_ & 0x00000020) != 0);
}
/**
+ * <pre>
+ * Position weight to tweak the channel position in the channel list.
+ * </pre>
+ *
* <code>optional int32 position = 9 [default = 0];</code>
+ * @return The position.
*/
public int getPosition() {
return position_;
@@ -7418,19 +8581,59 @@ public final class Mumble {
public static final int DESCRIPTION_HASH_FIELD_NUMBER = 10;
private com.google.protobuf.ByteString descriptionHash_;
/**
+ * <pre>
+ * SHA1 hash of the description if the description is 128 bytes or more.
+ * </pre>
+ *
* <code>optional bytes description_hash = 10;</code>
+ * @return Whether the descriptionHash field is set.
*/
public boolean hasDescriptionHash() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
+ return ((bitField0_ & 0x00000040) != 0);
}
/**
+ * <pre>
+ * SHA1 hash of the description if the description is 128 bytes or more.
+ * </pre>
+ *
* <code>optional bytes description_hash = 10;</code>
+ * @return The descriptionHash.
*/
public com.google.protobuf.ByteString getDescriptionHash() {
return descriptionHash_;
}
+ public static final int MAX_USERS_FIELD_NUMBER = 11;
+ private int maxUsers_;
+ /**
+ * <pre>
+ * 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.
+ * </pre>
+ *
+ * <code>optional uint32 max_users = 11;</code>
+ * @return Whether the maxUsers field is set.
+ */
+ public boolean hasMaxUsers() {
+ return ((bitField0_ & 0x00000080) != 0);
+ }
+ /**
+ * <pre>
+ * 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.
+ * </pre>
+ *
+ * <code>optional uint32 max_users = 11;</code>
+ * @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;
@@ -7440,74 +8643,79 @@ 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, parent_);
}
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_);
}
for (int i = 0; i < links_.size(); i++) {
- output.writeUInt32(4, links_.get(i));
+ output.writeUInt32(4, links_.getInt(i));
}
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ if (((bitField0_ & 0x00000008) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, description_);
}
for (int i = 0; i < linksAdd_.size(); i++) {
- output.writeUInt32(6, linksAdd_.get(i));
+ output.writeUInt32(6, linksAdd_.getInt(i));
}
for (int i = 0; i < linksRemove_.size(); i++) {
- output.writeUInt32(7, linksRemove_.get(i));
+ output.writeUInt32(7, linksRemove_.getInt(i));
}
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ if (((bitField0_ & 0x00000010) != 0)) {
output.writeBool(8, temporary_);
}
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
+ if (((bitField0_ & 0x00000020) != 0)) {
output.writeInt32(9, position_);
}
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
+ if (((bitField0_ & 0x00000040) != 0)) {
output.writeBytes(10, descriptionHash_);
}
+ if (((bitField0_ & 0x00000080) != 0)) {
+ output.writeUInt32(11, 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, channelId_);
}
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, parent_);
}
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ 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_.get(i));
+ .computeUInt32SizeNoTag(links_.getInt(i));
}
size += dataSize;
size += 1 * getLinksList().size();
}
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ 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_.get(i));
+ .computeUInt32SizeNoTag(linksAdd_.getInt(i));
}
size += dataSize;
size += 1 * getLinksAddList().size();
@@ -7516,29 +8724,32 @@ public final class Mumble {
int dataSize = 0;
for (int i = 0; i < linksRemove_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
- .computeUInt32SizeNoTag(linksRemove_.get(i));
+ .computeUInt32SizeNoTag(linksRemove_.getInt(i));
}
size += dataSize;
size += 1 * getLinksRemoveList().size();
}
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(8, temporary_);
}
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
+ if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(9, position_);
}
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
+ if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(10, descriptionHash_);
}
+ if (((bitField0_ & 0x00000080) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(11, 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) {
@@ -7549,50 +8760,54 @@ public final class Mumble {
}
se.lublin.humla.protobuf.Mumble.ChannelState other = (se.lublin.humla.protobuf.Mumble.ChannelState) 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 && (hasParent() == other.hasParent());
+ if (hasParent() != other.hasParent()) return false;
if (hasParent()) {
- result = result && (getParent()
- == other.getParent());
+ if (getParent()
+ != other.getParent()) 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 && getLinksList()
- .equals(other.getLinksList());
- result = result && (hasDescription() == other.hasDescription());
+ if (!getLinksList()
+ .equals(other.getLinksList())) return false;
+ if (hasDescription() != other.hasDescription()) return false;
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 (!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()) {
- result = result && (getTemporary()
- == other.getTemporary());
+ if (getTemporary()
+ != other.getTemporary()) return false;
}
- result = result && (hasPosition() == other.hasPosition());
+ if (hasPosition() != other.hasPosition()) return false;
if (hasPosition()) {
- result = result && (getPosition()
- == other.getPosition());
+ if (getPosition()
+ != other.getPosition()) return false;
}
- result = result && (hasDescriptionHash() == other.hasDescriptionHash());
+ if (hasDescriptionHash() != other.hasDescriptionHash()) return false;
if (hasDescriptionHash()) {
- result = result && getDescriptionHash()
- .equals(other.getDescriptionHash());
+ if (!getDescriptionHash()
+ .equals(other.getDescriptionHash())) return false;
+ }
+ if (hasMaxUsers() != other.hasMaxUsers()) return false;
+ if (hasMaxUsers()) {
+ if (getMaxUsers()
+ != other.getMaxUsers()) return false;
}
- result = result && unknownFields.equals(other.unknownFields);
- return result;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
}
@java.lang.Override
@@ -7601,7 +8816,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();
@@ -7643,12 +8858,27 @@ public final class Mumble {
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.ChannelState parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ 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);
+ }
+ public static se.lublin.humla.protobuf.Mumble.ChannelState parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
@@ -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;
}
/**
+ * <pre>
+ * 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.
+ * </pre>
+ *
* 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_ ;
/**
+ * <pre>
+ * Unique ID for the channel within the server.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 1;</code>
+ * @return Whether the channelId field is set.
*/
public boolean hasChannelId() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * Unique ID for the channel within the server.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 1;</code>
+ * @return The channelId.
*/
public int getChannelId() {
return channelId_;
}
/**
+ * <pre>
+ * Unique ID for the channel within the server.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 1;</code>
+ * @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;
}
/**
+ * <pre>
+ * Unique ID for the channel within the server.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 1;</code>
+ * @return This builder for chaining.
*/
public Builder clearChannelId() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -8007,19 +9290,35 @@ public final class Mumble {
private int parent_ ;
/**
+ * <pre>
+ * channel_id of the parent channel.
+ * </pre>
+ *
* <code>optional uint32 parent = 2;</code>
+ * @return Whether the parent field is set.
*/
public boolean hasParent() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * channel_id of the parent channel.
+ * </pre>
+ *
* <code>optional uint32 parent = 2;</code>
+ * @return The parent.
*/
public int getParent() {
return parent_;
}
/**
+ * <pre>
+ * channel_id of the parent channel.
+ * </pre>
+ *
* <code>optional uint32 parent = 2;</code>
+ * @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;
}
/**
+ * <pre>
+ * channel_id of the parent channel.
+ * </pre>
+ *
* <code>optional uint32 parent = 2;</code>
+ * @return This builder for chaining.
*/
public Builder clearParent() {
bitField0_ = (bitField0_ & ~0x00000002);
@@ -8039,13 +9343,23 @@ public final class Mumble {
private java.lang.Object name_ = "";
/**
+ * <pre>
+ * UTF-8 encoded channel name.
+ * </pre>
+ *
* <code>optional string name = 3;</code>
+ * @return Whether the name field is set.
*/
public boolean hasName() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
+ * <pre>
+ * UTF-8 encoded channel name.
+ * </pre>
+ *
* <code>optional string name = 3;</code>
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -8062,7 +9376,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * UTF-8 encoded channel name.
+ * </pre>
+ *
* <code>optional string name = 3;</code>
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
@@ -8078,7 +9397,13 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * UTF-8 encoded channel name.
+ * </pre>
+ *
* <code>optional string name = 3;</code>
+ * @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;
}
/**
+ * <pre>
+ * UTF-8 encoded channel name.
+ * </pre>
+ *
* <code>optional string name = 3;</code>
+ * @return This builder for chaining.
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000004);
@@ -8100,7 +9430,13 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * UTF-8 encoded channel name.
+ * </pre>
+ *
* <code>optional string name = 3;</code>
+ * @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<java.lang.Integer> 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<java.lang.Integer>(links_);
+ if (!((bitField0_ & 0x00000008) != 0)) {
+ links_ = mutableCopy(links_);
bitField0_ |= 0x00000008;
}
}
/**
+ * <pre>
+ * A collection of channel id values of the linked channels. Absent during
+ * the first channel listing.
+ * </pre>
+ *
* <code>repeated uint32 links = 4;</code>
+ * @return A list containing the links.
*/
public java.util.List<java.lang.Integer>
getLinksList() {
- return java.util.Collections.unmodifiableList(links_);
+ return ((bitField0_ & 0x00000008) != 0) ?
+ java.util.Collections.unmodifiableList(links_) : links_;
}
/**
+ * <pre>
+ * A collection of channel id values of the linked channels. Absent during
+ * the first channel listing.
+ * </pre>
+ *
* <code>repeated uint32 links = 4;</code>
+ * @return The count of links.
*/
public int getLinksCount() {
return links_.size();
}
/**
+ * <pre>
+ * A collection of channel id values of the linked channels. Absent during
+ * the first channel listing.
+ * </pre>
+ *
* <code>repeated uint32 links = 4;</code>
+ * @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);
}
/**
+ * <pre>
+ * A collection of channel id values of the linked channels. Absent during
+ * the first channel listing.
+ * </pre>
+ *
* <code>repeated uint32 links = 4;</code>
+ * @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;
}
/**
+ * <pre>
+ * A collection of channel id values of the linked channels. Absent during
+ * the first channel listing.
+ * </pre>
+ *
* <code>repeated uint32 links = 4;</code>
+ * @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;
}
/**
+ * <pre>
+ * A collection of channel id values of the linked channels. Absent during
+ * the first channel listing.
+ * </pre>
+ *
* <code>repeated uint32 links = 4;</code>
+ * @param values The links to add.
+ * @return This builder for chaining.
*/
public Builder addAllLinks(
java.lang.Iterable<? extends java.lang.Integer> values) {
@@ -8170,10 +9548,16 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * A collection of channel id values of the linked channels. Absent during
+ * the first channel listing.
+ * </pre>
+ *
* <code>repeated uint32 links = 4;</code>
+ * @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_ = "";
/**
+ * <pre>
+ * UTF-8 encoded channel description. Only if the description is less than
+ * 128 bytes
+ * </pre>
+ *
* <code>optional string description = 5;</code>
+ * @return Whether the description field is set.
*/
public boolean hasDescription() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
+ * <pre>
+ * UTF-8 encoded channel description. Only if the description is less than
+ * 128 bytes
+ * </pre>
+ *
* <code>optional string description = 5;</code>
+ * @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
@@ -8204,7 +9600,13 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * UTF-8 encoded channel description. Only if the description is less than
+ * 128 bytes
+ * </pre>
+ *
* <code>optional string description = 5;</code>
+ * @return The bytes for description.
*/
public com.google.protobuf.ByteString
getDescriptionBytes() {
@@ -8220,7 +9622,14 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * UTF-8 encoded channel description. Only if the description is less than
+ * 128 bytes
+ * </pre>
+ *
* <code>optional string description = 5;</code>
+ * @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;
}
/**
+ * <pre>
+ * UTF-8 encoded channel description. Only if the description is less than
+ * 128 bytes
+ * </pre>
+ *
* <code>optional string description = 5;</code>
+ * @return This builder for chaining.
*/
public Builder clearDescription() {
bitField0_ = (bitField0_ & ~0x00000010);
@@ -8242,7 +9657,14 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * UTF-8 encoded channel description. Only if the description is less than
+ * 128 bytes
+ * </pre>
+ *
* <code>optional string description = 5;</code>
+ * @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<java.lang.Integer> 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<java.lang.Integer>(linksAdd_);
+ if (!((bitField0_ & 0x00000020) != 0)) {
+ linksAdd_ = mutableCopy(linksAdd_);
bitField0_ |= 0x00000020;
}
}
/**
+ * <pre>
+ * A collection of channel_id values that should be added to links.
+ * </pre>
+ *
* <code>repeated uint32 links_add = 6;</code>
+ * @return A list containing the linksAdd.
*/
public java.util.List<java.lang.Integer>
getLinksAddList() {
- return java.util.Collections.unmodifiableList(linksAdd_);
+ return ((bitField0_ & 0x00000020) != 0) ?
+ java.util.Collections.unmodifiableList(linksAdd_) : linksAdd_;
}
/**
+ * <pre>
+ * A collection of channel_id values that should be added to links.
+ * </pre>
+ *
* <code>repeated uint32 links_add = 6;</code>
+ * @return The count of linksAdd.
*/
public int getLinksAddCount() {
return linksAdd_.size();
}
/**
+ * <pre>
+ * A collection of channel_id values that should be added to links.
+ * </pre>
+ *
* <code>repeated uint32 links_add = 6;</code>
+ * @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);
}
/**
+ * <pre>
+ * A collection of channel_id values that should be added to links.
+ * </pre>
+ *
* <code>repeated uint32 links_add = 6;</code>
+ * @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;
}
/**
+ * <pre>
+ * A collection of channel_id values that should be added to links.
+ * </pre>
+ *
* <code>repeated uint32 links_add = 6;</code>
+ * @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;
}
/**
+ * <pre>
+ * A collection of channel_id values that should be added to links.
+ * </pre>
+ *
* <code>repeated uint32 links_add = 6;</code>
+ * @param values The linksAdd to add.
+ * @return This builder for chaining.
*/
public Builder addAllLinksAdd(
java.lang.Iterable<? extends java.lang.Integer> values) {
@@ -8312,62 +9770,103 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * A collection of channel_id values that should be added to links.
+ * </pre>
+ *
* <code>repeated uint32 links_add = 6;</code>
+ * @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<java.lang.Integer> 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<java.lang.Integer>(linksRemove_);
+ if (!((bitField0_ & 0x00000040) != 0)) {
+ linksRemove_ = mutableCopy(linksRemove_);
bitField0_ |= 0x00000040;
}
}
/**
+ * <pre>
+ * A collection of channel_id values that should be removed from links.
+ * </pre>
+ *
* <code>repeated uint32 links_remove = 7;</code>
+ * @return A list containing the linksRemove.
*/
public java.util.List<java.lang.Integer>
getLinksRemoveList() {
- return java.util.Collections.unmodifiableList(linksRemove_);
+ return ((bitField0_ & 0x00000040) != 0) ?
+ java.util.Collections.unmodifiableList(linksRemove_) : linksRemove_;
}
/**
+ * <pre>
+ * A collection of channel_id values that should be removed from links.
+ * </pre>
+ *
* <code>repeated uint32 links_remove = 7;</code>
+ * @return The count of linksRemove.
*/
public int getLinksRemoveCount() {
return linksRemove_.size();
}
/**
+ * <pre>
+ * A collection of channel_id values that should be removed from links.
+ * </pre>
+ *
* <code>repeated uint32 links_remove = 7;</code>
+ * @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);
}
/**
+ * <pre>
+ * A collection of channel_id values that should be removed from links.
+ * </pre>
+ *
* <code>repeated uint32 links_remove = 7;</code>
+ * @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;
}
/**
+ * <pre>
+ * A collection of channel_id values that should be removed from links.
+ * </pre>
+ *
* <code>repeated uint32 links_remove = 7;</code>
+ * @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;
}
/**
+ * <pre>
+ * A collection of channel_id values that should be removed from links.
+ * </pre>
+ *
* <code>repeated uint32 links_remove = 7;</code>
+ * @param values The linksRemove to add.
+ * @return This builder for chaining.
*/
public Builder addAllLinksRemove(
java.lang.Iterable<? extends java.lang.Integer> values) {
@@ -8378,10 +9877,15 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * A collection of channel_id values that should be removed from links.
+ * </pre>
+ *
* <code>repeated uint32 links_remove = 7;</code>
+ * @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_ ;
/**
+ * <pre>
+ * True if the channel is temporary.
+ * </pre>
+ *
* <code>optional bool temporary = 8 [default = false];</code>
+ * @return Whether the temporary field is set.
*/
public boolean hasTemporary() {
- return ((bitField0_ & 0x00000080) == 0x00000080);
+ return ((bitField0_ & 0x00000080) != 0);
}
/**
+ * <pre>
+ * True if the channel is temporary.
+ * </pre>
+ *
* <code>optional bool temporary = 8 [default = false];</code>
+ * @return The temporary.
*/
public boolean getTemporary() {
return temporary_;
}
/**
+ * <pre>
+ * True if the channel is temporary.
+ * </pre>
+ *
* <code>optional bool temporary = 8 [default = false];</code>
+ * @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;
}
/**
+ * <pre>
+ * True if the channel is temporary.
+ * </pre>
+ *
* <code>optional bool temporary = 8 [default = false];</code>
+ * @return This builder for chaining.
*/
public Builder clearTemporary() {
bitField0_ = (bitField0_ & ~0x00000080);
@@ -8421,19 +9946,35 @@ public final class Mumble {
private int position_ ;
/**
+ * <pre>
+ * Position weight to tweak the channel position in the channel list.
+ * </pre>
+ *
* <code>optional int32 position = 9 [default = 0];</code>
+ * @return Whether the position field is set.
*/
public boolean hasPosition() {
- return ((bitField0_ & 0x00000100) == 0x00000100);
+ return ((bitField0_ & 0x00000100) != 0);
}
/**
+ * <pre>
+ * Position weight to tweak the channel position in the channel list.
+ * </pre>
+ *
* <code>optional int32 position = 9 [default = 0];</code>
+ * @return The position.
*/
public int getPosition() {
return position_;
}
/**
+ * <pre>
+ * Position weight to tweak the channel position in the channel list.
+ * </pre>
+ *
* <code>optional int32 position = 9 [default = 0];</code>
+ * @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;
}
/**
+ * <pre>
+ * Position weight to tweak the channel position in the channel list.
+ * </pre>
+ *
* <code>optional int32 position = 9 [default = 0];</code>
+ * @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;
/**
+ * <pre>
+ * SHA1 hash of the description if the description is 128 bytes or more.
+ * </pre>
+ *
* <code>optional bytes description_hash = 10;</code>
+ * @return Whether the descriptionHash field is set.
*/
public boolean hasDescriptionHash() {
- return ((bitField0_ & 0x00000200) == 0x00000200);
+ return ((bitField0_ & 0x00000200) != 0);
}
/**
+ * <pre>
+ * SHA1 hash of the description if the description is 128 bytes or more.
+ * </pre>
+ *
* <code>optional bytes description_hash = 10;</code>
+ * @return The descriptionHash.
*/
public com.google.protobuf.ByteString getDescriptionHash() {
return descriptionHash_;
}
/**
+ * <pre>
+ * SHA1 hash of the description if the description is 128 bytes or more.
+ * </pre>
+ *
* <code>optional bytes description_hash = 10;</code>
+ * @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;
}
/**
+ * <pre>
+ * SHA1 hash of the description if the description is 128 bytes or more.
+ * </pre>
+ *
* <code>optional bytes description_hash = 10;</code>
+ * @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_ ;
+ /**
+ * <pre>
+ * 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.
+ * </pre>
+ *
+ * <code>optional uint32 max_users = 11;</code>
+ * @return Whether the maxUsers field is set.
+ */
+ public boolean hasMaxUsers() {
+ return ((bitField0_ & 0x00000400) != 0);
+ }
+ /**
+ * <pre>
+ * 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.
+ * </pre>
+ *
+ * <code>optional uint32 max_users = 11;</code>
+ * @return The maxUsers.
+ */
+ public int getMaxUsers() {
+ return maxUsers_;
+ }
+ /**
+ * <pre>
+ * 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.
+ * </pre>
+ *
+ * <code>optional uint32 max_users = 11;</code>
+ * @param value The maxUsers to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMaxUsers(int value) {
+ bitField0_ |= 0x00000400;
+ maxUsers_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <pre>
+ * 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.
+ * </pre>
+ *
+ * <code>optional uint32 max_users = 11;</code>
+ * @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<ChannelState>
PARSER = new com.google.protobuf.AbstractParser<ChannelState>() {
+ @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 {
/**
+ * <pre>
+ * The user who is being kicked, identified by their session, not present
+ * when no one is being kicked.
+ * </pre>
+ *
* <code>required uint32 session = 1;</code>
+ * @return Whether the session field is set.
*/
boolean hasSession();
/**
+ * <pre>
+ * The user who is being kicked, identified by their session, not present
+ * when no one is being kicked.
+ * </pre>
+ *
* <code>required uint32 session = 1;</code>
+ * @return The session.
*/
int getSession();
/**
+ * <pre>
+ * The user who initiated the removal. Either the user who performs the kick
+ * or the user who is currently leaving.
+ * </pre>
+ *
* <code>optional uint32 actor = 2;</code>
+ * @return Whether the actor field is set.
*/
boolean hasActor();
/**
+ * <pre>
+ * The user who initiated the removal. Either the user who performs the kick
+ * or the user who is currently leaving.
+ * </pre>
+ *
* <code>optional uint32 actor = 2;</code>
+ * @return The actor.
*/
int getActor();
/**
+ * <pre>
+ * Reason for the kick, stored as the ban reason if the user is banned.
+ * </pre>
+ *
* <code>optional string reason = 3;</code>
+ * @return Whether the reason field is set.
*/
boolean hasReason();
/**
+ * <pre>
+ * Reason for the kick, stored as the ban reason if the user is banned.
+ * </pre>
+ *
* <code>optional string reason = 3;</code>
+ * @return The reason.
*/
java.lang.String getReason();
/**
+ * <pre>
+ * Reason for the kick, stored as the ban reason if the user is banned.
+ * </pre>
+ *
* <code>optional string reason = 3;</code>
+ * @return The bytes for reason.
*/
com.google.protobuf.ByteString
getReasonBytes();
/**
+ * <pre>
+ * True if the kick should result in a ban.
+ * </pre>
+ *
* <code>optional bool ban = 4;</code>
+ * @return Whether the ban field is set.
*/
boolean hasBan();
/**
+ * <pre>
+ * True if the kick should result in a ban.
+ * </pre>
+ *
* <code>optional bool ban = 4;</code>
+ * @return The ban.
*/
boolean getBan();
}
/**
+ * <pre>
+ * 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.
+ * </pre>
+ *
* 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_;
/**
+ * <pre>
+ * The user who is being kicked, identified by their session, not present
+ * when no one is being kicked.
+ * </pre>
+ *
* <code>required uint32 session = 1;</code>
+ * @return Whether the session field is set.
*/
public boolean hasSession() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * The user who is being kicked, identified by their session, not present
+ * when no one is being kicked.
+ * </pre>
+ *
* <code>required uint32 session = 1;</code>
+ * @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_;
/**
+ * <pre>
+ * The user who initiated the removal. Either the user who performs the kick
+ * or the user who is currently leaving.
+ * </pre>
+ *
* <code>optional uint32 actor = 2;</code>
+ * @return Whether the actor field is set.
*/
public boolean hasActor() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * The user who initiated the removal. Either the user who performs the kick
+ * or the user who is currently leaving.
+ * </pre>
+ *
* <code>optional uint32 actor = 2;</code>
+ * @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_;
/**
+ * <pre>
+ * Reason for the kick, stored as the ban reason if the user is banned.
+ * </pre>
+ *
* <code>optional string reason = 3;</code>
+ * @return Whether the reason field is set.
*/
public boolean hasReason() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
+ * <pre>
+ * Reason for the kick, stored as the ban reason if the user is banned.
+ * </pre>
+ *
* <code>optional string reason = 3;</code>
+ * @return The reason.
*/
public java.lang.String getReason() {
java.lang.Object ref = reason_;
@@ -8727,7 +10457,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Reason for the kick, stored as the ban reason if the user is banned.
+ * </pre>
+ *
* <code>optional string reason = 3;</code>
+ * @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_;
/**
+ * <pre>
+ * True if the kick should result in a ban.
+ * </pre>
+ *
* <code>optional bool ban = 4;</code>
+ * @return Whether the ban field is set.
*/
public boolean hasBan() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
+ * <pre>
+ * True if the kick should result in a ban.
+ * </pre>
+ *
* <code>optional bool ban = 4;</code>
+ * @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();
@@ -8880,6 +10626,17 @@ public final class Mumble {
}
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 {
return PARSER.parseFrom(data);
@@ -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;
}
/**
+ * <pre>
+ * 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.
+ * </pre>
+ *
* 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_ ;
/**
+ * <pre>
+ * The user who is being kicked, identified by their session, not present
+ * when no one is being kicked.
+ * </pre>
+ *
* <code>required uint32 session = 1;</code>
+ * @return Whether the session field is set.
*/
public boolean hasSession() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * The user who is being kicked, identified by their session, not present
+ * when no one is being kicked.
+ * </pre>
+ *
* <code>required uint32 session = 1;</code>
+ * @return The session.
*/
public int getSession() {
return session_;
}
/**
+ * <pre>
+ * The user who is being kicked, identified by their session, not present
+ * when no one is being kicked.
+ * </pre>
+ *
* <code>required uint32 session = 1;</code>
+ * @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;
}
/**
+ * <pre>
+ * The user who is being kicked, identified by their session, not present
+ * when no one is being kicked.
+ * </pre>
+ *
* <code>required uint32 session = 1;</code>
+ * @return This builder for chaining.
*/
public Builder clearSession() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -9161,19 +10966,38 @@ public final class Mumble {
private int actor_ ;
/**
+ * <pre>
+ * The user who initiated the removal. Either the user who performs the kick
+ * or the user who is currently leaving.
+ * </pre>
+ *
* <code>optional uint32 actor = 2;</code>
+ * @return Whether the actor field is set.
*/
public boolean hasActor() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * The user who initiated the removal. Either the user who performs the kick
+ * or the user who is currently leaving.
+ * </pre>
+ *
* <code>optional uint32 actor = 2;</code>
+ * @return The actor.
*/
public int getActor() {
return actor_;
}
/**
+ * <pre>
+ * The user who initiated the removal. Either the user who performs the kick
+ * or the user who is currently leaving.
+ * </pre>
+ *
* <code>optional uint32 actor = 2;</code>
+ * @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;
}
/**
+ * <pre>
+ * The user who initiated the removal. Either the user who performs the kick
+ * or the user who is currently leaving.
+ * </pre>
+ *
* <code>optional uint32 actor = 2;</code>
+ * @return This builder for chaining.
*/
public Builder clearActor() {
bitField0_ = (bitField0_ & ~0x00000002);
@@ -9193,13 +11023,23 @@ public final class Mumble {
private java.lang.Object reason_ = "";
/**
+ * <pre>
+ * Reason for the kick, stored as the ban reason if the user is banned.
+ * </pre>
+ *
* <code>optional string reason = 3;</code>
+ * @return Whether the reason field is set.
*/
public boolean hasReason() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
+ * <pre>
+ * Reason for the kick, stored as the ban reason if the user is banned.
+ * </pre>
+ *
* <code>optional string reason = 3;</code>
+ * @return The reason.
*/
public java.lang.String getReason() {
java.lang.Object ref = reason_;
@@ -9216,7 +11056,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Reason for the kick, stored as the ban reason if the user is banned.
+ * </pre>
+ *
* <code>optional string reason = 3;</code>
+ * @return The bytes for reason.
*/
public com.google.protobuf.ByteString
getReasonBytes() {
@@ -9232,7 +11077,13 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Reason for the kick, stored as the ban reason if the user is banned.
+ * </pre>
+ *
* <code>optional string reason = 3;</code>
+ * @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;
}
/**
+ * <pre>
+ * Reason for the kick, stored as the ban reason if the user is banned.
+ * </pre>
+ *
* <code>optional string reason = 3;</code>
+ * @return This builder for chaining.
*/
public Builder clearReason() {
bitField0_ = (bitField0_ & ~0x00000004);
@@ -9254,7 +11110,13 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Reason for the kick, stored as the ban reason if the user is banned.
+ * </pre>
+ *
* <code>optional string reason = 3;</code>
+ * @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_ ;
/**
+ * <pre>
+ * True if the kick should result in a ban.
+ * </pre>
+ *
* <code>optional bool ban = 4;</code>
+ * @return Whether the ban field is set.
*/
public boolean hasBan() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
+ * <pre>
+ * True if the kick should result in a ban.
+ * </pre>
+ *
* <code>optional bool ban = 4;</code>
+ * @return The ban.
*/
public boolean getBan() {
return ban_;
}
/**
+ * <pre>
+ * True if the kick should result in a ban.
+ * </pre>
+ *
* <code>optional bool ban = 4;</code>
+ * @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;
}
/**
+ * <pre>
+ * True if the kick should result in a ban.
+ * </pre>
+ *
* <code>optional bool ban = 4;</code>
+ * @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<UserRemove>
PARSER = new com.google.protobuf.AbstractParser<UserRemove>() {
+ @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 {
/**
+ * <pre>
+ * Unique user session ID of the user whose state this is, may change on
+ * reconnect.
+ * </pre>
+ *
* <code>optional uint32 session = 1;</code>
+ * @return Whether the session field is set.
*/
boolean hasSession();
/**
+ * <pre>
+ * Unique user session ID of the user whose state this is, may change on
+ * reconnect.
+ * </pre>
+ *
* <code>optional uint32 session = 1;</code>
+ * @return The session.
*/
int getSession();
/**
+ * <pre>
+ * The session of the user who is updating this user.
+ * </pre>
+ *
* <code>optional uint32 actor = 2;</code>
+ * @return Whether the actor field is set.
*/
boolean hasActor();
/**
+ * <pre>
+ * The session of the user who is updating this user.
+ * </pre>
+ *
* <code>optional uint32 actor = 2;</code>
+ * @return The actor.
*/
int getActor();
/**
+ * <pre>
+ * User name, UTF-8 encoded.
+ * </pre>
+ *
* <code>optional string name = 3;</code>
+ * @return Whether the name field is set.
*/
boolean hasName();
/**
+ * <pre>
+ * User name, UTF-8 encoded.
+ * </pre>
+ *
* <code>optional string name = 3;</code>
+ * @return The name.
*/
java.lang.String getName();
/**
+ * <pre>
+ * User name, UTF-8 encoded.
+ * </pre>
+ *
* <code>optional string name = 3;</code>
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
+ * <pre>
+ * Registered user ID if the user is registered.
+ * </pre>
+ *
* <code>optional uint32 user_id = 4;</code>
+ * @return Whether the userId field is set.
*/
boolean hasUserId();
/**
+ * <pre>
+ * Registered user ID if the user is registered.
+ * </pre>
+ *
* <code>optional uint32 user_id = 4;</code>
+ * @return The userId.
*/
int getUserId();
/**
+ * <pre>
+ * Channel on which the user is.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 5;</code>
+ * @return Whether the channelId field is set.
*/
boolean hasChannelId();
/**
+ * <pre>
+ * Channel on which the user is.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 5;</code>
+ * @return The channelId.
*/
int getChannelId();
/**
+ * <pre>
+ * True if the user is muted by admin.
+ * </pre>
+ *
* <code>optional bool mute = 6;</code>
+ * @return Whether the mute field is set.
*/
boolean hasMute();
/**
+ * <pre>
+ * True if the user is muted by admin.
+ * </pre>
+ *
* <code>optional bool mute = 6;</code>
+ * @return The mute.
*/
boolean getMute();
/**
+ * <pre>
+ * True if the user is deafened by admin.
+ * </pre>
+ *
* <code>optional bool deaf = 7;</code>
+ * @return Whether the deaf field is set.
*/
boolean hasDeaf();
/**
+ * <pre>
+ * True if the user is deafened by admin.
+ * </pre>
+ *
* <code>optional bool deaf = 7;</code>
+ * @return The deaf.
*/
boolean getDeaf();
/**
+ * <pre>
+ * True if the user has been suppressed from talking by a reason other than
+ * being muted.
+ * </pre>
+ *
* <code>optional bool suppress = 8;</code>
+ * @return Whether the suppress field is set.
*/
boolean hasSuppress();
/**
+ * <pre>
+ * True if the user has been suppressed from talking by a reason other than
+ * being muted.
+ * </pre>
+ *
* <code>optional bool suppress = 8;</code>
+ * @return The suppress.
*/
boolean getSuppress();
/**
+ * <pre>
+ * True if the user has muted self.
+ * </pre>
+ *
* <code>optional bool self_mute = 9;</code>
+ * @return Whether the selfMute field is set.
*/
boolean hasSelfMute();
/**
+ * <pre>
+ * True if the user has muted self.
+ * </pre>
+ *
* <code>optional bool self_mute = 9;</code>
+ * @return The selfMute.
*/
boolean getSelfMute();
/**
+ * <pre>
+ * True if the user has deafened self.
+ * </pre>
+ *
* <code>optional bool self_deaf = 10;</code>
+ * @return Whether the selfDeaf field is set.
*/
boolean hasSelfDeaf();
/**
+ * <pre>
+ * True if the user has deafened self.
+ * </pre>
+ *
* <code>optional bool self_deaf = 10;</code>
+ * @return The selfDeaf.
*/
boolean getSelfDeaf();
/**
+ * <pre>
+ * User image if it is less than 128 bytes.
+ * </pre>
+ *
* <code>optional bytes texture = 11;</code>
+ * @return Whether the texture field is set.
*/
boolean hasTexture();
/**
+ * <pre>
+ * User image if it is less than 128 bytes.
+ * </pre>
+ *
* <code>optional bytes texture = 11;</code>
+ * @return The texture.
*/
com.google.protobuf.ByteString getTexture();
/**
+ * <pre>
+ * 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.
+ * </pre>
+ *
* <code>optional bytes plugin_context = 12;</code>
+ * @return Whether the pluginContext field is set.
*/
boolean hasPluginContext();
/**
+ * <pre>
+ * 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.
+ * </pre>
+ *
* <code>optional bytes plugin_context = 12;</code>
+ * @return The pluginContext.
*/
com.google.protobuf.ByteString getPluginContext();
/**
+ * <pre>
+ * The user's plugin-specific identity.
+ * This value is not transmitted to clients.
+ * </pre>
+ *
* <code>optional string plugin_identity = 13;</code>
+ * @return Whether the pluginIdentity field is set.
*/
boolean hasPluginIdentity();
/**
+ * <pre>
+ * The user's plugin-specific identity.
+ * This value is not transmitted to clients.
+ * </pre>
+ *
* <code>optional string plugin_identity = 13;</code>
+ * @return The pluginIdentity.
*/
java.lang.String getPluginIdentity();
/**
+ * <pre>
+ * The user's plugin-specific identity.
+ * This value is not transmitted to clients.
+ * </pre>
+ *
* <code>optional string plugin_identity = 13;</code>
+ * @return The bytes for pluginIdentity.
*/
com.google.protobuf.ByteString
getPluginIdentityBytes();
/**
+ * <pre>
+ * User comment if it is less than 128 bytes.
+ * </pre>
+ *
* <code>optional string comment = 14;</code>
+ * @return Whether the comment field is set.
*/
boolean hasComment();
/**
+ * <pre>
+ * User comment if it is less than 128 bytes.
+ * </pre>
+ *
* <code>optional string comment = 14;</code>
+ * @return The comment.
*/
java.lang.String getComment();
/**
+ * <pre>
+ * User comment if it is less than 128 bytes.
+ * </pre>
+ *
* <code>optional string comment = 14;</code>
+ * @return The bytes for comment.
*/
com.google.protobuf.ByteString
getCommentBytes();
/**
+ * <pre>
+ * The hash of the user certificate.
+ * </pre>
+ *
* <code>optional string hash = 15;</code>
+ * @return Whether the hash field is set.
*/
boolean hasHash();
/**
+ * <pre>
+ * The hash of the user certificate.
+ * </pre>
+ *
* <code>optional string hash = 15;</code>
+ * @return The hash.
*/
java.lang.String getHash();
/**
+ * <pre>
+ * The hash of the user certificate.
+ * </pre>
+ *
* <code>optional string hash = 15;</code>
+ * @return The bytes for hash.
*/
com.google.protobuf.ByteString
getHashBytes();
/**
+ * <pre>
+ * SHA1 hash of the user comment if it 128 bytes or more.
+ * </pre>
+ *
* <code>optional bytes comment_hash = 16;</code>
+ * @return Whether the commentHash field is set.
*/
boolean hasCommentHash();
/**
+ * <pre>
+ * SHA1 hash of the user comment if it 128 bytes or more.
+ * </pre>
+ *
* <code>optional bytes comment_hash = 16;</code>
+ * @return The commentHash.
*/
com.google.protobuf.ByteString getCommentHash();
/**
+ * <pre>
+ * SHA1 hash of the user picture if it 128 bytes or more.
+ * </pre>
+ *
* <code>optional bytes texture_hash = 17;</code>
+ * @return Whether the textureHash field is set.
*/
boolean hasTextureHash();
/**
+ * <pre>
+ * SHA1 hash of the user picture if it 128 bytes or more.
+ * </pre>
+ *
* <code>optional bytes texture_hash = 17;</code>
+ * @return The textureHash.
*/
com.google.protobuf.ByteString getTextureHash();
/**
+ * <pre>
+ * True if the user is a priority speaker.
+ * </pre>
+ *
* <code>optional bool priority_speaker = 18;</code>
+ * @return Whether the prioritySpeaker field is set.
*/
boolean hasPrioritySpeaker();
/**
+ * <pre>
+ * True if the user is a priority speaker.
+ * </pre>
+ *
* <code>optional bool priority_speaker = 18;</code>
+ * @return The prioritySpeaker.
*/
boolean getPrioritySpeaker();
/**
+ * <pre>
+ * True if the user is currently recording.
+ * </pre>
+ *
* <code>optional bool recording = 19;</code>
+ * @return Whether the recording field is set.
*/
boolean hasRecording();
/**
+ * <pre>
+ * True if the user is currently recording.
+ * </pre>
+ *
* <code>optional bool recording = 19;</code>
+ * @return The recording.
*/
boolean getRecording();
}
/**
+ * <pre>
+ * 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.
+ * </pre>
+ *
* 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_;
/**
+ * <pre>
+ * Unique user session ID of the user whose state this is, may change on
+ * reconnect.
+ * </pre>
+ *
* <code>optional uint32 session = 1;</code>
+ * @return Whether the session field is set.
*/
public boolean hasSession() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * Unique user session ID of the user whose state this is, may change on
+ * reconnect.
+ * </pre>
+ *
* <code>optional uint32 session = 1;</code>
+ * @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_;
/**
+ * <pre>
+ * The session of the user who is updating this user.
+ * </pre>
+ *
* <code>optional uint32 actor = 2;</code>
+ * @return Whether the actor field is set.
*/
public boolean hasActor() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * The session of the user who is updating this user.
+ * </pre>
+ *
* <code>optional uint32 actor = 2;</code>
+ * @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_;
/**
+ * <pre>
+ * User name, UTF-8 encoded.
+ * </pre>
+ *
* <code>optional string name = 3;</code>
+ * @return Whether the name field is set.
*/
public boolean hasName() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
+ * <pre>
+ * User name, UTF-8 encoded.
+ * </pre>
+ *
* <code>optional string name = 3;</code>
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -9783,7 +11932,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * User name, UTF-8 encoded.
+ * </pre>
+ *
* <code>optional string name = 3;</code>
+ * @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_;
/**
+ * <pre>
+ * Registered user ID if the user is registered.
+ * </pre>
+ *
* <code>optional uint32 user_id = 4;</code>
+ * @return Whether the userId field is set.
*/
public boolean hasUserId() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
+ * <pre>
+ * Registered user ID if the user is registered.
+ * </pre>
+ *
* <code>optional uint32 user_id = 4;</code>
+ * @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_;
/**
+ * <pre>
+ * Channel on which the user is.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 5;</code>
+ * @return Whether the channelId field is set.
*/
public boolean hasChannelId() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
+ * <pre>
+ * Channel on which the user is.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 5;</code>
+ * @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_;
/**
+ * <pre>
+ * True if the user is muted by admin.
+ * </pre>
+ *
* <code>optional bool mute = 6;</code>
+ * @return Whether the mute field is set.
*/
public boolean hasMute() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
+ return ((bitField0_ & 0x00000020) != 0);
}
/**
+ * <pre>
+ * True if the user is muted by admin.
+ * </pre>
+ *
* <code>optional bool mute = 6;</code>
+ * @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_;
/**
+ * <pre>
+ * True if the user is deafened by admin.
+ * </pre>
+ *
* <code>optional bool deaf = 7;</code>
+ * @return Whether the deaf field is set.
*/
public boolean hasDeaf() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
+ return ((bitField0_ & 0x00000040) != 0);
}
/**
+ * <pre>
+ * True if the user is deafened by admin.
+ * </pre>
+ *
* <code>optional bool deaf = 7;</code>
+ * @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_;
/**
+ * <pre>
+ * True if the user has been suppressed from talking by a reason other than
+ * being muted.
+ * </pre>
+ *
* <code>optional bool suppress = 8;</code>
+ * @return Whether the suppress field is set.
*/
public boolean hasSuppress() {
- return ((bitField0_ & 0x00000080) == 0x00000080);
+ return ((bitField0_ & 0x00000080) != 0);
}
/**
+ * <pre>
+ * True if the user has been suppressed from talking by a reason other than
+ * being muted.
+ * </pre>
+ *
* <code>optional bool suppress = 8;</code>
+ * @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_;
/**
+ * <pre>
+ * True if the user has muted self.
+ * </pre>
+ *
* <code>optional bool self_mute = 9;</code>
+ * @return Whether the selfMute field is set.
*/
public boolean hasSelfMute() {
- return ((bitField0_ & 0x00000100) == 0x00000100);
+ return ((bitField0_ & 0x00000100) != 0);
}
/**
+ * <pre>
+ * True if the user has muted self.
+ * </pre>
+ *
* <code>optional bool self_mute = 9;</code>
+ * @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_;
/**
+ * <pre>
+ * True if the user has deafened self.
+ * </pre>
+ *
* <code>optional bool self_deaf = 10;</code>
+ * @return Whether the selfDeaf field is set.
*/
public boolean hasSelfDeaf() {
- return ((bitField0_ & 0x00000200) == 0x00000200);
+ return ((bitField0_ & 0x00000200) != 0);
}
/**
+ * <pre>
+ * True if the user has deafened self.
+ * </pre>
+ *
* <code>optional bool self_deaf = 10;</code>
+ * @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_;
/**
+ * <pre>
+ * User image if it is less than 128 bytes.
+ * </pre>
+ *
* <code>optional bytes texture = 11;</code>
+ * @return Whether the texture field is set.
*/
public boolean hasTexture() {
- return ((bitField0_ & 0x00000400) == 0x00000400);
+ return ((bitField0_ & 0x00000400) != 0);
}
/**
+ * <pre>
+ * User image if it is less than 128 bytes.
+ * </pre>
+ *
* <code>optional bytes texture = 11;</code>
+ * @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_;
/**
+ * <pre>
+ * 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.
+ * </pre>
+ *
* <code>optional bytes plugin_context = 12;</code>
+ * @return Whether the pluginContext field is set.
*/
public boolean hasPluginContext() {
- return ((bitField0_ & 0x00000800) == 0x00000800);
+ return ((bitField0_ & 0x00000800) != 0);
}
/**
+ * <pre>
+ * 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.
+ * </pre>
+ *
* <code>optional bytes plugin_context = 12;</code>
+ * @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_;
/**
+ * <pre>
+ * The user's plugin-specific identity.
+ * This value is not transmitted to clients.
+ * </pre>
+ *
* <code>optional string plugin_identity = 13;</code>
+ * @return Whether the pluginIdentity field is set.
*/
public boolean hasPluginIdentity() {
- return ((bitField0_ & 0x00001000) == 0x00001000);
+ return ((bitField0_ & 0x00001000) != 0);
}
/**
+ * <pre>
+ * The user's plugin-specific identity.
+ * This value is not transmitted to clients.
+ * </pre>
+ *
* <code>optional string plugin_identity = 13;</code>
+ * @return The pluginIdentity.
*/
public java.lang.String getPluginIdentity() {
java.lang.Object ref = pluginIdentity_;
@@ -9960,7 +12224,13 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * The user's plugin-specific identity.
+ * This value is not transmitted to clients.
+ * </pre>
+ *
* <code>optional string plugin_identity = 13;</code>
+ * @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_;
/**
+ * <pre>
+ * User comment if it is less than 128 bytes.
+ * </pre>
+ *
* <code>optional string comment = 14;</code>
+ * @return Whether the comment field is set.
*/
public boolean hasComment() {
- return ((bitField0_ & 0x00002000) == 0x00002000);
+ return ((bitField0_ & 0x00002000) != 0);
}
/**
+ * <pre>
+ * User comment if it is less than 128 bytes.
+ * </pre>
+ *
* <code>optional string comment = 14;</code>
+ * @return The comment.
*/
public java.lang.String getComment() {
java.lang.Object ref = comment_;
@@ -10002,7 +12282,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * User comment if it is less than 128 bytes.
+ * </pre>
+ *
* <code>optional string comment = 14;</code>
+ * @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_;
/**
+ * <pre>
+ * The hash of the user certificate.
+ * </pre>
+ *
* <code>optional string hash = 15;</code>
+ * @return Whether the hash field is set.
*/
public boolean hasHash() {
- return ((bitField0_ & 0x00004000) == 0x00004000);
+ return ((bitField0_ & 0x00004000) != 0);
}
/**
+ * <pre>
+ * The hash of the user certificate.
+ * </pre>
+ *
* <code>optional string hash = 15;</code>
+ * @return The hash.
*/
public java.lang.String getHash() {
java.lang.Object ref = hash_;
@@ -10044,7 +12339,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * The hash of the user certificate.
+ * </pre>
+ *
* <code>optional string hash = 15;</code>
+ * @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_;
/**
+ * <pre>
+ * SHA1 hash of the user comment if it 128 bytes or more.
+ * </pre>
+ *
* <code>optional bytes comment_hash = 16;</code>
+ * @return Whether the commentHash field is set.
*/
public boolean hasCommentHash() {
- return ((bitField0_ & 0x00008000) == 0x00008000);
+ return ((bitField0_ & 0x00008000) != 0);
}
/**
+ * <pre>
+ * SHA1 hash of the user comment if it 128 bytes or more.
+ * </pre>
+ *
* <code>optional bytes comment_hash = 16;</code>
+ * @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_;
/**
+ * <pre>
+ * SHA1 hash of the user picture if it 128 bytes or more.
+ * </pre>
+ *
* <code>optional bytes texture_hash = 17;</code>
+ * @return Whether the textureHash field is set.
*/
public boolean hasTextureHash() {
- return ((bitField0_ & 0x00010000) == 0x00010000);
+ return ((bitField0_ & 0x00010000) != 0);
}
/**
+ * <pre>
+ * SHA1 hash of the user picture if it 128 bytes or more.
+ * </pre>
+ *
* <code>optional bytes texture_hash = 17;</code>
+ * @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_;
/**
+ * <pre>
+ * True if the user is a priority speaker.
+ * </pre>
+ *
* <code>optional bool priority_speaker = 18;</code>
+ * @return Whether the prioritySpeaker field is set.
*/
public boolean hasPrioritySpeaker() {
- return ((bitField0_ & 0x00020000) == 0x00020000);
+ return ((bitField0_ & 0x00020000) != 0);
}
/**
+ * <pre>
+ * True if the user is a priority speaker.
+ * </pre>
+ *
* <code>optional bool priority_speaker = 18;</code>
+ * @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_;
/**
+ * <pre>
+ * True if the user is currently recording.
+ * </pre>
+ *
* <code>optional bool recording = 19;</code>
+ * @return Whether the recording field is set.
*/
public boolean hasRecording() {
- return ((bitField0_ & 0x00040000) == 0x00040000);
+ return ((bitField0_ & 0x00040000) != 0);
}
/**
+ * <pre>
+ * True if the user is currently recording.
+ * </pre>
+ *
* <code>optional bool recording = 19;</code>
+ * @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();
@@ -10481,6 +12822,17 @@ public final class Mumble {
}
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 {
return PARSER.parseFrom(data);
@@ -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;
}
/**
+ * <pre>
+ * 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.
+ * </pre>
+ *
* 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_ ;
/**
+ * <pre>
+ * Unique user session ID of the user whose state this is, may change on
+ * reconnect.
+ * </pre>
+ *
* <code>optional uint32 session = 1;</code>
+ * @return Whether the session field is set.
*/
public boolean hasSession() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * Unique user session ID of the user whose state this is, may change on
+ * reconnect.
+ * </pre>
+ *
* <code>optional uint32 session = 1;</code>
+ * @return The session.
*/
public int getSession() {
return session_;
}
/**
+ * <pre>
+ * Unique user session ID of the user whose state this is, may change on
+ * reconnect.
+ * </pre>
+ *
* <code>optional uint32 session = 1;</code>
+ * @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;
}
/**
+ * <pre>
+ * Unique user session ID of the user whose state this is, may change on
+ * reconnect.
+ * </pre>
+ *
* <code>optional uint32 session = 1;</code>
+ * @return This builder for chaining.
*/
public Builder clearSession() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -10900,19 +13300,35 @@ public final class Mumble {
private int actor_ ;
/**
+ * <pre>
+ * The session of the user who is updating this user.
+ * </pre>
+ *
* <code>optional uint32 actor = 2;</code>
+ * @return Whether the actor field is set.
*/
public boolean hasActor() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * The session of the user who is updating this user.
+ * </pre>
+ *
* <code>optional uint32 actor = 2;</code>
+ * @return The actor.
*/
public int getActor() {
return actor_;
}
/**
+ * <pre>
+ * The session of the user who is updating this user.
+ * </pre>
+ *
* <code>optional uint32 actor = 2;</code>
+ * @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;
}
/**
+ * <pre>
+ * The session of the user who is updating this user.
+ * </pre>
+ *
* <code>optional uint32 actor = 2;</code>
+ * @return This builder for chaining.
*/
public Builder clearActor() {
bitField0_ = (bitField0_ & ~0x00000002);
@@ -10932,13 +13353,23 @@ public final class Mumble {
private java.lang.Object name_ = "";
/**
+ * <pre>
+ * User name, UTF-8 encoded.
+ * </pre>
+ *
* <code>optional string name = 3;</code>
+ * @return Whether the name field is set.
*/
public boolean hasName() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
+ * <pre>
+ * User name, UTF-8 encoded.
+ * </pre>
+ *
* <code>optional string name = 3;</code>
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -10955,7 +13386,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * User name, UTF-8 encoded.
+ * </pre>
+ *
* <code>optional string name = 3;</code>
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
@@ -10971,7 +13407,13 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * User name, UTF-8 encoded.
+ * </pre>
+ *
* <code>optional string name = 3;</code>
+ * @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;
}
/**
+ * <pre>
+ * User name, UTF-8 encoded.
+ * </pre>
+ *
* <code>optional string name = 3;</code>
+ * @return This builder for chaining.
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000004);
@@ -10993,7 +13440,13 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * User name, UTF-8 encoded.
+ * </pre>
+ *
* <code>optional string name = 3;</code>
+ * @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_ ;
/**
+ * <pre>
+ * Registered user ID if the user is registered.
+ * </pre>
+ *
* <code>optional uint32 user_id = 4;</code>
+ * @return Whether the userId field is set.
*/
public boolean hasUserId() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
+ * <pre>
+ * Registered user ID if the user is registered.
+ * </pre>
+ *
* <code>optional uint32 user_id = 4;</code>
+ * @return The userId.
*/
public int getUserId() {
return userId_;
}
/**
+ * <pre>
+ * Registered user ID if the user is registered.
+ * </pre>
+ *
* <code>optional uint32 user_id = 4;</code>
+ * @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;
}
/**
+ * <pre>
+ * Registered user ID if the user is registered.
+ * </pre>
+ *
* <code>optional uint32 user_id = 4;</code>
+ * @return This builder for chaining.
*/
public Builder clearUserId() {
bitField0_ = (bitField0_ & ~0x00000008);
@@ -11040,19 +13514,35 @@ public final class Mumble {
private int channelId_ ;
/**
+ * <pre>
+ * Channel on which the user is.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 5;</code>
+ * @return Whether the channelId field is set.
*/
public boolean hasChannelId() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
+ * <pre>
+ * Channel on which the user is.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 5;</code>
+ * @return The channelId.
*/
public int getChannelId() {
return channelId_;
}
/**
+ * <pre>
+ * Channel on which the user is.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 5;</code>
+ * @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;
}
/**
+ * <pre>
+ * Channel on which the user is.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 5;</code>
+ * @return This builder for chaining.
*/
public Builder clearChannelId() {
bitField0_ = (bitField0_ & ~0x00000010);
@@ -11072,19 +13567,35 @@ public final class Mumble {
private boolean mute_ ;
/**
+ * <pre>
+ * True if the user is muted by admin.
+ * </pre>
+ *
* <code>optional bool mute = 6;</code>
+ * @return Whether the mute field is set.
*/
public boolean hasMute() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
+ return ((bitField0_ & 0x00000020) != 0);
}
/**
+ * <pre>
+ * True if the user is muted by admin.
+ * </pre>
+ *
* <code>optional bool mute = 6;</code>
+ * @return The mute.
*/
public boolean getMute() {
return mute_;
}
/**
+ * <pre>
+ * True if the user is muted by admin.
+ * </pre>
+ *
* <code>optional bool mute = 6;</code>
+ * @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;
}
/**
+ * <pre>
+ * True if the user is muted by admin.
+ * </pre>
+ *
* <code>optional bool mute = 6;</code>
+ * @return This builder for chaining.
*/
public Builder clearMute() {
bitField0_ = (bitField0_ & ~0x00000020);
@@ -11104,19 +13620,35 @@ public final class Mumble {
private boolean deaf_ ;
/**
+ * <pre>
+ * True if the user is deafened by admin.
+ * </pre>
+ *
* <code>optional bool deaf = 7;</code>
+ * @return Whether the deaf field is set.
*/
public boolean hasDeaf() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
+ return ((bitField0_ & 0x00000040) != 0);
}
/**
+ * <pre>
+ * True if the user is deafened by admin.
+ * </pre>
+ *
* <code>optional bool deaf = 7;</code>
+ * @return The deaf.
*/
public boolean getDeaf() {
return deaf_;
}
/**
+ * <pre>
+ * True if the user is deafened by admin.
+ * </pre>
+ *
* <code>optional bool deaf = 7;</code>
+ * @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;
}
/**
+ * <pre>
+ * True if the user is deafened by admin.
+ * </pre>
+ *
* <code>optional bool deaf = 7;</code>
+ * @return This builder for chaining.
*/
public Builder clearDeaf() {
bitField0_ = (bitField0_ & ~0x00000040);
@@ -11136,19 +13673,38 @@ public final class Mumble {
private boolean suppress_ ;
/**
+ * <pre>
+ * True if the user has been suppressed from talking by a reason other than
+ * being muted.
+ * </pre>
+ *
* <code>optional bool suppress = 8;</code>
+ * @return Whether the suppress field is set.
*/
public boolean hasSuppress() {
- return ((bitField0_ & 0x00000080) == 0x00000080);
+ return ((bitField0_ & 0x00000080) != 0);
}
/**
+ * <pre>
+ * True if the user has been suppressed from talking by a reason other than
+ * being muted.
+ * </pre>
+ *
* <code>optional bool suppress = 8;</code>
+ * @return The suppress.
*/
public boolean getSuppress() {
return suppress_;
}
/**
+ * <pre>
+ * True if the user has been suppressed from talking by a reason other than
+ * being muted.
+ * </pre>
+ *
* <code>optional bool suppress = 8;</code>
+ * @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;
}
/**
+ * <pre>
+ * True if the user has been suppressed from talking by a reason other than
+ * being muted.
+ * </pre>
+ *
* <code>optional bool suppress = 8;</code>
+ * @return This builder for chaining.
*/
public Builder clearSuppress() {
bitField0_ = (bitField0_ & ~0x00000080);
@@ -11168,19 +13730,35 @@ public final class Mumble {
private boolean selfMute_ ;
/**
+ * <pre>
+ * True if the user has muted self.
+ * </pre>
+ *
* <code>optional bool self_mute = 9;</code>
+ * @return Whether the selfMute field is set.
*/
public boolean hasSelfMute() {
- return ((bitField0_ & 0x00000100) == 0x00000100);
+ return ((bitField0_ & 0x00000100) != 0);
}
/**
+ * <pre>
+ * True if the user has muted self.
+ * </pre>
+ *
* <code>optional bool self_mute = 9;</code>
+ * @return The selfMute.
*/
public boolean getSelfMute() {
return selfMute_;
}
/**
+ * <pre>
+ * True if the user has muted self.
+ * </pre>
+ *
* <code>optional bool self_mute = 9;</code>
+ * @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;
}
/**
+ * <pre>
+ * True if the user has muted self.
+ * </pre>
+ *
* <code>optional bool self_mute = 9;</code>
+ * @return This builder for chaining.
*/
public Builder clearSelfMute() {
bitField0_ = (bitField0_ & ~0x00000100);
@@ -11200,19 +13783,35 @@ public final class Mumble {
private boolean selfDeaf_ ;
/**
+ * <pre>
+ * True if the user has deafened self.
+ * </pre>
+ *
* <code>optional bool self_deaf = 10;</code>
+ * @return Whether the selfDeaf field is set.
*/
public boolean hasSelfDeaf() {
- return ((bitField0_ & 0x00000200) == 0x00000200);
+ return ((bitField0_ & 0x00000200) != 0);
}
/**
+ * <pre>
+ * True if the user has deafened self.
+ * </pre>
+ *
* <code>optional bool self_deaf = 10;</code>
+ * @return The selfDeaf.
*/
public boolean getSelfDeaf() {
return selfDeaf_;
}
/**
+ * <pre>
+ * True if the user has deafened self.
+ * </pre>
+ *
* <code>optional bool self_deaf = 10;</code>
+ * @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;
}
/**
+ * <pre>
+ * True if the user has deafened self.
+ * </pre>
+ *
* <code>optional bool self_deaf = 10;</code>
+ * @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;
/**
+ * <pre>
+ * User image if it is less than 128 bytes.
+ * </pre>
+ *
* <code>optional bytes texture = 11;</code>
+ * @return Whether the texture field is set.
*/
public boolean hasTexture() {
- return ((bitField0_ & 0x00000400) == 0x00000400);
+ return ((bitField0_ & 0x00000400) != 0);
}
/**
+ * <pre>
+ * User image if it is less than 128 bytes.
+ * </pre>
+ *
* <code>optional bytes texture = 11;</code>
+ * @return The texture.
*/
public com.google.protobuf.ByteString getTexture() {
return texture_;
}
/**
+ * <pre>
+ * User image if it is less than 128 bytes.
+ * </pre>
+ *
* <code>optional bytes texture = 11;</code>
+ * @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;
}
/**
+ * <pre>
+ * User image if it is less than 128 bytes.
+ * </pre>
+ *
* <code>optional bytes texture = 11;</code>
+ * @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;
/**
+ * <pre>
+ * 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.
+ * </pre>
+ *
* <code>optional bytes plugin_context = 12;</code>
+ * @return Whether the pluginContext field is set.
*/
public boolean hasPluginContext() {
- return ((bitField0_ & 0x00000800) == 0x00000800);
+ return ((bitField0_ & 0x00000800) != 0);
}
/**
+ * <pre>
+ * 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.
+ * </pre>
+ *
* <code>optional bytes plugin_context = 12;</code>
+ * @return The pluginContext.
*/
public com.google.protobuf.ByteString getPluginContext() {
return pluginContext_;
}
/**
+ * <pre>
+ * 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.
+ * </pre>
+ *
* <code>optional bytes plugin_context = 12;</code>
+ * @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;
}
/**
+ * <pre>
+ * 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.
+ * </pre>
+ *
* <code>optional bytes plugin_context = 12;</code>
+ * @return This builder for chaining.
*/
public Builder clearPluginContext() {
bitField0_ = (bitField0_ & ~0x00000800);
@@ -11302,13 +13960,25 @@ public final class Mumble {
private java.lang.Object pluginIdentity_ = "";
/**
+ * <pre>
+ * The user's plugin-specific identity.
+ * This value is not transmitted to clients.
+ * </pre>
+ *
* <code>optional string plugin_identity = 13;</code>
+ * @return Whether the pluginIdentity field is set.
*/
public boolean hasPluginIdentity() {
- return ((bitField0_ & 0x00001000) == 0x00001000);
+ return ((bitField0_ & 0x00001000) != 0);
}
/**
+ * <pre>
+ * The user's plugin-specific identity.
+ * This value is not transmitted to clients.
+ * </pre>
+ *
* <code>optional string plugin_identity = 13;</code>
+ * @return The pluginIdentity.
*/
public java.lang.String getPluginIdentity() {
java.lang.Object ref = pluginIdentity_;
@@ -11325,7 +13995,13 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * The user's plugin-specific identity.
+ * This value is not transmitted to clients.
+ * </pre>
+ *
* <code>optional string plugin_identity = 13;</code>
+ * @return The bytes for pluginIdentity.
*/
public com.google.protobuf.ByteString
getPluginIdentityBytes() {
@@ -11341,7 +14017,14 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * The user's plugin-specific identity.
+ * This value is not transmitted to clients.
+ * </pre>
+ *
* <code>optional string plugin_identity = 13;</code>
+ * @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;
}
/**
+ * <pre>
+ * The user's plugin-specific identity.
+ * This value is not transmitted to clients.
+ * </pre>
+ *
* <code>optional string plugin_identity = 13;</code>
+ * @return This builder for chaining.
*/
public Builder clearPluginIdentity() {
bitField0_ = (bitField0_ & ~0x00001000);
@@ -11363,7 +14052,14 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * The user's plugin-specific identity.
+ * This value is not transmitted to clients.
+ * </pre>
+ *
* <code>optional string plugin_identity = 13;</code>
+ * @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_ = "";
/**
+ * <pre>
+ * User comment if it is less than 128 bytes.
+ * </pre>
+ *
* <code>optional string comment = 14;</code>
+ * @return Whether the comment field is set.
*/
public boolean hasComment() {
- return ((bitField0_ & 0x00002000) == 0x00002000);
+ return ((bitField0_ & 0x00002000) != 0);
}
/**
+ * <pre>
+ * User comment if it is less than 128 bytes.
+ * </pre>
+ *
* <code>optional string comment = 14;</code>
+ * @return The comment.
*/
public java.lang.String getComment() {
java.lang.Object ref = comment_;
@@ -11401,7 +14107,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * User comment if it is less than 128 bytes.
+ * </pre>
+ *
* <code>optional string comment = 14;</code>
+ * @return The bytes for comment.
*/
public com.google.protobuf.ByteString
getCommentBytes() {
@@ -11417,7 +14128,13 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * User comment if it is less than 128 bytes.
+ * </pre>
+ *
* <code>optional string comment = 14;</code>
+ * @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;
}
/**
+ * <pre>
+ * User comment if it is less than 128 bytes.
+ * </pre>
+ *
* <code>optional string comment = 14;</code>
+ * @return This builder for chaining.
*/
public Builder clearComment() {
bitField0_ = (bitField0_ & ~0x00002000);
@@ -11439,7 +14161,13 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * User comment if it is less than 128 bytes.
+ * </pre>
+ *
* <code>optional string comment = 14;</code>
+ * @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_ = "";
/**
+ * <pre>
+ * The hash of the user certificate.
+ * </pre>
+ *
* <code>optional string hash = 15;</code>
+ * @return Whether the hash field is set.
*/
public boolean hasHash() {
- return ((bitField0_ & 0x00004000) == 0x00004000);
+ return ((bitField0_ & 0x00004000) != 0);
}
/**
+ * <pre>
+ * The hash of the user certificate.
+ * </pre>
+ *
* <code>optional string hash = 15;</code>
+ * @return The hash.
*/
public java.lang.String getHash() {
java.lang.Object ref = hash_;
@@ -11477,7 +14215,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * The hash of the user certificate.
+ * </pre>
+ *
* <code>optional string hash = 15;</code>
+ * @return The bytes for hash.
*/
public com.google.protobuf.ByteString
getHashBytes() {
@@ -11493,7 +14236,13 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * The hash of the user certificate.
+ * </pre>
+ *
* <code>optional string hash = 15;</code>
+ * @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;
}
/**
+ * <pre>
+ * The hash of the user certificate.
+ * </pre>
+ *
* <code>optional string hash = 15;</code>
+ * @return This builder for chaining.
*/
public Builder clearHash() {
bitField0_ = (bitField0_ & ~0x00004000);
@@ -11515,7 +14269,13 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * The hash of the user certificate.
+ * </pre>
+ *
* <code>optional string hash = 15;</code>
+ * @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;
/**
+ * <pre>
+ * SHA1 hash of the user comment if it 128 bytes or more.
+ * </pre>
+ *
* <code>optional bytes comment_hash = 16;</code>
+ * @return Whether the commentHash field is set.
*/
public boolean hasCommentHash() {
- return ((bitField0_ & 0x00008000) == 0x00008000);
+ return ((bitField0_ & 0x00008000) != 0);
}
/**
+ * <pre>
+ * SHA1 hash of the user comment if it 128 bytes or more.
+ * </pre>
+ *
* <code>optional bytes comment_hash = 16;</code>
+ * @return The commentHash.
*/
public com.google.protobuf.ByteString getCommentHash() {
return commentHash_;
}
/**
+ * <pre>
+ * SHA1 hash of the user comment if it 128 bytes or more.
+ * </pre>
+ *
* <code>optional bytes comment_hash = 16;</code>
+ * @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;
}
/**
+ * <pre>
+ * SHA1 hash of the user comment if it 128 bytes or more.
+ * </pre>
+ *
* <code>optional bytes comment_hash = 16;</code>
+ * @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;
/**
+ * <pre>
+ * SHA1 hash of the user picture if it 128 bytes or more.
+ * </pre>
+ *
* <code>optional bytes texture_hash = 17;</code>
+ * @return Whether the textureHash field is set.
*/
public boolean hasTextureHash() {
- return ((bitField0_ & 0x00010000) == 0x00010000);
+ return ((bitField0_ & 0x00010000) != 0);
}
/**
+ * <pre>
+ * SHA1 hash of the user picture if it 128 bytes or more.
+ * </pre>
+ *
* <code>optional bytes texture_hash = 17;</code>
+ * @return The textureHash.
*/
public com.google.protobuf.ByteString getTextureHash() {
return textureHash_;
}
/**
+ * <pre>
+ * SHA1 hash of the user picture if it 128 bytes or more.
+ * </pre>
+ *
* <code>optional bytes texture_hash = 17;</code>
+ * @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;
}
/**
+ * <pre>
+ * SHA1 hash of the user picture if it 128 bytes or more.
+ * </pre>
+ *
* <code>optional bytes texture_hash = 17;</code>
+ * @return This builder for chaining.
*/
public Builder clearTextureHash() {
bitField0_ = (bitField0_ & ~0x00010000);
@@ -11600,19 +14402,35 @@ public final class Mumble {
private boolean prioritySpeaker_ ;
/**
+ * <pre>
+ * True if the user is a priority speaker.
+ * </pre>
+ *
* <code>optional bool priority_speaker = 18;</code>
+ * @return Whether the prioritySpeaker field is set.
*/
public boolean hasPrioritySpeaker() {
- return ((bitField0_ & 0x00020000) == 0x00020000);
+ return ((bitField0_ & 0x00020000) != 0);
}
/**
+ * <pre>
+ * True if the user is a priority speaker.
+ * </pre>
+ *
* <code>optional bool priority_speaker = 18;</code>
+ * @return The prioritySpeaker.
*/
public boolean getPrioritySpeaker() {
return prioritySpeaker_;
}
/**
+ * <pre>
+ * True if the user is a priority speaker.
+ * </pre>
+ *
* <code>optional bool priority_speaker = 18;</code>
+ * @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;
}
/**
+ * <pre>
+ * True if the user is a priority speaker.
+ * </pre>
+ *
* <code>optional bool priority_speaker = 18;</code>
+ * @return This builder for chaining.
*/
public Builder clearPrioritySpeaker() {
bitField0_ = (bitField0_ & ~0x00020000);
@@ -11632,19 +14455,35 @@ public final class Mumble {
private boolean recording_ ;
/**
+ * <pre>
+ * True if the user is currently recording.
+ * </pre>
+ *
* <code>optional bool recording = 19;</code>
+ * @return Whether the recording field is set.
*/
public boolean hasRecording() {
- return ((bitField0_ & 0x00040000) == 0x00040000);
+ return ((bitField0_ & 0x00040000) != 0);
}
/**
+ * <pre>
+ * True if the user is currently recording.
+ * </pre>
+ *
* <code>optional bool recording = 19;</code>
+ * @return The recording.
*/
public boolean getRecording() {
return recording_;
}
/**
+ * <pre>
+ * True if the user is currently recording.
+ * </pre>
+ *
* <code>optional bool recording = 19;</code>
+ * @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;
}
/**
+ * <pre>
+ * True if the user is currently recording.
+ * </pre>
+ *
* <code>optional bool recording = 19;</code>
+ * @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<UserState>
PARSER = new com.google.protobuf.AbstractParser<UserState>() {
+ @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 {
/**
+ * <pre>
+ * List of ban entries currently in place.
+ * </pre>
+ *
* <code>repeated .MumbleProto.BanList.BanEntry bans = 1;</code>
*/
java.util.List<se.lublin.humla.protobuf.Mumble.BanList.BanEntry>
getBansList();
/**
+ * <pre>
+ * List of ban entries currently in place.
+ * </pre>
+ *
* <code>repeated .MumbleProto.BanList.BanEntry bans = 1;</code>
*/
se.lublin.humla.protobuf.Mumble.BanList.BanEntry getBans(int index);
/**
+ * <pre>
+ * List of ban entries currently in place.
+ * </pre>
+ *
* <code>repeated .MumbleProto.BanList.BanEntry bans = 1;</code>
*/
int getBansCount();
/**
+ * <pre>
+ * List of ban entries currently in place.
+ * </pre>
+ *
* <code>repeated .MumbleProto.BanList.BanEntry bans = 1;</code>
*/
java.util.List<? extends se.lublin.humla.protobuf.Mumble.BanList.BanEntryOrBuilder>
getBansOrBuilderList();
/**
+ * <pre>
+ * List of ban entries currently in place.
+ * </pre>
+ *
* <code>repeated .MumbleProto.BanList.BanEntry bans = 1;</code>
*/
se.lublin.humla.protobuf.Mumble.BanList.BanEntryOrBuilder getBansOrBuilder(
int index);
/**
+ * <pre>
+ * True if the server should return the list, false if it should replace old
+ * ban list with the one provided.
+ * </pre>
+ *
* <code>optional bool query = 2 [default = false];</code>
+ * @return Whether the query field is set.
*/
boolean hasQuery();
/**
+ * <pre>
+ * True if the server should return the list, false if it should replace old
+ * ban list with the one provided.
+ * </pre>
+ *
* <code>optional bool query = 2 [default = false];</code>
+ * @return The query.
*/
boolean getQuery();
}
/**
+ * <pre>
+ * 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.
+ * </pre>
+ *
* 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<se.lublin.humla.protobuf.Mumble.BanList.BanEntry>();
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 {
/**
+ * <pre>
+ * Banned IP address.
+ * </pre>
+ *
* <code>required bytes address = 1;</code>
+ * @return Whether the address field is set.
*/
boolean hasAddress();
/**
+ * <pre>
+ * Banned IP address.
+ * </pre>
+ *
* <code>required bytes address = 1;</code>
+ * @return The address.
*/
com.google.protobuf.ByteString getAddress();
/**
+ * <pre>
+ * The length of the subnet mask for the ban.
+ * </pre>
+ *
* <code>required uint32 mask = 2;</code>
+ * @return Whether the mask field is set.
*/
boolean hasMask();
/**
+ * <pre>
+ * The length of the subnet mask for the ban.
+ * </pre>
+ *
* <code>required uint32 mask = 2;</code>
+ * @return The mask.
*/
int getMask();
/**
+ * <pre>
+ * User name for identification purposes (does not affect the ban).
+ * </pre>
+ *
* <code>optional string name = 3;</code>
+ * @return Whether the name field is set.
*/
boolean hasName();
/**
+ * <pre>
+ * User name for identification purposes (does not affect the ban).
+ * </pre>
+ *
* <code>optional string name = 3;</code>
+ * @return The name.
*/
java.lang.String getName();
/**
+ * <pre>
+ * User name for identification purposes (does not affect the ban).
+ * </pre>
+ *
* <code>optional string name = 3;</code>
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
+ * <pre>
+ * The certificate hash of the banned user.
+ * </pre>
+ *
* <code>optional string hash = 4;</code>
+ * @return Whether the hash field is set.
*/
boolean hasHash();
/**
+ * <pre>
+ * The certificate hash of the banned user.
+ * </pre>
+ *
* <code>optional string hash = 4;</code>
+ * @return The hash.
*/
java.lang.String getHash();
/**
+ * <pre>
+ * The certificate hash of the banned user.
+ * </pre>
+ *
* <code>optional string hash = 4;</code>
+ * @return The bytes for hash.
*/
com.google.protobuf.ByteString
getHashBytes();
/**
+ * <pre>
+ * Reason for the ban (does not affect the ban).
+ * </pre>
+ *
* <code>optional string reason = 5;</code>
+ * @return Whether the reason field is set.
*/
boolean hasReason();
/**
+ * <pre>
+ * Reason for the ban (does not affect the ban).
+ * </pre>
+ *
* <code>optional string reason = 5;</code>
+ * @return The reason.
*/
java.lang.String getReason();
/**
+ * <pre>
+ * Reason for the ban (does not affect the ban).
+ * </pre>
+ *
* <code>optional string reason = 5;</code>
+ * @return The bytes for reason.
*/
com.google.protobuf.ByteString
getReasonBytes();
/**
+ * <pre>
+ * Ban start time.
+ * </pre>
+ *
* <code>optional string start = 6;</code>
+ * @return Whether the start field is set.
*/
boolean hasStart();
/**
+ * <pre>
+ * Ban start time.
+ * </pre>
+ *
* <code>optional string start = 6;</code>
+ * @return The start.
*/
java.lang.String getStart();
/**
+ * <pre>
+ * Ban start time.
+ * </pre>
+ *
* <code>optional string start = 6;</code>
+ * @return The bytes for start.
*/
com.google.protobuf.ByteString
getStartBytes();
/**
+ * <pre>
+ * Ban duration in seconds.
+ * </pre>
+ *
* <code>optional uint32 duration = 7;</code>
+ * @return Whether the duration field is set.
*/
boolean hasDuration();
/**
+ * <pre>
+ * Ban duration in seconds.
+ * </pre>
+ *
* <code>optional uint32 duration = 7;</code>
+ * @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_;
/**
+ * <pre>
+ * Banned IP address.
+ * </pre>
+ *
* <code>required bytes address = 1;</code>
+ * @return Whether the address field is set.
*/
public boolean hasAddress() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * Banned IP address.
+ * </pre>
+ *
* <code>required bytes address = 1;</code>
+ * @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_;
/**
+ * <pre>
+ * The length of the subnet mask for the ban.
+ * </pre>
+ *
* <code>required uint32 mask = 2;</code>
+ * @return Whether the mask field is set.
*/
public boolean hasMask() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * The length of the subnet mask for the ban.
+ * </pre>
+ *
* <code>required uint32 mask = 2;</code>
+ * @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_;
/**
+ * <pre>
+ * User name for identification purposes (does not affect the ban).
+ * </pre>
+ *
* <code>optional string name = 3;</code>
+ * @return Whether the name field is set.
*/
public boolean hasName() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
+ * <pre>
+ * User name for identification purposes (does not affect the ban).
+ * </pre>
+ *
* <code>optional string name = 3;</code>
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -12088,7 +15115,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * User name for identification purposes (does not affect the ban).
+ * </pre>
+ *
* <code>optional string name = 3;</code>
+ * @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_;
/**
+ * <pre>
+ * The certificate hash of the banned user.
+ * </pre>
+ *
* <code>optional string hash = 4;</code>
+ * @return Whether the hash field is set.
*/
public boolean hasHash() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
+ * <pre>
+ * The certificate hash of the banned user.
+ * </pre>
+ *
* <code>optional string hash = 4;</code>
+ * @return The hash.
*/
public java.lang.String getHash() {
java.lang.Object ref = hash_;
@@ -12130,7 +15172,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * The certificate hash of the banned user.
+ * </pre>
+ *
* <code>optional string hash = 4;</code>
+ * @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_;
/**
+ * <pre>
+ * Reason for the ban (does not affect the ban).
+ * </pre>
+ *
* <code>optional string reason = 5;</code>
+ * @return Whether the reason field is set.
*/
public boolean hasReason() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
+ * <pre>
+ * Reason for the ban (does not affect the ban).
+ * </pre>
+ *
* <code>optional string reason = 5;</code>
+ * @return The reason.
*/
public java.lang.String getReason() {
java.lang.Object ref = reason_;
@@ -12172,7 +15229,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Reason for the ban (does not affect the ban).
+ * </pre>
+ *
* <code>optional string reason = 5;</code>
+ * @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_;
/**
+ * <pre>
+ * Ban start time.
+ * </pre>
+ *
* <code>optional string start = 6;</code>
+ * @return Whether the start field is set.
*/
public boolean hasStart() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
+ return ((bitField0_ & 0x00000020) != 0);
}
/**
+ * <pre>
+ * Ban start time.
+ * </pre>
+ *
* <code>optional string start = 6;</code>
+ * @return The start.
*/
public java.lang.String getStart() {
java.lang.Object ref = start_;
@@ -12214,7 +15286,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Ban start time.
+ * </pre>
+ *
* <code>optional string start = 6;</code>
+ * @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_;
/**
+ * <pre>
+ * Ban duration in seconds.
+ * </pre>
+ *
* <code>optional uint32 duration = 7;</code>
+ * @return Whether the duration field is set.
*/
public boolean hasDuration() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
+ return ((bitField0_ & 0x00000040) != 0);
}
/**
+ * <pre>
+ * Ban duration in seconds.
+ * </pre>
+ *
* <code>optional uint32 duration = 7;</code>
+ * @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();
@@ -12415,6 +15503,17 @@ public final class Mumble {
}
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 {
return PARSER.parseFrom(data);
@@ -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;
/**
+ * <pre>
+ * Banned IP address.
+ * </pre>
+ *
* <code>required bytes address = 1;</code>
+ * @return Whether the address field is set.
*/
public boolean hasAddress() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * Banned IP address.
+ * </pre>
+ *
* <code>required bytes address = 1;</code>
+ * @return The address.
*/
public com.google.protobuf.ByteString getAddress() {
return address_;
}
/**
+ * <pre>
+ * Banned IP address.
+ * </pre>
+ *
* <code>required bytes address = 1;</code>
+ * @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;
}
/**
+ * <pre>
+ * Banned IP address.
+ * </pre>
+ *
* <code>required bytes address = 1;</code>
+ * @return This builder for chaining.
*/
public Builder clearAddress() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -12735,19 +15872,35 @@ public final class Mumble {
private int mask_ ;
/**
+ * <pre>
+ * The length of the subnet mask for the ban.
+ * </pre>
+ *
* <code>required uint32 mask = 2;</code>
+ * @return Whether the mask field is set.
*/
public boolean hasMask() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * The length of the subnet mask for the ban.
+ * </pre>
+ *
* <code>required uint32 mask = 2;</code>
+ * @return The mask.
*/
public int getMask() {
return mask_;
}
/**
+ * <pre>
+ * The length of the subnet mask for the ban.
+ * </pre>
+ *
* <code>required uint32 mask = 2;</code>
+ * @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;
}
/**
+ * <pre>
+ * The length of the subnet mask for the ban.
+ * </pre>
+ *
* <code>required uint32 mask = 2;</code>
+ * @return This builder for chaining.
*/
public Builder clearMask() {
bitField0_ = (bitField0_ & ~0x00000002);
@@ -12767,13 +15925,23 @@ public final class Mumble {
private java.lang.Object name_ = "";
/**
+ * <pre>
+ * User name for identification purposes (does not affect the ban).
+ * </pre>
+ *
* <code>optional string name = 3;</code>
+ * @return Whether the name field is set.
*/
public boolean hasName() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
+ * <pre>
+ * User name for identification purposes (does not affect the ban).
+ * </pre>
+ *
* <code>optional string name = 3;</code>
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -12790,7 +15958,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * User name for identification purposes (does not affect the ban).
+ * </pre>
+ *
* <code>optional string name = 3;</code>
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
@@ -12806,7 +15979,13 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * User name for identification purposes (does not affect the ban).
+ * </pre>
+ *
* <code>optional string name = 3;</code>
+ * @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;
}
/**
+ * <pre>
+ * User name for identification purposes (does not affect the ban).
+ * </pre>
+ *
* <code>optional string name = 3;</code>
+ * @return This builder for chaining.
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000004);
@@ -12828,7 +16012,13 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * User name for identification purposes (does not affect the ban).
+ * </pre>
+ *
* <code>optional string name = 3;</code>
+ * @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_ = "";
/**
+ * <pre>
+ * The certificate hash of the banned user.
+ * </pre>
+ *
* <code>optional string hash = 4;</code>
+ * @return Whether the hash field is set.
*/
public boolean hasHash() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
+ * <pre>
+ * The certificate hash of the banned user.
+ * </pre>
+ *
* <code>optional string hash = 4;</code>
+ * @return The hash.
*/
public java.lang.String getHash() {
java.lang.Object ref = hash_;
@@ -12866,7 +16066,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * The certificate hash of the banned user.
+ * </pre>
+ *
* <code>optional string hash = 4;</code>
+ * @return The bytes for hash.
*/
public com.google.protobuf.ByteString
getHashBytes() {
@@ -12882,7 +16087,13 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * The certificate hash of the banned user.
+ * </pre>
+ *
* <code>optional string hash = 4;</code>
+ * @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;
}
/**
+ * <pre>
+ * The certificate hash of the banned user.
+ * </pre>
+ *
* <code>optional string hash = 4;</code>
+ * @return This builder for chaining.
*/
public Builder clearHash() {
bitField0_ = (bitField0_ & ~0x00000008);
@@ -12904,7 +16120,13 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * The certificate hash of the banned user.
+ * </pre>
+ *
* <code>optional string hash = 4;</code>
+ * @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_ = "";
/**
+ * <pre>
+ * Reason for the ban (does not affect the ban).
+ * </pre>
+ *
* <code>optional string reason = 5;</code>
+ * @return Whether the reason field is set.
*/
public boolean hasReason() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
+ * <pre>
+ * Reason for the ban (does not affect the ban).
+ * </pre>
+ *
* <code>optional string reason = 5;</code>
+ * @return The reason.
*/
public java.lang.String getReason() {
java.lang.Object ref = reason_;
@@ -12942,7 +16174,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Reason for the ban (does not affect the ban).
+ * </pre>
+ *
* <code>optional string reason = 5;</code>
+ * @return The bytes for reason.
*/
public com.google.protobuf.ByteString
getReasonBytes() {
@@ -12958,7 +16195,13 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Reason for the ban (does not affect the ban).
+ * </pre>
+ *
* <code>optional string reason = 5;</code>
+ * @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;
}
/**
+ * <pre>
+ * Reason for the ban (does not affect the ban).
+ * </pre>
+ *
* <code>optional string reason = 5;</code>
+ * @return This builder for chaining.
*/
public Builder clearReason() {
bitField0_ = (bitField0_ & ~0x00000010);
@@ -12980,7 +16228,13 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Reason for the ban (does not affect the ban).
+ * </pre>
+ *
* <code>optional string reason = 5;</code>
+ * @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_ = "";
/**
+ * <pre>
+ * Ban start time.
+ * </pre>
+ *
* <code>optional string start = 6;</code>
+ * @return Whether the start field is set.
*/
public boolean hasStart() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
+ return ((bitField0_ & 0x00000020) != 0);
}
/**
+ * <pre>
+ * Ban start time.
+ * </pre>
+ *
* <code>optional string start = 6;</code>
+ * @return The start.
*/
public java.lang.String getStart() {
java.lang.Object ref = start_;
@@ -13018,7 +16282,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Ban start time.
+ * </pre>
+ *
* <code>optional string start = 6;</code>
+ * @return The bytes for start.
*/
public com.google.protobuf.ByteString
getStartBytes() {
@@ -13034,7 +16303,13 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Ban start time.
+ * </pre>
+ *
* <code>optional string start = 6;</code>
+ * @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;
}
/**
+ * <pre>
+ * Ban start time.
+ * </pre>
+ *
* <code>optional string start = 6;</code>
+ * @return This builder for chaining.
*/
public Builder clearStart() {
bitField0_ = (bitField0_ & ~0x00000020);
@@ -13056,7 +16336,13 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Ban start time.
+ * </pre>
+ *
* <code>optional string start = 6;</code>
+ * @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_ ;
/**
+ * <pre>
+ * Ban duration in seconds.
+ * </pre>
+ *
* <code>optional uint32 duration = 7;</code>
+ * @return Whether the duration field is set.
*/
public boolean hasDuration() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
+ return ((bitField0_ & 0x00000040) != 0);
}
/**
+ * <pre>
+ * Ban duration in seconds.
+ * </pre>
+ *
* <code>optional uint32 duration = 7;</code>
+ * @return The duration.
*/
public int getDuration() {
return duration_;
}
/**
+ * <pre>
+ * Ban duration in seconds.
+ * </pre>
+ *
* <code>optional uint32 duration = 7;</code>
+ * @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;
}
/**
+ * <pre>
+ * Ban duration in seconds.
+ * </pre>
+ *
* <code>optional uint32 duration = 7;</code>
+ * @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<BanEntry>
PARSER = new com.google.protobuf.AbstractParser<BanEntry>() {
+ @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<se.lublin.humla.protobuf.Mumble.BanList.BanEntry> bans_;
/**
+ * <pre>
+ * List of ban entries currently in place.
+ * </pre>
+ *
* <code>repeated .MumbleProto.BanList.BanEntry bans = 1;</code>
*/
public java.util.List<se.lublin.humla.protobuf.Mumble.BanList.BanEntry> getBansList() {
return bans_;
}
/**
+ * <pre>
+ * List of ban entries currently in place.
+ * </pre>
+ *
* <code>repeated .MumbleProto.BanList.BanEntry bans = 1;</code>
*/
public java.util.List<? extends se.lublin.humla.protobuf.Mumble.BanList.BanEntryOrBuilder>
@@ -13166,18 +16485,30 @@ public final class Mumble {
return bans_;
}
/**
+ * <pre>
+ * List of ban entries currently in place.
+ * </pre>
+ *
* <code>repeated .MumbleProto.BanList.BanEntry bans = 1;</code>
*/
public int getBansCount() {
return bans_.size();
}
/**
+ * <pre>
+ * List of ban entries currently in place.
+ * </pre>
+ *
* <code>repeated .MumbleProto.BanList.BanEntry bans = 1;</code>
*/
public se.lublin.humla.protobuf.Mumble.BanList.BanEntry getBans(int index) {
return bans_.get(index);
}
/**
+ * <pre>
+ * List of ban entries currently in place.
+ * </pre>
+ *
* <code>repeated .MumbleProto.BanList.BanEntry bans = 1;</code>
*/
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_;
/**
+ * <pre>
+ * True if the server should return the list, false if it should replace old
+ * ban list with the one provided.
+ * </pre>
+ *
* <code>optional bool query = 2 [default = false];</code>
+ * @return Whether the query field is set.
*/
public boolean hasQuery() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * True if the server should return the list, false if it should replace old
+ * ban list with the one provided.
+ * </pre>
+ *
* <code>optional bool query = 2 [default = false];</code>
+ * @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();
@@ -13290,6 +16634,17 @@ public final class Mumble {
}
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 {
return PARSER.parseFrom(data);
@@ -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;
}
/**
+ * <pre>
+ * 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.
+ * </pre>
+ *
* 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<se.lublin.humla.protobuf.Mumble.BanList.BanEntry> bans_ =
java.util.Collections.emptyList();
private void ensureBansIsMutable() {
- if (!((bitField0_ & 0x00000001) == 0x00000001)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
bans_ = new java.util.ArrayList<se.lublin.humla.protobuf.Mumble.BanList.BanEntry>(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_;
/**
+ * <pre>
+ * List of ban entries currently in place.
+ * </pre>
+ *
* <code>repeated .MumbleProto.BanList.BanEntry bans = 1;</code>
*/
public java.util.List<se.lublin.humla.protobuf.Mumble.BanList.BanEntry> getBansList() {
@@ -13575,6 +16957,10 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * List of ban entries currently in place.
+ * </pre>
+ *
* <code>repeated .MumbleProto.BanList.BanEntry bans = 1;</code>
*/
public int getBansCount() {
@@ -13585,6 +16971,10 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * List of ban entries currently in place.
+ * </pre>
+ *
* <code>repeated .MumbleProto.BanList.BanEntry bans = 1;</code>
*/
public se.lublin.humla.protobuf.Mumble.BanList.BanEntry getBans(int index) {
@@ -13595,6 +16985,10 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * List of ban entries currently in place.
+ * </pre>
+ *
* <code>repeated .MumbleProto.BanList.BanEntry bans = 1;</code>
*/
public Builder setBans(
@@ -13612,6 +17006,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * List of ban entries currently in place.
+ * </pre>
+ *
* <code>repeated .MumbleProto.BanList.BanEntry bans = 1;</code>
*/
public Builder setBans(
@@ -13626,6 +17024,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * List of ban entries currently in place.
+ * </pre>
+ *
* <code>repeated .MumbleProto.BanList.BanEntry bans = 1;</code>
*/
public Builder addBans(se.lublin.humla.protobuf.Mumble.BanList.BanEntry value) {
@@ -13642,6 +17044,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * List of ban entries currently in place.
+ * </pre>
+ *
* <code>repeated .MumbleProto.BanList.BanEntry bans = 1;</code>
*/
public Builder addBans(
@@ -13659,6 +17065,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * List of ban entries currently in place.
+ * </pre>
+ *
* <code>repeated .MumbleProto.BanList.BanEntry bans = 1;</code>
*/
public Builder addBans(
@@ -13673,6 +17083,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * List of ban entries currently in place.
+ * </pre>
+ *
* <code>repeated .MumbleProto.BanList.BanEntry bans = 1;</code>
*/
public Builder addBans(
@@ -13687,6 +17101,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * List of ban entries currently in place.
+ * </pre>
+ *
* <code>repeated .MumbleProto.BanList.BanEntry bans = 1;</code>
*/
public Builder addAllBans(
@@ -13702,6 +17120,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * List of ban entries currently in place.
+ * </pre>
+ *
* <code>repeated .MumbleProto.BanList.BanEntry bans = 1;</code>
*/
public Builder clearBans() {
@@ -13715,6 +17137,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * List of ban entries currently in place.
+ * </pre>
+ *
* <code>repeated .MumbleProto.BanList.BanEntry bans = 1;</code>
*/
public Builder removeBans(int index) {
@@ -13728,6 +17154,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * List of ban entries currently in place.
+ * </pre>
+ *
* <code>repeated .MumbleProto.BanList.BanEntry bans = 1;</code>
*/
public se.lublin.humla.protobuf.Mumble.BanList.BanEntry.Builder getBansBuilder(
@@ -13735,6 +17165,10 @@ public final class Mumble {
return getBansFieldBuilder().getBuilder(index);
}
/**
+ * <pre>
+ * List of ban entries currently in place.
+ * </pre>
+ *
* <code>repeated .MumbleProto.BanList.BanEntry bans = 1;</code>
*/
public se.lublin.humla.protobuf.Mumble.BanList.BanEntryOrBuilder getBansOrBuilder(
@@ -13745,6 +17179,10 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * List of ban entries currently in place.
+ * </pre>
+ *
* <code>repeated .MumbleProto.BanList.BanEntry bans = 1;</code>
*/
public java.util.List<? extends se.lublin.humla.protobuf.Mumble.BanList.BanEntryOrBuilder>
@@ -13756,6 +17194,10 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * List of ban entries currently in place.
+ * </pre>
+ *
* <code>repeated .MumbleProto.BanList.BanEntry bans = 1;</code>
*/
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());
}
/**
+ * <pre>
+ * List of ban entries currently in place.
+ * </pre>
+ *
* <code>repeated .MumbleProto.BanList.BanEntry bans = 1;</code>
*/
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());
}
/**
+ * <pre>
+ * List of ban entries currently in place.
+ * </pre>
+ *
* <code>repeated .MumbleProto.BanList.BanEntry bans = 1;</code>
*/
public java.util.List<se.lublin.humla.protobuf.Mumble.BanList.BanEntry.Builder>
@@ -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_ ;
/**
+ * <pre>
+ * True if the server should return the list, false if it should replace old
+ * ban list with the one provided.
+ * </pre>
+ *
* <code>optional bool query = 2 [default = false];</code>
+ * @return Whether the query field is set.
*/
public boolean hasQuery() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * True if the server should return the list, false if it should replace old
+ * ban list with the one provided.
+ * </pre>
+ *
* <code>optional bool query = 2 [default = false];</code>
+ * @return The query.
*/
public boolean getQuery() {
return query_;
}
/**
+ * <pre>
+ * True if the server should return the list, false if it should replace old
+ * ban list with the one provided.
+ * </pre>
+ *
* <code>optional bool query = 2 [default = false];</code>
+ * @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;
}
/**
+ * <pre>
+ * True if the server should return the list, false if it should replace old
+ * ban list with the one provided.
+ * </pre>
+ *
* <code>optional bool query = 2 [default = false];</code>
+ * @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<BanList>
PARSER = new com.google.protobuf.AbstractParser<BanList>() {
+ @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,87 +17356,177 @@ public final class Mumble {
com.google.protobuf.MessageOrBuilder {
/**
+ * <pre>
+ * The message sender, identified by its session.
+ * </pre>
+ *
* <code>optional uint32 actor = 1;</code>
+ * @return Whether the actor field is set.
*/
boolean hasActor();
/**
+ * <pre>
+ * The message sender, identified by its session.
+ * </pre>
+ *
* <code>optional uint32 actor = 1;</code>
+ * @return The actor.
*/
int getActor();
/**
+ * <pre>
+ * Target users for the message, identified by their session.
+ * </pre>
+ *
* <code>repeated uint32 session = 2;</code>
+ * @return A list containing the session.
*/
java.util.List<java.lang.Integer> getSessionList();
/**
+ * <pre>
+ * Target users for the message, identified by their session.
+ * </pre>
+ *
* <code>repeated uint32 session = 2;</code>
+ * @return The count of session.
*/
int getSessionCount();
/**
+ * <pre>
+ * Target users for the message, identified by their session.
+ * </pre>
+ *
* <code>repeated uint32 session = 2;</code>
+ * @param index The index of the element to return.
+ * @return The session at the given index.
*/
int getSession(int index);
/**
+ * <pre>
+ * The channels to which the message is sent, identified by their
+ * channel_ids.
+ * </pre>
+ *
* <code>repeated uint32 channel_id = 3;</code>
+ * @return A list containing the channelId.
*/
java.util.List<java.lang.Integer> getChannelIdList();
/**
+ * <pre>
+ * The channels to which the message is sent, identified by their
+ * channel_ids.
+ * </pre>
+ *
* <code>repeated uint32 channel_id = 3;</code>
+ * @return The count of channelId.
*/
int getChannelIdCount();
/**
+ * <pre>
+ * The channels to which the message is sent, identified by their
+ * channel_ids.
+ * </pre>
+ *
* <code>repeated uint32 channel_id = 3;</code>
+ * @param index The index of the element to return.
+ * @return The channelId at the given index.
*/
int getChannelId(int index);
/**
+ * <pre>
+ * The root channels when sending message recursively to several channels,
+ * identified by their channel_ids.
+ * </pre>
+ *
* <code>repeated uint32 tree_id = 4;</code>
+ * @return A list containing the treeId.
*/
java.util.List<java.lang.Integer> getTreeIdList();
/**
+ * <pre>
+ * The root channels when sending message recursively to several channels,
+ * identified by their channel_ids.
+ * </pre>
+ *
* <code>repeated uint32 tree_id = 4;</code>
+ * @return The count of treeId.
*/
int getTreeIdCount();
/**
+ * <pre>
+ * The root channels when sending message recursively to several channels,
+ * identified by their channel_ids.
+ * </pre>
+ *
* <code>repeated uint32 tree_id = 4;</code>
+ * @param index The index of the element to return.
+ * @return The treeId at the given index.
*/
int getTreeId(int index);
/**
+ * <pre>
+ * The UTF-8 encoded message. May be HTML if the server allows.
+ * </pre>
+ *
* <code>required string message = 5;</code>
+ * @return Whether the message field is set.
*/
boolean hasMessage();
/**
+ * <pre>
+ * The UTF-8 encoded message. May be HTML if the server allows.
+ * </pre>
+ *
* <code>required string message = 5;</code>
+ * @return The message.
*/
java.lang.String getMessage();
/**
+ * <pre>
+ * The UTF-8 encoded message. May be HTML if the server allows.
+ * </pre>
+ *
* <code>required string message = 5;</code>
+ * @return The bytes for message.
*/
com.google.protobuf.ByteString
getMessageBytes();
}
/**
+ * <pre>
+ * Used to send and broadcast text messages.
+ * </pre>
+ *
* 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() {
return this.unknownFields;
@@ -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<java.lang.Integer>();
+ 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<java.lang.Integer>();
+ 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<java.lang.Integer>();
+ 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<java.lang.Integer>();
+ 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<java.lang.Integer>();
+ 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<java.lang.Integer>();
+ 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_;
/**
+ * <pre>
+ * The message sender, identified by its session.
+ * </pre>
+ *
* <code>optional uint32 actor = 1;</code>
+ * @return Whether the actor field is set.
*/
public boolean hasActor() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * The message sender, identified by its session.
+ * </pre>
+ *
* <code>optional uint32 actor = 1;</code>
+ * @return The actor.
*/
public int getActor() {
return actor_;
}
public static final int SESSION_FIELD_NUMBER = 2;
- private java.util.List<java.lang.Integer> session_;
+ private com.google.protobuf.Internal.IntList session_;
/**
+ * <pre>
+ * Target users for the message, identified by their session.
+ * </pre>
+ *
* <code>repeated uint32 session = 2;</code>
+ * @return A list containing the session.
*/
public java.util.List<java.lang.Integer>
getSessionList() {
return session_;
}
/**
+ * <pre>
+ * Target users for the message, identified by their session.
+ * </pre>
+ *
* <code>repeated uint32 session = 2;</code>
+ * @return The count of session.
*/
public int getSessionCount() {
return session_.size();
}
/**
+ * <pre>
+ * Target users for the message, identified by their session.
+ * </pre>
+ *
* <code>repeated uint32 session = 2;</code>
+ * @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<java.lang.Integer> channelId_;
+ private com.google.protobuf.Internal.IntList channelId_;
/**
+ * <pre>
+ * The channels to which the message is sent, identified by their
+ * channel_ids.
+ * </pre>
+ *
* <code>repeated uint32 channel_id = 3;</code>
+ * @return A list containing the channelId.
*/
public java.util.List<java.lang.Integer>
getChannelIdList() {
return channelId_;
}
/**
+ * <pre>
+ * The channels to which the message is sent, identified by their
+ * channel_ids.
+ * </pre>
+ *
* <code>repeated uint32 channel_id = 3;</code>
+ * @return The count of channelId.
*/
public int getChannelIdCount() {
return channelId_.size();
}
/**
+ * <pre>
+ * The channels to which the message is sent, identified by their
+ * channel_ids.
+ * </pre>
+ *
* <code>repeated uint32 channel_id = 3;</code>
+ * @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<java.lang.Integer> treeId_;
+ private com.google.protobuf.Internal.IntList treeId_;
/**
+ * <pre>
+ * The root channels when sending message recursively to several channels,
+ * identified by their channel_ids.
+ * </pre>
+ *
* <code>repeated uint32 tree_id = 4;</code>
+ * @return A list containing the treeId.
*/
public java.util.List<java.lang.Integer>
getTreeIdList() {
return treeId_;
}
/**
+ * <pre>
+ * The root channels when sending message recursively to several channels,
+ * identified by their channel_ids.
+ * </pre>
+ *
* <code>repeated uint32 tree_id = 4;</code>
+ * @return The count of treeId.
*/
public int getTreeIdCount() {
return treeId_.size();
}
/**
+ * <pre>
+ * The root channels when sending message recursively to several channels,
+ * identified by their channel_ids.
+ * </pre>
+ *
* <code>repeated uint32 tree_id = 4;</code>
+ * @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_;
/**
+ * <pre>
+ * The UTF-8 encoded message. May be HTML if the server allows.
+ * </pre>
+ *
* <code>required string message = 5;</code>
+ * @return Whether the message field is set.
*/
public boolean hasMessage() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * The UTF-8 encoded message. May be HTML if the server allows.
+ * </pre>
+ *
* <code>required string message = 5;</code>
+ * @return The message.
*/
public java.lang.String getMessage() {
java.lang.Object ref = message_;
@@ -14200,7 +17847,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * The UTF-8 encoded message. May be HTML if the server allows.
+ * </pre>
+ *
* <code>required string message = 5;</code>
+ * @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();
@@ -14359,6 +18012,17 @@ public final class Mumble {
}
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 {
return PARSER.parseFrom(data);
@@ -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;
}
/**
+ * <pre>
+ * Used to send and broadcast text messages.
+ * </pre>
+ *
* 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_ ;
/**
+ * <pre>
+ * The message sender, identified by its session.
+ * </pre>
+ *
* <code>optional uint32 actor = 1;</code>
+ * @return Whether the actor field is set.
*/
public boolean hasActor() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * The message sender, identified by its session.
+ * </pre>
+ *
* <code>optional uint32 actor = 1;</code>
+ * @return The actor.
*/
public int getActor() {
return actor_;
}
/**
+ * <pre>
+ * The message sender, identified by its session.
+ * </pre>
+ *
* <code>optional uint32 actor = 1;</code>
+ * @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;
}
/**
+ * <pre>
+ * The message sender, identified by its session.
+ * </pre>
+ *
* <code>optional uint32 actor = 1;</code>
+ * @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<java.lang.Integer> 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<java.lang.Integer>(session_);
+ if (!((bitField0_ & 0x00000002) != 0)) {
+ session_ = mutableCopy(session_);
bitField0_ |= 0x00000002;
}
}
/**
+ * <pre>
+ * Target users for the message, identified by their session.
+ * </pre>
+ *
* <code>repeated uint32 session = 2;</code>
+ * @return A list containing the session.
*/
public java.util.List<java.lang.Integer>
getSessionList() {
- return java.util.Collections.unmodifiableList(session_);
+ return ((bitField0_ & 0x00000002) != 0) ?
+ java.util.Collections.unmodifiableList(session_) : session_;
}
/**
+ * <pre>
+ * Target users for the message, identified by their session.
+ * </pre>
+ *
* <code>repeated uint32 session = 2;</code>
+ * @return The count of session.
*/
public int getSessionCount() {
return session_.size();
}
/**
+ * <pre>
+ * Target users for the message, identified by their session.
+ * </pre>
+ *
* <code>repeated uint32 session = 2;</code>
+ * @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);
}
/**
+ * <pre>
+ * Target users for the message, identified by their session.
+ * </pre>
+ *
* <code>repeated uint32 session = 2;</code>
+ * @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;
}
/**
+ * <pre>
+ * Target users for the message, identified by their session.
+ * </pre>
+ *
* <code>repeated uint32 session = 2;</code>
+ * @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;
}
/**
+ * <pre>
+ * Target users for the message, identified by their session.
+ * </pre>
+ *
* <code>repeated uint32 session = 2;</code>
+ * @param values The session to add.
+ * @return This builder for chaining.
*/
public Builder addAllSession(
java.lang.Iterable<? extends java.lang.Integer> values) {
@@ -14728,62 +18470,109 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Target users for the message, identified by their session.
+ * </pre>
+ *
* <code>repeated uint32 session = 2;</code>
+ * @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<java.lang.Integer> 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<java.lang.Integer>(channelId_);
+ if (!((bitField0_ & 0x00000004) != 0)) {
+ channelId_ = mutableCopy(channelId_);
bitField0_ |= 0x00000004;
}
}
/**
+ * <pre>
+ * The channels to which the message is sent, identified by their
+ * channel_ids.
+ * </pre>
+ *
* <code>repeated uint32 channel_id = 3;</code>
+ * @return A list containing the channelId.
*/
public java.util.List<java.lang.Integer>
getChannelIdList() {
- return java.util.Collections.unmodifiableList(channelId_);
+ return ((bitField0_ & 0x00000004) != 0) ?
+ java.util.Collections.unmodifiableList(channelId_) : channelId_;
}
/**
+ * <pre>
+ * The channels to which the message is sent, identified by their
+ * channel_ids.
+ * </pre>
+ *
* <code>repeated uint32 channel_id = 3;</code>
+ * @return The count of channelId.
*/
public int getChannelIdCount() {
return channelId_.size();
}
/**
+ * <pre>
+ * The channels to which the message is sent, identified by their
+ * channel_ids.
+ * </pre>
+ *
* <code>repeated uint32 channel_id = 3;</code>
+ * @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);
}
/**
+ * <pre>
+ * The channels to which the message is sent, identified by their
+ * channel_ids.
+ * </pre>
+ *
* <code>repeated uint32 channel_id = 3;</code>
+ * @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;
}
/**
+ * <pre>
+ * The channels to which the message is sent, identified by their
+ * channel_ids.
+ * </pre>
+ *
* <code>repeated uint32 channel_id = 3;</code>
+ * @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;
}
/**
+ * <pre>
+ * The channels to which the message is sent, identified by their
+ * channel_ids.
+ * </pre>
+ *
* <code>repeated uint32 channel_id = 3;</code>
+ * @param values The channelId to add.
+ * @return This builder for chaining.
*/
public Builder addAllChannelId(
java.lang.Iterable<? extends java.lang.Integer> values) {
@@ -14794,62 +18583,110 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * The channels to which the message is sent, identified by their
+ * channel_ids.
+ * </pre>
+ *
* <code>repeated uint32 channel_id = 3;</code>
+ * @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<java.lang.Integer> 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<java.lang.Integer>(treeId_);
+ if (!((bitField0_ & 0x00000008) != 0)) {
+ treeId_ = mutableCopy(treeId_);
bitField0_ |= 0x00000008;
}
}
/**
+ * <pre>
+ * The root channels when sending message recursively to several channels,
+ * identified by their channel_ids.
+ * </pre>
+ *
* <code>repeated uint32 tree_id = 4;</code>
+ * @return A list containing the treeId.
*/
public java.util.List<java.lang.Integer>
getTreeIdList() {
- return java.util.Collections.unmodifiableList(treeId_);
+ return ((bitField0_ & 0x00000008) != 0) ?
+ java.util.Collections.unmodifiableList(treeId_) : treeId_;
}
/**
+ * <pre>
+ * The root channels when sending message recursively to several channels,
+ * identified by their channel_ids.
+ * </pre>
+ *
* <code>repeated uint32 tree_id = 4;</code>
+ * @return The count of treeId.
*/
public int getTreeIdCount() {
return treeId_.size();
}
/**
+ * <pre>
+ * The root channels when sending message recursively to several channels,
+ * identified by their channel_ids.
+ * </pre>
+ *
* <code>repeated uint32 tree_id = 4;</code>
+ * @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);
}
/**
+ * <pre>
+ * The root channels when sending message recursively to several channels,
+ * identified by their channel_ids.
+ * </pre>
+ *
* <code>repeated uint32 tree_id = 4;</code>
+ * @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;
}
/**
+ * <pre>
+ * The root channels when sending message recursively to several channels,
+ * identified by their channel_ids.
+ * </pre>
+ *
* <code>repeated uint32 tree_id = 4;</code>
+ * @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;
}
/**
+ * <pre>
+ * The root channels when sending message recursively to several channels,
+ * identified by their channel_ids.
+ * </pre>
+ *
* <code>repeated uint32 tree_id = 4;</code>
+ * @param values The treeId to add.
+ * @return This builder for chaining.
*/
public Builder addAllTreeId(
java.lang.Iterable<? extends java.lang.Integer> values) {
@@ -14860,10 +18697,16 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * The root channels when sending message recursively to several channels,
+ * identified by their channel_ids.
+ * </pre>
+ *
* <code>repeated uint32 tree_id = 4;</code>
+ * @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_ = "";
/**
+ * <pre>
+ * The UTF-8 encoded message. May be HTML if the server allows.
+ * </pre>
+ *
* <code>required string message = 5;</code>
+ * @return Whether the message field is set.
*/
public boolean hasMessage() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
+ * <pre>
+ * The UTF-8 encoded message. May be HTML if the server allows.
+ * </pre>
+ *
* <code>required string message = 5;</code>
+ * @return The message.
*/
public java.lang.String getMessage() {
java.lang.Object ref = message_;
@@ -14894,7 +18747,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * The UTF-8 encoded message. May be HTML if the server allows.
+ * </pre>
+ *
* <code>required string message = 5;</code>
+ * @return The bytes for message.
*/
public com.google.protobuf.ByteString
getMessageBytes() {
@@ -14910,7 +18768,13 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * The UTF-8 encoded message. May be HTML if the server allows.
+ * </pre>
+ *
* <code>required string message = 5;</code>
+ * @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;
}
/**
+ * <pre>
+ * The UTF-8 encoded message. May be HTML if the server allows.
+ * </pre>
+ *
* <code>required string message = 5;</code>
+ * @return This builder for chaining.
*/
public Builder clearMessage() {
bitField0_ = (bitField0_ & ~0x00000010);
@@ -14932,7 +18801,13 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * The UTF-8 encoded message. May be HTML if the server allows.
+ * </pre>
+ *
* <code>required string message = 5;</code>
+ * @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<TextMessage>
PARSER = new com.google.protobuf.AbstractParser<TextMessage>() {
+ @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 {
/**
+ * <pre>
+ * The denied permission when type is Permission.
+ * </pre>
+ *
* <code>optional uint32 permission = 1;</code>
+ * @return Whether the permission field is set.
*/
boolean hasPermission();
/**
+ * <pre>
+ * The denied permission when type is Permission.
+ * </pre>
+ *
* <code>optional uint32 permission = 1;</code>
+ * @return The permission.
*/
int getPermission();
/**
+ * <pre>
+ * channel_id for the channel where the permission was denied when type is
+ * Permission.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 2;</code>
+ * @return Whether the channelId field is set.
*/
boolean hasChannelId();
/**
+ * <pre>
+ * channel_id for the channel where the permission was denied when type is
+ * Permission.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 2;</code>
+ * @return The channelId.
*/
int getChannelId();
/**
+ * <pre>
+ * The user who was denied permissions, identified by session.
+ * </pre>
+ *
* <code>optional uint32 session = 3;</code>
+ * @return Whether the session field is set.
*/
boolean hasSession();
/**
+ * <pre>
+ * The user who was denied permissions, identified by session.
+ * </pre>
+ *
* <code>optional uint32 session = 3;</code>
+ * @return The session.
*/
int getSession();
/**
+ * <pre>
+ * Textual reason for the denial.
+ * </pre>
+ *
* <code>optional string reason = 4;</code>
+ * @return Whether the reason field is set.
*/
boolean hasReason();
/**
+ * <pre>
+ * Textual reason for the denial.
+ * </pre>
+ *
* <code>optional string reason = 4;</code>
+ * @return The reason.
*/
java.lang.String getReason();
/**
+ * <pre>
+ * Textual reason for the denial.
+ * </pre>
+ *
* <code>optional string reason = 4;</code>
+ * @return The bytes for reason.
*/
com.google.protobuf.ByteString
getReasonBytes();
/**
+ * <pre>
+ * Type of the denial.
+ * </pre>
+ *
* <code>optional .MumbleProto.PermissionDenied.DenyType type = 5;</code>
+ * @return Whether the type field is set.
*/
boolean hasType();
/**
+ * <pre>
+ * Type of the denial.
+ * </pre>
+ *
* <code>optional .MumbleProto.PermissionDenied.DenyType type = 5;</code>
+ * @return The type.
*/
se.lublin.humla.protobuf.Mumble.PermissionDenied.DenyType getType();
/**
+ * <pre>
+ * The name that is invalid when type is UserName.
+ * </pre>
+ *
* <code>optional string name = 6;</code>
+ * @return Whether the name field is set.
*/
boolean hasName();
/**
+ * <pre>
+ * The name that is invalid when type is UserName.
+ * </pre>
+ *
* <code>optional string name = 6;</code>
+ * @return The name.
*/
java.lang.String getName();
/**
+ * <pre>
+ * The name that is invalid when type is UserName.
+ * </pre>
+ *
* <code>optional string name = 6;</code>
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
@@ -15068,20 +19019,25 @@ 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() {
return this.unknownFields;
@@ -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 {
/**
+ * <pre>
+ * Operation denied for other reason, see reason field.
+ * </pre>
+ *
* <code>Text = 0;</code>
*/
Text(0),
/**
+ * <pre>
+ * Permissions were denied.
+ * </pre>
+ *
* <code>Permission = 1;</code>
*/
Permission(1),
/**
+ * <pre>
+ * Cannot modify SuperUser.
+ * </pre>
+ *
* <code>SuperUser = 2;</code>
*/
SuperUser(2),
/**
+ * <pre>
+ * Invalid channel name.
+ * </pre>
+ *
* <code>ChannelName = 3;</code>
*/
ChannelName(3),
/**
+ * <pre>
+ * Text message too long.
+ * </pre>
+ *
* <code>TextTooLong = 4;</code>
*/
TextTooLong(4),
/**
+ * <pre>
+ * The flux capacitor was spelled wrong.
+ * </pre>
+ *
* <code>H9K = 5;</code>
*/
H9K(5),
/**
+ * <pre>
+ * Operation not permitted in temporary channel.
+ * </pre>
+ *
* <code>TemporaryChannel = 6;</code>
*/
TemporaryChannel(6),
/**
+ * <pre>
+ * Operation requires certificate.
+ * </pre>
+ *
* <code>MissingCertificate = 7;</code>
*/
MissingCertificate(7),
/**
+ * <pre>
+ * Invalid username.
+ * </pre>
+ *
* <code>UserName = 8;</code>
*/
UserName(8),
/**
+ * <pre>
+ * Channel is full.
+ * </pre>
+ *
* <code>ChannelFull = 9;</code>
*/
ChannelFull(9),
/**
+ * <pre>
+ * Channels are nested too deply.
+ * </pre>
+ *
* <code>NestingLimit = 10;</code>
*/
NestingLimit(10),
+ /**
+ * <pre>
+ * Maximum channel count reached.
+ * </pre>
+ *
+ * <code>ChannelCountLimit = 11;</code>
+ */
+ ChannelCountLimit(11),
;
/**
+ * <pre>
+ * Operation denied for other reason, see reason field.
+ * </pre>
+ *
* <code>Text = 0;</code>
*/
public static final int Text_VALUE = 0;
/**
+ * <pre>
+ * Permissions were denied.
+ * </pre>
+ *
* <code>Permission = 1;</code>
*/
public static final int Permission_VALUE = 1;
/**
+ * <pre>
+ * Cannot modify SuperUser.
+ * </pre>
+ *
* <code>SuperUser = 2;</code>
*/
public static final int SuperUser_VALUE = 2;
/**
+ * <pre>
+ * Invalid channel name.
+ * </pre>
+ *
* <code>ChannelName = 3;</code>
*/
public static final int ChannelName_VALUE = 3;
/**
+ * <pre>
+ * Text message too long.
+ * </pre>
+ *
* <code>TextTooLong = 4;</code>
*/
public static final int TextTooLong_VALUE = 4;
/**
+ * <pre>
+ * The flux capacitor was spelled wrong.
+ * </pre>
+ *
* <code>H9K = 5;</code>
*/
public static final int H9K_VALUE = 5;
/**
+ * <pre>
+ * Operation not permitted in temporary channel.
+ * </pre>
+ *
* <code>TemporaryChannel = 6;</code>
*/
public static final int TemporaryChannel_VALUE = 6;
/**
+ * <pre>
+ * Operation requires certificate.
+ * </pre>
+ *
* <code>MissingCertificate = 7;</code>
*/
public static final int MissingCertificate_VALUE = 7;
/**
+ * <pre>
+ * Invalid username.
+ * </pre>
+ *
* <code>UserName = 8;</code>
*/
public static final int UserName_VALUE = 8;
/**
+ * <pre>
+ * Channel is full.
+ * </pre>
+ *
* <code>ChannelFull = 9;</code>
*/
public static final int ChannelFull_VALUE = 9;
/**
+ * <pre>
+ * Channels are nested too deply.
+ * </pre>
+ *
* <code>NestingLimit = 10;</code>
*/
public static final int NestingLimit_VALUE = 10;
+ /**
+ * <pre>
+ * Maximum channel count reached.
+ * </pre>
+ *
+ * <code>ChannelCountLimit = 11;</code>
+ */
+ 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_;
/**
+ * <pre>
+ * The denied permission when type is Permission.
+ * </pre>
+ *
* <code>optional uint32 permission = 1;</code>
+ * @return Whether the permission field is set.
*/
public boolean hasPermission() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * The denied permission when type is Permission.
+ * </pre>
+ *
* <code>optional uint32 permission = 1;</code>
+ * @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_;
/**
+ * <pre>
+ * channel_id for the channel where the permission was denied when type is
+ * Permission.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 2;</code>
+ * @return Whether the channelId field is set.
*/
public boolean hasChannelId() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * channel_id for the channel where the permission was denied when type is
+ * Permission.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 2;</code>
+ * @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_;
/**
+ * <pre>
+ * The user who was denied permissions, identified by session.
+ * </pre>
+ *
* <code>optional uint32 session = 3;</code>
+ * @return Whether the session field is set.
*/
public boolean hasSession() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
+ * <pre>
+ * The user who was denied permissions, identified by session.
+ * </pre>
+ *
* <code>optional uint32 session = 3;</code>
+ * @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_;
/**
+ * <pre>
+ * Textual reason for the denial.
+ * </pre>
+ *
* <code>optional string reason = 4;</code>
+ * @return Whether the reason field is set.
*/
public boolean hasReason() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
+ * <pre>
+ * Textual reason for the denial.
+ * </pre>
+ *
* <code>optional string reason = 4;</code>
+ * @return The reason.
*/
public java.lang.String getReason() {
java.lang.Object ref = reason_;
@@ -15414,7 +19528,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Textual reason for the denial.
+ * </pre>
+ *
* <code>optional string reason = 4;</code>
+ * @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_;
/**
+ * <pre>
+ * Type of the denial.
+ * </pre>
+ *
* <code>optional .MumbleProto.PermissionDenied.DenyType type = 5;</code>
+ * @return Whether the type field is set.
*/
public boolean hasType() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
+ * <pre>
+ * Type of the denial.
+ * </pre>
+ *
* <code>optional .MumbleProto.PermissionDenied.DenyType type = 5;</code>
+ * @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_;
/**
+ * <pre>
+ * The name that is invalid when type is UserName.
+ * </pre>
+ *
* <code>optional string name = 6;</code>
+ * @return Whether the name field is set.
*/
public boolean hasName() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
+ return ((bitField0_ & 0x00000020) != 0);
}
/**
+ * <pre>
+ * The name that is invalid when type is UserName.
+ * </pre>
+ *
* <code>optional string name = 6;</code>
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -15472,7 +19612,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * The name that is invalid when type is UserName.
+ * </pre>
+ *
* <code>optional string name = 6;</code>
+ * @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();
@@ -15635,6 +19781,17 @@ public final class Mumble {
}
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 {
return PARSER.parseFrom(data);
@@ -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_ ;
/**
+ * <pre>
+ * The denied permission when type is Permission.
+ * </pre>
+ *
* <code>optional uint32 permission = 1;</code>
+ * @return Whether the permission field is set.
*/
public boolean hasPermission() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * The denied permission when type is Permission.
+ * </pre>
+ *
* <code>optional uint32 permission = 1;</code>
+ * @return The permission.
*/
public int getPermission() {
return permission_;
}
/**
+ * <pre>
+ * The denied permission when type is Permission.
+ * </pre>
+ *
* <code>optional uint32 permission = 1;</code>
+ * @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;
}
/**
+ * <pre>
+ * The denied permission when type is Permission.
+ * </pre>
+ *
* <code>optional uint32 permission = 1;</code>
+ * @return This builder for chaining.
*/
public Builder clearPermission() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -15933,19 +20128,38 @@ public final class Mumble {
private int channelId_ ;
/**
+ * <pre>
+ * channel_id for the channel where the permission was denied when type is
+ * Permission.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 2;</code>
+ * @return Whether the channelId field is set.
*/
public boolean hasChannelId() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * channel_id for the channel where the permission was denied when type is
+ * Permission.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 2;</code>
+ * @return The channelId.
*/
public int getChannelId() {
return channelId_;
}
/**
+ * <pre>
+ * channel_id for the channel where the permission was denied when type is
+ * Permission.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 2;</code>
+ * @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;
}
/**
+ * <pre>
+ * channel_id for the channel where the permission was denied when type is
+ * Permission.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 2;</code>
+ * @return This builder for chaining.
*/
public Builder clearChannelId() {
bitField0_ = (bitField0_ & ~0x00000002);
@@ -15965,19 +20185,35 @@ public final class Mumble {
private int session_ ;
/**
+ * <pre>
+ * The user who was denied permissions, identified by session.
+ * </pre>
+ *
* <code>optional uint32 session = 3;</code>
+ * @return Whether the session field is set.
*/
public boolean hasSession() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
+ * <pre>
+ * The user who was denied permissions, identified by session.
+ * </pre>
+ *
* <code>optional uint32 session = 3;</code>
+ * @return The session.
*/
public int getSession() {
return session_;
}
/**
+ * <pre>
+ * The user who was denied permissions, identified by session.
+ * </pre>
+ *
* <code>optional uint32 session = 3;</code>
+ * @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;
}
/**
+ * <pre>
+ * The user who was denied permissions, identified by session.
+ * </pre>
+ *
* <code>optional uint32 session = 3;</code>
+ * @return This builder for chaining.
*/
public Builder clearSession() {
bitField0_ = (bitField0_ & ~0x00000004);
@@ -15997,13 +20238,23 @@ public final class Mumble {
private java.lang.Object reason_ = "";
/**
+ * <pre>
+ * Textual reason for the denial.
+ * </pre>
+ *
* <code>optional string reason = 4;</code>
+ * @return Whether the reason field is set.
*/
public boolean hasReason() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
+ * <pre>
+ * Textual reason for the denial.
+ * </pre>
+ *
* <code>optional string reason = 4;</code>
+ * @return The reason.
*/
public java.lang.String getReason() {
java.lang.Object ref = reason_;
@@ -16020,7 +20271,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Textual reason for the denial.
+ * </pre>
+ *
* <code>optional string reason = 4;</code>
+ * @return The bytes for reason.
*/
public com.google.protobuf.ByteString
getReasonBytes() {
@@ -16036,7 +20292,13 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Textual reason for the denial.
+ * </pre>
+ *
* <code>optional string reason = 4;</code>
+ * @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;
}
/**
+ * <pre>
+ * Textual reason for the denial.
+ * </pre>
+ *
* <code>optional string reason = 4;</code>
+ * @return This builder for chaining.
*/
public Builder clearReason() {
bitField0_ = (bitField0_ & ~0x00000008);
@@ -16058,7 +20325,13 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Textual reason for the denial.
+ * </pre>
+ *
* <code>optional string reason = 4;</code>
+ * @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;
/**
+ * <pre>
+ * Type of the denial.
+ * </pre>
+ *
* <code>optional .MumbleProto.PermissionDenied.DenyType type = 5;</code>
+ * @return Whether the type field is set.
*/
public boolean hasType() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
+ * <pre>
+ * Type of the denial.
+ * </pre>
+ *
* <code>optional .MumbleProto.PermissionDenied.DenyType type = 5;</code>
+ * @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;
}
/**
+ * <pre>
+ * Type of the denial.
+ * </pre>
+ *
* <code>optional .MumbleProto.PermissionDenied.DenyType type = 5;</code>
+ * @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;
}
/**
+ * <pre>
+ * Type of the denial.
+ * </pre>
+ *
* <code>optional .MumbleProto.PermissionDenied.DenyType type = 5;</code>
+ * @return This builder for chaining.
*/
public Builder clearType() {
bitField0_ = (bitField0_ & ~0x00000010);
@@ -16109,13 +20404,23 @@ public final class Mumble {
private java.lang.Object name_ = "";
/**
+ * <pre>
+ * The name that is invalid when type is UserName.
+ * </pre>
+ *
* <code>optional string name = 6;</code>
+ * @return Whether the name field is set.
*/
public boolean hasName() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
+ return ((bitField0_ & 0x00000020) != 0);
}
/**
+ * <pre>
+ * The name that is invalid when type is UserName.
+ * </pre>
+ *
* <code>optional string name = 6;</code>
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -16132,7 +20437,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * The name that is invalid when type is UserName.
+ * </pre>
+ *
* <code>optional string name = 6;</code>
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
@@ -16148,7 +20458,13 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * The name that is invalid when type is UserName.
+ * </pre>
+ *
* <code>optional string name = 6;</code>
+ * @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;
}
/**
+ * <pre>
+ * The name that is invalid when type is UserName.
+ * </pre>
+ *
* <code>optional string name = 6;</code>
+ * @return This builder for chaining.
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000020);
@@ -16170,7 +20491,13 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * The name that is invalid when type is UserName.
+ * </pre>
+ *
* <code>optional string name = 6;</code>
+ * @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<PermissionDenied>
PARSER = new com.google.protobuf.AbstractParser<PermissionDenied>() {
+ @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 {
/**
+ * <pre>
+ * Channel ID of the channel this message affects.
+ * </pre>
+ *
* <code>required uint32 channel_id = 1;</code>
+ * @return Whether the channelId field is set.
*/
boolean hasChannelId();
/**
+ * <pre>
+ * Channel ID of the channel this message affects.
+ * </pre>
+ *
* <code>required uint32 channel_id = 1;</code>
+ * @return The channelId.
*/
int getChannelId();
/**
+ * <pre>
+ * True if the channel inherits its parent's ACLs.
+ * </pre>
+ *
* <code>optional bool inherit_acls = 2 [default = true];</code>
+ * @return Whether the inheritAcls field is set.
*/
boolean hasInheritAcls();
/**
+ * <pre>
+ * True if the channel inherits its parent's ACLs.
+ * </pre>
+ *
* <code>optional bool inherit_acls = 2 [default = true];</code>
+ * @return The inheritAcls.
*/
boolean getInheritAcls();
/**
+ * <pre>
+ * User group specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanGroup groups = 3;</code>
*/
java.util.List<se.lublin.humla.protobuf.Mumble.ACL.ChanGroup>
getGroupsList();
/**
+ * <pre>
+ * User group specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanGroup groups = 3;</code>
*/
se.lublin.humla.protobuf.Mumble.ACL.ChanGroup getGroups(int index);
/**
+ * <pre>
+ * User group specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanGroup groups = 3;</code>
*/
int getGroupsCount();
/**
+ * <pre>
+ * User group specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanGroup groups = 3;</code>
*/
java.util.List<? extends se.lublin.humla.protobuf.Mumble.ACL.ChanGroupOrBuilder>
getGroupsOrBuilderList();
/**
+ * <pre>
+ * User group specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanGroup groups = 3;</code>
*/
se.lublin.humla.protobuf.Mumble.ACL.ChanGroupOrBuilder getGroupsOrBuilder(
int index);
/**
+ * <pre>
+ * ACL specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanACL acls = 4;</code>
*/
java.util.List<se.lublin.humla.protobuf.Mumble.ACL.ChanACL>
getAclsList();
/**
+ * <pre>
+ * ACL specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanACL acls = 4;</code>
*/
se.lublin.humla.protobuf.Mumble.ACL.ChanACL getAcls(int index);
/**
+ * <pre>
+ * ACL specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanACL acls = 4;</code>
*/
int getAclsCount();
/**
+ * <pre>
+ * ACL specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanACL acls = 4;</code>
*/
java.util.List<? extends se.lublin.humla.protobuf.Mumble.ACL.ChanACLOrBuilder>
getAclsOrBuilderList();
/**
+ * <pre>
+ * ACL specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanACL acls = 4;</code>
*/
se.lublin.humla.protobuf.Mumble.ACL.ChanACLOrBuilder getAclsOrBuilder(
int index);
/**
+ * <pre>
+ * True if the message is a query for ACLs instead of setting them.
+ * </pre>
+ *
* <code>optional bool query = 5 [default = false];</code>
+ * @return Whether the query field is set.
*/
boolean hasQuery();
/**
+ * <pre>
+ * True if the message is a query for ACLs instead of setting them.
+ * </pre>
+ *
* <code>optional bool query = 5 [default = false];</code>
+ * @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<se.lublin.humla.protobuf.Mumble.ACL.ChanGroup>();
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<se.lublin.humla.protobuf.Mumble.ACL.ChanACL>();
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 {
/**
+ * <pre>
+ * Name of the channel group, UTF-8 encoded.
+ * </pre>
+ *
* <code>required string name = 1;</code>
+ * @return Whether the name field is set.
*/
boolean hasName();
/**
+ * <pre>
+ * Name of the channel group, UTF-8 encoded.
+ * </pre>
+ *
* <code>required string name = 1;</code>
+ * @return The name.
*/
java.lang.String getName();
/**
+ * <pre>
+ * Name of the channel group, UTF-8 encoded.
+ * </pre>
+ *
* <code>required string name = 1;</code>
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
+ * <pre>
+ * True if the group has been inherited from the parent (Read only).
+ * </pre>
+ *
* <code>optional bool inherited = 2 [default = true];</code>
+ * @return Whether the inherited field is set.
*/
boolean hasInherited();
/**
+ * <pre>
+ * True if the group has been inherited from the parent (Read only).
+ * </pre>
+ *
* <code>optional bool inherited = 2 [default = true];</code>
+ * @return The inherited.
*/
boolean getInherited();
/**
+ * <pre>
+ * True if the group members are inherited.
+ * </pre>
+ *
* <code>optional bool inherit = 3 [default = true];</code>
+ * @return Whether the inherit field is set.
*/
boolean hasInherit();
/**
+ * <pre>
+ * True if the group members are inherited.
+ * </pre>
+ *
* <code>optional bool inherit = 3 [default = true];</code>
+ * @return The inherit.
*/
boolean getInherit();
/**
+ * <pre>
+ * True if the group can be inherited by sub channels.
+ * </pre>
+ *
* <code>optional bool inheritable = 4 [default = true];</code>
+ * @return Whether the inheritable field is set.
*/
boolean hasInheritable();
/**
+ * <pre>
+ * True if the group can be inherited by sub channels.
+ * </pre>
+ *
* <code>optional bool inheritable = 4 [default = true];</code>
+ * @return The inheritable.
*/
boolean getInheritable();
/**
+ * <pre>
+ * Users explicitly included in this group, identified by user_id.
+ * </pre>
+ *
* <code>repeated uint32 add = 5;</code>
+ * @return A list containing the add.
*/
java.util.List<java.lang.Integer> getAddList();
/**
+ * <pre>
+ * Users explicitly included in this group, identified by user_id.
+ * </pre>
+ *
* <code>repeated uint32 add = 5;</code>
+ * @return The count of add.
*/
int getAddCount();
/**
+ * <pre>
+ * Users explicitly included in this group, identified by user_id.
+ * </pre>
+ *
* <code>repeated uint32 add = 5;</code>
+ * @param index The index of the element to return.
+ * @return The add at the given index.
*/
int getAdd(int index);
/**
+ * <pre>
+ * Users explicitly removed from this group in this channel if the group
+ * has been inherited, identified by user_id.
+ * </pre>
+ *
* <code>repeated uint32 remove = 6;</code>
+ * @return A list containing the remove.
*/
java.util.List<java.lang.Integer> getRemoveList();
/**
+ * <pre>
+ * Users explicitly removed from this group in this channel if the group
+ * has been inherited, identified by user_id.
+ * </pre>
+ *
* <code>repeated uint32 remove = 6;</code>
+ * @return The count of remove.
*/
int getRemoveCount();
/**
+ * <pre>
+ * Users explicitly removed from this group in this channel if the group
+ * has been inherited, identified by user_id.
+ * </pre>
+ *
* <code>repeated uint32 remove = 6;</code>
+ * @param index The index of the element to return.
+ * @return The remove at the given index.
*/
int getRemove(int index);
/**
+ * <pre>
+ * Users inherited, identified by user_id.
+ * </pre>
+ *
* <code>repeated uint32 inherited_members = 7;</code>
+ * @return A list containing the inheritedMembers.
*/
java.util.List<java.lang.Integer> getInheritedMembersList();
/**
+ * <pre>
+ * Users inherited, identified by user_id.
+ * </pre>
+ *
* <code>repeated uint32 inherited_members = 7;</code>
+ * @return The count of inheritedMembers.
*/
int getInheritedMembersCount();
/**
+ * <pre>
+ * Users inherited, identified by user_id.
+ * </pre>
+ *
* <code>repeated uint32 inherited_members = 7;</code>
+ * @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,68 +21086,75 @@ public final class Mumble {
break;
}
case 40: {
- if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
- add_ = new java.util.ArrayList<java.lang.Integer>();
+ 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<java.lang.Integer>();
+ 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<java.lang.Integer>();
+ 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<java.lang.Integer>();
+ 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<java.lang.Integer>();
+ 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<java.lang.Integer>();
+ 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;
+ }
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -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_;
/**
+ * <pre>
+ * Name of the channel group, UTF-8 encoded.
+ * </pre>
+ *
* <code>required string name = 1;</code>
+ * @return Whether the name field is set.
*/
public boolean hasName() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * Name of the channel group, UTF-8 encoded.
+ * </pre>
+ *
* <code>required string name = 1;</code>
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -16697,7 +21226,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Name of the channel group, UTF-8 encoded.
+ * </pre>
+ *
* <code>required string name = 1;</code>
+ * @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_;
/**
+ * <pre>
+ * True if the group has been inherited from the parent (Read only).
+ * </pre>
+ *
* <code>optional bool inherited = 2 [default = true];</code>
+ * @return Whether the inherited field is set.
*/
public boolean hasInherited() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * True if the group has been inherited from the parent (Read only).
+ * </pre>
+ *
* <code>optional bool inherited = 2 [default = true];</code>
+ * @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_;
/**
+ * <pre>
+ * True if the group members are inherited.
+ * </pre>
+ *
* <code>optional bool inherit = 3 [default = true];</code>
+ * @return Whether the inherit field is set.
*/
public boolean hasInherit() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
+ * <pre>
+ * True if the group members are inherited.
+ * </pre>
+ *
* <code>optional bool inherit = 3 [default = true];</code>
+ * @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_;
/**
+ * <pre>
+ * True if the group can be inherited by sub channels.
+ * </pre>
+ *
* <code>optional bool inheritable = 4 [default = true];</code>
+ * @return Whether the inheritable field is set.
*/
public boolean hasInheritable() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
+ * <pre>
+ * True if the group can be inherited by sub channels.
+ * </pre>
+ *
* <code>optional bool inheritable = 4 [default = true];</code>
+ * @return The inheritable.
*/
public boolean getInheritable() {
return inheritable_;
}
public static final int ADD_FIELD_NUMBER = 5;
- private java.util.List<java.lang.Integer> add_;
+ private com.google.protobuf.Internal.IntList add_;
/**
+ * <pre>
+ * Users explicitly included in this group, identified by user_id.
+ * </pre>
+ *
* <code>repeated uint32 add = 5;</code>
+ * @return A list containing the add.
*/
public java.util.List<java.lang.Integer>
getAddList() {
return add_;
}
/**
+ * <pre>
+ * Users explicitly included in this group, identified by user_id.
+ * </pre>
+ *
* <code>repeated uint32 add = 5;</code>
+ * @return The count of add.
*/
public int getAddCount() {
return add_.size();
}
/**
+ * <pre>
+ * Users explicitly included in this group, identified by user_id.
+ * </pre>
+ *
* <code>repeated uint32 add = 5;</code>
+ * @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<java.lang.Integer> remove_;
+ private com.google.protobuf.Internal.IntList remove_;
/**
+ * <pre>
+ * Users explicitly removed from this group in this channel if the group
+ * has been inherited, identified by user_id.
+ * </pre>
+ *
* <code>repeated uint32 remove = 6;</code>
+ * @return A list containing the remove.
*/
public java.util.List<java.lang.Integer>
getRemoveList() {
return remove_;
}
/**
+ * <pre>
+ * Users explicitly removed from this group in this channel if the group
+ * has been inherited, identified by user_id.
+ * </pre>
+ *
* <code>repeated uint32 remove = 6;</code>
+ * @return The count of remove.
*/
public int getRemoveCount() {
return remove_.size();
}
/**
+ * <pre>
+ * Users explicitly removed from this group in this channel if the group
+ * has been inherited, identified by user_id.
+ * </pre>
+ *
* <code>repeated uint32 remove = 6;</code>
+ * @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<java.lang.Integer> inheritedMembers_;
+ private com.google.protobuf.Internal.IntList inheritedMembers_;
/**
+ * <pre>
+ * Users inherited, identified by user_id.
+ * </pre>
+ *
* <code>repeated uint32 inherited_members = 7;</code>
+ * @return A list containing the inheritedMembers.
*/
public java.util.List<java.lang.Integer>
getInheritedMembersList() {
return inheritedMembers_;
}
/**
+ * <pre>
+ * Users inherited, identified by user_id.
+ * </pre>
+ *
* <code>repeated uint32 inherited_members = 7;</code>
+ * @return The count of inheritedMembers.
*/
public int getInheritedMembersCount() {
return inheritedMembers_.size();
}
/**
+ * <pre>
+ * Users inherited, identified by user_id.
+ * </pre>
+ *
* <code>repeated uint32 inherited_members = 7;</code>
+ * @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();
@@ -17002,6 +21618,17 @@ public final class Mumble {
}
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 {
return PARSER.parseFrom(data);
@@ -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_ = "";
/**
+ * <pre>
+ * Name of the channel group, UTF-8 encoded.
+ * </pre>
+ *
* <code>required string name = 1;</code>
+ * @return Whether the name field is set.
*/
public boolean hasName() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * Name of the channel group, UTF-8 encoded.
+ * </pre>
+ *
* <code>required string name = 1;</code>
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -17325,7 +21979,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Name of the channel group, UTF-8 encoded.
+ * </pre>
+ *
* <code>required string name = 1;</code>
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
@@ -17341,7 +22000,13 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Name of the channel group, UTF-8 encoded.
+ * </pre>
+ *
* <code>required string name = 1;</code>
+ * @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;
}
/**
+ * <pre>
+ * Name of the channel group, UTF-8 encoded.
+ * </pre>
+ *
* <code>required string name = 1;</code>
+ * @return This builder for chaining.
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -17363,7 +22033,13 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Name of the channel group, UTF-8 encoded.
+ * </pre>
+ *
* <code>required string name = 1;</code>
+ * @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;
/**
+ * <pre>
+ * True if the group has been inherited from the parent (Read only).
+ * </pre>
+ *
* <code>optional bool inherited = 2 [default = true];</code>
+ * @return Whether the inherited field is set.
*/
public boolean hasInherited() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * True if the group has been inherited from the parent (Read only).
+ * </pre>
+ *
* <code>optional bool inherited = 2 [default = true];</code>
+ * @return The inherited.
*/
public boolean getInherited() {
return inherited_;
}
/**
+ * <pre>
+ * True if the group has been inherited from the parent (Read only).
+ * </pre>
+ *
* <code>optional bool inherited = 2 [default = true];</code>
+ * @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;
}
/**
+ * <pre>
+ * True if the group has been inherited from the parent (Read only).
+ * </pre>
+ *
* <code>optional bool inherited = 2 [default = true];</code>
+ * @return This builder for chaining.
*/
public Builder clearInherited() {
bitField0_ = (bitField0_ & ~0x00000002);
@@ -17410,19 +22107,35 @@ public final class Mumble {
private boolean inherit_ = true;
/**
+ * <pre>
+ * True if the group members are inherited.
+ * </pre>
+ *
* <code>optional bool inherit = 3 [default = true];</code>
+ * @return Whether the inherit field is set.
*/
public boolean hasInherit() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
+ * <pre>
+ * True if the group members are inherited.
+ * </pre>
+ *
* <code>optional bool inherit = 3 [default = true];</code>
+ * @return The inherit.
*/
public boolean getInherit() {
return inherit_;
}
/**
+ * <pre>
+ * True if the group members are inherited.
+ * </pre>
+ *
* <code>optional bool inherit = 3 [default = true];</code>
+ * @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;
}
/**
+ * <pre>
+ * True if the group members are inherited.
+ * </pre>
+ *
* <code>optional bool inherit = 3 [default = true];</code>
+ * @return This builder for chaining.
*/
public Builder clearInherit() {
bitField0_ = (bitField0_ & ~0x00000004);
@@ -17442,19 +22160,35 @@ public final class Mumble {
private boolean inheritable_ = true;
/**
+ * <pre>
+ * True if the group can be inherited by sub channels.
+ * </pre>
+ *
* <code>optional bool inheritable = 4 [default = true];</code>
+ * @return Whether the inheritable field is set.
*/
public boolean hasInheritable() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
+ * <pre>
+ * True if the group can be inherited by sub channels.
+ * </pre>
+ *
* <code>optional bool inheritable = 4 [default = true];</code>
+ * @return The inheritable.
*/
public boolean getInheritable() {
return inheritable_;
}
/**
+ * <pre>
+ * True if the group can be inherited by sub channels.
+ * </pre>
+ *
* <code>optional bool inheritable = 4 [default = true];</code>
+ * @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;
}
/**
+ * <pre>
+ * True if the group can be inherited by sub channels.
+ * </pre>
+ *
* <code>optional bool inheritable = 4 [default = true];</code>
+ * @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<java.lang.Integer> 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<java.lang.Integer>(add_);
+ if (!((bitField0_ & 0x00000010) != 0)) {
+ add_ = mutableCopy(add_);
bitField0_ |= 0x00000010;
}
}
/**
+ * <pre>
+ * Users explicitly included in this group, identified by user_id.
+ * </pre>
+ *
* <code>repeated uint32 add = 5;</code>
+ * @return A list containing the add.
*/
public java.util.List<java.lang.Integer>
getAddList() {
- return java.util.Collections.unmodifiableList(add_);
+ return ((bitField0_ & 0x00000010) != 0) ?
+ java.util.Collections.unmodifiableList(add_) : add_;
}
/**
+ * <pre>
+ * Users explicitly included in this group, identified by user_id.
+ * </pre>
+ *
* <code>repeated uint32 add = 5;</code>
+ * @return The count of add.
*/
public int getAddCount() {
return add_.size();
}
/**
+ * <pre>
+ * Users explicitly included in this group, identified by user_id.
+ * </pre>
+ *
* <code>repeated uint32 add = 5;</code>
+ * @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);
}
/**
+ * <pre>
+ * Users explicitly included in this group, identified by user_id.
+ * </pre>
+ *
* <code>repeated uint32 add = 5;</code>
+ * @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;
}
/**
+ * <pre>
+ * Users explicitly included in this group, identified by user_id.
+ * </pre>
+ *
* <code>repeated uint32 add = 5;</code>
+ * @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;
}
/**
+ * <pre>
+ * Users explicitly included in this group, identified by user_id.
+ * </pre>
+ *
* <code>repeated uint32 add = 5;</code>
+ * @param values The add to add.
+ * @return This builder for chaining.
*/
public Builder addAllAdd(
java.lang.Iterable<? extends java.lang.Integer> values) {
@@ -17529,62 +22304,109 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Users explicitly included in this group, identified by user_id.
+ * </pre>
+ *
* <code>repeated uint32 add = 5;</code>
+ * @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<java.lang.Integer> 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<java.lang.Integer>(remove_);
+ if (!((bitField0_ & 0x00000020) != 0)) {
+ remove_ = mutableCopy(remove_);
bitField0_ |= 0x00000020;
}
}
/**
+ * <pre>
+ * Users explicitly removed from this group in this channel if the group
+ * has been inherited, identified by user_id.
+ * </pre>
+ *
* <code>repeated uint32 remove = 6;</code>
+ * @return A list containing the remove.
*/
public java.util.List<java.lang.Integer>
getRemoveList() {
- return java.util.Collections.unmodifiableList(remove_);
+ return ((bitField0_ & 0x00000020) != 0) ?
+ java.util.Collections.unmodifiableList(remove_) : remove_;
}
/**
+ * <pre>
+ * Users explicitly removed from this group in this channel if the group
+ * has been inherited, identified by user_id.
+ * </pre>
+ *
* <code>repeated uint32 remove = 6;</code>
+ * @return The count of remove.
*/
public int getRemoveCount() {
return remove_.size();
}
/**
+ * <pre>
+ * Users explicitly removed from this group in this channel if the group
+ * has been inherited, identified by user_id.
+ * </pre>
+ *
* <code>repeated uint32 remove = 6;</code>
+ * @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);
}
/**
+ * <pre>
+ * Users explicitly removed from this group in this channel if the group
+ * has been inherited, identified by user_id.
+ * </pre>
+ *
* <code>repeated uint32 remove = 6;</code>
+ * @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;
}
/**
+ * <pre>
+ * Users explicitly removed from this group in this channel if the group
+ * has been inherited, identified by user_id.
+ * </pre>
+ *
* <code>repeated uint32 remove = 6;</code>
+ * @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;
}
/**
+ * <pre>
+ * Users explicitly removed from this group in this channel if the group
+ * has been inherited, identified by user_id.
+ * </pre>
+ *
* <code>repeated uint32 remove = 6;</code>
+ * @param values The remove to add.
+ * @return This builder for chaining.
*/
public Builder addAllRemove(
java.lang.Iterable<? extends java.lang.Integer> values) {
@@ -17595,62 +22417,104 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Users explicitly removed from this group in this channel if the group
+ * has been inherited, identified by user_id.
+ * </pre>
+ *
* <code>repeated uint32 remove = 6;</code>
+ * @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<java.lang.Integer> 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<java.lang.Integer>(inheritedMembers_);
+ if (!((bitField0_ & 0x00000040) != 0)) {
+ inheritedMembers_ = mutableCopy(inheritedMembers_);
bitField0_ |= 0x00000040;
}
}
/**
+ * <pre>
+ * Users inherited, identified by user_id.
+ * </pre>
+ *
* <code>repeated uint32 inherited_members = 7;</code>
+ * @return A list containing the inheritedMembers.
*/
public java.util.List<java.lang.Integer>
getInheritedMembersList() {
- return java.util.Collections.unmodifiableList(inheritedMembers_);
+ return ((bitField0_ & 0x00000040) != 0) ?
+ java.util.Collections.unmodifiableList(inheritedMembers_) : inheritedMembers_;
}
/**
+ * <pre>
+ * Users inherited, identified by user_id.
+ * </pre>
+ *
* <code>repeated uint32 inherited_members = 7;</code>
+ * @return The count of inheritedMembers.
*/
public int getInheritedMembersCount() {
return inheritedMembers_.size();
}
/**
+ * <pre>
+ * Users inherited, identified by user_id.
+ * </pre>
+ *
* <code>repeated uint32 inherited_members = 7;</code>
+ * @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);
}
/**
+ * <pre>
+ * Users inherited, identified by user_id.
+ * </pre>
+ *
* <code>repeated uint32 inherited_members = 7;</code>
+ * @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;
}
/**
+ * <pre>
+ * Users inherited, identified by user_id.
+ * </pre>
+ *
* <code>repeated uint32 inherited_members = 7;</code>
+ * @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;
}
/**
+ * <pre>
+ * Users inherited, identified by user_id.
+ * </pre>
+ *
* <code>repeated uint32 inherited_members = 7;</code>
+ * @param values The inheritedMembers to add.
+ * @return This builder for chaining.
*/
public Builder addAllInheritedMembers(
java.lang.Iterable<? extends java.lang.Integer> values) {
@@ -17661,19 +22525,26 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Users inherited, identified by user_id.
+ * </pre>
+ *
* <code>repeated uint32 inherited_members = 7;</code>
+ * @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<ChanGroup>
PARSER = new com.google.protobuf.AbstractParser<ChanGroup>() {
+ @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 {
/**
+ * <pre>
+ * True if this ACL applies to the current channel.
+ * </pre>
+ *
* <code>optional bool apply_here = 1 [default = true];</code>
+ * @return Whether the applyHere field is set.
*/
boolean hasApplyHere();
/**
+ * <pre>
+ * True if this ACL applies to the current channel.
+ * </pre>
+ *
* <code>optional bool apply_here = 1 [default = true];</code>
+ * @return The applyHere.
*/
boolean getApplyHere();
/**
+ * <pre>
+ * True if this ACL applies to the sub channels.
+ * </pre>
+ *
* <code>optional bool apply_subs = 2 [default = true];</code>
+ * @return Whether the applySubs field is set.
*/
boolean hasApplySubs();
/**
+ * <pre>
+ * True if this ACL applies to the sub channels.
+ * </pre>
+ *
* <code>optional bool apply_subs = 2 [default = true];</code>
+ * @return The applySubs.
*/
boolean getApplySubs();
/**
+ * <pre>
+ * True if the ACL has been inherited from the parent.
+ * </pre>
+ *
* <code>optional bool inherited = 3 [default = true];</code>
+ * @return Whether the inherited field is set.
*/
boolean hasInherited();
/**
+ * <pre>
+ * True if the ACL has been inherited from the parent.
+ * </pre>
+ *
* <code>optional bool inherited = 3 [default = true];</code>
+ * @return The inherited.
*/
boolean getInherited();
/**
+ * <pre>
+ * ID of the user that is affected by this ACL.
+ * </pre>
+ *
* <code>optional uint32 user_id = 4;</code>
+ * @return Whether the userId field is set.
*/
boolean hasUserId();
/**
+ * <pre>
+ * ID of the user that is affected by this ACL.
+ * </pre>
+ *
* <code>optional uint32 user_id = 4;</code>
+ * @return The userId.
*/
int getUserId();
/**
+ * <pre>
+ * ID of the group that is affected by this ACL.
+ * </pre>
+ *
* <code>optional string group = 5;</code>
+ * @return Whether the group field is set.
*/
boolean hasGroup();
/**
+ * <pre>
+ * ID of the group that is affected by this ACL.
+ * </pre>
+ *
* <code>optional string group = 5;</code>
+ * @return The group.
*/
java.lang.String getGroup();
/**
+ * <pre>
+ * ID of the group that is affected by this ACL.
+ * </pre>
+ *
* <code>optional string group = 5;</code>
+ * @return The bytes for group.
*/
com.google.protobuf.ByteString
getGroupBytes();
/**
+ * <pre>
+ * Bit flag field of the permissions granted by this ACL.
+ * </pre>
+ *
* <code>optional uint32 grant = 6;</code>
+ * @return Whether the grant field is set.
*/
boolean hasGrant();
/**
+ * <pre>
+ * Bit flag field of the permissions granted by this ACL.
+ * </pre>
+ *
* <code>optional uint32 grant = 6;</code>
+ * @return The grant.
*/
int getGrant();
/**
+ * <pre>
+ * Bit flag field of the permissions denied by this ACL.
+ * </pre>
+ *
* <code>optional uint32 deny = 7;</code>
+ * @return Whether the deny field is set.
*/
boolean hasDeny();
/**
+ * <pre>
+ * Bit flag field of the permissions denied by this ACL.
+ * </pre>
+ *
* <code>optional uint32 deny = 7;</code>
+ * @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_;
/**
+ * <pre>
+ * True if this ACL applies to the current channel.
+ * </pre>
+ *
* <code>optional bool apply_here = 1 [default = true];</code>
+ * @return Whether the applyHere field is set.
*/
public boolean hasApplyHere() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * True if this ACL applies to the current channel.
+ * </pre>
+ *
* <code>optional bool apply_here = 1 [default = true];</code>
+ * @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_;
/**
+ * <pre>
+ * True if this ACL applies to the sub channels.
+ * </pre>
+ *
* <code>optional bool apply_subs = 2 [default = true];</code>
+ * @return Whether the applySubs field is set.
*/
public boolean hasApplySubs() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * True if this ACL applies to the sub channels.
+ * </pre>
+ *
* <code>optional bool apply_subs = 2 [default = true];</code>
+ * @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_;
/**
+ * <pre>
+ * True if the ACL has been inherited from the parent.
+ * </pre>
+ *
* <code>optional bool inherited = 3 [default = true];</code>
+ * @return Whether the inherited field is set.
*/
public boolean hasInherited() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
+ * <pre>
+ * True if the ACL has been inherited from the parent.
+ * </pre>
+ *
* <code>optional bool inherited = 3 [default = true];</code>
+ * @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_;
/**
+ * <pre>
+ * ID of the user that is affected by this ACL.
+ * </pre>
+ *
* <code>optional uint32 user_id = 4;</code>
+ * @return Whether the userId field is set.
*/
public boolean hasUserId() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
+ * <pre>
+ * ID of the user that is affected by this ACL.
+ * </pre>
+ *
* <code>optional uint32 user_id = 4;</code>
+ * @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_;
/**
+ * <pre>
+ * ID of the group that is affected by this ACL.
+ * </pre>
+ *
* <code>optional string group = 5;</code>
+ * @return Whether the group field is set.
*/
public boolean hasGroup() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
+ * <pre>
+ * ID of the group that is affected by this ACL.
+ * </pre>
+ *
* <code>optional string group = 5;</code>
+ * @return The group.
*/
public java.lang.String getGroup() {
java.lang.Object ref = group_;
@@ -17986,7 +22993,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * ID of the group that is affected by this ACL.
+ * </pre>
+ *
* <code>optional string group = 5;</code>
+ * @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_;
/**
+ * <pre>
+ * Bit flag field of the permissions granted by this ACL.
+ * </pre>
+ *
* <code>optional uint32 grant = 6;</code>
+ * @return Whether the grant field is set.
*/
public boolean hasGrant() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
+ return ((bitField0_ & 0x00000020) != 0);
}
/**
+ * <pre>
+ * Bit flag field of the permissions granted by this ACL.
+ * </pre>
+ *
* <code>optional uint32 grant = 6;</code>
+ * @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_;
/**
+ * <pre>
+ * Bit flag field of the permissions denied by this ACL.
+ * </pre>
+ *
* <code>optional uint32 deny = 7;</code>
+ * @return Whether the deny field is set.
*/
public boolean hasDeny() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
+ return ((bitField0_ & 0x00000040) != 0);
}
/**
+ * <pre>
+ * Bit flag field of the permissions denied by this ACL.
+ * </pre>
+ *
* <code>optional uint32 deny = 7;</code>
+ * @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(
@@ -18200,6 +23233,17 @@ public final class Mumble {
}
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 {
return PARSER.parseFrom(data);
@@ -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;
/**
+ * <pre>
+ * True if this ACL applies to the current channel.
+ * </pre>
+ *
* <code>optional bool apply_here = 1 [default = true];</code>
+ * @return Whether the applyHere field is set.
*/
public boolean hasApplyHere() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * True if this ACL applies to the current channel.
+ * </pre>
+ *
* <code>optional bool apply_here = 1 [default = true];</code>
+ * @return The applyHere.
*/
public boolean getApplyHere() {
return applyHere_;
}
/**
+ * <pre>
+ * True if this ACL applies to the current channel.
+ * </pre>
+ *
* <code>optional bool apply_here = 1 [default = true];</code>
+ * @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;
}
/**
+ * <pre>
+ * True if this ACL applies to the current channel.
+ * </pre>
+ *
* <code>optional bool apply_here = 1 [default = true];</code>
+ * @return This builder for chaining.
*/
public Builder clearApplyHere() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -18505,19 +23587,35 @@ public final class Mumble {
private boolean applySubs_ = true;
/**
+ * <pre>
+ * True if this ACL applies to the sub channels.
+ * </pre>
+ *
* <code>optional bool apply_subs = 2 [default = true];</code>
+ * @return Whether the applySubs field is set.
*/
public boolean hasApplySubs() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * True if this ACL applies to the sub channels.
+ * </pre>
+ *
* <code>optional bool apply_subs = 2 [default = true];</code>
+ * @return The applySubs.
*/
public boolean getApplySubs() {
return applySubs_;
}
/**
+ * <pre>
+ * True if this ACL applies to the sub channels.
+ * </pre>
+ *
* <code>optional bool apply_subs = 2 [default = true];</code>
+ * @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;
}
/**
+ * <pre>
+ * True if this ACL applies to the sub channels.
+ * </pre>
+ *
* <code>optional bool apply_subs = 2 [default = true];</code>
+ * @return This builder for chaining.
*/
public Builder clearApplySubs() {
bitField0_ = (bitField0_ & ~0x00000002);
@@ -18537,19 +23640,35 @@ public final class Mumble {
private boolean inherited_ = true;
/**
+ * <pre>
+ * True if the ACL has been inherited from the parent.
+ * </pre>
+ *
* <code>optional bool inherited = 3 [default = true];</code>
+ * @return Whether the inherited field is set.
*/
public boolean hasInherited() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
+ * <pre>
+ * True if the ACL has been inherited from the parent.
+ * </pre>
+ *
* <code>optional bool inherited = 3 [default = true];</code>
+ * @return The inherited.
*/
public boolean getInherited() {
return inherited_;
}
/**
+ * <pre>
+ * True if the ACL has been inherited from the parent.
+ * </pre>
+ *
* <code>optional bool inherited = 3 [default = true];</code>
+ * @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;
}
/**
+ * <pre>
+ * True if the ACL has been inherited from the parent.
+ * </pre>
+ *
* <code>optional bool inherited = 3 [default = true];</code>
+ * @return This builder for chaining.
*/
public Builder clearInherited() {
bitField0_ = (bitField0_ & ~0x00000004);
@@ -18569,19 +23693,35 @@ public final class Mumble {
private int userId_ ;
/**
+ * <pre>
+ * ID of the user that is affected by this ACL.
+ * </pre>
+ *
* <code>optional uint32 user_id = 4;</code>
+ * @return Whether the userId field is set.
*/
public boolean hasUserId() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
+ * <pre>
+ * ID of the user that is affected by this ACL.
+ * </pre>
+ *
* <code>optional uint32 user_id = 4;</code>
+ * @return The userId.
*/
public int getUserId() {
return userId_;
}
/**
+ * <pre>
+ * ID of the user that is affected by this ACL.
+ * </pre>
+ *
* <code>optional uint32 user_id = 4;</code>
+ * @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;
}
/**
+ * <pre>
+ * ID of the user that is affected by this ACL.
+ * </pre>
+ *
* <code>optional uint32 user_id = 4;</code>
+ * @return This builder for chaining.
*/
public Builder clearUserId() {
bitField0_ = (bitField0_ & ~0x00000008);
@@ -18601,13 +23746,23 @@ public final class Mumble {
private java.lang.Object group_ = "";
/**
+ * <pre>
+ * ID of the group that is affected by this ACL.
+ * </pre>
+ *
* <code>optional string group = 5;</code>
+ * @return Whether the group field is set.
*/
public boolean hasGroup() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
+ * <pre>
+ * ID of the group that is affected by this ACL.
+ * </pre>
+ *
* <code>optional string group = 5;</code>
+ * @return The group.
*/
public java.lang.String getGroup() {
java.lang.Object ref = group_;
@@ -18624,7 +23779,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * ID of the group that is affected by this ACL.
+ * </pre>
+ *
* <code>optional string group = 5;</code>
+ * @return The bytes for group.
*/
public com.google.protobuf.ByteString
getGroupBytes() {
@@ -18640,7 +23800,13 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * ID of the group that is affected by this ACL.
+ * </pre>
+ *
* <code>optional string group = 5;</code>
+ * @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;
}
/**
+ * <pre>
+ * ID of the group that is affected by this ACL.
+ * </pre>
+ *
* <code>optional string group = 5;</code>
+ * @return This builder for chaining.
*/
public Builder clearGroup() {
bitField0_ = (bitField0_ & ~0x00000010);
@@ -18662,7 +23833,13 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * ID of the group that is affected by this ACL.
+ * </pre>
+ *
* <code>optional string group = 5;</code>
+ * @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_ ;
/**
+ * <pre>
+ * Bit flag field of the permissions granted by this ACL.
+ * </pre>
+ *
* <code>optional uint32 grant = 6;</code>
+ * @return Whether the grant field is set.
*/
public boolean hasGrant() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
+ return ((bitField0_ & 0x00000020) != 0);
}
/**
+ * <pre>
+ * Bit flag field of the permissions granted by this ACL.
+ * </pre>
+ *
* <code>optional uint32 grant = 6;</code>
+ * @return The grant.
*/
public int getGrant() {
return grant_;
}
/**
+ * <pre>
+ * Bit flag field of the permissions granted by this ACL.
+ * </pre>
+ *
* <code>optional uint32 grant = 6;</code>
+ * @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;
}
/**
+ * <pre>
+ * Bit flag field of the permissions granted by this ACL.
+ * </pre>
+ *
* <code>optional uint32 grant = 6;</code>
+ * @return This builder for chaining.
*/
public Builder clearGrant() {
bitField0_ = (bitField0_ & ~0x00000020);
@@ -18709,19 +23907,35 @@ public final class Mumble {
private int deny_ ;
/**
+ * <pre>
+ * Bit flag field of the permissions denied by this ACL.
+ * </pre>
+ *
* <code>optional uint32 deny = 7;</code>
+ * @return Whether the deny field is set.
*/
public boolean hasDeny() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
+ return ((bitField0_ & 0x00000040) != 0);
}
/**
+ * <pre>
+ * Bit flag field of the permissions denied by this ACL.
+ * </pre>
+ *
* <code>optional uint32 deny = 7;</code>
+ * @return The deny.
*/
public int getDeny() {
return deny_;
}
/**
+ * <pre>
+ * Bit flag field of the permissions denied by this ACL.
+ * </pre>
+ *
* <code>optional uint32 deny = 7;</code>
+ * @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;
}
/**
+ * <pre>
+ * Bit flag field of the permissions denied by this ACL.
+ * </pre>
+ *
* <code>optional uint32 deny = 7;</code>
+ * @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<ChanACL>
PARSER = new com.google.protobuf.AbstractParser<ChanACL>() {
+ @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_;
/**
+ * <pre>
+ * Channel ID of the channel this message affects.
+ * </pre>
+ *
* <code>required uint32 channel_id = 1;</code>
+ * @return Whether the channelId field is set.
*/
public boolean hasChannelId() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * Channel ID of the channel this message affects.
+ * </pre>
+ *
* <code>required uint32 channel_id = 1;</code>
+ * @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_;
/**
+ * <pre>
+ * True if the channel inherits its parent's ACLs.
+ * </pre>
+ *
* <code>optional bool inherit_acls = 2 [default = true];</code>
+ * @return Whether the inheritAcls field is set.
*/
public boolean hasInheritAcls() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * True if the channel inherits its parent's ACLs.
+ * </pre>
+ *
* <code>optional bool inherit_acls = 2 [default = true];</code>
+ * @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<se.lublin.humla.protobuf.Mumble.ACL.ChanGroup> groups_;
/**
+ * <pre>
+ * User group specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanGroup groups = 3;</code>
*/
public java.util.List<se.lublin.humla.protobuf.Mumble.ACL.ChanGroup> getGroupsList() {
return groups_;
}
/**
+ * <pre>
+ * User group specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanGroup groups = 3;</code>
*/
public java.util.List<? extends se.lublin.humla.protobuf.Mumble.ACL.ChanGroupOrBuilder>
@@ -18834,18 +24085,30 @@ public final class Mumble {
return groups_;
}
/**
+ * <pre>
+ * User group specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanGroup groups = 3;</code>
*/
public int getGroupsCount() {
return groups_.size();
}
/**
+ * <pre>
+ * User group specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanGroup groups = 3;</code>
*/
public se.lublin.humla.protobuf.Mumble.ACL.ChanGroup getGroups(int index) {
return groups_.get(index);
}
/**
+ * <pre>
+ * User group specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanGroup groups = 3;</code>
*/
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<se.lublin.humla.protobuf.Mumble.ACL.ChanACL> acls_;
/**
+ * <pre>
+ * ACL specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanACL acls = 4;</code>
*/
public java.util.List<se.lublin.humla.protobuf.Mumble.ACL.ChanACL> getAclsList() {
return acls_;
}
/**
+ * <pre>
+ * ACL specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanACL acls = 4;</code>
*/
public java.util.List<? extends se.lublin.humla.protobuf.Mumble.ACL.ChanACLOrBuilder>
@@ -18869,18 +24140,30 @@ public final class Mumble {
return acls_;
}
/**
+ * <pre>
+ * ACL specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanACL acls = 4;</code>
*/
public int getAclsCount() {
return acls_.size();
}
/**
+ * <pre>
+ * ACL specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanACL acls = 4;</code>
*/
public se.lublin.humla.protobuf.Mumble.ACL.ChanACL getAcls(int index) {
return acls_.get(index);
}
/**
+ * <pre>
+ * ACL specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanACL acls = 4;</code>
*/
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_;
/**
+ * <pre>
+ * True if the message is a query for ACLs instead of setting them.
+ * </pre>
+ *
* <code>optional bool query = 5 [default = false];</code>
+ * @return Whether the query field is set.
*/
public boolean hasQuery() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
+ * <pre>
+ * True if the message is a query for ACLs instead of setting them.
+ * </pre>
+ *
* <code>optional bool query = 5 [default = false];</code>
+ * @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();
@@ -19043,6 +24337,17 @@ public final class Mumble {
}
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 {
return PARSER.parseFrom(data);
@@ -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_ ;
/**
+ * <pre>
+ * Channel ID of the channel this message affects.
+ * </pre>
+ *
* <code>required uint32 channel_id = 1;</code>
+ * @return Whether the channelId field is set.
*/
public boolean hasChannelId() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * Channel ID of the channel this message affects.
+ * </pre>
+ *
* <code>required uint32 channel_id = 1;</code>
+ * @return The channelId.
*/
public int getChannelId() {
return channelId_;
}
/**
+ * <pre>
+ * Channel ID of the channel this message affects.
+ * </pre>
+ *
* <code>required uint32 channel_id = 1;</code>
+ * @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;
}
/**
+ * <pre>
+ * Channel ID of the channel this message affects.
+ * </pre>
+ *
* <code>required uint32 channel_id = 1;</code>
+ * @return This builder for chaining.
*/
public Builder clearChannelId() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -19402,19 +24745,35 @@ public final class Mumble {
private boolean inheritAcls_ = true;
/**
+ * <pre>
+ * True if the channel inherits its parent's ACLs.
+ * </pre>
+ *
* <code>optional bool inherit_acls = 2 [default = true];</code>
+ * @return Whether the inheritAcls field is set.
*/
public boolean hasInheritAcls() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * True if the channel inherits its parent's ACLs.
+ * </pre>
+ *
* <code>optional bool inherit_acls = 2 [default = true];</code>
+ * @return The inheritAcls.
*/
public boolean getInheritAcls() {
return inheritAcls_;
}
/**
+ * <pre>
+ * True if the channel inherits its parent's ACLs.
+ * </pre>
+ *
* <code>optional bool inherit_acls = 2 [default = true];</code>
+ * @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;
}
/**
+ * <pre>
+ * True if the channel inherits its parent's ACLs.
+ * </pre>
+ *
* <code>optional bool inherit_acls = 2 [default = true];</code>
+ * @return This builder for chaining.
*/
public Builder clearInheritAcls() {
bitField0_ = (bitField0_ & ~0x00000002);
@@ -19435,7 +24799,7 @@ public final class Mumble {
private java.util.List<se.lublin.humla.protobuf.Mumble.ACL.ChanGroup> groups_ =
java.util.Collections.emptyList();
private void ensureGroupsIsMutable() {
- if (!((bitField0_ & 0x00000004) == 0x00000004)) {
+ if (!((bitField0_ & 0x00000004) != 0)) {
groups_ = new java.util.ArrayList<se.lublin.humla.protobuf.Mumble.ACL.ChanGroup>(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_;
/**
+ * <pre>
+ * User group specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanGroup groups = 3;</code>
*/
public java.util.List<se.lublin.humla.protobuf.Mumble.ACL.ChanGroup> getGroupsList() {
@@ -19455,6 +24823,10 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * User group specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanGroup groups = 3;</code>
*/
public int getGroupsCount() {
@@ -19465,6 +24837,10 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * User group specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanGroup groups = 3;</code>
*/
public se.lublin.humla.protobuf.Mumble.ACL.ChanGroup getGroups(int index) {
@@ -19475,6 +24851,10 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * User group specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanGroup groups = 3;</code>
*/
public Builder setGroups(
@@ -19492,6 +24872,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * User group specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanGroup groups = 3;</code>
*/
public Builder setGroups(
@@ -19506,6 +24890,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * User group specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanGroup groups = 3;</code>
*/
public Builder addGroups(se.lublin.humla.protobuf.Mumble.ACL.ChanGroup value) {
@@ -19522,6 +24910,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * User group specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanGroup groups = 3;</code>
*/
public Builder addGroups(
@@ -19539,6 +24931,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * User group specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanGroup groups = 3;</code>
*/
public Builder addGroups(
@@ -19553,6 +24949,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * User group specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanGroup groups = 3;</code>
*/
public Builder addGroups(
@@ -19567,6 +24967,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * User group specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanGroup groups = 3;</code>
*/
public Builder addAllGroups(
@@ -19582,6 +24986,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * User group specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanGroup groups = 3;</code>
*/
public Builder clearGroups() {
@@ -19595,6 +25003,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * User group specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanGroup groups = 3;</code>
*/
public Builder removeGroups(int index) {
@@ -19608,6 +25020,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * User group specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanGroup groups = 3;</code>
*/
public se.lublin.humla.protobuf.Mumble.ACL.ChanGroup.Builder getGroupsBuilder(
@@ -19615,6 +25031,10 @@ public final class Mumble {
return getGroupsFieldBuilder().getBuilder(index);
}
/**
+ * <pre>
+ * User group specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanGroup groups = 3;</code>
*/
public se.lublin.humla.protobuf.Mumble.ACL.ChanGroupOrBuilder getGroupsOrBuilder(
@@ -19625,6 +25045,10 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * User group specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanGroup groups = 3;</code>
*/
public java.util.List<? extends se.lublin.humla.protobuf.Mumble.ACL.ChanGroupOrBuilder>
@@ -19636,6 +25060,10 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * User group specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanGroup groups = 3;</code>
*/
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());
}
/**
+ * <pre>
+ * User group specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanGroup groups = 3;</code>
*/
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());
}
/**
+ * <pre>
+ * User group specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanGroup groups = 3;</code>
*/
public java.util.List<se.lublin.humla.protobuf.Mumble.ACL.ChanGroup.Builder>
@@ -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<se.lublin.humla.protobuf.Mumble.ACL.ChanACL> acls_ =
java.util.Collections.emptyList();
private void ensureAclsIsMutable() {
- if (!((bitField0_ & 0x00000008) == 0x00000008)) {
+ if (!((bitField0_ & 0x00000008) != 0)) {
acls_ = new java.util.ArrayList<se.lublin.humla.protobuf.Mumble.ACL.ChanACL>(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_;
/**
+ * <pre>
+ * ACL specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanACL acls = 4;</code>
*/
public java.util.List<se.lublin.humla.protobuf.Mumble.ACL.ChanACL> getAclsList() {
@@ -19695,6 +25135,10 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * ACL specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanACL acls = 4;</code>
*/
public int getAclsCount() {
@@ -19705,6 +25149,10 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * ACL specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanACL acls = 4;</code>
*/
public se.lublin.humla.protobuf.Mumble.ACL.ChanACL getAcls(int index) {
@@ -19715,6 +25163,10 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * ACL specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanACL acls = 4;</code>
*/
public Builder setAcls(
@@ -19732,6 +25184,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * ACL specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanACL acls = 4;</code>
*/
public Builder setAcls(
@@ -19746,6 +25202,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * ACL specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanACL acls = 4;</code>
*/
public Builder addAcls(se.lublin.humla.protobuf.Mumble.ACL.ChanACL value) {
@@ -19762,6 +25222,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * ACL specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanACL acls = 4;</code>
*/
public Builder addAcls(
@@ -19779,6 +25243,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * ACL specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanACL acls = 4;</code>
*/
public Builder addAcls(
@@ -19793,6 +25261,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * ACL specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanACL acls = 4;</code>
*/
public Builder addAcls(
@@ -19807,6 +25279,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * ACL specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanACL acls = 4;</code>
*/
public Builder addAllAcls(
@@ -19822,6 +25298,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * ACL specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanACL acls = 4;</code>
*/
public Builder clearAcls() {
@@ -19835,6 +25315,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * ACL specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanACL acls = 4;</code>
*/
public Builder removeAcls(int index) {
@@ -19848,6 +25332,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * ACL specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanACL acls = 4;</code>
*/
public se.lublin.humla.protobuf.Mumble.ACL.ChanACL.Builder getAclsBuilder(
@@ -19855,6 +25343,10 @@ public final class Mumble {
return getAclsFieldBuilder().getBuilder(index);
}
/**
+ * <pre>
+ * ACL specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanACL acls = 4;</code>
*/
public se.lublin.humla.protobuf.Mumble.ACL.ChanACLOrBuilder getAclsOrBuilder(
@@ -19865,6 +25357,10 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * ACL specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanACL acls = 4;</code>
*/
public java.util.List<? extends se.lublin.humla.protobuf.Mumble.ACL.ChanACLOrBuilder>
@@ -19876,6 +25372,10 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * ACL specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanACL acls = 4;</code>
*/
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());
}
/**
+ * <pre>
+ * ACL specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanACL acls = 4;</code>
*/
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());
}
/**
+ * <pre>
+ * ACL specifications.
+ * </pre>
+ *
* <code>repeated .MumbleProto.ACL.ChanACL acls = 4;</code>
*/
public java.util.List<se.lublin.humla.protobuf.Mumble.ACL.ChanACL.Builder>
@@ -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_ ;
/**
+ * <pre>
+ * True if the message is a query for ACLs instead of setting them.
+ * </pre>
+ *
* <code>optional bool query = 5 [default = false];</code>
+ * @return Whether the query field is set.
*/
public boolean hasQuery() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
+ * <pre>
+ * True if the message is a query for ACLs instead of setting them.
+ * </pre>
+ *
* <code>optional bool query = 5 [default = false];</code>
+ * @return The query.
*/
public boolean getQuery() {
return query_;
}
/**
+ * <pre>
+ * True if the message is a query for ACLs instead of setting them.
+ * </pre>
+ *
* <code>optional bool query = 5 [default = false];</code>
+ * @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;
}
/**
+ * <pre>
+ * True if the message is a query for ACLs instead of setting them.
+ * </pre>
+ *
* <code>optional bool query = 5 [default = false];</code>
+ * @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<ACL>
PARSER = new com.google.protobuf.AbstractParser<ACL>() {
+ @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,54 +25530,106 @@ public final class Mumble {
com.google.protobuf.MessageOrBuilder {
/**
+ * <pre>
+ * user_ids.
+ * </pre>
+ *
* <code>repeated uint32 ids = 1;</code>
+ * @return A list containing the ids.
*/
java.util.List<java.lang.Integer> getIdsList();
/**
+ * <pre>
+ * user_ids.
+ * </pre>
+ *
* <code>repeated uint32 ids = 1;</code>
+ * @return The count of ids.
*/
int getIdsCount();
/**
+ * <pre>
+ * user_ids.
+ * </pre>
+ *
* <code>repeated uint32 ids = 1;</code>
+ * @param index The index of the element to return.
+ * @return The ids at the given index.
*/
int getIds(int index);
/**
+ * <pre>
+ * User names in the same order as ids.
+ * </pre>
+ *
* <code>repeated string names = 2;</code>
+ * @return A list containing the names.
*/
java.util.List<java.lang.String>
getNamesList();
/**
+ * <pre>
+ * User names in the same order as ids.
+ * </pre>
+ *
* <code>repeated string names = 2;</code>
+ * @return The count of names.
*/
int getNamesCount();
/**
+ * <pre>
+ * User names in the same order as ids.
+ * </pre>
+ *
* <code>repeated string names = 2;</code>
+ * @param index The index of the element to return.
+ * @return The names at the given index.
*/
java.lang.String getNames(int index);
/**
+ * <pre>
+ * User names in the same order as ids.
+ * </pre>
+ *
* <code>repeated string names = 2;</code>
+ * @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);
}
/**
+ * <pre>
+ * 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.
+ * </pre>
+ *
* 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() {
return this.unknownFields;
@@ -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<java.lang.Integer>();
+ 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<java.lang.Integer>();
+ 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<java.lang.Integer> ids_;
+ private com.google.protobuf.Internal.IntList ids_;
/**
+ * <pre>
+ * user_ids.
+ * </pre>
+ *
* <code>repeated uint32 ids = 1;</code>
+ * @return A list containing the ids.
*/
public java.util.List<java.lang.Integer>
getIdsList() {
return ids_;
}
/**
+ * <pre>
+ * user_ids.
+ * </pre>
+ *
* <code>repeated uint32 ids = 1;</code>
+ * @return The count of ids.
*/
public int getIdsCount() {
return ids_.size();
}
/**
+ * <pre>
+ * user_ids.
+ * </pre>
+ *
* <code>repeated uint32 ids = 1;</code>
+ * @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_;
/**
+ * <pre>
+ * User names in the same order as ids.
+ * </pre>
+ *
* <code>repeated string names = 2;</code>
+ * @return A list containing the names.
*/
public com.google.protobuf.ProtocolStringList
getNamesList() {
return names_;
}
/**
+ * <pre>
+ * User names in the same order as ids.
+ * </pre>
+ *
* <code>repeated string names = 2;</code>
+ * @return The count of names.
*/
public int getNamesCount() {
return names_.size();
}
/**
+ * <pre>
+ * User names in the same order as ids.
+ * </pre>
+ *
* <code>repeated string names = 2;</code>
+ * @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);
}
/**
+ * <pre>
+ * User names in the same order as ids.
+ * </pre>
+ *
* <code>repeated string names = 2;</code>
+ * @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();
@@ -20272,6 +25900,17 @@ public final class Mumble {
}
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 {
return PARSER.parseFrom(data);
@@ -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;
}
/**
+ * <pre>
+ * 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.
+ * </pre>
+ *
* 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<java.lang.Integer> 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<java.lang.Integer>(ids_);
+ if (!((bitField0_ & 0x00000001) != 0)) {
+ ids_ = mutableCopy(ids_);
bitField0_ |= 0x00000001;
}
}
/**
+ * <pre>
+ * user_ids.
+ * </pre>
+ *
* <code>repeated uint32 ids = 1;</code>
+ * @return A list containing the ids.
*/
public java.util.List<java.lang.Integer>
getIdsList() {
- return java.util.Collections.unmodifiableList(ids_);
+ return ((bitField0_ & 0x00000001) != 0) ?
+ java.util.Collections.unmodifiableList(ids_) : ids_;
}
/**
+ * <pre>
+ * user_ids.
+ * </pre>
+ *
* <code>repeated uint32 ids = 1;</code>
+ * @return The count of ids.
*/
public int getIdsCount() {
return ids_.size();
}
/**
+ * <pre>
+ * user_ids.
+ * </pre>
+ *
* <code>repeated uint32 ids = 1;</code>
+ * @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);
}
/**
+ * <pre>
+ * user_ids.
+ * </pre>
+ *
* <code>repeated uint32 ids = 1;</code>
+ * @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;
}
/**
+ * <pre>
+ * user_ids.
+ * </pre>
+ *
* <code>repeated uint32 ids = 1;</code>
+ * @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;
}
/**
+ * <pre>
+ * user_ids.
+ * </pre>
+ *
* <code>repeated uint32 ids = 1;</code>
+ * @param values The ids to add.
+ * @return This builder for chaining.
*/
public Builder addAllIds(
java.lang.Iterable<? extends java.lang.Integer> values) {
@@ -20567,10 +26265,15 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * user_ids.
+ * </pre>
+ *
* <code>repeated uint32 ids = 1;</code>
+ * @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;
}
}
/**
+ * <pre>
+ * User names in the same order as ids.
+ * </pre>
+ *
* <code>repeated string names = 2;</code>
+ * @return A list containing the names.
*/
public com.google.protobuf.ProtocolStringList
getNamesList() {
return names_.getUnmodifiableView();
}
/**
+ * <pre>
+ * User names in the same order as ids.
+ * </pre>
+ *
* <code>repeated string names = 2;</code>
+ * @return The count of names.
*/
public int getNamesCount() {
return names_.size();
}
/**
+ * <pre>
+ * User names in the same order as ids.
+ * </pre>
+ *
* <code>repeated string names = 2;</code>
+ * @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);
}
/**
+ * <pre>
+ * User names in the same order as ids.
+ * </pre>
+ *
* <code>repeated string names = 2;</code>
+ * @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);
}
/**
+ * <pre>
+ * User names in the same order as ids.
+ * </pre>
+ *
* <code>repeated string names = 2;</code>
+ * @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;
}
/**
+ * <pre>
+ * User names in the same order as ids.
+ * </pre>
+ *
* <code>repeated string names = 2;</code>
+ * @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;
}
/**
+ * <pre>
+ * User names in the same order as ids.
+ * </pre>
+ *
* <code>repeated string names = 2;</code>
+ * @param values The names to add.
+ * @return This builder for chaining.
*/
public Builder addAllNames(
java.lang.Iterable<java.lang.String> values) {
@@ -20647,7 +26391,12 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * User names in the same order as ids.
+ * </pre>
+ *
* <code>repeated string names = 2;</code>
+ * @return This builder for chaining.
*/
public Builder clearNames() {
names_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -20656,7 +26405,13 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * User names in the same order as ids.
+ * </pre>
+ *
* <code>repeated string names = 2;</code>
+ * @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<QueryUsers>
PARSER = new com.google.protobuf.AbstractParser<QueryUsers>() {
+ @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 {
/**
+ * <pre>
+ * Encryption key.
+ * </pre>
+ *
* <code>optional bytes key = 1;</code>
+ * @return Whether the key field is set.
*/
boolean hasKey();
/**
+ * <pre>
+ * Encryption key.
+ * </pre>
+ *
* <code>optional bytes key = 1;</code>
+ * @return The key.
*/
com.google.protobuf.ByteString getKey();
/**
+ * <pre>
+ * Client nonce.
+ * </pre>
+ *
* <code>optional bytes client_nonce = 2;</code>
+ * @return Whether the clientNonce field is set.
*/
boolean hasClientNonce();
/**
+ * <pre>
+ * Client nonce.
+ * </pre>
+ *
* <code>optional bytes client_nonce = 2;</code>
+ * @return The clientNonce.
*/
com.google.protobuf.ByteString getClientNonce();
/**
+ * <pre>
+ * Server nonce.
+ * </pre>
+ *
* <code>optional bytes server_nonce = 3;</code>
+ * @return Whether the serverNonce field is set.
*/
boolean hasServerNonce();
/**
+ * <pre>
+ * Server nonce.
+ * </pre>
+ *
* <code>optional bytes server_nonce = 3;</code>
+ * @return The serverNonce.
*/
com.google.protobuf.ByteString getServerNonce();
}
/**
+ * <pre>
+ * 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.
+ * </pre>
+ *
* 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);
@@ -20766,6 +26563,13 @@ public final class Mumble {
}
@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() {
return this.unknownFields;
@@ -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_;
/**
+ * <pre>
+ * Encryption key.
+ * </pre>
+ *
* <code>optional bytes key = 1;</code>
+ * @return Whether the key field is set.
*/
public boolean hasKey() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * Encryption key.
+ * </pre>
+ *
* <code>optional bytes key = 1;</code>
+ * @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_;
/**
+ * <pre>
+ * Client nonce.
+ * </pre>
+ *
* <code>optional bytes client_nonce = 2;</code>
+ * @return Whether the clientNonce field is set.
*/
public boolean hasClientNonce() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * Client nonce.
+ * </pre>
+ *
* <code>optional bytes client_nonce = 2;</code>
+ * @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_;
/**
+ * <pre>
+ * Server nonce.
+ * </pre>
+ *
* <code>optional bytes server_nonce = 3;</code>
+ * @return Whether the serverNonce field is set.
*/
public boolean hasServerNonce() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
+ * <pre>
+ * Server nonce.
+ * </pre>
+ *
* <code>optional bytes server_nonce = 3;</code>
+ * @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();
@@ -20980,6 +26819,17 @@ public final class Mumble {
}
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 {
return PARSER.parseFrom(data);
@@ -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;
}
/**
+ * <pre>
+ * 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.
+ * </pre>
+ *
* 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;
/**
+ * <pre>
+ * Encryption key.
+ * </pre>
+ *
* <code>optional bytes key = 1;</code>
+ * @return Whether the key field is set.
*/
public boolean hasKey() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * Encryption key.
+ * </pre>
+ *
* <code>optional bytes key = 1;</code>
+ * @return The key.
*/
public com.google.protobuf.ByteString getKey() {
return key_;
}
/**
+ * <pre>
+ * Encryption key.
+ * </pre>
+ *
* <code>optional bytes key = 1;</code>
+ * @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;
}
/**
+ * <pre>
+ * Encryption key.
+ * </pre>
+ *
* <code>optional bytes key = 1;</code>
+ * @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;
/**
+ * <pre>
+ * Client nonce.
+ * </pre>
+ *
* <code>optional bytes client_nonce = 2;</code>
+ * @return Whether the clientNonce field is set.
*/
public boolean hasClientNonce() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * Client nonce.
+ * </pre>
+ *
* <code>optional bytes client_nonce = 2;</code>
+ * @return The clientNonce.
*/
public com.google.protobuf.ByteString getClientNonce() {
return clientNonce_;
}
/**
+ * <pre>
+ * Client nonce.
+ * </pre>
+ *
* <code>optional bytes client_nonce = 2;</code>
+ * @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;
}
/**
+ * <pre>
+ * Client nonce.
+ * </pre>
+ *
* <code>optional bytes client_nonce = 2;</code>
+ * @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;
/**
+ * <pre>
+ * Server nonce.
+ * </pre>
+ *
* <code>optional bytes server_nonce = 3;</code>
+ * @return Whether the serverNonce field is set.
*/
public boolean hasServerNonce() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
+ * <pre>
+ * Server nonce.
+ * </pre>
+ *
* <code>optional bytes server_nonce = 3;</code>
+ * @return The serverNonce.
*/
public com.google.protobuf.ByteString getServerNonce() {
return serverNonce_;
}
/**
+ * <pre>
+ * Server nonce.
+ * </pre>
+ *
* <code>optional bytes server_nonce = 3;</code>
+ * @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;
}
/**
+ * <pre>
+ * Server nonce.
+ * </pre>
+ *
* <code>optional bytes server_nonce = 3;</code>
+ * @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<CryptSetup>
PARSER = new com.google.protobuf.AbstractParser<CryptSetup>() {
+ @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 {
/**
+ * <pre>
+ * The action name.
+ * </pre>
+ *
* <code>required string action = 1;</code>
+ * @return Whether the action field is set.
*/
boolean hasAction();
/**
+ * <pre>
+ * The action name.
+ * </pre>
+ *
* <code>required string action = 1;</code>
+ * @return The action.
*/
java.lang.String getAction();
/**
+ * <pre>
+ * The action name.
+ * </pre>
+ *
* <code>required string action = 1;</code>
+ * @return The bytes for action.
*/
com.google.protobuf.ByteString
getActionBytes();
/**
+ * <pre>
+ * The display name of the action.
+ * </pre>
+ *
* <code>optional string text = 2;</code>
+ * @return Whether the text field is set.
*/
boolean hasText();
/**
+ * <pre>
+ * The display name of the action.
+ * </pre>
+ *
* <code>optional string text = 2;</code>
+ * @return The text.
*/
java.lang.String getText();
/**
+ * <pre>
+ * The display name of the action.
+ * </pre>
+ *
* <code>optional string text = 2;</code>
+ * @return The bytes for text.
*/
com.google.protobuf.ByteString
getTextBytes();
/**
+ * <pre>
+ * Context bit flags defining where the action should be displayed.
+ * </pre>
+ *
* <code>optional uint32 context = 3;</code>
+ * @return Whether the context field is set.
*/
boolean hasContext();
/**
+ * <pre>
+ * Context bit flags defining where the action should be displayed.
+ * </pre>
+ *
* <code>optional uint32 context = 3;</code>
+ * @return The context.
*/
int getContext();
/**
* <code>optional .MumbleProto.ContextActionModify.Operation operation = 4;</code>
+ * @return Whether the operation field is set.
*/
boolean hasOperation();
/**
* <code>optional .MumbleProto.ContextActionModify.Operation operation = 4;</code>
+ * @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,11 +27414,17 @@ 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() {
return this.unknownFields;
@@ -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 {
/**
+ * <pre>
+ * Action is applicable to the server.
+ * </pre>
+ *
* <code>Server = 1;</code>
*/
Server(1),
/**
+ * <pre>
+ * Action can target a Channel.
+ * </pre>
+ *
* <code>Channel = 2;</code>
*/
Channel(2),
/**
+ * <pre>
+ * Action can target a User.
+ * </pre>
+ *
* <code>User = 4;</code>
*/
User(4),
;
/**
+ * <pre>
+ * Action is applicable to the server.
+ * </pre>
+ *
* <code>Server = 1;</code>
*/
public static final int Server_VALUE = 1;
/**
+ * <pre>
+ * Action can target a Channel.
+ * </pre>
+ *
* <code>Channel = 2;</code>
*/
public static final int Channel_VALUE = 2;
/**
+ * <pre>
+ * Action can target a User.
+ * </pre>
+ *
* <code>User = 4;</code>
*/
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_;
/**
+ * <pre>
+ * The action name.
+ * </pre>
+ *
* <code>required string action = 1;</code>
+ * @return Whether the action field is set.
*/
public boolean hasAction() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * The action name.
+ * </pre>
+ *
* <code>required string action = 1;</code>
+ * @return The action.
*/
public java.lang.String getAction() {
java.lang.Object ref = action_;
@@ -21730,7 +27771,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * The action name.
+ * </pre>
+ *
* <code>required string action = 1;</code>
+ * @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_;
/**
+ * <pre>
+ * The display name of the action.
+ * </pre>
+ *
* <code>optional string text = 2;</code>
+ * @return Whether the text field is set.
*/
public boolean hasText() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * The display name of the action.
+ * </pre>
+ *
* <code>optional string text = 2;</code>
+ * @return The text.
*/
public java.lang.String getText() {
java.lang.Object ref = text_;
@@ -21772,7 +27828,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * The display name of the action.
+ * </pre>
+ *
* <code>optional string text = 2;</code>
+ * @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_;
/**
+ * <pre>
+ * Context bit flags defining where the action should be displayed.
+ * </pre>
+ *
* <code>optional uint32 context = 3;</code>
+ * @return Whether the context field is set.
*/
public boolean hasContext() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
+ * <pre>
+ * Context bit flags defining where the action should be displayed.
+ * </pre>
+ *
* <code>optional uint32 context = 3;</code>
+ * @return The context.
*/
public int getContext() {
return context_;
@@ -21807,19 +27878,23 @@ public final class Mumble {
private int operation_;
/**
* <code>optional .MumbleProto.ContextActionModify.Operation operation = 4;</code>
+ * @return Whether the operation field is set.
*/
public boolean hasOperation() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional .MumbleProto.ContextActionModify.Operation operation = 4;</code>
+ * @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();
@@ -21938,6 +28013,17 @@ public final class Mumble {
}
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 {
return PARSER.parseFrom(data);
@@ -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_ = "";
/**
+ * <pre>
+ * The action name.
+ * </pre>
+ *
* <code>required string action = 1;</code>
+ * @return Whether the action field is set.
*/
public boolean hasAction() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * The action name.
+ * </pre>
+ *
* <code>required string action = 1;</code>
+ * @return The action.
*/
public java.lang.String getAction() {
java.lang.Object ref = action_;
@@ -22212,7 +28325,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * The action name.
+ * </pre>
+ *
* <code>required string action = 1;</code>
+ * @return The bytes for action.
*/
public com.google.protobuf.ByteString
getActionBytes() {
@@ -22228,7 +28346,13 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * The action name.
+ * </pre>
+ *
* <code>required string action = 1;</code>
+ * @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;
}
/**
+ * <pre>
+ * The action name.
+ * </pre>
+ *
* <code>required string action = 1;</code>
+ * @return This builder for chaining.
*/
public Builder clearAction() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -22250,7 +28379,13 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * The action name.
+ * </pre>
+ *
* <code>required string action = 1;</code>
+ * @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_ = "";
/**
+ * <pre>
+ * The display name of the action.
+ * </pre>
+ *
* <code>optional string text = 2;</code>
+ * @return Whether the text field is set.
*/
public boolean hasText() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * The display name of the action.
+ * </pre>
+ *
* <code>optional string text = 2;</code>
+ * @return The text.
*/
public java.lang.String getText() {
java.lang.Object ref = text_;
@@ -22288,7 +28433,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * The display name of the action.
+ * </pre>
+ *
* <code>optional string text = 2;</code>
+ * @return The bytes for text.
*/
public com.google.protobuf.ByteString
getTextBytes() {
@@ -22304,7 +28454,13 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * The display name of the action.
+ * </pre>
+ *
* <code>optional string text = 2;</code>
+ * @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;
}
/**
+ * <pre>
+ * The display name of the action.
+ * </pre>
+ *
* <code>optional string text = 2;</code>
+ * @return This builder for chaining.
*/
public Builder clearText() {
bitField0_ = (bitField0_ & ~0x00000002);
@@ -22326,7 +28487,13 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * The display name of the action.
+ * </pre>
+ *
* <code>optional string text = 2;</code>
+ * @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_ ;
/**
+ * <pre>
+ * Context bit flags defining where the action should be displayed.
+ * </pre>
+ *
* <code>optional uint32 context = 3;</code>
+ * @return Whether the context field is set.
*/
public boolean hasContext() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
+ * <pre>
+ * Context bit flags defining where the action should be displayed.
+ * </pre>
+ *
* <code>optional uint32 context = 3;</code>
+ * @return The context.
*/
public int getContext() {
return context_;
}
/**
+ * <pre>
+ * Context bit flags defining where the action should be displayed.
+ * </pre>
+ *
* <code>optional uint32 context = 3;</code>
+ * @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;
}
/**
+ * <pre>
+ * Context bit flags defining where the action should be displayed.
+ * </pre>
+ *
* <code>optional uint32 context = 3;</code>
+ * @return This builder for chaining.
*/
public Builder clearContext() {
bitField0_ = (bitField0_ & ~0x00000004);
@@ -22374,19 +28562,24 @@ public final class Mumble {
private int operation_ = 0;
/**
* <code>optional .MumbleProto.ContextActionModify.Operation operation = 4;</code>
+ * @return Whether the operation field is set.
*/
public boolean hasOperation() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional .MumbleProto.ContextActionModify.Operation operation = 4;</code>
+ * @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;
}
/**
* <code>optional .MumbleProto.ContextActionModify.Operation operation = 4;</code>
+ * @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 {
}
/**
* <code>optional .MumbleProto.ContextActionModify.Operation operation = 4;</code>
+ * @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<ContextActionModify>
PARSER = new com.google.protobuf.AbstractParser<ContextActionModify>() {
+ @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,55 +28658,100 @@ public final class Mumble {
com.google.protobuf.MessageOrBuilder {
/**
+ * <pre>
+ * The target User for the action, identified by session.
+ * </pre>
+ *
* <code>optional uint32 session = 1;</code>
+ * @return Whether the session field is set.
*/
boolean hasSession();
/**
+ * <pre>
+ * The target User for the action, identified by session.
+ * </pre>
+ *
* <code>optional uint32 session = 1;</code>
+ * @return The session.
*/
int getSession();
/**
+ * <pre>
+ * The target Channel for the action, identified by channel_id.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 2;</code>
+ * @return Whether the channelId field is set.
*/
boolean hasChannelId();
/**
+ * <pre>
+ * The target Channel for the action, identified by channel_id.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 2;</code>
+ * @return The channelId.
*/
int getChannelId();
/**
+ * <pre>
+ * The action that should be executed.
+ * </pre>
+ *
* <code>required string action = 3;</code>
+ * @return Whether the action field is set.
*/
boolean hasAction();
/**
+ * <pre>
+ * The action that should be executed.
+ * </pre>
+ *
* <code>required string action = 3;</code>
+ * @return The action.
*/
java.lang.String getAction();
/**
+ * <pre>
+ * The action that should be executed.
+ * </pre>
+ *
* <code>required string action = 3;</code>
+ * @return The bytes for action.
*/
com.google.protobuf.ByteString
getActionBytes();
}
/**
+ * <pre>
+ * Sent by the client when it wants to initiate a Context action.
+ * </pre>
+ *
* 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() {
return this.unknownFields;
@@ -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();
@@ -22529,13 +28775,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();
@@ -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_;
/**
+ * <pre>
+ * The target User for the action, identified by session.
+ * </pre>
+ *
* <code>optional uint32 session = 1;</code>
+ * @return Whether the session field is set.
*/
public boolean hasSession() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * The target User for the action, identified by session.
+ * </pre>
+ *
* <code>optional uint32 session = 1;</code>
+ * @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_;
/**
+ * <pre>
+ * The target Channel for the action, identified by channel_id.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 2;</code>
+ * @return Whether the channelId field is set.
*/
public boolean hasChannelId() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * The target Channel for the action, identified by channel_id.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 2;</code>
+ * @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_;
/**
+ * <pre>
+ * The action that should be executed.
+ * </pre>
+ *
* <code>required string action = 3;</code>
+ * @return Whether the action field is set.
*/
public boolean hasAction() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
+ * <pre>
+ * The action that should be executed.
+ * </pre>
+ *
* <code>required string action = 3;</code>
+ * @return The action.
*/
public java.lang.String getAction() {
java.lang.Object ref = action_;
@@ -22633,7 +28910,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * The action that should be executed.
+ * </pre>
+ *
* <code>required string action = 3;</code>
+ * @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();
@@ -22754,6 +29037,17 @@ public final class Mumble {
}
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 {
return PARSER.parseFrom(data);
@@ -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;
}
/**
+ * <pre>
+ * Sent by the client when it wants to initiate a Context action.
+ * </pre>
+ *
* 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_ ;
/**
+ * <pre>
+ * The target User for the action, identified by session.
+ * </pre>
+ *
* <code>optional uint32 session = 1;</code>
+ * @return Whether the session field is set.
*/
public boolean hasSession() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * The target User for the action, identified by session.
+ * </pre>
+ *
* <code>optional uint32 session = 1;</code>
+ * @return The session.
*/
public int getSession() {
return session_;
}
/**
+ * <pre>
+ * The target User for the action, identified by session.
+ * </pre>
+ *
* <code>optional uint32 session = 1;</code>
+ * @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;
}
/**
+ * <pre>
+ * The target User for the action, identified by session.
+ * </pre>
+ *
* <code>optional uint32 session = 1;</code>
+ * @return This builder for chaining.
*/
public Builder clearSession() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -23026,19 +29362,35 @@ public final class Mumble {
private int channelId_ ;
/**
+ * <pre>
+ * The target Channel for the action, identified by channel_id.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 2;</code>
+ * @return Whether the channelId field is set.
*/
public boolean hasChannelId() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * The target Channel for the action, identified by channel_id.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 2;</code>
+ * @return The channelId.
*/
public int getChannelId() {
return channelId_;
}
/**
+ * <pre>
+ * The target Channel for the action, identified by channel_id.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 2;</code>
+ * @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;
}
/**
+ * <pre>
+ * The target Channel for the action, identified by channel_id.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 2;</code>
+ * @return This builder for chaining.
*/
public Builder clearChannelId() {
bitField0_ = (bitField0_ & ~0x00000002);
@@ -23058,13 +29415,23 @@ public final class Mumble {
private java.lang.Object action_ = "";
/**
+ * <pre>
+ * The action that should be executed.
+ * </pre>
+ *
* <code>required string action = 3;</code>
+ * @return Whether the action field is set.
*/
public boolean hasAction() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
+ * <pre>
+ * The action that should be executed.
+ * </pre>
+ *
* <code>required string action = 3;</code>
+ * @return The action.
*/
public java.lang.String getAction() {
java.lang.Object ref = action_;
@@ -23081,7 +29448,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * The action that should be executed.
+ * </pre>
+ *
* <code>required string action = 3;</code>
+ * @return The bytes for action.
*/
public com.google.protobuf.ByteString
getActionBytes() {
@@ -23097,7 +29469,13 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * The action that should be executed.
+ * </pre>
+ *
* <code>required string action = 3;</code>
+ * @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;
}
/**
+ * <pre>
+ * The action that should be executed.
+ * </pre>
+ *
* <code>required string action = 3;</code>
+ * @return This builder for chaining.
*/
public Builder clearAction() {
bitField0_ = (bitField0_ & ~0x00000004);
@@ -23119,7 +29502,13 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * The action that should be executed.
+ * </pre>
+ *
* <code>required string action = 3;</code>
+ * @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<ContextAction>
PARSER = new com.google.protobuf.AbstractParser<ContextAction>() {
+ @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 {
/**
+ * <pre>
+ * A list of registered users.
+ * </pre>
+ *
* <code>repeated .MumbleProto.UserList.User users = 1;</code>
*/
java.util.List<se.lublin.humla.protobuf.Mumble.UserList.User>
getUsersList();
/**
+ * <pre>
+ * A list of registered users.
+ * </pre>
+ *
* <code>repeated .MumbleProto.UserList.User users = 1;</code>
*/
se.lublin.humla.protobuf.Mumble.UserList.User getUsers(int index);
/**
+ * <pre>
+ * A list of registered users.
+ * </pre>
+ *
* <code>repeated .MumbleProto.UserList.User users = 1;</code>
*/
int getUsersCount();
/**
+ * <pre>
+ * A list of registered users.
+ * </pre>
+ *
* <code>repeated .MumbleProto.UserList.User users = 1;</code>
*/
java.util.List<? extends se.lublin.humla.protobuf.Mumble.UserList.UserOrBuilder>
getUsersOrBuilderList();
/**
+ * <pre>
+ * A list of registered users.
+ * </pre>
+ *
* <code>repeated .MumbleProto.UserList.User users = 1;</code>
*/
se.lublin.humla.protobuf.Mumble.UserList.UserOrBuilder getUsersOrBuilder(
int index);
}
/**
+ * <pre>
+ * Lists the registered users.
+ * </pre>
+ *
* 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);
@@ -23224,6 +29642,13 @@ public final class Mumble {
}
@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() {
return this.unknownFields;
@@ -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<se.lublin.humla.protobuf.Mumble.UserList.User>();
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 {
/**
+ * <pre>
+ * Registered user ID.
+ * </pre>
+ *
* <code>required uint32 user_id = 1;</code>
+ * @return Whether the userId field is set.
*/
boolean hasUserId();
/**
+ * <pre>
+ * Registered user ID.
+ * </pre>
+ *
* <code>required uint32 user_id = 1;</code>
+ * @return The userId.
*/
int getUserId();
/**
+ * <pre>
+ * Registered user name.
+ * </pre>
+ *
* <code>optional string name = 2;</code>
+ * @return Whether the name field is set.
*/
boolean hasName();
/**
+ * <pre>
+ * Registered user name.
+ * </pre>
+ *
* <code>optional string name = 2;</code>
+ * @return The name.
*/
java.lang.String getName();
/**
+ * <pre>
+ * Registered user name.
+ * </pre>
+ *
* <code>optional string name = 2;</code>
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
+
+ /**
+ * <code>optional string last_seen = 3;</code>
+ * @return Whether the lastSeen field is set.
+ */
+ boolean hasLastSeen();
+ /**
+ * <code>optional string last_seen = 3;</code>
+ * @return The lastSeen.
+ */
+ java.lang.String getLastSeen();
+ /**
+ * <code>optional string last_seen = 3;</code>
+ * @return The bytes for lastSeen.
+ */
+ com.google.protobuf.ByteString
+ getLastSeenBytes();
+
+ /**
+ * <code>optional uint32 last_channel = 4;</code>
+ * @return Whether the lastChannel field is set.
+ */
+ boolean hasLastChannel();
+ /**
+ * <code>optional uint32 last_channel = 4;</code>
+ * @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_;
/**
+ * <pre>
+ * Registered user ID.
+ * </pre>
+ *
* <code>required uint32 user_id = 1;</code>
+ * @return Whether the userId field is set.
*/
public boolean hasUserId() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * Registered user ID.
+ * </pre>
+ *
* <code>required uint32 user_id = 1;</code>
+ * @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_;
/**
+ * <pre>
+ * Registered user name.
+ * </pre>
+ *
* <code>optional string name = 2;</code>
+ * @return Whether the name field is set.
*/
public boolean hasName() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * Registered user name.
+ * </pre>
+ *
* <code>optional string name = 2;</code>
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -23435,7 +29960,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Registered user name.
+ * </pre>
+ *
* <code>optional string name = 2;</code>
+ * @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_;
+ /**
+ * <code>optional string last_seen = 3;</code>
+ * @return Whether the lastSeen field is set.
+ */
+ public boolean hasLastSeen() {
+ return ((bitField0_ & 0x00000004) != 0);
+ }
+ /**
+ * <code>optional string last_seen = 3;</code>
+ * @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;
+ }
+ }
+ /**
+ * <code>optional string last_seen = 3;</code>
+ * @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_;
+ /**
+ * <code>optional uint32 last_channel = 4;</code>
+ * @return Whether the lastChannel field is set.
+ */
+ public boolean hasLastChannel() {
+ return ((bitField0_ & 0x00000008) != 0);
+ }
+ /**
+ * <code>optional uint32 last_channel = 4;</code>
+ * @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,12 +30150,31 @@ 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 {
return PARSER.parseFrom(data);
@@ -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_ ;
/**
+ * <pre>
+ * Registered user ID.
+ * </pre>
+ *
* <code>required uint32 user_id = 1;</code>
+ * @return Whether the userId field is set.
*/
public boolean hasUserId() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * Registered user ID.
+ * </pre>
+ *
* <code>required uint32 user_id = 1;</code>
+ * @return The userId.
*/
public int getUserId() {
return userId_;
}
/**
+ * <pre>
+ * Registered user ID.
+ * </pre>
+ *
* <code>required uint32 user_id = 1;</code>
+ * @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;
}
/**
+ * <pre>
+ * Registered user ID.
+ * </pre>
+ *
* <code>required uint32 user_id = 1;</code>
+ * @return This builder for chaining.
*/
public Builder clearUserId() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -23803,13 +30496,23 @@ public final class Mumble {
private java.lang.Object name_ = "";
/**
+ * <pre>
+ * Registered user name.
+ * </pre>
+ *
* <code>optional string name = 2;</code>
+ * @return Whether the name field is set.
*/
public boolean hasName() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * Registered user name.
+ * </pre>
+ *
* <code>optional string name = 2;</code>
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -23826,7 +30529,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Registered user name.
+ * </pre>
+ *
* <code>optional string name = 2;</code>
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
@@ -23842,7 +30550,13 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Registered user name.
+ * </pre>
+ *
* <code>optional string name = 2;</code>
+ * @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;
}
/**
+ * <pre>
+ * Registered user name.
+ * </pre>
+ *
* <code>optional string name = 2;</code>
+ * @return This builder for chaining.
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000002);
@@ -23864,7 +30583,13 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Registered user name.
+ * </pre>
+ *
* <code>optional string name = 2;</code>
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
@@ -23876,11 +30601,134 @@ public final class Mumble {
onChanged();
return this;
}
+
+ private java.lang.Object lastSeen_ = "";
+ /**
+ * <code>optional string last_seen = 3;</code>
+ * @return Whether the lastSeen field is set.
+ */
+ public boolean hasLastSeen() {
+ return ((bitField0_ & 0x00000004) != 0);
+ }
+ /**
+ * <code>optional string last_seen = 3;</code>
+ * @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;
+ }
+ }
+ /**
+ * <code>optional string last_seen = 3;</code>
+ * @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;
+ }
+ }
+ /**
+ * <code>optional string last_seen = 3;</code>
+ * @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;
+ }
+ /**
+ * <code>optional string last_seen = 3;</code>
+ * @return This builder for chaining.
+ */
+ public Builder clearLastSeen() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ lastSeen_ = getDefaultInstance().getLastSeen();
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional string last_seen = 3;</code>
+ * @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_ ;
+ /**
+ * <code>optional uint32 last_channel = 4;</code>
+ * @return Whether the lastChannel field is set.
+ */
+ public boolean hasLastChannel() {
+ return ((bitField0_ & 0x00000008) != 0);
+ }
+ /**
+ * <code>optional uint32 last_channel = 4;</code>
+ * @return The lastChannel.
+ */
+ public int getLastChannel() {
+ return lastChannel_;
+ }
+ /**
+ * <code>optional uint32 last_channel = 4;</code>
+ * @param value The lastChannel to set.
+ * @return This builder for chaining.
+ */
+ public Builder setLastChannel(int value) {
+ bitField0_ |= 0x00000008;
+ lastChannel_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional uint32 last_channel = 4;</code>
+ * @return This builder for chaining.
+ */
+ 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<User>
PARSER = new com.google.protobuf.AbstractParser<User>() {
+ @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<se.lublin.humla.protobuf.Mumble.UserList.User> users_;
/**
+ * <pre>
+ * A list of registered users.
+ * </pre>
+ *
* <code>repeated .MumbleProto.UserList.User users = 1;</code>
*/
public java.util.List<se.lublin.humla.protobuf.Mumble.UserList.User> getUsersList() {
return users_;
}
/**
+ * <pre>
+ * A list of registered users.
+ * </pre>
+ *
* <code>repeated .MumbleProto.UserList.User users = 1;</code>
*/
public java.util.List<? extends se.lublin.humla.protobuf.Mumble.UserList.UserOrBuilder>
@@ -23941,18 +30799,30 @@ public final class Mumble {
return users_;
}
/**
+ * <pre>
+ * A list of registered users.
+ * </pre>
+ *
* <code>repeated .MumbleProto.UserList.User users = 1;</code>
*/
public int getUsersCount() {
return users_.size();
}
/**
+ * <pre>
+ * A list of registered users.
+ * </pre>
+ *
* <code>repeated .MumbleProto.UserList.User users = 1;</code>
*/
public se.lublin.humla.protobuf.Mumble.UserList.User getUsers(int index) {
return users_.get(index);
}
/**
+ * <pre>
+ * A list of registered users.
+ * </pre>
+ *
* <code>repeated .MumbleProto.UserList.User users = 1;</code>
*/
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();
@@ -24033,6 +30904,17 @@ public final class Mumble {
}
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 {
return PARSER.parseFrom(data);
@@ -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;
}
/**
+ * <pre>
+ * Lists the registered users.
+ * </pre>
+ *
* 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<se.lublin.humla.protobuf.Mumble.UserList.User> users_ =
java.util.Collections.emptyList();
private void ensureUsersIsMutable() {
- if (!((bitField0_ & 0x00000001) == 0x00000001)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
users_ = new java.util.ArrayList<se.lublin.humla.protobuf.Mumble.UserList.User>(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_;
/**
+ * <pre>
+ * A list of registered users.
+ * </pre>
+ *
* <code>repeated .MumbleProto.UserList.User users = 1;</code>
*/
public java.util.List<se.lublin.humla.protobuf.Mumble.UserList.User> getUsersList() {
@@ -24307,6 +31214,10 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * A list of registered users.
+ * </pre>
+ *
* <code>repeated .MumbleProto.UserList.User users = 1;</code>
*/
public int getUsersCount() {
@@ -24317,6 +31228,10 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * A list of registered users.
+ * </pre>
+ *
* <code>repeated .MumbleProto.UserList.User users = 1;</code>
*/
public se.lublin.humla.protobuf.Mumble.UserList.User getUsers(int index) {
@@ -24327,6 +31242,10 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * A list of registered users.
+ * </pre>
+ *
* <code>repeated .MumbleProto.UserList.User users = 1;</code>
*/
public Builder setUsers(
@@ -24344,6 +31263,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * A list of registered users.
+ * </pre>
+ *
* <code>repeated .MumbleProto.UserList.User users = 1;</code>
*/
public Builder setUsers(
@@ -24358,6 +31281,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * A list of registered users.
+ * </pre>
+ *
* <code>repeated .MumbleProto.UserList.User users = 1;</code>
*/
public Builder addUsers(se.lublin.humla.protobuf.Mumble.UserList.User value) {
@@ -24374,6 +31301,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * A list of registered users.
+ * </pre>
+ *
* <code>repeated .MumbleProto.UserList.User users = 1;</code>
*/
public Builder addUsers(
@@ -24391,6 +31322,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * A list of registered users.
+ * </pre>
+ *
* <code>repeated .MumbleProto.UserList.User users = 1;</code>
*/
public Builder addUsers(
@@ -24405,6 +31340,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * A list of registered users.
+ * </pre>
+ *
* <code>repeated .MumbleProto.UserList.User users = 1;</code>
*/
public Builder addUsers(
@@ -24419,6 +31358,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * A list of registered users.
+ * </pre>
+ *
* <code>repeated .MumbleProto.UserList.User users = 1;</code>
*/
public Builder addAllUsers(
@@ -24434,6 +31377,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * A list of registered users.
+ * </pre>
+ *
* <code>repeated .MumbleProto.UserList.User users = 1;</code>
*/
public Builder clearUsers() {
@@ -24447,6 +31394,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * A list of registered users.
+ * </pre>
+ *
* <code>repeated .MumbleProto.UserList.User users = 1;</code>
*/
public Builder removeUsers(int index) {
@@ -24460,6 +31411,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * A list of registered users.
+ * </pre>
+ *
* <code>repeated .MumbleProto.UserList.User users = 1;</code>
*/
public se.lublin.humla.protobuf.Mumble.UserList.User.Builder getUsersBuilder(
@@ -24467,6 +31422,10 @@ public final class Mumble {
return getUsersFieldBuilder().getBuilder(index);
}
/**
+ * <pre>
+ * A list of registered users.
+ * </pre>
+ *
* <code>repeated .MumbleProto.UserList.User users = 1;</code>
*/
public se.lublin.humla.protobuf.Mumble.UserList.UserOrBuilder getUsersOrBuilder(
@@ -24477,6 +31436,10 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * A list of registered users.
+ * </pre>
+ *
* <code>repeated .MumbleProto.UserList.User users = 1;</code>
*/
public java.util.List<? extends se.lublin.humla.protobuf.Mumble.UserList.UserOrBuilder>
@@ -24488,6 +31451,10 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * A list of registered users.
+ * </pre>
+ *
* <code>repeated .MumbleProto.UserList.User users = 1;</code>
*/
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());
}
/**
+ * <pre>
+ * A list of registered users.
+ * </pre>
+ *
* <code>repeated .MumbleProto.UserList.User users = 1;</code>
*/
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());
}
/**
+ * <pre>
+ * A list of registered users.
+ * </pre>
+ *
* <code>repeated .MumbleProto.UserList.User users = 1;</code>
*/
public java.util.List<se.lublin.humla.protobuf.Mumble.UserList.User.Builder>
@@ -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<UserList>
PARSER = new com.google.protobuf.AbstractParser<UserList>() {
+ @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,55 +31556,98 @@ public final class Mumble {
com.google.protobuf.MessageOrBuilder {
/**
+ * <pre>
+ * Voice target ID.
+ * </pre>
+ *
* <code>optional uint32 id = 1;</code>
+ * @return Whether the id field is set.
*/
boolean hasId();
/**
+ * <pre>
+ * Voice target ID.
+ * </pre>
+ *
* <code>optional uint32 id = 1;</code>
+ * @return The id.
*/
int getId();
/**
+ * <pre>
+ * The receivers that this voice target includes.
+ * </pre>
+ *
* <code>repeated .MumbleProto.VoiceTarget.Target targets = 2;</code>
*/
java.util.List<se.lublin.humla.protobuf.Mumble.VoiceTarget.Target>
getTargetsList();
/**
+ * <pre>
+ * The receivers that this voice target includes.
+ * </pre>
+ *
* <code>repeated .MumbleProto.VoiceTarget.Target targets = 2;</code>
*/
se.lublin.humla.protobuf.Mumble.VoiceTarget.Target getTargets(int index);
/**
+ * <pre>
+ * The receivers that this voice target includes.
+ * </pre>
+ *
* <code>repeated .MumbleProto.VoiceTarget.Target targets = 2;</code>
*/
int getTargetsCount();
/**
+ * <pre>
+ * The receivers that this voice target includes.
+ * </pre>
+ *
* <code>repeated .MumbleProto.VoiceTarget.Target targets = 2;</code>
*/
java.util.List<? extends se.lublin.humla.protobuf.Mumble.VoiceTarget.TargetOrBuilder>
getTargetsOrBuilderList();
/**
+ * <pre>
+ * The receivers that this voice target includes.
+ * </pre>
+ *
* <code>repeated .MumbleProto.VoiceTarget.Target targets = 2;</code>
*/
se.lublin.humla.protobuf.Mumble.VoiceTarget.TargetOrBuilder getTargetsOrBuilder(
int index);
}
/**
+ * <pre>
+ * 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.
+ * </pre>
+ *
* 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() {
return this.unknownFields;
@@ -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<se.lublin.humla.protobuf.Mumble.VoiceTarget.Target>();
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 {
/**
+ * <pre>
+ * Users that are included as targets.
+ * </pre>
+ *
* <code>repeated uint32 session = 1;</code>
+ * @return A list containing the session.
*/
java.util.List<java.lang.Integer> getSessionList();
/**
+ * <pre>
+ * Users that are included as targets.
+ * </pre>
+ *
* <code>repeated uint32 session = 1;</code>
+ * @return The count of session.
*/
int getSessionCount();
/**
+ * <pre>
+ * Users that are included as targets.
+ * </pre>
+ *
* <code>repeated uint32 session = 1;</code>
+ * @param index The index of the element to return.
+ * @return The session at the given index.
*/
int getSession(int index);
/**
+ * <pre>
+ * Channel that is included as a target.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 2;</code>
+ * @return Whether the channelId field is set.
*/
boolean hasChannelId();
/**
+ * <pre>
+ * Channel that is included as a target.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 2;</code>
+ * @return The channelId.
*/
int getChannelId();
/**
+ * <pre>
+ * ACL group that is included as a target.
+ * </pre>
+ *
* <code>optional string group = 3;</code>
+ * @return Whether the group field is set.
*/
boolean hasGroup();
/**
+ * <pre>
+ * ACL group that is included as a target.
+ * </pre>
+ *
* <code>optional string group = 3;</code>
+ * @return The group.
*/
java.lang.String getGroup();
/**
+ * <pre>
+ * ACL group that is included as a target.
+ * </pre>
+ *
* <code>optional string group = 3;</code>
+ * @return The bytes for group.
*/
com.google.protobuf.ByteString
getGroupBytes();
/**
+ * <pre>
+ * True if the voice should follow links from the specified channel.
+ * </pre>
+ *
* <code>optional bool links = 4 [default = false];</code>
+ * @return Whether the links field is set.
*/
boolean hasLinks();
/**
+ * <pre>
+ * True if the voice should follow links from the specified channel.
+ * </pre>
+ *
* <code>optional bool links = 4 [default = false];</code>
+ * @return The links.
*/
boolean getLinks();
/**
+ * <pre>
+ * True if the voice should also be sent to children of the specific
+ * channel.
+ * </pre>
+ *
* <code>optional bool children = 5 [default = false];</code>
+ * @return Whether the children field is set.
*/
boolean hasChildren();
/**
+ * <pre>
+ * True if the voice should also be sent to children of the specific
+ * channel.
+ * </pre>
+ *
* <code>optional bool children = 5 [default = false];</code>
+ * @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<java.lang.Integer>();
+ 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<java.lang.Integer>();
+ 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<java.lang.Integer> session_;
+ private com.google.protobuf.Internal.IntList session_;
/**
+ * <pre>
+ * Users that are included as targets.
+ * </pre>
+ *
* <code>repeated uint32 session = 1;</code>
+ * @return A list containing the session.
*/
public java.util.List<java.lang.Integer>
getSessionList() {
return session_;
}
/**
+ * <pre>
+ * Users that are included as targets.
+ * </pre>
+ *
* <code>repeated uint32 session = 1;</code>
+ * @return The count of session.
*/
public int getSessionCount() {
return session_.size();
}
/**
+ * <pre>
+ * Users that are included as targets.
+ * </pre>
+ *
* <code>repeated uint32 session = 1;</code>
+ * @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_;
/**
+ * <pre>
+ * Channel that is included as a target.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 2;</code>
+ * @return Whether the channelId field is set.
*/
public boolean hasChannelId() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * Channel that is included as a target.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 2;</code>
+ * @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_;
/**
+ * <pre>
+ * ACL group that is included as a target.
+ * </pre>
+ *
* <code>optional string group = 3;</code>
+ * @return Whether the group field is set.
*/
public boolean hasGroup() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * ACL group that is included as a target.
+ * </pre>
+ *
* <code>optional string group = 3;</code>
+ * @return The group.
*/
public java.lang.String getGroup() {
java.lang.Object ref = group_;
@@ -24932,7 +32066,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * ACL group that is included as a target.
+ * </pre>
+ *
* <code>optional string group = 3;</code>
+ * @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_;
/**
+ * <pre>
+ * True if the voice should follow links from the specified channel.
+ * </pre>
+ *
* <code>optional bool links = 4 [default = false];</code>
+ * @return Whether the links field is set.
*/
public boolean hasLinks() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
+ * <pre>
+ * True if the voice should follow links from the specified channel.
+ * </pre>
+ *
* <code>optional bool links = 4 [default = false];</code>
+ * @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_;
/**
+ * <pre>
+ * True if the voice should also be sent to children of the specific
+ * channel.
+ * </pre>
+ *
* <code>optional bool children = 5 [default = false];</code>
+ * @return Whether the children field is set.
*/
public boolean hasChildren() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
+ * <pre>
+ * True if the voice should also be sent to children of the specific
+ * channel.
+ * </pre>
+ *
* <code>optional bool children = 5 [default = false];</code>
+ * @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();
@@ -25115,6 +32277,17 @@ public final class Mumble {
}
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 {
return PARSER.parseFrom(data);
@@ -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<java.lang.Integer> 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<java.lang.Integer>(session_);
+ if (!((bitField0_ & 0x00000001) != 0)) {
+ session_ = mutableCopy(session_);
bitField0_ |= 0x00000001;
}
}
/**
+ * <pre>
+ * Users that are included as targets.
+ * </pre>
+ *
* <code>repeated uint32 session = 1;</code>
+ * @return A list containing the session.
*/
public java.util.List<java.lang.Integer>
getSessionList() {
- return java.util.Collections.unmodifiableList(session_);
+ return ((bitField0_ & 0x00000001) != 0) ?
+ java.util.Collections.unmodifiableList(session_) : session_;
}
/**
+ * <pre>
+ * Users that are included as targets.
+ * </pre>
+ *
* <code>repeated uint32 session = 1;</code>
+ * @return The count of session.
*/
public int getSessionCount() {
return session_.size();
}
/**
+ * <pre>
+ * Users that are included as targets.
+ * </pre>
+ *
* <code>repeated uint32 session = 1;</code>
+ * @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);
}
/**
+ * <pre>
+ * Users that are included as targets.
+ * </pre>
+ *
* <code>repeated uint32 session = 1;</code>
+ * @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;
}
/**
+ * <pre>
+ * Users that are included as targets.
+ * </pre>
+ *
* <code>repeated uint32 session = 1;</code>
+ * @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;
}
/**
+ * <pre>
+ * Users that are included as targets.
+ * </pre>
+ *
* <code>repeated uint32 session = 1;</code>
+ * @param values The session to add.
+ * @return This builder for chaining.
*/
public Builder addAllSession(
java.lang.Iterable<? extends java.lang.Integer> values) {
@@ -25433,10 +32659,15 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Users that are included as targets.
+ * </pre>
+ *
* <code>repeated uint32 session = 1;</code>
+ * @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_ ;
/**
+ * <pre>
+ * Channel that is included as a target.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 2;</code>
+ * @return Whether the channelId field is set.
*/
public boolean hasChannelId() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * Channel that is included as a target.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 2;</code>
+ * @return The channelId.
*/
public int getChannelId() {
return channelId_;
}
/**
+ * <pre>
+ * Channel that is included as a target.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 2;</code>
+ * @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;
}
/**
+ * <pre>
+ * Channel that is included as a target.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 2;</code>
+ * @return This builder for chaining.
*/
public Builder clearChannelId() {
bitField0_ = (bitField0_ & ~0x00000002);
@@ -25476,13 +32728,23 @@ public final class Mumble {
private java.lang.Object group_ = "";
/**
+ * <pre>
+ * ACL group that is included as a target.
+ * </pre>
+ *
* <code>optional string group = 3;</code>
+ * @return Whether the group field is set.
*/
public boolean hasGroup() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
+ * <pre>
+ * ACL group that is included as a target.
+ * </pre>
+ *
* <code>optional string group = 3;</code>
+ * @return The group.
*/
public java.lang.String getGroup() {
java.lang.Object ref = group_;
@@ -25499,7 +32761,12 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * ACL group that is included as a target.
+ * </pre>
+ *
* <code>optional string group = 3;</code>
+ * @return The bytes for group.
*/
public com.google.protobuf.ByteString
getGroupBytes() {
@@ -25515,7 +32782,13 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * ACL group that is included as a target.
+ * </pre>
+ *
* <code>optional string group = 3;</code>
+ * @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;
}
/**
+ * <pre>
+ * ACL group that is included as a target.
+ * </pre>
+ *
* <code>optional string group = 3;</code>
+ * @return This builder for chaining.
*/
public Builder clearGroup() {
bitField0_ = (bitField0_ & ~0x00000004);
@@ -25537,7 +32815,13 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * ACL group that is included as a target.
+ * </pre>
+ *
* <code>optional string group = 3;</code>
+ * @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_ ;
/**
+ * <pre>
+ * True if the voice should follow links from the specified channel.
+ * </pre>
+ *
* <code>optional bool links = 4 [default = false];</code>
+ * @return Whether the links field is set.
*/
public boolean hasLinks() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
+ * <pre>
+ * True if the voice should follow links from the specified channel.
+ * </pre>
+ *
* <code>optional bool links = 4 [default = false];</code>
+ * @return The links.
*/
public boolean getLinks() {
return links_;
}
/**
+ * <pre>
+ * True if the voice should follow links from the specified channel.
+ * </pre>
+ *
* <code>optional bool links = 4 [default = false];</code>
+ * @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;
}
/**
+ * <pre>
+ * True if the voice should follow links from the specified channel.
+ * </pre>
+ *
* <code>optional bool links = 4 [default = false];</code>
+ * @return This builder for chaining.
*/
public Builder clearLinks() {
bitField0_ = (bitField0_ & ~0x00000008);
@@ -25584,19 +32889,38 @@ public final class Mumble {
private boolean children_ ;
/**
+ * <pre>
+ * True if the voice should also be sent to children of the specific
+ * channel.
+ * </pre>
+ *
* <code>optional bool children = 5 [default = false];</code>
+ * @return Whether the children field is set.
*/
public boolean hasChildren() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
+ * <pre>
+ * True if the voice should also be sent to children of the specific
+ * channel.
+ * </pre>
+ *
* <code>optional bool children = 5 [default = false];</code>
+ * @return The children.
*/
public boolean getChildren() {
return children_;
}
/**
+ * <pre>
+ * True if the voice should also be sent to children of the specific
+ * channel.
+ * </pre>
+ *
* <code>optional bool children = 5 [default = false];</code>
+ * @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;
}
/**
+ * <pre>
+ * True if the voice should also be sent to children of the specific
+ * channel.
+ * </pre>
+ *
* <code>optional bool children = 5 [default = false];</code>
+ * @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<Target>
PARSER = new com.google.protobuf.AbstractParser<Target>() {
+ @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_;
/**
+ * <pre>
+ * Voice target ID.
+ * </pre>
+ *
* <code>optional uint32 id = 1;</code>
+ * @return Whether the id field is set.
*/
public boolean hasId() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * Voice target ID.
+ * </pre>
+ *
* <code>optional uint32 id = 1;</code>
+ * @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<se.lublin.humla.protobuf.Mumble.VoiceTarget.Target> targets_;
/**
+ * <pre>
+ * The receivers that this voice target includes.
+ * </pre>
+ *
* <code>repeated .MumbleProto.VoiceTarget.Target targets = 2;</code>
*/
public java.util.List<se.lublin.humla.protobuf.Mumble.VoiceTarget.Target> getTargetsList() {
return targets_;
}
/**
+ * <pre>
+ * The receivers that this voice target includes.
+ * </pre>
+ *
* <code>repeated .MumbleProto.VoiceTarget.Target targets = 2;</code>
*/
public java.util.List<? extends se.lublin.humla.protobuf.Mumble.VoiceTarget.TargetOrBuilder>
@@ -25694,18 +33046,30 @@ public final class Mumble {
return targets_;
}
/**
+ * <pre>
+ * The receivers that this voice target includes.
+ * </pre>
+ *
* <code>repeated .MumbleProto.VoiceTarget.Target targets = 2;</code>
*/
public int getTargetsCount() {
return targets_.size();
}
/**
+ * <pre>
+ * The receivers that this voice target includes.
+ * </pre>
+ *
* <code>repeated .MumbleProto.VoiceTarget.Target targets = 2;</code>
*/
public se.lublin.humla.protobuf.Mumble.VoiceTarget.Target getTargets(int index) {
return targets_.get(index);
}
/**
+ * <pre>
+ * The receivers that this voice target includes.
+ * </pre>
+ *
* <code>repeated .MumbleProto.VoiceTarget.Target targets = 2;</code>
*/
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();
@@ -25796,6 +33161,17 @@ public final class Mumble {
}
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 {
return PARSER.parseFrom(data);
@@ -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;
}
/**
+ * <pre>
+ * 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.
+ * </pre>
+ *
* 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_ ;
/**
+ * <pre>
+ * Voice target ID.
+ * </pre>
+ *
* <code>optional uint32 id = 1;</code>
+ * @return Whether the id field is set.
*/
public boolean hasId() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * Voice target ID.
+ * </pre>
+ *
* <code>optional uint32 id = 1;</code>
+ * @return The id.
*/
public int getId() {
return id_;
}
/**
+ * <pre>
+ * Voice target ID.
+ * </pre>
+ *
* <code>optional uint32 id = 1;</code>
+ * @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;
}
/**
+ * <pre>
+ * Voice target ID.
+ * </pre>
+ *
* <code>optional uint32 id = 1;</code>
+ * @return This builder for chaining.
*/
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -26088,7 +33508,7 @@ public final class Mumble {
private java.util.List<se.lublin.humla.protobuf.Mumble.VoiceTarget.Target> targets_ =
java.util.Collections.emptyList();
private void ensureTargetsIsMutable() {
- if (!((bitField0_ & 0x00000002) == 0x00000002)) {
+ if (!((bitField0_ & 0x00000002) != 0)) {
targets_ = new java.util.ArrayList<se.lublin.humla.protobuf.Mumble.VoiceTarget.Target>(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_;
/**
+ * <pre>
+ * The receivers that this voice target includes.
+ * </pre>
+ *
* <code>repeated .MumbleProto.VoiceTarget.Target targets = 2;</code>
*/
public java.util.List<se.lublin.humla.protobuf.Mumble.VoiceTarget.Target> getTargetsList() {
@@ -26108,6 +33532,10 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * The receivers that this voice target includes.
+ * </pre>
+ *
* <code>repeated .MumbleProto.VoiceTarget.Target targets = 2;</code>
*/
public int getTargetsCount() {
@@ -26118,6 +33546,10 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * The receivers that this voice target includes.
+ * </pre>
+ *
* <code>repeated .MumbleProto.VoiceTarget.Target targets = 2;</code>
*/
public se.lublin.humla.protobuf.Mumble.VoiceTarget.Target getTargets(int index) {
@@ -26128,6 +33560,10 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * The receivers that this voice target includes.
+ * </pre>
+ *
* <code>repeated .MumbleProto.VoiceTarget.Target targets = 2;</code>
*/
public Builder setTargets(
@@ -26145,6 +33581,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * The receivers that this voice target includes.
+ * </pre>
+ *
* <code>repeated .MumbleProto.VoiceTarget.Target targets = 2;</code>
*/
public Builder setTargets(
@@ -26159,6 +33599,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * The receivers that this voice target includes.
+ * </pre>
+ *
* <code>repeated .MumbleProto.VoiceTarget.Target targets = 2;</code>
*/
public Builder addTargets(se.lublin.humla.protobuf.Mumble.VoiceTarget.Target value) {
@@ -26175,6 +33619,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * The receivers that this voice target includes.
+ * </pre>
+ *
* <code>repeated .MumbleProto.VoiceTarget.Target targets = 2;</code>
*/
public Builder addTargets(
@@ -26192,6 +33640,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * The receivers that this voice target includes.
+ * </pre>
+ *
* <code>repeated .MumbleProto.VoiceTarget.Target targets = 2;</code>
*/
public Builder addTargets(
@@ -26206,6 +33658,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * The receivers that this voice target includes.
+ * </pre>
+ *
* <code>repeated .MumbleProto.VoiceTarget.Target targets = 2;</code>
*/
public Builder addTargets(
@@ -26220,6 +33676,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * The receivers that this voice target includes.
+ * </pre>
+ *
* <code>repeated .MumbleProto.VoiceTarget.Target targets = 2;</code>
*/
public Builder addAllTargets(
@@ -26235,6 +33695,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * The receivers that this voice target includes.
+ * </pre>
+ *
* <code>repeated .MumbleProto.VoiceTarget.Target targets = 2;</code>
*/
public Builder clearTargets() {
@@ -26248,6 +33712,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * The receivers that this voice target includes.
+ * </pre>
+ *
* <code>repeated .MumbleProto.VoiceTarget.Target targets = 2;</code>
*/
public Builder removeTargets(int index) {
@@ -26261,6 +33729,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * The receivers that this voice target includes.
+ * </pre>
+ *
* <code>repeated .MumbleProto.VoiceTarget.Target targets = 2;</code>
*/
public se.lublin.humla.protobuf.Mumble.VoiceTarget.Target.Builder getTargetsBuilder(
@@ -26268,6 +33740,10 @@ public final class Mumble {
return getTargetsFieldBuilder().getBuilder(index);
}
/**
+ * <pre>
+ * The receivers that this voice target includes.
+ * </pre>
+ *
* <code>repeated .MumbleProto.VoiceTarget.Target targets = 2;</code>
*/
public se.lublin.humla.protobuf.Mumble.VoiceTarget.TargetOrBuilder getTargetsOrBuilder(
@@ -26278,6 +33754,10 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * The receivers that this voice target includes.
+ * </pre>
+ *
* <code>repeated .MumbleProto.VoiceTarget.Target targets = 2;</code>
*/
public java.util.List<? extends se.lublin.humla.protobuf.Mumble.VoiceTarget.TargetOrBuilder>
@@ -26289,6 +33769,10 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * The receivers that this voice target includes.
+ * </pre>
+ *
* <code>repeated .MumbleProto.VoiceTarget.Target targets = 2;</code>
*/
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());
}
/**
+ * <pre>
+ * The receivers that this voice target includes.
+ * </pre>
+ *
* <code>repeated .MumbleProto.VoiceTarget.Target targets = 2;</code>
*/
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());
}
/**
+ * <pre>
+ * The receivers that this voice target includes.
+ * </pre>
+ *
* <code>repeated .MumbleProto.VoiceTarget.Target targets = 2;</code>
*/
public java.util.List<se.lublin.humla.protobuf.Mumble.VoiceTarget.Target.Builder>
@@ -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<VoiceTarget>
PARSER = new com.google.protobuf.AbstractParser<VoiceTarget>() {
+ @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 {
/**
+ * <pre>
+ * channel_id of the channel for which the permissions are queried.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 1;</code>
+ * @return Whether the channelId field is set.
*/
boolean hasChannelId();
/**
+ * <pre>
+ * channel_id of the channel for which the permissions are queried.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 1;</code>
+ * @return The channelId.
*/
int getChannelId();
/**
+ * <pre>
+ * Channel permissions.
+ * </pre>
+ *
* <code>optional uint32 permissions = 2;</code>
+ * @return Whether the permissions field is set.
*/
boolean hasPermissions();
/**
+ * <pre>
+ * Channel permissions.
+ * </pre>
+ *
* <code>optional uint32 permissions = 2;</code>
+ * @return The permissions.
*/
int getPermissions();
/**
+ * <pre>
+ * True if the client should drop its current permission information for all
+ * channels.
+ * </pre>
+ *
* <code>optional bool flush = 3 [default = false];</code>
+ * @return Whether the flush field is set.
*/
boolean hasFlush();
/**
+ * <pre>
+ * True if the client should drop its current permission information for all
+ * channels.
+ * </pre>
+ *
* <code>optional bool flush = 3 [default = false];</code>
+ * @return The flush.
*/
boolean getFlush();
}
/**
+ * <pre>
+ * 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.
+ * </pre>
+ *
* 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_;
/**
+ * <pre>
+ * channel_id of the channel for which the permissions are queried.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 1;</code>
+ * @return Whether the channelId field is set.
*/
public boolean hasChannelId() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * channel_id of the channel for which the permissions are queried.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 1;</code>
+ * @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_;
/**
+ * <pre>
+ * Channel permissions.
+ * </pre>
+ *
* <code>optional uint32 permissions = 2;</code>
+ * @return Whether the permissions field is set.
*/
public boolean hasPermissions() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * Channel permissions.
+ * </pre>
+ *
* <code>optional uint32 permissions = 2;</code>
+ * @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_;
/**
+ * <pre>
+ * True if the client should drop its current permission information for all
+ * channels.
+ * </pre>
+ *
* <code>optional bool flush = 3 [default = false];</code>
+ * @return Whether the flush field is set.
*/
public boolean hasFlush() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
+ * <pre>
+ * True if the client should drop its current permission information for all
+ * channels.
+ * </pre>
+ *
* <code>optional bool flush = 3 [default = false];</code>
+ * @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();
@@ -26637,6 +34213,17 @@ public final class Mumble {
}
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 {
return PARSER.parseFrom(data);
@@ -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;
}
/**
+ * <pre>
+ * 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.
+ * </pre>
+ *
* 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_ ;
/**
+ * <pre>
+ * channel_id of the channel for which the permissions are queried.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 1;</code>
+ * @return Whether the channelId field is set.
*/
public boolean hasChannelId() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * channel_id of the channel for which the permissions are queried.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 1;</code>
+ * @return The channelId.
*/
public int getChannelId() {
return channelId_;
}
/**
+ * <pre>
+ * channel_id of the channel for which the permissions are queried.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 1;</code>
+ * @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;
}
/**
+ * <pre>
+ * channel_id of the channel for which the permissions are queried.
+ * </pre>
+ *
* <code>optional uint32 channel_id = 1;</code>
+ * @return This builder for chaining.
*/
public Builder clearChannelId() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -26904,19 +34535,35 @@ public final class Mumble {
private int permissions_ ;
/**
+ * <pre>
+ * Channel permissions.
+ * </pre>
+ *
* <code>optional uint32 permissions = 2;</code>
+ * @return Whether the permissions field is set.
*/
public boolean hasPermissions() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * Channel permissions.
+ * </pre>
+ *
* <code>optional uint32 permissions = 2;</code>
+ * @return The permissions.
*/
public int getPermissions() {
return permissions_;
}
/**
+ * <pre>
+ * Channel permissions.
+ * </pre>
+ *
* <code>optional uint32 permissions = 2;</code>
+ * @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;
}
/**
+ * <pre>
+ * Channel permissions.
+ * </pre>
+ *
* <code>optional uint32 permissions = 2;</code>
+ * @return This builder for chaining.
*/
public Builder clearPermissions() {
bitField0_ = (bitField0_ & ~0x00000002);
@@ -26936,19 +34588,38 @@ public final class Mumble {
private boolean flush_ ;
/**
+ * <pre>
+ * True if the client should drop its current permission information for all
+ * channels.
+ * </pre>
+ *
* <code>optional bool flush = 3 [default = false];</code>
+ * @return Whether the flush field is set.
*/
public boolean hasFlush() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
+ * <pre>
+ * True if the client should drop its current permission information for all
+ * channels.
+ * </pre>
+ *
* <code>optional bool flush = 3 [default = false];</code>
+ * @return The flush.
*/
public boolean getFlush() {
return flush_;
}
/**
+ * <pre>
+ * True if the client should drop its current permission information for all
+ * channels.
+ * </pre>
+ *
* <code>optional bool flush = 3 [default = false];</code>
+ * @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;
}
/**
+ * <pre>
+ * True if the client should drop its current permission information for all
+ * channels.
+ * </pre>
+ *
* <code>optional bool flush = 3 [default = false];</code>
+ * @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<PermissionQuery>
PARSER = new com.google.protobuf.AbstractParser<PermissionQuery>() {
+ @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 {
/**
+ * <pre>
+ * The version of the CELT Alpha codec.
+ * </pre>
+ *
* <code>required int32 alpha = 1;</code>
+ * @return Whether the alpha field is set.
*/
boolean hasAlpha();
/**
+ * <pre>
+ * The version of the CELT Alpha codec.
+ * </pre>
+ *
* <code>required int32 alpha = 1;</code>
+ * @return The alpha.
*/
int getAlpha();
/**
+ * <pre>
+ * The version of the CELT Beta codec.
+ * </pre>
+ *
* <code>required int32 beta = 2;</code>
+ * @return Whether the beta field is set.
*/
boolean hasBeta();
/**
+ * <pre>
+ * The version of the CELT Beta codec.
+ * </pre>
+ *
* <code>required int32 beta = 2;</code>
+ * @return The beta.
*/
int getBeta();
/**
+ * <pre>
+ * True if the user should prefer Alpha over Beta.
+ * </pre>
+ *
* <code>required bool prefer_alpha = 3 [default = true];</code>
+ * @return Whether the preferAlpha field is set.
*/
boolean hasPreferAlpha();
/**
+ * <pre>
+ * True if the user should prefer Alpha over Beta.
+ * </pre>
+ *
* <code>required bool prefer_alpha = 3 [default = true];</code>
+ * @return The preferAlpha.
*/
boolean getPreferAlpha();
/**
* <code>optional bool opus = 4 [default = false];</code>
+ * @return Whether the opus field is set.
*/
boolean hasOpus();
/**
* <code>optional bool opus = 4 [default = false];</code>
+ * @return The opus.
*/
boolean getOpus();
}
/**
+ * <pre>
+ * 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.
+ * </pre>
+ *
* 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_;
/**
+ * <pre>
+ * The version of the CELT Alpha codec.
+ * </pre>
+ *
* <code>required int32 alpha = 1;</code>
+ * @return Whether the alpha field is set.
*/
public boolean hasAlpha() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * The version of the CELT Alpha codec.
+ * </pre>
+ *
* <code>required int32 alpha = 1;</code>
+ * @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_;
/**
+ * <pre>
+ * The version of the CELT Beta codec.
+ * </pre>
+ *
* <code>required int32 beta = 2;</code>
+ * @return Whether the beta field is set.
*/
public boolean hasBeta() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * The version of the CELT Beta codec.
+ * </pre>
+ *
* <code>required int32 beta = 2;</code>
+ * @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_;
/**
+ * <pre>
+ * True if the user should prefer Alpha over Beta.
+ * </pre>
+ *
* <code>required bool prefer_alpha = 3 [default = true];</code>
+ * @return Whether the preferAlpha field is set.
*/
public boolean hasPreferAlpha() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
+ * <pre>
+ * True if the user should prefer Alpha over Beta.
+ * </pre>
+ *
* <code>required bool prefer_alpha = 3 [default = true];</code>
+ * @return The preferAlpha.
*/
public boolean getPreferAlpha() {
return preferAlpha_;
@@ -27194,18 +34951,21 @@ public final class Mumble {
private boolean opus_;
/**
* <code>optional bool opus = 4 [default = false];</code>
+ * @return Whether the opus field is set.
*/
public boolean hasOpus() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional bool opus = 4 [default = false];</code>
+ * @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();
@@ -27337,6 +35097,17 @@ public final class Mumble {
}
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 {
return PARSER.parseFrom(data);
@@ -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;
}
/**
+ * <pre>
+ * 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.
+ * </pre>
+ *
* 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_ ;
/**
+ * <pre>
+ * The version of the CELT Alpha codec.
+ * </pre>
+ *
* <code>required int32 alpha = 1;</code>
+ * @return Whether the alpha field is set.
*/
public boolean hasAlpha() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * The version of the CELT Alpha codec.
+ * </pre>
+ *
* <code>required int32 alpha = 1;</code>
+ * @return The alpha.
*/
public int getAlpha() {
return alpha_;
}
/**
+ * <pre>
+ * The version of the CELT Alpha codec.
+ * </pre>
+ *
* <code>required int32 alpha = 1;</code>
+ * @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;
}
/**
+ * <pre>
+ * The version of the CELT Alpha codec.
+ * </pre>
+ *
* <code>required int32 alpha = 1;</code>
+ * @return This builder for chaining.
*/
public Builder clearAlpha() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -27622,19 +35436,35 @@ public final class Mumble {
private int beta_ ;
/**
+ * <pre>
+ * The version of the CELT Beta codec.
+ * </pre>
+ *
* <code>required int32 beta = 2;</code>
+ * @return Whether the beta field is set.
*/
public boolean hasBeta() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * The version of the CELT Beta codec.
+ * </pre>
+ *
* <code>required int32 beta = 2;</code>
+ * @return The beta.
*/
public int getBeta() {
return beta_;
}
/**
+ * <pre>
+ * The version of the CELT Beta codec.
+ * </pre>
+ *
* <code>required int32 beta = 2;</code>
+ * @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;
}
/**
+ * <pre>
+ * The version of the CELT Beta codec.
+ * </pre>
+ *
* <code>required int32 beta = 2;</code>
+ * @return This builder for chaining.
*/
public Builder clearBeta() {
bitField0_ = (bitField0_ & ~0x00000002);
@@ -27654,19 +35489,35 @@ public final class Mumble {
private boolean preferAlpha_ = true;
/**
+ * <pre>
+ * True if the user should prefer Alpha over Beta.
+ * </pre>
+ *
* <code>required bool prefer_alpha = 3 [default = true];</code>
+ * @return Whether the preferAlpha field is set.
*/
public boolean hasPreferAlpha() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
+ * <pre>
+ * True if the user should prefer Alpha over Beta.
+ * </pre>
+ *
* <code>required bool prefer_alpha = 3 [default = true];</code>
+ * @return The preferAlpha.
*/
public boolean getPreferAlpha() {
return preferAlpha_;
}
/**
+ * <pre>
+ * True if the user should prefer Alpha over Beta.
+ * </pre>
+ *
* <code>required bool prefer_alpha = 3 [default = true];</code>
+ * @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;
}
/**
+ * <pre>
+ * True if the user should prefer Alpha over Beta.
+ * </pre>
+ *
* <code>required bool prefer_alpha = 3 [default = true];</code>
+ * @return This builder for chaining.
*/
public Builder clearPreferAlpha() {
bitField0_ = (bitField0_ & ~0x00000004);
@@ -27687,18 +35543,22 @@ public final class Mumble {
private boolean opus_ ;
/**
* <code>optional bool opus = 4 [default = false];</code>
+ * @return Whether the opus field is set.
*/
public boolean hasOpus() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional bool opus = 4 [default = false];</code>
+ * @return The opus.
*/
public boolean getOpus() {
return opus_;
}
/**
* <code>optional bool opus = 4 [default = false];</code>
+ * @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 {
}
/**
* <code>optional bool opus = 4 [default = false];</code>
+ * @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<CodecVersion>
PARSER = new com.google.protobuf.AbstractParser<CodecVersion>() {
+ @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 {
/**
+ * <pre>
+ * User whose stats these are.
+ * </pre>
+ *
* <code>optional uint32 session = 1;</code>
+ * @return Whether the session field is set.
*/
boolean hasSession();
/**
+ * <pre>
+ * User whose stats these are.
+ * </pre>
+ *
* <code>optional uint32 session = 1;</code>
+ * @return The session.
*/
int getSession();
/**
+ * <pre>
+ * True if the message contains only mutable stats (packets, ping).
+ * </pre>
+ *
* <code>optional bool stats_only = 2 [default = false];</code>
+ * @return Whether the statsOnly field is set.
*/
boolean hasStatsOnly();
/**
+ * <pre>
+ * True if the message contains only mutable stats (packets, ping).
+ * </pre>
+ *
* <code>optional bool stats_only = 2 [default = false];</code>
+ * @return The statsOnly.
*/
boolean getStatsOnly();
/**
+ * <pre>
+ * Full user certificate chain of the user certificate in DER format.
+ * </pre>
+ *
* <code>repeated bytes certificates = 3;</code>
+ * @return A list containing the certificates.
*/
java.util.List<com.google.protobuf.ByteString> getCertificatesList();
/**
+ * <pre>
+ * Full user certificate chain of the user certificate in DER format.
+ * </pre>
+ *
* <code>repeated bytes certificates = 3;</code>
+ * @return The count of certificates.
*/
int getCertificatesCount();
/**
+ * <pre>
+ * Full user certificate chain of the user certificate in DER format.
+ * </pre>
+ *
* <code>repeated bytes certificates = 3;</code>
+ * @param index The index of the element to return.
+ * @return The certificates at the given index.
*/
com.google.protobuf.ByteString getCertificates(int index);
/**
+ * <pre>
+ * Packet statistics for packets received from the client.
+ * </pre>
+ *
* <code>optional .MumbleProto.UserStats.Stats from_client = 4;</code>
+ * @return Whether the fromClient field is set.
*/
boolean hasFromClient();
/**
+ * <pre>
+ * Packet statistics for packets received from the client.
+ * </pre>
+ *
* <code>optional .MumbleProto.UserStats.Stats from_client = 4;</code>
+ * @return The fromClient.
*/
se.lublin.humla.protobuf.Mumble.UserStats.Stats getFromClient();
/**
+ * <pre>
+ * Packet statistics for packets received from the client.
+ * </pre>
+ *
* <code>optional .MumbleProto.UserStats.Stats from_client = 4;</code>
*/
se.lublin.humla.protobuf.Mumble.UserStats.StatsOrBuilder getFromClientOrBuilder();
/**
+ * <pre>
+ * Packet statistics for packets sent by the server.
+ * </pre>
+ *
* <code>optional .MumbleProto.UserStats.Stats from_server = 5;</code>
+ * @return Whether the fromServer field is set.
*/
boolean hasFromServer();
/**
+ * <pre>
+ * Packet statistics for packets sent by the server.
+ * </pre>
+ *
* <code>optional .MumbleProto.UserStats.Stats from_server = 5;</code>
+ * @return The fromServer.
*/
se.lublin.humla.protobuf.Mumble.UserStats.Stats getFromServer();
/**
+ * <pre>
+ * Packet statistics for packets sent by the server.
+ * </pre>
+ *
* <code>optional .MumbleProto.UserStats.Stats from_server = 5;</code>
*/
se.lublin.humla.protobuf.Mumble.UserStats.StatsOrBuilder getFromServerOrBuilder();
/**
+ * <pre>
+ * Amount of UDP packets sent.
+ * </pre>
+ *
* <code>optional uint32 udp_packets = 6;</code>
+ * @return Whether the udpPackets field is set.
*/
boolean hasUdpPackets();
/**
+ * <pre>
+ * Amount of UDP packets sent.
+ * </pre>
+ *
* <code>optional uint32 udp_packets = 6;</code>
+ * @return The udpPackets.
*/
int getUdpPackets();
/**
+ * <pre>
+ * Amount of TCP packets sent.
+ * </pre>
+ *
* <code>optional uint32 tcp_packets = 7;</code>
+ * @return Whether the tcpPackets field is set.
*/
boolean hasTcpPackets();
/**
+ * <pre>
+ * Amount of TCP packets sent.
+ * </pre>
+ *
* <code>optional uint32 tcp_packets = 7;</code>
+ * @return The tcpPackets.
*/
int getTcpPackets();
/**
+ * <pre>
+ * UDP ping average.
+ * </pre>
+ *
* <code>optional float udp_ping_avg = 8;</code>
+ * @return Whether the udpPingAvg field is set.
*/
boolean hasUdpPingAvg();
/**
+ * <pre>
+ * UDP ping average.
+ * </pre>
+ *
* <code>optional float udp_ping_avg = 8;</code>
+ * @return The udpPingAvg.
*/
float getUdpPingAvg();
/**
+ * <pre>
+ * UDP ping variance.
+ * </pre>
+ *
* <code>optional float udp_ping_var = 9;</code>
+ * @return Whether the udpPingVar field is set.
*/
boolean hasUdpPingVar();
/**
+ * <pre>
+ * UDP ping variance.
+ * </pre>
+ *
* <code>optional float udp_ping_var = 9;</code>
+ * @return The udpPingVar.
*/
float getUdpPingVar();
/**
+ * <pre>
+ * TCP ping average.
+ * </pre>
+ *
* <code>optional float tcp_ping_avg = 10;</code>
+ * @return Whether the tcpPingAvg field is set.
*/
boolean hasTcpPingAvg();
/**
+ * <pre>
+ * TCP ping average.
+ * </pre>
+ *
* <code>optional float tcp_ping_avg = 10;</code>
+ * @return The tcpPingAvg.
*/
float getTcpPingAvg();
/**
+ * <pre>
+ * TCP ping variance.
+ * </pre>
+ *
* <code>optional float tcp_ping_var = 11;</code>
+ * @return Whether the tcpPingVar field is set.
*/
boolean hasTcpPingVar();
/**
+ * <pre>
+ * TCP ping variance.
+ * </pre>
+ *
* <code>optional float tcp_ping_var = 11;</code>
+ * @return The tcpPingVar.
*/
float getTcpPingVar();
/**
+ * <pre>
+ * Client version.
+ * </pre>
+ *
* <code>optional .MumbleProto.Version version = 12;</code>
+ * @return Whether the version field is set.
*/
boolean hasVersion();
/**
+ * <pre>
+ * Client version.
+ * </pre>
+ *
* <code>optional .MumbleProto.Version version = 12;</code>
+ * @return The version.
*/
se.lublin.humla.protobuf.Mumble.Version getVersion();
/**
+ * <pre>
+ * Client version.
+ * </pre>
+ *
* <code>optional .MumbleProto.Version version = 12;</code>
*/
se.lublin.humla.protobuf.Mumble.VersionOrBuilder getVersionOrBuilder();
/**
+ * <pre>
+ * A list of CELT bitstream version constants supported by the client of this
+ * user.
+ * </pre>
+ *
* <code>repeated int32 celt_versions = 13;</code>
+ * @return A list containing the celtVersions.
*/
java.util.List<java.lang.Integer> getCeltVersionsList();
/**
+ * <pre>
+ * A list of CELT bitstream version constants supported by the client of this
+ * user.
+ * </pre>
+ *
* <code>repeated int32 celt_versions = 13;</code>
+ * @return The count of celtVersions.
*/
int getCeltVersionsCount();
/**
+ * <pre>
+ * A list of CELT bitstream version constants supported by the client of this
+ * user.
+ * </pre>
+ *
* <code>repeated int32 celt_versions = 13;</code>
+ * @param index The index of the element to return.
+ * @return The celtVersions at the given index.
*/
int getCeltVersions(int index);
/**
+ * <pre>
+ * Client IP address.
+ * </pre>
+ *
* <code>optional bytes address = 14;</code>
+ * @return Whether the address field is set.
*/
boolean hasAddress();
/**
+ * <pre>
+ * Client IP address.
+ * </pre>
+ *
* <code>optional bytes address = 14;</code>
+ * @return The address.
*/
com.google.protobuf.ByteString getAddress();
/**
+ * <pre>
+ * Bandwith used by this client.
+ * </pre>
+ *
* <code>optional uint32 bandwidth = 15;</code>
+ * @return Whether the bandwidth field is set.
*/
boolean hasBandwidth();
/**
+ * <pre>
+ * Bandwith used by this client.
+ * </pre>
+ *
* <code>optional uint32 bandwidth = 15;</code>
+ * @return The bandwidth.
*/
int getBandwidth();
/**
+ * <pre>
+ * Connection duration.
+ * </pre>
+ *
* <code>optional uint32 onlinesecs = 16;</code>
+ * @return Whether the onlinesecs field is set.
*/
boolean hasOnlinesecs();
/**
+ * <pre>
+ * Connection duration.
+ * </pre>
+ *
* <code>optional uint32 onlinesecs = 16;</code>
+ * @return The onlinesecs.
*/
int getOnlinesecs();
/**
+ * <pre>
+ * Duration since last activity.
+ * </pre>
+ *
* <code>optional uint32 idlesecs = 17;</code>
+ * @return Whether the idlesecs field is set.
*/
boolean hasIdlesecs();
/**
+ * <pre>
+ * Duration since last activity.
+ * </pre>
+ *
* <code>optional uint32 idlesecs = 17;</code>
+ * @return The idlesecs.
*/
int getIdlesecs();
/**
+ * <pre>
+ * True if the user has a strong certificate.
+ * </pre>
+ *
* <code>optional bool strong_certificate = 18 [default = false];</code>
+ * @return Whether the strongCertificate field is set.
*/
boolean hasStrongCertificate();
/**
+ * <pre>
+ * True if the user has a strong certificate.
+ * </pre>
+ *
* <code>optional bool strong_certificate = 18 [default = false];</code>
+ * @return The strongCertificate.
*/
boolean getStrongCertificate();
/**
* <code>optional bool opus = 19 [default = false];</code>
+ * @return Whether the opus field is set.
*/
boolean hasOpus();
/**
* <code>optional bool opus = 19 [default = false];</code>
+ * @return The opus.
*/
boolean getOpus();
}
/**
+ * <pre>
+ * Used to communicate user stats between the server and clients.
+ * </pre>
+ *
* 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<com.google.protobuf.ByteString>();
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<java.lang.Integer>();
+ 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<java.lang.Integer>();
+ 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 {
/**
+ * <pre>
+ * The amount of good packets received.
+ * </pre>
+ *
* <code>optional uint32 good = 1;</code>
+ * @return Whether the good field is set.
*/
boolean hasGood();
/**
+ * <pre>
+ * The amount of good packets received.
+ * </pre>
+ *
* <code>optional uint32 good = 1;</code>
+ * @return The good.
*/
int getGood();
/**
+ * <pre>
+ * The amount of late packets received.
+ * </pre>
+ *
* <code>optional uint32 late = 2;</code>
+ * @return Whether the late field is set.
*/
boolean hasLate();
/**
+ * <pre>
+ * The amount of late packets received.
+ * </pre>
+ *
* <code>optional uint32 late = 2;</code>
+ * @return The late.
*/
int getLate();
/**
+ * <pre>
+ * The amount of packets never received.
+ * </pre>
+ *
* <code>optional uint32 lost = 3;</code>
+ * @return Whether the lost field is set.
*/
boolean hasLost();
/**
+ * <pre>
+ * The amount of packets never received.
+ * </pre>
+ *
* <code>optional uint32 lost = 3;</code>
+ * @return The lost.
*/
int getLost();
/**
+ * <pre>
+ * The amount of nonce resyncs.
+ * </pre>
+ *
* <code>optional uint32 resync = 4;</code>
+ * @return Whether the resync field is set.
*/
boolean hasResync();
/**
+ * <pre>
+ * The amount of nonce resyncs.
+ * </pre>
+ *
* <code>optional uint32 resync = 4;</code>
+ * @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;
+ }
+
+ @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_;
/**
+ * <pre>
+ * The amount of good packets received.
+ * </pre>
+ *
* <code>optional uint32 good = 1;</code>
+ * @return Whether the good field is set.
*/
public boolean hasGood() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * The amount of good packets received.
+ * </pre>
+ *
* <code>optional uint32 good = 1;</code>
+ * @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_;
/**
+ * <pre>
+ * The amount of late packets received.
+ * </pre>
+ *
* <code>optional uint32 late = 2;</code>
+ * @return Whether the late field is set.
*/
public boolean hasLate() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * The amount of late packets received.
+ * </pre>
+ *
* <code>optional uint32 late = 2;</code>
+ * @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_;
/**
+ * <pre>
+ * The amount of packets never received.
+ * </pre>
+ *
* <code>optional uint32 lost = 3;</code>
+ * @return Whether the lost field is set.
*/
public boolean hasLost() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
+ * <pre>
+ * The amount of packets never received.
+ * </pre>
+ *
* <code>optional uint32 lost = 3;</code>
+ * @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_;
/**
+ * <pre>
+ * The amount of nonce resyncs.
+ * </pre>
+ *
* <code>optional uint32 resync = 4;</code>
+ * @return Whether the resync field is set.
*/
public boolean hasResync() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
+ * <pre>
+ * The amount of nonce resyncs.
+ * </pre>
+ *
* <code>optional uint32 resync = 4;</code>
+ * @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();
@@ -28494,6 +36660,17 @@ public final class Mumble {
}
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 {
return PARSER.parseFrom(data);
@@ -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_ ;
/**
+ * <pre>
+ * The amount of good packets received.
+ * </pre>
+ *
* <code>optional uint32 good = 1;</code>
+ * @return Whether the good field is set.
*/
public boolean hasGood() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * The amount of good packets received.
+ * </pre>
+ *
* <code>optional uint32 good = 1;</code>
+ * @return The good.
*/
public int getGood() {
return good_;
}
/**
+ * <pre>
+ * The amount of good packets received.
+ * </pre>
+ *
* <code>optional uint32 good = 1;</code>
+ * @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;
}
/**
+ * <pre>
+ * The amount of good packets received.
+ * </pre>
+ *
* <code>optional uint32 good = 1;</code>
+ * @return This builder for chaining.
*/
public Builder clearGood() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -28770,19 +36985,35 @@ public final class Mumble {
private int late_ ;
/**
+ * <pre>
+ * The amount of late packets received.
+ * </pre>
+ *
* <code>optional uint32 late = 2;</code>
+ * @return Whether the late field is set.
*/
public boolean hasLate() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * The amount of late packets received.
+ * </pre>
+ *
* <code>optional uint32 late = 2;</code>
+ * @return The late.
*/
public int getLate() {
return late_;
}
/**
+ * <pre>
+ * The amount of late packets received.
+ * </pre>
+ *
* <code>optional uint32 late = 2;</code>
+ * @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;
}
/**
+ * <pre>
+ * The amount of late packets received.
+ * </pre>
+ *
* <code>optional uint32 late = 2;</code>
+ * @return This builder for chaining.
*/
public Builder clearLate() {
bitField0_ = (bitField0_ & ~0x00000002);
@@ -28802,19 +37038,35 @@ public final class Mumble {
private int lost_ ;
/**
+ * <pre>
+ * The amount of packets never received.
+ * </pre>
+ *
* <code>optional uint32 lost = 3;</code>
+ * @return Whether the lost field is set.
*/
public boolean hasLost() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
+ * <pre>
+ * The amount of packets never received.
+ * </pre>
+ *
* <code>optional uint32 lost = 3;</code>
+ * @return The lost.
*/
public int getLost() {
return lost_;
}
/**
+ * <pre>
+ * The amount of packets never received.
+ * </pre>
+ *
* <code>optional uint32 lost = 3;</code>
+ * @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;
}
/**
+ * <pre>
+ * The amount of packets never received.
+ * </pre>
+ *
* <code>optional uint32 lost = 3;</code>
+ * @return This builder for chaining.
*/
public Builder clearLost() {
bitField0_ = (bitField0_ & ~0x00000004);
@@ -28834,19 +37091,35 @@ public final class Mumble {
private int resync_ ;
/**
+ * <pre>
+ * The amount of nonce resyncs.
+ * </pre>
+ *
* <code>optional uint32 resync = 4;</code>
+ * @return Whether the resync field is set.
*/
public boolean hasResync() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
+ * <pre>
+ * The amount of nonce resyncs.
+ * </pre>
+ *
* <code>optional uint32 resync = 4;</code>
+ * @return The resync.
*/
public int getResync() {
return resync_;
}
/**
+ * <pre>
+ * The amount of nonce resyncs.
+ * </pre>
+ *
* <code>optional uint32 resync = 4;</code>
+ * @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;
}
/**
+ * <pre>
+ * The amount of nonce resyncs.
+ * </pre>
+ *
* <code>optional uint32 resync = 4;</code>
+ * @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<Stats>
PARSER = new com.google.protobuf.AbstractParser<Stats>() {
+ @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_;
/**
+ * <pre>
+ * User whose stats these are.
+ * </pre>
+ *
* <code>optional uint32 session = 1;</code>
+ * @return Whether the session field is set.
*/
public boolean hasSession() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * User whose stats these are.
+ * </pre>
+ *
* <code>optional uint32 session = 1;</code>
+ * @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_;
/**
+ * <pre>
+ * True if the message contains only mutable stats (packets, ping).
+ * </pre>
+ *
* <code>optional bool stats_only = 2 [default = false];</code>
+ * @return Whether the statsOnly field is set.
*/
public boolean hasStatsOnly() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * True if the message contains only mutable stats (packets, ping).
+ * </pre>
+ *
* <code>optional bool stats_only = 2 [default = false];</code>
+ * @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<com.google.protobuf.ByteString> certificates_;
/**
+ * <pre>
+ * Full user certificate chain of the user certificate in DER format.
+ * </pre>
+ *
* <code>repeated bytes certificates = 3;</code>
+ * @return A list containing the certificates.
*/
public java.util.List<com.google.protobuf.ByteString>
getCertificatesList() {
return certificates_;
}
/**
+ * <pre>
+ * Full user certificate chain of the user certificate in DER format.
+ * </pre>
+ *
* <code>repeated bytes certificates = 3;</code>
+ * @return The count of certificates.
*/
public int getCertificatesCount() {
return certificates_.size();
}
/**
+ * <pre>
+ * Full user certificate chain of the user certificate in DER format.
+ * </pre>
+ *
* <code>repeated bytes certificates = 3;</code>
+ * @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_;
/**
+ * <pre>
+ * Packet statistics for packets received from the client.
+ * </pre>
+ *
* <code>optional .MumbleProto.UserStats.Stats from_client = 4;</code>
+ * @return Whether the fromClient field is set.
*/
public boolean hasFromClient() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
+ * <pre>
+ * Packet statistics for packets received from the client.
+ * </pre>
+ *
* <code>optional .MumbleProto.UserStats.Stats from_client = 4;</code>
+ * @return The fromClient.
*/
public se.lublin.humla.protobuf.Mumble.UserStats.Stats getFromClient() {
return fromClient_ == null ? se.lublin.humla.protobuf.Mumble.UserStats.Stats.getDefaultInstance() : fromClient_;
}
/**
+ * <pre>
+ * Packet statistics for packets received from the client.
+ * </pre>
+ *
* <code>optional .MumbleProto.UserStats.Stats from_client = 4;</code>
*/
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_;
/**
+ * <pre>
+ * Packet statistics for packets sent by the server.
+ * </pre>
+ *
* <code>optional .MumbleProto.UserStats.Stats from_server = 5;</code>
+ * @return Whether the fromServer field is set.
*/
public boolean hasFromServer() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
+ * <pre>
+ * Packet statistics for packets sent by the server.
+ * </pre>
+ *
* <code>optional .MumbleProto.UserStats.Stats from_server = 5;</code>
+ * @return The fromServer.
*/
public se.lublin.humla.protobuf.Mumble.UserStats.Stats getFromServer() {
return fromServer_ == null ? se.lublin.humla.protobuf.Mumble.UserStats.Stats.getDefaultInstance() : fromServer_;
}
/**
+ * <pre>
+ * Packet statistics for packets sent by the server.
+ * </pre>
+ *
* <code>optional .MumbleProto.UserStats.Stats from_server = 5;</code>
*/
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_;
/**
+ * <pre>
+ * Amount of UDP packets sent.
+ * </pre>
+ *
* <code>optional uint32 udp_packets = 6;</code>
+ * @return Whether the udpPackets field is set.
*/
public boolean hasUdpPackets() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
+ * <pre>
+ * Amount of UDP packets sent.
+ * </pre>
+ *
* <code>optional uint32 udp_packets = 6;</code>
+ * @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_;
/**
+ * <pre>
+ * Amount of TCP packets sent.
+ * </pre>
+ *
* <code>optional uint32 tcp_packets = 7;</code>
+ * @return Whether the tcpPackets field is set.
*/
public boolean hasTcpPackets() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
+ return ((bitField0_ & 0x00000020) != 0);
}
/**
+ * <pre>
+ * Amount of TCP packets sent.
+ * </pre>
+ *
* <code>optional uint32 tcp_packets = 7;</code>
+ * @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_;
/**
+ * <pre>
+ * UDP ping average.
+ * </pre>
+ *
* <code>optional float udp_ping_avg = 8;</code>
+ * @return Whether the udpPingAvg field is set.
*/
public boolean hasUdpPingAvg() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
+ return ((bitField0_ & 0x00000040) != 0);
}
/**
+ * <pre>
+ * UDP ping average.
+ * </pre>
+ *
* <code>optional float udp_ping_avg = 8;</code>
+ * @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_;
/**
+ * <pre>
+ * UDP ping variance.
+ * </pre>
+ *
* <code>optional float udp_ping_var = 9;</code>
+ * @return Whether the udpPingVar field is set.
*/
public boolean hasUdpPingVar() {
- return ((bitField0_ & 0x00000080) == 0x00000080);
+ return ((bitField0_ & 0x00000080) != 0);
}
/**
+ * <pre>
+ * UDP ping variance.
+ * </pre>
+ *
* <code>optional float udp_ping_var = 9;</code>
+ * @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_;
/**
+ * <pre>
+ * TCP ping average.
+ * </pre>
+ *
* <code>optional float tcp_ping_avg = 10;</code>
+ * @return Whether the tcpPingAvg field is set.
*/
public boolean hasTcpPingAvg() {
- return ((bitField0_ & 0x00000100) == 0x00000100);
+ return ((bitField0_ & 0x00000100) != 0);
}
/**
+ * <pre>
+ * TCP ping average.
+ * </pre>
+ *
* <code>optional float tcp_ping_avg = 10;</code>
+ * @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_;
/**
+ * <pre>
+ * TCP ping variance.
+ * </pre>
+ *
* <code>optional float tcp_ping_var = 11;</code>
+ * @return Whether the tcpPingVar field is set.
*/
public boolean hasTcpPingVar() {
- return ((bitField0_ & 0x00000200) == 0x00000200);
+ return ((bitField0_ & 0x00000200) != 0);
}
/**
+ * <pre>
+ * TCP ping variance.
+ * </pre>
+ *
* <code>optional float tcp_ping_var = 11;</code>
+ * @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_;
/**
+ * <pre>
+ * Client version.
+ * </pre>
+ *
* <code>optional .MumbleProto.Version version = 12;</code>
+ * @return Whether the version field is set.
*/
public boolean hasVersion() {
- return ((bitField0_ & 0x00000400) == 0x00000400);
+ return ((bitField0_ & 0x00000400) != 0);
}
/**
+ * <pre>
+ * Client version.
+ * </pre>
+ *
* <code>optional .MumbleProto.Version version = 12;</code>
+ * @return The version.
*/
public se.lublin.humla.protobuf.Mumble.Version getVersion() {
return version_ == null ? se.lublin.humla.protobuf.Mumble.Version.getDefaultInstance() : version_;
}
/**
+ * <pre>
+ * Client version.
+ * </pre>
+ *
* <code>optional .MumbleProto.Version version = 12;</code>
*/
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<java.lang.Integer> celtVersions_;
+ private com.google.protobuf.Internal.IntList celtVersions_;
/**
+ * <pre>
+ * A list of CELT bitstream version constants supported by the client of this
+ * user.
+ * </pre>
+ *
* <code>repeated int32 celt_versions = 13;</code>
+ * @return A list containing the celtVersions.
*/
public java.util.List<java.lang.Integer>
getCeltVersionsList() {
return celtVersions_;
}
/**
+ * <pre>
+ * A list of CELT bitstream version constants supported by the client of this
+ * user.
+ * </pre>
+ *
* <code>repeated int32 celt_versions = 13;</code>
+ * @return The count of celtVersions.
*/
public int getCeltVersionsCount() {
return celtVersions_.size();
}
/**
+ * <pre>
+ * A list of CELT bitstream version constants supported by the client of this
+ * user.
+ * </pre>
+ *
* <code>repeated int32 celt_versions = 13;</code>
+ * @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_;
/**
+ * <pre>
+ * Client IP address.
+ * </pre>
+ *
* <code>optional bytes address = 14;</code>
+ * @return Whether the address field is set.
*/
public boolean hasAddress() {
- return ((bitField0_ & 0x00000800) == 0x00000800);
+ return ((bitField0_ & 0x00000800) != 0);
}
/**
+ * <pre>
+ * Client IP address.
+ * </pre>
+ *
* <code>optional bytes address = 14;</code>
+ * @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_;
/**
+ * <pre>
+ * Bandwith used by this client.
+ * </pre>
+ *
* <code>optional uint32 bandwidth = 15;</code>
+ * @return Whether the bandwidth field is set.
*/
public boolean hasBandwidth() {
- return ((bitField0_ & 0x00001000) == 0x00001000);
+ return ((bitField0_ & 0x00001000) != 0);
}
/**
+ * <pre>
+ * Bandwith used by this client.
+ * </pre>
+ *
* <code>optional uint32 bandwidth = 15;</code>
+ * @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_;
/**
+ * <pre>
+ * Connection duration.
+ * </pre>
+ *
* <code>optional uint32 onlinesecs = 16;</code>
+ * @return Whether the onlinesecs field is set.
*/
public boolean hasOnlinesecs() {
- return ((bitField0_ & 0x00002000) == 0x00002000);
+ return ((bitField0_ & 0x00002000) != 0);
}
/**
+ * <pre>
+ * Connection duration.
+ * </pre>
+ *
* <code>optional uint32 onlinesecs = 16;</code>
+ * @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_;
/**
+ * <pre>
+ * Duration since last activity.
+ * </pre>
+ *
* <code>optional uint32 idlesecs = 17;</code>
+ * @return Whether the idlesecs field is set.
*/
public boolean hasIdlesecs() {
- return ((bitField0_ & 0x00004000) == 0x00004000);
+ return ((bitField0_ & 0x00004000) != 0);
}
/**
+ * <pre>
+ * Duration since last activity.
+ * </pre>
+ *
* <code>optional uint32 idlesecs = 17;</code>
+ * @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_;
/**
+ * <pre>
+ * True if the user has a strong certificate.
+ * </pre>
+ *
* <code>optional bool strong_certificate = 18 [default = false];</code>
+ * @return Whether the strongCertificate field is set.
*/
public boolean hasStrongCertificate() {
- return ((bitField0_ & 0x00008000) == 0x00008000);
+ return ((bitField0_ & 0x00008000) != 0);
}
/**
+ * <pre>
+ * True if the user has a strong certificate.
+ * </pre>
+ *
* <code>optional bool strong_certificate = 18 [default = false];</code>
+ * @return The strongCertificate.
*/
public boolean getStrongCertificate() {
return strongCertificate_;
@@ -29219,18 +37708,21 @@ public final class Mumble {
private boolean opus_;
/**
* <code>optional bool opus = 19 [default = false];</code>
+ * @return Whether the opus field is set.
*/
public boolean hasOpus() {
- return ((bitField0_ & 0x00010000) == 0x00010000);
+ return ((bitField0_ & 0x00010000) != 0);
}
/**
* <code>optional bool opus = 19 [default = false];</code>
+ * @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,106 +37902,101 @@ 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()) {
- result = result && (getSession()
- == other.getSession());
+ if (getSession()
+ != other.getSession()) return false;
}
- result = result && (hasStatsOnly() == other.hasStatsOnly());
+ if (hasStatsOnly() != other.hasStatsOnly()) return false;
if (hasStatsOnly()) {
- result = result && (getStatsOnly()
- == other.getStatsOnly());
+ if (getStatsOnly()
+ != other.getStatsOnly()) return false;
}
- result = result && getCertificatesList()
- .equals(other.getCertificatesList());
- result = result && (hasFromClient() == other.hasFromClient());
+ if (!getCertificatesList()
+ .equals(other.getCertificatesList())) return false;
+ if (hasFromClient() != other.hasFromClient()) return false;
if (hasFromClient()) {
- result = result && getFromClient()
- .equals(other.getFromClient());
+ if (!getFromClient()
+ .equals(other.getFromClient())) return false;
}
- result = result && (hasFromServer() == other.hasFromServer());
+ if (hasFromServer() != other.hasFromServer()) return false;
if (hasFromServer()) {
- result = result && getFromServer()
- .equals(other.getFromServer());
+ if (!getFromServer()
+ .equals(other.getFromServer())) 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 && (hasVersion() == other.hasVersion());
+ if (hasVersion() != other.hasVersion()) return false;
if (hasVersion()) {
- result = result && getVersion()
- .equals(other.getVersion());
+ if (!getVersion()
+ .equals(other.getVersion())) return false;
}
- result = result && getCeltVersionsList()
- .equals(other.getCeltVersionsList());
- result = result && (hasAddress() == other.hasAddress());
+ if (!getCeltVersionsList()
+ .equals(other.getCeltVersionsList())) return false;
+ if (hasAddress() != other.hasAddress()) return false;
if (hasAddress()) {
- result = result && getAddress()
- .equals(other.getAddress());
+ if (!getAddress()
+ .equals(other.getAddress())) return false;
}
- result = result && (hasBandwidth() == other.hasBandwidth());
+ if (hasBandwidth() != other.hasBandwidth()) return false;
if (hasBandwidth()) {
- result = result && (getBandwidth()
- == other.getBandwidth());
+ if (getBandwidth()
+ != other.getBandwidth()) return false;
}
- result = result && (hasOnlinesecs() == other.hasOnlinesecs());
+ if (hasOnlinesecs() != other.hasOnlinesecs()) return false;
if (hasOnlinesecs()) {
- result = result && (getOnlinesecs()
- == other.getOnlinesecs());
+ if (getOnlinesecs()
+ != other.getOnlinesecs()) return false;
}
- result = result && (hasIdlesecs() == other.hasIdlesecs());
+ if (hasIdlesecs() != other.hasIdlesecs()) return false;
if (hasIdlesecs()) {
- result = result && (getIdlesecs()
- == other.getIdlesecs());
+ if (getIdlesecs()
+ != other.getIdlesecs()) return false;
}
- result = result && (hasStrongCertificate() == other.hasStrongCertificate());
+ if (hasStrongCertificate() != other.hasStrongCertificate()) return false;
if (hasStrongCertificate()) {
- result = result && (getStrongCertificate()
- == other.getStrongCertificate());
+ if (getStrongCertificate()
+ != other.getStrongCertificate()) 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
@@ -29517,7 +38005,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();
@@ -29607,6 +38095,17 @@ public final class Mumble {
}
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);
@@ -29665,6 +38164,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();
@@ -29672,6 +38172,7 @@ public final class Mumble {
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);
@@ -29684,6 +38185,10 @@ public final class Mumble {
return builder;
}
/**
+ * <pre>
+ * Used to communicate user stats between the server and clients.
+ * </pre>
+ *
* Protobuf type {@code MumbleProto.UserStats}
*/
public static final class Builder extends
@@ -29695,6 +38200,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
@@ -29720,6 +38226,7 @@ public final class Mumble {
getVersionFieldBuilder();
}
}
+ @java.lang.Override
public Builder clear() {
super.clear();
session_ = 0;
@@ -29758,7 +38265,7 @@ public final class Mumble {
versionBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000800);
- celtVersions_ = java.util.Collections.emptyList();
+ celtVersions_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00001000);
address_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00002000);
@@ -29775,15 +38282,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_descriptor;
}
+ @java.lang.Override
public se.lublin.humla.protobuf.Mumble.UserStats getDefaultInstanceForType() {
return se.lublin.humla.protobuf.Mumble.UserStats.getDefaultInstance();
}
+ @java.lang.Override
public se.lublin.humla.protobuf.Mumble.UserStats build() {
se.lublin.humla.protobuf.Mumble.UserStats result = buildPartial();
if (!result.isInitialized()) {
@@ -29792,131 +38302,139 @@ public final class Mumble {
return result;
}
+ @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) == 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.statsOnly_ = statsOnly_;
to_bitField0_ |= 0x00000002;
}
- result.statsOnly_ = statsOnly_;
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ if (((bitField0_ & 0x00000004) != 0)) {
certificates_ = java.util.Collections.unmodifiableList(certificates_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.certificates_ = certificates_;
- if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ if (fromClientBuilder_ == null) {
+ result.fromClient_ = fromClient_;
+ } else {
+ result.fromClient_ = fromClientBuilder_.build();
+ }
to_bitField0_ |= 0x00000004;
}
- if (fromClientBuilder_ == null) {
- result.fromClient_ = fromClient_;
- } else {
- result.fromClient_ = fromClientBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ if (fromServerBuilder_ == null) {
+ result.fromServer_ = fromServer_;
+ } else {
+ result.fromServer_ = fromServerBuilder_.build();
+ }
to_bitField0_ |= 0x00000008;
}
- if (fromServerBuilder_ == null) {
- result.fromServer_ = fromServer_;
- } else {
- result.fromServer_ = fromServerBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
+ if (((from_bitField0_ & 0x00000020) != 0)) {
+ result.udpPackets_ = udpPackets_;
to_bitField0_ |= 0x00000010;
}
- result.udpPackets_ = udpPackets_;
- if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
+ if (((from_bitField0_ & 0x00000040) != 0)) {
+ result.tcpPackets_ = tcpPackets_;
to_bitField0_ |= 0x00000020;
}
- result.tcpPackets_ = tcpPackets_;
- if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
+ if (((from_bitField0_ & 0x00000080) != 0)) {
+ result.udpPingAvg_ = udpPingAvg_;
to_bitField0_ |= 0x00000040;
}
- result.udpPingAvg_ = udpPingAvg_;
- if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
+ if (((from_bitField0_ & 0x00000100) != 0)) {
+ result.udpPingVar_ = udpPingVar_;
to_bitField0_ |= 0x00000080;
}
- result.udpPingVar_ = udpPingVar_;
- if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
+ if (((from_bitField0_ & 0x00000200) != 0)) {
+ result.tcpPingAvg_ = tcpPingAvg_;
to_bitField0_ |= 0x00000100;
}
- result.tcpPingAvg_ = tcpPingAvg_;
- if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
+ if (((from_bitField0_ & 0x00000400) != 0)) {
+ result.tcpPingVar_ = tcpPingVar_;
to_bitField0_ |= 0x00000200;
}
- result.tcpPingVar_ = tcpPingVar_;
- if (((from_bitField0_ & 0x00000800) == 0x00000800)) {
+ if (((from_bitField0_ & 0x00000800) != 0)) {
+ if (versionBuilder_ == null) {
+ result.version_ = version_;
+ } else {
+ result.version_ = versionBuilder_.build();
+ }
to_bitField0_ |= 0x00000400;
}
- if (versionBuilder_ == null) {
- result.version_ = version_;
- } else {
- result.version_ = versionBuilder_.build();
- }
- if (((bitField0_ & 0x00001000) == 0x00001000)) {
- celtVersions_ = java.util.Collections.unmodifiableList(celtVersions_);
+ if (((bitField0_ & 0x00001000) != 0)) {
+ celtVersions_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00001000);
}
result.celtVersions_ = celtVersions_;
- if (((from_bitField0_ & 0x00002000) == 0x00002000)) {
+ if (((from_bitField0_ & 0x00002000) != 0)) {
to_bitField0_ |= 0x00000800;
}
result.address_ = address_;
- if (((from_bitField0_ & 0x00004000) == 0x00004000)) {
+ if (((from_bitField0_ & 0x00004000) != 0)) {
+ result.bandwidth_ = bandwidth_;
to_bitField0_ |= 0x00001000;
}
- result.bandwidth_ = bandwidth_;
- if (((from_bitField0_ & 0x00008000) == 0x00008000)) {
+ if (((from_bitField0_ & 0x00008000) != 0)) {
+ result.onlinesecs_ = onlinesecs_;
to_bitField0_ |= 0x00002000;
}
- result.onlinesecs_ = onlinesecs_;
- if (((from_bitField0_ & 0x00010000) == 0x00010000)) {
+ if (((from_bitField0_ & 0x00010000) != 0)) {
+ result.idlesecs_ = idlesecs_;
to_bitField0_ |= 0x00004000;
}
- result.idlesecs_ = idlesecs_;
- if (((from_bitField0_ & 0x00020000) == 0x00020000)) {
+ if (((from_bitField0_ & 0x00020000) != 0)) {
+ result.strongCertificate_ = strongCertificate_;
to_bitField0_ |= 0x00008000;
}
- result.strongCertificate_ = strongCertificate_;
- if (((from_bitField0_ & 0x00040000) == 0x00040000)) {
+ if (((from_bitField0_ & 0x00040000) != 0)) {
+ result.opus_ = opus_;
to_bitField0_ |= 0x00010000;
}
- 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.UserStats) {
return mergeFrom((se.lublin.humla.protobuf.Mumble.UserStats)other);
@@ -30004,10 +38522,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)
@@ -30029,19 +38549,35 @@ public final class Mumble {
private int session_ ;
/**
+ * <pre>
+ * User whose stats these are.
+ * </pre>
+ *
* <code>optional uint32 session = 1;</code>
+ * @return Whether the session field is set.
*/
public boolean hasSession() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
+ * <pre>
+ * User whose stats these are.
+ * </pre>
+ *
* <code>optional uint32 session = 1;</code>
+ * @return The session.
*/
public int getSession() {
return session_;
}
/**
+ * <pre>
+ * User whose stats these are.
+ * </pre>
+ *
* <code>optional uint32 session = 1;</code>
+ * @param value The session to set.
+ * @return This builder for chaining.
*/
public Builder setSession(int value) {
bitField0_ |= 0x00000001;
@@ -30050,7 +38586,12 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * User whose stats these are.
+ * </pre>
+ *
* <code>optional uint32 session = 1;</code>
+ * @return This builder for chaining.
*/
public Builder clearSession() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -30061,19 +38602,35 @@ public final class Mumble {
private boolean statsOnly_ ;
/**
+ * <pre>
+ * True if the message contains only mutable stats (packets, ping).
+ * </pre>
+ *
* <code>optional bool stats_only = 2 [default = false];</code>
+ * @return Whether the statsOnly field is set.
*/
public boolean hasStatsOnly() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
+ * <pre>
+ * True if the message contains only mutable stats (packets, ping).
+ * </pre>
+ *
* <code>optional bool stats_only = 2 [default = false];</code>
+ * @return The statsOnly.
*/
public boolean getStatsOnly() {
return statsOnly_;
}
/**
+ * <pre>
+ * True if the message contains only mutable stats (packets, ping).
+ * </pre>
+ *
* <code>optional bool stats_only = 2 [default = false];</code>
+ * @param value The statsOnly to set.
+ * @return This builder for chaining.
*/
public Builder setStatsOnly(boolean value) {
bitField0_ |= 0x00000002;
@@ -30082,7 +38639,12 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * True if the message contains only mutable stats (packets, ping).
+ * </pre>
+ *
* <code>optional bool stats_only = 2 [default = false];</code>
+ * @return This builder for chaining.
*/
public Builder clearStatsOnly() {
bitField0_ = (bitField0_ & ~0x00000002);
@@ -30093,32 +38655,56 @@ public final class Mumble {
private java.util.List<com.google.protobuf.ByteString> certificates_ = java.util.Collections.emptyList();
private void ensureCertificatesIsMutable() {
- if (!((bitField0_ & 0x00000004) == 0x00000004)) {
+ if (!((bitField0_ & 0x00000004) != 0)) {
certificates_ = new java.util.ArrayList<com.google.protobuf.ByteString>(certificates_);
bitField0_ |= 0x00000004;
}
}
/**
+ * <pre>
+ * Full user certificate chain of the user certificate in DER format.
+ * </pre>
+ *
* <code>repeated bytes certificates = 3;</code>
+ * @return A list containing the certificates.
*/
public java.util.List<com.google.protobuf.ByteString>
getCertificatesList() {
- return java.util.Collections.unmodifiableList(certificates_);
+ return ((bitField0_ & 0x00000004) != 0) ?
+ java.util.Collections.unmodifiableList(certificates_) : certificates_;
}
/**
+ * <pre>
+ * Full user certificate chain of the user certificate in DER format.
+ * </pre>
+ *
* <code>repeated bytes certificates = 3;</code>
+ * @return The count of certificates.
*/
public int getCertificatesCount() {
return certificates_.size();
}
/**
+ * <pre>
+ * Full user certificate chain of the user certificate in DER format.
+ * </pre>
+ *
* <code>repeated bytes certificates = 3;</code>
+ * @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);
}
/**
+ * <pre>
+ * Full user certificate chain of the user certificate in DER format.
+ * </pre>
+ *
* <code>repeated bytes certificates = 3;</code>
+ * @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) {
@@ -30131,7 +38717,13 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Full user certificate chain of the user certificate in DER format.
+ * </pre>
+ *
* <code>repeated bytes certificates = 3;</code>
+ * @param value The certificates to add.
+ * @return This builder for chaining.
*/
public Builder addCertificates(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -30143,7 +38735,13 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Full user certificate chain of the user certificate in DER format.
+ * </pre>
+ *
* <code>repeated bytes certificates = 3;</code>
+ * @param values The certificates to add.
+ * @return This builder for chaining.
*/
public Builder addAllCertificates(
java.lang.Iterable<? extends com.google.protobuf.ByteString> values) {
@@ -30154,7 +38752,12 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Full user certificate chain of the user certificate in DER format.
+ * </pre>
+ *
* <code>repeated bytes certificates = 3;</code>
+ * @return This builder for chaining.
*/
public Builder clearCertificates() {
certificates_ = java.util.Collections.emptyList();
@@ -30163,17 +38766,27 @@ public final class Mumble {
return this;
}
- private se.lublin.humla.protobuf.Mumble.UserStats.Stats fromClient_ = null;
+ 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_;
/**
+ * <pre>
+ * Packet statistics for packets received from the client.
+ * </pre>
+ *
* <code>optional .MumbleProto.UserStats.Stats from_client = 4;</code>
+ * @return Whether the fromClient field is set.
*/
public boolean hasFromClient() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
+ * <pre>
+ * Packet statistics for packets received from the client.
+ * </pre>
+ *
* <code>optional .MumbleProto.UserStats.Stats from_client = 4;</code>
+ * @return The fromClient.
*/
public se.lublin.humla.protobuf.Mumble.UserStats.Stats getFromClient() {
if (fromClientBuilder_ == null) {
@@ -30183,6 +38796,10 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Packet statistics for packets received from the client.
+ * </pre>
+ *
* <code>optional .MumbleProto.UserStats.Stats from_client = 4;</code>
*/
public Builder setFromClient(se.lublin.humla.protobuf.Mumble.UserStats.Stats value) {
@@ -30199,6 +38816,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Packet statistics for packets received from the client.
+ * </pre>
+ *
* <code>optional .MumbleProto.UserStats.Stats from_client = 4;</code>
*/
public Builder setFromClient(
@@ -30213,11 +38834,15 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Packet statistics for packets received from the client.
+ * </pre>
+ *
* <code>optional .MumbleProto.UserStats.Stats from_client = 4;</code>
*/
public Builder mergeFromClient(se.lublin.humla.protobuf.Mumble.UserStats.Stats value) {
if (fromClientBuilder_ == null) {
- if (((bitField0_ & 0x00000008) == 0x00000008) &&
+ if (((bitField0_ & 0x00000008) != 0) &&
fromClient_ != null &&
fromClient_ != se.lublin.humla.protobuf.Mumble.UserStats.Stats.getDefaultInstance()) {
fromClient_ =
@@ -30233,6 +38858,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Packet statistics for packets received from the client.
+ * </pre>
+ *
* <code>optional .MumbleProto.UserStats.Stats from_client = 4;</code>
*/
public Builder clearFromClient() {
@@ -30246,6 +38875,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Packet statistics for packets received from the client.
+ * </pre>
+ *
* <code>optional .MumbleProto.UserStats.Stats from_client = 4;</code>
*/
public se.lublin.humla.protobuf.Mumble.UserStats.Stats.Builder getFromClientBuilder() {
@@ -30254,6 +38887,10 @@ public final class Mumble {
return getFromClientFieldBuilder().getBuilder();
}
/**
+ * <pre>
+ * Packet statistics for packets received from the client.
+ * </pre>
+ *
* <code>optional .MumbleProto.UserStats.Stats from_client = 4;</code>
*/
public se.lublin.humla.protobuf.Mumble.UserStats.StatsOrBuilder getFromClientOrBuilder() {
@@ -30265,6 +38902,10 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Packet statistics for packets received from the client.
+ * </pre>
+ *
* <code>optional .MumbleProto.UserStats.Stats from_client = 4;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
@@ -30281,17 +38922,27 @@ public final class Mumble {
return fromClientBuilder_;
}
- private se.lublin.humla.protobuf.Mumble.UserStats.Stats fromServer_ = null;
+ 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_;
/**
+ * <pre>
+ * Packet statistics for packets sent by the server.
+ * </pre>
+ *
* <code>optional .MumbleProto.UserStats.Stats from_server = 5;</code>
+ * @return Whether the fromServer field is set.
*/
public boolean hasFromServer() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
+ * <pre>
+ * Packet statistics for packets sent by the server.
+ * </pre>
+ *
* <code>optional .MumbleProto.UserStats.Stats from_server = 5;</code>
+ * @return The fromServer.
*/
public se.lublin.humla.protobuf.Mumble.UserStats.Stats getFromServer() {
if (fromServerBuilder_ == null) {
@@ -30301,6 +38952,10 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Packet statistics for packets sent by the server.
+ * </pre>
+ *
* <code>optional .MumbleProto.UserStats.Stats from_server = 5;</code>
*/
public Builder setFromServer(se.lublin.humla.protobuf.Mumble.UserStats.Stats value) {
@@ -30317,6 +38972,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Packet statistics for packets sent by the server.
+ * </pre>
+ *
* <code>optional .MumbleProto.UserStats.Stats from_server = 5;</code>
*/
public Builder setFromServer(
@@ -30331,11 +38990,15 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Packet statistics for packets sent by the server.
+ * </pre>
+ *
* <code>optional .MumbleProto.UserStats.Stats from_server = 5;</code>
*/
public Builder mergeFromServer(se.lublin.humla.protobuf.Mumble.UserStats.Stats value) {
if (fromServerBuilder_ == null) {
- if (((bitField0_ & 0x00000010) == 0x00000010) &&
+ if (((bitField0_ & 0x00000010) != 0) &&
fromServer_ != null &&
fromServer_ != se.lublin.humla.protobuf.Mumble.UserStats.Stats.getDefaultInstance()) {
fromServer_ =
@@ -30351,6 +39014,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Packet statistics for packets sent by the server.
+ * </pre>
+ *
* <code>optional .MumbleProto.UserStats.Stats from_server = 5;</code>
*/
public Builder clearFromServer() {
@@ -30364,6 +39031,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Packet statistics for packets sent by the server.
+ * </pre>
+ *
* <code>optional .MumbleProto.UserStats.Stats from_server = 5;</code>
*/
public se.lublin.humla.protobuf.Mumble.UserStats.Stats.Builder getFromServerBuilder() {
@@ -30372,6 +39043,10 @@ public final class Mumble {
return getFromServerFieldBuilder().getBuilder();
}
/**
+ * <pre>
+ * Packet statistics for packets sent by the server.
+ * </pre>
+ *
* <code>optional .MumbleProto.UserStats.Stats from_server = 5;</code>
*/
public se.lublin.humla.protobuf.Mumble.UserStats.StatsOrBuilder getFromServerOrBuilder() {
@@ -30383,6 +39058,10 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Packet statistics for packets sent by the server.
+ * </pre>
+ *
* <code>optional .MumbleProto.UserStats.Stats from_server = 5;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
@@ -30401,19 +39080,35 @@ public final class Mumble {
private int udpPackets_ ;
/**
+ * <pre>
+ * Amount of UDP packets sent.
+ * </pre>
+ *
* <code>optional uint32 udp_packets = 6;</code>
+ * @return Whether the udpPackets field is set.
*/
public boolean hasUdpPackets() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
+ return ((bitField0_ & 0x00000020) != 0);
}
/**
+ * <pre>
+ * Amount of UDP packets sent.
+ * </pre>
+ *
* <code>optional uint32 udp_packets = 6;</code>
+ * @return The udpPackets.
*/
public int getUdpPackets() {
return udpPackets_;
}
/**
+ * <pre>
+ * Amount of UDP packets sent.
+ * </pre>
+ *
* <code>optional uint32 udp_packets = 6;</code>
+ * @param value The udpPackets to set.
+ * @return This builder for chaining.
*/
public Builder setUdpPackets(int value) {
bitField0_ |= 0x00000020;
@@ -30422,7 +39117,12 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Amount of UDP packets sent.
+ * </pre>
+ *
* <code>optional uint32 udp_packets = 6;</code>
+ * @return This builder for chaining.
*/
public Builder clearUdpPackets() {
bitField0_ = (bitField0_ & ~0x00000020);
@@ -30433,19 +39133,35 @@ public final class Mumble {
private int tcpPackets_ ;
/**
+ * <pre>
+ * Amount of TCP packets sent.
+ * </pre>
+ *
* <code>optional uint32 tcp_packets = 7;</code>
+ * @return Whether the tcpPackets field is set.
*/
public boolean hasTcpPackets() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
+ return ((bitField0_ & 0x00000040) != 0);
}
/**
+ * <pre>
+ * Amount of TCP packets sent.
+ * </pre>
+ *
* <code>optional uint32 tcp_packets = 7;</code>
+ * @return The tcpPackets.
*/
public int getTcpPackets() {
return tcpPackets_;
}
/**
+ * <pre>
+ * Amount of TCP packets sent.
+ * </pre>
+ *
* <code>optional uint32 tcp_packets = 7;</code>
+ * @param value The tcpPackets to set.
+ * @return This builder for chaining.
*/
public Builder setTcpPackets(int value) {
bitField0_ |= 0x00000040;
@@ -30454,7 +39170,12 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Amount of TCP packets sent.
+ * </pre>
+ *
* <code>optional uint32 tcp_packets = 7;</code>
+ * @return This builder for chaining.
*/
public Builder clearTcpPackets() {
bitField0_ = (bitField0_ & ~0x00000040);
@@ -30465,19 +39186,35 @@ public final class Mumble {
private float udpPingAvg_ ;
/**
+ * <pre>
+ * UDP ping average.
+ * </pre>
+ *
* <code>optional float udp_ping_avg = 8;</code>
+ * @return Whether the udpPingAvg field is set.
*/
public boolean hasUdpPingAvg() {
- return ((bitField0_ & 0x00000080) == 0x00000080);
+ return ((bitField0_ & 0x00000080) != 0);
}
/**
+ * <pre>
+ * UDP ping average.
+ * </pre>
+ *
* <code>optional float udp_ping_avg = 8;</code>
+ * @return The udpPingAvg.
*/
public float getUdpPingAvg() {
return udpPingAvg_;
}
/**
+ * <pre>
+ * UDP ping average.
+ * </pre>
+ *
* <code>optional float udp_ping_avg = 8;</code>
+ * @param value The udpPingAvg to set.
+ * @return This builder for chaining.
*/
public Builder setUdpPingAvg(float value) {
bitField0_ |= 0x00000080;
@@ -30486,7 +39223,12 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * UDP ping average.
+ * </pre>
+ *
* <code>optional float udp_ping_avg = 8;</code>
+ * @return This builder for chaining.
*/
public Builder clearUdpPingAvg() {
bitField0_ = (bitField0_ & ~0x00000080);
@@ -30497,19 +39239,35 @@ public final class Mumble {
private float udpPingVar_ ;
/**
+ * <pre>
+ * UDP ping variance.
+ * </pre>
+ *
* <code>optional float udp_ping_var = 9;</code>
+ * @return Whether the udpPingVar field is set.
*/
public boolean hasUdpPingVar() {
- return ((bitField0_ & 0x00000100) == 0x00000100);
+ return ((bitField0_ & 0x00000100) != 0);
}
/**
+ * <pre>
+ * UDP ping variance.
+ * </pre>
+ *
* <code>optional float udp_ping_var = 9;</code>
+ * @return The udpPingVar.
*/
public float getUdpPingVar() {
return udpPingVar_;
}
/**
+ * <pre>
+ * UDP ping variance.
+ * </pre>
+ *
* <code>optional float udp_ping_var = 9;</code>
+ * @param value The udpPingVar to set.
+ * @return This builder for chaining.
*/
public Builder setUdpPingVar(float value) {
bitField0_ |= 0x00000100;
@@ -30518,7 +39276,12 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * UDP ping variance.
+ * </pre>
+ *
* <code>optional float udp_ping_var = 9;</code>
+ * @return This builder for chaining.
*/
public Builder clearUdpPingVar() {
bitField0_ = (bitField0_ & ~0x00000100);
@@ -30529,19 +39292,35 @@ public final class Mumble {
private float tcpPingAvg_ ;
/**
+ * <pre>
+ * TCP ping average.
+ * </pre>
+ *
* <code>optional float tcp_ping_avg = 10;</code>
+ * @return Whether the tcpPingAvg field is set.
*/
public boolean hasTcpPingAvg() {
- return ((bitField0_ & 0x00000200) == 0x00000200);
+ return ((bitField0_ & 0x00000200) != 0);
}
/**
+ * <pre>
+ * TCP ping average.
+ * </pre>
+ *
* <code>optional float tcp_ping_avg = 10;</code>
+ * @return The tcpPingAvg.
*/
public float getTcpPingAvg() {
return tcpPingAvg_;
}
/**
+ * <pre>
+ * TCP ping average.
+ * </pre>
+ *
* <code>optional float tcp_ping_avg = 10;</code>
+ * @param value The tcpPingAvg to set.
+ * @return This builder for chaining.
*/
public Builder setTcpPingAvg(float value) {
bitField0_ |= 0x00000200;
@@ -30550,7 +39329,12 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * TCP ping average.
+ * </pre>
+ *
* <code>optional float tcp_ping_avg = 10;</code>
+ * @return This builder for chaining.
*/
public Builder clearTcpPingAvg() {
bitField0_ = (bitField0_ & ~0x00000200);
@@ -30561,19 +39345,35 @@ public final class Mumble {
private float tcpPingVar_ ;
/**
+ * <pre>
+ * TCP ping variance.
+ * </pre>
+ *
* <code>optional float tcp_ping_var = 11;</code>
+ * @return Whether the tcpPingVar field is set.
*/
public boolean hasTcpPingVar() {
- return ((bitField0_ & 0x00000400) == 0x00000400);
+ return ((bitField0_ & 0x00000400) != 0);
}
/**
+ * <pre>
+ * TCP ping variance.
+ * </pre>
+ *
* <code>optional float tcp_ping_var = 11;</code>
+ * @return The tcpPingVar.
*/
public float getTcpPingVar() {
return tcpPingVar_;
}
/**
+ * <pre>
+ * TCP ping variance.
+ * </pre>
+ *
* <code>optional float tcp_ping_var = 11;</code>
+ * @param value The tcpPingVar to set.
+ * @return This builder for chaining.
*/
public Builder setTcpPingVar(float value) {
bitField0_ |= 0x00000400;
@@ -30582,7 +39382,12 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * TCP ping variance.
+ * </pre>
+ *
* <code>optional float tcp_ping_var = 11;</code>
+ * @return This builder for chaining.
*/
public Builder clearTcpPingVar() {
bitField0_ = (bitField0_ & ~0x00000400);
@@ -30591,17 +39396,27 @@ public final class Mumble {
return this;
}
- private se.lublin.humla.protobuf.Mumble.Version version_ = null;
+ 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_;
/**
+ * <pre>
+ * Client version.
+ * </pre>
+ *
* <code>optional .MumbleProto.Version version = 12;</code>
+ * @return Whether the version field is set.
*/
public boolean hasVersion() {
- return ((bitField0_ & 0x00000800) == 0x00000800);
+ return ((bitField0_ & 0x00000800) != 0);
}
/**
+ * <pre>
+ * Client version.
+ * </pre>
+ *
* <code>optional .MumbleProto.Version version = 12;</code>
+ * @return The version.
*/
public se.lublin.humla.protobuf.Mumble.Version getVersion() {
if (versionBuilder_ == null) {
@@ -30611,6 +39426,10 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Client version.
+ * </pre>
+ *
* <code>optional .MumbleProto.Version version = 12;</code>
*/
public Builder setVersion(se.lublin.humla.protobuf.Mumble.Version value) {
@@ -30627,6 +39446,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Client version.
+ * </pre>
+ *
* <code>optional .MumbleProto.Version version = 12;</code>
*/
public Builder setVersion(
@@ -30641,11 +39464,15 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Client version.
+ * </pre>
+ *
* <code>optional .MumbleProto.Version version = 12;</code>
*/
public Builder mergeVersion(se.lublin.humla.protobuf.Mumble.Version value) {
if (versionBuilder_ == null) {
- if (((bitField0_ & 0x00000800) == 0x00000800) &&
+ if (((bitField0_ & 0x00000800) != 0) &&
version_ != null &&
version_ != se.lublin.humla.protobuf.Mumble.Version.getDefaultInstance()) {
version_ =
@@ -30661,6 +39488,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Client version.
+ * </pre>
+ *
* <code>optional .MumbleProto.Version version = 12;</code>
*/
public Builder clearVersion() {
@@ -30674,6 +39505,10 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Client version.
+ * </pre>
+ *
* <code>optional .MumbleProto.Version version = 12;</code>
*/
public se.lublin.humla.protobuf.Mumble.Version.Builder getVersionBuilder() {
@@ -30682,6 +39517,10 @@ public final class Mumble {
return getVersionFieldBuilder().getBuilder();
}
/**
+ * <pre>
+ * Client version.
+ * </pre>
+ *
* <code>optional .MumbleProto.Version version = 12;</code>
*/
public se.lublin.humla.protobuf.Mumble.VersionOrBuilder getVersionOrBuilder() {
@@ -30693,6 +39532,10 @@ public final class Mumble {
}
}
/**
+ * <pre>
+ * Client version.
+ * </pre>
+ *
* <code>optional .MumbleProto.Version version = 12;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
@@ -30709,53 +39552,95 @@ public final class Mumble {
return versionBuilder_;
}
- private java.util.List<java.lang.Integer> celtVersions_ = java.util.Collections.emptyList();
+ private com.google.protobuf.Internal.IntList celtVersions_ = emptyIntList();
private void ensureCeltVersionsIsMutable() {
- if (!((bitField0_ & 0x00001000) == 0x00001000)) {
- celtVersions_ = new java.util.ArrayList<java.lang.Integer>(celtVersions_);
+ if (!((bitField0_ & 0x00001000) != 0)) {
+ celtVersions_ = mutableCopy(celtVersions_);
bitField0_ |= 0x00001000;
}
}
/**
+ * <pre>
+ * A list of CELT bitstream version constants supported by the client of this
+ * user.
+ * </pre>
+ *
* <code>repeated int32 celt_versions = 13;</code>
+ * @return A list containing the celtVersions.
*/
public java.util.List<java.lang.Integer>
getCeltVersionsList() {
- return java.util.Collections.unmodifiableList(celtVersions_);
+ return ((bitField0_ & 0x00001000) != 0) ?
+ java.util.Collections.unmodifiableList(celtVersions_) : celtVersions_;
}
/**
+ * <pre>
+ * A list of CELT bitstream version constants supported by the client of this
+ * user.
+ * </pre>
+ *
* <code>repeated int32 celt_versions = 13;</code>
+ * @return The count of celtVersions.
*/
public int getCeltVersionsCount() {
return celtVersions_.size();
}
/**
+ * <pre>
+ * A list of CELT bitstream version constants supported by the client of this
+ * user.
+ * </pre>
+ *
* <code>repeated int32 celt_versions = 13;</code>
+ * @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);
}
/**
+ * <pre>
+ * A list of CELT bitstream version constants supported by the client of this
+ * user.
+ * </pre>
+ *
* <code>repeated int32 celt_versions = 13;</code>
+ * @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;
}
/**
+ * <pre>
+ * A list of CELT bitstream version constants supported by the client of this
+ * user.
+ * </pre>
+ *
* <code>repeated int32 celt_versions = 13;</code>
+ * @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;
}
/**
+ * <pre>
+ * A list of CELT bitstream version constants supported by the client of this
+ * user.
+ * </pre>
+ *
* <code>repeated int32 celt_versions = 13;</code>
+ * @param values The celtVersions to add.
+ * @return This builder for chaining.
*/
public Builder addAllCeltVersions(
java.lang.Iterable<? extends java.lang.Integer> values) {
@@ -30766,10 +39651,16 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * A list of CELT bitstream version constants supported by the client of this
+ * user.
+ * </pre>
+ *
* <code>repeated int32 celt_versions = 13;</code>
+ * @return This builder for chaining.
*/
public Builder clearCeltVersions() {
- celtVersions_ = java.util.Collections.emptyList();
+ celtVersions_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00001000);
onChanged();
return this;
@@ -30777,19 +39668,35 @@ public final class Mumble {
private com.google.protobuf.ByteString address_ = com.google.protobuf.ByteString.EMPTY;
/**
+ * <pre>
+ * Client IP address.
+ * </pre>
+ *
* <code>optional bytes address = 14;</code>
+ * @return Whether the address field is set.
*/
public boolean hasAddress() {
- return ((bitField0_ & 0x00002000) == 0x00002000);
+ return ((bitField0_ & 0x00002000) != 0);
}
/**
+ * <pre>
+ * Client IP address.
+ * </pre>
+ *
* <code>optional bytes address = 14;</code>
+ * @return The address.
*/
public com.google.protobuf.ByteString getAddress() {
return address_;
}
/**
+ * <pre>
+ * Client IP address.
+ * </pre>
+ *
* <code>optional bytes address = 14;</code>
+ * @param value The address to set.
+ * @return This builder for chaining.
*/
public Builder setAddress(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -30801,7 +39708,12 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Client IP address.
+ * </pre>
+ *
* <code>optional bytes address = 14;</code>
+ * @return This builder for chaining.
*/
public Builder clearAddress() {
bitField0_ = (bitField0_ & ~0x00002000);
@@ -30812,19 +39724,35 @@ public final class Mumble {
private int bandwidth_ ;
/**
+ * <pre>
+ * Bandwith used by this client.
+ * </pre>
+ *
* <code>optional uint32 bandwidth = 15;</code>
+ * @return Whether the bandwidth field is set.
*/
public boolean hasBandwidth() {
- return ((bitField0_ & 0x00004000) == 0x00004000);
+ return ((bitField0_ & 0x00004000) != 0);
}
/**
+ * <pre>
+ * Bandwith used by this client.
+ * </pre>
+ *
* <code>optional uint32 bandwidth = 15;</code>
+ * @return The bandwidth.
*/
public int getBandwidth() {
return bandwidth_;
}
/**
+ * <pre>
+ * Bandwith used by this client.
+ * </pre>
+ *
* <code>optional uint32 bandwidth = 15;</code>
+ * @param value The bandwidth to set.
+ * @return This builder for chaining.
*/
public Builder setBandwidth(int value) {
bitField0_ |= 0x00004000;
@@ -30833,7 +39761,12 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Bandwith used by this client.
+ * </pre>
+ *
* <code>optional uint32 bandwidth = 15;</code>
+ * @return This builder for chaining.
*/
public Builder clearBandwidth() {
bitField0_ = (bitField0_ & ~0x00004000);
@@ -30844,19 +39777,35 @@ public final class Mumble {
private int onlinesecs_ ;
/**
+ * <pre>
+ * Connection duration.
+ * </pre>
+ *
* <code>optional uint32 onlinesecs = 16;</code>
+ * @return Whether the onlinesecs field is set.
*/
public boolean hasOnlinesecs() {
- return ((bitField0_ & 0x00008000) == 0x00008000);
+ return ((bitField0_ & 0x00008000) != 0);
}
/**
+ * <pre>
+ * Connection duration.
+ * </pre>
+ *
* <code>optional uint32 onlinesecs = 16;</code>
+ * @return The onlinesecs.
*/
public int getOnlinesecs() {
return onlinesecs_;
}
/**
+ * <pre>
+ * Connection duration.
+ * </pre>
+ *
* <code>optional uint32 onlinesecs = 16;</code>
+ * @param value The onlinesecs to set.
+ * @return This builder for chaining.
*/
public Builder setOnlinesecs(int value) {
bitField0_ |= 0x00008000;
@@ -30865,7 +39814,12 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Connection duration.
+ * </pre>
+ *
* <code>optional uint32 onlinesecs = 16;</code>
+ * @return This builder for chaining.
*/
public Builder clearOnlinesecs() {
bitField0_ = (bitField0_ & ~0x00008000);
@@ -30876,19 +39830,35 @@ public final class Mumble {
private int idlesecs_ ;
/**
+ * <pre>
+ * Duration since last activity.
+ * </pre>
+ *
* <code>optional uint32 idlesecs = 17;</code>
+ * @return Whether the idlesecs field is set.
*/
public boolean hasIdlesecs() {
- return ((bitField0_ & 0x00010000) == 0x00010000);
+ return ((bitField0_ & 0x00010000) != 0);
}
/**
+ * <pre>
+ * Duration since last activity.
+ * </pre>
+ *
* <code>optional uint32 idlesecs = 17;</code>
+ * @return The idlesecs.
*/
public int getIdlesecs() {
return idlesecs_;
}
/**
+ * <pre>
+ * Duration since last activity.
+ * </pre>
+ *
* <code>optional uint32 idlesecs = 17;</code>
+ * @param value The idlesecs to set.
+ * @return This builder for chaining.
*/
public Builder setIdlesecs(int value) {
bitField0_ |= 0x00010000;
@@ -30897,7 +39867,12 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * Duration since last activity.
+ * </pre>
+ *
* <code>optional uint32 idlesecs = 17;</code>
+ * @return This builder for chaining.
*/
public Builder clearIdlesecs() {
bitField0_ = (bitField0_ & ~0x00010000);
@@ -30908,19 +39883,35 @@ public final class Mumble {
private boolean strongCertificate_ ;
/**
+ * <pre>
+ * True if the user has a strong certificate.
+ * </pre>
+ *
* <code>optional bool strong_certificate = 18 [default = false];</code>
+ * @return Whether the strongCertificate field is set.
*/
public boolean hasStrongCertificate() {
- return ((bitField0_ & 0x00020000) == 0x00020000);
+ return ((bitField0_ & 0x00020000) != 0);
}
/**
+ * <pre>
+ * True if the user has a strong certificate.
+ * </pre>
+ *
* <code>optional bool strong_certificate = 18 [default = false];</code>
+ * @return The strongCertificate.
*/
public boolean getStrongCertificate() {
return strongCertificate_;
}
/**
+ * <pre>
+ * True if the user has a strong certificate.
+ * </pre>
+ *
* <code>optional bool strong_certificate = 18 [default = false];</code>
+ * @param value The strongCertificate to set.
+ * @return This builder for chaining.
*/
public Builder setStrongCertificate(boolean value) {
bitField0_ |= 0x00020000;
@@ -30929,7 +39920,12 @@ public final class Mumble {
return this;
}
/**
+ * <pre>
+ * True if the user has a strong certificate.
+ * </pre>
+ *
* <code>optional bool strong_certificate = 18 [default = false];</code>
+ * @return This builder for chaining.
*/
public Builder clearStrongCertificate() {
bitField0_ = (bitField0_ & ~0x00020000);
@@ -30941,18 +39937,22 @@ public final class Mumble {
private boolean opus_ ;
/**
* <code>optional bool opus = 19 [default = false];</code>
+ * @return Whether the opus field is set.
*/
public boolean hasOpus() {
- return ((bitField0_ & 0x00040000) == 0x00040000);
+ return ((bitField0_ & 0x00040000) != 0);
}
/**
* <code>optional bool opus = 19 [default = false];</code>
+ * @return The opus.
*/
public boolean getOpus() {
return opus_;
}
/**
* <code>optional bool opus = 19 [default = false];</code>
+ * @param value The opus to set.
+ * @return This builder for chaining.
*/
public Builder setOpus(boolean value) {
bitField0_ |= 0x00040000;
@@ -30962,6 +39962,7 @@ public final class Mumble {
}
/**
* <code>optional bool opus = 19 [default = false];</code>
+ * @return This builder for chaining.
*/
public Builder clearOpus() {
bitField0_ = (bitField0_ & ~0x00040000);
@@ -30969,11 +39970,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);
@@ -30995,11 +39998,12 @@ public final class Mumble {
@java.lang.Deprecated public static final com.google.protobuf.Parser<UserStats>
PARSER = new com.google.protobuf.AbstractParser<UserStats>() {
+ @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);
+ return new UserStats(input, extensionRegistry);
}
};
@@ -31012,58 +40016,138 @@ public final class Mumble {
return PARSER;
}
+ @java.lang.Override
public se.lublin.humla.protobuf.Mumble.UserStats getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
- public interface SuggestConfigOrBuilder extends
- // @@protoc_insertion_point(interface_extends:MumbleProto.SuggestConfig)
+ public interface RequestBlobOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:MumbleProto.RequestBlob)
com.google.protobuf.MessageOrBuilder {
/**
- * <code>optional uint32 version = 1;</code>
+ * <pre>
+ * sessions of the requested UserState textures.
+ * </pre>
+ *
+ * <code>repeated uint32 session_texture = 1;</code>
+ * @return A list containing the sessionTexture.
*/
- boolean hasVersion();
+ java.util.List<java.lang.Integer> getSessionTextureList();
/**
- * <code>optional uint32 version = 1;</code>
+ * <pre>
+ * sessions of the requested UserState textures.
+ * </pre>
+ *
+ * <code>repeated uint32 session_texture = 1;</code>
+ * @return The count of sessionTexture.
*/
- int getVersion();
+ int getSessionTextureCount();
+ /**
+ * <pre>
+ * sessions of the requested UserState textures.
+ * </pre>
+ *
+ * <code>repeated uint32 session_texture = 1;</code>
+ * @param index The index of the element to return.
+ * @return The sessionTexture at the given index.
+ */
+ int getSessionTexture(int index);
/**
- * <code>optional bool positional = 2;</code>
+ * <pre>
+ * sessions of the requested UserState comments.
+ * </pre>
+ *
+ * <code>repeated uint32 session_comment = 2;</code>
+ * @return A list containing the sessionComment.
*/
- boolean hasPositional();
+ java.util.List<java.lang.Integer> getSessionCommentList();
/**
- * <code>optional bool positional = 2;</code>
+ * <pre>
+ * sessions of the requested UserState comments.
+ * </pre>
+ *
+ * <code>repeated uint32 session_comment = 2;</code>
+ * @return The count of sessionComment.
*/
- boolean getPositional();
+ int getSessionCommentCount();
+ /**
+ * <pre>
+ * sessions of the requested UserState comments.
+ * </pre>
+ *
+ * <code>repeated uint32 session_comment = 2;</code>
+ * @param index The index of the element to return.
+ * @return The sessionComment at the given index.
+ */
+ int getSessionComment(int index);
/**
- * <code>optional bool push_to_talk = 3;</code>
+ * <pre>
+ * channel_ids of the requested ChannelState descriptions.
+ * </pre>
+ *
+ * <code>repeated uint32 channel_description = 3;</code>
+ * @return A list containing the channelDescription.
*/
- boolean hasPushToTalk();
+ java.util.List<java.lang.Integer> getChannelDescriptionList();
/**
- * <code>optional bool push_to_talk = 3;</code>
+ * <pre>
+ * channel_ids of the requested ChannelState descriptions.
+ * </pre>
+ *
+ * <code>repeated uint32 channel_description = 3;</code>
+ * @return The count of channelDescription.
*/
- boolean getPushToTalk();
+ int getChannelDescriptionCount();
+ /**
+ * <pre>
+ * channel_ids of the requested ChannelState descriptions.
+ * </pre>
+ *
+ * <code>repeated uint32 channel_description = 3;</code>
+ * @param index The index of the element to return.
+ * @return The channelDescription at the given index.
+ */
+ int getChannelDescription(int index);
}
/**
- * Protobuf type {@code MumbleProto.SuggestConfig}
+ * <pre>
+ * 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.
+ * </pre>
+ *
+ * Protobuf type {@code MumbleProto.RequestBlob}
*/
- public static final class SuggestConfig extends
+ public static final class RequestBlob 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.RequestBlob)
+ RequestBlobOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use RequestBlob.newBuilder() to construct.
+ private RequestBlob(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
- private SuggestConfig() {
- version_ = 0;
- positional_ = false;
- pushToTalk_ = false;
+ 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
@@ -31071,11 +40155,14 @@ public final class Mumble {
getUnknownFields() {
return this.unknownFields;
}
- private SuggestConfig(
+ 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();
@@ -31087,26 +40174,74 @@ public final class Mumble {
case 0:
done = true;
break;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- done = true;
+ case 8: {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+ sessionTexture_ = newIntList();
+ mutable_bitField0_ |= 0x00000001;
}
+ sessionTexture_.addInt(input.readUInt32());
break;
}
- case 8: {
- bitField0_ |= 0x00000001;
- version_ = input.readUInt32();
+ 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: {
- bitField0_ |= 0x00000002;
- positional_ = input.readBool();
+ 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: {
- bitField0_ |= 0x00000004;
- pushToTalk_ = input.readBool();
+ 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;
}
}
@@ -31117,69 +40252,148 @@ public final class Mumble {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
+ sessionTexture_.makeImmutable(); // C
+ }
+ if (((mutable_bitField0_ & 0x00000002) != 0)) {
+ sessionComment_.makeImmutable(); // C
+ }
+ if (((mutable_bitField0_ & 0x00000004) != 0)) {
+ channelDescription_.makeImmutable(); // C
+ }
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
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_RequestBlob_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_RequestBlob_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- se.lublin.humla.protobuf.Mumble.SuggestConfig.class, se.lublin.humla.protobuf.Mumble.SuggestConfig.Builder.class);
+ se.lublin.humla.protobuf.Mumble.RequestBlob.class, se.lublin.humla.protobuf.Mumble.RequestBlob.Builder.class);
}
- private int bitField0_;
- public static final int VERSION_FIELD_NUMBER = 1;
- private int version_;
+ public static final int SESSION_TEXTURE_FIELD_NUMBER = 1;
+ private com.google.protobuf.Internal.IntList sessionTexture_;
/**
- * <code>optional uint32 version = 1;</code>
+ * <pre>
+ * sessions of the requested UserState textures.
+ * </pre>
+ *
+ * <code>repeated uint32 session_texture = 1;</code>
+ * @return A list containing the sessionTexture.
*/
- public boolean hasVersion() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ public java.util.List<java.lang.Integer>
+ getSessionTextureList() {
+ return sessionTexture_;
}
/**
- * <code>optional uint32 version = 1;</code>
+ * <pre>
+ * sessions of the requested UserState textures.
+ * </pre>
+ *
+ * <code>repeated uint32 session_texture = 1;</code>
+ * @return The count of sessionTexture.
*/
- public int getVersion() {
- return version_;
+ public int getSessionTextureCount() {
+ return sessionTexture_.size();
+ }
+ /**
+ * <pre>
+ * sessions of the requested UserState textures.
+ * </pre>
+ *
+ * <code>repeated uint32 session_texture = 1;</code>
+ * @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 POSITIONAL_FIELD_NUMBER = 2;
- private boolean positional_;
+ public static final int SESSION_COMMENT_FIELD_NUMBER = 2;
+ private com.google.protobuf.Internal.IntList sessionComment_;
/**
- * <code>optional bool positional = 2;</code>
+ * <pre>
+ * sessions of the requested UserState comments.
+ * </pre>
+ *
+ * <code>repeated uint32 session_comment = 2;</code>
+ * @return A list containing the sessionComment.
*/
- public boolean hasPositional() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ public java.util.List<java.lang.Integer>
+ getSessionCommentList() {
+ return sessionComment_;
}
/**
- * <code>optional bool positional = 2;</code>
+ * <pre>
+ * sessions of the requested UserState comments.
+ * </pre>
+ *
+ * <code>repeated uint32 session_comment = 2;</code>
+ * @return The count of sessionComment.
*/
- public boolean getPositional() {
- return positional_;
+ public int getSessionCommentCount() {
+ return sessionComment_.size();
+ }
+ /**
+ * <pre>
+ * sessions of the requested UserState comments.
+ * </pre>
+ *
+ * <code>repeated uint32 session_comment = 2;</code>
+ * @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 PUSH_TO_TALK_FIELD_NUMBER = 3;
- private boolean pushToTalk_;
+ public static final int CHANNEL_DESCRIPTION_FIELD_NUMBER = 3;
+ private com.google.protobuf.Internal.IntList channelDescription_;
/**
- * <code>optional bool push_to_talk = 3;</code>
+ * <pre>
+ * channel_ids of the requested ChannelState descriptions.
+ * </pre>
+ *
+ * <code>repeated uint32 channel_description = 3;</code>
+ * @return A list containing the channelDescription.
*/
- public boolean hasPushToTalk() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ public java.util.List<java.lang.Integer>
+ getChannelDescriptionList() {
+ return channelDescription_;
}
/**
- * <code>optional bool push_to_talk = 3;</code>
+ * <pre>
+ * channel_ids of the requested ChannelState descriptions.
+ * </pre>
+ *
+ * <code>repeated uint32 channel_description = 3;</code>
+ * @return The count of channelDescription.
*/
- public boolean getPushToTalk() {
- return pushToTalk_;
+ public int getChannelDescriptionCount() {
+ return channelDescription_.size();
+ }
+ /**
+ * <pre>
+ * channel_ids of the requested ChannelState descriptions.
+ * </pre>
+ *
+ * <code>repeated uint32 channel_description = 3;</code>
+ * @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;
@@ -31189,71 +40403,77 @@ 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_);
+ for (int i = 0; i < sessionTexture_.size(); i++) {
+ output.writeUInt32(1, sessionTexture_.getInt(i));
}
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeBool(2, positional_);
+ for (int i = 0; i < sessionComment_.size(); i++) {
+ output.writeUInt32(2, sessionComment_.getInt(i));
}
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- output.writeBool(3, pushToTalk_);
+ for (int i = 0; i < channelDescription_.size(); i++) {
+ output.writeUInt32(3, channelDescription_.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)) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(1, version_);
+ {
+ 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();
}
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBoolSize(2, positional_);
+ {
+ 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();
}
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBoolSize(3, pushToTalk_);
+ {
+ 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();
}
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.RequestBlob)) {
return super.equals(obj);
}
- se.lublin.humla.protobuf.Mumble.SuggestConfig other = (se.lublin.humla.protobuf.Mumble.SuggestConfig) obj;
+ se.lublin.humla.protobuf.Mumble.RequestBlob other = (se.lublin.humla.protobuf.Mumble.RequestBlob) obj;
- boolean result = true;
- result = result && (hasVersion() == other.hasVersion());
- if (hasVersion()) {
- result = result && (getVersion()
- == other.getVersion());
- }
- result = result && (hasPositional() == other.hasPositional());
- if (hasPositional()) {
- result = result && (getPositional()
- == other.getPositional());
- }
- result = result && (hasPushToTalk() == other.hasPushToTalk());
- if (hasPushToTalk()) {
- result = result && (getPushToTalk()
- == other.getPushToTalk());
- }
- result = result && unknownFields.equals(other.unknownFields);
- return result;
+ 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
@@ -31262,78 +40482,87 @@ 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 (getSessionTextureCount() > 0) {
+ hash = (37 * hash) + SESSION_TEXTURE_FIELD_NUMBER;
+ hash = (53 * hash) + getSessionTextureList().hashCode();
}
- if (hasPositional()) {
- hash = (37 * hash) + POSITIONAL_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
- getPositional());
+ if (getSessionCommentCount() > 0) {
+ hash = (37 * hash) + SESSION_COMMENT_FIELD_NUMBER;
+ hash = (53 * hash) + getSessionCommentList().hashCode();
}
- if (hasPushToTalk()) {
- hash = (37 * hash) + PUSH_TO_TALK_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
- getPushToTalk());
+ if (getChannelDescriptionCount() > 0) {
+ hash = (37 * hash) + CHANNEL_DESCRIPTION_FIELD_NUMBER;
+ hash = (53 * hash) + getChannelDescriptionList().hashCode();
}
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.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.SuggestConfig parseFrom(
+ 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.SuggestConfig parseFrom(byte[] data)
+ 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.SuggestConfig parseFrom(
+ 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.SuggestConfig parseFrom(java.io.InputStream input)
+ 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.SuggestConfig parseFrom(
+ 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.SuggestConfig parseDelimitedFrom(java.io.InputStream input)
+ 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.SuggestConfig parseDelimitedFrom(
+ 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.SuggestConfig parseFrom(
+ 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.SuggestConfig parseFrom(
+ public static se.lublin.humla.protobuf.Mumble.RequestBlob parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -31341,13 +40570,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.RequestBlob 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 +40591,37 @@ public final class Mumble {
return builder;
}
/**
- * Protobuf type {@code MumbleProto.SuggestConfig}
+ * <pre>
+ * 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.
+ * </pre>
+ *
+ * Protobuf type {@code MumbleProto.RequestBlob}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
- // @@protoc_insertion_point(builder_implements:MumbleProto.SuggestConfig)
- se.lublin.humla.protobuf.Mumble.SuggestConfigOrBuilder {
+ // @@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_SuggestConfig_descriptor;
+ return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_RequestBlob_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_RequestBlob_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- se.lublin.humla.protobuf.Mumble.SuggestConfig.class, se.lublin.humla.protobuf.Mumble.SuggestConfig.Builder.class);
+ se.lublin.humla.protobuf.Mumble.RequestBlob.class, se.lublin.humla.protobuf.Mumble.RequestBlob.Builder.class);
}
- // Construct using se.lublin.humla.protobuf.Mumble.SuggestConfig.newBuilder()
+ // Construct using se.lublin.humla.protobuf.Mumble.RequestBlob.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
@@ -31393,119 +40636,155 @@ public final class Mumble {
.alwaysUseFieldBuilders) {
}
}
+ @java.lang.Override
public Builder clear() {
super.clear();
- version_ = 0;
+ sessionTexture_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
- positional_ = false;
+ sessionComment_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000002);
- pushToTalk_ = false;
+ channelDescription_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000004);
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_RequestBlob_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.RequestBlob getDefaultInstanceForType() {
+ return se.lublin.humla.protobuf.Mumble.RequestBlob.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.RequestBlob build() {
+ se.lublin.humla.protobuf.Mumble.RequestBlob 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.RequestBlob buildPartial() {
+ se.lublin.humla.protobuf.Mumble.RequestBlob result = new se.lublin.humla.protobuf.Mumble.RequestBlob(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ sessionTexture_.makeImmutable();
+ bitField0_ = (bitField0_ & ~0x00000001);
}
- result.version_ = version_;
- if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
- to_bitField0_ |= 0x00000002;
+ result.sessionTexture_ = sessionTexture_;
+ if (((bitField0_ & 0x00000002) != 0)) {
+ sessionComment_.makeImmutable();
+ bitField0_ = (bitField0_ & ~0x00000002);
}
- result.positional_ = positional_;
- if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
- to_bitField0_ |= 0x00000004;
+ result.sessionComment_ = sessionComment_;
+ if (((bitField0_ & 0x00000004) != 0)) {
+ channelDescription_.makeImmutable();
+ bitField0_ = (bitField0_ & ~0x00000004);
}
- result.pushToTalk_ = pushToTalk_;
- result.bitField0_ = to_bitField0_;
+ result.channelDescription_ = channelDescription_;
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.RequestBlob) {
+ return mergeFrom((se.lublin.humla.protobuf.Mumble.RequestBlob)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.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();
}
- if (other.hasPositional()) {
- setPositional(other.getPositional());
+ if (!other.sessionComment_.isEmpty()) {
+ if (sessionComment_.isEmpty()) {
+ sessionComment_ = other.sessionComment_;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ } else {
+ ensureSessionCommentIsMutable();
+ sessionComment_.addAll(other.sessionComment_);
+ }
+ onChanged();
}
- if (other.hasPushToTalk()) {
- setPushToTalk(other.getPushToTalk());
+ if (!other.channelDescription_.isEmpty()) {
+ if (channelDescription_.isEmpty()) {
+ channelDescription_ = other.channelDescription_;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ } else {
+ ensureChannelDescriptionIsMutable();
+ channelDescription_.addAll(other.channelDescription_);
+ }
+ onChanged();
}
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.RequestBlob 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.RequestBlob) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
@@ -31516,208 +40795,533 @@ public final class Mumble {
}
private int bitField0_;
- private int version_ ;
+ private com.google.protobuf.Internal.IntList sessionTexture_ = emptyIntList();
+ private void ensureSessionTextureIsMutable() {
+ if (!((bitField0_ & 0x00000001) != 0)) {
+ sessionTexture_ = mutableCopy(sessionTexture_);
+ bitField0_ |= 0x00000001;
+ }
+ }
/**
- * <code>optional uint32 version = 1;</code>
+ * <pre>
+ * sessions of the requested UserState textures.
+ * </pre>
+ *
+ * <code>repeated uint32 session_texture = 1;</code>
+ * @return A list containing the sessionTexture.
*/
- public boolean hasVersion() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ public java.util.List<java.lang.Integer>
+ getSessionTextureList() {
+ return ((bitField0_ & 0x00000001) != 0) ?
+ java.util.Collections.unmodifiableList(sessionTexture_) : sessionTexture_;
}
/**
- * <code>optional uint32 version = 1;</code>
+ * <pre>
+ * sessions of the requested UserState textures.
+ * </pre>
+ *
+ * <code>repeated uint32 session_texture = 1;</code>
+ * @return The count of sessionTexture.
*/
- public int getVersion() {
- return version_;
+ public int getSessionTextureCount() {
+ return sessionTexture_.size();
}
/**
- * <code>optional uint32 version = 1;</code>
+ * <pre>
+ * sessions of the requested UserState textures.
+ * </pre>
+ *
+ * <code>repeated uint32 session_texture = 1;</code>
+ * @param index The index of the element to return.
+ * @return The sessionTexture at the given index.
*/
- public Builder setVersion(int value) {
- bitField0_ |= 0x00000001;
- version_ = value;
+ public int getSessionTexture(int index) {
+ return sessionTexture_.getInt(index);
+ }
+ /**
+ * <pre>
+ * sessions of the requested UserState textures.
+ * </pre>
+ *
+ * <code>repeated uint32 session_texture = 1;</code>
+ * @param index The index to set the value at.
+ * @param value The sessionTexture to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSessionTexture(
+ int index, int value) {
+ ensureSessionTextureIsMutable();
+ sessionTexture_.setInt(index, value);
onChanged();
return this;
}
/**
- * <code>optional uint32 version = 1;</code>
+ * <pre>
+ * sessions of the requested UserState textures.
+ * </pre>
+ *
+ * <code>repeated uint32 session_texture = 1;</code>
+ * @param value The sessionTexture to add.
+ * @return This builder for chaining.
*/
- public Builder clearVersion() {
+ public Builder addSessionTexture(int value) {
+ ensureSessionTextureIsMutable();
+ sessionTexture_.addInt(value);
+ onChanged();
+ return this;
+ }
+ /**
+ * <pre>
+ * sessions of the requested UserState textures.
+ * </pre>
+ *
+ * <code>repeated uint32 session_texture = 1;</code>
+ * @param values The sessionTexture to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllSessionTexture(
+ java.lang.Iterable<? extends java.lang.Integer> values) {
+ ensureSessionTextureIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, sessionTexture_);
+ onChanged();
+ return this;
+ }
+ /**
+ * <pre>
+ * sessions of the requested UserState textures.
+ * </pre>
+ *
+ * <code>repeated uint32 session_texture = 1;</code>
+ * @return This builder for chaining.
+ */
+ public Builder clearSessionTexture() {
+ sessionTexture_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
- version_ = 0;
onChanged();
return this;
}
- private boolean positional_ ;
+ private com.google.protobuf.Internal.IntList sessionComment_ = emptyIntList();
+ private void ensureSessionCommentIsMutable() {
+ if (!((bitField0_ & 0x00000002) != 0)) {
+ sessionComment_ = mutableCopy(sessionComment_);
+ bitField0_ |= 0x00000002;
+ }
+ }
/**
- * <code>optional bool positional = 2;</code>
+ * <pre>
+ * sessions of the requested UserState comments.
+ * </pre>
+ *
+ * <code>repeated uint32 session_comment = 2;</code>
+ * @return A list containing the sessionComment.
*/
- public boolean hasPositional() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ public java.util.List<java.lang.Integer>
+ getSessionCommentList() {
+ return ((bitField0_ & 0x00000002) != 0) ?
+ java.util.Collections.unmodifiableList(sessionComment_) : sessionComment_;
}
/**
- * <code>optional bool positional = 2;</code>
+ * <pre>
+ * sessions of the requested UserState comments.
+ * </pre>
+ *
+ * <code>repeated uint32 session_comment = 2;</code>
+ * @return The count of sessionComment.
*/
- public boolean getPositional() {
- return positional_;
+ public int getSessionCommentCount() {
+ return sessionComment_.size();
}
/**
- * <code>optional bool positional = 2;</code>
+ * <pre>
+ * sessions of the requested UserState comments.
+ * </pre>
+ *
+ * <code>repeated uint32 session_comment = 2;</code>
+ * @param index The index of the element to return.
+ * @return The sessionComment at the given index.
*/
- public Builder setPositional(boolean value) {
- bitField0_ |= 0x00000002;
- positional_ = value;
+ public int getSessionComment(int index) {
+ return sessionComment_.getInt(index);
+ }
+ /**
+ * <pre>
+ * sessions of the requested UserState comments.
+ * </pre>
+ *
+ * <code>repeated uint32 session_comment = 2;</code>
+ * @param index The index to set the value at.
+ * @param value The sessionComment to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSessionComment(
+ int index, int value) {
+ ensureSessionCommentIsMutable();
+ sessionComment_.setInt(index, value);
onChanged();
return this;
}
/**
- * <code>optional bool positional = 2;</code>
+ * <pre>
+ * sessions of the requested UserState comments.
+ * </pre>
+ *
+ * <code>repeated uint32 session_comment = 2;</code>
+ * @param value The sessionComment to add.
+ * @return This builder for chaining.
*/
- public Builder clearPositional() {
+ public Builder addSessionComment(int value) {
+ ensureSessionCommentIsMutable();
+ sessionComment_.addInt(value);
+ onChanged();
+ return this;
+ }
+ /**
+ * <pre>
+ * sessions of the requested UserState comments.
+ * </pre>
+ *
+ * <code>repeated uint32 session_comment = 2;</code>
+ * @param values The sessionComment to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllSessionComment(
+ java.lang.Iterable<? extends java.lang.Integer> values) {
+ ensureSessionCommentIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, sessionComment_);
+ onChanged();
+ return this;
+ }
+ /**
+ * <pre>
+ * sessions of the requested UserState comments.
+ * </pre>
+ *
+ * <code>repeated uint32 session_comment = 2;</code>
+ * @return This builder for chaining.
+ */
+ public Builder clearSessionComment() {
+ sessionComment_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000002);
- positional_ = false;
onChanged();
return this;
}
- private boolean pushToTalk_ ;
+ private com.google.protobuf.Internal.IntList channelDescription_ = emptyIntList();
+ private void ensureChannelDescriptionIsMutable() {
+ if (!((bitField0_ & 0x00000004) != 0)) {
+ channelDescription_ = mutableCopy(channelDescription_);
+ bitField0_ |= 0x00000004;
+ }
+ }
/**
- * <code>optional bool push_to_talk = 3;</code>
+ * <pre>
+ * channel_ids of the requested ChannelState descriptions.
+ * </pre>
+ *
+ * <code>repeated uint32 channel_description = 3;</code>
+ * @return A list containing the channelDescription.
*/
- public boolean hasPushToTalk() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ public java.util.List<java.lang.Integer>
+ getChannelDescriptionList() {
+ return ((bitField0_ & 0x00000004) != 0) ?
+ java.util.Collections.unmodifiableList(channelDescription_) : channelDescription_;
}
/**
- * <code>optional bool push_to_talk = 3;</code>
+ * <pre>
+ * channel_ids of the requested ChannelState descriptions.
+ * </pre>
+ *
+ * <code>repeated uint32 channel_description = 3;</code>
+ * @return The count of channelDescription.
*/
- public boolean getPushToTalk() {
- return pushToTalk_;
+ public int getChannelDescriptionCount() {
+ return channelDescription_.size();
}
/**
- * <code>optional bool push_to_talk = 3;</code>
+ * <pre>
+ * channel_ids of the requested ChannelState descriptions.
+ * </pre>
+ *
+ * <code>repeated uint32 channel_description = 3;</code>
+ * @param index The index of the element to return.
+ * @return The channelDescription at the given index.
*/
- public Builder setPushToTalk(boolean value) {
- bitField0_ |= 0x00000004;
- pushToTalk_ = value;
+ public int getChannelDescription(int index) {
+ return channelDescription_.getInt(index);
+ }
+ /**
+ * <pre>
+ * channel_ids of the requested ChannelState descriptions.
+ * </pre>
+ *
+ * <code>repeated uint32 channel_description = 3;</code>
+ * @param index The index to set the value at.
+ * @param value The channelDescription to set.
+ * @return This builder for chaining.
+ */
+ public Builder setChannelDescription(
+ int index, int value) {
+ ensureChannelDescriptionIsMutable();
+ channelDescription_.setInt(index, value);
onChanged();
return this;
}
/**
- * <code>optional bool push_to_talk = 3;</code>
+ * <pre>
+ * channel_ids of the requested ChannelState descriptions.
+ * </pre>
+ *
+ * <code>repeated uint32 channel_description = 3;</code>
+ * @param value The channelDescription to add.
+ * @return This builder for chaining.
*/
- public Builder clearPushToTalk() {
+ public Builder addChannelDescription(int value) {
+ ensureChannelDescriptionIsMutable();
+ channelDescription_.addInt(value);
+ onChanged();
+ return this;
+ }
+ /**
+ * <pre>
+ * channel_ids of the requested ChannelState descriptions.
+ * </pre>
+ *
+ * <code>repeated uint32 channel_description = 3;</code>
+ * @param values The channelDescription to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllChannelDescription(
+ java.lang.Iterable<? extends java.lang.Integer> values) {
+ ensureChannelDescriptionIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, channelDescription_);
+ onChanged();
+ return this;
+ }
+ /**
+ * <pre>
+ * channel_ids of the requested ChannelState descriptions.
+ * </pre>
+ *
+ * <code>repeated uint32 channel_description = 3;</code>
+ * @return This builder for chaining.
+ */
+ public Builder clearChannelDescription() {
+ channelDescription_ = emptyIntList();
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.SuggestConfig)
+ // @@protoc_insertion_point(builder_scope:MumbleProto.RequestBlob)
}
- // @@protoc_insertion_point(class_scope:MumbleProto.SuggestConfig)
- private static final se.lublin.humla.protobuf.Mumble.SuggestConfig 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.SuggestConfig();
+ DEFAULT_INSTANCE = new se.lublin.humla.protobuf.Mumble.RequestBlob();
}
- public static se.lublin.humla.protobuf.Mumble.SuggestConfig getDefaultInstance() {
+ public static se.lublin.humla.protobuf.Mumble.RequestBlob getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- @java.lang.Deprecated public static final com.google.protobuf.Parser<SuggestConfig>
- PARSER = new com.google.protobuf.AbstractParser<SuggestConfig>() {
- public SuggestConfig parsePartialFrom(
+ @java.lang.Deprecated public static final com.google.protobuf.Parser<RequestBlob>
+ PARSER = new com.google.protobuf.AbstractParser<RequestBlob>() {
+ @java.lang.Override
+ public RequestBlob parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new SuggestConfig(input, extensionRegistry);
+ return new RequestBlob(input, extensionRegistry);
}
};
- public static com.google.protobuf.Parser<SuggestConfig> parser() {
+ public static com.google.protobuf.Parser<RequestBlob> parser() {
return PARSER;
}
@java.lang.Override
- public com.google.protobuf.Parser<SuggestConfig> getParserForType() {
+ public com.google.protobuf.Parser<RequestBlob> getParserForType() {
return PARSER;
}
- public se.lublin.humla.protobuf.Mumble.SuggestConfig getDefaultInstanceForType() {
+ @java.lang.Override
+ public se.lublin.humla.protobuf.Mumble.RequestBlob getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
- public interface RequestBlobOrBuilder extends
- // @@protoc_insertion_point(interface_extends:MumbleProto.RequestBlob)
+ public interface ServerConfigOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:MumbleProto.ServerConfig)
com.google.protobuf.MessageOrBuilder {
/**
- * <code>repeated uint32 session_texture = 1;</code>
+ * <pre>
+ * The maximum bandwidth the clients should use.
+ * </pre>
+ *
+ * <code>optional uint32 max_bandwidth = 1;</code>
+ * @return Whether the maxBandwidth field is set.
*/
- java.util.List<java.lang.Integer> getSessionTextureList();
+ boolean hasMaxBandwidth();
/**
- * <code>repeated uint32 session_texture = 1;</code>
+ * <pre>
+ * The maximum bandwidth the clients should use.
+ * </pre>
+ *
+ * <code>optional uint32 max_bandwidth = 1;</code>
+ * @return The maxBandwidth.
*/
- int getSessionTextureCount();
+ int getMaxBandwidth();
+
/**
- * <code>repeated uint32 session_texture = 1;</code>
+ * <pre>
+ * Server welcome text.
+ * </pre>
+ *
+ * <code>optional string welcome_text = 2;</code>
+ * @return Whether the welcomeText field is set.
*/
- int getSessionTexture(int index);
+ boolean hasWelcomeText();
+ /**
+ * <pre>
+ * Server welcome text.
+ * </pre>
+ *
+ * <code>optional string welcome_text = 2;</code>
+ * @return The welcomeText.
+ */
+ java.lang.String getWelcomeText();
+ /**
+ * <pre>
+ * Server welcome text.
+ * </pre>
+ *
+ * <code>optional string welcome_text = 2;</code>
+ * @return The bytes for welcomeText.
+ */
+ com.google.protobuf.ByteString
+ getWelcomeTextBytes();
/**
- * <code>repeated uint32 session_comment = 2;</code>
+ * <pre>
+ * True if the server allows HTML.
+ * </pre>
+ *
+ * <code>optional bool allow_html = 3;</code>
+ * @return Whether the allowHtml field is set.
*/
- java.util.List<java.lang.Integer> getSessionCommentList();
+ boolean hasAllowHtml();
/**
- * <code>repeated uint32 session_comment = 2;</code>
+ * <pre>
+ * True if the server allows HTML.
+ * </pre>
+ *
+ * <code>optional bool allow_html = 3;</code>
+ * @return The allowHtml.
*/
- int getSessionCommentCount();
+ boolean getAllowHtml();
+
/**
- * <code>repeated uint32 session_comment = 2;</code>
+ * <pre>
+ * Maximum text message length.
+ * </pre>
+ *
+ * <code>optional uint32 message_length = 4;</code>
+ * @return Whether the messageLength field is set.
*/
- int getSessionComment(int index);
+ boolean hasMessageLength();
+ /**
+ * <pre>
+ * Maximum text message length.
+ * </pre>
+ *
+ * <code>optional uint32 message_length = 4;</code>
+ * @return The messageLength.
+ */
+ int getMessageLength();
/**
- * <code>repeated uint32 channel_description = 3;</code>
+ * <pre>
+ * Maximum image message length.
+ * </pre>
+ *
+ * <code>optional uint32 image_message_length = 5;</code>
+ * @return Whether the imageMessageLength field is set.
*/
- java.util.List<java.lang.Integer> getChannelDescriptionList();
+ boolean hasImageMessageLength();
/**
- * <code>repeated uint32 channel_description = 3;</code>
+ * <pre>
+ * Maximum image message length.
+ * </pre>
+ *
+ * <code>optional uint32 image_message_length = 5;</code>
+ * @return The imageMessageLength.
*/
- int getChannelDescriptionCount();
+ int getImageMessageLength();
+
/**
- * <code>repeated uint32 channel_description = 3;</code>
+ * <pre>
+ * The maximum number of users allowed on the server.
+ * </pre>
+ *
+ * <code>optional uint32 max_users = 6;</code>
+ * @return Whether the maxUsers field is set.
*/
- int getChannelDescription(int index);
+ boolean hasMaxUsers();
+ /**
+ * <pre>
+ * The maximum number of users allowed on the server.
+ * </pre>
+ *
+ * <code>optional uint32 max_users = 6;</code>
+ * @return The maxUsers.
+ */
+ int getMaxUsers();
}
/**
- * Protobuf type {@code MumbleProto.RequestBlob}
+ * <pre>
+ * Sent by the server when it informs the clients on server configuration
+ * details.
+ * </pre>
+ *
+ * Protobuf type {@code MumbleProto.ServerConfig}
*/
- public static final class RequestBlob extends
+ public static final class ServerConfig 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.ServerConfig)
+ ServerConfigOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use ServerConfig.newBuilder() to construct.
+ private ServerConfig(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 ServerConfig() {
+ welcomeText_ = "";
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new ServerConfig();
}
@java.lang.Override
@@ -31725,11 +41329,14 @@ public final class Mumble {
getUnknownFields() {
return this.unknownFields;
}
- private RequestBlob(
+ 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();
@@ -31741,74 +41348,42 @@ public final class Mumble {
case 0:
done = true;
break;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- done = true;
- }
+ case 8: {
+ bitField0_ |= 0x00000001;
+ maxBandwidth_ = input.readUInt32();
break;
}
- case 8: {
- if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
- sessionTexture_ = new java.util.ArrayList<java.lang.Integer>();
- mutable_bitField0_ |= 0x00000001;
- }
- sessionTexture_.add(input.readUInt32());
+ case 18: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ bitField0_ |= 0x00000002;
+ welcomeText_ = bs;
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<java.lang.Integer>();
- mutable_bitField0_ |= 0x00000001;
- }
- while (input.getBytesUntilLimit() > 0) {
- sessionTexture_.add(input.readUInt32());
- }
- input.popLimit(limit);
+ case 24: {
+ bitField0_ |= 0x00000004;
+ allowHtml_ = input.readBool();
break;
}
- case 16: {
- if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
- sessionComment_ = new java.util.ArrayList<java.lang.Integer>();
- mutable_bitField0_ |= 0x00000002;
- }
- sessionComment_.add(input.readUInt32());
+ case 32: {
+ bitField0_ |= 0x00000008;
+ messageLength_ = 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<java.lang.Integer>();
- mutable_bitField0_ |= 0x00000002;
- }
- while (input.getBytesUntilLimit() > 0) {
- sessionComment_.add(input.readUInt32());
- }
- input.popLimit(limit);
+ case 40: {
+ bitField0_ |= 0x00000010;
+ imageMessageLength_ = input.readUInt32();
break;
}
- case 24: {
- if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
- channelDescription_ = new java.util.ArrayList<java.lang.Integer>();
- mutable_bitField0_ |= 0x00000004;
- }
- channelDescription_.add(input.readUInt32());
+ case 48: {
+ bitField0_ |= 0x00000020;
+ maxUsers_ = input.readUInt32();
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<java.lang.Integer>();
- 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 +41394,208 @@ 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_ServerConfig_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_ServerConfig_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- se.lublin.humla.protobuf.Mumble.RequestBlob.class, se.lublin.humla.protobuf.Mumble.RequestBlob.Builder.class);
+ se.lublin.humla.protobuf.Mumble.ServerConfig.class, se.lublin.humla.protobuf.Mumble.ServerConfig.Builder.class);
}
- public static final int SESSION_TEXTURE_FIELD_NUMBER = 1;
- private java.util.List<java.lang.Integer> sessionTexture_;
+ private int bitField0_;
+ public static final int MAX_BANDWIDTH_FIELD_NUMBER = 1;
+ private int maxBandwidth_;
/**
- * <code>repeated uint32 session_texture = 1;</code>
+ * <pre>
+ * The maximum bandwidth the clients should use.
+ * </pre>
+ *
+ * <code>optional uint32 max_bandwidth = 1;</code>
+ * @return Whether the maxBandwidth field is set.
*/
- public java.util.List<java.lang.Integer>
- getSessionTextureList() {
- return sessionTexture_;
+ public boolean hasMaxBandwidth() {
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
- * <code>repeated uint32 session_texture = 1;</code>
+ * <pre>
+ * The maximum bandwidth the clients should use.
+ * </pre>
+ *
+ * <code>optional uint32 max_bandwidth = 1;</code>
+ * @return The maxBandwidth.
*/
- public int getSessionTextureCount() {
- return sessionTexture_.size();
+ public int getMaxBandwidth() {
+ return maxBandwidth_;
}
+
+ public static final int WELCOME_TEXT_FIELD_NUMBER = 2;
+ private volatile java.lang.Object welcomeText_;
/**
- * <code>repeated uint32 session_texture = 1;</code>
+ * <pre>
+ * Server welcome text.
+ * </pre>
+ *
+ * <code>optional string welcome_text = 2;</code>
+ * @return Whether the welcomeText field is set.
*/
- public int getSessionTexture(int index) {
- return sessionTexture_.get(index);
+ public boolean hasWelcomeText() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ * <pre>
+ * Server welcome text.
+ * </pre>
+ *
+ * <code>optional string welcome_text = 2;</code>
+ * @return The welcomeText.
+ */
+ 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;
+ }
+ }
+ /**
+ * <pre>
+ * Server welcome text.
+ * </pre>
+ *
+ * <code>optional string welcome_text = 2;</code>
+ * @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 SESSION_COMMENT_FIELD_NUMBER = 2;
- private java.util.List<java.lang.Integer> sessionComment_;
+ public static final int ALLOW_HTML_FIELD_NUMBER = 3;
+ private boolean allowHtml_;
/**
- * <code>repeated uint32 session_comment = 2;</code>
+ * <pre>
+ * True if the server allows HTML.
+ * </pre>
+ *
+ * <code>optional bool allow_html = 3;</code>
+ * @return Whether the allowHtml field is set.
*/
- public java.util.List<java.lang.Integer>
- getSessionCommentList() {
- return sessionComment_;
+ public boolean hasAllowHtml() {
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
- * <code>repeated uint32 session_comment = 2;</code>
+ * <pre>
+ * True if the server allows HTML.
+ * </pre>
+ *
+ * <code>optional bool allow_html = 3;</code>
+ * @return The allowHtml.
*/
- public int getSessionCommentCount() {
- return sessionComment_.size();
+ public boolean getAllowHtml() {
+ return allowHtml_;
}
+
+ public static final int MESSAGE_LENGTH_FIELD_NUMBER = 4;
+ private int messageLength_;
/**
- * <code>repeated uint32 session_comment = 2;</code>
+ * <pre>
+ * Maximum text message length.
+ * </pre>
+ *
+ * <code>optional uint32 message_length = 4;</code>
+ * @return Whether the messageLength field is set.
*/
- public int getSessionComment(int index) {
- return sessionComment_.get(index);
+ public boolean hasMessageLength() {
+ return ((bitField0_ & 0x00000008) != 0);
+ }
+ /**
+ * <pre>
+ * Maximum text message length.
+ * </pre>
+ *
+ * <code>optional uint32 message_length = 4;</code>
+ * @return The messageLength.
+ */
+ public int getMessageLength() {
+ return messageLength_;
}
- public static final int CHANNEL_DESCRIPTION_FIELD_NUMBER = 3;
- private java.util.List<java.lang.Integer> channelDescription_;
+ public static final int IMAGE_MESSAGE_LENGTH_FIELD_NUMBER = 5;
+ private int imageMessageLength_;
/**
- * <code>repeated uint32 channel_description = 3;</code>
+ * <pre>
+ * Maximum image message length.
+ * </pre>
+ *
+ * <code>optional uint32 image_message_length = 5;</code>
+ * @return Whether the imageMessageLength field is set.
*/
- public java.util.List<java.lang.Integer>
- getChannelDescriptionList() {
- return channelDescription_;
+ public boolean hasImageMessageLength() {
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
- * <code>repeated uint32 channel_description = 3;</code>
+ * <pre>
+ * Maximum image message length.
+ * </pre>
+ *
+ * <code>optional uint32 image_message_length = 5;</code>
+ * @return The imageMessageLength.
*/
- public int getChannelDescriptionCount() {
- return channelDescription_.size();
+ public int getImageMessageLength() {
+ return imageMessageLength_;
}
+
+ public static final int MAX_USERS_FIELD_NUMBER = 6;
+ private int maxUsers_;
/**
- * <code>repeated uint32 channel_description = 3;</code>
+ * <pre>
+ * The maximum number of users allowed on the server.
+ * </pre>
+ *
+ * <code>optional uint32 max_users = 6;</code>
+ * @return Whether the maxUsers field is set.
*/
- public int getChannelDescription(int index) {
- return channelDescription_.get(index);
+ public boolean hasMaxUsers() {
+ return ((bitField0_ & 0x00000020) != 0);
+ }
+ /**
+ * <pre>
+ * The maximum number of users allowed on the server.
+ * </pre>
+ *
+ * <code>optional uint32 max_users = 6;</code>
+ * @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;
@@ -31920,77 +41605,106 @@ 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, maxBandwidth_);
}
- for (int i = 0; i < sessionComment_.size(); i++) {
- output.writeUInt32(2, sessionComment_.get(i));
+ if (((bitField0_ & 0x00000002) != 0)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, welcomeText_);
}
- for (int i = 0; i < channelDescription_.size(); i++) {
- output.writeUInt32(3, channelDescription_.get(i));
+ 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;
- {
- 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, maxBandwidth_);
}
- {
- 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.GeneratedMessageV3.computeStringSize(2, welcomeText_);
}
- {
- 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, allowHtml_);
+ }
+ if (((bitField0_ & 0x00000008) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .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.RequestBlob)) {
+ if (!(obj instanceof se.lublin.humla.protobuf.Mumble.ServerConfig)) {
return super.equals(obj);
}
- se.lublin.humla.protobuf.Mumble.RequestBlob other = (se.lublin.humla.protobuf.Mumble.RequestBlob) obj;
+ se.lublin.humla.protobuf.Mumble.ServerConfig other = (se.lublin.humla.protobuf.Mumble.ServerConfig) 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 (hasMaxBandwidth() != other.hasMaxBandwidth()) return false;
+ if (hasMaxBandwidth()) {
+ if (getMaxBandwidth()
+ != other.getMaxBandwidth()) return false;
+ }
+ if (hasWelcomeText() != other.hasWelcomeText()) return false;
+ if (hasWelcomeText()) {
+ if (!getWelcomeText()
+ .equals(other.getWelcomeText())) return false;
+ }
+ 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;
+ }
+ 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
@@ -31999,76 +41713,100 @@ 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 (hasMaxBandwidth()) {
+ hash = (37 * hash) + MAX_BANDWIDTH_FIELD_NUMBER;
+ hash = (53 * hash) + getMaxBandwidth();
}
- if (getSessionCommentCount() > 0) {
- hash = (37 * hash) + SESSION_COMMENT_FIELD_NUMBER;
- hash = (53 * hash) + getSessionCommentList().hashCode();
+ if (hasWelcomeText()) {
+ hash = (37 * hash) + WELCOME_TEXT_FIELD_NUMBER;
+ hash = (53 * hash) + getWelcomeText().hashCode();
}
- if (getChannelDescriptionCount() > 0) {
- hash = (37 * hash) + CHANNEL_DESCRIPTION_FIELD_NUMBER;
- hash = (53 * hash) + getChannelDescriptionList().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 (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.RequestBlob 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.RequestBlob 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.RequestBlob 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.RequestBlob 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.RequestBlob 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.RequestBlob 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.RequestBlob 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.RequestBlob 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.RequestBlob 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.RequestBlob parseFrom(
+ public static se.lublin.humla.protobuf.Mumble.ServerConfig parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -32076,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.RequestBlob 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);
@@ -32095,25 +41835,31 @@ public final class Mumble {
return builder;
}
/**
- * Protobuf type {@code MumbleProto.RequestBlob}
+ * <pre>
+ * Sent by the server when it informs the clients on server configuration
+ * details.
+ * </pre>
+ *
+ * Protobuf type {@code MumbleProto.ServerConfig}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
- // @@protoc_insertion_point(builder_implements:MumbleProto.RequestBlob)
- se.lublin.humla.protobuf.Mumble.RequestBlobOrBuilder {
+ // @@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_RequestBlob_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_RequestBlob_fieldAccessorTable
+ return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ServerConfig_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- se.lublin.humla.protobuf.Mumble.RequestBlob.class, se.lublin.humla.protobuf.Mumble.RequestBlob.Builder.class);
+ se.lublin.humla.protobuf.Mumble.ServerConfig.class, se.lublin.humla.protobuf.Mumble.ServerConfig.Builder.class);
}
- // Construct using se.lublin.humla.protobuf.Mumble.RequestBlob.newBuilder()
+ // Construct using se.lublin.humla.protobuf.Mumble.ServerConfig.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
@@ -32128,141 +41874,162 @@ public final class Mumble {
.alwaysUseFieldBuilders) {
}
}
+ @java.lang.Override
public Builder clear() {
super.clear();
- sessionTexture_ = java.util.Collections.emptyList();
+ maxBandwidth_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
- sessionComment_ = java.util.Collections.emptyList();
+ welcomeText_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
- channelDescription_ = java.util.Collections.emptyList();
+ 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_RequestBlob_descriptor;
+ return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_ServerConfig_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.ServerConfig getDefaultInstanceForType() {
+ return se.lublin.humla.protobuf.Mumble.ServerConfig.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.ServerConfig build() {
+ se.lublin.humla.protobuf.Mumble.ServerConfig 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.ServerConfig buildPartial() {
+ se.lublin.humla.protobuf.Mumble.ServerConfig result = new se.lublin.humla.protobuf.Mumble.ServerConfig(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.maxBandwidth_ = maxBandwidth_;
+ to_bitField0_ |= 0x00000001;
}
- result.sessionTexture_ = sessionTexture_;
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- sessionComment_ = java.util.Collections.unmodifiableList(sessionComment_);
- bitField0_ = (bitField0_ & ~0x00000002);
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ to_bitField0_ |= 0x00000002;
}
- result.sessionComment_ = sessionComment_;
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- channelDescription_ = java.util.Collections.unmodifiableList(channelDescription_);
- bitField0_ = (bitField0_ & ~0x00000004);
+ result.welcomeText_ = welcomeText_;
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.allowHtml_ = allowHtml_;
+ to_bitField0_ |= 0x00000004;
}
- result.channelDescription_ = channelDescription_;
+ 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.RequestBlob) {
- return mergeFrom((se.lublin.humla.protobuf.Mumble.RequestBlob)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.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.ServerConfig other) {
+ if (other == se.lublin.humla.protobuf.Mumble.ServerConfig.getDefaultInstance()) return this;
+ if (other.hasMaxBandwidth()) {
+ setMaxBandwidth(other.getMaxBandwidth());
}
- if (!other.sessionComment_.isEmpty()) {
- if (sessionComment_.isEmpty()) {
- sessionComment_ = other.sessionComment_;
- bitField0_ = (bitField0_ & ~0x00000002);
- } else {
- ensureSessionCommentIsMutable();
- sessionComment_.addAll(other.sessionComment_);
- }
+ if (other.hasWelcomeText()) {
+ bitField0_ |= 0x00000002;
+ welcomeText_ = other.welcomeText_;
onChanged();
}
- if (!other.channelDescription_.isEmpty()) {
- if (channelDescription_.isEmpty()) {
- channelDescription_ = other.channelDescription_;
- bitField0_ = (bitField0_ & ~0x00000004);
- } else {
- ensureChannelDescriptionIsMutable();
- channelDescription_.addAll(other.channelDescription_);
- }
- onChanged();
+ 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.RequestBlob 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.RequestBlob) e.getUnfinishedMessage();
+ parsedMessage = (se.lublin.humla.protobuf.Mumble.ServerConfig) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
@@ -32273,247 +42040,1251 @@ public final class Mumble {
}
private int bitField0_;
- private java.util.List<java.lang.Integer> sessionTexture_ = java.util.Collections.emptyList();
- private void ensureSessionTextureIsMutable() {
- if (!((bitField0_ & 0x00000001) == 0x00000001)) {
- sessionTexture_ = new java.util.ArrayList<java.lang.Integer>(sessionTexture_);
- bitField0_ |= 0x00000001;
- }
+ private int maxBandwidth_ ;
+ /**
+ * <pre>
+ * The maximum bandwidth the clients should use.
+ * </pre>
+ *
+ * <code>optional uint32 max_bandwidth = 1;</code>
+ * @return Whether the maxBandwidth field is set.
+ */
+ public boolean hasMaxBandwidth() {
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
- * <code>repeated uint32 session_texture = 1;</code>
+ * <pre>
+ * The maximum bandwidth the clients should use.
+ * </pre>
+ *
+ * <code>optional uint32 max_bandwidth = 1;</code>
+ * @return The maxBandwidth.
*/
- public java.util.List<java.lang.Integer>
- getSessionTextureList() {
- return java.util.Collections.unmodifiableList(sessionTexture_);
+ public int getMaxBandwidth() {
+ return maxBandwidth_;
}
/**
- * <code>repeated uint32 session_texture = 1;</code>
+ * <pre>
+ * The maximum bandwidth the clients should use.
+ * </pre>
+ *
+ * <code>optional uint32 max_bandwidth = 1;</code>
+ * @param value The maxBandwidth to set.
+ * @return This builder for chaining.
*/
- public int getSessionTextureCount() {
- return sessionTexture_.size();
+ public Builder setMaxBandwidth(int value) {
+ bitField0_ |= 0x00000001;
+ maxBandwidth_ = value;
+ onChanged();
+ return this;
}
/**
- * <code>repeated uint32 session_texture = 1;</code>
+ * <pre>
+ * The maximum bandwidth the clients should use.
+ * </pre>
+ *
+ * <code>optional uint32 max_bandwidth = 1;</code>
+ * @return This builder for chaining.
*/
- public int getSessionTexture(int index) {
- return sessionTexture_.get(index);
+ public Builder clearMaxBandwidth() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ maxBandwidth_ = 0;
+ onChanged();
+ return this;
}
+
+ private java.lang.Object welcomeText_ = "";
/**
- * <code>repeated uint32 session_texture = 1;</code>
+ * <pre>
+ * Server welcome text.
+ * </pre>
+ *
+ * <code>optional string welcome_text = 2;</code>
+ * @return Whether the welcomeText field is set.
*/
- public Builder setSessionTexture(
- int index, int value) {
- ensureSessionTextureIsMutable();
- sessionTexture_.set(index, value);
+ public boolean hasWelcomeText() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ * <pre>
+ * Server welcome text.
+ * </pre>
+ *
+ * <code>optional string welcome_text = 2;</code>
+ * @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;
+ }
+ }
+ /**
+ * <pre>
+ * Server welcome text.
+ * </pre>
+ *
+ * <code>optional string welcome_text = 2;</code>
+ * @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;
+ }
+ }
+ /**
+ * <pre>
+ * Server welcome text.
+ * </pre>
+ *
+ * <code>optional string welcome_text = 2;</code>
+ * @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;
}
/**
- * <code>repeated uint32 session_texture = 1;</code>
+ * <pre>
+ * Server welcome text.
+ * </pre>
+ *
+ * <code>optional string welcome_text = 2;</code>
+ * @return This builder for chaining.
*/
- public Builder addSessionTexture(int value) {
- ensureSessionTextureIsMutable();
- sessionTexture_.add(value);
+ public Builder clearWelcomeText() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ welcomeText_ = getDefaultInstance().getWelcomeText();
onChanged();
return this;
}
/**
- * <code>repeated uint32 session_texture = 1;</code>
+ * <pre>
+ * Server welcome text.
+ * </pre>
+ *
+ * <code>optional string welcome_text = 2;</code>
+ * @param value The bytes for welcomeText to set.
+ * @return This builder for chaining.
*/
- public Builder addAllSessionTexture(
- java.lang.Iterable<? extends java.lang.Integer> values) {
- ensureSessionTextureIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, sessionTexture_);
+ public Builder setWelcomeTextBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
+ welcomeText_ = value;
onChanged();
return this;
}
+
+ private boolean allowHtml_ ;
/**
- * <code>repeated uint32 session_texture = 1;</code>
+ * <pre>
+ * True if the server allows HTML.
+ * </pre>
+ *
+ * <code>optional bool allow_html = 3;</code>
+ * @return Whether the allowHtml field is set.
*/
- public Builder clearSessionTexture() {
- sessionTexture_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
+ public boolean hasAllowHtml() {
+ return ((bitField0_ & 0x00000004) != 0);
+ }
+ /**
+ * <pre>
+ * True if the server allows HTML.
+ * </pre>
+ *
+ * <code>optional bool allow_html = 3;</code>
+ * @return The allowHtml.
+ */
+ public boolean getAllowHtml() {
+ return allowHtml_;
+ }
+ /**
+ * <pre>
+ * True if the server allows HTML.
+ * </pre>
+ *
+ * <code>optional bool allow_html = 3;</code>
+ * @param value The allowHtml to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAllowHtml(boolean value) {
+ bitField0_ |= 0x00000004;
+ allowHtml_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <pre>
+ * True if the server allows HTML.
+ * </pre>
+ *
+ * <code>optional bool allow_html = 3;</code>
+ * @return This builder for chaining.
+ */
+ public Builder clearAllowHtml() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ allowHtml_ = false;
onChanged();
return this;
}
- private java.util.List<java.lang.Integer> sessionComment_ = java.util.Collections.emptyList();
- private void ensureSessionCommentIsMutable() {
- if (!((bitField0_ & 0x00000002) == 0x00000002)) {
- sessionComment_ = new java.util.ArrayList<java.lang.Integer>(sessionComment_);
- bitField0_ |= 0x00000002;
- }
+ private int messageLength_ ;
+ /**
+ * <pre>
+ * Maximum text message length.
+ * </pre>
+ *
+ * <code>optional uint32 message_length = 4;</code>
+ * @return Whether the messageLength field is set.
+ */
+ public boolean hasMessageLength() {
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
- * <code>repeated uint32 session_comment = 2;</code>
+ * <pre>
+ * Maximum text message length.
+ * </pre>
+ *
+ * <code>optional uint32 message_length = 4;</code>
+ * @return The messageLength.
*/
- public java.util.List<java.lang.Integer>
- getSessionCommentList() {
- return java.util.Collections.unmodifiableList(sessionComment_);
+ public int getMessageLength() {
+ return messageLength_;
}
/**
- * <code>repeated uint32 session_comment = 2;</code>
+ * <pre>
+ * Maximum text message length.
+ * </pre>
+ *
+ * <code>optional uint32 message_length = 4;</code>
+ * @param value The messageLength to set.
+ * @return This builder for chaining.
*/
- public int getSessionCommentCount() {
- return sessionComment_.size();
+ public Builder setMessageLength(int value) {
+ bitField0_ |= 0x00000008;
+ messageLength_ = value;
+ onChanged();
+ return this;
}
/**
- * <code>repeated uint32 session_comment = 2;</code>
+ * <pre>
+ * Maximum text message length.
+ * </pre>
+ *
+ * <code>optional uint32 message_length = 4;</code>
+ * @return This builder for chaining.
*/
- public int getSessionComment(int index) {
- return sessionComment_.get(index);
+ public Builder clearMessageLength() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ messageLength_ = 0;
+ onChanged();
+ return this;
}
+
+ private int imageMessageLength_ ;
/**
- * <code>repeated uint32 session_comment = 2;</code>
+ * <pre>
+ * Maximum image message length.
+ * </pre>
+ *
+ * <code>optional uint32 image_message_length = 5;</code>
+ * @return Whether the imageMessageLength field is set.
*/
- public Builder setSessionComment(
- int index, int value) {
- ensureSessionCommentIsMutable();
- sessionComment_.set(index, value);
+ public boolean hasImageMessageLength() {
+ return ((bitField0_ & 0x00000010) != 0);
+ }
+ /**
+ * <pre>
+ * Maximum image message length.
+ * </pre>
+ *
+ * <code>optional uint32 image_message_length = 5;</code>
+ * @return The imageMessageLength.
+ */
+ public int getImageMessageLength() {
+ return imageMessageLength_;
+ }
+ /**
+ * <pre>
+ * Maximum image message length.
+ * </pre>
+ *
+ * <code>optional uint32 image_message_length = 5;</code>
+ * @param value The imageMessageLength to set.
+ * @return This builder for chaining.
+ */
+ public Builder setImageMessageLength(int value) {
+ bitField0_ |= 0x00000010;
+ imageMessageLength_ = value;
onChanged();
return this;
}
/**
- * <code>repeated uint32 session_comment = 2;</code>
+ * <pre>
+ * Maximum image message length.
+ * </pre>
+ *
+ * <code>optional uint32 image_message_length = 5;</code>
+ * @return This builder for chaining.
*/
- public Builder addSessionComment(int value) {
- ensureSessionCommentIsMutable();
- sessionComment_.add(value);
+ public Builder clearImageMessageLength() {
+ bitField0_ = (bitField0_ & ~0x00000010);
+ imageMessageLength_ = 0;
onChanged();
return this;
}
+
+ private int maxUsers_ ;
/**
- * <code>repeated uint32 session_comment = 2;</code>
+ * <pre>
+ * The maximum number of users allowed on the server.
+ * </pre>
+ *
+ * <code>optional uint32 max_users = 6;</code>
+ * @return Whether the maxUsers field is set.
*/
- public Builder addAllSessionComment(
- java.lang.Iterable<? extends java.lang.Integer> values) {
- ensureSessionCommentIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, sessionComment_);
+ public boolean hasMaxUsers() {
+ return ((bitField0_ & 0x00000020) != 0);
+ }
+ /**
+ * <pre>
+ * The maximum number of users allowed on the server.
+ * </pre>
+ *
+ * <code>optional uint32 max_users = 6;</code>
+ * @return The maxUsers.
+ */
+ public int getMaxUsers() {
+ return maxUsers_;
+ }
+ /**
+ * <pre>
+ * The maximum number of users allowed on the server.
+ * </pre>
+ *
+ * <code>optional uint32 max_users = 6;</code>
+ * @param value The maxUsers to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMaxUsers(int value) {
+ bitField0_ |= 0x00000020;
+ maxUsers_ = value;
onChanged();
return this;
}
/**
- * <code>repeated uint32 session_comment = 2;</code>
+ * <pre>
+ * The maximum number of users allowed on the server.
+ * </pre>
+ *
+ * <code>optional uint32 max_users = 6;</code>
+ * @return This builder for chaining.
*/
- public Builder clearSessionComment() {
- sessionComment_ = java.util.Collections.emptyList();
+ 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.ServerConfig)
+ }
+
+ // @@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.ServerConfig();
+ }
+
+ public static se.lublin.humla.protobuf.Mumble.ServerConfig getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ @java.lang.Deprecated public static final com.google.protobuf.Parser<ServerConfig>
+ PARSER = new com.google.protobuf.AbstractParser<ServerConfig>() {
+ @java.lang.Override
+ public ServerConfig parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new ServerConfig(input, extensionRegistry);
+ }
+ };
+
+ public static com.google.protobuf.Parser<ServerConfig> parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser<ServerConfig> getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public se.lublin.humla.protobuf.Mumble.ServerConfig getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+ }
+
+ public interface SuggestConfigOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:MumbleProto.SuggestConfig)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * <pre>
+ * Suggested client version.
+ * </pre>
+ *
+ * <code>optional uint32 version = 1;</code>
+ * @return Whether the version field is set.
+ */
+ boolean hasVersion();
+ /**
+ * <pre>
+ * Suggested client version.
+ * </pre>
+ *
+ * <code>optional uint32 version = 1;</code>
+ * @return The version.
+ */
+ int getVersion();
+
+ /**
+ * <pre>
+ * True if the administrator suggests positional audio to be used on this
+ * server.
+ * </pre>
+ *
+ * <code>optional bool positional = 2;</code>
+ * @return Whether the positional field is set.
+ */
+ boolean hasPositional();
+ /**
+ * <pre>
+ * True if the administrator suggests positional audio to be used on this
+ * server.
+ * </pre>
+ *
+ * <code>optional bool positional = 2;</code>
+ * @return The positional.
+ */
+ boolean getPositional();
+
+ /**
+ * <pre>
+ * True if the administrator suggests push to talk to be used on this server.
+ * </pre>
+ *
+ * <code>optional bool push_to_talk = 3;</code>
+ * @return Whether the pushToTalk field is set.
+ */
+ boolean hasPushToTalk();
+ /**
+ * <pre>
+ * True if the administrator suggests push to talk to be used on this server.
+ * </pre>
+ *
+ * <code>optional bool push_to_talk = 3;</code>
+ * @return The pushToTalk.
+ */
+ boolean getPushToTalk();
+ }
+ /**
+ * <pre>
+ * Sent by the server to inform the clients of suggested client configuration
+ * specified by the server administrator.
+ * </pre>
+ *
+ * Protobuf type {@code MumbleProto.SuggestConfig}
+ */
+ public static final class SuggestConfig extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@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 SuggestConfig() {
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new SuggestConfig();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ 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();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 8: {
+ bitField0_ |= 0x00000001;
+ version_ = input.readUInt32();
+ break;
+ }
+ case 16: {
+ bitField0_ |= 0x00000002;
+ positional_ = input.readBool();
+ break;
+ }
+ case 24: {
+ bitField0_ |= 0x00000004;
+ pushToTalk_ = input.readBool();
+ 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 {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ 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_SuggestConfig_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ se.lublin.humla.protobuf.Mumble.SuggestConfig.class, se.lublin.humla.protobuf.Mumble.SuggestConfig.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int VERSION_FIELD_NUMBER = 1;
+ private int version_;
+ /**
+ * <pre>
+ * Suggested client version.
+ * </pre>
+ *
+ * <code>optional uint32 version = 1;</code>
+ * @return Whether the version field is set.
+ */
+ public boolean hasVersion() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ * <pre>
+ * Suggested client version.
+ * </pre>
+ *
+ * <code>optional uint32 version = 1;</code>
+ * @return The version.
+ */
+ public int getVersion() {
+ return version_;
+ }
+
+ public static final int POSITIONAL_FIELD_NUMBER = 2;
+ private boolean positional_;
+ /**
+ * <pre>
+ * True if the administrator suggests positional audio to be used on this
+ * server.
+ * </pre>
+ *
+ * <code>optional bool positional = 2;</code>
+ * @return Whether the positional field is set.
+ */
+ public boolean hasPositional() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ * <pre>
+ * True if the administrator suggests positional audio to be used on this
+ * server.
+ * </pre>
+ *
+ * <code>optional bool positional = 2;</code>
+ * @return The positional.
+ */
+ public boolean getPositional() {
+ return positional_;
+ }
+
+ public static final int PUSH_TO_TALK_FIELD_NUMBER = 3;
+ private boolean pushToTalk_;
+ /**
+ * <pre>
+ * True if the administrator suggests push to talk to be used on this server.
+ * </pre>
+ *
+ * <code>optional bool push_to_talk = 3;</code>
+ * @return Whether the pushToTalk field is set.
+ */
+ public boolean hasPushToTalk() {
+ return ((bitField0_ & 0x00000004) != 0);
+ }
+ /**
+ * <pre>
+ * True if the administrator suggests push to talk to be used on this server.
+ * </pre>
+ *
+ * <code>optional bool push_to_talk = 3;</code>
+ * @return The pushToTalk.
+ */
+ public boolean getPushToTalk() {
+ return pushToTalk_;
+ }
+
+ 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 {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeUInt32(1, version_);
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ output.writeBool(2, positional_);
+ }
+ 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;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(1, version_);
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(2, positional_);
+ }
+ if (((bitField0_ & 0x00000004) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(3, pushToTalk_);
+ }
+ 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.SuggestConfig)) {
+ return super.equals(obj);
+ }
+ se.lublin.humla.protobuf.Mumble.SuggestConfig other = (se.lublin.humla.protobuf.Mumble.SuggestConfig) obj;
+
+ 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
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasVersion()) {
+ hash = (37 * hash) + VERSION_FIELD_NUMBER;
+ hash = (53 * hash) + getVersion();
+ }
+ if (hasPositional()) {
+ hash = (37 * hash) + POSITIONAL_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getPositional());
+ }
+ 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.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.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.SuggestConfig parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ 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.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.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.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.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.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.SuggestConfig 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.SuggestConfig 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;
+ }
+ /**
+ * <pre>
+ * Sent by the server to inform the clients of suggested client configuration
+ * specified by the server administrator.
+ * </pre>
+ *
+ * Protobuf type {@code MumbleProto.SuggestConfig}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
+ // @@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_SuggestConfig_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return se.lublin.humla.protobuf.Mumble.internal_static_MumbleProto_SuggestConfig_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ se.lublin.humla.protobuf.Mumble.SuggestConfig.class, se.lublin.humla.protobuf.Mumble.SuggestConfig.Builder.class);
+ }
+
+ // Construct using se.lublin.humla.protobuf.Mumble.SuggestConfig.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ 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();
+ version_ = 0;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ positional_ = false;
bitField0_ = (bitField0_ & ~0x00000002);
+ 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_SuggestConfig_descriptor;
+ }
+
+ @java.lang.Override
+ 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.SuggestConfig build() {
+ se.lublin.humla.protobuf.Mumble.SuggestConfig result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @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_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.version_ = version_;
+ to_bitField0_ |= 0x00000001;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.positional_ = positional_;
+ to_bitField0_ |= 0x00000002;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.pushToTalk_ = pushToTalk_;
+ to_bitField0_ |= 0x00000004;
+ }
+ result.bitField0_ = to_bitField0_;
+ onBuilt();
+ return result;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) {
+ return super.setField(field, value);
+ }
+ @java.lang.Override
+ public Builder clearField(
+ com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+ @java.lang.Override
+ public Builder clearOneof(
+ com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ 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);
+ } 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());
+ }
+ if (other.hasPositional()) {
+ setPositional(other.getPositional());
+ }
+ if (other.hasPushToTalk()) {
+ setPushToTalk(other.getPushToTalk());
+ }
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
- private java.util.List<java.lang.Integer> channelDescription_ = java.util.Collections.emptyList();
- private void ensureChannelDescriptionIsMutable() {
- if (!((bitField0_ & 0x00000004) == 0x00000004)) {
- channelDescription_ = new java.util.ArrayList<java.lang.Integer>(channelDescription_);
- bitField0_ |= 0x00000004;
- }
+ @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;
+ 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_ ;
/**
- * <code>repeated uint32 channel_description = 3;</code>
+ * <pre>
+ * Suggested client version.
+ * </pre>
+ *
+ * <code>optional uint32 version = 1;</code>
+ * @return Whether the version field is set.
*/
- public java.util.List<java.lang.Integer>
- getChannelDescriptionList() {
- return java.util.Collections.unmodifiableList(channelDescription_);
+ public boolean hasVersion() {
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
- * <code>repeated uint32 channel_description = 3;</code>
+ * <pre>
+ * Suggested client version.
+ * </pre>
+ *
+ * <code>optional uint32 version = 1;</code>
+ * @return The version.
*/
- public int getChannelDescriptionCount() {
- return channelDescription_.size();
+ public int getVersion() {
+ return version_;
}
/**
- * <code>repeated uint32 channel_description = 3;</code>
+ * <pre>
+ * Suggested client version.
+ * </pre>
+ *
+ * <code>optional uint32 version = 1;</code>
+ * @param value The version to set.
+ * @return This builder for chaining.
*/
- public int getChannelDescription(int index) {
- return channelDescription_.get(index);
+ public Builder setVersion(int value) {
+ bitField0_ |= 0x00000001;
+ version_ = value;
+ onChanged();
+ return this;
}
/**
- * <code>repeated uint32 channel_description = 3;</code>
+ * <pre>
+ * Suggested client version.
+ * </pre>
+ *
+ * <code>optional uint32 version = 1;</code>
+ * @return This builder for chaining.
*/
- public Builder setChannelDescription(
- int index, int value) {
- ensureChannelDescriptionIsMutable();
- channelDescription_.set(index, value);
+ public Builder clearVersion() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ version_ = 0;
onChanged();
return this;
}
+
+ private boolean positional_ ;
/**
- * <code>repeated uint32 channel_description = 3;</code>
+ * <pre>
+ * True if the administrator suggests positional audio to be used on this
+ * server.
+ * </pre>
+ *
+ * <code>optional bool positional = 2;</code>
+ * @return Whether the positional field is set.
*/
- public Builder addChannelDescription(int value) {
- ensureChannelDescriptionIsMutable();
- channelDescription_.add(value);
+ public boolean hasPositional() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ * <pre>
+ * True if the administrator suggests positional audio to be used on this
+ * server.
+ * </pre>
+ *
+ * <code>optional bool positional = 2;</code>
+ * @return The positional.
+ */
+ public boolean getPositional() {
+ return positional_;
+ }
+ /**
+ * <pre>
+ * True if the administrator suggests positional audio to be used on this
+ * server.
+ * </pre>
+ *
+ * <code>optional bool positional = 2;</code>
+ * @param value The positional to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPositional(boolean value) {
+ bitField0_ |= 0x00000002;
+ positional_ = value;
onChanged();
return this;
}
/**
- * <code>repeated uint32 channel_description = 3;</code>
+ * <pre>
+ * True if the administrator suggests positional audio to be used on this
+ * server.
+ * </pre>
+ *
+ * <code>optional bool positional = 2;</code>
+ * @return This builder for chaining.
*/
- public Builder addAllChannelDescription(
- java.lang.Iterable<? extends java.lang.Integer> values) {
- ensureChannelDescriptionIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, channelDescription_);
+ public Builder clearPositional() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ positional_ = false;
onChanged();
return this;
}
+
+ private boolean pushToTalk_ ;
+ /**
+ * <pre>
+ * True if the administrator suggests push to talk to be used on this server.
+ * </pre>
+ *
+ * <code>optional bool push_to_talk = 3;</code>
+ * @return Whether the pushToTalk field is set.
+ */
+ public boolean hasPushToTalk() {
+ return ((bitField0_ & 0x00000004) != 0);
+ }
/**
- * <code>repeated uint32 channel_description = 3;</code>
+ * <pre>
+ * True if the administrator suggests push to talk to be used on this server.
+ * </pre>
+ *
+ * <code>optional bool push_to_talk = 3;</code>
+ * @return The pushToTalk.
*/
- public Builder clearChannelDescription() {
- channelDescription_ = java.util.Collections.emptyList();
+ public boolean getPushToTalk() {
+ return pushToTalk_;
+ }
+ /**
+ * <pre>
+ * True if the administrator suggests push to talk to be used on this server.
+ * </pre>
+ *
+ * <code>optional bool push_to_talk = 3;</code>
+ * @param value The pushToTalk to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPushToTalk(boolean value) {
+ bitField0_ |= 0x00000004;
+ pushToTalk_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <pre>
+ * True if the administrator suggests push to talk to be used on this server.
+ * </pre>
+ *
+ * <code>optional bool push_to_talk = 3;</code>
+ * @return This builder for chaining.
+ */
+ 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<RequestBlob>
- PARSER = new com.google.protobuf.AbstractParser<RequestBlob>() {
- public RequestBlob parsePartialFrom(
+ @java.lang.Deprecated public static final com.google.protobuf.Parser<SuggestConfig>
+ PARSER = new com.google.protobuf.AbstractParser<SuggestConfig>() {
+ @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<RequestBlob> parser() {
+ public static com.google.protobuf.Parser<SuggestConfig> parser() {
return PARSER;
}
@java.lang.Override
- public com.google.protobuf.Parser<RequestBlob> getParserForType() {
+ public com.google.protobuf.Parser<SuggestConfig> 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;
}
@@ -32545,11 +43316,6 @@ public final class Mumble {
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
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -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)