skadistats.clarity.wire.s1.proto.S1UserMessages Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clarity-protobuf Show documentation
Show all versions of clarity-protobuf Show documentation
Clarity is an open source replay parser for Dota 2 and CSGO 1 and 2 written in Java. This JAR contains the protobuf classes for clarity.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: s1_usermessages.proto
package skadistats.clarity.wire.s1.proto;
public final class S1UserMessages {
private S1UserMessages() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
/**
* Protobuf enum {@code EBaseUserMessages}
*/
public enum EBaseUserMessages
implements com.google.protobuf.ProtocolMessageEnum {
/**
* UM_AchievementEvent = 1;
*/
UM_AchievementEvent(0, 1),
/**
* UM_CloseCaption = 2;
*/
UM_CloseCaption(1, 2),
/**
* UM_CloseCaptionDirect = 3;
*/
UM_CloseCaptionDirect(2, 3),
/**
* UM_CurrentTimescale = 4;
*/
UM_CurrentTimescale(3, 4),
/**
* UM_DesiredTimescale = 5;
*/
UM_DesiredTimescale(4, 5),
/**
* UM_Fade = 6;
*/
UM_Fade(5, 6),
/**
* UM_GameTitle = 7;
*/
UM_GameTitle(6, 7),
/**
* UM_Geiger = 8;
*/
UM_Geiger(7, 8),
/**
* UM_HintText = 9;
*/
UM_HintText(8, 9),
/**
* UM_HudMsg = 10;
*/
UM_HudMsg(9, 10),
/**
* UM_HudText = 11;
*/
UM_HudText(10, 11),
/**
* UM_KeyHintText = 12;
*/
UM_KeyHintText(11, 12),
/**
* UM_MessageText = 13;
*/
UM_MessageText(12, 13),
/**
* UM_RequestState = 14;
*/
UM_RequestState(13, 14),
/**
* UM_ResetHUD = 15;
*/
UM_ResetHUD(14, 15),
/**
* UM_Rumble = 16;
*/
UM_Rumble(15, 16),
/**
* UM_SayText = 17;
*/
UM_SayText(16, 17),
/**
* UM_SayText2 = 18;
*/
UM_SayText2(17, 18),
/**
* UM_SayTextChannel = 19;
*/
UM_SayTextChannel(18, 19),
/**
* UM_Shake = 20;
*/
UM_Shake(19, 20),
/**
* UM_ShakeDir = 21;
*/
UM_ShakeDir(20, 21),
/**
* UM_StatsCrawlMsg = 22;
*/
UM_StatsCrawlMsg(21, 22),
/**
* UM_StatsSkipState = 23;
*/
UM_StatsSkipState(22, 23),
/**
* UM_TextMsg = 24;
*/
UM_TextMsg(23, 24),
/**
* UM_Tilt = 25;
*/
UM_Tilt(24, 25),
/**
* UM_Train = 26;
*/
UM_Train(25, 26),
/**
* UM_VGUIMenu = 27;
*/
UM_VGUIMenu(26, 27),
/**
* UM_VoiceMask = 28;
*/
UM_VoiceMask(27, 28),
/**
* UM_VoiceSubtitle = 29;
*/
UM_VoiceSubtitle(28, 29),
/**
* UM_SendAudio = 30;
*/
UM_SendAudio(29, 30),
/**
* UM_CameraTransition = 31;
*/
UM_CameraTransition(30, 31),
/**
* UM_MAX_BASE = 63;
*/
UM_MAX_BASE(31, 63),
;
/**
* UM_AchievementEvent = 1;
*/
public static final int UM_AchievementEvent_VALUE = 1;
/**
* UM_CloseCaption = 2;
*/
public static final int UM_CloseCaption_VALUE = 2;
/**
* UM_CloseCaptionDirect = 3;
*/
public static final int UM_CloseCaptionDirect_VALUE = 3;
/**
* UM_CurrentTimescale = 4;
*/
public static final int UM_CurrentTimescale_VALUE = 4;
/**
* UM_DesiredTimescale = 5;
*/
public static final int UM_DesiredTimescale_VALUE = 5;
/**
* UM_Fade = 6;
*/
public static final int UM_Fade_VALUE = 6;
/**
* UM_GameTitle = 7;
*/
public static final int UM_GameTitle_VALUE = 7;
/**
* UM_Geiger = 8;
*/
public static final int UM_Geiger_VALUE = 8;
/**
* UM_HintText = 9;
*/
public static final int UM_HintText_VALUE = 9;
/**
* UM_HudMsg = 10;
*/
public static final int UM_HudMsg_VALUE = 10;
/**
* UM_HudText = 11;
*/
public static final int UM_HudText_VALUE = 11;
/**
* UM_KeyHintText = 12;
*/
public static final int UM_KeyHintText_VALUE = 12;
/**
* UM_MessageText = 13;
*/
public static final int UM_MessageText_VALUE = 13;
/**
* UM_RequestState = 14;
*/
public static final int UM_RequestState_VALUE = 14;
/**
* UM_ResetHUD = 15;
*/
public static final int UM_ResetHUD_VALUE = 15;
/**
* UM_Rumble = 16;
*/
public static final int UM_Rumble_VALUE = 16;
/**
* UM_SayText = 17;
*/
public static final int UM_SayText_VALUE = 17;
/**
* UM_SayText2 = 18;
*/
public static final int UM_SayText2_VALUE = 18;
/**
* UM_SayTextChannel = 19;
*/
public static final int UM_SayTextChannel_VALUE = 19;
/**
* UM_Shake = 20;
*/
public static final int UM_Shake_VALUE = 20;
/**
* UM_ShakeDir = 21;
*/
public static final int UM_ShakeDir_VALUE = 21;
/**
* UM_StatsCrawlMsg = 22;
*/
public static final int UM_StatsCrawlMsg_VALUE = 22;
/**
* UM_StatsSkipState = 23;
*/
public static final int UM_StatsSkipState_VALUE = 23;
/**
* UM_TextMsg = 24;
*/
public static final int UM_TextMsg_VALUE = 24;
/**
* UM_Tilt = 25;
*/
public static final int UM_Tilt_VALUE = 25;
/**
* UM_Train = 26;
*/
public static final int UM_Train_VALUE = 26;
/**
* UM_VGUIMenu = 27;
*/
public static final int UM_VGUIMenu_VALUE = 27;
/**
* UM_VoiceMask = 28;
*/
public static final int UM_VoiceMask_VALUE = 28;
/**
* UM_VoiceSubtitle = 29;
*/
public static final int UM_VoiceSubtitle_VALUE = 29;
/**
* UM_SendAudio = 30;
*/
public static final int UM_SendAudio_VALUE = 30;
/**
* UM_CameraTransition = 31;
*/
public static final int UM_CameraTransition_VALUE = 31;
/**
* UM_MAX_BASE = 63;
*/
public static final int UM_MAX_BASE_VALUE = 63;
public final int getNumber() { return value; }
public static EBaseUserMessages valueOf(int value) {
switch (value) {
case 1: return UM_AchievementEvent;
case 2: return UM_CloseCaption;
case 3: return UM_CloseCaptionDirect;
case 4: return UM_CurrentTimescale;
case 5: return UM_DesiredTimescale;
case 6: return UM_Fade;
case 7: return UM_GameTitle;
case 8: return UM_Geiger;
case 9: return UM_HintText;
case 10: return UM_HudMsg;
case 11: return UM_HudText;
case 12: return UM_KeyHintText;
case 13: return UM_MessageText;
case 14: return UM_RequestState;
case 15: return UM_ResetHUD;
case 16: return UM_Rumble;
case 17: return UM_SayText;
case 18: return UM_SayText2;
case 19: return UM_SayTextChannel;
case 20: return UM_Shake;
case 21: return UM_ShakeDir;
case 22: return UM_StatsCrawlMsg;
case 23: return UM_StatsSkipState;
case 24: return UM_TextMsg;
case 25: return UM_Tilt;
case 26: return UM_Train;
case 27: return UM_VGUIMenu;
case 28: return UM_VoiceMask;
case 29: return UM_VoiceSubtitle;
case 30: return UM_SendAudio;
case 31: return UM_CameraTransition;
case 63: return UM_MAX_BASE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static com.google.protobuf.Internal.EnumLiteMap
internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public EBaseUserMessages findValueByNumber(int number) {
return EBaseUserMessages.valueOf(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(index);
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.getDescriptor().getEnumTypes().get(0);
}
private static final EBaseUserMessages[] VALUES = values();
public static EBaseUserMessages valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int index;
private final int value;
private EBaseUserMessages(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:EBaseUserMessages)
}
public interface CUserMsg_SayText2OrBuilder extends
// @@protoc_insertion_point(interface_extends:CUserMsg_SayText2)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 client = 1;
*/
boolean hasClient();
/**
* optional uint32 client = 1;
*/
int getClient();
/**
* optional bool chat = 2;
*/
boolean hasChat();
/**
* optional bool chat = 2;
*/
boolean getChat();
/**
* optional string format = 3;
*/
boolean hasFormat();
/**
* optional string format = 3;
*/
java.lang.String getFormat();
/**
* optional string format = 3;
*/
com.google.protobuf.ByteString
getFormatBytes();
/**
* optional string prefix = 4;
*/
boolean hasPrefix();
/**
* optional string prefix = 4;
*/
java.lang.String getPrefix();
/**
* optional string prefix = 4;
*/
com.google.protobuf.ByteString
getPrefixBytes();
/**
* optional string text = 5;
*/
boolean hasText();
/**
* optional string text = 5;
*/
java.lang.String getText();
/**
* optional string text = 5;
*/
com.google.protobuf.ByteString
getTextBytes();
/**
* optional string location = 6;
*/
boolean hasLocation();
/**
* optional string location = 6;
*/
java.lang.String getLocation();
/**
* optional string location = 6;
*/
com.google.protobuf.ByteString
getLocationBytes();
}
/**
* Protobuf type {@code CUserMsg_SayText2}
*/
public static final class CUserMsg_SayText2 extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CUserMsg_SayText2)
CUserMsg_SayText2OrBuilder {
// Use CUserMsg_SayText2.newBuilder() to construct.
private CUserMsg_SayText2(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CUserMsg_SayText2(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CUserMsg_SayText2 defaultInstance;
public static CUserMsg_SayText2 getDefaultInstance() {
return defaultInstance;
}
public CUserMsg_SayText2 getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CUserMsg_SayText2(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
client_ = input.readUInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
chat_ = input.readBool();
break;
}
case 26: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000004;
format_ = bs;
break;
}
case 34: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000008;
prefix_ = bs;
break;
}
case 42: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000010;
text_ = bs;
break;
}
case 50: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000020;
location_ = bs;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.internal_static_CUserMsg_SayText2_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.internal_static_CUserMsg_SayText2_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SayText2.class, skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SayText2.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CUserMsg_SayText2 parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CUserMsg_SayText2(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int CLIENT_FIELD_NUMBER = 1;
private int client_;
/**
* optional uint32 client = 1;
*/
public boolean hasClient() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 client = 1;
*/
public int getClient() {
return client_;
}
public static final int CHAT_FIELD_NUMBER = 2;
private boolean chat_;
/**
* optional bool chat = 2;
*/
public boolean hasChat() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional bool chat = 2;
*/
public boolean getChat() {
return chat_;
}
public static final int FORMAT_FIELD_NUMBER = 3;
private java.lang.Object format_;
/**
* optional string format = 3;
*/
public boolean hasFormat() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string format = 3;
*/
public java.lang.String getFormat() {
java.lang.Object ref = format_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
format_ = s;
}
return s;
}
}
/**
* optional string format = 3;
*/
public com.google.protobuf.ByteString
getFormatBytes() {
java.lang.Object ref = format_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
format_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PREFIX_FIELD_NUMBER = 4;
private java.lang.Object prefix_;
/**
* optional string prefix = 4;
*/
public boolean hasPrefix() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional string prefix = 4;
*/
public java.lang.String getPrefix() {
java.lang.Object ref = prefix_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
prefix_ = s;
}
return s;
}
}
/**
* optional string prefix = 4;
*/
public com.google.protobuf.ByteString
getPrefixBytes() {
java.lang.Object ref = prefix_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
prefix_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TEXT_FIELD_NUMBER = 5;
private java.lang.Object text_;
/**
* optional string text = 5;
*/
public boolean hasText() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional string text = 5;
*/
public java.lang.String getText() {
java.lang.Object ref = text_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
text_ = s;
}
return s;
}
}
/**
* optional string text = 5;
*/
public com.google.protobuf.ByteString
getTextBytes() {
java.lang.Object ref = text_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
text_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LOCATION_FIELD_NUMBER = 6;
private java.lang.Object location_;
/**
* optional string location = 6;
*/
public boolean hasLocation() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional string location = 6;
*/
public java.lang.String getLocation() {
java.lang.Object ref = location_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
location_ = s;
}
return s;
}
}
/**
* optional string location = 6;
*/
public com.google.protobuf.ByteString
getLocationBytes() {
java.lang.Object ref = location_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
location_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
client_ = 0;
chat_ = false;
format_ = "";
prefix_ = "";
text_ = "";
location_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeUInt32(1, client_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBool(2, chat_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBytes(3, getFormatBytes());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeBytes(4, getPrefixBytes());
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeBytes(5, getTextBytes());
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeBytes(6, getLocationBytes());
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, client_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, chat_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, getFormatBytes());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(4, getPrefixBytes());
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(5, getTextBytes());
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(6, getLocationBytes());
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = 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 static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SayText2 parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SayText2 parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SayText2 parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SayText2 parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SayText2 parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SayText2 parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SayText2 parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SayText2 parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SayText2 parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SayText2 parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SayText2 prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CUserMsg_SayText2}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CUserMsg_SayText2)
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SayText2OrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.internal_static_CUserMsg_SayText2_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.internal_static_CUserMsg_SayText2_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SayText2.class, skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SayText2.Builder.class);
}
// Construct using skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SayText2.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
client_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
chat_ = false;
bitField0_ = (bitField0_ & ~0x00000002);
format_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
prefix_ = "";
bitField0_ = (bitField0_ & ~0x00000008);
text_ = "";
bitField0_ = (bitField0_ & ~0x00000010);
location_ = "";
bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.internal_static_CUserMsg_SayText2_descriptor;
}
public skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SayText2 getDefaultInstanceForType() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SayText2.getDefaultInstance();
}
public skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SayText2 build() {
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SayText2 result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SayText2 buildPartial() {
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SayText2 result = new skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SayText2(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.client_ = client_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.chat_ = chat_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.format_ = format_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.prefix_ = prefix_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.text_ = text_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.location_ = location_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SayText2) {
return mergeFrom((skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SayText2)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SayText2 other) {
if (other == skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SayText2.getDefaultInstance()) return this;
if (other.hasClient()) {
setClient(other.getClient());
}
if (other.hasChat()) {
setChat(other.getChat());
}
if (other.hasFormat()) {
bitField0_ |= 0x00000004;
format_ = other.format_;
onChanged();
}
if (other.hasPrefix()) {
bitField0_ |= 0x00000008;
prefix_ = other.prefix_;
onChanged();
}
if (other.hasText()) {
bitField0_ |= 0x00000010;
text_ = other.text_;
onChanged();
}
if (other.hasLocation()) {
bitField0_ |= 0x00000020;
location_ = other.location_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SayText2 parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SayText2) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int client_ ;
/**
* optional uint32 client = 1;
*/
public boolean hasClient() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 client = 1;
*/
public int getClient() {
return client_;
}
/**
* optional uint32 client = 1;
*/
public Builder setClient(int value) {
bitField0_ |= 0x00000001;
client_ = value;
onChanged();
return this;
}
/**
* optional uint32 client = 1;
*/
public Builder clearClient() {
bitField0_ = (bitField0_ & ~0x00000001);
client_ = 0;
onChanged();
return this;
}
private boolean chat_ ;
/**
* optional bool chat = 2;
*/
public boolean hasChat() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional bool chat = 2;
*/
public boolean getChat() {
return chat_;
}
/**
* optional bool chat = 2;
*/
public Builder setChat(boolean value) {
bitField0_ |= 0x00000002;
chat_ = value;
onChanged();
return this;
}
/**
* optional bool chat = 2;
*/
public Builder clearChat() {
bitField0_ = (bitField0_ & ~0x00000002);
chat_ = false;
onChanged();
return this;
}
private java.lang.Object format_ = "";
/**
* optional string format = 3;
*/
public boolean hasFormat() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string format = 3;
*/
public java.lang.String getFormat() {
java.lang.Object ref = format_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
format_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string format = 3;
*/
public com.google.protobuf.ByteString
getFormatBytes() {
java.lang.Object ref = format_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
format_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string format = 3;
*/
public Builder setFormat(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
format_ = value;
onChanged();
return this;
}
/**
* optional string format = 3;
*/
public Builder clearFormat() {
bitField0_ = (bitField0_ & ~0x00000004);
format_ = getDefaultInstance().getFormat();
onChanged();
return this;
}
/**
* optional string format = 3;
*/
public Builder setFormatBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
format_ = value;
onChanged();
return this;
}
private java.lang.Object prefix_ = "";
/**
* optional string prefix = 4;
*/
public boolean hasPrefix() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional string prefix = 4;
*/
public java.lang.String getPrefix() {
java.lang.Object ref = prefix_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
prefix_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string prefix = 4;
*/
public com.google.protobuf.ByteString
getPrefixBytes() {
java.lang.Object ref = prefix_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
prefix_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string prefix = 4;
*/
public Builder setPrefix(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
prefix_ = value;
onChanged();
return this;
}
/**
* optional string prefix = 4;
*/
public Builder clearPrefix() {
bitField0_ = (bitField0_ & ~0x00000008);
prefix_ = getDefaultInstance().getPrefix();
onChanged();
return this;
}
/**
* optional string prefix = 4;
*/
public Builder setPrefixBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
prefix_ = value;
onChanged();
return this;
}
private java.lang.Object text_ = "";
/**
* optional string text = 5;
*/
public boolean hasText() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional string text = 5;
*/
public java.lang.String getText() {
java.lang.Object ref = text_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
text_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string text = 5;
*/
public com.google.protobuf.ByteString
getTextBytes() {
java.lang.Object ref = text_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
text_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string text = 5;
*/
public Builder setText(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
text_ = value;
onChanged();
return this;
}
/**
* optional string text = 5;
*/
public Builder clearText() {
bitField0_ = (bitField0_ & ~0x00000010);
text_ = getDefaultInstance().getText();
onChanged();
return this;
}
/**
* optional string text = 5;
*/
public Builder setTextBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
text_ = value;
onChanged();
return this;
}
private java.lang.Object location_ = "";
/**
* optional string location = 6;
*/
public boolean hasLocation() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional string location = 6;
*/
public java.lang.String getLocation() {
java.lang.Object ref = location_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
location_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string location = 6;
*/
public com.google.protobuf.ByteString
getLocationBytes() {
java.lang.Object ref = location_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
location_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string location = 6;
*/
public Builder setLocation(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
location_ = value;
onChanged();
return this;
}
/**
* optional string location = 6;
*/
public Builder clearLocation() {
bitField0_ = (bitField0_ & ~0x00000020);
location_ = getDefaultInstance().getLocation();
onChanged();
return this;
}
/**
* optional string location = 6;
*/
public Builder setLocationBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
location_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CUserMsg_SayText2)
}
static {
defaultInstance = new CUserMsg_SayText2(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CUserMsg_SayText2)
}
public interface CUserMsg_TextMsgOrBuilder extends
// @@protoc_insertion_point(interface_extends:CUserMsg_TextMsg)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 dest = 1;
*/
boolean hasDest();
/**
* optional uint32 dest = 1;
*/
int getDest();
/**
* repeated string param = 2;
*/
com.google.protobuf.ProtocolStringList
getParamList();
/**
* repeated string param = 2;
*/
int getParamCount();
/**
* repeated string param = 2;
*/
java.lang.String getParam(int index);
/**
* repeated string param = 2;
*/
com.google.protobuf.ByteString
getParamBytes(int index);
}
/**
* Protobuf type {@code CUserMsg_TextMsg}
*/
public static final class CUserMsg_TextMsg extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CUserMsg_TextMsg)
CUserMsg_TextMsgOrBuilder {
// Use CUserMsg_TextMsg.newBuilder() to construct.
private CUserMsg_TextMsg(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CUserMsg_TextMsg(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CUserMsg_TextMsg defaultInstance;
public static CUserMsg_TextMsg getDefaultInstance() {
return defaultInstance;
}
public CUserMsg_TextMsg getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CUserMsg_TextMsg(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
dest_ = input.readUInt32();
break;
}
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
param_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000002;
}
param_.add(bs);
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
param_ = param_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.internal_static_CUserMsg_TextMsg_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.internal_static_CUserMsg_TextMsg_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_TextMsg.class, skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_TextMsg.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CUserMsg_TextMsg parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CUserMsg_TextMsg(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int DEST_FIELD_NUMBER = 1;
private int dest_;
/**
* optional uint32 dest = 1;
*/
public boolean hasDest() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 dest = 1;
*/
public int getDest() {
return dest_;
}
public static final int PARAM_FIELD_NUMBER = 2;
private com.google.protobuf.LazyStringList param_;
/**
* repeated string param = 2;
*/
public com.google.protobuf.ProtocolStringList
getParamList() {
return param_;
}
/**
* repeated string param = 2;
*/
public int getParamCount() {
return param_.size();
}
/**
* repeated string param = 2;
*/
public java.lang.String getParam(int index) {
return param_.get(index);
}
/**
* repeated string param = 2;
*/
public com.google.protobuf.ByteString
getParamBytes(int index) {
return param_.getByteString(index);
}
private void initFields() {
dest_ = 0;
param_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeUInt32(1, dest_);
}
for (int i = 0; i < param_.size(); i++) {
output.writeBytes(2, param_.getByteString(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, dest_);
}
{
int dataSize = 0;
for (int i = 0; i < param_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(param_.getByteString(i));
}
size += dataSize;
size += 1 * getParamList().size();
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = 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 static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_TextMsg parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_TextMsg parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_TextMsg parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_TextMsg parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_TextMsg parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_TextMsg parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_TextMsg parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_TextMsg parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_TextMsg parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_TextMsg parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_TextMsg prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CUserMsg_TextMsg}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CUserMsg_TextMsg)
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_TextMsgOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.internal_static_CUserMsg_TextMsg_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.internal_static_CUserMsg_TextMsg_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_TextMsg.class, skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_TextMsg.Builder.class);
}
// Construct using skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_TextMsg.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
dest_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
param_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.internal_static_CUserMsg_TextMsg_descriptor;
}
public skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_TextMsg getDefaultInstanceForType() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_TextMsg.getDefaultInstance();
}
public skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_TextMsg build() {
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_TextMsg result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_TextMsg buildPartial() {
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_TextMsg result = new skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_TextMsg(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.dest_ = dest_;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
param_ = param_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000002);
}
result.param_ = param_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_TextMsg) {
return mergeFrom((skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_TextMsg)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_TextMsg other) {
if (other == skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_TextMsg.getDefaultInstance()) return this;
if (other.hasDest()) {
setDest(other.getDest());
}
if (!other.param_.isEmpty()) {
if (param_.isEmpty()) {
param_ = other.param_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureParamIsMutable();
param_.addAll(other.param_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_TextMsg parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_TextMsg) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int dest_ ;
/**
* optional uint32 dest = 1;
*/
public boolean hasDest() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 dest = 1;
*/
public int getDest() {
return dest_;
}
/**
* optional uint32 dest = 1;
*/
public Builder setDest(int value) {
bitField0_ |= 0x00000001;
dest_ = value;
onChanged();
return this;
}
/**
* optional uint32 dest = 1;
*/
public Builder clearDest() {
bitField0_ = (bitField0_ & ~0x00000001);
dest_ = 0;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList param_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureParamIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
param_ = new com.google.protobuf.LazyStringArrayList(param_);
bitField0_ |= 0x00000002;
}
}
/**
* repeated string param = 2;
*/
public com.google.protobuf.ProtocolStringList
getParamList() {
return param_.getUnmodifiableView();
}
/**
* repeated string param = 2;
*/
public int getParamCount() {
return param_.size();
}
/**
* repeated string param = 2;
*/
public java.lang.String getParam(int index) {
return param_.get(index);
}
/**
* repeated string param = 2;
*/
public com.google.protobuf.ByteString
getParamBytes(int index) {
return param_.getByteString(index);
}
/**
* repeated string param = 2;
*/
public Builder setParam(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureParamIsMutable();
param_.set(index, value);
onChanged();
return this;
}
/**
* repeated string param = 2;
*/
public Builder addParam(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureParamIsMutable();
param_.add(value);
onChanged();
return this;
}
/**
* repeated string param = 2;
*/
public Builder addAllParam(
java.lang.Iterable values) {
ensureParamIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, param_);
onChanged();
return this;
}
/**
* repeated string param = 2;
*/
public Builder clearParam() {
param_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* repeated string param = 2;
*/
public Builder addParamBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureParamIsMutable();
param_.add(value);
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CUserMsg_TextMsg)
}
static {
defaultInstance = new CUserMsg_TextMsg(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CUserMsg_TextMsg)
}
public interface CUserMsg_ResetHUDOrBuilder extends
// @@protoc_insertion_point(interface_extends:CUserMsg_ResetHUD)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code CUserMsg_ResetHUD}
*/
public static final class CUserMsg_ResetHUD extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CUserMsg_ResetHUD)
CUserMsg_ResetHUDOrBuilder {
// Use CUserMsg_ResetHUD.newBuilder() to construct.
private CUserMsg_ResetHUD(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CUserMsg_ResetHUD(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CUserMsg_ResetHUD defaultInstance;
public static CUserMsg_ResetHUD getDefaultInstance() {
return defaultInstance;
}
public CUserMsg_ResetHUD getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CUserMsg_ResetHUD(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.internal_static_CUserMsg_ResetHUD_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.internal_static_CUserMsg_ResetHUD_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_ResetHUD.class, skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_ResetHUD.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CUserMsg_ResetHUD parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CUserMsg_ResetHUD(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private void initFields() {
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = 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 static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_ResetHUD parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_ResetHUD parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_ResetHUD parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_ResetHUD parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_ResetHUD parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_ResetHUD parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_ResetHUD parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_ResetHUD parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_ResetHUD parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_ResetHUD parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_ResetHUD prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CUserMsg_ResetHUD}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CUserMsg_ResetHUD)
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_ResetHUDOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.internal_static_CUserMsg_ResetHUD_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.internal_static_CUserMsg_ResetHUD_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_ResetHUD.class, skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_ResetHUD.Builder.class);
}
// Construct using skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_ResetHUD.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.internal_static_CUserMsg_ResetHUD_descriptor;
}
public skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_ResetHUD getDefaultInstanceForType() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_ResetHUD.getDefaultInstance();
}
public skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_ResetHUD build() {
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_ResetHUD result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_ResetHUD buildPartial() {
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_ResetHUD result = new skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_ResetHUD(this);
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_ResetHUD) {
return mergeFrom((skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_ResetHUD)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_ResetHUD other) {
if (other == skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_ResetHUD.getDefaultInstance()) return this;
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_ResetHUD parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_ResetHUD) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
// @@protoc_insertion_point(builder_scope:CUserMsg_ResetHUD)
}
static {
defaultInstance = new CUserMsg_ResetHUD(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CUserMsg_ResetHUD)
}
public interface CUserMsg_SendAudioOrBuilder extends
// @@protoc_insertion_point(interface_extends:CUserMsg_SendAudio)
com.google.protobuf.MessageOrBuilder {
/**
* optional bool stop = 2;
*/
boolean hasStop();
/**
* optional bool stop = 2;
*/
boolean getStop();
/**
* optional string name = 3;
*/
boolean hasName();
/**
* optional string name = 3;
*/
java.lang.String getName();
/**
* optional string name = 3;
*/
com.google.protobuf.ByteString
getNameBytes();
}
/**
* Protobuf type {@code CUserMsg_SendAudio}
*/
public static final class CUserMsg_SendAudio extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CUserMsg_SendAudio)
CUserMsg_SendAudioOrBuilder {
// Use CUserMsg_SendAudio.newBuilder() to construct.
private CUserMsg_SendAudio(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CUserMsg_SendAudio(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CUserMsg_SendAudio defaultInstance;
public static CUserMsg_SendAudio getDefaultInstance() {
return defaultInstance;
}
public CUserMsg_SendAudio getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CUserMsg_SendAudio(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 16: {
bitField0_ |= 0x00000001;
stop_ = input.readBool();
break;
}
case 26: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
name_ = bs;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.internal_static_CUserMsg_SendAudio_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.internal_static_CUserMsg_SendAudio_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SendAudio.class, skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SendAudio.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CUserMsg_SendAudio parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CUserMsg_SendAudio(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int STOP_FIELD_NUMBER = 2;
private boolean stop_;
/**
* optional bool stop = 2;
*/
public boolean hasStop() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional bool stop = 2;
*/
public boolean getStop() {
return stop_;
}
public static final int NAME_FIELD_NUMBER = 3;
private java.lang.Object name_;
/**
* optional string name = 3;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string name = 3;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
* optional string name = 3;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
stop_ = false;
name_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBool(2, stop_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(3, getNameBytes());
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, stop_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, getNameBytes());
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = 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 static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SendAudio parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SendAudio parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SendAudio parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SendAudio parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SendAudio parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SendAudio parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SendAudio parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SendAudio parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SendAudio parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SendAudio parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SendAudio prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CUserMsg_SendAudio}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CUserMsg_SendAudio)
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SendAudioOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.internal_static_CUserMsg_SendAudio_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.internal_static_CUserMsg_SendAudio_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SendAudio.class, skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SendAudio.Builder.class);
}
// Construct using skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SendAudio.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
stop_ = false;
bitField0_ = (bitField0_ & ~0x00000001);
name_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.internal_static_CUserMsg_SendAudio_descriptor;
}
public skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SendAudio getDefaultInstanceForType() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SendAudio.getDefaultInstance();
}
public skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SendAudio build() {
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SendAudio result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SendAudio buildPartial() {
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SendAudio result = new skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SendAudio(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.stop_ = stop_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.name_ = name_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SendAudio) {
return mergeFrom((skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SendAudio)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SendAudio other) {
if (other == skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SendAudio.getDefaultInstance()) return this;
if (other.hasStop()) {
setStop(other.getStop());
}
if (other.hasName()) {
bitField0_ |= 0x00000002;
name_ = other.name_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SendAudio parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_SendAudio) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private boolean stop_ ;
/**
* optional bool stop = 2;
*/
public boolean hasStop() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional bool stop = 2;
*/
public boolean getStop() {
return stop_;
}
/**
* optional bool stop = 2;
*/
public Builder setStop(boolean value) {
bitField0_ |= 0x00000001;
stop_ = value;
onChanged();
return this;
}
/**
* optional bool stop = 2;
*/
public Builder clearStop() {
bitField0_ = (bitField0_ & ~0x00000001);
stop_ = false;
onChanged();
return this;
}
private java.lang.Object name_ = "";
/**
* optional string name = 3;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string name = 3;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string name = 3;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string name = 3;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
name_ = value;
onChanged();
return this;
}
/**
* optional string name = 3;
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000002);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* optional string name = 3;
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
name_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CUserMsg_SendAudio)
}
static {
defaultInstance = new CUserMsg_SendAudio(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CUserMsg_SendAudio)
}
public interface CUserMsg_VoiceMaskOrBuilder extends
// @@protoc_insertion_point(interface_extends:CUserMsg_VoiceMask)
com.google.protobuf.MessageOrBuilder {
/**
* repeated int32 audible_players_mask = 1;
*/
java.util.List getAudiblePlayersMaskList();
/**
* repeated int32 audible_players_mask = 1;
*/
int getAudiblePlayersMaskCount();
/**
* repeated int32 audible_players_mask = 1;
*/
int getAudiblePlayersMask(int index);
/**
* optional bool player_mod_enabled = 2;
*/
boolean hasPlayerModEnabled();
/**
* optional bool player_mod_enabled = 2;
*/
boolean getPlayerModEnabled();
}
/**
* Protobuf type {@code CUserMsg_VoiceMask}
*/
public static final class CUserMsg_VoiceMask extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CUserMsg_VoiceMask)
CUserMsg_VoiceMaskOrBuilder {
// Use CUserMsg_VoiceMask.newBuilder() to construct.
private CUserMsg_VoiceMask(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CUserMsg_VoiceMask(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CUserMsg_VoiceMask defaultInstance;
public static CUserMsg_VoiceMask getDefaultInstance() {
return defaultInstance;
}
public CUserMsg_VoiceMask getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CUserMsg_VoiceMask(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
audiblePlayersMask_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
audiblePlayersMask_.add(input.readInt32());
break;
}
case 10: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) {
audiblePlayersMask_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
while (input.getBytesUntilLimit() > 0) {
audiblePlayersMask_.add(input.readInt32());
}
input.popLimit(limit);
break;
}
case 16: {
bitField0_ |= 0x00000001;
playerModEnabled_ = input.readBool();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
audiblePlayersMask_ = java.util.Collections.unmodifiableList(audiblePlayersMask_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.internal_static_CUserMsg_VoiceMask_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.internal_static_CUserMsg_VoiceMask_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VoiceMask.class, skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VoiceMask.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CUserMsg_VoiceMask parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CUserMsg_VoiceMask(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int AUDIBLE_PLAYERS_MASK_FIELD_NUMBER = 1;
private java.util.List audiblePlayersMask_;
/**
* repeated int32 audible_players_mask = 1;
*/
public java.util.List
getAudiblePlayersMaskList() {
return audiblePlayersMask_;
}
/**
* repeated int32 audible_players_mask = 1;
*/
public int getAudiblePlayersMaskCount() {
return audiblePlayersMask_.size();
}
/**
* repeated int32 audible_players_mask = 1;
*/
public int getAudiblePlayersMask(int index) {
return audiblePlayersMask_.get(index);
}
public static final int PLAYER_MOD_ENABLED_FIELD_NUMBER = 2;
private boolean playerModEnabled_;
/**
* optional bool player_mod_enabled = 2;
*/
public boolean hasPlayerModEnabled() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional bool player_mod_enabled = 2;
*/
public boolean getPlayerModEnabled() {
return playerModEnabled_;
}
private void initFields() {
audiblePlayersMask_ = java.util.Collections.emptyList();
playerModEnabled_ = false;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
for (int i = 0; i < audiblePlayersMask_.size(); i++) {
output.writeInt32(1, audiblePlayersMask_.get(i));
}
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBool(2, playerModEnabled_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < audiblePlayersMask_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(audiblePlayersMask_.get(i));
}
size += dataSize;
size += 1 * getAudiblePlayersMaskList().size();
}
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, playerModEnabled_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = 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 static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VoiceMask parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VoiceMask parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VoiceMask parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VoiceMask parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VoiceMask parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VoiceMask parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VoiceMask parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VoiceMask parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VoiceMask parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VoiceMask parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VoiceMask prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CUserMsg_VoiceMask}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CUserMsg_VoiceMask)
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VoiceMaskOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.internal_static_CUserMsg_VoiceMask_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.internal_static_CUserMsg_VoiceMask_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VoiceMask.class, skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VoiceMask.Builder.class);
}
// Construct using skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VoiceMask.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
audiblePlayersMask_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
playerModEnabled_ = false;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.internal_static_CUserMsg_VoiceMask_descriptor;
}
public skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VoiceMask getDefaultInstanceForType() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VoiceMask.getDefaultInstance();
}
public skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VoiceMask build() {
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VoiceMask result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VoiceMask buildPartial() {
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VoiceMask result = new skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VoiceMask(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
audiblePlayersMask_ = java.util.Collections.unmodifiableList(audiblePlayersMask_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.audiblePlayersMask_ = audiblePlayersMask_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000001;
}
result.playerModEnabled_ = playerModEnabled_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VoiceMask) {
return mergeFrom((skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VoiceMask)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VoiceMask other) {
if (other == skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VoiceMask.getDefaultInstance()) return this;
if (!other.audiblePlayersMask_.isEmpty()) {
if (audiblePlayersMask_.isEmpty()) {
audiblePlayersMask_ = other.audiblePlayersMask_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureAudiblePlayersMaskIsMutable();
audiblePlayersMask_.addAll(other.audiblePlayersMask_);
}
onChanged();
}
if (other.hasPlayerModEnabled()) {
setPlayerModEnabled(other.getPlayerModEnabled());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VoiceMask parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VoiceMask) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List audiblePlayersMask_ = java.util.Collections.emptyList();
private void ensureAudiblePlayersMaskIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
audiblePlayersMask_ = new java.util.ArrayList(audiblePlayersMask_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated int32 audible_players_mask = 1;
*/
public java.util.List
getAudiblePlayersMaskList() {
return java.util.Collections.unmodifiableList(audiblePlayersMask_);
}
/**
* repeated int32 audible_players_mask = 1;
*/
public int getAudiblePlayersMaskCount() {
return audiblePlayersMask_.size();
}
/**
* repeated int32 audible_players_mask = 1;
*/
public int getAudiblePlayersMask(int index) {
return audiblePlayersMask_.get(index);
}
/**
* repeated int32 audible_players_mask = 1;
*/
public Builder setAudiblePlayersMask(
int index, int value) {
ensureAudiblePlayersMaskIsMutable();
audiblePlayersMask_.set(index, value);
onChanged();
return this;
}
/**
* repeated int32 audible_players_mask = 1;
*/
public Builder addAudiblePlayersMask(int value) {
ensureAudiblePlayersMaskIsMutable();
audiblePlayersMask_.add(value);
onChanged();
return this;
}
/**
* repeated int32 audible_players_mask = 1;
*/
public Builder addAllAudiblePlayersMask(
java.lang.Iterable extends java.lang.Integer> values) {
ensureAudiblePlayersMaskIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, audiblePlayersMask_);
onChanged();
return this;
}
/**
* repeated int32 audible_players_mask = 1;
*/
public Builder clearAudiblePlayersMask() {
audiblePlayersMask_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
private boolean playerModEnabled_ ;
/**
* optional bool player_mod_enabled = 2;
*/
public boolean hasPlayerModEnabled() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional bool player_mod_enabled = 2;
*/
public boolean getPlayerModEnabled() {
return playerModEnabled_;
}
/**
* optional bool player_mod_enabled = 2;
*/
public Builder setPlayerModEnabled(boolean value) {
bitField0_ |= 0x00000002;
playerModEnabled_ = value;
onChanged();
return this;
}
/**
* optional bool player_mod_enabled = 2;
*/
public Builder clearPlayerModEnabled() {
bitField0_ = (bitField0_ & ~0x00000002);
playerModEnabled_ = false;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CUserMsg_VoiceMask)
}
static {
defaultInstance = new CUserMsg_VoiceMask(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CUserMsg_VoiceMask)
}
public interface CUserMsg_VGUIMenuOrBuilder extends
// @@protoc_insertion_point(interface_extends:CUserMsg_VGUIMenu)
com.google.protobuf.MessageOrBuilder {
/**
* optional string name = 1;
*/
boolean hasName();
/**
* optional string name = 1;
*/
java.lang.String getName();
/**
* optional string name = 1;
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* optional bool show = 2;
*/
boolean hasShow();
/**
* optional bool show = 2;
*/
boolean getShow();
/**
* repeated .CUserMsg_VGUIMenu.Keys keys = 3;
*/
java.util.List
getKeysList();
/**
* repeated .CUserMsg_VGUIMenu.Keys keys = 3;
*/
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys getKeys(int index);
/**
* repeated .CUserMsg_VGUIMenu.Keys keys = 3;
*/
int getKeysCount();
/**
* repeated .CUserMsg_VGUIMenu.Keys keys = 3;
*/
java.util.List extends skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.KeysOrBuilder>
getKeysOrBuilderList();
/**
* repeated .CUserMsg_VGUIMenu.Keys keys = 3;
*/
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.KeysOrBuilder getKeysOrBuilder(
int index);
}
/**
* Protobuf type {@code CUserMsg_VGUIMenu}
*/
public static final class CUserMsg_VGUIMenu extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CUserMsg_VGUIMenu)
CUserMsg_VGUIMenuOrBuilder {
// Use CUserMsg_VGUIMenu.newBuilder() to construct.
private CUserMsg_VGUIMenu(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CUserMsg_VGUIMenu(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CUserMsg_VGUIMenu defaultInstance;
public static CUserMsg_VGUIMenu getDefaultInstance() {
return defaultInstance;
}
public CUserMsg_VGUIMenu getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CUserMsg_VGUIMenu(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
name_ = bs;
break;
}
case 16: {
bitField0_ |= 0x00000002;
show_ = input.readBool();
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
keys_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
keys_.add(input.readMessage(skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
keys_ = java.util.Collections.unmodifiableList(keys_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.internal_static_CUserMsg_VGUIMenu_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.internal_static_CUserMsg_VGUIMenu_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.class, skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CUserMsg_VGUIMenu parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CUserMsg_VGUIMenu(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public interface KeysOrBuilder extends
// @@protoc_insertion_point(interface_extends:CUserMsg_VGUIMenu.Keys)
com.google.protobuf.MessageOrBuilder {
/**
* optional string name = 1;
*/
boolean hasName();
/**
* optional string name = 1;
*/
java.lang.String getName();
/**
* optional string name = 1;
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* optional string value = 2;
*/
boolean hasValue();
/**
* optional string value = 2;
*/
java.lang.String getValue();
/**
* optional string value = 2;
*/
com.google.protobuf.ByteString
getValueBytes();
}
/**
* Protobuf type {@code CUserMsg_VGUIMenu.Keys}
*/
public static final class Keys extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CUserMsg_VGUIMenu.Keys)
KeysOrBuilder {
// Use Keys.newBuilder() to construct.
private Keys(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private Keys(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final Keys defaultInstance;
public static Keys getDefaultInstance() {
return defaultInstance;
}
public Keys getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Keys(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
name_ = bs;
break;
}
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
value_ = bs;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.internal_static_CUserMsg_VGUIMenu_Keys_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.internal_static_CUserMsg_VGUIMenu_Keys_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys.class, skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public Keys parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Keys(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
private java.lang.Object name_;
/**
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
* optional string name = 1;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int VALUE_FIELD_NUMBER = 2;
private java.lang.Object value_;
/**
* optional string value = 2;
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string value = 2;
*/
public java.lang.String getValue() {
java.lang.Object ref = value_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
value_ = s;
}
return s;
}
}
/**
* optional string value = 2;
*/
public com.google.protobuf.ByteString
getValueBytes() {
java.lang.Object ref = value_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
value_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
name_ = "";
value_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getValueBytes());
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getValueBytes());
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = 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 static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CUserMsg_VGUIMenu.Keys}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CUserMsg_VGUIMenu.Keys)
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.KeysOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.internal_static_CUserMsg_VGUIMenu_Keys_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.internal_static_CUserMsg_VGUIMenu_Keys_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys.class, skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys.Builder.class);
}
// Construct using skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
name_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
value_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.internal_static_CUserMsg_VGUIMenu_Keys_descriptor;
}
public skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys getDefaultInstanceForType() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys.getDefaultInstance();
}
public skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys build() {
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys buildPartial() {
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys result = new skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.value_ = value_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys) {
return mergeFrom((skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys other) {
if (other == skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys.getDefaultInstance()) return this;
if (other.hasName()) {
bitField0_ |= 0x00000001;
name_ = other.name_;
onChanged();
}
if (other.hasValue()) {
bitField0_ |= 0x00000002;
value_ = other.value_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string name = 1;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string name = 1;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
private java.lang.Object value_ = "";
/**
* optional string value = 2;
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string value = 2;
*/
public java.lang.String getValue() {
java.lang.Object ref = value_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
value_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string value = 2;
*/
public com.google.protobuf.ByteString
getValueBytes() {
java.lang.Object ref = value_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
value_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string value = 2;
*/
public Builder setValue(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
value_ = value;
onChanged();
return this;
}
/**
* optional string value = 2;
*/
public Builder clearValue() {
bitField0_ = (bitField0_ & ~0x00000002);
value_ = getDefaultInstance().getValue();
onChanged();
return this;
}
/**
* optional string value = 2;
*/
public Builder setValueBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
value_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CUserMsg_VGUIMenu.Keys)
}
static {
defaultInstance = new Keys(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CUserMsg_VGUIMenu.Keys)
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
private java.lang.Object name_;
/**
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
* optional string name = 1;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SHOW_FIELD_NUMBER = 2;
private boolean show_;
/**
* optional bool show = 2;
*/
public boolean hasShow() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional bool show = 2;
*/
public boolean getShow() {
return show_;
}
public static final int KEYS_FIELD_NUMBER = 3;
private java.util.List keys_;
/**
* repeated .CUserMsg_VGUIMenu.Keys keys = 3;
*/
public java.util.List getKeysList() {
return keys_;
}
/**
* repeated .CUserMsg_VGUIMenu.Keys keys = 3;
*/
public java.util.List extends skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.KeysOrBuilder>
getKeysOrBuilderList() {
return keys_;
}
/**
* repeated .CUserMsg_VGUIMenu.Keys keys = 3;
*/
public int getKeysCount() {
return keys_.size();
}
/**
* repeated .CUserMsg_VGUIMenu.Keys keys = 3;
*/
public skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys getKeys(int index) {
return keys_.get(index);
}
/**
* repeated .CUserMsg_VGUIMenu.Keys keys = 3;
*/
public skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.KeysOrBuilder getKeysOrBuilder(
int index) {
return keys_.get(index);
}
private void initFields() {
name_ = "";
show_ = false;
keys_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBool(2, show_);
}
for (int i = 0; i < keys_.size(); i++) {
output.writeMessage(3, keys_.get(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, show_);
}
for (int i = 0; i < keys_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, keys_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = 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 static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CUserMsg_VGUIMenu}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CUserMsg_VGUIMenu)
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenuOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.internal_static_CUserMsg_VGUIMenu_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.internal_static_CUserMsg_VGUIMenu_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.class, skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Builder.class);
}
// Construct using skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getKeysFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
name_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
show_ = false;
bitField0_ = (bitField0_ & ~0x00000002);
if (keysBuilder_ == null) {
keys_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
keysBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.internal_static_CUserMsg_VGUIMenu_descriptor;
}
public skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu getDefaultInstanceForType() {
return skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.getDefaultInstance();
}
public skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu build() {
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu buildPartial() {
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu result = new skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.show_ = show_;
if (keysBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004)) {
keys_ = java.util.Collections.unmodifiableList(keys_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.keys_ = keys_;
} else {
result.keys_ = keysBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu) {
return mergeFrom((skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu other) {
if (other == skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.getDefaultInstance()) return this;
if (other.hasName()) {
bitField0_ |= 0x00000001;
name_ = other.name_;
onChanged();
}
if (other.hasShow()) {
setShow(other.getShow());
}
if (keysBuilder_ == null) {
if (!other.keys_.isEmpty()) {
if (keys_.isEmpty()) {
keys_ = other.keys_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureKeysIsMutable();
keys_.addAll(other.keys_);
}
onChanged();
}
} else {
if (!other.keys_.isEmpty()) {
if (keysBuilder_.isEmpty()) {
keysBuilder_.dispose();
keysBuilder_ = null;
keys_ = other.keys_;
bitField0_ = (bitField0_ & ~0x00000004);
keysBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getKeysFieldBuilder() : null;
} else {
keysBuilder_.addAllMessages(other.keys_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string name = 1;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string name = 1;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
private boolean show_ ;
/**
* optional bool show = 2;
*/
public boolean hasShow() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional bool show = 2;
*/
public boolean getShow() {
return show_;
}
/**
* optional bool show = 2;
*/
public Builder setShow(boolean value) {
bitField0_ |= 0x00000002;
show_ = value;
onChanged();
return this;
}
/**
* optional bool show = 2;
*/
public Builder clearShow() {
bitField0_ = (bitField0_ & ~0x00000002);
show_ = false;
onChanged();
return this;
}
private java.util.List keys_ =
java.util.Collections.emptyList();
private void ensureKeysIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
keys_ = new java.util.ArrayList(keys_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys, skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys.Builder, skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.KeysOrBuilder> keysBuilder_;
/**
* repeated .CUserMsg_VGUIMenu.Keys keys = 3;
*/
public java.util.List getKeysList() {
if (keysBuilder_ == null) {
return java.util.Collections.unmodifiableList(keys_);
} else {
return keysBuilder_.getMessageList();
}
}
/**
* repeated .CUserMsg_VGUIMenu.Keys keys = 3;
*/
public int getKeysCount() {
if (keysBuilder_ == null) {
return keys_.size();
} else {
return keysBuilder_.getCount();
}
}
/**
* repeated .CUserMsg_VGUIMenu.Keys keys = 3;
*/
public skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys getKeys(int index) {
if (keysBuilder_ == null) {
return keys_.get(index);
} else {
return keysBuilder_.getMessage(index);
}
}
/**
* repeated .CUserMsg_VGUIMenu.Keys keys = 3;
*/
public Builder setKeys(
int index, skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys value) {
if (keysBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureKeysIsMutable();
keys_.set(index, value);
onChanged();
} else {
keysBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .CUserMsg_VGUIMenu.Keys keys = 3;
*/
public Builder setKeys(
int index, skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys.Builder builderForValue) {
if (keysBuilder_ == null) {
ensureKeysIsMutable();
keys_.set(index, builderForValue.build());
onChanged();
} else {
keysBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CUserMsg_VGUIMenu.Keys keys = 3;
*/
public Builder addKeys(skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys value) {
if (keysBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureKeysIsMutable();
keys_.add(value);
onChanged();
} else {
keysBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .CUserMsg_VGUIMenu.Keys keys = 3;
*/
public Builder addKeys(
int index, skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys value) {
if (keysBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureKeysIsMutable();
keys_.add(index, value);
onChanged();
} else {
keysBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .CUserMsg_VGUIMenu.Keys keys = 3;
*/
public Builder addKeys(
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys.Builder builderForValue) {
if (keysBuilder_ == null) {
ensureKeysIsMutable();
keys_.add(builderForValue.build());
onChanged();
} else {
keysBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .CUserMsg_VGUIMenu.Keys keys = 3;
*/
public Builder addKeys(
int index, skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys.Builder builderForValue) {
if (keysBuilder_ == null) {
ensureKeysIsMutable();
keys_.add(index, builderForValue.build());
onChanged();
} else {
keysBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CUserMsg_VGUIMenu.Keys keys = 3;
*/
public Builder addAllKeys(
java.lang.Iterable extends skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys> values) {
if (keysBuilder_ == null) {
ensureKeysIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, keys_);
onChanged();
} else {
keysBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .CUserMsg_VGUIMenu.Keys keys = 3;
*/
public Builder clearKeys() {
if (keysBuilder_ == null) {
keys_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
keysBuilder_.clear();
}
return this;
}
/**
* repeated .CUserMsg_VGUIMenu.Keys keys = 3;
*/
public Builder removeKeys(int index) {
if (keysBuilder_ == null) {
ensureKeysIsMutable();
keys_.remove(index);
onChanged();
} else {
keysBuilder_.remove(index);
}
return this;
}
/**
* repeated .CUserMsg_VGUIMenu.Keys keys = 3;
*/
public skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys.Builder getKeysBuilder(
int index) {
return getKeysFieldBuilder().getBuilder(index);
}
/**
* repeated .CUserMsg_VGUIMenu.Keys keys = 3;
*/
public skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.KeysOrBuilder getKeysOrBuilder(
int index) {
if (keysBuilder_ == null) {
return keys_.get(index); } else {
return keysBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .CUserMsg_VGUIMenu.Keys keys = 3;
*/
public java.util.List extends skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.KeysOrBuilder>
getKeysOrBuilderList() {
if (keysBuilder_ != null) {
return keysBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(keys_);
}
}
/**
* repeated .CUserMsg_VGUIMenu.Keys keys = 3;
*/
public skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys.Builder addKeysBuilder() {
return getKeysFieldBuilder().addBuilder(
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys.getDefaultInstance());
}
/**
* repeated .CUserMsg_VGUIMenu.Keys keys = 3;
*/
public skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys.Builder addKeysBuilder(
int index) {
return getKeysFieldBuilder().addBuilder(
index, skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys.getDefaultInstance());
}
/**
* repeated .CUserMsg_VGUIMenu.Keys keys = 3;
*/
public java.util.List
getKeysBuilderList() {
return getKeysFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys, skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys.Builder, skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.KeysOrBuilder>
getKeysFieldBuilder() {
if (keysBuilder_ == null) {
keysBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys, skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.Keys.Builder, skadistats.clarity.wire.s1.proto.S1UserMessages.CUserMsg_VGUIMenu.KeysOrBuilder>(
keys_,
((bitField0_ & 0x00000004) == 0x00000004),
getParentForChildren(),
isClean());
keys_ = null;
}
return keysBuilder_;
}
// @@protoc_insertion_point(builder_scope:CUserMsg_VGUIMenu)
}
static {
defaultInstance = new CUserMsg_VGUIMenu(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CUserMsg_VGUIMenu)
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_CUserMsg_SayText2_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_CUserMsg_SayText2_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_CUserMsg_TextMsg_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_CUserMsg_TextMsg_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_CUserMsg_ResetHUD_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_CUserMsg_ResetHUD_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_CUserMsg_SendAudio_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_CUserMsg_SendAudio_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_CUserMsg_VoiceMask_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_CUserMsg_VoiceMask_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_CUserMsg_VGUIMenu_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_CUserMsg_VGUIMenu_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_CUserMsg_VGUIMenu_Keys_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_CUserMsg_VGUIMenu_Keys_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\025s1_usermessages.proto\"q\n\021CUserMsg_SayT" +
"ext2\022\016\n\006client\030\001 \001(\r\022\014\n\004chat\030\002 \001(\010\022\016\n\006fo" +
"rmat\030\003 \001(\t\022\016\n\006prefix\030\004 \001(\t\022\014\n\004text\030\005 \001(\t" +
"\022\020\n\010location\030\006 \001(\t\"/\n\020CUserMsg_TextMsg\022\014" +
"\n\004dest\030\001 \001(\r\022\r\n\005param\030\002 \003(\t\"\023\n\021CUserMsg_" +
"ResetHUD\"0\n\022CUserMsg_SendAudio\022\014\n\004stop\030\002" +
" \001(\010\022\014\n\004name\030\003 \001(\t\"N\n\022CUserMsg_VoiceMask" +
"\022\034\n\024audible_players_mask\030\001 \003(\005\022\032\n\022player" +
"_mod_enabled\030\002 \001(\010\"{\n\021CUserMsg_VGUIMenu\022" +
"\014\n\004name\030\001 \001(\t\022\014\n\004show\030\002 \001(\010\022%\n\004keys\030\003 \003(",
"\0132\027.CUserMsg_VGUIMenu.Keys\032#\n\004Keys\022\014\n\004na" +
"me\030\001 \001(\t\022\r\n\005value\030\002 \001(\t*\355\004\n\021EBaseUserMes" +
"sages\022\027\n\023UM_AchievementEvent\020\001\022\023\n\017UM_Clo" +
"seCaption\020\002\022\031\n\025UM_CloseCaptionDirect\020\003\022\027" +
"\n\023UM_CurrentTimescale\020\004\022\027\n\023UM_DesiredTim" +
"escale\020\005\022\013\n\007UM_Fade\020\006\022\020\n\014UM_GameTitle\020\007\022" +
"\r\n\tUM_Geiger\020\010\022\017\n\013UM_HintText\020\t\022\r\n\tUM_Hu" +
"dMsg\020\n\022\016\n\nUM_HudText\020\013\022\022\n\016UM_KeyHintText" +
"\020\014\022\022\n\016UM_MessageText\020\r\022\023\n\017UM_RequestStat" +
"e\020\016\022\017\n\013UM_ResetHUD\020\017\022\r\n\tUM_Rumble\020\020\022\016\n\nU",
"M_SayText\020\021\022\017\n\013UM_SayText2\020\022\022\025\n\021UM_SayTe" +
"xtChannel\020\023\022\014\n\010UM_Shake\020\024\022\017\n\013UM_ShakeDir" +
"\020\025\022\024\n\020UM_StatsCrawlMsg\020\026\022\025\n\021UM_StatsSkip" +
"State\020\027\022\016\n\nUM_TextMsg\020\030\022\013\n\007UM_Tilt\020\031\022\014\n\010" +
"UM_Train\020\032\022\017\n\013UM_VGUIMenu\020\033\022\020\n\014UM_VoiceM" +
"ask\020\034\022\024\n\020UM_VoiceSubtitle\020\035\022\020\n\014UM_SendAu" +
"dio\020\036\022\027\n\023UM_CameraTransition\020\037\022\017\n\013UM_MAX" +
"_BASE\020?B2\n skadistats.clarity.wire.s1.pr" +
"otoB\016S1UserMessages"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
}, assigner);
internal_static_CUserMsg_SayText2_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_CUserMsg_SayText2_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_CUserMsg_SayText2_descriptor,
new java.lang.String[] { "Client", "Chat", "Format", "Prefix", "Text", "Location", });
internal_static_CUserMsg_TextMsg_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_CUserMsg_TextMsg_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_CUserMsg_TextMsg_descriptor,
new java.lang.String[] { "Dest", "Param", });
internal_static_CUserMsg_ResetHUD_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_CUserMsg_ResetHUD_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_CUserMsg_ResetHUD_descriptor,
new java.lang.String[] { });
internal_static_CUserMsg_SendAudio_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_CUserMsg_SendAudio_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_CUserMsg_SendAudio_descriptor,
new java.lang.String[] { "Stop", "Name", });
internal_static_CUserMsg_VoiceMask_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_CUserMsg_VoiceMask_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_CUserMsg_VoiceMask_descriptor,
new java.lang.String[] { "AudiblePlayersMask", "PlayerModEnabled", });
internal_static_CUserMsg_VGUIMenu_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_CUserMsg_VGUIMenu_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_CUserMsg_VGUIMenu_descriptor,
new java.lang.String[] { "Name", "Show", "Keys", });
internal_static_CUserMsg_VGUIMenu_Keys_descriptor =
internal_static_CUserMsg_VGUIMenu_descriptor.getNestedTypes().get(0);
internal_static_CUserMsg_VGUIMenu_Keys_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_CUserMsg_VGUIMenu_Keys_descriptor,
new java.lang.String[] { "Name", "Value", });
}
// @@protoc_insertion_point(outer_class_scope)
}