skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata 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: dota_match_metadata.proto
package skadistats.clarity.wire.dota.s2.proto;
public final class DOTAS2MatchMetadata {
private DOTAS2MatchMetadata() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
public interface CDOTAMatchMetadataFileOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAMatchMetadataFile)
com.google.protobuf.MessageOrBuilder {
/**
* required int32 version = 1;
*/
boolean hasVersion();
/**
* required int32 version = 1;
*/
int getVersion();
/**
* required uint64 match_id = 2;
*/
boolean hasMatchId();
/**
* required uint64 match_id = 2;
*/
long getMatchId();
/**
* optional .CDOTAMatchMetadata metadata = 3;
*/
boolean hasMetadata();
/**
* optional .CDOTAMatchMetadata metadata = 3;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata getMetadata();
/**
* optional .CDOTAMatchMetadata metadata = 3;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadataOrBuilder getMetadataOrBuilder();
/**
* optional bytes private_metadata = 5;
*/
boolean hasPrivateMetadata();
/**
* optional bytes private_metadata = 5;
*/
com.google.protobuf.ByteString getPrivateMetadata();
}
/**
* Protobuf type {@code CDOTAMatchMetadataFile}
*/
public static final class CDOTAMatchMetadataFile extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAMatchMetadataFile)
CDOTAMatchMetadataFileOrBuilder {
// Use CDOTAMatchMetadataFile.newBuilder() to construct.
private CDOTAMatchMetadataFile(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAMatchMetadataFile(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAMatchMetadataFile defaultInstance;
public static CDOTAMatchMetadataFile getDefaultInstance() {
return defaultInstance;
}
public CDOTAMatchMetadataFile getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CDOTAMatchMetadataFile(
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;
version_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
matchId_ = input.readUInt64();
break;
}
case 26: {
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Builder subBuilder = null;
if (((bitField0_ & 0x00000004) == 0x00000004)) {
subBuilder = metadata_.toBuilder();
}
metadata_ = input.readMessage(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(metadata_);
metadata_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000004;
break;
}
case 42: {
bitField0_ |= 0x00000008;
privateMetadata_ = 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.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadataFile_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadataFile_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadataFile.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadataFile.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAMatchMetadataFile parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAMatchMetadataFile(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int VERSION_FIELD_NUMBER = 1;
private int version_;
/**
* required int32 version = 1;
*/
public boolean hasVersion() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 version = 1;
*/
public int getVersion() {
return version_;
}
public static final int MATCH_ID_FIELD_NUMBER = 2;
private long matchId_;
/**
* required uint64 match_id = 2;
*/
public boolean hasMatchId() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required uint64 match_id = 2;
*/
public long getMatchId() {
return matchId_;
}
public static final int METADATA_FIELD_NUMBER = 3;
private skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata metadata_;
/**
* optional .CDOTAMatchMetadata metadata = 3;
*/
public boolean hasMetadata() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional .CDOTAMatchMetadata metadata = 3;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata getMetadata() {
return metadata_;
}
/**
* optional .CDOTAMatchMetadata metadata = 3;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadataOrBuilder getMetadataOrBuilder() {
return metadata_;
}
public static final int PRIVATE_METADATA_FIELD_NUMBER = 5;
private com.google.protobuf.ByteString privateMetadata_;
/**
* optional bytes private_metadata = 5;
*/
public boolean hasPrivateMetadata() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional bytes private_metadata = 5;
*/
public com.google.protobuf.ByteString getPrivateMetadata() {
return privateMetadata_;
}
private void initFields() {
version_ = 0;
matchId_ = 0L;
metadata_ = skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.getDefaultInstance();
privateMetadata_ = 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;
if (!hasVersion()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasMatchId()) {
memoizedIsInitialized = 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, version_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt64(2, matchId_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeMessage(3, metadata_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeBytes(5, privateMetadata_);
}
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, version_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(2, matchId_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, metadata_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(5, privateMetadata_);
}
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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadataFile parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadataFile 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadataFile parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadataFile parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadataFile parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadataFile 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadataFile parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadataFile 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadataFile parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadataFile 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadataFile 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 CDOTAMatchMetadataFile}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAMatchMetadataFile)
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadataFileOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadataFile_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadataFile_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadataFile.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadataFile.Builder.class);
}
// Construct using skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadataFile.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getMetadataFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
version_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
matchId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
if (metadataBuilder_ == null) {
metadata_ = skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.getDefaultInstance();
} else {
metadataBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
privateMetadata_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadataFile_descriptor;
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadataFile getDefaultInstanceForType() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadataFile.getDefaultInstance();
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadataFile build() {
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadataFile result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadataFile buildPartial() {
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadataFile result = new skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadataFile(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.version_ = version_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.matchId_ = matchId_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
if (metadataBuilder_ == null) {
result.metadata_ = metadata_;
} else {
result.metadata_ = metadataBuilder_.build();
}
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.privateMetadata_ = privateMetadata_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadataFile) {
return mergeFrom((skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadataFile)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadataFile other) {
if (other == skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadataFile.getDefaultInstance()) return this;
if (other.hasVersion()) {
setVersion(other.getVersion());
}
if (other.hasMatchId()) {
setMatchId(other.getMatchId());
}
if (other.hasMetadata()) {
mergeMetadata(other.getMetadata());
}
if (other.hasPrivateMetadata()) {
setPrivateMetadata(other.getPrivateMetadata());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasVersion()) {
return false;
}
if (!hasMatchId()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadataFile parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadataFile) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int version_ ;
/**
* required int32 version = 1;
*/
public boolean hasVersion() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 version = 1;
*/
public int getVersion() {
return version_;
}
/**
* required int32 version = 1;
*/
public Builder setVersion(int value) {
bitField0_ |= 0x00000001;
version_ = value;
onChanged();
return this;
}
/**
* required int32 version = 1;
*/
public Builder clearVersion() {
bitField0_ = (bitField0_ & ~0x00000001);
version_ = 0;
onChanged();
return this;
}
private long matchId_ ;
/**
* required uint64 match_id = 2;
*/
public boolean hasMatchId() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required uint64 match_id = 2;
*/
public long getMatchId() {
return matchId_;
}
/**
* required uint64 match_id = 2;
*/
public Builder setMatchId(long value) {
bitField0_ |= 0x00000002;
matchId_ = value;
onChanged();
return this;
}
/**
* required uint64 match_id = 2;
*/
public Builder clearMatchId() {
bitField0_ = (bitField0_ & ~0x00000002);
matchId_ = 0L;
onChanged();
return this;
}
private skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata metadata_ = skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Builder, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadataOrBuilder> metadataBuilder_;
/**
* optional .CDOTAMatchMetadata metadata = 3;
*/
public boolean hasMetadata() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional .CDOTAMatchMetadata metadata = 3;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata getMetadata() {
if (metadataBuilder_ == null) {
return metadata_;
} else {
return metadataBuilder_.getMessage();
}
}
/**
* optional .CDOTAMatchMetadata metadata = 3;
*/
public Builder setMetadata(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata value) {
if (metadataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
metadata_ = value;
onChanged();
} else {
metadataBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .CDOTAMatchMetadata metadata = 3;
*/
public Builder setMetadata(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Builder builderForValue) {
if (metadataBuilder_ == null) {
metadata_ = builderForValue.build();
onChanged();
} else {
metadataBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .CDOTAMatchMetadata metadata = 3;
*/
public Builder mergeMetadata(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata value) {
if (metadataBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004) &&
metadata_ != skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.getDefaultInstance()) {
metadata_ =
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
} else {
metadata_ = value;
}
onChanged();
} else {
metadataBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .CDOTAMatchMetadata metadata = 3;
*/
public Builder clearMetadata() {
if (metadataBuilder_ == null) {
metadata_ = skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.getDefaultInstance();
onChanged();
} else {
metadataBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
* optional .CDOTAMatchMetadata metadata = 3;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Builder getMetadataBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getMetadataFieldBuilder().getBuilder();
}
/**
* optional .CDOTAMatchMetadata metadata = 3;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadataOrBuilder getMetadataOrBuilder() {
if (metadataBuilder_ != null) {
return metadataBuilder_.getMessageOrBuilder();
} else {
return metadata_;
}
}
/**
* optional .CDOTAMatchMetadata metadata = 3;
*/
private com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Builder, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadataOrBuilder>
getMetadataFieldBuilder() {
if (metadataBuilder_ == null) {
metadataBuilder_ = new com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Builder, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadataOrBuilder>(
getMetadata(),
getParentForChildren(),
isClean());
metadata_ = null;
}
return metadataBuilder_;
}
private com.google.protobuf.ByteString privateMetadata_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes private_metadata = 5;
*/
public boolean hasPrivateMetadata() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional bytes private_metadata = 5;
*/
public com.google.protobuf.ByteString getPrivateMetadata() {
return privateMetadata_;
}
/**
* optional bytes private_metadata = 5;
*/
public Builder setPrivateMetadata(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
privateMetadata_ = value;
onChanged();
return this;
}
/**
* optional bytes private_metadata = 5;
*/
public Builder clearPrivateMetadata() {
bitField0_ = (bitField0_ & ~0x00000008);
privateMetadata_ = getDefaultInstance().getPrivateMetadata();
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAMatchMetadataFile)
}
static {
defaultInstance = new CDOTAMatchMetadataFile(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAMatchMetadataFile)
}
public interface CDOTAMatchMetadataOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAMatchMetadata)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .CDOTAMatchMetadata.Team teams = 1;
*/
java.util.List
getTeamsList();
/**
* repeated .CDOTAMatchMetadata.Team teams = 1;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team getTeams(int index);
/**
* repeated .CDOTAMatchMetadata.Team teams = 1;
*/
int getTeamsCount();
/**
* repeated .CDOTAMatchMetadata.Team teams = 1;
*/
java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.TeamOrBuilder>
getTeamsOrBuilderList();
/**
* repeated .CDOTAMatchMetadata.Team teams = 1;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.TeamOrBuilder getTeamsOrBuilder(
int index);
/**
* optional fixed64 lobby_id = 3;
*/
boolean hasLobbyId();
/**
* optional fixed64 lobby_id = 3;
*/
long getLobbyId();
/**
* optional fixed64 report_until_time = 4;
*/
boolean hasReportUntilTime();
/**
* optional fixed64 report_until_time = 4;
*/
long getReportUntilTime();
/**
* optional bytes event_game_custom_table = 5;
*/
boolean hasEventGameCustomTable();
/**
* optional bytes event_game_custom_table = 5;
*/
com.google.protobuf.ByteString getEventGameCustomTable();
/**
* optional uint32 primary_event_id = 6;
*/
boolean hasPrimaryEventId();
/**
* optional uint32 primary_event_id = 6;
*/
int getPrimaryEventId();
/**
* optional .CMsgMatchMatchmakingStats matchmaking_stats = 8;
*/
boolean hasMatchmakingStats();
/**
* optional .CMsgMatchMatchmakingStats matchmaking_stats = 8;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommonMatchManagement.CMsgMatchMatchmakingStats getMatchmakingStats();
/**
* optional .CMsgMatchMatchmakingStats matchmaking_stats = 8;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommonMatchManagement.CMsgMatchMatchmakingStatsOrBuilder getMatchmakingStatsOrBuilder();
/**
* optional .CMvpData mvp_data = 9;
*/
boolean hasMvpData();
/**
* optional .CMvpData mvp_data = 9;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommonMatchManagement.CMvpData getMvpData();
/**
* optional .CMvpData mvp_data = 9;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommonMatchManagement.CMvpDataOrBuilder getMvpDataOrBuilder();
/**
* repeated .CDOTAMatchMetadata.GuildChallengeProgress guild_challenge_progress = 10;
*/
java.util.List
getGuildChallengeProgressList();
/**
* repeated .CDOTAMatchMetadata.GuildChallengeProgress guild_challenge_progress = 10;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.GuildChallengeProgress getGuildChallengeProgress(int index);
/**
* repeated .CDOTAMatchMetadata.GuildChallengeProgress guild_challenge_progress = 10;
*/
int getGuildChallengeProgressCount();
/**
* repeated .CDOTAMatchMetadata.GuildChallengeProgress guild_challenge_progress = 10;
*/
java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.GuildChallengeProgressOrBuilder>
getGuildChallengeProgressOrBuilderList();
/**
* repeated .CDOTAMatchMetadata.GuildChallengeProgress guild_challenge_progress = 10;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.GuildChallengeProgressOrBuilder getGuildChallengeProgressOrBuilder(
int index);
/**
* optional bytes custom_post_game_table = 11;
*/
boolean hasCustomPostGameTable();
/**
* optional bytes custom_post_game_table = 11;
*/
com.google.protobuf.ByteString getCustomPostGameTable();
/**
* repeated .CDOTAMatchMetadata.Tip match_tips = 12;
*/
java.util.List
getMatchTipsList();
/**
* repeated .CDOTAMatchMetadata.Tip match_tips = 12;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Tip getMatchTips(int index);
/**
* repeated .CDOTAMatchMetadata.Tip match_tips = 12;
*/
int getMatchTipsCount();
/**
* repeated .CDOTAMatchMetadata.Tip match_tips = 12;
*/
java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.TipOrBuilder>
getMatchTipsOrBuilderList();
/**
* repeated .CDOTAMatchMetadata.Tip match_tips = 12;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.TipOrBuilder getMatchTipsOrBuilder(
int index);
/**
* repeated .CMsgTrackedStat match_tracked_stats = 13;
*/
java.util.List
getMatchTrackedStatsList();
/**
* repeated .CMsgTrackedStat match_tracked_stats = 13;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommon.CMsgTrackedStat getMatchTrackedStats(int index);
/**
* repeated .CMsgTrackedStat match_tracked_stats = 13;
*/
int getMatchTrackedStatsCount();
/**
* repeated .CMsgTrackedStat match_tracked_stats = 13;
*/
java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommon.CMsgTrackedStatOrBuilder>
getMatchTrackedStatsOrBuilderList();
/**
* repeated .CMsgTrackedStat match_tracked_stats = 13;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommon.CMsgTrackedStatOrBuilder getMatchTrackedStatsOrBuilder(
int index);
}
/**
* Protobuf type {@code CDOTAMatchMetadata}
*/
public static final class CDOTAMatchMetadata extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAMatchMetadata)
CDOTAMatchMetadataOrBuilder {
// Use CDOTAMatchMetadata.newBuilder() to construct.
private CDOTAMatchMetadata(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAMatchMetadata(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAMatchMetadata defaultInstance;
public static CDOTAMatchMetadata getDefaultInstance() {
return defaultInstance;
}
public CDOTAMatchMetadata getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CDOTAMatchMetadata(
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: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
teams_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
teams_.add(input.readMessage(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PARSER, extensionRegistry));
break;
}
case 25: {
bitField0_ |= 0x00000001;
lobbyId_ = input.readFixed64();
break;
}
case 33: {
bitField0_ |= 0x00000002;
reportUntilTime_ = input.readFixed64();
break;
}
case 42: {
bitField0_ |= 0x00000004;
eventGameCustomTable_ = input.readBytes();
break;
}
case 48: {
bitField0_ |= 0x00000008;
primaryEventId_ = input.readUInt32();
break;
}
case 66: {
skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommonMatchManagement.CMsgMatchMatchmakingStats.Builder subBuilder = null;
if (((bitField0_ & 0x00000010) == 0x00000010)) {
subBuilder = matchmakingStats_.toBuilder();
}
matchmakingStats_ = input.readMessage(skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommonMatchManagement.CMsgMatchMatchmakingStats.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(matchmakingStats_);
matchmakingStats_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000010;
break;
}
case 74: {
skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommonMatchManagement.CMvpData.Builder subBuilder = null;
if (((bitField0_ & 0x00000020) == 0x00000020)) {
subBuilder = mvpData_.toBuilder();
}
mvpData_ = input.readMessage(skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommonMatchManagement.CMvpData.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(mvpData_);
mvpData_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000020;
break;
}
case 82: {
if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
guildChallengeProgress_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000080;
}
guildChallengeProgress_.add(input.readMessage(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.GuildChallengeProgress.PARSER, extensionRegistry));
break;
}
case 90: {
bitField0_ |= 0x00000040;
customPostGameTable_ = input.readBytes();
break;
}
case 98: {
if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
matchTips_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000200;
}
matchTips_.add(input.readMessage(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Tip.PARSER, extensionRegistry));
break;
}
case 106: {
if (!((mutable_bitField0_ & 0x00000400) == 0x00000400)) {
matchTrackedStats_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000400;
}
matchTrackedStats_.add(input.readMessage(skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommon.CMsgTrackedStat.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
teams_ = java.util.Collections.unmodifiableList(teams_);
}
if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
guildChallengeProgress_ = java.util.Collections.unmodifiableList(guildChallengeProgress_);
}
if (((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
matchTips_ = java.util.Collections.unmodifiableList(matchTips_);
}
if (((mutable_bitField0_ & 0x00000400) == 0x00000400)) {
matchTrackedStats_ = java.util.Collections.unmodifiableList(matchTrackedStats_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAMatchMetadata parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAMatchMetadata(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public interface EconItemOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAMatchMetadata.EconItem)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 def_index = 1;
*/
boolean hasDefIndex();
/**
* optional uint32 def_index = 1;
*/
int getDefIndex();
/**
* optional uint32 quality = 2 [default = 4];
*/
boolean hasQuality();
/**
* optional uint32 quality = 2 [default = 4];
*/
int getQuality();
/**
* repeated .CSOEconItemAttribute attribute = 3;
*/
java.util.List
getAttributeList();
/**
* repeated .CSOEconItemAttribute attribute = 3;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute getAttribute(int index);
/**
* repeated .CSOEconItemAttribute attribute = 3;
*/
int getAttributeCount();
/**
* repeated .CSOEconItemAttribute attribute = 3;
*/
java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttributeOrBuilder>
getAttributeOrBuilderList();
/**
* repeated .CSOEconItemAttribute attribute = 3;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttributeOrBuilder getAttributeOrBuilder(
int index);
/**
* optional uint32 style = 4 [default = 0];
*/
boolean hasStyle();
/**
* optional uint32 style = 4 [default = 0];
*/
int getStyle();
/**
* repeated .CSOEconItemEquipped equipped_state = 5;
*/
java.util.List
getEquippedStateList();
/**
* repeated .CSOEconItemEquipped equipped_state = 5;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped getEquippedState(int index);
/**
* repeated .CSOEconItemEquipped equipped_state = 5;
*/
int getEquippedStateCount();
/**
* repeated .CSOEconItemEquipped equipped_state = 5;
*/
java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquippedOrBuilder>
getEquippedStateOrBuilderList();
/**
* repeated .CSOEconItemEquipped equipped_state = 5;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquippedOrBuilder getEquippedStateOrBuilder(
int index);
}
/**
* Protobuf type {@code CDOTAMatchMetadata.EconItem}
*/
public static final class EconItem extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAMatchMetadata.EconItem)
EconItemOrBuilder {
// Use EconItem.newBuilder() to construct.
private EconItem(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private EconItem(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final EconItem defaultInstance;
public static EconItem getDefaultInstance() {
return defaultInstance;
}
public EconItem getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private EconItem(
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;
defIndex_ = input.readUInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
quality_ = input.readUInt32();
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
attribute_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
attribute_.add(input.readMessage(skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute.PARSER, extensionRegistry));
break;
}
case 32: {
bitField0_ |= 0x00000004;
style_ = input.readUInt32();
break;
}
case 42: {
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
equippedState_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000010;
}
equippedState_.add(input.readMessage(skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
attribute_ = java.util.Collections.unmodifiableList(attribute_);
}
if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
equippedState_ = java.util.Collections.unmodifiableList(equippedState_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_EconItem_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_EconItem_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.EconItem.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.EconItem.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public EconItem parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new EconItem(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int DEF_INDEX_FIELD_NUMBER = 1;
private int defIndex_;
/**
* optional uint32 def_index = 1;
*/
public boolean hasDefIndex() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 def_index = 1;
*/
public int getDefIndex() {
return defIndex_;
}
public static final int QUALITY_FIELD_NUMBER = 2;
private int quality_;
/**
* optional uint32 quality = 2 [default = 4];
*/
public boolean hasQuality() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 quality = 2 [default = 4];
*/
public int getQuality() {
return quality_;
}
public static final int ATTRIBUTE_FIELD_NUMBER = 3;
private java.util.List attribute_;
/**
* repeated .CSOEconItemAttribute attribute = 3;
*/
public java.util.List getAttributeList() {
return attribute_;
}
/**
* repeated .CSOEconItemAttribute attribute = 3;
*/
public java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttributeOrBuilder>
getAttributeOrBuilderList() {
return attribute_;
}
/**
* repeated .CSOEconItemAttribute attribute = 3;
*/
public int getAttributeCount() {
return attribute_.size();
}
/**
* repeated .CSOEconItemAttribute attribute = 3;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute getAttribute(int index) {
return attribute_.get(index);
}
/**
* repeated .CSOEconItemAttribute attribute = 3;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttributeOrBuilder getAttributeOrBuilder(
int index) {
return attribute_.get(index);
}
public static final int STYLE_FIELD_NUMBER = 4;
private int style_;
/**
* optional uint32 style = 4 [default = 0];
*/
public boolean hasStyle() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 style = 4 [default = 0];
*/
public int getStyle() {
return style_;
}
public static final int EQUIPPED_STATE_FIELD_NUMBER = 5;
private java.util.List equippedState_;
/**
* repeated .CSOEconItemEquipped equipped_state = 5;
*/
public java.util.List getEquippedStateList() {
return equippedState_;
}
/**
* repeated .CSOEconItemEquipped equipped_state = 5;
*/
public java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquippedOrBuilder>
getEquippedStateOrBuilderList() {
return equippedState_;
}
/**
* repeated .CSOEconItemEquipped equipped_state = 5;
*/
public int getEquippedStateCount() {
return equippedState_.size();
}
/**
* repeated .CSOEconItemEquipped equipped_state = 5;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped getEquippedState(int index) {
return equippedState_.get(index);
}
/**
* repeated .CSOEconItemEquipped equipped_state = 5;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquippedOrBuilder getEquippedStateOrBuilder(
int index) {
return equippedState_.get(index);
}
private void initFields() {
defIndex_ = 0;
quality_ = 4;
attribute_ = java.util.Collections.emptyList();
style_ = 0;
equippedState_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeUInt32(1, defIndex_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt32(2, quality_);
}
for (int i = 0; i < attribute_.size(); i++) {
output.writeMessage(3, attribute_.get(i));
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeUInt32(4, style_);
}
for (int i = 0; i < equippedState_.size(); i++) {
output.writeMessage(5, equippedState_.get(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, defIndex_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, quality_);
}
for (int i = 0; i < attribute_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, attribute_.get(i));
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, style_);
}
for (int i = 0; i < equippedState_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, equippedState_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.EconItem parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.EconItem 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.EconItem parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.EconItem parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.EconItem parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.EconItem 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.EconItem parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.EconItem 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.EconItem parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.EconItem 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.EconItem 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 CDOTAMatchMetadata.EconItem}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAMatchMetadata.EconItem)
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.EconItemOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_EconItem_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_EconItem_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.EconItem.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.EconItem.Builder.class);
}
// Construct using skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.EconItem.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getAttributeFieldBuilder();
getEquippedStateFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
defIndex_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
quality_ = 4;
bitField0_ = (bitField0_ & ~0x00000002);
if (attributeBuilder_ == null) {
attribute_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
attributeBuilder_.clear();
}
style_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
if (equippedStateBuilder_ == null) {
equippedState_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
} else {
equippedStateBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_EconItem_descriptor;
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.EconItem getDefaultInstanceForType() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.EconItem.getDefaultInstance();
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.EconItem build() {
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.EconItem result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.EconItem buildPartial() {
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.EconItem result = new skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.EconItem(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.defIndex_ = defIndex_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.quality_ = quality_;
if (attributeBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004)) {
attribute_ = java.util.Collections.unmodifiableList(attribute_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.attribute_ = attribute_;
} else {
result.attribute_ = attributeBuilder_.build();
}
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000004;
}
result.style_ = style_;
if (equippedStateBuilder_ == null) {
if (((bitField0_ & 0x00000010) == 0x00000010)) {
equippedState_ = java.util.Collections.unmodifiableList(equippedState_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.equippedState_ = equippedState_;
} else {
result.equippedState_ = equippedStateBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.EconItem) {
return mergeFrom((skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.EconItem)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.EconItem other) {
if (other == skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.EconItem.getDefaultInstance()) return this;
if (other.hasDefIndex()) {
setDefIndex(other.getDefIndex());
}
if (other.hasQuality()) {
setQuality(other.getQuality());
}
if (attributeBuilder_ == null) {
if (!other.attribute_.isEmpty()) {
if (attribute_.isEmpty()) {
attribute_ = other.attribute_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureAttributeIsMutable();
attribute_.addAll(other.attribute_);
}
onChanged();
}
} else {
if (!other.attribute_.isEmpty()) {
if (attributeBuilder_.isEmpty()) {
attributeBuilder_.dispose();
attributeBuilder_ = null;
attribute_ = other.attribute_;
bitField0_ = (bitField0_ & ~0x00000004);
attributeBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getAttributeFieldBuilder() : null;
} else {
attributeBuilder_.addAllMessages(other.attribute_);
}
}
}
if (other.hasStyle()) {
setStyle(other.getStyle());
}
if (equippedStateBuilder_ == null) {
if (!other.equippedState_.isEmpty()) {
if (equippedState_.isEmpty()) {
equippedState_ = other.equippedState_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureEquippedStateIsMutable();
equippedState_.addAll(other.equippedState_);
}
onChanged();
}
} else {
if (!other.equippedState_.isEmpty()) {
if (equippedStateBuilder_.isEmpty()) {
equippedStateBuilder_.dispose();
equippedStateBuilder_ = null;
equippedState_ = other.equippedState_;
bitField0_ = (bitField0_ & ~0x00000010);
equippedStateBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getEquippedStateFieldBuilder() : null;
} else {
equippedStateBuilder_.addAllMessages(other.equippedState_);
}
}
}
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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.EconItem parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.EconItem) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int defIndex_ ;
/**
* optional uint32 def_index = 1;
*/
public boolean hasDefIndex() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 def_index = 1;
*/
public int getDefIndex() {
return defIndex_;
}
/**
* optional uint32 def_index = 1;
*/
public Builder setDefIndex(int value) {
bitField0_ |= 0x00000001;
defIndex_ = value;
onChanged();
return this;
}
/**
* optional uint32 def_index = 1;
*/
public Builder clearDefIndex() {
bitField0_ = (bitField0_ & ~0x00000001);
defIndex_ = 0;
onChanged();
return this;
}
private int quality_ = 4;
/**
* optional uint32 quality = 2 [default = 4];
*/
public boolean hasQuality() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 quality = 2 [default = 4];
*/
public int getQuality() {
return quality_;
}
/**
* optional uint32 quality = 2 [default = 4];
*/
public Builder setQuality(int value) {
bitField0_ |= 0x00000002;
quality_ = value;
onChanged();
return this;
}
/**
* optional uint32 quality = 2 [default = 4];
*/
public Builder clearQuality() {
bitField0_ = (bitField0_ & ~0x00000002);
quality_ = 4;
onChanged();
return this;
}
private java.util.List attribute_ =
java.util.Collections.emptyList();
private void ensureAttributeIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
attribute_ = new java.util.ArrayList(attribute_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute.Builder, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttributeOrBuilder> attributeBuilder_;
/**
* repeated .CSOEconItemAttribute attribute = 3;
*/
public java.util.List getAttributeList() {
if (attributeBuilder_ == null) {
return java.util.Collections.unmodifiableList(attribute_);
} else {
return attributeBuilder_.getMessageList();
}
}
/**
* repeated .CSOEconItemAttribute attribute = 3;
*/
public int getAttributeCount() {
if (attributeBuilder_ == null) {
return attribute_.size();
} else {
return attributeBuilder_.getCount();
}
}
/**
* repeated .CSOEconItemAttribute attribute = 3;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute getAttribute(int index) {
if (attributeBuilder_ == null) {
return attribute_.get(index);
} else {
return attributeBuilder_.getMessage(index);
}
}
/**
* repeated .CSOEconItemAttribute attribute = 3;
*/
public Builder setAttribute(
int index, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute value) {
if (attributeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAttributeIsMutable();
attribute_.set(index, value);
onChanged();
} else {
attributeBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .CSOEconItemAttribute attribute = 3;
*/
public Builder setAttribute(
int index, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute.Builder builderForValue) {
if (attributeBuilder_ == null) {
ensureAttributeIsMutable();
attribute_.set(index, builderForValue.build());
onChanged();
} else {
attributeBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CSOEconItemAttribute attribute = 3;
*/
public Builder addAttribute(skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute value) {
if (attributeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAttributeIsMutable();
attribute_.add(value);
onChanged();
} else {
attributeBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .CSOEconItemAttribute attribute = 3;
*/
public Builder addAttribute(
int index, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute value) {
if (attributeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAttributeIsMutable();
attribute_.add(index, value);
onChanged();
} else {
attributeBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .CSOEconItemAttribute attribute = 3;
*/
public Builder addAttribute(
skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute.Builder builderForValue) {
if (attributeBuilder_ == null) {
ensureAttributeIsMutable();
attribute_.add(builderForValue.build());
onChanged();
} else {
attributeBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .CSOEconItemAttribute attribute = 3;
*/
public Builder addAttribute(
int index, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute.Builder builderForValue) {
if (attributeBuilder_ == null) {
ensureAttributeIsMutable();
attribute_.add(index, builderForValue.build());
onChanged();
} else {
attributeBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CSOEconItemAttribute attribute = 3;
*/
public Builder addAllAttribute(
java.lang.Iterable extends skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute> values) {
if (attributeBuilder_ == null) {
ensureAttributeIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, attribute_);
onChanged();
} else {
attributeBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .CSOEconItemAttribute attribute = 3;
*/
public Builder clearAttribute() {
if (attributeBuilder_ == null) {
attribute_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
attributeBuilder_.clear();
}
return this;
}
/**
* repeated .CSOEconItemAttribute attribute = 3;
*/
public Builder removeAttribute(int index) {
if (attributeBuilder_ == null) {
ensureAttributeIsMutable();
attribute_.remove(index);
onChanged();
} else {
attributeBuilder_.remove(index);
}
return this;
}
/**
* repeated .CSOEconItemAttribute attribute = 3;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute.Builder getAttributeBuilder(
int index) {
return getAttributeFieldBuilder().getBuilder(index);
}
/**
* repeated .CSOEconItemAttribute attribute = 3;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttributeOrBuilder getAttributeOrBuilder(
int index) {
if (attributeBuilder_ == null) {
return attribute_.get(index); } else {
return attributeBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .CSOEconItemAttribute attribute = 3;
*/
public java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttributeOrBuilder>
getAttributeOrBuilderList() {
if (attributeBuilder_ != null) {
return attributeBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(attribute_);
}
}
/**
* repeated .CSOEconItemAttribute attribute = 3;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute.Builder addAttributeBuilder() {
return getAttributeFieldBuilder().addBuilder(
skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute.getDefaultInstance());
}
/**
* repeated .CSOEconItemAttribute attribute = 3;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute.Builder addAttributeBuilder(
int index) {
return getAttributeFieldBuilder().addBuilder(
index, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute.getDefaultInstance());
}
/**
* repeated .CSOEconItemAttribute attribute = 3;
*/
public java.util.List
getAttributeBuilderList() {
return getAttributeFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute.Builder, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttributeOrBuilder>
getAttributeFieldBuilder() {
if (attributeBuilder_ == null) {
attributeBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttribute.Builder, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemAttributeOrBuilder>(
attribute_,
((bitField0_ & 0x00000004) == 0x00000004),
getParentForChildren(),
isClean());
attribute_ = null;
}
return attributeBuilder_;
}
private int style_ ;
/**
* optional uint32 style = 4 [default = 0];
*/
public boolean hasStyle() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional uint32 style = 4 [default = 0];
*/
public int getStyle() {
return style_;
}
/**
* optional uint32 style = 4 [default = 0];
*/
public Builder setStyle(int value) {
bitField0_ |= 0x00000008;
style_ = value;
onChanged();
return this;
}
/**
* optional uint32 style = 4 [default = 0];
*/
public Builder clearStyle() {
bitField0_ = (bitField0_ & ~0x00000008);
style_ = 0;
onChanged();
return this;
}
private java.util.List equippedState_ =
java.util.Collections.emptyList();
private void ensureEquippedStateIsMutable() {
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
equippedState_ = new java.util.ArrayList(equippedState_);
bitField0_ |= 0x00000010;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped.Builder, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquippedOrBuilder> equippedStateBuilder_;
/**
* repeated .CSOEconItemEquipped equipped_state = 5;
*/
public java.util.List getEquippedStateList() {
if (equippedStateBuilder_ == null) {
return java.util.Collections.unmodifiableList(equippedState_);
} else {
return equippedStateBuilder_.getMessageList();
}
}
/**
* repeated .CSOEconItemEquipped equipped_state = 5;
*/
public int getEquippedStateCount() {
if (equippedStateBuilder_ == null) {
return equippedState_.size();
} else {
return equippedStateBuilder_.getCount();
}
}
/**
* repeated .CSOEconItemEquipped equipped_state = 5;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped getEquippedState(int index) {
if (equippedStateBuilder_ == null) {
return equippedState_.get(index);
} else {
return equippedStateBuilder_.getMessage(index);
}
}
/**
* repeated .CSOEconItemEquipped equipped_state = 5;
*/
public Builder setEquippedState(
int index, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped value) {
if (equippedStateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEquippedStateIsMutable();
equippedState_.set(index, value);
onChanged();
} else {
equippedStateBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .CSOEconItemEquipped equipped_state = 5;
*/
public Builder setEquippedState(
int index, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped.Builder builderForValue) {
if (equippedStateBuilder_ == null) {
ensureEquippedStateIsMutable();
equippedState_.set(index, builderForValue.build());
onChanged();
} else {
equippedStateBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CSOEconItemEquipped equipped_state = 5;
*/
public Builder addEquippedState(skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped value) {
if (equippedStateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEquippedStateIsMutable();
equippedState_.add(value);
onChanged();
} else {
equippedStateBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .CSOEconItemEquipped equipped_state = 5;
*/
public Builder addEquippedState(
int index, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped value) {
if (equippedStateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEquippedStateIsMutable();
equippedState_.add(index, value);
onChanged();
} else {
equippedStateBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .CSOEconItemEquipped equipped_state = 5;
*/
public Builder addEquippedState(
skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped.Builder builderForValue) {
if (equippedStateBuilder_ == null) {
ensureEquippedStateIsMutable();
equippedState_.add(builderForValue.build());
onChanged();
} else {
equippedStateBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .CSOEconItemEquipped equipped_state = 5;
*/
public Builder addEquippedState(
int index, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped.Builder builderForValue) {
if (equippedStateBuilder_ == null) {
ensureEquippedStateIsMutable();
equippedState_.add(index, builderForValue.build());
onChanged();
} else {
equippedStateBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CSOEconItemEquipped equipped_state = 5;
*/
public Builder addAllEquippedState(
java.lang.Iterable extends skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped> values) {
if (equippedStateBuilder_ == null) {
ensureEquippedStateIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, equippedState_);
onChanged();
} else {
equippedStateBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .CSOEconItemEquipped equipped_state = 5;
*/
public Builder clearEquippedState() {
if (equippedStateBuilder_ == null) {
equippedState_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
} else {
equippedStateBuilder_.clear();
}
return this;
}
/**
* repeated .CSOEconItemEquipped equipped_state = 5;
*/
public Builder removeEquippedState(int index) {
if (equippedStateBuilder_ == null) {
ensureEquippedStateIsMutable();
equippedState_.remove(index);
onChanged();
} else {
equippedStateBuilder_.remove(index);
}
return this;
}
/**
* repeated .CSOEconItemEquipped equipped_state = 5;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped.Builder getEquippedStateBuilder(
int index) {
return getEquippedStateFieldBuilder().getBuilder(index);
}
/**
* repeated .CSOEconItemEquipped equipped_state = 5;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquippedOrBuilder getEquippedStateOrBuilder(
int index) {
if (equippedStateBuilder_ == null) {
return equippedState_.get(index); } else {
return equippedStateBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .CSOEconItemEquipped equipped_state = 5;
*/
public java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquippedOrBuilder>
getEquippedStateOrBuilderList() {
if (equippedStateBuilder_ != null) {
return equippedStateBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(equippedState_);
}
}
/**
* repeated .CSOEconItemEquipped equipped_state = 5;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped.Builder addEquippedStateBuilder() {
return getEquippedStateFieldBuilder().addBuilder(
skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped.getDefaultInstance());
}
/**
* repeated .CSOEconItemEquipped equipped_state = 5;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped.Builder addEquippedStateBuilder(
int index) {
return getEquippedStateFieldBuilder().addBuilder(
index, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped.getDefaultInstance());
}
/**
* repeated .CSOEconItemEquipped equipped_state = 5;
*/
public java.util.List
getEquippedStateBuilderList() {
return getEquippedStateFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped.Builder, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquippedOrBuilder>
getEquippedStateFieldBuilder() {
if (equippedStateBuilder_ == null) {
equippedStateBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquipped.Builder, skadistats.clarity.wire.dota.s2.proto.DOTAS2BaseGcMessages.CSOEconItemEquippedOrBuilder>(
equippedState_,
((bitField0_ & 0x00000010) == 0x00000010),
getParentForChildren(),
isClean());
equippedState_ = null;
}
return equippedStateBuilder_;
}
// @@protoc_insertion_point(builder_scope:CDOTAMatchMetadata.EconItem)
}
static {
defaultInstance = new EconItem(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAMatchMetadata.EconItem)
}
public interface TeamOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAMatchMetadata.Team)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 dota_team = 1;
*/
boolean hasDotaTeam();
/**
* optional uint32 dota_team = 1;
*/
int getDotaTeam();
/**
* repeated .CDOTAMatchMetadata.Team.Player players = 2;
*/
java.util.List
getPlayersList();
/**
* repeated .CDOTAMatchMetadata.Team.Player players = 2;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player getPlayers(int index);
/**
* repeated .CDOTAMatchMetadata.Team.Player players = 2;
*/
int getPlayersCount();
/**
* repeated .CDOTAMatchMetadata.Team.Player players = 2;
*/
java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerOrBuilder>
getPlayersOrBuilderList();
/**
* repeated .CDOTAMatchMetadata.Team.Player players = 2;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerOrBuilder getPlayersOrBuilder(
int index);
/**
* repeated float graph_experience = 3;
*/
java.util.List getGraphExperienceList();
/**
* repeated float graph_experience = 3;
*/
int getGraphExperienceCount();
/**
* repeated float graph_experience = 3;
*/
float getGraphExperience(int index);
/**
* repeated float graph_gold_earned = 4;
*/
java.util.List getGraphGoldEarnedList();
/**
* repeated float graph_gold_earned = 4;
*/
int getGraphGoldEarnedCount();
/**
* repeated float graph_gold_earned = 4;
*/
float getGraphGoldEarned(int index);
/**
* repeated float graph_net_worth = 5;
*/
java.util.List getGraphNetWorthList();
/**
* repeated float graph_net_worth = 5;
*/
int getGraphNetWorthCount();
/**
* repeated float graph_net_worth = 5;
*/
float getGraphNetWorth(int index);
/**
* optional bool cm_first_pick = 6;
*/
boolean hasCmFirstPick();
/**
* optional bool cm_first_pick = 6;
*/
boolean getCmFirstPick();
/**
* optional int32 cm_captain_player_id = 7 [default = -1];
*/
boolean hasCmCaptainPlayerId();
/**
* optional int32 cm_captain_player_id = 7 [default = -1];
*/
int getCmCaptainPlayerId();
/**
* optional uint32 cm_penalty = 10;
*/
boolean hasCmPenalty();
/**
* optional uint32 cm_penalty = 10;
*/
int getCmPenalty();
/**
* repeated .CMsgTrackedStat team_tracked_stats = 11;
*/
java.util.List
getTeamTrackedStatsList();
/**
* repeated .CMsgTrackedStat team_tracked_stats = 11;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommon.CMsgTrackedStat getTeamTrackedStats(int index);
/**
* repeated .CMsgTrackedStat team_tracked_stats = 11;
*/
int getTeamTrackedStatsCount();
/**
* repeated .CMsgTrackedStat team_tracked_stats = 11;
*/
java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommon.CMsgTrackedStatOrBuilder>
getTeamTrackedStatsOrBuilderList();
/**
* repeated .CMsgTrackedStat team_tracked_stats = 11;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommon.CMsgTrackedStatOrBuilder getTeamTrackedStatsOrBuilder(
int index);
}
/**
* Protobuf type {@code CDOTAMatchMetadata.Team}
*/
public static final class Team extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAMatchMetadata.Team)
TeamOrBuilder {
// Use Team.newBuilder() to construct.
private Team(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private Team(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final Team defaultInstance;
public static Team getDefaultInstance() {
return defaultInstance;
}
public Team getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Team(
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;
dotaTeam_ = input.readUInt32();
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
players_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
players_.add(input.readMessage(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.PARSER, extensionRegistry));
break;
}
case 29: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
graphExperience_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
graphExperience_.add(input.readFloat());
break;
}
case 26: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004) && input.getBytesUntilLimit() > 0) {
graphExperience_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
while (input.getBytesUntilLimit() > 0) {
graphExperience_.add(input.readFloat());
}
input.popLimit(limit);
break;
}
case 37: {
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
graphGoldEarned_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
graphGoldEarned_.add(input.readFloat());
break;
}
case 34: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008) && input.getBytesUntilLimit() > 0) {
graphGoldEarned_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
while (input.getBytesUntilLimit() > 0) {
graphGoldEarned_.add(input.readFloat());
}
input.popLimit(limit);
break;
}
case 45: {
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
graphNetWorth_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000010;
}
graphNetWorth_.add(input.readFloat());
break;
}
case 42: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010) && input.getBytesUntilLimit() > 0) {
graphNetWorth_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000010;
}
while (input.getBytesUntilLimit() > 0) {
graphNetWorth_.add(input.readFloat());
}
input.popLimit(limit);
break;
}
case 48: {
bitField0_ |= 0x00000002;
cmFirstPick_ = input.readBool();
break;
}
case 56: {
bitField0_ |= 0x00000004;
cmCaptainPlayerId_ = input.readInt32();
break;
}
case 80: {
bitField0_ |= 0x00000008;
cmPenalty_ = input.readUInt32();
break;
}
case 90: {
if (!((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
teamTrackedStats_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000100;
}
teamTrackedStats_.add(input.readMessage(skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommon.CMsgTrackedStat.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
players_ = java.util.Collections.unmodifiableList(players_);
}
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
graphExperience_ = java.util.Collections.unmodifiableList(graphExperience_);
}
if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
graphGoldEarned_ = java.util.Collections.unmodifiableList(graphGoldEarned_);
}
if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
graphNetWorth_ = java.util.Collections.unmodifiableList(graphNetWorth_);
}
if (((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
teamTrackedStats_ = java.util.Collections.unmodifiableList(teamTrackedStats_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public Team parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Team(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public interface PlayerKillOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAMatchMetadata.Team.PlayerKill)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 victim_slot = 1;
*/
boolean hasVictimSlot();
/**
* optional uint32 victim_slot = 1;
*/
int getVictimSlot();
/**
* optional uint32 count = 2;
*/
boolean hasCount();
/**
* optional uint32 count = 2;
*/
int getCount();
}
/**
* Protobuf type {@code CDOTAMatchMetadata.Team.PlayerKill}
*/
public static final class PlayerKill extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAMatchMetadata.Team.PlayerKill)
PlayerKillOrBuilder {
// Use PlayerKill.newBuilder() to construct.
private PlayerKill(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private PlayerKill(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final PlayerKill defaultInstance;
public static PlayerKill getDefaultInstance() {
return defaultInstance;
}
public PlayerKill getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PlayerKill(
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;
victimSlot_ = input.readUInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
count_ = 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.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_PlayerKill_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_PlayerKill_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public PlayerKill parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PlayerKill(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int VICTIM_SLOT_FIELD_NUMBER = 1;
private int victimSlot_;
/**
* optional uint32 victim_slot = 1;
*/
public boolean hasVictimSlot() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 victim_slot = 1;
*/
public int getVictimSlot() {
return victimSlot_;
}
public static final int COUNT_FIELD_NUMBER = 2;
private int count_;
/**
* optional uint32 count = 2;
*/
public boolean hasCount() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 count = 2;
*/
public int getCount() {
return count_;
}
private void initFields() {
victimSlot_ = 0;
count_ = 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.writeUInt32(1, victimSlot_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt32(2, count_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, victimSlot_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, count_);
}
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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill 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 CDOTAMatchMetadata.Team.PlayerKill}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAMatchMetadata.Team.PlayerKill)
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKillOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_PlayerKill_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_PlayerKill_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill.Builder.class);
}
// Construct using skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill.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();
victimSlot_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
count_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_PlayerKill_descriptor;
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill getDefaultInstanceForType() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill.getDefaultInstance();
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill build() {
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill buildPartial() {
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill result = new skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.victimSlot_ = victimSlot_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.count_ = count_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill) {
return mergeFrom((skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill other) {
if (other == skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill.getDefaultInstance()) return this;
if (other.hasVictimSlot()) {
setVictimSlot(other.getVictimSlot());
}
if (other.hasCount()) {
setCount(other.getCount());
}
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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int victimSlot_ ;
/**
* optional uint32 victim_slot = 1;
*/
public boolean hasVictimSlot() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 victim_slot = 1;
*/
public int getVictimSlot() {
return victimSlot_;
}
/**
* optional uint32 victim_slot = 1;
*/
public Builder setVictimSlot(int value) {
bitField0_ |= 0x00000001;
victimSlot_ = value;
onChanged();
return this;
}
/**
* optional uint32 victim_slot = 1;
*/
public Builder clearVictimSlot() {
bitField0_ = (bitField0_ & ~0x00000001);
victimSlot_ = 0;
onChanged();
return this;
}
private int count_ ;
/**
* optional uint32 count = 2;
*/
public boolean hasCount() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 count = 2;
*/
public int getCount() {
return count_;
}
/**
* optional uint32 count = 2;
*/
public Builder setCount(int value) {
bitField0_ |= 0x00000002;
count_ = value;
onChanged();
return this;
}
/**
* optional uint32 count = 2;
*/
public Builder clearCount() {
bitField0_ = (bitField0_ & ~0x00000002);
count_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAMatchMetadata.Team.PlayerKill)
}
static {
defaultInstance = new PlayerKill(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAMatchMetadata.Team.PlayerKill)
}
public interface ItemPurchaseOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAMatchMetadata.Team.ItemPurchase)
com.google.protobuf.MessageOrBuilder {
/**
* optional int32 item_id = 1 [default = -1];
*/
boolean hasItemId();
/**
* optional int32 item_id = 1 [default = -1];
*/
int getItemId();
/**
* optional int32 purchase_time = 2;
*/
boolean hasPurchaseTime();
/**
* optional int32 purchase_time = 2;
*/
int getPurchaseTime();
}
/**
* Protobuf type {@code CDOTAMatchMetadata.Team.ItemPurchase}
*/
public static final class ItemPurchase extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAMatchMetadata.Team.ItemPurchase)
ItemPurchaseOrBuilder {
// Use ItemPurchase.newBuilder() to construct.
private ItemPurchase(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private ItemPurchase(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final ItemPurchase defaultInstance;
public static ItemPurchase getDefaultInstance() {
return defaultInstance;
}
public ItemPurchase getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ItemPurchase(
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;
itemId_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
purchaseTime_ = input.readInt32();
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.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_ItemPurchase_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_ItemPurchase_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ItemPurchase.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ItemPurchase.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public ItemPurchase parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ItemPurchase(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int ITEM_ID_FIELD_NUMBER = 1;
private int itemId_;
/**
* optional int32 item_id = 1 [default = -1];
*/
public boolean hasItemId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 item_id = 1 [default = -1];
*/
public int getItemId() {
return itemId_;
}
public static final int PURCHASE_TIME_FIELD_NUMBER = 2;
private int purchaseTime_;
/**
* optional int32 purchase_time = 2;
*/
public boolean hasPurchaseTime() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 purchase_time = 2;
*/
public int getPurchaseTime() {
return purchaseTime_;
}
private void initFields() {
itemId_ = -1;
purchaseTime_ = 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, itemId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, purchaseTime_);
}
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, itemId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, purchaseTime_);
}
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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ItemPurchase parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ItemPurchase 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ItemPurchase parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ItemPurchase parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ItemPurchase parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ItemPurchase 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ItemPurchase parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ItemPurchase 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ItemPurchase parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ItemPurchase 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ItemPurchase 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 CDOTAMatchMetadata.Team.ItemPurchase}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAMatchMetadata.Team.ItemPurchase)
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ItemPurchaseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_ItemPurchase_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_ItemPurchase_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ItemPurchase.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ItemPurchase.Builder.class);
}
// Construct using skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ItemPurchase.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();
itemId_ = -1;
bitField0_ = (bitField0_ & ~0x00000001);
purchaseTime_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_ItemPurchase_descriptor;
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ItemPurchase getDefaultInstanceForType() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ItemPurchase.getDefaultInstance();
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ItemPurchase build() {
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ItemPurchase result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ItemPurchase buildPartial() {
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ItemPurchase result = new skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ItemPurchase(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.itemId_ = itemId_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.purchaseTime_ = purchaseTime_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ItemPurchase) {
return mergeFrom((skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ItemPurchase)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ItemPurchase other) {
if (other == skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ItemPurchase.getDefaultInstance()) return this;
if (other.hasItemId()) {
setItemId(other.getItemId());
}
if (other.hasPurchaseTime()) {
setPurchaseTime(other.getPurchaseTime());
}
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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ItemPurchase parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ItemPurchase) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int itemId_ = -1;
/**
* optional int32 item_id = 1 [default = -1];
*/
public boolean hasItemId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 item_id = 1 [default = -1];
*/
public int getItemId() {
return itemId_;
}
/**
* optional int32 item_id = 1 [default = -1];
*/
public Builder setItemId(int value) {
bitField0_ |= 0x00000001;
itemId_ = value;
onChanged();
return this;
}
/**
* optional int32 item_id = 1 [default = -1];
*/
public Builder clearItemId() {
bitField0_ = (bitField0_ & ~0x00000001);
itemId_ = -1;
onChanged();
return this;
}
private int purchaseTime_ ;
/**
* optional int32 purchase_time = 2;
*/
public boolean hasPurchaseTime() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 purchase_time = 2;
*/
public int getPurchaseTime() {
return purchaseTime_;
}
/**
* optional int32 purchase_time = 2;
*/
public Builder setPurchaseTime(int value) {
bitField0_ |= 0x00000002;
purchaseTime_ = value;
onChanged();
return this;
}
/**
* optional int32 purchase_time = 2;
*/
public Builder clearPurchaseTime() {
bitField0_ = (bitField0_ & ~0x00000002);
purchaseTime_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAMatchMetadata.Team.ItemPurchase)
}
static {
defaultInstance = new ItemPurchase(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAMatchMetadata.Team.ItemPurchase)
}
public interface InventorySnapshotOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAMatchMetadata.Team.InventorySnapshot)
com.google.protobuf.MessageOrBuilder {
/**
* repeated int32 item_id = 1;
*/
java.util.List getItemIdList();
/**
* repeated int32 item_id = 1;
*/
int getItemIdCount();
/**
* repeated int32 item_id = 1;
*/
int getItemId(int index);
/**
* optional int32 game_time = 2;
*/
boolean hasGameTime();
/**
* optional int32 game_time = 2;
*/
int getGameTime();
/**
* optional uint32 kills = 3;
*/
boolean hasKills();
/**
* optional uint32 kills = 3;
*/
int getKills();
/**
* optional uint32 deaths = 4;
*/
boolean hasDeaths();
/**
* optional uint32 deaths = 4;
*/
int getDeaths();
/**
* optional uint32 assists = 5;
*/
boolean hasAssists();
/**
* optional uint32 assists = 5;
*/
int getAssists();
/**
* optional uint32 level = 6;
*/
boolean hasLevel();
/**
* optional uint32 level = 6;
*/
int getLevel();
/**
* repeated int32 backpack_item_id = 7;
*/
java.util.List getBackpackItemIdList();
/**
* repeated int32 backpack_item_id = 7;
*/
int getBackpackItemIdCount();
/**
* repeated int32 backpack_item_id = 7;
*/
int getBackpackItemId(int index);
/**
* optional int32 neutral_item_id = 8 [default = -1];
*/
boolean hasNeutralItemId();
/**
* optional int32 neutral_item_id = 8 [default = -1];
*/
int getNeutralItemId();
}
/**
* Protobuf type {@code CDOTAMatchMetadata.Team.InventorySnapshot}
*/
public static final class InventorySnapshot extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAMatchMetadata.Team.InventorySnapshot)
InventorySnapshotOrBuilder {
// Use InventorySnapshot.newBuilder() to construct.
private InventorySnapshot(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private InventorySnapshot(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final InventorySnapshot defaultInstance;
public static InventorySnapshot getDefaultInstance() {
return defaultInstance;
}
public InventorySnapshot getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private InventorySnapshot(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
itemId_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
itemId_.add(input.readInt32());
break;
}
case 10: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) {
itemId_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
while (input.getBytesUntilLimit() > 0) {
itemId_.add(input.readInt32());
}
input.popLimit(limit);
break;
}
case 16: {
bitField0_ |= 0x00000001;
gameTime_ = input.readInt32();
break;
}
case 24: {
bitField0_ |= 0x00000002;
kills_ = input.readUInt32();
break;
}
case 32: {
bitField0_ |= 0x00000004;
deaths_ = input.readUInt32();
break;
}
case 40: {
bitField0_ |= 0x00000008;
assists_ = input.readUInt32();
break;
}
case 48: {
bitField0_ |= 0x00000010;
level_ = input.readUInt32();
break;
}
case 56: {
if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
backpackItemId_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000040;
}
backpackItemId_.add(input.readInt32());
break;
}
case 58: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000040) == 0x00000040) && input.getBytesUntilLimit() > 0) {
backpackItemId_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000040;
}
while (input.getBytesUntilLimit() > 0) {
backpackItemId_.add(input.readInt32());
}
input.popLimit(limit);
break;
}
case 64: {
bitField0_ |= 0x00000020;
neutralItemId_ = input.readInt32();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
itemId_ = java.util.Collections.unmodifiableList(itemId_);
}
if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
backpackItemId_ = java.util.Collections.unmodifiableList(backpackItemId_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_InventorySnapshot_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_InventorySnapshot_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.InventorySnapshot.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.InventorySnapshot.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public InventorySnapshot parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new InventorySnapshot(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int ITEM_ID_FIELD_NUMBER = 1;
private java.util.List itemId_;
/**
* repeated int32 item_id = 1;
*/
public java.util.List
getItemIdList() {
return itemId_;
}
/**
* repeated int32 item_id = 1;
*/
public int getItemIdCount() {
return itemId_.size();
}
/**
* repeated int32 item_id = 1;
*/
public int getItemId(int index) {
return itemId_.get(index);
}
public static final int GAME_TIME_FIELD_NUMBER = 2;
private int gameTime_;
/**
* optional int32 game_time = 2;
*/
public boolean hasGameTime() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 game_time = 2;
*/
public int getGameTime() {
return gameTime_;
}
public static final int KILLS_FIELD_NUMBER = 3;
private int kills_;
/**
* optional uint32 kills = 3;
*/
public boolean hasKills() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 kills = 3;
*/
public int getKills() {
return kills_;
}
public static final int DEATHS_FIELD_NUMBER = 4;
private int deaths_;
/**
* optional uint32 deaths = 4;
*/
public boolean hasDeaths() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 deaths = 4;
*/
public int getDeaths() {
return deaths_;
}
public static final int ASSISTS_FIELD_NUMBER = 5;
private int assists_;
/**
* optional uint32 assists = 5;
*/
public boolean hasAssists() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional uint32 assists = 5;
*/
public int getAssists() {
return assists_;
}
public static final int LEVEL_FIELD_NUMBER = 6;
private int level_;
/**
* optional uint32 level = 6;
*/
public boolean hasLevel() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional uint32 level = 6;
*/
public int getLevel() {
return level_;
}
public static final int BACKPACK_ITEM_ID_FIELD_NUMBER = 7;
private java.util.List backpackItemId_;
/**
* repeated int32 backpack_item_id = 7;
*/
public java.util.List
getBackpackItemIdList() {
return backpackItemId_;
}
/**
* repeated int32 backpack_item_id = 7;
*/
public int getBackpackItemIdCount() {
return backpackItemId_.size();
}
/**
* repeated int32 backpack_item_id = 7;
*/
public int getBackpackItemId(int index) {
return backpackItemId_.get(index);
}
public static final int NEUTRAL_ITEM_ID_FIELD_NUMBER = 8;
private int neutralItemId_;
/**
* optional int32 neutral_item_id = 8 [default = -1];
*/
public boolean hasNeutralItemId() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional int32 neutral_item_id = 8 [default = -1];
*/
public int getNeutralItemId() {
return neutralItemId_;
}
private void initFields() {
itemId_ = java.util.Collections.emptyList();
gameTime_ = 0;
kills_ = 0;
deaths_ = 0;
assists_ = 0;
level_ = 0;
backpackItemId_ = java.util.Collections.emptyList();
neutralItemId_ = -1;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
for (int i = 0; i < itemId_.size(); i++) {
output.writeInt32(1, itemId_.get(i));
}
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt32(2, gameTime_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt32(3, kills_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeUInt32(4, deaths_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeUInt32(5, assists_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeUInt32(6, level_);
}
for (int i = 0; i < backpackItemId_.size(); i++) {
output.writeInt32(7, backpackItemId_.get(i));
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeInt32(8, neutralItemId_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < itemId_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(itemId_.get(i));
}
size += dataSize;
size += 1 * getItemIdList().size();
}
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, gameTime_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, kills_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, deaths_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, assists_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(6, level_);
}
{
int dataSize = 0;
for (int i = 0; i < backpackItemId_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(backpackItemId_.get(i));
}
size += dataSize;
size += 1 * getBackpackItemIdList().size();
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(8, neutralItemId_);
}
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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.InventorySnapshot parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.InventorySnapshot 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.InventorySnapshot parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.InventorySnapshot parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.InventorySnapshot parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.InventorySnapshot 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.InventorySnapshot parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.InventorySnapshot 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.InventorySnapshot parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.InventorySnapshot 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.InventorySnapshot 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 CDOTAMatchMetadata.Team.InventorySnapshot}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAMatchMetadata.Team.InventorySnapshot)
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.InventorySnapshotOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_InventorySnapshot_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_InventorySnapshot_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.InventorySnapshot.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.InventorySnapshot.Builder.class);
}
// Construct using skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.InventorySnapshot.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();
itemId_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
gameTime_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
kills_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
deaths_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
assists_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
level_ = 0;
bitField0_ = (bitField0_ & ~0x00000020);
backpackItemId_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
neutralItemId_ = -1;
bitField0_ = (bitField0_ & ~0x00000080);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_InventorySnapshot_descriptor;
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.InventorySnapshot getDefaultInstanceForType() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.InventorySnapshot.getDefaultInstance();
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.InventorySnapshot build() {
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.InventorySnapshot result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.InventorySnapshot buildPartial() {
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.InventorySnapshot result = new skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.InventorySnapshot(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
itemId_ = java.util.Collections.unmodifiableList(itemId_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.itemId_ = itemId_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000001;
}
result.gameTime_ = gameTime_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000002;
}
result.kills_ = kills_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000004;
}
result.deaths_ = deaths_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000008;
}
result.assists_ = assists_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000010;
}
result.level_ = level_;
if (((bitField0_ & 0x00000040) == 0x00000040)) {
backpackItemId_ = java.util.Collections.unmodifiableList(backpackItemId_);
bitField0_ = (bitField0_ & ~0x00000040);
}
result.backpackItemId_ = backpackItemId_;
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000020;
}
result.neutralItemId_ = neutralItemId_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.InventorySnapshot) {
return mergeFrom((skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.InventorySnapshot)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.InventorySnapshot other) {
if (other == skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.InventorySnapshot.getDefaultInstance()) return this;
if (!other.itemId_.isEmpty()) {
if (itemId_.isEmpty()) {
itemId_ = other.itemId_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureItemIdIsMutable();
itemId_.addAll(other.itemId_);
}
onChanged();
}
if (other.hasGameTime()) {
setGameTime(other.getGameTime());
}
if (other.hasKills()) {
setKills(other.getKills());
}
if (other.hasDeaths()) {
setDeaths(other.getDeaths());
}
if (other.hasAssists()) {
setAssists(other.getAssists());
}
if (other.hasLevel()) {
setLevel(other.getLevel());
}
if (!other.backpackItemId_.isEmpty()) {
if (backpackItemId_.isEmpty()) {
backpackItemId_ = other.backpackItemId_;
bitField0_ = (bitField0_ & ~0x00000040);
} else {
ensureBackpackItemIdIsMutable();
backpackItemId_.addAll(other.backpackItemId_);
}
onChanged();
}
if (other.hasNeutralItemId()) {
setNeutralItemId(other.getNeutralItemId());
}
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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.InventorySnapshot parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.InventorySnapshot) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List itemId_ = java.util.Collections.emptyList();
private void ensureItemIdIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
itemId_ = new java.util.ArrayList(itemId_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated int32 item_id = 1;
*/
public java.util.List
getItemIdList() {
return java.util.Collections.unmodifiableList(itemId_);
}
/**
* repeated int32 item_id = 1;
*/
public int getItemIdCount() {
return itemId_.size();
}
/**
* repeated int32 item_id = 1;
*/
public int getItemId(int index) {
return itemId_.get(index);
}
/**
* repeated int32 item_id = 1;
*/
public Builder setItemId(
int index, int value) {
ensureItemIdIsMutable();
itemId_.set(index, value);
onChanged();
return this;
}
/**
* repeated int32 item_id = 1;
*/
public Builder addItemId(int value) {
ensureItemIdIsMutable();
itemId_.add(value);
onChanged();
return this;
}
/**
* repeated int32 item_id = 1;
*/
public Builder addAllItemId(
java.lang.Iterable extends java.lang.Integer> values) {
ensureItemIdIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, itemId_);
onChanged();
return this;
}
/**
* repeated int32 item_id = 1;
*/
public Builder clearItemId() {
itemId_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
private int gameTime_ ;
/**
* optional int32 game_time = 2;
*/
public boolean hasGameTime() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 game_time = 2;
*/
public int getGameTime() {
return gameTime_;
}
/**
* optional int32 game_time = 2;
*/
public Builder setGameTime(int value) {
bitField0_ |= 0x00000002;
gameTime_ = value;
onChanged();
return this;
}
/**
* optional int32 game_time = 2;
*/
public Builder clearGameTime() {
bitField0_ = (bitField0_ & ~0x00000002);
gameTime_ = 0;
onChanged();
return this;
}
private int kills_ ;
/**
* optional uint32 kills = 3;
*/
public boolean hasKills() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 kills = 3;
*/
public int getKills() {
return kills_;
}
/**
* optional uint32 kills = 3;
*/
public Builder setKills(int value) {
bitField0_ |= 0x00000004;
kills_ = value;
onChanged();
return this;
}
/**
* optional uint32 kills = 3;
*/
public Builder clearKills() {
bitField0_ = (bitField0_ & ~0x00000004);
kills_ = 0;
onChanged();
return this;
}
private int deaths_ ;
/**
* optional uint32 deaths = 4;
*/
public boolean hasDeaths() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional uint32 deaths = 4;
*/
public int getDeaths() {
return deaths_;
}
/**
* optional uint32 deaths = 4;
*/
public Builder setDeaths(int value) {
bitField0_ |= 0x00000008;
deaths_ = value;
onChanged();
return this;
}
/**
* optional uint32 deaths = 4;
*/
public Builder clearDeaths() {
bitField0_ = (bitField0_ & ~0x00000008);
deaths_ = 0;
onChanged();
return this;
}
private int assists_ ;
/**
* optional uint32 assists = 5;
*/
public boolean hasAssists() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional uint32 assists = 5;
*/
public int getAssists() {
return assists_;
}
/**
* optional uint32 assists = 5;
*/
public Builder setAssists(int value) {
bitField0_ |= 0x00000010;
assists_ = value;
onChanged();
return this;
}
/**
* optional uint32 assists = 5;
*/
public Builder clearAssists() {
bitField0_ = (bitField0_ & ~0x00000010);
assists_ = 0;
onChanged();
return this;
}
private int level_ ;
/**
* optional uint32 level = 6;
*/
public boolean hasLevel() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional uint32 level = 6;
*/
public int getLevel() {
return level_;
}
/**
* optional uint32 level = 6;
*/
public Builder setLevel(int value) {
bitField0_ |= 0x00000020;
level_ = value;
onChanged();
return this;
}
/**
* optional uint32 level = 6;
*/
public Builder clearLevel() {
bitField0_ = (bitField0_ & ~0x00000020);
level_ = 0;
onChanged();
return this;
}
private java.util.List backpackItemId_ = java.util.Collections.emptyList();
private void ensureBackpackItemIdIsMutable() {
if (!((bitField0_ & 0x00000040) == 0x00000040)) {
backpackItemId_ = new java.util.ArrayList(backpackItemId_);
bitField0_ |= 0x00000040;
}
}
/**
* repeated int32 backpack_item_id = 7;
*/
public java.util.List
getBackpackItemIdList() {
return java.util.Collections.unmodifiableList(backpackItemId_);
}
/**
* repeated int32 backpack_item_id = 7;
*/
public int getBackpackItemIdCount() {
return backpackItemId_.size();
}
/**
* repeated int32 backpack_item_id = 7;
*/
public int getBackpackItemId(int index) {
return backpackItemId_.get(index);
}
/**
* repeated int32 backpack_item_id = 7;
*/
public Builder setBackpackItemId(
int index, int value) {
ensureBackpackItemIdIsMutable();
backpackItemId_.set(index, value);
onChanged();
return this;
}
/**
* repeated int32 backpack_item_id = 7;
*/
public Builder addBackpackItemId(int value) {
ensureBackpackItemIdIsMutable();
backpackItemId_.add(value);
onChanged();
return this;
}
/**
* repeated int32 backpack_item_id = 7;
*/
public Builder addAllBackpackItemId(
java.lang.Iterable extends java.lang.Integer> values) {
ensureBackpackItemIdIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, backpackItemId_);
onChanged();
return this;
}
/**
* repeated int32 backpack_item_id = 7;
*/
public Builder clearBackpackItemId() {
backpackItemId_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
private int neutralItemId_ = -1;
/**
* optional int32 neutral_item_id = 8 [default = -1];
*/
public boolean hasNeutralItemId() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional int32 neutral_item_id = 8 [default = -1];
*/
public int getNeutralItemId() {
return neutralItemId_;
}
/**
* optional int32 neutral_item_id = 8 [default = -1];
*/
public Builder setNeutralItemId(int value) {
bitField0_ |= 0x00000080;
neutralItemId_ = value;
onChanged();
return this;
}
/**
* optional int32 neutral_item_id = 8 [default = -1];
*/
public Builder clearNeutralItemId() {
bitField0_ = (bitField0_ & ~0x00000080);
neutralItemId_ = -1;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAMatchMetadata.Team.InventorySnapshot)
}
static {
defaultInstance = new InventorySnapshot(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAMatchMetadata.Team.InventorySnapshot)
}
public interface AutoStyleCriteriaOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAMatchMetadata.Team.AutoStyleCriteria)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 name_token = 1;
*/
boolean hasNameToken();
/**
* optional uint32 name_token = 1;
*/
int getNameToken();
/**
* optional float value = 2;
*/
boolean hasValue();
/**
* optional float value = 2;
*/
float getValue();
}
/**
* Protobuf type {@code CDOTAMatchMetadata.Team.AutoStyleCriteria}
*/
public static final class AutoStyleCriteria extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAMatchMetadata.Team.AutoStyleCriteria)
AutoStyleCriteriaOrBuilder {
// Use AutoStyleCriteria.newBuilder() to construct.
private AutoStyleCriteria(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private AutoStyleCriteria(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final AutoStyleCriteria defaultInstance;
public static AutoStyleCriteria getDefaultInstance() {
return defaultInstance;
}
public AutoStyleCriteria getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AutoStyleCriteria(
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;
nameToken_ = input.readUInt32();
break;
}
case 21: {
bitField0_ |= 0x00000002;
value_ = 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 {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_AutoStyleCriteria_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_AutoStyleCriteria_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.AutoStyleCriteria.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.AutoStyleCriteria.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public AutoStyleCriteria parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AutoStyleCriteria(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int NAME_TOKEN_FIELD_NUMBER = 1;
private int nameToken_;
/**
* optional uint32 name_token = 1;
*/
public boolean hasNameToken() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 name_token = 1;
*/
public int getNameToken() {
return nameToken_;
}
public static final int VALUE_FIELD_NUMBER = 2;
private float value_;
/**
* optional float value = 2;
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional float value = 2;
*/
public float getValue() {
return value_;
}
private void initFields() {
nameToken_ = 0;
value_ = 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.writeUInt32(1, nameToken_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeFloat(2, value_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, nameToken_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(2, value_);
}
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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.AutoStyleCriteria parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.AutoStyleCriteria 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.AutoStyleCriteria parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.AutoStyleCriteria parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.AutoStyleCriteria parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.AutoStyleCriteria 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.AutoStyleCriteria parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.AutoStyleCriteria 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.AutoStyleCriteria parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.AutoStyleCriteria 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.AutoStyleCriteria 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 CDOTAMatchMetadata.Team.AutoStyleCriteria}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAMatchMetadata.Team.AutoStyleCriteria)
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.AutoStyleCriteriaOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_AutoStyleCriteria_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_AutoStyleCriteria_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.AutoStyleCriteria.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.AutoStyleCriteria.Builder.class);
}
// Construct using skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.AutoStyleCriteria.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();
nameToken_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
value_ = 0F;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_AutoStyleCriteria_descriptor;
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.AutoStyleCriteria getDefaultInstanceForType() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.AutoStyleCriteria.getDefaultInstance();
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.AutoStyleCriteria build() {
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.AutoStyleCriteria result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.AutoStyleCriteria buildPartial() {
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.AutoStyleCriteria result = new skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.AutoStyleCriteria(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.nameToken_ = nameToken_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.value_ = value_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.AutoStyleCriteria) {
return mergeFrom((skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.AutoStyleCriteria)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.AutoStyleCriteria other) {
if (other == skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.AutoStyleCriteria.getDefaultInstance()) return this;
if (other.hasNameToken()) {
setNameToken(other.getNameToken());
}
if (other.hasValue()) {
setValue(other.getValue());
}
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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.AutoStyleCriteria parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.AutoStyleCriteria) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int nameToken_ ;
/**
* optional uint32 name_token = 1;
*/
public boolean hasNameToken() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 name_token = 1;
*/
public int getNameToken() {
return nameToken_;
}
/**
* optional uint32 name_token = 1;
*/
public Builder setNameToken(int value) {
bitField0_ |= 0x00000001;
nameToken_ = value;
onChanged();
return this;
}
/**
* optional uint32 name_token = 1;
*/
public Builder clearNameToken() {
bitField0_ = (bitField0_ & ~0x00000001);
nameToken_ = 0;
onChanged();
return this;
}
private float value_ ;
/**
* optional float value = 2;
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional float value = 2;
*/
public float getValue() {
return value_;
}
/**
* optional float value = 2;
*/
public Builder setValue(float value) {
bitField0_ |= 0x00000002;
value_ = value;
onChanged();
return this;
}
/**
* optional float value = 2;
*/
public Builder clearValue() {
bitField0_ = (bitField0_ & ~0x00000002);
value_ = 0F;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAMatchMetadata.Team.AutoStyleCriteria)
}
static {
defaultInstance = new AutoStyleCriteria(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAMatchMetadata.Team.AutoStyleCriteria)
}
public interface StrangeGemProgressOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAMatchMetadata.Team.StrangeGemProgress)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 kill_eater_type = 1;
*/
boolean hasKillEaterType();
/**
* optional uint32 kill_eater_type = 1;
*/
int getKillEaterType();
/**
* optional uint32 gem_item_def_index = 2;
*/
boolean hasGemItemDefIndex();
/**
* optional uint32 gem_item_def_index = 2;
*/
int getGemItemDefIndex();
/**
* optional int32 required_hero_id = 3;
*/
boolean hasRequiredHeroId();
/**
* optional int32 required_hero_id = 3;
*/
int getRequiredHeroId();
/**
* optional uint32 starting_value = 4;
*/
boolean hasStartingValue();
/**
* optional uint32 starting_value = 4;
*/
int getStartingValue();
/**
* optional uint32 ending_value = 5;
*/
boolean hasEndingValue();
/**
* optional uint32 ending_value = 5;
*/
int getEndingValue();
/**
* optional uint32 owner_item_def_index = 6;
*/
boolean hasOwnerItemDefIndex();
/**
* optional uint32 owner_item_def_index = 6;
*/
int getOwnerItemDefIndex();
/**
* optional uint64 owner_item_id = 7;
*/
boolean hasOwnerItemId();
/**
* optional uint64 owner_item_id = 7;
*/
long getOwnerItemId();
}
/**
* Protobuf type {@code CDOTAMatchMetadata.Team.StrangeGemProgress}
*/
public static final class StrangeGemProgress extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAMatchMetadata.Team.StrangeGemProgress)
StrangeGemProgressOrBuilder {
// Use StrangeGemProgress.newBuilder() to construct.
private StrangeGemProgress(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private StrangeGemProgress(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final StrangeGemProgress defaultInstance;
public static StrangeGemProgress getDefaultInstance() {
return defaultInstance;
}
public StrangeGemProgress getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private StrangeGemProgress(
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;
killEaterType_ = input.readUInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
gemItemDefIndex_ = input.readUInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
requiredHeroId_ = input.readInt32();
break;
}
case 32: {
bitField0_ |= 0x00000008;
startingValue_ = input.readUInt32();
break;
}
case 40: {
bitField0_ |= 0x00000010;
endingValue_ = input.readUInt32();
break;
}
case 48: {
bitField0_ |= 0x00000020;
ownerItemDefIndex_ = input.readUInt32();
break;
}
case 56: {
bitField0_ |= 0x00000040;
ownerItemId_ = input.readUInt64();
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.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_StrangeGemProgress_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_StrangeGemProgress_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.StrangeGemProgress.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.StrangeGemProgress.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public StrangeGemProgress parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new StrangeGemProgress(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int KILL_EATER_TYPE_FIELD_NUMBER = 1;
private int killEaterType_;
/**
* optional uint32 kill_eater_type = 1;
*/
public boolean hasKillEaterType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 kill_eater_type = 1;
*/
public int getKillEaterType() {
return killEaterType_;
}
public static final int GEM_ITEM_DEF_INDEX_FIELD_NUMBER = 2;
private int gemItemDefIndex_;
/**
* optional uint32 gem_item_def_index = 2;
*/
public boolean hasGemItemDefIndex() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 gem_item_def_index = 2;
*/
public int getGemItemDefIndex() {
return gemItemDefIndex_;
}
public static final int REQUIRED_HERO_ID_FIELD_NUMBER = 3;
private int requiredHeroId_;
/**
* optional int32 required_hero_id = 3;
*/
public boolean hasRequiredHeroId() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 required_hero_id = 3;
*/
public int getRequiredHeroId() {
return requiredHeroId_;
}
public static final int STARTING_VALUE_FIELD_NUMBER = 4;
private int startingValue_;
/**
* optional uint32 starting_value = 4;
*/
public boolean hasStartingValue() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional uint32 starting_value = 4;
*/
public int getStartingValue() {
return startingValue_;
}
public static final int ENDING_VALUE_FIELD_NUMBER = 5;
private int endingValue_;
/**
* optional uint32 ending_value = 5;
*/
public boolean hasEndingValue() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional uint32 ending_value = 5;
*/
public int getEndingValue() {
return endingValue_;
}
public static final int OWNER_ITEM_DEF_INDEX_FIELD_NUMBER = 6;
private int ownerItemDefIndex_;
/**
* optional uint32 owner_item_def_index = 6;
*/
public boolean hasOwnerItemDefIndex() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional uint32 owner_item_def_index = 6;
*/
public int getOwnerItemDefIndex() {
return ownerItemDefIndex_;
}
public static final int OWNER_ITEM_ID_FIELD_NUMBER = 7;
private long ownerItemId_;
/**
* optional uint64 owner_item_id = 7;
*/
public boolean hasOwnerItemId() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional uint64 owner_item_id = 7;
*/
public long getOwnerItemId() {
return ownerItemId_;
}
private void initFields() {
killEaterType_ = 0;
gemItemDefIndex_ = 0;
requiredHeroId_ = 0;
startingValue_ = 0;
endingValue_ = 0;
ownerItemDefIndex_ = 0;
ownerItemId_ = 0L;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeUInt32(1, killEaterType_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt32(2, gemItemDefIndex_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt32(3, requiredHeroId_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeUInt32(4, startingValue_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeUInt32(5, endingValue_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeUInt32(6, ownerItemDefIndex_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeUInt64(7, ownerItemId_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, killEaterType_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, gemItemDefIndex_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, requiredHeroId_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, startingValue_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, endingValue_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(6, ownerItemDefIndex_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(7, ownerItemId_);
}
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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.StrangeGemProgress parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.StrangeGemProgress 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.StrangeGemProgress parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.StrangeGemProgress parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.StrangeGemProgress parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.StrangeGemProgress 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.StrangeGemProgress parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.StrangeGemProgress 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.StrangeGemProgress parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.StrangeGemProgress 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.StrangeGemProgress 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 CDOTAMatchMetadata.Team.StrangeGemProgress}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAMatchMetadata.Team.StrangeGemProgress)
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.StrangeGemProgressOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_StrangeGemProgress_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_StrangeGemProgress_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.StrangeGemProgress.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.StrangeGemProgress.Builder.class);
}
// Construct using skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.StrangeGemProgress.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();
killEaterType_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
gemItemDefIndex_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
requiredHeroId_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
startingValue_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
endingValue_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
ownerItemDefIndex_ = 0;
bitField0_ = (bitField0_ & ~0x00000020);
ownerItemId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000040);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_StrangeGemProgress_descriptor;
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.StrangeGemProgress getDefaultInstanceForType() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.StrangeGemProgress.getDefaultInstance();
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.StrangeGemProgress build() {
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.StrangeGemProgress result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.StrangeGemProgress buildPartial() {
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.StrangeGemProgress result = new skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.StrangeGemProgress(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.killEaterType_ = killEaterType_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.gemItemDefIndex_ = gemItemDefIndex_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.requiredHeroId_ = requiredHeroId_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.startingValue_ = startingValue_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.endingValue_ = endingValue_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.ownerItemDefIndex_ = ownerItemDefIndex_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000040;
}
result.ownerItemId_ = ownerItemId_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.StrangeGemProgress) {
return mergeFrom((skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.StrangeGemProgress)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.StrangeGemProgress other) {
if (other == skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.StrangeGemProgress.getDefaultInstance()) return this;
if (other.hasKillEaterType()) {
setKillEaterType(other.getKillEaterType());
}
if (other.hasGemItemDefIndex()) {
setGemItemDefIndex(other.getGemItemDefIndex());
}
if (other.hasRequiredHeroId()) {
setRequiredHeroId(other.getRequiredHeroId());
}
if (other.hasStartingValue()) {
setStartingValue(other.getStartingValue());
}
if (other.hasEndingValue()) {
setEndingValue(other.getEndingValue());
}
if (other.hasOwnerItemDefIndex()) {
setOwnerItemDefIndex(other.getOwnerItemDefIndex());
}
if (other.hasOwnerItemId()) {
setOwnerItemId(other.getOwnerItemId());
}
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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.StrangeGemProgress parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.StrangeGemProgress) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int killEaterType_ ;
/**
* optional uint32 kill_eater_type = 1;
*/
public boolean hasKillEaterType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 kill_eater_type = 1;
*/
public int getKillEaterType() {
return killEaterType_;
}
/**
* optional uint32 kill_eater_type = 1;
*/
public Builder setKillEaterType(int value) {
bitField0_ |= 0x00000001;
killEaterType_ = value;
onChanged();
return this;
}
/**
* optional uint32 kill_eater_type = 1;
*/
public Builder clearKillEaterType() {
bitField0_ = (bitField0_ & ~0x00000001);
killEaterType_ = 0;
onChanged();
return this;
}
private int gemItemDefIndex_ ;
/**
* optional uint32 gem_item_def_index = 2;
*/
public boolean hasGemItemDefIndex() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 gem_item_def_index = 2;
*/
public int getGemItemDefIndex() {
return gemItemDefIndex_;
}
/**
* optional uint32 gem_item_def_index = 2;
*/
public Builder setGemItemDefIndex(int value) {
bitField0_ |= 0x00000002;
gemItemDefIndex_ = value;
onChanged();
return this;
}
/**
* optional uint32 gem_item_def_index = 2;
*/
public Builder clearGemItemDefIndex() {
bitField0_ = (bitField0_ & ~0x00000002);
gemItemDefIndex_ = 0;
onChanged();
return this;
}
private int requiredHeroId_ ;
/**
* optional int32 required_hero_id = 3;
*/
public boolean hasRequiredHeroId() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 required_hero_id = 3;
*/
public int getRequiredHeroId() {
return requiredHeroId_;
}
/**
* optional int32 required_hero_id = 3;
*/
public Builder setRequiredHeroId(int value) {
bitField0_ |= 0x00000004;
requiredHeroId_ = value;
onChanged();
return this;
}
/**
* optional int32 required_hero_id = 3;
*/
public Builder clearRequiredHeroId() {
bitField0_ = (bitField0_ & ~0x00000004);
requiredHeroId_ = 0;
onChanged();
return this;
}
private int startingValue_ ;
/**
* optional uint32 starting_value = 4;
*/
public boolean hasStartingValue() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional uint32 starting_value = 4;
*/
public int getStartingValue() {
return startingValue_;
}
/**
* optional uint32 starting_value = 4;
*/
public Builder setStartingValue(int value) {
bitField0_ |= 0x00000008;
startingValue_ = value;
onChanged();
return this;
}
/**
* optional uint32 starting_value = 4;
*/
public Builder clearStartingValue() {
bitField0_ = (bitField0_ & ~0x00000008);
startingValue_ = 0;
onChanged();
return this;
}
private int endingValue_ ;
/**
* optional uint32 ending_value = 5;
*/
public boolean hasEndingValue() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional uint32 ending_value = 5;
*/
public int getEndingValue() {
return endingValue_;
}
/**
* optional uint32 ending_value = 5;
*/
public Builder setEndingValue(int value) {
bitField0_ |= 0x00000010;
endingValue_ = value;
onChanged();
return this;
}
/**
* optional uint32 ending_value = 5;
*/
public Builder clearEndingValue() {
bitField0_ = (bitField0_ & ~0x00000010);
endingValue_ = 0;
onChanged();
return this;
}
private int ownerItemDefIndex_ ;
/**
* optional uint32 owner_item_def_index = 6;
*/
public boolean hasOwnerItemDefIndex() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional uint32 owner_item_def_index = 6;
*/
public int getOwnerItemDefIndex() {
return ownerItemDefIndex_;
}
/**
* optional uint32 owner_item_def_index = 6;
*/
public Builder setOwnerItemDefIndex(int value) {
bitField0_ |= 0x00000020;
ownerItemDefIndex_ = value;
onChanged();
return this;
}
/**
* optional uint32 owner_item_def_index = 6;
*/
public Builder clearOwnerItemDefIndex() {
bitField0_ = (bitField0_ & ~0x00000020);
ownerItemDefIndex_ = 0;
onChanged();
return this;
}
private long ownerItemId_ ;
/**
* optional uint64 owner_item_id = 7;
*/
public boolean hasOwnerItemId() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional uint64 owner_item_id = 7;
*/
public long getOwnerItemId() {
return ownerItemId_;
}
/**
* optional uint64 owner_item_id = 7;
*/
public Builder setOwnerItemId(long value) {
bitField0_ |= 0x00000040;
ownerItemId_ = value;
onChanged();
return this;
}
/**
* optional uint64 owner_item_id = 7;
*/
public Builder clearOwnerItemId() {
bitField0_ = (bitField0_ & ~0x00000040);
ownerItemId_ = 0L;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAMatchMetadata.Team.StrangeGemProgress)
}
static {
defaultInstance = new StrangeGemProgress(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAMatchMetadata.Team.StrangeGemProgress)
}
public interface VictoryPredictionOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAMatchMetadata.Team.VictoryPrediction)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint64 item_id = 1;
*/
boolean hasItemId();
/**
* optional uint64 item_id = 1;
*/
long getItemId();
/**
* optional uint32 item_def_index = 2;
*/
boolean hasItemDefIndex();
/**
* optional uint32 item_def_index = 2;
*/
int getItemDefIndex();
/**
* optional uint32 starting_value = 3;
*/
boolean hasStartingValue();
/**
* optional uint32 starting_value = 3;
*/
int getStartingValue();
/**
* optional bool is_victory = 4;
*/
boolean hasIsVictory();
/**
* optional bool is_victory = 4;
*/
boolean getIsVictory();
}
/**
* Protobuf type {@code CDOTAMatchMetadata.Team.VictoryPrediction}
*/
public static final class VictoryPrediction extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAMatchMetadata.Team.VictoryPrediction)
VictoryPredictionOrBuilder {
// Use VictoryPrediction.newBuilder() to construct.
private VictoryPrediction(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private VictoryPrediction(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final VictoryPrediction defaultInstance;
public static VictoryPrediction getDefaultInstance() {
return defaultInstance;
}
public VictoryPrediction getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private VictoryPrediction(
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;
itemId_ = input.readUInt64();
break;
}
case 16: {
bitField0_ |= 0x00000002;
itemDefIndex_ = input.readUInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
startingValue_ = input.readUInt32();
break;
}
case 32: {
bitField0_ |= 0x00000008;
isVictory_ = input.readBool();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_VictoryPrediction_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_VictoryPrediction_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.VictoryPrediction.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.VictoryPrediction.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public VictoryPrediction parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new VictoryPrediction(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int ITEM_ID_FIELD_NUMBER = 1;
private long itemId_;
/**
* optional uint64 item_id = 1;
*/
public boolean hasItemId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint64 item_id = 1;
*/
public long getItemId() {
return itemId_;
}
public static final int ITEM_DEF_INDEX_FIELD_NUMBER = 2;
private int itemDefIndex_;
/**
* optional uint32 item_def_index = 2;
*/
public boolean hasItemDefIndex() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 item_def_index = 2;
*/
public int getItemDefIndex() {
return itemDefIndex_;
}
public static final int STARTING_VALUE_FIELD_NUMBER = 3;
private int startingValue_;
/**
* optional uint32 starting_value = 3;
*/
public boolean hasStartingValue() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 starting_value = 3;
*/
public int getStartingValue() {
return startingValue_;
}
public static final int IS_VICTORY_FIELD_NUMBER = 4;
private boolean isVictory_;
/**
* optional bool is_victory = 4;
*/
public boolean hasIsVictory() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional bool is_victory = 4;
*/
public boolean getIsVictory() {
return isVictory_;
}
private void initFields() {
itemId_ = 0L;
itemDefIndex_ = 0;
startingValue_ = 0;
isVictory_ = false;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeUInt64(1, itemId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt32(2, itemDefIndex_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeUInt32(3, startingValue_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeBool(4, isVictory_);
}
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
.computeUInt64Size(1, itemId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, itemDefIndex_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, startingValue_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(4, isVictory_);
}
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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.VictoryPrediction parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.VictoryPrediction 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.VictoryPrediction parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.VictoryPrediction parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.VictoryPrediction parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.VictoryPrediction 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.VictoryPrediction parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.VictoryPrediction 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.VictoryPrediction parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.VictoryPrediction 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.VictoryPrediction 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 CDOTAMatchMetadata.Team.VictoryPrediction}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAMatchMetadata.Team.VictoryPrediction)
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.VictoryPredictionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_VictoryPrediction_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_VictoryPrediction_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.VictoryPrediction.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.VictoryPrediction.Builder.class);
}
// Construct using skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.VictoryPrediction.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();
itemId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
itemDefIndex_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
startingValue_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
isVictory_ = false;
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_VictoryPrediction_descriptor;
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.VictoryPrediction getDefaultInstanceForType() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.VictoryPrediction.getDefaultInstance();
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.VictoryPrediction build() {
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.VictoryPrediction result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.VictoryPrediction buildPartial() {
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.VictoryPrediction result = new skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.VictoryPrediction(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.itemId_ = itemId_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.itemDefIndex_ = itemDefIndex_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.startingValue_ = startingValue_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.isVictory_ = isVictory_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.VictoryPrediction) {
return mergeFrom((skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.VictoryPrediction)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.VictoryPrediction other) {
if (other == skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.VictoryPrediction.getDefaultInstance()) return this;
if (other.hasItemId()) {
setItemId(other.getItemId());
}
if (other.hasItemDefIndex()) {
setItemDefIndex(other.getItemDefIndex());
}
if (other.hasStartingValue()) {
setStartingValue(other.getStartingValue());
}
if (other.hasIsVictory()) {
setIsVictory(other.getIsVictory());
}
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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.VictoryPrediction parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.VictoryPrediction) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private long itemId_ ;
/**
* optional uint64 item_id = 1;
*/
public boolean hasItemId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint64 item_id = 1;
*/
public long getItemId() {
return itemId_;
}
/**
* optional uint64 item_id = 1;
*/
public Builder setItemId(long value) {
bitField0_ |= 0x00000001;
itemId_ = value;
onChanged();
return this;
}
/**
* optional uint64 item_id = 1;
*/
public Builder clearItemId() {
bitField0_ = (bitField0_ & ~0x00000001);
itemId_ = 0L;
onChanged();
return this;
}
private int itemDefIndex_ ;
/**
* optional uint32 item_def_index = 2;
*/
public boolean hasItemDefIndex() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 item_def_index = 2;
*/
public int getItemDefIndex() {
return itemDefIndex_;
}
/**
* optional uint32 item_def_index = 2;
*/
public Builder setItemDefIndex(int value) {
bitField0_ |= 0x00000002;
itemDefIndex_ = value;
onChanged();
return this;
}
/**
* optional uint32 item_def_index = 2;
*/
public Builder clearItemDefIndex() {
bitField0_ = (bitField0_ & ~0x00000002);
itemDefIndex_ = 0;
onChanged();
return this;
}
private int startingValue_ ;
/**
* optional uint32 starting_value = 3;
*/
public boolean hasStartingValue() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 starting_value = 3;
*/
public int getStartingValue() {
return startingValue_;
}
/**
* optional uint32 starting_value = 3;
*/
public Builder setStartingValue(int value) {
bitField0_ |= 0x00000004;
startingValue_ = value;
onChanged();
return this;
}
/**
* optional uint32 starting_value = 3;
*/
public Builder clearStartingValue() {
bitField0_ = (bitField0_ & ~0x00000004);
startingValue_ = 0;
onChanged();
return this;
}
private boolean isVictory_ ;
/**
* optional bool is_victory = 4;
*/
public boolean hasIsVictory() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional bool is_victory = 4;
*/
public boolean getIsVictory() {
return isVictory_;
}
/**
* optional bool is_victory = 4;
*/
public Builder setIsVictory(boolean value) {
bitField0_ |= 0x00000008;
isVictory_ = value;
onChanged();
return this;
}
/**
* optional bool is_victory = 4;
*/
public Builder clearIsVictory() {
bitField0_ = (bitField0_ & ~0x00000008);
isVictory_ = false;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAMatchMetadata.Team.VictoryPrediction)
}
static {
defaultInstance = new VictoryPrediction(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAMatchMetadata.Team.VictoryPrediction)
}
public interface SubChallengeOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAMatchMetadata.Team.SubChallenge)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 slot_id = 1;
*/
boolean hasSlotId();
/**
* optional uint32 slot_id = 1;
*/
int getSlotId();
/**
* optional uint32 start_value = 2;
*/
boolean hasStartValue();
/**
* optional uint32 start_value = 2;
*/
int getStartValue();
/**
* optional uint32 end_value = 3;
*/
boolean hasEndValue();
/**
* optional uint32 end_value = 3;
*/
int getEndValue();
/**
* optional bool completed = 4;
*/
boolean hasCompleted();
/**
* optional bool completed = 4;
*/
boolean getCompleted();
}
/**
* Protobuf type {@code CDOTAMatchMetadata.Team.SubChallenge}
*/
public static final class SubChallenge extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAMatchMetadata.Team.SubChallenge)
SubChallengeOrBuilder {
// Use SubChallenge.newBuilder() to construct.
private SubChallenge(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private SubChallenge(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final SubChallenge defaultInstance;
public static SubChallenge getDefaultInstance() {
return defaultInstance;
}
public SubChallenge getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SubChallenge(
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;
slotId_ = input.readUInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
startValue_ = input.readUInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
endValue_ = input.readUInt32();
break;
}
case 32: {
bitField0_ |= 0x00000008;
completed_ = input.readBool();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_SubChallenge_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_SubChallenge_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public SubChallenge parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SubChallenge(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int SLOT_ID_FIELD_NUMBER = 1;
private int slotId_;
/**
* optional uint32 slot_id = 1;
*/
public boolean hasSlotId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 slot_id = 1;
*/
public int getSlotId() {
return slotId_;
}
public static final int START_VALUE_FIELD_NUMBER = 2;
private int startValue_;
/**
* optional uint32 start_value = 2;
*/
public boolean hasStartValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 start_value = 2;
*/
public int getStartValue() {
return startValue_;
}
public static final int END_VALUE_FIELD_NUMBER = 3;
private int endValue_;
/**
* optional uint32 end_value = 3;
*/
public boolean hasEndValue() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 end_value = 3;
*/
public int getEndValue() {
return endValue_;
}
public static final int COMPLETED_FIELD_NUMBER = 4;
private boolean completed_;
/**
* optional bool completed = 4;
*/
public boolean hasCompleted() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional bool completed = 4;
*/
public boolean getCompleted() {
return completed_;
}
private void initFields() {
slotId_ = 0;
startValue_ = 0;
endValue_ = 0;
completed_ = false;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeUInt32(1, slotId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt32(2, startValue_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeUInt32(3, endValue_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeBool(4, completed_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, slotId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, startValue_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, endValue_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(4, completed_);
}
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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge 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 CDOTAMatchMetadata.Team.SubChallenge}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAMatchMetadata.Team.SubChallenge)
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallengeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_SubChallenge_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_SubChallenge_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge.Builder.class);
}
// Construct using skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge.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();
slotId_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
startValue_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
endValue_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
completed_ = false;
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_SubChallenge_descriptor;
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge getDefaultInstanceForType() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge.getDefaultInstance();
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge build() {
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge buildPartial() {
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge result = new skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.slotId_ = slotId_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.startValue_ = startValue_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.endValue_ = endValue_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.completed_ = completed_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge) {
return mergeFrom((skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge other) {
if (other == skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge.getDefaultInstance()) return this;
if (other.hasSlotId()) {
setSlotId(other.getSlotId());
}
if (other.hasStartValue()) {
setStartValue(other.getStartValue());
}
if (other.hasEndValue()) {
setEndValue(other.getEndValue());
}
if (other.hasCompleted()) {
setCompleted(other.getCompleted());
}
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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int slotId_ ;
/**
* optional uint32 slot_id = 1;
*/
public boolean hasSlotId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 slot_id = 1;
*/
public int getSlotId() {
return slotId_;
}
/**
* optional uint32 slot_id = 1;
*/
public Builder setSlotId(int value) {
bitField0_ |= 0x00000001;
slotId_ = value;
onChanged();
return this;
}
/**
* optional uint32 slot_id = 1;
*/
public Builder clearSlotId() {
bitField0_ = (bitField0_ & ~0x00000001);
slotId_ = 0;
onChanged();
return this;
}
private int startValue_ ;
/**
* optional uint32 start_value = 2;
*/
public boolean hasStartValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 start_value = 2;
*/
public int getStartValue() {
return startValue_;
}
/**
* optional uint32 start_value = 2;
*/
public Builder setStartValue(int value) {
bitField0_ |= 0x00000002;
startValue_ = value;
onChanged();
return this;
}
/**
* optional uint32 start_value = 2;
*/
public Builder clearStartValue() {
bitField0_ = (bitField0_ & ~0x00000002);
startValue_ = 0;
onChanged();
return this;
}
private int endValue_ ;
/**
* optional uint32 end_value = 3;
*/
public boolean hasEndValue() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 end_value = 3;
*/
public int getEndValue() {
return endValue_;
}
/**
* optional uint32 end_value = 3;
*/
public Builder setEndValue(int value) {
bitField0_ |= 0x00000004;
endValue_ = value;
onChanged();
return this;
}
/**
* optional uint32 end_value = 3;
*/
public Builder clearEndValue() {
bitField0_ = (bitField0_ & ~0x00000004);
endValue_ = 0;
onChanged();
return this;
}
private boolean completed_ ;
/**
* optional bool completed = 4;
*/
public boolean hasCompleted() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional bool completed = 4;
*/
public boolean getCompleted() {
return completed_;
}
/**
* optional bool completed = 4;
*/
public Builder setCompleted(boolean value) {
bitField0_ |= 0x00000008;
completed_ = value;
onChanged();
return this;
}
/**
* optional bool completed = 4;
*/
public Builder clearCompleted() {
bitField0_ = (bitField0_ & ~0x00000008);
completed_ = false;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAMatchMetadata.Team.SubChallenge)
}
static {
defaultInstance = new SubChallenge(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAMatchMetadata.Team.SubChallenge)
}
public interface CavernChallengeResultOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAMatchMetadata.Team.CavernChallengeResult)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 completed_path_id = 1 [default = 255];
*/
boolean hasCompletedPathId();
/**
* optional uint32 completed_path_id = 1 [default = 255];
*/
int getCompletedPathId();
/**
* optional uint32 claimed_room_id = 2 [default = 255];
*/
boolean hasClaimedRoomId();
/**
* optional uint32 claimed_room_id = 2 [default = 255];
*/
int getClaimedRoomId();
}
/**
* Protobuf type {@code CDOTAMatchMetadata.Team.CavernChallengeResult}
*/
public static final class CavernChallengeResult extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAMatchMetadata.Team.CavernChallengeResult)
CavernChallengeResultOrBuilder {
// Use CavernChallengeResult.newBuilder() to construct.
private CavernChallengeResult(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CavernChallengeResult(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CavernChallengeResult defaultInstance;
public static CavernChallengeResult getDefaultInstance() {
return defaultInstance;
}
public CavernChallengeResult getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CavernChallengeResult(
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;
completedPathId_ = input.readUInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
claimedRoomId_ = 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.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_CavernChallengeResult_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_CavernChallengeResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CavernChallengeResult parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CavernChallengeResult(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int COMPLETED_PATH_ID_FIELD_NUMBER = 1;
private int completedPathId_;
/**
* optional uint32 completed_path_id = 1 [default = 255];
*/
public boolean hasCompletedPathId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 completed_path_id = 1 [default = 255];
*/
public int getCompletedPathId() {
return completedPathId_;
}
public static final int CLAIMED_ROOM_ID_FIELD_NUMBER = 2;
private int claimedRoomId_;
/**
* optional uint32 claimed_room_id = 2 [default = 255];
*/
public boolean hasClaimedRoomId() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 claimed_room_id = 2 [default = 255];
*/
public int getClaimedRoomId() {
return claimedRoomId_;
}
private void initFields() {
completedPathId_ = 255;
claimedRoomId_ = 255;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeUInt32(1, completedPathId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt32(2, claimedRoomId_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, completedPathId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, claimedRoomId_);
}
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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult 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 CDOTAMatchMetadata.Team.CavernChallengeResult}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAMatchMetadata.Team.CavernChallengeResult)
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResultOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_CavernChallengeResult_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_CavernChallengeResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult.Builder.class);
}
// Construct using skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult.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();
completedPathId_ = 255;
bitField0_ = (bitField0_ & ~0x00000001);
claimedRoomId_ = 255;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_CavernChallengeResult_descriptor;
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult getDefaultInstanceForType() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult.getDefaultInstance();
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult build() {
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult buildPartial() {
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult result = new skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.completedPathId_ = completedPathId_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.claimedRoomId_ = claimedRoomId_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult) {
return mergeFrom((skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult other) {
if (other == skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult.getDefaultInstance()) return this;
if (other.hasCompletedPathId()) {
setCompletedPathId(other.getCompletedPathId());
}
if (other.hasClaimedRoomId()) {
setClaimedRoomId(other.getClaimedRoomId());
}
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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int completedPathId_ = 255;
/**
* optional uint32 completed_path_id = 1 [default = 255];
*/
public boolean hasCompletedPathId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 completed_path_id = 1 [default = 255];
*/
public int getCompletedPathId() {
return completedPathId_;
}
/**
* optional uint32 completed_path_id = 1 [default = 255];
*/
public Builder setCompletedPathId(int value) {
bitField0_ |= 0x00000001;
completedPathId_ = value;
onChanged();
return this;
}
/**
* optional uint32 completed_path_id = 1 [default = 255];
*/
public Builder clearCompletedPathId() {
bitField0_ = (bitField0_ & ~0x00000001);
completedPathId_ = 255;
onChanged();
return this;
}
private int claimedRoomId_ = 255;
/**
* optional uint32 claimed_room_id = 2 [default = 255];
*/
public boolean hasClaimedRoomId() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 claimed_room_id = 2 [default = 255];
*/
public int getClaimedRoomId() {
return claimedRoomId_;
}
/**
* optional uint32 claimed_room_id = 2 [default = 255];
*/
public Builder setClaimedRoomId(int value) {
bitField0_ |= 0x00000002;
claimedRoomId_ = value;
onChanged();
return this;
}
/**
* optional uint32 claimed_room_id = 2 [default = 255];
*/
public Builder clearClaimedRoomId() {
bitField0_ = (bitField0_ & ~0x00000002);
claimedRoomId_ = 255;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAMatchMetadata.Team.CavernChallengeResult)
}
static {
defaultInstance = new CavernChallengeResult(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAMatchMetadata.Team.CavernChallengeResult)
}
public interface ActionGrantOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAMatchMetadata.Team.ActionGrant)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 action_id = 1;
*/
boolean hasActionId();
/**
* optional uint32 action_id = 1;
*/
int getActionId();
/**
* optional uint32 quantity = 2;
*/
boolean hasQuantity();
/**
* optional uint32 quantity = 2;
*/
int getQuantity();
/**
* optional uint32 audit = 3;
*/
boolean hasAudit();
/**
* optional uint32 audit = 3;
*/
int getAudit();
/**
* optional bool requires_win = 4;
*/
boolean hasRequiresWin();
/**
* optional bool requires_win = 4;
*/
boolean getRequiresWin();
/**
* optional uint64 audit_data = 5;
*/
boolean hasAuditData();
/**
* optional uint64 audit_data = 5;
*/
long getAuditData();
}
/**
* Protobuf type {@code CDOTAMatchMetadata.Team.ActionGrant}
*/
public static final class ActionGrant extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAMatchMetadata.Team.ActionGrant)
ActionGrantOrBuilder {
// Use ActionGrant.newBuilder() to construct.
private ActionGrant(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private ActionGrant(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final ActionGrant defaultInstance;
public static ActionGrant getDefaultInstance() {
return defaultInstance;
}
public ActionGrant getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ActionGrant(
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;
actionId_ = input.readUInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
quantity_ = input.readUInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
audit_ = input.readUInt32();
break;
}
case 32: {
bitField0_ |= 0x00000008;
requiresWin_ = input.readBool();
break;
}
case 40: {
bitField0_ |= 0x00000010;
auditData_ = input.readUInt64();
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.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_ActionGrant_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_ActionGrant_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public ActionGrant parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ActionGrant(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int ACTION_ID_FIELD_NUMBER = 1;
private int actionId_;
/**
* optional uint32 action_id = 1;
*/
public boolean hasActionId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 action_id = 1;
*/
public int getActionId() {
return actionId_;
}
public static final int QUANTITY_FIELD_NUMBER = 2;
private int quantity_;
/**
* optional uint32 quantity = 2;
*/
public boolean hasQuantity() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 quantity = 2;
*/
public int getQuantity() {
return quantity_;
}
public static final int AUDIT_FIELD_NUMBER = 3;
private int audit_;
/**
* optional uint32 audit = 3;
*/
public boolean hasAudit() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 audit = 3;
*/
public int getAudit() {
return audit_;
}
public static final int REQUIRES_WIN_FIELD_NUMBER = 4;
private boolean requiresWin_;
/**
* optional bool requires_win = 4;
*/
public boolean hasRequiresWin() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional bool requires_win = 4;
*/
public boolean getRequiresWin() {
return requiresWin_;
}
public static final int AUDIT_DATA_FIELD_NUMBER = 5;
private long auditData_;
/**
* optional uint64 audit_data = 5;
*/
public boolean hasAuditData() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional uint64 audit_data = 5;
*/
public long getAuditData() {
return auditData_;
}
private void initFields() {
actionId_ = 0;
quantity_ = 0;
audit_ = 0;
requiresWin_ = false;
auditData_ = 0L;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeUInt32(1, actionId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt32(2, quantity_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeUInt32(3, audit_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeBool(4, requiresWin_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeUInt64(5, auditData_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, actionId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, quantity_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, audit_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(4, requiresWin_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(5, auditData_);
}
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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant 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 CDOTAMatchMetadata.Team.ActionGrant}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAMatchMetadata.Team.ActionGrant)
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrantOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_ActionGrant_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_ActionGrant_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant.Builder.class);
}
// Construct using skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant.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();
actionId_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
quantity_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
audit_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
requiresWin_ = false;
bitField0_ = (bitField0_ & ~0x00000008);
auditData_ = 0L;
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_ActionGrant_descriptor;
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant getDefaultInstanceForType() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant.getDefaultInstance();
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant build() {
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant buildPartial() {
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant result = new skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.actionId_ = actionId_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.quantity_ = quantity_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.audit_ = audit_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.requiresWin_ = requiresWin_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.auditData_ = auditData_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant) {
return mergeFrom((skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant other) {
if (other == skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant.getDefaultInstance()) return this;
if (other.hasActionId()) {
setActionId(other.getActionId());
}
if (other.hasQuantity()) {
setQuantity(other.getQuantity());
}
if (other.hasAudit()) {
setAudit(other.getAudit());
}
if (other.hasRequiresWin()) {
setRequiresWin(other.getRequiresWin());
}
if (other.hasAuditData()) {
setAuditData(other.getAuditData());
}
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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int actionId_ ;
/**
* optional uint32 action_id = 1;
*/
public boolean hasActionId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 action_id = 1;
*/
public int getActionId() {
return actionId_;
}
/**
* optional uint32 action_id = 1;
*/
public Builder setActionId(int value) {
bitField0_ |= 0x00000001;
actionId_ = value;
onChanged();
return this;
}
/**
* optional uint32 action_id = 1;
*/
public Builder clearActionId() {
bitField0_ = (bitField0_ & ~0x00000001);
actionId_ = 0;
onChanged();
return this;
}
private int quantity_ ;
/**
* optional uint32 quantity = 2;
*/
public boolean hasQuantity() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 quantity = 2;
*/
public int getQuantity() {
return quantity_;
}
/**
* optional uint32 quantity = 2;
*/
public Builder setQuantity(int value) {
bitField0_ |= 0x00000002;
quantity_ = value;
onChanged();
return this;
}
/**
* optional uint32 quantity = 2;
*/
public Builder clearQuantity() {
bitField0_ = (bitField0_ & ~0x00000002);
quantity_ = 0;
onChanged();
return this;
}
private int audit_ ;
/**
* optional uint32 audit = 3;
*/
public boolean hasAudit() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 audit = 3;
*/
public int getAudit() {
return audit_;
}
/**
* optional uint32 audit = 3;
*/
public Builder setAudit(int value) {
bitField0_ |= 0x00000004;
audit_ = value;
onChanged();
return this;
}
/**
* optional uint32 audit = 3;
*/
public Builder clearAudit() {
bitField0_ = (bitField0_ & ~0x00000004);
audit_ = 0;
onChanged();
return this;
}
private boolean requiresWin_ ;
/**
* optional bool requires_win = 4;
*/
public boolean hasRequiresWin() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional bool requires_win = 4;
*/
public boolean getRequiresWin() {
return requiresWin_;
}
/**
* optional bool requires_win = 4;
*/
public Builder setRequiresWin(boolean value) {
bitField0_ |= 0x00000008;
requiresWin_ = value;
onChanged();
return this;
}
/**
* optional bool requires_win = 4;
*/
public Builder clearRequiresWin() {
bitField0_ = (bitField0_ & ~0x00000008);
requiresWin_ = false;
onChanged();
return this;
}
private long auditData_ ;
/**
* optional uint64 audit_data = 5;
*/
public boolean hasAuditData() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional uint64 audit_data = 5;
*/
public long getAuditData() {
return auditData_;
}
/**
* optional uint64 audit_data = 5;
*/
public Builder setAuditData(long value) {
bitField0_ |= 0x00000010;
auditData_ = value;
onChanged();
return this;
}
/**
* optional uint64 audit_data = 5;
*/
public Builder clearAuditData() {
bitField0_ = (bitField0_ & ~0x00000010);
auditData_ = 0L;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAMatchMetadata.Team.ActionGrant)
}
static {
defaultInstance = new ActionGrant(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAMatchMetadata.Team.ActionGrant)
}
public interface CandyGrantOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAMatchMetadata.Team.CandyGrant)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 points = 1;
*/
boolean hasPoints();
/**
* optional uint32 points = 1;
*/
int getPoints();
/**
* optional uint32 reason = 2;
*/
boolean hasReason();
/**
* optional uint32 reason = 2;
*/
int getReason();
}
/**
* Protobuf type {@code CDOTAMatchMetadata.Team.CandyGrant}
*/
public static final class CandyGrant extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAMatchMetadata.Team.CandyGrant)
CandyGrantOrBuilder {
// Use CandyGrant.newBuilder() to construct.
private CandyGrant(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CandyGrant(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CandyGrant defaultInstance;
public static CandyGrant getDefaultInstance() {
return defaultInstance;
}
public CandyGrant getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CandyGrant(
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;
points_ = input.readUInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
reason_ = 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.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_CandyGrant_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_CandyGrant_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CandyGrant parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CandyGrant(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int POINTS_FIELD_NUMBER = 1;
private int points_;
/**
* optional uint32 points = 1;
*/
public boolean hasPoints() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 points = 1;
*/
public int getPoints() {
return points_;
}
public static final int REASON_FIELD_NUMBER = 2;
private int reason_;
/**
* optional uint32 reason = 2;
*/
public boolean hasReason() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 reason = 2;
*/
public int getReason() {
return reason_;
}
private void initFields() {
points_ = 0;
reason_ = 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.writeUInt32(1, points_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt32(2, reason_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, points_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, reason_);
}
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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant 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 CDOTAMatchMetadata.Team.CandyGrant}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAMatchMetadata.Team.CandyGrant)
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrantOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_CandyGrant_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_CandyGrant_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant.Builder.class);
}
// Construct using skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant.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();
points_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
reason_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_CandyGrant_descriptor;
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant getDefaultInstanceForType() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant.getDefaultInstance();
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant build() {
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant buildPartial() {
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant result = new skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.points_ = points_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.reason_ = reason_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant) {
return mergeFrom((skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant other) {
if (other == skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant.getDefaultInstance()) return this;
if (other.hasPoints()) {
setPoints(other.getPoints());
}
if (other.hasReason()) {
setReason(other.getReason());
}
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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int points_ ;
/**
* optional uint32 points = 1;
*/
public boolean hasPoints() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 points = 1;
*/
public int getPoints() {
return points_;
}
/**
* optional uint32 points = 1;
*/
public Builder setPoints(int value) {
bitField0_ |= 0x00000001;
points_ = value;
onChanged();
return this;
}
/**
* optional uint32 points = 1;
*/
public Builder clearPoints() {
bitField0_ = (bitField0_ & ~0x00000001);
points_ = 0;
onChanged();
return this;
}
private int reason_ ;
/**
* optional uint32 reason = 2;
*/
public boolean hasReason() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 reason = 2;
*/
public int getReason() {
return reason_;
}
/**
* optional uint32 reason = 2;
*/
public Builder setReason(int value) {
bitField0_ |= 0x00000002;
reason_ = value;
onChanged();
return this;
}
/**
* optional uint32 reason = 2;
*/
public Builder clearReason() {
bitField0_ = (bitField0_ & ~0x00000002);
reason_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAMatchMetadata.Team.CandyGrant)
}
static {
defaultInstance = new CandyGrant(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAMatchMetadata.Team.CandyGrant)
}
public interface PeriodicResourceDataOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAMatchMetadata.Team.PeriodicResourceData)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 periodic_resource_id = 1;
*/
boolean hasPeriodicResourceId();
/**
* optional uint32 periodic_resource_id = 1;
*/
int getPeriodicResourceId();
/**
* optional uint32 remaining = 2;
*/
boolean hasRemaining();
/**
* optional uint32 remaining = 2;
*/
int getRemaining();
/**
* optional uint32 max = 3;
*/
boolean hasMax();
/**
* optional uint32 max = 3;
*/
int getMax();
}
/**
* Protobuf type {@code CDOTAMatchMetadata.Team.PeriodicResourceData}
*/
public static final class PeriodicResourceData extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAMatchMetadata.Team.PeriodicResourceData)
PeriodicResourceDataOrBuilder {
// Use PeriodicResourceData.newBuilder() to construct.
private PeriodicResourceData(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private PeriodicResourceData(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final PeriodicResourceData defaultInstance;
public static PeriodicResourceData getDefaultInstance() {
return defaultInstance;
}
public PeriodicResourceData getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PeriodicResourceData(
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;
periodicResourceId_ = input.readUInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
remaining_ = input.readUInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
max_ = 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.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_PeriodicResourceData_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_PeriodicResourceData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public PeriodicResourceData parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PeriodicResourceData(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int PERIODIC_RESOURCE_ID_FIELD_NUMBER = 1;
private int periodicResourceId_;
/**
* optional uint32 periodic_resource_id = 1;
*/
public boolean hasPeriodicResourceId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 periodic_resource_id = 1;
*/
public int getPeriodicResourceId() {
return periodicResourceId_;
}
public static final int REMAINING_FIELD_NUMBER = 2;
private int remaining_;
/**
* optional uint32 remaining = 2;
*/
public boolean hasRemaining() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 remaining = 2;
*/
public int getRemaining() {
return remaining_;
}
public static final int MAX_FIELD_NUMBER = 3;
private int max_;
/**
* optional uint32 max = 3;
*/
public boolean hasMax() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 max = 3;
*/
public int getMax() {
return max_;
}
private void initFields() {
periodicResourceId_ = 0;
remaining_ = 0;
max_ = 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.writeUInt32(1, periodicResourceId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt32(2, remaining_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeUInt32(3, max_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, periodicResourceId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, remaining_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, max_);
}
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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData 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 CDOTAMatchMetadata.Team.PeriodicResourceData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAMatchMetadata.Team.PeriodicResourceData)
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceDataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_PeriodicResourceData_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_PeriodicResourceData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData.Builder.class);
}
// Construct using skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData.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();
periodicResourceId_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
remaining_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
max_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_PeriodicResourceData_descriptor;
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData getDefaultInstanceForType() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData.getDefaultInstance();
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData build() {
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData buildPartial() {
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData result = new skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.periodicResourceId_ = periodicResourceId_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.remaining_ = remaining_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.max_ = max_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData) {
return mergeFrom((skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData other) {
if (other == skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData.getDefaultInstance()) return this;
if (other.hasPeriodicResourceId()) {
setPeriodicResourceId(other.getPeriodicResourceId());
}
if (other.hasRemaining()) {
setRemaining(other.getRemaining());
}
if (other.hasMax()) {
setMax(other.getMax());
}
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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int periodicResourceId_ ;
/**
* optional uint32 periodic_resource_id = 1;
*/
public boolean hasPeriodicResourceId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 periodic_resource_id = 1;
*/
public int getPeriodicResourceId() {
return periodicResourceId_;
}
/**
* optional uint32 periodic_resource_id = 1;
*/
public Builder setPeriodicResourceId(int value) {
bitField0_ |= 0x00000001;
periodicResourceId_ = value;
onChanged();
return this;
}
/**
* optional uint32 periodic_resource_id = 1;
*/
public Builder clearPeriodicResourceId() {
bitField0_ = (bitField0_ & ~0x00000001);
periodicResourceId_ = 0;
onChanged();
return this;
}
private int remaining_ ;
/**
* optional uint32 remaining = 2;
*/
public boolean hasRemaining() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 remaining = 2;
*/
public int getRemaining() {
return remaining_;
}
/**
* optional uint32 remaining = 2;
*/
public Builder setRemaining(int value) {
bitField0_ |= 0x00000002;
remaining_ = value;
onChanged();
return this;
}
/**
* optional uint32 remaining = 2;
*/
public Builder clearRemaining() {
bitField0_ = (bitField0_ & ~0x00000002);
remaining_ = 0;
onChanged();
return this;
}
private int max_ ;
/**
* optional uint32 max = 3;
*/
public boolean hasMax() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 max = 3;
*/
public int getMax() {
return max_;
}
/**
* optional uint32 max = 3;
*/
public Builder setMax(int value) {
bitField0_ |= 0x00000004;
max_ = value;
onChanged();
return this;
}
/**
* optional uint32 max = 3;
*/
public Builder clearMax() {
bitField0_ = (bitField0_ & ~0x00000004);
max_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAMatchMetadata.Team.PeriodicResourceData)
}
static {
defaultInstance = new PeriodicResourceData(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAMatchMetadata.Team.PeriodicResourceData)
}
public interface EventDataOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAMatchMetadata.Team.EventData)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 event_id = 1;
*/
boolean hasEventId();
/**
* optional uint32 event_id = 1;
*/
int getEventId();
/**
* optional uint32 event_points = 2;
*/
boolean hasEventPoints();
/**
* optional uint32 event_points = 2;
*/
int getEventPoints();
/**
* optional uint32 challenge_instance_id = 3;
*/
boolean hasChallengeInstanceId();
/**
* optional uint32 challenge_instance_id = 3;
*/
int getChallengeInstanceId();
/**
* optional uint32 challenge_quest_id = 4;
*/
boolean hasChallengeQuestId();
/**
* optional uint32 challenge_quest_id = 4;
*/
int getChallengeQuestId();
/**
* optional uint32 challenge_quest_challenge_id = 5;
*/
boolean hasChallengeQuestChallengeId();
/**
* optional uint32 challenge_quest_challenge_id = 5;
*/
int getChallengeQuestChallengeId();
/**
* optional bool challenge_completed = 6;
*/
boolean hasChallengeCompleted();
/**
* optional bool challenge_completed = 6;
*/
boolean getChallengeCompleted();
/**
* optional uint32 challenge_rank_completed = 7;
*/
boolean hasChallengeRankCompleted();
/**
* optional uint32 challenge_rank_completed = 7;
*/
int getChallengeRankCompleted();
/**
* optional uint32 challenge_rank_previously_completed = 8;
*/
boolean hasChallengeRankPreviouslyCompleted();
/**
* optional uint32 challenge_rank_previously_completed = 8;
*/
int getChallengeRankPreviouslyCompleted();
/**
* optional bool event_owned = 9;
*/
boolean hasEventOwned();
/**
* optional bool event_owned = 9;
*/
boolean getEventOwned();
/**
* repeated .CDOTAMatchMetadata.Team.SubChallenge sub_challenges_with_progress = 10;
*/
java.util.List
getSubChallengesWithProgressList();
/**
* repeated .CDOTAMatchMetadata.Team.SubChallenge sub_challenges_with_progress = 10;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge getSubChallengesWithProgress(int index);
/**
* repeated .CDOTAMatchMetadata.Team.SubChallenge sub_challenges_with_progress = 10;
*/
int getSubChallengesWithProgressCount();
/**
* repeated .CDOTAMatchMetadata.Team.SubChallenge sub_challenges_with_progress = 10;
*/
java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallengeOrBuilder>
getSubChallengesWithProgressOrBuilderList();
/**
* repeated .CDOTAMatchMetadata.Team.SubChallenge sub_challenges_with_progress = 10;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallengeOrBuilder getSubChallengesWithProgressOrBuilder(
int index);
/**
* optional uint32 wager_winnings = 11;
*/
boolean hasWagerWinnings();
/**
* optional uint32 wager_winnings = 11;
*/
int getWagerWinnings();
/**
* optional bool cavern_challenge_active = 12;
*/
boolean hasCavernChallengeActive();
/**
* optional bool cavern_challenge_active = 12;
*/
boolean getCavernChallengeActive();
/**
* optional uint32 cavern_challenge_winnings = 13;
*/
boolean hasCavernChallengeWinnings();
/**
* optional uint32 cavern_challenge_winnings = 13;
*/
int getCavernChallengeWinnings();
/**
* optional uint32 amount_wagered = 14;
*/
boolean hasAmountWagered();
/**
* optional uint32 amount_wagered = 14;
*/
int getAmountWagered();
/**
* optional uint32 periodic_point_adjustments = 16;
*/
boolean hasPeriodicPointAdjustments();
/**
* optional uint32 periodic_point_adjustments = 16;
*/
int getPeriodicPointAdjustments();
/**
* repeated .CDOTAMatchMetadata.Team.CavernChallengeResult cavern_challenge_map_results = 17;
*/
java.util.List
getCavernChallengeMapResultsList();
/**
* repeated .CDOTAMatchMetadata.Team.CavernChallengeResult cavern_challenge_map_results = 17;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult getCavernChallengeMapResults(int index);
/**
* repeated .CDOTAMatchMetadata.Team.CavernChallengeResult cavern_challenge_map_results = 17;
*/
int getCavernChallengeMapResultsCount();
/**
* repeated .CDOTAMatchMetadata.Team.CavernChallengeResult cavern_challenge_map_results = 17;
*/
java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResultOrBuilder>
getCavernChallengeMapResultsOrBuilderList();
/**
* repeated .CDOTAMatchMetadata.Team.CavernChallengeResult cavern_challenge_map_results = 17;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResultOrBuilder getCavernChallengeMapResultsOrBuilder(
int index);
/**
* optional uint32 cavern_challenge_plus_shard_winnings = 18;
*/
boolean hasCavernChallengePlusShardWinnings();
/**
* optional uint32 cavern_challenge_plus_shard_winnings = 18;
*/
int getCavernChallengePlusShardWinnings();
/**
* repeated .CDOTAMatchMetadata.Team.ActionGrant actions_granted = 19;
*/
java.util.List
getActionsGrantedList();
/**
* repeated .CDOTAMatchMetadata.Team.ActionGrant actions_granted = 19;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant getActionsGranted(int index);
/**
* repeated .CDOTAMatchMetadata.Team.ActionGrant actions_granted = 19;
*/
int getActionsGrantedCount();
/**
* repeated .CDOTAMatchMetadata.Team.ActionGrant actions_granted = 19;
*/
java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrantOrBuilder>
getActionsGrantedOrBuilderList();
/**
* repeated .CDOTAMatchMetadata.Team.ActionGrant actions_granted = 19;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrantOrBuilder getActionsGrantedOrBuilder(
int index);
/**
* optional uint32 cavern_crawl_map_variant = 20 [default = 255];
*/
boolean hasCavernCrawlMapVariant();
/**
* optional uint32 cavern_crawl_map_variant = 20 [default = 255];
*/
int getCavernCrawlMapVariant();
/**
* optional uint32 team_wager_bonus_pct = 21;
*/
boolean hasTeamWagerBonusPct();
/**
* optional uint32 team_wager_bonus_pct = 21;
*/
int getTeamWagerBonusPct();
/**
* optional uint32 wager_streak_pct = 22;
*/
boolean hasWagerStreakPct();
/**
* optional uint32 wager_streak_pct = 22;
*/
int getWagerStreakPct();
/**
* repeated .CDOTAMatchMetadata.Team.CandyGrant candy_points_granted = 23;
*/
java.util.List
getCandyPointsGrantedList();
/**
* repeated .CDOTAMatchMetadata.Team.CandyGrant candy_points_granted = 23;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant getCandyPointsGranted(int index);
/**
* repeated .CDOTAMatchMetadata.Team.CandyGrant candy_points_granted = 23;
*/
int getCandyPointsGrantedCount();
/**
* repeated .CDOTAMatchMetadata.Team.CandyGrant candy_points_granted = 23;
*/
java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrantOrBuilder>
getCandyPointsGrantedOrBuilderList();
/**
* repeated .CDOTAMatchMetadata.Team.CandyGrant candy_points_granted = 23;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrantOrBuilder getCandyPointsGrantedOrBuilder(
int index);
/**
* optional uint32 active_season_id = 24;
*/
boolean hasActiveSeasonId();
/**
* optional uint32 active_season_id = 24;
*/
int getActiveSeasonId();
/**
* optional bool cavern_crawl_half_credit = 25;
*/
boolean hasCavernCrawlHalfCredit();
/**
* optional bool cavern_crawl_half_credit = 25;
*/
boolean getCavernCrawlHalfCredit();
/**
* repeated .CDOTAMatchMetadata.Team.PeriodicResourceData periodic_resources = 26;
*/
java.util.List
getPeriodicResourcesList();
/**
* repeated .CDOTAMatchMetadata.Team.PeriodicResourceData periodic_resources = 26;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData getPeriodicResources(int index);
/**
* repeated .CDOTAMatchMetadata.Team.PeriodicResourceData periodic_resources = 26;
*/
int getPeriodicResourcesCount();
/**
* repeated .CDOTAMatchMetadata.Team.PeriodicResourceData periodic_resources = 26;
*/
java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceDataOrBuilder>
getPeriodicResourcesOrBuilderList();
/**
* repeated .CDOTAMatchMetadata.Team.PeriodicResourceData periodic_resources = 26;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceDataOrBuilder getPeriodicResourcesOrBuilder(
int index);
/**
* repeated .CExtraMsgBlock extra_event_messages = 27;
*/
java.util.List
getExtraEventMessagesList();
/**
* repeated .CExtraMsgBlock extra_event_messages = 27;
*/
skadistats.clarity.wire.shared.common.proto.GcSdkGcMessages.CExtraMsgBlock getExtraEventMessages(int index);
/**
* repeated .CExtraMsgBlock extra_event_messages = 27;
*/
int getExtraEventMessagesCount();
/**
* repeated .CExtraMsgBlock extra_event_messages = 27;
*/
java.util.List extends skadistats.clarity.wire.shared.common.proto.GcSdkGcMessages.CExtraMsgBlockOrBuilder>
getExtraEventMessagesOrBuilderList();
/**
* repeated .CExtraMsgBlock extra_event_messages = 27;
*/
skadistats.clarity.wire.shared.common.proto.GcSdkGcMessages.CExtraMsgBlockOrBuilder getExtraEventMessagesOrBuilder(
int index);
}
/**
* Protobuf type {@code CDOTAMatchMetadata.Team.EventData}
*/
public static final class EventData extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAMatchMetadata.Team.EventData)
EventDataOrBuilder {
// Use EventData.newBuilder() to construct.
private EventData(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private EventData(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final EventData defaultInstance;
public static EventData getDefaultInstance() {
return defaultInstance;
}
public EventData getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private EventData(
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;
eventId_ = input.readUInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
eventPoints_ = input.readUInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
challengeInstanceId_ = input.readUInt32();
break;
}
case 32: {
bitField0_ |= 0x00000008;
challengeQuestId_ = input.readUInt32();
break;
}
case 40: {
bitField0_ |= 0x00000010;
challengeQuestChallengeId_ = input.readUInt32();
break;
}
case 48: {
bitField0_ |= 0x00000020;
challengeCompleted_ = input.readBool();
break;
}
case 56: {
bitField0_ |= 0x00000040;
challengeRankCompleted_ = input.readUInt32();
break;
}
case 64: {
bitField0_ |= 0x00000080;
challengeRankPreviouslyCompleted_ = input.readUInt32();
break;
}
case 72: {
bitField0_ |= 0x00000100;
eventOwned_ = input.readBool();
break;
}
case 82: {
if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
subChallengesWithProgress_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000200;
}
subChallengesWithProgress_.add(input.readMessage(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge.PARSER, extensionRegistry));
break;
}
case 88: {
bitField0_ |= 0x00000200;
wagerWinnings_ = input.readUInt32();
break;
}
case 96: {
bitField0_ |= 0x00000400;
cavernChallengeActive_ = input.readBool();
break;
}
case 104: {
bitField0_ |= 0x00000800;
cavernChallengeWinnings_ = input.readUInt32();
break;
}
case 112: {
bitField0_ |= 0x00001000;
amountWagered_ = input.readUInt32();
break;
}
case 128: {
bitField0_ |= 0x00002000;
periodicPointAdjustments_ = input.readUInt32();
break;
}
case 138: {
if (!((mutable_bitField0_ & 0x00008000) == 0x00008000)) {
cavernChallengeMapResults_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00008000;
}
cavernChallengeMapResults_.add(input.readMessage(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult.PARSER, extensionRegistry));
break;
}
case 144: {
bitField0_ |= 0x00004000;
cavernChallengePlusShardWinnings_ = input.readUInt32();
break;
}
case 154: {
if (!((mutable_bitField0_ & 0x00020000) == 0x00020000)) {
actionsGranted_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00020000;
}
actionsGranted_.add(input.readMessage(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant.PARSER, extensionRegistry));
break;
}
case 160: {
bitField0_ |= 0x00008000;
cavernCrawlMapVariant_ = input.readUInt32();
break;
}
case 168: {
bitField0_ |= 0x00010000;
teamWagerBonusPct_ = input.readUInt32();
break;
}
case 176: {
bitField0_ |= 0x00020000;
wagerStreakPct_ = input.readUInt32();
break;
}
case 186: {
if (!((mutable_bitField0_ & 0x00200000) == 0x00200000)) {
candyPointsGranted_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00200000;
}
candyPointsGranted_.add(input.readMessage(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant.PARSER, extensionRegistry));
break;
}
case 192: {
bitField0_ |= 0x00040000;
activeSeasonId_ = input.readUInt32();
break;
}
case 200: {
bitField0_ |= 0x00080000;
cavernCrawlHalfCredit_ = input.readBool();
break;
}
case 210: {
if (!((mutable_bitField0_ & 0x01000000) == 0x01000000)) {
periodicResources_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x01000000;
}
periodicResources_.add(input.readMessage(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData.PARSER, extensionRegistry));
break;
}
case 218: {
if (!((mutable_bitField0_ & 0x02000000) == 0x02000000)) {
extraEventMessages_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x02000000;
}
extraEventMessages_.add(input.readMessage(skadistats.clarity.wire.shared.common.proto.GcSdkGcMessages.CExtraMsgBlock.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
subChallengesWithProgress_ = java.util.Collections.unmodifiableList(subChallengesWithProgress_);
}
if (((mutable_bitField0_ & 0x00008000) == 0x00008000)) {
cavernChallengeMapResults_ = java.util.Collections.unmodifiableList(cavernChallengeMapResults_);
}
if (((mutable_bitField0_ & 0x00020000) == 0x00020000)) {
actionsGranted_ = java.util.Collections.unmodifiableList(actionsGranted_);
}
if (((mutable_bitField0_ & 0x00200000) == 0x00200000)) {
candyPointsGranted_ = java.util.Collections.unmodifiableList(candyPointsGranted_);
}
if (((mutable_bitField0_ & 0x01000000) == 0x01000000)) {
periodicResources_ = java.util.Collections.unmodifiableList(periodicResources_);
}
if (((mutable_bitField0_ & 0x02000000) == 0x02000000)) {
extraEventMessages_ = java.util.Collections.unmodifiableList(extraEventMessages_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_EventData_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_EventData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.EventData.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.EventData.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public EventData parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new EventData(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int EVENT_ID_FIELD_NUMBER = 1;
private int eventId_;
/**
* optional uint32 event_id = 1;
*/
public boolean hasEventId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 event_id = 1;
*/
public int getEventId() {
return eventId_;
}
public static final int EVENT_POINTS_FIELD_NUMBER = 2;
private int eventPoints_;
/**
* optional uint32 event_points = 2;
*/
public boolean hasEventPoints() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 event_points = 2;
*/
public int getEventPoints() {
return eventPoints_;
}
public static final int CHALLENGE_INSTANCE_ID_FIELD_NUMBER = 3;
private int challengeInstanceId_;
/**
* optional uint32 challenge_instance_id = 3;
*/
public boolean hasChallengeInstanceId() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 challenge_instance_id = 3;
*/
public int getChallengeInstanceId() {
return challengeInstanceId_;
}
public static final int CHALLENGE_QUEST_ID_FIELD_NUMBER = 4;
private int challengeQuestId_;
/**
* optional uint32 challenge_quest_id = 4;
*/
public boolean hasChallengeQuestId() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional uint32 challenge_quest_id = 4;
*/
public int getChallengeQuestId() {
return challengeQuestId_;
}
public static final int CHALLENGE_QUEST_CHALLENGE_ID_FIELD_NUMBER = 5;
private int challengeQuestChallengeId_;
/**
* optional uint32 challenge_quest_challenge_id = 5;
*/
public boolean hasChallengeQuestChallengeId() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional uint32 challenge_quest_challenge_id = 5;
*/
public int getChallengeQuestChallengeId() {
return challengeQuestChallengeId_;
}
public static final int CHALLENGE_COMPLETED_FIELD_NUMBER = 6;
private boolean challengeCompleted_;
/**
* optional bool challenge_completed = 6;
*/
public boolean hasChallengeCompleted() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional bool challenge_completed = 6;
*/
public boolean getChallengeCompleted() {
return challengeCompleted_;
}
public static final int CHALLENGE_RANK_COMPLETED_FIELD_NUMBER = 7;
private int challengeRankCompleted_;
/**
* optional uint32 challenge_rank_completed = 7;
*/
public boolean hasChallengeRankCompleted() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional uint32 challenge_rank_completed = 7;
*/
public int getChallengeRankCompleted() {
return challengeRankCompleted_;
}
public static final int CHALLENGE_RANK_PREVIOUSLY_COMPLETED_FIELD_NUMBER = 8;
private int challengeRankPreviouslyCompleted_;
/**
* optional uint32 challenge_rank_previously_completed = 8;
*/
public boolean hasChallengeRankPreviouslyCompleted() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional uint32 challenge_rank_previously_completed = 8;
*/
public int getChallengeRankPreviouslyCompleted() {
return challengeRankPreviouslyCompleted_;
}
public static final int EVENT_OWNED_FIELD_NUMBER = 9;
private boolean eventOwned_;
/**
* optional bool event_owned = 9;
*/
public boolean hasEventOwned() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional bool event_owned = 9;
*/
public boolean getEventOwned() {
return eventOwned_;
}
public static final int SUB_CHALLENGES_WITH_PROGRESS_FIELD_NUMBER = 10;
private java.util.List subChallengesWithProgress_;
/**
* repeated .CDOTAMatchMetadata.Team.SubChallenge sub_challenges_with_progress = 10;
*/
public java.util.List getSubChallengesWithProgressList() {
return subChallengesWithProgress_;
}
/**
* repeated .CDOTAMatchMetadata.Team.SubChallenge sub_challenges_with_progress = 10;
*/
public java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallengeOrBuilder>
getSubChallengesWithProgressOrBuilderList() {
return subChallengesWithProgress_;
}
/**
* repeated .CDOTAMatchMetadata.Team.SubChallenge sub_challenges_with_progress = 10;
*/
public int getSubChallengesWithProgressCount() {
return subChallengesWithProgress_.size();
}
/**
* repeated .CDOTAMatchMetadata.Team.SubChallenge sub_challenges_with_progress = 10;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge getSubChallengesWithProgress(int index) {
return subChallengesWithProgress_.get(index);
}
/**
* repeated .CDOTAMatchMetadata.Team.SubChallenge sub_challenges_with_progress = 10;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallengeOrBuilder getSubChallengesWithProgressOrBuilder(
int index) {
return subChallengesWithProgress_.get(index);
}
public static final int WAGER_WINNINGS_FIELD_NUMBER = 11;
private int wagerWinnings_;
/**
* optional uint32 wager_winnings = 11;
*/
public boolean hasWagerWinnings() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* optional uint32 wager_winnings = 11;
*/
public int getWagerWinnings() {
return wagerWinnings_;
}
public static final int CAVERN_CHALLENGE_ACTIVE_FIELD_NUMBER = 12;
private boolean cavernChallengeActive_;
/**
* optional bool cavern_challenge_active = 12;
*/
public boolean hasCavernChallengeActive() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* optional bool cavern_challenge_active = 12;
*/
public boolean getCavernChallengeActive() {
return cavernChallengeActive_;
}
public static final int CAVERN_CHALLENGE_WINNINGS_FIELD_NUMBER = 13;
private int cavernChallengeWinnings_;
/**
* optional uint32 cavern_challenge_winnings = 13;
*/
public boolean hasCavernChallengeWinnings() {
return ((bitField0_ & 0x00000800) == 0x00000800);
}
/**
* optional uint32 cavern_challenge_winnings = 13;
*/
public int getCavernChallengeWinnings() {
return cavernChallengeWinnings_;
}
public static final int AMOUNT_WAGERED_FIELD_NUMBER = 14;
private int amountWagered_;
/**
* optional uint32 amount_wagered = 14;
*/
public boolean hasAmountWagered() {
return ((bitField0_ & 0x00001000) == 0x00001000);
}
/**
* optional uint32 amount_wagered = 14;
*/
public int getAmountWagered() {
return amountWagered_;
}
public static final int PERIODIC_POINT_ADJUSTMENTS_FIELD_NUMBER = 16;
private int periodicPointAdjustments_;
/**
* optional uint32 periodic_point_adjustments = 16;
*/
public boolean hasPeriodicPointAdjustments() {
return ((bitField0_ & 0x00002000) == 0x00002000);
}
/**
* optional uint32 periodic_point_adjustments = 16;
*/
public int getPeriodicPointAdjustments() {
return periodicPointAdjustments_;
}
public static final int CAVERN_CHALLENGE_MAP_RESULTS_FIELD_NUMBER = 17;
private java.util.List cavernChallengeMapResults_;
/**
* repeated .CDOTAMatchMetadata.Team.CavernChallengeResult cavern_challenge_map_results = 17;
*/
public java.util.List getCavernChallengeMapResultsList() {
return cavernChallengeMapResults_;
}
/**
* repeated .CDOTAMatchMetadata.Team.CavernChallengeResult cavern_challenge_map_results = 17;
*/
public java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResultOrBuilder>
getCavernChallengeMapResultsOrBuilderList() {
return cavernChallengeMapResults_;
}
/**
* repeated .CDOTAMatchMetadata.Team.CavernChallengeResult cavern_challenge_map_results = 17;
*/
public int getCavernChallengeMapResultsCount() {
return cavernChallengeMapResults_.size();
}
/**
* repeated .CDOTAMatchMetadata.Team.CavernChallengeResult cavern_challenge_map_results = 17;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult getCavernChallengeMapResults(int index) {
return cavernChallengeMapResults_.get(index);
}
/**
* repeated .CDOTAMatchMetadata.Team.CavernChallengeResult cavern_challenge_map_results = 17;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResultOrBuilder getCavernChallengeMapResultsOrBuilder(
int index) {
return cavernChallengeMapResults_.get(index);
}
public static final int CAVERN_CHALLENGE_PLUS_SHARD_WINNINGS_FIELD_NUMBER = 18;
private int cavernChallengePlusShardWinnings_;
/**
* optional uint32 cavern_challenge_plus_shard_winnings = 18;
*/
public boolean hasCavernChallengePlusShardWinnings() {
return ((bitField0_ & 0x00004000) == 0x00004000);
}
/**
* optional uint32 cavern_challenge_plus_shard_winnings = 18;
*/
public int getCavernChallengePlusShardWinnings() {
return cavernChallengePlusShardWinnings_;
}
public static final int ACTIONS_GRANTED_FIELD_NUMBER = 19;
private java.util.List actionsGranted_;
/**
* repeated .CDOTAMatchMetadata.Team.ActionGrant actions_granted = 19;
*/
public java.util.List getActionsGrantedList() {
return actionsGranted_;
}
/**
* repeated .CDOTAMatchMetadata.Team.ActionGrant actions_granted = 19;
*/
public java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrantOrBuilder>
getActionsGrantedOrBuilderList() {
return actionsGranted_;
}
/**
* repeated .CDOTAMatchMetadata.Team.ActionGrant actions_granted = 19;
*/
public int getActionsGrantedCount() {
return actionsGranted_.size();
}
/**
* repeated .CDOTAMatchMetadata.Team.ActionGrant actions_granted = 19;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant getActionsGranted(int index) {
return actionsGranted_.get(index);
}
/**
* repeated .CDOTAMatchMetadata.Team.ActionGrant actions_granted = 19;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrantOrBuilder getActionsGrantedOrBuilder(
int index) {
return actionsGranted_.get(index);
}
public static final int CAVERN_CRAWL_MAP_VARIANT_FIELD_NUMBER = 20;
private int cavernCrawlMapVariant_;
/**
* optional uint32 cavern_crawl_map_variant = 20 [default = 255];
*/
public boolean hasCavernCrawlMapVariant() {
return ((bitField0_ & 0x00008000) == 0x00008000);
}
/**
* optional uint32 cavern_crawl_map_variant = 20 [default = 255];
*/
public int getCavernCrawlMapVariant() {
return cavernCrawlMapVariant_;
}
public static final int TEAM_WAGER_BONUS_PCT_FIELD_NUMBER = 21;
private int teamWagerBonusPct_;
/**
* optional uint32 team_wager_bonus_pct = 21;
*/
public boolean hasTeamWagerBonusPct() {
return ((bitField0_ & 0x00010000) == 0x00010000);
}
/**
* optional uint32 team_wager_bonus_pct = 21;
*/
public int getTeamWagerBonusPct() {
return teamWagerBonusPct_;
}
public static final int WAGER_STREAK_PCT_FIELD_NUMBER = 22;
private int wagerStreakPct_;
/**
* optional uint32 wager_streak_pct = 22;
*/
public boolean hasWagerStreakPct() {
return ((bitField0_ & 0x00020000) == 0x00020000);
}
/**
* optional uint32 wager_streak_pct = 22;
*/
public int getWagerStreakPct() {
return wagerStreakPct_;
}
public static final int CANDY_POINTS_GRANTED_FIELD_NUMBER = 23;
private java.util.List candyPointsGranted_;
/**
* repeated .CDOTAMatchMetadata.Team.CandyGrant candy_points_granted = 23;
*/
public java.util.List getCandyPointsGrantedList() {
return candyPointsGranted_;
}
/**
* repeated .CDOTAMatchMetadata.Team.CandyGrant candy_points_granted = 23;
*/
public java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrantOrBuilder>
getCandyPointsGrantedOrBuilderList() {
return candyPointsGranted_;
}
/**
* repeated .CDOTAMatchMetadata.Team.CandyGrant candy_points_granted = 23;
*/
public int getCandyPointsGrantedCount() {
return candyPointsGranted_.size();
}
/**
* repeated .CDOTAMatchMetadata.Team.CandyGrant candy_points_granted = 23;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant getCandyPointsGranted(int index) {
return candyPointsGranted_.get(index);
}
/**
* repeated .CDOTAMatchMetadata.Team.CandyGrant candy_points_granted = 23;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrantOrBuilder getCandyPointsGrantedOrBuilder(
int index) {
return candyPointsGranted_.get(index);
}
public static final int ACTIVE_SEASON_ID_FIELD_NUMBER = 24;
private int activeSeasonId_;
/**
* optional uint32 active_season_id = 24;
*/
public boolean hasActiveSeasonId() {
return ((bitField0_ & 0x00040000) == 0x00040000);
}
/**
* optional uint32 active_season_id = 24;
*/
public int getActiveSeasonId() {
return activeSeasonId_;
}
public static final int CAVERN_CRAWL_HALF_CREDIT_FIELD_NUMBER = 25;
private boolean cavernCrawlHalfCredit_;
/**
* optional bool cavern_crawl_half_credit = 25;
*/
public boolean hasCavernCrawlHalfCredit() {
return ((bitField0_ & 0x00080000) == 0x00080000);
}
/**
* optional bool cavern_crawl_half_credit = 25;
*/
public boolean getCavernCrawlHalfCredit() {
return cavernCrawlHalfCredit_;
}
public static final int PERIODIC_RESOURCES_FIELD_NUMBER = 26;
private java.util.List periodicResources_;
/**
* repeated .CDOTAMatchMetadata.Team.PeriodicResourceData periodic_resources = 26;
*/
public java.util.List getPeriodicResourcesList() {
return periodicResources_;
}
/**
* repeated .CDOTAMatchMetadata.Team.PeriodicResourceData periodic_resources = 26;
*/
public java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceDataOrBuilder>
getPeriodicResourcesOrBuilderList() {
return periodicResources_;
}
/**
* repeated .CDOTAMatchMetadata.Team.PeriodicResourceData periodic_resources = 26;
*/
public int getPeriodicResourcesCount() {
return periodicResources_.size();
}
/**
* repeated .CDOTAMatchMetadata.Team.PeriodicResourceData periodic_resources = 26;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData getPeriodicResources(int index) {
return periodicResources_.get(index);
}
/**
* repeated .CDOTAMatchMetadata.Team.PeriodicResourceData periodic_resources = 26;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceDataOrBuilder getPeriodicResourcesOrBuilder(
int index) {
return periodicResources_.get(index);
}
public static final int EXTRA_EVENT_MESSAGES_FIELD_NUMBER = 27;
private java.util.List extraEventMessages_;
/**
* repeated .CExtraMsgBlock extra_event_messages = 27;
*/
public java.util.List getExtraEventMessagesList() {
return extraEventMessages_;
}
/**
* repeated .CExtraMsgBlock extra_event_messages = 27;
*/
public java.util.List extends skadistats.clarity.wire.shared.common.proto.GcSdkGcMessages.CExtraMsgBlockOrBuilder>
getExtraEventMessagesOrBuilderList() {
return extraEventMessages_;
}
/**
* repeated .CExtraMsgBlock extra_event_messages = 27;
*/
public int getExtraEventMessagesCount() {
return extraEventMessages_.size();
}
/**
* repeated .CExtraMsgBlock extra_event_messages = 27;
*/
public skadistats.clarity.wire.shared.common.proto.GcSdkGcMessages.CExtraMsgBlock getExtraEventMessages(int index) {
return extraEventMessages_.get(index);
}
/**
* repeated .CExtraMsgBlock extra_event_messages = 27;
*/
public skadistats.clarity.wire.shared.common.proto.GcSdkGcMessages.CExtraMsgBlockOrBuilder getExtraEventMessagesOrBuilder(
int index) {
return extraEventMessages_.get(index);
}
private void initFields() {
eventId_ = 0;
eventPoints_ = 0;
challengeInstanceId_ = 0;
challengeQuestId_ = 0;
challengeQuestChallengeId_ = 0;
challengeCompleted_ = false;
challengeRankCompleted_ = 0;
challengeRankPreviouslyCompleted_ = 0;
eventOwned_ = false;
subChallengesWithProgress_ = java.util.Collections.emptyList();
wagerWinnings_ = 0;
cavernChallengeActive_ = false;
cavernChallengeWinnings_ = 0;
amountWagered_ = 0;
periodicPointAdjustments_ = 0;
cavernChallengeMapResults_ = java.util.Collections.emptyList();
cavernChallengePlusShardWinnings_ = 0;
actionsGranted_ = java.util.Collections.emptyList();
cavernCrawlMapVariant_ = 255;
teamWagerBonusPct_ = 0;
wagerStreakPct_ = 0;
candyPointsGranted_ = java.util.Collections.emptyList();
activeSeasonId_ = 0;
cavernCrawlHalfCredit_ = false;
periodicResources_ = java.util.Collections.emptyList();
extraEventMessages_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeUInt32(1, eventId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt32(2, eventPoints_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeUInt32(3, challengeInstanceId_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeUInt32(4, challengeQuestId_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeUInt32(5, challengeQuestChallengeId_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeBool(6, challengeCompleted_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeUInt32(7, challengeRankCompleted_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeUInt32(8, challengeRankPreviouslyCompleted_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
output.writeBool(9, eventOwned_);
}
for (int i = 0; i < subChallengesWithProgress_.size(); i++) {
output.writeMessage(10, subChallengesWithProgress_.get(i));
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
output.writeUInt32(11, wagerWinnings_);
}
if (((bitField0_ & 0x00000400) == 0x00000400)) {
output.writeBool(12, cavernChallengeActive_);
}
if (((bitField0_ & 0x00000800) == 0x00000800)) {
output.writeUInt32(13, cavernChallengeWinnings_);
}
if (((bitField0_ & 0x00001000) == 0x00001000)) {
output.writeUInt32(14, amountWagered_);
}
if (((bitField0_ & 0x00002000) == 0x00002000)) {
output.writeUInt32(16, periodicPointAdjustments_);
}
for (int i = 0; i < cavernChallengeMapResults_.size(); i++) {
output.writeMessage(17, cavernChallengeMapResults_.get(i));
}
if (((bitField0_ & 0x00004000) == 0x00004000)) {
output.writeUInt32(18, cavernChallengePlusShardWinnings_);
}
for (int i = 0; i < actionsGranted_.size(); i++) {
output.writeMessage(19, actionsGranted_.get(i));
}
if (((bitField0_ & 0x00008000) == 0x00008000)) {
output.writeUInt32(20, cavernCrawlMapVariant_);
}
if (((bitField0_ & 0x00010000) == 0x00010000)) {
output.writeUInt32(21, teamWagerBonusPct_);
}
if (((bitField0_ & 0x00020000) == 0x00020000)) {
output.writeUInt32(22, wagerStreakPct_);
}
for (int i = 0; i < candyPointsGranted_.size(); i++) {
output.writeMessage(23, candyPointsGranted_.get(i));
}
if (((bitField0_ & 0x00040000) == 0x00040000)) {
output.writeUInt32(24, activeSeasonId_);
}
if (((bitField0_ & 0x00080000) == 0x00080000)) {
output.writeBool(25, cavernCrawlHalfCredit_);
}
for (int i = 0; i < periodicResources_.size(); i++) {
output.writeMessage(26, periodicResources_.get(i));
}
for (int i = 0; i < extraEventMessages_.size(); i++) {
output.writeMessage(27, extraEventMessages_.get(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, eventId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, eventPoints_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, challengeInstanceId_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, challengeQuestId_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, challengeQuestChallengeId_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(6, challengeCompleted_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(7, challengeRankCompleted_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(8, challengeRankPreviouslyCompleted_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(9, eventOwned_);
}
for (int i = 0; i < subChallengesWithProgress_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, subChallengesWithProgress_.get(i));
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(11, wagerWinnings_);
}
if (((bitField0_ & 0x00000400) == 0x00000400)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(12, cavernChallengeActive_);
}
if (((bitField0_ & 0x00000800) == 0x00000800)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(13, cavernChallengeWinnings_);
}
if (((bitField0_ & 0x00001000) == 0x00001000)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(14, amountWagered_);
}
if (((bitField0_ & 0x00002000) == 0x00002000)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(16, periodicPointAdjustments_);
}
for (int i = 0; i < cavernChallengeMapResults_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(17, cavernChallengeMapResults_.get(i));
}
if (((bitField0_ & 0x00004000) == 0x00004000)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(18, cavernChallengePlusShardWinnings_);
}
for (int i = 0; i < actionsGranted_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(19, actionsGranted_.get(i));
}
if (((bitField0_ & 0x00008000) == 0x00008000)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(20, cavernCrawlMapVariant_);
}
if (((bitField0_ & 0x00010000) == 0x00010000)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(21, teamWagerBonusPct_);
}
if (((bitField0_ & 0x00020000) == 0x00020000)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(22, wagerStreakPct_);
}
for (int i = 0; i < candyPointsGranted_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(23, candyPointsGranted_.get(i));
}
if (((bitField0_ & 0x00040000) == 0x00040000)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(24, activeSeasonId_);
}
if (((bitField0_ & 0x00080000) == 0x00080000)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(25, cavernCrawlHalfCredit_);
}
for (int i = 0; i < periodicResources_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(26, periodicResources_.get(i));
}
for (int i = 0; i < extraEventMessages_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(27, extraEventMessages_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.EventData parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.EventData 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.EventData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.EventData parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.EventData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.EventData 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.EventData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.EventData 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.EventData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.EventData 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.EventData 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 CDOTAMatchMetadata.Team.EventData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAMatchMetadata.Team.EventData)
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.EventDataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_EventData_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_EventData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.EventData.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.EventData.Builder.class);
}
// Construct using skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.EventData.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getSubChallengesWithProgressFieldBuilder();
getCavernChallengeMapResultsFieldBuilder();
getActionsGrantedFieldBuilder();
getCandyPointsGrantedFieldBuilder();
getPeriodicResourcesFieldBuilder();
getExtraEventMessagesFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
eventId_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
eventPoints_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
challengeInstanceId_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
challengeQuestId_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
challengeQuestChallengeId_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
challengeCompleted_ = false;
bitField0_ = (bitField0_ & ~0x00000020);
challengeRankCompleted_ = 0;
bitField0_ = (bitField0_ & ~0x00000040);
challengeRankPreviouslyCompleted_ = 0;
bitField0_ = (bitField0_ & ~0x00000080);
eventOwned_ = false;
bitField0_ = (bitField0_ & ~0x00000100);
if (subChallengesWithProgressBuilder_ == null) {
subChallengesWithProgress_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000200);
} else {
subChallengesWithProgressBuilder_.clear();
}
wagerWinnings_ = 0;
bitField0_ = (bitField0_ & ~0x00000400);
cavernChallengeActive_ = false;
bitField0_ = (bitField0_ & ~0x00000800);
cavernChallengeWinnings_ = 0;
bitField0_ = (bitField0_ & ~0x00001000);
amountWagered_ = 0;
bitField0_ = (bitField0_ & ~0x00002000);
periodicPointAdjustments_ = 0;
bitField0_ = (bitField0_ & ~0x00004000);
if (cavernChallengeMapResultsBuilder_ == null) {
cavernChallengeMapResults_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00008000);
} else {
cavernChallengeMapResultsBuilder_.clear();
}
cavernChallengePlusShardWinnings_ = 0;
bitField0_ = (bitField0_ & ~0x00010000);
if (actionsGrantedBuilder_ == null) {
actionsGranted_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00020000);
} else {
actionsGrantedBuilder_.clear();
}
cavernCrawlMapVariant_ = 255;
bitField0_ = (bitField0_ & ~0x00040000);
teamWagerBonusPct_ = 0;
bitField0_ = (bitField0_ & ~0x00080000);
wagerStreakPct_ = 0;
bitField0_ = (bitField0_ & ~0x00100000);
if (candyPointsGrantedBuilder_ == null) {
candyPointsGranted_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00200000);
} else {
candyPointsGrantedBuilder_.clear();
}
activeSeasonId_ = 0;
bitField0_ = (bitField0_ & ~0x00400000);
cavernCrawlHalfCredit_ = false;
bitField0_ = (bitField0_ & ~0x00800000);
if (periodicResourcesBuilder_ == null) {
periodicResources_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x01000000);
} else {
periodicResourcesBuilder_.clear();
}
if (extraEventMessagesBuilder_ == null) {
extraEventMessages_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x02000000);
} else {
extraEventMessagesBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_EventData_descriptor;
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.EventData getDefaultInstanceForType() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.EventData.getDefaultInstance();
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.EventData build() {
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.EventData result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.EventData buildPartial() {
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.EventData result = new skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.EventData(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.eventId_ = eventId_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.eventPoints_ = eventPoints_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.challengeInstanceId_ = challengeInstanceId_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.challengeQuestId_ = challengeQuestId_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.challengeQuestChallengeId_ = challengeQuestChallengeId_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.challengeCompleted_ = challengeCompleted_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000040;
}
result.challengeRankCompleted_ = challengeRankCompleted_;
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000080;
}
result.challengeRankPreviouslyCompleted_ = challengeRankPreviouslyCompleted_;
if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
to_bitField0_ |= 0x00000100;
}
result.eventOwned_ = eventOwned_;
if (subChallengesWithProgressBuilder_ == null) {
if (((bitField0_ & 0x00000200) == 0x00000200)) {
subChallengesWithProgress_ = java.util.Collections.unmodifiableList(subChallengesWithProgress_);
bitField0_ = (bitField0_ & ~0x00000200);
}
result.subChallengesWithProgress_ = subChallengesWithProgress_;
} else {
result.subChallengesWithProgress_ = subChallengesWithProgressBuilder_.build();
}
if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
to_bitField0_ |= 0x00000200;
}
result.wagerWinnings_ = wagerWinnings_;
if (((from_bitField0_ & 0x00000800) == 0x00000800)) {
to_bitField0_ |= 0x00000400;
}
result.cavernChallengeActive_ = cavernChallengeActive_;
if (((from_bitField0_ & 0x00001000) == 0x00001000)) {
to_bitField0_ |= 0x00000800;
}
result.cavernChallengeWinnings_ = cavernChallengeWinnings_;
if (((from_bitField0_ & 0x00002000) == 0x00002000)) {
to_bitField0_ |= 0x00001000;
}
result.amountWagered_ = amountWagered_;
if (((from_bitField0_ & 0x00004000) == 0x00004000)) {
to_bitField0_ |= 0x00002000;
}
result.periodicPointAdjustments_ = periodicPointAdjustments_;
if (cavernChallengeMapResultsBuilder_ == null) {
if (((bitField0_ & 0x00008000) == 0x00008000)) {
cavernChallengeMapResults_ = java.util.Collections.unmodifiableList(cavernChallengeMapResults_);
bitField0_ = (bitField0_ & ~0x00008000);
}
result.cavernChallengeMapResults_ = cavernChallengeMapResults_;
} else {
result.cavernChallengeMapResults_ = cavernChallengeMapResultsBuilder_.build();
}
if (((from_bitField0_ & 0x00010000) == 0x00010000)) {
to_bitField0_ |= 0x00004000;
}
result.cavernChallengePlusShardWinnings_ = cavernChallengePlusShardWinnings_;
if (actionsGrantedBuilder_ == null) {
if (((bitField0_ & 0x00020000) == 0x00020000)) {
actionsGranted_ = java.util.Collections.unmodifiableList(actionsGranted_);
bitField0_ = (bitField0_ & ~0x00020000);
}
result.actionsGranted_ = actionsGranted_;
} else {
result.actionsGranted_ = actionsGrantedBuilder_.build();
}
if (((from_bitField0_ & 0x00040000) == 0x00040000)) {
to_bitField0_ |= 0x00008000;
}
result.cavernCrawlMapVariant_ = cavernCrawlMapVariant_;
if (((from_bitField0_ & 0x00080000) == 0x00080000)) {
to_bitField0_ |= 0x00010000;
}
result.teamWagerBonusPct_ = teamWagerBonusPct_;
if (((from_bitField0_ & 0x00100000) == 0x00100000)) {
to_bitField0_ |= 0x00020000;
}
result.wagerStreakPct_ = wagerStreakPct_;
if (candyPointsGrantedBuilder_ == null) {
if (((bitField0_ & 0x00200000) == 0x00200000)) {
candyPointsGranted_ = java.util.Collections.unmodifiableList(candyPointsGranted_);
bitField0_ = (bitField0_ & ~0x00200000);
}
result.candyPointsGranted_ = candyPointsGranted_;
} else {
result.candyPointsGranted_ = candyPointsGrantedBuilder_.build();
}
if (((from_bitField0_ & 0x00400000) == 0x00400000)) {
to_bitField0_ |= 0x00040000;
}
result.activeSeasonId_ = activeSeasonId_;
if (((from_bitField0_ & 0x00800000) == 0x00800000)) {
to_bitField0_ |= 0x00080000;
}
result.cavernCrawlHalfCredit_ = cavernCrawlHalfCredit_;
if (periodicResourcesBuilder_ == null) {
if (((bitField0_ & 0x01000000) == 0x01000000)) {
periodicResources_ = java.util.Collections.unmodifiableList(periodicResources_);
bitField0_ = (bitField0_ & ~0x01000000);
}
result.periodicResources_ = periodicResources_;
} else {
result.periodicResources_ = periodicResourcesBuilder_.build();
}
if (extraEventMessagesBuilder_ == null) {
if (((bitField0_ & 0x02000000) == 0x02000000)) {
extraEventMessages_ = java.util.Collections.unmodifiableList(extraEventMessages_);
bitField0_ = (bitField0_ & ~0x02000000);
}
result.extraEventMessages_ = extraEventMessages_;
} else {
result.extraEventMessages_ = extraEventMessagesBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.EventData) {
return mergeFrom((skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.EventData)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.EventData other) {
if (other == skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.EventData.getDefaultInstance()) return this;
if (other.hasEventId()) {
setEventId(other.getEventId());
}
if (other.hasEventPoints()) {
setEventPoints(other.getEventPoints());
}
if (other.hasChallengeInstanceId()) {
setChallengeInstanceId(other.getChallengeInstanceId());
}
if (other.hasChallengeQuestId()) {
setChallengeQuestId(other.getChallengeQuestId());
}
if (other.hasChallengeQuestChallengeId()) {
setChallengeQuestChallengeId(other.getChallengeQuestChallengeId());
}
if (other.hasChallengeCompleted()) {
setChallengeCompleted(other.getChallengeCompleted());
}
if (other.hasChallengeRankCompleted()) {
setChallengeRankCompleted(other.getChallengeRankCompleted());
}
if (other.hasChallengeRankPreviouslyCompleted()) {
setChallengeRankPreviouslyCompleted(other.getChallengeRankPreviouslyCompleted());
}
if (other.hasEventOwned()) {
setEventOwned(other.getEventOwned());
}
if (subChallengesWithProgressBuilder_ == null) {
if (!other.subChallengesWithProgress_.isEmpty()) {
if (subChallengesWithProgress_.isEmpty()) {
subChallengesWithProgress_ = other.subChallengesWithProgress_;
bitField0_ = (bitField0_ & ~0x00000200);
} else {
ensureSubChallengesWithProgressIsMutable();
subChallengesWithProgress_.addAll(other.subChallengesWithProgress_);
}
onChanged();
}
} else {
if (!other.subChallengesWithProgress_.isEmpty()) {
if (subChallengesWithProgressBuilder_.isEmpty()) {
subChallengesWithProgressBuilder_.dispose();
subChallengesWithProgressBuilder_ = null;
subChallengesWithProgress_ = other.subChallengesWithProgress_;
bitField0_ = (bitField0_ & ~0x00000200);
subChallengesWithProgressBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getSubChallengesWithProgressFieldBuilder() : null;
} else {
subChallengesWithProgressBuilder_.addAllMessages(other.subChallengesWithProgress_);
}
}
}
if (other.hasWagerWinnings()) {
setWagerWinnings(other.getWagerWinnings());
}
if (other.hasCavernChallengeActive()) {
setCavernChallengeActive(other.getCavernChallengeActive());
}
if (other.hasCavernChallengeWinnings()) {
setCavernChallengeWinnings(other.getCavernChallengeWinnings());
}
if (other.hasAmountWagered()) {
setAmountWagered(other.getAmountWagered());
}
if (other.hasPeriodicPointAdjustments()) {
setPeriodicPointAdjustments(other.getPeriodicPointAdjustments());
}
if (cavernChallengeMapResultsBuilder_ == null) {
if (!other.cavernChallengeMapResults_.isEmpty()) {
if (cavernChallengeMapResults_.isEmpty()) {
cavernChallengeMapResults_ = other.cavernChallengeMapResults_;
bitField0_ = (bitField0_ & ~0x00008000);
} else {
ensureCavernChallengeMapResultsIsMutable();
cavernChallengeMapResults_.addAll(other.cavernChallengeMapResults_);
}
onChanged();
}
} else {
if (!other.cavernChallengeMapResults_.isEmpty()) {
if (cavernChallengeMapResultsBuilder_.isEmpty()) {
cavernChallengeMapResultsBuilder_.dispose();
cavernChallengeMapResultsBuilder_ = null;
cavernChallengeMapResults_ = other.cavernChallengeMapResults_;
bitField0_ = (bitField0_ & ~0x00008000);
cavernChallengeMapResultsBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getCavernChallengeMapResultsFieldBuilder() : null;
} else {
cavernChallengeMapResultsBuilder_.addAllMessages(other.cavernChallengeMapResults_);
}
}
}
if (other.hasCavernChallengePlusShardWinnings()) {
setCavernChallengePlusShardWinnings(other.getCavernChallengePlusShardWinnings());
}
if (actionsGrantedBuilder_ == null) {
if (!other.actionsGranted_.isEmpty()) {
if (actionsGranted_.isEmpty()) {
actionsGranted_ = other.actionsGranted_;
bitField0_ = (bitField0_ & ~0x00020000);
} else {
ensureActionsGrantedIsMutable();
actionsGranted_.addAll(other.actionsGranted_);
}
onChanged();
}
} else {
if (!other.actionsGranted_.isEmpty()) {
if (actionsGrantedBuilder_.isEmpty()) {
actionsGrantedBuilder_.dispose();
actionsGrantedBuilder_ = null;
actionsGranted_ = other.actionsGranted_;
bitField0_ = (bitField0_ & ~0x00020000);
actionsGrantedBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getActionsGrantedFieldBuilder() : null;
} else {
actionsGrantedBuilder_.addAllMessages(other.actionsGranted_);
}
}
}
if (other.hasCavernCrawlMapVariant()) {
setCavernCrawlMapVariant(other.getCavernCrawlMapVariant());
}
if (other.hasTeamWagerBonusPct()) {
setTeamWagerBonusPct(other.getTeamWagerBonusPct());
}
if (other.hasWagerStreakPct()) {
setWagerStreakPct(other.getWagerStreakPct());
}
if (candyPointsGrantedBuilder_ == null) {
if (!other.candyPointsGranted_.isEmpty()) {
if (candyPointsGranted_.isEmpty()) {
candyPointsGranted_ = other.candyPointsGranted_;
bitField0_ = (bitField0_ & ~0x00200000);
} else {
ensureCandyPointsGrantedIsMutable();
candyPointsGranted_.addAll(other.candyPointsGranted_);
}
onChanged();
}
} else {
if (!other.candyPointsGranted_.isEmpty()) {
if (candyPointsGrantedBuilder_.isEmpty()) {
candyPointsGrantedBuilder_.dispose();
candyPointsGrantedBuilder_ = null;
candyPointsGranted_ = other.candyPointsGranted_;
bitField0_ = (bitField0_ & ~0x00200000);
candyPointsGrantedBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getCandyPointsGrantedFieldBuilder() : null;
} else {
candyPointsGrantedBuilder_.addAllMessages(other.candyPointsGranted_);
}
}
}
if (other.hasActiveSeasonId()) {
setActiveSeasonId(other.getActiveSeasonId());
}
if (other.hasCavernCrawlHalfCredit()) {
setCavernCrawlHalfCredit(other.getCavernCrawlHalfCredit());
}
if (periodicResourcesBuilder_ == null) {
if (!other.periodicResources_.isEmpty()) {
if (periodicResources_.isEmpty()) {
periodicResources_ = other.periodicResources_;
bitField0_ = (bitField0_ & ~0x01000000);
} else {
ensurePeriodicResourcesIsMutable();
periodicResources_.addAll(other.periodicResources_);
}
onChanged();
}
} else {
if (!other.periodicResources_.isEmpty()) {
if (periodicResourcesBuilder_.isEmpty()) {
periodicResourcesBuilder_.dispose();
periodicResourcesBuilder_ = null;
periodicResources_ = other.periodicResources_;
bitField0_ = (bitField0_ & ~0x01000000);
periodicResourcesBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getPeriodicResourcesFieldBuilder() : null;
} else {
periodicResourcesBuilder_.addAllMessages(other.periodicResources_);
}
}
}
if (extraEventMessagesBuilder_ == null) {
if (!other.extraEventMessages_.isEmpty()) {
if (extraEventMessages_.isEmpty()) {
extraEventMessages_ = other.extraEventMessages_;
bitField0_ = (bitField0_ & ~0x02000000);
} else {
ensureExtraEventMessagesIsMutable();
extraEventMessages_.addAll(other.extraEventMessages_);
}
onChanged();
}
} else {
if (!other.extraEventMessages_.isEmpty()) {
if (extraEventMessagesBuilder_.isEmpty()) {
extraEventMessagesBuilder_.dispose();
extraEventMessagesBuilder_ = null;
extraEventMessages_ = other.extraEventMessages_;
bitField0_ = (bitField0_ & ~0x02000000);
extraEventMessagesBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getExtraEventMessagesFieldBuilder() : null;
} else {
extraEventMessagesBuilder_.addAllMessages(other.extraEventMessages_);
}
}
}
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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.EventData parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.EventData) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int eventId_ ;
/**
* optional uint32 event_id = 1;
*/
public boolean hasEventId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 event_id = 1;
*/
public int getEventId() {
return eventId_;
}
/**
* optional uint32 event_id = 1;
*/
public Builder setEventId(int value) {
bitField0_ |= 0x00000001;
eventId_ = value;
onChanged();
return this;
}
/**
* optional uint32 event_id = 1;
*/
public Builder clearEventId() {
bitField0_ = (bitField0_ & ~0x00000001);
eventId_ = 0;
onChanged();
return this;
}
private int eventPoints_ ;
/**
* optional uint32 event_points = 2;
*/
public boolean hasEventPoints() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 event_points = 2;
*/
public int getEventPoints() {
return eventPoints_;
}
/**
* optional uint32 event_points = 2;
*/
public Builder setEventPoints(int value) {
bitField0_ |= 0x00000002;
eventPoints_ = value;
onChanged();
return this;
}
/**
* optional uint32 event_points = 2;
*/
public Builder clearEventPoints() {
bitField0_ = (bitField0_ & ~0x00000002);
eventPoints_ = 0;
onChanged();
return this;
}
private int challengeInstanceId_ ;
/**
* optional uint32 challenge_instance_id = 3;
*/
public boolean hasChallengeInstanceId() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 challenge_instance_id = 3;
*/
public int getChallengeInstanceId() {
return challengeInstanceId_;
}
/**
* optional uint32 challenge_instance_id = 3;
*/
public Builder setChallengeInstanceId(int value) {
bitField0_ |= 0x00000004;
challengeInstanceId_ = value;
onChanged();
return this;
}
/**
* optional uint32 challenge_instance_id = 3;
*/
public Builder clearChallengeInstanceId() {
bitField0_ = (bitField0_ & ~0x00000004);
challengeInstanceId_ = 0;
onChanged();
return this;
}
private int challengeQuestId_ ;
/**
* optional uint32 challenge_quest_id = 4;
*/
public boolean hasChallengeQuestId() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional uint32 challenge_quest_id = 4;
*/
public int getChallengeQuestId() {
return challengeQuestId_;
}
/**
* optional uint32 challenge_quest_id = 4;
*/
public Builder setChallengeQuestId(int value) {
bitField0_ |= 0x00000008;
challengeQuestId_ = value;
onChanged();
return this;
}
/**
* optional uint32 challenge_quest_id = 4;
*/
public Builder clearChallengeQuestId() {
bitField0_ = (bitField0_ & ~0x00000008);
challengeQuestId_ = 0;
onChanged();
return this;
}
private int challengeQuestChallengeId_ ;
/**
* optional uint32 challenge_quest_challenge_id = 5;
*/
public boolean hasChallengeQuestChallengeId() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional uint32 challenge_quest_challenge_id = 5;
*/
public int getChallengeQuestChallengeId() {
return challengeQuestChallengeId_;
}
/**
* optional uint32 challenge_quest_challenge_id = 5;
*/
public Builder setChallengeQuestChallengeId(int value) {
bitField0_ |= 0x00000010;
challengeQuestChallengeId_ = value;
onChanged();
return this;
}
/**
* optional uint32 challenge_quest_challenge_id = 5;
*/
public Builder clearChallengeQuestChallengeId() {
bitField0_ = (bitField0_ & ~0x00000010);
challengeQuestChallengeId_ = 0;
onChanged();
return this;
}
private boolean challengeCompleted_ ;
/**
* optional bool challenge_completed = 6;
*/
public boolean hasChallengeCompleted() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional bool challenge_completed = 6;
*/
public boolean getChallengeCompleted() {
return challengeCompleted_;
}
/**
* optional bool challenge_completed = 6;
*/
public Builder setChallengeCompleted(boolean value) {
bitField0_ |= 0x00000020;
challengeCompleted_ = value;
onChanged();
return this;
}
/**
* optional bool challenge_completed = 6;
*/
public Builder clearChallengeCompleted() {
bitField0_ = (bitField0_ & ~0x00000020);
challengeCompleted_ = false;
onChanged();
return this;
}
private int challengeRankCompleted_ ;
/**
* optional uint32 challenge_rank_completed = 7;
*/
public boolean hasChallengeRankCompleted() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional uint32 challenge_rank_completed = 7;
*/
public int getChallengeRankCompleted() {
return challengeRankCompleted_;
}
/**
* optional uint32 challenge_rank_completed = 7;
*/
public Builder setChallengeRankCompleted(int value) {
bitField0_ |= 0x00000040;
challengeRankCompleted_ = value;
onChanged();
return this;
}
/**
* optional uint32 challenge_rank_completed = 7;
*/
public Builder clearChallengeRankCompleted() {
bitField0_ = (bitField0_ & ~0x00000040);
challengeRankCompleted_ = 0;
onChanged();
return this;
}
private int challengeRankPreviouslyCompleted_ ;
/**
* optional uint32 challenge_rank_previously_completed = 8;
*/
public boolean hasChallengeRankPreviouslyCompleted() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional uint32 challenge_rank_previously_completed = 8;
*/
public int getChallengeRankPreviouslyCompleted() {
return challengeRankPreviouslyCompleted_;
}
/**
* optional uint32 challenge_rank_previously_completed = 8;
*/
public Builder setChallengeRankPreviouslyCompleted(int value) {
bitField0_ |= 0x00000080;
challengeRankPreviouslyCompleted_ = value;
onChanged();
return this;
}
/**
* optional uint32 challenge_rank_previously_completed = 8;
*/
public Builder clearChallengeRankPreviouslyCompleted() {
bitField0_ = (bitField0_ & ~0x00000080);
challengeRankPreviouslyCompleted_ = 0;
onChanged();
return this;
}
private boolean eventOwned_ ;
/**
* optional bool event_owned = 9;
*/
public boolean hasEventOwned() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional bool event_owned = 9;
*/
public boolean getEventOwned() {
return eventOwned_;
}
/**
* optional bool event_owned = 9;
*/
public Builder setEventOwned(boolean value) {
bitField0_ |= 0x00000100;
eventOwned_ = value;
onChanged();
return this;
}
/**
* optional bool event_owned = 9;
*/
public Builder clearEventOwned() {
bitField0_ = (bitField0_ & ~0x00000100);
eventOwned_ = false;
onChanged();
return this;
}
private java.util.List subChallengesWithProgress_ =
java.util.Collections.emptyList();
private void ensureSubChallengesWithProgressIsMutable() {
if (!((bitField0_ & 0x00000200) == 0x00000200)) {
subChallengesWithProgress_ = new java.util.ArrayList(subChallengesWithProgress_);
bitField0_ |= 0x00000200;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge.Builder, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallengeOrBuilder> subChallengesWithProgressBuilder_;
/**
* repeated .CDOTAMatchMetadata.Team.SubChallenge sub_challenges_with_progress = 10;
*/
public java.util.List getSubChallengesWithProgressList() {
if (subChallengesWithProgressBuilder_ == null) {
return java.util.Collections.unmodifiableList(subChallengesWithProgress_);
} else {
return subChallengesWithProgressBuilder_.getMessageList();
}
}
/**
* repeated .CDOTAMatchMetadata.Team.SubChallenge sub_challenges_with_progress = 10;
*/
public int getSubChallengesWithProgressCount() {
if (subChallengesWithProgressBuilder_ == null) {
return subChallengesWithProgress_.size();
} else {
return subChallengesWithProgressBuilder_.getCount();
}
}
/**
* repeated .CDOTAMatchMetadata.Team.SubChallenge sub_challenges_with_progress = 10;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge getSubChallengesWithProgress(int index) {
if (subChallengesWithProgressBuilder_ == null) {
return subChallengesWithProgress_.get(index);
} else {
return subChallengesWithProgressBuilder_.getMessage(index);
}
}
/**
* repeated .CDOTAMatchMetadata.Team.SubChallenge sub_challenges_with_progress = 10;
*/
public Builder setSubChallengesWithProgress(
int index, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge value) {
if (subChallengesWithProgressBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSubChallengesWithProgressIsMutable();
subChallengesWithProgress_.set(index, value);
onChanged();
} else {
subChallengesWithProgressBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.SubChallenge sub_challenges_with_progress = 10;
*/
public Builder setSubChallengesWithProgress(
int index, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge.Builder builderForValue) {
if (subChallengesWithProgressBuilder_ == null) {
ensureSubChallengesWithProgressIsMutable();
subChallengesWithProgress_.set(index, builderForValue.build());
onChanged();
} else {
subChallengesWithProgressBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.SubChallenge sub_challenges_with_progress = 10;
*/
public Builder addSubChallengesWithProgress(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge value) {
if (subChallengesWithProgressBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSubChallengesWithProgressIsMutable();
subChallengesWithProgress_.add(value);
onChanged();
} else {
subChallengesWithProgressBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.SubChallenge sub_challenges_with_progress = 10;
*/
public Builder addSubChallengesWithProgress(
int index, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge value) {
if (subChallengesWithProgressBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSubChallengesWithProgressIsMutable();
subChallengesWithProgress_.add(index, value);
onChanged();
} else {
subChallengesWithProgressBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.SubChallenge sub_challenges_with_progress = 10;
*/
public Builder addSubChallengesWithProgress(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge.Builder builderForValue) {
if (subChallengesWithProgressBuilder_ == null) {
ensureSubChallengesWithProgressIsMutable();
subChallengesWithProgress_.add(builderForValue.build());
onChanged();
} else {
subChallengesWithProgressBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.SubChallenge sub_challenges_with_progress = 10;
*/
public Builder addSubChallengesWithProgress(
int index, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge.Builder builderForValue) {
if (subChallengesWithProgressBuilder_ == null) {
ensureSubChallengesWithProgressIsMutable();
subChallengesWithProgress_.add(index, builderForValue.build());
onChanged();
} else {
subChallengesWithProgressBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.SubChallenge sub_challenges_with_progress = 10;
*/
public Builder addAllSubChallengesWithProgress(
java.lang.Iterable extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge> values) {
if (subChallengesWithProgressBuilder_ == null) {
ensureSubChallengesWithProgressIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, subChallengesWithProgress_);
onChanged();
} else {
subChallengesWithProgressBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.SubChallenge sub_challenges_with_progress = 10;
*/
public Builder clearSubChallengesWithProgress() {
if (subChallengesWithProgressBuilder_ == null) {
subChallengesWithProgress_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
} else {
subChallengesWithProgressBuilder_.clear();
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.SubChallenge sub_challenges_with_progress = 10;
*/
public Builder removeSubChallengesWithProgress(int index) {
if (subChallengesWithProgressBuilder_ == null) {
ensureSubChallengesWithProgressIsMutable();
subChallengesWithProgress_.remove(index);
onChanged();
} else {
subChallengesWithProgressBuilder_.remove(index);
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.SubChallenge sub_challenges_with_progress = 10;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge.Builder getSubChallengesWithProgressBuilder(
int index) {
return getSubChallengesWithProgressFieldBuilder().getBuilder(index);
}
/**
* repeated .CDOTAMatchMetadata.Team.SubChallenge sub_challenges_with_progress = 10;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallengeOrBuilder getSubChallengesWithProgressOrBuilder(
int index) {
if (subChallengesWithProgressBuilder_ == null) {
return subChallengesWithProgress_.get(index); } else {
return subChallengesWithProgressBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .CDOTAMatchMetadata.Team.SubChallenge sub_challenges_with_progress = 10;
*/
public java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallengeOrBuilder>
getSubChallengesWithProgressOrBuilderList() {
if (subChallengesWithProgressBuilder_ != null) {
return subChallengesWithProgressBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(subChallengesWithProgress_);
}
}
/**
* repeated .CDOTAMatchMetadata.Team.SubChallenge sub_challenges_with_progress = 10;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge.Builder addSubChallengesWithProgressBuilder() {
return getSubChallengesWithProgressFieldBuilder().addBuilder(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge.getDefaultInstance());
}
/**
* repeated .CDOTAMatchMetadata.Team.SubChallenge sub_challenges_with_progress = 10;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge.Builder addSubChallengesWithProgressBuilder(
int index) {
return getSubChallengesWithProgressFieldBuilder().addBuilder(
index, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge.getDefaultInstance());
}
/**
* repeated .CDOTAMatchMetadata.Team.SubChallenge sub_challenges_with_progress = 10;
*/
public java.util.List
getSubChallengesWithProgressBuilderList() {
return getSubChallengesWithProgressFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge.Builder, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallengeOrBuilder>
getSubChallengesWithProgressFieldBuilder() {
if (subChallengesWithProgressBuilder_ == null) {
subChallengesWithProgressBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallenge.Builder, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.SubChallengeOrBuilder>(
subChallengesWithProgress_,
((bitField0_ & 0x00000200) == 0x00000200),
getParentForChildren(),
isClean());
subChallengesWithProgress_ = null;
}
return subChallengesWithProgressBuilder_;
}
private int wagerWinnings_ ;
/**
* optional uint32 wager_winnings = 11;
*/
public boolean hasWagerWinnings() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* optional uint32 wager_winnings = 11;
*/
public int getWagerWinnings() {
return wagerWinnings_;
}
/**
* optional uint32 wager_winnings = 11;
*/
public Builder setWagerWinnings(int value) {
bitField0_ |= 0x00000400;
wagerWinnings_ = value;
onChanged();
return this;
}
/**
* optional uint32 wager_winnings = 11;
*/
public Builder clearWagerWinnings() {
bitField0_ = (bitField0_ & ~0x00000400);
wagerWinnings_ = 0;
onChanged();
return this;
}
private boolean cavernChallengeActive_ ;
/**
* optional bool cavern_challenge_active = 12;
*/
public boolean hasCavernChallengeActive() {
return ((bitField0_ & 0x00000800) == 0x00000800);
}
/**
* optional bool cavern_challenge_active = 12;
*/
public boolean getCavernChallengeActive() {
return cavernChallengeActive_;
}
/**
* optional bool cavern_challenge_active = 12;
*/
public Builder setCavernChallengeActive(boolean value) {
bitField0_ |= 0x00000800;
cavernChallengeActive_ = value;
onChanged();
return this;
}
/**
* optional bool cavern_challenge_active = 12;
*/
public Builder clearCavernChallengeActive() {
bitField0_ = (bitField0_ & ~0x00000800);
cavernChallengeActive_ = false;
onChanged();
return this;
}
private int cavernChallengeWinnings_ ;
/**
* optional uint32 cavern_challenge_winnings = 13;
*/
public boolean hasCavernChallengeWinnings() {
return ((bitField0_ & 0x00001000) == 0x00001000);
}
/**
* optional uint32 cavern_challenge_winnings = 13;
*/
public int getCavernChallengeWinnings() {
return cavernChallengeWinnings_;
}
/**
* optional uint32 cavern_challenge_winnings = 13;
*/
public Builder setCavernChallengeWinnings(int value) {
bitField0_ |= 0x00001000;
cavernChallengeWinnings_ = value;
onChanged();
return this;
}
/**
* optional uint32 cavern_challenge_winnings = 13;
*/
public Builder clearCavernChallengeWinnings() {
bitField0_ = (bitField0_ & ~0x00001000);
cavernChallengeWinnings_ = 0;
onChanged();
return this;
}
private int amountWagered_ ;
/**
* optional uint32 amount_wagered = 14;
*/
public boolean hasAmountWagered() {
return ((bitField0_ & 0x00002000) == 0x00002000);
}
/**
* optional uint32 amount_wagered = 14;
*/
public int getAmountWagered() {
return amountWagered_;
}
/**
* optional uint32 amount_wagered = 14;
*/
public Builder setAmountWagered(int value) {
bitField0_ |= 0x00002000;
amountWagered_ = value;
onChanged();
return this;
}
/**
* optional uint32 amount_wagered = 14;
*/
public Builder clearAmountWagered() {
bitField0_ = (bitField0_ & ~0x00002000);
amountWagered_ = 0;
onChanged();
return this;
}
private int periodicPointAdjustments_ ;
/**
* optional uint32 periodic_point_adjustments = 16;
*/
public boolean hasPeriodicPointAdjustments() {
return ((bitField0_ & 0x00004000) == 0x00004000);
}
/**
* optional uint32 periodic_point_adjustments = 16;
*/
public int getPeriodicPointAdjustments() {
return periodicPointAdjustments_;
}
/**
* optional uint32 periodic_point_adjustments = 16;
*/
public Builder setPeriodicPointAdjustments(int value) {
bitField0_ |= 0x00004000;
periodicPointAdjustments_ = value;
onChanged();
return this;
}
/**
* optional uint32 periodic_point_adjustments = 16;
*/
public Builder clearPeriodicPointAdjustments() {
bitField0_ = (bitField0_ & ~0x00004000);
periodicPointAdjustments_ = 0;
onChanged();
return this;
}
private java.util.List cavernChallengeMapResults_ =
java.util.Collections.emptyList();
private void ensureCavernChallengeMapResultsIsMutable() {
if (!((bitField0_ & 0x00008000) == 0x00008000)) {
cavernChallengeMapResults_ = new java.util.ArrayList(cavernChallengeMapResults_);
bitField0_ |= 0x00008000;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult.Builder, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResultOrBuilder> cavernChallengeMapResultsBuilder_;
/**
* repeated .CDOTAMatchMetadata.Team.CavernChallengeResult cavern_challenge_map_results = 17;
*/
public java.util.List getCavernChallengeMapResultsList() {
if (cavernChallengeMapResultsBuilder_ == null) {
return java.util.Collections.unmodifiableList(cavernChallengeMapResults_);
} else {
return cavernChallengeMapResultsBuilder_.getMessageList();
}
}
/**
* repeated .CDOTAMatchMetadata.Team.CavernChallengeResult cavern_challenge_map_results = 17;
*/
public int getCavernChallengeMapResultsCount() {
if (cavernChallengeMapResultsBuilder_ == null) {
return cavernChallengeMapResults_.size();
} else {
return cavernChallengeMapResultsBuilder_.getCount();
}
}
/**
* repeated .CDOTAMatchMetadata.Team.CavernChallengeResult cavern_challenge_map_results = 17;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult getCavernChallengeMapResults(int index) {
if (cavernChallengeMapResultsBuilder_ == null) {
return cavernChallengeMapResults_.get(index);
} else {
return cavernChallengeMapResultsBuilder_.getMessage(index);
}
}
/**
* repeated .CDOTAMatchMetadata.Team.CavernChallengeResult cavern_challenge_map_results = 17;
*/
public Builder setCavernChallengeMapResults(
int index, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult value) {
if (cavernChallengeMapResultsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCavernChallengeMapResultsIsMutable();
cavernChallengeMapResults_.set(index, value);
onChanged();
} else {
cavernChallengeMapResultsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.CavernChallengeResult cavern_challenge_map_results = 17;
*/
public Builder setCavernChallengeMapResults(
int index, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult.Builder builderForValue) {
if (cavernChallengeMapResultsBuilder_ == null) {
ensureCavernChallengeMapResultsIsMutable();
cavernChallengeMapResults_.set(index, builderForValue.build());
onChanged();
} else {
cavernChallengeMapResultsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.CavernChallengeResult cavern_challenge_map_results = 17;
*/
public Builder addCavernChallengeMapResults(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult value) {
if (cavernChallengeMapResultsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCavernChallengeMapResultsIsMutable();
cavernChallengeMapResults_.add(value);
onChanged();
} else {
cavernChallengeMapResultsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.CavernChallengeResult cavern_challenge_map_results = 17;
*/
public Builder addCavernChallengeMapResults(
int index, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult value) {
if (cavernChallengeMapResultsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCavernChallengeMapResultsIsMutable();
cavernChallengeMapResults_.add(index, value);
onChanged();
} else {
cavernChallengeMapResultsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.CavernChallengeResult cavern_challenge_map_results = 17;
*/
public Builder addCavernChallengeMapResults(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult.Builder builderForValue) {
if (cavernChallengeMapResultsBuilder_ == null) {
ensureCavernChallengeMapResultsIsMutable();
cavernChallengeMapResults_.add(builderForValue.build());
onChanged();
} else {
cavernChallengeMapResultsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.CavernChallengeResult cavern_challenge_map_results = 17;
*/
public Builder addCavernChallengeMapResults(
int index, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult.Builder builderForValue) {
if (cavernChallengeMapResultsBuilder_ == null) {
ensureCavernChallengeMapResultsIsMutable();
cavernChallengeMapResults_.add(index, builderForValue.build());
onChanged();
} else {
cavernChallengeMapResultsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.CavernChallengeResult cavern_challenge_map_results = 17;
*/
public Builder addAllCavernChallengeMapResults(
java.lang.Iterable extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult> values) {
if (cavernChallengeMapResultsBuilder_ == null) {
ensureCavernChallengeMapResultsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, cavernChallengeMapResults_);
onChanged();
} else {
cavernChallengeMapResultsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.CavernChallengeResult cavern_challenge_map_results = 17;
*/
public Builder clearCavernChallengeMapResults() {
if (cavernChallengeMapResultsBuilder_ == null) {
cavernChallengeMapResults_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00008000);
onChanged();
} else {
cavernChallengeMapResultsBuilder_.clear();
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.CavernChallengeResult cavern_challenge_map_results = 17;
*/
public Builder removeCavernChallengeMapResults(int index) {
if (cavernChallengeMapResultsBuilder_ == null) {
ensureCavernChallengeMapResultsIsMutable();
cavernChallengeMapResults_.remove(index);
onChanged();
} else {
cavernChallengeMapResultsBuilder_.remove(index);
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.CavernChallengeResult cavern_challenge_map_results = 17;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult.Builder getCavernChallengeMapResultsBuilder(
int index) {
return getCavernChallengeMapResultsFieldBuilder().getBuilder(index);
}
/**
* repeated .CDOTAMatchMetadata.Team.CavernChallengeResult cavern_challenge_map_results = 17;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResultOrBuilder getCavernChallengeMapResultsOrBuilder(
int index) {
if (cavernChallengeMapResultsBuilder_ == null) {
return cavernChallengeMapResults_.get(index); } else {
return cavernChallengeMapResultsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .CDOTAMatchMetadata.Team.CavernChallengeResult cavern_challenge_map_results = 17;
*/
public java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResultOrBuilder>
getCavernChallengeMapResultsOrBuilderList() {
if (cavernChallengeMapResultsBuilder_ != null) {
return cavernChallengeMapResultsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(cavernChallengeMapResults_);
}
}
/**
* repeated .CDOTAMatchMetadata.Team.CavernChallengeResult cavern_challenge_map_results = 17;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult.Builder addCavernChallengeMapResultsBuilder() {
return getCavernChallengeMapResultsFieldBuilder().addBuilder(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult.getDefaultInstance());
}
/**
* repeated .CDOTAMatchMetadata.Team.CavernChallengeResult cavern_challenge_map_results = 17;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult.Builder addCavernChallengeMapResultsBuilder(
int index) {
return getCavernChallengeMapResultsFieldBuilder().addBuilder(
index, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult.getDefaultInstance());
}
/**
* repeated .CDOTAMatchMetadata.Team.CavernChallengeResult cavern_challenge_map_results = 17;
*/
public java.util.List
getCavernChallengeMapResultsBuilderList() {
return getCavernChallengeMapResultsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult.Builder, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResultOrBuilder>
getCavernChallengeMapResultsFieldBuilder() {
if (cavernChallengeMapResultsBuilder_ == null) {
cavernChallengeMapResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResult.Builder, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CavernChallengeResultOrBuilder>(
cavernChallengeMapResults_,
((bitField0_ & 0x00008000) == 0x00008000),
getParentForChildren(),
isClean());
cavernChallengeMapResults_ = null;
}
return cavernChallengeMapResultsBuilder_;
}
private int cavernChallengePlusShardWinnings_ ;
/**
* optional uint32 cavern_challenge_plus_shard_winnings = 18;
*/
public boolean hasCavernChallengePlusShardWinnings() {
return ((bitField0_ & 0x00010000) == 0x00010000);
}
/**
* optional uint32 cavern_challenge_plus_shard_winnings = 18;
*/
public int getCavernChallengePlusShardWinnings() {
return cavernChallengePlusShardWinnings_;
}
/**
* optional uint32 cavern_challenge_plus_shard_winnings = 18;
*/
public Builder setCavernChallengePlusShardWinnings(int value) {
bitField0_ |= 0x00010000;
cavernChallengePlusShardWinnings_ = value;
onChanged();
return this;
}
/**
* optional uint32 cavern_challenge_plus_shard_winnings = 18;
*/
public Builder clearCavernChallengePlusShardWinnings() {
bitField0_ = (bitField0_ & ~0x00010000);
cavernChallengePlusShardWinnings_ = 0;
onChanged();
return this;
}
private java.util.List actionsGranted_ =
java.util.Collections.emptyList();
private void ensureActionsGrantedIsMutable() {
if (!((bitField0_ & 0x00020000) == 0x00020000)) {
actionsGranted_ = new java.util.ArrayList(actionsGranted_);
bitField0_ |= 0x00020000;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant.Builder, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrantOrBuilder> actionsGrantedBuilder_;
/**
* repeated .CDOTAMatchMetadata.Team.ActionGrant actions_granted = 19;
*/
public java.util.List getActionsGrantedList() {
if (actionsGrantedBuilder_ == null) {
return java.util.Collections.unmodifiableList(actionsGranted_);
} else {
return actionsGrantedBuilder_.getMessageList();
}
}
/**
* repeated .CDOTAMatchMetadata.Team.ActionGrant actions_granted = 19;
*/
public int getActionsGrantedCount() {
if (actionsGrantedBuilder_ == null) {
return actionsGranted_.size();
} else {
return actionsGrantedBuilder_.getCount();
}
}
/**
* repeated .CDOTAMatchMetadata.Team.ActionGrant actions_granted = 19;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant getActionsGranted(int index) {
if (actionsGrantedBuilder_ == null) {
return actionsGranted_.get(index);
} else {
return actionsGrantedBuilder_.getMessage(index);
}
}
/**
* repeated .CDOTAMatchMetadata.Team.ActionGrant actions_granted = 19;
*/
public Builder setActionsGranted(
int index, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant value) {
if (actionsGrantedBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureActionsGrantedIsMutable();
actionsGranted_.set(index, value);
onChanged();
} else {
actionsGrantedBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.ActionGrant actions_granted = 19;
*/
public Builder setActionsGranted(
int index, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant.Builder builderForValue) {
if (actionsGrantedBuilder_ == null) {
ensureActionsGrantedIsMutable();
actionsGranted_.set(index, builderForValue.build());
onChanged();
} else {
actionsGrantedBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.ActionGrant actions_granted = 19;
*/
public Builder addActionsGranted(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant value) {
if (actionsGrantedBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureActionsGrantedIsMutable();
actionsGranted_.add(value);
onChanged();
} else {
actionsGrantedBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.ActionGrant actions_granted = 19;
*/
public Builder addActionsGranted(
int index, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant value) {
if (actionsGrantedBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureActionsGrantedIsMutable();
actionsGranted_.add(index, value);
onChanged();
} else {
actionsGrantedBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.ActionGrant actions_granted = 19;
*/
public Builder addActionsGranted(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant.Builder builderForValue) {
if (actionsGrantedBuilder_ == null) {
ensureActionsGrantedIsMutable();
actionsGranted_.add(builderForValue.build());
onChanged();
} else {
actionsGrantedBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.ActionGrant actions_granted = 19;
*/
public Builder addActionsGranted(
int index, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant.Builder builderForValue) {
if (actionsGrantedBuilder_ == null) {
ensureActionsGrantedIsMutable();
actionsGranted_.add(index, builderForValue.build());
onChanged();
} else {
actionsGrantedBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.ActionGrant actions_granted = 19;
*/
public Builder addAllActionsGranted(
java.lang.Iterable extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant> values) {
if (actionsGrantedBuilder_ == null) {
ensureActionsGrantedIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, actionsGranted_);
onChanged();
} else {
actionsGrantedBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.ActionGrant actions_granted = 19;
*/
public Builder clearActionsGranted() {
if (actionsGrantedBuilder_ == null) {
actionsGranted_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00020000);
onChanged();
} else {
actionsGrantedBuilder_.clear();
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.ActionGrant actions_granted = 19;
*/
public Builder removeActionsGranted(int index) {
if (actionsGrantedBuilder_ == null) {
ensureActionsGrantedIsMutable();
actionsGranted_.remove(index);
onChanged();
} else {
actionsGrantedBuilder_.remove(index);
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.ActionGrant actions_granted = 19;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant.Builder getActionsGrantedBuilder(
int index) {
return getActionsGrantedFieldBuilder().getBuilder(index);
}
/**
* repeated .CDOTAMatchMetadata.Team.ActionGrant actions_granted = 19;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrantOrBuilder getActionsGrantedOrBuilder(
int index) {
if (actionsGrantedBuilder_ == null) {
return actionsGranted_.get(index); } else {
return actionsGrantedBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .CDOTAMatchMetadata.Team.ActionGrant actions_granted = 19;
*/
public java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrantOrBuilder>
getActionsGrantedOrBuilderList() {
if (actionsGrantedBuilder_ != null) {
return actionsGrantedBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(actionsGranted_);
}
}
/**
* repeated .CDOTAMatchMetadata.Team.ActionGrant actions_granted = 19;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant.Builder addActionsGrantedBuilder() {
return getActionsGrantedFieldBuilder().addBuilder(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant.getDefaultInstance());
}
/**
* repeated .CDOTAMatchMetadata.Team.ActionGrant actions_granted = 19;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant.Builder addActionsGrantedBuilder(
int index) {
return getActionsGrantedFieldBuilder().addBuilder(
index, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant.getDefaultInstance());
}
/**
* repeated .CDOTAMatchMetadata.Team.ActionGrant actions_granted = 19;
*/
public java.util.List
getActionsGrantedBuilderList() {
return getActionsGrantedFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant.Builder, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrantOrBuilder>
getActionsGrantedFieldBuilder() {
if (actionsGrantedBuilder_ == null) {
actionsGrantedBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrant.Builder, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ActionGrantOrBuilder>(
actionsGranted_,
((bitField0_ & 0x00020000) == 0x00020000),
getParentForChildren(),
isClean());
actionsGranted_ = null;
}
return actionsGrantedBuilder_;
}
private int cavernCrawlMapVariant_ = 255;
/**
* optional uint32 cavern_crawl_map_variant = 20 [default = 255];
*/
public boolean hasCavernCrawlMapVariant() {
return ((bitField0_ & 0x00040000) == 0x00040000);
}
/**
* optional uint32 cavern_crawl_map_variant = 20 [default = 255];
*/
public int getCavernCrawlMapVariant() {
return cavernCrawlMapVariant_;
}
/**
* optional uint32 cavern_crawl_map_variant = 20 [default = 255];
*/
public Builder setCavernCrawlMapVariant(int value) {
bitField0_ |= 0x00040000;
cavernCrawlMapVariant_ = value;
onChanged();
return this;
}
/**
* optional uint32 cavern_crawl_map_variant = 20 [default = 255];
*/
public Builder clearCavernCrawlMapVariant() {
bitField0_ = (bitField0_ & ~0x00040000);
cavernCrawlMapVariant_ = 255;
onChanged();
return this;
}
private int teamWagerBonusPct_ ;
/**
* optional uint32 team_wager_bonus_pct = 21;
*/
public boolean hasTeamWagerBonusPct() {
return ((bitField0_ & 0x00080000) == 0x00080000);
}
/**
* optional uint32 team_wager_bonus_pct = 21;
*/
public int getTeamWagerBonusPct() {
return teamWagerBonusPct_;
}
/**
* optional uint32 team_wager_bonus_pct = 21;
*/
public Builder setTeamWagerBonusPct(int value) {
bitField0_ |= 0x00080000;
teamWagerBonusPct_ = value;
onChanged();
return this;
}
/**
* optional uint32 team_wager_bonus_pct = 21;
*/
public Builder clearTeamWagerBonusPct() {
bitField0_ = (bitField0_ & ~0x00080000);
teamWagerBonusPct_ = 0;
onChanged();
return this;
}
private int wagerStreakPct_ ;
/**
* optional uint32 wager_streak_pct = 22;
*/
public boolean hasWagerStreakPct() {
return ((bitField0_ & 0x00100000) == 0x00100000);
}
/**
* optional uint32 wager_streak_pct = 22;
*/
public int getWagerStreakPct() {
return wagerStreakPct_;
}
/**
* optional uint32 wager_streak_pct = 22;
*/
public Builder setWagerStreakPct(int value) {
bitField0_ |= 0x00100000;
wagerStreakPct_ = value;
onChanged();
return this;
}
/**
* optional uint32 wager_streak_pct = 22;
*/
public Builder clearWagerStreakPct() {
bitField0_ = (bitField0_ & ~0x00100000);
wagerStreakPct_ = 0;
onChanged();
return this;
}
private java.util.List candyPointsGranted_ =
java.util.Collections.emptyList();
private void ensureCandyPointsGrantedIsMutable() {
if (!((bitField0_ & 0x00200000) == 0x00200000)) {
candyPointsGranted_ = new java.util.ArrayList(candyPointsGranted_);
bitField0_ |= 0x00200000;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant.Builder, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrantOrBuilder> candyPointsGrantedBuilder_;
/**
* repeated .CDOTAMatchMetadata.Team.CandyGrant candy_points_granted = 23;
*/
public java.util.List getCandyPointsGrantedList() {
if (candyPointsGrantedBuilder_ == null) {
return java.util.Collections.unmodifiableList(candyPointsGranted_);
} else {
return candyPointsGrantedBuilder_.getMessageList();
}
}
/**
* repeated .CDOTAMatchMetadata.Team.CandyGrant candy_points_granted = 23;
*/
public int getCandyPointsGrantedCount() {
if (candyPointsGrantedBuilder_ == null) {
return candyPointsGranted_.size();
} else {
return candyPointsGrantedBuilder_.getCount();
}
}
/**
* repeated .CDOTAMatchMetadata.Team.CandyGrant candy_points_granted = 23;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant getCandyPointsGranted(int index) {
if (candyPointsGrantedBuilder_ == null) {
return candyPointsGranted_.get(index);
} else {
return candyPointsGrantedBuilder_.getMessage(index);
}
}
/**
* repeated .CDOTAMatchMetadata.Team.CandyGrant candy_points_granted = 23;
*/
public Builder setCandyPointsGranted(
int index, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant value) {
if (candyPointsGrantedBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCandyPointsGrantedIsMutable();
candyPointsGranted_.set(index, value);
onChanged();
} else {
candyPointsGrantedBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.CandyGrant candy_points_granted = 23;
*/
public Builder setCandyPointsGranted(
int index, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant.Builder builderForValue) {
if (candyPointsGrantedBuilder_ == null) {
ensureCandyPointsGrantedIsMutable();
candyPointsGranted_.set(index, builderForValue.build());
onChanged();
} else {
candyPointsGrantedBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.CandyGrant candy_points_granted = 23;
*/
public Builder addCandyPointsGranted(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant value) {
if (candyPointsGrantedBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCandyPointsGrantedIsMutable();
candyPointsGranted_.add(value);
onChanged();
} else {
candyPointsGrantedBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.CandyGrant candy_points_granted = 23;
*/
public Builder addCandyPointsGranted(
int index, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant value) {
if (candyPointsGrantedBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCandyPointsGrantedIsMutable();
candyPointsGranted_.add(index, value);
onChanged();
} else {
candyPointsGrantedBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.CandyGrant candy_points_granted = 23;
*/
public Builder addCandyPointsGranted(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant.Builder builderForValue) {
if (candyPointsGrantedBuilder_ == null) {
ensureCandyPointsGrantedIsMutable();
candyPointsGranted_.add(builderForValue.build());
onChanged();
} else {
candyPointsGrantedBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.CandyGrant candy_points_granted = 23;
*/
public Builder addCandyPointsGranted(
int index, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant.Builder builderForValue) {
if (candyPointsGrantedBuilder_ == null) {
ensureCandyPointsGrantedIsMutable();
candyPointsGranted_.add(index, builderForValue.build());
onChanged();
} else {
candyPointsGrantedBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.CandyGrant candy_points_granted = 23;
*/
public Builder addAllCandyPointsGranted(
java.lang.Iterable extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant> values) {
if (candyPointsGrantedBuilder_ == null) {
ensureCandyPointsGrantedIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, candyPointsGranted_);
onChanged();
} else {
candyPointsGrantedBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.CandyGrant candy_points_granted = 23;
*/
public Builder clearCandyPointsGranted() {
if (candyPointsGrantedBuilder_ == null) {
candyPointsGranted_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00200000);
onChanged();
} else {
candyPointsGrantedBuilder_.clear();
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.CandyGrant candy_points_granted = 23;
*/
public Builder removeCandyPointsGranted(int index) {
if (candyPointsGrantedBuilder_ == null) {
ensureCandyPointsGrantedIsMutable();
candyPointsGranted_.remove(index);
onChanged();
} else {
candyPointsGrantedBuilder_.remove(index);
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.CandyGrant candy_points_granted = 23;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant.Builder getCandyPointsGrantedBuilder(
int index) {
return getCandyPointsGrantedFieldBuilder().getBuilder(index);
}
/**
* repeated .CDOTAMatchMetadata.Team.CandyGrant candy_points_granted = 23;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrantOrBuilder getCandyPointsGrantedOrBuilder(
int index) {
if (candyPointsGrantedBuilder_ == null) {
return candyPointsGranted_.get(index); } else {
return candyPointsGrantedBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .CDOTAMatchMetadata.Team.CandyGrant candy_points_granted = 23;
*/
public java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrantOrBuilder>
getCandyPointsGrantedOrBuilderList() {
if (candyPointsGrantedBuilder_ != null) {
return candyPointsGrantedBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(candyPointsGranted_);
}
}
/**
* repeated .CDOTAMatchMetadata.Team.CandyGrant candy_points_granted = 23;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant.Builder addCandyPointsGrantedBuilder() {
return getCandyPointsGrantedFieldBuilder().addBuilder(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant.getDefaultInstance());
}
/**
* repeated .CDOTAMatchMetadata.Team.CandyGrant candy_points_granted = 23;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant.Builder addCandyPointsGrantedBuilder(
int index) {
return getCandyPointsGrantedFieldBuilder().addBuilder(
index, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant.getDefaultInstance());
}
/**
* repeated .CDOTAMatchMetadata.Team.CandyGrant candy_points_granted = 23;
*/
public java.util.List
getCandyPointsGrantedBuilderList() {
return getCandyPointsGrantedFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant.Builder, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrantOrBuilder>
getCandyPointsGrantedFieldBuilder() {
if (candyPointsGrantedBuilder_ == null) {
candyPointsGrantedBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrant.Builder, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.CandyGrantOrBuilder>(
candyPointsGranted_,
((bitField0_ & 0x00200000) == 0x00200000),
getParentForChildren(),
isClean());
candyPointsGranted_ = null;
}
return candyPointsGrantedBuilder_;
}
private int activeSeasonId_ ;
/**
* optional uint32 active_season_id = 24;
*/
public boolean hasActiveSeasonId() {
return ((bitField0_ & 0x00400000) == 0x00400000);
}
/**
* optional uint32 active_season_id = 24;
*/
public int getActiveSeasonId() {
return activeSeasonId_;
}
/**
* optional uint32 active_season_id = 24;
*/
public Builder setActiveSeasonId(int value) {
bitField0_ |= 0x00400000;
activeSeasonId_ = value;
onChanged();
return this;
}
/**
* optional uint32 active_season_id = 24;
*/
public Builder clearActiveSeasonId() {
bitField0_ = (bitField0_ & ~0x00400000);
activeSeasonId_ = 0;
onChanged();
return this;
}
private boolean cavernCrawlHalfCredit_ ;
/**
* optional bool cavern_crawl_half_credit = 25;
*/
public boolean hasCavernCrawlHalfCredit() {
return ((bitField0_ & 0x00800000) == 0x00800000);
}
/**
* optional bool cavern_crawl_half_credit = 25;
*/
public boolean getCavernCrawlHalfCredit() {
return cavernCrawlHalfCredit_;
}
/**
* optional bool cavern_crawl_half_credit = 25;
*/
public Builder setCavernCrawlHalfCredit(boolean value) {
bitField0_ |= 0x00800000;
cavernCrawlHalfCredit_ = value;
onChanged();
return this;
}
/**
* optional bool cavern_crawl_half_credit = 25;
*/
public Builder clearCavernCrawlHalfCredit() {
bitField0_ = (bitField0_ & ~0x00800000);
cavernCrawlHalfCredit_ = false;
onChanged();
return this;
}
private java.util.List periodicResources_ =
java.util.Collections.emptyList();
private void ensurePeriodicResourcesIsMutable() {
if (!((bitField0_ & 0x01000000) == 0x01000000)) {
periodicResources_ = new java.util.ArrayList(periodicResources_);
bitField0_ |= 0x01000000;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData.Builder, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceDataOrBuilder> periodicResourcesBuilder_;
/**
* repeated .CDOTAMatchMetadata.Team.PeriodicResourceData periodic_resources = 26;
*/
public java.util.List getPeriodicResourcesList() {
if (periodicResourcesBuilder_ == null) {
return java.util.Collections.unmodifiableList(periodicResources_);
} else {
return periodicResourcesBuilder_.getMessageList();
}
}
/**
* repeated .CDOTAMatchMetadata.Team.PeriodicResourceData periodic_resources = 26;
*/
public int getPeriodicResourcesCount() {
if (periodicResourcesBuilder_ == null) {
return periodicResources_.size();
} else {
return periodicResourcesBuilder_.getCount();
}
}
/**
* repeated .CDOTAMatchMetadata.Team.PeriodicResourceData periodic_resources = 26;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData getPeriodicResources(int index) {
if (periodicResourcesBuilder_ == null) {
return periodicResources_.get(index);
} else {
return periodicResourcesBuilder_.getMessage(index);
}
}
/**
* repeated .CDOTAMatchMetadata.Team.PeriodicResourceData periodic_resources = 26;
*/
public Builder setPeriodicResources(
int index, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData value) {
if (periodicResourcesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePeriodicResourcesIsMutable();
periodicResources_.set(index, value);
onChanged();
} else {
periodicResourcesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.PeriodicResourceData periodic_resources = 26;
*/
public Builder setPeriodicResources(
int index, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData.Builder builderForValue) {
if (periodicResourcesBuilder_ == null) {
ensurePeriodicResourcesIsMutable();
periodicResources_.set(index, builderForValue.build());
onChanged();
} else {
periodicResourcesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.PeriodicResourceData periodic_resources = 26;
*/
public Builder addPeriodicResources(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData value) {
if (periodicResourcesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePeriodicResourcesIsMutable();
periodicResources_.add(value);
onChanged();
} else {
periodicResourcesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.PeriodicResourceData periodic_resources = 26;
*/
public Builder addPeriodicResources(
int index, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData value) {
if (periodicResourcesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePeriodicResourcesIsMutable();
periodicResources_.add(index, value);
onChanged();
} else {
periodicResourcesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.PeriodicResourceData periodic_resources = 26;
*/
public Builder addPeriodicResources(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData.Builder builderForValue) {
if (periodicResourcesBuilder_ == null) {
ensurePeriodicResourcesIsMutable();
periodicResources_.add(builderForValue.build());
onChanged();
} else {
periodicResourcesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.PeriodicResourceData periodic_resources = 26;
*/
public Builder addPeriodicResources(
int index, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData.Builder builderForValue) {
if (periodicResourcesBuilder_ == null) {
ensurePeriodicResourcesIsMutable();
periodicResources_.add(index, builderForValue.build());
onChanged();
} else {
periodicResourcesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.PeriodicResourceData periodic_resources = 26;
*/
public Builder addAllPeriodicResources(
java.lang.Iterable extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData> values) {
if (periodicResourcesBuilder_ == null) {
ensurePeriodicResourcesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, periodicResources_);
onChanged();
} else {
periodicResourcesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.PeriodicResourceData periodic_resources = 26;
*/
public Builder clearPeriodicResources() {
if (periodicResourcesBuilder_ == null) {
periodicResources_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x01000000);
onChanged();
} else {
periodicResourcesBuilder_.clear();
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.PeriodicResourceData periodic_resources = 26;
*/
public Builder removePeriodicResources(int index) {
if (periodicResourcesBuilder_ == null) {
ensurePeriodicResourcesIsMutable();
periodicResources_.remove(index);
onChanged();
} else {
periodicResourcesBuilder_.remove(index);
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.PeriodicResourceData periodic_resources = 26;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData.Builder getPeriodicResourcesBuilder(
int index) {
return getPeriodicResourcesFieldBuilder().getBuilder(index);
}
/**
* repeated .CDOTAMatchMetadata.Team.PeriodicResourceData periodic_resources = 26;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceDataOrBuilder getPeriodicResourcesOrBuilder(
int index) {
if (periodicResourcesBuilder_ == null) {
return periodicResources_.get(index); } else {
return periodicResourcesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .CDOTAMatchMetadata.Team.PeriodicResourceData periodic_resources = 26;
*/
public java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceDataOrBuilder>
getPeriodicResourcesOrBuilderList() {
if (periodicResourcesBuilder_ != null) {
return periodicResourcesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(periodicResources_);
}
}
/**
* repeated .CDOTAMatchMetadata.Team.PeriodicResourceData periodic_resources = 26;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData.Builder addPeriodicResourcesBuilder() {
return getPeriodicResourcesFieldBuilder().addBuilder(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData.getDefaultInstance());
}
/**
* repeated .CDOTAMatchMetadata.Team.PeriodicResourceData periodic_resources = 26;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData.Builder addPeriodicResourcesBuilder(
int index) {
return getPeriodicResourcesFieldBuilder().addBuilder(
index, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData.getDefaultInstance());
}
/**
* repeated .CDOTAMatchMetadata.Team.PeriodicResourceData periodic_resources = 26;
*/
public java.util.List
getPeriodicResourcesBuilderList() {
return getPeriodicResourcesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData.Builder, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceDataOrBuilder>
getPeriodicResourcesFieldBuilder() {
if (periodicResourcesBuilder_ == null) {
periodicResourcesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceData.Builder, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PeriodicResourceDataOrBuilder>(
periodicResources_,
((bitField0_ & 0x01000000) == 0x01000000),
getParentForChildren(),
isClean());
periodicResources_ = null;
}
return periodicResourcesBuilder_;
}
private java.util.List extraEventMessages_ =
java.util.Collections.emptyList();
private void ensureExtraEventMessagesIsMutable() {
if (!((bitField0_ & 0x02000000) == 0x02000000)) {
extraEventMessages_ = new java.util.ArrayList(extraEventMessages_);
bitField0_ |= 0x02000000;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.shared.common.proto.GcSdkGcMessages.CExtraMsgBlock, skadistats.clarity.wire.shared.common.proto.GcSdkGcMessages.CExtraMsgBlock.Builder, skadistats.clarity.wire.shared.common.proto.GcSdkGcMessages.CExtraMsgBlockOrBuilder> extraEventMessagesBuilder_;
/**
* repeated .CExtraMsgBlock extra_event_messages = 27;
*/
public java.util.List getExtraEventMessagesList() {
if (extraEventMessagesBuilder_ == null) {
return java.util.Collections.unmodifiableList(extraEventMessages_);
} else {
return extraEventMessagesBuilder_.getMessageList();
}
}
/**
* repeated .CExtraMsgBlock extra_event_messages = 27;
*/
public int getExtraEventMessagesCount() {
if (extraEventMessagesBuilder_ == null) {
return extraEventMessages_.size();
} else {
return extraEventMessagesBuilder_.getCount();
}
}
/**
* repeated .CExtraMsgBlock extra_event_messages = 27;
*/
public skadistats.clarity.wire.shared.common.proto.GcSdkGcMessages.CExtraMsgBlock getExtraEventMessages(int index) {
if (extraEventMessagesBuilder_ == null) {
return extraEventMessages_.get(index);
} else {
return extraEventMessagesBuilder_.getMessage(index);
}
}
/**
* repeated .CExtraMsgBlock extra_event_messages = 27;
*/
public Builder setExtraEventMessages(
int index, skadistats.clarity.wire.shared.common.proto.GcSdkGcMessages.CExtraMsgBlock value) {
if (extraEventMessagesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureExtraEventMessagesIsMutable();
extraEventMessages_.set(index, value);
onChanged();
} else {
extraEventMessagesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .CExtraMsgBlock extra_event_messages = 27;
*/
public Builder setExtraEventMessages(
int index, skadistats.clarity.wire.shared.common.proto.GcSdkGcMessages.CExtraMsgBlock.Builder builderForValue) {
if (extraEventMessagesBuilder_ == null) {
ensureExtraEventMessagesIsMutable();
extraEventMessages_.set(index, builderForValue.build());
onChanged();
} else {
extraEventMessagesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CExtraMsgBlock extra_event_messages = 27;
*/
public Builder addExtraEventMessages(skadistats.clarity.wire.shared.common.proto.GcSdkGcMessages.CExtraMsgBlock value) {
if (extraEventMessagesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureExtraEventMessagesIsMutable();
extraEventMessages_.add(value);
onChanged();
} else {
extraEventMessagesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .CExtraMsgBlock extra_event_messages = 27;
*/
public Builder addExtraEventMessages(
int index, skadistats.clarity.wire.shared.common.proto.GcSdkGcMessages.CExtraMsgBlock value) {
if (extraEventMessagesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureExtraEventMessagesIsMutable();
extraEventMessages_.add(index, value);
onChanged();
} else {
extraEventMessagesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .CExtraMsgBlock extra_event_messages = 27;
*/
public Builder addExtraEventMessages(
skadistats.clarity.wire.shared.common.proto.GcSdkGcMessages.CExtraMsgBlock.Builder builderForValue) {
if (extraEventMessagesBuilder_ == null) {
ensureExtraEventMessagesIsMutable();
extraEventMessages_.add(builderForValue.build());
onChanged();
} else {
extraEventMessagesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .CExtraMsgBlock extra_event_messages = 27;
*/
public Builder addExtraEventMessages(
int index, skadistats.clarity.wire.shared.common.proto.GcSdkGcMessages.CExtraMsgBlock.Builder builderForValue) {
if (extraEventMessagesBuilder_ == null) {
ensureExtraEventMessagesIsMutable();
extraEventMessages_.add(index, builderForValue.build());
onChanged();
} else {
extraEventMessagesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CExtraMsgBlock extra_event_messages = 27;
*/
public Builder addAllExtraEventMessages(
java.lang.Iterable extends skadistats.clarity.wire.shared.common.proto.GcSdkGcMessages.CExtraMsgBlock> values) {
if (extraEventMessagesBuilder_ == null) {
ensureExtraEventMessagesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, extraEventMessages_);
onChanged();
} else {
extraEventMessagesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .CExtraMsgBlock extra_event_messages = 27;
*/
public Builder clearExtraEventMessages() {
if (extraEventMessagesBuilder_ == null) {
extraEventMessages_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x02000000);
onChanged();
} else {
extraEventMessagesBuilder_.clear();
}
return this;
}
/**
* repeated .CExtraMsgBlock extra_event_messages = 27;
*/
public Builder removeExtraEventMessages(int index) {
if (extraEventMessagesBuilder_ == null) {
ensureExtraEventMessagesIsMutable();
extraEventMessages_.remove(index);
onChanged();
} else {
extraEventMessagesBuilder_.remove(index);
}
return this;
}
/**
* repeated .CExtraMsgBlock extra_event_messages = 27;
*/
public skadistats.clarity.wire.shared.common.proto.GcSdkGcMessages.CExtraMsgBlock.Builder getExtraEventMessagesBuilder(
int index) {
return getExtraEventMessagesFieldBuilder().getBuilder(index);
}
/**
* repeated .CExtraMsgBlock extra_event_messages = 27;
*/
public skadistats.clarity.wire.shared.common.proto.GcSdkGcMessages.CExtraMsgBlockOrBuilder getExtraEventMessagesOrBuilder(
int index) {
if (extraEventMessagesBuilder_ == null) {
return extraEventMessages_.get(index); } else {
return extraEventMessagesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .CExtraMsgBlock extra_event_messages = 27;
*/
public java.util.List extends skadistats.clarity.wire.shared.common.proto.GcSdkGcMessages.CExtraMsgBlockOrBuilder>
getExtraEventMessagesOrBuilderList() {
if (extraEventMessagesBuilder_ != null) {
return extraEventMessagesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(extraEventMessages_);
}
}
/**
* repeated .CExtraMsgBlock extra_event_messages = 27;
*/
public skadistats.clarity.wire.shared.common.proto.GcSdkGcMessages.CExtraMsgBlock.Builder addExtraEventMessagesBuilder() {
return getExtraEventMessagesFieldBuilder().addBuilder(
skadistats.clarity.wire.shared.common.proto.GcSdkGcMessages.CExtraMsgBlock.getDefaultInstance());
}
/**
* repeated .CExtraMsgBlock extra_event_messages = 27;
*/
public skadistats.clarity.wire.shared.common.proto.GcSdkGcMessages.CExtraMsgBlock.Builder addExtraEventMessagesBuilder(
int index) {
return getExtraEventMessagesFieldBuilder().addBuilder(
index, skadistats.clarity.wire.shared.common.proto.GcSdkGcMessages.CExtraMsgBlock.getDefaultInstance());
}
/**
* repeated .CExtraMsgBlock extra_event_messages = 27;
*/
public java.util.List
getExtraEventMessagesBuilderList() {
return getExtraEventMessagesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.shared.common.proto.GcSdkGcMessages.CExtraMsgBlock, skadistats.clarity.wire.shared.common.proto.GcSdkGcMessages.CExtraMsgBlock.Builder, skadistats.clarity.wire.shared.common.proto.GcSdkGcMessages.CExtraMsgBlockOrBuilder>
getExtraEventMessagesFieldBuilder() {
if (extraEventMessagesBuilder_ == null) {
extraEventMessagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.shared.common.proto.GcSdkGcMessages.CExtraMsgBlock, skadistats.clarity.wire.shared.common.proto.GcSdkGcMessages.CExtraMsgBlock.Builder, skadistats.clarity.wire.shared.common.proto.GcSdkGcMessages.CExtraMsgBlockOrBuilder>(
extraEventMessages_,
((bitField0_ & 0x02000000) == 0x02000000),
getParentForChildren(),
isClean());
extraEventMessages_ = null;
}
return extraEventMessagesBuilder_;
}
// @@protoc_insertion_point(builder_scope:CDOTAMatchMetadata.Team.EventData)
}
static {
defaultInstance = new EventData(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAMatchMetadata.Team.EventData)
}
public interface FeaturedGamemodeProgressOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAMatchMetadata.Team.FeaturedGamemodeProgress)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 start_value = 1;
*/
boolean hasStartValue();
/**
* optional uint32 start_value = 1;
*/
int getStartValue();
/**
* optional uint32 end_value = 2;
*/
boolean hasEndValue();
/**
* optional uint32 end_value = 2;
*/
int getEndValue();
/**
* optional uint32 max_value = 3;
*/
boolean hasMaxValue();
/**
* optional uint32 max_value = 3;
*/
int getMaxValue();
}
/**
* Protobuf type {@code CDOTAMatchMetadata.Team.FeaturedGamemodeProgress}
*/
public static final class FeaturedGamemodeProgress extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAMatchMetadata.Team.FeaturedGamemodeProgress)
FeaturedGamemodeProgressOrBuilder {
// Use FeaturedGamemodeProgress.newBuilder() to construct.
private FeaturedGamemodeProgress(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private FeaturedGamemodeProgress(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final FeaturedGamemodeProgress defaultInstance;
public static FeaturedGamemodeProgress getDefaultInstance() {
return defaultInstance;
}
public FeaturedGamemodeProgress getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private FeaturedGamemodeProgress(
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;
startValue_ = input.readUInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
endValue_ = input.readUInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
maxValue_ = 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.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_FeaturedGamemodeProgress_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_FeaturedGamemodeProgress_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.FeaturedGamemodeProgress.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.FeaturedGamemodeProgress.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public FeaturedGamemodeProgress parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new FeaturedGamemodeProgress(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int START_VALUE_FIELD_NUMBER = 1;
private int startValue_;
/**
* optional uint32 start_value = 1;
*/
public boolean hasStartValue() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 start_value = 1;
*/
public int getStartValue() {
return startValue_;
}
public static final int END_VALUE_FIELD_NUMBER = 2;
private int endValue_;
/**
* optional uint32 end_value = 2;
*/
public boolean hasEndValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 end_value = 2;
*/
public int getEndValue() {
return endValue_;
}
public static final int MAX_VALUE_FIELD_NUMBER = 3;
private int maxValue_;
/**
* optional uint32 max_value = 3;
*/
public boolean hasMaxValue() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 max_value = 3;
*/
public int getMaxValue() {
return maxValue_;
}
private void initFields() {
startValue_ = 0;
endValue_ = 0;
maxValue_ = 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.writeUInt32(1, startValue_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt32(2, endValue_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeUInt32(3, maxValue_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, startValue_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, endValue_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, maxValue_);
}
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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.FeaturedGamemodeProgress parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.FeaturedGamemodeProgress 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.FeaturedGamemodeProgress parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.FeaturedGamemodeProgress parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.FeaturedGamemodeProgress parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.FeaturedGamemodeProgress 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.FeaturedGamemodeProgress parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.FeaturedGamemodeProgress 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.FeaturedGamemodeProgress parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.FeaturedGamemodeProgress 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.FeaturedGamemodeProgress 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 CDOTAMatchMetadata.Team.FeaturedGamemodeProgress}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAMatchMetadata.Team.FeaturedGamemodeProgress)
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.FeaturedGamemodeProgressOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_FeaturedGamemodeProgress_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_FeaturedGamemodeProgress_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.FeaturedGamemodeProgress.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.FeaturedGamemodeProgress.Builder.class);
}
// Construct using skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.FeaturedGamemodeProgress.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();
startValue_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
endValue_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
maxValue_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_FeaturedGamemodeProgress_descriptor;
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.FeaturedGamemodeProgress getDefaultInstanceForType() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.FeaturedGamemodeProgress.getDefaultInstance();
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.FeaturedGamemodeProgress build() {
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.FeaturedGamemodeProgress result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.FeaturedGamemodeProgress buildPartial() {
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.FeaturedGamemodeProgress result = new skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.FeaturedGamemodeProgress(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.startValue_ = startValue_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.endValue_ = endValue_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.maxValue_ = maxValue_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.FeaturedGamemodeProgress) {
return mergeFrom((skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.FeaturedGamemodeProgress)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.FeaturedGamemodeProgress other) {
if (other == skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.FeaturedGamemodeProgress.getDefaultInstance()) return this;
if (other.hasStartValue()) {
setStartValue(other.getStartValue());
}
if (other.hasEndValue()) {
setEndValue(other.getEndValue());
}
if (other.hasMaxValue()) {
setMaxValue(other.getMaxValue());
}
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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.FeaturedGamemodeProgress parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.FeaturedGamemodeProgress) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int startValue_ ;
/**
* optional uint32 start_value = 1;
*/
public boolean hasStartValue() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 start_value = 1;
*/
public int getStartValue() {
return startValue_;
}
/**
* optional uint32 start_value = 1;
*/
public Builder setStartValue(int value) {
bitField0_ |= 0x00000001;
startValue_ = value;
onChanged();
return this;
}
/**
* optional uint32 start_value = 1;
*/
public Builder clearStartValue() {
bitField0_ = (bitField0_ & ~0x00000001);
startValue_ = 0;
onChanged();
return this;
}
private int endValue_ ;
/**
* optional uint32 end_value = 2;
*/
public boolean hasEndValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 end_value = 2;
*/
public int getEndValue() {
return endValue_;
}
/**
* optional uint32 end_value = 2;
*/
public Builder setEndValue(int value) {
bitField0_ |= 0x00000002;
endValue_ = value;
onChanged();
return this;
}
/**
* optional uint32 end_value = 2;
*/
public Builder clearEndValue() {
bitField0_ = (bitField0_ & ~0x00000002);
endValue_ = 0;
onChanged();
return this;
}
private int maxValue_ ;
/**
* optional uint32 max_value = 3;
*/
public boolean hasMaxValue() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 max_value = 3;
*/
public int getMaxValue() {
return maxValue_;
}
/**
* optional uint32 max_value = 3;
*/
public Builder setMaxValue(int value) {
bitField0_ |= 0x00000004;
maxValue_ = value;
onChanged();
return this;
}
/**
* optional uint32 max_value = 3;
*/
public Builder clearMaxValue() {
bitField0_ = (bitField0_ & ~0x00000004);
maxValue_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAMatchMetadata.Team.FeaturedGamemodeProgress)
}
static {
defaultInstance = new FeaturedGamemodeProgress(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAMatchMetadata.Team.FeaturedGamemodeProgress)
}
public interface PlayerOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAMatchMetadata.Team.Player)
com.google.protobuf.MessageOrBuilder {
/**
* repeated int32 ability_upgrades = 2;
*/
java.util.List getAbilityUpgradesList();
/**
* repeated int32 ability_upgrades = 2;
*/
int getAbilityUpgradesCount();
/**
* repeated int32 ability_upgrades = 2;
*/
int getAbilityUpgrades(int index);
/**
* optional uint32 player_slot = 3;
*/
boolean hasPlayerSlot();
/**
* optional uint32 player_slot = 3;
*/
int getPlayerSlot();
/**
* repeated .CDOTAMatchMetadata.Team.PlayerKill kills = 5;
*/
java.util.List
getKillsList();
/**
* repeated .CDOTAMatchMetadata.Team.PlayerKill kills = 5;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill getKills(int index);
/**
* repeated .CDOTAMatchMetadata.Team.PlayerKill kills = 5;
*/
int getKillsCount();
/**
* repeated .CDOTAMatchMetadata.Team.PlayerKill kills = 5;
*/
java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKillOrBuilder>
getKillsOrBuilderList();
/**
* repeated .CDOTAMatchMetadata.Team.PlayerKill kills = 5;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKillOrBuilder getKillsOrBuilder(
int index);
/**
* repeated .CDOTAMatchMetadata.Team.ItemPurchase items = 6;
*/
java.util.List
getItemsList();
/**
* repeated .CDOTAMatchMetadata.Team.ItemPurchase items = 6;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ItemPurchase getItems(int index);
/**
* repeated .CDOTAMatchMetadata.Team.ItemPurchase items = 6;
*/
int getItemsCount();
/**
* repeated .CDOTAMatchMetadata.Team.ItemPurchase items = 6;
*/
java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ItemPurchaseOrBuilder>
getItemsOrBuilderList();
/**
* repeated .CDOTAMatchMetadata.Team.ItemPurchase items = 6;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ItemPurchaseOrBuilder getItemsOrBuilder(
int index);
/**
* optional uint32 avg_kills_x16 = 7;
*/
boolean hasAvgKillsX16();
/**
* optional uint32 avg_kills_x16 = 7;
*/
int getAvgKillsX16();
/**
* optional uint32 avg_deaths_x16 = 8;
*/
boolean hasAvgDeathsX16();
/**
* optional uint32 avg_deaths_x16 = 8;
*/
int getAvgDeathsX16();
/**
* optional uint32 avg_assists_x16 = 9;
*/
boolean hasAvgAssistsX16();
/**
* optional uint32 avg_assists_x16 = 9;
*/
int getAvgAssistsX16();
/**
* optional uint32 avg_gpm_x16 = 10;
*/
boolean hasAvgGpmX16();
/**
* optional uint32 avg_gpm_x16 = 10;
*/
int getAvgGpmX16();
/**
* optional uint32 avg_xpm_x16 = 11;
*/
boolean hasAvgXpmX16();
/**
* optional uint32 avg_xpm_x16 = 11;
*/
int getAvgXpmX16();
/**
* optional uint32 best_kills_x16 = 12;
*/
boolean hasBestKillsX16();
/**
* optional uint32 best_kills_x16 = 12;
*/
int getBestKillsX16();
/**
* optional uint32 best_assists_x16 = 13;
*/
boolean hasBestAssistsX16();
/**
* optional uint32 best_assists_x16 = 13;
*/
int getBestAssistsX16();
/**
* optional uint32 best_gpm_x16 = 14;
*/
boolean hasBestGpmX16();
/**
* optional uint32 best_gpm_x16 = 14;
*/
int getBestGpmX16();
/**
* optional uint32 best_xpm_x16 = 15;
*/
boolean hasBestXpmX16();
/**
* optional uint32 best_xpm_x16 = 15;
*/
int getBestXpmX16();
/**
* optional uint32 win_streak = 16;
*/
boolean hasWinStreak();
/**
* optional uint32 win_streak = 16;
*/
int getWinStreak();
/**
* optional uint32 best_win_streak = 17;
*/
boolean hasBestWinStreak();
/**
* optional uint32 best_win_streak = 17;
*/
int getBestWinStreak();
/**
* optional float fight_score = 18;
*/
boolean hasFightScore();
/**
* optional float fight_score = 18;
*/
float getFightScore();
/**
* optional float farm_score = 19;
*/
boolean hasFarmScore();
/**
* optional float farm_score = 19;
*/
float getFarmScore();
/**
* optional float support_score = 20;
*/
boolean hasSupportScore();
/**
* optional float support_score = 20;
*/
float getSupportScore();
/**
* optional float push_score = 21;
*/
boolean hasPushScore();
/**
* optional float push_score = 21;
*/
float getPushScore();
/**
* repeated uint32 level_up_times = 22;
*/
java.util.List getLevelUpTimesList();
/**
* repeated uint32 level_up_times = 22;
*/
int getLevelUpTimesCount();
/**
* repeated uint32 level_up_times = 22;
*/
int getLevelUpTimes(int index);
/**
* repeated float graph_net_worth = 23;
*/
java.util.List getGraphNetWorthList();
/**
* repeated float graph_net_worth = 23;
*/
int getGraphNetWorthCount();
/**
* repeated float graph_net_worth = 23;
*/
float getGraphNetWorth(int index);
/**
* repeated .CDOTAMatchMetadata.Team.InventorySnapshot inventory_snapshot = 24;
*/
java.util.List
getInventorySnapshotList();
/**
* repeated .CDOTAMatchMetadata.Team.InventorySnapshot inventory_snapshot = 24;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.InventorySnapshot getInventorySnapshot(int index);
/**
* repeated .CDOTAMatchMetadata.Team.InventorySnapshot inventory_snapshot = 24;
*/
int getInventorySnapshotCount();
/**
* repeated .CDOTAMatchMetadata.Team.InventorySnapshot inventory_snapshot = 24;
*/
java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.InventorySnapshotOrBuilder>
getInventorySnapshotOrBuilderList();
/**
* repeated .CDOTAMatchMetadata.Team.InventorySnapshot inventory_snapshot = 24;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.InventorySnapshotOrBuilder getInventorySnapshotOrBuilder(
int index);
/**
* optional bool avg_stats_calibrated = 25;
*/
boolean hasAvgStatsCalibrated();
/**
* optional bool avg_stats_calibrated = 25;
*/
boolean getAvgStatsCalibrated();
/**
* repeated .CDOTAMatchMetadata.Team.AutoStyleCriteria auto_style_criteria = 26;
*/
java.util.List
getAutoStyleCriteriaList();
/**
* repeated .CDOTAMatchMetadata.Team.AutoStyleCriteria auto_style_criteria = 26;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.AutoStyleCriteria getAutoStyleCriteria(int index);
/**
* repeated .CDOTAMatchMetadata.Team.AutoStyleCriteria auto_style_criteria = 26;
*/
int getAutoStyleCriteriaCount();
/**
* repeated .CDOTAMatchMetadata.Team.AutoStyleCriteria auto_style_criteria = 26;
*/
java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.AutoStyleCriteriaOrBuilder>
getAutoStyleCriteriaOrBuilderList();
/**
* repeated .CDOTAMatchMetadata.Team.AutoStyleCriteria auto_style_criteria = 26;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.AutoStyleCriteriaOrBuilder getAutoStyleCriteriaOrBuilder(
int index);
/**
* repeated .CDOTAMatchMetadata.Team.EventData event_data = 29;
*/
java.util.List
getEventDataList();
/**
* repeated .CDOTAMatchMetadata.Team.EventData event_data = 29;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.EventData getEventData(int index);
/**
* repeated .CDOTAMatchMetadata.Team.EventData event_data = 29;
*/
int getEventDataCount();
/**
* repeated .CDOTAMatchMetadata.Team.EventData event_data = 29;
*/
java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.EventDataOrBuilder>
getEventDataOrBuilderList();
/**
* repeated .CDOTAMatchMetadata.Team.EventData event_data = 29;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.EventDataOrBuilder getEventDataOrBuilder(
int index);
/**
* repeated .CDOTAMatchMetadata.Team.StrangeGemProgress strange_gem_progress = 30;
*/
java.util.List
getStrangeGemProgressList();
/**
* repeated .CDOTAMatchMetadata.Team.StrangeGemProgress strange_gem_progress = 30;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.StrangeGemProgress getStrangeGemProgress(int index);
/**
* repeated .CDOTAMatchMetadata.Team.StrangeGemProgress strange_gem_progress = 30;
*/
int getStrangeGemProgressCount();
/**
* repeated .CDOTAMatchMetadata.Team.StrangeGemProgress strange_gem_progress = 30;
*/
java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.StrangeGemProgressOrBuilder>
getStrangeGemProgressOrBuilderList();
/**
* repeated .CDOTAMatchMetadata.Team.StrangeGemProgress strange_gem_progress = 30;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.StrangeGemProgressOrBuilder getStrangeGemProgressOrBuilder(
int index);
/**
* optional uint32 hero_xp = 31;
*/
boolean hasHeroXp();
/**
* optional uint32 hero_xp = 31;
*/
int getHeroXp();
/**
* optional uint32 camps_stacked = 32;
*/
boolean hasCampsStacked();
/**
* optional uint32 camps_stacked = 32;
*/
int getCampsStacked();
/**
* repeated .CDOTAMatchMetadata.Team.VictoryPrediction victory_prediction = 33;
*/
java.util.List
getVictoryPredictionList();
/**
* repeated .CDOTAMatchMetadata.Team.VictoryPrediction victory_prediction = 33;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.VictoryPrediction getVictoryPrediction(int index);
/**
* repeated .CDOTAMatchMetadata.Team.VictoryPrediction victory_prediction = 33;
*/
int getVictoryPredictionCount();
/**
* repeated .CDOTAMatchMetadata.Team.VictoryPrediction victory_prediction = 33;
*/
java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.VictoryPredictionOrBuilder>
getVictoryPredictionOrBuilderList();
/**
* repeated .CDOTAMatchMetadata.Team.VictoryPrediction victory_prediction = 33;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.VictoryPredictionOrBuilder getVictoryPredictionOrBuilder(
int index);
/**
* optional uint32 lane_selection_flags = 34;
*/
boolean hasLaneSelectionFlags();
/**
* optional uint32 lane_selection_flags = 34;
*/
int getLaneSelectionFlags();
/**
* optional uint32 rampages = 35;
*/
boolean hasRampages();
/**
* optional uint32 rampages = 35;
*/
int getRampages();
/**
* optional uint32 triple_kills = 36;
*/
boolean hasTripleKills();
/**
* optional uint32 triple_kills = 36;
*/
int getTripleKills();
/**
* optional uint32 aegis_snatched = 37;
*/
boolean hasAegisSnatched();
/**
* optional uint32 aegis_snatched = 37;
*/
int getAegisSnatched();
/**
* optional uint32 rapiers_purchased = 38;
*/
boolean hasRapiersPurchased();
/**
* optional uint32 rapiers_purchased = 38;
*/
int getRapiersPurchased();
/**
* optional uint32 couriers_killed = 39;
*/
boolean hasCouriersKilled();
/**
* optional uint32 couriers_killed = 39;
*/
int getCouriersKilled();
/**
* optional uint32 net_worth_rank = 40;
*/
boolean hasNetWorthRank();
/**
* optional uint32 net_worth_rank = 40;
*/
int getNetWorthRank();
/**
* optional uint32 support_gold_spent = 41;
*/
boolean hasSupportGoldSpent();
/**
* optional uint32 support_gold_spent = 41;
*/
int getSupportGoldSpent();
/**
* optional uint32 observer_wards_placed = 42;
*/
boolean hasObserverWardsPlaced();
/**
* optional uint32 observer_wards_placed = 42;
*/
int getObserverWardsPlaced();
/**
* optional uint32 sentry_wards_placed = 43;
*/
boolean hasSentryWardsPlaced();
/**
* optional uint32 sentry_wards_placed = 43;
*/
int getSentryWardsPlaced();
/**
* optional uint32 wards_dewarded = 44;
*/
boolean hasWardsDewarded();
/**
* optional uint32 wards_dewarded = 44;
*/
int getWardsDewarded();
/**
* optional float stun_duration = 45;
*/
boolean hasStunDuration();
/**
* optional float stun_duration = 45;
*/
float getStunDuration();
/**
* optional .EDOTAMMRBoostType rank_mmr_boost_type = 46 [default = k_EDOTAMMRBoostType_None];
*/
boolean hasRankMmrBoostType();
/**
* optional .EDOTAMMRBoostType rank_mmr_boost_type = 46 [default = k_EDOTAMMRBoostType_None];
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2SharedEnums.EDOTAMMRBoostType getRankMmrBoostType();
/**
* repeated .CDOTAMatchMetadata.Team.Player.ContractProgress contract_progress = 48;
*/
java.util.List
getContractProgressList();
/**
* repeated .CDOTAMatchMetadata.Team.Player.ContractProgress contract_progress = 48;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.ContractProgress getContractProgress(int index);
/**
* repeated .CDOTAMatchMetadata.Team.Player.ContractProgress contract_progress = 48;
*/
int getContractProgressCount();
/**
* repeated .CDOTAMatchMetadata.Team.Player.ContractProgress contract_progress = 48;
*/
java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.ContractProgressOrBuilder>
getContractProgressOrBuilderList();
/**
* repeated .CDOTAMatchMetadata.Team.Player.ContractProgress contract_progress = 48;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.ContractProgressOrBuilder getContractProgressOrBuilder(
int index);
/**
* repeated uint32 guild_ids = 49;
*/
java.util.List getGuildIdsList();
/**
* repeated uint32 guild_ids = 49;
*/
int getGuildIdsCount();
/**
* repeated uint32 guild_ids = 49;
*/
int getGuildIds(int index);
/**
* repeated float graph_hero_damage = 50;
*/
java.util.List getGraphHeroDamageList();
/**
* repeated float graph_hero_damage = 50;
*/
int getGraphHeroDamageCount();
/**
* repeated float graph_hero_damage = 50;
*/
float getGraphHeroDamage(int index);
/**
* optional .DOTA_GC_TEAM team_number = 51 [default = DOTA_GC_TEAM_GOOD_GUYS];
*/
boolean hasTeamNumber();
/**
* optional .DOTA_GC_TEAM team_number = 51 [default = DOTA_GC_TEAM_GOOD_GUYS];
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2SharedEnums.DOTA_GC_TEAM getTeamNumber();
/**
* optional uint32 team_slot = 52;
*/
boolean hasTeamSlot();
/**
* optional uint32 team_slot = 52;
*/
int getTeamSlot();
/**
* optional .CDOTAMatchMetadata.Team.FeaturedGamemodeProgress featured_gamemode_progress = 53;
*/
boolean hasFeaturedGamemodeProgress();
/**
* optional .CDOTAMatchMetadata.Team.FeaturedGamemodeProgress featured_gamemode_progress = 53;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.FeaturedGamemodeProgress getFeaturedGamemodeProgress();
/**
* optional .CDOTAMatchMetadata.Team.FeaturedGamemodeProgress featured_gamemode_progress = 53;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.FeaturedGamemodeProgressOrBuilder getFeaturedGamemodeProgressOrBuilder();
/**
* optional uint32 featured_hero_sticker_index = 54;
*/
boolean hasFeaturedHeroStickerIndex();
/**
* optional uint32 featured_hero_sticker_index = 54;
*/
int getFeaturedHeroStickerIndex();
/**
* optional uint32 featured_hero_sticker_quality = 55;
*/
boolean hasFeaturedHeroStickerQuality();
/**
* optional uint32 featured_hero_sticker_quality = 55;
*/
int getFeaturedHeroStickerQuality();
/**
* repeated .CDOTAMatchMetadata.EconItem equipped_econ_items = 56;
*/
java.util.List
getEquippedEconItemsList();
/**
* repeated .CDOTAMatchMetadata.EconItem equipped_econ_items = 56;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.EconItem getEquippedEconItems(int index);
/**
* repeated .CDOTAMatchMetadata.EconItem equipped_econ_items = 56;
*/
int getEquippedEconItemsCount();
/**
* repeated .CDOTAMatchMetadata.EconItem equipped_econ_items = 56;
*/
java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.EconItemOrBuilder>
getEquippedEconItemsOrBuilderList();
/**
* repeated .CDOTAMatchMetadata.EconItem equipped_econ_items = 56;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.EconItemOrBuilder getEquippedEconItemsOrBuilder(
int index);
/**
* optional int32 game_player_id = 57 [default = -1];
*/
boolean hasGamePlayerId();
/**
* optional int32 game_player_id = 57 [default = -1];
*/
int getGamePlayerId();
/**
* repeated .CMsgTrackedStat player_tracked_stats = 58;
*/
java.util.List
getPlayerTrackedStatsList();
/**
* repeated .CMsgTrackedStat player_tracked_stats = 58;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommon.CMsgTrackedStat getPlayerTrackedStats(int index);
/**
* repeated .CMsgTrackedStat player_tracked_stats = 58;
*/
int getPlayerTrackedStatsCount();
/**
* repeated .CMsgTrackedStat player_tracked_stats = 58;
*/
java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommon.CMsgTrackedStatOrBuilder>
getPlayerTrackedStatsOrBuilderList();
/**
* repeated .CMsgTrackedStat player_tracked_stats = 58;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommon.CMsgTrackedStatOrBuilder getPlayerTrackedStatsOrBuilder(
int index);
/**
* optional .CDOTAMatchMetadata.Team.Player.OverworldRewards overworld_rewards = 59;
*/
boolean hasOverworldRewards();
/**
* optional .CDOTAMatchMetadata.Team.Player.OverworldRewards overworld_rewards = 59;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.OverworldRewards getOverworldRewards();
/**
* optional .CDOTAMatchMetadata.Team.Player.OverworldRewards overworld_rewards = 59;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.OverworldRewardsOrBuilder getOverworldRewardsOrBuilder();
}
/**
* Protobuf type {@code CDOTAMatchMetadata.Team.Player}
*/
public static final class Player extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAMatchMetadata.Team.Player)
PlayerOrBuilder {
// Use Player.newBuilder() to construct.
private Player(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private Player(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final Player defaultInstance;
public static Player getDefaultInstance() {
return defaultInstance;
}
public Player getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Player(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
int mutable_bitField1_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 16: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
abilityUpgrades_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
abilityUpgrades_.add(input.readInt32());
break;
}
case 18: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) {
abilityUpgrades_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
while (input.getBytesUntilLimit() > 0) {
abilityUpgrades_.add(input.readInt32());
}
input.popLimit(limit);
break;
}
case 24: {
bitField0_ |= 0x00000001;
playerSlot_ = input.readUInt32();
break;
}
case 42: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
kills_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
kills_.add(input.readMessage(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill.PARSER, extensionRegistry));
break;
}
case 50: {
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
items_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
items_.add(input.readMessage(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ItemPurchase.PARSER, extensionRegistry));
break;
}
case 56: {
bitField0_ |= 0x00000002;
avgKillsX16_ = input.readUInt32();
break;
}
case 64: {
bitField0_ |= 0x00000004;
avgDeathsX16_ = input.readUInt32();
break;
}
case 72: {
bitField0_ |= 0x00000008;
avgAssistsX16_ = input.readUInt32();
break;
}
case 80: {
bitField0_ |= 0x00000010;
avgGpmX16_ = input.readUInt32();
break;
}
case 88: {
bitField0_ |= 0x00000020;
avgXpmX16_ = input.readUInt32();
break;
}
case 96: {
bitField0_ |= 0x00000040;
bestKillsX16_ = input.readUInt32();
break;
}
case 104: {
bitField0_ |= 0x00000080;
bestAssistsX16_ = input.readUInt32();
break;
}
case 112: {
bitField0_ |= 0x00000100;
bestGpmX16_ = input.readUInt32();
break;
}
case 120: {
bitField0_ |= 0x00000200;
bestXpmX16_ = input.readUInt32();
break;
}
case 128: {
bitField0_ |= 0x00000400;
winStreak_ = input.readUInt32();
break;
}
case 136: {
bitField0_ |= 0x00000800;
bestWinStreak_ = input.readUInt32();
break;
}
case 149: {
bitField0_ |= 0x00001000;
fightScore_ = input.readFloat();
break;
}
case 157: {
bitField0_ |= 0x00002000;
farmScore_ = input.readFloat();
break;
}
case 165: {
bitField0_ |= 0x00004000;
supportScore_ = input.readFloat();
break;
}
case 173: {
bitField0_ |= 0x00008000;
pushScore_ = input.readFloat();
break;
}
case 176: {
if (!((mutable_bitField0_ & 0x00080000) == 0x00080000)) {
levelUpTimes_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00080000;
}
levelUpTimes_.add(input.readUInt32());
break;
}
case 178: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00080000) == 0x00080000) && input.getBytesUntilLimit() > 0) {
levelUpTimes_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00080000;
}
while (input.getBytesUntilLimit() > 0) {
levelUpTimes_.add(input.readUInt32());
}
input.popLimit(limit);
break;
}
case 189: {
if (!((mutable_bitField0_ & 0x00100000) == 0x00100000)) {
graphNetWorth_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00100000;
}
graphNetWorth_.add(input.readFloat());
break;
}
case 186: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00100000) == 0x00100000) && input.getBytesUntilLimit() > 0) {
graphNetWorth_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00100000;
}
while (input.getBytesUntilLimit() > 0) {
graphNetWorth_.add(input.readFloat());
}
input.popLimit(limit);
break;
}
case 194: {
if (!((mutable_bitField0_ & 0x00200000) == 0x00200000)) {
inventorySnapshot_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00200000;
}
inventorySnapshot_.add(input.readMessage(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.InventorySnapshot.PARSER, extensionRegistry));
break;
}
case 200: {
bitField0_ |= 0x00010000;
avgStatsCalibrated_ = input.readBool();
break;
}
case 210: {
if (!((mutable_bitField0_ & 0x00800000) == 0x00800000)) {
autoStyleCriteria_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00800000;
}
autoStyleCriteria_.add(input.readMessage(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.AutoStyleCriteria.PARSER, extensionRegistry));
break;
}
case 234: {
if (!((mutable_bitField0_ & 0x01000000) == 0x01000000)) {
eventData_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x01000000;
}
eventData_.add(input.readMessage(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.EventData.PARSER, extensionRegistry));
break;
}
case 242: {
if (!((mutable_bitField0_ & 0x02000000) == 0x02000000)) {
strangeGemProgress_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x02000000;
}
strangeGemProgress_.add(input.readMessage(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.StrangeGemProgress.PARSER, extensionRegistry));
break;
}
case 248: {
bitField0_ |= 0x00020000;
heroXp_ = input.readUInt32();
break;
}
case 256: {
bitField0_ |= 0x00040000;
campsStacked_ = input.readUInt32();
break;
}
case 266: {
if (!((mutable_bitField0_ & 0x10000000) == 0x10000000)) {
victoryPrediction_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x10000000;
}
victoryPrediction_.add(input.readMessage(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.VictoryPrediction.PARSER, extensionRegistry));
break;
}
case 272: {
bitField0_ |= 0x00080000;
laneSelectionFlags_ = input.readUInt32();
break;
}
case 280: {
bitField0_ |= 0x00100000;
rampages_ = input.readUInt32();
break;
}
case 288: {
bitField0_ |= 0x00200000;
tripleKills_ = input.readUInt32();
break;
}
case 296: {
bitField0_ |= 0x00400000;
aegisSnatched_ = input.readUInt32();
break;
}
case 304: {
bitField0_ |= 0x00800000;
rapiersPurchased_ = input.readUInt32();
break;
}
case 312: {
bitField0_ |= 0x01000000;
couriersKilled_ = input.readUInt32();
break;
}
case 320: {
bitField0_ |= 0x02000000;
netWorthRank_ = input.readUInt32();
break;
}
case 328: {
bitField0_ |= 0x04000000;
supportGoldSpent_ = input.readUInt32();
break;
}
case 336: {
bitField0_ |= 0x08000000;
observerWardsPlaced_ = input.readUInt32();
break;
}
case 344: {
bitField0_ |= 0x10000000;
sentryWardsPlaced_ = input.readUInt32();
break;
}
case 352: {
bitField0_ |= 0x20000000;
wardsDewarded_ = input.readUInt32();
break;
}
case 365: {
bitField0_ |= 0x40000000;
stunDuration_ = input.readFloat();
break;
}
case 368: {
int rawValue = input.readEnum();
skadistats.clarity.wire.dota.s2.proto.DOTAS2SharedEnums.EDOTAMMRBoostType value = skadistats.clarity.wire.dota.s2.proto.DOTAS2SharedEnums.EDOTAMMRBoostType.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(46, rawValue);
} else {
bitField0_ |= 0x80000000;
rankMmrBoostType_ = value;
}
break;
}
case 386: {
if (!((mutable_bitField1_ & 0x00000400) == 0x00000400)) {
contractProgress_ = new java.util.ArrayList();
mutable_bitField1_ |= 0x00000400;
}
contractProgress_.add(input.readMessage(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.ContractProgress.PARSER, extensionRegistry));
break;
}
case 392: {
if (!((mutable_bitField1_ & 0x00000800) == 0x00000800)) {
guildIds_ = new java.util.ArrayList();
mutable_bitField1_ |= 0x00000800;
}
guildIds_.add(input.readUInt32());
break;
}
case 394: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField1_ & 0x00000800) == 0x00000800) && input.getBytesUntilLimit() > 0) {
guildIds_ = new java.util.ArrayList();
mutable_bitField1_ |= 0x00000800;
}
while (input.getBytesUntilLimit() > 0) {
guildIds_.add(input.readUInt32());
}
input.popLimit(limit);
break;
}
case 405: {
if (!((mutable_bitField1_ & 0x00001000) == 0x00001000)) {
graphHeroDamage_ = new java.util.ArrayList();
mutable_bitField1_ |= 0x00001000;
}
graphHeroDamage_.add(input.readFloat());
break;
}
case 402: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField1_ & 0x00001000) == 0x00001000) && input.getBytesUntilLimit() > 0) {
graphHeroDamage_ = new java.util.ArrayList();
mutable_bitField1_ |= 0x00001000;
}
while (input.getBytesUntilLimit() > 0) {
graphHeroDamage_.add(input.readFloat());
}
input.popLimit(limit);
break;
}
case 408: {
int rawValue = input.readEnum();
skadistats.clarity.wire.dota.s2.proto.DOTAS2SharedEnums.DOTA_GC_TEAM value = skadistats.clarity.wire.dota.s2.proto.DOTAS2SharedEnums.DOTA_GC_TEAM.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(51, rawValue);
} else {
bitField1_ |= 0x00000001;
teamNumber_ = value;
}
break;
}
case 416: {
bitField1_ |= 0x00000002;
teamSlot_ = input.readUInt32();
break;
}
case 426: {
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.FeaturedGamemodeProgress.Builder subBuilder = null;
if (((bitField1_ & 0x00000004) == 0x00000004)) {
subBuilder = featuredGamemodeProgress_.toBuilder();
}
featuredGamemodeProgress_ = input.readMessage(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.FeaturedGamemodeProgress.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(featuredGamemodeProgress_);
featuredGamemodeProgress_ = subBuilder.buildPartial();
}
bitField1_ |= 0x00000004;
break;
}
case 432: {
bitField1_ |= 0x00000008;
featuredHeroStickerIndex_ = input.readUInt32();
break;
}
case 440: {
bitField1_ |= 0x00000010;
featuredHeroStickerQuality_ = input.readUInt32();
break;
}
case 450: {
if (!((mutable_bitField1_ & 0x00040000) == 0x00040000)) {
equippedEconItems_ = new java.util.ArrayList();
mutable_bitField1_ |= 0x00040000;
}
equippedEconItems_.add(input.readMessage(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.EconItem.PARSER, extensionRegistry));
break;
}
case 456: {
bitField1_ |= 0x00000020;
gamePlayerId_ = input.readInt32();
break;
}
case 466: {
if (!((mutable_bitField1_ & 0x00100000) == 0x00100000)) {
playerTrackedStats_ = new java.util.ArrayList();
mutable_bitField1_ |= 0x00100000;
}
playerTrackedStats_.add(input.readMessage(skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommon.CMsgTrackedStat.PARSER, extensionRegistry));
break;
}
case 474: {
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.OverworldRewards.Builder subBuilder = null;
if (((bitField1_ & 0x00000040) == 0x00000040)) {
subBuilder = overworldRewards_.toBuilder();
}
overworldRewards_ = input.readMessage(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.OverworldRewards.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(overworldRewards_);
overworldRewards_ = subBuilder.buildPartial();
}
bitField1_ |= 0x00000040;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
abilityUpgrades_ = java.util.Collections.unmodifiableList(abilityUpgrades_);
}
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
kills_ = java.util.Collections.unmodifiableList(kills_);
}
if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
items_ = java.util.Collections.unmodifiableList(items_);
}
if (((mutable_bitField0_ & 0x00080000) == 0x00080000)) {
levelUpTimes_ = java.util.Collections.unmodifiableList(levelUpTimes_);
}
if (((mutable_bitField0_ & 0x00100000) == 0x00100000)) {
graphNetWorth_ = java.util.Collections.unmodifiableList(graphNetWorth_);
}
if (((mutable_bitField0_ & 0x00200000) == 0x00200000)) {
inventorySnapshot_ = java.util.Collections.unmodifiableList(inventorySnapshot_);
}
if (((mutable_bitField0_ & 0x00800000) == 0x00800000)) {
autoStyleCriteria_ = java.util.Collections.unmodifiableList(autoStyleCriteria_);
}
if (((mutable_bitField0_ & 0x01000000) == 0x01000000)) {
eventData_ = java.util.Collections.unmodifiableList(eventData_);
}
if (((mutable_bitField0_ & 0x02000000) == 0x02000000)) {
strangeGemProgress_ = java.util.Collections.unmodifiableList(strangeGemProgress_);
}
if (((mutable_bitField0_ & 0x10000000) == 0x10000000)) {
victoryPrediction_ = java.util.Collections.unmodifiableList(victoryPrediction_);
}
if (((mutable_bitField1_ & 0x00000400) == 0x00000400)) {
contractProgress_ = java.util.Collections.unmodifiableList(contractProgress_);
}
if (((mutable_bitField1_ & 0x00000800) == 0x00000800)) {
guildIds_ = java.util.Collections.unmodifiableList(guildIds_);
}
if (((mutable_bitField1_ & 0x00001000) == 0x00001000)) {
graphHeroDamage_ = java.util.Collections.unmodifiableList(graphHeroDamage_);
}
if (((mutable_bitField1_ & 0x00040000) == 0x00040000)) {
equippedEconItems_ = java.util.Collections.unmodifiableList(equippedEconItems_);
}
if (((mutable_bitField1_ & 0x00100000) == 0x00100000)) {
playerTrackedStats_ = java.util.Collections.unmodifiableList(playerTrackedStats_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_Player_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_Player_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public Player parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Player(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public interface ContractProgressOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAMatchMetadata.Team.Player.ContractProgress)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 guild_id = 1;
*/
boolean hasGuildId();
/**
* optional uint32 guild_id = 1;
*/
int getGuildId();
/**
* optional uint32 event_id = 2;
*/
boolean hasEventId();
/**
* optional uint32 event_id = 2;
*/
int getEventId();
/**
* optional uint32 challenge_instance_id = 3;
*/
boolean hasChallengeInstanceId();
/**
* optional uint32 challenge_instance_id = 3;
*/
int getChallengeInstanceId();
/**
* optional uint32 challenge_parameter = 4;
*/
boolean hasChallengeParameter();
/**
* optional uint32 challenge_parameter = 4;
*/
int getChallengeParameter();
/**
* optional uint32 contract_stars = 5;
*/
boolean hasContractStars();
/**
* optional uint32 contract_stars = 5;
*/
int getContractStars();
/**
* optional uint32 contract_slot = 6;
*/
boolean hasContractSlot();
/**
* optional uint32 contract_slot = 6;
*/
int getContractSlot();
/**
* optional bool completed = 7;
*/
boolean hasCompleted();
/**
* optional bool completed = 7;
*/
boolean getCompleted();
}
/**
* Protobuf type {@code CDOTAMatchMetadata.Team.Player.ContractProgress}
*/
public static final class ContractProgress extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAMatchMetadata.Team.Player.ContractProgress)
ContractProgressOrBuilder {
// Use ContractProgress.newBuilder() to construct.
private ContractProgress(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private ContractProgress(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final ContractProgress defaultInstance;
public static ContractProgress getDefaultInstance() {
return defaultInstance;
}
public ContractProgress getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ContractProgress(
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;
guildId_ = input.readUInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
eventId_ = input.readUInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
challengeInstanceId_ = input.readUInt32();
break;
}
case 32: {
bitField0_ |= 0x00000008;
challengeParameter_ = input.readUInt32();
break;
}
case 40: {
bitField0_ |= 0x00000010;
contractStars_ = input.readUInt32();
break;
}
case 48: {
bitField0_ |= 0x00000020;
contractSlot_ = input.readUInt32();
break;
}
case 56: {
bitField0_ |= 0x00000040;
completed_ = input.readBool();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_Player_ContractProgress_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_Player_ContractProgress_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.ContractProgress.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.ContractProgress.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public ContractProgress parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ContractProgress(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int GUILD_ID_FIELD_NUMBER = 1;
private int guildId_;
/**
* optional uint32 guild_id = 1;
*/
public boolean hasGuildId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 guild_id = 1;
*/
public int getGuildId() {
return guildId_;
}
public static final int EVENT_ID_FIELD_NUMBER = 2;
private int eventId_;
/**
* optional uint32 event_id = 2;
*/
public boolean hasEventId() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 event_id = 2;
*/
public int getEventId() {
return eventId_;
}
public static final int CHALLENGE_INSTANCE_ID_FIELD_NUMBER = 3;
private int challengeInstanceId_;
/**
* optional uint32 challenge_instance_id = 3;
*/
public boolean hasChallengeInstanceId() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 challenge_instance_id = 3;
*/
public int getChallengeInstanceId() {
return challengeInstanceId_;
}
public static final int CHALLENGE_PARAMETER_FIELD_NUMBER = 4;
private int challengeParameter_;
/**
* optional uint32 challenge_parameter = 4;
*/
public boolean hasChallengeParameter() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional uint32 challenge_parameter = 4;
*/
public int getChallengeParameter() {
return challengeParameter_;
}
public static final int CONTRACT_STARS_FIELD_NUMBER = 5;
private int contractStars_;
/**
* optional uint32 contract_stars = 5;
*/
public boolean hasContractStars() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional uint32 contract_stars = 5;
*/
public int getContractStars() {
return contractStars_;
}
public static final int CONTRACT_SLOT_FIELD_NUMBER = 6;
private int contractSlot_;
/**
* optional uint32 contract_slot = 6;
*/
public boolean hasContractSlot() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional uint32 contract_slot = 6;
*/
public int getContractSlot() {
return contractSlot_;
}
public static final int COMPLETED_FIELD_NUMBER = 7;
private boolean completed_;
/**
* optional bool completed = 7;
*/
public boolean hasCompleted() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional bool completed = 7;
*/
public boolean getCompleted() {
return completed_;
}
private void initFields() {
guildId_ = 0;
eventId_ = 0;
challengeInstanceId_ = 0;
challengeParameter_ = 0;
contractStars_ = 0;
contractSlot_ = 0;
completed_ = false;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeUInt32(1, guildId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt32(2, eventId_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeUInt32(3, challengeInstanceId_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeUInt32(4, challengeParameter_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeUInt32(5, contractStars_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeUInt32(6, contractSlot_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeBool(7, completed_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, guildId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, eventId_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, challengeInstanceId_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, challengeParameter_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, contractStars_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(6, contractSlot_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(7, completed_);
}
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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.ContractProgress parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.ContractProgress 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.ContractProgress parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.ContractProgress parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.ContractProgress parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.ContractProgress 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.ContractProgress parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.ContractProgress 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.ContractProgress parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.ContractProgress 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.ContractProgress 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 CDOTAMatchMetadata.Team.Player.ContractProgress}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAMatchMetadata.Team.Player.ContractProgress)
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.ContractProgressOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_Player_ContractProgress_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_Player_ContractProgress_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.ContractProgress.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.ContractProgress.Builder.class);
}
// Construct using skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.ContractProgress.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();
guildId_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
eventId_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
challengeInstanceId_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
challengeParameter_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
contractStars_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
contractSlot_ = 0;
bitField0_ = (bitField0_ & ~0x00000020);
completed_ = false;
bitField0_ = (bitField0_ & ~0x00000040);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_Player_ContractProgress_descriptor;
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.ContractProgress getDefaultInstanceForType() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.ContractProgress.getDefaultInstance();
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.ContractProgress build() {
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.ContractProgress result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.ContractProgress buildPartial() {
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.ContractProgress result = new skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.ContractProgress(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.guildId_ = guildId_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.eventId_ = eventId_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.challengeInstanceId_ = challengeInstanceId_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.challengeParameter_ = challengeParameter_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.contractStars_ = contractStars_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.contractSlot_ = contractSlot_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000040;
}
result.completed_ = completed_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.ContractProgress) {
return mergeFrom((skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.ContractProgress)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.ContractProgress other) {
if (other == skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.ContractProgress.getDefaultInstance()) return this;
if (other.hasGuildId()) {
setGuildId(other.getGuildId());
}
if (other.hasEventId()) {
setEventId(other.getEventId());
}
if (other.hasChallengeInstanceId()) {
setChallengeInstanceId(other.getChallengeInstanceId());
}
if (other.hasChallengeParameter()) {
setChallengeParameter(other.getChallengeParameter());
}
if (other.hasContractStars()) {
setContractStars(other.getContractStars());
}
if (other.hasContractSlot()) {
setContractSlot(other.getContractSlot());
}
if (other.hasCompleted()) {
setCompleted(other.getCompleted());
}
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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.ContractProgress parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.ContractProgress) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int guildId_ ;
/**
* optional uint32 guild_id = 1;
*/
public boolean hasGuildId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 guild_id = 1;
*/
public int getGuildId() {
return guildId_;
}
/**
* optional uint32 guild_id = 1;
*/
public Builder setGuildId(int value) {
bitField0_ |= 0x00000001;
guildId_ = value;
onChanged();
return this;
}
/**
* optional uint32 guild_id = 1;
*/
public Builder clearGuildId() {
bitField0_ = (bitField0_ & ~0x00000001);
guildId_ = 0;
onChanged();
return this;
}
private int eventId_ ;
/**
* optional uint32 event_id = 2;
*/
public boolean hasEventId() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 event_id = 2;
*/
public int getEventId() {
return eventId_;
}
/**
* optional uint32 event_id = 2;
*/
public Builder setEventId(int value) {
bitField0_ |= 0x00000002;
eventId_ = value;
onChanged();
return this;
}
/**
* optional uint32 event_id = 2;
*/
public Builder clearEventId() {
bitField0_ = (bitField0_ & ~0x00000002);
eventId_ = 0;
onChanged();
return this;
}
private int challengeInstanceId_ ;
/**
* optional uint32 challenge_instance_id = 3;
*/
public boolean hasChallengeInstanceId() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 challenge_instance_id = 3;
*/
public int getChallengeInstanceId() {
return challengeInstanceId_;
}
/**
* optional uint32 challenge_instance_id = 3;
*/
public Builder setChallengeInstanceId(int value) {
bitField0_ |= 0x00000004;
challengeInstanceId_ = value;
onChanged();
return this;
}
/**
* optional uint32 challenge_instance_id = 3;
*/
public Builder clearChallengeInstanceId() {
bitField0_ = (bitField0_ & ~0x00000004);
challengeInstanceId_ = 0;
onChanged();
return this;
}
private int challengeParameter_ ;
/**
* optional uint32 challenge_parameter = 4;
*/
public boolean hasChallengeParameter() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional uint32 challenge_parameter = 4;
*/
public int getChallengeParameter() {
return challengeParameter_;
}
/**
* optional uint32 challenge_parameter = 4;
*/
public Builder setChallengeParameter(int value) {
bitField0_ |= 0x00000008;
challengeParameter_ = value;
onChanged();
return this;
}
/**
* optional uint32 challenge_parameter = 4;
*/
public Builder clearChallengeParameter() {
bitField0_ = (bitField0_ & ~0x00000008);
challengeParameter_ = 0;
onChanged();
return this;
}
private int contractStars_ ;
/**
* optional uint32 contract_stars = 5;
*/
public boolean hasContractStars() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional uint32 contract_stars = 5;
*/
public int getContractStars() {
return contractStars_;
}
/**
* optional uint32 contract_stars = 5;
*/
public Builder setContractStars(int value) {
bitField0_ |= 0x00000010;
contractStars_ = value;
onChanged();
return this;
}
/**
* optional uint32 contract_stars = 5;
*/
public Builder clearContractStars() {
bitField0_ = (bitField0_ & ~0x00000010);
contractStars_ = 0;
onChanged();
return this;
}
private int contractSlot_ ;
/**
* optional uint32 contract_slot = 6;
*/
public boolean hasContractSlot() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional uint32 contract_slot = 6;
*/
public int getContractSlot() {
return contractSlot_;
}
/**
* optional uint32 contract_slot = 6;
*/
public Builder setContractSlot(int value) {
bitField0_ |= 0x00000020;
contractSlot_ = value;
onChanged();
return this;
}
/**
* optional uint32 contract_slot = 6;
*/
public Builder clearContractSlot() {
bitField0_ = (bitField0_ & ~0x00000020);
contractSlot_ = 0;
onChanged();
return this;
}
private boolean completed_ ;
/**
* optional bool completed = 7;
*/
public boolean hasCompleted() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional bool completed = 7;
*/
public boolean getCompleted() {
return completed_;
}
/**
* optional bool completed = 7;
*/
public Builder setCompleted(boolean value) {
bitField0_ |= 0x00000040;
completed_ = value;
onChanged();
return this;
}
/**
* optional bool completed = 7;
*/
public Builder clearCompleted() {
bitField0_ = (bitField0_ & ~0x00000040);
completed_ = false;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAMatchMetadata.Team.Player.ContractProgress)
}
static {
defaultInstance = new ContractProgress(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAMatchMetadata.Team.Player.ContractProgress)
}
public interface OverworldRewardsOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAMatchMetadata.Team.Player.OverworldRewards)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 overworld_id = 1;
*/
boolean hasOverworldId();
/**
* optional uint32 overworld_id = 1;
*/
int getOverworldId();
/**
* optional .CMsgOverworldTokenQuantity tokens = 2;
*/
boolean hasTokens();
/**
* optional .CMsgOverworldTokenQuantity tokens = 2;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommonOverworld.CMsgOverworldTokenQuantity getTokens();
/**
* optional .CMsgOverworldTokenQuantity tokens = 2;
*/
skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommonOverworld.CMsgOverworldTokenQuantityOrBuilder getTokensOrBuilder();
}
/**
* Protobuf type {@code CDOTAMatchMetadata.Team.Player.OverworldRewards}
*/
public static final class OverworldRewards extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAMatchMetadata.Team.Player.OverworldRewards)
OverworldRewardsOrBuilder {
// Use OverworldRewards.newBuilder() to construct.
private OverworldRewards(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private OverworldRewards(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final OverworldRewards defaultInstance;
public static OverworldRewards getDefaultInstance() {
return defaultInstance;
}
public OverworldRewards getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private OverworldRewards(
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;
overworldId_ = input.readUInt32();
break;
}
case 18: {
skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommonOverworld.CMsgOverworldTokenQuantity.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
subBuilder = tokens_.toBuilder();
}
tokens_ = input.readMessage(skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommonOverworld.CMsgOverworldTokenQuantity.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(tokens_);
tokens_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
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.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_Player_OverworldRewards_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_Player_OverworldRewards_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.OverworldRewards.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.OverworldRewards.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public OverworldRewards parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new OverworldRewards(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int OVERWORLD_ID_FIELD_NUMBER = 1;
private int overworldId_;
/**
* optional uint32 overworld_id = 1;
*/
public boolean hasOverworldId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 overworld_id = 1;
*/
public int getOverworldId() {
return overworldId_;
}
public static final int TOKENS_FIELD_NUMBER = 2;
private skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommonOverworld.CMsgOverworldTokenQuantity tokens_;
/**
* optional .CMsgOverworldTokenQuantity tokens = 2;
*/
public boolean hasTokens() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .CMsgOverworldTokenQuantity tokens = 2;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommonOverworld.CMsgOverworldTokenQuantity getTokens() {
return tokens_;
}
/**
* optional .CMsgOverworldTokenQuantity tokens = 2;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommonOverworld.CMsgOverworldTokenQuantityOrBuilder getTokensOrBuilder() {
return tokens_;
}
private void initFields() {
overworldId_ = 0;
tokens_ = skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommonOverworld.CMsgOverworldTokenQuantity.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeUInt32(1, overworldId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(2, tokens_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, overworldId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, tokens_);
}
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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.OverworldRewards parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.OverworldRewards 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.OverworldRewards parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.OverworldRewards parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.OverworldRewards parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.OverworldRewards 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.OverworldRewards parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.OverworldRewards 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.OverworldRewards parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.OverworldRewards 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.OverworldRewards 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 CDOTAMatchMetadata.Team.Player.OverworldRewards}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAMatchMetadata.Team.Player.OverworldRewards)
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.OverworldRewardsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_Player_OverworldRewards_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_Player_OverworldRewards_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.OverworldRewards.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.OverworldRewards.Builder.class);
}
// Construct using skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.OverworldRewards.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getTokensFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
overworldId_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
if (tokensBuilder_ == null) {
tokens_ = skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommonOverworld.CMsgOverworldTokenQuantity.getDefaultInstance();
} else {
tokensBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_Player_OverworldRewards_descriptor;
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.OverworldRewards getDefaultInstanceForType() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.OverworldRewards.getDefaultInstance();
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.OverworldRewards build() {
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.OverworldRewards result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.OverworldRewards buildPartial() {
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.OverworldRewards result = new skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.OverworldRewards(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.overworldId_ = overworldId_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
if (tokensBuilder_ == null) {
result.tokens_ = tokens_;
} else {
result.tokens_ = tokensBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.OverworldRewards) {
return mergeFrom((skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.OverworldRewards)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.OverworldRewards other) {
if (other == skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.OverworldRewards.getDefaultInstance()) return this;
if (other.hasOverworldId()) {
setOverworldId(other.getOverworldId());
}
if (other.hasTokens()) {
mergeTokens(other.getTokens());
}
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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.OverworldRewards parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.OverworldRewards) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int overworldId_ ;
/**
* optional uint32 overworld_id = 1;
*/
public boolean hasOverworldId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 overworld_id = 1;
*/
public int getOverworldId() {
return overworldId_;
}
/**
* optional uint32 overworld_id = 1;
*/
public Builder setOverworldId(int value) {
bitField0_ |= 0x00000001;
overworldId_ = value;
onChanged();
return this;
}
/**
* optional uint32 overworld_id = 1;
*/
public Builder clearOverworldId() {
bitField0_ = (bitField0_ & ~0x00000001);
overworldId_ = 0;
onChanged();
return this;
}
private skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommonOverworld.CMsgOverworldTokenQuantity tokens_ = skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommonOverworld.CMsgOverworldTokenQuantity.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommonOverworld.CMsgOverworldTokenQuantity, skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommonOverworld.CMsgOverworldTokenQuantity.Builder, skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommonOverworld.CMsgOverworldTokenQuantityOrBuilder> tokensBuilder_;
/**
* optional .CMsgOverworldTokenQuantity tokens = 2;
*/
public boolean hasTokens() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .CMsgOverworldTokenQuantity tokens = 2;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommonOverworld.CMsgOverworldTokenQuantity getTokens() {
if (tokensBuilder_ == null) {
return tokens_;
} else {
return tokensBuilder_.getMessage();
}
}
/**
* optional .CMsgOverworldTokenQuantity tokens = 2;
*/
public Builder setTokens(skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommonOverworld.CMsgOverworldTokenQuantity value) {
if (tokensBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
tokens_ = value;
onChanged();
} else {
tokensBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .CMsgOverworldTokenQuantity tokens = 2;
*/
public Builder setTokens(
skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommonOverworld.CMsgOverworldTokenQuantity.Builder builderForValue) {
if (tokensBuilder_ == null) {
tokens_ = builderForValue.build();
onChanged();
} else {
tokensBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .CMsgOverworldTokenQuantity tokens = 2;
*/
public Builder mergeTokens(skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommonOverworld.CMsgOverworldTokenQuantity value) {
if (tokensBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002) &&
tokens_ != skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommonOverworld.CMsgOverworldTokenQuantity.getDefaultInstance()) {
tokens_ =
skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommonOverworld.CMsgOverworldTokenQuantity.newBuilder(tokens_).mergeFrom(value).buildPartial();
} else {
tokens_ = value;
}
onChanged();
} else {
tokensBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .CMsgOverworldTokenQuantity tokens = 2;
*/
public Builder clearTokens() {
if (tokensBuilder_ == null) {
tokens_ = skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommonOverworld.CMsgOverworldTokenQuantity.getDefaultInstance();
onChanged();
} else {
tokensBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* optional .CMsgOverworldTokenQuantity tokens = 2;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommonOverworld.CMsgOverworldTokenQuantity.Builder getTokensBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getTokensFieldBuilder().getBuilder();
}
/**
* optional .CMsgOverworldTokenQuantity tokens = 2;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommonOverworld.CMsgOverworldTokenQuantityOrBuilder getTokensOrBuilder() {
if (tokensBuilder_ != null) {
return tokensBuilder_.getMessageOrBuilder();
} else {
return tokens_;
}
}
/**
* optional .CMsgOverworldTokenQuantity tokens = 2;
*/
private com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommonOverworld.CMsgOverworldTokenQuantity, skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommonOverworld.CMsgOverworldTokenQuantity.Builder, skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommonOverworld.CMsgOverworldTokenQuantityOrBuilder>
getTokensFieldBuilder() {
if (tokensBuilder_ == null) {
tokensBuilder_ = new com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommonOverworld.CMsgOverworldTokenQuantity, skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommonOverworld.CMsgOverworldTokenQuantity.Builder, skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommonOverworld.CMsgOverworldTokenQuantityOrBuilder>(
getTokens(),
getParentForChildren(),
isClean());
tokens_ = null;
}
return tokensBuilder_;
}
// @@protoc_insertion_point(builder_scope:CDOTAMatchMetadata.Team.Player.OverworldRewards)
}
static {
defaultInstance = new OverworldRewards(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAMatchMetadata.Team.Player.OverworldRewards)
}
private int bitField0_;
private int bitField1_;
public static final int ABILITY_UPGRADES_FIELD_NUMBER = 2;
private java.util.List abilityUpgrades_;
/**
* repeated int32 ability_upgrades = 2;
*/
public java.util.List
getAbilityUpgradesList() {
return abilityUpgrades_;
}
/**
* repeated int32 ability_upgrades = 2;
*/
public int getAbilityUpgradesCount() {
return abilityUpgrades_.size();
}
/**
* repeated int32 ability_upgrades = 2;
*/
public int getAbilityUpgrades(int index) {
return abilityUpgrades_.get(index);
}
public static final int PLAYER_SLOT_FIELD_NUMBER = 3;
private int playerSlot_;
/**
* optional uint32 player_slot = 3;
*/
public boolean hasPlayerSlot() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 player_slot = 3;
*/
public int getPlayerSlot() {
return playerSlot_;
}
public static final int KILLS_FIELD_NUMBER = 5;
private java.util.List kills_;
/**
* repeated .CDOTAMatchMetadata.Team.PlayerKill kills = 5;
*/
public java.util.List getKillsList() {
return kills_;
}
/**
* repeated .CDOTAMatchMetadata.Team.PlayerKill kills = 5;
*/
public java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKillOrBuilder>
getKillsOrBuilderList() {
return kills_;
}
/**
* repeated .CDOTAMatchMetadata.Team.PlayerKill kills = 5;
*/
public int getKillsCount() {
return kills_.size();
}
/**
* repeated .CDOTAMatchMetadata.Team.PlayerKill kills = 5;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill getKills(int index) {
return kills_.get(index);
}
/**
* repeated .CDOTAMatchMetadata.Team.PlayerKill kills = 5;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKillOrBuilder getKillsOrBuilder(
int index) {
return kills_.get(index);
}
public static final int ITEMS_FIELD_NUMBER = 6;
private java.util.List items_;
/**
* repeated .CDOTAMatchMetadata.Team.ItemPurchase items = 6;
*/
public java.util.List getItemsList() {
return items_;
}
/**
* repeated .CDOTAMatchMetadata.Team.ItemPurchase items = 6;
*/
public java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ItemPurchaseOrBuilder>
getItemsOrBuilderList() {
return items_;
}
/**
* repeated .CDOTAMatchMetadata.Team.ItemPurchase items = 6;
*/
public int getItemsCount() {
return items_.size();
}
/**
* repeated .CDOTAMatchMetadata.Team.ItemPurchase items = 6;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ItemPurchase getItems(int index) {
return items_.get(index);
}
/**
* repeated .CDOTAMatchMetadata.Team.ItemPurchase items = 6;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.ItemPurchaseOrBuilder getItemsOrBuilder(
int index) {
return items_.get(index);
}
public static final int AVG_KILLS_X16_FIELD_NUMBER = 7;
private int avgKillsX16_;
/**
* optional uint32 avg_kills_x16 = 7;
*/
public boolean hasAvgKillsX16() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 avg_kills_x16 = 7;
*/
public int getAvgKillsX16() {
return avgKillsX16_;
}
public static final int AVG_DEATHS_X16_FIELD_NUMBER = 8;
private int avgDeathsX16_;
/**
* optional uint32 avg_deaths_x16 = 8;
*/
public boolean hasAvgDeathsX16() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 avg_deaths_x16 = 8;
*/
public int getAvgDeathsX16() {
return avgDeathsX16_;
}
public static final int AVG_ASSISTS_X16_FIELD_NUMBER = 9;
private int avgAssistsX16_;
/**
* optional uint32 avg_assists_x16 = 9;
*/
public boolean hasAvgAssistsX16() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional uint32 avg_assists_x16 = 9;
*/
public int getAvgAssistsX16() {
return avgAssistsX16_;
}
public static final int AVG_GPM_X16_FIELD_NUMBER = 10;
private int avgGpmX16_;
/**
* optional uint32 avg_gpm_x16 = 10;
*/
public boolean hasAvgGpmX16() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional uint32 avg_gpm_x16 = 10;
*/
public int getAvgGpmX16() {
return avgGpmX16_;
}
public static final int AVG_XPM_X16_FIELD_NUMBER = 11;
private int avgXpmX16_;
/**
* optional uint32 avg_xpm_x16 = 11;
*/
public boolean hasAvgXpmX16() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional uint32 avg_xpm_x16 = 11;
*/
public int getAvgXpmX16() {
return avgXpmX16_;
}
public static final int BEST_KILLS_X16_FIELD_NUMBER = 12;
private int bestKillsX16_;
/**
* optional uint32 best_kills_x16 = 12;
*/
public boolean hasBestKillsX16() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional uint32 best_kills_x16 = 12;
*/
public int getBestKillsX16() {
return bestKillsX16_;
}
public static final int BEST_ASSISTS_X16_FIELD_NUMBER = 13;
private int bestAssistsX16_;
/**
* optional uint32 best_assists_x16 = 13;
*/
public boolean hasBestAssistsX16() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional uint32 best_assists_x16 = 13;
*/
public int getBestAssistsX16() {
return bestAssistsX16_;
}
public static final int BEST_GPM_X16_FIELD_NUMBER = 14;
private int bestGpmX16_;
/**
* optional uint32 best_gpm_x16 = 14;
*/
public boolean hasBestGpmX16() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional uint32 best_gpm_x16 = 14;
*/
public int getBestGpmX16() {
return bestGpmX16_;
}
public static final int BEST_XPM_X16_FIELD_NUMBER = 15;
private int bestXpmX16_;
/**
* optional uint32 best_xpm_x16 = 15;
*/
public boolean hasBestXpmX16() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* optional uint32 best_xpm_x16 = 15;
*/
public int getBestXpmX16() {
return bestXpmX16_;
}
public static final int WIN_STREAK_FIELD_NUMBER = 16;
private int winStreak_;
/**
* optional uint32 win_streak = 16;
*/
public boolean hasWinStreak() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* optional uint32 win_streak = 16;
*/
public int getWinStreak() {
return winStreak_;
}
public static final int BEST_WIN_STREAK_FIELD_NUMBER = 17;
private int bestWinStreak_;
/**
* optional uint32 best_win_streak = 17;
*/
public boolean hasBestWinStreak() {
return ((bitField0_ & 0x00000800) == 0x00000800);
}
/**
* optional uint32 best_win_streak = 17;
*/
public int getBestWinStreak() {
return bestWinStreak_;
}
public static final int FIGHT_SCORE_FIELD_NUMBER = 18;
private float fightScore_;
/**
* optional float fight_score = 18;
*/
public boolean hasFightScore() {
return ((bitField0_ & 0x00001000) == 0x00001000);
}
/**
* optional float fight_score = 18;
*/
public float getFightScore() {
return fightScore_;
}
public static final int FARM_SCORE_FIELD_NUMBER = 19;
private float farmScore_;
/**
* optional float farm_score = 19;
*/
public boolean hasFarmScore() {
return ((bitField0_ & 0x00002000) == 0x00002000);
}
/**
* optional float farm_score = 19;
*/
public float getFarmScore() {
return farmScore_;
}
public static final int SUPPORT_SCORE_FIELD_NUMBER = 20;
private float supportScore_;
/**
* optional float support_score = 20;
*/
public boolean hasSupportScore() {
return ((bitField0_ & 0x00004000) == 0x00004000);
}
/**
* optional float support_score = 20;
*/
public float getSupportScore() {
return supportScore_;
}
public static final int PUSH_SCORE_FIELD_NUMBER = 21;
private float pushScore_;
/**
* optional float push_score = 21;
*/
public boolean hasPushScore() {
return ((bitField0_ & 0x00008000) == 0x00008000);
}
/**
* optional float push_score = 21;
*/
public float getPushScore() {
return pushScore_;
}
public static final int LEVEL_UP_TIMES_FIELD_NUMBER = 22;
private java.util.List levelUpTimes_;
/**
* repeated uint32 level_up_times = 22;
*/
public java.util.List
getLevelUpTimesList() {
return levelUpTimes_;
}
/**
* repeated uint32 level_up_times = 22;
*/
public int getLevelUpTimesCount() {
return levelUpTimes_.size();
}
/**
* repeated uint32 level_up_times = 22;
*/
public int getLevelUpTimes(int index) {
return levelUpTimes_.get(index);
}
public static final int GRAPH_NET_WORTH_FIELD_NUMBER = 23;
private java.util.List graphNetWorth_;
/**
* repeated float graph_net_worth = 23;
*/
public java.util.List
getGraphNetWorthList() {
return graphNetWorth_;
}
/**
* repeated float graph_net_worth = 23;
*/
public int getGraphNetWorthCount() {
return graphNetWorth_.size();
}
/**
* repeated float graph_net_worth = 23;
*/
public float getGraphNetWorth(int index) {
return graphNetWorth_.get(index);
}
public static final int INVENTORY_SNAPSHOT_FIELD_NUMBER = 24;
private java.util.List inventorySnapshot_;
/**
* repeated .CDOTAMatchMetadata.Team.InventorySnapshot inventory_snapshot = 24;
*/
public java.util.List getInventorySnapshotList() {
return inventorySnapshot_;
}
/**
* repeated .CDOTAMatchMetadata.Team.InventorySnapshot inventory_snapshot = 24;
*/
public java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.InventorySnapshotOrBuilder>
getInventorySnapshotOrBuilderList() {
return inventorySnapshot_;
}
/**
* repeated .CDOTAMatchMetadata.Team.InventorySnapshot inventory_snapshot = 24;
*/
public int getInventorySnapshotCount() {
return inventorySnapshot_.size();
}
/**
* repeated .CDOTAMatchMetadata.Team.InventorySnapshot inventory_snapshot = 24;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.InventorySnapshot getInventorySnapshot(int index) {
return inventorySnapshot_.get(index);
}
/**
* repeated .CDOTAMatchMetadata.Team.InventorySnapshot inventory_snapshot = 24;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.InventorySnapshotOrBuilder getInventorySnapshotOrBuilder(
int index) {
return inventorySnapshot_.get(index);
}
public static final int AVG_STATS_CALIBRATED_FIELD_NUMBER = 25;
private boolean avgStatsCalibrated_;
/**
* optional bool avg_stats_calibrated = 25;
*/
public boolean hasAvgStatsCalibrated() {
return ((bitField0_ & 0x00010000) == 0x00010000);
}
/**
* optional bool avg_stats_calibrated = 25;
*/
public boolean getAvgStatsCalibrated() {
return avgStatsCalibrated_;
}
public static final int AUTO_STYLE_CRITERIA_FIELD_NUMBER = 26;
private java.util.List autoStyleCriteria_;
/**
* repeated .CDOTAMatchMetadata.Team.AutoStyleCriteria auto_style_criteria = 26;
*/
public java.util.List getAutoStyleCriteriaList() {
return autoStyleCriteria_;
}
/**
* repeated .CDOTAMatchMetadata.Team.AutoStyleCriteria auto_style_criteria = 26;
*/
public java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.AutoStyleCriteriaOrBuilder>
getAutoStyleCriteriaOrBuilderList() {
return autoStyleCriteria_;
}
/**
* repeated .CDOTAMatchMetadata.Team.AutoStyleCriteria auto_style_criteria = 26;
*/
public int getAutoStyleCriteriaCount() {
return autoStyleCriteria_.size();
}
/**
* repeated .CDOTAMatchMetadata.Team.AutoStyleCriteria auto_style_criteria = 26;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.AutoStyleCriteria getAutoStyleCriteria(int index) {
return autoStyleCriteria_.get(index);
}
/**
* repeated .CDOTAMatchMetadata.Team.AutoStyleCriteria auto_style_criteria = 26;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.AutoStyleCriteriaOrBuilder getAutoStyleCriteriaOrBuilder(
int index) {
return autoStyleCriteria_.get(index);
}
public static final int EVENT_DATA_FIELD_NUMBER = 29;
private java.util.List eventData_;
/**
* repeated .CDOTAMatchMetadata.Team.EventData event_data = 29;
*/
public java.util.List getEventDataList() {
return eventData_;
}
/**
* repeated .CDOTAMatchMetadata.Team.EventData event_data = 29;
*/
public java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.EventDataOrBuilder>
getEventDataOrBuilderList() {
return eventData_;
}
/**
* repeated .CDOTAMatchMetadata.Team.EventData event_data = 29;
*/
public int getEventDataCount() {
return eventData_.size();
}
/**
* repeated .CDOTAMatchMetadata.Team.EventData event_data = 29;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.EventData getEventData(int index) {
return eventData_.get(index);
}
/**
* repeated .CDOTAMatchMetadata.Team.EventData event_data = 29;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.EventDataOrBuilder getEventDataOrBuilder(
int index) {
return eventData_.get(index);
}
public static final int STRANGE_GEM_PROGRESS_FIELD_NUMBER = 30;
private java.util.List strangeGemProgress_;
/**
* repeated .CDOTAMatchMetadata.Team.StrangeGemProgress strange_gem_progress = 30;
*/
public java.util.List getStrangeGemProgressList() {
return strangeGemProgress_;
}
/**
* repeated .CDOTAMatchMetadata.Team.StrangeGemProgress strange_gem_progress = 30;
*/
public java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.StrangeGemProgressOrBuilder>
getStrangeGemProgressOrBuilderList() {
return strangeGemProgress_;
}
/**
* repeated .CDOTAMatchMetadata.Team.StrangeGemProgress strange_gem_progress = 30;
*/
public int getStrangeGemProgressCount() {
return strangeGemProgress_.size();
}
/**
* repeated .CDOTAMatchMetadata.Team.StrangeGemProgress strange_gem_progress = 30;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.StrangeGemProgress getStrangeGemProgress(int index) {
return strangeGemProgress_.get(index);
}
/**
* repeated .CDOTAMatchMetadata.Team.StrangeGemProgress strange_gem_progress = 30;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.StrangeGemProgressOrBuilder getStrangeGemProgressOrBuilder(
int index) {
return strangeGemProgress_.get(index);
}
public static final int HERO_XP_FIELD_NUMBER = 31;
private int heroXp_;
/**
* optional uint32 hero_xp = 31;
*/
public boolean hasHeroXp() {
return ((bitField0_ & 0x00020000) == 0x00020000);
}
/**
* optional uint32 hero_xp = 31;
*/
public int getHeroXp() {
return heroXp_;
}
public static final int CAMPS_STACKED_FIELD_NUMBER = 32;
private int campsStacked_;
/**
* optional uint32 camps_stacked = 32;
*/
public boolean hasCampsStacked() {
return ((bitField0_ & 0x00040000) == 0x00040000);
}
/**
* optional uint32 camps_stacked = 32;
*/
public int getCampsStacked() {
return campsStacked_;
}
public static final int VICTORY_PREDICTION_FIELD_NUMBER = 33;
private java.util.List victoryPrediction_;
/**
* repeated .CDOTAMatchMetadata.Team.VictoryPrediction victory_prediction = 33;
*/
public java.util.List getVictoryPredictionList() {
return victoryPrediction_;
}
/**
* repeated .CDOTAMatchMetadata.Team.VictoryPrediction victory_prediction = 33;
*/
public java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.VictoryPredictionOrBuilder>
getVictoryPredictionOrBuilderList() {
return victoryPrediction_;
}
/**
* repeated .CDOTAMatchMetadata.Team.VictoryPrediction victory_prediction = 33;
*/
public int getVictoryPredictionCount() {
return victoryPrediction_.size();
}
/**
* repeated .CDOTAMatchMetadata.Team.VictoryPrediction victory_prediction = 33;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.VictoryPrediction getVictoryPrediction(int index) {
return victoryPrediction_.get(index);
}
/**
* repeated .CDOTAMatchMetadata.Team.VictoryPrediction victory_prediction = 33;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.VictoryPredictionOrBuilder getVictoryPredictionOrBuilder(
int index) {
return victoryPrediction_.get(index);
}
public static final int LANE_SELECTION_FLAGS_FIELD_NUMBER = 34;
private int laneSelectionFlags_;
/**
* optional uint32 lane_selection_flags = 34;
*/
public boolean hasLaneSelectionFlags() {
return ((bitField0_ & 0x00080000) == 0x00080000);
}
/**
* optional uint32 lane_selection_flags = 34;
*/
public int getLaneSelectionFlags() {
return laneSelectionFlags_;
}
public static final int RAMPAGES_FIELD_NUMBER = 35;
private int rampages_;
/**
* optional uint32 rampages = 35;
*/
public boolean hasRampages() {
return ((bitField0_ & 0x00100000) == 0x00100000);
}
/**
* optional uint32 rampages = 35;
*/
public int getRampages() {
return rampages_;
}
public static final int TRIPLE_KILLS_FIELD_NUMBER = 36;
private int tripleKills_;
/**
* optional uint32 triple_kills = 36;
*/
public boolean hasTripleKills() {
return ((bitField0_ & 0x00200000) == 0x00200000);
}
/**
* optional uint32 triple_kills = 36;
*/
public int getTripleKills() {
return tripleKills_;
}
public static final int AEGIS_SNATCHED_FIELD_NUMBER = 37;
private int aegisSnatched_;
/**
* optional uint32 aegis_snatched = 37;
*/
public boolean hasAegisSnatched() {
return ((bitField0_ & 0x00400000) == 0x00400000);
}
/**
* optional uint32 aegis_snatched = 37;
*/
public int getAegisSnatched() {
return aegisSnatched_;
}
public static final int RAPIERS_PURCHASED_FIELD_NUMBER = 38;
private int rapiersPurchased_;
/**
* optional uint32 rapiers_purchased = 38;
*/
public boolean hasRapiersPurchased() {
return ((bitField0_ & 0x00800000) == 0x00800000);
}
/**
* optional uint32 rapiers_purchased = 38;
*/
public int getRapiersPurchased() {
return rapiersPurchased_;
}
public static final int COURIERS_KILLED_FIELD_NUMBER = 39;
private int couriersKilled_;
/**
* optional uint32 couriers_killed = 39;
*/
public boolean hasCouriersKilled() {
return ((bitField0_ & 0x01000000) == 0x01000000);
}
/**
* optional uint32 couriers_killed = 39;
*/
public int getCouriersKilled() {
return couriersKilled_;
}
public static final int NET_WORTH_RANK_FIELD_NUMBER = 40;
private int netWorthRank_;
/**
* optional uint32 net_worth_rank = 40;
*/
public boolean hasNetWorthRank() {
return ((bitField0_ & 0x02000000) == 0x02000000);
}
/**
* optional uint32 net_worth_rank = 40;
*/
public int getNetWorthRank() {
return netWorthRank_;
}
public static final int SUPPORT_GOLD_SPENT_FIELD_NUMBER = 41;
private int supportGoldSpent_;
/**
* optional uint32 support_gold_spent = 41;
*/
public boolean hasSupportGoldSpent() {
return ((bitField0_ & 0x04000000) == 0x04000000);
}
/**
* optional uint32 support_gold_spent = 41;
*/
public int getSupportGoldSpent() {
return supportGoldSpent_;
}
public static final int OBSERVER_WARDS_PLACED_FIELD_NUMBER = 42;
private int observerWardsPlaced_;
/**
* optional uint32 observer_wards_placed = 42;
*/
public boolean hasObserverWardsPlaced() {
return ((bitField0_ & 0x08000000) == 0x08000000);
}
/**
* optional uint32 observer_wards_placed = 42;
*/
public int getObserverWardsPlaced() {
return observerWardsPlaced_;
}
public static final int SENTRY_WARDS_PLACED_FIELD_NUMBER = 43;
private int sentryWardsPlaced_;
/**
* optional uint32 sentry_wards_placed = 43;
*/
public boolean hasSentryWardsPlaced() {
return ((bitField0_ & 0x10000000) == 0x10000000);
}
/**
* optional uint32 sentry_wards_placed = 43;
*/
public int getSentryWardsPlaced() {
return sentryWardsPlaced_;
}
public static final int WARDS_DEWARDED_FIELD_NUMBER = 44;
private int wardsDewarded_;
/**
* optional uint32 wards_dewarded = 44;
*/
public boolean hasWardsDewarded() {
return ((bitField0_ & 0x20000000) == 0x20000000);
}
/**
* optional uint32 wards_dewarded = 44;
*/
public int getWardsDewarded() {
return wardsDewarded_;
}
public static final int STUN_DURATION_FIELD_NUMBER = 45;
private float stunDuration_;
/**
* optional float stun_duration = 45;
*/
public boolean hasStunDuration() {
return ((bitField0_ & 0x40000000) == 0x40000000);
}
/**
* optional float stun_duration = 45;
*/
public float getStunDuration() {
return stunDuration_;
}
public static final int RANK_MMR_BOOST_TYPE_FIELD_NUMBER = 46;
private skadistats.clarity.wire.dota.s2.proto.DOTAS2SharedEnums.EDOTAMMRBoostType rankMmrBoostType_;
/**
* optional .EDOTAMMRBoostType rank_mmr_boost_type = 46 [default = k_EDOTAMMRBoostType_None];
*/
public boolean hasRankMmrBoostType() {
return ((bitField0_ & 0x80000000) == 0x80000000);
}
/**
* optional .EDOTAMMRBoostType rank_mmr_boost_type = 46 [default = k_EDOTAMMRBoostType_None];
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2SharedEnums.EDOTAMMRBoostType getRankMmrBoostType() {
return rankMmrBoostType_;
}
public static final int CONTRACT_PROGRESS_FIELD_NUMBER = 48;
private java.util.List contractProgress_;
/**
* repeated .CDOTAMatchMetadata.Team.Player.ContractProgress contract_progress = 48;
*/
public java.util.List getContractProgressList() {
return contractProgress_;
}
/**
* repeated .CDOTAMatchMetadata.Team.Player.ContractProgress contract_progress = 48;
*/
public java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.ContractProgressOrBuilder>
getContractProgressOrBuilderList() {
return contractProgress_;
}
/**
* repeated .CDOTAMatchMetadata.Team.Player.ContractProgress contract_progress = 48;
*/
public int getContractProgressCount() {
return contractProgress_.size();
}
/**
* repeated .CDOTAMatchMetadata.Team.Player.ContractProgress contract_progress = 48;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.ContractProgress getContractProgress(int index) {
return contractProgress_.get(index);
}
/**
* repeated .CDOTAMatchMetadata.Team.Player.ContractProgress contract_progress = 48;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.ContractProgressOrBuilder getContractProgressOrBuilder(
int index) {
return contractProgress_.get(index);
}
public static final int GUILD_IDS_FIELD_NUMBER = 49;
private java.util.List guildIds_;
/**
* repeated uint32 guild_ids = 49;
*/
public java.util.List
getGuildIdsList() {
return guildIds_;
}
/**
* repeated uint32 guild_ids = 49;
*/
public int getGuildIdsCount() {
return guildIds_.size();
}
/**
* repeated uint32 guild_ids = 49;
*/
public int getGuildIds(int index) {
return guildIds_.get(index);
}
public static final int GRAPH_HERO_DAMAGE_FIELD_NUMBER = 50;
private java.util.List graphHeroDamage_;
/**
* repeated float graph_hero_damage = 50;
*/
public java.util.List
getGraphHeroDamageList() {
return graphHeroDamage_;
}
/**
* repeated float graph_hero_damage = 50;
*/
public int getGraphHeroDamageCount() {
return graphHeroDamage_.size();
}
/**
* repeated float graph_hero_damage = 50;
*/
public float getGraphHeroDamage(int index) {
return graphHeroDamage_.get(index);
}
public static final int TEAM_NUMBER_FIELD_NUMBER = 51;
private skadistats.clarity.wire.dota.s2.proto.DOTAS2SharedEnums.DOTA_GC_TEAM teamNumber_;
/**
* optional .DOTA_GC_TEAM team_number = 51 [default = DOTA_GC_TEAM_GOOD_GUYS];
*/
public boolean hasTeamNumber() {
return ((bitField1_ & 0x00000001) == 0x00000001);
}
/**
* optional .DOTA_GC_TEAM team_number = 51 [default = DOTA_GC_TEAM_GOOD_GUYS];
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2SharedEnums.DOTA_GC_TEAM getTeamNumber() {
return teamNumber_;
}
public static final int TEAM_SLOT_FIELD_NUMBER = 52;
private int teamSlot_;
/**
* optional uint32 team_slot = 52;
*/
public boolean hasTeamSlot() {
return ((bitField1_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 team_slot = 52;
*/
public int getTeamSlot() {
return teamSlot_;
}
public static final int FEATURED_GAMEMODE_PROGRESS_FIELD_NUMBER = 53;
private skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.FeaturedGamemodeProgress featuredGamemodeProgress_;
/**
* optional .CDOTAMatchMetadata.Team.FeaturedGamemodeProgress featured_gamemode_progress = 53;
*/
public boolean hasFeaturedGamemodeProgress() {
return ((bitField1_ & 0x00000004) == 0x00000004);
}
/**
* optional .CDOTAMatchMetadata.Team.FeaturedGamemodeProgress featured_gamemode_progress = 53;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.FeaturedGamemodeProgress getFeaturedGamemodeProgress() {
return featuredGamemodeProgress_;
}
/**
* optional .CDOTAMatchMetadata.Team.FeaturedGamemodeProgress featured_gamemode_progress = 53;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.FeaturedGamemodeProgressOrBuilder getFeaturedGamemodeProgressOrBuilder() {
return featuredGamemodeProgress_;
}
public static final int FEATURED_HERO_STICKER_INDEX_FIELD_NUMBER = 54;
private int featuredHeroStickerIndex_;
/**
* optional uint32 featured_hero_sticker_index = 54;
*/
public boolean hasFeaturedHeroStickerIndex() {
return ((bitField1_ & 0x00000008) == 0x00000008);
}
/**
* optional uint32 featured_hero_sticker_index = 54;
*/
public int getFeaturedHeroStickerIndex() {
return featuredHeroStickerIndex_;
}
public static final int FEATURED_HERO_STICKER_QUALITY_FIELD_NUMBER = 55;
private int featuredHeroStickerQuality_;
/**
* optional uint32 featured_hero_sticker_quality = 55;
*/
public boolean hasFeaturedHeroStickerQuality() {
return ((bitField1_ & 0x00000010) == 0x00000010);
}
/**
* optional uint32 featured_hero_sticker_quality = 55;
*/
public int getFeaturedHeroStickerQuality() {
return featuredHeroStickerQuality_;
}
public static final int EQUIPPED_ECON_ITEMS_FIELD_NUMBER = 56;
private java.util.List equippedEconItems_;
/**
* repeated .CDOTAMatchMetadata.EconItem equipped_econ_items = 56;
*/
public java.util.List getEquippedEconItemsList() {
return equippedEconItems_;
}
/**
* repeated .CDOTAMatchMetadata.EconItem equipped_econ_items = 56;
*/
public java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.EconItemOrBuilder>
getEquippedEconItemsOrBuilderList() {
return equippedEconItems_;
}
/**
* repeated .CDOTAMatchMetadata.EconItem equipped_econ_items = 56;
*/
public int getEquippedEconItemsCount() {
return equippedEconItems_.size();
}
/**
* repeated .CDOTAMatchMetadata.EconItem equipped_econ_items = 56;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.EconItem getEquippedEconItems(int index) {
return equippedEconItems_.get(index);
}
/**
* repeated .CDOTAMatchMetadata.EconItem equipped_econ_items = 56;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.EconItemOrBuilder getEquippedEconItemsOrBuilder(
int index) {
return equippedEconItems_.get(index);
}
public static final int GAME_PLAYER_ID_FIELD_NUMBER = 57;
private int gamePlayerId_;
/**
* optional int32 game_player_id = 57 [default = -1];
*/
public boolean hasGamePlayerId() {
return ((bitField1_ & 0x00000020) == 0x00000020);
}
/**
* optional int32 game_player_id = 57 [default = -1];
*/
public int getGamePlayerId() {
return gamePlayerId_;
}
public static final int PLAYER_TRACKED_STATS_FIELD_NUMBER = 58;
private java.util.List playerTrackedStats_;
/**
* repeated .CMsgTrackedStat player_tracked_stats = 58;
*/
public java.util.List getPlayerTrackedStatsList() {
return playerTrackedStats_;
}
/**
* repeated .CMsgTrackedStat player_tracked_stats = 58;
*/
public java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommon.CMsgTrackedStatOrBuilder>
getPlayerTrackedStatsOrBuilderList() {
return playerTrackedStats_;
}
/**
* repeated .CMsgTrackedStat player_tracked_stats = 58;
*/
public int getPlayerTrackedStatsCount() {
return playerTrackedStats_.size();
}
/**
* repeated .CMsgTrackedStat player_tracked_stats = 58;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommon.CMsgTrackedStat getPlayerTrackedStats(int index) {
return playerTrackedStats_.get(index);
}
/**
* repeated .CMsgTrackedStat player_tracked_stats = 58;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2GcMessagesCommon.CMsgTrackedStatOrBuilder getPlayerTrackedStatsOrBuilder(
int index) {
return playerTrackedStats_.get(index);
}
public static final int OVERWORLD_REWARDS_FIELD_NUMBER = 59;
private skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.OverworldRewards overworldRewards_;
/**
* optional .CDOTAMatchMetadata.Team.Player.OverworldRewards overworld_rewards = 59;
*/
public boolean hasOverworldRewards() {
return ((bitField1_ & 0x00000040) == 0x00000040);
}
/**
* optional .CDOTAMatchMetadata.Team.Player.OverworldRewards overworld_rewards = 59;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.OverworldRewards getOverworldRewards() {
return overworldRewards_;
}
/**
* optional .CDOTAMatchMetadata.Team.Player.OverworldRewards overworld_rewards = 59;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.OverworldRewardsOrBuilder getOverworldRewardsOrBuilder() {
return overworldRewards_;
}
private void initFields() {
abilityUpgrades_ = java.util.Collections.emptyList();
playerSlot_ = 0;
kills_ = java.util.Collections.emptyList();
items_ = java.util.Collections.emptyList();
avgKillsX16_ = 0;
avgDeathsX16_ = 0;
avgAssistsX16_ = 0;
avgGpmX16_ = 0;
avgXpmX16_ = 0;
bestKillsX16_ = 0;
bestAssistsX16_ = 0;
bestGpmX16_ = 0;
bestXpmX16_ = 0;
winStreak_ = 0;
bestWinStreak_ = 0;
fightScore_ = 0F;
farmScore_ = 0F;
supportScore_ = 0F;
pushScore_ = 0F;
levelUpTimes_ = java.util.Collections.emptyList();
graphNetWorth_ = java.util.Collections.emptyList();
inventorySnapshot_ = java.util.Collections.emptyList();
avgStatsCalibrated_ = false;
autoStyleCriteria_ = java.util.Collections.emptyList();
eventData_ = java.util.Collections.emptyList();
strangeGemProgress_ = java.util.Collections.emptyList();
heroXp_ = 0;
campsStacked_ = 0;
victoryPrediction_ = java.util.Collections.emptyList();
laneSelectionFlags_ = 0;
rampages_ = 0;
tripleKills_ = 0;
aegisSnatched_ = 0;
rapiersPurchased_ = 0;
couriersKilled_ = 0;
netWorthRank_ = 0;
supportGoldSpent_ = 0;
observerWardsPlaced_ = 0;
sentryWardsPlaced_ = 0;
wardsDewarded_ = 0;
stunDuration_ = 0F;
rankMmrBoostType_ = skadistats.clarity.wire.dota.s2.proto.DOTAS2SharedEnums.EDOTAMMRBoostType.k_EDOTAMMRBoostType_None;
contractProgress_ = java.util.Collections.emptyList();
guildIds_ = java.util.Collections.emptyList();
graphHeroDamage_ = java.util.Collections.emptyList();
teamNumber_ = skadistats.clarity.wire.dota.s2.proto.DOTAS2SharedEnums.DOTA_GC_TEAM.DOTA_GC_TEAM_GOOD_GUYS;
teamSlot_ = 0;
featuredGamemodeProgress_ = skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.FeaturedGamemodeProgress.getDefaultInstance();
featuredHeroStickerIndex_ = 0;
featuredHeroStickerQuality_ = 0;
equippedEconItems_ = java.util.Collections.emptyList();
gamePlayerId_ = -1;
playerTrackedStats_ = java.util.Collections.emptyList();
overworldRewards_ = skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.OverworldRewards.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
for (int i = 0; i < abilityUpgrades_.size(); i++) {
output.writeInt32(2, abilityUpgrades_.get(i));
}
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeUInt32(3, playerSlot_);
}
for (int i = 0; i < kills_.size(); i++) {
output.writeMessage(5, kills_.get(i));
}
for (int i = 0; i < items_.size(); i++) {
output.writeMessage(6, items_.get(i));
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt32(7, avgKillsX16_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeUInt32(8, avgDeathsX16_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeUInt32(9, avgAssistsX16_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeUInt32(10, avgGpmX16_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeUInt32(11, avgXpmX16_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeUInt32(12, bestKillsX16_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeUInt32(13, bestAssistsX16_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
output.writeUInt32(14, bestGpmX16_);
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
output.writeUInt32(15, bestXpmX16_);
}
if (((bitField0_ & 0x00000400) == 0x00000400)) {
output.writeUInt32(16, winStreak_);
}
if (((bitField0_ & 0x00000800) == 0x00000800)) {
output.writeUInt32(17, bestWinStreak_);
}
if (((bitField0_ & 0x00001000) == 0x00001000)) {
output.writeFloat(18, fightScore_);
}
if (((bitField0_ & 0x00002000) == 0x00002000)) {
output.writeFloat(19, farmScore_);
}
if (((bitField0_ & 0x00004000) == 0x00004000)) {
output.writeFloat(20, supportScore_);
}
if (((bitField0_ & 0x00008000) == 0x00008000)) {
output.writeFloat(21, pushScore_);
}
for (int i = 0; i < levelUpTimes_.size(); i++) {
output.writeUInt32(22, levelUpTimes_.get(i));
}
for (int i = 0; i < graphNetWorth_.size(); i++) {
output.writeFloat(23, graphNetWorth_.get(i));
}
for (int i = 0; i < inventorySnapshot_.size(); i++) {
output.writeMessage(24, inventorySnapshot_.get(i));
}
if (((bitField0_ & 0x00010000) == 0x00010000)) {
output.writeBool(25, avgStatsCalibrated_);
}
for (int i = 0; i < autoStyleCriteria_.size(); i++) {
output.writeMessage(26, autoStyleCriteria_.get(i));
}
for (int i = 0; i < eventData_.size(); i++) {
output.writeMessage(29, eventData_.get(i));
}
for (int i = 0; i < strangeGemProgress_.size(); i++) {
output.writeMessage(30, strangeGemProgress_.get(i));
}
if (((bitField0_ & 0x00020000) == 0x00020000)) {
output.writeUInt32(31, heroXp_);
}
if (((bitField0_ & 0x00040000) == 0x00040000)) {
output.writeUInt32(32, campsStacked_);
}
for (int i = 0; i < victoryPrediction_.size(); i++) {
output.writeMessage(33, victoryPrediction_.get(i));
}
if (((bitField0_ & 0x00080000) == 0x00080000)) {
output.writeUInt32(34, laneSelectionFlags_);
}
if (((bitField0_ & 0x00100000) == 0x00100000)) {
output.writeUInt32(35, rampages_);
}
if (((bitField0_ & 0x00200000) == 0x00200000)) {
output.writeUInt32(36, tripleKills_);
}
if (((bitField0_ & 0x00400000) == 0x00400000)) {
output.writeUInt32(37, aegisSnatched_);
}
if (((bitField0_ & 0x00800000) == 0x00800000)) {
output.writeUInt32(38, rapiersPurchased_);
}
if (((bitField0_ & 0x01000000) == 0x01000000)) {
output.writeUInt32(39, couriersKilled_);
}
if (((bitField0_ & 0x02000000) == 0x02000000)) {
output.writeUInt32(40, netWorthRank_);
}
if (((bitField0_ & 0x04000000) == 0x04000000)) {
output.writeUInt32(41, supportGoldSpent_);
}
if (((bitField0_ & 0x08000000) == 0x08000000)) {
output.writeUInt32(42, observerWardsPlaced_);
}
if (((bitField0_ & 0x10000000) == 0x10000000)) {
output.writeUInt32(43, sentryWardsPlaced_);
}
if (((bitField0_ & 0x20000000) == 0x20000000)) {
output.writeUInt32(44, wardsDewarded_);
}
if (((bitField0_ & 0x40000000) == 0x40000000)) {
output.writeFloat(45, stunDuration_);
}
if (((bitField0_ & 0x80000000) == 0x80000000)) {
output.writeEnum(46, rankMmrBoostType_.getNumber());
}
for (int i = 0; i < contractProgress_.size(); i++) {
output.writeMessage(48, contractProgress_.get(i));
}
for (int i = 0; i < guildIds_.size(); i++) {
output.writeUInt32(49, guildIds_.get(i));
}
for (int i = 0; i < graphHeroDamage_.size(); i++) {
output.writeFloat(50, graphHeroDamage_.get(i));
}
if (((bitField1_ & 0x00000001) == 0x00000001)) {
output.writeEnum(51, teamNumber_.getNumber());
}
if (((bitField1_ & 0x00000002) == 0x00000002)) {
output.writeUInt32(52, teamSlot_);
}
if (((bitField1_ & 0x00000004) == 0x00000004)) {
output.writeMessage(53, featuredGamemodeProgress_);
}
if (((bitField1_ & 0x00000008) == 0x00000008)) {
output.writeUInt32(54, featuredHeroStickerIndex_);
}
if (((bitField1_ & 0x00000010) == 0x00000010)) {
output.writeUInt32(55, featuredHeroStickerQuality_);
}
for (int i = 0; i < equippedEconItems_.size(); i++) {
output.writeMessage(56, equippedEconItems_.get(i));
}
if (((bitField1_ & 0x00000020) == 0x00000020)) {
output.writeInt32(57, gamePlayerId_);
}
for (int i = 0; i < playerTrackedStats_.size(); i++) {
output.writeMessage(58, playerTrackedStats_.get(i));
}
if (((bitField1_ & 0x00000040) == 0x00000040)) {
output.writeMessage(59, overworldRewards_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < abilityUpgrades_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(abilityUpgrades_.get(i));
}
size += dataSize;
size += 1 * getAbilityUpgradesList().size();
}
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, playerSlot_);
}
for (int i = 0; i < kills_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, kills_.get(i));
}
for (int i = 0; i < items_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, items_.get(i));
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(7, avgKillsX16_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(8, avgDeathsX16_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(9, avgAssistsX16_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(10, avgGpmX16_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(11, avgXpmX16_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(12, bestKillsX16_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(13, bestAssistsX16_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(14, bestGpmX16_);
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(15, bestXpmX16_);
}
if (((bitField0_ & 0x00000400) == 0x00000400)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(16, winStreak_);
}
if (((bitField0_ & 0x00000800) == 0x00000800)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(17, bestWinStreak_);
}
if (((bitField0_ & 0x00001000) == 0x00001000)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(18, fightScore_);
}
if (((bitField0_ & 0x00002000) == 0x00002000)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(19, farmScore_);
}
if (((bitField0_ & 0x00004000) == 0x00004000)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(20, supportScore_);
}
if (((bitField0_ & 0x00008000) == 0x00008000)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(21, pushScore_);
}
{
int dataSize = 0;
for (int i = 0; i < levelUpTimes_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(levelUpTimes_.get(i));
}
size += dataSize;
size += 2 * getLevelUpTimesList().size();
}
{
int dataSize = 0;
dataSize = 4 * getGraphNetWorthList().size();
size += dataSize;
size += 2 * getGraphNetWorthList().size();
}
for (int i = 0; i < inventorySnapshot_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(24, inventorySnapshot_.get(i));
}
if (((bitField0_ & 0x00010000) == 0x00010000)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(25, avgStatsCalibrated_);
}
for (int i = 0; i < autoStyleCriteria_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(26, autoStyleCriteria_.get(i));
}
for (int i = 0; i < eventData_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(29, eventData_.get(i));
}
for (int i = 0; i < strangeGemProgress_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(30, strangeGemProgress_.get(i));
}
if (((bitField0_ & 0x00020000) == 0x00020000)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(31, heroXp_);
}
if (((bitField0_ & 0x00040000) == 0x00040000)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(32, campsStacked_);
}
for (int i = 0; i < victoryPrediction_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(33, victoryPrediction_.get(i));
}
if (((bitField0_ & 0x00080000) == 0x00080000)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(34, laneSelectionFlags_);
}
if (((bitField0_ & 0x00100000) == 0x00100000)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(35, rampages_);
}
if (((bitField0_ & 0x00200000) == 0x00200000)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(36, tripleKills_);
}
if (((bitField0_ & 0x00400000) == 0x00400000)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(37, aegisSnatched_);
}
if (((bitField0_ & 0x00800000) == 0x00800000)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(38, rapiersPurchased_);
}
if (((bitField0_ & 0x01000000) == 0x01000000)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(39, couriersKilled_);
}
if (((bitField0_ & 0x02000000) == 0x02000000)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(40, netWorthRank_);
}
if (((bitField0_ & 0x04000000) == 0x04000000)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(41, supportGoldSpent_);
}
if (((bitField0_ & 0x08000000) == 0x08000000)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(42, observerWardsPlaced_);
}
if (((bitField0_ & 0x10000000) == 0x10000000)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(43, sentryWardsPlaced_);
}
if (((bitField0_ & 0x20000000) == 0x20000000)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(44, wardsDewarded_);
}
if (((bitField0_ & 0x40000000) == 0x40000000)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(45, stunDuration_);
}
if (((bitField0_ & 0x80000000) == 0x80000000)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(46, rankMmrBoostType_.getNumber());
}
for (int i = 0; i < contractProgress_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(48, contractProgress_.get(i));
}
{
int dataSize = 0;
for (int i = 0; i < guildIds_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(guildIds_.get(i));
}
size += dataSize;
size += 2 * getGuildIdsList().size();
}
{
int dataSize = 0;
dataSize = 4 * getGraphHeroDamageList().size();
size += dataSize;
size += 2 * getGraphHeroDamageList().size();
}
if (((bitField1_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(51, teamNumber_.getNumber());
}
if (((bitField1_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(52, teamSlot_);
}
if (((bitField1_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(53, featuredGamemodeProgress_);
}
if (((bitField1_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(54, featuredHeroStickerIndex_);
}
if (((bitField1_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(55, featuredHeroStickerQuality_);
}
for (int i = 0; i < equippedEconItems_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(56, equippedEconItems_.get(i));
}
if (((bitField1_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(57, gamePlayerId_);
}
for (int i = 0; i < playerTrackedStats_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(58, playerTrackedStats_.get(i));
}
if (((bitField1_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(59, overworldRewards_);
}
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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player 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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player 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 CDOTAMatchMetadata.Team.Player}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAMatchMetadata.Team.Player)
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_Player_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_Player_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.class, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.Builder.class);
}
// Construct using skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getKillsFieldBuilder();
getItemsFieldBuilder();
getInventorySnapshotFieldBuilder();
getAutoStyleCriteriaFieldBuilder();
getEventDataFieldBuilder();
getStrangeGemProgressFieldBuilder();
getVictoryPredictionFieldBuilder();
getContractProgressFieldBuilder();
getFeaturedGamemodeProgressFieldBuilder();
getEquippedEconItemsFieldBuilder();
getPlayerTrackedStatsFieldBuilder();
getOverworldRewardsFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
abilityUpgrades_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
playerSlot_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
if (killsBuilder_ == null) {
kills_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
killsBuilder_.clear();
}
if (itemsBuilder_ == null) {
items_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
} else {
itemsBuilder_.clear();
}
avgKillsX16_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
avgDeathsX16_ = 0;
bitField0_ = (bitField0_ & ~0x00000020);
avgAssistsX16_ = 0;
bitField0_ = (bitField0_ & ~0x00000040);
avgGpmX16_ = 0;
bitField0_ = (bitField0_ & ~0x00000080);
avgXpmX16_ = 0;
bitField0_ = (bitField0_ & ~0x00000100);
bestKillsX16_ = 0;
bitField0_ = (bitField0_ & ~0x00000200);
bestAssistsX16_ = 0;
bitField0_ = (bitField0_ & ~0x00000400);
bestGpmX16_ = 0;
bitField0_ = (bitField0_ & ~0x00000800);
bestXpmX16_ = 0;
bitField0_ = (bitField0_ & ~0x00001000);
winStreak_ = 0;
bitField0_ = (bitField0_ & ~0x00002000);
bestWinStreak_ = 0;
bitField0_ = (bitField0_ & ~0x00004000);
fightScore_ = 0F;
bitField0_ = (bitField0_ & ~0x00008000);
farmScore_ = 0F;
bitField0_ = (bitField0_ & ~0x00010000);
supportScore_ = 0F;
bitField0_ = (bitField0_ & ~0x00020000);
pushScore_ = 0F;
bitField0_ = (bitField0_ & ~0x00040000);
levelUpTimes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00080000);
graphNetWorth_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00100000);
if (inventorySnapshotBuilder_ == null) {
inventorySnapshot_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00200000);
} else {
inventorySnapshotBuilder_.clear();
}
avgStatsCalibrated_ = false;
bitField0_ = (bitField0_ & ~0x00400000);
if (autoStyleCriteriaBuilder_ == null) {
autoStyleCriteria_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00800000);
} else {
autoStyleCriteriaBuilder_.clear();
}
if (eventDataBuilder_ == null) {
eventData_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x01000000);
} else {
eventDataBuilder_.clear();
}
if (strangeGemProgressBuilder_ == null) {
strangeGemProgress_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x02000000);
} else {
strangeGemProgressBuilder_.clear();
}
heroXp_ = 0;
bitField0_ = (bitField0_ & ~0x04000000);
campsStacked_ = 0;
bitField0_ = (bitField0_ & ~0x08000000);
if (victoryPredictionBuilder_ == null) {
victoryPrediction_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x10000000);
} else {
victoryPredictionBuilder_.clear();
}
laneSelectionFlags_ = 0;
bitField0_ = (bitField0_ & ~0x20000000);
rampages_ = 0;
bitField0_ = (bitField0_ & ~0x40000000);
tripleKills_ = 0;
bitField0_ = (bitField0_ & ~0x80000000);
aegisSnatched_ = 0;
bitField1_ = (bitField1_ & ~0x00000001);
rapiersPurchased_ = 0;
bitField1_ = (bitField1_ & ~0x00000002);
couriersKilled_ = 0;
bitField1_ = (bitField1_ & ~0x00000004);
netWorthRank_ = 0;
bitField1_ = (bitField1_ & ~0x00000008);
supportGoldSpent_ = 0;
bitField1_ = (bitField1_ & ~0x00000010);
observerWardsPlaced_ = 0;
bitField1_ = (bitField1_ & ~0x00000020);
sentryWardsPlaced_ = 0;
bitField1_ = (bitField1_ & ~0x00000040);
wardsDewarded_ = 0;
bitField1_ = (bitField1_ & ~0x00000080);
stunDuration_ = 0F;
bitField1_ = (bitField1_ & ~0x00000100);
rankMmrBoostType_ = skadistats.clarity.wire.dota.s2.proto.DOTAS2SharedEnums.EDOTAMMRBoostType.k_EDOTAMMRBoostType_None;
bitField1_ = (bitField1_ & ~0x00000200);
if (contractProgressBuilder_ == null) {
contractProgress_ = java.util.Collections.emptyList();
bitField1_ = (bitField1_ & ~0x00000400);
} else {
contractProgressBuilder_.clear();
}
guildIds_ = java.util.Collections.emptyList();
bitField1_ = (bitField1_ & ~0x00000800);
graphHeroDamage_ = java.util.Collections.emptyList();
bitField1_ = (bitField1_ & ~0x00001000);
teamNumber_ = skadistats.clarity.wire.dota.s2.proto.DOTAS2SharedEnums.DOTA_GC_TEAM.DOTA_GC_TEAM_GOOD_GUYS;
bitField1_ = (bitField1_ & ~0x00002000);
teamSlot_ = 0;
bitField1_ = (bitField1_ & ~0x00004000);
if (featuredGamemodeProgressBuilder_ == null) {
featuredGamemodeProgress_ = skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.FeaturedGamemodeProgress.getDefaultInstance();
} else {
featuredGamemodeProgressBuilder_.clear();
}
bitField1_ = (bitField1_ & ~0x00008000);
featuredHeroStickerIndex_ = 0;
bitField1_ = (bitField1_ & ~0x00010000);
featuredHeroStickerQuality_ = 0;
bitField1_ = (bitField1_ & ~0x00020000);
if (equippedEconItemsBuilder_ == null) {
equippedEconItems_ = java.util.Collections.emptyList();
bitField1_ = (bitField1_ & ~0x00040000);
} else {
equippedEconItemsBuilder_.clear();
}
gamePlayerId_ = -1;
bitField1_ = (bitField1_ & ~0x00080000);
if (playerTrackedStatsBuilder_ == null) {
playerTrackedStats_ = java.util.Collections.emptyList();
bitField1_ = (bitField1_ & ~0x00100000);
} else {
playerTrackedStatsBuilder_.clear();
}
if (overworldRewardsBuilder_ == null) {
overworldRewards_ = skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.OverworldRewards.getDefaultInstance();
} else {
overworldRewardsBuilder_.clear();
}
bitField1_ = (bitField1_ & ~0x00200000);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.internal_static_CDOTAMatchMetadata_Team_Player_descriptor;
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player getDefaultInstanceForType() {
return skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.getDefaultInstance();
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player build() {
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player buildPartial() {
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player result = new skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player(this);
int from_bitField0_ = bitField0_;
int from_bitField1_ = bitField1_;
int to_bitField0_ = 0;
int to_bitField1_ = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
abilityUpgrades_ = java.util.Collections.unmodifiableList(abilityUpgrades_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.abilityUpgrades_ = abilityUpgrades_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000001;
}
result.playerSlot_ = playerSlot_;
if (killsBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004)) {
kills_ = java.util.Collections.unmodifiableList(kills_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.kills_ = kills_;
} else {
result.kills_ = killsBuilder_.build();
}
if (itemsBuilder_ == null) {
if (((bitField0_ & 0x00000008) == 0x00000008)) {
items_ = java.util.Collections.unmodifiableList(items_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.items_ = items_;
} else {
result.items_ = itemsBuilder_.build();
}
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000002;
}
result.avgKillsX16_ = avgKillsX16_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000004;
}
result.avgDeathsX16_ = avgDeathsX16_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000008;
}
result.avgAssistsX16_ = avgAssistsX16_;
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000010;
}
result.avgGpmX16_ = avgGpmX16_;
if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
to_bitField0_ |= 0x00000020;
}
result.avgXpmX16_ = avgXpmX16_;
if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
to_bitField0_ |= 0x00000040;
}
result.bestKillsX16_ = bestKillsX16_;
if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
to_bitField0_ |= 0x00000080;
}
result.bestAssistsX16_ = bestAssistsX16_;
if (((from_bitField0_ & 0x00000800) == 0x00000800)) {
to_bitField0_ |= 0x00000100;
}
result.bestGpmX16_ = bestGpmX16_;
if (((from_bitField0_ & 0x00001000) == 0x00001000)) {
to_bitField0_ |= 0x00000200;
}
result.bestXpmX16_ = bestXpmX16_;
if (((from_bitField0_ & 0x00002000) == 0x00002000)) {
to_bitField0_ |= 0x00000400;
}
result.winStreak_ = winStreak_;
if (((from_bitField0_ & 0x00004000) == 0x00004000)) {
to_bitField0_ |= 0x00000800;
}
result.bestWinStreak_ = bestWinStreak_;
if (((from_bitField0_ & 0x00008000) == 0x00008000)) {
to_bitField0_ |= 0x00001000;
}
result.fightScore_ = fightScore_;
if (((from_bitField0_ & 0x00010000) == 0x00010000)) {
to_bitField0_ |= 0x00002000;
}
result.farmScore_ = farmScore_;
if (((from_bitField0_ & 0x00020000) == 0x00020000)) {
to_bitField0_ |= 0x00004000;
}
result.supportScore_ = supportScore_;
if (((from_bitField0_ & 0x00040000) == 0x00040000)) {
to_bitField0_ |= 0x00008000;
}
result.pushScore_ = pushScore_;
if (((bitField0_ & 0x00080000) == 0x00080000)) {
levelUpTimes_ = java.util.Collections.unmodifiableList(levelUpTimes_);
bitField0_ = (bitField0_ & ~0x00080000);
}
result.levelUpTimes_ = levelUpTimes_;
if (((bitField0_ & 0x00100000) == 0x00100000)) {
graphNetWorth_ = java.util.Collections.unmodifiableList(graphNetWorth_);
bitField0_ = (bitField0_ & ~0x00100000);
}
result.graphNetWorth_ = graphNetWorth_;
if (inventorySnapshotBuilder_ == null) {
if (((bitField0_ & 0x00200000) == 0x00200000)) {
inventorySnapshot_ = java.util.Collections.unmodifiableList(inventorySnapshot_);
bitField0_ = (bitField0_ & ~0x00200000);
}
result.inventorySnapshot_ = inventorySnapshot_;
} else {
result.inventorySnapshot_ = inventorySnapshotBuilder_.build();
}
if (((from_bitField0_ & 0x00400000) == 0x00400000)) {
to_bitField0_ |= 0x00010000;
}
result.avgStatsCalibrated_ = avgStatsCalibrated_;
if (autoStyleCriteriaBuilder_ == null) {
if (((bitField0_ & 0x00800000) == 0x00800000)) {
autoStyleCriteria_ = java.util.Collections.unmodifiableList(autoStyleCriteria_);
bitField0_ = (bitField0_ & ~0x00800000);
}
result.autoStyleCriteria_ = autoStyleCriteria_;
} else {
result.autoStyleCriteria_ = autoStyleCriteriaBuilder_.build();
}
if (eventDataBuilder_ == null) {
if (((bitField0_ & 0x01000000) == 0x01000000)) {
eventData_ = java.util.Collections.unmodifiableList(eventData_);
bitField0_ = (bitField0_ & ~0x01000000);
}
result.eventData_ = eventData_;
} else {
result.eventData_ = eventDataBuilder_.build();
}
if (strangeGemProgressBuilder_ == null) {
if (((bitField0_ & 0x02000000) == 0x02000000)) {
strangeGemProgress_ = java.util.Collections.unmodifiableList(strangeGemProgress_);
bitField0_ = (bitField0_ & ~0x02000000);
}
result.strangeGemProgress_ = strangeGemProgress_;
} else {
result.strangeGemProgress_ = strangeGemProgressBuilder_.build();
}
if (((from_bitField0_ & 0x04000000) == 0x04000000)) {
to_bitField0_ |= 0x00020000;
}
result.heroXp_ = heroXp_;
if (((from_bitField0_ & 0x08000000) == 0x08000000)) {
to_bitField0_ |= 0x00040000;
}
result.campsStacked_ = campsStacked_;
if (victoryPredictionBuilder_ == null) {
if (((bitField0_ & 0x10000000) == 0x10000000)) {
victoryPrediction_ = java.util.Collections.unmodifiableList(victoryPrediction_);
bitField0_ = (bitField0_ & ~0x10000000);
}
result.victoryPrediction_ = victoryPrediction_;
} else {
result.victoryPrediction_ = victoryPredictionBuilder_.build();
}
if (((from_bitField0_ & 0x20000000) == 0x20000000)) {
to_bitField0_ |= 0x00080000;
}
result.laneSelectionFlags_ = laneSelectionFlags_;
if (((from_bitField0_ & 0x40000000) == 0x40000000)) {
to_bitField0_ |= 0x00100000;
}
result.rampages_ = rampages_;
if (((from_bitField0_ & 0x80000000) == 0x80000000)) {
to_bitField0_ |= 0x00200000;
}
result.tripleKills_ = tripleKills_;
if (((from_bitField1_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00400000;
}
result.aegisSnatched_ = aegisSnatched_;
if (((from_bitField1_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00800000;
}
result.rapiersPurchased_ = rapiersPurchased_;
if (((from_bitField1_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x01000000;
}
result.couriersKilled_ = couriersKilled_;
if (((from_bitField1_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x02000000;
}
result.netWorthRank_ = netWorthRank_;
if (((from_bitField1_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x04000000;
}
result.supportGoldSpent_ = supportGoldSpent_;
if (((from_bitField1_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x08000000;
}
result.observerWardsPlaced_ = observerWardsPlaced_;
if (((from_bitField1_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x10000000;
}
result.sentryWardsPlaced_ = sentryWardsPlaced_;
if (((from_bitField1_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x20000000;
}
result.wardsDewarded_ = wardsDewarded_;
if (((from_bitField1_ & 0x00000100) == 0x00000100)) {
to_bitField0_ |= 0x40000000;
}
result.stunDuration_ = stunDuration_;
if (((from_bitField1_ & 0x00000200) == 0x00000200)) {
to_bitField0_ |= 0x80000000;
}
result.rankMmrBoostType_ = rankMmrBoostType_;
if (contractProgressBuilder_ == null) {
if (((bitField1_ & 0x00000400) == 0x00000400)) {
contractProgress_ = java.util.Collections.unmodifiableList(contractProgress_);
bitField1_ = (bitField1_ & ~0x00000400);
}
result.contractProgress_ = contractProgress_;
} else {
result.contractProgress_ = contractProgressBuilder_.build();
}
if (((bitField1_ & 0x00000800) == 0x00000800)) {
guildIds_ = java.util.Collections.unmodifiableList(guildIds_);
bitField1_ = (bitField1_ & ~0x00000800);
}
result.guildIds_ = guildIds_;
if (((bitField1_ & 0x00001000) == 0x00001000)) {
graphHeroDamage_ = java.util.Collections.unmodifiableList(graphHeroDamage_);
bitField1_ = (bitField1_ & ~0x00001000);
}
result.graphHeroDamage_ = graphHeroDamage_;
if (((from_bitField1_ & 0x00002000) == 0x00002000)) {
to_bitField1_ |= 0x00000001;
}
result.teamNumber_ = teamNumber_;
if (((from_bitField1_ & 0x00004000) == 0x00004000)) {
to_bitField1_ |= 0x00000002;
}
result.teamSlot_ = teamSlot_;
if (((from_bitField1_ & 0x00008000) == 0x00008000)) {
to_bitField1_ |= 0x00000004;
}
if (featuredGamemodeProgressBuilder_ == null) {
result.featuredGamemodeProgress_ = featuredGamemodeProgress_;
} else {
result.featuredGamemodeProgress_ = featuredGamemodeProgressBuilder_.build();
}
if (((from_bitField1_ & 0x00010000) == 0x00010000)) {
to_bitField1_ |= 0x00000008;
}
result.featuredHeroStickerIndex_ = featuredHeroStickerIndex_;
if (((from_bitField1_ & 0x00020000) == 0x00020000)) {
to_bitField1_ |= 0x00000010;
}
result.featuredHeroStickerQuality_ = featuredHeroStickerQuality_;
if (equippedEconItemsBuilder_ == null) {
if (((bitField1_ & 0x00040000) == 0x00040000)) {
equippedEconItems_ = java.util.Collections.unmodifiableList(equippedEconItems_);
bitField1_ = (bitField1_ & ~0x00040000);
}
result.equippedEconItems_ = equippedEconItems_;
} else {
result.equippedEconItems_ = equippedEconItemsBuilder_.build();
}
if (((from_bitField1_ & 0x00080000) == 0x00080000)) {
to_bitField1_ |= 0x00000020;
}
result.gamePlayerId_ = gamePlayerId_;
if (playerTrackedStatsBuilder_ == null) {
if (((bitField1_ & 0x00100000) == 0x00100000)) {
playerTrackedStats_ = java.util.Collections.unmodifiableList(playerTrackedStats_);
bitField1_ = (bitField1_ & ~0x00100000);
}
result.playerTrackedStats_ = playerTrackedStats_;
} else {
result.playerTrackedStats_ = playerTrackedStatsBuilder_.build();
}
if (((from_bitField1_ & 0x00200000) == 0x00200000)) {
to_bitField1_ |= 0x00000040;
}
if (overworldRewardsBuilder_ == null) {
result.overworldRewards_ = overworldRewards_;
} else {
result.overworldRewards_ = overworldRewardsBuilder_.build();
}
result.bitField0_ = to_bitField0_;
result.bitField1_ = to_bitField1_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player) {
return mergeFrom((skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player other) {
if (other == skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player.getDefaultInstance()) return this;
if (!other.abilityUpgrades_.isEmpty()) {
if (abilityUpgrades_.isEmpty()) {
abilityUpgrades_ = other.abilityUpgrades_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureAbilityUpgradesIsMutable();
abilityUpgrades_.addAll(other.abilityUpgrades_);
}
onChanged();
}
if (other.hasPlayerSlot()) {
setPlayerSlot(other.getPlayerSlot());
}
if (killsBuilder_ == null) {
if (!other.kills_.isEmpty()) {
if (kills_.isEmpty()) {
kills_ = other.kills_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureKillsIsMutable();
kills_.addAll(other.kills_);
}
onChanged();
}
} else {
if (!other.kills_.isEmpty()) {
if (killsBuilder_.isEmpty()) {
killsBuilder_.dispose();
killsBuilder_ = null;
kills_ = other.kills_;
bitField0_ = (bitField0_ & ~0x00000004);
killsBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getKillsFieldBuilder() : null;
} else {
killsBuilder_.addAllMessages(other.kills_);
}
}
}
if (itemsBuilder_ == null) {
if (!other.items_.isEmpty()) {
if (items_.isEmpty()) {
items_ = other.items_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureItemsIsMutable();
items_.addAll(other.items_);
}
onChanged();
}
} else {
if (!other.items_.isEmpty()) {
if (itemsBuilder_.isEmpty()) {
itemsBuilder_.dispose();
itemsBuilder_ = null;
items_ = other.items_;
bitField0_ = (bitField0_ & ~0x00000008);
itemsBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getItemsFieldBuilder() : null;
} else {
itemsBuilder_.addAllMessages(other.items_);
}
}
}
if (other.hasAvgKillsX16()) {
setAvgKillsX16(other.getAvgKillsX16());
}
if (other.hasAvgDeathsX16()) {
setAvgDeathsX16(other.getAvgDeathsX16());
}
if (other.hasAvgAssistsX16()) {
setAvgAssistsX16(other.getAvgAssistsX16());
}
if (other.hasAvgGpmX16()) {
setAvgGpmX16(other.getAvgGpmX16());
}
if (other.hasAvgXpmX16()) {
setAvgXpmX16(other.getAvgXpmX16());
}
if (other.hasBestKillsX16()) {
setBestKillsX16(other.getBestKillsX16());
}
if (other.hasBestAssistsX16()) {
setBestAssistsX16(other.getBestAssistsX16());
}
if (other.hasBestGpmX16()) {
setBestGpmX16(other.getBestGpmX16());
}
if (other.hasBestXpmX16()) {
setBestXpmX16(other.getBestXpmX16());
}
if (other.hasWinStreak()) {
setWinStreak(other.getWinStreak());
}
if (other.hasBestWinStreak()) {
setBestWinStreak(other.getBestWinStreak());
}
if (other.hasFightScore()) {
setFightScore(other.getFightScore());
}
if (other.hasFarmScore()) {
setFarmScore(other.getFarmScore());
}
if (other.hasSupportScore()) {
setSupportScore(other.getSupportScore());
}
if (other.hasPushScore()) {
setPushScore(other.getPushScore());
}
if (!other.levelUpTimes_.isEmpty()) {
if (levelUpTimes_.isEmpty()) {
levelUpTimes_ = other.levelUpTimes_;
bitField0_ = (bitField0_ & ~0x00080000);
} else {
ensureLevelUpTimesIsMutable();
levelUpTimes_.addAll(other.levelUpTimes_);
}
onChanged();
}
if (!other.graphNetWorth_.isEmpty()) {
if (graphNetWorth_.isEmpty()) {
graphNetWorth_ = other.graphNetWorth_;
bitField0_ = (bitField0_ & ~0x00100000);
} else {
ensureGraphNetWorthIsMutable();
graphNetWorth_.addAll(other.graphNetWorth_);
}
onChanged();
}
if (inventorySnapshotBuilder_ == null) {
if (!other.inventorySnapshot_.isEmpty()) {
if (inventorySnapshot_.isEmpty()) {
inventorySnapshot_ = other.inventorySnapshot_;
bitField0_ = (bitField0_ & ~0x00200000);
} else {
ensureInventorySnapshotIsMutable();
inventorySnapshot_.addAll(other.inventorySnapshot_);
}
onChanged();
}
} else {
if (!other.inventorySnapshot_.isEmpty()) {
if (inventorySnapshotBuilder_.isEmpty()) {
inventorySnapshotBuilder_.dispose();
inventorySnapshotBuilder_ = null;
inventorySnapshot_ = other.inventorySnapshot_;
bitField0_ = (bitField0_ & ~0x00200000);
inventorySnapshotBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getInventorySnapshotFieldBuilder() : null;
} else {
inventorySnapshotBuilder_.addAllMessages(other.inventorySnapshot_);
}
}
}
if (other.hasAvgStatsCalibrated()) {
setAvgStatsCalibrated(other.getAvgStatsCalibrated());
}
if (autoStyleCriteriaBuilder_ == null) {
if (!other.autoStyleCriteria_.isEmpty()) {
if (autoStyleCriteria_.isEmpty()) {
autoStyleCriteria_ = other.autoStyleCriteria_;
bitField0_ = (bitField0_ & ~0x00800000);
} else {
ensureAutoStyleCriteriaIsMutable();
autoStyleCriteria_.addAll(other.autoStyleCriteria_);
}
onChanged();
}
} else {
if (!other.autoStyleCriteria_.isEmpty()) {
if (autoStyleCriteriaBuilder_.isEmpty()) {
autoStyleCriteriaBuilder_.dispose();
autoStyleCriteriaBuilder_ = null;
autoStyleCriteria_ = other.autoStyleCriteria_;
bitField0_ = (bitField0_ & ~0x00800000);
autoStyleCriteriaBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getAutoStyleCriteriaFieldBuilder() : null;
} else {
autoStyleCriteriaBuilder_.addAllMessages(other.autoStyleCriteria_);
}
}
}
if (eventDataBuilder_ == null) {
if (!other.eventData_.isEmpty()) {
if (eventData_.isEmpty()) {
eventData_ = other.eventData_;
bitField0_ = (bitField0_ & ~0x01000000);
} else {
ensureEventDataIsMutable();
eventData_.addAll(other.eventData_);
}
onChanged();
}
} else {
if (!other.eventData_.isEmpty()) {
if (eventDataBuilder_.isEmpty()) {
eventDataBuilder_.dispose();
eventDataBuilder_ = null;
eventData_ = other.eventData_;
bitField0_ = (bitField0_ & ~0x01000000);
eventDataBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getEventDataFieldBuilder() : null;
} else {
eventDataBuilder_.addAllMessages(other.eventData_);
}
}
}
if (strangeGemProgressBuilder_ == null) {
if (!other.strangeGemProgress_.isEmpty()) {
if (strangeGemProgress_.isEmpty()) {
strangeGemProgress_ = other.strangeGemProgress_;
bitField0_ = (bitField0_ & ~0x02000000);
} else {
ensureStrangeGemProgressIsMutable();
strangeGemProgress_.addAll(other.strangeGemProgress_);
}
onChanged();
}
} else {
if (!other.strangeGemProgress_.isEmpty()) {
if (strangeGemProgressBuilder_.isEmpty()) {
strangeGemProgressBuilder_.dispose();
strangeGemProgressBuilder_ = null;
strangeGemProgress_ = other.strangeGemProgress_;
bitField0_ = (bitField0_ & ~0x02000000);
strangeGemProgressBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getStrangeGemProgressFieldBuilder() : null;
} else {
strangeGemProgressBuilder_.addAllMessages(other.strangeGemProgress_);
}
}
}
if (other.hasHeroXp()) {
setHeroXp(other.getHeroXp());
}
if (other.hasCampsStacked()) {
setCampsStacked(other.getCampsStacked());
}
if (victoryPredictionBuilder_ == null) {
if (!other.victoryPrediction_.isEmpty()) {
if (victoryPrediction_.isEmpty()) {
victoryPrediction_ = other.victoryPrediction_;
bitField0_ = (bitField0_ & ~0x10000000);
} else {
ensureVictoryPredictionIsMutable();
victoryPrediction_.addAll(other.victoryPrediction_);
}
onChanged();
}
} else {
if (!other.victoryPrediction_.isEmpty()) {
if (victoryPredictionBuilder_.isEmpty()) {
victoryPredictionBuilder_.dispose();
victoryPredictionBuilder_ = null;
victoryPrediction_ = other.victoryPrediction_;
bitField0_ = (bitField0_ & ~0x10000000);
victoryPredictionBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getVictoryPredictionFieldBuilder() : null;
} else {
victoryPredictionBuilder_.addAllMessages(other.victoryPrediction_);
}
}
}
if (other.hasLaneSelectionFlags()) {
setLaneSelectionFlags(other.getLaneSelectionFlags());
}
if (other.hasRampages()) {
setRampages(other.getRampages());
}
if (other.hasTripleKills()) {
setTripleKills(other.getTripleKills());
}
if (other.hasAegisSnatched()) {
setAegisSnatched(other.getAegisSnatched());
}
if (other.hasRapiersPurchased()) {
setRapiersPurchased(other.getRapiersPurchased());
}
if (other.hasCouriersKilled()) {
setCouriersKilled(other.getCouriersKilled());
}
if (other.hasNetWorthRank()) {
setNetWorthRank(other.getNetWorthRank());
}
if (other.hasSupportGoldSpent()) {
setSupportGoldSpent(other.getSupportGoldSpent());
}
if (other.hasObserverWardsPlaced()) {
setObserverWardsPlaced(other.getObserverWardsPlaced());
}
if (other.hasSentryWardsPlaced()) {
setSentryWardsPlaced(other.getSentryWardsPlaced());
}
if (other.hasWardsDewarded()) {
setWardsDewarded(other.getWardsDewarded());
}
if (other.hasStunDuration()) {
setStunDuration(other.getStunDuration());
}
if (other.hasRankMmrBoostType()) {
setRankMmrBoostType(other.getRankMmrBoostType());
}
if (contractProgressBuilder_ == null) {
if (!other.contractProgress_.isEmpty()) {
if (contractProgress_.isEmpty()) {
contractProgress_ = other.contractProgress_;
bitField1_ = (bitField1_ & ~0x00000400);
} else {
ensureContractProgressIsMutable();
contractProgress_.addAll(other.contractProgress_);
}
onChanged();
}
} else {
if (!other.contractProgress_.isEmpty()) {
if (contractProgressBuilder_.isEmpty()) {
contractProgressBuilder_.dispose();
contractProgressBuilder_ = null;
contractProgress_ = other.contractProgress_;
bitField1_ = (bitField1_ & ~0x00000400);
contractProgressBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getContractProgressFieldBuilder() : null;
} else {
contractProgressBuilder_.addAllMessages(other.contractProgress_);
}
}
}
if (!other.guildIds_.isEmpty()) {
if (guildIds_.isEmpty()) {
guildIds_ = other.guildIds_;
bitField1_ = (bitField1_ & ~0x00000800);
} else {
ensureGuildIdsIsMutable();
guildIds_.addAll(other.guildIds_);
}
onChanged();
}
if (!other.graphHeroDamage_.isEmpty()) {
if (graphHeroDamage_.isEmpty()) {
graphHeroDamage_ = other.graphHeroDamage_;
bitField1_ = (bitField1_ & ~0x00001000);
} else {
ensureGraphHeroDamageIsMutable();
graphHeroDamage_.addAll(other.graphHeroDamage_);
}
onChanged();
}
if (other.hasTeamNumber()) {
setTeamNumber(other.getTeamNumber());
}
if (other.hasTeamSlot()) {
setTeamSlot(other.getTeamSlot());
}
if (other.hasFeaturedGamemodeProgress()) {
mergeFeaturedGamemodeProgress(other.getFeaturedGamemodeProgress());
}
if (other.hasFeaturedHeroStickerIndex()) {
setFeaturedHeroStickerIndex(other.getFeaturedHeroStickerIndex());
}
if (other.hasFeaturedHeroStickerQuality()) {
setFeaturedHeroStickerQuality(other.getFeaturedHeroStickerQuality());
}
if (equippedEconItemsBuilder_ == null) {
if (!other.equippedEconItems_.isEmpty()) {
if (equippedEconItems_.isEmpty()) {
equippedEconItems_ = other.equippedEconItems_;
bitField1_ = (bitField1_ & ~0x00040000);
} else {
ensureEquippedEconItemsIsMutable();
equippedEconItems_.addAll(other.equippedEconItems_);
}
onChanged();
}
} else {
if (!other.equippedEconItems_.isEmpty()) {
if (equippedEconItemsBuilder_.isEmpty()) {
equippedEconItemsBuilder_.dispose();
equippedEconItemsBuilder_ = null;
equippedEconItems_ = other.equippedEconItems_;
bitField1_ = (bitField1_ & ~0x00040000);
equippedEconItemsBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getEquippedEconItemsFieldBuilder() : null;
} else {
equippedEconItemsBuilder_.addAllMessages(other.equippedEconItems_);
}
}
}
if (other.hasGamePlayerId()) {
setGamePlayerId(other.getGamePlayerId());
}
if (playerTrackedStatsBuilder_ == null) {
if (!other.playerTrackedStats_.isEmpty()) {
if (playerTrackedStats_.isEmpty()) {
playerTrackedStats_ = other.playerTrackedStats_;
bitField1_ = (bitField1_ & ~0x00100000);
} else {
ensurePlayerTrackedStatsIsMutable();
playerTrackedStats_.addAll(other.playerTrackedStats_);
}
onChanged();
}
} else {
if (!other.playerTrackedStats_.isEmpty()) {
if (playerTrackedStatsBuilder_.isEmpty()) {
playerTrackedStatsBuilder_.dispose();
playerTrackedStatsBuilder_ = null;
playerTrackedStats_ = other.playerTrackedStats_;
bitField1_ = (bitField1_ & ~0x00100000);
playerTrackedStatsBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getPlayerTrackedStatsFieldBuilder() : null;
} else {
playerTrackedStatsBuilder_.addAllMessages(other.playerTrackedStats_);
}
}
}
if (other.hasOverworldRewards()) {
mergeOverworldRewards(other.getOverworldRewards());
}
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.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.Player) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int bitField1_;
private java.util.List abilityUpgrades_ = java.util.Collections.emptyList();
private void ensureAbilityUpgradesIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
abilityUpgrades_ = new java.util.ArrayList(abilityUpgrades_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated int32 ability_upgrades = 2;
*/
public java.util.List
getAbilityUpgradesList() {
return java.util.Collections.unmodifiableList(abilityUpgrades_);
}
/**
* repeated int32 ability_upgrades = 2;
*/
public int getAbilityUpgradesCount() {
return abilityUpgrades_.size();
}
/**
* repeated int32 ability_upgrades = 2;
*/
public int getAbilityUpgrades(int index) {
return abilityUpgrades_.get(index);
}
/**
* repeated int32 ability_upgrades = 2;
*/
public Builder setAbilityUpgrades(
int index, int value) {
ensureAbilityUpgradesIsMutable();
abilityUpgrades_.set(index, value);
onChanged();
return this;
}
/**
* repeated int32 ability_upgrades = 2;
*/
public Builder addAbilityUpgrades(int value) {
ensureAbilityUpgradesIsMutable();
abilityUpgrades_.add(value);
onChanged();
return this;
}
/**
* repeated int32 ability_upgrades = 2;
*/
public Builder addAllAbilityUpgrades(
java.lang.Iterable extends java.lang.Integer> values) {
ensureAbilityUpgradesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, abilityUpgrades_);
onChanged();
return this;
}
/**
* repeated int32 ability_upgrades = 2;
*/
public Builder clearAbilityUpgrades() {
abilityUpgrades_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
private int playerSlot_ ;
/**
* optional uint32 player_slot = 3;
*/
public boolean hasPlayerSlot() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 player_slot = 3;
*/
public int getPlayerSlot() {
return playerSlot_;
}
/**
* optional uint32 player_slot = 3;
*/
public Builder setPlayerSlot(int value) {
bitField0_ |= 0x00000002;
playerSlot_ = value;
onChanged();
return this;
}
/**
* optional uint32 player_slot = 3;
*/
public Builder clearPlayerSlot() {
bitField0_ = (bitField0_ & ~0x00000002);
playerSlot_ = 0;
onChanged();
return this;
}
private java.util.List kills_ =
java.util.Collections.emptyList();
private void ensureKillsIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
kills_ = new java.util.ArrayList(kills_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill.Builder, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKillOrBuilder> killsBuilder_;
/**
* repeated .CDOTAMatchMetadata.Team.PlayerKill kills = 5;
*/
public java.util.List getKillsList() {
if (killsBuilder_ == null) {
return java.util.Collections.unmodifiableList(kills_);
} else {
return killsBuilder_.getMessageList();
}
}
/**
* repeated .CDOTAMatchMetadata.Team.PlayerKill kills = 5;
*/
public int getKillsCount() {
if (killsBuilder_ == null) {
return kills_.size();
} else {
return killsBuilder_.getCount();
}
}
/**
* repeated .CDOTAMatchMetadata.Team.PlayerKill kills = 5;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill getKills(int index) {
if (killsBuilder_ == null) {
return kills_.get(index);
} else {
return killsBuilder_.getMessage(index);
}
}
/**
* repeated .CDOTAMatchMetadata.Team.PlayerKill kills = 5;
*/
public Builder setKills(
int index, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill value) {
if (killsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureKillsIsMutable();
kills_.set(index, value);
onChanged();
} else {
killsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.PlayerKill kills = 5;
*/
public Builder setKills(
int index, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill.Builder builderForValue) {
if (killsBuilder_ == null) {
ensureKillsIsMutable();
kills_.set(index, builderForValue.build());
onChanged();
} else {
killsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.PlayerKill kills = 5;
*/
public Builder addKills(skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill value) {
if (killsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureKillsIsMutable();
kills_.add(value);
onChanged();
} else {
killsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.PlayerKill kills = 5;
*/
public Builder addKills(
int index, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill value) {
if (killsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureKillsIsMutable();
kills_.add(index, value);
onChanged();
} else {
killsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.PlayerKill kills = 5;
*/
public Builder addKills(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill.Builder builderForValue) {
if (killsBuilder_ == null) {
ensureKillsIsMutable();
kills_.add(builderForValue.build());
onChanged();
} else {
killsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.PlayerKill kills = 5;
*/
public Builder addKills(
int index, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill.Builder builderForValue) {
if (killsBuilder_ == null) {
ensureKillsIsMutable();
kills_.add(index, builderForValue.build());
onChanged();
} else {
killsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.PlayerKill kills = 5;
*/
public Builder addAllKills(
java.lang.Iterable extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill> values) {
if (killsBuilder_ == null) {
ensureKillsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, kills_);
onChanged();
} else {
killsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.PlayerKill kills = 5;
*/
public Builder clearKills() {
if (killsBuilder_ == null) {
kills_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
killsBuilder_.clear();
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.PlayerKill kills = 5;
*/
public Builder removeKills(int index) {
if (killsBuilder_ == null) {
ensureKillsIsMutable();
kills_.remove(index);
onChanged();
} else {
killsBuilder_.remove(index);
}
return this;
}
/**
* repeated .CDOTAMatchMetadata.Team.PlayerKill kills = 5;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill.Builder getKillsBuilder(
int index) {
return getKillsFieldBuilder().getBuilder(index);
}
/**
* repeated .CDOTAMatchMetadata.Team.PlayerKill kills = 5;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKillOrBuilder getKillsOrBuilder(
int index) {
if (killsBuilder_ == null) {
return kills_.get(index); } else {
return killsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .CDOTAMatchMetadata.Team.PlayerKill kills = 5;
*/
public java.util.List extends skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKillOrBuilder>
getKillsOrBuilderList() {
if (killsBuilder_ != null) {
return killsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(kills_);
}
}
/**
* repeated .CDOTAMatchMetadata.Team.PlayerKill kills = 5;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill.Builder addKillsBuilder() {
return getKillsFieldBuilder().addBuilder(
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill.getDefaultInstance());
}
/**
* repeated .CDOTAMatchMetadata.Team.PlayerKill kills = 5;
*/
public skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill.Builder addKillsBuilder(
int index) {
return getKillsFieldBuilder().addBuilder(
index, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill.getDefaultInstance());
}
/**
* repeated .CDOTAMatchMetadata.Team.PlayerKill kills = 5;
*/
public java.util.List
getKillsBuilderList() {
return getKillsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill.Builder, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKillOrBuilder>
getKillsFieldBuilder() {
if (killsBuilder_ == null) {
killsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKill.Builder, skadistats.clarity.wire.dota.s2.proto.DOTAS2MatchMetadata.CDOTAMatchMetadata.Team.PlayerKillOrBuilder>(
kills_,
((bitField0_ & 0x00000004) == 0x00000004),
getParentForChildren(),
isClean());
kills_ = null;
}
return killsBuilder_;
}
private java.util.List