diff options
author | Andrew Comminos <andrew@comminos.com> | 2016-10-02 04:17:30 +0300 |
---|---|---|
committer | Andrew Comminos <andrew@comminos.com> | 2016-10-02 04:17:30 +0300 |
commit | 9933c8a0caa2bbd1a8fb28ab4c985bde73a76843 (patch) | |
tree | 5b818fd6add46816e9668a82bf10a22dadcdb5aa /src/main/java/com/morlunk/jumble | |
parent | 4de76b7395cee235cd4f537ec295b3c9bdc2ba50 (diff) |
Upgrade protobuf bindings to 3.0.
Diffstat (limited to 'src/main/java/com/morlunk/jumble')
-rw-r--r-- | src/main/java/com/morlunk/jumble/protobuf/Mumble.java | 11027 |
1 files changed, 7076 insertions, 3951 deletions
diff --git a/src/main/java/com/morlunk/jumble/protobuf/Mumble.java b/src/main/java/com/morlunk/jumble/protobuf/Mumble.java index fde1186..1f18b4a 100644 --- a/src/main/java/com/morlunk/jumble/protobuf/Mumble.java +++ b/src/main/java/com/morlunk/jumble/protobuf/Mumble.java @@ -1,20 +1,3 @@ -/* - * Copyright (C) 2014 Andrew Comminos - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - // Generated by the protocol buffer compiler. DO NOT EDIT! // source: Mumble.proto @@ -23,12 +6,18 @@ package com.morlunk.jumble.protobuf; public final class Mumble { private Mumble() {} public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); } - public interface VersionOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface VersionOrBuilder extends + // @@protoc_insertion_point(interface_extends:MumbleProto.Version) + com.google.protobuf.MessageOrBuilder { - // optional uint32 version = 1; /** * <code>optional uint32 version = 1;</code> */ @@ -38,7 +27,6 @@ public final class Mumble { */ int getVersion(); - // optional string release = 2; /** * <code>optional string release = 2;</code> */ @@ -53,7 +41,6 @@ public final class Mumble { com.google.protobuf.ByteString getReleaseBytes(); - // optional string os = 3; /** * <code>optional string os = 3;</code> */ @@ -68,7 +55,6 @@ public final class Mumble { com.google.protobuf.ByteString getOsBytes(); - // optional string os_version = 4; /** * <code>optional string os_version = 4;</code> */ @@ -86,36 +72,31 @@ public final class Mumble { /** * Protobuf type {@code MumbleProto.Version} */ - public static final class Version extends - com.google.protobuf.GeneratedMessage - implements VersionOrBuilder { + public static final class Version extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MumbleProto.Version) + VersionOrBuilder { // Use Version.newBuilder() to construct. - private Version(com.google.protobuf.GeneratedMessage.Builder<?> builder) { + private Version(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); - } - private Version(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final Version defaultInstance; - public static Version getDefaultInstance() { - return defaultInstance; } - - public Version getDefaultInstanceForType() { - return defaultInstance; + private Version() { + version_ = 0; + release_ = ""; + os_ = ""; + osVersion_ = ""; } - private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } private Version( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -140,18 +121,21 @@ public final class Mumble { break; } case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; - release_ = input.readBytes(); + release_ = bs; break; } case 26: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; - os_ = input.readBytes(); + os_ = bs; break; } case 34: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; - osVersion_ = input.readBytes(); + osVersion_ = bs; break; } } @@ -160,7 +144,7 @@ public final class Mumble { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -171,30 +155,14 @@ public final class Mumble { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_Version_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_Version_fieldAccessorTable .ensureFieldAccessorsInitialized( com.morlunk.jumble.protobuf.Mumble.Version.class, com.morlunk.jumble.protobuf.Mumble.Version.Builder.class); } - public static com.google.protobuf.Parser<Version> PARSER = - new com.google.protobuf.AbstractParser<Version>() { - public Version parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Version(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser<Version> getParserForType() { - return PARSER; - } - private int bitField0_; - // optional uint32 version = 1; public static final int VERSION_FIELD_NUMBER = 1; private int version_; /** @@ -210,9 +178,8 @@ public final class Mumble { return version_; } - // optional string release = 2; public static final int RELEASE_FIELD_NUMBER = 2; - private java.lang.Object release_; + private volatile java.lang.Object release_; /** * <code>optional string release = 2;</code> */ @@ -253,9 +220,8 @@ public final class Mumble { } } - // optional string os = 3; public static final int OS_FIELD_NUMBER = 3; - private java.lang.Object os_; + private volatile java.lang.Object os_; /** * <code>optional string os = 3;</code> */ @@ -296,9 +262,8 @@ public final class Mumble { } } - // optional string os_version = 4; public static final int OS_VERSION_FIELD_NUMBER = 4; - private java.lang.Object osVersion_; + private volatile java.lang.Object osVersion_; /** * <code>optional string os_version = 4;</code> */ @@ -339,16 +304,11 @@ public final class Mumble { } } - private void initFields() { - version_ = 0; - release_ = ""; - os_ = ""; - osVersion_ = ""; - } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -356,25 +316,23 @@ public final class Mumble { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, version_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeBytes(2, getReleaseBytes()); + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, release_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeBytes(3, getOsBytes()); + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, os_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeBytes(4, getOsVersionBytes()); + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, osVersion_); } - getUnknownFields().writeTo(output); + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; @@ -383,27 +341,81 @@ public final class Mumble { .computeUInt32Size(1, version_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, getReleaseBytes()); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, release_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(3, getOsBytes()); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, os_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(4, getOsVersionBytes()); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, osVersion_); } - size += getUnknownFields().getSerializedSize(); - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.morlunk.jumble.protobuf.Mumble.Version)) { + return super.equals(obj); + } + com.morlunk.jumble.protobuf.Mumble.Version other = (com.morlunk.jumble.protobuf.Mumble.Version) obj; + + boolean result = true; + result = result && (hasVersion() == other.hasVersion()); + if (hasVersion()) { + result = result && (getVersion() + == other.getVersion()); + } + result = result && (hasRelease() == other.hasRelease()); + if (hasRelease()) { + result = result && getRelease() + .equals(other.getRelease()); + } + result = result && (hasOs() == other.hasOs()); + if (hasOs()) { + result = result && getOs() + .equals(other.getOs()); + } + result = result && (hasOsVersion() == other.hasOsVersion()); + if (hasOsVersion()) { + result = result && getOsVersion() + .equals(other.getOsVersion()); + } + 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 (hasVersion()) { + hash = (37 * hash) + VERSION_FIELD_NUMBER; + hash = (53 * hash) + getVersion(); + } + if (hasRelease()) { + hash = (37 * hash) + RELEASE_FIELD_NUMBER; + hash = (53 * hash) + getRelease().hashCode(); + } + if (hasOs()) { + hash = (37 * hash) + OS_FIELD_NUMBER; + hash = (53 * hash) + getOs().hashCode(); + } + if (hasOsVersion()) { + hash = (37 * hash) + OS_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getOsVersion().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; } public static com.morlunk.jumble.protobuf.Mumble.Version parseFrom( @@ -429,46 +441,57 @@ public final class Mumble { } public static com.morlunk.jumble.protobuf.Mumble.Version parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.Version parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.Version parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.Version parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.Version parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.Version parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(com.morlunk.jumble.protobuf.Mumble.Version prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -476,14 +499,15 @@ public final class Mumble { * Protobuf type {@code MumbleProto.Version} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> - implements com.morlunk.jumble.protobuf.Mumble.VersionOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:MumbleProto.Version) + com.morlunk.jumble.protobuf.Mumble.VersionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_Version_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_Version_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -496,18 +520,15 @@ public final class Mumble { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { } } - private static Builder create() { - return new Builder(); - } - public Builder clear() { super.clear(); version_ = 0; @@ -521,10 +542,6 @@ public final class Mumble { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_Version_descriptor; @@ -567,6 +584,32 @@ public final class Mumble { 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 com.morlunk.jumble.protobuf.Mumble.Version) { return mergeFrom((com.morlunk.jumble.protobuf.Mumble.Version)other); @@ -596,7 +639,8 @@ public final class Mumble { osVersion_ = other.osVersion_; onChanged(); } - this.mergeUnknownFields(other.getUnknownFields()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } @@ -613,7 +657,7 @@ public final class Mumble { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.morlunk.jumble.protobuf.Mumble.Version) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -623,7 +667,6 @@ public final class Mumble { } private int bitField0_; - // optional uint32 version = 1; private int version_ ; /** * <code>optional uint32 version = 1;</code> @@ -656,7 +699,6 @@ public final class Mumble { return this; } - // optional string release = 2; private java.lang.Object release_ = ""; /** * <code>optional string release = 2;</code> @@ -670,9 +712,12 @@ public final class Mumble { public java.lang.String getRelease() { java.lang.Object ref = release_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - release_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + release_ = s; + } return s; } else { return (java.lang.String) ref; @@ -730,7 +775,6 @@ public final class Mumble { return this; } - // optional string os = 3; private java.lang.Object os_ = ""; /** * <code>optional string os = 3;</code> @@ -744,9 +788,12 @@ public final class Mumble { public java.lang.String getOs() { java.lang.Object ref = os_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - os_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + os_ = s; + } return s; } else { return (java.lang.String) ref; @@ -804,7 +851,6 @@ public final class Mumble { return this; } - // optional string os_version = 4; private java.lang.Object osVersion_ = ""; /** * <code>optional string os_version = 4;</code> @@ -818,9 +864,12 @@ public final class Mumble { public java.lang.String getOsVersion() { java.lang.Object ref = osVersion_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - osVersion_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + osVersion_ = s; + } return s; } else { return (java.lang.String) ref; @@ -877,22 +926,59 @@ public final class Mumble { 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.Version) } + // @@protoc_insertion_point(class_scope:MumbleProto.Version) + private static final com.morlunk.jumble.protobuf.Mumble.Version DEFAULT_INSTANCE; static { - defaultInstance = new Version(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new com.morlunk.jumble.protobuf.Mumble.Version(); + } + + public static com.morlunk.jumble.protobuf.Mumble.Version getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser<Version> + PARSER = new com.google.protobuf.AbstractParser<Version>() { + public Version parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Version(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<Version> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<Version> getParserForType() { + return PARSER; + } + + public com.morlunk.jumble.protobuf.Mumble.Version getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:MumbleProto.Version) } - public interface UDPTunnelOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface UDPTunnelOrBuilder extends + // @@protoc_insertion_point(interface_extends:MumbleProto.UDPTunnel) + com.google.protobuf.MessageOrBuilder { - // required bytes packet = 1; /** * <code>required bytes packet = 1;</code> */ @@ -905,36 +991,28 @@ public final class Mumble { /** * Protobuf type {@code MumbleProto.UDPTunnel} */ - public static final class UDPTunnel extends - com.google.protobuf.GeneratedMessage - implements UDPTunnelOrBuilder { + public static final class UDPTunnel extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MumbleProto.UDPTunnel) + UDPTunnelOrBuilder { // Use UDPTunnel.newBuilder() to construct. - private UDPTunnel(com.google.protobuf.GeneratedMessage.Builder<?> builder) { + private UDPTunnel(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); - } - private UDPTunnel(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final UDPTunnel defaultInstance; - public static UDPTunnel getDefaultInstance() { - return defaultInstance; } - - public UDPTunnel getDefaultInstanceForType() { - return defaultInstance; + private UDPTunnel() { + packet_ = com.google.protobuf.ByteString.EMPTY; } - private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } private UDPTunnel( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -964,7 +1042,7 @@ public final class Mumble { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -975,30 +1053,14 @@ public final class Mumble { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_UDPTunnel_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_UDPTunnel_fieldAccessorTable .ensureFieldAccessorsInitialized( com.morlunk.jumble.protobuf.Mumble.UDPTunnel.class, com.morlunk.jumble.protobuf.Mumble.UDPTunnel.Builder.class); } - public static com.google.protobuf.Parser<UDPTunnel> PARSER = - new com.google.protobuf.AbstractParser<UDPTunnel>() { - public UDPTunnel parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UDPTunnel(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser<UDPTunnel> getParserForType() { - return PARSER; - } - private int bitField0_; - // required bytes packet = 1; public static final int PACKET_FIELD_NUMBER = 1; private com.google.protobuf.ByteString packet_; /** @@ -1014,13 +1076,11 @@ public final class Mumble { return packet_; } - private void initFields() { - packet_ = com.google.protobuf.ByteString.EMPTY; - } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasPacket()) { memoizedIsInitialized = 0; @@ -1032,16 +1092,14 @@ public final class Mumble { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, packet_); } - getUnknownFields().writeTo(output); + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; @@ -1049,16 +1107,46 @@ public final class Mumble { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, packet_); } - size += getUnknownFields().getSerializedSize(); - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.morlunk.jumble.protobuf.Mumble.UDPTunnel)) { + return super.equals(obj); + } + com.morlunk.jumble.protobuf.Mumble.UDPTunnel other = (com.morlunk.jumble.protobuf.Mumble.UDPTunnel) obj; + + boolean result = true; + result = result && (hasPacket() == other.hasPacket()); + if (hasPacket()) { + result = result && getPacket() + .equals(other.getPacket()); + } + 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 (hasPacket()) { + hash = (37 * hash) + PACKET_FIELD_NUMBER; + hash = (53 * hash) + getPacket().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; } public static com.morlunk.jumble.protobuf.Mumble.UDPTunnel parseFrom( @@ -1084,46 +1172,57 @@ public final class Mumble { } public static com.morlunk.jumble.protobuf.Mumble.UDPTunnel parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.UDPTunnel parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.UDPTunnel parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.UDPTunnel parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.UDPTunnel parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.UDPTunnel parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(com.morlunk.jumble.protobuf.Mumble.UDPTunnel prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -1131,14 +1230,15 @@ public final class Mumble { * Protobuf type {@code MumbleProto.UDPTunnel} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> - implements com.morlunk.jumble.protobuf.Mumble.UDPTunnelOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:MumbleProto.UDPTunnel) + com.morlunk.jumble.protobuf.Mumble.UDPTunnelOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_UDPTunnel_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_UDPTunnel_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -1151,18 +1251,15 @@ public final class Mumble { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { } } - private static Builder create() { - return new Builder(); - } - public Builder clear() { super.clear(); packet_ = com.google.protobuf.ByteString.EMPTY; @@ -1170,10 +1267,6 @@ public final class Mumble { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_UDPTunnel_descriptor; @@ -1204,6 +1297,32 @@ public final class Mumble { 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 com.morlunk.jumble.protobuf.Mumble.UDPTunnel) { return mergeFrom((com.morlunk.jumble.protobuf.Mumble.UDPTunnel)other); @@ -1218,13 +1337,13 @@ public final class Mumble { if (other.hasPacket()) { setPacket(other.getPacket()); } - this.mergeUnknownFields(other.getUnknownFields()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } public final boolean isInitialized() { if (!hasPacket()) { - return false; } return true; @@ -1239,7 +1358,7 @@ public final class Mumble { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.morlunk.jumble.protobuf.Mumble.UDPTunnel) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -1249,7 +1368,6 @@ public final class Mumble { } private int bitField0_; - // required bytes packet = 1; private com.google.protobuf.ByteString packet_ = com.google.protobuf.ByteString.EMPTY; /** * <code>required bytes packet = 1;</code> @@ -1284,22 +1402,59 @@ public final class Mumble { 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.UDPTunnel) } + // @@protoc_insertion_point(class_scope:MumbleProto.UDPTunnel) + private static final com.morlunk.jumble.protobuf.Mumble.UDPTunnel DEFAULT_INSTANCE; static { - defaultInstance = new UDPTunnel(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new com.morlunk.jumble.protobuf.Mumble.UDPTunnel(); + } + + public static com.morlunk.jumble.protobuf.Mumble.UDPTunnel getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser<UDPTunnel> + PARSER = new com.google.protobuf.AbstractParser<UDPTunnel>() { + public UDPTunnel parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UDPTunnel(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<UDPTunnel> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<UDPTunnel> getParserForType() { + return PARSER; + } + + public com.morlunk.jumble.protobuf.Mumble.UDPTunnel getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:MumbleProto.UDPTunnel) } - public interface AuthenticateOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface AuthenticateOrBuilder extends + // @@protoc_insertion_point(interface_extends:MumbleProto.Authenticate) + com.google.protobuf.MessageOrBuilder { - // optional string username = 1; /** * <code>optional string username = 1;</code> */ @@ -1314,7 +1469,6 @@ public final class Mumble { com.google.protobuf.ByteString getUsernameBytes(); - // optional string password = 2; /** * <code>optional string password = 2;</code> */ @@ -1329,12 +1483,11 @@ public final class Mumble { com.google.protobuf.ByteString getPasswordBytes(); - // repeated string tokens = 3; /** * <code>repeated string tokens = 3;</code> */ java.util.List<java.lang.String> - getTokensList(); + getTokensList(); /** * <code>repeated string tokens = 3;</code> */ @@ -1349,7 +1502,6 @@ public final class Mumble { com.google.protobuf.ByteString getTokensBytes(int index); - // repeated int32 celt_versions = 4; /** * <code>repeated int32 celt_versions = 4;</code> */ @@ -1363,7 +1515,6 @@ public final class Mumble { */ int getCeltVersions(int index); - // optional bool opus = 5 [default = false]; /** * <code>optional bool opus = 5 [default = false];</code> */ @@ -1376,36 +1527,32 @@ public final class Mumble { /** * Protobuf type {@code MumbleProto.Authenticate} */ - public static final class Authenticate extends - com.google.protobuf.GeneratedMessage - implements AuthenticateOrBuilder { + public static final class Authenticate extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MumbleProto.Authenticate) + AuthenticateOrBuilder { // Use Authenticate.newBuilder() to construct. - private Authenticate(com.google.protobuf.GeneratedMessage.Builder<?> builder) { + private Authenticate(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); } - private Authenticate(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final Authenticate defaultInstance; - public static Authenticate getDefaultInstance() { - return defaultInstance; - } - - public Authenticate getDefaultInstanceForType() { - return defaultInstance; + private Authenticate() { + username_ = ""; + password_ = ""; + tokens_ = com.google.protobuf.LazyStringArrayList.EMPTY; + celtVersions_ = java.util.Collections.emptyList(); + opus_ = false; } - private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } private Authenticate( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1425,21 +1572,24 @@ public final class Mumble { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - username_ = input.readBytes(); + username_ = bs; break; } case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; - password_ = input.readBytes(); + password_ = bs; break; } case 26: { + com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { tokens_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000004; } - tokens_.add(input.readBytes()); + tokens_.add(bs); break; } case 32: { @@ -1474,10 +1624,10 @@ public final class Mumble { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { - tokens_ = new com.google.protobuf.UnmodifiableLazyStringList(tokens_); + tokens_ = tokens_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { celtVersions_ = java.util.Collections.unmodifiableList(celtVersions_); @@ -1491,32 +1641,16 @@ public final class Mumble { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_Authenticate_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_Authenticate_fieldAccessorTable .ensureFieldAccessorsInitialized( com.morlunk.jumble.protobuf.Mumble.Authenticate.class, com.morlunk.jumble.protobuf.Mumble.Authenticate.Builder.class); } - public static com.google.protobuf.Parser<Authenticate> PARSER = - new com.google.protobuf.AbstractParser<Authenticate>() { - public Authenticate parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Authenticate(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser<Authenticate> getParserForType() { - return PARSER; - } - private int bitField0_; - // optional string username = 1; public static final int USERNAME_FIELD_NUMBER = 1; - private java.lang.Object username_; + private volatile java.lang.Object username_; /** * <code>optional string username = 1;</code> */ @@ -1557,9 +1691,8 @@ public final class Mumble { } } - // optional string password = 2; public static final int PASSWORD_FIELD_NUMBER = 2; - private java.lang.Object password_; + private volatile java.lang.Object password_; /** * <code>optional string password = 2;</code> */ @@ -1600,13 +1733,12 @@ public final class Mumble { } } - // repeated string tokens = 3; public static final int TOKENS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList tokens_; /** * <code>repeated string tokens = 3;</code> */ - public java.util.List<java.lang.String> + public com.google.protobuf.ProtocolStringList getTokensList() { return tokens_; } @@ -1630,7 +1762,6 @@ public final class Mumble { return tokens_.getByteString(index); } - // repeated int32 celt_versions = 4; public static final int CELT_VERSIONS_FIELD_NUMBER = 4; private java.util.List<java.lang.Integer> celtVersions_; /** @@ -1653,7 +1784,6 @@ public final class Mumble { return celtVersions_.get(index); } - // optional bool opus = 5 [default = false]; public static final int OPUS_FIELD_NUMBER = 5; private boolean opus_; /** @@ -1669,17 +1799,11 @@ public final class Mumble { return opus_; } - private void initFields() { - username_ = ""; - password_ = ""; - tokens_ = com.google.protobuf.LazyStringArrayList.EMPTY; - celtVersions_ = java.util.Collections.emptyList(); - opus_ = false; - } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -1687,15 +1811,14 @@ public final class Mumble { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeBytes(1, getUsernameBytes()); + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, username_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeBytes(2, getPasswordBytes()); + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, password_); } for (int i = 0; i < tokens_.size(); i++) { - output.writeBytes(3, tokens_.getByteString(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)); @@ -1703,28 +1826,24 @@ public final class Mumble { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(5, opus_); } - getUnknownFields().writeTo(output); + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, getUsernameBytes()); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, username_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, getPasswordBytes()); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, password_); } { int dataSize = 0; for (int i = 0; i < tokens_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeBytesSizeNoTag(tokens_.getByteString(i)); + dataSize += computeStringSizeNoTag(tokens_.getRaw(i)); } size += dataSize; size += 1 * getTokensList().size(); @@ -1742,16 +1861,77 @@ public final class Mumble { size += com.google.protobuf.CodedOutputStream .computeBoolSize(5, opus_); } - size += getUnknownFields().getSerializedSize(); - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.morlunk.jumble.protobuf.Mumble.Authenticate)) { + return super.equals(obj); + } + com.morlunk.jumble.protobuf.Mumble.Authenticate other = (com.morlunk.jumble.protobuf.Mumble.Authenticate) obj; + + boolean result = true; + result = result && (hasUsername() == other.hasUsername()); + if (hasUsername()) { + result = result && getUsername() + .equals(other.getUsername()); + } + result = result && (hasPassword() == other.hasPassword()); + 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 (hasOpus()) { + result = result && (getOpus() + == other.getOpus()); + } + 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 (hasUsername()) { + hash = (37 * hash) + USERNAME_FIELD_NUMBER; + hash = (53 * hash) + getUsername().hashCode(); + } + if (hasPassword()) { + hash = (37 * hash) + PASSWORD_FIELD_NUMBER; + hash = (53 * hash) + getPassword().hashCode(); + } + if (getTokensCount() > 0) { + hash = (37 * hash) + TOKENS_FIELD_NUMBER; + hash = (53 * hash) + getTokensList().hashCode(); + } + if (getCeltVersionsCount() > 0) { + hash = (37 * hash) + CELT_VERSIONS_FIELD_NUMBER; + hash = (53 * hash) + getCeltVersionsList().hashCode(); + } + if (hasOpus()) { + hash = (37 * hash) + OPUS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getOpus()); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; } public static com.morlunk.jumble.protobuf.Mumble.Authenticate parseFrom( @@ -1777,46 +1957,57 @@ public final class Mumble { } public static com.morlunk.jumble.protobuf.Mumble.Authenticate parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.Authenticate parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.Authenticate parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.Authenticate parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.Authenticate parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.Authenticate parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(com.morlunk.jumble.protobuf.Mumble.Authenticate prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -1824,14 +2015,15 @@ public final class Mumble { * Protobuf type {@code MumbleProto.Authenticate} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> - implements com.morlunk.jumble.protobuf.Mumble.AuthenticateOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:MumbleProto.Authenticate) + com.morlunk.jumble.protobuf.Mumble.AuthenticateOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_Authenticate_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_Authenticate_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -1844,18 +2036,15 @@ public final class Mumble { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { } } - private static Builder create() { - return new Builder(); - } - public Builder clear() { super.clear(); username_ = ""; @@ -1871,10 +2060,6 @@ public final class Mumble { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_Authenticate_descriptor; @@ -1905,8 +2090,7 @@ public final class Mumble { } result.password_ = password_; if (((bitField0_ & 0x00000004) == 0x00000004)) { - tokens_ = new com.google.protobuf.UnmodifiableLazyStringList( - tokens_); + tokens_ = tokens_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); } result.tokens_ = tokens_; @@ -1924,6 +2108,32 @@ public final class Mumble { 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 com.morlunk.jumble.protobuf.Mumble.Authenticate) { return mergeFrom((com.morlunk.jumble.protobuf.Mumble.Authenticate)other); @@ -1968,7 +2178,8 @@ public final class Mumble { if (other.hasOpus()) { setOpus(other.getOpus()); } - this.mergeUnknownFields(other.getUnknownFields()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } @@ -1985,7 +2196,7 @@ public final class Mumble { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.morlunk.jumble.protobuf.Mumble.Authenticate) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -1995,7 +2206,6 @@ public final class Mumble { } private int bitField0_; - // optional string username = 1; private java.lang.Object username_ = ""; /** * <code>optional string username = 1;</code> @@ -2009,9 +2219,12 @@ public final class Mumble { public java.lang.String getUsername() { java.lang.Object ref = username_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - username_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + username_ = s; + } return s; } else { return (java.lang.String) ref; @@ -2069,7 +2282,6 @@ public final class Mumble { return this; } - // optional string password = 2; private java.lang.Object password_ = ""; /** * <code>optional string password = 2;</code> @@ -2083,9 +2295,12 @@ public final class Mumble { public java.lang.String getPassword() { java.lang.Object ref = password_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - password_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + password_ = s; + } return s; } else { return (java.lang.String) ref; @@ -2143,7 +2358,6 @@ public final class Mumble { return this; } - // repeated string tokens = 3; private com.google.protobuf.LazyStringList tokens_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureTokensIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { @@ -2154,9 +2368,9 @@ public final class Mumble { /** * <code>repeated string tokens = 3;</code> */ - public java.util.List<java.lang.String> + public com.google.protobuf.ProtocolStringList getTokensList() { - return java.util.Collections.unmodifiableList(tokens_); + return tokens_.getUnmodifiableView(); } /** * <code>repeated string tokens = 3;</code> @@ -2209,7 +2423,8 @@ public final class Mumble { public Builder addAllTokens( java.lang.Iterable<java.lang.String> values) { ensureTokensIsMutable(); - super.addAll(values, tokens_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tokens_); onChanged(); return this; } @@ -2236,7 +2451,6 @@ public final class Mumble { return this; } - // repeated int32 celt_versions = 4; private java.util.List<java.lang.Integer> celtVersions_ = java.util.Collections.emptyList(); private void ensureCeltVersionsIsMutable() { if (!((bitField0_ & 0x00000008) == 0x00000008)) { @@ -2288,7 +2502,8 @@ public final class Mumble { public Builder addAllCeltVersions( java.lang.Iterable<? extends java.lang.Integer> values) { ensureCeltVersionsIsMutable(); - super.addAll(values, celtVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, celtVersions_); onChanged(); return this; } @@ -2302,7 +2517,6 @@ public final class Mumble { return this; } - // optional bool opus = 5 [default = false]; private boolean opus_ ; /** * <code>optional bool opus = 5 [default = false];</code> @@ -2334,22 +2548,59 @@ public final class Mumble { 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.Authenticate) } + // @@protoc_insertion_point(class_scope:MumbleProto.Authenticate) + private static final com.morlunk.jumble.protobuf.Mumble.Authenticate DEFAULT_INSTANCE; static { - defaultInstance = new Authenticate(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new com.morlunk.jumble.protobuf.Mumble.Authenticate(); + } + + public static com.morlunk.jumble.protobuf.Mumble.Authenticate getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser<Authenticate> + PARSER = new com.google.protobuf.AbstractParser<Authenticate>() { + public Authenticate parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Authenticate(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<Authenticate> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<Authenticate> getParserForType() { + return PARSER; + } + + public com.morlunk.jumble.protobuf.Mumble.Authenticate getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:MumbleProto.Authenticate) } - public interface PingOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface PingOrBuilder extends + // @@protoc_insertion_point(interface_extends:MumbleProto.Ping) + com.google.protobuf.MessageOrBuilder { - // optional uint64 timestamp = 1; /** * <code>optional uint64 timestamp = 1;</code> */ @@ -2359,7 +2610,6 @@ public final class Mumble { */ long getTimestamp(); - // optional uint32 good = 2; /** * <code>optional uint32 good = 2;</code> */ @@ -2369,7 +2619,6 @@ public final class Mumble { */ int getGood(); - // optional uint32 late = 3; /** * <code>optional uint32 late = 3;</code> */ @@ -2379,7 +2628,6 @@ public final class Mumble { */ int getLate(); - // optional uint32 lost = 4; /** * <code>optional uint32 lost = 4;</code> */ @@ -2389,7 +2637,6 @@ public final class Mumble { */ int getLost(); - // optional uint32 resync = 5; /** * <code>optional uint32 resync = 5;</code> */ @@ -2399,7 +2646,6 @@ public final class Mumble { */ int getResync(); - // optional uint32 udp_packets = 6; /** * <code>optional uint32 udp_packets = 6;</code> */ @@ -2409,7 +2655,6 @@ public final class Mumble { */ int getUdpPackets(); - // optional uint32 tcp_packets = 7; /** * <code>optional uint32 tcp_packets = 7;</code> */ @@ -2419,7 +2664,6 @@ public final class Mumble { */ int getTcpPackets(); - // optional float udp_ping_avg = 8; /** * <code>optional float udp_ping_avg = 8;</code> */ @@ -2429,7 +2673,6 @@ public final class Mumble { */ float getUdpPingAvg(); - // optional float udp_ping_var = 9; /** * <code>optional float udp_ping_var = 9;</code> */ @@ -2439,7 +2682,6 @@ public final class Mumble { */ float getUdpPingVar(); - // optional float tcp_ping_avg = 10; /** * <code>optional float tcp_ping_avg = 10;</code> */ @@ -2449,7 +2691,6 @@ public final class Mumble { */ float getTcpPingAvg(); - // optional float tcp_ping_var = 11; /** * <code>optional float tcp_ping_var = 11;</code> */ @@ -2462,36 +2703,38 @@ public final class Mumble { /** * Protobuf type {@code MumbleProto.Ping} */ - public static final class Ping extends - com.google.protobuf.GeneratedMessage - implements PingOrBuilder { + public static final class Ping extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MumbleProto.Ping) + PingOrBuilder { // Use Ping.newBuilder() to construct. - private Ping(com.google.protobuf.GeneratedMessage.Builder<?> builder) { + private Ping(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); } - private Ping(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final Ping defaultInstance; - public static Ping getDefaultInstance() { - return defaultInstance; - } - - public Ping getDefaultInstanceForType() { - return defaultInstance; + private Ping() { + timestamp_ = 0L; + good_ = 0; + late_ = 0; + lost_ = 0; + resync_ = 0; + udpPackets_ = 0; + tcpPackets_ = 0; + udpPingAvg_ = 0F; + udpPingVar_ = 0F; + tcpPingAvg_ = 0F; + tcpPingVar_ = 0F; } - private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } private Ping( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2571,7 +2814,7 @@ public final class Mumble { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -2582,30 +2825,14 @@ public final class Mumble { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_Ping_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_Ping_fieldAccessorTable .ensureFieldAccessorsInitialized( com.morlunk.jumble.protobuf.Mumble.Ping.class, com.morlunk.jumble.protobuf.Mumble.Ping.Builder.class); } - public static com.google.protobuf.Parser<Ping> PARSER = - new com.google.protobuf.AbstractParser<Ping>() { - public Ping parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Ping(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser<Ping> getParserForType() { - return PARSER; - } - private int bitField0_; - // optional uint64 timestamp = 1; public static final int TIMESTAMP_FIELD_NUMBER = 1; private long timestamp_; /** @@ -2621,7 +2848,6 @@ public final class Mumble { return timestamp_; } - // optional uint32 good = 2; public static final int GOOD_FIELD_NUMBER = 2; private int good_; /** @@ -2637,7 +2863,6 @@ public final class Mumble { return good_; } - // optional uint32 late = 3; public static final int LATE_FIELD_NUMBER = 3; private int late_; /** @@ -2653,7 +2878,6 @@ public final class Mumble { return late_; } - // optional uint32 lost = 4; public static final int LOST_FIELD_NUMBER = 4; private int lost_; /** @@ -2669,7 +2893,6 @@ public final class Mumble { return lost_; } - // optional uint32 resync = 5; public static final int RESYNC_FIELD_NUMBER = 5; private int resync_; /** @@ -2685,7 +2908,6 @@ public final class Mumble { return resync_; } - // optional uint32 udp_packets = 6; public static final int UDP_PACKETS_FIELD_NUMBER = 6; private int udpPackets_; /** @@ -2701,7 +2923,6 @@ public final class Mumble { return udpPackets_; } - // optional uint32 tcp_packets = 7; public static final int TCP_PACKETS_FIELD_NUMBER = 7; private int tcpPackets_; /** @@ -2717,7 +2938,6 @@ public final class Mumble { return tcpPackets_; } - // optional float udp_ping_avg = 8; public static final int UDP_PING_AVG_FIELD_NUMBER = 8; private float udpPingAvg_; /** @@ -2733,7 +2953,6 @@ public final class Mumble { return udpPingAvg_; } - // optional float udp_ping_var = 9; public static final int UDP_PING_VAR_FIELD_NUMBER = 9; private float udpPingVar_; /** @@ -2749,7 +2968,6 @@ public final class Mumble { return udpPingVar_; } - // optional float tcp_ping_avg = 10; public static final int TCP_PING_AVG_FIELD_NUMBER = 10; private float tcpPingAvg_; /** @@ -2765,7 +2983,6 @@ public final class Mumble { return tcpPingAvg_; } - // optional float tcp_ping_var = 11; public static final int TCP_PING_VAR_FIELD_NUMBER = 11; private float tcpPingVar_; /** @@ -2781,23 +2998,11 @@ public final class Mumble { return tcpPingVar_; } - private void initFields() { - timestamp_ = 0L; - good_ = 0; - late_ = 0; - lost_ = 0; - resync_ = 0; - udpPackets_ = 0; - tcpPackets_ = 0; - udpPingAvg_ = 0F; - udpPingVar_ = 0F; - tcpPingAvg_ = 0F; - tcpPingVar_ = 0F; - } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -2805,7 +3010,6 @@ public final class Mumble { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt64(1, timestamp_); } @@ -2839,12 +3043,11 @@ public final class Mumble { if (((bitField0_ & 0x00000400) == 0x00000400)) { output.writeFloat(11, tcpPingVar_); } - getUnknownFields().writeTo(output); + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; @@ -2892,16 +3095,149 @@ public final class Mumble { size += com.google.protobuf.CodedOutputStream .computeFloatSize(11, tcpPingVar_); } - size += getUnknownFields().getSerializedSize(); - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.morlunk.jumble.protobuf.Mumble.Ping)) { + return super.equals(obj); + } + com.morlunk.jumble.protobuf.Mumble.Ping other = (com.morlunk.jumble.protobuf.Mumble.Ping) obj; + + boolean result = true; + result = result && (hasTimestamp() == other.hasTimestamp()); + if (hasTimestamp()) { + result = result && (getTimestamp() + == other.getTimestamp()); + } + result = result && (hasGood() == other.hasGood()); + if (hasGood()) { + result = result && (getGood() + == other.getGood()); + } + result = result && (hasLate() == other.hasLate()); + if (hasLate()) { + result = result && (getLate() + == other.getLate()); + } + result = result && (hasLost() == other.hasLost()); + if (hasLost()) { + result = result && (getLost() + == other.getLost()); + } + result = result && (hasResync() == other.hasResync()); + if (hasResync()) { + result = result && (getResync() + == other.getResync()); + } + result = result && (hasUdpPackets() == other.hasUdpPackets()); + if (hasUdpPackets()) { + result = result && (getUdpPackets() + == other.getUdpPackets()); + } + result = result && (hasTcpPackets() == other.hasTcpPackets()); + if (hasTcpPackets()) { + result = result && (getTcpPackets() + == other.getTcpPackets()); + } + result = result && (hasUdpPingAvg() == other.hasUdpPingAvg()); + if (hasUdpPingAvg()) { + result = result && ( + java.lang.Float.floatToIntBits(getUdpPingAvg()) + == java.lang.Float.floatToIntBits( + other.getUdpPingAvg())); + } + result = result && (hasUdpPingVar() == other.hasUdpPingVar()); + if (hasUdpPingVar()) { + result = result && ( + java.lang.Float.floatToIntBits(getUdpPingVar()) + == java.lang.Float.floatToIntBits( + other.getUdpPingVar())); + } + result = result && (hasTcpPingAvg() == other.hasTcpPingAvg()); + if (hasTcpPingAvg()) { + result = result && ( + java.lang.Float.floatToIntBits(getTcpPingAvg()) + == java.lang.Float.floatToIntBits( + other.getTcpPingAvg())); + } + result = result && (hasTcpPingVar() == other.hasTcpPingVar()); + if (hasTcpPingVar()) { + result = result && ( + java.lang.Float.floatToIntBits(getTcpPingVar()) + == java.lang.Float.floatToIntBits( + other.getTcpPingVar())); + } + 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 (hasTimestamp()) { + hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTimestamp()); + } + if (hasGood()) { + hash = (37 * hash) + GOOD_FIELD_NUMBER; + hash = (53 * hash) + getGood(); + } + if (hasLate()) { + hash = (37 * hash) + LATE_FIELD_NUMBER; + hash = (53 * hash) + getLate(); + } + if (hasLost()) { + hash = (37 * hash) + LOST_FIELD_NUMBER; + hash = (53 * hash) + getLost(); + } + if (hasResync()) { + hash = (37 * hash) + RESYNC_FIELD_NUMBER; + hash = (53 * hash) + getResync(); + } + if (hasUdpPackets()) { + hash = (37 * hash) + UDP_PACKETS_FIELD_NUMBER; + hash = (53 * hash) + getUdpPackets(); + } + if (hasTcpPackets()) { + hash = (37 * hash) + TCP_PACKETS_FIELD_NUMBER; + hash = (53 * hash) + getTcpPackets(); + } + if (hasUdpPingAvg()) { + hash = (37 * hash) + UDP_PING_AVG_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getUdpPingAvg()); + } + if (hasUdpPingVar()) { + hash = (37 * hash) + UDP_PING_VAR_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getUdpPingVar()); + } + if (hasTcpPingAvg()) { + hash = (37 * hash) + TCP_PING_AVG_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getTcpPingAvg()); + } + if (hasTcpPingVar()) { + hash = (37 * hash) + TCP_PING_VAR_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getTcpPingVar()); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; } public static com.morlunk.jumble.protobuf.Mumble.Ping parseFrom( @@ -2927,46 +3263,57 @@ public final class Mumble { } public static com.morlunk.jumble.protobuf.Mumble.Ping parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.Ping parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.Ping parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.Ping parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.Ping parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.Ping parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(com.morlunk.jumble.protobuf.Mumble.Ping prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -2974,14 +3321,15 @@ public final class Mumble { * Protobuf type {@code MumbleProto.Ping} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> - implements com.morlunk.jumble.protobuf.Mumble.PingOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:MumbleProto.Ping) + com.morlunk.jumble.protobuf.Mumble.PingOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_Ping_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_Ping_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -2994,18 +3342,15 @@ public final class Mumble { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { } } - private static Builder create() { - return new Builder(); - } - public Builder clear() { super.clear(); timestamp_ = 0L; @@ -3033,10 +3378,6 @@ public final class Mumble { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_Ping_descriptor; @@ -3107,6 +3448,32 @@ public final class Mumble { 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 com.morlunk.jumble.protobuf.Mumble.Ping) { return mergeFrom((com.morlunk.jumble.protobuf.Mumble.Ping)other); @@ -3151,7 +3518,8 @@ public final class Mumble { if (other.hasTcpPingVar()) { setTcpPingVar(other.getTcpPingVar()); } - this.mergeUnknownFields(other.getUnknownFields()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } @@ -3168,7 +3536,7 @@ public final class Mumble { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.morlunk.jumble.protobuf.Mumble.Ping) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -3178,7 +3546,6 @@ public final class Mumble { } private int bitField0_; - // optional uint64 timestamp = 1; private long timestamp_ ; /** * <code>optional uint64 timestamp = 1;</code> @@ -3211,7 +3578,6 @@ public final class Mumble { return this; } - // optional uint32 good = 2; private int good_ ; /** * <code>optional uint32 good = 2;</code> @@ -3244,7 +3610,6 @@ public final class Mumble { return this; } - // optional uint32 late = 3; private int late_ ; /** * <code>optional uint32 late = 3;</code> @@ -3277,7 +3642,6 @@ public final class Mumble { return this; } - // optional uint32 lost = 4; private int lost_ ; /** * <code>optional uint32 lost = 4;</code> @@ -3310,7 +3674,6 @@ public final class Mumble { return this; } - // optional uint32 resync = 5; private int resync_ ; /** * <code>optional uint32 resync = 5;</code> @@ -3343,7 +3706,6 @@ public final class Mumble { return this; } - // optional uint32 udp_packets = 6; private int udpPackets_ ; /** * <code>optional uint32 udp_packets = 6;</code> @@ -3376,7 +3738,6 @@ public final class Mumble { return this; } - // optional uint32 tcp_packets = 7; private int tcpPackets_ ; /** * <code>optional uint32 tcp_packets = 7;</code> @@ -3409,7 +3770,6 @@ public final class Mumble { return this; } - // optional float udp_ping_avg = 8; private float udpPingAvg_ ; /** * <code>optional float udp_ping_avg = 8;</code> @@ -3442,7 +3802,6 @@ public final class Mumble { return this; } - // optional float udp_ping_var = 9; private float udpPingVar_ ; /** * <code>optional float udp_ping_var = 9;</code> @@ -3475,7 +3834,6 @@ public final class Mumble { return this; } - // optional float tcp_ping_avg = 10; private float tcpPingAvg_ ; /** * <code>optional float tcp_ping_avg = 10;</code> @@ -3508,7 +3866,6 @@ public final class Mumble { return this; } - // optional float tcp_ping_var = 11; private float tcpPingVar_ ; /** * <code>optional float tcp_ping_var = 11;</code> @@ -3540,22 +3897,59 @@ public final class Mumble { 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.Ping) } + // @@protoc_insertion_point(class_scope:MumbleProto.Ping) + private static final com.morlunk.jumble.protobuf.Mumble.Ping DEFAULT_INSTANCE; static { - defaultInstance = new Ping(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new com.morlunk.jumble.protobuf.Mumble.Ping(); + } + + public static com.morlunk.jumble.protobuf.Mumble.Ping getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser<Ping> + PARSER = new com.google.protobuf.AbstractParser<Ping>() { + public Ping parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Ping(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<Ping> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<Ping> getParserForType() { + return PARSER; + } + + public com.morlunk.jumble.protobuf.Mumble.Ping getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:MumbleProto.Ping) } - public interface RejectOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface RejectOrBuilder extends + // @@protoc_insertion_point(interface_extends:MumbleProto.Reject) + com.google.protobuf.MessageOrBuilder { - // optional .MumbleProto.Reject.RejectType type = 1; /** * <code>optional .MumbleProto.Reject.RejectType type = 1;</code> */ @@ -3565,7 +3959,6 @@ public final class Mumble { */ com.morlunk.jumble.protobuf.Mumble.Reject.RejectType getType(); - // optional string reason = 2; /** * <code>optional string reason = 2;</code> */ @@ -3583,36 +3976,29 @@ public final class Mumble { /** * Protobuf type {@code MumbleProto.Reject} */ - public static final class Reject extends - com.google.protobuf.GeneratedMessage - implements RejectOrBuilder { + public static final class Reject extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MumbleProto.Reject) + RejectOrBuilder { // Use Reject.newBuilder() to construct. - private Reject(com.google.protobuf.GeneratedMessage.Builder<?> builder) { + private Reject(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); - } - private Reject(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final Reject defaultInstance; - public static Reject getDefaultInstance() { - return defaultInstance; } - - public Reject getDefaultInstanceForType() { - return defaultInstance; + private Reject() { + type_ = 0; + reason_ = ""; } - private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } private Reject( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -3638,13 +4024,14 @@ public final class Mumble { unknownFields.mergeVarintField(1, rawValue); } else { bitField0_ |= 0x00000001; - type_ = value; + type_ = rawValue; } break; } case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; - reason_ = input.readBytes(); + reason_ = bs; break; } } @@ -3653,7 +4040,7 @@ public final class Mumble { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -3664,28 +4051,13 @@ public final class Mumble { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_Reject_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_Reject_fieldAccessorTable .ensureFieldAccessorsInitialized( com.morlunk.jumble.protobuf.Mumble.Reject.class, com.morlunk.jumble.protobuf.Mumble.Reject.Builder.class); } - public static com.google.protobuf.Parser<Reject> PARSER = - new com.google.protobuf.AbstractParser<Reject>() { - public Reject parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Reject(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser<Reject> getParserForType() { - return PARSER; - } - /** * Protobuf enum {@code MumbleProto.Reject.RejectType} */ @@ -3694,39 +4066,35 @@ public final class Mumble { /** * <code>None = 0;</code> */ - None(0, 0), + None(0), /** * <code>WrongVersion = 1;</code> */ - WrongVersion(1, 1), + WrongVersion(1), /** * <code>InvalidUsername = 2;</code> */ - InvalidUsername(2, 2), + InvalidUsername(2), /** * <code>WrongUserPW = 3;</code> */ - WrongUserPW(3, 3), + WrongUserPW(3), /** * <code>WrongServerPW = 4;</code> */ - WrongServerPW(4, 4), + WrongServerPW(4), /** * <code>UsernameInUse = 5;</code> */ - UsernameInUse(5, 5), + UsernameInUse(5), /** * <code>ServerFull = 6;</code> */ - ServerFull(6, 6), + ServerFull(6), /** * <code>NoCertificate = 7;</code> */ - NoCertificate(7, 7), - /** - * <code>AuthenticatorFail = 8;</code> - */ - AuthenticatorFail(8, 8), + NoCertificate(7), ; /** @@ -3761,15 +4129,21 @@ public final class Mumble { * <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() { return value; } + public final int getNumber() { + return value; + } + /** + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated public static RejectType valueOf(int value) { + return forNumber(value); + } + + public static RejectType forNumber(int value) { switch (value) { case 0: return None; case 1: return WrongVersion; @@ -3779,7 +4153,6 @@ public final class Mumble { case 5: return UsernameInUse; case 6: return ServerFull; case 7: return NoCertificate; - case 8: return AuthenticatorFail; default: return null; } } @@ -3788,17 +4161,17 @@ public final class Mumble { internalGetValueMap() { return internalValueMap; } - private static com.google.protobuf.Internal.EnumLiteMap<RejectType> - internalValueMap = + private static final com.google.protobuf.Internal.EnumLiteMap< + RejectType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap<RejectType>() { public RejectType findValueByNumber(int number) { - return RejectType.valueOf(number); + return RejectType.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { - return getDescriptor().getValues().get(index); + return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { @@ -3820,11 +4193,9 @@ public final class Mumble { return VALUES[desc.getIndex()]; } - private final int index; private final int value; - private RejectType(int index, int value) { - this.index = index; + private RejectType(int value) { this.value = value; } @@ -3832,9 +4203,8 @@ public final class Mumble { } private int bitField0_; - // optional .MumbleProto.Reject.RejectType type = 1; public static final int TYPE_FIELD_NUMBER = 1; - private com.morlunk.jumble.protobuf.Mumble.Reject.RejectType type_; + private int type_; /** * <code>optional .MumbleProto.Reject.RejectType type = 1;</code> */ @@ -3845,12 +4215,12 @@ public final class Mumble { * <code>optional .MumbleProto.Reject.RejectType type = 1;</code> */ public com.morlunk.jumble.protobuf.Mumble.Reject.RejectType getType() { - return type_; + com.morlunk.jumble.protobuf.Mumble.Reject.RejectType result = com.morlunk.jumble.protobuf.Mumble.Reject.RejectType.valueOf(type_); + return result == null ? com.morlunk.jumble.protobuf.Mumble.Reject.RejectType.None : result; } - // optional string reason = 2; public static final int REASON_FIELD_NUMBER = 2; - private java.lang.Object reason_; + private volatile java.lang.Object reason_; /** * <code>optional string reason = 2;</code> */ @@ -3891,14 +4261,11 @@ public final class Mumble { } } - private void initFields() { - type_ = com.morlunk.jumble.protobuf.Mumble.Reject.RejectType.None; - reason_ = ""; - } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -3906,40 +4273,75 @@ public final class Mumble { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeEnum(1, type_.getNumber()); + output.writeEnum(1, type_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeBytes(2, getReasonBytes()); + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, reason_); } - getUnknownFields().writeTo(output); + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, type_.getNumber()); + .computeEnumSize(1, type_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, getReasonBytes()); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, reason_); } - size += getUnknownFields().getSerializedSize(); - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.morlunk.jumble.protobuf.Mumble.Reject)) { + return super.equals(obj); + } + com.morlunk.jumble.protobuf.Mumble.Reject other = (com.morlunk.jumble.protobuf.Mumble.Reject) obj; + + boolean result = true; + result = result && (hasType() == other.hasType()); + if (hasType()) { + result = result && type_ == other.type_; + } + result = result && (hasReason() == other.hasReason()); + if (hasReason()) { + result = result && getReason() + .equals(other.getReason()); + } + 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 (hasType()) { + hash = (37 * hash) + TYPE_FIELD_NUMBER; + hash = (53 * hash) + type_; + } + if (hasReason()) { + hash = (37 * hash) + REASON_FIELD_NUMBER; + hash = (53 * hash) + getReason().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; } public static com.morlunk.jumble.protobuf.Mumble.Reject parseFrom( @@ -3965,46 +4367,57 @@ public final class Mumble { } public static com.morlunk.jumble.protobuf.Mumble.Reject parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.Reject parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.Reject parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.Reject parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.Reject parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.Reject parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(com.morlunk.jumble.protobuf.Mumble.Reject prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -4012,14 +4425,15 @@ public final class Mumble { * Protobuf type {@code MumbleProto.Reject} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> - implements com.morlunk.jumble.protobuf.Mumble.RejectOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:MumbleProto.Reject) + com.morlunk.jumble.protobuf.Mumble.RejectOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_Reject_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_Reject_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -4032,31 +4446,24 @@ public final class Mumble { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { } } - private static Builder create() { - return new Builder(); - } - public Builder clear() { super.clear(); - type_ = com.morlunk.jumble.protobuf.Mumble.Reject.RejectType.None; + type_ = 0; bitField0_ = (bitField0_ & ~0x00000001); reason_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_Reject_descriptor; @@ -4091,6 +4498,32 @@ public final class Mumble { 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 com.morlunk.jumble.protobuf.Mumble.Reject) { return mergeFrom((com.morlunk.jumble.protobuf.Mumble.Reject)other); @@ -4110,7 +4543,8 @@ public final class Mumble { reason_ = other.reason_; onChanged(); } - this.mergeUnknownFields(other.getUnknownFields()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } @@ -4127,7 +4561,7 @@ public final class Mumble { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.morlunk.jumble.protobuf.Mumble.Reject) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -4137,8 +4571,7 @@ public final class Mumble { } private int bitField0_; - // optional .MumbleProto.Reject.RejectType type = 1; - private com.morlunk.jumble.protobuf.Mumble.Reject.RejectType type_ = com.morlunk.jumble.protobuf.Mumble.Reject.RejectType.None; + private int type_ = 0; /** * <code>optional .MumbleProto.Reject.RejectType type = 1;</code> */ @@ -4149,7 +4582,8 @@ public final class Mumble { * <code>optional .MumbleProto.Reject.RejectType type = 1;</code> */ public com.morlunk.jumble.protobuf.Mumble.Reject.RejectType getType() { - return type_; + com.morlunk.jumble.protobuf.Mumble.Reject.RejectType result = com.morlunk.jumble.protobuf.Mumble.Reject.RejectType.valueOf(type_); + return result == null ? com.morlunk.jumble.protobuf.Mumble.Reject.RejectType.None : result; } /** * <code>optional .MumbleProto.Reject.RejectType type = 1;</code> @@ -4159,7 +4593,7 @@ public final class Mumble { throw new NullPointerException(); } bitField0_ |= 0x00000001; - type_ = value; + type_ = value.getNumber(); onChanged(); return this; } @@ -4168,12 +4602,11 @@ public final class Mumble { */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000001); - type_ = com.morlunk.jumble.protobuf.Mumble.Reject.RejectType.None; + type_ = 0; onChanged(); return this; } - // optional string reason = 2; private java.lang.Object reason_ = ""; /** * <code>optional string reason = 2;</code> @@ -4187,9 +4620,12 @@ public final class Mumble { public java.lang.String getReason() { java.lang.Object ref = reason_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - reason_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + reason_ = s; + } return s; } else { return (java.lang.String) ref; @@ -4246,22 +4682,59 @@ public final class Mumble { 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.Reject) } + // @@protoc_insertion_point(class_scope:MumbleProto.Reject) + private static final com.morlunk.jumble.protobuf.Mumble.Reject DEFAULT_INSTANCE; static { - defaultInstance = new Reject(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new com.morlunk.jumble.protobuf.Mumble.Reject(); + } + + public static com.morlunk.jumble.protobuf.Mumble.Reject getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser<Reject> + PARSER = new com.google.protobuf.AbstractParser<Reject>() { + public Reject parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Reject(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<Reject> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<Reject> getParserForType() { + return PARSER; + } + + public com.morlunk.jumble.protobuf.Mumble.Reject getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:MumbleProto.Reject) } - public interface ServerConfigOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ServerConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:MumbleProto.ServerConfig) + com.google.protobuf.MessageOrBuilder { - // optional uint32 max_bandwidth = 1; /** * <code>optional uint32 max_bandwidth = 1;</code> */ @@ -4271,7 +4744,6 @@ public final class Mumble { */ int getMaxBandwidth(); - // optional string welcome_text = 2; /** * <code>optional string welcome_text = 2;</code> */ @@ -4286,7 +4758,6 @@ public final class Mumble { com.google.protobuf.ByteString getWelcomeTextBytes(); - // optional bool allow_html = 3; /** * <code>optional bool allow_html = 3;</code> */ @@ -4296,7 +4767,6 @@ public final class Mumble { */ boolean getAllowHtml(); - // optional uint32 message_length = 4; /** * <code>optional uint32 message_length = 4;</code> */ @@ -4306,7 +4776,6 @@ public final class Mumble { */ int getMessageLength(); - // optional uint32 image_message_length = 5; /** * <code>optional uint32 image_message_length = 5;</code> */ @@ -4319,36 +4788,32 @@ public final class Mumble { /** * Protobuf type {@code MumbleProto.ServerConfig} */ - public static final class ServerConfig extends - com.google.protobuf.GeneratedMessage - implements ServerConfigOrBuilder { + 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.GeneratedMessage.Builder<?> builder) { + private ServerConfig(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); } - private ServerConfig(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final ServerConfig defaultInstance; - public static ServerConfig getDefaultInstance() { - return defaultInstance; - } - - public ServerConfig getDefaultInstanceForType() { - return defaultInstance; + private ServerConfig() { + maxBandwidth_ = 0; + welcomeText_ = ""; + allowHtml_ = false; + messageLength_ = 0; + imageMessageLength_ = 0; } - private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } private ServerConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -4373,8 +4838,9 @@ public final class Mumble { break; } case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; - welcomeText_ = input.readBytes(); + welcomeText_ = bs; break; } case 24: { @@ -4398,7 +4864,7 @@ public final class Mumble { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -4409,30 +4875,14 @@ public final class Mumble { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ServerConfig_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ServerConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( com.morlunk.jumble.protobuf.Mumble.ServerConfig.class, com.morlunk.jumble.protobuf.Mumble.ServerConfig.Builder.class); } - public static 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); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser<ServerConfig> getParserForType() { - return PARSER; - } - private int bitField0_; - // optional uint32 max_bandwidth = 1; public static final int MAX_BANDWIDTH_FIELD_NUMBER = 1; private int maxBandwidth_; /** @@ -4448,9 +4898,8 @@ public final class Mumble { return maxBandwidth_; } - // optional string welcome_text = 2; public static final int WELCOME_TEXT_FIELD_NUMBER = 2; - private java.lang.Object welcomeText_; + private volatile java.lang.Object welcomeText_; /** * <code>optional string welcome_text = 2;</code> */ @@ -4491,7 +4940,6 @@ public final class Mumble { } } - // optional bool allow_html = 3; public static final int ALLOW_HTML_FIELD_NUMBER = 3; private boolean allowHtml_; /** @@ -4507,7 +4955,6 @@ public final class Mumble { return allowHtml_; } - // optional uint32 message_length = 4; public static final int MESSAGE_LENGTH_FIELD_NUMBER = 4; private int messageLength_; /** @@ -4523,7 +4970,6 @@ public final class Mumble { return messageLength_; } - // optional uint32 image_message_length = 5; public static final int IMAGE_MESSAGE_LENGTH_FIELD_NUMBER = 5; private int imageMessageLength_; /** @@ -4539,17 +4985,11 @@ public final class Mumble { return imageMessageLength_; } - private void initFields() { - maxBandwidth_ = 0; - welcomeText_ = ""; - allowHtml_ = false; - messageLength_ = 0; - imageMessageLength_ = 0; - } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -4557,12 +4997,11 @@ public final class Mumble { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, maxBandwidth_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeBytes(2, getWelcomeTextBytes()); + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, welcomeText_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(3, allowHtml_); @@ -4573,12 +5012,11 @@ public final class Mumble { if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeUInt32(5, imageMessageLength_); } - getUnknownFields().writeTo(output); + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; @@ -4587,8 +5025,7 @@ public final class Mumble { .computeUInt32Size(1, maxBandwidth_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, getWelcomeTextBytes()); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, welcomeText_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream @@ -4602,16 +5039,83 @@ public final class Mumble { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, imageMessageLength_); } - size += getUnknownFields().getSerializedSize(); - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.morlunk.jumble.protobuf.Mumble.ServerConfig)) { + return super.equals(obj); + } + com.morlunk.jumble.protobuf.Mumble.ServerConfig other = (com.morlunk.jumble.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 com.morlunk.jumble.protobuf.Mumble.ServerConfig parseFrom( @@ -4637,46 +5141,57 @@ public final class Mumble { } public static com.morlunk.jumble.protobuf.Mumble.ServerConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.ServerConfig parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.ServerConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.ServerConfig parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.ServerConfig parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.ServerConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(com.morlunk.jumble.protobuf.Mumble.ServerConfig prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -4684,14 +5199,15 @@ public final class Mumble { * Protobuf type {@code MumbleProto.ServerConfig} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> - implements com.morlunk.jumble.protobuf.Mumble.ServerConfigOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:MumbleProto.ServerConfig) + com.morlunk.jumble.protobuf.Mumble.ServerConfigOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ServerConfig_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ServerConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -4704,18 +5220,15 @@ public final class Mumble { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { } } - private static Builder create() { - return new Builder(); - } - public Builder clear() { super.clear(); maxBandwidth_ = 0; @@ -4731,10 +5244,6 @@ public final class Mumble { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ServerConfig_descriptor; @@ -4781,6 +5290,32 @@ public final class Mumble { 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 com.morlunk.jumble.protobuf.Mumble.ServerConfig) { return mergeFrom((com.morlunk.jumble.protobuf.Mumble.ServerConfig)other); @@ -4809,7 +5344,8 @@ public final class Mumble { if (other.hasImageMessageLength()) { setImageMessageLength(other.getImageMessageLength()); } - this.mergeUnknownFields(other.getUnknownFields()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } @@ -4826,7 +5362,7 @@ public final class Mumble { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.morlunk.jumble.protobuf.Mumble.ServerConfig) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -4836,7 +5372,6 @@ public final class Mumble { } private int bitField0_; - // optional uint32 max_bandwidth = 1; private int maxBandwidth_ ; /** * <code>optional uint32 max_bandwidth = 1;</code> @@ -4869,7 +5404,6 @@ public final class Mumble { return this; } - // optional string welcome_text = 2; private java.lang.Object welcomeText_ = ""; /** * <code>optional string welcome_text = 2;</code> @@ -4883,9 +5417,12 @@ public final class Mumble { public java.lang.String getWelcomeText() { java.lang.Object ref = welcomeText_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - welcomeText_ = s; + 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; @@ -4943,7 +5480,6 @@ public final class Mumble { return this; } - // optional bool allow_html = 3; private boolean allowHtml_ ; /** * <code>optional bool allow_html = 3;</code> @@ -4976,7 +5512,6 @@ public final class Mumble { return this; } - // optional uint32 message_length = 4; private int messageLength_ ; /** * <code>optional uint32 message_length = 4;</code> @@ -5009,7 +5544,6 @@ public final class Mumble { return this; } - // optional uint32 image_message_length = 5; private int imageMessageLength_ ; /** * <code>optional uint32 image_message_length = 5;</code> @@ -5041,22 +5575,59 @@ public final class Mumble { 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 com.morlunk.jumble.protobuf.Mumble.ServerConfig DEFAULT_INSTANCE; static { - defaultInstance = new ServerConfig(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new com.morlunk.jumble.protobuf.Mumble.ServerConfig(); + } + + public static com.morlunk.jumble.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 com.morlunk.jumble.protobuf.Mumble.ServerConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:MumbleProto.ServerConfig) } - public interface ServerSyncOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ServerSyncOrBuilder extends + // @@protoc_insertion_point(interface_extends:MumbleProto.ServerSync) + com.google.protobuf.MessageOrBuilder { - // optional uint32 session = 1; /** * <code>optional uint32 session = 1;</code> */ @@ -5066,7 +5637,6 @@ public final class Mumble { */ int getSession(); - // optional uint32 max_bandwidth = 2; /** * <code>optional uint32 max_bandwidth = 2;</code> */ @@ -5076,7 +5646,6 @@ public final class Mumble { */ int getMaxBandwidth(); - // optional string welcome_text = 3; /** * <code>optional string welcome_text = 3;</code> */ @@ -5091,7 +5660,6 @@ public final class Mumble { com.google.protobuf.ByteString getWelcomeTextBytes(); - // optional uint64 permissions = 4; /** * <code>optional uint64 permissions = 4;</code> */ @@ -5104,36 +5672,31 @@ public final class Mumble { /** * Protobuf type {@code MumbleProto.ServerSync} */ - public static final class ServerSync extends - com.google.protobuf.GeneratedMessage - implements ServerSyncOrBuilder { + public static final class ServerSync extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MumbleProto.ServerSync) + ServerSyncOrBuilder { // Use ServerSync.newBuilder() to construct. - private ServerSync(com.google.protobuf.GeneratedMessage.Builder<?> builder) { + private ServerSync(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); } - private ServerSync(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final ServerSync defaultInstance; - public static ServerSync getDefaultInstance() { - return defaultInstance; - } - - public ServerSync getDefaultInstanceForType() { - return defaultInstance; + private ServerSync() { + session_ = 0; + maxBandwidth_ = 0; + welcomeText_ = ""; + permissions_ = 0L; } - private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } private ServerSync( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -5163,8 +5726,9 @@ public final class Mumble { break; } case 26: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; - welcomeText_ = input.readBytes(); + welcomeText_ = bs; break; } case 32: { @@ -5178,7 +5742,7 @@ public final class Mumble { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -5189,30 +5753,14 @@ public final class Mumble { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ServerSync_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ServerSync_fieldAccessorTable .ensureFieldAccessorsInitialized( com.morlunk.jumble.protobuf.Mumble.ServerSync.class, com.morlunk.jumble.protobuf.Mumble.ServerSync.Builder.class); } - public static com.google.protobuf.Parser<ServerSync> PARSER = - new com.google.protobuf.AbstractParser<ServerSync>() { - public ServerSync parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ServerSync(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser<ServerSync> getParserForType() { - return PARSER; - } - private int bitField0_; - // optional uint32 session = 1; public static final int SESSION_FIELD_NUMBER = 1; private int session_; /** @@ -5228,7 +5776,6 @@ public final class Mumble { return session_; } - // optional uint32 max_bandwidth = 2; public static final int MAX_BANDWIDTH_FIELD_NUMBER = 2; private int maxBandwidth_; /** @@ -5244,9 +5791,8 @@ public final class Mumble { return maxBandwidth_; } - // optional string welcome_text = 3; public static final int WELCOME_TEXT_FIELD_NUMBER = 3; - private java.lang.Object welcomeText_; + private volatile java.lang.Object welcomeText_; /** * <code>optional string welcome_text = 3;</code> */ @@ -5287,7 +5833,6 @@ public final class Mumble { } } - // optional uint64 permissions = 4; public static final int PERMISSIONS_FIELD_NUMBER = 4; private long permissions_; /** @@ -5303,16 +5848,11 @@ public final class Mumble { return permissions_; } - private void initFields() { - session_ = 0; - maxBandwidth_ = 0; - welcomeText_ = ""; - permissions_ = 0L; - } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -5320,7 +5860,6 @@ public final class Mumble { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, session_); } @@ -5328,17 +5867,16 @@ public final class Mumble { output.writeUInt32(2, maxBandwidth_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeBytes(3, getWelcomeTextBytes()); + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, welcomeText_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeUInt64(4, permissions_); } - getUnknownFields().writeTo(output); + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; @@ -5351,23 +5889,80 @@ public final class Mumble { .computeUInt32Size(2, maxBandwidth_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(3, getWelcomeTextBytes()); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, welcomeText_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(4, permissions_); } - size += getUnknownFields().getSerializedSize(); - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.morlunk.jumble.protobuf.Mumble.ServerSync)) { + return super.equals(obj); + } + com.morlunk.jumble.protobuf.Mumble.ServerSync other = (com.morlunk.jumble.protobuf.Mumble.ServerSync) obj; + + boolean result = true; + result = result && (hasSession() == other.hasSession()); + if (hasSession()) { + result = result && (getSession() + == other.getSession()); + } + result = result && (hasMaxBandwidth() == other.hasMaxBandwidth()); + if (hasMaxBandwidth()) { + result = result && (getMaxBandwidth() + == other.getMaxBandwidth()); + } + result = result && (hasWelcomeText() == other.hasWelcomeText()); + if (hasWelcomeText()) { + result = result && getWelcomeText() + .equals(other.getWelcomeText()); + } + result = result && (hasPermissions() == other.hasPermissions()); + if (hasPermissions()) { + result = result && (getPermissions() + == other.getPermissions()); + } + 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 (hasSession()) { + hash = (37 * hash) + SESSION_FIELD_NUMBER; + hash = (53 * hash) + getSession(); + } + if (hasMaxBandwidth()) { + hash = (37 * hash) + MAX_BANDWIDTH_FIELD_NUMBER; + hash = (53 * hash) + getMaxBandwidth(); + } + if (hasWelcomeText()) { + hash = (37 * hash) + WELCOME_TEXT_FIELD_NUMBER; + hash = (53 * hash) + getWelcomeText().hashCode(); + } + if (hasPermissions()) { + hash = (37 * hash) + PERMISSIONS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getPermissions()); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; } public static com.morlunk.jumble.protobuf.Mumble.ServerSync parseFrom( @@ -5393,46 +5988,57 @@ public final class Mumble { } public static com.morlunk.jumble.protobuf.Mumble.ServerSync parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.ServerSync parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.ServerSync parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.ServerSync parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.ServerSync parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.ServerSync parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(com.morlunk.jumble.protobuf.Mumble.ServerSync prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -5440,14 +6046,15 @@ public final class Mumble { * Protobuf type {@code MumbleProto.ServerSync} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> - implements com.morlunk.jumble.protobuf.Mumble.ServerSyncOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:MumbleProto.ServerSync) + com.morlunk.jumble.protobuf.Mumble.ServerSyncOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ServerSync_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ServerSync_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -5460,18 +6067,15 @@ public final class Mumble { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { } } - private static Builder create() { - return new Builder(); - } - public Builder clear() { super.clear(); session_ = 0; @@ -5485,10 +6089,6 @@ public final class Mumble { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ServerSync_descriptor; @@ -5531,6 +6131,32 @@ public final class Mumble { 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 com.morlunk.jumble.protobuf.Mumble.ServerSync) { return mergeFrom((com.morlunk.jumble.protobuf.Mumble.ServerSync)other); @@ -5556,7 +6182,8 @@ public final class Mumble { if (other.hasPermissions()) { setPermissions(other.getPermissions()); } - this.mergeUnknownFields(other.getUnknownFields()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } @@ -5573,7 +6200,7 @@ public final class Mumble { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.morlunk.jumble.protobuf.Mumble.ServerSync) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -5583,7 +6210,6 @@ public final class Mumble { } private int bitField0_; - // optional uint32 session = 1; private int session_ ; /** * <code>optional uint32 session = 1;</code> @@ -5616,7 +6242,6 @@ public final class Mumble { return this; } - // optional uint32 max_bandwidth = 2; private int maxBandwidth_ ; /** * <code>optional uint32 max_bandwidth = 2;</code> @@ -5649,7 +6274,6 @@ public final class Mumble { return this; } - // optional string welcome_text = 3; private java.lang.Object welcomeText_ = ""; /** * <code>optional string welcome_text = 3;</code> @@ -5663,9 +6287,12 @@ public final class Mumble { public java.lang.String getWelcomeText() { java.lang.Object ref = welcomeText_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - welcomeText_ = s; + 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; @@ -5723,7 +6350,6 @@ public final class Mumble { return this; } - // optional uint64 permissions = 4; private long permissions_ ; /** * <code>optional uint64 permissions = 4;</code> @@ -5755,22 +6381,59 @@ public final class Mumble { 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.ServerSync) } + // @@protoc_insertion_point(class_scope:MumbleProto.ServerSync) + private static final com.morlunk.jumble.protobuf.Mumble.ServerSync DEFAULT_INSTANCE; static { - defaultInstance = new ServerSync(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new com.morlunk.jumble.protobuf.Mumble.ServerSync(); + } + + public static com.morlunk.jumble.protobuf.Mumble.ServerSync getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser<ServerSync> + PARSER = new com.google.protobuf.AbstractParser<ServerSync>() { + public ServerSync parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ServerSync(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<ServerSync> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<ServerSync> getParserForType() { + return PARSER; + } + + public com.morlunk.jumble.protobuf.Mumble.ServerSync getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:MumbleProto.ServerSync) } - public interface ChannelRemoveOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ChannelRemoveOrBuilder extends + // @@protoc_insertion_point(interface_extends:MumbleProto.ChannelRemove) + com.google.protobuf.MessageOrBuilder { - // required uint32 channel_id = 1; /** * <code>required uint32 channel_id = 1;</code> */ @@ -5783,36 +6446,28 @@ public final class Mumble { /** * Protobuf type {@code MumbleProto.ChannelRemove} */ - public static final class ChannelRemove extends - com.google.protobuf.GeneratedMessage - implements ChannelRemoveOrBuilder { + public static final class ChannelRemove extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MumbleProto.ChannelRemove) + ChannelRemoveOrBuilder { // Use ChannelRemove.newBuilder() to construct. - private ChannelRemove(com.google.protobuf.GeneratedMessage.Builder<?> builder) { + private ChannelRemove(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); - } - private ChannelRemove(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final ChannelRemove defaultInstance; - public static ChannelRemove getDefaultInstance() { - return defaultInstance; } - - public ChannelRemove getDefaultInstanceForType() { - return defaultInstance; + private ChannelRemove() { + channelId_ = 0; } - private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } private ChannelRemove( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -5842,7 +6497,7 @@ public final class Mumble { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -5853,30 +6508,14 @@ public final class Mumble { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ChannelRemove_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ChannelRemove_fieldAccessorTable .ensureFieldAccessorsInitialized( com.morlunk.jumble.protobuf.Mumble.ChannelRemove.class, com.morlunk.jumble.protobuf.Mumble.ChannelRemove.Builder.class); } - public static com.google.protobuf.Parser<ChannelRemove> PARSER = - new com.google.protobuf.AbstractParser<ChannelRemove>() { - public ChannelRemove parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ChannelRemove(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser<ChannelRemove> getParserForType() { - return PARSER; - } - private int bitField0_; - // required uint32 channel_id = 1; public static final int CHANNEL_ID_FIELD_NUMBER = 1; private int channelId_; /** @@ -5892,13 +6531,11 @@ public final class Mumble { return channelId_; } - private void initFields() { - channelId_ = 0; - } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasChannelId()) { memoizedIsInitialized = 0; @@ -5910,16 +6547,14 @@ public final class Mumble { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, channelId_); } - getUnknownFields().writeTo(output); + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; @@ -5927,16 +6562,46 @@ public final class Mumble { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, channelId_); } - size += getUnknownFields().getSerializedSize(); - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.morlunk.jumble.protobuf.Mumble.ChannelRemove)) { + return super.equals(obj); + } + com.morlunk.jumble.protobuf.Mumble.ChannelRemove other = (com.morlunk.jumble.protobuf.Mumble.ChannelRemove) obj; + + boolean result = true; + result = result && (hasChannelId() == other.hasChannelId()); + if (hasChannelId()) { + result = result && (getChannelId() + == other.getChannelId()); + } + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptorForType().hashCode(); + if (hasChannelId()) { + hash = (37 * hash) + CHANNEL_ID_FIELD_NUMBER; + hash = (53 * hash) + getChannelId(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; } public static com.morlunk.jumble.protobuf.Mumble.ChannelRemove parseFrom( @@ -5962,46 +6627,57 @@ public final class Mumble { } public static com.morlunk.jumble.protobuf.Mumble.ChannelRemove parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.ChannelRemove parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.ChannelRemove parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.ChannelRemove parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.ChannelRemove parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.ChannelRemove parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(com.morlunk.jumble.protobuf.Mumble.ChannelRemove prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -6009,14 +6685,15 @@ public final class Mumble { * Protobuf type {@code MumbleProto.ChannelRemove} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> - implements com.morlunk.jumble.protobuf.Mumble.ChannelRemoveOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:MumbleProto.ChannelRemove) + com.morlunk.jumble.protobuf.Mumble.ChannelRemoveOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ChannelRemove_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ChannelRemove_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -6029,18 +6706,15 @@ public final class Mumble { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { } } - private static Builder create() { - return new Builder(); - } - public Builder clear() { super.clear(); channelId_ = 0; @@ -6048,10 +6722,6 @@ public final class Mumble { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ChannelRemove_descriptor; @@ -6082,6 +6752,32 @@ public final class Mumble { 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 com.morlunk.jumble.protobuf.Mumble.ChannelRemove) { return mergeFrom((com.morlunk.jumble.protobuf.Mumble.ChannelRemove)other); @@ -6096,13 +6792,13 @@ public final class Mumble { if (other.hasChannelId()) { setChannelId(other.getChannelId()); } - this.mergeUnknownFields(other.getUnknownFields()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } public final boolean isInitialized() { if (!hasChannelId()) { - return false; } return true; @@ -6117,7 +6813,7 @@ public final class Mumble { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.morlunk.jumble.protobuf.Mumble.ChannelRemove) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -6127,7 +6823,6 @@ public final class Mumble { } private int bitField0_; - // required uint32 channel_id = 1; private int channelId_ ; /** * <code>required uint32 channel_id = 1;</code> @@ -6159,22 +6854,59 @@ public final class Mumble { 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.ChannelRemove) } + // @@protoc_insertion_point(class_scope:MumbleProto.ChannelRemove) + private static final com.morlunk.jumble.protobuf.Mumble.ChannelRemove DEFAULT_INSTANCE; static { - defaultInstance = new ChannelRemove(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new com.morlunk.jumble.protobuf.Mumble.ChannelRemove(); + } + + public static com.morlunk.jumble.protobuf.Mumble.ChannelRemove getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser<ChannelRemove> + PARSER = new com.google.protobuf.AbstractParser<ChannelRemove>() { + public ChannelRemove parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ChannelRemove(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<ChannelRemove> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<ChannelRemove> getParserForType() { + return PARSER; + } + + public com.morlunk.jumble.protobuf.Mumble.ChannelRemove getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:MumbleProto.ChannelRemove) } - public interface ChannelStateOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ChannelStateOrBuilder extends + // @@protoc_insertion_point(interface_extends:MumbleProto.ChannelState) + com.google.protobuf.MessageOrBuilder { - // optional uint32 channel_id = 1; /** * <code>optional uint32 channel_id = 1;</code> */ @@ -6184,7 +6916,6 @@ public final class Mumble { */ int getChannelId(); - // optional uint32 parent = 2; /** * <code>optional uint32 parent = 2;</code> */ @@ -6194,7 +6925,6 @@ public final class Mumble { */ int getParent(); - // optional string name = 3; /** * <code>optional string name = 3;</code> */ @@ -6209,7 +6939,6 @@ public final class Mumble { com.google.protobuf.ByteString getNameBytes(); - // repeated uint32 links = 4; /** * <code>repeated uint32 links = 4;</code> */ @@ -6223,7 +6952,6 @@ public final class Mumble { */ int getLinks(int index); - // optional string description = 5; /** * <code>optional string description = 5;</code> */ @@ -6238,7 +6966,6 @@ public final class Mumble { com.google.protobuf.ByteString getDescriptionBytes(); - // repeated uint32 links_add = 6; /** * <code>repeated uint32 links_add = 6;</code> */ @@ -6252,7 +6979,6 @@ public final class Mumble { */ int getLinksAdd(int index); - // repeated uint32 links_remove = 7; /** * <code>repeated uint32 links_remove = 7;</code> */ @@ -6266,7 +6992,6 @@ public final class Mumble { */ int getLinksRemove(int index); - // optional bool temporary = 8 [default = false]; /** * <code>optional bool temporary = 8 [default = false];</code> */ @@ -6276,7 +7001,6 @@ public final class Mumble { */ boolean getTemporary(); - // optional int32 position = 9 [default = 0]; /** * <code>optional int32 position = 9 [default = 0];</code> */ @@ -6286,7 +7010,6 @@ public final class Mumble { */ int getPosition(); - // optional bytes description_hash = 10; /** * <code>optional bytes description_hash = 10;</code> */ @@ -6299,36 +7022,37 @@ public final class Mumble { /** * Protobuf type {@code MumbleProto.ChannelState} */ - public static final class ChannelState extends - com.google.protobuf.GeneratedMessage - implements ChannelStateOrBuilder { + public static final class ChannelState extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MumbleProto.ChannelState) + ChannelStateOrBuilder { // Use ChannelState.newBuilder() to construct. - private ChannelState(com.google.protobuf.GeneratedMessage.Builder<?> builder) { + private ChannelState(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); - } - private ChannelState(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final ChannelState defaultInstance; - public static ChannelState getDefaultInstance() { - return defaultInstance; } - - public ChannelState getDefaultInstanceForType() { - return defaultInstance; + private ChannelState() { + channelId_ = 0; + parent_ = 0; + name_ = ""; + links_ = java.util.Collections.emptyList(); + description_ = ""; + linksAdd_ = java.util.Collections.emptyList(); + linksRemove_ = java.util.Collections.emptyList(); + temporary_ = false; + position_ = 0; + descriptionHash_ = com.google.protobuf.ByteString.EMPTY; } - private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } private ChannelState( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -6358,8 +7082,9 @@ public final class Mumble { break; } case 26: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; - name_ = input.readBytes(); + name_ = bs; break; } case 32: { @@ -6384,8 +7109,9 @@ public final class Mumble { break; } case 42: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; - description_ = input.readBytes(); + description_ = bs; break; } case 48: { @@ -6451,7 +7177,7 @@ public final class Mumble { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { links_ = java.util.Collections.unmodifiableList(links_); @@ -6471,30 +7197,14 @@ public final class Mumble { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ChannelState_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ChannelState_fieldAccessorTable .ensureFieldAccessorsInitialized( com.morlunk.jumble.protobuf.Mumble.ChannelState.class, com.morlunk.jumble.protobuf.Mumble.ChannelState.Builder.class); } - public static com.google.protobuf.Parser<ChannelState> PARSER = - new com.google.protobuf.AbstractParser<ChannelState>() { - public ChannelState parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ChannelState(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser<ChannelState> getParserForType() { - return PARSER; - } - private int bitField0_; - // optional uint32 channel_id = 1; public static final int CHANNEL_ID_FIELD_NUMBER = 1; private int channelId_; /** @@ -6510,7 +7220,6 @@ public final class Mumble { return channelId_; } - // optional uint32 parent = 2; public static final int PARENT_FIELD_NUMBER = 2; private int parent_; /** @@ -6526,9 +7235,8 @@ public final class Mumble { return parent_; } - // optional string name = 3; public static final int NAME_FIELD_NUMBER = 3; - private java.lang.Object name_; + private volatile java.lang.Object name_; /** * <code>optional string name = 3;</code> */ @@ -6569,7 +7277,6 @@ public final class Mumble { } } - // repeated uint32 links = 4; public static final int LINKS_FIELD_NUMBER = 4; private java.util.List<java.lang.Integer> links_; /** @@ -6592,9 +7299,8 @@ public final class Mumble { return links_.get(index); } - // optional string description = 5; public static final int DESCRIPTION_FIELD_NUMBER = 5; - private java.lang.Object description_; + private volatile java.lang.Object description_; /** * <code>optional string description = 5;</code> */ @@ -6635,7 +7341,6 @@ public final class Mumble { } } - // repeated uint32 links_add = 6; public static final int LINKS_ADD_FIELD_NUMBER = 6; private java.util.List<java.lang.Integer> linksAdd_; /** @@ -6658,7 +7363,6 @@ public final class Mumble { return linksAdd_.get(index); } - // repeated uint32 links_remove = 7; public static final int LINKS_REMOVE_FIELD_NUMBER = 7; private java.util.List<java.lang.Integer> linksRemove_; /** @@ -6681,7 +7385,6 @@ public final class Mumble { return linksRemove_.get(index); } - // optional bool temporary = 8 [default = false]; public static final int TEMPORARY_FIELD_NUMBER = 8; private boolean temporary_; /** @@ -6697,7 +7400,6 @@ public final class Mumble { return temporary_; } - // optional int32 position = 9 [default = 0]; public static final int POSITION_FIELD_NUMBER = 9; private int position_; /** @@ -6713,7 +7415,6 @@ public final class Mumble { return position_; } - // optional bytes description_hash = 10; public static final int DESCRIPTION_HASH_FIELD_NUMBER = 10; private com.google.protobuf.ByteString descriptionHash_; /** @@ -6729,22 +7430,11 @@ public final class Mumble { return descriptionHash_; } - private void initFields() { - channelId_ = 0; - parent_ = 0; - name_ = ""; - links_ = java.util.Collections.emptyList(); - description_ = ""; - linksAdd_ = java.util.Collections.emptyList(); - linksRemove_ = java.util.Collections.emptyList(); - temporary_ = false; - position_ = 0; - descriptionHash_ = com.google.protobuf.ByteString.EMPTY; - } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -6752,7 +7442,6 @@ public final class Mumble { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, channelId_); } @@ -6760,13 +7449,13 @@ public final class Mumble { output.writeUInt32(2, parent_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeBytes(3, getNameBytes()); + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); } for (int i = 0; i < links_.size(); i++) { output.writeUInt32(4, links_.get(i)); } if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeBytes(5, getDescriptionBytes()); + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, description_); } for (int i = 0; i < linksAdd_.size(); i++) { output.writeUInt32(6, linksAdd_.get(i)); @@ -6783,12 +7472,11 @@ public final class Mumble { if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeBytes(10, descriptionHash_); } - getUnknownFields().writeTo(output); + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; @@ -6801,8 +7489,7 @@ public final class Mumble { .computeUInt32Size(2, parent_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(3, getNameBytes()); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); } { int dataSize = 0; @@ -6814,8 +7501,7 @@ public final class Mumble { size += 1 * getLinksList().size(); } if (((bitField0_ & 0x00000008) == 0x00000008)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(5, getDescriptionBytes()); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_); } { int dataSize = 0; @@ -6847,16 +7533,119 @@ public final class Mumble { size += com.google.protobuf.CodedOutputStream .computeBytesSize(10, descriptionHash_); } - size += getUnknownFields().getSerializedSize(); - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.morlunk.jumble.protobuf.Mumble.ChannelState)) { + return super.equals(obj); + } + com.morlunk.jumble.protobuf.Mumble.ChannelState other = (com.morlunk.jumble.protobuf.Mumble.ChannelState) obj; + + boolean result = true; + result = result && (hasChannelId() == other.hasChannelId()); + if (hasChannelId()) { + result = result && (getChannelId() + == other.getChannelId()); + } + result = result && (hasParent() == other.hasParent()); + if (hasParent()) { + result = result && (getParent() + == other.getParent()); + } + result = result && (hasName() == other.hasName()); + if (hasName()) { + result = result && getName() + .equals(other.getName()); + } + result = result && getLinksList() + .equals(other.getLinksList()); + result = result && (hasDescription() == other.hasDescription()); + if (hasDescription()) { + result = result && getDescription() + .equals(other.getDescription()); + } + result = result && getLinksAddList() + .equals(other.getLinksAddList()); + result = result && getLinksRemoveList() + .equals(other.getLinksRemoveList()); + result = result && (hasTemporary() == other.hasTemporary()); + if (hasTemporary()) { + result = result && (getTemporary() + == other.getTemporary()); + } + result = result && (hasPosition() == other.hasPosition()); + if (hasPosition()) { + result = result && (getPosition() + == other.getPosition()); + } + result = result && (hasDescriptionHash() == other.hasDescriptionHash()); + if (hasDescriptionHash()) { + result = result && getDescriptionHash() + .equals(other.getDescriptionHash()); + } + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptorForType().hashCode(); + if (hasChannelId()) { + hash = (37 * hash) + CHANNEL_ID_FIELD_NUMBER; + hash = (53 * hash) + getChannelId(); + } + if (hasParent()) { + hash = (37 * hash) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent(); + } + if (hasName()) { + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + } + if (getLinksCount() > 0) { + hash = (37 * hash) + LINKS_FIELD_NUMBER; + hash = (53 * hash) + getLinksList().hashCode(); + } + if (hasDescription()) { + hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getDescription().hashCode(); + } + if (getLinksAddCount() > 0) { + hash = (37 * hash) + LINKS_ADD_FIELD_NUMBER; + hash = (53 * hash) + getLinksAddList().hashCode(); + } + if (getLinksRemoveCount() > 0) { + hash = (37 * hash) + LINKS_REMOVE_FIELD_NUMBER; + hash = (53 * hash) + getLinksRemoveList().hashCode(); + } + if (hasTemporary()) { + hash = (37 * hash) + TEMPORARY_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getTemporary()); + } + if (hasPosition()) { + hash = (37 * hash) + POSITION_FIELD_NUMBER; + hash = (53 * hash) + getPosition(); + } + if (hasDescriptionHash()) { + hash = (37 * hash) + DESCRIPTION_HASH_FIELD_NUMBER; + hash = (53 * hash) + getDescriptionHash().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; } public static com.morlunk.jumble.protobuf.Mumble.ChannelState parseFrom( @@ -6882,46 +7671,57 @@ public final class Mumble { } public static com.morlunk.jumble.protobuf.Mumble.ChannelState parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.ChannelState parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.ChannelState parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.ChannelState parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.ChannelState parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.ChannelState parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(com.morlunk.jumble.protobuf.Mumble.ChannelState prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -6929,14 +7729,15 @@ public final class Mumble { * Protobuf type {@code MumbleProto.ChannelState} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> - implements com.morlunk.jumble.protobuf.Mumble.ChannelStateOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:MumbleProto.ChannelState) + com.morlunk.jumble.protobuf.Mumble.ChannelStateOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ChannelState_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ChannelState_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -6949,18 +7750,15 @@ public final class Mumble { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { } } - private static Builder create() { - return new Builder(); - } - public Builder clear() { super.clear(); channelId_ = 0; @@ -6986,10 +7784,6 @@ public final class Mumble { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ChannelState_descriptor; @@ -7059,6 +7853,32 @@ public final class Mumble { 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 com.morlunk.jumble.protobuf.Mumble.ChannelState) { return mergeFrom((com.morlunk.jumble.protobuf.Mumble.ChannelState)other); @@ -7125,7 +7945,8 @@ public final class Mumble { if (other.hasDescriptionHash()) { setDescriptionHash(other.getDescriptionHash()); } - this.mergeUnknownFields(other.getUnknownFields()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } @@ -7142,7 +7963,7 @@ public final class Mumble { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.morlunk.jumble.protobuf.Mumble.ChannelState) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -7152,7 +7973,6 @@ public final class Mumble { } private int bitField0_; - // optional uint32 channel_id = 1; private int channelId_ ; /** * <code>optional uint32 channel_id = 1;</code> @@ -7185,7 +8005,6 @@ public final class Mumble { return this; } - // optional uint32 parent = 2; private int parent_ ; /** * <code>optional uint32 parent = 2;</code> @@ -7218,7 +8037,6 @@ public final class Mumble { return this; } - // optional string name = 3; private java.lang.Object name_ = ""; /** * <code>optional string name = 3;</code> @@ -7232,9 +8050,12 @@ public final class Mumble { public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - name_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + name_ = s; + } return s; } else { return (java.lang.String) ref; @@ -7292,7 +8113,6 @@ public final class Mumble { return this; } - // repeated uint32 links = 4; private java.util.List<java.lang.Integer> links_ = java.util.Collections.emptyList(); private void ensureLinksIsMutable() { if (!((bitField0_ & 0x00000008) == 0x00000008)) { @@ -7344,7 +8164,8 @@ public final class Mumble { public Builder addAllLinks( java.lang.Iterable<? extends java.lang.Integer> values) { ensureLinksIsMutable(); - super.addAll(values, links_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, links_); onChanged(); return this; } @@ -7358,7 +8179,6 @@ public final class Mumble { return this; } - // optional string description = 5; private java.lang.Object description_ = ""; /** * <code>optional string description = 5;</code> @@ -7372,9 +8192,12 @@ public final class Mumble { public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - description_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + description_ = s; + } return s; } else { return (java.lang.String) ref; @@ -7432,7 +8255,6 @@ public final class Mumble { return this; } - // repeated uint32 links_add = 6; private java.util.List<java.lang.Integer> linksAdd_ = java.util.Collections.emptyList(); private void ensureLinksAddIsMutable() { if (!((bitField0_ & 0x00000020) == 0x00000020)) { @@ -7484,7 +8306,8 @@ public final class Mumble { public Builder addAllLinksAdd( java.lang.Iterable<? extends java.lang.Integer> values) { ensureLinksAddIsMutable(); - super.addAll(values, linksAdd_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, linksAdd_); onChanged(); return this; } @@ -7498,7 +8321,6 @@ public final class Mumble { return this; } - // repeated uint32 links_remove = 7; private java.util.List<java.lang.Integer> linksRemove_ = java.util.Collections.emptyList(); private void ensureLinksRemoveIsMutable() { if (!((bitField0_ & 0x00000040) == 0x00000040)) { @@ -7550,7 +8372,8 @@ public final class Mumble { public Builder addAllLinksRemove( java.lang.Iterable<? extends java.lang.Integer> values) { ensureLinksRemoveIsMutable(); - super.addAll(values, linksRemove_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, linksRemove_); onChanged(); return this; } @@ -7564,7 +8387,6 @@ public final class Mumble { return this; } - // optional bool temporary = 8 [default = false]; private boolean temporary_ ; /** * <code>optional bool temporary = 8 [default = false];</code> @@ -7597,7 +8419,6 @@ public final class Mumble { return this; } - // optional int32 position = 9 [default = 0]; private int position_ ; /** * <code>optional int32 position = 9 [default = 0];</code> @@ -7630,7 +8451,6 @@ public final class Mumble { return this; } - // optional bytes description_hash = 10; private com.google.protobuf.ByteString descriptionHash_ = com.google.protobuf.ByteString.EMPTY; /** * <code>optional bytes description_hash = 10;</code> @@ -7665,22 +8485,59 @@ public final class Mumble { 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.ChannelState) } + // @@protoc_insertion_point(class_scope:MumbleProto.ChannelState) + private static final com.morlunk.jumble.protobuf.Mumble.ChannelState DEFAULT_INSTANCE; static { - defaultInstance = new ChannelState(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new com.morlunk.jumble.protobuf.Mumble.ChannelState(); + } + + public static com.morlunk.jumble.protobuf.Mumble.ChannelState getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser<ChannelState> + PARSER = new com.google.protobuf.AbstractParser<ChannelState>() { + public ChannelState parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ChannelState(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<ChannelState> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<ChannelState> getParserForType() { + return PARSER; + } + + public com.morlunk.jumble.protobuf.Mumble.ChannelState getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:MumbleProto.ChannelState) } - public interface UserRemoveOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface UserRemoveOrBuilder extends + // @@protoc_insertion_point(interface_extends:MumbleProto.UserRemove) + com.google.protobuf.MessageOrBuilder { - // required uint32 session = 1; /** * <code>required uint32 session = 1;</code> */ @@ -7690,7 +8547,6 @@ public final class Mumble { */ int getSession(); - // optional uint32 actor = 2; /** * <code>optional uint32 actor = 2;</code> */ @@ -7700,7 +8556,6 @@ public final class Mumble { */ int getActor(); - // optional string reason = 3; /** * <code>optional string reason = 3;</code> */ @@ -7715,7 +8570,6 @@ public final class Mumble { com.google.protobuf.ByteString getReasonBytes(); - // optional bool ban = 4; /** * <code>optional bool ban = 4;</code> */ @@ -7728,36 +8582,31 @@ public final class Mumble { /** * Protobuf type {@code MumbleProto.UserRemove} */ - public static final class UserRemove extends - com.google.protobuf.GeneratedMessage - implements UserRemoveOrBuilder { + public static final class UserRemove extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MumbleProto.UserRemove) + UserRemoveOrBuilder { // Use UserRemove.newBuilder() to construct. - private UserRemove(com.google.protobuf.GeneratedMessage.Builder<?> builder) { + private UserRemove(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); - } - private UserRemove(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final UserRemove defaultInstance; - public static UserRemove getDefaultInstance() { - return defaultInstance; } - - public UserRemove getDefaultInstanceForType() { - return defaultInstance; + private UserRemove() { + session_ = 0; + actor_ = 0; + reason_ = ""; + ban_ = false; } - private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } private UserRemove( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -7787,8 +8636,9 @@ public final class Mumble { break; } case 26: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; - reason_ = input.readBytes(); + reason_ = bs; break; } case 32: { @@ -7802,7 +8652,7 @@ public final class Mumble { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -7813,30 +8663,14 @@ public final class Mumble { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_UserRemove_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_UserRemove_fieldAccessorTable .ensureFieldAccessorsInitialized( com.morlunk.jumble.protobuf.Mumble.UserRemove.class, com.morlunk.jumble.protobuf.Mumble.UserRemove.Builder.class); } - public static com.google.protobuf.Parser<UserRemove> PARSER = - new com.google.protobuf.AbstractParser<UserRemove>() { - public UserRemove parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UserRemove(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser<UserRemove> getParserForType() { - return PARSER; - } - private int bitField0_; - // required uint32 session = 1; public static final int SESSION_FIELD_NUMBER = 1; private int session_; /** @@ -7852,7 +8686,6 @@ public final class Mumble { return session_; } - // optional uint32 actor = 2; public static final int ACTOR_FIELD_NUMBER = 2; private int actor_; /** @@ -7868,9 +8701,8 @@ public final class Mumble { return actor_; } - // optional string reason = 3; public static final int REASON_FIELD_NUMBER = 3; - private java.lang.Object reason_; + private volatile java.lang.Object reason_; /** * <code>optional string reason = 3;</code> */ @@ -7911,7 +8743,6 @@ public final class Mumble { } } - // optional bool ban = 4; public static final int BAN_FIELD_NUMBER = 4; private boolean ban_; /** @@ -7927,16 +8758,11 @@ public final class Mumble { return ban_; } - private void initFields() { - session_ = 0; - actor_ = 0; - reason_ = ""; - ban_ = false; - } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasSession()) { memoizedIsInitialized = 0; @@ -7948,7 +8774,6 @@ public final class Mumble { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, session_); } @@ -7956,17 +8781,16 @@ public final class Mumble { output.writeUInt32(2, actor_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeBytes(3, getReasonBytes()); + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, reason_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBool(4, ban_); } - getUnknownFields().writeTo(output); + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; @@ -7979,23 +8803,80 @@ public final class Mumble { .computeUInt32Size(2, actor_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(3, getReasonBytes()); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, reason_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, ban_); } - size += getUnknownFields().getSerializedSize(); - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.morlunk.jumble.protobuf.Mumble.UserRemove)) { + return super.equals(obj); + } + com.morlunk.jumble.protobuf.Mumble.UserRemove other = (com.morlunk.jumble.protobuf.Mumble.UserRemove) obj; + + boolean result = true; + result = result && (hasSession() == other.hasSession()); + if (hasSession()) { + result = result && (getSession() + == other.getSession()); + } + result = result && (hasActor() == other.hasActor()); + if (hasActor()) { + result = result && (getActor() + == other.getActor()); + } + result = result && (hasReason() == other.hasReason()); + if (hasReason()) { + result = result && getReason() + .equals(other.getReason()); + } + result = result && (hasBan() == other.hasBan()); + if (hasBan()) { + result = result && (getBan() + == other.getBan()); + } + 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 (hasSession()) { + hash = (37 * hash) + SESSION_FIELD_NUMBER; + hash = (53 * hash) + getSession(); + } + if (hasActor()) { + hash = (37 * hash) + ACTOR_FIELD_NUMBER; + hash = (53 * hash) + getActor(); + } + if (hasReason()) { + hash = (37 * hash) + REASON_FIELD_NUMBER; + hash = (53 * hash) + getReason().hashCode(); + } + if (hasBan()) { + hash = (37 * hash) + BAN_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getBan()); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; } public static com.morlunk.jumble.protobuf.Mumble.UserRemove parseFrom( @@ -8021,46 +8902,57 @@ public final class Mumble { } public static com.morlunk.jumble.protobuf.Mumble.UserRemove parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.UserRemove parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.UserRemove parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.UserRemove parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.UserRemove parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.UserRemove parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(com.morlunk.jumble.protobuf.Mumble.UserRemove prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -8068,14 +8960,15 @@ public final class Mumble { * Protobuf type {@code MumbleProto.UserRemove} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> - implements com.morlunk.jumble.protobuf.Mumble.UserRemoveOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:MumbleProto.UserRemove) + com.morlunk.jumble.protobuf.Mumble.UserRemoveOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_UserRemove_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_UserRemove_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -8088,18 +8981,15 @@ public final class Mumble { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { } } - private static Builder create() { - return new Builder(); - } - public Builder clear() { super.clear(); session_ = 0; @@ -8113,10 +9003,6 @@ public final class Mumble { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_UserRemove_descriptor; @@ -8159,6 +9045,32 @@ public final class Mumble { 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 com.morlunk.jumble.protobuf.Mumble.UserRemove) { return mergeFrom((com.morlunk.jumble.protobuf.Mumble.UserRemove)other); @@ -8184,13 +9096,13 @@ public final class Mumble { if (other.hasBan()) { setBan(other.getBan()); } - this.mergeUnknownFields(other.getUnknownFields()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } public final boolean isInitialized() { if (!hasSession()) { - return false; } return true; @@ -8205,7 +9117,7 @@ public final class Mumble { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.morlunk.jumble.protobuf.Mumble.UserRemove) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -8215,7 +9127,6 @@ public final class Mumble { } private int bitField0_; - // required uint32 session = 1; private int session_ ; /** * <code>required uint32 session = 1;</code> @@ -8248,7 +9159,6 @@ public final class Mumble { return this; } - // optional uint32 actor = 2; private int actor_ ; /** * <code>optional uint32 actor = 2;</code> @@ -8281,7 +9191,6 @@ public final class Mumble { return this; } - // optional string reason = 3; private java.lang.Object reason_ = ""; /** * <code>optional string reason = 3;</code> @@ -8295,9 +9204,12 @@ public final class Mumble { public java.lang.String getReason() { java.lang.Object ref = reason_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - reason_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + reason_ = s; + } return s; } else { return (java.lang.String) ref; @@ -8355,7 +9267,6 @@ public final class Mumble { return this; } - // optional bool ban = 4; private boolean ban_ ; /** * <code>optional bool ban = 4;</code> @@ -8387,22 +9298,59 @@ public final class Mumble { 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.UserRemove) } + // @@protoc_insertion_point(class_scope:MumbleProto.UserRemove) + private static final com.morlunk.jumble.protobuf.Mumble.UserRemove DEFAULT_INSTANCE; static { - defaultInstance = new UserRemove(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new com.morlunk.jumble.protobuf.Mumble.UserRemove(); + } + + public static com.morlunk.jumble.protobuf.Mumble.UserRemove getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser<UserRemove> + PARSER = new com.google.protobuf.AbstractParser<UserRemove>() { + public UserRemove parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UserRemove(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<UserRemove> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<UserRemove> getParserForType() { + return PARSER; + } + + public com.morlunk.jumble.protobuf.Mumble.UserRemove getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:MumbleProto.UserRemove) } - public interface UserStateOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface UserStateOrBuilder extends + // @@protoc_insertion_point(interface_extends:MumbleProto.UserState) + com.google.protobuf.MessageOrBuilder { - // optional uint32 session = 1; /** * <code>optional uint32 session = 1;</code> */ @@ -8412,7 +9360,6 @@ public final class Mumble { */ int getSession(); - // optional uint32 actor = 2; /** * <code>optional uint32 actor = 2;</code> */ @@ -8422,7 +9369,6 @@ public final class Mumble { */ int getActor(); - // optional string name = 3; /** * <code>optional string name = 3;</code> */ @@ -8437,7 +9383,6 @@ public final class Mumble { com.google.protobuf.ByteString getNameBytes(); - // optional uint32 user_id = 4; /** * <code>optional uint32 user_id = 4;</code> */ @@ -8447,7 +9392,6 @@ public final class Mumble { */ int getUserId(); - // optional uint32 channel_id = 5; /** * <code>optional uint32 channel_id = 5;</code> */ @@ -8457,7 +9401,6 @@ public final class Mumble { */ int getChannelId(); - // optional bool mute = 6; /** * <code>optional bool mute = 6;</code> */ @@ -8467,7 +9410,6 @@ public final class Mumble { */ boolean getMute(); - // optional bool deaf = 7; /** * <code>optional bool deaf = 7;</code> */ @@ -8477,7 +9419,6 @@ public final class Mumble { */ boolean getDeaf(); - // optional bool suppress = 8; /** * <code>optional bool suppress = 8;</code> */ @@ -8487,7 +9428,6 @@ public final class Mumble { */ boolean getSuppress(); - // optional bool self_mute = 9; /** * <code>optional bool self_mute = 9;</code> */ @@ -8497,7 +9437,6 @@ public final class Mumble { */ boolean getSelfMute(); - // optional bool self_deaf = 10; /** * <code>optional bool self_deaf = 10;</code> */ @@ -8507,7 +9446,6 @@ public final class Mumble { */ boolean getSelfDeaf(); - // optional bytes texture = 11; /** * <code>optional bytes texture = 11;</code> */ @@ -8517,7 +9455,6 @@ public final class Mumble { */ com.google.protobuf.ByteString getTexture(); - // optional bytes plugin_context = 12; /** * <code>optional bytes plugin_context = 12;</code> */ @@ -8527,7 +9464,6 @@ public final class Mumble { */ com.google.protobuf.ByteString getPluginContext(); - // optional string plugin_identity = 13; /** * <code>optional string plugin_identity = 13;</code> */ @@ -8542,7 +9478,6 @@ public final class Mumble { com.google.protobuf.ByteString getPluginIdentityBytes(); - // optional string comment = 14; /** * <code>optional string comment = 14;</code> */ @@ -8557,7 +9492,6 @@ public final class Mumble { com.google.protobuf.ByteString getCommentBytes(); - // optional string hash = 15; /** * <code>optional string hash = 15;</code> */ @@ -8572,7 +9506,6 @@ public final class Mumble { com.google.protobuf.ByteString getHashBytes(); - // optional bytes comment_hash = 16; /** * <code>optional bytes comment_hash = 16;</code> */ @@ -8582,7 +9515,6 @@ public final class Mumble { */ com.google.protobuf.ByteString getCommentHash(); - // optional bytes texture_hash = 17; /** * <code>optional bytes texture_hash = 17;</code> */ @@ -8592,7 +9524,6 @@ public final class Mumble { */ com.google.protobuf.ByteString getTextureHash(); - // optional bool priority_speaker = 18; /** * <code>optional bool priority_speaker = 18;</code> */ @@ -8602,7 +9533,6 @@ public final class Mumble { */ boolean getPrioritySpeaker(); - // optional bool recording = 19; /** * <code>optional bool recording = 19;</code> */ @@ -8615,36 +9545,46 @@ public final class Mumble { /** * Protobuf type {@code MumbleProto.UserState} */ - public static final class UserState extends - com.google.protobuf.GeneratedMessage - implements UserStateOrBuilder { + public static final class UserState extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MumbleProto.UserState) + UserStateOrBuilder { // Use UserState.newBuilder() to construct. - private UserState(com.google.protobuf.GeneratedMessage.Builder<?> builder) { + private UserState(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); - } - private UserState(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final UserState defaultInstance; - public static UserState getDefaultInstance() { - return defaultInstance; } - - public UserState getDefaultInstanceForType() { - return defaultInstance; + 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_ = ""; + comment_ = ""; + hash_ = ""; + commentHash_ = com.google.protobuf.ByteString.EMPTY; + textureHash_ = com.google.protobuf.ByteString.EMPTY; + prioritySpeaker_ = false; + recording_ = false; } - private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } private UserState( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -8674,8 +9614,9 @@ public final class Mumble { break; } case 26: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; - name_ = input.readBytes(); + name_ = bs; break; } case 32: { @@ -8724,18 +9665,21 @@ public final class Mumble { break; } case 106: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00001000; - pluginIdentity_ = input.readBytes(); + pluginIdentity_ = bs; break; } case 114: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00002000; - comment_ = input.readBytes(); + comment_ = bs; break; } case 122: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00004000; - hash_ = input.readBytes(); + hash_ = bs; break; } case 130: { @@ -8764,7 +9708,7 @@ public final class Mumble { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -8775,30 +9719,14 @@ public final class Mumble { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_UserState_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_UserState_fieldAccessorTable .ensureFieldAccessorsInitialized( com.morlunk.jumble.protobuf.Mumble.UserState.class, com.morlunk.jumble.protobuf.Mumble.UserState.Builder.class); } - public static com.google.protobuf.Parser<UserState> PARSER = - new com.google.protobuf.AbstractParser<UserState>() { - public UserState parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UserState(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser<UserState> getParserForType() { - return PARSER; - } - private int bitField0_; - // optional uint32 session = 1; public static final int SESSION_FIELD_NUMBER = 1; private int session_; /** @@ -8814,7 +9742,6 @@ public final class Mumble { return session_; } - // optional uint32 actor = 2; public static final int ACTOR_FIELD_NUMBER = 2; private int actor_; /** @@ -8830,9 +9757,8 @@ public final class Mumble { return actor_; } - // optional string name = 3; public static final int NAME_FIELD_NUMBER = 3; - private java.lang.Object name_; + private volatile java.lang.Object name_; /** * <code>optional string name = 3;</code> */ @@ -8873,7 +9799,6 @@ public final class Mumble { } } - // optional uint32 user_id = 4; public static final int USER_ID_FIELD_NUMBER = 4; private int userId_; /** @@ -8889,7 +9814,6 @@ public final class Mumble { return userId_; } - // optional uint32 channel_id = 5; public static final int CHANNEL_ID_FIELD_NUMBER = 5; private int channelId_; /** @@ -8905,7 +9829,6 @@ public final class Mumble { return channelId_; } - // optional bool mute = 6; public static final int MUTE_FIELD_NUMBER = 6; private boolean mute_; /** @@ -8921,7 +9844,6 @@ public final class Mumble { return mute_; } - // optional bool deaf = 7; public static final int DEAF_FIELD_NUMBER = 7; private boolean deaf_; /** @@ -8937,7 +9859,6 @@ public final class Mumble { return deaf_; } - // optional bool suppress = 8; public static final int SUPPRESS_FIELD_NUMBER = 8; private boolean suppress_; /** @@ -8953,7 +9874,6 @@ public final class Mumble { return suppress_; } - // optional bool self_mute = 9; public static final int SELF_MUTE_FIELD_NUMBER = 9; private boolean selfMute_; /** @@ -8969,7 +9889,6 @@ public final class Mumble { return selfMute_; } - // optional bool self_deaf = 10; public static final int SELF_DEAF_FIELD_NUMBER = 10; private boolean selfDeaf_; /** @@ -8985,7 +9904,6 @@ public final class Mumble { return selfDeaf_; } - // optional bytes texture = 11; public static final int TEXTURE_FIELD_NUMBER = 11; private com.google.protobuf.ByteString texture_; /** @@ -9001,7 +9919,6 @@ public final class Mumble { return texture_; } - // optional bytes plugin_context = 12; public static final int PLUGIN_CONTEXT_FIELD_NUMBER = 12; private com.google.protobuf.ByteString pluginContext_; /** @@ -9017,9 +9934,8 @@ public final class Mumble { return pluginContext_; } - // optional string plugin_identity = 13; public static final int PLUGIN_IDENTITY_FIELD_NUMBER = 13; - private java.lang.Object pluginIdentity_; + private volatile java.lang.Object pluginIdentity_; /** * <code>optional string plugin_identity = 13;</code> */ @@ -9060,9 +9976,8 @@ public final class Mumble { } } - // optional string comment = 14; public static final int COMMENT_FIELD_NUMBER = 14; - private java.lang.Object comment_; + private volatile java.lang.Object comment_; /** * <code>optional string comment = 14;</code> */ @@ -9103,9 +10018,8 @@ public final class Mumble { } } - // optional string hash = 15; public static final int HASH_FIELD_NUMBER = 15; - private java.lang.Object hash_; + private volatile java.lang.Object hash_; /** * <code>optional string hash = 15;</code> */ @@ -9146,7 +10060,6 @@ public final class Mumble { } } - // optional bytes comment_hash = 16; public static final int COMMENT_HASH_FIELD_NUMBER = 16; private com.google.protobuf.ByteString commentHash_; /** @@ -9162,7 +10075,6 @@ public final class Mumble { return commentHash_; } - // optional bytes texture_hash = 17; public static final int TEXTURE_HASH_FIELD_NUMBER = 17; private com.google.protobuf.ByteString textureHash_; /** @@ -9178,7 +10090,6 @@ public final class Mumble { return textureHash_; } - // optional bool priority_speaker = 18; public static final int PRIORITY_SPEAKER_FIELD_NUMBER = 18; private boolean prioritySpeaker_; /** @@ -9194,7 +10105,6 @@ public final class Mumble { return prioritySpeaker_; } - // optional bool recording = 19; public static final int RECORDING_FIELD_NUMBER = 19; private boolean recording_; /** @@ -9210,31 +10120,11 @@ public final class Mumble { return recording_; } - private void initFields() { - 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_ = ""; - comment_ = ""; - hash_ = ""; - commentHash_ = com.google.protobuf.ByteString.EMPTY; - textureHash_ = com.google.protobuf.ByteString.EMPTY; - prioritySpeaker_ = false; - recording_ = false; - } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -9242,7 +10132,6 @@ public final class Mumble { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, session_); } @@ -9250,7 +10139,7 @@ public final class Mumble { output.writeUInt32(2, actor_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeBytes(3, getNameBytes()); + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeUInt32(4, userId_); @@ -9280,13 +10169,13 @@ public final class Mumble { output.writeBytes(12, pluginContext_); } if (((bitField0_ & 0x00001000) == 0x00001000)) { - output.writeBytes(13, getPluginIdentityBytes()); + com.google.protobuf.GeneratedMessageV3.writeString(output, 13, pluginIdentity_); } if (((bitField0_ & 0x00002000) == 0x00002000)) { - output.writeBytes(14, getCommentBytes()); + com.google.protobuf.GeneratedMessageV3.writeString(output, 14, comment_); } if (((bitField0_ & 0x00004000) == 0x00004000)) { - output.writeBytes(15, getHashBytes()); + com.google.protobuf.GeneratedMessageV3.writeString(output, 15, hash_); } if (((bitField0_ & 0x00008000) == 0x00008000)) { output.writeBytes(16, commentHash_); @@ -9300,12 +10189,11 @@ public final class Mumble { if (((bitField0_ & 0x00040000) == 0x00040000)) { output.writeBool(19, recording_); } - getUnknownFields().writeTo(output); + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; @@ -9318,8 +10206,7 @@ public final class Mumble { .computeUInt32Size(2, actor_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(3, getNameBytes()); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream @@ -9358,16 +10245,13 @@ public final class Mumble { .computeBytesSize(12, pluginContext_); } if (((bitField0_ & 0x00001000) == 0x00001000)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(13, getPluginIdentityBytes()); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, pluginIdentity_); } if (((bitField0_ & 0x00002000) == 0x00002000)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(14, getCommentBytes()); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, comment_); } if (((bitField0_ & 0x00004000) == 0x00004000)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(15, getHashBytes()); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, hash_); } if (((bitField0_ & 0x00008000) == 0x00008000)) { size += com.google.protobuf.CodedOutputStream @@ -9385,16 +10269,215 @@ public final class Mumble { size += com.google.protobuf.CodedOutputStream .computeBoolSize(19, recording_); } - size += getUnknownFields().getSerializedSize(); - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.morlunk.jumble.protobuf.Mumble.UserState)) { + return super.equals(obj); + } + com.morlunk.jumble.protobuf.Mumble.UserState other = (com.morlunk.jumble.protobuf.Mumble.UserState) obj; + + boolean result = true; + result = result && (hasSession() == other.hasSession()); + if (hasSession()) { + result = result && (getSession() + == other.getSession()); + } + result = result && (hasActor() == other.hasActor()); + if (hasActor()) { + result = result && (getActor() + == other.getActor()); + } + result = result && (hasName() == other.hasName()); + if (hasName()) { + result = result && getName() + .equals(other.getName()); + } + result = result && (hasUserId() == other.hasUserId()); + if (hasUserId()) { + result = result && (getUserId() + == other.getUserId()); + } + result = result && (hasChannelId() == other.hasChannelId()); + if (hasChannelId()) { + result = result && (getChannelId() + == other.getChannelId()); + } + result = result && (hasMute() == other.hasMute()); + if (hasMute()) { + result = result && (getMute() + == other.getMute()); + } + result = result && (hasDeaf() == other.hasDeaf()); + if (hasDeaf()) { + result = result && (getDeaf() + == other.getDeaf()); + } + result = result && (hasSuppress() == other.hasSuppress()); + if (hasSuppress()) { + result = result && (getSuppress() + == other.getSuppress()); + } + result = result && (hasSelfMute() == other.hasSelfMute()); + if (hasSelfMute()) { + result = result && (getSelfMute() + == other.getSelfMute()); + } + result = result && (hasSelfDeaf() == other.hasSelfDeaf()); + if (hasSelfDeaf()) { + result = result && (getSelfDeaf() + == other.getSelfDeaf()); + } + result = result && (hasTexture() == other.hasTexture()); + if (hasTexture()) { + result = result && getTexture() + .equals(other.getTexture()); + } + result = result && (hasPluginContext() == other.hasPluginContext()); + if (hasPluginContext()) { + result = result && getPluginContext() + .equals(other.getPluginContext()); + } + result = result && (hasPluginIdentity() == other.hasPluginIdentity()); + if (hasPluginIdentity()) { + result = result && getPluginIdentity() + .equals(other.getPluginIdentity()); + } + result = result && (hasComment() == other.hasComment()); + if (hasComment()) { + result = result && getComment() + .equals(other.getComment()); + } + result = result && (hasHash() == other.hasHash()); + if (hasHash()) { + result = result && getHash() + .equals(other.getHash()); + } + result = result && (hasCommentHash() == other.hasCommentHash()); + if (hasCommentHash()) { + result = result && getCommentHash() + .equals(other.getCommentHash()); + } + result = result && (hasTextureHash() == other.hasTextureHash()); + if (hasTextureHash()) { + result = result && getTextureHash() + .equals(other.getTextureHash()); + } + result = result && (hasPrioritySpeaker() == other.hasPrioritySpeaker()); + if (hasPrioritySpeaker()) { + result = result && (getPrioritySpeaker() + == other.getPrioritySpeaker()); + } + result = result && (hasRecording() == other.hasRecording()); + if (hasRecording()) { + result = result && (getRecording() + == other.getRecording()); + } + 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 (hasSession()) { + hash = (37 * hash) + SESSION_FIELD_NUMBER; + hash = (53 * hash) + getSession(); + } + if (hasActor()) { + hash = (37 * hash) + ACTOR_FIELD_NUMBER; + hash = (53 * hash) + getActor(); + } + if (hasName()) { + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + } + if (hasUserId()) { + hash = (37 * hash) + USER_ID_FIELD_NUMBER; + hash = (53 * hash) + getUserId(); + } + if (hasChannelId()) { + hash = (37 * hash) + CHANNEL_ID_FIELD_NUMBER; + hash = (53 * hash) + getChannelId(); + } + if (hasMute()) { + hash = (37 * hash) + MUTE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getMute()); + } + if (hasDeaf()) { + hash = (37 * hash) + DEAF_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDeaf()); + } + if (hasSuppress()) { + hash = (37 * hash) + SUPPRESS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSuppress()); + } + if (hasSelfMute()) { + hash = (37 * hash) + SELF_MUTE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSelfMute()); + } + if (hasSelfDeaf()) { + hash = (37 * hash) + SELF_DEAF_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSelfDeaf()); + } + if (hasTexture()) { + hash = (37 * hash) + TEXTURE_FIELD_NUMBER; + hash = (53 * hash) + getTexture().hashCode(); + } + if (hasPluginContext()) { + hash = (37 * hash) + PLUGIN_CONTEXT_FIELD_NUMBER; + hash = (53 * hash) + getPluginContext().hashCode(); + } + if (hasPluginIdentity()) { + hash = (37 * hash) + PLUGIN_IDENTITY_FIELD_NUMBER; + hash = (53 * hash) + getPluginIdentity().hashCode(); + } + if (hasComment()) { + hash = (37 * hash) + COMMENT_FIELD_NUMBER; + hash = (53 * hash) + getComment().hashCode(); + } + if (hasHash()) { + hash = (37 * hash) + HASH_FIELD_NUMBER; + hash = (53 * hash) + getHash().hashCode(); + } + if (hasCommentHash()) { + hash = (37 * hash) + COMMENT_HASH_FIELD_NUMBER; + hash = (53 * hash) + getCommentHash().hashCode(); + } + if (hasTextureHash()) { + hash = (37 * hash) + TEXTURE_HASH_FIELD_NUMBER; + hash = (53 * hash) + getTextureHash().hashCode(); + } + if (hasPrioritySpeaker()) { + hash = (37 * hash) + PRIORITY_SPEAKER_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getPrioritySpeaker()); + } + if (hasRecording()) { + hash = (37 * hash) + RECORDING_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRecording()); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; } public static com.morlunk.jumble.protobuf.Mumble.UserState parseFrom( @@ -9420,46 +10503,57 @@ public final class Mumble { } public static com.morlunk.jumble.protobuf.Mumble.UserState parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.UserState parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.UserState parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.UserState parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.UserState parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.UserState parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(com.morlunk.jumble.protobuf.Mumble.UserState prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -9467,14 +10561,15 @@ public final class Mumble { * Protobuf type {@code MumbleProto.UserState} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> - implements com.morlunk.jumble.protobuf.Mumble.UserStateOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:MumbleProto.UserState) + com.morlunk.jumble.protobuf.Mumble.UserStateOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_UserState_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_UserState_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -9487,18 +10582,15 @@ public final class Mumble { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { } } - private static Builder create() { - return new Builder(); - } - public Builder clear() { super.clear(); session_ = 0; @@ -9542,10 +10634,6 @@ public final class Mumble { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_UserState_descriptor; @@ -9648,6 +10736,32 @@ public final class Mumble { 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 com.morlunk.jumble.protobuf.Mumble.UserState) { return mergeFrom((com.morlunk.jumble.protobuf.Mumble.UserState)other); @@ -9724,7 +10838,8 @@ public final class Mumble { if (other.hasRecording()) { setRecording(other.getRecording()); } - this.mergeUnknownFields(other.getUnknownFields()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } @@ -9741,7 +10856,7 @@ public final class Mumble { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.morlunk.jumble.protobuf.Mumble.UserState) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -9751,7 +10866,6 @@ public final class Mumble { } private int bitField0_; - // optional uint32 session = 1; private int session_ ; /** * <code>optional uint32 session = 1;</code> @@ -9784,7 +10898,6 @@ public final class Mumble { return this; } - // optional uint32 actor = 2; private int actor_ ; /** * <code>optional uint32 actor = 2;</code> @@ -9817,7 +10930,6 @@ public final class Mumble { return this; } - // optional string name = 3; private java.lang.Object name_ = ""; /** * <code>optional string name = 3;</code> @@ -9831,9 +10943,12 @@ public final class Mumble { public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - name_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + name_ = s; + } return s; } else { return (java.lang.String) ref; @@ -9891,7 +11006,6 @@ public final class Mumble { return this; } - // optional uint32 user_id = 4; private int userId_ ; /** * <code>optional uint32 user_id = 4;</code> @@ -9924,7 +11038,6 @@ public final class Mumble { return this; } - // optional uint32 channel_id = 5; private int channelId_ ; /** * <code>optional uint32 channel_id = 5;</code> @@ -9957,7 +11070,6 @@ public final class Mumble { return this; } - // optional bool mute = 6; private boolean mute_ ; /** * <code>optional bool mute = 6;</code> @@ -9990,7 +11102,6 @@ public final class Mumble { return this; } - // optional bool deaf = 7; private boolean deaf_ ; /** * <code>optional bool deaf = 7;</code> @@ -10023,7 +11134,6 @@ public final class Mumble { return this; } - // optional bool suppress = 8; private boolean suppress_ ; /** * <code>optional bool suppress = 8;</code> @@ -10056,7 +11166,6 @@ public final class Mumble { return this; } - // optional bool self_mute = 9; private boolean selfMute_ ; /** * <code>optional bool self_mute = 9;</code> @@ -10089,7 +11198,6 @@ public final class Mumble { return this; } - // optional bool self_deaf = 10; private boolean selfDeaf_ ; /** * <code>optional bool self_deaf = 10;</code> @@ -10122,7 +11230,6 @@ public final class Mumble { return this; } - // optional bytes texture = 11; private com.google.protobuf.ByteString texture_ = com.google.protobuf.ByteString.EMPTY; /** * <code>optional bytes texture = 11;</code> @@ -10158,7 +11265,6 @@ public final class Mumble { return this; } - // optional bytes plugin_context = 12; private com.google.protobuf.ByteString pluginContext_ = com.google.protobuf.ByteString.EMPTY; /** * <code>optional bytes plugin_context = 12;</code> @@ -10194,7 +11300,6 @@ public final class Mumble { return this; } - // optional string plugin_identity = 13; private java.lang.Object pluginIdentity_ = ""; /** * <code>optional string plugin_identity = 13;</code> @@ -10208,9 +11313,12 @@ public final class Mumble { public java.lang.String getPluginIdentity() { java.lang.Object ref = pluginIdentity_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - pluginIdentity_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + pluginIdentity_ = s; + } return s; } else { return (java.lang.String) ref; @@ -10268,7 +11376,6 @@ public final class Mumble { return this; } - // optional string comment = 14; private java.lang.Object comment_ = ""; /** * <code>optional string comment = 14;</code> @@ -10282,9 +11389,12 @@ public final class Mumble { public java.lang.String getComment() { java.lang.Object ref = comment_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - comment_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + comment_ = s; + } return s; } else { return (java.lang.String) ref; @@ -10342,7 +11452,6 @@ public final class Mumble { return this; } - // optional string hash = 15; private java.lang.Object hash_ = ""; /** * <code>optional string hash = 15;</code> @@ -10356,9 +11465,12 @@ public final class Mumble { public java.lang.String getHash() { java.lang.Object ref = hash_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - hash_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + hash_ = s; + } return s; } else { return (java.lang.String) ref; @@ -10416,7 +11528,6 @@ public final class Mumble { return this; } - // optional bytes comment_hash = 16; private com.google.protobuf.ByteString commentHash_ = com.google.protobuf.ByteString.EMPTY; /** * <code>optional bytes comment_hash = 16;</code> @@ -10452,7 +11563,6 @@ public final class Mumble { return this; } - // optional bytes texture_hash = 17; private com.google.protobuf.ByteString textureHash_ = com.google.protobuf.ByteString.EMPTY; /** * <code>optional bytes texture_hash = 17;</code> @@ -10488,7 +11598,6 @@ public final class Mumble { return this; } - // optional bool priority_speaker = 18; private boolean prioritySpeaker_ ; /** * <code>optional bool priority_speaker = 18;</code> @@ -10521,7 +11630,6 @@ public final class Mumble { return this; } - // optional bool recording = 19; private boolean recording_ ; /** * <code>optional bool recording = 19;</code> @@ -10553,22 +11661,59 @@ public final class Mumble { 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.UserState) } + // @@protoc_insertion_point(class_scope:MumbleProto.UserState) + private static final com.morlunk.jumble.protobuf.Mumble.UserState DEFAULT_INSTANCE; static { - defaultInstance = new UserState(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new com.morlunk.jumble.protobuf.Mumble.UserState(); + } + + public static com.morlunk.jumble.protobuf.Mumble.UserState getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser<UserState> + PARSER = new com.google.protobuf.AbstractParser<UserState>() { + public UserState parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UserState(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<UserState> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<UserState> getParserForType() { + return PARSER; + } + + public com.morlunk.jumble.protobuf.Mumble.UserState getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:MumbleProto.UserState) } - public interface BanListOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface BanListOrBuilder extends + // @@protoc_insertion_point(interface_extends:MumbleProto.BanList) + com.google.protobuf.MessageOrBuilder { - // repeated .MumbleProto.BanList.BanEntry bans = 1; /** * <code>repeated .MumbleProto.BanList.BanEntry bans = 1;</code> */ @@ -10593,7 +11738,6 @@ public final class Mumble { com.morlunk.jumble.protobuf.Mumble.BanList.BanEntryOrBuilder getBansOrBuilder( int index); - // optional bool query = 2 [default = false]; /** * <code>optional bool query = 2 [default = false];</code> */ @@ -10606,36 +11750,29 @@ public final class Mumble { /** * Protobuf type {@code MumbleProto.BanList} */ - public static final class BanList extends - com.google.protobuf.GeneratedMessage - implements BanListOrBuilder { + public static final class BanList extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MumbleProto.BanList) + BanListOrBuilder { // Use BanList.newBuilder() to construct. - private BanList(com.google.protobuf.GeneratedMessage.Builder<?> builder) { + private BanList(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); } - private BanList(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final BanList defaultInstance; - public static BanList getDefaultInstance() { - return defaultInstance; - } - - public BanList getDefaultInstanceForType() { - return defaultInstance; + private BanList() { + bans_ = java.util.Collections.emptyList(); + query_ = false; } - private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } private BanList( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -10659,7 +11796,8 @@ public final class Mumble { bans_ = new java.util.ArrayList<com.morlunk.jumble.protobuf.Mumble.BanList.BanEntry>(); mutable_bitField0_ |= 0x00000001; } - bans_.add(input.readMessage(com.morlunk.jumble.protobuf.Mumble.BanList.BanEntry.PARSER, extensionRegistry)); + bans_.add( + input.readMessage(com.morlunk.jumble.protobuf.Mumble.BanList.BanEntry.PARSER, extensionRegistry)); break; } case 16: { @@ -10673,7 +11811,7 @@ public final class Mumble { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { bans_ = java.util.Collections.unmodifiableList(bans_); @@ -10687,32 +11825,17 @@ public final class Mumble { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_BanList_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_BanList_fieldAccessorTable .ensureFieldAccessorsInitialized( com.morlunk.jumble.protobuf.Mumble.BanList.class, com.morlunk.jumble.protobuf.Mumble.BanList.Builder.class); } - public static com.google.protobuf.Parser<BanList> PARSER = - new com.google.protobuf.AbstractParser<BanList>() { - public BanList parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BanList(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser<BanList> getParserForType() { - return PARSER; - } - - public interface BanEntryOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface BanEntryOrBuilder extends + // @@protoc_insertion_point(interface_extends:MumbleProto.BanList.BanEntry) + com.google.protobuf.MessageOrBuilder { - // required bytes address = 1; /** * <code>required bytes address = 1;</code> */ @@ -10722,7 +11845,6 @@ public final class Mumble { */ com.google.protobuf.ByteString getAddress(); - // required uint32 mask = 2; /** * <code>required uint32 mask = 2;</code> */ @@ -10732,7 +11854,6 @@ public final class Mumble { */ int getMask(); - // optional string name = 3; /** * <code>optional string name = 3;</code> */ @@ -10747,7 +11868,6 @@ public final class Mumble { com.google.protobuf.ByteString getNameBytes(); - // optional string hash = 4; /** * <code>optional string hash = 4;</code> */ @@ -10762,7 +11882,6 @@ public final class Mumble { com.google.protobuf.ByteString getHashBytes(); - // optional string reason = 5; /** * <code>optional string reason = 5;</code> */ @@ -10777,7 +11896,6 @@ public final class Mumble { com.google.protobuf.ByteString getReasonBytes(); - // optional string start = 6; /** * <code>optional string start = 6;</code> */ @@ -10792,7 +11910,6 @@ public final class Mumble { com.google.protobuf.ByteString getStartBytes(); - // optional uint32 duration = 7; /** * <code>optional uint32 duration = 7;</code> */ @@ -10805,36 +11922,34 @@ public final class Mumble { /** * Protobuf type {@code MumbleProto.BanList.BanEntry} */ - public static final class BanEntry extends - com.google.protobuf.GeneratedMessage - implements BanEntryOrBuilder { + public static final class BanEntry extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MumbleProto.BanList.BanEntry) + BanEntryOrBuilder { // Use BanEntry.newBuilder() to construct. - private BanEntry(com.google.protobuf.GeneratedMessage.Builder<?> builder) { + private BanEntry(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); } - private BanEntry(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final BanEntry defaultInstance; - public static BanEntry getDefaultInstance() { - return defaultInstance; - } - - public BanEntry getDefaultInstanceForType() { - return defaultInstance; + private BanEntry() { + address_ = com.google.protobuf.ByteString.EMPTY; + mask_ = 0; + name_ = ""; + hash_ = ""; + reason_ = ""; + start_ = ""; + duration_ = 0; } - private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } private BanEntry( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -10864,23 +11979,27 @@ public final class Mumble { break; } case 26: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; - name_ = input.readBytes(); + name_ = bs; break; } case 34: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; - hash_ = input.readBytes(); + hash_ = bs; break; } case 42: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000010; - reason_ = input.readBytes(); + reason_ = bs; break; } case 50: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000020; - start_ = input.readBytes(); + start_ = bs; break; } case 56: { @@ -10894,7 +12013,7 @@ public final class Mumble { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -10905,30 +12024,14 @@ public final class Mumble { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_BanList_BanEntry_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_BanList_BanEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( com.morlunk.jumble.protobuf.Mumble.BanList.BanEntry.class, com.morlunk.jumble.protobuf.Mumble.BanList.BanEntry.Builder.class); } - public static com.google.protobuf.Parser<BanEntry> PARSER = - new com.google.protobuf.AbstractParser<BanEntry>() { - public BanEntry parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BanEntry(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser<BanEntry> getParserForType() { - return PARSER; - } - private int bitField0_; - // required bytes address = 1; public static final int ADDRESS_FIELD_NUMBER = 1; private com.google.protobuf.ByteString address_; /** @@ -10944,7 +12047,6 @@ public final class Mumble { return address_; } - // required uint32 mask = 2; public static final int MASK_FIELD_NUMBER = 2; private int mask_; /** @@ -10960,9 +12062,8 @@ public final class Mumble { return mask_; } - // optional string name = 3; public static final int NAME_FIELD_NUMBER = 3; - private java.lang.Object name_; + private volatile java.lang.Object name_; /** * <code>optional string name = 3;</code> */ @@ -11003,9 +12104,8 @@ public final class Mumble { } } - // optional string hash = 4; public static final int HASH_FIELD_NUMBER = 4; - private java.lang.Object hash_; + private volatile java.lang.Object hash_; /** * <code>optional string hash = 4;</code> */ @@ -11046,9 +12146,8 @@ public final class Mumble { } } - // optional string reason = 5; public static final int REASON_FIELD_NUMBER = 5; - private java.lang.Object reason_; + private volatile java.lang.Object reason_; /** * <code>optional string reason = 5;</code> */ @@ -11089,9 +12188,8 @@ public final class Mumble { } } - // optional string start = 6; public static final int START_FIELD_NUMBER = 6; - private java.lang.Object start_; + private volatile java.lang.Object start_; /** * <code>optional string start = 6;</code> */ @@ -11132,7 +12230,6 @@ public final class Mumble { } } - // optional uint32 duration = 7; public static final int DURATION_FIELD_NUMBER = 7; private int duration_; /** @@ -11148,19 +12245,11 @@ public final class Mumble { return duration_; } - private void initFields() { - address_ = com.google.protobuf.ByteString.EMPTY; - mask_ = 0; - name_ = ""; - hash_ = ""; - reason_ = ""; - start_ = ""; - duration_ = 0; - } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasAddress()) { memoizedIsInitialized = 0; @@ -11176,7 +12265,6 @@ public final class Mumble { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, address_); } @@ -11184,26 +12272,25 @@ public final class Mumble { output.writeUInt32(2, mask_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeBytes(3, getNameBytes()); + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeBytes(4, getHashBytes()); + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, hash_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { - output.writeBytes(5, getReasonBytes()); + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, reason_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { - output.writeBytes(6, getStartBytes()); + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, start_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeUInt32(7, duration_); } - getUnknownFields().writeTo(output); + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; @@ -11216,35 +12303,115 @@ public final class Mumble { .computeUInt32Size(2, mask_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(3, getNameBytes()); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(4, getHashBytes()); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, hash_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(5, getReasonBytes()); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, reason_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(6, getStartBytes()); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, start_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(7, duration_); } - size += getUnknownFields().getSerializedSize(); - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.morlunk.jumble.protobuf.Mumble.BanList.BanEntry)) { + return super.equals(obj); + } + com.morlunk.jumble.protobuf.Mumble.BanList.BanEntry other = (com.morlunk.jumble.protobuf.Mumble.BanList.BanEntry) obj; + + boolean result = true; + result = result && (hasAddress() == other.hasAddress()); + if (hasAddress()) { + result = result && getAddress() + .equals(other.getAddress()); + } + result = result && (hasMask() == other.hasMask()); + if (hasMask()) { + result = result && (getMask() + == other.getMask()); + } + result = result && (hasName() == other.hasName()); + if (hasName()) { + result = result && getName() + .equals(other.getName()); + } + result = result && (hasHash() == other.hasHash()); + if (hasHash()) { + result = result && getHash() + .equals(other.getHash()); + } + result = result && (hasReason() == other.hasReason()); + if (hasReason()) { + result = result && getReason() + .equals(other.getReason()); + } + result = result && (hasStart() == other.hasStart()); + if (hasStart()) { + result = result && getStart() + .equals(other.getStart()); + } + result = result && (hasDuration() == other.hasDuration()); + if (hasDuration()) { + result = result && (getDuration() + == other.getDuration()); + } + 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 (hasAddress()) { + hash = (37 * hash) + ADDRESS_FIELD_NUMBER; + hash = (53 * hash) + getAddress().hashCode(); + } + if (hasMask()) { + hash = (37 * hash) + MASK_FIELD_NUMBER; + hash = (53 * hash) + getMask(); + } + if (hasName()) { + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + } + if (hasHash()) { + hash = (37 * hash) + HASH_FIELD_NUMBER; + hash = (53 * hash) + getHash().hashCode(); + } + if (hasReason()) { + hash = (37 * hash) + REASON_FIELD_NUMBER; + hash = (53 * hash) + getReason().hashCode(); + } + if (hasStart()) { + hash = (37 * hash) + START_FIELD_NUMBER; + hash = (53 * hash) + getStart().hashCode(); + } + if (hasDuration()) { + hash = (37 * hash) + DURATION_FIELD_NUMBER; + hash = (53 * hash) + getDuration(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; } public static com.morlunk.jumble.protobuf.Mumble.BanList.BanEntry parseFrom( @@ -11270,46 +12437,57 @@ public final class Mumble { } public static com.morlunk.jumble.protobuf.Mumble.BanList.BanEntry parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.BanList.BanEntry parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.BanList.BanEntry parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.BanList.BanEntry parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.BanList.BanEntry parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.BanList.BanEntry parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(com.morlunk.jumble.protobuf.Mumble.BanList.BanEntry prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -11317,14 +12495,15 @@ public final class Mumble { * Protobuf type {@code MumbleProto.BanList.BanEntry} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> - implements com.morlunk.jumble.protobuf.Mumble.BanList.BanEntryOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:MumbleProto.BanList.BanEntry) + com.morlunk.jumble.protobuf.Mumble.BanList.BanEntryOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_BanList_BanEntry_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_BanList_BanEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -11337,18 +12516,15 @@ public final class Mumble { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { } } - private static Builder create() { - return new Builder(); - } - public Builder clear() { super.clear(); address_ = com.google.protobuf.ByteString.EMPTY; @@ -11368,10 +12544,6 @@ public final class Mumble { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_BanList_BanEntry_descriptor; @@ -11426,6 +12598,32 @@ public final class Mumble { 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 com.morlunk.jumble.protobuf.Mumble.BanList.BanEntry) { return mergeFrom((com.morlunk.jumble.protobuf.Mumble.BanList.BanEntry)other); @@ -11466,17 +12664,16 @@ public final class Mumble { if (other.hasDuration()) { setDuration(other.getDuration()); } - this.mergeUnknownFields(other.getUnknownFields()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } public final boolean isInitialized() { if (!hasAddress()) { - return false; } if (!hasMask()) { - return false; } return true; @@ -11491,7 +12688,7 @@ public final class Mumble { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.morlunk.jumble.protobuf.Mumble.BanList.BanEntry) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -11501,7 +12698,6 @@ public final class Mumble { } private int bitField0_; - // required bytes address = 1; private com.google.protobuf.ByteString address_ = com.google.protobuf.ByteString.EMPTY; /** * <code>required bytes address = 1;</code> @@ -11537,7 +12733,6 @@ public final class Mumble { return this; } - // required uint32 mask = 2; private int mask_ ; /** * <code>required uint32 mask = 2;</code> @@ -11570,7 +12765,6 @@ public final class Mumble { return this; } - // optional string name = 3; private java.lang.Object name_ = ""; /** * <code>optional string name = 3;</code> @@ -11584,9 +12778,12 @@ public final class Mumble { public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - name_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + name_ = s; + } return s; } else { return (java.lang.String) ref; @@ -11644,7 +12841,6 @@ public final class Mumble { return this; } - // optional string hash = 4; private java.lang.Object hash_ = ""; /** * <code>optional string hash = 4;</code> @@ -11658,9 +12854,12 @@ public final class Mumble { public java.lang.String getHash() { java.lang.Object ref = hash_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - hash_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + hash_ = s; + } return s; } else { return (java.lang.String) ref; @@ -11718,7 +12917,6 @@ public final class Mumble { return this; } - // optional string reason = 5; private java.lang.Object reason_ = ""; /** * <code>optional string reason = 5;</code> @@ -11732,9 +12930,12 @@ public final class Mumble { public java.lang.String getReason() { java.lang.Object ref = reason_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - reason_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + reason_ = s; + } return s; } else { return (java.lang.String) ref; @@ -11792,7 +12993,6 @@ public final class Mumble { return this; } - // optional string start = 6; private java.lang.Object start_ = ""; /** * <code>optional string start = 6;</code> @@ -11806,9 +13006,12 @@ public final class Mumble { public java.lang.String getStart() { java.lang.Object ref = start_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - start_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + start_ = s; + } return s; } else { return (java.lang.String) ref; @@ -11866,7 +13069,6 @@ public final class Mumble { return this; } - // optional uint32 duration = 7; private int duration_ ; /** * <code>optional uint32 duration = 7;</code> @@ -11898,20 +13100,56 @@ public final class Mumble { 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.BanList.BanEntry) } + // @@protoc_insertion_point(class_scope:MumbleProto.BanList.BanEntry) + private static final com.morlunk.jumble.protobuf.Mumble.BanList.BanEntry DEFAULT_INSTANCE; static { - defaultInstance = new BanEntry(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new com.morlunk.jumble.protobuf.Mumble.BanList.BanEntry(); + } + + public static com.morlunk.jumble.protobuf.Mumble.BanList.BanEntry getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser<BanEntry> + PARSER = new com.google.protobuf.AbstractParser<BanEntry>() { + public BanEntry parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BanEntry(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<BanEntry> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<BanEntry> getParserForType() { + return PARSER; + } + + public com.morlunk.jumble.protobuf.Mumble.BanList.BanEntry getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:MumbleProto.BanList.BanEntry) } private int bitField0_; - // repeated .MumbleProto.BanList.BanEntry bans = 1; public static final int BANS_FIELD_NUMBER = 1; private java.util.List<com.morlunk.jumble.protobuf.Mumble.BanList.BanEntry> bans_; /** @@ -11947,7 +13185,6 @@ public final class Mumble { return bans_.get(index); } - // optional bool query = 2 [default = false]; public static final int QUERY_FIELD_NUMBER = 2; private boolean query_; /** @@ -11963,14 +13200,11 @@ public final class Mumble { return query_; } - private void initFields() { - bans_ = java.util.Collections.emptyList(); - query_ = false; - } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; for (int i = 0; i < getBansCount(); i++) { if (!getBans(i).isInitialized()) { @@ -11984,19 +13218,17 @@ public final class Mumble { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); for (int i = 0; i < bans_.size(); i++) { output.writeMessage(1, bans_.get(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBool(2, query_); } - getUnknownFields().writeTo(output); + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; @@ -12008,16 +13240,53 @@ public final class Mumble { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, query_); } - size += getUnknownFields().getSerializedSize(); - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.morlunk.jumble.protobuf.Mumble.BanList)) { + return super.equals(obj); + } + com.morlunk.jumble.protobuf.Mumble.BanList other = (com.morlunk.jumble.protobuf.Mumble.BanList) obj; + + boolean result = true; + result = result && getBansList() + .equals(other.getBansList()); + result = result && (hasQuery() == other.hasQuery()); + if (hasQuery()) { + result = result && (getQuery() + == other.getQuery()); + } + 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 (getBansCount() > 0) { + hash = (37 * hash) + BANS_FIELD_NUMBER; + hash = (53 * hash) + getBansList().hashCode(); + } + if (hasQuery()) { + hash = (37 * hash) + QUERY_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getQuery()); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; } public static com.morlunk.jumble.protobuf.Mumble.BanList parseFrom( @@ -12043,46 +13312,57 @@ public final class Mumble { } public static com.morlunk.jumble.protobuf.Mumble.BanList parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.BanList parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.BanList parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.BanList parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.BanList parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.BanList parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(com.morlunk.jumble.protobuf.Mumble.BanList prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -12090,14 +13370,15 @@ public final class Mumble { * Protobuf type {@code MumbleProto.BanList} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> - implements com.morlunk.jumble.protobuf.Mumble.BanListOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:MumbleProto.BanList) + com.morlunk.jumble.protobuf.Mumble.BanListOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_BanList_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_BanList_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -12110,19 +13391,16 @@ public final class Mumble { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getBansFieldBuilder(); } } - private static Builder create() { - return new Builder(); - } - public Builder clear() { super.clear(); if (bansBuilder_ == null) { @@ -12136,10 +13414,6 @@ public final class Mumble { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_BanList_descriptor; @@ -12179,6 +13453,32 @@ public final class Mumble { 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 com.morlunk.jumble.protobuf.Mumble.BanList) { return mergeFrom((com.morlunk.jumble.protobuf.Mumble.BanList)other); @@ -12209,7 +13509,7 @@ public final class Mumble { bans_ = other.bans_; bitField0_ = (bitField0_ & ~0x00000001); bansBuilder_ = - com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getBansFieldBuilder() : null; } else { bansBuilder_.addAllMessages(other.bans_); @@ -12219,14 +13519,14 @@ public final class Mumble { if (other.hasQuery()) { setQuery(other.getQuery()); } - this.mergeUnknownFields(other.getUnknownFields()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } public final boolean isInitialized() { for (int i = 0; i < getBansCount(); i++) { if (!getBans(i).isInitialized()) { - return false; } } @@ -12242,7 +13542,7 @@ public final class Mumble { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.morlunk.jumble.protobuf.Mumble.BanList) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -12252,7 +13552,6 @@ public final class Mumble { } private int bitField0_; - // repeated .MumbleProto.BanList.BanEntry bans = 1; private java.util.List<com.morlunk.jumble.protobuf.Mumble.BanList.BanEntry> bans_ = java.util.Collections.emptyList(); private void ensureBansIsMutable() { @@ -12262,7 +13561,7 @@ public final class Mumble { } } - private com.google.protobuf.RepeatedFieldBuilder< + private com.google.protobuf.RepeatedFieldBuilderV3< com.morlunk.jumble.protobuf.Mumble.BanList.BanEntry, com.morlunk.jumble.protobuf.Mumble.BanList.BanEntry.Builder, com.morlunk.jumble.protobuf.Mumble.BanList.BanEntryOrBuilder> bansBuilder_; /** @@ -12394,7 +13693,8 @@ public final class Mumble { java.lang.Iterable<? extends com.morlunk.jumble.protobuf.Mumble.BanList.BanEntry> values) { if (bansBuilder_ == null) { ensureBansIsMutable(); - super.addAll(values, bans_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, bans_); onChanged(); } else { bansBuilder_.addAllMessages(values); @@ -12477,11 +13777,11 @@ public final class Mumble { getBansBuilderList() { return getBansFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilder< + private com.google.protobuf.RepeatedFieldBuilderV3< com.morlunk.jumble.protobuf.Mumble.BanList.BanEntry, com.morlunk.jumble.protobuf.Mumble.BanList.BanEntry.Builder, com.morlunk.jumble.protobuf.Mumble.BanList.BanEntryOrBuilder> getBansFieldBuilder() { if (bansBuilder_ == null) { - bansBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + bansBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.morlunk.jumble.protobuf.Mumble.BanList.BanEntry, com.morlunk.jumble.protobuf.Mumble.BanList.BanEntry.Builder, com.morlunk.jumble.protobuf.Mumble.BanList.BanEntryOrBuilder>( bans_, ((bitField0_ & 0x00000001) == 0x00000001), @@ -12492,7 +13792,6 @@ public final class Mumble { return bansBuilder_; } - // optional bool query = 2 [default = false]; private boolean query_ ; /** * <code>optional bool query = 2 [default = false];</code> @@ -12524,22 +13823,59 @@ public final class Mumble { 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.BanList) } + // @@protoc_insertion_point(class_scope:MumbleProto.BanList) + private static final com.morlunk.jumble.protobuf.Mumble.BanList DEFAULT_INSTANCE; static { - defaultInstance = new BanList(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new com.morlunk.jumble.protobuf.Mumble.BanList(); + } + + public static com.morlunk.jumble.protobuf.Mumble.BanList getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser<BanList> + PARSER = new com.google.protobuf.AbstractParser<BanList>() { + public BanList parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BanList(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<BanList> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<BanList> getParserForType() { + return PARSER; + } + + public com.morlunk.jumble.protobuf.Mumble.BanList getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:MumbleProto.BanList) } - public interface TextMessageOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface TextMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:MumbleProto.TextMessage) + com.google.protobuf.MessageOrBuilder { - // optional uint32 actor = 1; /** * <code>optional uint32 actor = 1;</code> */ @@ -12549,7 +13885,6 @@ public final class Mumble { */ int getActor(); - // repeated uint32 session = 2; /** * <code>repeated uint32 session = 2;</code> */ @@ -12563,7 +13898,6 @@ public final class Mumble { */ int getSession(int index); - // repeated uint32 channel_id = 3; /** * <code>repeated uint32 channel_id = 3;</code> */ @@ -12577,7 +13911,6 @@ public final class Mumble { */ int getChannelId(int index); - // repeated uint32 tree_id = 4; /** * <code>repeated uint32 tree_id = 4;</code> */ @@ -12591,7 +13924,6 @@ public final class Mumble { */ int getTreeId(int index); - // required string message = 5; /** * <code>required string message = 5;</code> */ @@ -12607,38 +13939,34 @@ public final class Mumble { getMessageBytes(); } /** - * Protobuf type {@code MumbleProto.Message} + * Protobuf type {@code MumbleProto.TextMessage} */ - public static final class TextMessage extends - com.google.protobuf.GeneratedMessage - implements TextMessageOrBuilder { - // Use Message.newBuilder() to construct. - private TextMessage(com.google.protobuf.GeneratedMessage.Builder<?> builder) { + public static final class TextMessage extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MumbleProto.TextMessage) + TextMessageOrBuilder { + // Use TextMessage.newBuilder() to construct. + private TextMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); } - private TextMessage(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final TextMessage defaultInstance; - public static TextMessage getDefaultInstance() { - return defaultInstance; - } - - public TextMessage getDefaultInstanceForType() { - return defaultInstance; + private TextMessage() { + actor_ = 0; + session_ = java.util.Collections.emptyList(); + channelId_ = java.util.Collections.emptyList(); + treeId_ = java.util.Collections.emptyList(); + message_ = ""; } - private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } private TextMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -12726,8 +14054,9 @@ public final class Mumble { break; } case 42: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; - message_ = input.readBytes(); + message_ = bs; break; } } @@ -12736,7 +14065,7 @@ public final class Mumble { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { session_ = java.util.Collections.unmodifiableList(session_); @@ -12756,30 +14085,14 @@ public final class Mumble { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_TextMessage_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_TextMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( com.morlunk.jumble.protobuf.Mumble.TextMessage.class, com.morlunk.jumble.protobuf.Mumble.TextMessage.Builder.class); } - public static com.google.protobuf.Parser<TextMessage> PARSER = - new com.google.protobuf.AbstractParser<TextMessage>() { - public TextMessage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TextMessage(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser<TextMessage> getParserForType() { - return PARSER; - } - private int bitField0_; - // optional uint32 actor = 1; public static final int ACTOR_FIELD_NUMBER = 1; private int actor_; /** @@ -12795,7 +14108,6 @@ public final class Mumble { return actor_; } - // repeated uint32 session = 2; public static final int SESSION_FIELD_NUMBER = 2; private java.util.List<java.lang.Integer> session_; /** @@ -12818,7 +14130,6 @@ public final class Mumble { return session_.get(index); } - // repeated uint32 channel_id = 3; public static final int CHANNEL_ID_FIELD_NUMBER = 3; private java.util.List<java.lang.Integer> channelId_; /** @@ -12841,7 +14152,6 @@ public final class Mumble { return channelId_.get(index); } - // repeated uint32 tree_id = 4; public static final int TREE_ID_FIELD_NUMBER = 4; private java.util.List<java.lang.Integer> treeId_; /** @@ -12864,9 +14174,8 @@ public final class Mumble { return treeId_.get(index); } - // required string message = 5; public static final int MESSAGE_FIELD_NUMBER = 5; - private java.lang.Object message_; + private volatile java.lang.Object message_; /** * <code>required string message = 5;</code> */ @@ -12907,17 +14216,11 @@ public final class Mumble { } } - private void initFields() { - actor_ = 0; - session_ = java.util.Collections.emptyList(); - channelId_ = java.util.Collections.emptyList(); - treeId_ = java.util.Collections.emptyList(); - message_ = ""; - } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasMessage()) { memoizedIsInitialized = 0; @@ -12929,7 +14232,6 @@ public final class Mumble { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, actor_); } @@ -12943,14 +14245,13 @@ public final class Mumble { output.writeUInt32(4, treeId_.get(i)); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeBytes(5, getMessageBytes()); + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, message_); } - getUnknownFields().writeTo(output); + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; @@ -12986,19 +14287,75 @@ public final class Mumble { size += 1 * getTreeIdList().size(); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(5, getMessageBytes()); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, message_); } - size += getUnknownFields().getSerializedSize(); - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.morlunk.jumble.protobuf.Mumble.TextMessage)) { + return super.equals(obj); + } + com.morlunk.jumble.protobuf.Mumble.TextMessage other = (com.morlunk.jumble.protobuf.Mumble.TextMessage) obj; + + boolean result = true; + result = result && (hasActor() == other.hasActor()); + 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 (hasMessage()) { + result = result && getMessage() + .equals(other.getMessage()); + } + 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 (hasActor()) { + hash = (37 * hash) + ACTOR_FIELD_NUMBER; + hash = (53 * hash) + getActor(); + } + if (getSessionCount() > 0) { + hash = (37 * hash) + SESSION_FIELD_NUMBER; + hash = (53 * hash) + getSessionList().hashCode(); + } + if (getChannelIdCount() > 0) { + hash = (37 * hash) + CHANNEL_ID_FIELD_NUMBER; + hash = (53 * hash) + getChannelIdList().hashCode(); + } + if (getTreeIdCount() > 0) { + hash = (37 * hash) + TREE_ID_FIELD_NUMBER; + hash = (53 * hash) + getTreeIdList().hashCode(); + } + if (hasMessage()) { + hash = (37 * hash) + MESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getMessage().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; } public static com.morlunk.jumble.protobuf.Mumble.TextMessage parseFrom( @@ -13024,85 +14381,94 @@ public final class Mumble { } public static com.morlunk.jumble.protobuf.Mumble.TextMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.TextMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.TextMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.TextMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.TextMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.TextMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(com.morlunk.jumble.protobuf.Mumble.TextMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * Protobuf type {@code MumbleProto.Message} + * Protobuf type {@code MumbleProto.TextMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> - implements com.morlunk.jumble.protobuf.Mumble.TextMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:MumbleProto.TextMessage) + com.morlunk.jumble.protobuf.Mumble.TextMessageOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_TextMessage_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_TextMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( com.morlunk.jumble.protobuf.Mumble.TextMessage.class, com.morlunk.jumble.protobuf.Mumble.TextMessage.Builder.class); } - // Construct using com.morlunk.jumble.protobuf.Mumble.Message.newBuilder() + // Construct using com.morlunk.jumble.protobuf.Mumble.TextMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { } } - private static Builder create() { - return new Builder(); - } - public Builder clear() { super.clear(); actor_ = 0; @@ -13118,10 +14484,6 @@ public final class Mumble { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_TextMessage_descriptor; @@ -13171,6 +14533,32 @@ public final class Mumble { 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 com.morlunk.jumble.protobuf.Mumble.TextMessage) { return mergeFrom((com.morlunk.jumble.protobuf.Mumble.TextMessage)other); @@ -13220,13 +14608,13 @@ public final class Mumble { message_ = other.message_; onChanged(); } - this.mergeUnknownFields(other.getUnknownFields()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } public final boolean isInitialized() { if (!hasMessage()) { - return false; } return true; @@ -13241,7 +14629,7 @@ public final class Mumble { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.morlunk.jumble.protobuf.Mumble.TextMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -13251,7 +14639,6 @@ public final class Mumble { } private int bitField0_; - // optional uint32 actor = 1; private int actor_ ; /** * <code>optional uint32 actor = 1;</code> @@ -13284,7 +14671,6 @@ public final class Mumble { return this; } - // repeated uint32 session = 2; private java.util.List<java.lang.Integer> session_ = java.util.Collections.emptyList(); private void ensureSessionIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { @@ -13336,7 +14722,8 @@ public final class Mumble { public Builder addAllSession( java.lang.Iterable<? extends java.lang.Integer> values) { ensureSessionIsMutable(); - super.addAll(values, session_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, session_); onChanged(); return this; } @@ -13350,7 +14737,6 @@ public final class Mumble { return this; } - // repeated uint32 channel_id = 3; private java.util.List<java.lang.Integer> channelId_ = java.util.Collections.emptyList(); private void ensureChannelIdIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { @@ -13402,7 +14788,8 @@ public final class Mumble { public Builder addAllChannelId( java.lang.Iterable<? extends java.lang.Integer> values) { ensureChannelIdIsMutable(); - super.addAll(values, channelId_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, channelId_); onChanged(); return this; } @@ -13416,7 +14803,6 @@ public final class Mumble { return this; } - // repeated uint32 tree_id = 4; private java.util.List<java.lang.Integer> treeId_ = java.util.Collections.emptyList(); private void ensureTreeIdIsMutable() { if (!((bitField0_ & 0x00000008) == 0x00000008)) { @@ -13468,7 +14854,8 @@ public final class Mumble { public Builder addAllTreeId( java.lang.Iterable<? extends java.lang.Integer> values) { ensureTreeIdIsMutable(); - super.addAll(values, treeId_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, treeId_); onChanged(); return this; } @@ -13482,7 +14869,6 @@ public final class Mumble { return this; } - // required string message = 5; private java.lang.Object message_ = ""; /** * <code>required string message = 5;</code> @@ -13496,9 +14882,12 @@ public final class Mumble { public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - message_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + message_ = s; + } return s; } else { return (java.lang.String) ref; @@ -13555,22 +14944,59 @@ public final class Mumble { 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.Message) + + // @@protoc_insertion_point(builder_scope:MumbleProto.TextMessage) } + // @@protoc_insertion_point(class_scope:MumbleProto.TextMessage) + private static final com.morlunk.jumble.protobuf.Mumble.TextMessage DEFAULT_INSTANCE; static { - defaultInstance = new TextMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new com.morlunk.jumble.protobuf.Mumble.TextMessage(); + } + + public static com.morlunk.jumble.protobuf.Mumble.TextMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser<TextMessage> + PARSER = new com.google.protobuf.AbstractParser<TextMessage>() { + public TextMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TextMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<TextMessage> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<TextMessage> getParserForType() { + return PARSER; + } + + public com.morlunk.jumble.protobuf.Mumble.TextMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:MumbleProto.Message) } - public interface PermissionDeniedOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface PermissionDeniedOrBuilder extends + // @@protoc_insertion_point(interface_extends:MumbleProto.PermissionDenied) + com.google.protobuf.MessageOrBuilder { - // optional uint32 permission = 1; /** * <code>optional uint32 permission = 1;</code> */ @@ -13580,7 +15006,6 @@ public final class Mumble { */ int getPermission(); - // optional uint32 channel_id = 2; /** * <code>optional uint32 channel_id = 2;</code> */ @@ -13590,7 +15015,6 @@ public final class Mumble { */ int getChannelId(); - // optional uint32 session = 3; /** * <code>optional uint32 session = 3;</code> */ @@ -13600,7 +15024,6 @@ public final class Mumble { */ int getSession(); - // optional string reason = 4; /** * <code>optional string reason = 4;</code> */ @@ -13615,7 +15038,6 @@ public final class Mumble { com.google.protobuf.ByteString getReasonBytes(); - // optional .MumbleProto.PermissionDenied.DenyType type = 5; /** * <code>optional .MumbleProto.PermissionDenied.DenyType type = 5;</code> */ @@ -13625,7 +15047,6 @@ public final class Mumble { */ com.morlunk.jumble.protobuf.Mumble.PermissionDenied.DenyType getType(); - // optional string name = 6; /** * <code>optional string name = 6;</code> */ @@ -13643,36 +15064,33 @@ public final class Mumble { /** * Protobuf type {@code MumbleProto.PermissionDenied} */ - public static final class PermissionDenied extends - com.google.protobuf.GeneratedMessage - implements PermissionDeniedOrBuilder { + public static final class PermissionDenied extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MumbleProto.PermissionDenied) + PermissionDeniedOrBuilder { // Use PermissionDenied.newBuilder() to construct. - private PermissionDenied(com.google.protobuf.GeneratedMessage.Builder<?> builder) { + private PermissionDenied(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); } - private PermissionDenied(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final PermissionDenied defaultInstance; - public static PermissionDenied getDefaultInstance() { - return defaultInstance; - } - - public PermissionDenied getDefaultInstanceForType() { - return defaultInstance; + private PermissionDenied() { + permission_ = 0; + channelId_ = 0; + session_ = 0; + reason_ = ""; + type_ = 0; + name_ = ""; } - private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } private PermissionDenied( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -13707,8 +15125,9 @@ public final class Mumble { break; } case 34: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; - reason_ = input.readBytes(); + reason_ = bs; break; } case 40: { @@ -13718,13 +15137,14 @@ public final class Mumble { unknownFields.mergeVarintField(5, rawValue); } else { bitField0_ |= 0x00000010; - type_ = value; + type_ = rawValue; } break; } case 50: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000020; - name_ = input.readBytes(); + name_ = bs; break; } } @@ -13733,7 +15153,7 @@ public final class Mumble { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -13744,28 +15164,13 @@ public final class Mumble { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_PermissionDenied_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_PermissionDenied_fieldAccessorTable .ensureFieldAccessorsInitialized( com.morlunk.jumble.protobuf.Mumble.PermissionDenied.class, com.morlunk.jumble.protobuf.Mumble.PermissionDenied.Builder.class); } - public static com.google.protobuf.Parser<PermissionDenied> PARSER = - new com.google.protobuf.AbstractParser<PermissionDenied>() { - public PermissionDenied parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PermissionDenied(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser<PermissionDenied> getParserForType() { - return PARSER; - } - /** * Protobuf enum {@code MumbleProto.PermissionDenied.DenyType} */ @@ -13774,47 +15179,47 @@ public final class Mumble { /** * <code>Text = 0;</code> */ - Text(0, 0), + Text(0), /** * <code>Permission = 1;</code> */ - Permission(1, 1), + Permission(1), /** * <code>SuperUser = 2;</code> */ - SuperUser(2, 2), + SuperUser(2), /** * <code>ChannelName = 3;</code> */ - ChannelName(3, 3), + ChannelName(3), /** * <code>TextTooLong = 4;</code> */ - TextTooLong(4, 4), + TextTooLong(4), /** * <code>H9K = 5;</code> */ - H9K(5, 5), + H9K(5), /** * <code>TemporaryChannel = 6;</code> */ - TemporaryChannel(6, 6), + TemporaryChannel(6), /** * <code>MissingCertificate = 7;</code> */ - MissingCertificate(7, 7), + MissingCertificate(7), /** * <code>UserName = 8;</code> */ - UserName(8, 8), + UserName(8), /** * <code>ChannelFull = 9;</code> */ - ChannelFull(9, 9), + ChannelFull(9), /** * <code>NestingLimit = 10;</code> */ - NestingLimit(10, 10), + NestingLimit(10), ; /** @@ -13863,9 +15268,19 @@ public final class Mumble { public static final int NestingLimit_VALUE = 10; - public final int getNumber() { return value; } + public final int getNumber() { + return value; + } + /** + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated public static DenyType valueOf(int value) { + return forNumber(value); + } + + public static DenyType forNumber(int value) { switch (value) { case 0: return Text; case 1: return Permission; @@ -13886,17 +15301,17 @@ public final class Mumble { internalGetValueMap() { return internalValueMap; } - private static com.google.protobuf.Internal.EnumLiteMap<DenyType> - internalValueMap = + private static final com.google.protobuf.Internal.EnumLiteMap< + DenyType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap<DenyType>() { public DenyType findValueByNumber(int number) { - return DenyType.valueOf(number); + return DenyType.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { - return getDescriptor().getValues().get(index); + return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { @@ -13918,11 +15333,9 @@ public final class Mumble { return VALUES[desc.getIndex()]; } - private final int index; private final int value; - private DenyType(int index, int value) { - this.index = index; + private DenyType(int value) { this.value = value; } @@ -13930,7 +15343,6 @@ public final class Mumble { } private int bitField0_; - // optional uint32 permission = 1; public static final int PERMISSION_FIELD_NUMBER = 1; private int permission_; /** @@ -13946,7 +15358,6 @@ public final class Mumble { return permission_; } - // optional uint32 channel_id = 2; public static final int CHANNEL_ID_FIELD_NUMBER = 2; private int channelId_; /** @@ -13962,7 +15373,6 @@ public final class Mumble { return channelId_; } - // optional uint32 session = 3; public static final int SESSION_FIELD_NUMBER = 3; private int session_; /** @@ -13978,9 +15388,8 @@ public final class Mumble { return session_; } - // optional string reason = 4; public static final int REASON_FIELD_NUMBER = 4; - private java.lang.Object reason_; + private volatile java.lang.Object reason_; /** * <code>optional string reason = 4;</code> */ @@ -14021,9 +15430,8 @@ public final class Mumble { } } - // optional .MumbleProto.PermissionDenied.DenyType type = 5; public static final int TYPE_FIELD_NUMBER = 5; - private com.morlunk.jumble.protobuf.Mumble.PermissionDenied.DenyType type_; + private int type_; /** * <code>optional .MumbleProto.PermissionDenied.DenyType type = 5;</code> */ @@ -14034,12 +15442,12 @@ public final class Mumble { * <code>optional .MumbleProto.PermissionDenied.DenyType type = 5;</code> */ public com.morlunk.jumble.protobuf.Mumble.PermissionDenied.DenyType getType() { - return type_; + com.morlunk.jumble.protobuf.Mumble.PermissionDenied.DenyType result = com.morlunk.jumble.protobuf.Mumble.PermissionDenied.DenyType.valueOf(type_); + return result == null ? com.morlunk.jumble.protobuf.Mumble.PermissionDenied.DenyType.Text : result; } - // optional string name = 6; public static final int NAME_FIELD_NUMBER = 6; - private java.lang.Object name_; + private volatile java.lang.Object name_; /** * <code>optional string name = 6;</code> */ @@ -14080,18 +15488,11 @@ public final class Mumble { } } - private void initFields() { - permission_ = 0; - channelId_ = 0; - session_ = 0; - reason_ = ""; - type_ = com.morlunk.jumble.protobuf.Mumble.PermissionDenied.DenyType.Text; - name_ = ""; - } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -14099,7 +15500,6 @@ public final class Mumble { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, permission_); } @@ -14110,20 +15510,19 @@ public final class Mumble { output.writeUInt32(3, session_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeBytes(4, getReasonBytes()); + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, reason_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { - output.writeEnum(5, type_.getNumber()); + output.writeEnum(5, type_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { - output.writeBytes(6, getNameBytes()); + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, name_); } - getUnknownFields().writeTo(output); + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; @@ -14140,27 +15539,99 @@ public final class Mumble { .computeUInt32Size(3, session_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(4, getReasonBytes()); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, reason_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, type_.getNumber()); + .computeEnumSize(5, type_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(6, getNameBytes()); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, name_); } - size += getUnknownFields().getSerializedSize(); - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.morlunk.jumble.protobuf.Mumble.PermissionDenied)) { + return super.equals(obj); + } + com.morlunk.jumble.protobuf.Mumble.PermissionDenied other = (com.morlunk.jumble.protobuf.Mumble.PermissionDenied) obj; + + boolean result = true; + result = result && (hasPermission() == other.hasPermission()); + if (hasPermission()) { + result = result && (getPermission() + == other.getPermission()); + } + result = result && (hasChannelId() == other.hasChannelId()); + if (hasChannelId()) { + result = result && (getChannelId() + == other.getChannelId()); + } + result = result && (hasSession() == other.hasSession()); + if (hasSession()) { + result = result && (getSession() + == other.getSession()); + } + result = result && (hasReason() == other.hasReason()); + if (hasReason()) { + result = result && getReason() + .equals(other.getReason()); + } + result = result && (hasType() == other.hasType()); + if (hasType()) { + result = result && type_ == other.type_; + } + result = result && (hasName() == other.hasName()); + if (hasName()) { + result = result && getName() + .equals(other.getName()); + } + 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 (hasPermission()) { + hash = (37 * hash) + PERMISSION_FIELD_NUMBER; + hash = (53 * hash) + getPermission(); + } + if (hasChannelId()) { + hash = (37 * hash) + CHANNEL_ID_FIELD_NUMBER; + hash = (53 * hash) + getChannelId(); + } + if (hasSession()) { + hash = (37 * hash) + SESSION_FIELD_NUMBER; + hash = (53 * hash) + getSession(); + } + if (hasReason()) { + hash = (37 * hash) + REASON_FIELD_NUMBER; + hash = (53 * hash) + getReason().hashCode(); + } + if (hasType()) { + hash = (37 * hash) + TYPE_FIELD_NUMBER; + hash = (53 * hash) + type_; + } + if (hasName()) { + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; } public static com.morlunk.jumble.protobuf.Mumble.PermissionDenied parseFrom( @@ -14186,46 +15657,57 @@ public final class Mumble { } public static com.morlunk.jumble.protobuf.Mumble.PermissionDenied parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.PermissionDenied parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.PermissionDenied parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.PermissionDenied parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.PermissionDenied parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.PermissionDenied parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(com.morlunk.jumble.protobuf.Mumble.PermissionDenied prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -14233,14 +15715,15 @@ public final class Mumble { * Protobuf type {@code MumbleProto.PermissionDenied} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> - implements com.morlunk.jumble.protobuf.Mumble.PermissionDeniedOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:MumbleProto.PermissionDenied) + com.morlunk.jumble.protobuf.Mumble.PermissionDeniedOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_PermissionDenied_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_PermissionDenied_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -14253,18 +15736,15 @@ public final class Mumble { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { } } - private static Builder create() { - return new Builder(); - } - public Builder clear() { super.clear(); permission_ = 0; @@ -14275,17 +15755,13 @@ public final class Mumble { bitField0_ = (bitField0_ & ~0x00000004); reason_ = ""; bitField0_ = (bitField0_ & ~0x00000008); - type_ = com.morlunk.jumble.protobuf.Mumble.PermissionDenied.DenyType.Text; + type_ = 0; bitField0_ = (bitField0_ & ~0x00000010); name_ = ""; bitField0_ = (bitField0_ & ~0x00000020); return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_PermissionDenied_descriptor; @@ -14336,6 +15812,32 @@ public final class Mumble { 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 com.morlunk.jumble.protobuf.Mumble.PermissionDenied) { return mergeFrom((com.morlunk.jumble.protobuf.Mumble.PermissionDenied)other); @@ -14369,7 +15871,8 @@ public final class Mumble { name_ = other.name_; onChanged(); } - this.mergeUnknownFields(other.getUnknownFields()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } @@ -14386,7 +15889,7 @@ public final class Mumble { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.morlunk.jumble.protobuf.Mumble.PermissionDenied) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -14396,7 +15899,6 @@ public final class Mumble { } private int bitField0_; - // optional uint32 permission = 1; private int permission_ ; /** * <code>optional uint32 permission = 1;</code> @@ -14429,7 +15931,6 @@ public final class Mumble { return this; } - // optional uint32 channel_id = 2; private int channelId_ ; /** * <code>optional uint32 channel_id = 2;</code> @@ -14462,7 +15963,6 @@ public final class Mumble { return this; } - // optional uint32 session = 3; private int session_ ; /** * <code>optional uint32 session = 3;</code> @@ -14495,7 +15995,6 @@ public final class Mumble { return this; } - // optional string reason = 4; private java.lang.Object reason_ = ""; /** * <code>optional string reason = 4;</code> @@ -14509,9 +16008,12 @@ public final class Mumble { public java.lang.String getReason() { java.lang.Object ref = reason_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - reason_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + reason_ = s; + } return s; } else { return (java.lang.String) ref; @@ -14569,8 +16071,7 @@ public final class Mumble { return this; } - // optional .MumbleProto.PermissionDenied.DenyType type = 5; - private com.morlunk.jumble.protobuf.Mumble.PermissionDenied.DenyType type_ = com.morlunk.jumble.protobuf.Mumble.PermissionDenied.DenyType.Text; + private int type_ = 0; /** * <code>optional .MumbleProto.PermissionDenied.DenyType type = 5;</code> */ @@ -14581,7 +16082,8 @@ public final class Mumble { * <code>optional .MumbleProto.PermissionDenied.DenyType type = 5;</code> */ public com.morlunk.jumble.protobuf.Mumble.PermissionDenied.DenyType getType() { - return type_; + com.morlunk.jumble.protobuf.Mumble.PermissionDenied.DenyType result = com.morlunk.jumble.protobuf.Mumble.PermissionDenied.DenyType.valueOf(type_); + return result == null ? com.morlunk.jumble.protobuf.Mumble.PermissionDenied.DenyType.Text : result; } /** * <code>optional .MumbleProto.PermissionDenied.DenyType type = 5;</code> @@ -14591,7 +16093,7 @@ public final class Mumble { throw new NullPointerException(); } bitField0_ |= 0x00000010; - type_ = value; + type_ = value.getNumber(); onChanged(); return this; } @@ -14600,12 +16102,11 @@ public final class Mumble { */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000010); - type_ = com.morlunk.jumble.protobuf.Mumble.PermissionDenied.DenyType.Text; + type_ = 0; onChanged(); return this; } - // optional string name = 6; private java.lang.Object name_ = ""; /** * <code>optional string name = 6;</code> @@ -14619,9 +16120,12 @@ public final class Mumble { public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - name_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + name_ = s; + } return s; } else { return (java.lang.String) ref; @@ -14678,22 +16182,59 @@ public final class Mumble { 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.PermissionDenied) } + // @@protoc_insertion_point(class_scope:MumbleProto.PermissionDenied) + private static final com.morlunk.jumble.protobuf.Mumble.PermissionDenied DEFAULT_INSTANCE; static { - defaultInstance = new PermissionDenied(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new com.morlunk.jumble.protobuf.Mumble.PermissionDenied(); + } + + public static com.morlunk.jumble.protobuf.Mumble.PermissionDenied getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser<PermissionDenied> + PARSER = new com.google.protobuf.AbstractParser<PermissionDenied>() { + public PermissionDenied parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PermissionDenied(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<PermissionDenied> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<PermissionDenied> getParserForType() { + return PARSER; + } + + public com.morlunk.jumble.protobuf.Mumble.PermissionDenied getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:MumbleProto.PermissionDenied) } - public interface ACLOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ACLOrBuilder extends + // @@protoc_insertion_point(interface_extends:MumbleProto.ACL) + com.google.protobuf.MessageOrBuilder { - // required uint32 channel_id = 1; /** * <code>required uint32 channel_id = 1;</code> */ @@ -14703,7 +16244,6 @@ public final class Mumble { */ int getChannelId(); - // optional bool inherit_acls = 2 [default = true]; /** * <code>optional bool inherit_acls = 2 [default = true];</code> */ @@ -14713,7 +16253,6 @@ public final class Mumble { */ boolean getInheritAcls(); - // repeated .MumbleProto.ACL.ChanGroup groups = 3; /** * <code>repeated .MumbleProto.ACL.ChanGroup groups = 3;</code> */ @@ -14738,7 +16277,6 @@ public final class Mumble { com.morlunk.jumble.protobuf.Mumble.ACL.ChanGroupOrBuilder getGroupsOrBuilder( int index); - // repeated .MumbleProto.ACL.ChanACL acls = 4; /** * <code>repeated .MumbleProto.ACL.ChanACL acls = 4;</code> */ @@ -14763,7 +16301,6 @@ public final class Mumble { com.morlunk.jumble.protobuf.Mumble.ACL.ChanACLOrBuilder getAclsOrBuilder( int index); - // optional bool query = 5 [default = false]; /** * <code>optional bool query = 5 [default = false];</code> */ @@ -14776,36 +16313,32 @@ public final class Mumble { /** * Protobuf type {@code MumbleProto.ACL} */ - public static final class ACL extends - com.google.protobuf.GeneratedMessage - implements ACLOrBuilder { + public static final class ACL extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MumbleProto.ACL) + ACLOrBuilder { // Use ACL.newBuilder() to construct. - private ACL(com.google.protobuf.GeneratedMessage.Builder<?> builder) { + private ACL(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); } - private ACL(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final ACL defaultInstance; - public static ACL getDefaultInstance() { - return defaultInstance; - } - - public ACL getDefaultInstanceForType() { - return defaultInstance; + private ACL() { + channelId_ = 0; + inheritAcls_ = true; + groups_ = java.util.Collections.emptyList(); + acls_ = java.util.Collections.emptyList(); + query_ = false; } - private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } private ACL( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -14839,7 +16372,8 @@ public final class Mumble { groups_ = new java.util.ArrayList<com.morlunk.jumble.protobuf.Mumble.ACL.ChanGroup>(); mutable_bitField0_ |= 0x00000004; } - groups_.add(input.readMessage(com.morlunk.jumble.protobuf.Mumble.ACL.ChanGroup.PARSER, extensionRegistry)); + groups_.add( + input.readMessage(com.morlunk.jumble.protobuf.Mumble.ACL.ChanGroup.PARSER, extensionRegistry)); break; } case 34: { @@ -14847,7 +16381,8 @@ public final class Mumble { acls_ = new java.util.ArrayList<com.morlunk.jumble.protobuf.Mumble.ACL.ChanACL>(); mutable_bitField0_ |= 0x00000008; } - acls_.add(input.readMessage(com.morlunk.jumble.protobuf.Mumble.ACL.ChanACL.PARSER, extensionRegistry)); + acls_.add( + input.readMessage(com.morlunk.jumble.protobuf.Mumble.ACL.ChanACL.PARSER, extensionRegistry)); break; } case 40: { @@ -14861,7 +16396,7 @@ public final class Mumble { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { groups_ = java.util.Collections.unmodifiableList(groups_); @@ -14878,32 +16413,17 @@ public final class Mumble { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ACL_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ACL_fieldAccessorTable .ensureFieldAccessorsInitialized( com.morlunk.jumble.protobuf.Mumble.ACL.class, com.morlunk.jumble.protobuf.Mumble.ACL.Builder.class); } - public static com.google.protobuf.Parser<ACL> PARSER = - new com.google.protobuf.AbstractParser<ACL>() { - public ACL parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ACL(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser<ACL> getParserForType() { - return PARSER; - } + public interface ChanGroupOrBuilder extends + // @@protoc_insertion_point(interface_extends:MumbleProto.ACL.ChanGroup) + com.google.protobuf.MessageOrBuilder { - public interface ChanGroupOrBuilder - extends com.google.protobuf.MessageOrBuilder { - - // required string name = 1; /** * <code>required string name = 1;</code> */ @@ -14918,7 +16438,6 @@ public final class Mumble { com.google.protobuf.ByteString getNameBytes(); - // optional bool inherited = 2 [default = true]; /** * <code>optional bool inherited = 2 [default = true];</code> */ @@ -14928,7 +16447,6 @@ public final class Mumble { */ boolean getInherited(); - // optional bool inherit = 3 [default = true]; /** * <code>optional bool inherit = 3 [default = true];</code> */ @@ -14938,7 +16456,6 @@ public final class Mumble { */ boolean getInherit(); - // optional bool inheritable = 4 [default = true]; /** * <code>optional bool inheritable = 4 [default = true];</code> */ @@ -14948,7 +16465,6 @@ public final class Mumble { */ boolean getInheritable(); - // repeated uint32 add = 5; /** * <code>repeated uint32 add = 5;</code> */ @@ -14962,7 +16478,6 @@ public final class Mumble { */ int getAdd(int index); - // repeated uint32 remove = 6; /** * <code>repeated uint32 remove = 6;</code> */ @@ -14976,7 +16491,6 @@ public final class Mumble { */ int getRemove(int index); - // repeated uint32 inherited_members = 7; /** * <code>repeated uint32 inherited_members = 7;</code> */ @@ -14993,36 +16507,34 @@ public final class Mumble { /** * Protobuf type {@code MumbleProto.ACL.ChanGroup} */ - public static final class ChanGroup extends - com.google.protobuf.GeneratedMessage - implements ChanGroupOrBuilder { + public static final class ChanGroup extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MumbleProto.ACL.ChanGroup) + ChanGroupOrBuilder { // Use ChanGroup.newBuilder() to construct. - private ChanGroup(com.google.protobuf.GeneratedMessage.Builder<?> builder) { + private ChanGroup(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); - } - private ChanGroup(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final ChanGroup defaultInstance; - public static ChanGroup getDefaultInstance() { - return defaultInstance; } - - public ChanGroup getDefaultInstanceForType() { - return defaultInstance; + private ChanGroup() { + name_ = ""; + inherited_ = true; + inherit_ = true; + inheritable_ = true; + add_ = java.util.Collections.emptyList(); + remove_ = java.util.Collections.emptyList(); + inheritedMembers_ = java.util.Collections.emptyList(); } - private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } private ChanGroup( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -15042,8 +16554,9 @@ public final class Mumble { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - name_ = input.readBytes(); + name_ = bs; break; } case 16: { @@ -15130,7 +16643,7 @@ public final class Mumble { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) { add_ = java.util.Collections.unmodifiableList(add_); @@ -15150,32 +16663,16 @@ public final class Mumble { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ACL_ChanGroup_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ACL_ChanGroup_fieldAccessorTable .ensureFieldAccessorsInitialized( com.morlunk.jumble.protobuf.Mumble.ACL.ChanGroup.class, com.morlunk.jumble.protobuf.Mumble.ACL.ChanGroup.Builder.class); } - public static com.google.protobuf.Parser<ChanGroup> PARSER = - new com.google.protobuf.AbstractParser<ChanGroup>() { - public ChanGroup parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ChanGroup(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser<ChanGroup> getParserForType() { - return PARSER; - } - private int bitField0_; - // required string name = 1; public static final int NAME_FIELD_NUMBER = 1; - private java.lang.Object name_; + private volatile java.lang.Object name_; /** * <code>required string name = 1;</code> */ @@ -15216,7 +16713,6 @@ public final class Mumble { } } - // optional bool inherited = 2 [default = true]; public static final int INHERITED_FIELD_NUMBER = 2; private boolean inherited_; /** @@ -15232,7 +16728,6 @@ public final class Mumble { return inherited_; } - // optional bool inherit = 3 [default = true]; public static final int INHERIT_FIELD_NUMBER = 3; private boolean inherit_; /** @@ -15248,7 +16743,6 @@ public final class Mumble { return inherit_; } - // optional bool inheritable = 4 [default = true]; public static final int INHERITABLE_FIELD_NUMBER = 4; private boolean inheritable_; /** @@ -15264,7 +16758,6 @@ public final class Mumble { return inheritable_; } - // repeated uint32 add = 5; public static final int ADD_FIELD_NUMBER = 5; private java.util.List<java.lang.Integer> add_; /** @@ -15287,7 +16780,6 @@ public final class Mumble { return add_.get(index); } - // repeated uint32 remove = 6; public static final int REMOVE_FIELD_NUMBER = 6; private java.util.List<java.lang.Integer> remove_; /** @@ -15310,7 +16802,6 @@ public final class Mumble { return remove_.get(index); } - // repeated uint32 inherited_members = 7; public static final int INHERITED_MEMBERS_FIELD_NUMBER = 7; private java.util.List<java.lang.Integer> inheritedMembers_; /** @@ -15333,19 +16824,11 @@ public final class Mumble { return inheritedMembers_.get(index); } - private void initFields() { - name_ = ""; - inherited_ = true; - inherit_ = true; - inheritable_ = true; - add_ = java.util.Collections.emptyList(); - remove_ = java.util.Collections.emptyList(); - inheritedMembers_ = java.util.Collections.emptyList(); - } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasName()) { memoizedIsInitialized = 0; @@ -15357,9 +16840,8 @@ public final class Mumble { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeBytes(1, getNameBytes()); + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBool(2, inherited_); @@ -15379,18 +16861,16 @@ public final class Mumble { for (int i = 0; i < inheritedMembers_.size(); i++) { output.writeUInt32(7, inheritedMembers_.get(i)); } - getUnknownFields().writeTo(output); + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, getNameBytes()); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream @@ -15431,16 +16911,94 @@ public final class Mumble { size += dataSize; size += 1 * getInheritedMembersList().size(); } - size += getUnknownFields().getSerializedSize(); - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.morlunk.jumble.protobuf.Mumble.ACL.ChanGroup)) { + return super.equals(obj); + } + com.morlunk.jumble.protobuf.Mumble.ACL.ChanGroup other = (com.morlunk.jumble.protobuf.Mumble.ACL.ChanGroup) obj; + + boolean result = true; + result = result && (hasName() == other.hasName()); + if (hasName()) { + result = result && getName() + .equals(other.getName()); + } + result = result && (hasInherited() == other.hasInherited()); + if (hasInherited()) { + result = result && (getInherited() + == other.getInherited()); + } + result = result && (hasInherit() == other.hasInherit()); + if (hasInherit()) { + result = result && (getInherit() + == other.getInherit()); + } + result = result && (hasInheritable() == other.hasInheritable()); + 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; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptorForType().hashCode(); + if (hasName()) { + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + } + if (hasInherited()) { + hash = (37 * hash) + INHERITED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getInherited()); + } + if (hasInherit()) { + hash = (37 * hash) + INHERIT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getInherit()); + } + if (hasInheritable()) { + hash = (37 * hash) + INHERITABLE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getInheritable()); + } + if (getAddCount() > 0) { + hash = (37 * hash) + ADD_FIELD_NUMBER; + hash = (53 * hash) + getAddList().hashCode(); + } + if (getRemoveCount() > 0) { + hash = (37 * hash) + REMOVE_FIELD_NUMBER; + hash = (53 * hash) + getRemoveList().hashCode(); + } + if (getInheritedMembersCount() > 0) { + hash = (37 * hash) + INHERITED_MEMBERS_FIELD_NUMBER; + hash = (53 * hash) + getInheritedMembersList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; } public static com.morlunk.jumble.protobuf.Mumble.ACL.ChanGroup parseFrom( @@ -15466,46 +17024,57 @@ public final class Mumble { } public static com.morlunk.jumble.protobuf.Mumble.ACL.ChanGroup parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.ACL.ChanGroup parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.ACL.ChanGroup parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.ACL.ChanGroup parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.ACL.ChanGroup parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.ACL.ChanGroup parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(com.morlunk.jumble.protobuf.Mumble.ACL.ChanGroup prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -15513,14 +17082,15 @@ public final class Mumble { * Protobuf type {@code MumbleProto.ACL.ChanGroup} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> - implements com.morlunk.jumble.protobuf.Mumble.ACL.ChanGroupOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:MumbleProto.ACL.ChanGroup) + com.morlunk.jumble.protobuf.Mumble.ACL.ChanGroupOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ACL_ChanGroup_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ACL_ChanGroup_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -15533,18 +17103,15 @@ public final class Mumble { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { } } - private static Builder create() { - return new Builder(); - } - public Builder clear() { super.clear(); name_ = ""; @@ -15564,10 +17131,6 @@ public final class Mumble { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ACL_ChanGroup_descriptor; @@ -15625,6 +17188,32 @@ public final class Mumble { 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 com.morlunk.jumble.protobuf.Mumble.ACL.ChanGroup) { return mergeFrom((com.morlunk.jumble.protobuf.Mumble.ACL.ChanGroup)other); @@ -15680,13 +17269,13 @@ public final class Mumble { } onChanged(); } - this.mergeUnknownFields(other.getUnknownFields()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } public final boolean isInitialized() { if (!hasName()) { - return false; } return true; @@ -15701,7 +17290,7 @@ public final class Mumble { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.morlunk.jumble.protobuf.Mumble.ACL.ChanGroup) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -15711,7 +17300,6 @@ public final class Mumble { } private int bitField0_; - // required string name = 1; private java.lang.Object name_ = ""; /** * <code>required string name = 1;</code> @@ -15725,9 +17313,12 @@ public final class Mumble { public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - name_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + name_ = s; + } return s; } else { return (java.lang.String) ref; @@ -15785,7 +17376,6 @@ public final class Mumble { return this; } - // optional bool inherited = 2 [default = true]; private boolean inherited_ = true; /** * <code>optional bool inherited = 2 [default = true];</code> @@ -15818,7 +17408,6 @@ public final class Mumble { return this; } - // optional bool inherit = 3 [default = true]; private boolean inherit_ = true; /** * <code>optional bool inherit = 3 [default = true];</code> @@ -15851,7 +17440,6 @@ public final class Mumble { return this; } - // optional bool inheritable = 4 [default = true]; private boolean inheritable_ = true; /** * <code>optional bool inheritable = 4 [default = true];</code> @@ -15884,7 +17472,6 @@ public final class Mumble { return this; } - // repeated uint32 add = 5; private java.util.List<java.lang.Integer> add_ = java.util.Collections.emptyList(); private void ensureAddIsMutable() { if (!((bitField0_ & 0x00000010) == 0x00000010)) { @@ -15936,7 +17523,8 @@ public final class Mumble { public Builder addAllAdd( java.lang.Iterable<? extends java.lang.Integer> values) { ensureAddIsMutable(); - super.addAll(values, add_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, add_); onChanged(); return this; } @@ -15950,7 +17538,6 @@ public final class Mumble { return this; } - // repeated uint32 remove = 6; private java.util.List<java.lang.Integer> remove_ = java.util.Collections.emptyList(); private void ensureRemoveIsMutable() { if (!((bitField0_ & 0x00000020) == 0x00000020)) { @@ -16002,7 +17589,8 @@ public final class Mumble { public Builder addAllRemove( java.lang.Iterable<? extends java.lang.Integer> values) { ensureRemoveIsMutable(); - super.addAll(values, remove_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, remove_); onChanged(); return this; } @@ -16016,7 +17604,6 @@ public final class Mumble { return this; } - // repeated uint32 inherited_members = 7; private java.util.List<java.lang.Integer> inheritedMembers_ = java.util.Collections.emptyList(); private void ensureInheritedMembersIsMutable() { if (!((bitField0_ & 0x00000040) == 0x00000040)) { @@ -16068,7 +17655,8 @@ public final class Mumble { public Builder addAllInheritedMembers( java.lang.Iterable<? extends java.lang.Integer> values) { ensureInheritedMembersIsMutable(); - super.addAll(values, inheritedMembers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, inheritedMembers_); onChanged(); return this; } @@ -16081,22 +17669,59 @@ public final class Mumble { 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.ACL.ChanGroup) } + // @@protoc_insertion_point(class_scope:MumbleProto.ACL.ChanGroup) + private static final com.morlunk.jumble.protobuf.Mumble.ACL.ChanGroup DEFAULT_INSTANCE; static { - defaultInstance = new ChanGroup(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new com.morlunk.jumble.protobuf.Mumble.ACL.ChanGroup(); + } + + public static com.morlunk.jumble.protobuf.Mumble.ACL.ChanGroup getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser<ChanGroup> + PARSER = new com.google.protobuf.AbstractParser<ChanGroup>() { + public ChanGroup parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ChanGroup(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<ChanGroup> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<ChanGroup> getParserForType() { + return PARSER; + } + + public com.morlunk.jumble.protobuf.Mumble.ACL.ChanGroup getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:MumbleProto.ACL.ChanGroup) } - public interface ChanACLOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ChanACLOrBuilder extends + // @@protoc_insertion_point(interface_extends:MumbleProto.ACL.ChanACL) + com.google.protobuf.MessageOrBuilder { - // optional bool apply_here = 1 [default = true]; /** * <code>optional bool apply_here = 1 [default = true];</code> */ @@ -16106,7 +17731,6 @@ public final class Mumble { */ boolean getApplyHere(); - // optional bool apply_subs = 2 [default = true]; /** * <code>optional bool apply_subs = 2 [default = true];</code> */ @@ -16116,7 +17740,6 @@ public final class Mumble { */ boolean getApplySubs(); - // optional bool inherited = 3 [default = true]; /** * <code>optional bool inherited = 3 [default = true];</code> */ @@ -16126,7 +17749,6 @@ public final class Mumble { */ boolean getInherited(); - // optional uint32 user_id = 4; /** * <code>optional uint32 user_id = 4;</code> */ @@ -16136,7 +17758,6 @@ public final class Mumble { */ int getUserId(); - // optional string group = 5; /** * <code>optional string group = 5;</code> */ @@ -16151,7 +17772,6 @@ public final class Mumble { com.google.protobuf.ByteString getGroupBytes(); - // optional uint32 grant = 6; /** * <code>optional uint32 grant = 6;</code> */ @@ -16161,7 +17781,6 @@ public final class Mumble { */ int getGrant(); - // optional uint32 deny = 7; /** * <code>optional uint32 deny = 7;</code> */ @@ -16174,36 +17793,34 @@ public final class Mumble { /** * Protobuf type {@code MumbleProto.ACL.ChanACL} */ - public static final class ChanACL extends - com.google.protobuf.GeneratedMessage - implements ChanACLOrBuilder { + public static final class ChanACL extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MumbleProto.ACL.ChanACL) + ChanACLOrBuilder { // Use ChanACL.newBuilder() to construct. - private ChanACL(com.google.protobuf.GeneratedMessage.Builder<?> builder) { + private ChanACL(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); } - private ChanACL(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final ChanACL defaultInstance; - public static ChanACL getDefaultInstance() { - return defaultInstance; - } - - public ChanACL getDefaultInstanceForType() { - return defaultInstance; + private ChanACL() { + applyHere_ = true; + applySubs_ = true; + inherited_ = true; + userId_ = 0; + group_ = ""; + grant_ = 0; + deny_ = 0; } - private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } private ChanACL( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -16243,8 +17860,9 @@ public final class Mumble { break; } case 42: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000010; - group_ = input.readBytes(); + group_ = bs; break; } case 48: { @@ -16263,7 +17881,7 @@ public final class Mumble { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -16274,30 +17892,14 @@ public final class Mumble { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ACL_ChanACL_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ACL_ChanACL_fieldAccessorTable .ensureFieldAccessorsInitialized( com.morlunk.jumble.protobuf.Mumble.ACL.ChanACL.class, com.morlunk.jumble.protobuf.Mumble.ACL.ChanACL.Builder.class); } - public static com.google.protobuf.Parser<ChanACL> PARSER = - new com.google.protobuf.AbstractParser<ChanACL>() { - public ChanACL parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ChanACL(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser<ChanACL> getParserForType() { - return PARSER; - } - private int bitField0_; - // optional bool apply_here = 1 [default = true]; public static final int APPLY_HERE_FIELD_NUMBER = 1; private boolean applyHere_; /** @@ -16313,7 +17915,6 @@ public final class Mumble { return applyHere_; } - // optional bool apply_subs = 2 [default = true]; public static final int APPLY_SUBS_FIELD_NUMBER = 2; private boolean applySubs_; /** @@ -16329,7 +17930,6 @@ public final class Mumble { return applySubs_; } - // optional bool inherited = 3 [default = true]; public static final int INHERITED_FIELD_NUMBER = 3; private boolean inherited_; /** @@ -16345,7 +17945,6 @@ public final class Mumble { return inherited_; } - // optional uint32 user_id = 4; public static final int USER_ID_FIELD_NUMBER = 4; private int userId_; /** @@ -16361,9 +17960,8 @@ public final class Mumble { return userId_; } - // optional string group = 5; public static final int GROUP_FIELD_NUMBER = 5; - private java.lang.Object group_; + private volatile java.lang.Object group_; /** * <code>optional string group = 5;</code> */ @@ -16404,7 +18002,6 @@ public final class Mumble { } } - // optional uint32 grant = 6; public static final int GRANT_FIELD_NUMBER = 6; private int grant_; /** @@ -16420,7 +18017,6 @@ public final class Mumble { return grant_; } - // optional uint32 deny = 7; public static final int DENY_FIELD_NUMBER = 7; private int deny_; /** @@ -16436,19 +18032,11 @@ public final class Mumble { return deny_; } - private void initFields() { - applyHere_ = true; - applySubs_ = true; - inherited_ = true; - userId_ = 0; - group_ = ""; - grant_ = 0; - deny_ = 0; - } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -16456,7 +18044,6 @@ public final class Mumble { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBool(1, applyHere_); } @@ -16470,7 +18057,7 @@ public final class Mumble { output.writeUInt32(4, userId_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { - output.writeBytes(5, getGroupBytes()); + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, group_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeUInt32(6, grant_); @@ -16478,12 +18065,11 @@ public final class Mumble { if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeUInt32(7, deny_); } - getUnknownFields().writeTo(output); + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; @@ -16504,8 +18090,7 @@ public final class Mumble { .computeUInt32Size(4, userId_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(5, getGroupBytes()); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, group_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream @@ -16515,16 +18100,103 @@ public final class Mumble { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(7, deny_); } - size += getUnknownFields().getSerializedSize(); - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.morlunk.jumble.protobuf.Mumble.ACL.ChanACL)) { + return super.equals(obj); + } + com.morlunk.jumble.protobuf.Mumble.ACL.ChanACL other = (com.morlunk.jumble.protobuf.Mumble.ACL.ChanACL) obj; + + boolean result = true; + result = result && (hasApplyHere() == other.hasApplyHere()); + if (hasApplyHere()) { + result = result && (getApplyHere() + == other.getApplyHere()); + } + result = result && (hasApplySubs() == other.hasApplySubs()); + if (hasApplySubs()) { + result = result && (getApplySubs() + == other.getApplySubs()); + } + result = result && (hasInherited() == other.hasInherited()); + if (hasInherited()) { + result = result && (getInherited() + == other.getInherited()); + } + result = result && (hasUserId() == other.hasUserId()); + if (hasUserId()) { + result = result && (getUserId() + == other.getUserId()); + } + result = result && (hasGroup() == other.hasGroup()); + if (hasGroup()) { + result = result && getGroup() + .equals(other.getGroup()); + } + result = result && (hasGrant() == other.hasGrant()); + if (hasGrant()) { + result = result && (getGrant() + == other.getGrant()); + } + result = result && (hasDeny() == other.hasDeny()); + if (hasDeny()) { + result = result && (getDeny() + == other.getDeny()); + } + 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 (hasApplyHere()) { + hash = (37 * hash) + APPLY_HERE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getApplyHere()); + } + if (hasApplySubs()) { + hash = (37 * hash) + APPLY_SUBS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getApplySubs()); + } + if (hasInherited()) { + hash = (37 * hash) + INHERITED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getInherited()); + } + if (hasUserId()) { + hash = (37 * hash) + USER_ID_FIELD_NUMBER; + hash = (53 * hash) + getUserId(); + } + if (hasGroup()) { + hash = (37 * hash) + GROUP_FIELD_NUMBER; + hash = (53 * hash) + getGroup().hashCode(); + } + if (hasGrant()) { + hash = (37 * hash) + GRANT_FIELD_NUMBER; + hash = (53 * hash) + getGrant(); + } + if (hasDeny()) { + hash = (37 * hash) + DENY_FIELD_NUMBER; + hash = (53 * hash) + getDeny(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; } public static com.morlunk.jumble.protobuf.Mumble.ACL.ChanACL parseFrom( @@ -16550,46 +18222,57 @@ public final class Mumble { } public static com.morlunk.jumble.protobuf.Mumble.ACL.ChanACL parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.ACL.ChanACL parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.ACL.ChanACL parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.ACL.ChanACL parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.ACL.ChanACL parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.ACL.ChanACL parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(com.morlunk.jumble.protobuf.Mumble.ACL.ChanACL prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -16597,14 +18280,15 @@ public final class Mumble { * Protobuf type {@code MumbleProto.ACL.ChanACL} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> - implements com.morlunk.jumble.protobuf.Mumble.ACL.ChanACLOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:MumbleProto.ACL.ChanACL) + com.morlunk.jumble.protobuf.Mumble.ACL.ChanACLOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ACL_ChanACL_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ACL_ChanACL_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -16617,18 +18301,15 @@ public final class Mumble { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { } } - private static Builder create() { - return new Builder(); - } - public Builder clear() { super.clear(); applyHere_ = true; @@ -16648,10 +18329,6 @@ public final class Mumble { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ACL_ChanACL_descriptor; @@ -16706,6 +18383,32 @@ public final class Mumble { 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 com.morlunk.jumble.protobuf.Mumble.ACL.ChanACL) { return mergeFrom((com.morlunk.jumble.protobuf.Mumble.ACL.ChanACL)other); @@ -16740,7 +18443,8 @@ public final class Mumble { if (other.hasDeny()) { setDeny(other.getDeny()); } - this.mergeUnknownFields(other.getUnknownFields()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } @@ -16757,7 +18461,7 @@ public final class Mumble { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.morlunk.jumble.protobuf.Mumble.ACL.ChanACL) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -16767,7 +18471,6 @@ public final class Mumble { } private int bitField0_; - // optional bool apply_here = 1 [default = true]; private boolean applyHere_ = true; /** * <code>optional bool apply_here = 1 [default = true];</code> @@ -16800,7 +18503,6 @@ public final class Mumble { return this; } - // optional bool apply_subs = 2 [default = true]; private boolean applySubs_ = true; /** * <code>optional bool apply_subs = 2 [default = true];</code> @@ -16833,7 +18535,6 @@ public final class Mumble { return this; } - // optional bool inherited = 3 [default = true]; private boolean inherited_ = true; /** * <code>optional bool inherited = 3 [default = true];</code> @@ -16866,7 +18567,6 @@ public final class Mumble { return this; } - // optional uint32 user_id = 4; private int userId_ ; /** * <code>optional uint32 user_id = 4;</code> @@ -16899,7 +18599,6 @@ public final class Mumble { return this; } - // optional string group = 5; private java.lang.Object group_ = ""; /** * <code>optional string group = 5;</code> @@ -16913,9 +18612,12 @@ public final class Mumble { public java.lang.String getGroup() { java.lang.Object ref = group_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - group_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + group_ = s; + } return s; } else { return (java.lang.String) ref; @@ -16973,7 +18675,6 @@ public final class Mumble { return this; } - // optional uint32 grant = 6; private int grant_ ; /** * <code>optional uint32 grant = 6;</code> @@ -17006,7 +18707,6 @@ public final class Mumble { return this; } - // optional uint32 deny = 7; private int deny_ ; /** * <code>optional uint32 deny = 7;</code> @@ -17038,20 +18738,56 @@ public final class Mumble { 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.ACL.ChanACL) } + // @@protoc_insertion_point(class_scope:MumbleProto.ACL.ChanACL) + private static final com.morlunk.jumble.protobuf.Mumble.ACL.ChanACL DEFAULT_INSTANCE; static { - defaultInstance = new ChanACL(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new com.morlunk.jumble.protobuf.Mumble.ACL.ChanACL(); + } + + public static com.morlunk.jumble.protobuf.Mumble.ACL.ChanACL getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser<ChanACL> + PARSER = new com.google.protobuf.AbstractParser<ChanACL>() { + public ChanACL parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ChanACL(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<ChanACL> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<ChanACL> getParserForType() { + return PARSER; + } + + public com.morlunk.jumble.protobuf.Mumble.ACL.ChanACL getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:MumbleProto.ACL.ChanACL) } private int bitField0_; - // required uint32 channel_id = 1; public static final int CHANNEL_ID_FIELD_NUMBER = 1; private int channelId_; /** @@ -17067,7 +18803,6 @@ public final class Mumble { return channelId_; } - // optional bool inherit_acls = 2 [default = true]; public static final int INHERIT_ACLS_FIELD_NUMBER = 2; private boolean inheritAcls_; /** @@ -17083,7 +18818,6 @@ public final class Mumble { return inheritAcls_; } - // repeated .MumbleProto.ACL.ChanGroup groups = 3; public static final int GROUPS_FIELD_NUMBER = 3; private java.util.List<com.morlunk.jumble.protobuf.Mumble.ACL.ChanGroup> groups_; /** @@ -17119,7 +18853,6 @@ public final class Mumble { return groups_.get(index); } - // repeated .MumbleProto.ACL.ChanACL acls = 4; public static final int ACLS_FIELD_NUMBER = 4; private java.util.List<com.morlunk.jumble.protobuf.Mumble.ACL.ChanACL> acls_; /** @@ -17155,7 +18888,6 @@ public final class Mumble { return acls_.get(index); } - // optional bool query = 5 [default = false]; public static final int QUERY_FIELD_NUMBER = 5; private boolean query_; /** @@ -17171,17 +18903,11 @@ public final class Mumble { return query_; } - private void initFields() { - channelId_ = 0; - inheritAcls_ = true; - groups_ = java.util.Collections.emptyList(); - acls_ = java.util.Collections.emptyList(); - query_ = false; - } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasChannelId()) { memoizedIsInitialized = 0; @@ -17199,7 +18925,6 @@ public final class Mumble { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, channelId_); } @@ -17215,12 +18940,11 @@ public final class Mumble { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(5, query_); } - getUnknownFields().writeTo(output); + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; @@ -17244,16 +18968,78 @@ public final class Mumble { size += com.google.protobuf.CodedOutputStream .computeBoolSize(5, query_); } - size += getUnknownFields().getSerializedSize(); - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.morlunk.jumble.protobuf.Mumble.ACL)) { + return super.equals(obj); + } + com.morlunk.jumble.protobuf.Mumble.ACL other = (com.morlunk.jumble.protobuf.Mumble.ACL) obj; + + boolean result = true; + result = result && (hasChannelId() == other.hasChannelId()); + if (hasChannelId()) { + result = result && (getChannelId() + == other.getChannelId()); + } + result = result && (hasInheritAcls() == other.hasInheritAcls()); + 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 (hasQuery()) { + result = result && (getQuery() + == other.getQuery()); + } + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptorForType().hashCode(); + if (hasChannelId()) { + hash = (37 * hash) + CHANNEL_ID_FIELD_NUMBER; + hash = (53 * hash) + getChannelId(); + } + if (hasInheritAcls()) { + hash = (37 * hash) + INHERIT_ACLS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getInheritAcls()); + } + if (getGroupsCount() > 0) { + hash = (37 * hash) + GROUPS_FIELD_NUMBER; + hash = (53 * hash) + getGroupsList().hashCode(); + } + if (getAclsCount() > 0) { + hash = (37 * hash) + ACLS_FIELD_NUMBER; + hash = (53 * hash) + getAclsList().hashCode(); + } + if (hasQuery()) { + hash = (37 * hash) + QUERY_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getQuery()); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; } public static com.morlunk.jumble.protobuf.Mumble.ACL parseFrom( @@ -17279,46 +19065,57 @@ public final class Mumble { } public static com.morlunk.jumble.protobuf.Mumble.ACL parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.ACL parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.ACL parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.ACL parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.ACL parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.ACL parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(com.morlunk.jumble.protobuf.Mumble.ACL prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -17326,14 +19123,15 @@ public final class Mumble { * Protobuf type {@code MumbleProto.ACL} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> - implements com.morlunk.jumble.protobuf.Mumble.ACLOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:MumbleProto.ACL) + com.morlunk.jumble.protobuf.Mumble.ACLOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ACL_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ACL_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -17346,20 +19144,17 @@ public final class Mumble { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getGroupsFieldBuilder(); getAclsFieldBuilder(); } } - private static Builder create() { - return new Builder(); - } - public Builder clear() { super.clear(); channelId_ = 0; @@ -17383,10 +19178,6 @@ public final class Mumble { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ACL_descriptor; @@ -17443,6 +19234,32 @@ public final class Mumble { 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 com.morlunk.jumble.protobuf.Mumble.ACL) { return mergeFrom((com.morlunk.jumble.protobuf.Mumble.ACL)other); @@ -17479,7 +19296,7 @@ public final class Mumble { groups_ = other.groups_; bitField0_ = (bitField0_ & ~0x00000004); groupsBuilder_ = - com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getGroupsFieldBuilder() : null; } else { groupsBuilder_.addAllMessages(other.groups_); @@ -17505,7 +19322,7 @@ public final class Mumble { acls_ = other.acls_; bitField0_ = (bitField0_ & ~0x00000008); aclsBuilder_ = - com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAclsFieldBuilder() : null; } else { aclsBuilder_.addAllMessages(other.acls_); @@ -17515,18 +19332,17 @@ public final class Mumble { if (other.hasQuery()) { setQuery(other.getQuery()); } - this.mergeUnknownFields(other.getUnknownFields()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } public final boolean isInitialized() { if (!hasChannelId()) { - return false; } for (int i = 0; i < getGroupsCount(); i++) { if (!getGroups(i).isInitialized()) { - return false; } } @@ -17542,7 +19358,7 @@ public final class Mumble { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.morlunk.jumble.protobuf.Mumble.ACL) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -17552,7 +19368,6 @@ public final class Mumble { } private int bitField0_; - // required uint32 channel_id = 1; private int channelId_ ; /** * <code>required uint32 channel_id = 1;</code> @@ -17585,7 +19400,6 @@ public final class Mumble { return this; } - // optional bool inherit_acls = 2 [default = true]; private boolean inheritAcls_ = true; /** * <code>optional bool inherit_acls = 2 [default = true];</code> @@ -17618,7 +19432,6 @@ public final class Mumble { return this; } - // repeated .MumbleProto.ACL.ChanGroup groups = 3; private java.util.List<com.morlunk.jumble.protobuf.Mumble.ACL.ChanGroup> groups_ = java.util.Collections.emptyList(); private void ensureGroupsIsMutable() { @@ -17628,7 +19441,7 @@ public final class Mumble { } } - private com.google.protobuf.RepeatedFieldBuilder< + private com.google.protobuf.RepeatedFieldBuilderV3< com.morlunk.jumble.protobuf.Mumble.ACL.ChanGroup, com.morlunk.jumble.protobuf.Mumble.ACL.ChanGroup.Builder, com.morlunk.jumble.protobuf.Mumble.ACL.ChanGroupOrBuilder> groupsBuilder_; /** @@ -17760,7 +19573,8 @@ public final class Mumble { java.lang.Iterable<? extends com.morlunk.jumble.protobuf.Mumble.ACL.ChanGroup> values) { if (groupsBuilder_ == null) { ensureGroupsIsMutable(); - super.addAll(values, groups_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, groups_); onChanged(); } else { groupsBuilder_.addAllMessages(values); @@ -17843,11 +19657,11 @@ public final class Mumble { getGroupsBuilderList() { return getGroupsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilder< + private com.google.protobuf.RepeatedFieldBuilderV3< com.morlunk.jumble.protobuf.Mumble.ACL.ChanGroup, com.morlunk.jumble.protobuf.Mumble.ACL.ChanGroup.Builder, com.morlunk.jumble.protobuf.Mumble.ACL.ChanGroupOrBuilder> getGroupsFieldBuilder() { if (groupsBuilder_ == null) { - groupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + groupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.morlunk.jumble.protobuf.Mumble.ACL.ChanGroup, com.morlunk.jumble.protobuf.Mumble.ACL.ChanGroup.Builder, com.morlunk.jumble.protobuf.Mumble.ACL.ChanGroupOrBuilder>( groups_, ((bitField0_ & 0x00000004) == 0x00000004), @@ -17858,7 +19672,6 @@ public final class Mumble { return groupsBuilder_; } - // repeated .MumbleProto.ACL.ChanACL acls = 4; private java.util.List<com.morlunk.jumble.protobuf.Mumble.ACL.ChanACL> acls_ = java.util.Collections.emptyList(); private void ensureAclsIsMutable() { @@ -17868,7 +19681,7 @@ public final class Mumble { } } - private com.google.protobuf.RepeatedFieldBuilder< + private com.google.protobuf.RepeatedFieldBuilderV3< com.morlunk.jumble.protobuf.Mumble.ACL.ChanACL, com.morlunk.jumble.protobuf.Mumble.ACL.ChanACL.Builder, com.morlunk.jumble.protobuf.Mumble.ACL.ChanACLOrBuilder> aclsBuilder_; /** @@ -18000,7 +19813,8 @@ public final class Mumble { java.lang.Iterable<? extends com.morlunk.jumble.protobuf.Mumble.ACL.ChanACL> values) { if (aclsBuilder_ == null) { ensureAclsIsMutable(); - super.addAll(values, acls_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, acls_); onChanged(); } else { aclsBuilder_.addAllMessages(values); @@ -18083,11 +19897,11 @@ public final class Mumble { getAclsBuilderList() { return getAclsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilder< + private com.google.protobuf.RepeatedFieldBuilderV3< com.morlunk.jumble.protobuf.Mumble.ACL.ChanACL, com.morlunk.jumble.protobuf.Mumble.ACL.ChanACL.Builder, com.morlunk.jumble.protobuf.Mumble.ACL.ChanACLOrBuilder> getAclsFieldBuilder() { if (aclsBuilder_ == null) { - aclsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + aclsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.morlunk.jumble.protobuf.Mumble.ACL.ChanACL, com.morlunk.jumble.protobuf.Mumble.ACL.ChanACL.Builder, com.morlunk.jumble.protobuf.Mumble.ACL.ChanACLOrBuilder>( acls_, ((bitField0_ & 0x00000008) == 0x00000008), @@ -18098,7 +19912,6 @@ public final class Mumble { return aclsBuilder_; } - // optional bool query = 5 [default = false]; private boolean query_ ; /** * <code>optional bool query = 5 [default = false];</code> @@ -18130,22 +19943,59 @@ public final class Mumble { 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.ACL) } + // @@protoc_insertion_point(class_scope:MumbleProto.ACL) + private static final com.morlunk.jumble.protobuf.Mumble.ACL DEFAULT_INSTANCE; static { - defaultInstance = new ACL(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new com.morlunk.jumble.protobuf.Mumble.ACL(); + } + + public static com.morlunk.jumble.protobuf.Mumble.ACL getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser<ACL> + PARSER = new com.google.protobuf.AbstractParser<ACL>() { + public ACL parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ACL(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<ACL> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<ACL> getParserForType() { + return PARSER; + } + + public com.morlunk.jumble.protobuf.Mumble.ACL getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:MumbleProto.ACL) } - public interface QueryUsersOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface QueryUsersOrBuilder extends + // @@protoc_insertion_point(interface_extends:MumbleProto.QueryUsers) + com.google.protobuf.MessageOrBuilder { - // repeated uint32 ids = 1; /** * <code>repeated uint32 ids = 1;</code> */ @@ -18159,12 +20009,11 @@ public final class Mumble { */ int getIds(int index); - // repeated string names = 2; /** * <code>repeated string names = 2;</code> */ java.util.List<java.lang.String> - getNamesList(); + getNamesList(); /** * <code>repeated string names = 2;</code> */ @@ -18182,36 +20031,29 @@ public final class Mumble { /** * Protobuf type {@code MumbleProto.QueryUsers} */ - public static final class QueryUsers extends - com.google.protobuf.GeneratedMessage - implements QueryUsersOrBuilder { + public static final class QueryUsers extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MumbleProto.QueryUsers) + QueryUsersOrBuilder { // Use QueryUsers.newBuilder() to construct. - private QueryUsers(com.google.protobuf.GeneratedMessage.Builder<?> builder) { + private QueryUsers(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); - } - private QueryUsers(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final QueryUsers defaultInstance; - public static QueryUsers getDefaultInstance() { - return defaultInstance; } - - public QueryUsers getDefaultInstanceForType() { - return defaultInstance; + private QueryUsers() { + ids_ = java.util.Collections.emptyList(); + names_ = com.google.protobuf.LazyStringArrayList.EMPTY; } - private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } private QueryUsers( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -18252,11 +20094,12 @@ public final class Mumble { break; } case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { names_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000002; } - names_.add(input.readBytes()); + names_.add(bs); break; } } @@ -18265,13 +20108,13 @@ public final class Mumble { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { ids_ = java.util.Collections.unmodifiableList(ids_); } if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { - names_ = new com.google.protobuf.UnmodifiableLazyStringList(names_); + names_ = names_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -18282,29 +20125,13 @@ public final class Mumble { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_QueryUsers_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_QueryUsers_fieldAccessorTable .ensureFieldAccessorsInitialized( com.morlunk.jumble.protobuf.Mumble.QueryUsers.class, com.morlunk.jumble.protobuf.Mumble.QueryUsers.Builder.class); } - public static com.google.protobuf.Parser<QueryUsers> PARSER = - new com.google.protobuf.AbstractParser<QueryUsers>() { - public QueryUsers parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QueryUsers(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser<QueryUsers> getParserForType() { - return PARSER; - } - - // repeated uint32 ids = 1; public static final int IDS_FIELD_NUMBER = 1; private java.util.List<java.lang.Integer> ids_; /** @@ -18327,13 +20154,12 @@ public final class Mumble { return ids_.get(index); } - // repeated string names = 2; public static final int NAMES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList names_; /** * <code>repeated string names = 2;</code> */ - public java.util.List<java.lang.String> + public com.google.protobuf.ProtocolStringList getNamesList() { return names_; } @@ -18357,14 +20183,11 @@ public final class Mumble { return names_.getByteString(index); } - private void initFields() { - ids_ = java.util.Collections.emptyList(); - names_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -18372,19 +20195,17 @@ public final class Mumble { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); for (int i = 0; i < ids_.size(); i++) { output.writeUInt32(1, ids_.get(i)); } for (int i = 0; i < names_.size(); i++) { - output.writeBytes(2, names_.getByteString(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, names_.getRaw(i)); } - getUnknownFields().writeTo(output); + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; @@ -18400,22 +20221,54 @@ public final class Mumble { { int dataSize = 0; for (int i = 0; i < names_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeBytesSizeNoTag(names_.getByteString(i)); + dataSize += computeStringSizeNoTag(names_.getRaw(i)); } size += dataSize; size += 1 * getNamesList().size(); } - size += getUnknownFields().getSerializedSize(); - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.morlunk.jumble.protobuf.Mumble.QueryUsers)) { + return super.equals(obj); + } + com.morlunk.jumble.protobuf.Mumble.QueryUsers other = (com.morlunk.jumble.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; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptorForType().hashCode(); + if (getIdsCount() > 0) { + hash = (37 * hash) + IDS_FIELD_NUMBER; + hash = (53 * hash) + getIdsList().hashCode(); + } + if (getNamesCount() > 0) { + hash = (37 * hash) + NAMES_FIELD_NUMBER; + hash = (53 * hash) + getNamesList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; } public static com.morlunk.jumble.protobuf.Mumble.QueryUsers parseFrom( @@ -18441,46 +20294,57 @@ public final class Mumble { } public static com.morlunk.jumble.protobuf.Mumble.QueryUsers parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.QueryUsers parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.QueryUsers parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.QueryUsers parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.QueryUsers parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.QueryUsers parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(com.morlunk.jumble.protobuf.Mumble.QueryUsers prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -18488,14 +20352,15 @@ public final class Mumble { * Protobuf type {@code MumbleProto.QueryUsers} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> - implements com.morlunk.jumble.protobuf.Mumble.QueryUsersOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:MumbleProto.QueryUsers) + com.morlunk.jumble.protobuf.Mumble.QueryUsersOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_QueryUsers_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_QueryUsers_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -18508,18 +20373,15 @@ public final class Mumble { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { } } - private static Builder create() { - return new Builder(); - } - public Builder clear() { super.clear(); ids_ = java.util.Collections.emptyList(); @@ -18529,10 +20391,6 @@ public final class Mumble { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_QueryUsers_descriptor; @@ -18559,8 +20417,7 @@ public final class Mumble { } result.ids_ = ids_; if (((bitField0_ & 0x00000002) == 0x00000002)) { - names_ = new com.google.protobuf.UnmodifiableLazyStringList( - names_); + names_ = names_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); } result.names_ = names_; @@ -18568,6 +20425,32 @@ public final class Mumble { 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 com.morlunk.jumble.protobuf.Mumble.QueryUsers) { return mergeFrom((com.morlunk.jumble.protobuf.Mumble.QueryUsers)other); @@ -18599,7 +20482,8 @@ public final class Mumble { } onChanged(); } - this.mergeUnknownFields(other.getUnknownFields()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } @@ -18616,7 +20500,7 @@ public final class Mumble { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.morlunk.jumble.protobuf.Mumble.QueryUsers) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -18626,7 +20510,6 @@ public final class Mumble { } private int bitField0_; - // repeated uint32 ids = 1; private java.util.List<java.lang.Integer> ids_ = java.util.Collections.emptyList(); private void ensureIdsIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { @@ -18678,7 +20561,8 @@ public final class Mumble { public Builder addAllIds( java.lang.Iterable<? extends java.lang.Integer> values) { ensureIdsIsMutable(); - super.addAll(values, ids_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, ids_); onChanged(); return this; } @@ -18692,7 +20576,6 @@ public final class Mumble { return this; } - // repeated string names = 2; private com.google.protobuf.LazyStringList names_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureNamesIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { @@ -18703,9 +20586,9 @@ public final class Mumble { /** * <code>repeated string names = 2;</code> */ - public java.util.List<java.lang.String> + public com.google.protobuf.ProtocolStringList getNamesList() { - return java.util.Collections.unmodifiableList(names_); + return names_.getUnmodifiableView(); } /** * <code>repeated string names = 2;</code> @@ -18758,7 +20641,8 @@ public final class Mumble { public Builder addAllNames( java.lang.Iterable<java.lang.String> values) { ensureNamesIsMutable(); - super.addAll(values, names_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, names_); onChanged(); return this; } @@ -18784,22 +20668,59 @@ public final class Mumble { 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.QueryUsers) } + // @@protoc_insertion_point(class_scope:MumbleProto.QueryUsers) + private static final com.morlunk.jumble.protobuf.Mumble.QueryUsers DEFAULT_INSTANCE; static { - defaultInstance = new QueryUsers(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new com.morlunk.jumble.protobuf.Mumble.QueryUsers(); + } + + public static com.morlunk.jumble.protobuf.Mumble.QueryUsers getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser<QueryUsers> + PARSER = new com.google.protobuf.AbstractParser<QueryUsers>() { + public QueryUsers parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueryUsers(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<QueryUsers> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<QueryUsers> getParserForType() { + return PARSER; + } + + public com.morlunk.jumble.protobuf.Mumble.QueryUsers getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:MumbleProto.QueryUsers) } - public interface CryptSetupOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface CryptSetupOrBuilder extends + // @@protoc_insertion_point(interface_extends:MumbleProto.CryptSetup) + com.google.protobuf.MessageOrBuilder { - // optional bytes key = 1; /** * <code>optional bytes key = 1;</code> */ @@ -18809,7 +20730,6 @@ public final class Mumble { */ com.google.protobuf.ByteString getKey(); - // optional bytes client_nonce = 2; /** * <code>optional bytes client_nonce = 2;</code> */ @@ -18819,7 +20739,6 @@ public final class Mumble { */ com.google.protobuf.ByteString getClientNonce(); - // optional bytes server_nonce = 3; /** * <code>optional bytes server_nonce = 3;</code> */ @@ -18832,36 +20751,30 @@ public final class Mumble { /** * Protobuf type {@code MumbleProto.CryptSetup} */ - public static final class CryptSetup extends - com.google.protobuf.GeneratedMessage - implements CryptSetupOrBuilder { + public static final class CryptSetup extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MumbleProto.CryptSetup) + CryptSetupOrBuilder { // Use CryptSetup.newBuilder() to construct. - private CryptSetup(com.google.protobuf.GeneratedMessage.Builder<?> builder) { + private CryptSetup(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); - } - private CryptSetup(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final CryptSetup defaultInstance; - public static CryptSetup getDefaultInstance() { - return defaultInstance; } - - public CryptSetup getDefaultInstanceForType() { - return defaultInstance; + private CryptSetup() { + key_ = com.google.protobuf.ByteString.EMPTY; + clientNonce_ = com.google.protobuf.ByteString.EMPTY; + serverNonce_ = com.google.protobuf.ByteString.EMPTY; } - private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } private CryptSetup( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -18901,7 +20814,7 @@ public final class Mumble { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -18912,30 +20825,14 @@ public final class Mumble { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_CryptSetup_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_CryptSetup_fieldAccessorTable .ensureFieldAccessorsInitialized( com.morlunk.jumble.protobuf.Mumble.CryptSetup.class, com.morlunk.jumble.protobuf.Mumble.CryptSetup.Builder.class); } - public static com.google.protobuf.Parser<CryptSetup> PARSER = - new com.google.protobuf.AbstractParser<CryptSetup>() { - public CryptSetup parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CryptSetup(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser<CryptSetup> getParserForType() { - return PARSER; - } - private int bitField0_; - // optional bytes key = 1; public static final int KEY_FIELD_NUMBER = 1; private com.google.protobuf.ByteString key_; /** @@ -18951,7 +20848,6 @@ public final class Mumble { return key_; } - // optional bytes client_nonce = 2; public static final int CLIENT_NONCE_FIELD_NUMBER = 2; private com.google.protobuf.ByteString clientNonce_; /** @@ -18967,7 +20863,6 @@ public final class Mumble { return clientNonce_; } - // optional bytes server_nonce = 3; public static final int SERVER_NONCE_FIELD_NUMBER = 3; private com.google.protobuf.ByteString serverNonce_; /** @@ -18983,15 +20878,11 @@ public final class Mumble { return serverNonce_; } - private void initFields() { - key_ = com.google.protobuf.ByteString.EMPTY; - clientNonce_ = com.google.protobuf.ByteString.EMPTY; - serverNonce_ = com.google.protobuf.ByteString.EMPTY; - } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -18999,7 +20890,6 @@ public final class Mumble { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, key_); } @@ -19009,12 +20899,11 @@ public final class Mumble { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, serverNonce_); } - getUnknownFields().writeTo(output); + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; @@ -19030,16 +20919,64 @@ public final class Mumble { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, serverNonce_); } - size += getUnknownFields().getSerializedSize(); - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.morlunk.jumble.protobuf.Mumble.CryptSetup)) { + return super.equals(obj); + } + com.morlunk.jumble.protobuf.Mumble.CryptSetup other = (com.morlunk.jumble.protobuf.Mumble.CryptSetup) obj; + + boolean result = true; + result = result && (hasKey() == other.hasKey()); + if (hasKey()) { + result = result && getKey() + .equals(other.getKey()); + } + result = result && (hasClientNonce() == other.hasClientNonce()); + if (hasClientNonce()) { + result = result && getClientNonce() + .equals(other.getClientNonce()); + } + result = result && (hasServerNonce() == other.hasServerNonce()); + if (hasServerNonce()) { + result = result && getServerNonce() + .equals(other.getServerNonce()); + } + 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 (hasKey()) { + hash = (37 * hash) + KEY_FIELD_NUMBER; + hash = (53 * hash) + getKey().hashCode(); + } + if (hasClientNonce()) { + hash = (37 * hash) + CLIENT_NONCE_FIELD_NUMBER; + hash = (53 * hash) + getClientNonce().hashCode(); + } + if (hasServerNonce()) { + hash = (37 * hash) + SERVER_NONCE_FIELD_NUMBER; + hash = (53 * hash) + getServerNonce().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; } public static com.morlunk.jumble.protobuf.Mumble.CryptSetup parseFrom( @@ -19065,46 +21002,57 @@ public final class Mumble { } public static com.morlunk.jumble.protobuf.Mumble.CryptSetup parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.CryptSetup parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.CryptSetup parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.CryptSetup parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.CryptSetup parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.CryptSetup parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(com.morlunk.jumble.protobuf.Mumble.CryptSetup prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -19112,14 +21060,15 @@ public final class Mumble { * Protobuf type {@code MumbleProto.CryptSetup} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> - implements com.morlunk.jumble.protobuf.Mumble.CryptSetupOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:MumbleProto.CryptSetup) + com.morlunk.jumble.protobuf.Mumble.CryptSetupOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_CryptSetup_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_CryptSetup_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -19132,18 +21081,15 @@ public final class Mumble { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { } } - private static Builder create() { - return new Builder(); - } - public Builder clear() { super.clear(); key_ = com.google.protobuf.ByteString.EMPTY; @@ -19155,10 +21101,6 @@ public final class Mumble { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_CryptSetup_descriptor; @@ -19197,6 +21139,32 @@ public final class Mumble { 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 com.morlunk.jumble.protobuf.Mumble.CryptSetup) { return mergeFrom((com.morlunk.jumble.protobuf.Mumble.CryptSetup)other); @@ -19217,7 +21185,8 @@ public final class Mumble { if (other.hasServerNonce()) { setServerNonce(other.getServerNonce()); } - this.mergeUnknownFields(other.getUnknownFields()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } @@ -19234,7 +21203,7 @@ public final class Mumble { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.morlunk.jumble.protobuf.Mumble.CryptSetup) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -19244,7 +21213,6 @@ public final class Mumble { } private int bitField0_; - // optional bytes key = 1; private com.google.protobuf.ByteString key_ = com.google.protobuf.ByteString.EMPTY; /** * <code>optional bytes key = 1;</code> @@ -19280,7 +21248,6 @@ public final class Mumble { return this; } - // optional bytes client_nonce = 2; private com.google.protobuf.ByteString clientNonce_ = com.google.protobuf.ByteString.EMPTY; /** * <code>optional bytes client_nonce = 2;</code> @@ -19316,7 +21283,6 @@ public final class Mumble { return this; } - // optional bytes server_nonce = 3; private com.google.protobuf.ByteString serverNonce_ = com.google.protobuf.ByteString.EMPTY; /** * <code>optional bytes server_nonce = 3;</code> @@ -19351,22 +21317,59 @@ public final class Mumble { 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.CryptSetup) } + // @@protoc_insertion_point(class_scope:MumbleProto.CryptSetup) + private static final com.morlunk.jumble.protobuf.Mumble.CryptSetup DEFAULT_INSTANCE; static { - defaultInstance = new CryptSetup(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new com.morlunk.jumble.protobuf.Mumble.CryptSetup(); + } + + public static com.morlunk.jumble.protobuf.Mumble.CryptSetup getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser<CryptSetup> + PARSER = new com.google.protobuf.AbstractParser<CryptSetup>() { + public CryptSetup parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CryptSetup(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<CryptSetup> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<CryptSetup> getParserForType() { + return PARSER; + } + + public com.morlunk.jumble.protobuf.Mumble.CryptSetup getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:MumbleProto.CryptSetup) } - public interface ContextActionModifyOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ContextActionModifyOrBuilder extends + // @@protoc_insertion_point(interface_extends:MumbleProto.ContextActionModify) + com.google.protobuf.MessageOrBuilder { - // required string action = 1; /** * <code>required string action = 1;</code> */ @@ -19381,7 +21384,6 @@ public final class Mumble { com.google.protobuf.ByteString getActionBytes(); - // optional string text = 2; /** * <code>optional string text = 2;</code> */ @@ -19396,7 +21398,6 @@ public final class Mumble { com.google.protobuf.ByteString getTextBytes(); - // optional uint32 context = 3; /** * <code>optional uint32 context = 3;</code> */ @@ -19406,7 +21407,6 @@ public final class Mumble { */ int getContext(); - // optional .MumbleProto.ContextActionModify.Operation operation = 4; /** * <code>optional .MumbleProto.ContextActionModify.Operation operation = 4;</code> */ @@ -19419,36 +21419,31 @@ public final class Mumble { /** * Protobuf type {@code MumbleProto.ContextActionModify} */ - public static final class ContextActionModify extends - com.google.protobuf.GeneratedMessage - implements ContextActionModifyOrBuilder { + public static final class ContextActionModify extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MumbleProto.ContextActionModify) + ContextActionModifyOrBuilder { // Use ContextActionModify.newBuilder() to construct. - private ContextActionModify(com.google.protobuf.GeneratedMessage.Builder<?> builder) { + private ContextActionModify(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); } - private ContextActionModify(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final ContextActionModify defaultInstance; - public static ContextActionModify getDefaultInstance() { - return defaultInstance; - } - - public ContextActionModify getDefaultInstanceForType() { - return defaultInstance; + private ContextActionModify() { + action_ = ""; + text_ = ""; + context_ = 0; + operation_ = 0; } - private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } private ContextActionModify( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -19468,13 +21463,15 @@ public final class Mumble { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - action_ = input.readBytes(); + action_ = bs; break; } case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; - text_ = input.readBytes(); + text_ = bs; break; } case 24: { @@ -19489,7 +21486,7 @@ public final class Mumble { unknownFields.mergeVarintField(4, rawValue); } else { bitField0_ |= 0x00000008; - operation_ = value; + operation_ = rawValue; } break; } @@ -19499,7 +21496,7 @@ public final class Mumble { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -19510,28 +21507,13 @@ public final class Mumble { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ContextActionModify_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ContextActionModify_fieldAccessorTable .ensureFieldAccessorsInitialized( com.morlunk.jumble.protobuf.Mumble.ContextActionModify.class, com.morlunk.jumble.protobuf.Mumble.ContextActionModify.Builder.class); } - public static com.google.protobuf.Parser<ContextActionModify> PARSER = - new com.google.protobuf.AbstractParser<ContextActionModify>() { - public ContextActionModify parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ContextActionModify(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser<ContextActionModify> getParserForType() { - return PARSER; - } - /** * Protobuf enum {@code MumbleProto.ContextActionModify.Context} */ @@ -19540,15 +21522,15 @@ public final class Mumble { /** * <code>Server = 1;</code> */ - Server(0, 1), + Server(1), /** * <code>Channel = 2;</code> */ - Channel(1, 2), + Channel(2), /** * <code>User = 4;</code> */ - User(2, 4), + User(4), ; /** @@ -19565,9 +21547,19 @@ public final class Mumble { public static final int User_VALUE = 4; - public final int getNumber() { return value; } + public final int getNumber() { + return value; + } + /** + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated public static Context valueOf(int value) { + return forNumber(value); + } + + public static Context forNumber(int value) { switch (value) { case 1: return Server; case 2: return Channel; @@ -19580,17 +21572,17 @@ public final class Mumble { internalGetValueMap() { return internalValueMap; } - private static com.google.protobuf.Internal.EnumLiteMap<Context> - internalValueMap = + private static final com.google.protobuf.Internal.EnumLiteMap< + Context> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap<Context>() { public Context findValueByNumber(int number) { - return Context.valueOf(number); + return Context.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { - return getDescriptor().getValues().get(index); + return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { @@ -19612,11 +21604,9 @@ public final class Mumble { return VALUES[desc.getIndex()]; } - private final int index; private final int value; - private Context(int index, int value) { - this.index = index; + private Context(int value) { this.value = value; } @@ -19631,11 +21621,11 @@ public final class Mumble { /** * <code>Add = 0;</code> */ - Add(0, 0), + Add(0), /** * <code>Remove = 1;</code> */ - Remove(1, 1), + Remove(1), ; /** @@ -19648,9 +21638,19 @@ public final class Mumble { public static final int Remove_VALUE = 1; - public final int getNumber() { return value; } + public final int getNumber() { + return value; + } + /** + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated public static Operation valueOf(int value) { + return forNumber(value); + } + + public static Operation forNumber(int value) { switch (value) { case 0: return Add; case 1: return Remove; @@ -19662,17 +21662,17 @@ public final class Mumble { internalGetValueMap() { return internalValueMap; } - private static com.google.protobuf.Internal.EnumLiteMap<Operation> - internalValueMap = + private static final com.google.protobuf.Internal.EnumLiteMap< + Operation> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap<Operation>() { public Operation findValueByNumber(int number) { - return Operation.valueOf(number); + return Operation.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { - return getDescriptor().getValues().get(index); + return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { @@ -19694,11 +21694,9 @@ public final class Mumble { return VALUES[desc.getIndex()]; } - private final int index; private final int value; - private Operation(int index, int value) { - this.index = index; + private Operation(int value) { this.value = value; } @@ -19706,9 +21704,8 @@ public final class Mumble { } private int bitField0_; - // required string action = 1; public static final int ACTION_FIELD_NUMBER = 1; - private java.lang.Object action_; + private volatile java.lang.Object action_; /** * <code>required string action = 1;</code> */ @@ -19749,9 +21746,8 @@ public final class Mumble { } } - // optional string text = 2; public static final int TEXT_FIELD_NUMBER = 2; - private java.lang.Object text_; + private volatile java.lang.Object text_; /** * <code>optional string text = 2;</code> */ @@ -19792,7 +21788,6 @@ public final class Mumble { } } - // optional uint32 context = 3; public static final int CONTEXT_FIELD_NUMBER = 3; private int context_; /** @@ -19808,9 +21803,8 @@ public final class Mumble { return context_; } - // optional .MumbleProto.ContextActionModify.Operation operation = 4; public static final int OPERATION_FIELD_NUMBER = 4; - private com.morlunk.jumble.protobuf.Mumble.ContextActionModify.Operation operation_; + private int operation_; /** * <code>optional .MumbleProto.ContextActionModify.Operation operation = 4;</code> */ @@ -19821,19 +21815,15 @@ public final class Mumble { * <code>optional .MumbleProto.ContextActionModify.Operation operation = 4;</code> */ public com.morlunk.jumble.protobuf.Mumble.ContextActionModify.Operation getOperation() { - return operation_; + com.morlunk.jumble.protobuf.Mumble.ContextActionModify.Operation result = com.morlunk.jumble.protobuf.Mumble.ContextActionModify.Operation.valueOf(operation_); + return result == null ? com.morlunk.jumble.protobuf.Mumble.ContextActionModify.Operation.Add : result; } - private void initFields() { - action_ = ""; - text_ = ""; - context_ = 0; - operation_ = com.morlunk.jumble.protobuf.Mumble.ContextActionModify.Operation.Add; - } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasAction()) { memoizedIsInitialized = 0; @@ -19845,35 +21835,31 @@ public final class Mumble { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeBytes(1, getActionBytes()); + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, action_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeBytes(2, getTextBytes()); + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, text_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt32(3, context_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeEnum(4, operation_.getNumber()); + output.writeEnum(4, operation_); } - getUnknownFields().writeTo(output); + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, getActionBytes()); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, action_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, getTextBytes()); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, text_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream @@ -19881,18 +21867,74 @@ public final class Mumble { } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, operation_.getNumber()); + .computeEnumSize(4, operation_); } - size += getUnknownFields().getSerializedSize(); - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.morlunk.jumble.protobuf.Mumble.ContextActionModify)) { + return super.equals(obj); + } + com.morlunk.jumble.protobuf.Mumble.ContextActionModify other = (com.morlunk.jumble.protobuf.Mumble.ContextActionModify) obj; + + boolean result = true; + result = result && (hasAction() == other.hasAction()); + if (hasAction()) { + result = result && getAction() + .equals(other.getAction()); + } + result = result && (hasText() == other.hasText()); + if (hasText()) { + result = result && getText() + .equals(other.getText()); + } + result = result && (hasContext() == other.hasContext()); + if (hasContext()) { + result = result && (getContext() + == other.getContext()); + } + result = result && (hasOperation() == other.hasOperation()); + if (hasOperation()) { + result = result && operation_ == other.operation_; + } + 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 (hasAction()) { + hash = (37 * hash) + ACTION_FIELD_NUMBER; + hash = (53 * hash) + getAction().hashCode(); + } + if (hasText()) { + hash = (37 * hash) + TEXT_FIELD_NUMBER; + hash = (53 * hash) + getText().hashCode(); + } + if (hasContext()) { + hash = (37 * hash) + CONTEXT_FIELD_NUMBER; + hash = (53 * hash) + getContext(); + } + if (hasOperation()) { + hash = (37 * hash) + OPERATION_FIELD_NUMBER; + hash = (53 * hash) + operation_; + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; } public static com.morlunk.jumble.protobuf.Mumble.ContextActionModify parseFrom( @@ -19918,46 +21960,57 @@ public final class Mumble { } public static com.morlunk.jumble.protobuf.Mumble.ContextActionModify parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.ContextActionModify parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.ContextActionModify parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.ContextActionModify parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.ContextActionModify parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.ContextActionModify parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(com.morlunk.jumble.protobuf.Mumble.ContextActionModify prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -19965,14 +22018,15 @@ public final class Mumble { * Protobuf type {@code MumbleProto.ContextActionModify} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> - implements com.morlunk.jumble.protobuf.Mumble.ContextActionModifyOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:MumbleProto.ContextActionModify) + com.morlunk.jumble.protobuf.Mumble.ContextActionModifyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ContextActionModify_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ContextActionModify_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -19985,18 +22039,15 @@ public final class Mumble { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { } } - private static Builder create() { - return new Builder(); - } - public Builder clear() { super.clear(); action_ = ""; @@ -20005,15 +22056,11 @@ public final class Mumble { bitField0_ = (bitField0_ & ~0x00000002); context_ = 0; bitField0_ = (bitField0_ & ~0x00000004); - operation_ = com.morlunk.jumble.protobuf.Mumble.ContextActionModify.Operation.Add; + operation_ = 0; bitField0_ = (bitField0_ & ~0x00000008); return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ContextActionModify_descriptor; @@ -20056,6 +22103,32 @@ public final class Mumble { 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 com.morlunk.jumble.protobuf.Mumble.ContextActionModify) { return mergeFrom((com.morlunk.jumble.protobuf.Mumble.ContextActionModify)other); @@ -20083,13 +22156,13 @@ public final class Mumble { if (other.hasOperation()) { setOperation(other.getOperation()); } - this.mergeUnknownFields(other.getUnknownFields()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } public final boolean isInitialized() { if (!hasAction()) { - return false; } return true; @@ -20104,7 +22177,7 @@ public final class Mumble { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.morlunk.jumble.protobuf.Mumble.ContextActionModify) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -20114,7 +22187,6 @@ public final class Mumble { } private int bitField0_; - // required string action = 1; private java.lang.Object action_ = ""; /** * <code>required string action = 1;</code> @@ -20128,9 +22200,12 @@ public final class Mumble { public java.lang.String getAction() { java.lang.Object ref = action_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - action_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + action_ = s; + } return s; } else { return (java.lang.String) ref; @@ -20188,7 +22263,6 @@ public final class Mumble { return this; } - // optional string text = 2; private java.lang.Object text_ = ""; /** * <code>optional string text = 2;</code> @@ -20202,9 +22276,12 @@ public final class Mumble { public java.lang.String getText() { java.lang.Object ref = text_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - text_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + text_ = s; + } return s; } else { return (java.lang.String) ref; @@ -20262,7 +22339,6 @@ public final class Mumble { return this; } - // optional uint32 context = 3; private int context_ ; /** * <code>optional uint32 context = 3;</code> @@ -20295,8 +22371,7 @@ public final class Mumble { return this; } - // optional .MumbleProto.ContextActionModify.Operation operation = 4; - private com.morlunk.jumble.protobuf.Mumble.ContextActionModify.Operation operation_ = com.morlunk.jumble.protobuf.Mumble.ContextActionModify.Operation.Add; + private int operation_ = 0; /** * <code>optional .MumbleProto.ContextActionModify.Operation operation = 4;</code> */ @@ -20307,7 +22382,8 @@ public final class Mumble { * <code>optional .MumbleProto.ContextActionModify.Operation operation = 4;</code> */ public com.morlunk.jumble.protobuf.Mumble.ContextActionModify.Operation getOperation() { - return operation_; + com.morlunk.jumble.protobuf.Mumble.ContextActionModify.Operation result = com.morlunk.jumble.protobuf.Mumble.ContextActionModify.Operation.valueOf(operation_); + return result == null ? com.morlunk.jumble.protobuf.Mumble.ContextActionModify.Operation.Add : result; } /** * <code>optional .MumbleProto.ContextActionModify.Operation operation = 4;</code> @@ -20317,7 +22393,7 @@ public final class Mumble { throw new NullPointerException(); } bitField0_ |= 0x00000008; - operation_ = value; + operation_ = value.getNumber(); onChanged(); return this; } @@ -20326,26 +22402,63 @@ public final class Mumble { */ public Builder clearOperation() { bitField0_ = (bitField0_ & ~0x00000008); - operation_ = com.morlunk.jumble.protobuf.Mumble.ContextActionModify.Operation.Add; + operation_ = 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.ContextActionModify) } + // @@protoc_insertion_point(class_scope:MumbleProto.ContextActionModify) + private static final com.morlunk.jumble.protobuf.Mumble.ContextActionModify DEFAULT_INSTANCE; static { - defaultInstance = new ContextActionModify(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new com.morlunk.jumble.protobuf.Mumble.ContextActionModify(); + } + + public static com.morlunk.jumble.protobuf.Mumble.ContextActionModify getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser<ContextActionModify> + PARSER = new com.google.protobuf.AbstractParser<ContextActionModify>() { + public ContextActionModify parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ContextActionModify(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<ContextActionModify> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<ContextActionModify> getParserForType() { + return PARSER; + } + + public com.morlunk.jumble.protobuf.Mumble.ContextActionModify getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:MumbleProto.ContextActionModify) } - public interface ContextActionOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ContextActionOrBuilder extends + // @@protoc_insertion_point(interface_extends:MumbleProto.ContextAction) + com.google.protobuf.MessageOrBuilder { - // optional uint32 session = 1; /** * <code>optional uint32 session = 1;</code> */ @@ -20355,7 +22468,6 @@ public final class Mumble { */ int getSession(); - // optional uint32 channel_id = 2; /** * <code>optional uint32 channel_id = 2;</code> */ @@ -20365,7 +22477,6 @@ public final class Mumble { */ int getChannelId(); - // required string action = 3; /** * <code>required string action = 3;</code> */ @@ -20383,36 +22494,30 @@ public final class Mumble { /** * Protobuf type {@code MumbleProto.ContextAction} */ - public static final class ContextAction extends - com.google.protobuf.GeneratedMessage - implements ContextActionOrBuilder { + public static final class ContextAction extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MumbleProto.ContextAction) + ContextActionOrBuilder { // Use ContextAction.newBuilder() to construct. - private ContextAction(com.google.protobuf.GeneratedMessage.Builder<?> builder) { + private ContextAction(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); - } - private ContextAction(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final ContextAction defaultInstance; - public static ContextAction getDefaultInstance() { - return defaultInstance; } - - public ContextAction getDefaultInstanceForType() { - return defaultInstance; + private ContextAction() { + session_ = 0; + channelId_ = 0; + action_ = ""; } - private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } private ContextAction( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -20442,8 +22547,9 @@ public final class Mumble { break; } case 26: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; - action_ = input.readBytes(); + action_ = bs; break; } } @@ -20452,7 +22558,7 @@ public final class Mumble { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -20463,30 +22569,14 @@ public final class Mumble { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ContextAction_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ContextAction_fieldAccessorTable .ensureFieldAccessorsInitialized( com.morlunk.jumble.protobuf.Mumble.ContextAction.class, com.morlunk.jumble.protobuf.Mumble.ContextAction.Builder.class); } - public static com.google.protobuf.Parser<ContextAction> PARSER = - new com.google.protobuf.AbstractParser<ContextAction>() { - public ContextAction parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ContextAction(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser<ContextAction> getParserForType() { - return PARSER; - } - private int bitField0_; - // optional uint32 session = 1; public static final int SESSION_FIELD_NUMBER = 1; private int session_; /** @@ -20502,7 +22592,6 @@ public final class Mumble { return session_; } - // optional uint32 channel_id = 2; public static final int CHANNEL_ID_FIELD_NUMBER = 2; private int channelId_; /** @@ -20518,9 +22607,8 @@ public final class Mumble { return channelId_; } - // required string action = 3; public static final int ACTION_FIELD_NUMBER = 3; - private java.lang.Object action_; + private volatile java.lang.Object action_; /** * <code>required string action = 3;</code> */ @@ -20561,15 +22649,11 @@ public final class Mumble { } } - private void initFields() { - session_ = 0; - channelId_ = 0; - action_ = ""; - } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasAction()) { memoizedIsInitialized = 0; @@ -20581,7 +22665,6 @@ public final class Mumble { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, session_); } @@ -20589,14 +22672,13 @@ public final class Mumble { output.writeUInt32(2, channelId_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeBytes(3, getActionBytes()); + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, action_); } - getUnknownFields().writeTo(output); + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; @@ -20609,19 +22691,66 @@ public final class Mumble { .computeUInt32Size(2, channelId_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(3, getActionBytes()); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, action_); } - size += getUnknownFields().getSerializedSize(); - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.morlunk.jumble.protobuf.Mumble.ContextAction)) { + return super.equals(obj); + } + com.morlunk.jumble.protobuf.Mumble.ContextAction other = (com.morlunk.jumble.protobuf.Mumble.ContextAction) obj; + + boolean result = true; + result = result && (hasSession() == other.hasSession()); + if (hasSession()) { + result = result && (getSession() + == other.getSession()); + } + result = result && (hasChannelId() == other.hasChannelId()); + if (hasChannelId()) { + result = result && (getChannelId() + == other.getChannelId()); + } + result = result && (hasAction() == other.hasAction()); + if (hasAction()) { + result = result && getAction() + .equals(other.getAction()); + } + 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 (hasSession()) { + hash = (37 * hash) + SESSION_FIELD_NUMBER; + hash = (53 * hash) + getSession(); + } + if (hasChannelId()) { + hash = (37 * hash) + CHANNEL_ID_FIELD_NUMBER; + hash = (53 * hash) + getChannelId(); + } + if (hasAction()) { + hash = (37 * hash) + ACTION_FIELD_NUMBER; + hash = (53 * hash) + getAction().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; } public static com.morlunk.jumble.protobuf.Mumble.ContextAction parseFrom( @@ -20647,46 +22776,57 @@ public final class Mumble { } public static com.morlunk.jumble.protobuf.Mumble.ContextAction parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.ContextAction parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.ContextAction parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.ContextAction parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.ContextAction parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.ContextAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(com.morlunk.jumble.protobuf.Mumble.ContextAction prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -20694,14 +22834,15 @@ public final class Mumble { * Protobuf type {@code MumbleProto.ContextAction} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> - implements com.morlunk.jumble.protobuf.Mumble.ContextActionOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:MumbleProto.ContextAction) + com.morlunk.jumble.protobuf.Mumble.ContextActionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ContextAction_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ContextAction_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -20714,18 +22855,15 @@ public final class Mumble { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { } } - private static Builder create() { - return new Builder(); - } - public Builder clear() { super.clear(); session_ = 0; @@ -20737,10 +22875,6 @@ public final class Mumble { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_ContextAction_descriptor; @@ -20779,6 +22913,32 @@ public final class Mumble { 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 com.morlunk.jumble.protobuf.Mumble.ContextAction) { return mergeFrom((com.morlunk.jumble.protobuf.Mumble.ContextAction)other); @@ -20801,13 +22961,13 @@ public final class Mumble { action_ = other.action_; onChanged(); } - this.mergeUnknownFields(other.getUnknownFields()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } public final boolean isInitialized() { if (!hasAction()) { - return false; } return true; @@ -20822,7 +22982,7 @@ public final class Mumble { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.morlunk.jumble.protobuf.Mumble.ContextAction) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -20832,7 +22992,6 @@ public final class Mumble { } private int bitField0_; - // optional uint32 session = 1; private int session_ ; /** * <code>optional uint32 session = 1;</code> @@ -20865,7 +23024,6 @@ public final class Mumble { return this; } - // optional uint32 channel_id = 2; private int channelId_ ; /** * <code>optional uint32 channel_id = 2;</code> @@ -20898,7 +23056,6 @@ public final class Mumble { return this; } - // required string action = 3; private java.lang.Object action_ = ""; /** * <code>required string action = 3;</code> @@ -20912,9 +23069,12 @@ public final class Mumble { public java.lang.String getAction() { java.lang.Object ref = action_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - action_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + action_ = s; + } return s; } else { return (java.lang.String) ref; @@ -20971,22 +23131,59 @@ public final class Mumble { 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.ContextAction) } + // @@protoc_insertion_point(class_scope:MumbleProto.ContextAction) + private static final com.morlunk.jumble.protobuf.Mumble.ContextAction DEFAULT_INSTANCE; static { - defaultInstance = new ContextAction(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new com.morlunk.jumble.protobuf.Mumble.ContextAction(); + } + + public static com.morlunk.jumble.protobuf.Mumble.ContextAction getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser<ContextAction> + PARSER = new com.google.protobuf.AbstractParser<ContextAction>() { + public ContextAction parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ContextAction(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<ContextAction> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<ContextAction> getParserForType() { + return PARSER; + } + + public com.morlunk.jumble.protobuf.Mumble.ContextAction getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:MumbleProto.ContextAction) } - public interface UserListOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface UserListOrBuilder extends + // @@protoc_insertion_point(interface_extends:MumbleProto.UserList) + com.google.protobuf.MessageOrBuilder { - // repeated .MumbleProto.UserList.User users = 1; /** * <code>repeated .MumbleProto.UserList.User users = 1;</code> */ @@ -21014,36 +23211,28 @@ public final class Mumble { /** * Protobuf type {@code MumbleProto.UserList} */ - public static final class UserList extends - com.google.protobuf.GeneratedMessage - implements UserListOrBuilder { + public static final class UserList extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MumbleProto.UserList) + UserListOrBuilder { // Use UserList.newBuilder() to construct. - private UserList(com.google.protobuf.GeneratedMessage.Builder<?> builder) { + private UserList(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); - } - private UserList(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final UserList defaultInstance; - public static UserList getDefaultInstance() { - return defaultInstance; } - - public UserList getDefaultInstanceForType() { - return defaultInstance; + private UserList() { + users_ = java.util.Collections.emptyList(); } - private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } private UserList( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -21067,7 +23256,8 @@ public final class Mumble { users_ = new java.util.ArrayList<com.morlunk.jumble.protobuf.Mumble.UserList.User>(); mutable_bitField0_ |= 0x00000001; } - users_.add(input.readMessage(com.morlunk.jumble.protobuf.Mumble.UserList.User.PARSER, extensionRegistry)); + users_.add( + input.readMessage(com.morlunk.jumble.protobuf.Mumble.UserList.User.PARSER, extensionRegistry)); break; } } @@ -21076,7 +23266,7 @@ public final class Mumble { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { users_ = java.util.Collections.unmodifiableList(users_); @@ -21090,32 +23280,17 @@ public final class Mumble { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_UserList_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_UserList_fieldAccessorTable .ensureFieldAccessorsInitialized( com.morlunk.jumble.protobuf.Mumble.UserList.class, com.morlunk.jumble.protobuf.Mumble.UserList.Builder.class); } - public static com.google.protobuf.Parser<UserList> PARSER = - new com.google.protobuf.AbstractParser<UserList>() { - public UserList parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UserList(input, extensionRegistry); - } - }; + public interface UserOrBuilder extends + // @@protoc_insertion_point(interface_extends:MumbleProto.UserList.User) + com.google.protobuf.MessageOrBuilder { - @java.lang.Override - public com.google.protobuf.Parser<UserList> getParserForType() { - return PARSER; - } - - public interface UserOrBuilder - extends com.google.protobuf.MessageOrBuilder { - - // required uint32 user_id = 1; /** * <code>required uint32 user_id = 1;</code> */ @@ -21125,7 +23300,6 @@ public final class Mumble { */ int getUserId(); - // optional string name = 2; /** * <code>optional string name = 2;</code> */ @@ -21143,36 +23317,29 @@ public final class Mumble { /** * Protobuf type {@code MumbleProto.UserList.User} */ - public static final class User extends - com.google.protobuf.GeneratedMessage - implements UserOrBuilder { + public static final class User extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MumbleProto.UserList.User) + UserOrBuilder { // Use User.newBuilder() to construct. - private User(com.google.protobuf.GeneratedMessage.Builder<?> builder) { + private User(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); - } - private User(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final User defaultInstance; - public static User getDefaultInstance() { - return defaultInstance; } - - public User getDefaultInstanceForType() { - return defaultInstance; + private User() { + userId_ = 0; + name_ = ""; } - private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } private User( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -21197,8 +23364,9 @@ public final class Mumble { break; } case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; - name_ = input.readBytes(); + name_ = bs; break; } } @@ -21207,7 +23375,7 @@ public final class Mumble { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -21218,30 +23386,14 @@ public final class Mumble { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_UserList_User_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_UserList_User_fieldAccessorTable .ensureFieldAccessorsInitialized( com.morlunk.jumble.protobuf.Mumble.UserList.User.class, com.morlunk.jumble.protobuf.Mumble.UserList.User.Builder.class); } - public static com.google.protobuf.Parser<User> PARSER = - new com.google.protobuf.AbstractParser<User>() { - public User parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new User(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser<User> getParserForType() { - return PARSER; - } - private int bitField0_; - // required uint32 user_id = 1; public static final int USER_ID_FIELD_NUMBER = 1; private int userId_; /** @@ -21257,9 +23409,8 @@ public final class Mumble { return userId_; } - // optional string name = 2; public static final int NAME_FIELD_NUMBER = 2; - private java.lang.Object name_; + private volatile java.lang.Object name_; /** * <code>optional string name = 2;</code> */ @@ -21300,14 +23451,11 @@ public final class Mumble { } } - private void initFields() { - userId_ = 0; - name_ = ""; - } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasUserId()) { memoizedIsInitialized = 0; @@ -21319,19 +23467,17 @@ public final class Mumble { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, userId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeBytes(2, getNameBytes()); + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); } - getUnknownFields().writeTo(output); + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; @@ -21340,19 +23486,57 @@ public final class Mumble { .computeUInt32Size(1, userId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, getNameBytes()); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); } - size += getUnknownFields().getSerializedSize(); - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.morlunk.jumble.protobuf.Mumble.UserList.User)) { + return super.equals(obj); + } + com.morlunk.jumble.protobuf.Mumble.UserList.User other = (com.morlunk.jumble.protobuf.Mumble.UserList.User) obj; + + boolean result = true; + result = result && (hasUserId() == other.hasUserId()); + if (hasUserId()) { + result = result && (getUserId() + == other.getUserId()); + } + result = result && (hasName() == other.hasName()); + if (hasName()) { + result = result && getName() + .equals(other.getName()); + } + 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 (hasUserId()) { + hash = (37 * hash) + USER_ID_FIELD_NUMBER; + hash = (53 * hash) + getUserId(); + } + if (hasName()) { + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; } public static com.morlunk.jumble.protobuf.Mumble.UserList.User parseFrom( @@ -21378,46 +23562,57 @@ public final class Mumble { } public static com.morlunk.jumble.protobuf.Mumble.UserList.User parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.UserList.User parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.UserList.User parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.UserList.User parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.UserList.User parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.UserList.User parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(com.morlunk.jumble.protobuf.Mumble.UserList.User prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -21425,14 +23620,15 @@ public final class Mumble { * Protobuf type {@code MumbleProto.UserList.User} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> - implements com.morlunk.jumble.protobuf.Mumble.UserList.UserOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:MumbleProto.UserList.User) + com.morlunk.jumble.protobuf.Mumble.UserList.UserOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_UserList_User_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_UserList_User_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -21445,18 +23641,15 @@ public final class Mumble { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { } } - private static Builder create() { - return new Builder(); - } - public Builder clear() { super.clear(); userId_ = 0; @@ -21466,10 +23659,6 @@ public final class Mumble { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_UserList_User_descriptor; @@ -21504,6 +23693,32 @@ public final class Mumble { 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 com.morlunk.jumble.protobuf.Mumble.UserList.User) { return mergeFrom((com.morlunk.jumble.protobuf.Mumble.UserList.User)other); @@ -21523,13 +23738,13 @@ public final class Mumble { name_ = other.name_; onChanged(); } - this.mergeUnknownFields(other.getUnknownFields()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } public final boolean isInitialized() { if (!hasUserId()) { - return false; } return true; @@ -21544,7 +23759,7 @@ public final class Mumble { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.morlunk.jumble.protobuf.Mumble.UserList.User) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -21554,7 +23769,6 @@ public final class Mumble { } private int bitField0_; - // required uint32 user_id = 1; private int userId_ ; /** * <code>required uint32 user_id = 1;</code> @@ -21587,7 +23801,6 @@ public final class Mumble { return this; } - // optional string name = 2; private java.lang.Object name_ = ""; /** * <code>optional string name = 2;</code> @@ -21601,9 +23814,12 @@ public final class Mumble { public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - name_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + name_ = s; + } return s; } else { return (java.lang.String) ref; @@ -21660,19 +23876,55 @@ public final class Mumble { 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.UserList.User) } + // @@protoc_insertion_point(class_scope:MumbleProto.UserList.User) + private static final com.morlunk.jumble.protobuf.Mumble.UserList.User DEFAULT_INSTANCE; static { - defaultInstance = new User(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new com.morlunk.jumble.protobuf.Mumble.UserList.User(); + } + + public static com.morlunk.jumble.protobuf.Mumble.UserList.User getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser<User> + PARSER = new com.google.protobuf.AbstractParser<User>() { + public User parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new User(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<User> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<User> getParserForType() { + return PARSER; + } + + public com.morlunk.jumble.protobuf.Mumble.UserList.User getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:MumbleProto.UserList.User) } - // repeated .MumbleProto.UserList.User users = 1; public static final int USERS_FIELD_NUMBER = 1; private java.util.List<com.morlunk.jumble.protobuf.Mumble.UserList.User> users_; /** @@ -21708,13 +23960,11 @@ public final class Mumble { return users_.get(index); } - private void initFields() { - users_ = java.util.Collections.emptyList(); - } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; for (int i = 0; i < getUsersCount(); i++) { if (!getUsers(i).isInitialized()) { @@ -21728,16 +23978,14 @@ public final class Mumble { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); for (int i = 0; i < users_.size(); i++) { output.writeMessage(1, users_.get(i)); } - getUnknownFields().writeTo(output); + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; @@ -21745,16 +23993,43 @@ public final class Mumble { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, users_.get(i)); } - size += getUnknownFields().getSerializedSize(); - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.morlunk.jumble.protobuf.Mumble.UserList)) { + return super.equals(obj); + } + com.morlunk.jumble.protobuf.Mumble.UserList other = (com.morlunk.jumble.protobuf.Mumble.UserList) obj; + + boolean result = true; + result = result && getUsersList() + .equals(other.getUsersList()); + 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 (getUsersCount() > 0) { + hash = (37 * hash) + USERS_FIELD_NUMBER; + hash = (53 * hash) + getUsersList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; } public static com.morlunk.jumble.protobuf.Mumble.UserList parseFrom( @@ -21780,46 +24055,57 @@ public final class Mumble { } public static com.morlunk.jumble.protobuf.Mumble.UserList parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.UserList parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.UserList parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.UserList parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.UserList parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.UserList parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(com.morlunk.jumble.protobuf.Mumble.UserList prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -21827,14 +24113,15 @@ public final class Mumble { * Protobuf type {@code MumbleProto.UserList} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> - implements com.morlunk.jumble.protobuf.Mumble.UserListOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:MumbleProto.UserList) + com.morlunk.jumble.protobuf.Mumble.UserListOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_UserList_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_UserList_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -21847,19 +24134,16 @@ public final class Mumble { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getUsersFieldBuilder(); } } - private static Builder create() { - return new Builder(); - } - public Builder clear() { super.clear(); if (usersBuilder_ == null) { @@ -21871,10 +24155,6 @@ public final class Mumble { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_UserList_descriptor; @@ -21908,6 +24188,32 @@ public final class Mumble { 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 com.morlunk.jumble.protobuf.Mumble.UserList) { return mergeFrom((com.morlunk.jumble.protobuf.Mumble.UserList)other); @@ -21938,21 +24244,21 @@ public final class Mumble { users_ = other.users_; bitField0_ = (bitField0_ & ~0x00000001); usersBuilder_ = - com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getUsersFieldBuilder() : null; } else { usersBuilder_.addAllMessages(other.users_); } } } - this.mergeUnknownFields(other.getUnknownFields()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } public final boolean isInitialized() { for (int i = 0; i < getUsersCount(); i++) { if (!getUsers(i).isInitialized()) { - return false; } } @@ -21968,7 +24274,7 @@ public final class Mumble { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.morlunk.jumble.protobuf.Mumble.UserList) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -21978,7 +24284,6 @@ public final class Mumble { } private int bitField0_; - // repeated .MumbleProto.UserList.User users = 1; private java.util.List<com.morlunk.jumble.protobuf.Mumble.UserList.User> users_ = java.util.Collections.emptyList(); private void ensureUsersIsMutable() { @@ -21988,7 +24293,7 @@ public final class Mumble { } } - private com.google.protobuf.RepeatedFieldBuilder< + private com.google.protobuf.RepeatedFieldBuilderV3< com.morlunk.jumble.protobuf.Mumble.UserList.User, com.morlunk.jumble.protobuf.Mumble.UserList.User.Builder, com.morlunk.jumble.protobuf.Mumble.UserList.UserOrBuilder> usersBuilder_; /** @@ -22120,7 +24425,8 @@ public final class Mumble { java.lang.Iterable<? extends com.morlunk.jumble.protobuf.Mumble.UserList.User> values) { if (usersBuilder_ == null) { ensureUsersIsMutable(); - super.addAll(values, users_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, users_); onChanged(); } else { usersBuilder_.addAllMessages(values); @@ -22203,11 +24509,11 @@ public final class Mumble { getUsersBuilderList() { return getUsersFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilder< + private com.google.protobuf.RepeatedFieldBuilderV3< com.morlunk.jumble.protobuf.Mumble.UserList.User, com.morlunk.jumble.protobuf.Mumble.UserList.User.Builder, com.morlunk.jumble.protobuf.Mumble.UserList.UserOrBuilder> getUsersFieldBuilder() { if (usersBuilder_ == null) { - usersBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + usersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.morlunk.jumble.protobuf.Mumble.UserList.User, com.morlunk.jumble.protobuf.Mumble.UserList.User.Builder, com.morlunk.jumble.protobuf.Mumble.UserList.UserOrBuilder>( users_, ((bitField0_ & 0x00000001) == 0x00000001), @@ -22217,22 +24523,59 @@ public final class Mumble { } return usersBuilder_; } + 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.UserList) } + // @@protoc_insertion_point(class_scope:MumbleProto.UserList) + private static final com.morlunk.jumble.protobuf.Mumble.UserList DEFAULT_INSTANCE; static { - defaultInstance = new UserList(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new com.morlunk.jumble.protobuf.Mumble.UserList(); + } + + public static com.morlunk.jumble.protobuf.Mumble.UserList getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser<UserList> + PARSER = new com.google.protobuf.AbstractParser<UserList>() { + public UserList parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UserList(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<UserList> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<UserList> getParserForType() { + return PARSER; + } + + public com.morlunk.jumble.protobuf.Mumble.UserList getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:MumbleProto.UserList) } - public interface VoiceTargetOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface VoiceTargetOrBuilder extends + // @@protoc_insertion_point(interface_extends:MumbleProto.VoiceTarget) + com.google.protobuf.MessageOrBuilder { - // optional uint32 id = 1; /** * <code>optional uint32 id = 1;</code> */ @@ -22242,7 +24585,6 @@ public final class Mumble { */ int getId(); - // repeated .MumbleProto.VoiceTarget.Target targets = 2; /** * <code>repeated .MumbleProto.VoiceTarget.Target targets = 2;</code> */ @@ -22270,36 +24612,29 @@ public final class Mumble { /** * Protobuf type {@code MumbleProto.VoiceTarget} */ - public static final class VoiceTarget extends - com.google.protobuf.GeneratedMessage - implements VoiceTargetOrBuilder { + public static final class VoiceTarget extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MumbleProto.VoiceTarget) + VoiceTargetOrBuilder { // Use VoiceTarget.newBuilder() to construct. - private VoiceTarget(com.google.protobuf.GeneratedMessage.Builder<?> builder) { + private VoiceTarget(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); - } - private VoiceTarget(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final VoiceTarget defaultInstance; - public static VoiceTarget getDefaultInstance() { - return defaultInstance; } - - public VoiceTarget getDefaultInstanceForType() { - return defaultInstance; + private VoiceTarget() { + id_ = 0; + targets_ = java.util.Collections.emptyList(); } - private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } private VoiceTarget( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -22328,7 +24663,8 @@ public final class Mumble { targets_ = new java.util.ArrayList<com.morlunk.jumble.protobuf.Mumble.VoiceTarget.Target>(); mutable_bitField0_ |= 0x00000002; } - targets_.add(input.readMessage(com.morlunk.jumble.protobuf.Mumble.VoiceTarget.Target.PARSER, extensionRegistry)); + targets_.add( + input.readMessage(com.morlunk.jumble.protobuf.Mumble.VoiceTarget.Target.PARSER, extensionRegistry)); break; } } @@ -22337,7 +24673,7 @@ public final class Mumble { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { targets_ = java.util.Collections.unmodifiableList(targets_); @@ -22351,32 +24687,17 @@ public final class Mumble { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_VoiceTarget_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_VoiceTarget_fieldAccessorTable .ensureFieldAccessorsInitialized( com.morlunk.jumble.protobuf.Mumble.VoiceTarget.class, com.morlunk.jumble.protobuf.Mumble.VoiceTarget.Builder.class); } - public static com.google.protobuf.Parser<VoiceTarget> PARSER = - new com.google.protobuf.AbstractParser<VoiceTarget>() { - public VoiceTarget parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VoiceTarget(input, extensionRegistry); - } - }; + public interface TargetOrBuilder extends + // @@protoc_insertion_point(interface_extends:MumbleProto.VoiceTarget.Target) + com.google.protobuf.MessageOrBuilder { - @java.lang.Override - public com.google.protobuf.Parser<VoiceTarget> getParserForType() { - return PARSER; - } - - public interface TargetOrBuilder - extends com.google.protobuf.MessageOrBuilder { - - // repeated uint32 session = 1; /** * <code>repeated uint32 session = 1;</code> */ @@ -22390,7 +24711,6 @@ public final class Mumble { */ int getSession(int index); - // optional uint32 channel_id = 2; /** * <code>optional uint32 channel_id = 2;</code> */ @@ -22400,7 +24720,6 @@ public final class Mumble { */ int getChannelId(); - // optional string group = 3; /** * <code>optional string group = 3;</code> */ @@ -22415,7 +24734,6 @@ public final class Mumble { com.google.protobuf.ByteString getGroupBytes(); - // optional bool links = 4 [default = false]; /** * <code>optional bool links = 4 [default = false];</code> */ @@ -22425,7 +24743,6 @@ public final class Mumble { */ boolean getLinks(); - // optional bool children = 5 [default = false]; /** * <code>optional bool children = 5 [default = false];</code> */ @@ -22438,36 +24755,32 @@ public final class Mumble { /** * Protobuf type {@code MumbleProto.VoiceTarget.Target} */ - public static final class Target extends - com.google.protobuf.GeneratedMessage - implements TargetOrBuilder { + public static final class Target extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MumbleProto.VoiceTarget.Target) + TargetOrBuilder { // Use Target.newBuilder() to construct. - private Target(com.google.protobuf.GeneratedMessage.Builder<?> builder) { + private Target(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); } - private Target(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final Target defaultInstance; - public static Target getDefaultInstance() { - return defaultInstance; - } - - public Target getDefaultInstanceForType() { - return defaultInstance; + private Target() { + session_ = java.util.Collections.emptyList(); + channelId_ = 0; + group_ = ""; + links_ = false; + children_ = false; } - private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } private Target( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -22513,8 +24826,9 @@ public final class Mumble { break; } case 26: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; - group_ = input.readBytes(); + group_ = bs; break; } case 32: { @@ -22533,7 +24847,7 @@ public final class Mumble { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { session_ = java.util.Collections.unmodifiableList(session_); @@ -22547,30 +24861,14 @@ public final class Mumble { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_VoiceTarget_Target_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_VoiceTarget_Target_fieldAccessorTable .ensureFieldAccessorsInitialized( com.morlunk.jumble.protobuf.Mumble.VoiceTarget.Target.class, com.morlunk.jumble.protobuf.Mumble.VoiceTarget.Target.Builder.class); } - public static com.google.protobuf.Parser<Target> PARSER = - new com.google.protobuf.AbstractParser<Target>() { - public Target parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Target(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser<Target> getParserForType() { - return PARSER; - } - private int bitField0_; - // repeated uint32 session = 1; public static final int SESSION_FIELD_NUMBER = 1; private java.util.List<java.lang.Integer> session_; /** @@ -22593,7 +24891,6 @@ public final class Mumble { return session_.get(index); } - // optional uint32 channel_id = 2; public static final int CHANNEL_ID_FIELD_NUMBER = 2; private int channelId_; /** @@ -22609,9 +24906,8 @@ public final class Mumble { return channelId_; } - // optional string group = 3; public static final int GROUP_FIELD_NUMBER = 3; - private java.lang.Object group_; + private volatile java.lang.Object group_; /** * <code>optional string group = 3;</code> */ @@ -22652,7 +24948,6 @@ public final class Mumble { } } - // optional bool links = 4 [default = false]; public static final int LINKS_FIELD_NUMBER = 4; private boolean links_; /** @@ -22668,7 +24963,6 @@ public final class Mumble { return links_; } - // optional bool children = 5 [default = false]; public static final int CHILDREN_FIELD_NUMBER = 5; private boolean children_; /** @@ -22684,17 +24978,11 @@ public final class Mumble { return children_; } - private void initFields() { - session_ = java.util.Collections.emptyList(); - channelId_ = 0; - group_ = ""; - links_ = false; - children_ = false; - } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -22702,7 +24990,6 @@ public final class Mumble { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); for (int i = 0; i < session_.size(); i++) { output.writeUInt32(1, session_.get(i)); } @@ -22710,7 +24997,7 @@ public final class Mumble { output.writeUInt32(2, channelId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeBytes(3, getGroupBytes()); + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, group_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(4, links_); @@ -22718,12 +25005,11 @@ public final class Mumble { if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBool(5, children_); } - getUnknownFields().writeTo(output); + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; @@ -22741,8 +25027,7 @@ public final class Mumble { .computeUInt32Size(2, channelId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(3, getGroupBytes()); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, group_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream @@ -22752,16 +25037,81 @@ public final class Mumble { size += com.google.protobuf.CodedOutputStream .computeBoolSize(5, children_); } - size += getUnknownFields().getSerializedSize(); - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.morlunk.jumble.protobuf.Mumble.VoiceTarget.Target)) { + return super.equals(obj); + } + com.morlunk.jumble.protobuf.Mumble.VoiceTarget.Target other = (com.morlunk.jumble.protobuf.Mumble.VoiceTarget.Target) obj; + + boolean result = true; + result = result && getSessionList() + .equals(other.getSessionList()); + result = result && (hasChannelId() == other.hasChannelId()); + if (hasChannelId()) { + result = result && (getChannelId() + == other.getChannelId()); + } + result = result && (hasGroup() == other.hasGroup()); + if (hasGroup()) { + result = result && getGroup() + .equals(other.getGroup()); + } + result = result && (hasLinks() == other.hasLinks()); + if (hasLinks()) { + result = result && (getLinks() + == other.getLinks()); + } + result = result && (hasChildren() == other.hasChildren()); + if (hasChildren()) { + result = result && (getChildren() + == other.getChildren()); + } + 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 (getSessionCount() > 0) { + hash = (37 * hash) + SESSION_FIELD_NUMBER; + hash = (53 * hash) + getSessionList().hashCode(); + } + if (hasChannelId()) { + hash = (37 * hash) + CHANNEL_ID_FIELD_NUMBER; + hash = (53 * hash) + getChannelId(); + } + if (hasGroup()) { + hash = (37 * hash) + GROUP_FIELD_NUMBER; + hash = (53 * hash) + getGroup().hashCode(); + } + if (hasLinks()) { + hash = (37 * hash) + LINKS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getLinks()); + } + if (hasChildren()) { + hash = (37 * hash) + CHILDREN_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getChildren()); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; } public static com.morlunk.jumble.protobuf.Mumble.VoiceTarget.Target parseFrom( @@ -22787,46 +25137,57 @@ public final class Mumble { } public static com.morlunk.jumble.protobuf.Mumble.VoiceTarget.Target parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.VoiceTarget.Target parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.VoiceTarget.Target parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.VoiceTarget.Target parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.VoiceTarget.Target parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.VoiceTarget.Target parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(com.morlunk.jumble.protobuf.Mumble.VoiceTarget.Target prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -22834,14 +25195,15 @@ public final class Mumble { * Protobuf type {@code MumbleProto.VoiceTarget.Target} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> - implements com.morlunk.jumble.protobuf.Mumble.VoiceTarget.TargetOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:MumbleProto.VoiceTarget.Target) + com.morlunk.jumble.protobuf.Mumble.VoiceTarget.TargetOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_VoiceTarget_Target_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_VoiceTarget_Target_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -22854,18 +25216,15 @@ public final class Mumble { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { } } - private static Builder create() { - return new Builder(); - } - public Builder clear() { super.clear(); session_ = java.util.Collections.emptyList(); @@ -22881,10 +25240,6 @@ public final class Mumble { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_VoiceTarget_Target_descriptor; @@ -22932,6 +25287,32 @@ public final class Mumble { 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 com.morlunk.jumble.protobuf.Mumble.VoiceTarget.Target) { return mergeFrom((com.morlunk.jumble.protobuf.Mumble.VoiceTarget.Target)other); @@ -22967,7 +25348,8 @@ public final class Mumble { if (other.hasChildren()) { setChildren(other.getChildren()); } - this.mergeUnknownFields(other.getUnknownFields()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } @@ -22984,7 +25366,7 @@ public final class Mumble { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.morlunk.jumble.protobuf.Mumble.VoiceTarget.Target) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -22994,7 +25376,6 @@ public final class Mumble { } private int bitField0_; - // repeated uint32 session = 1; private java.util.List<java.lang.Integer> session_ = java.util.Collections.emptyList(); private void ensureSessionIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { @@ -23046,7 +25427,8 @@ public final class Mumble { public Builder addAllSession( java.lang.Iterable<? extends java.lang.Integer> values) { ensureSessionIsMutable(); - super.addAll(values, session_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, session_); onChanged(); return this; } @@ -23060,7 +25442,6 @@ public final class Mumble { return this; } - // optional uint32 channel_id = 2; private int channelId_ ; /** * <code>optional uint32 channel_id = 2;</code> @@ -23093,7 +25474,6 @@ public final class Mumble { return this; } - // optional string group = 3; private java.lang.Object group_ = ""; /** * <code>optional string group = 3;</code> @@ -23107,9 +25487,12 @@ public final class Mumble { public java.lang.String getGroup() { java.lang.Object ref = group_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - group_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + group_ = s; + } return s; } else { return (java.lang.String) ref; @@ -23167,7 +25550,6 @@ public final class Mumble { return this; } - // optional bool links = 4 [default = false]; private boolean links_ ; /** * <code>optional bool links = 4 [default = false];</code> @@ -23200,7 +25582,6 @@ public final class Mumble { return this; } - // optional bool children = 5 [default = false]; private boolean children_ ; /** * <code>optional bool children = 5 [default = false];</code> @@ -23232,20 +25613,56 @@ public final class Mumble { 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.VoiceTarget.Target) } + // @@protoc_insertion_point(class_scope:MumbleProto.VoiceTarget.Target) + private static final com.morlunk.jumble.protobuf.Mumble.VoiceTarget.Target DEFAULT_INSTANCE; static { - defaultInstance = new Target(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new com.morlunk.jumble.protobuf.Mumble.VoiceTarget.Target(); + } + + public static com.morlunk.jumble.protobuf.Mumble.VoiceTarget.Target getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser<Target> + PARSER = new com.google.protobuf.AbstractParser<Target>() { + public Target parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Target(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<Target> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<Target> getParserForType() { + return PARSER; + } + + public com.morlunk.jumble.protobuf.Mumble.VoiceTarget.Target getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:MumbleProto.VoiceTarget.Target) } private int bitField0_; - // optional uint32 id = 1; public static final int ID_FIELD_NUMBER = 1; private int id_; /** @@ -23261,7 +25678,6 @@ public final class Mumble { return id_; } - // repeated .MumbleProto.VoiceTarget.Target targets = 2; public static final int TARGETS_FIELD_NUMBER = 2; private java.util.List<com.morlunk.jumble.protobuf.Mumble.VoiceTarget.Target> targets_; /** @@ -23297,14 +25713,11 @@ public final class Mumble { return targets_.get(index); } - private void initFields() { - id_ = 0; - targets_ = java.util.Collections.emptyList(); - } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -23312,19 +25725,17 @@ public final class Mumble { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, id_); } for (int i = 0; i < targets_.size(); i++) { output.writeMessage(2, targets_.get(i)); } - getUnknownFields().writeTo(output); + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; @@ -23336,16 +25747,52 @@ public final class Mumble { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, targets_.get(i)); } - size += getUnknownFields().getSerializedSize(); - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.morlunk.jumble.protobuf.Mumble.VoiceTarget)) { + return super.equals(obj); + } + com.morlunk.jumble.protobuf.Mumble.VoiceTarget other = (com.morlunk.jumble.protobuf.Mumble.VoiceTarget) obj; + + boolean result = true; + result = result && (hasId() == other.hasId()); + if (hasId()) { + result = result && (getId() + == other.getId()); + } + result = result && getTargetsList() + .equals(other.getTargetsList()); + 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 (hasId()) { + hash = (37 * hash) + ID_FIELD_NUMBER; + hash = (53 * hash) + getId(); + } + if (getTargetsCount() > 0) { + hash = (37 * hash) + TARGETS_FIELD_NUMBER; + hash = (53 * hash) + getTargetsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; } public static com.morlunk.jumble.protobuf.Mumble.VoiceTarget parseFrom( @@ -23371,46 +25818,57 @@ public final class Mumble { } public static com.morlunk.jumble.protobuf.Mumble.VoiceTarget parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.VoiceTarget parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.VoiceTarget parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.VoiceTarget parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.VoiceTarget parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.VoiceTarget parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(com.morlunk.jumble.protobuf.Mumble.VoiceTarget prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -23418,14 +25876,15 @@ public final class Mumble { * Protobuf type {@code MumbleProto.VoiceTarget} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> - implements com.morlunk.jumble.protobuf.Mumble.VoiceTargetOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:MumbleProto.VoiceTarget) + com.morlunk.jumble.protobuf.Mumble.VoiceTargetOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_VoiceTarget_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_VoiceTarget_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -23438,19 +25897,16 @@ public final class Mumble { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getTargetsFieldBuilder(); } } - private static Builder create() { - return new Builder(); - } - public Builder clear() { super.clear(); id_ = 0; @@ -23464,10 +25920,6 @@ public final class Mumble { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_VoiceTarget_descriptor; @@ -23507,6 +25959,32 @@ public final class Mumble { 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 com.morlunk.jumble.protobuf.Mumble.VoiceTarget) { return mergeFrom((com.morlunk.jumble.protobuf.Mumble.VoiceTarget)other); @@ -23540,14 +26018,15 @@ public final class Mumble { targets_ = other.targets_; bitField0_ = (bitField0_ & ~0x00000002); targetsBuilder_ = - com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTargetsFieldBuilder() : null; } else { targetsBuilder_.addAllMessages(other.targets_); } } } - this.mergeUnknownFields(other.getUnknownFields()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } @@ -23564,7 +26043,7 @@ public final class Mumble { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.morlunk.jumble.protobuf.Mumble.VoiceTarget) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -23574,7 +26053,6 @@ public final class Mumble { } private int bitField0_; - // optional uint32 id = 1; private int id_ ; /** * <code>optional uint32 id = 1;</code> @@ -23607,7 +26085,6 @@ public final class Mumble { return this; } - // repeated .MumbleProto.VoiceTarget.Target targets = 2; private java.util.List<com.morlunk.jumble.protobuf.Mumble.VoiceTarget.Target> targets_ = java.util.Collections.emptyList(); private void ensureTargetsIsMutable() { @@ -23617,7 +26094,7 @@ public final class Mumble { } } - private com.google.protobuf.RepeatedFieldBuilder< + private com.google.protobuf.RepeatedFieldBuilderV3< com.morlunk.jumble.protobuf.Mumble.VoiceTarget.Target, com.morlunk.jumble.protobuf.Mumble.VoiceTarget.Target.Builder, com.morlunk.jumble.protobuf.Mumble.VoiceTarget.TargetOrBuilder> targetsBuilder_; /** @@ -23749,7 +26226,8 @@ public final class Mumble { java.lang.Iterable<? extends com.morlunk.jumble.protobuf.Mumble.VoiceTarget.Target> values) { if (targetsBuilder_ == null) { ensureTargetsIsMutable(); - super.addAll(values, targets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, targets_); onChanged(); } else { targetsBuilder_.addAllMessages(values); @@ -23832,11 +26310,11 @@ public final class Mumble { getTargetsBuilderList() { return getTargetsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilder< + private com.google.protobuf.RepeatedFieldBuilderV3< com.morlunk.jumble.protobuf.Mumble.VoiceTarget.Target, com.morlunk.jumble.protobuf.Mumble.VoiceTarget.Target.Builder, com.morlunk.jumble.protobuf.Mumble.VoiceTarget.TargetOrBuilder> getTargetsFieldBuilder() { if (targetsBuilder_ == null) { - targetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + targetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.morlunk.jumble.protobuf.Mumble.VoiceTarget.Target, com.morlunk.jumble.protobuf.Mumble.VoiceTarget.Target.Builder, com.morlunk.jumble.protobuf.Mumble.VoiceTarget.TargetOrBuilder>( targets_, ((bitField0_ & 0x00000002) == 0x00000002), @@ -23846,22 +26324,59 @@ public final class Mumble { } return targetsBuilder_; } + 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.VoiceTarget) } + // @@protoc_insertion_point(class_scope:MumbleProto.VoiceTarget) + private static final com.morlunk.jumble.protobuf.Mumble.VoiceTarget DEFAULT_INSTANCE; static { - defaultInstance = new VoiceTarget(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new com.morlunk.jumble.protobuf.Mumble.VoiceTarget(); + } + + public static com.morlunk.jumble.protobuf.Mumble.VoiceTarget getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser<VoiceTarget> + PARSER = new com.google.protobuf.AbstractParser<VoiceTarget>() { + public VoiceTarget parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VoiceTarget(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<VoiceTarget> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<VoiceTarget> getParserForType() { + return PARSER; + } + + public com.morlunk.jumble.protobuf.Mumble.VoiceTarget getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:MumbleProto.VoiceTarget) } - public interface PermissionQueryOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface PermissionQueryOrBuilder extends + // @@protoc_insertion_point(interface_extends:MumbleProto.PermissionQuery) + com.google.protobuf.MessageOrBuilder { - // optional uint32 channel_id = 1; /** * <code>optional uint32 channel_id = 1;</code> */ @@ -23871,7 +26386,6 @@ public final class Mumble { */ int getChannelId(); - // optional uint32 permissions = 2; /** * <code>optional uint32 permissions = 2;</code> */ @@ -23881,7 +26395,6 @@ public final class Mumble { */ int getPermissions(); - // optional bool flush = 3 [default = false]; /** * <code>optional bool flush = 3 [default = false];</code> */ @@ -23894,36 +26407,30 @@ public final class Mumble { /** * Protobuf type {@code MumbleProto.PermissionQuery} */ - public static final class PermissionQuery extends - com.google.protobuf.GeneratedMessage - implements PermissionQueryOrBuilder { + public static final class PermissionQuery extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MumbleProto.PermissionQuery) + PermissionQueryOrBuilder { // Use PermissionQuery.newBuilder() to construct. - private PermissionQuery(com.google.protobuf.GeneratedMessage.Builder<?> builder) { + private PermissionQuery(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); - } - private PermissionQuery(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final PermissionQuery defaultInstance; - public static PermissionQuery getDefaultInstance() { - return defaultInstance; } - - public PermissionQuery getDefaultInstanceForType() { - return defaultInstance; + private PermissionQuery() { + channelId_ = 0; + permissions_ = 0; + flush_ = false; } - private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } private PermissionQuery( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -23963,7 +26470,7 @@ public final class Mumble { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -23974,30 +26481,14 @@ public final class Mumble { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_PermissionQuery_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_PermissionQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( com.morlunk.jumble.protobuf.Mumble.PermissionQuery.class, com.morlunk.jumble.protobuf.Mumble.PermissionQuery.Builder.class); } - public static com.google.protobuf.Parser<PermissionQuery> PARSER = - new com.google.protobuf.AbstractParser<PermissionQuery>() { - public PermissionQuery parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PermissionQuery(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser<PermissionQuery> getParserForType() { - return PARSER; - } - private int bitField0_; - // optional uint32 channel_id = 1; public static final int CHANNEL_ID_FIELD_NUMBER = 1; private int channelId_; /** @@ -24013,7 +26504,6 @@ public final class Mumble { return channelId_; } - // optional uint32 permissions = 2; public static final int PERMISSIONS_FIELD_NUMBER = 2; private int permissions_; /** @@ -24029,7 +26519,6 @@ public final class Mumble { return permissions_; } - // optional bool flush = 3 [default = false]; public static final int FLUSH_FIELD_NUMBER = 3; private boolean flush_; /** @@ -24045,15 +26534,11 @@ public final class Mumble { return flush_; } - private void initFields() { - channelId_ = 0; - permissions_ = 0; - flush_ = false; - } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -24061,7 +26546,6 @@ public final class Mumble { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, channelId_); } @@ -24071,12 +26555,11 @@ public final class Mumble { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(3, flush_); } - getUnknownFields().writeTo(output); + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; @@ -24092,16 +26575,65 @@ public final class Mumble { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, flush_); } - size += getUnknownFields().getSerializedSize(); - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.morlunk.jumble.protobuf.Mumble.PermissionQuery)) { + return super.equals(obj); + } + com.morlunk.jumble.protobuf.Mumble.PermissionQuery other = (com.morlunk.jumble.protobuf.Mumble.PermissionQuery) obj; + + boolean result = true; + result = result && (hasChannelId() == other.hasChannelId()); + if (hasChannelId()) { + result = result && (getChannelId() + == other.getChannelId()); + } + result = result && (hasPermissions() == other.hasPermissions()); + if (hasPermissions()) { + result = result && (getPermissions() + == other.getPermissions()); + } + result = result && (hasFlush() == other.hasFlush()); + if (hasFlush()) { + result = result && (getFlush() + == other.getFlush()); + } + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptorForType().hashCode(); + if (hasChannelId()) { + hash = (37 * hash) + CHANNEL_ID_FIELD_NUMBER; + hash = (53 * hash) + getChannelId(); + } + if (hasPermissions()) { + hash = (37 * hash) + PERMISSIONS_FIELD_NUMBER; + hash = (53 * hash) + getPermissions(); + } + if (hasFlush()) { + hash = (37 * hash) + FLUSH_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getFlush()); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; } public static com.morlunk.jumble.protobuf.Mumble.PermissionQuery parseFrom( @@ -24127,46 +26659,57 @@ public final class Mumble { } public static com.morlunk.jumble.protobuf.Mumble.PermissionQuery parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.PermissionQuery parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.PermissionQuery parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.PermissionQuery parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.PermissionQuery parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.PermissionQuery parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(com.morlunk.jumble.protobuf.Mumble.PermissionQuery prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -24174,14 +26717,15 @@ public final class Mumble { * Protobuf type {@code MumbleProto.PermissionQuery} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> - implements com.morlunk.jumble.protobuf.Mumble.PermissionQueryOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:MumbleProto.PermissionQuery) + com.morlunk.jumble.protobuf.Mumble.PermissionQueryOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_PermissionQuery_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_PermissionQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -24194,18 +26738,15 @@ public final class Mumble { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { } } - private static Builder create() { - return new Builder(); - } - public Builder clear() { super.clear(); channelId_ = 0; @@ -24217,10 +26758,6 @@ public final class Mumble { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_PermissionQuery_descriptor; @@ -24259,6 +26796,32 @@ public final class Mumble { 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 com.morlunk.jumble.protobuf.Mumble.PermissionQuery) { return mergeFrom((com.morlunk.jumble.protobuf.Mumble.PermissionQuery)other); @@ -24279,7 +26842,8 @@ public final class Mumble { if (other.hasFlush()) { setFlush(other.getFlush()); } - this.mergeUnknownFields(other.getUnknownFields()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } @@ -24296,7 +26860,7 @@ public final class Mumble { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.morlunk.jumble.protobuf.Mumble.PermissionQuery) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -24306,7 +26870,6 @@ public final class Mumble { } private int bitField0_; - // optional uint32 channel_id = 1; private int channelId_ ; /** * <code>optional uint32 channel_id = 1;</code> @@ -24339,7 +26902,6 @@ public final class Mumble { return this; } - // optional uint32 permissions = 2; private int permissions_ ; /** * <code>optional uint32 permissions = 2;</code> @@ -24372,7 +26934,6 @@ public final class Mumble { return this; } - // optional bool flush = 3 [default = false]; private boolean flush_ ; /** * <code>optional bool flush = 3 [default = false];</code> @@ -24404,22 +26965,59 @@ public final class Mumble { 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.PermissionQuery) } + // @@protoc_insertion_point(class_scope:MumbleProto.PermissionQuery) + private static final com.morlunk.jumble.protobuf.Mumble.PermissionQuery DEFAULT_INSTANCE; static { - defaultInstance = new PermissionQuery(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new com.morlunk.jumble.protobuf.Mumble.PermissionQuery(); + } + + public static com.morlunk.jumble.protobuf.Mumble.PermissionQuery getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser<PermissionQuery> + PARSER = new com.google.protobuf.AbstractParser<PermissionQuery>() { + public PermissionQuery parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PermissionQuery(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<PermissionQuery> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<PermissionQuery> getParserForType() { + return PARSER; + } + + public com.morlunk.jumble.protobuf.Mumble.PermissionQuery getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:MumbleProto.PermissionQuery) } - public interface CodecVersionOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface CodecVersionOrBuilder extends + // @@protoc_insertion_point(interface_extends:MumbleProto.CodecVersion) + com.google.protobuf.MessageOrBuilder { - // required int32 alpha = 1; /** * <code>required int32 alpha = 1;</code> */ @@ -24429,7 +27027,6 @@ public final class Mumble { */ int getAlpha(); - // required int32 beta = 2; /** * <code>required int32 beta = 2;</code> */ @@ -24439,7 +27036,6 @@ public final class Mumble { */ int getBeta(); - // required bool prefer_alpha = 3 [default = true]; /** * <code>required bool prefer_alpha = 3 [default = true];</code> */ @@ -24449,7 +27045,6 @@ public final class Mumble { */ boolean getPreferAlpha(); - // optional bool opus = 4 [default = false]; /** * <code>optional bool opus = 4 [default = false];</code> */ @@ -24462,36 +27057,31 @@ public final class Mumble { /** * Protobuf type {@code MumbleProto.CodecVersion} */ - public static final class CodecVersion extends - com.google.protobuf.GeneratedMessage - implements CodecVersionOrBuilder { + public static final class CodecVersion extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MumbleProto.CodecVersion) + CodecVersionOrBuilder { // Use CodecVersion.newBuilder() to construct. - private CodecVersion(com.google.protobuf.GeneratedMessage.Builder<?> builder) { + private CodecVersion(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); } - private CodecVersion(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final CodecVersion defaultInstance; - public static CodecVersion getDefaultInstance() { - return defaultInstance; - } - - public CodecVersion getDefaultInstanceForType() { - return defaultInstance; + private CodecVersion() { + alpha_ = 0; + beta_ = 0; + preferAlpha_ = true; + opus_ = false; } - private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } private CodecVersion( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -24536,7 +27126,7 @@ public final class Mumble { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -24547,30 +27137,14 @@ public final class Mumble { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_CodecVersion_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_CodecVersion_fieldAccessorTable .ensureFieldAccessorsInitialized( com.morlunk.jumble.protobuf.Mumble.CodecVersion.class, com.morlunk.jumble.protobuf.Mumble.CodecVersion.Builder.class); } - public static com.google.protobuf.Parser<CodecVersion> PARSER = - new com.google.protobuf.AbstractParser<CodecVersion>() { - public CodecVersion parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CodecVersion(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser<CodecVersion> getParserForType() { - return PARSER; - } - private int bitField0_; - // required int32 alpha = 1; public static final int ALPHA_FIELD_NUMBER = 1; private int alpha_; /** @@ -24586,7 +27160,6 @@ public final class Mumble { return alpha_; } - // required int32 beta = 2; public static final int BETA_FIELD_NUMBER = 2; private int beta_; /** @@ -24602,7 +27175,6 @@ public final class Mumble { return beta_; } - // required bool prefer_alpha = 3 [default = true]; public static final int PREFER_ALPHA_FIELD_NUMBER = 3; private boolean preferAlpha_; /** @@ -24618,7 +27190,6 @@ public final class Mumble { return preferAlpha_; } - // optional bool opus = 4 [default = false]; public static final int OPUS_FIELD_NUMBER = 4; private boolean opus_; /** @@ -24634,16 +27205,11 @@ public final class Mumble { return opus_; } - private void initFields() { - alpha_ = 0; - beta_ = 0; - preferAlpha_ = true; - opus_ = false; - } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasAlpha()) { memoizedIsInitialized = 0; @@ -24663,7 +27229,6 @@ public final class Mumble { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, alpha_); } @@ -24676,12 +27241,11 @@ public final class Mumble { if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBool(4, opus_); } - getUnknownFields().writeTo(output); + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; @@ -24701,16 +27265,75 @@ public final class Mumble { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, opus_); } - size += getUnknownFields().getSerializedSize(); - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.morlunk.jumble.protobuf.Mumble.CodecVersion)) { + return super.equals(obj); + } + com.morlunk.jumble.protobuf.Mumble.CodecVersion other = (com.morlunk.jumble.protobuf.Mumble.CodecVersion) obj; + + boolean result = true; + result = result && (hasAlpha() == other.hasAlpha()); + if (hasAlpha()) { + result = result && (getAlpha() + == other.getAlpha()); + } + result = result && (hasBeta() == other.hasBeta()); + if (hasBeta()) { + result = result && (getBeta() + == other.getBeta()); + } + result = result && (hasPreferAlpha() == other.hasPreferAlpha()); + if (hasPreferAlpha()) { + result = result && (getPreferAlpha() + == other.getPreferAlpha()); + } + result = result && (hasOpus() == other.hasOpus()); + if (hasOpus()) { + result = result && (getOpus() + == other.getOpus()); + } + 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 (hasAlpha()) { + hash = (37 * hash) + ALPHA_FIELD_NUMBER; + hash = (53 * hash) + getAlpha(); + } + if (hasBeta()) { + hash = (37 * hash) + BETA_FIELD_NUMBER; + hash = (53 * hash) + getBeta(); + } + if (hasPreferAlpha()) { + hash = (37 * hash) + PREFER_ALPHA_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getPreferAlpha()); + } + if (hasOpus()) { + hash = (37 * hash) + OPUS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getOpus()); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; } public static com.morlunk.jumble.protobuf.Mumble.CodecVersion parseFrom( @@ -24736,46 +27359,57 @@ public final class Mumble { } public static com.morlunk.jumble.protobuf.Mumble.CodecVersion parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.CodecVersion parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.CodecVersion parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.CodecVersion parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.CodecVersion parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.CodecVersion parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(com.morlunk.jumble.protobuf.Mumble.CodecVersion prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -24783,14 +27417,15 @@ public final class Mumble { * Protobuf type {@code MumbleProto.CodecVersion} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> - implements com.morlunk.jumble.protobuf.Mumble.CodecVersionOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:MumbleProto.CodecVersion) + com.morlunk.jumble.protobuf.Mumble.CodecVersionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_CodecVersion_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_CodecVersion_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -24803,18 +27438,15 @@ public final class Mumble { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { } } - private static Builder create() { - return new Builder(); - } - public Builder clear() { super.clear(); alpha_ = 0; @@ -24828,10 +27460,6 @@ public final class Mumble { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_CodecVersion_descriptor; @@ -24874,6 +27502,32 @@ public final class Mumble { 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 com.morlunk.jumble.protobuf.Mumble.CodecVersion) { return mergeFrom((com.morlunk.jumble.protobuf.Mumble.CodecVersion)other); @@ -24897,21 +27551,19 @@ public final class Mumble { if (other.hasOpus()) { setOpus(other.getOpus()); } - this.mergeUnknownFields(other.getUnknownFields()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } public final boolean isInitialized() { if (!hasAlpha()) { - return false; } if (!hasBeta()) { - return false; } if (!hasPreferAlpha()) { - return false; } return true; @@ -24926,7 +27578,7 @@ public final class Mumble { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.morlunk.jumble.protobuf.Mumble.CodecVersion) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -24936,7 +27588,6 @@ public final class Mumble { } private int bitField0_; - // required int32 alpha = 1; private int alpha_ ; /** * <code>required int32 alpha = 1;</code> @@ -24969,7 +27620,6 @@ public final class Mumble { return this; } - // required int32 beta = 2; private int beta_ ; /** * <code>required int32 beta = 2;</code> @@ -25002,7 +27652,6 @@ public final class Mumble { return this; } - // required bool prefer_alpha = 3 [default = true]; private boolean preferAlpha_ = true; /** * <code>required bool prefer_alpha = 3 [default = true];</code> @@ -25035,7 +27684,6 @@ public final class Mumble { return this; } - // optional bool opus = 4 [default = false]; private boolean opus_ ; /** * <code>optional bool opus = 4 [default = false];</code> @@ -25067,22 +27715,59 @@ public final class Mumble { 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.CodecVersion) } + // @@protoc_insertion_point(class_scope:MumbleProto.CodecVersion) + private static final com.morlunk.jumble.protobuf.Mumble.CodecVersion DEFAULT_INSTANCE; static { - defaultInstance = new CodecVersion(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new com.morlunk.jumble.protobuf.Mumble.CodecVersion(); + } + + public static com.morlunk.jumble.protobuf.Mumble.CodecVersion getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser<CodecVersion> + PARSER = new com.google.protobuf.AbstractParser<CodecVersion>() { + public CodecVersion parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CodecVersion(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<CodecVersion> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<CodecVersion> getParserForType() { + return PARSER; + } + + public com.morlunk.jumble.protobuf.Mumble.CodecVersion getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:MumbleProto.CodecVersion) } - public interface UserStatsOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface UserStatsOrBuilder extends + // @@protoc_insertion_point(interface_extends:MumbleProto.UserStats) + com.google.protobuf.MessageOrBuilder { - // optional uint32 session = 1; /** * <code>optional uint32 session = 1;</code> */ @@ -25092,7 +27777,6 @@ public final class Mumble { */ int getSession(); - // optional bool stats_only = 2 [default = false]; /** * <code>optional bool stats_only = 2 [default = false];</code> */ @@ -25102,7 +27786,6 @@ public final class Mumble { */ boolean getStatsOnly(); - // repeated bytes certificates = 3; /** * <code>repeated bytes certificates = 3;</code> */ @@ -25116,7 +27799,6 @@ public final class Mumble { */ com.google.protobuf.ByteString getCertificates(int index); - // optional .MumbleProto.UserStats.Stats from_client = 4; /** * <code>optional .MumbleProto.UserStats.Stats from_client = 4;</code> */ @@ -25130,7 +27812,6 @@ public final class Mumble { */ com.morlunk.jumble.protobuf.Mumble.UserStats.StatsOrBuilder getFromClientOrBuilder(); - // optional .MumbleProto.UserStats.Stats from_server = 5; /** * <code>optional .MumbleProto.UserStats.Stats from_server = 5;</code> */ @@ -25144,7 +27825,6 @@ public final class Mumble { */ com.morlunk.jumble.protobuf.Mumble.UserStats.StatsOrBuilder getFromServerOrBuilder(); - // optional uint32 udp_packets = 6; /** * <code>optional uint32 udp_packets = 6;</code> */ @@ -25154,7 +27834,6 @@ public final class Mumble { */ int getUdpPackets(); - // optional uint32 tcp_packets = 7; /** * <code>optional uint32 tcp_packets = 7;</code> */ @@ -25164,7 +27843,6 @@ public final class Mumble { */ int getTcpPackets(); - // optional float udp_ping_avg = 8; /** * <code>optional float udp_ping_avg = 8;</code> */ @@ -25174,7 +27852,6 @@ public final class Mumble { */ float getUdpPingAvg(); - // optional float udp_ping_var = 9; /** * <code>optional float udp_ping_var = 9;</code> */ @@ -25184,7 +27861,6 @@ public final class Mumble { */ float getUdpPingVar(); - // optional float tcp_ping_avg = 10; /** * <code>optional float tcp_ping_avg = 10;</code> */ @@ -25194,7 +27870,6 @@ public final class Mumble { */ float getTcpPingAvg(); - // optional float tcp_ping_var = 11; /** * <code>optional float tcp_ping_var = 11;</code> */ @@ -25204,7 +27879,6 @@ public final class Mumble { */ float getTcpPingVar(); - // optional .MumbleProto.Version version = 12; /** * <code>optional .MumbleProto.Version version = 12;</code> */ @@ -25218,7 +27892,6 @@ public final class Mumble { */ com.morlunk.jumble.protobuf.Mumble.VersionOrBuilder getVersionOrBuilder(); - // repeated int32 celt_versions = 13; /** * <code>repeated int32 celt_versions = 13;</code> */ @@ -25232,7 +27905,6 @@ public final class Mumble { */ int getCeltVersions(int index); - // optional bytes address = 14; /** * <code>optional bytes address = 14;</code> */ @@ -25242,7 +27914,6 @@ public final class Mumble { */ com.google.protobuf.ByteString getAddress(); - // optional uint32 bandwidth = 15; /** * <code>optional uint32 bandwidth = 15;</code> */ @@ -25252,7 +27923,6 @@ public final class Mumble { */ int getBandwidth(); - // optional uint32 onlinesecs = 16; /** * <code>optional uint32 onlinesecs = 16;</code> */ @@ -25262,7 +27932,6 @@ public final class Mumble { */ int getOnlinesecs(); - // optional uint32 idlesecs = 17; /** * <code>optional uint32 idlesecs = 17;</code> */ @@ -25272,7 +27941,6 @@ public final class Mumble { */ int getIdlesecs(); - // optional bool strong_certificate = 18 [default = false]; /** * <code>optional bool strong_certificate = 18 [default = false];</code> */ @@ -25282,7 +27950,6 @@ public final class Mumble { */ boolean getStrongCertificate(); - // optional bool opus = 19 [default = false]; /** * <code>optional bool opus = 19 [default = false];</code> */ @@ -25295,36 +27962,43 @@ public final class Mumble { /** * Protobuf type {@code MumbleProto.UserStats} */ - public static final class UserStats extends - com.google.protobuf.GeneratedMessage - implements UserStatsOrBuilder { + public static final class UserStats extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MumbleProto.UserStats) + UserStatsOrBuilder { // Use UserStats.newBuilder() to construct. - private UserStats(com.google.protobuf.GeneratedMessage.Builder<?> builder) { + private UserStats(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); } - private UserStats(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final UserStats defaultInstance; - public static UserStats getDefaultInstance() { - return defaultInstance; - } - - public UserStats getDefaultInstanceForType() { - return defaultInstance; + 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(); + address_ = com.google.protobuf.ByteString.EMPTY; + bandwidth_ = 0; + onlinesecs_ = 0; + idlesecs_ = 0; + strongCertificate_ = false; + opus_ = false; } - private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } private UserStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -25487,7 +28161,7 @@ public final class Mumble { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { certificates_ = java.util.Collections.unmodifiableList(certificates_); @@ -25504,32 +28178,17 @@ public final class Mumble { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_UserStats_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_UserStats_fieldAccessorTable .ensureFieldAccessorsInitialized( com.morlunk.jumble.protobuf.Mumble.UserStats.class, com.morlunk.jumble.protobuf.Mumble.UserStats.Builder.class); } - public static com.google.protobuf.Parser<UserStats> PARSER = - new com.google.protobuf.AbstractParser<UserStats>() { - public UserStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UserStats(input, extensionRegistry); - } - }; + public interface StatsOrBuilder extends + // @@protoc_insertion_point(interface_extends:MumbleProto.UserStats.Stats) + com.google.protobuf.MessageOrBuilder { - @java.lang.Override - public com.google.protobuf.Parser<UserStats> getParserForType() { - return PARSER; - } - - public interface StatsOrBuilder - extends com.google.protobuf.MessageOrBuilder { - - // optional uint32 good = 1; /** * <code>optional uint32 good = 1;</code> */ @@ -25539,7 +28198,6 @@ public final class Mumble { */ int getGood(); - // optional uint32 late = 2; /** * <code>optional uint32 late = 2;</code> */ @@ -25549,7 +28207,6 @@ public final class Mumble { */ int getLate(); - // optional uint32 lost = 3; /** * <code>optional uint32 lost = 3;</code> */ @@ -25559,7 +28216,6 @@ public final class Mumble { */ int getLost(); - // optional uint32 resync = 4; /** * <code>optional uint32 resync = 4;</code> */ @@ -25572,36 +28228,31 @@ public final class Mumble { /** * Protobuf type {@code MumbleProto.UserStats.Stats} */ - public static final class Stats extends - com.google.protobuf.GeneratedMessage - implements StatsOrBuilder { + public static final class Stats extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MumbleProto.UserStats.Stats) + StatsOrBuilder { // Use Stats.newBuilder() to construct. - private Stats(com.google.protobuf.GeneratedMessage.Builder<?> builder) { + private Stats(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); } - private Stats(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final Stats defaultInstance; - public static Stats getDefaultInstance() { - return defaultInstance; - } - - public Stats getDefaultInstanceForType() { - return defaultInstance; + private Stats() { + good_ = 0; + late_ = 0; + lost_ = 0; + resync_ = 0; } - private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } private Stats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -25646,7 +28297,7 @@ public final class Mumble { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -25657,30 +28308,14 @@ public final class Mumble { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_UserStats_Stats_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_UserStats_Stats_fieldAccessorTable .ensureFieldAccessorsInitialized( com.morlunk.jumble.protobuf.Mumble.UserStats.Stats.class, com.morlunk.jumble.protobuf.Mumble.UserStats.Stats.Builder.class); } - public static com.google.protobuf.Parser<Stats> PARSER = - new com.google.protobuf.AbstractParser<Stats>() { - public Stats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Stats(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser<Stats> getParserForType() { - return PARSER; - } - private int bitField0_; - // optional uint32 good = 1; public static final int GOOD_FIELD_NUMBER = 1; private int good_; /** @@ -25696,7 +28331,6 @@ public final class Mumble { return good_; } - // optional uint32 late = 2; public static final int LATE_FIELD_NUMBER = 2; private int late_; /** @@ -25712,7 +28346,6 @@ public final class Mumble { return late_; } - // optional uint32 lost = 3; public static final int LOST_FIELD_NUMBER = 3; private int lost_; /** @@ -25728,7 +28361,6 @@ public final class Mumble { return lost_; } - // optional uint32 resync = 4; public static final int RESYNC_FIELD_NUMBER = 4; private int resync_; /** @@ -25744,16 +28376,11 @@ public final class Mumble { return resync_; } - private void initFields() { - good_ = 0; - late_ = 0; - lost_ = 0; - resync_ = 0; - } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -25761,7 +28388,6 @@ public final class Mumble { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, good_); } @@ -25774,12 +28400,11 @@ public final class Mumble { if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeUInt32(4, resync_); } - getUnknownFields().writeTo(output); + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; @@ -25799,16 +28424,73 @@ public final class Mumble { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, resync_); } - size += getUnknownFields().getSerializedSize(); - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.morlunk.jumble.protobuf.Mumble.UserStats.Stats)) { + return super.equals(obj); + } + com.morlunk.jumble.protobuf.Mumble.UserStats.Stats other = (com.morlunk.jumble.protobuf.Mumble.UserStats.Stats) obj; + + boolean result = true; + result = result && (hasGood() == other.hasGood()); + if (hasGood()) { + result = result && (getGood() + == other.getGood()); + } + result = result && (hasLate() == other.hasLate()); + if (hasLate()) { + result = result && (getLate() + == other.getLate()); + } + result = result && (hasLost() == other.hasLost()); + if (hasLost()) { + result = result && (getLost() + == other.getLost()); + } + result = result && (hasResync() == other.hasResync()); + if (hasResync()) { + result = result && (getResync() + == other.getResync()); + } + 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 (hasGood()) { + hash = (37 * hash) + GOOD_FIELD_NUMBER; + hash = (53 * hash) + getGood(); + } + if (hasLate()) { + hash = (37 * hash) + LATE_FIELD_NUMBER; + hash = (53 * hash) + getLate(); + } + if (hasLost()) { + hash = (37 * hash) + LOST_FIELD_NUMBER; + hash = (53 * hash) + getLost(); + } + if (hasResync()) { + hash = (37 * hash) + RESYNC_FIELD_NUMBER; + hash = (53 * hash) + getResync(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; } public static com.morlunk.jumble.protobuf.Mumble.UserStats.Stats parseFrom( @@ -25834,46 +28516,57 @@ public final class Mumble { } public static com.morlunk.jumble.protobuf.Mumble.UserStats.Stats parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.UserStats.Stats parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.UserStats.Stats parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.UserStats.Stats parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.UserStats.Stats parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.UserStats.Stats parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(com.morlunk.jumble.protobuf.Mumble.UserStats.Stats prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -25881,14 +28574,15 @@ public final class Mumble { * Protobuf type {@code MumbleProto.UserStats.Stats} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> - implements com.morlunk.jumble.protobuf.Mumble.UserStats.StatsOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:MumbleProto.UserStats.Stats) + com.morlunk.jumble.protobuf.Mumble.UserStats.StatsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_UserStats_Stats_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_UserStats_Stats_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -25901,18 +28595,15 @@ public final class Mumble { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { } } - private static Builder create() { - return new Builder(); - } - public Builder clear() { super.clear(); good_ = 0; @@ -25926,10 +28617,6 @@ public final class Mumble { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_UserStats_Stats_descriptor; @@ -25972,6 +28659,32 @@ public final class Mumble { 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 com.morlunk.jumble.protobuf.Mumble.UserStats.Stats) { return mergeFrom((com.morlunk.jumble.protobuf.Mumble.UserStats.Stats)other); @@ -25995,7 +28708,8 @@ public final class Mumble { if (other.hasResync()) { setResync(other.getResync()); } - this.mergeUnknownFields(other.getUnknownFields()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } @@ -26012,7 +28726,7 @@ public final class Mumble { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.morlunk.jumble.protobuf.Mumble.UserStats.Stats) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -26022,7 +28736,6 @@ public final class Mumble { } private int bitField0_; - // optional uint32 good = 1; private int good_ ; /** * <code>optional uint32 good = 1;</code> @@ -26055,7 +28768,6 @@ public final class Mumble { return this; } - // optional uint32 late = 2; private int late_ ; /** * <code>optional uint32 late = 2;</code> @@ -26088,7 +28800,6 @@ public final class Mumble { return this; } - // optional uint32 lost = 3; private int lost_ ; /** * <code>optional uint32 lost = 3;</code> @@ -26121,7 +28832,6 @@ public final class Mumble { return this; } - // optional uint32 resync = 4; private int resync_ ; /** * <code>optional uint32 resync = 4;</code> @@ -26153,20 +28863,56 @@ public final class Mumble { 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.UserStats.Stats) } + // @@protoc_insertion_point(class_scope:MumbleProto.UserStats.Stats) + private static final com.morlunk.jumble.protobuf.Mumble.UserStats.Stats DEFAULT_INSTANCE; static { - defaultInstance = new Stats(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new com.morlunk.jumble.protobuf.Mumble.UserStats.Stats(); + } + + public static com.morlunk.jumble.protobuf.Mumble.UserStats.Stats getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser<Stats> + PARSER = new com.google.protobuf.AbstractParser<Stats>() { + public Stats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Stats(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<Stats> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<Stats> getParserForType() { + return PARSER; + } + + public com.morlunk.jumble.protobuf.Mumble.UserStats.Stats getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:MumbleProto.UserStats.Stats) } private int bitField0_; - // optional uint32 session = 1; public static final int SESSION_FIELD_NUMBER = 1; private int session_; /** @@ -26182,7 +28928,6 @@ public final class Mumble { return session_; } - // optional bool stats_only = 2 [default = false]; public static final int STATS_ONLY_FIELD_NUMBER = 2; private boolean statsOnly_; /** @@ -26198,7 +28943,6 @@ public final class Mumble { return statsOnly_; } - // repeated bytes certificates = 3; public static final int CERTIFICATES_FIELD_NUMBER = 3; private java.util.List<com.google.protobuf.ByteString> certificates_; /** @@ -26221,7 +28965,6 @@ public final class Mumble { return certificates_.get(index); } - // optional .MumbleProto.UserStats.Stats from_client = 4; public static final int FROM_CLIENT_FIELD_NUMBER = 4; private com.morlunk.jumble.protobuf.Mumble.UserStats.Stats fromClient_; /** @@ -26234,16 +28977,15 @@ public final class Mumble { * <code>optional .MumbleProto.UserStats.Stats from_client = 4;</code> */ public com.morlunk.jumble.protobuf.Mumble.UserStats.Stats getFromClient() { - return fromClient_; + return fromClient_ == null ? com.morlunk.jumble.protobuf.Mumble.UserStats.Stats.getDefaultInstance() : fromClient_; } /** * <code>optional .MumbleProto.UserStats.Stats from_client = 4;</code> */ public com.morlunk.jumble.protobuf.Mumble.UserStats.StatsOrBuilder getFromClientOrBuilder() { - return fromClient_; + return fromClient_ == null ? com.morlunk.jumble.protobuf.Mumble.UserStats.Stats.getDefaultInstance() : fromClient_; } - // optional .MumbleProto.UserStats.Stats from_server = 5; public static final int FROM_SERVER_FIELD_NUMBER = 5; private com.morlunk.jumble.protobuf.Mumble.UserStats.Stats fromServer_; /** @@ -26256,16 +28998,15 @@ public final class Mumble { * <code>optional .MumbleProto.UserStats.Stats from_server = 5;</code> */ public com.morlunk.jumble.protobuf.Mumble.UserStats.Stats getFromServer() { - return fromServer_; + return fromServer_ == null ? com.morlunk.jumble.protobuf.Mumble.UserStats.Stats.getDefaultInstance() : fromServer_; } /** * <code>optional .MumbleProto.UserStats.Stats from_server = 5;</code> */ public com.morlunk.jumble.protobuf.Mumble.UserStats.StatsOrBuilder getFromServerOrBuilder() { - return fromServer_; + return fromServer_ == null ? com.morlunk.jumble.protobuf.Mumble.UserStats.Stats.getDefaultInstance() : fromServer_; } - // optional uint32 udp_packets = 6; public static final int UDP_PACKETS_FIELD_NUMBER = 6; private int udpPackets_; /** @@ -26281,7 +29022,6 @@ public final class Mumble { return udpPackets_; } - // optional uint32 tcp_packets = 7; public static final int TCP_PACKETS_FIELD_NUMBER = 7; private int tcpPackets_; /** @@ -26297,7 +29037,6 @@ public final class Mumble { return tcpPackets_; } - // optional float udp_ping_avg = 8; public static final int UDP_PING_AVG_FIELD_NUMBER = 8; private float udpPingAvg_; /** @@ -26313,7 +29052,6 @@ public final class Mumble { return udpPingAvg_; } - // optional float udp_ping_var = 9; public static final int UDP_PING_VAR_FIELD_NUMBER = 9; private float udpPingVar_; /** @@ -26329,7 +29067,6 @@ public final class Mumble { return udpPingVar_; } - // optional float tcp_ping_avg = 10; public static final int TCP_PING_AVG_FIELD_NUMBER = 10; private float tcpPingAvg_; /** @@ -26345,7 +29082,6 @@ public final class Mumble { return tcpPingAvg_; } - // optional float tcp_ping_var = 11; public static final int TCP_PING_VAR_FIELD_NUMBER = 11; private float tcpPingVar_; /** @@ -26361,7 +29097,6 @@ public final class Mumble { return tcpPingVar_; } - // optional .MumbleProto.Version version = 12; public static final int VERSION_FIELD_NUMBER = 12; private com.morlunk.jumble.protobuf.Mumble.Version version_; /** @@ -26374,16 +29109,15 @@ public final class Mumble { * <code>optional .MumbleProto.Version version = 12;</code> */ public com.morlunk.jumble.protobuf.Mumble.Version getVersion() { - return version_; + return version_ == null ? com.morlunk.jumble.protobuf.Mumble.Version.getDefaultInstance() : version_; } /** * <code>optional .MumbleProto.Version version = 12;</code> */ public com.morlunk.jumble.protobuf.Mumble.VersionOrBuilder getVersionOrBuilder() { - return version_; + return version_ == null ? com.morlunk.jumble.protobuf.Mumble.Version.getDefaultInstance() : version_; } - // repeated int32 celt_versions = 13; public static final int CELT_VERSIONS_FIELD_NUMBER = 13; private java.util.List<java.lang.Integer> celtVersions_; /** @@ -26406,7 +29140,6 @@ public final class Mumble { return celtVersions_.get(index); } - // optional bytes address = 14; public static final int ADDRESS_FIELD_NUMBER = 14; private com.google.protobuf.ByteString address_; /** @@ -26422,7 +29155,6 @@ public final class Mumble { return address_; } - // optional uint32 bandwidth = 15; public static final int BANDWIDTH_FIELD_NUMBER = 15; private int bandwidth_; /** @@ -26438,7 +29170,6 @@ public final class Mumble { return bandwidth_; } - // optional uint32 onlinesecs = 16; public static final int ONLINESECS_FIELD_NUMBER = 16; private int onlinesecs_; /** @@ -26454,7 +29185,6 @@ public final class Mumble { return onlinesecs_; } - // optional uint32 idlesecs = 17; public static final int IDLESECS_FIELD_NUMBER = 17; private int idlesecs_; /** @@ -26470,7 +29200,6 @@ public final class Mumble { return idlesecs_; } - // optional bool strong_certificate = 18 [default = false]; public static final int STRONG_CERTIFICATE_FIELD_NUMBER = 18; private boolean strongCertificate_; /** @@ -26486,7 +29215,6 @@ public final class Mumble { return strongCertificate_; } - // optional bool opus = 19 [default = false]; public static final int OPUS_FIELD_NUMBER = 19; private boolean opus_; /** @@ -26502,31 +29230,11 @@ public final class Mumble { return opus_; } - private void initFields() { - session_ = 0; - statsOnly_ = false; - certificates_ = java.util.Collections.emptyList(); - fromClient_ = com.morlunk.jumble.protobuf.Mumble.UserStats.Stats.getDefaultInstance(); - fromServer_ = com.morlunk.jumble.protobuf.Mumble.UserStats.Stats.getDefaultInstance(); - udpPackets_ = 0; - tcpPackets_ = 0; - udpPingAvg_ = 0F; - udpPingVar_ = 0F; - tcpPingAvg_ = 0F; - tcpPingVar_ = 0F; - version_ = com.morlunk.jumble.protobuf.Mumble.Version.getDefaultInstance(); - celtVersions_ = java.util.Collections.emptyList(); - address_ = com.google.protobuf.ByteString.EMPTY; - bandwidth_ = 0; - onlinesecs_ = 0; - idlesecs_ = 0; - strongCertificate_ = false; - opus_ = false; - } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -26534,7 +29242,6 @@ public final class Mumble { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, session_); } @@ -26545,10 +29252,10 @@ public final class Mumble { output.writeBytes(3, certificates_.get(i)); } if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeMessage(4, fromClient_); + output.writeMessage(4, getFromClient()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeMessage(5, fromServer_); + output.writeMessage(5, getFromServer()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeUInt32(6, udpPackets_); @@ -26569,7 +29276,7 @@ public final class Mumble { output.writeFloat(11, tcpPingVar_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { - output.writeMessage(12, version_); + output.writeMessage(12, getVersion()); } for (int i = 0; i < celtVersions_.size(); i++) { output.writeInt32(13, celtVersions_.get(i)); @@ -26592,12 +29299,11 @@ public final class Mumble { if (((bitField0_ & 0x00010000) == 0x00010000)) { output.writeBool(19, opus_); } - getUnknownFields().writeTo(output); + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; @@ -26620,11 +29326,11 @@ public final class Mumble { } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, fromClient_); + .computeMessageSize(4, getFromClient()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, fromServer_); + .computeMessageSize(5, getFromServer()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream @@ -26652,7 +29358,7 @@ public final class Mumble { } if (((bitField0_ & 0x00000400) == 0x00000400)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, version_); + .computeMessageSize(12, getVersion()); } { int dataSize = 0; @@ -26687,16 +29393,217 @@ public final class Mumble { size += com.google.protobuf.CodedOutputStream .computeBoolSize(19, opus_); } - size += getUnknownFields().getSerializedSize(); - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.morlunk.jumble.protobuf.Mumble.UserStats)) { + return super.equals(obj); + } + com.morlunk.jumble.protobuf.Mumble.UserStats other = (com.morlunk.jumble.protobuf.Mumble.UserStats) obj; + + boolean result = true; + result = result && (hasSession() == other.hasSession()); + if (hasSession()) { + result = result && (getSession() + == other.getSession()); + } + result = result && (hasStatsOnly() == other.hasStatsOnly()); + if (hasStatsOnly()) { + result = result && (getStatsOnly() + == other.getStatsOnly()); + } + result = result && getCertificatesList() + .equals(other.getCertificatesList()); + result = result && (hasFromClient() == other.hasFromClient()); + if (hasFromClient()) { + result = result && getFromClient() + .equals(other.getFromClient()); + } + result = result && (hasFromServer() == other.hasFromServer()); + if (hasFromServer()) { + result = result && getFromServer() + .equals(other.getFromServer()); + } + result = result && (hasUdpPackets() == other.hasUdpPackets()); + if (hasUdpPackets()) { + result = result && (getUdpPackets() + == other.getUdpPackets()); + } + result = result && (hasTcpPackets() == other.hasTcpPackets()); + if (hasTcpPackets()) { + result = result && (getTcpPackets() + == other.getTcpPackets()); + } + result = result && (hasUdpPingAvg() == other.hasUdpPingAvg()); + if (hasUdpPingAvg()) { + result = result && ( + java.lang.Float.floatToIntBits(getUdpPingAvg()) + == java.lang.Float.floatToIntBits( + other.getUdpPingAvg())); + } + result = result && (hasUdpPingVar() == other.hasUdpPingVar()); + if (hasUdpPingVar()) { + result = result && ( + java.lang.Float.floatToIntBits(getUdpPingVar()) + == java.lang.Float.floatToIntBits( + other.getUdpPingVar())); + } + result = result && (hasTcpPingAvg() == other.hasTcpPingAvg()); + if (hasTcpPingAvg()) { + result = result && ( + java.lang.Float.floatToIntBits(getTcpPingAvg()) + == java.lang.Float.floatToIntBits( + other.getTcpPingAvg())); + } + result = result && (hasTcpPingVar() == other.hasTcpPingVar()); + if (hasTcpPingVar()) { + result = result && ( + java.lang.Float.floatToIntBits(getTcpPingVar()) + == java.lang.Float.floatToIntBits( + other.getTcpPingVar())); + } + result = result && (hasVersion() == other.hasVersion()); + if (hasVersion()) { + result = result && getVersion() + .equals(other.getVersion()); + } + result = result && getCeltVersionsList() + .equals(other.getCeltVersionsList()); + result = result && (hasAddress() == other.hasAddress()); + if (hasAddress()) { + result = result && getAddress() + .equals(other.getAddress()); + } + result = result && (hasBandwidth() == other.hasBandwidth()); + if (hasBandwidth()) { + result = result && (getBandwidth() + == other.getBandwidth()); + } + result = result && (hasOnlinesecs() == other.hasOnlinesecs()); + if (hasOnlinesecs()) { + result = result && (getOnlinesecs() + == other.getOnlinesecs()); + } + result = result && (hasIdlesecs() == other.hasIdlesecs()); + if (hasIdlesecs()) { + result = result && (getIdlesecs() + == other.getIdlesecs()); + } + result = result && (hasStrongCertificate() == other.hasStrongCertificate()); + if (hasStrongCertificate()) { + result = result && (getStrongCertificate() + == other.getStrongCertificate()); + } + result = result && (hasOpus() == other.hasOpus()); + if (hasOpus()) { + result = result && (getOpus() + == other.getOpus()); + } + 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 (hasSession()) { + hash = (37 * hash) + SESSION_FIELD_NUMBER; + hash = (53 * hash) + getSession(); + } + if (hasStatsOnly()) { + hash = (37 * hash) + STATS_ONLY_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getStatsOnly()); + } + if (getCertificatesCount() > 0) { + hash = (37 * hash) + CERTIFICATES_FIELD_NUMBER; + hash = (53 * hash) + getCertificatesList().hashCode(); + } + if (hasFromClient()) { + hash = (37 * hash) + FROM_CLIENT_FIELD_NUMBER; + hash = (53 * hash) + getFromClient().hashCode(); + } + if (hasFromServer()) { + hash = (37 * hash) + FROM_SERVER_FIELD_NUMBER; + hash = (53 * hash) + getFromServer().hashCode(); + } + if (hasUdpPackets()) { + hash = (37 * hash) + UDP_PACKETS_FIELD_NUMBER; + hash = (53 * hash) + getUdpPackets(); + } + if (hasTcpPackets()) { + hash = (37 * hash) + TCP_PACKETS_FIELD_NUMBER; + hash = (53 * hash) + getTcpPackets(); + } + if (hasUdpPingAvg()) { + hash = (37 * hash) + UDP_PING_AVG_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getUdpPingAvg()); + } + if (hasUdpPingVar()) { + hash = (37 * hash) + UDP_PING_VAR_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getUdpPingVar()); + } + if (hasTcpPingAvg()) { + hash = (37 * hash) + TCP_PING_AVG_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getTcpPingAvg()); + } + if (hasTcpPingVar()) { + hash = (37 * hash) + TCP_PING_VAR_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getTcpPingVar()); + } + if (hasVersion()) { + hash = (37 * hash) + VERSION_FIELD_NUMBER; + hash = (53 * hash) + getVersion().hashCode(); + } + if (getCeltVersionsCount() > 0) { + hash = (37 * hash) + CELT_VERSIONS_FIELD_NUMBER; + hash = (53 * hash) + getCeltVersionsList().hashCode(); + } + if (hasAddress()) { + hash = (37 * hash) + ADDRESS_FIELD_NUMBER; + hash = (53 * hash) + getAddress().hashCode(); + } + if (hasBandwidth()) { + hash = (37 * hash) + BANDWIDTH_FIELD_NUMBER; + hash = (53 * hash) + getBandwidth(); + } + if (hasOnlinesecs()) { + hash = (37 * hash) + ONLINESECS_FIELD_NUMBER; + hash = (53 * hash) + getOnlinesecs(); + } + if (hasIdlesecs()) { + hash = (37 * hash) + IDLESECS_FIELD_NUMBER; + hash = (53 * hash) + getIdlesecs(); + } + if (hasStrongCertificate()) { + hash = (37 * hash) + STRONG_CERTIFICATE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getStrongCertificate()); + } + if (hasOpus()) { + hash = (37 * hash) + OPUS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getOpus()); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; } public static com.morlunk.jumble.protobuf.Mumble.UserStats parseFrom( @@ -26722,46 +29629,57 @@ public final class Mumble { } public static com.morlunk.jumble.protobuf.Mumble.UserStats parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.UserStats parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.UserStats parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.UserStats parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.UserStats parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.UserStats parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(com.morlunk.jumble.protobuf.Mumble.UserStats prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -26769,14 +29687,15 @@ public final class Mumble { * Protobuf type {@code MumbleProto.UserStats} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> - implements com.morlunk.jumble.protobuf.Mumble.UserStatsOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:MumbleProto.UserStats) + com.morlunk.jumble.protobuf.Mumble.UserStatsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_UserStats_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_UserStats_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -26789,21 +29708,18 @@ public final class Mumble { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getFromClientFieldBuilder(); getFromServerFieldBuilder(); getVersionFieldBuilder(); } } - private static Builder create() { - return new Builder(); - } - public Builder clear() { super.clear(); session_ = 0; @@ -26813,13 +29729,13 @@ public final class Mumble { certificates_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); if (fromClientBuilder_ == null) { - fromClient_ = com.morlunk.jumble.protobuf.Mumble.UserStats.Stats.getDefaultInstance(); + fromClient_ = null; } else { fromClientBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); if (fromServerBuilder_ == null) { - fromServer_ = com.morlunk.jumble.protobuf.Mumble.UserStats.Stats.getDefaultInstance(); + fromServer_ = null; } else { fromServerBuilder_.clear(); } @@ -26837,7 +29753,7 @@ public final class Mumble { tcpPingVar_ = 0F; bitField0_ = (bitField0_ & ~0x00000400); if (versionBuilder_ == null) { - version_ = com.morlunk.jumble.protobuf.Mumble.Version.getDefaultInstance(); + version_ = null; } else { versionBuilder_.clear(); } @@ -26859,10 +29775,6 @@ public final class Mumble { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_UserStats_descriptor; @@ -26979,6 +29891,32 @@ public final class Mumble { 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 com.morlunk.jumble.protobuf.Mumble.UserStats) { return mergeFrom((com.morlunk.jumble.protobuf.Mumble.UserStats)other); @@ -27061,7 +29999,8 @@ public final class Mumble { if (other.hasOpus()) { setOpus(other.getOpus()); } - this.mergeUnknownFields(other.getUnknownFields()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } @@ -27078,7 +30017,7 @@ public final class Mumble { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.morlunk.jumble.protobuf.Mumble.UserStats) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -27088,7 +30027,6 @@ public final class Mumble { } private int bitField0_; - // optional uint32 session = 1; private int session_ ; /** * <code>optional uint32 session = 1;</code> @@ -27121,7 +30059,6 @@ public final class Mumble { return this; } - // optional bool stats_only = 2 [default = false]; private boolean statsOnly_ ; /** * <code>optional bool stats_only = 2 [default = false];</code> @@ -27154,7 +30091,6 @@ public final class Mumble { return this; } - // repeated bytes certificates = 3; private java.util.List<com.google.protobuf.ByteString> certificates_ = java.util.Collections.emptyList(); private void ensureCertificatesIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { @@ -27212,7 +30148,8 @@ public final class Mumble { public Builder addAllCertificates( java.lang.Iterable<? extends com.google.protobuf.ByteString> values) { ensureCertificatesIsMutable(); - super.addAll(values, certificates_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, certificates_); onChanged(); return this; } @@ -27226,9 +30163,8 @@ public final class Mumble { return this; } - // optional .MumbleProto.UserStats.Stats from_client = 4; - private com.morlunk.jumble.protobuf.Mumble.UserStats.Stats fromClient_ = com.morlunk.jumble.protobuf.Mumble.UserStats.Stats.getDefaultInstance(); - private com.google.protobuf.SingleFieldBuilder< + private com.morlunk.jumble.protobuf.Mumble.UserStats.Stats fromClient_ = null; + private com.google.protobuf.SingleFieldBuilderV3< com.morlunk.jumble.protobuf.Mumble.UserStats.Stats, com.morlunk.jumble.protobuf.Mumble.UserStats.Stats.Builder, com.morlunk.jumble.protobuf.Mumble.UserStats.StatsOrBuilder> fromClientBuilder_; /** * <code>optional .MumbleProto.UserStats.Stats from_client = 4;</code> @@ -27241,7 +30177,7 @@ public final class Mumble { */ public com.morlunk.jumble.protobuf.Mumble.UserStats.Stats getFromClient() { if (fromClientBuilder_ == null) { - return fromClient_; + return fromClient_ == null ? com.morlunk.jumble.protobuf.Mumble.UserStats.Stats.getDefaultInstance() : fromClient_; } else { return fromClientBuilder_.getMessage(); } @@ -27282,6 +30218,7 @@ public final class Mumble { public Builder mergeFromClient(com.morlunk.jumble.protobuf.Mumble.UserStats.Stats value) { if (fromClientBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008) && + fromClient_ != null && fromClient_ != com.morlunk.jumble.protobuf.Mumble.UserStats.Stats.getDefaultInstance()) { fromClient_ = com.morlunk.jumble.protobuf.Mumble.UserStats.Stats.newBuilder(fromClient_).mergeFrom(value).buildPartial(); @@ -27300,7 +30237,7 @@ public final class Mumble { */ public Builder clearFromClient() { if (fromClientBuilder_ == null) { - fromClient_ = com.morlunk.jumble.protobuf.Mumble.UserStats.Stats.getDefaultInstance(); + fromClient_ = null; onChanged(); } else { fromClientBuilder_.clear(); @@ -27323,19 +30260,20 @@ public final class Mumble { if (fromClientBuilder_ != null) { return fromClientBuilder_.getMessageOrBuilder(); } else { - return fromClient_; + return fromClient_ == null ? + com.morlunk.jumble.protobuf.Mumble.UserStats.Stats.getDefaultInstance() : fromClient_; } } /** * <code>optional .MumbleProto.UserStats.Stats from_client = 4;</code> */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.morlunk.jumble.protobuf.Mumble.UserStats.Stats, com.morlunk.jumble.protobuf.Mumble.UserStats.Stats.Builder, com.morlunk.jumble.protobuf.Mumble.UserStats.StatsOrBuilder> getFromClientFieldBuilder() { if (fromClientBuilder_ == null) { - fromClientBuilder_ = new com.google.protobuf.SingleFieldBuilder< + fromClientBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.morlunk.jumble.protobuf.Mumble.UserStats.Stats, com.morlunk.jumble.protobuf.Mumble.UserStats.Stats.Builder, com.morlunk.jumble.protobuf.Mumble.UserStats.StatsOrBuilder>( - fromClient_, + getFromClient(), getParentForChildren(), isClean()); fromClient_ = null; @@ -27343,9 +30281,8 @@ public final class Mumble { return fromClientBuilder_; } - // optional .MumbleProto.UserStats.Stats from_server = 5; - private com.morlunk.jumble.protobuf.Mumble.UserStats.Stats fromServer_ = com.morlunk.jumble.protobuf.Mumble.UserStats.Stats.getDefaultInstance(); - private com.google.protobuf.SingleFieldBuilder< + private com.morlunk.jumble.protobuf.Mumble.UserStats.Stats fromServer_ = null; + private com.google.protobuf.SingleFieldBuilderV3< com.morlunk.jumble.protobuf.Mumble.UserStats.Stats, com.morlunk.jumble.protobuf.Mumble.UserStats.Stats.Builder, com.morlunk.jumble.protobuf.Mumble.UserStats.StatsOrBuilder> fromServerBuilder_; /** * <code>optional .MumbleProto.UserStats.Stats from_server = 5;</code> @@ -27358,7 +30295,7 @@ public final class Mumble { */ public com.morlunk.jumble.protobuf.Mumble.UserStats.Stats getFromServer() { if (fromServerBuilder_ == null) { - return fromServer_; + return fromServer_ == null ? com.morlunk.jumble.protobuf.Mumble.UserStats.Stats.getDefaultInstance() : fromServer_; } else { return fromServerBuilder_.getMessage(); } @@ -27399,6 +30336,7 @@ public final class Mumble { public Builder mergeFromServer(com.morlunk.jumble.protobuf.Mumble.UserStats.Stats value) { if (fromServerBuilder_ == null) { if (((bitField0_ & 0x00000010) == 0x00000010) && + fromServer_ != null && fromServer_ != com.morlunk.jumble.protobuf.Mumble.UserStats.Stats.getDefaultInstance()) { fromServer_ = com.morlunk.jumble.protobuf.Mumble.UserStats.Stats.newBuilder(fromServer_).mergeFrom(value).buildPartial(); @@ -27417,7 +30355,7 @@ public final class Mumble { */ public Builder clearFromServer() { if (fromServerBuilder_ == null) { - fromServer_ = com.morlunk.jumble.protobuf.Mumble.UserStats.Stats.getDefaultInstance(); + fromServer_ = null; onChanged(); } else { fromServerBuilder_.clear(); @@ -27440,19 +30378,20 @@ public final class Mumble { if (fromServerBuilder_ != null) { return fromServerBuilder_.getMessageOrBuilder(); } else { - return fromServer_; + return fromServer_ == null ? + com.morlunk.jumble.protobuf.Mumble.UserStats.Stats.getDefaultInstance() : fromServer_; } } /** * <code>optional .MumbleProto.UserStats.Stats from_server = 5;</code> */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.morlunk.jumble.protobuf.Mumble.UserStats.Stats, com.morlunk.jumble.protobuf.Mumble.UserStats.Stats.Builder, com.morlunk.jumble.protobuf.Mumble.UserStats.StatsOrBuilder> getFromServerFieldBuilder() { if (fromServerBuilder_ == null) { - fromServerBuilder_ = new com.google.protobuf.SingleFieldBuilder< + fromServerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.morlunk.jumble.protobuf.Mumble.UserStats.Stats, com.morlunk.jumble.protobuf.Mumble.UserStats.Stats.Builder, com.morlunk.jumble.protobuf.Mumble.UserStats.StatsOrBuilder>( - fromServer_, + getFromServer(), getParentForChildren(), isClean()); fromServer_ = null; @@ -27460,7 +30399,6 @@ public final class Mumble { return fromServerBuilder_; } - // optional uint32 udp_packets = 6; private int udpPackets_ ; /** * <code>optional uint32 udp_packets = 6;</code> @@ -27493,7 +30431,6 @@ public final class Mumble { return this; } - // optional uint32 tcp_packets = 7; private int tcpPackets_ ; /** * <code>optional uint32 tcp_packets = 7;</code> @@ -27526,7 +30463,6 @@ public final class Mumble { return this; } - // optional float udp_ping_avg = 8; private float udpPingAvg_ ; /** * <code>optional float udp_ping_avg = 8;</code> @@ -27559,7 +30495,6 @@ public final class Mumble { return this; } - // optional float udp_ping_var = 9; private float udpPingVar_ ; /** * <code>optional float udp_ping_var = 9;</code> @@ -27592,7 +30527,6 @@ public final class Mumble { return this; } - // optional float tcp_ping_avg = 10; private float tcpPingAvg_ ; /** * <code>optional float tcp_ping_avg = 10;</code> @@ -27625,7 +30559,6 @@ public final class Mumble { return this; } - // optional float tcp_ping_var = 11; private float tcpPingVar_ ; /** * <code>optional float tcp_ping_var = 11;</code> @@ -27658,9 +30591,8 @@ public final class Mumble { return this; } - // optional .MumbleProto.Version version = 12; - private com.morlunk.jumble.protobuf.Mumble.Version version_ = com.morlunk.jumble.protobuf.Mumble.Version.getDefaultInstance(); - private com.google.protobuf.SingleFieldBuilder< + private com.morlunk.jumble.protobuf.Mumble.Version version_ = null; + private com.google.protobuf.SingleFieldBuilderV3< com.morlunk.jumble.protobuf.Mumble.Version, com.morlunk.jumble.protobuf.Mumble.Version.Builder, com.morlunk.jumble.protobuf.Mumble.VersionOrBuilder> versionBuilder_; /** * <code>optional .MumbleProto.Version version = 12;</code> @@ -27673,7 +30605,7 @@ public final class Mumble { */ public com.morlunk.jumble.protobuf.Mumble.Version getVersion() { if (versionBuilder_ == null) { - return version_; + return version_ == null ? com.morlunk.jumble.protobuf.Mumble.Version.getDefaultInstance() : version_; } else { return versionBuilder_.getMessage(); } @@ -27714,6 +30646,7 @@ public final class Mumble { public Builder mergeVersion(com.morlunk.jumble.protobuf.Mumble.Version value) { if (versionBuilder_ == null) { if (((bitField0_ & 0x00000800) == 0x00000800) && + version_ != null && version_ != com.morlunk.jumble.protobuf.Mumble.Version.getDefaultInstance()) { version_ = com.morlunk.jumble.protobuf.Mumble.Version.newBuilder(version_).mergeFrom(value).buildPartial(); @@ -27732,7 +30665,7 @@ public final class Mumble { */ public Builder clearVersion() { if (versionBuilder_ == null) { - version_ = com.morlunk.jumble.protobuf.Mumble.Version.getDefaultInstance(); + version_ = null; onChanged(); } else { versionBuilder_.clear(); @@ -27755,19 +30688,20 @@ public final class Mumble { if (versionBuilder_ != null) { return versionBuilder_.getMessageOrBuilder(); } else { - return version_; + return version_ == null ? + com.morlunk.jumble.protobuf.Mumble.Version.getDefaultInstance() : version_; } } /** * <code>optional .MumbleProto.Version version = 12;</code> */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.morlunk.jumble.protobuf.Mumble.Version, com.morlunk.jumble.protobuf.Mumble.Version.Builder, com.morlunk.jumble.protobuf.Mumble.VersionOrBuilder> getVersionFieldBuilder() { if (versionBuilder_ == null) { - versionBuilder_ = new com.google.protobuf.SingleFieldBuilder< + versionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.morlunk.jumble.protobuf.Mumble.Version, com.morlunk.jumble.protobuf.Mumble.Version.Builder, com.morlunk.jumble.protobuf.Mumble.VersionOrBuilder>( - version_, + getVersion(), getParentForChildren(), isClean()); version_ = null; @@ -27775,7 +30709,6 @@ public final class Mumble { return versionBuilder_; } - // repeated int32 celt_versions = 13; private java.util.List<java.lang.Integer> celtVersions_ = java.util.Collections.emptyList(); private void ensureCeltVersionsIsMutable() { if (!((bitField0_ & 0x00001000) == 0x00001000)) { @@ -27827,7 +30760,8 @@ public final class Mumble { public Builder addAllCeltVersions( java.lang.Iterable<? extends java.lang.Integer> values) { ensureCeltVersionsIsMutable(); - super.addAll(values, celtVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, celtVersions_); onChanged(); return this; } @@ -27841,7 +30775,6 @@ public final class Mumble { return this; } - // optional bytes address = 14; private com.google.protobuf.ByteString address_ = com.google.protobuf.ByteString.EMPTY; /** * <code>optional bytes address = 14;</code> @@ -27877,7 +30810,6 @@ public final class Mumble { return this; } - // optional uint32 bandwidth = 15; private int bandwidth_ ; /** * <code>optional uint32 bandwidth = 15;</code> @@ -27910,7 +30842,6 @@ public final class Mumble { return this; } - // optional uint32 onlinesecs = 16; private int onlinesecs_ ; /** * <code>optional uint32 onlinesecs = 16;</code> @@ -27943,7 +30874,6 @@ public final class Mumble { return this; } - // optional uint32 idlesecs = 17; private int idlesecs_ ; /** * <code>optional uint32 idlesecs = 17;</code> @@ -27976,7 +30906,6 @@ public final class Mumble { return this; } - // optional bool strong_certificate = 18 [default = false]; private boolean strongCertificate_ ; /** * <code>optional bool strong_certificate = 18 [default = false];</code> @@ -28009,7 +30938,6 @@ public final class Mumble { return this; } - // optional bool opus = 19 [default = false]; private boolean opus_ ; /** * <code>optional bool opus = 19 [default = false];</code> @@ -28041,22 +30969,59 @@ public final class Mumble { 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.UserStats) } + // @@protoc_insertion_point(class_scope:MumbleProto.UserStats) + private static final com.morlunk.jumble.protobuf.Mumble.UserStats DEFAULT_INSTANCE; static { - defaultInstance = new UserStats(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new com.morlunk.jumble.protobuf.Mumble.UserStats(); + } + + public static com.morlunk.jumble.protobuf.Mumble.UserStats getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser<UserStats> + PARSER = new com.google.protobuf.AbstractParser<UserStats>() { + public UserStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UserStats(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<UserStats> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<UserStats> getParserForType() { + return PARSER; + } + + public com.morlunk.jumble.protobuf.Mumble.UserStats getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:MumbleProto.UserStats) } - public interface SuggestConfigOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface SuggestConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:MumbleProto.SuggestConfig) + com.google.protobuf.MessageOrBuilder { - // optional uint32 version = 1; /** * <code>optional uint32 version = 1;</code> */ @@ -28066,7 +31031,6 @@ public final class Mumble { */ int getVersion(); - // optional bool positional = 2; /** * <code>optional bool positional = 2;</code> */ @@ -28076,7 +31040,6 @@ public final class Mumble { */ boolean getPositional(); - // optional bool push_to_talk = 3; /** * <code>optional bool push_to_talk = 3;</code> */ @@ -28089,36 +31052,30 @@ public final class Mumble { /** * Protobuf type {@code MumbleProto.SuggestConfig} */ - public static final class SuggestConfig extends - com.google.protobuf.GeneratedMessage - implements SuggestConfigOrBuilder { + public static final class SuggestConfig extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MumbleProto.SuggestConfig) + SuggestConfigOrBuilder { // Use SuggestConfig.newBuilder() to construct. - private SuggestConfig(com.google.protobuf.GeneratedMessage.Builder<?> builder) { + private SuggestConfig(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); - } - private SuggestConfig(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final SuggestConfig defaultInstance; - public static SuggestConfig getDefaultInstance() { - return defaultInstance; } - - public SuggestConfig getDefaultInstanceForType() { - return defaultInstance; + private SuggestConfig() { + version_ = 0; + positional_ = false; + pushToTalk_ = false; } - private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } private SuggestConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -28158,7 +31115,7 @@ public final class Mumble { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -28169,30 +31126,14 @@ public final class Mumble { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_SuggestConfig_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_SuggestConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( com.morlunk.jumble.protobuf.Mumble.SuggestConfig.class, com.morlunk.jumble.protobuf.Mumble.SuggestConfig.Builder.class); } - public static com.google.protobuf.Parser<SuggestConfig> PARSER = - new com.google.protobuf.AbstractParser<SuggestConfig>() { - public SuggestConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SuggestConfig(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser<SuggestConfig> getParserForType() { - return PARSER; - } - private int bitField0_; - // optional uint32 version = 1; public static final int VERSION_FIELD_NUMBER = 1; private int version_; /** @@ -28208,7 +31149,6 @@ public final class Mumble { return version_; } - // optional bool positional = 2; public static final int POSITIONAL_FIELD_NUMBER = 2; private boolean positional_; /** @@ -28224,7 +31164,6 @@ public final class Mumble { return positional_; } - // optional bool push_to_talk = 3; public static final int PUSH_TO_TALK_FIELD_NUMBER = 3; private boolean pushToTalk_; /** @@ -28240,15 +31179,11 @@ public final class Mumble { return pushToTalk_; } - private void initFields() { - version_ = 0; - positional_ = false; - pushToTalk_ = false; - } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -28256,7 +31191,6 @@ public final class Mumble { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, version_); } @@ -28266,12 +31200,11 @@ public final class Mumble { if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(3, pushToTalk_); } - getUnknownFields().writeTo(output); + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; @@ -28287,16 +31220,66 @@ public final class Mumble { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, pushToTalk_); } - size += getUnknownFields().getSerializedSize(); - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.morlunk.jumble.protobuf.Mumble.SuggestConfig)) { + return super.equals(obj); + } + com.morlunk.jumble.protobuf.Mumble.SuggestConfig other = (com.morlunk.jumble.protobuf.Mumble.SuggestConfig) 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; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptorForType().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 com.morlunk.jumble.protobuf.Mumble.SuggestConfig parseFrom( @@ -28322,46 +31305,57 @@ public final class Mumble { } public static com.morlunk.jumble.protobuf.Mumble.SuggestConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.SuggestConfig parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.SuggestConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.SuggestConfig parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.SuggestConfig parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.SuggestConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(com.morlunk.jumble.protobuf.Mumble.SuggestConfig prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -28369,14 +31363,15 @@ public final class Mumble { * Protobuf type {@code MumbleProto.SuggestConfig} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> - implements com.morlunk.jumble.protobuf.Mumble.SuggestConfigOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:MumbleProto.SuggestConfig) + com.morlunk.jumble.protobuf.Mumble.SuggestConfigOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_SuggestConfig_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_SuggestConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -28389,18 +31384,15 @@ public final class Mumble { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { } } - private static Builder create() { - return new Builder(); - } - public Builder clear() { super.clear(); version_ = 0; @@ -28412,10 +31404,6 @@ public final class Mumble { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_SuggestConfig_descriptor; @@ -28454,6 +31442,32 @@ public final class Mumble { 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 com.morlunk.jumble.protobuf.Mumble.SuggestConfig) { return mergeFrom((com.morlunk.jumble.protobuf.Mumble.SuggestConfig)other); @@ -28474,7 +31488,8 @@ public final class Mumble { if (other.hasPushToTalk()) { setPushToTalk(other.getPushToTalk()); } - this.mergeUnknownFields(other.getUnknownFields()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } @@ -28491,7 +31506,7 @@ public final class Mumble { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.morlunk.jumble.protobuf.Mumble.SuggestConfig) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -28501,7 +31516,6 @@ public final class Mumble { } private int bitField0_; - // optional uint32 version = 1; private int version_ ; /** * <code>optional uint32 version = 1;</code> @@ -28534,7 +31548,6 @@ public final class Mumble { return this; } - // optional bool positional = 2; private boolean positional_ ; /** * <code>optional bool positional = 2;</code> @@ -28567,7 +31580,6 @@ public final class Mumble { return this; } - // optional bool push_to_talk = 3; private boolean pushToTalk_ ; /** * <code>optional bool push_to_talk = 3;</code> @@ -28599,22 +31611,59 @@ public final class Mumble { 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.SuggestConfig) } + // @@protoc_insertion_point(class_scope:MumbleProto.SuggestConfig) + private static final com.morlunk.jumble.protobuf.Mumble.SuggestConfig DEFAULT_INSTANCE; static { - defaultInstance = new SuggestConfig(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new com.morlunk.jumble.protobuf.Mumble.SuggestConfig(); + } + + public static com.morlunk.jumble.protobuf.Mumble.SuggestConfig 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( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SuggestConfig(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<SuggestConfig> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<SuggestConfig> getParserForType() { + return PARSER; + } + + public com.morlunk.jumble.protobuf.Mumble.SuggestConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:MumbleProto.SuggestConfig) } - public interface RequestBlobOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface RequestBlobOrBuilder extends + // @@protoc_insertion_point(interface_extends:MumbleProto.RequestBlob) + com.google.protobuf.MessageOrBuilder { - // repeated uint32 session_texture = 1; /** * <code>repeated uint32 session_texture = 1;</code> */ @@ -28628,7 +31677,6 @@ public final class Mumble { */ int getSessionTexture(int index); - // repeated uint32 session_comment = 2; /** * <code>repeated uint32 session_comment = 2;</code> */ @@ -28642,7 +31690,6 @@ public final class Mumble { */ int getSessionComment(int index); - // repeated uint32 channel_description = 3; /** * <code>repeated uint32 channel_description = 3;</code> */ @@ -28659,36 +31706,30 @@ public final class Mumble { /** * Protobuf type {@code MumbleProto.RequestBlob} */ - public static final class RequestBlob extends - com.google.protobuf.GeneratedMessage - implements RequestBlobOrBuilder { + public static final class RequestBlob extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MumbleProto.RequestBlob) + RequestBlobOrBuilder { // Use RequestBlob.newBuilder() to construct. - private RequestBlob(com.google.protobuf.GeneratedMessage.Builder<?> builder) { + private RequestBlob(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); } - private RequestBlob(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final RequestBlob defaultInstance; - public static RequestBlob getDefaultInstance() { - return defaultInstance; - } - - public RequestBlob getDefaultInstanceForType() { - return defaultInstance; + private RequestBlob() { + sessionTexture_ = java.util.Collections.emptyList(); + sessionComment_ = java.util.Collections.emptyList(); + channelDescription_ = java.util.Collections.emptyList(); } - private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } private RequestBlob( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -28776,7 +31817,7 @@ public final class Mumble { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { sessionTexture_ = java.util.Collections.unmodifiableList(sessionTexture_); @@ -28796,29 +31837,13 @@ public final class Mumble { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_RequestBlob_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_RequestBlob_fieldAccessorTable .ensureFieldAccessorsInitialized( com.morlunk.jumble.protobuf.Mumble.RequestBlob.class, com.morlunk.jumble.protobuf.Mumble.RequestBlob.Builder.class); } - public static com.google.protobuf.Parser<RequestBlob> PARSER = - new com.google.protobuf.AbstractParser<RequestBlob>() { - public RequestBlob parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RequestBlob(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser<RequestBlob> getParserForType() { - return PARSER; - } - - // repeated uint32 session_texture = 1; public static final int SESSION_TEXTURE_FIELD_NUMBER = 1; private java.util.List<java.lang.Integer> sessionTexture_; /** @@ -28841,7 +31866,6 @@ public final class Mumble { return sessionTexture_.get(index); } - // repeated uint32 session_comment = 2; public static final int SESSION_COMMENT_FIELD_NUMBER = 2; private java.util.List<java.lang.Integer> sessionComment_; /** @@ -28864,7 +31888,6 @@ public final class Mumble { return sessionComment_.get(index); } - // repeated uint32 channel_description = 3; public static final int CHANNEL_DESCRIPTION_FIELD_NUMBER = 3; private java.util.List<java.lang.Integer> channelDescription_; /** @@ -28887,15 +31910,11 @@ public final class Mumble { return channelDescription_.get(index); } - private void initFields() { - sessionTexture_ = java.util.Collections.emptyList(); - sessionComment_ = java.util.Collections.emptyList(); - channelDescription_ = java.util.Collections.emptyList(); - } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -28903,7 +31922,6 @@ public final class Mumble { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); for (int i = 0; i < sessionTexture_.size(); i++) { output.writeUInt32(1, sessionTexture_.get(i)); } @@ -28913,12 +31931,11 @@ public final class Mumble { for (int i = 0; i < channelDescription_.size(); i++) { output.writeUInt32(3, channelDescription_.get(i)); } - getUnknownFields().writeTo(output); + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; @@ -28949,16 +31966,55 @@ public final class Mumble { size += dataSize; size += 1 * getChannelDescriptionList().size(); } - size += getUnknownFields().getSerializedSize(); - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.morlunk.jumble.protobuf.Mumble.RequestBlob)) { + return super.equals(obj); + } + com.morlunk.jumble.protobuf.Mumble.RequestBlob other = (com.morlunk.jumble.protobuf.Mumble.RequestBlob) 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; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + 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(); + } + if (getSessionCommentCount() > 0) { + hash = (37 * hash) + SESSION_COMMENT_FIELD_NUMBER; + hash = (53 * hash) + getSessionCommentList().hashCode(); + } + 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 com.morlunk.jumble.protobuf.Mumble.RequestBlob parseFrom( @@ -28984,46 +32040,57 @@ public final class Mumble { } public static com.morlunk.jumble.protobuf.Mumble.RequestBlob parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.RequestBlob parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.RequestBlob parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.RequestBlob parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.morlunk.jumble.protobuf.Mumble.RequestBlob parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static com.morlunk.jumble.protobuf.Mumble.RequestBlob parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(com.morlunk.jumble.protobuf.Mumble.RequestBlob prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -29031,14 +32098,15 @@ public final class Mumble { * Protobuf type {@code MumbleProto.RequestBlob} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder<Builder> - implements com.morlunk.jumble.protobuf.Mumble.RequestBlobOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:MumbleProto.RequestBlob) + com.morlunk.jumble.protobuf.Mumble.RequestBlobOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_RequestBlob_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_RequestBlob_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -29051,18 +32119,15 @@ public final class Mumble { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { } } - private static Builder create() { - return new Builder(); - } - public Builder clear() { super.clear(); sessionTexture_ = java.util.Collections.emptyList(); @@ -29074,10 +32139,6 @@ public final class Mumble { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.morlunk.jumble.protobuf.Mumble.internal_static_MumbleProto_RequestBlob_descriptor; @@ -29117,6 +32178,32 @@ public final class Mumble { 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 com.morlunk.jumble.protobuf.Mumble.RequestBlob) { return mergeFrom((com.morlunk.jumble.protobuf.Mumble.RequestBlob)other); @@ -29158,7 +32245,8 @@ public final class Mumble { } onChanged(); } - this.mergeUnknownFields(other.getUnknownFields()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } @@ -29175,7 +32263,7 @@ public final class Mumble { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.morlunk.jumble.protobuf.Mumble.RequestBlob) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -29185,7 +32273,6 @@ public final class Mumble { } private int bitField0_; - // repeated uint32 session_texture = 1; private java.util.List<java.lang.Integer> sessionTexture_ = java.util.Collections.emptyList(); private void ensureSessionTextureIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { @@ -29237,7 +32324,8 @@ public final class Mumble { public Builder addAllSessionTexture( java.lang.Iterable<? extends java.lang.Integer> values) { ensureSessionTextureIsMutable(); - super.addAll(values, sessionTexture_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, sessionTexture_); onChanged(); return this; } @@ -29251,7 +32339,6 @@ public final class Mumble { return this; } - // repeated uint32 session_comment = 2; private java.util.List<java.lang.Integer> sessionComment_ = java.util.Collections.emptyList(); private void ensureSessionCommentIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { @@ -29303,7 +32390,8 @@ public final class Mumble { public Builder addAllSessionComment( java.lang.Iterable<? extends java.lang.Integer> values) { ensureSessionCommentIsMutable(); - super.addAll(values, sessionComment_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, sessionComment_); onChanged(); return this; } @@ -29317,7 +32405,6 @@ public final class Mumble { return this; } - // repeated uint32 channel_description = 3; private java.util.List<java.lang.Integer> channelDescription_ = java.util.Collections.emptyList(); private void ensureChannelDescriptionIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { @@ -29369,7 +32456,8 @@ public final class Mumble { public Builder addAllChannelDescription( java.lang.Iterable<? extends java.lang.Integer> values) { ensureChannelDescriptionIsMutable(); - super.addAll(values, channelDescription_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, channelDescription_); onChanged(); return this; } @@ -29382,184 +32470,221 @@ public final class Mumble { 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.RequestBlob) } + // @@protoc_insertion_point(class_scope:MumbleProto.RequestBlob) + private static final com.morlunk.jumble.protobuf.Mumble.RequestBlob DEFAULT_INSTANCE; static { - defaultInstance = new RequestBlob(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new com.morlunk.jumble.protobuf.Mumble.RequestBlob(); + } + + public static com.morlunk.jumble.protobuf.Mumble.RequestBlob 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( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RequestBlob(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<RequestBlob> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<RequestBlob> getParserForType() { + return PARSER; + } + + public com.morlunk.jumble.protobuf.Mumble.RequestBlob getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:MumbleProto.RequestBlob) } - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_MumbleProto_Version_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_MumbleProto_Version_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_MumbleProto_UDPTunnel_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_MumbleProto_UDPTunnel_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_MumbleProto_Authenticate_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_MumbleProto_Authenticate_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_MumbleProto_Ping_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_MumbleProto_Ping_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_MumbleProto_Reject_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_MumbleProto_Reject_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_MumbleProto_ServerConfig_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_MumbleProto_ServerConfig_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_MumbleProto_ServerSync_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_MumbleProto_ServerSync_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_MumbleProto_ChannelRemove_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_MumbleProto_ChannelRemove_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_MumbleProto_ChannelState_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_MumbleProto_ChannelState_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_MumbleProto_UserRemove_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_MumbleProto_UserRemove_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_MumbleProto_UserState_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_MumbleProto_UserState_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_MumbleProto_BanList_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_MumbleProto_BanList_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_MumbleProto_BanList_BanEntry_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_MumbleProto_BanList_BanEntry_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_MumbleProto_TextMessage_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_MumbleProto_TextMessage_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_MumbleProto_PermissionDenied_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_MumbleProto_PermissionDenied_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_MumbleProto_ACL_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_MumbleProto_ACL_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_MumbleProto_ACL_ChanGroup_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_MumbleProto_ACL_ChanGroup_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_MumbleProto_ACL_ChanACL_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_MumbleProto_ACL_ChanACL_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_MumbleProto_QueryUsers_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_MumbleProto_QueryUsers_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_MumbleProto_CryptSetup_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_MumbleProto_CryptSetup_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_MumbleProto_ContextActionModify_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_MumbleProto_ContextActionModify_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_MumbleProto_ContextAction_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_MumbleProto_ContextAction_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_MumbleProto_UserList_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_MumbleProto_UserList_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_MumbleProto_UserList_User_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_MumbleProto_UserList_User_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_MumbleProto_VoiceTarget_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_MumbleProto_VoiceTarget_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_MumbleProto_VoiceTarget_Target_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_MumbleProto_VoiceTarget_Target_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_MumbleProto_PermissionQuery_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_MumbleProto_PermissionQuery_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_MumbleProto_CodecVersion_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_MumbleProto_CodecVersion_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_MumbleProto_UserStats_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_MumbleProto_UserStats_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_MumbleProto_UserStats_Stats_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_MumbleProto_UserStats_Stats_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_MumbleProto_SuggestConfig_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_MumbleProto_SuggestConfig_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_MumbleProto_RequestBlob_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_MumbleProto_RequestBlob_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } - private static com.google.protobuf.Descriptors.FileDescriptor + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { @@ -29574,310 +32699,310 @@ public final class Mumble { "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\"\367\001\n\006Reject\022,\n\004type" + + "\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\"\256\001\n\nRejectType\022\010\n\004None\020\000\022" + + "\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\022\025\n\021AuthenticatorFail\020\010\"\205\001\n\014Serv" + - "erConfig\022\025\n\rmax_bandwidth\030\001 \001(\r\022\024\n\014welco" + - "me_text\030\002 \001(\t\022\022\n\nallow_html\030\003 \001(\010\022\026\n\016mes", - "sage_length\030\004 \001(\r\022\034\n\024image_message_lengt" + - "h\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\rChannelRemov" + - "e\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\006parent\030\002 \001(\r\022\014\n\004na" + - "me\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\010posit" + - "ion\030\t \001(\005:\0010\022\030\n\020description_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\tUs" + - "erState\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\nchanne" + - "l_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\ts" + - "elf_deaf\030\n \001(\010\022\017\n\007texture\030\013 \001(\014\022\026\n\016plugi" + - "n_context\030\014 \001(\014\022\027\n\017plugin_identity\030\r \001(\t" + - "\022\017\n\007comment\030\016 \001(\t\022\014\n\004hash\030\017 \001(\t\022\024\n\014comme" + - "nt_hash\030\020 \001(\014\022\024\n\014texture_hash\030\021 \001(\014\022\030\n\020p", - "riority_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\005query\030\002 \001(\010:\005false\032" + - "v\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\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\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\020PermissionDenie" + - "d\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\004ty" + - "pe\030\005 \001(\0162&.MumbleProto.PermissionDenied." + - "DenyType\022\014\n\004name\030\006 \001(\t\"\275\001\n\010DenyType\022\010\n\004T" + - "ext\020\000\022\016\n\nPermission\020\001\022\r\n\tSuperUser\020\002\022\017\n\013" + - "ChannelName\020\003\022\017\n\013TextTooLong\020\004\022\007\n\003H9K\020\005\022" + - "\024\n\020TemporaryChannel\020\006\022\026\n\022MissingCertific" + - "ate\020\007\022\014\n\010UserName\020\010\022\017\n\013ChannelFull\020\t\022\020\n\014" + - "NestingLimit\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.ACL.ChanGroup\022&\n\004ac", - "ls\030\004 \003(\0132\030.MumbleProto.ACL.ChanACL\022\024\n\005qu" + - "ery\030\005 \001(\010:\005false\032\234\001\n\tChanGroup\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\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\021inherite" + - "d_members\030\007 \003(\r\032\223\001\n\007ChanACL\022\030\n\napply_her" + - "e\030\001 \001(\010:\004true\022\030\n\napply_subs\030\002 \001(\010:\004true\022" + - "\027\n\tinherited\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\nQueryUsers\022\013\n\003ids\030\001 \003(\r\022\r\n\005name", - "s\030\002 \003(\t\"E\n\nCryptSetup\022\013\n\003key\030\001 \001(\014\022\024\n\014cl" + - "ient_nonce\030\002 \001(\014\022\024\n\014server_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\toperati" + - "on\030\004 \001(\0162*.MumbleProto.ContextActionModi" + - "fy.Operation\",\n\007Context\022\n\n\006Server\020\001\022\013\n\007C" + - "hannel\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\nchannel_id\030\002 \001(\r\022\016\n\006action\030\003 \002" + - "(\t\"\\\n\010UserList\022)\n\005users\030\001 \003(\0132\032.MumblePr", - "oto.UserList.User\032%\n\004User\022\017\n\007user_id\030\001 \002" + - "(\r\022\014\n\004name\030\002 \001(\t\"\270\001\n\013VoiceTarget\022\n\n\002id\030\001" + - " \001(\r\0220\n\007targets\030\002 \003(\0132\037.MumbleProto.Voic" + - "eTarget.Target\032k\n\006Target\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\005" + - "links\030\004 \001(\010:\005false\022\027\n\010children\030\005 \001(\010:\005fa" + - "lse\"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:\005" + - "false\"\\\n\014CodecVersion\022\r\n\005alpha\030\001 \002(\005\022\014\n\004" + - "beta\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\007ses" + - "sion\030\001 \001(\r\022\031\n\nstats_only\030\002 \001(\010:\005false\022\024\n" + - "\014certificates\030\003 \003(\014\0221\n\013from_client\030\004 \001(\013" + - "2\034.MumbleProto.UserStats.Stats\0221\n\013from_s" + - "erver\030\005 \001(\0132\034.MumbleProto.UserStats.Stat" + - "s\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_va" + - "r\030\t \001(\002\022\024\n\014tcp_ping_avg\030\n \001(\002\022\024\n\014tcp_pin" + - "g_var\030\013 \001(\002\022%\n\007version\030\014 \001(\0132\024.MumblePro" + - "to.Version\022\025\n\rcelt_versions\030\r \003(\005\022\017\n\007add", - "ress\030\016 \001(\014\022\021\n\tbandwidth\030\017 \001(\r\022\022\n\nonlines" + - "ecs\030\020 \001(\r\022\020\n\010idlesecs\030\021 \001(\r\022!\n\022strong_ce" + - "rtificate\030\022 \001(\010:\005false\022\023\n\004opus\030\023 \001(\010:\005fa" + - "lse\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\006resync\030\004 \001(\r\"J\n\rSugges" + - "tConfig\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\013RequestBlo" + - "b\022\027\n\017session_texture\030\001 \003(\r\022\027\n\017session_co" + - "mment\030\002 \003(\r\022\033\n\023channel_description\030\003 \003(\r" + - "B\037\n\033com.morlunk.jumble.protobufH\001" + "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\033com.morlunk.jumble." + + "protobufH\001" }; 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; - internal_static_MumbleProto_Version_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_MumbleProto_Version_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_MumbleProto_Version_descriptor, - new java.lang.String[] { "Version", "Release", "Os", "OsVersion", }); - internal_static_MumbleProto_UDPTunnel_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_MumbleProto_UDPTunnel_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_MumbleProto_UDPTunnel_descriptor, - new java.lang.String[] { "Packet", }); - internal_static_MumbleProto_Authenticate_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_MumbleProto_Authenticate_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_MumbleProto_Authenticate_descriptor, - new java.lang.String[] { "Username", "Password", "Tokens", "CeltVersions", "Opus", }); - internal_static_MumbleProto_Ping_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_MumbleProto_Ping_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_MumbleProto_Ping_descriptor, - new java.lang.String[] { "Timestamp", "Good", "Late", "Lost", "Resync", "UdpPackets", "TcpPackets", "UdpPingAvg", "UdpPingVar", "TcpPingAvg", "TcpPingVar", }); - internal_static_MumbleProto_Reject_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_MumbleProto_Reject_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.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.GeneratedMessage.FieldAccessorTable( - internal_static_MumbleProto_ServerConfig_descriptor, - new java.lang.String[] { "MaxBandwidth", "WelcomeText", "AllowHtml", "MessageLength", "ImageMessageLength", }); - internal_static_MumbleProto_ServerSync_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_MumbleProto_ServerSync_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_MumbleProto_ServerSync_descriptor, - new java.lang.String[] { "Session", "MaxBandwidth", "WelcomeText", "Permissions", }); - internal_static_MumbleProto_ChannelRemove_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_MumbleProto_ChannelRemove_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_MumbleProto_ChannelRemove_descriptor, - new java.lang.String[] { "ChannelId", }); - internal_static_MumbleProto_ChannelState_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_MumbleProto_ChannelState_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_MumbleProto_ChannelState_descriptor, - new java.lang.String[] { "ChannelId", "Parent", "Name", "Links", "Description", "LinksAdd", "LinksRemove", "Temporary", "Position", "DescriptionHash", }); - internal_static_MumbleProto_UserRemove_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_MumbleProto_UserRemove_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_MumbleProto_UserRemove_descriptor, - new java.lang.String[] { "Session", "Actor", "Reason", "Ban", }); - internal_static_MumbleProto_UserState_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_MumbleProto_UserState_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.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); - internal_static_MumbleProto_BanList_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_MumbleProto_BanList_descriptor, - new java.lang.String[] { "Bans", "Query", }); - internal_static_MumbleProto_BanList_BanEntry_descriptor = - internal_static_MumbleProto_BanList_descriptor.getNestedTypes().get(0); - internal_static_MumbleProto_BanList_BanEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - 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); - internal_static_MumbleProto_TextMessage_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_MumbleProto_TextMessage_descriptor, - new java.lang.String[] { "Actor", "Session", "ChannelId", "TreeId", "Message", }); - internal_static_MumbleProto_PermissionDenied_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_MumbleProto_PermissionDenied_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.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); - internal_static_MumbleProto_ACL_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_MumbleProto_ACL_descriptor, - new java.lang.String[] { "ChannelId", "InheritAcls", "Groups", "Acls", "Query", }); - internal_static_MumbleProto_ACL_ChanGroup_descriptor = - internal_static_MumbleProto_ACL_descriptor.getNestedTypes().get(0); - internal_static_MumbleProto_ACL_ChanGroup_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_MumbleProto_ACL_ChanGroup_descriptor, - new java.lang.String[] { "Name", "Inherited", "Inherit", "Inheritable", "Add", "Remove", "InheritedMembers", }); - internal_static_MumbleProto_ACL_ChanACL_descriptor = - internal_static_MumbleProto_ACL_descriptor.getNestedTypes().get(1); - internal_static_MumbleProto_ACL_ChanACL_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - 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); - internal_static_MumbleProto_QueryUsers_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_MumbleProto_QueryUsers_descriptor, - new java.lang.String[] { "Ids", "Names", }); - internal_static_MumbleProto_CryptSetup_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_MumbleProto_CryptSetup_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_MumbleProto_CryptSetup_descriptor, - new java.lang.String[] { "Key", "ClientNonce", "ServerNonce", }); - internal_static_MumbleProto_ContextActionModify_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_MumbleProto_ContextActionModify_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_MumbleProto_ContextActionModify_descriptor, - new java.lang.String[] { "Action", "Text", "Context", "Operation", }); - internal_static_MumbleProto_ContextAction_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_MumbleProto_ContextAction_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_MumbleProto_ContextAction_descriptor, - new java.lang.String[] { "Session", "ChannelId", "Action", }); - internal_static_MumbleProto_UserList_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_MumbleProto_UserList_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_MumbleProto_UserList_descriptor, - new java.lang.String[] { "Users", }); - internal_static_MumbleProto_UserList_User_descriptor = - internal_static_MumbleProto_UserList_descriptor.getNestedTypes().get(0); - internal_static_MumbleProto_UserList_User_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_MumbleProto_UserList_User_descriptor, - new java.lang.String[] { "UserId", "Name", }); - internal_static_MumbleProto_VoiceTarget_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_MumbleProto_VoiceTarget_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_MumbleProto_VoiceTarget_descriptor, - new java.lang.String[] { "Id", "Targets", }); - internal_static_MumbleProto_VoiceTarget_Target_descriptor = - internal_static_MumbleProto_VoiceTarget_descriptor.getNestedTypes().get(0); - internal_static_MumbleProto_VoiceTarget_Target_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_MumbleProto_VoiceTarget_Target_descriptor, - new java.lang.String[] { "Session", "ChannelId", "Group", "Links", "Children", }); - internal_static_MumbleProto_PermissionQuery_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_MumbleProto_PermissionQuery_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_MumbleProto_PermissionQuery_descriptor, - new java.lang.String[] { "ChannelId", "Permissions", "Flush", }); - internal_static_MumbleProto_CodecVersion_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_MumbleProto_CodecVersion_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_MumbleProto_CodecVersion_descriptor, - new java.lang.String[] { "Alpha", "Beta", "PreferAlpha", "Opus", }); - internal_static_MumbleProto_UserStats_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_MumbleProto_UserStats_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_MumbleProto_UserStats_descriptor, - new java.lang.String[] { "Session", "StatsOnly", "Certificates", "FromClient", "FromServer", "UdpPackets", "TcpPackets", "UdpPingAvg", "UdpPingVar", "TcpPingAvg", "TcpPingVar", "Version", "CeltVersions", "Address", "Bandwidth", "Onlinesecs", "Idlesecs", "StrongCertificate", "Opus", }); - internal_static_MumbleProto_UserStats_Stats_descriptor = - internal_static_MumbleProto_UserStats_descriptor.getNestedTypes().get(0); - internal_static_MumbleProto_UserStats_Stats_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.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.GeneratedMessage.FieldAccessorTable( - internal_static_MumbleProto_SuggestConfig_descriptor, - new java.lang.String[] { "Version", "Positional", "PushToTalk", }); - internal_static_MumbleProto_RequestBlob_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_MumbleProto_RequestBlob_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_MumbleProto_RequestBlob_descriptor, - new java.lang.String[] { "SessionTexture", "SessionComment", "ChannelDescription", }); - return null; - } - }; + 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 .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }, assigner); + internal_static_MumbleProto_Version_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_MumbleProto_Version_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_MumbleProto_Version_descriptor, + new java.lang.String[] { "Version", "Release", "Os", "OsVersion", }); + internal_static_MumbleProto_UDPTunnel_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_MumbleProto_UDPTunnel_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_MumbleProto_UDPTunnel_descriptor, + new java.lang.String[] { "Packet", }); + internal_static_MumbleProto_Authenticate_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_MumbleProto_Authenticate_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_MumbleProto_Authenticate_descriptor, + new java.lang.String[] { "Username", "Password", "Tokens", "CeltVersions", "Opus", }); + internal_static_MumbleProto_Ping_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_MumbleProto_Ping_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_MumbleProto_Ping_descriptor, + new java.lang.String[] { "Timestamp", "Good", "Late", "Lost", "Resync", "UdpPackets", "TcpPackets", "UdpPingAvg", "UdpPingVar", "TcpPingAvg", "TcpPingVar", }); + internal_static_MumbleProto_Reject_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_MumbleProto_Reject_fieldAccessorTable = new + 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); + 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); + 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); + 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", }); + internal_static_MumbleProto_UserRemove_descriptor = + getDescriptor().getMessageTypes().get(9); + 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); + 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); + internal_static_MumbleProto_BanList_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_MumbleProto_BanList_descriptor, + new java.lang.String[] { "Bans", "Query", }); + internal_static_MumbleProto_BanList_BanEntry_descriptor = + internal_static_MumbleProto_BanList_descriptor.getNestedTypes().get(0); + internal_static_MumbleProto_BanList_BanEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + 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); + 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); + 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); + internal_static_MumbleProto_ACL_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_MumbleProto_ACL_descriptor, + new java.lang.String[] { "ChannelId", "InheritAcls", "Groups", "Acls", "Query", }); + internal_static_MumbleProto_ACL_ChanGroup_descriptor = + internal_static_MumbleProto_ACL_descriptor.getNestedTypes().get(0); + internal_static_MumbleProto_ACL_ChanGroup_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_MumbleProto_ACL_ChanGroup_descriptor, + new java.lang.String[] { "Name", "Inherited", "Inherit", "Inheritable", "Add", "Remove", "InheritedMembers", }); + internal_static_MumbleProto_ACL_ChanACL_descriptor = + internal_static_MumbleProto_ACL_descriptor.getNestedTypes().get(1); + internal_static_MumbleProto_ACL_ChanACL_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + 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); + 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); + 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); + 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); + 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); + internal_static_MumbleProto_UserList_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_MumbleProto_UserList_descriptor, + new java.lang.String[] { "Users", }); + internal_static_MumbleProto_UserList_User_descriptor = + internal_static_MumbleProto_UserList_descriptor.getNestedTypes().get(0); + internal_static_MumbleProto_UserList_User_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_MumbleProto_UserList_User_descriptor, + new java.lang.String[] { "UserId", "Name", }); + internal_static_MumbleProto_VoiceTarget_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_MumbleProto_VoiceTarget_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_MumbleProto_VoiceTarget_descriptor, + new java.lang.String[] { "Id", "Targets", }); + internal_static_MumbleProto_VoiceTarget_Target_descriptor = + internal_static_MumbleProto_VoiceTarget_descriptor.getNestedTypes().get(0); + internal_static_MumbleProto_VoiceTarget_Target_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_MumbleProto_VoiceTarget_Target_descriptor, + new java.lang.String[] { "Session", "ChannelId", "Group", "Links", "Children", }); + internal_static_MumbleProto_PermissionQuery_descriptor = + getDescriptor().getMessageTypes().get(21); + 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); + 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); + internal_static_MumbleProto_UserStats_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_MumbleProto_UserStats_descriptor, + new java.lang.String[] { "Session", "StatsOnly", "Certificates", "FromClient", "FromServer", "UdpPackets", "TcpPackets", "UdpPingAvg", "UdpPingVar", "TcpPingAvg", "TcpPingVar", "Version", "CeltVersions", "Address", "Bandwidth", "Onlinesecs", "Idlesecs", "StrongCertificate", "Opus", }); + internal_static_MumbleProto_UserStats_Stats_descriptor = + internal_static_MumbleProto_UserStats_descriptor.getNestedTypes().get(0); + internal_static_MumbleProto_UserStats_Stats_fieldAccessorTable = new + 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); + internal_static_MumbleProto_RequestBlob_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_MumbleProto_RequestBlob_descriptor, + new java.lang.String[] { "SessionTexture", "SessionComment", "ChannelDescription", }); } // @@protoc_insertion_point(outer_class_scope) |