skadistats.clarity.wire.shared.demo.proto.DemoNetMessages 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.
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: netmessages-demo.proto
package skadistats.clarity.wire.shared.demo.proto;
public final class DemoNetMessages {
private DemoNetMessages() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
public interface CMsgVoiceAudioOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgVoiceAudio)
com.google.protobuf.MessageOrBuilder {
/**
* optional .VoiceDataFormat_t format = 1 [default = VOICEDATA_FORMAT_STEAM];
*/
boolean hasFormat();
/**
* optional .VoiceDataFormat_t format = 1 [default = VOICEDATA_FORMAT_STEAM];
*/
skadistats.clarity.wire.shared.common.proto.CommonNetMessages.VoiceDataFormat_t getFormat();
/**
* optional bytes voice_data = 2;
*/
boolean hasVoiceData();
/**
* optional bytes voice_data = 2;
*/
com.google.protobuf.ByteString getVoiceData();
/**
* optional int32 sequence_bytes = 3;
*/
boolean hasSequenceBytes();
/**
* optional int32 sequence_bytes = 3;
*/
int getSequenceBytes();
/**
* optional uint32 section_number = 4;
*/
boolean hasSectionNumber();
/**
* optional uint32 section_number = 4;
*/
int getSectionNumber();
/**
* optional uint32 sample_rate = 5;
*/
boolean hasSampleRate();
/**
* optional uint32 sample_rate = 5;
*/
int getSampleRate();
/**
* optional uint32 uncompressed_sample_offset = 6;
*/
boolean hasUncompressedSampleOffset();
/**
* optional uint32 uncompressed_sample_offset = 6;
*/
int getUncompressedSampleOffset();
/**
* optional uint32 num_packets = 7;
*/
boolean hasNumPackets();
/**
* optional uint32 num_packets = 7;
*/
int getNumPackets();
/**
* repeated uint32 packet_offsets = 8 [packed = true];
*/
java.util.List getPacketOffsetsList();
/**
* repeated uint32 packet_offsets = 8 [packed = true];
*/
int getPacketOffsetsCount();
/**
* repeated uint32 packet_offsets = 8 [packed = true];
*/
int getPacketOffsets(int index);
/**
* optional float voice_level = 9;
*/
boolean hasVoiceLevel();
/**
* optional float voice_level = 9;
*/
float getVoiceLevel();
}
/**
* Protobuf type {@code CMsgVoiceAudio}
*/
public static final class CMsgVoiceAudio extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgVoiceAudio)
CMsgVoiceAudioOrBuilder {
// Use CMsgVoiceAudio.newBuilder() to construct.
private CMsgVoiceAudio(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CMsgVoiceAudio(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CMsgVoiceAudio defaultInstance;
public static CMsgVoiceAudio getDefaultInstance() {
return defaultInstance;
}
public CMsgVoiceAudio getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CMsgVoiceAudio(
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: {
int rawValue = input.readEnum();
skadistats.clarity.wire.shared.common.proto.CommonNetMessages.VoiceDataFormat_t value = skadistats.clarity.wire.shared.common.proto.CommonNetMessages.VoiceDataFormat_t.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(1, rawValue);
} else {
bitField0_ |= 0x00000001;
format_ = value;
}
break;
}
case 18: {
bitField0_ |= 0x00000002;
voiceData_ = input.readBytes();
break;
}
case 24: {
bitField0_ |= 0x00000004;
sequenceBytes_ = input.readInt32();
break;
}
case 32: {
bitField0_ |= 0x00000008;
sectionNumber_ = input.readUInt32();
break;
}
case 40: {
bitField0_ |= 0x00000010;
sampleRate_ = input.readUInt32();
break;
}
case 48: {
bitField0_ |= 0x00000020;
uncompressedSampleOffset_ = input.readUInt32();
break;
}
case 56: {
bitField0_ |= 0x00000040;
numPackets_ = input.readUInt32();
break;
}
case 64: {
if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
packetOffsets_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000080;
}
packetOffsets_.add(input.readUInt32());
break;
}
case 66: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000080) == 0x00000080) && input.getBytesUntilLimit() > 0) {
packetOffsets_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000080;
}
while (input.getBytesUntilLimit() > 0) {
packetOffsets_.add(input.readUInt32());
}
input.popLimit(limit);
break;
}
case 77: {
bitField0_ |= 0x00000080;
voiceLevel_ = input.readFloat();
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_ & 0x00000080) == 0x00000080)) {
packetOffsets_ = java.util.Collections.unmodifiableList(packetOffsets_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.internal_static_CMsgVoiceAudio_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.internal_static_CMsgVoiceAudio_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio.class, skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CMsgVoiceAudio parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CMsgVoiceAudio(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int FORMAT_FIELD_NUMBER = 1;
private skadistats.clarity.wire.shared.common.proto.CommonNetMessages.VoiceDataFormat_t format_;
/**
* optional .VoiceDataFormat_t format = 1 [default = VOICEDATA_FORMAT_STEAM];
*/
public boolean hasFormat() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .VoiceDataFormat_t format = 1 [default = VOICEDATA_FORMAT_STEAM];
*/
public skadistats.clarity.wire.shared.common.proto.CommonNetMessages.VoiceDataFormat_t getFormat() {
return format_;
}
public static final int VOICE_DATA_FIELD_NUMBER = 2;
private com.google.protobuf.ByteString voiceData_;
/**
* optional bytes voice_data = 2;
*/
public boolean hasVoiceData() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional bytes voice_data = 2;
*/
public com.google.protobuf.ByteString getVoiceData() {
return voiceData_;
}
public static final int SEQUENCE_BYTES_FIELD_NUMBER = 3;
private int sequenceBytes_;
/**
* optional int32 sequence_bytes = 3;
*/
public boolean hasSequenceBytes() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 sequence_bytes = 3;
*/
public int getSequenceBytes() {
return sequenceBytes_;
}
public static final int SECTION_NUMBER_FIELD_NUMBER = 4;
private int sectionNumber_;
/**
* optional uint32 section_number = 4;
*/
public boolean hasSectionNumber() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional uint32 section_number = 4;
*/
public int getSectionNumber() {
return sectionNumber_;
}
public static final int SAMPLE_RATE_FIELD_NUMBER = 5;
private int sampleRate_;
/**
* optional uint32 sample_rate = 5;
*/
public boolean hasSampleRate() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional uint32 sample_rate = 5;
*/
public int getSampleRate() {
return sampleRate_;
}
public static final int UNCOMPRESSED_SAMPLE_OFFSET_FIELD_NUMBER = 6;
private int uncompressedSampleOffset_;
/**
* optional uint32 uncompressed_sample_offset = 6;
*/
public boolean hasUncompressedSampleOffset() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional uint32 uncompressed_sample_offset = 6;
*/
public int getUncompressedSampleOffset() {
return uncompressedSampleOffset_;
}
public static final int NUM_PACKETS_FIELD_NUMBER = 7;
private int numPackets_;
/**
* optional uint32 num_packets = 7;
*/
public boolean hasNumPackets() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional uint32 num_packets = 7;
*/
public int getNumPackets() {
return numPackets_;
}
public static final int PACKET_OFFSETS_FIELD_NUMBER = 8;
private java.util.List packetOffsets_;
/**
* repeated uint32 packet_offsets = 8 [packed = true];
*/
public java.util.List
getPacketOffsetsList() {
return packetOffsets_;
}
/**
* repeated uint32 packet_offsets = 8 [packed = true];
*/
public int getPacketOffsetsCount() {
return packetOffsets_.size();
}
/**
* repeated uint32 packet_offsets = 8 [packed = true];
*/
public int getPacketOffsets(int index) {
return packetOffsets_.get(index);
}
private int packetOffsetsMemoizedSerializedSize = -1;
public static final int VOICE_LEVEL_FIELD_NUMBER = 9;
private float voiceLevel_;
/**
* optional float voice_level = 9;
*/
public boolean hasVoiceLevel() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional float voice_level = 9;
*/
public float getVoiceLevel() {
return voiceLevel_;
}
private void initFields() {
format_ = skadistats.clarity.wire.shared.common.proto.CommonNetMessages.VoiceDataFormat_t.VOICEDATA_FORMAT_STEAM;
voiceData_ = com.google.protobuf.ByteString.EMPTY;
sequenceBytes_ = 0;
sectionNumber_ = 0;
sampleRate_ = 0;
uncompressedSampleOffset_ = 0;
numPackets_ = 0;
packetOffsets_ = java.util.Collections.emptyList();
voiceLevel_ = 0F;
}
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.writeEnum(1, format_.getNumber());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, voiceData_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt32(3, sequenceBytes_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeUInt32(4, sectionNumber_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeUInt32(5, sampleRate_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeUInt32(6, uncompressedSampleOffset_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeUInt32(7, numPackets_);
}
if (getPacketOffsetsList().size() > 0) {
output.writeRawVarint32(66);
output.writeRawVarint32(packetOffsetsMemoizedSerializedSize);
}
for (int i = 0; i < packetOffsets_.size(); i++) {
output.writeUInt32NoTag(packetOffsets_.get(i));
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeFloat(9, voiceLevel_);
}
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
.computeEnumSize(1, format_.getNumber());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, voiceData_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, sequenceBytes_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, sectionNumber_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, sampleRate_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(6, uncompressedSampleOffset_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(7, numPackets_);
}
{
int dataSize = 0;
for (int i = 0; i < packetOffsets_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(packetOffsets_.get(i));
}
size += dataSize;
if (!getPacketOffsetsList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
packetOffsetsMemoizedSerializedSize = dataSize;
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(9, voiceLevel_);
}
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.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio 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.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio 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.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio 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 CMsgVoiceAudio}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgVoiceAudio)
skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudioOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.internal_static_CMsgVoiceAudio_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.internal_static_CMsgVoiceAudio_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio.class, skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio.Builder.class);
}
// Construct using skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio.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();
format_ = skadistats.clarity.wire.shared.common.proto.CommonNetMessages.VoiceDataFormat_t.VOICEDATA_FORMAT_STEAM;
bitField0_ = (bitField0_ & ~0x00000001);
voiceData_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
sequenceBytes_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
sectionNumber_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
sampleRate_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
uncompressedSampleOffset_ = 0;
bitField0_ = (bitField0_ & ~0x00000020);
numPackets_ = 0;
bitField0_ = (bitField0_ & ~0x00000040);
packetOffsets_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000080);
voiceLevel_ = 0F;
bitField0_ = (bitField0_ & ~0x00000100);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.internal_static_CMsgVoiceAudio_descriptor;
}
public skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio getDefaultInstanceForType() {
return skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio.getDefaultInstance();
}
public skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio build() {
skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio buildPartial() {
skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio result = new skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.format_ = format_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.voiceData_ = voiceData_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.sequenceBytes_ = sequenceBytes_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.sectionNumber_ = sectionNumber_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.sampleRate_ = sampleRate_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.uncompressedSampleOffset_ = uncompressedSampleOffset_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000040;
}
result.numPackets_ = numPackets_;
if (((bitField0_ & 0x00000080) == 0x00000080)) {
packetOffsets_ = java.util.Collections.unmodifiableList(packetOffsets_);
bitField0_ = (bitField0_ & ~0x00000080);
}
result.packetOffsets_ = packetOffsets_;
if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
to_bitField0_ |= 0x00000080;
}
result.voiceLevel_ = voiceLevel_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio) {
return mergeFrom((skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio other) {
if (other == skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio.getDefaultInstance()) return this;
if (other.hasFormat()) {
setFormat(other.getFormat());
}
if (other.hasVoiceData()) {
setVoiceData(other.getVoiceData());
}
if (other.hasSequenceBytes()) {
setSequenceBytes(other.getSequenceBytes());
}
if (other.hasSectionNumber()) {
setSectionNumber(other.getSectionNumber());
}
if (other.hasSampleRate()) {
setSampleRate(other.getSampleRate());
}
if (other.hasUncompressedSampleOffset()) {
setUncompressedSampleOffset(other.getUncompressedSampleOffset());
}
if (other.hasNumPackets()) {
setNumPackets(other.getNumPackets());
}
if (!other.packetOffsets_.isEmpty()) {
if (packetOffsets_.isEmpty()) {
packetOffsets_ = other.packetOffsets_;
bitField0_ = (bitField0_ & ~0x00000080);
} else {
ensurePacketOffsetsIsMutable();
packetOffsets_.addAll(other.packetOffsets_);
}
onChanged();
}
if (other.hasVoiceLevel()) {
setVoiceLevel(other.getVoiceLevel());
}
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.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private skadistats.clarity.wire.shared.common.proto.CommonNetMessages.VoiceDataFormat_t format_ = skadistats.clarity.wire.shared.common.proto.CommonNetMessages.VoiceDataFormat_t.VOICEDATA_FORMAT_STEAM;
/**
* optional .VoiceDataFormat_t format = 1 [default = VOICEDATA_FORMAT_STEAM];
*/
public boolean hasFormat() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .VoiceDataFormat_t format = 1 [default = VOICEDATA_FORMAT_STEAM];
*/
public skadistats.clarity.wire.shared.common.proto.CommonNetMessages.VoiceDataFormat_t getFormat() {
return format_;
}
/**
* optional .VoiceDataFormat_t format = 1 [default = VOICEDATA_FORMAT_STEAM];
*/
public Builder setFormat(skadistats.clarity.wire.shared.common.proto.CommonNetMessages.VoiceDataFormat_t value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
format_ = value;
onChanged();
return this;
}
/**
* optional .VoiceDataFormat_t format = 1 [default = VOICEDATA_FORMAT_STEAM];
*/
public Builder clearFormat() {
bitField0_ = (bitField0_ & ~0x00000001);
format_ = skadistats.clarity.wire.shared.common.proto.CommonNetMessages.VoiceDataFormat_t.VOICEDATA_FORMAT_STEAM;
onChanged();
return this;
}
private com.google.protobuf.ByteString voiceData_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes voice_data = 2;
*/
public boolean hasVoiceData() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional bytes voice_data = 2;
*/
public com.google.protobuf.ByteString getVoiceData() {
return voiceData_;
}
/**
* optional bytes voice_data = 2;
*/
public Builder setVoiceData(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
voiceData_ = value;
onChanged();
return this;
}
/**
* optional bytes voice_data = 2;
*/
public Builder clearVoiceData() {
bitField0_ = (bitField0_ & ~0x00000002);
voiceData_ = getDefaultInstance().getVoiceData();
onChanged();
return this;
}
private int sequenceBytes_ ;
/**
* optional int32 sequence_bytes = 3;
*/
public boolean hasSequenceBytes() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 sequence_bytes = 3;
*/
public int getSequenceBytes() {
return sequenceBytes_;
}
/**
* optional int32 sequence_bytes = 3;
*/
public Builder setSequenceBytes(int value) {
bitField0_ |= 0x00000004;
sequenceBytes_ = value;
onChanged();
return this;
}
/**
* optional int32 sequence_bytes = 3;
*/
public Builder clearSequenceBytes() {
bitField0_ = (bitField0_ & ~0x00000004);
sequenceBytes_ = 0;
onChanged();
return this;
}
private int sectionNumber_ ;
/**
* optional uint32 section_number = 4;
*/
public boolean hasSectionNumber() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional uint32 section_number = 4;
*/
public int getSectionNumber() {
return sectionNumber_;
}
/**
* optional uint32 section_number = 4;
*/
public Builder setSectionNumber(int value) {
bitField0_ |= 0x00000008;
sectionNumber_ = value;
onChanged();
return this;
}
/**
* optional uint32 section_number = 4;
*/
public Builder clearSectionNumber() {
bitField0_ = (bitField0_ & ~0x00000008);
sectionNumber_ = 0;
onChanged();
return this;
}
private int sampleRate_ ;
/**
* optional uint32 sample_rate = 5;
*/
public boolean hasSampleRate() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional uint32 sample_rate = 5;
*/
public int getSampleRate() {
return sampleRate_;
}
/**
* optional uint32 sample_rate = 5;
*/
public Builder setSampleRate(int value) {
bitField0_ |= 0x00000010;
sampleRate_ = value;
onChanged();
return this;
}
/**
* optional uint32 sample_rate = 5;
*/
public Builder clearSampleRate() {
bitField0_ = (bitField0_ & ~0x00000010);
sampleRate_ = 0;
onChanged();
return this;
}
private int uncompressedSampleOffset_ ;
/**
* optional uint32 uncompressed_sample_offset = 6;
*/
public boolean hasUncompressedSampleOffset() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional uint32 uncompressed_sample_offset = 6;
*/
public int getUncompressedSampleOffset() {
return uncompressedSampleOffset_;
}
/**
* optional uint32 uncompressed_sample_offset = 6;
*/
public Builder setUncompressedSampleOffset(int value) {
bitField0_ |= 0x00000020;
uncompressedSampleOffset_ = value;
onChanged();
return this;
}
/**
* optional uint32 uncompressed_sample_offset = 6;
*/
public Builder clearUncompressedSampleOffset() {
bitField0_ = (bitField0_ & ~0x00000020);
uncompressedSampleOffset_ = 0;
onChanged();
return this;
}
private int numPackets_ ;
/**
* optional uint32 num_packets = 7;
*/
public boolean hasNumPackets() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional uint32 num_packets = 7;
*/
public int getNumPackets() {
return numPackets_;
}
/**
* optional uint32 num_packets = 7;
*/
public Builder setNumPackets(int value) {
bitField0_ |= 0x00000040;
numPackets_ = value;
onChanged();
return this;
}
/**
* optional uint32 num_packets = 7;
*/
public Builder clearNumPackets() {
bitField0_ = (bitField0_ & ~0x00000040);
numPackets_ = 0;
onChanged();
return this;
}
private java.util.List packetOffsets_ = java.util.Collections.emptyList();
private void ensurePacketOffsetsIsMutable() {
if (!((bitField0_ & 0x00000080) == 0x00000080)) {
packetOffsets_ = new java.util.ArrayList(packetOffsets_);
bitField0_ |= 0x00000080;
}
}
/**
* repeated uint32 packet_offsets = 8 [packed = true];
*/
public java.util.List
getPacketOffsetsList() {
return java.util.Collections.unmodifiableList(packetOffsets_);
}
/**
* repeated uint32 packet_offsets = 8 [packed = true];
*/
public int getPacketOffsetsCount() {
return packetOffsets_.size();
}
/**
* repeated uint32 packet_offsets = 8 [packed = true];
*/
public int getPacketOffsets(int index) {
return packetOffsets_.get(index);
}
/**
* repeated uint32 packet_offsets = 8 [packed = true];
*/
public Builder setPacketOffsets(
int index, int value) {
ensurePacketOffsetsIsMutable();
packetOffsets_.set(index, value);
onChanged();
return this;
}
/**
* repeated uint32 packet_offsets = 8 [packed = true];
*/
public Builder addPacketOffsets(int value) {
ensurePacketOffsetsIsMutable();
packetOffsets_.add(value);
onChanged();
return this;
}
/**
* repeated uint32 packet_offsets = 8 [packed = true];
*/
public Builder addAllPacketOffsets(
java.lang.Iterable extends java.lang.Integer> values) {
ensurePacketOffsetsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, packetOffsets_);
onChanged();
return this;
}
/**
* repeated uint32 packet_offsets = 8 [packed = true];
*/
public Builder clearPacketOffsets() {
packetOffsets_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
return this;
}
private float voiceLevel_ ;
/**
* optional float voice_level = 9;
*/
public boolean hasVoiceLevel() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional float voice_level = 9;
*/
public float getVoiceLevel() {
return voiceLevel_;
}
/**
* optional float voice_level = 9;
*/
public Builder setVoiceLevel(float value) {
bitField0_ |= 0x00000100;
voiceLevel_ = value;
onChanged();
return this;
}
/**
* optional float voice_level = 9;
*/
public Builder clearVoiceLevel() {
bitField0_ = (bitField0_ & ~0x00000100);
voiceLevel_ = 0F;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgVoiceAudio)
}
static {
defaultInstance = new CMsgVoiceAudio(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CMsgVoiceAudio)
}
public interface CCLCMsg_VoiceDataOrBuilder extends
// @@protoc_insertion_point(interface_extends:CCLCMsg_VoiceData)
com.google.protobuf.MessageOrBuilder {
/**
* optional .CMsgVoiceAudio audio = 1;
*/
boolean hasAudio();
/**
* optional .CMsgVoiceAudio audio = 1;
*/
skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio getAudio();
/**
* optional .CMsgVoiceAudio audio = 1;
*/
skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudioOrBuilder getAudioOrBuilder();
/**
* optional fixed64 xuid = 2;
*/
boolean hasXuid();
/**
* optional fixed64 xuid = 2;
*/
long getXuid();
/**
* optional uint32 tick = 3;
*/
boolean hasTick();
/**
* optional uint32 tick = 3;
*/
int getTick();
}
/**
* Protobuf type {@code CCLCMsg_VoiceData}
*/
public static final class CCLCMsg_VoiceData extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CCLCMsg_VoiceData)
CCLCMsg_VoiceDataOrBuilder {
// Use CCLCMsg_VoiceData.newBuilder() to construct.
private CCLCMsg_VoiceData(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CCLCMsg_VoiceData(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CCLCMsg_VoiceData defaultInstance;
public static CCLCMsg_VoiceData getDefaultInstance() {
return defaultInstance;
}
public CCLCMsg_VoiceData getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CCLCMsg_VoiceData(
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: {
skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = audio_.toBuilder();
}
audio_ = input.readMessage(skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(audio_);
audio_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 17: {
bitField0_ |= 0x00000002;
xuid_ = input.readFixed64();
break;
}
case 24: {
bitField0_ |= 0x00000004;
tick_ = input.readUInt32();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.internal_static_CCLCMsg_VoiceData_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.internal_static_CCLCMsg_VoiceData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_VoiceData.class, skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_VoiceData.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CCLCMsg_VoiceData parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CCLCMsg_VoiceData(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int AUDIO_FIELD_NUMBER = 1;
private skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio audio_;
/**
* optional .CMsgVoiceAudio audio = 1;
*/
public boolean hasAudio() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .CMsgVoiceAudio audio = 1;
*/
public skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio getAudio() {
return audio_;
}
/**
* optional .CMsgVoiceAudio audio = 1;
*/
public skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudioOrBuilder getAudioOrBuilder() {
return audio_;
}
public static final int XUID_FIELD_NUMBER = 2;
private long xuid_;
/**
* optional fixed64 xuid = 2;
*/
public boolean hasXuid() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional fixed64 xuid = 2;
*/
public long getXuid() {
return xuid_;
}
public static final int TICK_FIELD_NUMBER = 3;
private int tick_;
/**
* optional uint32 tick = 3;
*/
public boolean hasTick() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 tick = 3;
*/
public int getTick() {
return tick_;
}
private void initFields() {
audio_ = skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio.getDefaultInstance();
xuid_ = 0L;
tick_ = 0;
}
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.writeMessage(1, audio_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeFixed64(2, xuid_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeUInt32(3, tick_);
}
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
.computeMessageSize(1, audio_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeFixed64Size(2, xuid_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, tick_);
}
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.shared.demo.proto.DemoNetMessages.CCLCMsg_VoiceData parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_VoiceData 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.shared.demo.proto.DemoNetMessages.CCLCMsg_VoiceData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_VoiceData parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_VoiceData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_VoiceData parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_VoiceData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_VoiceData parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_VoiceData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_VoiceData 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.shared.demo.proto.DemoNetMessages.CCLCMsg_VoiceData 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 CCLCMsg_VoiceData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CCLCMsg_VoiceData)
skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_VoiceDataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.internal_static_CCLCMsg_VoiceData_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.internal_static_CCLCMsg_VoiceData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_VoiceData.class, skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_VoiceData.Builder.class);
}
// Construct using skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_VoiceData.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getAudioFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (audioBuilder_ == null) {
audio_ = skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio.getDefaultInstance();
} else {
audioBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
xuid_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
tick_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.internal_static_CCLCMsg_VoiceData_descriptor;
}
public skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_VoiceData getDefaultInstanceForType() {
return skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_VoiceData.getDefaultInstance();
}
public skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_VoiceData build() {
skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_VoiceData result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_VoiceData buildPartial() {
skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_VoiceData result = new skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_VoiceData(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (audioBuilder_ == null) {
result.audio_ = audio_;
} else {
result.audio_ = audioBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.xuid_ = xuid_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.tick_ = tick_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_VoiceData) {
return mergeFrom((skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_VoiceData)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_VoiceData other) {
if (other == skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_VoiceData.getDefaultInstance()) return this;
if (other.hasAudio()) {
mergeAudio(other.getAudio());
}
if (other.hasXuid()) {
setXuid(other.getXuid());
}
if (other.hasTick()) {
setTick(other.getTick());
}
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.shared.demo.proto.DemoNetMessages.CCLCMsg_VoiceData parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_VoiceData) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio audio_ = skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio, skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio.Builder, skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudioOrBuilder> audioBuilder_;
/**
* optional .CMsgVoiceAudio audio = 1;
*/
public boolean hasAudio() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .CMsgVoiceAudio audio = 1;
*/
public skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio getAudio() {
if (audioBuilder_ == null) {
return audio_;
} else {
return audioBuilder_.getMessage();
}
}
/**
* optional .CMsgVoiceAudio audio = 1;
*/
public Builder setAudio(skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio value) {
if (audioBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
audio_ = value;
onChanged();
} else {
audioBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .CMsgVoiceAudio audio = 1;
*/
public Builder setAudio(
skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio.Builder builderForValue) {
if (audioBuilder_ == null) {
audio_ = builderForValue.build();
onChanged();
} else {
audioBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .CMsgVoiceAudio audio = 1;
*/
public Builder mergeAudio(skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio value) {
if (audioBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
audio_ != skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio.getDefaultInstance()) {
audio_ =
skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio.newBuilder(audio_).mergeFrom(value).buildPartial();
} else {
audio_ = value;
}
onChanged();
} else {
audioBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .CMsgVoiceAudio audio = 1;
*/
public Builder clearAudio() {
if (audioBuilder_ == null) {
audio_ = skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio.getDefaultInstance();
onChanged();
} else {
audioBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* optional .CMsgVoiceAudio audio = 1;
*/
public skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio.Builder getAudioBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getAudioFieldBuilder().getBuilder();
}
/**
* optional .CMsgVoiceAudio audio = 1;
*/
public skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudioOrBuilder getAudioOrBuilder() {
if (audioBuilder_ != null) {
return audioBuilder_.getMessageOrBuilder();
} else {
return audio_;
}
}
/**
* optional .CMsgVoiceAudio audio = 1;
*/
private com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio, skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio.Builder, skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudioOrBuilder>
getAudioFieldBuilder() {
if (audioBuilder_ == null) {
audioBuilder_ = new com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio, skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudio.Builder, skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CMsgVoiceAudioOrBuilder>(
getAudio(),
getParentForChildren(),
isClean());
audio_ = null;
}
return audioBuilder_;
}
private long xuid_ ;
/**
* optional fixed64 xuid = 2;
*/
public boolean hasXuid() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional fixed64 xuid = 2;
*/
public long getXuid() {
return xuid_;
}
/**
* optional fixed64 xuid = 2;
*/
public Builder setXuid(long value) {
bitField0_ |= 0x00000002;
xuid_ = value;
onChanged();
return this;
}
/**
* optional fixed64 xuid = 2;
*/
public Builder clearXuid() {
bitField0_ = (bitField0_ & ~0x00000002);
xuid_ = 0L;
onChanged();
return this;
}
private int tick_ ;
/**
* optional uint32 tick = 3;
*/
public boolean hasTick() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 tick = 3;
*/
public int getTick() {
return tick_;
}
/**
* optional uint32 tick = 3;
*/
public Builder setTick(int value) {
bitField0_ |= 0x00000004;
tick_ = value;
onChanged();
return this;
}
/**
* optional uint32 tick = 3;
*/
public Builder clearTick() {
bitField0_ = (bitField0_ & ~0x00000004);
tick_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CCLCMsg_VoiceData)
}
static {
defaultInstance = new CCLCMsg_VoiceData(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CCLCMsg_VoiceData)
}
public interface CCLCMsg_FileCRCCheckOrBuilder extends
// @@protoc_insertion_point(interface_extends:CCLCMsg_FileCRCCheck)
com.google.protobuf.MessageOrBuilder {
/**
* optional int32 code_path = 1;
*/
boolean hasCodePath();
/**
* optional int32 code_path = 1;
*/
int getCodePath();
/**
* optional string path = 2;
*/
boolean hasPath();
/**
* optional string path = 2;
*/
java.lang.String getPath();
/**
* optional string path = 2;
*/
com.google.protobuf.ByteString
getPathBytes();
/**
* optional int32 code_filename = 3;
*/
boolean hasCodeFilename();
/**
* optional int32 code_filename = 3;
*/
int getCodeFilename();
/**
* optional string filename = 4;
*/
boolean hasFilename();
/**
* optional string filename = 4;
*/
java.lang.String getFilename();
/**
* optional string filename = 4;
*/
com.google.protobuf.ByteString
getFilenameBytes();
/**
* optional fixed32 crc = 5;
*/
boolean hasCrc();
/**
* optional fixed32 crc = 5;
*/
int getCrc();
}
/**
* Protobuf type {@code CCLCMsg_FileCRCCheck}
*/
public static final class CCLCMsg_FileCRCCheck extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CCLCMsg_FileCRCCheck)
CCLCMsg_FileCRCCheckOrBuilder {
// Use CCLCMsg_FileCRCCheck.newBuilder() to construct.
private CCLCMsg_FileCRCCheck(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CCLCMsg_FileCRCCheck(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CCLCMsg_FileCRCCheck defaultInstance;
public static CCLCMsg_FileCRCCheck getDefaultInstance() {
return defaultInstance;
}
public CCLCMsg_FileCRCCheck getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CCLCMsg_FileCRCCheck(
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;
codePath_ = input.readInt32();
break;
}
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
path_ = bs;
break;
}
case 24: {
bitField0_ |= 0x00000004;
codeFilename_ = input.readInt32();
break;
}
case 34: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000008;
filename_ = bs;
break;
}
case 45: {
bitField0_ |= 0x00000010;
crc_ = input.readFixed32();
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.shared.demo.proto.DemoNetMessages.internal_static_CCLCMsg_FileCRCCheck_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.internal_static_CCLCMsg_FileCRCCheck_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_FileCRCCheck.class, skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_FileCRCCheck.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CCLCMsg_FileCRCCheck parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CCLCMsg_FileCRCCheck(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int CODE_PATH_FIELD_NUMBER = 1;
private int codePath_;
/**
* optional int32 code_path = 1;
*/
public boolean hasCodePath() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 code_path = 1;
*/
public int getCodePath() {
return codePath_;
}
public static final int PATH_FIELD_NUMBER = 2;
private java.lang.Object path_;
/**
* optional string path = 2;
*/
public boolean hasPath() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string path = 2;
*/
public java.lang.String getPath() {
java.lang.Object ref = path_;
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()) {
path_ = s;
}
return s;
}
}
/**
* optional string path = 2;
*/
public com.google.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
path_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CODE_FILENAME_FIELD_NUMBER = 3;
private int codeFilename_;
/**
* optional int32 code_filename = 3;
*/
public boolean hasCodeFilename() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 code_filename = 3;
*/
public int getCodeFilename() {
return codeFilename_;
}
public static final int FILENAME_FIELD_NUMBER = 4;
private java.lang.Object filename_;
/**
* optional string filename = 4;
*/
public boolean hasFilename() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional string filename = 4;
*/
public java.lang.String getFilename() {
java.lang.Object ref = filename_;
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()) {
filename_ = s;
}
return s;
}
}
/**
* optional string filename = 4;
*/
public com.google.protobuf.ByteString
getFilenameBytes() {
java.lang.Object ref = filename_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
filename_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CRC_FIELD_NUMBER = 5;
private int crc_;
/**
* optional fixed32 crc = 5;
*/
public boolean hasCrc() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional fixed32 crc = 5;
*/
public int getCrc() {
return crc_;
}
private void initFields() {
codePath_ = 0;
path_ = "";
codeFilename_ = 0;
filename_ = "";
crc_ = 0;
}
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.writeInt32(1, codePath_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getPathBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt32(3, codeFilename_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeBytes(4, getFilenameBytes());
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeFixed32(5, crc_);
}
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
.computeInt32Size(1, codePath_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getPathBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, codeFilename_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(4, getFilenameBytes());
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeFixed32Size(5, crc_);
}
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.shared.demo.proto.DemoNetMessages.CCLCMsg_FileCRCCheck parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_FileCRCCheck 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.shared.demo.proto.DemoNetMessages.CCLCMsg_FileCRCCheck parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_FileCRCCheck parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_FileCRCCheck parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_FileCRCCheck parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_FileCRCCheck parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_FileCRCCheck parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_FileCRCCheck parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_FileCRCCheck 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.shared.demo.proto.DemoNetMessages.CCLCMsg_FileCRCCheck 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 CCLCMsg_FileCRCCheck}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CCLCMsg_FileCRCCheck)
skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_FileCRCCheckOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.internal_static_CCLCMsg_FileCRCCheck_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.internal_static_CCLCMsg_FileCRCCheck_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_FileCRCCheck.class, skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_FileCRCCheck.Builder.class);
}
// Construct using skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_FileCRCCheck.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();
codePath_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
path_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
codeFilename_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
filename_ = "";
bitField0_ = (bitField0_ & ~0x00000008);
crc_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.internal_static_CCLCMsg_FileCRCCheck_descriptor;
}
public skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_FileCRCCheck getDefaultInstanceForType() {
return skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_FileCRCCheck.getDefaultInstance();
}
public skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_FileCRCCheck build() {
skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_FileCRCCheck result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_FileCRCCheck buildPartial() {
skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_FileCRCCheck result = new skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_FileCRCCheck(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.codePath_ = codePath_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.path_ = path_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.codeFilename_ = codeFilename_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.filename_ = filename_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.crc_ = crc_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_FileCRCCheck) {
return mergeFrom((skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_FileCRCCheck)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_FileCRCCheck other) {
if (other == skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_FileCRCCheck.getDefaultInstance()) return this;
if (other.hasCodePath()) {
setCodePath(other.getCodePath());
}
if (other.hasPath()) {
bitField0_ |= 0x00000002;
path_ = other.path_;
onChanged();
}
if (other.hasCodeFilename()) {
setCodeFilename(other.getCodeFilename());
}
if (other.hasFilename()) {
bitField0_ |= 0x00000008;
filename_ = other.filename_;
onChanged();
}
if (other.hasCrc()) {
setCrc(other.getCrc());
}
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.shared.demo.proto.DemoNetMessages.CCLCMsg_FileCRCCheck parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_FileCRCCheck) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int codePath_ ;
/**
* optional int32 code_path = 1;
*/
public boolean hasCodePath() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 code_path = 1;
*/
public int getCodePath() {
return codePath_;
}
/**
* optional int32 code_path = 1;
*/
public Builder setCodePath(int value) {
bitField0_ |= 0x00000001;
codePath_ = value;
onChanged();
return this;
}
/**
* optional int32 code_path = 1;
*/
public Builder clearCodePath() {
bitField0_ = (bitField0_ & ~0x00000001);
codePath_ = 0;
onChanged();
return this;
}
private java.lang.Object path_ = "";
/**
* optional string path = 2;
*/
public boolean hasPath() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string path = 2;
*/
public java.lang.String getPath() {
java.lang.Object ref = path_;
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()) {
path_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string path = 2;
*/
public com.google.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
path_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string path = 2;
*/
public Builder setPath(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
path_ = value;
onChanged();
return this;
}
/**
* optional string path = 2;
*/
public Builder clearPath() {
bitField0_ = (bitField0_ & ~0x00000002);
path_ = getDefaultInstance().getPath();
onChanged();
return this;
}
/**
* optional string path = 2;
*/
public Builder setPathBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
path_ = value;
onChanged();
return this;
}
private int codeFilename_ ;
/**
* optional int32 code_filename = 3;
*/
public boolean hasCodeFilename() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 code_filename = 3;
*/
public int getCodeFilename() {
return codeFilename_;
}
/**
* optional int32 code_filename = 3;
*/
public Builder setCodeFilename(int value) {
bitField0_ |= 0x00000004;
codeFilename_ = value;
onChanged();
return this;
}
/**
* optional int32 code_filename = 3;
*/
public Builder clearCodeFilename() {
bitField0_ = (bitField0_ & ~0x00000004);
codeFilename_ = 0;
onChanged();
return this;
}
private java.lang.Object filename_ = "";
/**
* optional string filename = 4;
*/
public boolean hasFilename() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional string filename = 4;
*/
public java.lang.String getFilename() {
java.lang.Object ref = filename_;
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()) {
filename_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string filename = 4;
*/
public com.google.protobuf.ByteString
getFilenameBytes() {
java.lang.Object ref = filename_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
filename_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string filename = 4;
*/
public Builder setFilename(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
filename_ = value;
onChanged();
return this;
}
/**
* optional string filename = 4;
*/
public Builder clearFilename() {
bitField0_ = (bitField0_ & ~0x00000008);
filename_ = getDefaultInstance().getFilename();
onChanged();
return this;
}
/**
* optional string filename = 4;
*/
public Builder setFilenameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
filename_ = value;
onChanged();
return this;
}
private int crc_ ;
/**
* optional fixed32 crc = 5;
*/
public boolean hasCrc() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional fixed32 crc = 5;
*/
public int getCrc() {
return crc_;
}
/**
* optional fixed32 crc = 5;
*/
public Builder setCrc(int value) {
bitField0_ |= 0x00000010;
crc_ = value;
onChanged();
return this;
}
/**
* optional fixed32 crc = 5;
*/
public Builder clearCrc() {
bitField0_ = (bitField0_ & ~0x00000010);
crc_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CCLCMsg_FileCRCCheck)
}
static {
defaultInstance = new CCLCMsg_FileCRCCheck(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CCLCMsg_FileCRCCheck)
}
public interface CCLCMsg_SplitPlayerConnectOrBuilder extends
// @@protoc_insertion_point(interface_extends:CCLCMsg_SplitPlayerConnect)
com.google.protobuf.MessageOrBuilder {
/**
* optional string playername = 1;
*/
boolean hasPlayername();
/**
* optional string playername = 1;
*/
java.lang.String getPlayername();
/**
* optional string playername = 1;
*/
com.google.protobuf.ByteString
getPlayernameBytes();
}
/**
* Protobuf type {@code CCLCMsg_SplitPlayerConnect}
*/
public static final class CCLCMsg_SplitPlayerConnect extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CCLCMsg_SplitPlayerConnect)
CCLCMsg_SplitPlayerConnectOrBuilder {
// Use CCLCMsg_SplitPlayerConnect.newBuilder() to construct.
private CCLCMsg_SplitPlayerConnect(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CCLCMsg_SplitPlayerConnect(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CCLCMsg_SplitPlayerConnect defaultInstance;
public static CCLCMsg_SplitPlayerConnect getDefaultInstance() {
return defaultInstance;
}
public CCLCMsg_SplitPlayerConnect getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CCLCMsg_SplitPlayerConnect(
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;
playername_ = 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.shared.demo.proto.DemoNetMessages.internal_static_CCLCMsg_SplitPlayerConnect_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.internal_static_CCLCMsg_SplitPlayerConnect_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_SplitPlayerConnect.class, skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_SplitPlayerConnect.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CCLCMsg_SplitPlayerConnect parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CCLCMsg_SplitPlayerConnect(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int PLAYERNAME_FIELD_NUMBER = 1;
private java.lang.Object playername_;
/**
* optional string playername = 1;
*/
public boolean hasPlayername() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string playername = 1;
*/
public java.lang.String getPlayername() {
java.lang.Object ref = playername_;
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()) {
playername_ = s;
}
return s;
}
}
/**
* optional string playername = 1;
*/
public com.google.protobuf.ByteString
getPlayernameBytes() {
java.lang.Object ref = playername_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
playername_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
playername_ = "";
}
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, getPlayernameBytes());
}
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, getPlayernameBytes());
}
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.shared.demo.proto.DemoNetMessages.CCLCMsg_SplitPlayerConnect parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_SplitPlayerConnect 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.shared.demo.proto.DemoNetMessages.CCLCMsg_SplitPlayerConnect parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_SplitPlayerConnect parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_SplitPlayerConnect parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_SplitPlayerConnect parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_SplitPlayerConnect parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_SplitPlayerConnect parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_SplitPlayerConnect parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_SplitPlayerConnect 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.shared.demo.proto.DemoNetMessages.CCLCMsg_SplitPlayerConnect 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 CCLCMsg_SplitPlayerConnect}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CCLCMsg_SplitPlayerConnect)
skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_SplitPlayerConnectOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.internal_static_CCLCMsg_SplitPlayerConnect_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.internal_static_CCLCMsg_SplitPlayerConnect_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_SplitPlayerConnect.class, skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_SplitPlayerConnect.Builder.class);
}
// Construct using skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_SplitPlayerConnect.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();
playername_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.internal_static_CCLCMsg_SplitPlayerConnect_descriptor;
}
public skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_SplitPlayerConnect getDefaultInstanceForType() {
return skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_SplitPlayerConnect.getDefaultInstance();
}
public skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_SplitPlayerConnect build() {
skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_SplitPlayerConnect result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_SplitPlayerConnect buildPartial() {
skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_SplitPlayerConnect result = new skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_SplitPlayerConnect(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.playername_ = playername_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_SplitPlayerConnect) {
return mergeFrom((skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_SplitPlayerConnect)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_SplitPlayerConnect other) {
if (other == skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_SplitPlayerConnect.getDefaultInstance()) return this;
if (other.hasPlayername()) {
bitField0_ |= 0x00000001;
playername_ = other.playername_;
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.shared.demo.proto.DemoNetMessages.CCLCMsg_SplitPlayerConnect parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CCLCMsg_SplitPlayerConnect) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object playername_ = "";
/**
* optional string playername = 1;
*/
public boolean hasPlayername() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string playername = 1;
*/
public java.lang.String getPlayername() {
java.lang.Object ref = playername_;
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()) {
playername_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string playername = 1;
*/
public com.google.protobuf.ByteString
getPlayernameBytes() {
java.lang.Object ref = playername_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
playername_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string playername = 1;
*/
public Builder setPlayername(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
playername_ = value;
onChanged();
return this;
}
/**
* optional string playername = 1;
*/
public Builder clearPlayername() {
bitField0_ = (bitField0_ & ~0x00000001);
playername_ = getDefaultInstance().getPlayername();
onChanged();
return this;
}
/**
* optional string playername = 1;
*/
public Builder setPlayernameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
playername_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CCLCMsg_SplitPlayerConnect)
}
static {
defaultInstance = new CCLCMsg_SplitPlayerConnect(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CCLCMsg_SplitPlayerConnect)
}
public interface CSVCMsg_ServerInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:CSVCMsg_ServerInfo)
com.google.protobuf.MessageOrBuilder {
/**
* optional int32 protocol = 1;
*/
boolean hasProtocol();
/**
* optional int32 protocol = 1;
*/
int getProtocol();
/**
* optional int32 server_count = 2;
*/
boolean hasServerCount();
/**
* optional int32 server_count = 2;
*/
int getServerCount();
/**
* optional bool is_dedicated = 3;
*/
boolean hasIsDedicated();
/**
* optional bool is_dedicated = 3;
*/
boolean getIsDedicated();
/**
* optional bool is_hltv = 4;
*/
boolean hasIsHltv();
/**
* optional bool is_hltv = 4;
*/
boolean getIsHltv();
/**
* optional bool is_replay = 5;
*/
boolean hasIsReplay();
/**
* optional bool is_replay = 5;
*/
boolean getIsReplay();
/**
* optional int32 c_os = 6;
*/
boolean hasCOs();
/**
* optional int32 c_os = 6;
*/
int getCOs();
/**
* optional fixed32 map_crc = 7;
*/
boolean hasMapCrc();
/**
* optional fixed32 map_crc = 7;
*/
int getMapCrc();
/**
* optional fixed32 client_crc = 8;
*/
boolean hasClientCrc();
/**
* optional fixed32 client_crc = 8;
*/
int getClientCrc();
/**
* optional fixed32 string_table_crc = 9;
*/
boolean hasStringTableCrc();
/**
* optional fixed32 string_table_crc = 9;
*/
int getStringTableCrc();
/**
* optional int32 max_clients = 10;
*/
boolean hasMaxClients();
/**
* optional int32 max_clients = 10;
*/
int getMaxClients();
/**
* optional int32 max_classes = 11;
*/
boolean hasMaxClasses();
/**
* optional int32 max_classes = 11;
*/
int getMaxClasses();
/**
* optional int32 player_slot = 12;
*/
boolean hasPlayerSlot();
/**
* optional int32 player_slot = 12;
*/
int getPlayerSlot();
/**
* optional float tick_interval = 13;
*/
boolean hasTickInterval();
/**
* optional float tick_interval = 13;
*/
float getTickInterval();
/**
* optional string game_dir = 14;
*/
boolean hasGameDir();
/**
* optional string game_dir = 14;
*/
java.lang.String getGameDir();
/**
* optional string game_dir = 14;
*/
com.google.protobuf.ByteString
getGameDirBytes();
/**
* optional string map_name = 15;
*/
boolean hasMapName();
/**
* optional string map_name = 15;
*/
java.lang.String getMapName();
/**
* optional string map_name = 15;
*/
com.google.protobuf.ByteString
getMapNameBytes();
/**
* optional string sky_name = 16;
*/
boolean hasSkyName();
/**
* optional string sky_name = 16;
*/
java.lang.String getSkyName();
/**
* optional string sky_name = 16;
*/
com.google.protobuf.ByteString
getSkyNameBytes();
/**
* optional string host_name = 17;
*/
boolean hasHostName();
/**
* optional string host_name = 17;
*/
java.lang.String getHostName();
/**
* optional string host_name = 17;
*/
com.google.protobuf.ByteString
getHostNameBytes();
/**
* optional string addon_name = 18;
*/
boolean hasAddonName();
/**
* optional string addon_name = 18;
*/
java.lang.String getAddonName();
/**
* optional string addon_name = 18;
*/
com.google.protobuf.ByteString
getAddonNameBytes();
/**
* optional .CSVCMsg_GameSessionConfiguration game_session_config = 19;
*/
boolean hasGameSessionConfig();
/**
* optional .CSVCMsg_GameSessionConfiguration game_session_config = 19;
*/
skadistats.clarity.wire.shared.demo.proto.DemoNetworkBaseTypes.CSVCMsg_GameSessionConfiguration getGameSessionConfig();
/**
* optional .CSVCMsg_GameSessionConfiguration game_session_config = 19;
*/
skadistats.clarity.wire.shared.demo.proto.DemoNetworkBaseTypes.CSVCMsg_GameSessionConfigurationOrBuilder getGameSessionConfigOrBuilder();
/**
* optional bytes game_session_manifest = 20;
*/
boolean hasGameSessionManifest();
/**
* optional bytes game_session_manifest = 20;
*/
com.google.protobuf.ByteString getGameSessionManifest();
}
/**
* Protobuf type {@code CSVCMsg_ServerInfo}
*/
public static final class CSVCMsg_ServerInfo extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CSVCMsg_ServerInfo)
CSVCMsg_ServerInfoOrBuilder {
// Use CSVCMsg_ServerInfo.newBuilder() to construct.
private CSVCMsg_ServerInfo(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CSVCMsg_ServerInfo(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CSVCMsg_ServerInfo defaultInstance;
public static CSVCMsg_ServerInfo getDefaultInstance() {
return defaultInstance;
}
public CSVCMsg_ServerInfo getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CSVCMsg_ServerInfo(
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;
protocol_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
serverCount_ = input.readInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
isDedicated_ = input.readBool();
break;
}
case 32: {
bitField0_ |= 0x00000008;
isHltv_ = input.readBool();
break;
}
case 40: {
bitField0_ |= 0x00000010;
isReplay_ = input.readBool();
break;
}
case 48: {
bitField0_ |= 0x00000020;
cOs_ = input.readInt32();
break;
}
case 61: {
bitField0_ |= 0x00000040;
mapCrc_ = input.readFixed32();
break;
}
case 69: {
bitField0_ |= 0x00000080;
clientCrc_ = input.readFixed32();
break;
}
case 77: {
bitField0_ |= 0x00000100;
stringTableCrc_ = input.readFixed32();
break;
}
case 80: {
bitField0_ |= 0x00000200;
maxClients_ = input.readInt32();
break;
}
case 88: {
bitField0_ |= 0x00000400;
maxClasses_ = input.readInt32();
break;
}
case 96: {
bitField0_ |= 0x00000800;
playerSlot_ = input.readInt32();
break;
}
case 109: {
bitField0_ |= 0x00001000;
tickInterval_ = input.readFloat();
break;
}
case 114: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00002000;
gameDir_ = bs;
break;
}
case 122: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00004000;
mapName_ = bs;
break;
}
case 130: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00008000;
skyName_ = bs;
break;
}
case 138: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00010000;
hostName_ = bs;
break;
}
case 146: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00020000;
addonName_ = bs;
break;
}
case 154: {
skadistats.clarity.wire.shared.demo.proto.DemoNetworkBaseTypes.CSVCMsg_GameSessionConfiguration.Builder subBuilder = null;
if (((bitField0_ & 0x00040000) == 0x00040000)) {
subBuilder = gameSessionConfig_.toBuilder();
}
gameSessionConfig_ = input.readMessage(skadistats.clarity.wire.shared.demo.proto.DemoNetworkBaseTypes.CSVCMsg_GameSessionConfiguration.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(gameSessionConfig_);
gameSessionConfig_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00040000;
break;
}
case 162: {
bitField0_ |= 0x00080000;
gameSessionManifest_ = input.readBytes();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.internal_static_CSVCMsg_ServerInfo_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.internal_static_CSVCMsg_ServerInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CSVCMsg_ServerInfo.class, skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CSVCMsg_ServerInfo.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CSVCMsg_ServerInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CSVCMsg_ServerInfo(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int PROTOCOL_FIELD_NUMBER = 1;
private int protocol_;
/**
* optional int32 protocol = 1;
*/
public boolean hasProtocol() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 protocol = 1;
*/
public int getProtocol() {
return protocol_;
}
public static final int SERVER_COUNT_FIELD_NUMBER = 2;
private int serverCount_;
/**
* optional int32 server_count = 2;
*/
public boolean hasServerCount() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 server_count = 2;
*/
public int getServerCount() {
return serverCount_;
}
public static final int IS_DEDICATED_FIELD_NUMBER = 3;
private boolean isDedicated_;
/**
* optional bool is_dedicated = 3;
*/
public boolean hasIsDedicated() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional bool is_dedicated = 3;
*/
public boolean getIsDedicated() {
return isDedicated_;
}
public static final int IS_HLTV_FIELD_NUMBER = 4;
private boolean isHltv_;
/**
* optional bool is_hltv = 4;
*/
public boolean hasIsHltv() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional bool is_hltv = 4;
*/
public boolean getIsHltv() {
return isHltv_;
}
public static final int IS_REPLAY_FIELD_NUMBER = 5;
private boolean isReplay_;
/**
* optional bool is_replay = 5;
*/
public boolean hasIsReplay() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional bool is_replay = 5;
*/
public boolean getIsReplay() {
return isReplay_;
}
public static final int C_OS_FIELD_NUMBER = 6;
private int cOs_;
/**
* optional int32 c_os = 6;
*/
public boolean hasCOs() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional int32 c_os = 6;
*/
public int getCOs() {
return cOs_;
}
public static final int MAP_CRC_FIELD_NUMBER = 7;
private int mapCrc_;
/**
* optional fixed32 map_crc = 7;
*/
public boolean hasMapCrc() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional fixed32 map_crc = 7;
*/
public int getMapCrc() {
return mapCrc_;
}
public static final int CLIENT_CRC_FIELD_NUMBER = 8;
private int clientCrc_;
/**
* optional fixed32 client_crc = 8;
*/
public boolean hasClientCrc() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional fixed32 client_crc = 8;
*/
public int getClientCrc() {
return clientCrc_;
}
public static final int STRING_TABLE_CRC_FIELD_NUMBER = 9;
private int stringTableCrc_;
/**
* optional fixed32 string_table_crc = 9;
*/
public boolean hasStringTableCrc() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional fixed32 string_table_crc = 9;
*/
public int getStringTableCrc() {
return stringTableCrc_;
}
public static final int MAX_CLIENTS_FIELD_NUMBER = 10;
private int maxClients_;
/**
* optional int32 max_clients = 10;
*/
public boolean hasMaxClients() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* optional int32 max_clients = 10;
*/
public int getMaxClients() {
return maxClients_;
}
public static final int MAX_CLASSES_FIELD_NUMBER = 11;
private int maxClasses_;
/**
* optional int32 max_classes = 11;
*/
public boolean hasMaxClasses() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* optional int32 max_classes = 11;
*/
public int getMaxClasses() {
return maxClasses_;
}
public static final int PLAYER_SLOT_FIELD_NUMBER = 12;
private int playerSlot_;
/**
* optional int32 player_slot = 12;
*/
public boolean hasPlayerSlot() {
return ((bitField0_ & 0x00000800) == 0x00000800);
}
/**
* optional int32 player_slot = 12;
*/
public int getPlayerSlot() {
return playerSlot_;
}
public static final int TICK_INTERVAL_FIELD_NUMBER = 13;
private float tickInterval_;
/**
* optional float tick_interval = 13;
*/
public boolean hasTickInterval() {
return ((bitField0_ & 0x00001000) == 0x00001000);
}
/**
* optional float tick_interval = 13;
*/
public float getTickInterval() {
return tickInterval_;
}
public static final int GAME_DIR_FIELD_NUMBER = 14;
private java.lang.Object gameDir_;
/**
* optional string game_dir = 14;
*/
public boolean hasGameDir() {
return ((bitField0_ & 0x00002000) == 0x00002000);
}
/**
* optional string game_dir = 14;
*/
public java.lang.String getGameDir() {
java.lang.Object ref = gameDir_;
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()) {
gameDir_ = s;
}
return s;
}
}
/**
* optional string game_dir = 14;
*/
public com.google.protobuf.ByteString
getGameDirBytes() {
java.lang.Object ref = gameDir_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
gameDir_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MAP_NAME_FIELD_NUMBER = 15;
private java.lang.Object mapName_;
/**
* optional string map_name = 15;
*/
public boolean hasMapName() {
return ((bitField0_ & 0x00004000) == 0x00004000);
}
/**
* optional string map_name = 15;
*/
public java.lang.String getMapName() {
java.lang.Object ref = mapName_;
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()) {
mapName_ = s;
}
return s;
}
}
/**
* optional string map_name = 15;
*/
public com.google.protobuf.ByteString
getMapNameBytes() {
java.lang.Object ref = mapName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
mapName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SKY_NAME_FIELD_NUMBER = 16;
private java.lang.Object skyName_;
/**
* optional string sky_name = 16;
*/
public boolean hasSkyName() {
return ((bitField0_ & 0x00008000) == 0x00008000);
}
/**
* optional string sky_name = 16;
*/
public java.lang.String getSkyName() {
java.lang.Object ref = skyName_;
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()) {
skyName_ = s;
}
return s;
}
}
/**
* optional string sky_name = 16;
*/
public com.google.protobuf.ByteString
getSkyNameBytes() {
java.lang.Object ref = skyName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
skyName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int HOST_NAME_FIELD_NUMBER = 17;
private java.lang.Object hostName_;
/**
* optional string host_name = 17;
*/
public boolean hasHostName() {
return ((bitField0_ & 0x00010000) == 0x00010000);
}
/**
* optional string host_name = 17;
*/
public java.lang.String getHostName() {
java.lang.Object ref = hostName_;
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()) {
hostName_ = s;
}
return s;
}
}
/**
* optional string host_name = 17;
*/
public com.google.protobuf.ByteString
getHostNameBytes() {
java.lang.Object ref = hostName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hostName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ADDON_NAME_FIELD_NUMBER = 18;
private java.lang.Object addonName_;
/**
* optional string addon_name = 18;
*/
public boolean hasAddonName() {
return ((bitField0_ & 0x00020000) == 0x00020000);
}
/**
* optional string addon_name = 18;
*/
public java.lang.String getAddonName() {
java.lang.Object ref = addonName_;
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()) {
addonName_ = s;
}
return s;
}
}
/**
* optional string addon_name = 18;
*/
public com.google.protobuf.ByteString
getAddonNameBytes() {
java.lang.Object ref = addonName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
addonName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int GAME_SESSION_CONFIG_FIELD_NUMBER = 19;
private skadistats.clarity.wire.shared.demo.proto.DemoNetworkBaseTypes.CSVCMsg_GameSessionConfiguration gameSessionConfig_;
/**
* optional .CSVCMsg_GameSessionConfiguration game_session_config = 19;
*/
public boolean hasGameSessionConfig() {
return ((bitField0_ & 0x00040000) == 0x00040000);
}
/**
* optional .CSVCMsg_GameSessionConfiguration game_session_config = 19;
*/
public skadistats.clarity.wire.shared.demo.proto.DemoNetworkBaseTypes.CSVCMsg_GameSessionConfiguration getGameSessionConfig() {
return gameSessionConfig_;
}
/**
* optional .CSVCMsg_GameSessionConfiguration game_session_config = 19;
*/
public skadistats.clarity.wire.shared.demo.proto.DemoNetworkBaseTypes.CSVCMsg_GameSessionConfigurationOrBuilder getGameSessionConfigOrBuilder() {
return gameSessionConfig_;
}
public static final int GAME_SESSION_MANIFEST_FIELD_NUMBER = 20;
private com.google.protobuf.ByteString gameSessionManifest_;
/**
* optional bytes game_session_manifest = 20;
*/
public boolean hasGameSessionManifest() {
return ((bitField0_ & 0x00080000) == 0x00080000);
}
/**
* optional bytes game_session_manifest = 20;
*/
public com.google.protobuf.ByteString getGameSessionManifest() {
return gameSessionManifest_;
}
private void initFields() {
protocol_ = 0;
serverCount_ = 0;
isDedicated_ = false;
isHltv_ = false;
isReplay_ = false;
cOs_ = 0;
mapCrc_ = 0;
clientCrc_ = 0;
stringTableCrc_ = 0;
maxClients_ = 0;
maxClasses_ = 0;
playerSlot_ = 0;
tickInterval_ = 0F;
gameDir_ = "";
mapName_ = "";
skyName_ = "";
hostName_ = "";
addonName_ = "";
gameSessionConfig_ = skadistats.clarity.wire.shared.demo.proto.DemoNetworkBaseTypes.CSVCMsg_GameSessionConfiguration.getDefaultInstance();
gameSessionManifest_ = com.google.protobuf.ByteString.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.writeInt32(1, protocol_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, serverCount_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBool(3, isDedicated_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeBool(4, isHltv_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeBool(5, isReplay_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeInt32(6, cOs_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeFixed32(7, mapCrc_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeFixed32(8, clientCrc_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
output.writeFixed32(9, stringTableCrc_);
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
output.writeInt32(10, maxClients_);
}
if (((bitField0_ & 0x00000400) == 0x00000400)) {
output.writeInt32(11, maxClasses_);
}
if (((bitField0_ & 0x00000800) == 0x00000800)) {
output.writeInt32(12, playerSlot_);
}
if (((bitField0_ & 0x00001000) == 0x00001000)) {
output.writeFloat(13, tickInterval_);
}
if (((bitField0_ & 0x00002000) == 0x00002000)) {
output.writeBytes(14, getGameDirBytes());
}
if (((bitField0_ & 0x00004000) == 0x00004000)) {
output.writeBytes(15, getMapNameBytes());
}
if (((bitField0_ & 0x00008000) == 0x00008000)) {
output.writeBytes(16, getSkyNameBytes());
}
if (((bitField0_ & 0x00010000) == 0x00010000)) {
output.writeBytes(17, getHostNameBytes());
}
if (((bitField0_ & 0x00020000) == 0x00020000)) {
output.writeBytes(18, getAddonNameBytes());
}
if (((bitField0_ & 0x00040000) == 0x00040000)) {
output.writeMessage(19, gameSessionConfig_);
}
if (((bitField0_ & 0x00080000) == 0x00080000)) {
output.writeBytes(20, gameSessionManifest_);
}
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
.computeInt32Size(1, protocol_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, serverCount_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, isDedicated_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(4, isHltv_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, isReplay_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(6, cOs_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeFixed32Size(7, mapCrc_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += com.google.protobuf.CodedOutputStream
.computeFixed32Size(8, clientCrc_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
size += com.google.protobuf.CodedOutputStream
.computeFixed32Size(9, stringTableCrc_);
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(10, maxClients_);
}
if (((bitField0_ & 0x00000400) == 0x00000400)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(11, maxClasses_);
}
if (((bitField0_ & 0x00000800) == 0x00000800)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(12, playerSlot_);
}
if (((bitField0_ & 0x00001000) == 0x00001000)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(13, tickInterval_);
}
if (((bitField0_ & 0x00002000) == 0x00002000)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(14, getGameDirBytes());
}
if (((bitField0_ & 0x00004000) == 0x00004000)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(15, getMapNameBytes());
}
if (((bitField0_ & 0x00008000) == 0x00008000)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(16, getSkyNameBytes());
}
if (((bitField0_ & 0x00010000) == 0x00010000)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(17, getHostNameBytes());
}
if (((bitField0_ & 0x00020000) == 0x00020000)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(18, getAddonNameBytes());
}
if (((bitField0_ & 0x00040000) == 0x00040000)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(19, gameSessionConfig_);
}
if (((bitField0_ & 0x00080000) == 0x00080000)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(20, gameSessionManifest_);
}
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.shared.demo.proto.DemoNetMessages.CSVCMsg_ServerInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CSVCMsg_ServerInfo 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.shared.demo.proto.DemoNetMessages.CSVCMsg_ServerInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CSVCMsg_ServerInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CSVCMsg_ServerInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CSVCMsg_ServerInfo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CSVCMsg_ServerInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CSVCMsg_ServerInfo parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CSVCMsg_ServerInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CSVCMsg_ServerInfo 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.shared.demo.proto.DemoNetMessages.CSVCMsg_ServerInfo 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 CSVCMsg_ServerInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CSVCMsg_ServerInfo)
skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CSVCMsg_ServerInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.internal_static_CSVCMsg_ServerInfo_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.internal_static_CSVCMsg_ServerInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CSVCMsg_ServerInfo.class, skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CSVCMsg_ServerInfo.Builder.class);
}
// Construct using skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CSVCMsg_ServerInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getGameSessionConfigFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
protocol_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
serverCount_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
isDedicated_ = false;
bitField0_ = (bitField0_ & ~0x00000004);
isHltv_ = false;
bitField0_ = (bitField0_ & ~0x00000008);
isReplay_ = false;
bitField0_ = (bitField0_ & ~0x00000010);
cOs_ = 0;
bitField0_ = (bitField0_ & ~0x00000020);
mapCrc_ = 0;
bitField0_ = (bitField0_ & ~0x00000040);
clientCrc_ = 0;
bitField0_ = (bitField0_ & ~0x00000080);
stringTableCrc_ = 0;
bitField0_ = (bitField0_ & ~0x00000100);
maxClients_ = 0;
bitField0_ = (bitField0_ & ~0x00000200);
maxClasses_ = 0;
bitField0_ = (bitField0_ & ~0x00000400);
playerSlot_ = 0;
bitField0_ = (bitField0_ & ~0x00000800);
tickInterval_ = 0F;
bitField0_ = (bitField0_ & ~0x00001000);
gameDir_ = "";
bitField0_ = (bitField0_ & ~0x00002000);
mapName_ = "";
bitField0_ = (bitField0_ & ~0x00004000);
skyName_ = "";
bitField0_ = (bitField0_ & ~0x00008000);
hostName_ = "";
bitField0_ = (bitField0_ & ~0x00010000);
addonName_ = "";
bitField0_ = (bitField0_ & ~0x00020000);
if (gameSessionConfigBuilder_ == null) {
gameSessionConfig_ = skadistats.clarity.wire.shared.demo.proto.DemoNetworkBaseTypes.CSVCMsg_GameSessionConfiguration.getDefaultInstance();
} else {
gameSessionConfigBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00040000);
gameSessionManifest_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00080000);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.internal_static_CSVCMsg_ServerInfo_descriptor;
}
public skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CSVCMsg_ServerInfo getDefaultInstanceForType() {
return skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CSVCMsg_ServerInfo.getDefaultInstance();
}
public skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CSVCMsg_ServerInfo build() {
skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CSVCMsg_ServerInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CSVCMsg_ServerInfo buildPartial() {
skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CSVCMsg_ServerInfo result = new skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CSVCMsg_ServerInfo(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.protocol_ = protocol_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.serverCount_ = serverCount_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.isDedicated_ = isDedicated_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.isHltv_ = isHltv_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.isReplay_ = isReplay_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.cOs_ = cOs_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000040;
}
result.mapCrc_ = mapCrc_;
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000080;
}
result.clientCrc_ = clientCrc_;
if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
to_bitField0_ |= 0x00000100;
}
result.stringTableCrc_ = stringTableCrc_;
if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
to_bitField0_ |= 0x00000200;
}
result.maxClients_ = maxClients_;
if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
to_bitField0_ |= 0x00000400;
}
result.maxClasses_ = maxClasses_;
if (((from_bitField0_ & 0x00000800) == 0x00000800)) {
to_bitField0_ |= 0x00000800;
}
result.playerSlot_ = playerSlot_;
if (((from_bitField0_ & 0x00001000) == 0x00001000)) {
to_bitField0_ |= 0x00001000;
}
result.tickInterval_ = tickInterval_;
if (((from_bitField0_ & 0x00002000) == 0x00002000)) {
to_bitField0_ |= 0x00002000;
}
result.gameDir_ = gameDir_;
if (((from_bitField0_ & 0x00004000) == 0x00004000)) {
to_bitField0_ |= 0x00004000;
}
result.mapName_ = mapName_;
if (((from_bitField0_ & 0x00008000) == 0x00008000)) {
to_bitField0_ |= 0x00008000;
}
result.skyName_ = skyName_;
if (((from_bitField0_ & 0x00010000) == 0x00010000)) {
to_bitField0_ |= 0x00010000;
}
result.hostName_ = hostName_;
if (((from_bitField0_ & 0x00020000) == 0x00020000)) {
to_bitField0_ |= 0x00020000;
}
result.addonName_ = addonName_;
if (((from_bitField0_ & 0x00040000) == 0x00040000)) {
to_bitField0_ |= 0x00040000;
}
if (gameSessionConfigBuilder_ == null) {
result.gameSessionConfig_ = gameSessionConfig_;
} else {
result.gameSessionConfig_ = gameSessionConfigBuilder_.build();
}
if (((from_bitField0_ & 0x00080000) == 0x00080000)) {
to_bitField0_ |= 0x00080000;
}
result.gameSessionManifest_ = gameSessionManifest_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CSVCMsg_ServerInfo) {
return mergeFrom((skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CSVCMsg_ServerInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CSVCMsg_ServerInfo other) {
if (other == skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CSVCMsg_ServerInfo.getDefaultInstance()) return this;
if (other.hasProtocol()) {
setProtocol(other.getProtocol());
}
if (other.hasServerCount()) {
setServerCount(other.getServerCount());
}
if (other.hasIsDedicated()) {
setIsDedicated(other.getIsDedicated());
}
if (other.hasIsHltv()) {
setIsHltv(other.getIsHltv());
}
if (other.hasIsReplay()) {
setIsReplay(other.getIsReplay());
}
if (other.hasCOs()) {
setCOs(other.getCOs());
}
if (other.hasMapCrc()) {
setMapCrc(other.getMapCrc());
}
if (other.hasClientCrc()) {
setClientCrc(other.getClientCrc());
}
if (other.hasStringTableCrc()) {
setStringTableCrc(other.getStringTableCrc());
}
if (other.hasMaxClients()) {
setMaxClients(other.getMaxClients());
}
if (other.hasMaxClasses()) {
setMaxClasses(other.getMaxClasses());
}
if (other.hasPlayerSlot()) {
setPlayerSlot(other.getPlayerSlot());
}
if (other.hasTickInterval()) {
setTickInterval(other.getTickInterval());
}
if (other.hasGameDir()) {
bitField0_ |= 0x00002000;
gameDir_ = other.gameDir_;
onChanged();
}
if (other.hasMapName()) {
bitField0_ |= 0x00004000;
mapName_ = other.mapName_;
onChanged();
}
if (other.hasSkyName()) {
bitField0_ |= 0x00008000;
skyName_ = other.skyName_;
onChanged();
}
if (other.hasHostName()) {
bitField0_ |= 0x00010000;
hostName_ = other.hostName_;
onChanged();
}
if (other.hasAddonName()) {
bitField0_ |= 0x00020000;
addonName_ = other.addonName_;
onChanged();
}
if (other.hasGameSessionConfig()) {
mergeGameSessionConfig(other.getGameSessionConfig());
}
if (other.hasGameSessionManifest()) {
setGameSessionManifest(other.getGameSessionManifest());
}
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.shared.demo.proto.DemoNetMessages.CSVCMsg_ServerInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.shared.demo.proto.DemoNetMessages.CSVCMsg_ServerInfo) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int protocol_ ;
/**
* optional int32 protocol = 1;
*/
public boolean hasProtocol() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 protocol = 1;
*/
public int getProtocol() {
return protocol_;
}
/**
* optional int32 protocol = 1;
*/
public Builder setProtocol(int value) {
bitField0_ |= 0x00000001;
protocol_ = value;
onChanged();
return this;
}
/**
* optional int32 protocol = 1;
*/
public Builder clearProtocol() {
bitField0_ = (bitField0_ & ~0x00000001);
protocol_ = 0;
onChanged();
return this;
}
private int serverCount_ ;
/**
* optional int32 server_count = 2;
*/
public boolean hasServerCount() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 server_count = 2;
*/
public int getServerCount() {
return serverCount_;
}
/**
* optional int32 server_count = 2;
*/
public Builder setServerCount(int value) {
bitField0_ |= 0x00000002;
serverCount_ = value;
onChanged();
return this;
}
/**
* optional int32 server_count = 2;
*/
public Builder clearServerCount() {
bitField0_ = (bitField0_ & ~0x00000002);
serverCount_ = 0;
onChanged();
return this;
}
private boolean isDedicated_ ;
/**
* optional bool is_dedicated = 3;
*/
public boolean hasIsDedicated() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional bool is_dedicated = 3;
*/
public boolean getIsDedicated() {
return isDedicated_;
}
/**
* optional bool is_dedicated = 3;
*/
public Builder setIsDedicated(boolean value) {
bitField0_ |= 0x00000004;
isDedicated_ = value;
onChanged();
return this;
}
/**
* optional bool is_dedicated = 3;
*/
public Builder clearIsDedicated() {
bitField0_ = (bitField0_ & ~0x00000004);
isDedicated_ = false;
onChanged();
return this;
}
private boolean isHltv_ ;
/**
* optional bool is_hltv = 4;
*/
public boolean hasIsHltv() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional bool is_hltv = 4;
*/
public boolean getIsHltv() {
return isHltv_;
}
/**
* optional bool is_hltv = 4;
*/
public Builder setIsHltv(boolean value) {
bitField0_ |= 0x00000008;
isHltv_ = value;
onChanged();
return this;
}
/**
* optional bool is_hltv = 4;
*/
public Builder clearIsHltv() {
bitField0_ = (bitField0_ & ~0x00000008);
isHltv_ = false;
onChanged();
return this;
}
private boolean isReplay_ ;
/**
* optional bool is_replay = 5;
*/
public boolean hasIsReplay() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional bool is_replay = 5;
*/
public boolean getIsReplay() {
return isReplay_;
}
/**
* optional bool is_replay = 5;
*/
public Builder setIsReplay(boolean value) {
bitField0_ |= 0x00000010;
isReplay_ = value;
onChanged();
return this;
}
/**
* optional bool is_replay = 5;
*/
public Builder clearIsReplay() {
bitField0_ = (bitField0_ & ~0x00000010);
isReplay_ = false;
onChanged();
return this;
}
private int cOs_ ;
/**
* optional int32 c_os = 6;
*/
public boolean hasCOs() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional int32 c_os = 6;
*/
public int getCOs() {
return cOs_;
}
/**
* optional int32 c_os = 6;
*/
public Builder setCOs(int value) {
bitField0_ |= 0x00000020;
cOs_ = value;
onChanged();
return this;
}
/**
* optional int32 c_os = 6;
*/
public Builder clearCOs() {
bitField0_ = (bitField0_ & ~0x00000020);
cOs_ = 0;
onChanged();
return this;
}
private int mapCrc_ ;
/**
* optional fixed32 map_crc = 7;
*/
public boolean hasMapCrc() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional fixed32 map_crc = 7;
*/
public int getMapCrc() {
return mapCrc_;
}
/**
* optional fixed32 map_crc = 7;
*/
public Builder setMapCrc(int value) {
bitField0_ |= 0x00000040;
mapCrc_ = value;
onChanged();
return this;
}
/**
* optional fixed32 map_crc = 7;
*/
public Builder clearMapCrc() {
bitField0_ = (bitField0_ & ~0x00000040);
mapCrc_ = 0;
onChanged();
return this;
}
private int clientCrc_ ;
/**
* optional fixed32 client_crc = 8;
*/
public boolean hasClientCrc() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional fixed32 client_crc = 8;
*/
public int getClientCrc() {
return clientCrc_;
}
/**
* optional fixed32 client_crc = 8;
*/
public Builder setClientCrc(int value) {
bitField0_ |= 0x00000080;
clientCrc_ = value;
onChanged();
return this;
}
/**
* optional fixed32 client_crc = 8;
*/
public Builder clearClientCrc() {
bitField0_ = (bitField0_ & ~0x00000080);
clientCrc_ = 0;
onChanged();
return this;
}
private int stringTableCrc_ ;
/**
* optional fixed32 string_table_crc = 9;
*/
public boolean hasStringTableCrc() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional fixed32 string_table_crc = 9;
*/
public int getStringTableCrc() {
return stringTableCrc_;
}
/**
* optional fixed32 string_table_crc = 9;
*/
public Builder setStringTableCrc(int value) {
bitField0_ |= 0x00000100;
stringTableCrc_ = value;
onChanged();
return this;
}
/**
* optional fixed32 string_table_crc = 9;
*/
public Builder clearStringTableCrc() {
bitField0_ = (bitField0_ & ~0x00000100);
stringTableCrc_ = 0;
onChanged();
return this;
}
private int maxClients_ ;
/**
* optional int32 max_clients = 10;
*/
public boolean hasMaxClients() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* optional int32 max_clients = 10;
*/
public int getMaxClients() {
return maxClients_;
}
/**
* optional int32 max_clients = 10;
*/
public Builder setMaxClients(int value) {
bitField0_ |= 0x00000200;
maxClients_ = value;
onChanged();
return this;
}
/**
* optional int32 max_clients = 10;
*/
public Builder clearMaxClients() {
bitField0_ = (bitField0_ & ~0x00000200);
maxClients_ = 0;
onChanged();
return this;
}
private int maxClasses_ ;
/**
* optional int32 max_classes = 11;
*/
public boolean hasMaxClasses() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* optional int32 max_classes = 11;
*/
public int getMaxClasses() {
return maxClasses_;
}
/**
* optional int32 max_classes = 11;
*/
public Builder setMaxClasses(int value) {
bitField0_ |= 0x00000400;
maxClasses_ = value;
onChanged();
return this;
}
/**
* optional int32 max_classes = 11;
*/
public Builder clearMaxClasses() {
bitField0_ = (bitField0_ & ~0x00000400);
maxClasses_ = 0;
onChanged();
return this;
}
private int playerSlot_ ;
/**
* optional int32 player_slot = 12;
*/
public boolean hasPlayerSlot() {
return ((bitField0_ & 0x00000800) == 0x00000800);
}
/**
* optional int32 player_slot = 12;
*/
public int getPlayerSlot() {
return playerSlot_;
}
/**
* optional int32 player_slot = 12;
*/
public Builder setPlayerSlot(int value) {
bitField0_ |= 0x00000800;
playerSlot_ = value;
onChanged();
return this;
}
/**
* optional int32 player_slot = 12;
*/
public Builder clearPlayerSlot() {
bitField0_ = (bitField0_ & ~0x00000800);
playerSlot_ = 0;
onChanged();
return this;
}
private float tickInterval_ ;
/**
* optional float tick_interval = 13;
*/
public boolean hasTickInterval() {
return ((bitField0_ & 0x00001000) == 0x00001000);
}
/**
* optional float tick_interval = 13;
*/
public float getTickInterval() {
return tickInterval_;
}
/**
* optional float tick_interval = 13;
*/
public Builder setTickInterval(float value) {
bitField0_ |= 0x00001000;
tickInterval_ = value;
onChanged();
return this;
}
/**
* optional float tick_interval = 13;
*/
public Builder clearTickInterval() {
bitField0_ = (bitField0_ & ~0x00001000);
tickInterval_ = 0F;
onChanged();
return this;
}
private java.lang.Object gameDir_ = "";
/**
* optional string game_dir = 14;
*/
public boolean hasGameDir() {
return ((bitField0_ & 0x00002000) == 0x00002000);
}
/**
* optional string game_dir = 14;
*/
public java.lang.String getGameDir() {
java.lang.Object ref = gameDir_;
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()) {
gameDir_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string game_dir = 14;
*/
public com.google.protobuf.ByteString
getGameDirBytes() {
java.lang.Object ref = gameDir_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
gameDir_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string game_dir = 14;
*/
public Builder setGameDir(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00002000;
gameDir_ = value;
onChanged();
return this;
}
/**
* optional string game_dir = 14;
*/
public Builder clearGameDir() {
bitField0_ = (bitField0_ & ~0x00002000);
gameDir_ = getDefaultInstance().getGameDir();
onChanged();
return this;
}
/**
* optional string game_dir = 14;
*/
public Builder setGameDirBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00002000;
gameDir_ = value;
onChanged();
return this;
}
private java.lang.Object mapName_ = "";
/**
* optional string map_name = 15;
*/
public boolean hasMapName() {
return ((bitField0_ & 0x00004000) == 0x00004000);
}
/**
* optional string map_name = 15;
*/
public java.lang.String getMapName() {
java.lang.Object ref = mapName_;
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()) {
mapName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string map_name = 15;
*/
public com.google.protobuf.ByteString
getMapNameBytes() {
java.lang.Object ref = mapName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
mapName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string map_name = 15;
*/
public Builder setMapName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00004000;
mapName_ = value;
onChanged();
return this;
}
/**
* optional string map_name = 15;
*/
public Builder clearMapName() {
bitField0_ = (bitField0_ & ~0x00004000);
mapName_ = getDefaultInstance().getMapName();
onChanged();
return this;
}
/**
* optional string map_name = 15;
*/
public Builder setMapNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00004000;
mapName_ = value;
onChanged();
return this;
}
private java.lang.Object skyName_ = "";
/**
* optional string sky_name = 16;
*/
public boolean hasSkyName() {
return ((bitField0_ & 0x00008000) == 0x00008000);
}
/**
* optional string sky_name = 16;
*/
public java.lang.String getSkyName() {
java.lang.Object ref = skyName_;
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()) {
skyName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string sky_name = 16;
*/
public com.google.protobuf.ByteString
getSkyNameBytes() {
java.lang.Object ref = skyName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
skyName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string sky_name = 16;
*/
public Builder setSkyName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00008000;
skyName_ = value;
onChanged();
return this;
}
/**
* optional string sky_name = 16;
*/
public Builder clearSkyName() {
bitField0_ = (bitField0_ & ~0x00008000);
skyName_ = getDefaultInstance().getSkyName();
onChanged();
return this;
}
/**
* optional string sky_name = 16;
*/
public Builder setSkyNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00008000;
skyName_ = value;
onChanged();
return this;
}
private java.lang.Object hostName_ = "";
/**
* optional string host_name = 17;
*/
public boolean hasHostName() {
return ((bitField0_ & 0x00010000) == 0x00010000);
}
/**
* optional string host_name = 17;
*/
public java.lang.String getHostName() {
java.lang.Object ref = hostName_;
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()) {
hostName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string host_name = 17;
*/
public com.google.protobuf.ByteString
getHostNameBytes() {
java.lang.Object ref = hostName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hostName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string host_name = 17;
*/
public Builder setHostName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00010000;
hostName_ = value;
onChanged();
return this;
}
/**
* optional string host_name = 17;
*/
public Builder clearHostName() {
bitField0_ = (bitField0_ & ~0x00010000);
hostName_ = getDefaultInstance().getHostName();
onChanged();
return this;
}
/**
* optional string host_name = 17;
*/
public Builder setHostNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00010000;
hostName_ = value;
onChanged();
return this;
}
private java.lang.Object addonName_ = "";
/**
* optional string addon_name = 18;
*/
public boolean hasAddonName() {
return ((bitField0_ & 0x00020000) == 0x00020000);
}
/**
* optional string addon_name = 18;
*/
public java.lang.String getAddonName() {
java.lang.Object ref = addonName_;
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()) {
addonName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string addon_name = 18;
*/
public com.google.protobuf.ByteString
getAddonNameBytes() {
java.lang.Object ref = addonName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
addonName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string addon_name = 18;
*/
public Builder setAddonName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00020000;
addonName_ = value;
onChanged();
return this;
}
/**
* optional string addon_name = 18;
*/
public Builder clearAddonName() {
bitField0_ = (bitField0_ & ~0x00020000);
addonName_ = getDefaultInstance().getAddonName();
onChanged();
return this;
}
/**
* optional string addon_name = 18;
*/
public Builder setAddonNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00020000;
addonName_ = value;
onChanged();
return this;
}
private skadistats.clarity.wire.shared.demo.proto.DemoNetworkBaseTypes.CSVCMsg_GameSessionConfiguration gameSessionConfig_ = skadistats.clarity.wire.shared.demo.proto.DemoNetworkBaseTypes.CSVCMsg_GameSessionConfiguration.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.shared.demo.proto.DemoNetworkBaseTypes.CSVCMsg_GameSessionConfiguration, skadistats.clarity.wire.shared.demo.proto.DemoNetworkBaseTypes.CSVCMsg_GameSessionConfiguration.Builder, skadistats.clarity.wire.shared.demo.proto.DemoNetworkBaseTypes.CSVCMsg_GameSessionConfigurationOrBuilder> gameSessionConfigBuilder_;
/**
* optional .CSVCMsg_GameSessionConfiguration game_session_config = 19;
*/
public boolean hasGameSessionConfig() {
return ((bitField0_ & 0x00040000) == 0x00040000);
}
/**
* optional .CSVCMsg_GameSessionConfiguration game_session_config = 19;
*/
public skadistats.clarity.wire.shared.demo.proto.DemoNetworkBaseTypes.CSVCMsg_GameSessionConfiguration getGameSessionConfig() {
if (gameSessionConfigBuilder_ == null) {
return gameSessionConfig_;
} else {
return gameSessionConfigBuilder_.getMessage();
}
}
/**
* optional .CSVCMsg_GameSessionConfiguration game_session_config = 19;
*/
public Builder setGameSessionConfig(skadistats.clarity.wire.shared.demo.proto.DemoNetworkBaseTypes.CSVCMsg_GameSessionConfiguration value) {
if (gameSessionConfigBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
gameSessionConfig_ = value;
onChanged();
} else {
gameSessionConfigBuilder_.setMessage(value);
}
bitField0_ |= 0x00040000;
return this;
}
/**
* optional .CSVCMsg_GameSessionConfiguration game_session_config = 19;
*/
public Builder setGameSessionConfig(
skadistats.clarity.wire.shared.demo.proto.DemoNetworkBaseTypes.CSVCMsg_GameSessionConfiguration.Builder builderForValue) {
if (gameSessionConfigBuilder_ == null) {
gameSessionConfig_ = builderForValue.build();
onChanged();
} else {
gameSessionConfigBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00040000;
return this;
}
/**
* optional .CSVCMsg_GameSessionConfiguration game_session_config = 19;
*/
public Builder mergeGameSessionConfig(skadistats.clarity.wire.shared.demo.proto.DemoNetworkBaseTypes.CSVCMsg_GameSessionConfiguration value) {
if (gameSessionConfigBuilder_ == null) {
if (((bitField0_ & 0x00040000) == 0x00040000) &&
gameSessionConfig_ != skadistats.clarity.wire.shared.demo.proto.DemoNetworkBaseTypes.CSVCMsg_GameSessionConfiguration.getDefaultInstance()) {
gameSessionConfig_ =
skadistats.clarity.wire.shared.demo.proto.DemoNetworkBaseTypes.CSVCMsg_GameSessionConfiguration.newBuilder(gameSessionConfig_).mergeFrom(value).buildPartial();
} else {
gameSessionConfig_ = value;
}
onChanged();
} else {
gameSessionConfigBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00040000;
return this;
}
/**
* optional .CSVCMsg_GameSessionConfiguration game_session_config = 19;
*/
public Builder clearGameSessionConfig() {
if (gameSessionConfigBuilder_ == null) {
gameSessionConfig_ = skadistats.clarity.wire.shared.demo.proto.DemoNetworkBaseTypes.CSVCMsg_GameSessionConfiguration.getDefaultInstance();
onChanged();
} else {
gameSessionConfigBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00040000);
return this;
}
/**
* optional .CSVCMsg_GameSessionConfiguration game_session_config = 19;
*/
public skadistats.clarity.wire.shared.demo.proto.DemoNetworkBaseTypes.CSVCMsg_GameSessionConfiguration.Builder getGameSessionConfigBuilder() {
bitField0_ |= 0x00040000;
onChanged();
return getGameSessionConfigFieldBuilder().getBuilder();
}
/**
* optional .CSVCMsg_GameSessionConfiguration game_session_config = 19;
*/
public skadistats.clarity.wire.shared.demo.proto.DemoNetworkBaseTypes.CSVCMsg_GameSessionConfigurationOrBuilder getGameSessionConfigOrBuilder() {
if (gameSessionConfigBuilder_ != null) {
return gameSessionConfigBuilder_.getMessageOrBuilder();
} else {
return gameSessionConfig_;
}
}
/**
* optional .CSVCMsg_GameSessionConfiguration game_session_config = 19;
*/
private com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.shared.demo.proto.DemoNetworkBaseTypes.CSVCMsg_GameSessionConfiguration, skadistats.clarity.wire.shared.demo.proto.DemoNetworkBaseTypes.CSVCMsg_GameSessionConfiguration.Builder, skadistats.clarity.wire.shared.demo.proto.DemoNetworkBaseTypes.CSVCMsg_GameSessionConfigurationOrBuilder>
getGameSessionConfigFieldBuilder() {
if (gameSessionConfigBuilder_ == null) {
gameSessionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.shared.demo.proto.DemoNetworkBaseTypes.CSVCMsg_GameSessionConfiguration, skadistats.clarity.wire.shared.demo.proto.DemoNetworkBaseTypes.CSVCMsg_GameSessionConfiguration.Builder, skadistats.clarity.wire.shared.demo.proto.DemoNetworkBaseTypes.CSVCMsg_GameSessionConfigurationOrBuilder>(
getGameSessionConfig(),
getParentForChildren(),
isClean());
gameSessionConfig_ = null;
}
return gameSessionConfigBuilder_;
}
private com.google.protobuf.ByteString gameSessionManifest_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes game_session_manifest = 20;
*/
public boolean hasGameSessionManifest() {
return ((bitField0_ & 0x00080000) == 0x00080000);
}
/**
* optional bytes game_session_manifest = 20;
*/
public com.google.protobuf.ByteString getGameSessionManifest() {
return gameSessionManifest_;
}
/**
* optional bytes game_session_manifest = 20;
*/
public Builder setGameSessionManifest(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00080000;
gameSessionManifest_ = value;
onChanged();
return this;
}
/**
* optional bytes game_session_manifest = 20;
*/
public Builder clearGameSessionManifest() {
bitField0_ = (bitField0_ & ~0x00080000);
gameSessionManifest_ = getDefaultInstance().getGameSessionManifest();
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CSVCMsg_ServerInfo)
}
static {
defaultInstance = new CSVCMsg_ServerInfo(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CSVCMsg_ServerInfo)
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_CMsgVoiceAudio_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_CMsgVoiceAudio_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_CCLCMsg_VoiceData_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_CCLCMsg_VoiceData_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_CCLCMsg_FileCRCCheck_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_CCLCMsg_FileCRCCheck_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_CCLCMsg_SplitPlayerConnect_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_CCLCMsg_SplitPlayerConnect_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_CSVCMsg_ServerInfo_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_CSVCMsg_ServerInfo_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\026netmessages-demo.proto\032\030netmessages-co" +
"mmon.proto\032\033networkbasetypes-demo.proto\"" +
"\217\002\n\016CMsgVoiceAudio\022:\n\006format\030\001 \001(\0162\022.Voi" +
"ceDataFormat_t:\026VOICEDATA_FORMAT_STEAM\022\022" +
"\n\nvoice_data\030\002 \001(\014\022\026\n\016sequence_bytes\030\003 \001" +
"(\005\022\026\n\016section_number\030\004 \001(\r\022\023\n\013sample_rat" +
"e\030\005 \001(\r\022\"\n\032uncompressed_sample_offset\030\006 " +
"\001(\r\022\023\n\013num_packets\030\007 \001(\r\022\032\n\016packet_offse" +
"ts\030\010 \003(\rB\002\020\001\022\023\n\013voice_level\030\t \001(\002\"O\n\021CCL" +
"CMsg_VoiceData\022\036\n\005audio\030\001 \001(\0132\017.CMsgVoic",
"eAudio\022\014\n\004xuid\030\002 \001(\006\022\014\n\004tick\030\003 \001(\r\"m\n\024CC" +
"LCMsg_FileCRCCheck\022\021\n\tcode_path\030\001 \001(\005\022\014\n" +
"\004path\030\002 \001(\t\022\025\n\rcode_filename\030\003 \001(\005\022\020\n\010fi" +
"lename\030\004 \001(\t\022\013\n\003crc\030\005 \001(\007\"0\n\032CCLCMsg_Spl" +
"itPlayerConnect\022\022\n\nplayername\030\001 \001(\t\"\325\003\n\022" +
"CSVCMsg_ServerInfo\022\020\n\010protocol\030\001 \001(\005\022\024\n\014" +
"server_count\030\002 \001(\005\022\024\n\014is_dedicated\030\003 \001(\010" +
"\022\017\n\007is_hltv\030\004 \001(\010\022\021\n\tis_replay\030\005 \001(\010\022\014\n\004" +
"c_os\030\006 \001(\005\022\017\n\007map_crc\030\007 \001(\007\022\022\n\nclient_cr" +
"c\030\010 \001(\007\022\030\n\020string_table_crc\030\t \001(\007\022\023\n\013max",
"_clients\030\n \001(\005\022\023\n\013max_classes\030\013 \001(\005\022\023\n\013p" +
"layer_slot\030\014 \001(\005\022\025\n\rtick_interval\030\r \001(\002\022" +
"\020\n\010game_dir\030\016 \001(\t\022\020\n\010map_name\030\017 \001(\t\022\020\n\010s" +
"ky_name\030\020 \001(\t\022\021\n\thost_name\030\021 \001(\t\022\022\n\naddo" +
"n_name\030\022 \001(\t\022>\n\023game_session_config\030\023 \001(" +
"\0132!.CSVCMsg_GameSessionConfiguration\022\035\n\025" +
"game_session_manifest\030\024 \001(\014B<\n)skadistat" +
"s.clarity.wire.shared.demo.protoB\017DemoNe" +
"tMessages"
};
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[] {
skadistats.clarity.wire.shared.common.proto.CommonNetMessages.getDescriptor(),
skadistats.clarity.wire.shared.demo.proto.DemoNetworkBaseTypes.getDescriptor(),
}, assigner);
internal_static_CMsgVoiceAudio_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_CMsgVoiceAudio_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_CMsgVoiceAudio_descriptor,
new java.lang.String[] { "Format", "VoiceData", "SequenceBytes", "SectionNumber", "SampleRate", "UncompressedSampleOffset", "NumPackets", "PacketOffsets", "VoiceLevel", });
internal_static_CCLCMsg_VoiceData_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_CCLCMsg_VoiceData_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_CCLCMsg_VoiceData_descriptor,
new java.lang.String[] { "Audio", "Xuid", "Tick", });
internal_static_CCLCMsg_FileCRCCheck_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_CCLCMsg_FileCRCCheck_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_CCLCMsg_FileCRCCheck_descriptor,
new java.lang.String[] { "CodePath", "Path", "CodeFilename", "Filename", "Crc", });
internal_static_CCLCMsg_SplitPlayerConnect_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_CCLCMsg_SplitPlayerConnect_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_CCLCMsg_SplitPlayerConnect_descriptor,
new java.lang.String[] { "Playername", });
internal_static_CSVCMsg_ServerInfo_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_CSVCMsg_ServerInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_CSVCMsg_ServerInfo_descriptor,
new java.lang.String[] { "Protocol", "ServerCount", "IsDedicated", "IsHltv", "IsReplay", "COs", "MapCrc", "ClientCrc", "StringTableCrc", "MaxClients", "MaxClasses", "PlayerSlot", "TickInterval", "GameDir", "MapName", "SkyName", "HostName", "AddonName", "GameSessionConfig", "GameSessionManifest", });
skadistats.clarity.wire.shared.common.proto.CommonNetMessages.getDescriptor();
skadistats.clarity.wire.shared.demo.proto.DemoNetworkBaseTypes.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}