skadistats.clarity.wire.dota.s1.proto.DOTAS1NetMessages 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.proto
package skadistats.clarity.wire.dota.s1.proto;
public final class DOTAS1NetMessages {
private DOTAS1NetMessages() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
public interface CSVCMsg_VoiceDataOrBuilder extends
// @@protoc_insertion_point(interface_extends:CSVCMsg_VoiceData)
com.google.protobuf.MessageOrBuilder {
/**
* optional int32 client = 1;
*/
boolean hasClient();
/**
* optional int32 client = 1;
*/
int getClient();
/**
* optional bool proximity = 2;
*/
boolean hasProximity();
/**
* optional bool proximity = 2;
*/
boolean getProximity();
/**
* optional fixed64 xuid = 3;
*/
boolean hasXuid();
/**
* optional fixed64 xuid = 3;
*/
long getXuid();
/**
* optional int32 audible_mask = 4;
*/
boolean hasAudibleMask();
/**
* optional int32 audible_mask = 4;
*/
int getAudibleMask();
/**
* optional bytes voice_data = 5;
*/
boolean hasVoiceData();
/**
* optional bytes voice_data = 5;
*/
com.google.protobuf.ByteString getVoiceData();
/**
* optional .VoiceDataFormat_t format = 6 [default = VOICEDATA_FORMAT_STEAM];
*/
boolean hasFormat();
/**
* optional .VoiceDataFormat_t format = 6 [default = VOICEDATA_FORMAT_STEAM];
*/
skadistats.clarity.wire.shared.common.proto.CommonNetMessages.VoiceDataFormat_t getFormat();
/**
* optional int32 sequence_bytes = 7;
*/
boolean hasSequenceBytes();
/**
* optional int32 sequence_bytes = 7;
*/
int getSequenceBytes();
/**
* optional uint32 section_number = 8;
*/
boolean hasSectionNumber();
/**
* optional uint32 section_number = 8;
*/
int getSectionNumber();
/**
* optional uint32 uncompressed_sample_offset = 9;
*/
boolean hasUncompressedSampleOffset();
/**
* optional uint32 uncompressed_sample_offset = 9;
*/
int getUncompressedSampleOffset();
/**
* optional uint32 tick = 10;
*/
boolean hasTick();
/**
* optional uint32 tick = 10;
*/
int getTick();
}
/**
* Protobuf type {@code CSVCMsg_VoiceData}
*/
public static final class CSVCMsg_VoiceData extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CSVCMsg_VoiceData)
CSVCMsg_VoiceDataOrBuilder {
// Use CSVCMsg_VoiceData.newBuilder() to construct.
private CSVCMsg_VoiceData(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CSVCMsg_VoiceData(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CSVCMsg_VoiceData defaultInstance;
public static CSVCMsg_VoiceData getDefaultInstance() {
return defaultInstance;
}
public CSVCMsg_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 CSVCMsg_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 8: {
bitField0_ |= 0x00000001;
client_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
proximity_ = input.readBool();
break;
}
case 25: {
bitField0_ |= 0x00000004;
xuid_ = input.readFixed64();
break;
}
case 32: {
bitField0_ |= 0x00000008;
audibleMask_ = input.readInt32();
break;
}
case 42: {
bitField0_ |= 0x00000010;
voiceData_ = input.readBytes();
break;
}
case 48: {
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(6, rawValue);
} else {
bitField0_ |= 0x00000020;
format_ = value;
}
break;
}
case 56: {
bitField0_ |= 0x00000040;
sequenceBytes_ = input.readInt32();
break;
}
case 64: {
bitField0_ |= 0x00000080;
sectionNumber_ = input.readUInt32();
break;
}
case 72: {
bitField0_ |= 0x00000100;
uncompressedSampleOffset_ = input.readUInt32();
break;
}
case 80: {
bitField0_ |= 0x00000200;
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.dota.s1.proto.DOTAS1NetMessages.internal_static_CSVCMsg_VoiceData_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.s1.proto.DOTAS1NetMessages.internal_static_CSVCMsg_VoiceData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.s1.proto.DOTAS1NetMessages.CSVCMsg_VoiceData.class, skadistats.clarity.wire.dota.s1.proto.DOTAS1NetMessages.CSVCMsg_VoiceData.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CSVCMsg_VoiceData parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CSVCMsg_VoiceData(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int CLIENT_FIELD_NUMBER = 1;
private int client_;
/**
* optional int32 client = 1;
*/
public boolean hasClient() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 client = 1;
*/
public int getClient() {
return client_;
}
public static final int PROXIMITY_FIELD_NUMBER = 2;
private boolean proximity_;
/**
* optional bool proximity = 2;
*/
public boolean hasProximity() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional bool proximity = 2;
*/
public boolean getProximity() {
return proximity_;
}
public static final int XUID_FIELD_NUMBER = 3;
private long xuid_;
/**
* optional fixed64 xuid = 3;
*/
public boolean hasXuid() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional fixed64 xuid = 3;
*/
public long getXuid() {
return xuid_;
}
public static final int AUDIBLE_MASK_FIELD_NUMBER = 4;
private int audibleMask_;
/**
* optional int32 audible_mask = 4;
*/
public boolean hasAudibleMask() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional int32 audible_mask = 4;
*/
public int getAudibleMask() {
return audibleMask_;
}
public static final int VOICE_DATA_FIELD_NUMBER = 5;
private com.google.protobuf.ByteString voiceData_;
/**
* optional bytes voice_data = 5;
*/
public boolean hasVoiceData() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional bytes voice_data = 5;
*/
public com.google.protobuf.ByteString getVoiceData() {
return voiceData_;
}
public static final int FORMAT_FIELD_NUMBER = 6;
private skadistats.clarity.wire.shared.common.proto.CommonNetMessages.VoiceDataFormat_t format_;
/**
* optional .VoiceDataFormat_t format = 6 [default = VOICEDATA_FORMAT_STEAM];
*/
public boolean hasFormat() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional .VoiceDataFormat_t format = 6 [default = VOICEDATA_FORMAT_STEAM];
*/
public skadistats.clarity.wire.shared.common.proto.CommonNetMessages.VoiceDataFormat_t getFormat() {
return format_;
}
public static final int SEQUENCE_BYTES_FIELD_NUMBER = 7;
private int sequenceBytes_;
/**
* optional int32 sequence_bytes = 7;
*/
public boolean hasSequenceBytes() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional int32 sequence_bytes = 7;
*/
public int getSequenceBytes() {
return sequenceBytes_;
}
public static final int SECTION_NUMBER_FIELD_NUMBER = 8;
private int sectionNumber_;
/**
* optional uint32 section_number = 8;
*/
public boolean hasSectionNumber() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional uint32 section_number = 8;
*/
public int getSectionNumber() {
return sectionNumber_;
}
public static final int UNCOMPRESSED_SAMPLE_OFFSET_FIELD_NUMBER = 9;
private int uncompressedSampleOffset_;
/**
* optional uint32 uncompressed_sample_offset = 9;
*/
public boolean hasUncompressedSampleOffset() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional uint32 uncompressed_sample_offset = 9;
*/
public int getUncompressedSampleOffset() {
return uncompressedSampleOffset_;
}
public static final int TICK_FIELD_NUMBER = 10;
private int tick_;
/**
* optional uint32 tick = 10;
*/
public boolean hasTick() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* optional uint32 tick = 10;
*/
public int getTick() {
return tick_;
}
private void initFields() {
client_ = 0;
proximity_ = false;
xuid_ = 0L;
audibleMask_ = 0;
voiceData_ = com.google.protobuf.ByteString.EMPTY;
format_ = skadistats.clarity.wire.shared.common.proto.CommonNetMessages.VoiceDataFormat_t.VOICEDATA_FORMAT_STEAM;
sequenceBytes_ = 0;
sectionNumber_ = 0;
uncompressedSampleOffset_ = 0;
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.writeInt32(1, client_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBool(2, proximity_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeFixed64(3, xuid_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeInt32(4, audibleMask_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeBytes(5, voiceData_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeEnum(6, format_.getNumber());
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeInt32(7, sequenceBytes_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeUInt32(8, sectionNumber_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
output.writeUInt32(9, uncompressedSampleOffset_);
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
output.writeUInt32(10, 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
.computeInt32Size(1, client_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, proximity_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeFixed64Size(3, xuid_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, audibleMask_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(5, voiceData_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(6, format_.getNumber());
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(7, sequenceBytes_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(8, sectionNumber_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(9, uncompressedSampleOffset_);
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(10, 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.dota.s1.proto.DOTAS1NetMessages.CSVCMsg_VoiceData parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.s1.proto.DOTAS1NetMessages.CSVCMsg_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.dota.s1.proto.DOTAS1NetMessages.CSVCMsg_VoiceData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.s1.proto.DOTAS1NetMessages.CSVCMsg_VoiceData parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.dota.s1.proto.DOTAS1NetMessages.CSVCMsg_VoiceData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.s1.proto.DOTAS1NetMessages.CSVCMsg_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.dota.s1.proto.DOTAS1NetMessages.CSVCMsg_VoiceData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.dota.s1.proto.DOTAS1NetMessages.CSVCMsg_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.dota.s1.proto.DOTAS1NetMessages.CSVCMsg_VoiceData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.s1.proto.DOTAS1NetMessages.CSVCMsg_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.dota.s1.proto.DOTAS1NetMessages.CSVCMsg_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 CSVCMsg_VoiceData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CSVCMsg_VoiceData)
skadistats.clarity.wire.dota.s1.proto.DOTAS1NetMessages.CSVCMsg_VoiceDataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.dota.s1.proto.DOTAS1NetMessages.internal_static_CSVCMsg_VoiceData_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.s1.proto.DOTAS1NetMessages.internal_static_CSVCMsg_VoiceData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.s1.proto.DOTAS1NetMessages.CSVCMsg_VoiceData.class, skadistats.clarity.wire.dota.s1.proto.DOTAS1NetMessages.CSVCMsg_VoiceData.Builder.class);
}
// Construct using skadistats.clarity.wire.dota.s1.proto.DOTAS1NetMessages.CSVCMsg_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) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
client_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
proximity_ = false;
bitField0_ = (bitField0_ & ~0x00000002);
xuid_ = 0L;
bitField0_ = (bitField0_ & ~0x00000004);
audibleMask_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
voiceData_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000010);
format_ = skadistats.clarity.wire.shared.common.proto.CommonNetMessages.VoiceDataFormat_t.VOICEDATA_FORMAT_STEAM;
bitField0_ = (bitField0_ & ~0x00000020);
sequenceBytes_ = 0;
bitField0_ = (bitField0_ & ~0x00000040);
sectionNumber_ = 0;
bitField0_ = (bitField0_ & ~0x00000080);
uncompressedSampleOffset_ = 0;
bitField0_ = (bitField0_ & ~0x00000100);
tick_ = 0;
bitField0_ = (bitField0_ & ~0x00000200);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.dota.s1.proto.DOTAS1NetMessages.internal_static_CSVCMsg_VoiceData_descriptor;
}
public skadistats.clarity.wire.dota.s1.proto.DOTAS1NetMessages.CSVCMsg_VoiceData getDefaultInstanceForType() {
return skadistats.clarity.wire.dota.s1.proto.DOTAS1NetMessages.CSVCMsg_VoiceData.getDefaultInstance();
}
public skadistats.clarity.wire.dota.s1.proto.DOTAS1NetMessages.CSVCMsg_VoiceData build() {
skadistats.clarity.wire.dota.s1.proto.DOTAS1NetMessages.CSVCMsg_VoiceData result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.dota.s1.proto.DOTAS1NetMessages.CSVCMsg_VoiceData buildPartial() {
skadistats.clarity.wire.dota.s1.proto.DOTAS1NetMessages.CSVCMsg_VoiceData result = new skadistats.clarity.wire.dota.s1.proto.DOTAS1NetMessages.CSVCMsg_VoiceData(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.client_ = client_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.proximity_ = proximity_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.xuid_ = xuid_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.audibleMask_ = audibleMask_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.voiceData_ = voiceData_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.format_ = format_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000040;
}
result.sequenceBytes_ = sequenceBytes_;
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000080;
}
result.sectionNumber_ = sectionNumber_;
if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
to_bitField0_ |= 0x00000100;
}
result.uncompressedSampleOffset_ = uncompressedSampleOffset_;
if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
to_bitField0_ |= 0x00000200;
}
result.tick_ = tick_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.dota.s1.proto.DOTAS1NetMessages.CSVCMsg_VoiceData) {
return mergeFrom((skadistats.clarity.wire.dota.s1.proto.DOTAS1NetMessages.CSVCMsg_VoiceData)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.dota.s1.proto.DOTAS1NetMessages.CSVCMsg_VoiceData other) {
if (other == skadistats.clarity.wire.dota.s1.proto.DOTAS1NetMessages.CSVCMsg_VoiceData.getDefaultInstance()) return this;
if (other.hasClient()) {
setClient(other.getClient());
}
if (other.hasProximity()) {
setProximity(other.getProximity());
}
if (other.hasXuid()) {
setXuid(other.getXuid());
}
if (other.hasAudibleMask()) {
setAudibleMask(other.getAudibleMask());
}
if (other.hasVoiceData()) {
setVoiceData(other.getVoiceData());
}
if (other.hasFormat()) {
setFormat(other.getFormat());
}
if (other.hasSequenceBytes()) {
setSequenceBytes(other.getSequenceBytes());
}
if (other.hasSectionNumber()) {
setSectionNumber(other.getSectionNumber());
}
if (other.hasUncompressedSampleOffset()) {
setUncompressedSampleOffset(other.getUncompressedSampleOffset());
}
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.dota.s1.proto.DOTAS1NetMessages.CSVCMsg_VoiceData parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.dota.s1.proto.DOTAS1NetMessages.CSVCMsg_VoiceData) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int client_ ;
/**
* optional int32 client = 1;
*/
public boolean hasClient() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 client = 1;
*/
public int getClient() {
return client_;
}
/**
* optional int32 client = 1;
*/
public Builder setClient(int value) {
bitField0_ |= 0x00000001;
client_ = value;
onChanged();
return this;
}
/**
* optional int32 client = 1;
*/
public Builder clearClient() {
bitField0_ = (bitField0_ & ~0x00000001);
client_ = 0;
onChanged();
return this;
}
private boolean proximity_ ;
/**
* optional bool proximity = 2;
*/
public boolean hasProximity() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional bool proximity = 2;
*/
public boolean getProximity() {
return proximity_;
}
/**
* optional bool proximity = 2;
*/
public Builder setProximity(boolean value) {
bitField0_ |= 0x00000002;
proximity_ = value;
onChanged();
return this;
}
/**
* optional bool proximity = 2;
*/
public Builder clearProximity() {
bitField0_ = (bitField0_ & ~0x00000002);
proximity_ = false;
onChanged();
return this;
}
private long xuid_ ;
/**
* optional fixed64 xuid = 3;
*/
public boolean hasXuid() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional fixed64 xuid = 3;
*/
public long getXuid() {
return xuid_;
}
/**
* optional fixed64 xuid = 3;
*/
public Builder setXuid(long value) {
bitField0_ |= 0x00000004;
xuid_ = value;
onChanged();
return this;
}
/**
* optional fixed64 xuid = 3;
*/
public Builder clearXuid() {
bitField0_ = (bitField0_ & ~0x00000004);
xuid_ = 0L;
onChanged();
return this;
}
private int audibleMask_ ;
/**
* optional int32 audible_mask = 4;
*/
public boolean hasAudibleMask() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional int32 audible_mask = 4;
*/
public int getAudibleMask() {
return audibleMask_;
}
/**
* optional int32 audible_mask = 4;
*/
public Builder setAudibleMask(int value) {
bitField0_ |= 0x00000008;
audibleMask_ = value;
onChanged();
return this;
}
/**
* optional int32 audible_mask = 4;
*/
public Builder clearAudibleMask() {
bitField0_ = (bitField0_ & ~0x00000008);
audibleMask_ = 0;
onChanged();
return this;
}
private com.google.protobuf.ByteString voiceData_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes voice_data = 5;
*/
public boolean hasVoiceData() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional bytes voice_data = 5;
*/
public com.google.protobuf.ByteString getVoiceData() {
return voiceData_;
}
/**
* optional bytes voice_data = 5;
*/
public Builder setVoiceData(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
voiceData_ = value;
onChanged();
return this;
}
/**
* optional bytes voice_data = 5;
*/
public Builder clearVoiceData() {
bitField0_ = (bitField0_ & ~0x00000010);
voiceData_ = getDefaultInstance().getVoiceData();
onChanged();
return this;
}
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 = 6 [default = VOICEDATA_FORMAT_STEAM];
*/
public boolean hasFormat() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional .VoiceDataFormat_t format = 6 [default = VOICEDATA_FORMAT_STEAM];
*/
public skadistats.clarity.wire.shared.common.proto.CommonNetMessages.VoiceDataFormat_t getFormat() {
return format_;
}
/**
* optional .VoiceDataFormat_t format = 6 [default = VOICEDATA_FORMAT_STEAM];
*/
public Builder setFormat(skadistats.clarity.wire.shared.common.proto.CommonNetMessages.VoiceDataFormat_t value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
format_ = value;
onChanged();
return this;
}
/**
* optional .VoiceDataFormat_t format = 6 [default = VOICEDATA_FORMAT_STEAM];
*/
public Builder clearFormat() {
bitField0_ = (bitField0_ & ~0x00000020);
format_ = skadistats.clarity.wire.shared.common.proto.CommonNetMessages.VoiceDataFormat_t.VOICEDATA_FORMAT_STEAM;
onChanged();
return this;
}
private int sequenceBytes_ ;
/**
* optional int32 sequence_bytes = 7;
*/
public boolean hasSequenceBytes() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional int32 sequence_bytes = 7;
*/
public int getSequenceBytes() {
return sequenceBytes_;
}
/**
* optional int32 sequence_bytes = 7;
*/
public Builder setSequenceBytes(int value) {
bitField0_ |= 0x00000040;
sequenceBytes_ = value;
onChanged();
return this;
}
/**
* optional int32 sequence_bytes = 7;
*/
public Builder clearSequenceBytes() {
bitField0_ = (bitField0_ & ~0x00000040);
sequenceBytes_ = 0;
onChanged();
return this;
}
private int sectionNumber_ ;
/**
* optional uint32 section_number = 8;
*/
public boolean hasSectionNumber() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional uint32 section_number = 8;
*/
public int getSectionNumber() {
return sectionNumber_;
}
/**
* optional uint32 section_number = 8;
*/
public Builder setSectionNumber(int value) {
bitField0_ |= 0x00000080;
sectionNumber_ = value;
onChanged();
return this;
}
/**
* optional uint32 section_number = 8;
*/
public Builder clearSectionNumber() {
bitField0_ = (bitField0_ & ~0x00000080);
sectionNumber_ = 0;
onChanged();
return this;
}
private int uncompressedSampleOffset_ ;
/**
* optional uint32 uncompressed_sample_offset = 9;
*/
public boolean hasUncompressedSampleOffset() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional uint32 uncompressed_sample_offset = 9;
*/
public int getUncompressedSampleOffset() {
return uncompressedSampleOffset_;
}
/**
* optional uint32 uncompressed_sample_offset = 9;
*/
public Builder setUncompressedSampleOffset(int value) {
bitField0_ |= 0x00000100;
uncompressedSampleOffset_ = value;
onChanged();
return this;
}
/**
* optional uint32 uncompressed_sample_offset = 9;
*/
public Builder clearUncompressedSampleOffset() {
bitField0_ = (bitField0_ & ~0x00000100);
uncompressedSampleOffset_ = 0;
onChanged();
return this;
}
private int tick_ ;
/**
* optional uint32 tick = 10;
*/
public boolean hasTick() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* optional uint32 tick = 10;
*/
public int getTick() {
return tick_;
}
/**
* optional uint32 tick = 10;
*/
public Builder setTick(int value) {
bitField0_ |= 0x00000200;
tick_ = value;
onChanged();
return this;
}
/**
* optional uint32 tick = 10;
*/
public Builder clearTick() {
bitField0_ = (bitField0_ & ~0x00000200);
tick_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CSVCMsg_VoiceData)
}
static {
defaultInstance = new CSVCMsg_VoiceData(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CSVCMsg_VoiceData)
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_CSVCMsg_VoiceData_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_CSVCMsg_VoiceData_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\021netmessages.proto\032\030netmessages-common." +
"proto\"\214\002\n\021CSVCMsg_VoiceData\022\016\n\006client\030\001 " +
"\001(\005\022\021\n\tproximity\030\002 \001(\010\022\014\n\004xuid\030\003 \001(\006\022\024\n\014" +
"audible_mask\030\004 \001(\005\022\022\n\nvoice_data\030\005 \001(\014\022:" +
"\n\006format\030\006 \001(\0162\022.VoiceDataFormat_t:\026VOIC" +
"EDATA_FORMAT_STEAM\022\026\n\016sequence_bytes\030\007 \001" +
"(\005\022\026\n\016section_number\030\010 \001(\r\022\"\n\032uncompress" +
"ed_sample_offset\030\t \001(\r\022\014\n\004tick\030\n \001(\rB:\n%" +
"skadistats.clarity.wire.dota.s1.protoB\021D" +
"OTAS1NetMessages"
};
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(),
}, assigner);
internal_static_CSVCMsg_VoiceData_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_CSVCMsg_VoiceData_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_CSVCMsg_VoiceData_descriptor,
new java.lang.String[] { "Client", "Proximity", "Xuid", "AudibleMask", "VoiceData", "Format", "SequenceBytes", "SectionNumber", "UncompressedSampleOffset", "Tick", });
skadistats.clarity.wire.shared.common.proto.CommonNetMessages.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}