skadistats.clarity.wire.csgo.proto.CsGoGcMessages Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clarity-protobuf Show documentation
Show all versions of clarity-protobuf Show documentation
Clarity is an open source replay parser for Dota 2 and CSGO 1 and 2 written in Java. This JAR contains the protobuf classes for clarity.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: cstrike15_gcmessages.proto
package skadistats.clarity.wire.csgo.proto;
public final class CsGoGcMessages {
private CsGoGcMessages() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
public interface CEconItemPreviewDataBlockOrBuilder extends
// @@protoc_insertion_point(interface_extends:CEconItemPreviewDataBlock)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 accountid = 1;
*/
boolean hasAccountid();
/**
* optional uint32 accountid = 1;
*/
int getAccountid();
/**
* optional uint64 itemid = 2;
*/
boolean hasItemid();
/**
* optional uint64 itemid = 2;
*/
long getItemid();
/**
* optional uint32 defindex = 3;
*/
boolean hasDefindex();
/**
* optional uint32 defindex = 3;
*/
int getDefindex();
/**
* optional uint32 paintindex = 4;
*/
boolean hasPaintindex();
/**
* optional uint32 paintindex = 4;
*/
int getPaintindex();
/**
* optional uint32 rarity = 5;
*/
boolean hasRarity();
/**
* optional uint32 rarity = 5;
*/
int getRarity();
/**
* optional uint32 quality = 6;
*/
boolean hasQuality();
/**
* optional uint32 quality = 6;
*/
int getQuality();
/**
* optional uint32 paintwear = 7;
*/
boolean hasPaintwear();
/**
* optional uint32 paintwear = 7;
*/
int getPaintwear();
/**
* optional uint32 paintseed = 8;
*/
boolean hasPaintseed();
/**
* optional uint32 paintseed = 8;
*/
int getPaintseed();
/**
* optional uint32 killeaterscoretype = 9;
*/
boolean hasKilleaterscoretype();
/**
* optional uint32 killeaterscoretype = 9;
*/
int getKilleaterscoretype();
/**
* optional uint32 killeatervalue = 10;
*/
boolean hasKilleatervalue();
/**
* optional uint32 killeatervalue = 10;
*/
int getKilleatervalue();
/**
* optional string customname = 11;
*/
boolean hasCustomname();
/**
* optional string customname = 11;
*/
java.lang.String getCustomname();
/**
* optional string customname = 11;
*/
com.google.protobuf.ByteString
getCustomnameBytes();
/**
* repeated .CEconItemPreviewDataBlock.Sticker stickers = 12;
*/
java.util.List
getStickersList();
/**
* repeated .CEconItemPreviewDataBlock.Sticker stickers = 12;
*/
skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker getStickers(int index);
/**
* repeated .CEconItemPreviewDataBlock.Sticker stickers = 12;
*/
int getStickersCount();
/**
* repeated .CEconItemPreviewDataBlock.Sticker stickers = 12;
*/
java.util.List extends skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.StickerOrBuilder>
getStickersOrBuilderList();
/**
* repeated .CEconItemPreviewDataBlock.Sticker stickers = 12;
*/
skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.StickerOrBuilder getStickersOrBuilder(
int index);
/**
* optional uint32 inventory = 13;
*/
boolean hasInventory();
/**
* optional uint32 inventory = 13;
*/
int getInventory();
/**
* optional uint32 origin = 14;
*/
boolean hasOrigin();
/**
* optional uint32 origin = 14;
*/
int getOrigin();
/**
* optional uint32 questid = 15;
*/
boolean hasQuestid();
/**
* optional uint32 questid = 15;
*/
int getQuestid();
/**
* optional uint32 dropreason = 16;
*/
boolean hasDropreason();
/**
* optional uint32 dropreason = 16;
*/
int getDropreason();
}
/**
* Protobuf type {@code CEconItemPreviewDataBlock}
*/
public static final class CEconItemPreviewDataBlock extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CEconItemPreviewDataBlock)
CEconItemPreviewDataBlockOrBuilder {
// Use CEconItemPreviewDataBlock.newBuilder() to construct.
private CEconItemPreviewDataBlock(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CEconItemPreviewDataBlock(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CEconItemPreviewDataBlock defaultInstance;
public static CEconItemPreviewDataBlock getDefaultInstance() {
return defaultInstance;
}
public CEconItemPreviewDataBlock getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CEconItemPreviewDataBlock(
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;
accountid_ = input.readUInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
itemid_ = input.readUInt64();
break;
}
case 24: {
bitField0_ |= 0x00000004;
defindex_ = input.readUInt32();
break;
}
case 32: {
bitField0_ |= 0x00000008;
paintindex_ = input.readUInt32();
break;
}
case 40: {
bitField0_ |= 0x00000010;
rarity_ = input.readUInt32();
break;
}
case 48: {
bitField0_ |= 0x00000020;
quality_ = input.readUInt32();
break;
}
case 56: {
bitField0_ |= 0x00000040;
paintwear_ = input.readUInt32();
break;
}
case 64: {
bitField0_ |= 0x00000080;
paintseed_ = input.readUInt32();
break;
}
case 72: {
bitField0_ |= 0x00000100;
killeaterscoretype_ = input.readUInt32();
break;
}
case 80: {
bitField0_ |= 0x00000200;
killeatervalue_ = input.readUInt32();
break;
}
case 90: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000400;
customname_ = bs;
break;
}
case 98: {
if (!((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
stickers_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000800;
}
stickers_.add(input.readMessage(skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker.PARSER, extensionRegistry));
break;
}
case 104: {
bitField0_ |= 0x00000800;
inventory_ = input.readUInt32();
break;
}
case 112: {
bitField0_ |= 0x00001000;
origin_ = input.readUInt32();
break;
}
case 120: {
bitField0_ |= 0x00002000;
questid_ = input.readUInt32();
break;
}
case 128: {
bitField0_ |= 0x00004000;
dropreason_ = 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 {
if (((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
stickers_ = java.util.Collections.unmodifiableList(stickers_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.csgo.proto.CsGoGcMessages.internal_static_CEconItemPreviewDataBlock_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.csgo.proto.CsGoGcMessages.internal_static_CEconItemPreviewDataBlock_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.class, skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CEconItemPreviewDataBlock parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CEconItemPreviewDataBlock(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public interface StickerOrBuilder extends
// @@protoc_insertion_point(interface_extends:CEconItemPreviewDataBlock.Sticker)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 slot = 1;
*/
boolean hasSlot();
/**
* optional uint32 slot = 1;
*/
int getSlot();
/**
* optional uint32 sticker_id = 2;
*/
boolean hasStickerId();
/**
* optional uint32 sticker_id = 2;
*/
int getStickerId();
/**
* optional float wear = 3;
*/
boolean hasWear();
/**
* optional float wear = 3;
*/
float getWear();
/**
* optional float scale = 4;
*/
boolean hasScale();
/**
* optional float scale = 4;
*/
float getScale();
/**
* optional float rotation = 5;
*/
boolean hasRotation();
/**
* optional float rotation = 5;
*/
float getRotation();
}
/**
* Protobuf type {@code CEconItemPreviewDataBlock.Sticker}
*/
public static final class Sticker extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CEconItemPreviewDataBlock.Sticker)
StickerOrBuilder {
// Use Sticker.newBuilder() to construct.
private Sticker(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private Sticker(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final Sticker defaultInstance;
public static Sticker getDefaultInstance() {
return defaultInstance;
}
public Sticker getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Sticker(
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;
slot_ = input.readUInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
stickerId_ = input.readUInt32();
break;
}
case 29: {
bitField0_ |= 0x00000004;
wear_ = input.readFloat();
break;
}
case 37: {
bitField0_ |= 0x00000008;
scale_ = input.readFloat();
break;
}
case 45: {
bitField0_ |= 0x00000010;
rotation_ = 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.csgo.proto.CsGoGcMessages.internal_static_CEconItemPreviewDataBlock_Sticker_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.csgo.proto.CsGoGcMessages.internal_static_CEconItemPreviewDataBlock_Sticker_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker.class, skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public Sticker parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Sticker(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int SLOT_FIELD_NUMBER = 1;
private int slot_;
/**
* optional uint32 slot = 1;
*/
public boolean hasSlot() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 slot = 1;
*/
public int getSlot() {
return slot_;
}
public static final int STICKER_ID_FIELD_NUMBER = 2;
private int stickerId_;
/**
* optional uint32 sticker_id = 2;
*/
public boolean hasStickerId() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 sticker_id = 2;
*/
public int getStickerId() {
return stickerId_;
}
public static final int WEAR_FIELD_NUMBER = 3;
private float wear_;
/**
* optional float wear = 3;
*/
public boolean hasWear() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional float wear = 3;
*/
public float getWear() {
return wear_;
}
public static final int SCALE_FIELD_NUMBER = 4;
private float scale_;
/**
* optional float scale = 4;
*/
public boolean hasScale() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional float scale = 4;
*/
public float getScale() {
return scale_;
}
public static final int ROTATION_FIELD_NUMBER = 5;
private float rotation_;
/**
* optional float rotation = 5;
*/
public boolean hasRotation() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional float rotation = 5;
*/
public float getRotation() {
return rotation_;
}
private void initFields() {
slot_ = 0;
stickerId_ = 0;
wear_ = 0F;
scale_ = 0F;
rotation_ = 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, slot_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt32(2, stickerId_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeFloat(3, wear_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeFloat(4, scale_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeFloat(5, rotation_);
}
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, slot_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, stickerId_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(3, wear_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(4, scale_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(5, rotation_);
}
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.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker 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.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker 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.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker 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 CEconItemPreviewDataBlock.Sticker}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CEconItemPreviewDataBlock.Sticker)
skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.StickerOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.csgo.proto.CsGoGcMessages.internal_static_CEconItemPreviewDataBlock_Sticker_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.csgo.proto.CsGoGcMessages.internal_static_CEconItemPreviewDataBlock_Sticker_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker.class, skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker.Builder.class);
}
// Construct using skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker.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();
slot_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
stickerId_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
wear_ = 0F;
bitField0_ = (bitField0_ & ~0x00000004);
scale_ = 0F;
bitField0_ = (bitField0_ & ~0x00000008);
rotation_ = 0F;
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.csgo.proto.CsGoGcMessages.internal_static_CEconItemPreviewDataBlock_Sticker_descriptor;
}
public skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker getDefaultInstanceForType() {
return skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker.getDefaultInstance();
}
public skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker build() {
skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker buildPartial() {
skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker result = new skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.slot_ = slot_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.stickerId_ = stickerId_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.wear_ = wear_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.scale_ = scale_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.rotation_ = rotation_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker) {
return mergeFrom((skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker other) {
if (other == skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker.getDefaultInstance()) return this;
if (other.hasSlot()) {
setSlot(other.getSlot());
}
if (other.hasStickerId()) {
setStickerId(other.getStickerId());
}
if (other.hasWear()) {
setWear(other.getWear());
}
if (other.hasScale()) {
setScale(other.getScale());
}
if (other.hasRotation()) {
setRotation(other.getRotation());
}
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.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int slot_ ;
/**
* optional uint32 slot = 1;
*/
public boolean hasSlot() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 slot = 1;
*/
public int getSlot() {
return slot_;
}
/**
* optional uint32 slot = 1;
*/
public Builder setSlot(int value) {
bitField0_ |= 0x00000001;
slot_ = value;
onChanged();
return this;
}
/**
* optional uint32 slot = 1;
*/
public Builder clearSlot() {
bitField0_ = (bitField0_ & ~0x00000001);
slot_ = 0;
onChanged();
return this;
}
private int stickerId_ ;
/**
* optional uint32 sticker_id = 2;
*/
public boolean hasStickerId() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 sticker_id = 2;
*/
public int getStickerId() {
return stickerId_;
}
/**
* optional uint32 sticker_id = 2;
*/
public Builder setStickerId(int value) {
bitField0_ |= 0x00000002;
stickerId_ = value;
onChanged();
return this;
}
/**
* optional uint32 sticker_id = 2;
*/
public Builder clearStickerId() {
bitField0_ = (bitField0_ & ~0x00000002);
stickerId_ = 0;
onChanged();
return this;
}
private float wear_ ;
/**
* optional float wear = 3;
*/
public boolean hasWear() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional float wear = 3;
*/
public float getWear() {
return wear_;
}
/**
* optional float wear = 3;
*/
public Builder setWear(float value) {
bitField0_ |= 0x00000004;
wear_ = value;
onChanged();
return this;
}
/**
* optional float wear = 3;
*/
public Builder clearWear() {
bitField0_ = (bitField0_ & ~0x00000004);
wear_ = 0F;
onChanged();
return this;
}
private float scale_ ;
/**
* optional float scale = 4;
*/
public boolean hasScale() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional float scale = 4;
*/
public float getScale() {
return scale_;
}
/**
* optional float scale = 4;
*/
public Builder setScale(float value) {
bitField0_ |= 0x00000008;
scale_ = value;
onChanged();
return this;
}
/**
* optional float scale = 4;
*/
public Builder clearScale() {
bitField0_ = (bitField0_ & ~0x00000008);
scale_ = 0F;
onChanged();
return this;
}
private float rotation_ ;
/**
* optional float rotation = 5;
*/
public boolean hasRotation() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional float rotation = 5;
*/
public float getRotation() {
return rotation_;
}
/**
* optional float rotation = 5;
*/
public Builder setRotation(float value) {
bitField0_ |= 0x00000010;
rotation_ = value;
onChanged();
return this;
}
/**
* optional float rotation = 5;
*/
public Builder clearRotation() {
bitField0_ = (bitField0_ & ~0x00000010);
rotation_ = 0F;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CEconItemPreviewDataBlock.Sticker)
}
static {
defaultInstance = new Sticker(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CEconItemPreviewDataBlock.Sticker)
}
private int bitField0_;
public static final int ACCOUNTID_FIELD_NUMBER = 1;
private int accountid_;
/**
* optional uint32 accountid = 1;
*/
public boolean hasAccountid() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 accountid = 1;
*/
public int getAccountid() {
return accountid_;
}
public static final int ITEMID_FIELD_NUMBER = 2;
private long itemid_;
/**
* optional uint64 itemid = 2;
*/
public boolean hasItemid() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint64 itemid = 2;
*/
public long getItemid() {
return itemid_;
}
public static final int DEFINDEX_FIELD_NUMBER = 3;
private int defindex_;
/**
* optional uint32 defindex = 3;
*/
public boolean hasDefindex() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 defindex = 3;
*/
public int getDefindex() {
return defindex_;
}
public static final int PAINTINDEX_FIELD_NUMBER = 4;
private int paintindex_;
/**
* optional uint32 paintindex = 4;
*/
public boolean hasPaintindex() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional uint32 paintindex = 4;
*/
public int getPaintindex() {
return paintindex_;
}
public static final int RARITY_FIELD_NUMBER = 5;
private int rarity_;
/**
* optional uint32 rarity = 5;
*/
public boolean hasRarity() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional uint32 rarity = 5;
*/
public int getRarity() {
return rarity_;
}
public static final int QUALITY_FIELD_NUMBER = 6;
private int quality_;
/**
* optional uint32 quality = 6;
*/
public boolean hasQuality() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional uint32 quality = 6;
*/
public int getQuality() {
return quality_;
}
public static final int PAINTWEAR_FIELD_NUMBER = 7;
private int paintwear_;
/**
* optional uint32 paintwear = 7;
*/
public boolean hasPaintwear() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional uint32 paintwear = 7;
*/
public int getPaintwear() {
return paintwear_;
}
public static final int PAINTSEED_FIELD_NUMBER = 8;
private int paintseed_;
/**
* optional uint32 paintseed = 8;
*/
public boolean hasPaintseed() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional uint32 paintseed = 8;
*/
public int getPaintseed() {
return paintseed_;
}
public static final int KILLEATERSCORETYPE_FIELD_NUMBER = 9;
private int killeaterscoretype_;
/**
* optional uint32 killeaterscoretype = 9;
*/
public boolean hasKilleaterscoretype() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional uint32 killeaterscoretype = 9;
*/
public int getKilleaterscoretype() {
return killeaterscoretype_;
}
public static final int KILLEATERVALUE_FIELD_NUMBER = 10;
private int killeatervalue_;
/**
* optional uint32 killeatervalue = 10;
*/
public boolean hasKilleatervalue() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* optional uint32 killeatervalue = 10;
*/
public int getKilleatervalue() {
return killeatervalue_;
}
public static final int CUSTOMNAME_FIELD_NUMBER = 11;
private java.lang.Object customname_;
/**
* optional string customname = 11;
*/
public boolean hasCustomname() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* optional string customname = 11;
*/
public java.lang.String getCustomname() {
java.lang.Object ref = customname_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
customname_ = s;
}
return s;
}
}
/**
* optional string customname = 11;
*/
public com.google.protobuf.ByteString
getCustomnameBytes() {
java.lang.Object ref = customname_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
customname_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STICKERS_FIELD_NUMBER = 12;
private java.util.List stickers_;
/**
* repeated .CEconItemPreviewDataBlock.Sticker stickers = 12;
*/
public java.util.List getStickersList() {
return stickers_;
}
/**
* repeated .CEconItemPreviewDataBlock.Sticker stickers = 12;
*/
public java.util.List extends skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.StickerOrBuilder>
getStickersOrBuilderList() {
return stickers_;
}
/**
* repeated .CEconItemPreviewDataBlock.Sticker stickers = 12;
*/
public int getStickersCount() {
return stickers_.size();
}
/**
* repeated .CEconItemPreviewDataBlock.Sticker stickers = 12;
*/
public skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker getStickers(int index) {
return stickers_.get(index);
}
/**
* repeated .CEconItemPreviewDataBlock.Sticker stickers = 12;
*/
public skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.StickerOrBuilder getStickersOrBuilder(
int index) {
return stickers_.get(index);
}
public static final int INVENTORY_FIELD_NUMBER = 13;
private int inventory_;
/**
* optional uint32 inventory = 13;
*/
public boolean hasInventory() {
return ((bitField0_ & 0x00000800) == 0x00000800);
}
/**
* optional uint32 inventory = 13;
*/
public int getInventory() {
return inventory_;
}
public static final int ORIGIN_FIELD_NUMBER = 14;
private int origin_;
/**
* optional uint32 origin = 14;
*/
public boolean hasOrigin() {
return ((bitField0_ & 0x00001000) == 0x00001000);
}
/**
* optional uint32 origin = 14;
*/
public int getOrigin() {
return origin_;
}
public static final int QUESTID_FIELD_NUMBER = 15;
private int questid_;
/**
* optional uint32 questid = 15;
*/
public boolean hasQuestid() {
return ((bitField0_ & 0x00002000) == 0x00002000);
}
/**
* optional uint32 questid = 15;
*/
public int getQuestid() {
return questid_;
}
public static final int DROPREASON_FIELD_NUMBER = 16;
private int dropreason_;
/**
* optional uint32 dropreason = 16;
*/
public boolean hasDropreason() {
return ((bitField0_ & 0x00004000) == 0x00004000);
}
/**
* optional uint32 dropreason = 16;
*/
public int getDropreason() {
return dropreason_;
}
private void initFields() {
accountid_ = 0;
itemid_ = 0L;
defindex_ = 0;
paintindex_ = 0;
rarity_ = 0;
quality_ = 0;
paintwear_ = 0;
paintseed_ = 0;
killeaterscoretype_ = 0;
killeatervalue_ = 0;
customname_ = "";
stickers_ = java.util.Collections.emptyList();
inventory_ = 0;
origin_ = 0;
questid_ = 0;
dropreason_ = 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, accountid_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt64(2, itemid_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeUInt32(3, defindex_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeUInt32(4, paintindex_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeUInt32(5, rarity_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeUInt32(6, quality_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeUInt32(7, paintwear_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeUInt32(8, paintseed_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
output.writeUInt32(9, killeaterscoretype_);
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
output.writeUInt32(10, killeatervalue_);
}
if (((bitField0_ & 0x00000400) == 0x00000400)) {
output.writeBytes(11, getCustomnameBytes());
}
for (int i = 0; i < stickers_.size(); i++) {
output.writeMessage(12, stickers_.get(i));
}
if (((bitField0_ & 0x00000800) == 0x00000800)) {
output.writeUInt32(13, inventory_);
}
if (((bitField0_ & 0x00001000) == 0x00001000)) {
output.writeUInt32(14, origin_);
}
if (((bitField0_ & 0x00002000) == 0x00002000)) {
output.writeUInt32(15, questid_);
}
if (((bitField0_ & 0x00004000) == 0x00004000)) {
output.writeUInt32(16, dropreason_);
}
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, accountid_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(2, itemid_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, defindex_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, paintindex_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, rarity_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(6, quality_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(7, paintwear_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(8, paintseed_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(9, killeaterscoretype_);
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(10, killeatervalue_);
}
if (((bitField0_ & 0x00000400) == 0x00000400)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(11, getCustomnameBytes());
}
for (int i = 0; i < stickers_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, stickers_.get(i));
}
if (((bitField0_ & 0x00000800) == 0x00000800)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(13, inventory_);
}
if (((bitField0_ & 0x00001000) == 0x00001000)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(14, origin_);
}
if (((bitField0_ & 0x00002000) == 0x00002000)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(15, questid_);
}
if (((bitField0_ & 0x00004000) == 0x00004000)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(16, dropreason_);
}
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.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock 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.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock 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.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock 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 CEconItemPreviewDataBlock}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CEconItemPreviewDataBlock)
skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlockOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.csgo.proto.CsGoGcMessages.internal_static_CEconItemPreviewDataBlock_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.csgo.proto.CsGoGcMessages.internal_static_CEconItemPreviewDataBlock_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.class, skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Builder.class);
}
// Construct using skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getStickersFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
accountid_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
itemid_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
defindex_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
paintindex_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
rarity_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
quality_ = 0;
bitField0_ = (bitField0_ & ~0x00000020);
paintwear_ = 0;
bitField0_ = (bitField0_ & ~0x00000040);
paintseed_ = 0;
bitField0_ = (bitField0_ & ~0x00000080);
killeaterscoretype_ = 0;
bitField0_ = (bitField0_ & ~0x00000100);
killeatervalue_ = 0;
bitField0_ = (bitField0_ & ~0x00000200);
customname_ = "";
bitField0_ = (bitField0_ & ~0x00000400);
if (stickersBuilder_ == null) {
stickers_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000800);
} else {
stickersBuilder_.clear();
}
inventory_ = 0;
bitField0_ = (bitField0_ & ~0x00001000);
origin_ = 0;
bitField0_ = (bitField0_ & ~0x00002000);
questid_ = 0;
bitField0_ = (bitField0_ & ~0x00004000);
dropreason_ = 0;
bitField0_ = (bitField0_ & ~0x00008000);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.csgo.proto.CsGoGcMessages.internal_static_CEconItemPreviewDataBlock_descriptor;
}
public skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock getDefaultInstanceForType() {
return skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.getDefaultInstance();
}
public skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock build() {
skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock buildPartial() {
skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock result = new skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.accountid_ = accountid_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.itemid_ = itemid_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.defindex_ = defindex_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.paintindex_ = paintindex_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.rarity_ = rarity_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.quality_ = quality_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000040;
}
result.paintwear_ = paintwear_;
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000080;
}
result.paintseed_ = paintseed_;
if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
to_bitField0_ |= 0x00000100;
}
result.killeaterscoretype_ = killeaterscoretype_;
if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
to_bitField0_ |= 0x00000200;
}
result.killeatervalue_ = killeatervalue_;
if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
to_bitField0_ |= 0x00000400;
}
result.customname_ = customname_;
if (stickersBuilder_ == null) {
if (((bitField0_ & 0x00000800) == 0x00000800)) {
stickers_ = java.util.Collections.unmodifiableList(stickers_);
bitField0_ = (bitField0_ & ~0x00000800);
}
result.stickers_ = stickers_;
} else {
result.stickers_ = stickersBuilder_.build();
}
if (((from_bitField0_ & 0x00001000) == 0x00001000)) {
to_bitField0_ |= 0x00000800;
}
result.inventory_ = inventory_;
if (((from_bitField0_ & 0x00002000) == 0x00002000)) {
to_bitField0_ |= 0x00001000;
}
result.origin_ = origin_;
if (((from_bitField0_ & 0x00004000) == 0x00004000)) {
to_bitField0_ |= 0x00002000;
}
result.questid_ = questid_;
if (((from_bitField0_ & 0x00008000) == 0x00008000)) {
to_bitField0_ |= 0x00004000;
}
result.dropreason_ = dropreason_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock) {
return mergeFrom((skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock other) {
if (other == skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.getDefaultInstance()) return this;
if (other.hasAccountid()) {
setAccountid(other.getAccountid());
}
if (other.hasItemid()) {
setItemid(other.getItemid());
}
if (other.hasDefindex()) {
setDefindex(other.getDefindex());
}
if (other.hasPaintindex()) {
setPaintindex(other.getPaintindex());
}
if (other.hasRarity()) {
setRarity(other.getRarity());
}
if (other.hasQuality()) {
setQuality(other.getQuality());
}
if (other.hasPaintwear()) {
setPaintwear(other.getPaintwear());
}
if (other.hasPaintseed()) {
setPaintseed(other.getPaintseed());
}
if (other.hasKilleaterscoretype()) {
setKilleaterscoretype(other.getKilleaterscoretype());
}
if (other.hasKilleatervalue()) {
setKilleatervalue(other.getKilleatervalue());
}
if (other.hasCustomname()) {
bitField0_ |= 0x00000400;
customname_ = other.customname_;
onChanged();
}
if (stickersBuilder_ == null) {
if (!other.stickers_.isEmpty()) {
if (stickers_.isEmpty()) {
stickers_ = other.stickers_;
bitField0_ = (bitField0_ & ~0x00000800);
} else {
ensureStickersIsMutable();
stickers_.addAll(other.stickers_);
}
onChanged();
}
} else {
if (!other.stickers_.isEmpty()) {
if (stickersBuilder_.isEmpty()) {
stickersBuilder_.dispose();
stickersBuilder_ = null;
stickers_ = other.stickers_;
bitField0_ = (bitField0_ & ~0x00000800);
stickersBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getStickersFieldBuilder() : null;
} else {
stickersBuilder_.addAllMessages(other.stickers_);
}
}
}
if (other.hasInventory()) {
setInventory(other.getInventory());
}
if (other.hasOrigin()) {
setOrigin(other.getOrigin());
}
if (other.hasQuestid()) {
setQuestid(other.getQuestid());
}
if (other.hasDropreason()) {
setDropreason(other.getDropreason());
}
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.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int accountid_ ;
/**
* optional uint32 accountid = 1;
*/
public boolean hasAccountid() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 accountid = 1;
*/
public int getAccountid() {
return accountid_;
}
/**
* optional uint32 accountid = 1;
*/
public Builder setAccountid(int value) {
bitField0_ |= 0x00000001;
accountid_ = value;
onChanged();
return this;
}
/**
* optional uint32 accountid = 1;
*/
public Builder clearAccountid() {
bitField0_ = (bitField0_ & ~0x00000001);
accountid_ = 0;
onChanged();
return this;
}
private long itemid_ ;
/**
* optional uint64 itemid = 2;
*/
public boolean hasItemid() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint64 itemid = 2;
*/
public long getItemid() {
return itemid_;
}
/**
* optional uint64 itemid = 2;
*/
public Builder setItemid(long value) {
bitField0_ |= 0x00000002;
itemid_ = value;
onChanged();
return this;
}
/**
* optional uint64 itemid = 2;
*/
public Builder clearItemid() {
bitField0_ = (bitField0_ & ~0x00000002);
itemid_ = 0L;
onChanged();
return this;
}
private int defindex_ ;
/**
* optional uint32 defindex = 3;
*/
public boolean hasDefindex() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 defindex = 3;
*/
public int getDefindex() {
return defindex_;
}
/**
* optional uint32 defindex = 3;
*/
public Builder setDefindex(int value) {
bitField0_ |= 0x00000004;
defindex_ = value;
onChanged();
return this;
}
/**
* optional uint32 defindex = 3;
*/
public Builder clearDefindex() {
bitField0_ = (bitField0_ & ~0x00000004);
defindex_ = 0;
onChanged();
return this;
}
private int paintindex_ ;
/**
* optional uint32 paintindex = 4;
*/
public boolean hasPaintindex() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional uint32 paintindex = 4;
*/
public int getPaintindex() {
return paintindex_;
}
/**
* optional uint32 paintindex = 4;
*/
public Builder setPaintindex(int value) {
bitField0_ |= 0x00000008;
paintindex_ = value;
onChanged();
return this;
}
/**
* optional uint32 paintindex = 4;
*/
public Builder clearPaintindex() {
bitField0_ = (bitField0_ & ~0x00000008);
paintindex_ = 0;
onChanged();
return this;
}
private int rarity_ ;
/**
* optional uint32 rarity = 5;
*/
public boolean hasRarity() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional uint32 rarity = 5;
*/
public int getRarity() {
return rarity_;
}
/**
* optional uint32 rarity = 5;
*/
public Builder setRarity(int value) {
bitField0_ |= 0x00000010;
rarity_ = value;
onChanged();
return this;
}
/**
* optional uint32 rarity = 5;
*/
public Builder clearRarity() {
bitField0_ = (bitField0_ & ~0x00000010);
rarity_ = 0;
onChanged();
return this;
}
private int quality_ ;
/**
* optional uint32 quality = 6;
*/
public boolean hasQuality() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional uint32 quality = 6;
*/
public int getQuality() {
return quality_;
}
/**
* optional uint32 quality = 6;
*/
public Builder setQuality(int value) {
bitField0_ |= 0x00000020;
quality_ = value;
onChanged();
return this;
}
/**
* optional uint32 quality = 6;
*/
public Builder clearQuality() {
bitField0_ = (bitField0_ & ~0x00000020);
quality_ = 0;
onChanged();
return this;
}
private int paintwear_ ;
/**
* optional uint32 paintwear = 7;
*/
public boolean hasPaintwear() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional uint32 paintwear = 7;
*/
public int getPaintwear() {
return paintwear_;
}
/**
* optional uint32 paintwear = 7;
*/
public Builder setPaintwear(int value) {
bitField0_ |= 0x00000040;
paintwear_ = value;
onChanged();
return this;
}
/**
* optional uint32 paintwear = 7;
*/
public Builder clearPaintwear() {
bitField0_ = (bitField0_ & ~0x00000040);
paintwear_ = 0;
onChanged();
return this;
}
private int paintseed_ ;
/**
* optional uint32 paintseed = 8;
*/
public boolean hasPaintseed() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional uint32 paintseed = 8;
*/
public int getPaintseed() {
return paintseed_;
}
/**
* optional uint32 paintseed = 8;
*/
public Builder setPaintseed(int value) {
bitField0_ |= 0x00000080;
paintseed_ = value;
onChanged();
return this;
}
/**
* optional uint32 paintseed = 8;
*/
public Builder clearPaintseed() {
bitField0_ = (bitField0_ & ~0x00000080);
paintseed_ = 0;
onChanged();
return this;
}
private int killeaterscoretype_ ;
/**
* optional uint32 killeaterscoretype = 9;
*/
public boolean hasKilleaterscoretype() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional uint32 killeaterscoretype = 9;
*/
public int getKilleaterscoretype() {
return killeaterscoretype_;
}
/**
* optional uint32 killeaterscoretype = 9;
*/
public Builder setKilleaterscoretype(int value) {
bitField0_ |= 0x00000100;
killeaterscoretype_ = value;
onChanged();
return this;
}
/**
* optional uint32 killeaterscoretype = 9;
*/
public Builder clearKilleaterscoretype() {
bitField0_ = (bitField0_ & ~0x00000100);
killeaterscoretype_ = 0;
onChanged();
return this;
}
private int killeatervalue_ ;
/**
* optional uint32 killeatervalue = 10;
*/
public boolean hasKilleatervalue() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* optional uint32 killeatervalue = 10;
*/
public int getKilleatervalue() {
return killeatervalue_;
}
/**
* optional uint32 killeatervalue = 10;
*/
public Builder setKilleatervalue(int value) {
bitField0_ |= 0x00000200;
killeatervalue_ = value;
onChanged();
return this;
}
/**
* optional uint32 killeatervalue = 10;
*/
public Builder clearKilleatervalue() {
bitField0_ = (bitField0_ & ~0x00000200);
killeatervalue_ = 0;
onChanged();
return this;
}
private java.lang.Object customname_ = "";
/**
* optional string customname = 11;
*/
public boolean hasCustomname() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* optional string customname = 11;
*/
public java.lang.String getCustomname() {
java.lang.Object ref = customname_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
customname_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string customname = 11;
*/
public com.google.protobuf.ByteString
getCustomnameBytes() {
java.lang.Object ref = customname_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
customname_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string customname = 11;
*/
public Builder setCustomname(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000400;
customname_ = value;
onChanged();
return this;
}
/**
* optional string customname = 11;
*/
public Builder clearCustomname() {
bitField0_ = (bitField0_ & ~0x00000400);
customname_ = getDefaultInstance().getCustomname();
onChanged();
return this;
}
/**
* optional string customname = 11;
*/
public Builder setCustomnameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000400;
customname_ = value;
onChanged();
return this;
}
private java.util.List stickers_ =
java.util.Collections.emptyList();
private void ensureStickersIsMutable() {
if (!((bitField0_ & 0x00000800) == 0x00000800)) {
stickers_ = new java.util.ArrayList(stickers_);
bitField0_ |= 0x00000800;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker, skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker.Builder, skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.StickerOrBuilder> stickersBuilder_;
/**
* repeated .CEconItemPreviewDataBlock.Sticker stickers = 12;
*/
public java.util.List getStickersList() {
if (stickersBuilder_ == null) {
return java.util.Collections.unmodifiableList(stickers_);
} else {
return stickersBuilder_.getMessageList();
}
}
/**
* repeated .CEconItemPreviewDataBlock.Sticker stickers = 12;
*/
public int getStickersCount() {
if (stickersBuilder_ == null) {
return stickers_.size();
} else {
return stickersBuilder_.getCount();
}
}
/**
* repeated .CEconItemPreviewDataBlock.Sticker stickers = 12;
*/
public skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker getStickers(int index) {
if (stickersBuilder_ == null) {
return stickers_.get(index);
} else {
return stickersBuilder_.getMessage(index);
}
}
/**
* repeated .CEconItemPreviewDataBlock.Sticker stickers = 12;
*/
public Builder setStickers(
int index, skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker value) {
if (stickersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStickersIsMutable();
stickers_.set(index, value);
onChanged();
} else {
stickersBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .CEconItemPreviewDataBlock.Sticker stickers = 12;
*/
public Builder setStickers(
int index, skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker.Builder builderForValue) {
if (stickersBuilder_ == null) {
ensureStickersIsMutable();
stickers_.set(index, builderForValue.build());
onChanged();
} else {
stickersBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CEconItemPreviewDataBlock.Sticker stickers = 12;
*/
public Builder addStickers(skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker value) {
if (stickersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStickersIsMutable();
stickers_.add(value);
onChanged();
} else {
stickersBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .CEconItemPreviewDataBlock.Sticker stickers = 12;
*/
public Builder addStickers(
int index, skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker value) {
if (stickersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStickersIsMutable();
stickers_.add(index, value);
onChanged();
} else {
stickersBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .CEconItemPreviewDataBlock.Sticker stickers = 12;
*/
public Builder addStickers(
skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker.Builder builderForValue) {
if (stickersBuilder_ == null) {
ensureStickersIsMutable();
stickers_.add(builderForValue.build());
onChanged();
} else {
stickersBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .CEconItemPreviewDataBlock.Sticker stickers = 12;
*/
public Builder addStickers(
int index, skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker.Builder builderForValue) {
if (stickersBuilder_ == null) {
ensureStickersIsMutable();
stickers_.add(index, builderForValue.build());
onChanged();
} else {
stickersBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CEconItemPreviewDataBlock.Sticker stickers = 12;
*/
public Builder addAllStickers(
java.lang.Iterable extends skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker> values) {
if (stickersBuilder_ == null) {
ensureStickersIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, stickers_);
onChanged();
} else {
stickersBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .CEconItemPreviewDataBlock.Sticker stickers = 12;
*/
public Builder clearStickers() {
if (stickersBuilder_ == null) {
stickers_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000800);
onChanged();
} else {
stickersBuilder_.clear();
}
return this;
}
/**
* repeated .CEconItemPreviewDataBlock.Sticker stickers = 12;
*/
public Builder removeStickers(int index) {
if (stickersBuilder_ == null) {
ensureStickersIsMutable();
stickers_.remove(index);
onChanged();
} else {
stickersBuilder_.remove(index);
}
return this;
}
/**
* repeated .CEconItemPreviewDataBlock.Sticker stickers = 12;
*/
public skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker.Builder getStickersBuilder(
int index) {
return getStickersFieldBuilder().getBuilder(index);
}
/**
* repeated .CEconItemPreviewDataBlock.Sticker stickers = 12;
*/
public skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.StickerOrBuilder getStickersOrBuilder(
int index) {
if (stickersBuilder_ == null) {
return stickers_.get(index); } else {
return stickersBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .CEconItemPreviewDataBlock.Sticker stickers = 12;
*/
public java.util.List extends skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.StickerOrBuilder>
getStickersOrBuilderList() {
if (stickersBuilder_ != null) {
return stickersBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(stickers_);
}
}
/**
* repeated .CEconItemPreviewDataBlock.Sticker stickers = 12;
*/
public skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker.Builder addStickersBuilder() {
return getStickersFieldBuilder().addBuilder(
skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker.getDefaultInstance());
}
/**
* repeated .CEconItemPreviewDataBlock.Sticker stickers = 12;
*/
public skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker.Builder addStickersBuilder(
int index) {
return getStickersFieldBuilder().addBuilder(
index, skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker.getDefaultInstance());
}
/**
* repeated .CEconItemPreviewDataBlock.Sticker stickers = 12;
*/
public java.util.List
getStickersBuilderList() {
return getStickersFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker, skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker.Builder, skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.StickerOrBuilder>
getStickersFieldBuilder() {
if (stickersBuilder_ == null) {
stickersBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker, skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.Sticker.Builder, skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CEconItemPreviewDataBlock.StickerOrBuilder>(
stickers_,
((bitField0_ & 0x00000800) == 0x00000800),
getParentForChildren(),
isClean());
stickers_ = null;
}
return stickersBuilder_;
}
private int inventory_ ;
/**
* optional uint32 inventory = 13;
*/
public boolean hasInventory() {
return ((bitField0_ & 0x00001000) == 0x00001000);
}
/**
* optional uint32 inventory = 13;
*/
public int getInventory() {
return inventory_;
}
/**
* optional uint32 inventory = 13;
*/
public Builder setInventory(int value) {
bitField0_ |= 0x00001000;
inventory_ = value;
onChanged();
return this;
}
/**
* optional uint32 inventory = 13;
*/
public Builder clearInventory() {
bitField0_ = (bitField0_ & ~0x00001000);
inventory_ = 0;
onChanged();
return this;
}
private int origin_ ;
/**
* optional uint32 origin = 14;
*/
public boolean hasOrigin() {
return ((bitField0_ & 0x00002000) == 0x00002000);
}
/**
* optional uint32 origin = 14;
*/
public int getOrigin() {
return origin_;
}
/**
* optional uint32 origin = 14;
*/
public Builder setOrigin(int value) {
bitField0_ |= 0x00002000;
origin_ = value;
onChanged();
return this;
}
/**
* optional uint32 origin = 14;
*/
public Builder clearOrigin() {
bitField0_ = (bitField0_ & ~0x00002000);
origin_ = 0;
onChanged();
return this;
}
private int questid_ ;
/**
* optional uint32 questid = 15;
*/
public boolean hasQuestid() {
return ((bitField0_ & 0x00004000) == 0x00004000);
}
/**
* optional uint32 questid = 15;
*/
public int getQuestid() {
return questid_;
}
/**
* optional uint32 questid = 15;
*/
public Builder setQuestid(int value) {
bitField0_ |= 0x00004000;
questid_ = value;
onChanged();
return this;
}
/**
* optional uint32 questid = 15;
*/
public Builder clearQuestid() {
bitField0_ = (bitField0_ & ~0x00004000);
questid_ = 0;
onChanged();
return this;
}
private int dropreason_ ;
/**
* optional uint32 dropreason = 16;
*/
public boolean hasDropreason() {
return ((bitField0_ & 0x00008000) == 0x00008000);
}
/**
* optional uint32 dropreason = 16;
*/
public int getDropreason() {
return dropreason_;
}
/**
* optional uint32 dropreason = 16;
*/
public Builder setDropreason(int value) {
bitField0_ |= 0x00008000;
dropreason_ = value;
onChanged();
return this;
}
/**
* optional uint32 dropreason = 16;
*/
public Builder clearDropreason() {
bitField0_ = (bitField0_ & ~0x00008000);
dropreason_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CEconItemPreviewDataBlock)
}
static {
defaultInstance = new CEconItemPreviewDataBlock(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CEconItemPreviewDataBlock)
}
public interface CMsgGCCstrike15_v2_GC2ServerNotifyXPRewardedOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .XpProgressData xp_progress_data = 1;
*/
java.util.List
getXpProgressDataList();
/**
* repeated .XpProgressData xp_progress_data = 1;
*/
skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData getXpProgressData(int index);
/**
* repeated .XpProgressData xp_progress_data = 1;
*/
int getXpProgressDataCount();
/**
* repeated .XpProgressData xp_progress_data = 1;
*/
java.util.List extends skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressDataOrBuilder>
getXpProgressDataOrBuilderList();
/**
* repeated .XpProgressData xp_progress_data = 1;
*/
skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressDataOrBuilder getXpProgressDataOrBuilder(
int index);
/**
* optional uint32 account_id = 2;
*/
boolean hasAccountId();
/**
* optional uint32 account_id = 2;
*/
int getAccountId();
/**
* optional uint32 current_xp = 3;
*/
boolean hasCurrentXp();
/**
* optional uint32 current_xp = 3;
*/
int getCurrentXp();
/**
* optional uint32 current_level = 4;
*/
boolean hasCurrentLevel();
/**
* optional uint32 current_level = 4;
*/
int getCurrentLevel();
/**
* optional uint32 upgraded_defidx = 5;
*/
boolean hasUpgradedDefidx();
/**
* optional uint32 upgraded_defidx = 5;
*/
int getUpgradedDefidx();
}
/**
* Protobuf type {@code CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded}
*/
public static final class CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded)
CMsgGCCstrike15_v2_GC2ServerNotifyXPRewardedOrBuilder {
// Use CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.newBuilder() to construct.
private CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded defaultInstance;
public static CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded getDefaultInstance() {
return defaultInstance;
}
public CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded(
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)) {
xpProgressData_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
xpProgressData_.add(input.readMessage(skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData.PARSER, extensionRegistry));
break;
}
case 16: {
bitField0_ |= 0x00000001;
accountId_ = input.readUInt32();
break;
}
case 24: {
bitField0_ |= 0x00000002;
currentXp_ = input.readUInt32();
break;
}
case 32: {
bitField0_ |= 0x00000004;
currentLevel_ = input.readUInt32();
break;
}
case 40: {
bitField0_ |= 0x00000008;
upgradedDefidx_ = 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 {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
xpProgressData_ = java.util.Collections.unmodifiableList(xpProgressData_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.csgo.proto.CsGoGcMessages.internal_static_CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.csgo.proto.CsGoGcMessages.internal_static_CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.class, skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int XP_PROGRESS_DATA_FIELD_NUMBER = 1;
private java.util.List xpProgressData_;
/**
* repeated .XpProgressData xp_progress_data = 1;
*/
public java.util.List getXpProgressDataList() {
return xpProgressData_;
}
/**
* repeated .XpProgressData xp_progress_data = 1;
*/
public java.util.List extends skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressDataOrBuilder>
getXpProgressDataOrBuilderList() {
return xpProgressData_;
}
/**
* repeated .XpProgressData xp_progress_data = 1;
*/
public int getXpProgressDataCount() {
return xpProgressData_.size();
}
/**
* repeated .XpProgressData xp_progress_data = 1;
*/
public skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData getXpProgressData(int index) {
return xpProgressData_.get(index);
}
/**
* repeated .XpProgressData xp_progress_data = 1;
*/
public skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressDataOrBuilder getXpProgressDataOrBuilder(
int index) {
return xpProgressData_.get(index);
}
public static final int ACCOUNT_ID_FIELD_NUMBER = 2;
private int accountId_;
/**
* optional uint32 account_id = 2;
*/
public boolean hasAccountId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 account_id = 2;
*/
public int getAccountId() {
return accountId_;
}
public static final int CURRENT_XP_FIELD_NUMBER = 3;
private int currentXp_;
/**
* optional uint32 current_xp = 3;
*/
public boolean hasCurrentXp() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 current_xp = 3;
*/
public int getCurrentXp() {
return currentXp_;
}
public static final int CURRENT_LEVEL_FIELD_NUMBER = 4;
private int currentLevel_;
/**
* optional uint32 current_level = 4;
*/
public boolean hasCurrentLevel() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 current_level = 4;
*/
public int getCurrentLevel() {
return currentLevel_;
}
public static final int UPGRADED_DEFIDX_FIELD_NUMBER = 5;
private int upgradedDefidx_;
/**
* optional uint32 upgraded_defidx = 5;
*/
public boolean hasUpgradedDefidx() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional uint32 upgraded_defidx = 5;
*/
public int getUpgradedDefidx() {
return upgradedDefidx_;
}
private void initFields() {
xpProgressData_ = java.util.Collections.emptyList();
accountId_ = 0;
currentXp_ = 0;
currentLevel_ = 0;
upgradedDefidx_ = 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();
for (int i = 0; i < xpProgressData_.size(); i++) {
output.writeMessage(1, xpProgressData_.get(i));
}
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeUInt32(2, accountId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt32(3, currentXp_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeUInt32(4, currentLevel_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeUInt32(5, upgradedDefidx_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < xpProgressData_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, xpProgressData_.get(i));
}
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, accountId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, currentXp_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, currentLevel_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, upgradedDefidx_);
}
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.csgo.proto.CsGoGcMessages.CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded 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.csgo.proto.CsGoGcMessages.CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded 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.csgo.proto.CsGoGcMessages.CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded 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 CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded)
skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CMsgGCCstrike15_v2_GC2ServerNotifyXPRewardedOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.csgo.proto.CsGoGcMessages.internal_static_CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.csgo.proto.CsGoGcMessages.internal_static_CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.class, skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.Builder.class);
}
// Construct using skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getXpProgressDataFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (xpProgressDataBuilder_ == null) {
xpProgressData_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
xpProgressDataBuilder_.clear();
}
accountId_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
currentXp_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
currentLevel_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
upgradedDefidx_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.csgo.proto.CsGoGcMessages.internal_static_CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded_descriptor;
}
public skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded getDefaultInstanceForType() {
return skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.getDefaultInstance();
}
public skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded build() {
skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded buildPartial() {
skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded result = new skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (xpProgressDataBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
xpProgressData_ = java.util.Collections.unmodifiableList(xpProgressData_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.xpProgressData_ = xpProgressData_;
} else {
result.xpProgressData_ = xpProgressDataBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000001;
}
result.accountId_ = accountId_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000002;
}
result.currentXp_ = currentXp_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000004;
}
result.currentLevel_ = currentLevel_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000008;
}
result.upgradedDefidx_ = upgradedDefidx_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded) {
return mergeFrom((skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded other) {
if (other == skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.getDefaultInstance()) return this;
if (xpProgressDataBuilder_ == null) {
if (!other.xpProgressData_.isEmpty()) {
if (xpProgressData_.isEmpty()) {
xpProgressData_ = other.xpProgressData_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureXpProgressDataIsMutable();
xpProgressData_.addAll(other.xpProgressData_);
}
onChanged();
}
} else {
if (!other.xpProgressData_.isEmpty()) {
if (xpProgressDataBuilder_.isEmpty()) {
xpProgressDataBuilder_.dispose();
xpProgressDataBuilder_ = null;
xpProgressData_ = other.xpProgressData_;
bitField0_ = (bitField0_ & ~0x00000001);
xpProgressDataBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getXpProgressDataFieldBuilder() : null;
} else {
xpProgressDataBuilder_.addAllMessages(other.xpProgressData_);
}
}
}
if (other.hasAccountId()) {
setAccountId(other.getAccountId());
}
if (other.hasCurrentXp()) {
setCurrentXp(other.getCurrentXp());
}
if (other.hasCurrentLevel()) {
setCurrentLevel(other.getCurrentLevel());
}
if (other.hasUpgradedDefidx()) {
setUpgradedDefidx(other.getUpgradedDefidx());
}
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.csgo.proto.CsGoGcMessages.CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.csgo.proto.CsGoGcMessages.CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List xpProgressData_ =
java.util.Collections.emptyList();
private void ensureXpProgressDataIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
xpProgressData_ = new java.util.ArrayList(xpProgressData_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData, skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData.Builder, skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressDataOrBuilder> xpProgressDataBuilder_;
/**
* repeated .XpProgressData xp_progress_data = 1;
*/
public java.util.List getXpProgressDataList() {
if (xpProgressDataBuilder_ == null) {
return java.util.Collections.unmodifiableList(xpProgressData_);
} else {
return xpProgressDataBuilder_.getMessageList();
}
}
/**
* repeated .XpProgressData xp_progress_data = 1;
*/
public int getXpProgressDataCount() {
if (xpProgressDataBuilder_ == null) {
return xpProgressData_.size();
} else {
return xpProgressDataBuilder_.getCount();
}
}
/**
* repeated .XpProgressData xp_progress_data = 1;
*/
public skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData getXpProgressData(int index) {
if (xpProgressDataBuilder_ == null) {
return xpProgressData_.get(index);
} else {
return xpProgressDataBuilder_.getMessage(index);
}
}
/**
* repeated .XpProgressData xp_progress_data = 1;
*/
public Builder setXpProgressData(
int index, skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData value) {
if (xpProgressDataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureXpProgressDataIsMutable();
xpProgressData_.set(index, value);
onChanged();
} else {
xpProgressDataBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .XpProgressData xp_progress_data = 1;
*/
public Builder setXpProgressData(
int index, skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData.Builder builderForValue) {
if (xpProgressDataBuilder_ == null) {
ensureXpProgressDataIsMutable();
xpProgressData_.set(index, builderForValue.build());
onChanged();
} else {
xpProgressDataBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .XpProgressData xp_progress_data = 1;
*/
public Builder addXpProgressData(skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData value) {
if (xpProgressDataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureXpProgressDataIsMutable();
xpProgressData_.add(value);
onChanged();
} else {
xpProgressDataBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .XpProgressData xp_progress_data = 1;
*/
public Builder addXpProgressData(
int index, skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData value) {
if (xpProgressDataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureXpProgressDataIsMutable();
xpProgressData_.add(index, value);
onChanged();
} else {
xpProgressDataBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .XpProgressData xp_progress_data = 1;
*/
public Builder addXpProgressData(
skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData.Builder builderForValue) {
if (xpProgressDataBuilder_ == null) {
ensureXpProgressDataIsMutable();
xpProgressData_.add(builderForValue.build());
onChanged();
} else {
xpProgressDataBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .XpProgressData xp_progress_data = 1;
*/
public Builder addXpProgressData(
int index, skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData.Builder builderForValue) {
if (xpProgressDataBuilder_ == null) {
ensureXpProgressDataIsMutable();
xpProgressData_.add(index, builderForValue.build());
onChanged();
} else {
xpProgressDataBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .XpProgressData xp_progress_data = 1;
*/
public Builder addAllXpProgressData(
java.lang.Iterable extends skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData> values) {
if (xpProgressDataBuilder_ == null) {
ensureXpProgressDataIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, xpProgressData_);
onChanged();
} else {
xpProgressDataBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .XpProgressData xp_progress_data = 1;
*/
public Builder clearXpProgressData() {
if (xpProgressDataBuilder_ == null) {
xpProgressData_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
xpProgressDataBuilder_.clear();
}
return this;
}
/**
* repeated .XpProgressData xp_progress_data = 1;
*/
public Builder removeXpProgressData(int index) {
if (xpProgressDataBuilder_ == null) {
ensureXpProgressDataIsMutable();
xpProgressData_.remove(index);
onChanged();
} else {
xpProgressDataBuilder_.remove(index);
}
return this;
}
/**
* repeated .XpProgressData xp_progress_data = 1;
*/
public skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData.Builder getXpProgressDataBuilder(
int index) {
return getXpProgressDataFieldBuilder().getBuilder(index);
}
/**
* repeated .XpProgressData xp_progress_data = 1;
*/
public skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressDataOrBuilder getXpProgressDataOrBuilder(
int index) {
if (xpProgressDataBuilder_ == null) {
return xpProgressData_.get(index); } else {
return xpProgressDataBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .XpProgressData xp_progress_data = 1;
*/
public java.util.List extends skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressDataOrBuilder>
getXpProgressDataOrBuilderList() {
if (xpProgressDataBuilder_ != null) {
return xpProgressDataBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(xpProgressData_);
}
}
/**
* repeated .XpProgressData xp_progress_data = 1;
*/
public skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData.Builder addXpProgressDataBuilder() {
return getXpProgressDataFieldBuilder().addBuilder(
skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData.getDefaultInstance());
}
/**
* repeated .XpProgressData xp_progress_data = 1;
*/
public skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData.Builder addXpProgressDataBuilder(
int index) {
return getXpProgressDataFieldBuilder().addBuilder(
index, skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData.getDefaultInstance());
}
/**
* repeated .XpProgressData xp_progress_data = 1;
*/
public java.util.List
getXpProgressDataBuilderList() {
return getXpProgressDataFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData, skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData.Builder, skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressDataOrBuilder>
getXpProgressDataFieldBuilder() {
if (xpProgressDataBuilder_ == null) {
xpProgressDataBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData, skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData.Builder, skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressDataOrBuilder>(
xpProgressData_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
xpProgressData_ = null;
}
return xpProgressDataBuilder_;
}
private int accountId_ ;
/**
* optional uint32 account_id = 2;
*/
public boolean hasAccountId() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 account_id = 2;
*/
public int getAccountId() {
return accountId_;
}
/**
* optional uint32 account_id = 2;
*/
public Builder setAccountId(int value) {
bitField0_ |= 0x00000002;
accountId_ = value;
onChanged();
return this;
}
/**
* optional uint32 account_id = 2;
*/
public Builder clearAccountId() {
bitField0_ = (bitField0_ & ~0x00000002);
accountId_ = 0;
onChanged();
return this;
}
private int currentXp_ ;
/**
* optional uint32 current_xp = 3;
*/
public boolean hasCurrentXp() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 current_xp = 3;
*/
public int getCurrentXp() {
return currentXp_;
}
/**
* optional uint32 current_xp = 3;
*/
public Builder setCurrentXp(int value) {
bitField0_ |= 0x00000004;
currentXp_ = value;
onChanged();
return this;
}
/**
* optional uint32 current_xp = 3;
*/
public Builder clearCurrentXp() {
bitField0_ = (bitField0_ & ~0x00000004);
currentXp_ = 0;
onChanged();
return this;
}
private int currentLevel_ ;
/**
* optional uint32 current_level = 4;
*/
public boolean hasCurrentLevel() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional uint32 current_level = 4;
*/
public int getCurrentLevel() {
return currentLevel_;
}
/**
* optional uint32 current_level = 4;
*/
public Builder setCurrentLevel(int value) {
bitField0_ |= 0x00000008;
currentLevel_ = value;
onChanged();
return this;
}
/**
* optional uint32 current_level = 4;
*/
public Builder clearCurrentLevel() {
bitField0_ = (bitField0_ & ~0x00000008);
currentLevel_ = 0;
onChanged();
return this;
}
private int upgradedDefidx_ ;
/**
* optional uint32 upgraded_defidx = 5;
*/
public boolean hasUpgradedDefidx() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional uint32 upgraded_defidx = 5;
*/
public int getUpgradedDefidx() {
return upgradedDefidx_;
}
/**
* optional uint32 upgraded_defidx = 5;
*/
public Builder setUpgradedDefidx(int value) {
bitField0_ |= 0x00000010;
upgradedDefidx_ = value;
onChanged();
return this;
}
/**
* optional uint32 upgraded_defidx = 5;
*/
public Builder clearUpgradedDefidx() {
bitField0_ = (bitField0_ & ~0x00000010);
upgradedDefidx_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded)
}
static {
defaultInstance = new CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded)
}
public interface XpProgressDataOrBuilder extends
// @@protoc_insertion_point(interface_extends:XpProgressData)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 xp_points = 1;
*/
boolean hasXpPoints();
/**
* optional uint32 xp_points = 1;
*/
int getXpPoints();
/**
* optional int32 xp_category = 2;
*/
boolean hasXpCategory();
/**
* optional int32 xp_category = 2;
*/
int getXpCategory();
}
/**
* Protobuf type {@code XpProgressData}
*/
public static final class XpProgressData extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:XpProgressData)
XpProgressDataOrBuilder {
// Use XpProgressData.newBuilder() to construct.
private XpProgressData(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private XpProgressData(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final XpProgressData defaultInstance;
public static XpProgressData getDefaultInstance() {
return defaultInstance;
}
public XpProgressData getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private XpProgressData(
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;
xpPoints_ = input.readUInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
xpCategory_ = 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.csgo.proto.CsGoGcMessages.internal_static_XpProgressData_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.csgo.proto.CsGoGcMessages.internal_static_XpProgressData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData.class, skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public XpProgressData parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new XpProgressData(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int XP_POINTS_FIELD_NUMBER = 1;
private int xpPoints_;
/**
* optional uint32 xp_points = 1;
*/
public boolean hasXpPoints() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 xp_points = 1;
*/
public int getXpPoints() {
return xpPoints_;
}
public static final int XP_CATEGORY_FIELD_NUMBER = 2;
private int xpCategory_;
/**
* optional int32 xp_category = 2;
*/
public boolean hasXpCategory() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 xp_category = 2;
*/
public int getXpCategory() {
return xpCategory_;
}
private void initFields() {
xpPoints_ = 0;
xpCategory_ = 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, xpPoints_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, xpCategory_);
}
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, xpPoints_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, xpCategory_);
}
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.csgo.proto.CsGoGcMessages.XpProgressData parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData 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.csgo.proto.CsGoGcMessages.XpProgressData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData 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.csgo.proto.CsGoGcMessages.XpProgressData 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 XpProgressData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:XpProgressData)
skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressDataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.csgo.proto.CsGoGcMessages.internal_static_XpProgressData_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.csgo.proto.CsGoGcMessages.internal_static_XpProgressData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData.class, skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData.Builder.class);
}
// Construct using skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData.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();
xpPoints_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
xpCategory_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.csgo.proto.CsGoGcMessages.internal_static_XpProgressData_descriptor;
}
public skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData getDefaultInstanceForType() {
return skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData.getDefaultInstance();
}
public skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData build() {
skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData buildPartial() {
skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData result = new skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.xpPoints_ = xpPoints_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.xpCategory_ = xpCategory_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData) {
return mergeFrom((skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData other) {
if (other == skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData.getDefaultInstance()) return this;
if (other.hasXpPoints()) {
setXpPoints(other.getXpPoints());
}
if (other.hasXpCategory()) {
setXpCategory(other.getXpCategory());
}
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.csgo.proto.CsGoGcMessages.XpProgressData parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.csgo.proto.CsGoGcMessages.XpProgressData) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int xpPoints_ ;
/**
* optional uint32 xp_points = 1;
*/
public boolean hasXpPoints() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 xp_points = 1;
*/
public int getXpPoints() {
return xpPoints_;
}
/**
* optional uint32 xp_points = 1;
*/
public Builder setXpPoints(int value) {
bitField0_ |= 0x00000001;
xpPoints_ = value;
onChanged();
return this;
}
/**
* optional uint32 xp_points = 1;
*/
public Builder clearXpPoints() {
bitField0_ = (bitField0_ & ~0x00000001);
xpPoints_ = 0;
onChanged();
return this;
}
private int xpCategory_ ;
/**
* optional int32 xp_category = 2;
*/
public boolean hasXpCategory() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 xp_category = 2;
*/
public int getXpCategory() {
return xpCategory_;
}
/**
* optional int32 xp_category = 2;
*/
public Builder setXpCategory(int value) {
bitField0_ |= 0x00000002;
xpCategory_ = value;
onChanged();
return this;
}
/**
* optional int32 xp_category = 2;
*/
public Builder clearXpCategory() {
bitField0_ = (bitField0_ & ~0x00000002);
xpCategory_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:XpProgressData)
}
static {
defaultInstance = new XpProgressData(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:XpProgressData)
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_CEconItemPreviewDataBlock_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_CEconItemPreviewDataBlock_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_CEconItemPreviewDataBlock_Sticker_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_CEconItemPreviewDataBlock_Sticker_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_XpProgressData_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_XpProgressData_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\032cstrike15_gcmessages.proto\"\315\003\n\031CEconIt" +
"emPreviewDataBlock\022\021\n\taccountid\030\001 \001(\r\022\016\n" +
"\006itemid\030\002 \001(\004\022\020\n\010defindex\030\003 \001(\r\022\022\n\npaint" +
"index\030\004 \001(\r\022\016\n\006rarity\030\005 \001(\r\022\017\n\007quality\030\006" +
" \001(\r\022\021\n\tpaintwear\030\007 \001(\r\022\021\n\tpaintseed\030\010 \001" +
"(\r\022\032\n\022killeaterscoretype\030\t \001(\r\022\026\n\016killea" +
"tervalue\030\n \001(\r\022\022\n\ncustomname\030\013 \001(\t\0224\n\010st" +
"ickers\030\014 \003(\0132\".CEconItemPreviewDataBlock" +
".Sticker\022\021\n\tinventory\030\r \001(\r\022\016\n\006origin\030\016 " +
"\001(\r\022\017\n\007questid\030\017 \001(\r\022\022\n\ndropreason\030\020 \001(\r",
"\032Z\n\007Sticker\022\014\n\004slot\030\001 \001(\r\022\022\n\nsticker_id\030" +
"\002 \001(\r\022\014\n\004wear\030\003 \001(\002\022\r\n\005scale\030\004 \001(\002\022\020\n\010ro" +
"tation\030\005 \001(\002\"\261\001\n,CMsgGCCstrike15_v2_GC2S" +
"erverNotifyXPRewarded\022)\n\020xp_progress_dat" +
"a\030\001 \003(\0132\017.XpProgressData\022\022\n\naccount_id\030\002" +
" \001(\r\022\022\n\ncurrent_xp\030\003 \001(\r\022\025\n\rcurrent_leve" +
"l\030\004 \001(\r\022\027\n\017upgraded_defidx\030\005 \001(\r\"8\n\016XpPr" +
"ogressData\022\021\n\txp_points\030\001 \001(\r\022\023\n\013xp_cate" +
"gory\030\002 \001(\005B9\n\"skadistats.clarity.wire.cs" +
"go.protoB\016CsGoGcMessagesH\001\200\001\000"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
}, assigner);
internal_static_CEconItemPreviewDataBlock_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_CEconItemPreviewDataBlock_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_CEconItemPreviewDataBlock_descriptor,
new java.lang.String[] { "Accountid", "Itemid", "Defindex", "Paintindex", "Rarity", "Quality", "Paintwear", "Paintseed", "Killeaterscoretype", "Killeatervalue", "Customname", "Stickers", "Inventory", "Origin", "Questid", "Dropreason", });
internal_static_CEconItemPreviewDataBlock_Sticker_descriptor =
internal_static_CEconItemPreviewDataBlock_descriptor.getNestedTypes().get(0);
internal_static_CEconItemPreviewDataBlock_Sticker_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_CEconItemPreviewDataBlock_Sticker_descriptor,
new java.lang.String[] { "Slot", "StickerId", "Wear", "Scale", "Rotation", });
internal_static_CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded_descriptor,
new java.lang.String[] { "XpProgressData", "AccountId", "CurrentXp", "CurrentLevel", "UpgradedDefidx", });
internal_static_XpProgressData_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_XpProgressData_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_XpProgressData_descriptor,
new java.lang.String[] { "XpPoints", "XpCategory", });
}
// @@protoc_insertion_point(outer_class_scope)
}