// Generated by the protocol buffer compiler. DO NOT EDIT! // source: demo.proto package com.valve.dota2; public final class Demo { private Demo() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { } /** * Protobuf enum {@code EDemoCommands} */ public enum EDemoCommands implements com.google.protobuf.ProtocolMessageEnum { /** * <code>DEM_Error = -1;</code> */ DEM_Error(0, -1), /** * <code>DEM_Stop = 0;</code> */ DEM_Stop(1, 0), /** * <code>DEM_FileHeader = 1;</code> */ DEM_FileHeader(2, 1), /** * <code>DEM_FileInfo = 2;</code> */ DEM_FileInfo(3, 2), /** * <code>DEM_SyncTick = 3;</code> */ DEM_SyncTick(4, 3), /** * <code>DEM_SendTables = 4;</code> */ DEM_SendTables(5, 4), /** * <code>DEM_ClassInfo = 5;</code> */ DEM_ClassInfo(6, 5), /** * <code>DEM_StringTables = 6;</code> */ DEM_StringTables(7, 6), /** * <code>DEM_Packet = 7;</code> */ DEM_Packet(8, 7), /** * <code>DEM_SignonPacket = 8;</code> */ DEM_SignonPacket(9, 8), /** * <code>DEM_ConsoleCmd = 9;</code> */ DEM_ConsoleCmd(10, 9), /** * <code>DEM_CustomData = 10;</code> */ DEM_CustomData(11, 10), /** * <code>DEM_CustomDataCallbacks = 11;</code> */ DEM_CustomDataCallbacks(12, 11), /** * <code>DEM_UserCmd = 12;</code> */ DEM_UserCmd(13, 12), /** * <code>DEM_FullPacket = 13;</code> */ DEM_FullPacket(14, 13), /** * <code>DEM_SaveGame = 14;</code> */ DEM_SaveGame(15, 14), /** * <code>DEM_Max = 15;</code> */ DEM_Max(16, 15), /** * <code>DEM_IsCompressed = 112;</code> */ DEM_IsCompressed(17, 112), ; /** * <code>DEM_Error = -1;</code> */ public static final int DEM_Error_VALUE = -1; /** * <code>DEM_Stop = 0;</code> */ public static final int DEM_Stop_VALUE = 0; /** * <code>DEM_FileHeader = 1;</code> */ public static final int DEM_FileHeader_VALUE = 1; /** * <code>DEM_FileInfo = 2;</code> */ public static final int DEM_FileInfo_VALUE = 2; /** * <code>DEM_SyncTick = 3;</code> */ public static final int DEM_SyncTick_VALUE = 3; /** * <code>DEM_SendTables = 4;</code> */ public static final int DEM_SendTables_VALUE = 4; /** * <code>DEM_ClassInfo = 5;</code> */ public static final int DEM_ClassInfo_VALUE = 5; /** * <code>DEM_StringTables = 6;</code> */ public static final int DEM_StringTables_VALUE = 6; /** * <code>DEM_Packet = 7;</code> */ public static final int DEM_Packet_VALUE = 7; /** * <code>DEM_SignonPacket = 8;</code> */ public static final int DEM_SignonPacket_VALUE = 8; /** * <code>DEM_ConsoleCmd = 9;</code> */ public static final int DEM_ConsoleCmd_VALUE = 9; /** * <code>DEM_CustomData = 10;</code> */ public static final int DEM_CustomData_VALUE = 10; /** * <code>DEM_CustomDataCallbacks = 11;</code> */ public static final int DEM_CustomDataCallbacks_VALUE = 11; /** * <code>DEM_UserCmd = 12;</code> */ public static final int DEM_UserCmd_VALUE = 12; /** * <code>DEM_FullPacket = 13;</code> */ public static final int DEM_FullPacket_VALUE = 13; /** * <code>DEM_SaveGame = 14;</code> */ public static final int DEM_SaveGame_VALUE = 14; /** * <code>DEM_Max = 15;</code> */ public static final int DEM_Max_VALUE = 15; /** * <code>DEM_IsCompressed = 112;</code> */ public static final int DEM_IsCompressed_VALUE = 112; public final int getNumber() { return value; } public static EDemoCommands valueOf(int value) { switch (value) { case -1: return DEM_Error; case 0: return DEM_Stop; case 1: return DEM_FileHeader; case 2: return DEM_FileInfo; case 3: return DEM_SyncTick; case 4: return DEM_SendTables; case 5: return DEM_ClassInfo; case 6: return DEM_StringTables; case 7: return DEM_Packet; case 8: return DEM_SignonPacket; case 9: return DEM_ConsoleCmd; case 10: return DEM_CustomData; case 11: return DEM_CustomDataCallbacks; case 12: return DEM_UserCmd; case 13: return DEM_FullPacket; case 14: return DEM_SaveGame; case 15: return DEM_Max; case 112: return DEM_IsCompressed; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap<EDemoCommands> internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap<EDemoCommands> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap<EDemoCommands>() { public EDemoCommands findValueByNumber(int number) { return EDemoCommands.valueOf(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(index); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.valve.dota2.Demo.getDescriptor().getEnumTypes().get(0); } private static final EDemoCommands[] VALUES = values(); public static EDemoCommands valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int index; private final int value; private EDemoCommands(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:EDemoCommands) } public interface CDemoFileHeaderOrBuilder extends com.google.protobuf.MessageOrBuilder { // required string demo_file_stamp = 1; /** * <code>required string demo_file_stamp = 1;</code> */ boolean hasDemoFileStamp(); /** * <code>required string demo_file_stamp = 1;</code> */ java.lang.String getDemoFileStamp(); /** * <code>required string demo_file_stamp = 1;</code> */ com.google.protobuf.ByteString getDemoFileStampBytes(); // optional int32 network_protocol = 2; /** * <code>optional int32 network_protocol = 2;</code> */ boolean hasNetworkProtocol(); /** * <code>optional int32 network_protocol = 2;</code> */ int getNetworkProtocol(); // optional string server_name = 3; /** * <code>optional string server_name = 3;</code> */ boolean hasServerName(); /** * <code>optional string server_name = 3;</code> */ java.lang.String getServerName(); /** * <code>optional string server_name = 3;</code> */ com.google.protobuf.ByteString getServerNameBytes(); // optional string client_name = 4; /** * <code>optional string client_name = 4;</code> */ boolean hasClientName(); /** * <code>optional string client_name = 4;</code> */ java.lang.String getClientName(); /** * <code>optional string client_name = 4;</code> */ com.google.protobuf.ByteString getClientNameBytes(); // optional string map_name = 5; /** * <code>optional string map_name = 5;</code> */ boolean hasMapName(); /** * <code>optional string map_name = 5;</code> */ java.lang.String getMapName(); /** * <code>optional string map_name = 5;</code> */ com.google.protobuf.ByteString getMapNameBytes(); // optional string game_directory = 6; /** * <code>optional string game_directory = 6;</code> */ boolean hasGameDirectory(); /** * <code>optional string game_directory = 6;</code> */ java.lang.String getGameDirectory(); /** * <code>optional string game_directory = 6;</code> */ com.google.protobuf.ByteString getGameDirectoryBytes(); // optional int32 fullpackets_version = 7; /** * <code>optional int32 fullpackets_version = 7;</code> */ boolean hasFullpacketsVersion(); /** * <code>optional int32 fullpackets_version = 7;</code> */ int getFullpacketsVersion(); // optional bool allow_clientside_entities = 8; /** * <code>optional bool allow_clientside_entities = 8;</code> */ boolean hasAllowClientsideEntities(); /** * <code>optional bool allow_clientside_entities = 8;</code> */ boolean getAllowClientsideEntities(); // optional bool allow_clientside_particles = 9; /** * <code>optional bool allow_clientside_particles = 9;</code> */ boolean hasAllowClientsideParticles(); /** * <code>optional bool allow_clientside_particles = 9;</code> */ boolean getAllowClientsideParticles(); } /** * Protobuf type {@code CDemoFileHeader} */ public static final class CDemoFileHeader extends com.google.protobuf.GeneratedMessage implements CDemoFileHeaderOrBuilder { // Use CDemoFileHeader.newBuilder() to construct. private CDemoFileHeader(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private CDemoFileHeader(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final CDemoFileHeader defaultInstance; public static CDemoFileHeader getDefaultInstance() { return defaultInstance; } public CDemoFileHeader getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CDemoFileHeader( 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: { bitField0_ |= 0x00000001; demoFileStamp_ = input.readBytes(); break; } case 16: { bitField0_ |= 0x00000002; networkProtocol_ = input.readInt32(); break; } case 26: { bitField0_ |= 0x00000004; serverName_ = input.readBytes(); break; } case 34: { bitField0_ |= 0x00000008; clientName_ = input.readBytes(); break; } case 42: { bitField0_ |= 0x00000010; mapName_ = input.readBytes(); break; } case 50: { bitField0_ |= 0x00000020; gameDirectory_ = input.readBytes(); break; } case 56: { bitField0_ |= 0x00000040; fullpacketsVersion_ = input.readInt32(); break; } case 64: { bitField0_ |= 0x00000080; allowClientsideEntities_ = input.readBool(); break; } case 72: { bitField0_ |= 0x00000100; allowClientsideParticles_ = input.readBool(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.valve.dota2.Demo.internal_static_CDemoFileHeader_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CDemoFileHeader_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CDemoFileHeader.class, com.valve.dota2.Demo.CDemoFileHeader.Builder.class); } public static com.google.protobuf.Parser<CDemoFileHeader> PARSER = new com.google.protobuf.AbstractParser<CDemoFileHeader>() { public CDemoFileHeader parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CDemoFileHeader(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<CDemoFileHeader> getParserForType() { return PARSER; } private int bitField0_; // required string demo_file_stamp = 1; public static final int DEMO_FILE_STAMP_FIELD_NUMBER = 1; private java.lang.Object demoFileStamp_; /** * <code>required string demo_file_stamp = 1;</code> */ public boolean hasDemoFileStamp() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>required string demo_file_stamp = 1;</code> */ public java.lang.String getDemoFileStamp() { java.lang.Object ref = demoFileStamp_; 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()) { demoFileStamp_ = s; } return s; } } /** * <code>required string demo_file_stamp = 1;</code> */ public com.google.protobuf.ByteString getDemoFileStampBytes() { java.lang.Object ref = demoFileStamp_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); demoFileStamp_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional int32 network_protocol = 2; public static final int NETWORK_PROTOCOL_FIELD_NUMBER = 2; private int networkProtocol_; /** * <code>optional int32 network_protocol = 2;</code> */ public boolean hasNetworkProtocol() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional int32 network_protocol = 2;</code> */ public int getNetworkProtocol() { return networkProtocol_; } // optional string server_name = 3; public static final int SERVER_NAME_FIELD_NUMBER = 3; private java.lang.Object serverName_; /** * <code>optional string server_name = 3;</code> */ public boolean hasServerName() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional string server_name = 3;</code> */ public java.lang.String getServerName() { java.lang.Object ref = serverName_; 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()) { serverName_ = s; } return s; } } /** * <code>optional string server_name = 3;</code> */ public com.google.protobuf.ByteString getServerNameBytes() { java.lang.Object ref = serverName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serverName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string client_name = 4; public static final int CLIENT_NAME_FIELD_NUMBER = 4; private java.lang.Object clientName_; /** * <code>optional string client_name = 4;</code> */ public boolean hasClientName() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>optional string client_name = 4;</code> */ public java.lang.String getClientName() { java.lang.Object ref = clientName_; 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()) { clientName_ = s; } return s; } } /** * <code>optional string client_name = 4;</code> */ public com.google.protobuf.ByteString getClientNameBytes() { java.lang.Object ref = clientName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string map_name = 5; public static final int MAP_NAME_FIELD_NUMBER = 5; private java.lang.Object mapName_; /** * <code>optional string map_name = 5;</code> */ public boolean hasMapName() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * <code>optional string map_name = 5;</code> */ public java.lang.String getMapName() { java.lang.Object ref = mapName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { mapName_ = s; } return s; } } /** * <code>optional string map_name = 5;</code> */ public com.google.protobuf.ByteString getMapNameBytes() { java.lang.Object ref = mapName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); mapName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string game_directory = 6; public static final int GAME_DIRECTORY_FIELD_NUMBER = 6; private java.lang.Object gameDirectory_; /** * <code>optional string game_directory = 6;</code> */ public boolean hasGameDirectory() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * <code>optional string game_directory = 6;</code> */ public java.lang.String getGameDirectory() { java.lang.Object ref = gameDirectory_; 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()) { gameDirectory_ = s; } return s; } } /** * <code>optional string game_directory = 6;</code> */ public com.google.protobuf.ByteString getGameDirectoryBytes() { java.lang.Object ref = gameDirectory_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); gameDirectory_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional int32 fullpackets_version = 7; public static final int FULLPACKETS_VERSION_FIELD_NUMBER = 7; private int fullpacketsVersion_; /** * <code>optional int32 fullpackets_version = 7;</code> */ public boolean hasFullpacketsVersion() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * <code>optional int32 fullpackets_version = 7;</code> */ public int getFullpacketsVersion() { return fullpacketsVersion_; } // optional bool allow_clientside_entities = 8; public static final int ALLOW_CLIENTSIDE_ENTITIES_FIELD_NUMBER = 8; private boolean allowClientsideEntities_; /** * <code>optional bool allow_clientside_entities = 8;</code> */ public boolean hasAllowClientsideEntities() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * <code>optional bool allow_clientside_entities = 8;</code> */ public boolean getAllowClientsideEntities() { return allowClientsideEntities_; } // optional bool allow_clientside_particles = 9; public static final int ALLOW_CLIENTSIDE_PARTICLES_FIELD_NUMBER = 9; private boolean allowClientsideParticles_; /** * <code>optional bool allow_clientside_particles = 9;</code> */ public boolean hasAllowClientsideParticles() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * <code>optional bool allow_clientside_particles = 9;</code> */ public boolean getAllowClientsideParticles() { return allowClientsideParticles_; } private void initFields() { demoFileStamp_ = ""; networkProtocol_ = 0; serverName_ = ""; clientName_ = ""; mapName_ = ""; gameDirectory_ = ""; fullpacketsVersion_ = 0; allowClientsideEntities_ = false; allowClientsideParticles_ = false; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasDemoFileStamp()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getDemoFileStampBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt32(2, networkProtocol_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getServerNameBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, getClientNameBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBytes(5, getMapNameBytes()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeBytes(6, getGameDirectoryBytes()); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeInt32(7, fullpacketsVersion_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeBool(8, allowClientsideEntities_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeBool(9, allowClientsideParticles_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getDemoFileStampBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, networkProtocol_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getServerNameBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, getClientNameBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, getMapNameBytes()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(6, getGameDirectoryBytes()); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(7, fullpacketsVersion_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(8, allowClientsideEntities_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(9, allowClientsideParticles_); } 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 com.valve.dota2.Demo.CDemoFileHeader parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CDemoFileHeader parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CDemoFileHeader parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CDemoFileHeader parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CDemoFileHeader parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CDemoFileHeader parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CDemoFileHeader parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.valve.dota2.Demo.CDemoFileHeader parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CDemoFileHeader parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CDemoFileHeader 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(com.valve.dota2.Demo.CDemoFileHeader 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 CDemoFileHeader} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements com.valve.dota2.Demo.CDemoFileHeaderOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.valve.dota2.Demo.internal_static_CDemoFileHeader_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CDemoFileHeader_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CDemoFileHeader.class, com.valve.dota2.Demo.CDemoFileHeader.Builder.class); } // Construct using com.valve.dota2.Demo.CDemoFileHeader.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(); demoFileStamp_ = ""; bitField0_ = (bitField0_ & ~0x00000001); networkProtocol_ = 0; bitField0_ = (bitField0_ & ~0x00000002); serverName_ = ""; bitField0_ = (bitField0_ & ~0x00000004); clientName_ = ""; bitField0_ = (bitField0_ & ~0x00000008); mapName_ = ""; bitField0_ = (bitField0_ & ~0x00000010); gameDirectory_ = ""; bitField0_ = (bitField0_ & ~0x00000020); fullpacketsVersion_ = 0; bitField0_ = (bitField0_ & ~0x00000040); allowClientsideEntities_ = false; bitField0_ = (bitField0_ & ~0x00000080); allowClientsideParticles_ = false; bitField0_ = (bitField0_ & ~0x00000100); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.valve.dota2.Demo.internal_static_CDemoFileHeader_descriptor; } public com.valve.dota2.Demo.CDemoFileHeader getDefaultInstanceForType() { return com.valve.dota2.Demo.CDemoFileHeader.getDefaultInstance(); } public com.valve.dota2.Demo.CDemoFileHeader build() { com.valve.dota2.Demo.CDemoFileHeader result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.valve.dota2.Demo.CDemoFileHeader buildPartial() { com.valve.dota2.Demo.CDemoFileHeader result = new com.valve.dota2.Demo.CDemoFileHeader(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.demoFileStamp_ = demoFileStamp_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.networkProtocol_ = networkProtocol_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.serverName_ = serverName_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.clientName_ = clientName_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.mapName_ = mapName_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.gameDirectory_ = gameDirectory_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.fullpacketsVersion_ = fullpacketsVersion_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } result.allowClientsideEntities_ = allowClientsideEntities_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000100; } result.allowClientsideParticles_ = allowClientsideParticles_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.valve.dota2.Demo.CDemoFileHeader) { return mergeFrom((com.valve.dota2.Demo.CDemoFileHeader)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.valve.dota2.Demo.CDemoFileHeader other) { if (other == com.valve.dota2.Demo.CDemoFileHeader.getDefaultInstance()) return this; if (other.hasDemoFileStamp()) { bitField0_ |= 0x00000001; demoFileStamp_ = other.demoFileStamp_; onChanged(); } if (other.hasNetworkProtocol()) { setNetworkProtocol(other.getNetworkProtocol()); } if (other.hasServerName()) { bitField0_ |= 0x00000004; serverName_ = other.serverName_; onChanged(); } if (other.hasClientName()) { bitField0_ |= 0x00000008; clientName_ = other.clientName_; onChanged(); } if (other.hasMapName()) { bitField0_ |= 0x00000010; mapName_ = other.mapName_; onChanged(); } if (other.hasGameDirectory()) { bitField0_ |= 0x00000020; gameDirectory_ = other.gameDirectory_; onChanged(); } if (other.hasFullpacketsVersion()) { setFullpacketsVersion(other.getFullpacketsVersion()); } if (other.hasAllowClientsideEntities()) { setAllowClientsideEntities(other.getAllowClientsideEntities()); } if (other.hasAllowClientsideParticles()) { setAllowClientsideParticles(other.getAllowClientsideParticles()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasDemoFileStamp()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.valve.dota2.Demo.CDemoFileHeader parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.valve.dota2.Demo.CDemoFileHeader) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // required string demo_file_stamp = 1; private java.lang.Object demoFileStamp_ = ""; /** * <code>required string demo_file_stamp = 1;</code> */ public boolean hasDemoFileStamp() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>required string demo_file_stamp = 1;</code> */ public java.lang.String getDemoFileStamp() { java.lang.Object ref = demoFileStamp_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); demoFileStamp_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>required string demo_file_stamp = 1;</code> */ public com.google.protobuf.ByteString getDemoFileStampBytes() { java.lang.Object ref = demoFileStamp_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); demoFileStamp_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>required string demo_file_stamp = 1;</code> */ public Builder setDemoFileStamp( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; demoFileStamp_ = value; onChanged(); return this; } /** * <code>required string demo_file_stamp = 1;</code> */ public Builder clearDemoFileStamp() { bitField0_ = (bitField0_ & ~0x00000001); demoFileStamp_ = getDefaultInstance().getDemoFileStamp(); onChanged(); return this; } /** * <code>required string demo_file_stamp = 1;</code> */ public Builder setDemoFileStampBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; demoFileStamp_ = value; onChanged(); return this; } // optional int32 network_protocol = 2; private int networkProtocol_ ; /** * <code>optional int32 network_protocol = 2;</code> */ public boolean hasNetworkProtocol() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional int32 network_protocol = 2;</code> */ public int getNetworkProtocol() { return networkProtocol_; } /** * <code>optional int32 network_protocol = 2;</code> */ public Builder setNetworkProtocol(int value) { bitField0_ |= 0x00000002; networkProtocol_ = value; onChanged(); return this; } /** * <code>optional int32 network_protocol = 2;</code> */ public Builder clearNetworkProtocol() { bitField0_ = (bitField0_ & ~0x00000002); networkProtocol_ = 0; onChanged(); return this; } // optional string server_name = 3; private java.lang.Object serverName_ = ""; /** * <code>optional string server_name = 3;</code> */ public boolean hasServerName() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional string server_name = 3;</code> */ public java.lang.String getServerName() { java.lang.Object ref = serverName_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); serverName_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>optional string server_name = 3;</code> */ public com.google.protobuf.ByteString getServerNameBytes() { java.lang.Object ref = serverName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serverName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>optional string server_name = 3;</code> */ public Builder setServerName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; serverName_ = value; onChanged(); return this; } /** * <code>optional string server_name = 3;</code> */ public Builder clearServerName() { bitField0_ = (bitField0_ & ~0x00000004); serverName_ = getDefaultInstance().getServerName(); onChanged(); return this; } /** * <code>optional string server_name = 3;</code> */ public Builder setServerNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; serverName_ = value; onChanged(); return this; } // optional string client_name = 4; private java.lang.Object clientName_ = ""; /** * <code>optional string client_name = 4;</code> */ public boolean hasClientName() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>optional string client_name = 4;</code> */ public java.lang.String getClientName() { java.lang.Object ref = clientName_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); clientName_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>optional string client_name = 4;</code> */ public com.google.protobuf.ByteString getClientNameBytes() { java.lang.Object ref = clientName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>optional string client_name = 4;</code> */ public Builder setClientName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; clientName_ = value; onChanged(); return this; } /** * <code>optional string client_name = 4;</code> */ public Builder clearClientName() { bitField0_ = (bitField0_ & ~0x00000008); clientName_ = getDefaultInstance().getClientName(); onChanged(); return this; } /** * <code>optional string client_name = 4;</code> */ public Builder setClientNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; clientName_ = value; onChanged(); return this; } // optional string map_name = 5; private java.lang.Object mapName_ = ""; /** * <code>optional string map_name = 5;</code> */ public boolean hasMapName() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * <code>optional string map_name = 5;</code> */ public java.lang.String getMapName() { java.lang.Object ref = mapName_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); mapName_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>optional string map_name = 5;</code> */ public com.google.protobuf.ByteString getMapNameBytes() { java.lang.Object ref = mapName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); mapName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>optional string map_name = 5;</code> */ public Builder setMapName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; mapName_ = value; onChanged(); return this; } /** * <code>optional string map_name = 5;</code> */ public Builder clearMapName() { bitField0_ = (bitField0_ & ~0x00000010); mapName_ = getDefaultInstance().getMapName(); onChanged(); return this; } /** * <code>optional string map_name = 5;</code> */ public Builder setMapNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; mapName_ = value; onChanged(); return this; } // optional string game_directory = 6; private java.lang.Object gameDirectory_ = ""; /** * <code>optional string game_directory = 6;</code> */ public boolean hasGameDirectory() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * <code>optional string game_directory = 6;</code> */ public java.lang.String getGameDirectory() { java.lang.Object ref = gameDirectory_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); gameDirectory_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>optional string game_directory = 6;</code> */ public com.google.protobuf.ByteString getGameDirectoryBytes() { java.lang.Object ref = gameDirectory_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); gameDirectory_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>optional string game_directory = 6;</code> */ public Builder setGameDirectory( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; gameDirectory_ = value; onChanged(); return this; } /** * <code>optional string game_directory = 6;</code> */ public Builder clearGameDirectory() { bitField0_ = (bitField0_ & ~0x00000020); gameDirectory_ = getDefaultInstance().getGameDirectory(); onChanged(); return this; } /** * <code>optional string game_directory = 6;</code> */ public Builder setGameDirectoryBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; gameDirectory_ = value; onChanged(); return this; } // optional int32 fullpackets_version = 7; private int fullpacketsVersion_ ; /** * <code>optional int32 fullpackets_version = 7;</code> */ public boolean hasFullpacketsVersion() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * <code>optional int32 fullpackets_version = 7;</code> */ public int getFullpacketsVersion() { return fullpacketsVersion_; } /** * <code>optional int32 fullpackets_version = 7;</code> */ public Builder setFullpacketsVersion(int value) { bitField0_ |= 0x00000040; fullpacketsVersion_ = value; onChanged(); return this; } /** * <code>optional int32 fullpackets_version = 7;</code> */ public Builder clearFullpacketsVersion() { bitField0_ = (bitField0_ & ~0x00000040); fullpacketsVersion_ = 0; onChanged(); return this; } // optional bool allow_clientside_entities = 8; private boolean allowClientsideEntities_ ; /** * <code>optional bool allow_clientside_entities = 8;</code> */ public boolean hasAllowClientsideEntities() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * <code>optional bool allow_clientside_entities = 8;</code> */ public boolean getAllowClientsideEntities() { return allowClientsideEntities_; } /** * <code>optional bool allow_clientside_entities = 8;</code> */ public Builder setAllowClientsideEntities(boolean value) { bitField0_ |= 0x00000080; allowClientsideEntities_ = value; onChanged(); return this; } /** * <code>optional bool allow_clientside_entities = 8;</code> */ public Builder clearAllowClientsideEntities() { bitField0_ = (bitField0_ & ~0x00000080); allowClientsideEntities_ = false; onChanged(); return this; } // optional bool allow_clientside_particles = 9; private boolean allowClientsideParticles_ ; /** * <code>optional bool allow_clientside_particles = 9;</code> */ public boolean hasAllowClientsideParticles() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * <code>optional bool allow_clientside_particles = 9;</code> */ public boolean getAllowClientsideParticles() { return allowClientsideParticles_; } /** * <code>optional bool allow_clientside_particles = 9;</code> */ public Builder setAllowClientsideParticles(boolean value) { bitField0_ |= 0x00000100; allowClientsideParticles_ = value; onChanged(); return this; } /** * <code>optional bool allow_clientside_particles = 9;</code> */ public Builder clearAllowClientsideParticles() { bitField0_ = (bitField0_ & ~0x00000100); allowClientsideParticles_ = false; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:CDemoFileHeader) } static { defaultInstance = new CDemoFileHeader(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:CDemoFileHeader) } public interface CGameInfoOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional .CGameInfo.CDotaGameInfo dota = 4; /** * <code>optional .CGameInfo.CDotaGameInfo dota = 4;</code> */ boolean hasDota(); /** * <code>optional .CGameInfo.CDotaGameInfo dota = 4;</code> */ com.valve.dota2.Demo.CGameInfo.CDotaGameInfo getDota(); /** * <code>optional .CGameInfo.CDotaGameInfo dota = 4;</code> */ com.valve.dota2.Demo.CGameInfo.CDotaGameInfoOrBuilder getDotaOrBuilder(); } /** * Protobuf type {@code CGameInfo} */ public static final class CGameInfo extends com.google.protobuf.GeneratedMessage implements CGameInfoOrBuilder { // Use CGameInfo.newBuilder() to construct. private CGameInfo(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private CGameInfo(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final CGameInfo defaultInstance; public static CGameInfo getDefaultInstance() { return defaultInstance; } public CGameInfo getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CGameInfo( 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 34: { com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = dota_.toBuilder(); } dota_ = input.readMessage(com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(dota_); dota_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; 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 com.valve.dota2.Demo.internal_static_CGameInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CGameInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CGameInfo.class, com.valve.dota2.Demo.CGameInfo.Builder.class); } public static com.google.protobuf.Parser<CGameInfo> PARSER = new com.google.protobuf.AbstractParser<CGameInfo>() { public CGameInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CGameInfo(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<CGameInfo> getParserForType() { return PARSER; } public interface CDotaGameInfoOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional uint32 match_id = 1; /** * <code>optional uint32 match_id = 1;</code> */ boolean hasMatchId(); /** * <code>optional uint32 match_id = 1;</code> */ int getMatchId(); // optional int32 game_mode = 2; /** * <code>optional int32 game_mode = 2;</code> */ boolean hasGameMode(); /** * <code>optional int32 game_mode = 2;</code> */ int getGameMode(); // optional int32 game_winner = 3; /** * <code>optional int32 game_winner = 3;</code> */ boolean hasGameWinner(); /** * <code>optional int32 game_winner = 3;</code> */ int getGameWinner(); // repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4; /** * <code>repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4;</code> */ java.util.List<com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo> getPlayerInfoList(); /** * <code>repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4;</code> */ com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo getPlayerInfo(int index); /** * <code>repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4;</code> */ int getPlayerInfoCount(); /** * <code>repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4;</code> */ java.util.List<? extends com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfoOrBuilder> getPlayerInfoOrBuilderList(); /** * <code>repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4;</code> */ com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfoOrBuilder getPlayerInfoOrBuilder( int index); // optional uint32 leagueid = 5; /** * <code>optional uint32 leagueid = 5;</code> */ boolean hasLeagueid(); /** * <code>optional uint32 leagueid = 5;</code> */ int getLeagueid(); // repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6; /** * <code>repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6;</code> */ java.util.List<com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent> getPicksBansList(); /** * <code>repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6;</code> */ com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent getPicksBans(int index); /** * <code>repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6;</code> */ int getPicksBansCount(); /** * <code>repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6;</code> */ java.util.List<? extends com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEventOrBuilder> getPicksBansOrBuilderList(); /** * <code>repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6;</code> */ com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEventOrBuilder getPicksBansOrBuilder( int index); // optional uint32 radiant_team_id = 7; /** * <code>optional uint32 radiant_team_id = 7;</code> */ boolean hasRadiantTeamId(); /** * <code>optional uint32 radiant_team_id = 7;</code> */ int getRadiantTeamId(); // optional uint32 dire_team_id = 8; /** * <code>optional uint32 dire_team_id = 8;</code> */ boolean hasDireTeamId(); /** * <code>optional uint32 dire_team_id = 8;</code> */ int getDireTeamId(); // optional string radiant_team_tag = 9; /** * <code>optional string radiant_team_tag = 9;</code> */ boolean hasRadiantTeamTag(); /** * <code>optional string radiant_team_tag = 9;</code> */ java.lang.String getRadiantTeamTag(); /** * <code>optional string radiant_team_tag = 9;</code> */ com.google.protobuf.ByteString getRadiantTeamTagBytes(); // optional string dire_team_tag = 10; /** * <code>optional string dire_team_tag = 10;</code> */ boolean hasDireTeamTag(); /** * <code>optional string dire_team_tag = 10;</code> */ java.lang.String getDireTeamTag(); /** * <code>optional string dire_team_tag = 10;</code> */ com.google.protobuf.ByteString getDireTeamTagBytes(); // optional uint32 end_time = 11; /** * <code>optional uint32 end_time = 11;</code> */ boolean hasEndTime(); /** * <code>optional uint32 end_time = 11;</code> */ int getEndTime(); } /** * Protobuf type {@code CGameInfo.CDotaGameInfo} */ public static final class CDotaGameInfo extends com.google.protobuf.GeneratedMessage implements CDotaGameInfoOrBuilder { // Use CDotaGameInfo.newBuilder() to construct. private CDotaGameInfo(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private CDotaGameInfo(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final CDotaGameInfo defaultInstance; public static CDotaGameInfo getDefaultInstance() { return defaultInstance; } public CDotaGameInfo getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CDotaGameInfo( 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; matchId_ = input.readUInt32(); break; } case 16: { bitField0_ |= 0x00000002; gameMode_ = input.readInt32(); break; } case 24: { bitField0_ |= 0x00000004; gameWinner_ = input.readInt32(); break; } case 34: { if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { playerInfo_ = new java.util.ArrayList<com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo>(); mutable_bitField0_ |= 0x00000008; } playerInfo_.add(input.readMessage(com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo.PARSER, extensionRegistry)); break; } case 40: { bitField0_ |= 0x00000008; leagueid_ = input.readUInt32(); break; } case 50: { if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { picksBans_ = new java.util.ArrayList<com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent>(); mutable_bitField0_ |= 0x00000020; } picksBans_.add(input.readMessage(com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent.PARSER, extensionRegistry)); break; } case 56: { bitField0_ |= 0x00000010; radiantTeamId_ = input.readUInt32(); break; } case 64: { bitField0_ |= 0x00000020; direTeamId_ = input.readUInt32(); break; } case 74: { bitField0_ |= 0x00000040; radiantTeamTag_ = input.readBytes(); break; } case 82: { bitField0_ |= 0x00000080; direTeamTag_ = input.readBytes(); break; } case 88: { bitField0_ |= 0x00000100; endTime_ = 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_ & 0x00000008) == 0x00000008)) { playerInfo_ = java.util.Collections.unmodifiableList(playerInfo_); } if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) { picksBans_ = java.util.Collections.unmodifiableList(picksBans_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.valve.dota2.Demo.internal_static_CGameInfo_CDotaGameInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CGameInfo_CDotaGameInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.class, com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.Builder.class); } public static com.google.protobuf.Parser<CDotaGameInfo> PARSER = new com.google.protobuf.AbstractParser<CDotaGameInfo>() { public CDotaGameInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CDotaGameInfo(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<CDotaGameInfo> getParserForType() { return PARSER; } public interface CPlayerInfoOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional string hero_name = 1; /** * <code>optional string hero_name = 1;</code> */ boolean hasHeroName(); /** * <code>optional string hero_name = 1;</code> */ java.lang.String getHeroName(); /** * <code>optional string hero_name = 1;</code> */ com.google.protobuf.ByteString getHeroNameBytes(); // optional string player_name = 2; /** * <code>optional string player_name = 2;</code> */ boolean hasPlayerName(); /** * <code>optional string player_name = 2;</code> */ java.lang.String getPlayerName(); /** * <code>optional string player_name = 2;</code> */ com.google.protobuf.ByteString getPlayerNameBytes(); // optional bool is_fake_client = 3; /** * <code>optional bool is_fake_client = 3;</code> */ boolean hasIsFakeClient(); /** * <code>optional bool is_fake_client = 3;</code> */ boolean getIsFakeClient(); // optional uint64 steamid = 4; /** * <code>optional uint64 steamid = 4;</code> */ boolean hasSteamid(); /** * <code>optional uint64 steamid = 4;</code> */ long getSteamid(); // optional int32 game_team = 5; /** * <code>optional int32 game_team = 5;</code> */ boolean hasGameTeam(); /** * <code>optional int32 game_team = 5;</code> */ int getGameTeam(); } /** * Protobuf type {@code CGameInfo.CDotaGameInfo.CPlayerInfo} */ public static final class CPlayerInfo extends com.google.protobuf.GeneratedMessage implements CPlayerInfoOrBuilder { // Use CPlayerInfo.newBuilder() to construct. private CPlayerInfo(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private CPlayerInfo(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final CPlayerInfo defaultInstance; public static CPlayerInfo getDefaultInstance() { return defaultInstance; } public CPlayerInfo getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CPlayerInfo( 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: { bitField0_ |= 0x00000001; heroName_ = input.readBytes(); break; } case 18: { bitField0_ |= 0x00000002; playerName_ = input.readBytes(); break; } case 24: { bitField0_ |= 0x00000004; isFakeClient_ = input.readBool(); break; } case 32: { bitField0_ |= 0x00000008; steamid_ = input.readUInt64(); break; } case 40: { bitField0_ |= 0x00000010; gameTeam_ = 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 com.valve.dota2.Demo.internal_static_CGameInfo_CDotaGameInfo_CPlayerInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CGameInfo_CDotaGameInfo_CPlayerInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo.class, com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo.Builder.class); } public static com.google.protobuf.Parser<CPlayerInfo> PARSER = new com.google.protobuf.AbstractParser<CPlayerInfo>() { public CPlayerInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CPlayerInfo(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<CPlayerInfo> getParserForType() { return PARSER; } private int bitField0_; // optional string hero_name = 1; public static final int HERO_NAME_FIELD_NUMBER = 1; private java.lang.Object heroName_; /** * <code>optional string hero_name = 1;</code> */ public boolean hasHeroName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional string hero_name = 1;</code> */ public java.lang.String getHeroName() { java.lang.Object ref = heroName_; 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()) { heroName_ = s; } return s; } } /** * <code>optional string hero_name = 1;</code> */ public com.google.protobuf.ByteString getHeroNameBytes() { java.lang.Object ref = heroName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); heroName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string player_name = 2; public static final int PLAYER_NAME_FIELD_NUMBER = 2; private java.lang.Object playerName_; /** * <code>optional string player_name = 2;</code> */ public boolean hasPlayerName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional string player_name = 2;</code> */ public java.lang.String getPlayerName() { java.lang.Object ref = playerName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { playerName_ = s; } return s; } } /** * <code>optional string player_name = 2;</code> */ public com.google.protobuf.ByteString getPlayerNameBytes() { java.lang.Object ref = playerName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); playerName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional bool is_fake_client = 3; public static final int IS_FAKE_CLIENT_FIELD_NUMBER = 3; private boolean isFakeClient_; /** * <code>optional bool is_fake_client = 3;</code> */ public boolean hasIsFakeClient() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional bool is_fake_client = 3;</code> */ public boolean getIsFakeClient() { return isFakeClient_; } // optional uint64 steamid = 4; public static final int STEAMID_FIELD_NUMBER = 4; private long steamid_; /** * <code>optional uint64 steamid = 4;</code> */ public boolean hasSteamid() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>optional uint64 steamid = 4;</code> */ public long getSteamid() { return steamid_; } // optional int32 game_team = 5; public static final int GAME_TEAM_FIELD_NUMBER = 5; private int gameTeam_; /** * <code>optional int32 game_team = 5;</code> */ public boolean hasGameTeam() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * <code>optional int32 game_team = 5;</code> */ public int getGameTeam() { return gameTeam_; } private void initFields() { heroName_ = ""; playerName_ = ""; isFakeClient_ = false; steamid_ = 0L; gameTeam_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getHeroNameBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getPlayerNameBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(3, isFakeClient_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeUInt64(4, steamid_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeInt32(5, gameTeam_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getHeroNameBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getPlayerNameBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, isFakeClient_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(4, steamid_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(5, gameTeam_); } 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 com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo 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(com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo 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 CGameInfo.CDotaGameInfo.CPlayerInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.valve.dota2.Demo.internal_static_CGameInfo_CDotaGameInfo_CPlayerInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CGameInfo_CDotaGameInfo_CPlayerInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo.class, com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo.Builder.class); } // Construct using com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo.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(); heroName_ = ""; bitField0_ = (bitField0_ & ~0x00000001); playerName_ = ""; bitField0_ = (bitField0_ & ~0x00000002); isFakeClient_ = false; bitField0_ = (bitField0_ & ~0x00000004); steamid_ = 0L; bitField0_ = (bitField0_ & ~0x00000008); gameTeam_ = 0; bitField0_ = (bitField0_ & ~0x00000010); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.valve.dota2.Demo.internal_static_CGameInfo_CDotaGameInfo_CPlayerInfo_descriptor; } public com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo getDefaultInstanceForType() { return com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo.getDefaultInstance(); } public com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo build() { com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo buildPartial() { com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo result = new com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.heroName_ = heroName_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.playerName_ = playerName_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.isFakeClient_ = isFakeClient_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.steamid_ = steamid_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.gameTeam_ = gameTeam_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo) { return mergeFrom((com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo other) { if (other == com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo.getDefaultInstance()) return this; if (other.hasHeroName()) { bitField0_ |= 0x00000001; heroName_ = other.heroName_; onChanged(); } if (other.hasPlayerName()) { bitField0_ |= 0x00000002; playerName_ = other.playerName_; onChanged(); } if (other.hasIsFakeClient()) { setIsFakeClient(other.getIsFakeClient()); } if (other.hasSteamid()) { setSteamid(other.getSteamid()); } if (other.hasGameTeam()) { setGameTeam(other.getGameTeam()); } 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 { com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional string hero_name = 1; private java.lang.Object heroName_ = ""; /** * <code>optional string hero_name = 1;</code> */ public boolean hasHeroName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional string hero_name = 1;</code> */ public java.lang.String getHeroName() { java.lang.Object ref = heroName_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); heroName_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>optional string hero_name = 1;</code> */ public com.google.protobuf.ByteString getHeroNameBytes() { java.lang.Object ref = heroName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); heroName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>optional string hero_name = 1;</code> */ public Builder setHeroName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; heroName_ = value; onChanged(); return this; } /** * <code>optional string hero_name = 1;</code> */ public Builder clearHeroName() { bitField0_ = (bitField0_ & ~0x00000001); heroName_ = getDefaultInstance().getHeroName(); onChanged(); return this; } /** * <code>optional string hero_name = 1;</code> */ public Builder setHeroNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; heroName_ = value; onChanged(); return this; } // optional string player_name = 2; private java.lang.Object playerName_ = ""; /** * <code>optional string player_name = 2;</code> */ public boolean hasPlayerName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional string player_name = 2;</code> */ public java.lang.String getPlayerName() { java.lang.Object ref = playerName_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); playerName_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>optional string player_name = 2;</code> */ public com.google.protobuf.ByteString getPlayerNameBytes() { java.lang.Object ref = playerName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); playerName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>optional string player_name = 2;</code> */ public Builder setPlayerName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; playerName_ = value; onChanged(); return this; } /** * <code>optional string player_name = 2;</code> */ public Builder clearPlayerName() { bitField0_ = (bitField0_ & ~0x00000002); playerName_ = getDefaultInstance().getPlayerName(); onChanged(); return this; } /** * <code>optional string player_name = 2;</code> */ public Builder setPlayerNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; playerName_ = value; onChanged(); return this; } // optional bool is_fake_client = 3; private boolean isFakeClient_ ; /** * <code>optional bool is_fake_client = 3;</code> */ public boolean hasIsFakeClient() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional bool is_fake_client = 3;</code> */ public boolean getIsFakeClient() { return isFakeClient_; } /** * <code>optional bool is_fake_client = 3;</code> */ public Builder setIsFakeClient(boolean value) { bitField0_ |= 0x00000004; isFakeClient_ = value; onChanged(); return this; } /** * <code>optional bool is_fake_client = 3;</code> */ public Builder clearIsFakeClient() { bitField0_ = (bitField0_ & ~0x00000004); isFakeClient_ = false; onChanged(); return this; } // optional uint64 steamid = 4; private long steamid_ ; /** * <code>optional uint64 steamid = 4;</code> */ public boolean hasSteamid() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>optional uint64 steamid = 4;</code> */ public long getSteamid() { return steamid_; } /** * <code>optional uint64 steamid = 4;</code> */ public Builder setSteamid(long value) { bitField0_ |= 0x00000008; steamid_ = value; onChanged(); return this; } /** * <code>optional uint64 steamid = 4;</code> */ public Builder clearSteamid() { bitField0_ = (bitField0_ & ~0x00000008); steamid_ = 0L; onChanged(); return this; } // optional int32 game_team = 5; private int gameTeam_ ; /** * <code>optional int32 game_team = 5;</code> */ public boolean hasGameTeam() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * <code>optional int32 game_team = 5;</code> */ public int getGameTeam() { return gameTeam_; } /** * <code>optional int32 game_team = 5;</code> */ public Builder setGameTeam(int value) { bitField0_ |= 0x00000010; gameTeam_ = value; onChanged(); return this; } /** * <code>optional int32 game_team = 5;</code> */ public Builder clearGameTeam() { bitField0_ = (bitField0_ & ~0x00000010); gameTeam_ = 0; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:CGameInfo.CDotaGameInfo.CPlayerInfo) } static { defaultInstance = new CPlayerInfo(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:CGameInfo.CDotaGameInfo.CPlayerInfo) } public interface CHeroSelectEventOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional bool is_pick = 1; /** * <code>optional bool is_pick = 1;</code> */ boolean hasIsPick(); /** * <code>optional bool is_pick = 1;</code> */ boolean getIsPick(); // optional uint32 team = 2; /** * <code>optional uint32 team = 2;</code> */ boolean hasTeam(); /** * <code>optional uint32 team = 2;</code> */ int getTeam(); // optional uint32 hero_id = 3; /** * <code>optional uint32 hero_id = 3;</code> */ boolean hasHeroId(); /** * <code>optional uint32 hero_id = 3;</code> */ int getHeroId(); } /** * Protobuf type {@code CGameInfo.CDotaGameInfo.CHeroSelectEvent} */ public static final class CHeroSelectEvent extends com.google.protobuf.GeneratedMessage implements CHeroSelectEventOrBuilder { // Use CHeroSelectEvent.newBuilder() to construct. private CHeroSelectEvent(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private CHeroSelectEvent(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final CHeroSelectEvent defaultInstance; public static CHeroSelectEvent getDefaultInstance() { return defaultInstance; } public CHeroSelectEvent getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CHeroSelectEvent( 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; isPick_ = input.readBool(); break; } case 16: { bitField0_ |= 0x00000002; team_ = input.readUInt32(); break; } case 24: { bitField0_ |= 0x00000004; heroId_ = input.readUInt32(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.valve.dota2.Demo.internal_static_CGameInfo_CDotaGameInfo_CHeroSelectEvent_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CGameInfo_CDotaGameInfo_CHeroSelectEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent.class, com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent.Builder.class); } public static com.google.protobuf.Parser<CHeroSelectEvent> PARSER = new com.google.protobuf.AbstractParser<CHeroSelectEvent>() { public CHeroSelectEvent parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CHeroSelectEvent(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<CHeroSelectEvent> getParserForType() { return PARSER; } private int bitField0_; // optional bool is_pick = 1; public static final int IS_PICK_FIELD_NUMBER = 1; private boolean isPick_; /** * <code>optional bool is_pick = 1;</code> */ public boolean hasIsPick() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional bool is_pick = 1;</code> */ public boolean getIsPick() { return isPick_; } // optional uint32 team = 2; public static final int TEAM_FIELD_NUMBER = 2; private int team_; /** * <code>optional uint32 team = 2;</code> */ public boolean hasTeam() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional uint32 team = 2;</code> */ public int getTeam() { return team_; } // optional uint32 hero_id = 3; public static final int HERO_ID_FIELD_NUMBER = 3; private int heroId_; /** * <code>optional uint32 hero_id = 3;</code> */ public boolean hasHeroId() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional uint32 hero_id = 3;</code> */ public int getHeroId() { return heroId_; } private void initFields() { isPick_ = false; team_ = 0; heroId_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBool(1, isPick_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, team_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt32(3, heroId_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, isPick_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, team_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, heroId_); } 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 com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent 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(com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent 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 CGameInfo.CDotaGameInfo.CHeroSelectEvent} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEventOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.valve.dota2.Demo.internal_static_CGameInfo_CDotaGameInfo_CHeroSelectEvent_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CGameInfo_CDotaGameInfo_CHeroSelectEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent.class, com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent.Builder.class); } // Construct using com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent.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(); isPick_ = false; bitField0_ = (bitField0_ & ~0x00000001); team_ = 0; bitField0_ = (bitField0_ & ~0x00000002); heroId_ = 0; bitField0_ = (bitField0_ & ~0x00000004); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.valve.dota2.Demo.internal_static_CGameInfo_CDotaGameInfo_CHeroSelectEvent_descriptor; } public com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent getDefaultInstanceForType() { return com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent.getDefaultInstance(); } public com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent build() { com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent buildPartial() { com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent result = new com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.isPick_ = isPick_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.team_ = team_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.heroId_ = heroId_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent) { return mergeFrom((com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent other) { if (other == com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent.getDefaultInstance()) return this; if (other.hasIsPick()) { setIsPick(other.getIsPick()); } if (other.hasTeam()) { setTeam(other.getTeam()); } if (other.hasHeroId()) { setHeroId(other.getHeroId()); } 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 { com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional bool is_pick = 1; private boolean isPick_ ; /** * <code>optional bool is_pick = 1;</code> */ public boolean hasIsPick() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional bool is_pick = 1;</code> */ public boolean getIsPick() { return isPick_; } /** * <code>optional bool is_pick = 1;</code> */ public Builder setIsPick(boolean value) { bitField0_ |= 0x00000001; isPick_ = value; onChanged(); return this; } /** * <code>optional bool is_pick = 1;</code> */ public Builder clearIsPick() { bitField0_ = (bitField0_ & ~0x00000001); isPick_ = false; onChanged(); return this; } // optional uint32 team = 2; private int team_ ; /** * <code>optional uint32 team = 2;</code> */ public boolean hasTeam() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional uint32 team = 2;</code> */ public int getTeam() { return team_; } /** * <code>optional uint32 team = 2;</code> */ public Builder setTeam(int value) { bitField0_ |= 0x00000002; team_ = value; onChanged(); return this; } /** * <code>optional uint32 team = 2;</code> */ public Builder clearTeam() { bitField0_ = (bitField0_ & ~0x00000002); team_ = 0; onChanged(); return this; } // optional uint32 hero_id = 3; private int heroId_ ; /** * <code>optional uint32 hero_id = 3;</code> */ public boolean hasHeroId() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional uint32 hero_id = 3;</code> */ public int getHeroId() { return heroId_; } /** * <code>optional uint32 hero_id = 3;</code> */ public Builder setHeroId(int value) { bitField0_ |= 0x00000004; heroId_ = value; onChanged(); return this; } /** * <code>optional uint32 hero_id = 3;</code> */ public Builder clearHeroId() { bitField0_ = (bitField0_ & ~0x00000004); heroId_ = 0; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:CGameInfo.CDotaGameInfo.CHeroSelectEvent) } static { defaultInstance = new CHeroSelectEvent(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:CGameInfo.CDotaGameInfo.CHeroSelectEvent) } private int bitField0_; // optional uint32 match_id = 1; public static final int MATCH_ID_FIELD_NUMBER = 1; private int matchId_; /** * <code>optional uint32 match_id = 1;</code> */ public boolean hasMatchId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional uint32 match_id = 1;</code> */ public int getMatchId() { return matchId_; } // optional int32 game_mode = 2; public static final int GAME_MODE_FIELD_NUMBER = 2; private int gameMode_; /** * <code>optional int32 game_mode = 2;</code> */ public boolean hasGameMode() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional int32 game_mode = 2;</code> */ public int getGameMode() { return gameMode_; } // optional int32 game_winner = 3; public static final int GAME_WINNER_FIELD_NUMBER = 3; private int gameWinner_; /** * <code>optional int32 game_winner = 3;</code> */ public boolean hasGameWinner() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional int32 game_winner = 3;</code> */ public int getGameWinner() { return gameWinner_; } // repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4; public static final int PLAYER_INFO_FIELD_NUMBER = 4; private java.util.List<com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo> playerInfo_; /** * <code>repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4;</code> */ public java.util.List<com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo> getPlayerInfoList() { return playerInfo_; } /** * <code>repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4;</code> */ public java.util.List<? extends com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfoOrBuilder> getPlayerInfoOrBuilderList() { return playerInfo_; } /** * <code>repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4;</code> */ public int getPlayerInfoCount() { return playerInfo_.size(); } /** * <code>repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4;</code> */ public com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo getPlayerInfo(int index) { return playerInfo_.get(index); } /** * <code>repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4;</code> */ public com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfoOrBuilder getPlayerInfoOrBuilder( int index) { return playerInfo_.get(index); } // optional uint32 leagueid = 5; public static final int LEAGUEID_FIELD_NUMBER = 5; private int leagueid_; /** * <code>optional uint32 leagueid = 5;</code> */ public boolean hasLeagueid() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>optional uint32 leagueid = 5;</code> */ public int getLeagueid() { return leagueid_; } // repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6; public static final int PICKS_BANS_FIELD_NUMBER = 6; private java.util.List<com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent> picksBans_; /** * <code>repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6;</code> */ public java.util.List<com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent> getPicksBansList() { return picksBans_; } /** * <code>repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6;</code> */ public java.util.List<? extends com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEventOrBuilder> getPicksBansOrBuilderList() { return picksBans_; } /** * <code>repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6;</code> */ public int getPicksBansCount() { return picksBans_.size(); } /** * <code>repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6;</code> */ public com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent getPicksBans(int index) { return picksBans_.get(index); } /** * <code>repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6;</code> */ public com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEventOrBuilder getPicksBansOrBuilder( int index) { return picksBans_.get(index); } // optional uint32 radiant_team_id = 7; public static final int RADIANT_TEAM_ID_FIELD_NUMBER = 7; private int radiantTeamId_; /** * <code>optional uint32 radiant_team_id = 7;</code> */ public boolean hasRadiantTeamId() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * <code>optional uint32 radiant_team_id = 7;</code> */ public int getRadiantTeamId() { return radiantTeamId_; } // optional uint32 dire_team_id = 8; public static final int DIRE_TEAM_ID_FIELD_NUMBER = 8; private int direTeamId_; /** * <code>optional uint32 dire_team_id = 8;</code> */ public boolean hasDireTeamId() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * <code>optional uint32 dire_team_id = 8;</code> */ public int getDireTeamId() { return direTeamId_; } // optional string radiant_team_tag = 9; public static final int RADIANT_TEAM_TAG_FIELD_NUMBER = 9; private java.lang.Object radiantTeamTag_; /** * <code>optional string radiant_team_tag = 9;</code> */ public boolean hasRadiantTeamTag() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * <code>optional string radiant_team_tag = 9;</code> */ public java.lang.String getRadiantTeamTag() { java.lang.Object ref = radiantTeamTag_; 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()) { radiantTeamTag_ = s; } return s; } } /** * <code>optional string radiant_team_tag = 9;</code> */ public com.google.protobuf.ByteString getRadiantTeamTagBytes() { java.lang.Object ref = radiantTeamTag_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); radiantTeamTag_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string dire_team_tag = 10; public static final int DIRE_TEAM_TAG_FIELD_NUMBER = 10; private java.lang.Object direTeamTag_; /** * <code>optional string dire_team_tag = 10;</code> */ public boolean hasDireTeamTag() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * <code>optional string dire_team_tag = 10;</code> */ public java.lang.String getDireTeamTag() { java.lang.Object ref = direTeamTag_; 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()) { direTeamTag_ = s; } return s; } } /** * <code>optional string dire_team_tag = 10;</code> */ public com.google.protobuf.ByteString getDireTeamTagBytes() { java.lang.Object ref = direTeamTag_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); direTeamTag_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional uint32 end_time = 11; public static final int END_TIME_FIELD_NUMBER = 11; private int endTime_; /** * <code>optional uint32 end_time = 11;</code> */ public boolean hasEndTime() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * <code>optional uint32 end_time = 11;</code> */ public int getEndTime() { return endTime_; } private void initFields() { matchId_ = 0; gameMode_ = 0; gameWinner_ = 0; playerInfo_ = java.util.Collections.emptyList(); leagueid_ = 0; picksBans_ = java.util.Collections.emptyList(); radiantTeamId_ = 0; direTeamId_ = 0; radiantTeamTag_ = ""; direTeamTag_ = ""; endTime_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, matchId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt32(2, gameMode_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt32(3, gameWinner_); } for (int i = 0; i < playerInfo_.size(); i++) { output.writeMessage(4, playerInfo_.get(i)); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeUInt32(5, leagueid_); } for (int i = 0; i < picksBans_.size(); i++) { output.writeMessage(6, picksBans_.get(i)); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeUInt32(7, radiantTeamId_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeUInt32(8, direTeamId_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeBytes(9, getRadiantTeamTagBytes()); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeBytes(10, getDireTeamTagBytes()); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeUInt32(11, endTime_); } 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, matchId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, gameMode_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, gameWinner_); } for (int i = 0; i < playerInfo_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, playerInfo_.get(i)); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, leagueid_); } for (int i = 0; i < picksBans_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, picksBans_.get(i)); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(7, radiantTeamId_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(8, direTeamId_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(9, getRadiantTeamTagBytes()); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(10, getDireTeamTagBytes()); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(11, endTime_); } 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 com.valve.dota2.Demo.CGameInfo.CDotaGameInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CGameInfo.CDotaGameInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CGameInfo.CDotaGameInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CGameInfo.CDotaGameInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CGameInfo.CDotaGameInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CGameInfo.CDotaGameInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CGameInfo.CDotaGameInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.valve.dota2.Demo.CGameInfo.CDotaGameInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CGameInfo.CDotaGameInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CGameInfo.CDotaGameInfo 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(com.valve.dota2.Demo.CGameInfo.CDotaGameInfo 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 CGameInfo.CDotaGameInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements com.valve.dota2.Demo.CGameInfo.CDotaGameInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.valve.dota2.Demo.internal_static_CGameInfo_CDotaGameInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CGameInfo_CDotaGameInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.class, com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.Builder.class); } // Construct using com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getPlayerInfoFieldBuilder(); getPicksBansFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); matchId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); gameMode_ = 0; bitField0_ = (bitField0_ & ~0x00000002); gameWinner_ = 0; bitField0_ = (bitField0_ & ~0x00000004); if (playerInfoBuilder_ == null) { playerInfo_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); } else { playerInfoBuilder_.clear(); } leagueid_ = 0; bitField0_ = (bitField0_ & ~0x00000010); if (picksBansBuilder_ == null) { picksBans_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); } else { picksBansBuilder_.clear(); } radiantTeamId_ = 0; bitField0_ = (bitField0_ & ~0x00000040); direTeamId_ = 0; bitField0_ = (bitField0_ & ~0x00000080); radiantTeamTag_ = ""; bitField0_ = (bitField0_ & ~0x00000100); direTeamTag_ = ""; bitField0_ = (bitField0_ & ~0x00000200); endTime_ = 0; bitField0_ = (bitField0_ & ~0x00000400); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.valve.dota2.Demo.internal_static_CGameInfo_CDotaGameInfo_descriptor; } public com.valve.dota2.Demo.CGameInfo.CDotaGameInfo getDefaultInstanceForType() { return com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.getDefaultInstance(); } public com.valve.dota2.Demo.CGameInfo.CDotaGameInfo build() { com.valve.dota2.Demo.CGameInfo.CDotaGameInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.valve.dota2.Demo.CGameInfo.CDotaGameInfo buildPartial() { com.valve.dota2.Demo.CGameInfo.CDotaGameInfo result = new com.valve.dota2.Demo.CGameInfo.CDotaGameInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.matchId_ = matchId_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.gameMode_ = gameMode_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.gameWinner_ = gameWinner_; if (playerInfoBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008)) { playerInfo_ = java.util.Collections.unmodifiableList(playerInfo_); bitField0_ = (bitField0_ & ~0x00000008); } result.playerInfo_ = playerInfo_; } else { result.playerInfo_ = playerInfoBuilder_.build(); } if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000008; } result.leagueid_ = leagueid_; if (picksBansBuilder_ == null) { if (((bitField0_ & 0x00000020) == 0x00000020)) { picksBans_ = java.util.Collections.unmodifiableList(picksBans_); bitField0_ = (bitField0_ & ~0x00000020); } result.picksBans_ = picksBans_; } else { result.picksBans_ = picksBansBuilder_.build(); } if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000010; } result.radiantTeamId_ = radiantTeamId_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000020; } result.direTeamId_ = direTeamId_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000040; } result.radiantTeamTag_ = radiantTeamTag_; if (((from_bitField0_ & 0x00000200) == 0x00000200)) { to_bitField0_ |= 0x00000080; } result.direTeamTag_ = direTeamTag_; if (((from_bitField0_ & 0x00000400) == 0x00000400)) { to_bitField0_ |= 0x00000100; } result.endTime_ = endTime_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.valve.dota2.Demo.CGameInfo.CDotaGameInfo) { return mergeFrom((com.valve.dota2.Demo.CGameInfo.CDotaGameInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.valve.dota2.Demo.CGameInfo.CDotaGameInfo other) { if (other == com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.getDefaultInstance()) return this; if (other.hasMatchId()) { setMatchId(other.getMatchId()); } if (other.hasGameMode()) { setGameMode(other.getGameMode()); } if (other.hasGameWinner()) { setGameWinner(other.getGameWinner()); } if (playerInfoBuilder_ == null) { if (!other.playerInfo_.isEmpty()) { if (playerInfo_.isEmpty()) { playerInfo_ = other.playerInfo_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensurePlayerInfoIsMutable(); playerInfo_.addAll(other.playerInfo_); } onChanged(); } } else { if (!other.playerInfo_.isEmpty()) { if (playerInfoBuilder_.isEmpty()) { playerInfoBuilder_.dispose(); playerInfoBuilder_ = null; playerInfo_ = other.playerInfo_; bitField0_ = (bitField0_ & ~0x00000008); playerInfoBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getPlayerInfoFieldBuilder() : null; } else { playerInfoBuilder_.addAllMessages(other.playerInfo_); } } } if (other.hasLeagueid()) { setLeagueid(other.getLeagueid()); } if (picksBansBuilder_ == null) { if (!other.picksBans_.isEmpty()) { if (picksBans_.isEmpty()) { picksBans_ = other.picksBans_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensurePicksBansIsMutable(); picksBans_.addAll(other.picksBans_); } onChanged(); } } else { if (!other.picksBans_.isEmpty()) { if (picksBansBuilder_.isEmpty()) { picksBansBuilder_.dispose(); picksBansBuilder_ = null; picksBans_ = other.picksBans_; bitField0_ = (bitField0_ & ~0x00000020); picksBansBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getPicksBansFieldBuilder() : null; } else { picksBansBuilder_.addAllMessages(other.picksBans_); } } } if (other.hasRadiantTeamId()) { setRadiantTeamId(other.getRadiantTeamId()); } if (other.hasDireTeamId()) { setDireTeamId(other.getDireTeamId()); } if (other.hasRadiantTeamTag()) { bitField0_ |= 0x00000100; radiantTeamTag_ = other.radiantTeamTag_; onChanged(); } if (other.hasDireTeamTag()) { bitField0_ |= 0x00000200; direTeamTag_ = other.direTeamTag_; onChanged(); } if (other.hasEndTime()) { setEndTime(other.getEndTime()); } 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 { com.valve.dota2.Demo.CGameInfo.CDotaGameInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.valve.dota2.Demo.CGameInfo.CDotaGameInfo) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional uint32 match_id = 1; private int matchId_ ; /** * <code>optional uint32 match_id = 1;</code> */ public boolean hasMatchId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional uint32 match_id = 1;</code> */ public int getMatchId() { return matchId_; } /** * <code>optional uint32 match_id = 1;</code> */ public Builder setMatchId(int value) { bitField0_ |= 0x00000001; matchId_ = value; onChanged(); return this; } /** * <code>optional uint32 match_id = 1;</code> */ public Builder clearMatchId() { bitField0_ = (bitField0_ & ~0x00000001); matchId_ = 0; onChanged(); return this; } // optional int32 game_mode = 2; private int gameMode_ ; /** * <code>optional int32 game_mode = 2;</code> */ public boolean hasGameMode() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional int32 game_mode = 2;</code> */ public int getGameMode() { return gameMode_; } /** * <code>optional int32 game_mode = 2;</code> */ public Builder setGameMode(int value) { bitField0_ |= 0x00000002; gameMode_ = value; onChanged(); return this; } /** * <code>optional int32 game_mode = 2;</code> */ public Builder clearGameMode() { bitField0_ = (bitField0_ & ~0x00000002); gameMode_ = 0; onChanged(); return this; } // optional int32 game_winner = 3; private int gameWinner_ ; /** * <code>optional int32 game_winner = 3;</code> */ public boolean hasGameWinner() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional int32 game_winner = 3;</code> */ public int getGameWinner() { return gameWinner_; } /** * <code>optional int32 game_winner = 3;</code> */ public Builder setGameWinner(int value) { bitField0_ |= 0x00000004; gameWinner_ = value; onChanged(); return this; } /** * <code>optional int32 game_winner = 3;</code> */ public Builder clearGameWinner() { bitField0_ = (bitField0_ & ~0x00000004); gameWinner_ = 0; onChanged(); return this; } // repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4; private java.util.List<com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo> playerInfo_ = java.util.Collections.emptyList(); private void ensurePlayerInfoIsMutable() { if (!((bitField0_ & 0x00000008) == 0x00000008)) { playerInfo_ = new java.util.ArrayList<com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo>(playerInfo_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilder< com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo, com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo.Builder, com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfoOrBuilder> playerInfoBuilder_; /** * <code>repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4;</code> */ public java.util.List<com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo> getPlayerInfoList() { if (playerInfoBuilder_ == null) { return java.util.Collections.unmodifiableList(playerInfo_); } else { return playerInfoBuilder_.getMessageList(); } } /** * <code>repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4;</code> */ public int getPlayerInfoCount() { if (playerInfoBuilder_ == null) { return playerInfo_.size(); } else { return playerInfoBuilder_.getCount(); } } /** * <code>repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4;</code> */ public com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo getPlayerInfo(int index) { if (playerInfoBuilder_ == null) { return playerInfo_.get(index); } else { return playerInfoBuilder_.getMessage(index); } } /** * <code>repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4;</code> */ public Builder setPlayerInfo( int index, com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo value) { if (playerInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePlayerInfoIsMutable(); playerInfo_.set(index, value); onChanged(); } else { playerInfoBuilder_.setMessage(index, value); } return this; } /** * <code>repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4;</code> */ public Builder setPlayerInfo( int index, com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo.Builder builderForValue) { if (playerInfoBuilder_ == null) { ensurePlayerInfoIsMutable(); playerInfo_.set(index, builderForValue.build()); onChanged(); } else { playerInfoBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4;</code> */ public Builder addPlayerInfo(com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo value) { if (playerInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePlayerInfoIsMutable(); playerInfo_.add(value); onChanged(); } else { playerInfoBuilder_.addMessage(value); } return this; } /** * <code>repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4;</code> */ public Builder addPlayerInfo( int index, com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo value) { if (playerInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePlayerInfoIsMutable(); playerInfo_.add(index, value); onChanged(); } else { playerInfoBuilder_.addMessage(index, value); } return this; } /** * <code>repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4;</code> */ public Builder addPlayerInfo( com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo.Builder builderForValue) { if (playerInfoBuilder_ == null) { ensurePlayerInfoIsMutable(); playerInfo_.add(builderForValue.build()); onChanged(); } else { playerInfoBuilder_.addMessage(builderForValue.build()); } return this; } /** * <code>repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4;</code> */ public Builder addPlayerInfo( int index, com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo.Builder builderForValue) { if (playerInfoBuilder_ == null) { ensurePlayerInfoIsMutable(); playerInfo_.add(index, builderForValue.build()); onChanged(); } else { playerInfoBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4;</code> */ public Builder addAllPlayerInfo( java.lang.Iterable<? extends com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo> values) { if (playerInfoBuilder_ == null) { ensurePlayerInfoIsMutable(); super.addAll(values, playerInfo_); onChanged(); } else { playerInfoBuilder_.addAllMessages(values); } return this; } /** * <code>repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4;</code> */ public Builder clearPlayerInfo() { if (playerInfoBuilder_ == null) { playerInfo_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { playerInfoBuilder_.clear(); } return this; } /** * <code>repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4;</code> */ public Builder removePlayerInfo(int index) { if (playerInfoBuilder_ == null) { ensurePlayerInfoIsMutable(); playerInfo_.remove(index); onChanged(); } else { playerInfoBuilder_.remove(index); } return this; } /** * <code>repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4;</code> */ public com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo.Builder getPlayerInfoBuilder( int index) { return getPlayerInfoFieldBuilder().getBuilder(index); } /** * <code>repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4;</code> */ public com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfoOrBuilder getPlayerInfoOrBuilder( int index) { if (playerInfoBuilder_ == null) { return playerInfo_.get(index); } else { return playerInfoBuilder_.getMessageOrBuilder(index); } } /** * <code>repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4;</code> */ public java.util.List<? extends com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfoOrBuilder> getPlayerInfoOrBuilderList() { if (playerInfoBuilder_ != null) { return playerInfoBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(playerInfo_); } } /** * <code>repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4;</code> */ public com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo.Builder addPlayerInfoBuilder() { return getPlayerInfoFieldBuilder().addBuilder( com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo.getDefaultInstance()); } /** * <code>repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4;</code> */ public com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo.Builder addPlayerInfoBuilder( int index) { return getPlayerInfoFieldBuilder().addBuilder( index, com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo.getDefaultInstance()); } /** * <code>repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4;</code> */ public java.util.List<com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo.Builder> getPlayerInfoBuilderList() { return getPlayerInfoFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo, com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo.Builder, com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfoOrBuilder> getPlayerInfoFieldBuilder() { if (playerInfoBuilder_ == null) { playerInfoBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo, com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfo.Builder, com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CPlayerInfoOrBuilder>( playerInfo_, ((bitField0_ & 0x00000008) == 0x00000008), getParentForChildren(), isClean()); playerInfo_ = null; } return playerInfoBuilder_; } // optional uint32 leagueid = 5; private int leagueid_ ; /** * <code>optional uint32 leagueid = 5;</code> */ public boolean hasLeagueid() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * <code>optional uint32 leagueid = 5;</code> */ public int getLeagueid() { return leagueid_; } /** * <code>optional uint32 leagueid = 5;</code> */ public Builder setLeagueid(int value) { bitField0_ |= 0x00000010; leagueid_ = value; onChanged(); return this; } /** * <code>optional uint32 leagueid = 5;</code> */ public Builder clearLeagueid() { bitField0_ = (bitField0_ & ~0x00000010); leagueid_ = 0; onChanged(); return this; } // repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6; private java.util.List<com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent> picksBans_ = java.util.Collections.emptyList(); private void ensurePicksBansIsMutable() { if (!((bitField0_ & 0x00000020) == 0x00000020)) { picksBans_ = new java.util.ArrayList<com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent>(picksBans_); bitField0_ |= 0x00000020; } } private com.google.protobuf.RepeatedFieldBuilder< com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent, com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent.Builder, com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEventOrBuilder> picksBansBuilder_; /** * <code>repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6;</code> */ public java.util.List<com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent> getPicksBansList() { if (picksBansBuilder_ == null) { return java.util.Collections.unmodifiableList(picksBans_); } else { return picksBansBuilder_.getMessageList(); } } /** * <code>repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6;</code> */ public int getPicksBansCount() { if (picksBansBuilder_ == null) { return picksBans_.size(); } else { return picksBansBuilder_.getCount(); } } /** * <code>repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6;</code> */ public com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent getPicksBans(int index) { if (picksBansBuilder_ == null) { return picksBans_.get(index); } else { return picksBansBuilder_.getMessage(index); } } /** * <code>repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6;</code> */ public Builder setPicksBans( int index, com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent value) { if (picksBansBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePicksBansIsMutable(); picksBans_.set(index, value); onChanged(); } else { picksBansBuilder_.setMessage(index, value); } return this; } /** * <code>repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6;</code> */ public Builder setPicksBans( int index, com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent.Builder builderForValue) { if (picksBansBuilder_ == null) { ensurePicksBansIsMutable(); picksBans_.set(index, builderForValue.build()); onChanged(); } else { picksBansBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6;</code> */ public Builder addPicksBans(com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent value) { if (picksBansBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePicksBansIsMutable(); picksBans_.add(value); onChanged(); } else { picksBansBuilder_.addMessage(value); } return this; } /** * <code>repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6;</code> */ public Builder addPicksBans( int index, com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent value) { if (picksBansBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePicksBansIsMutable(); picksBans_.add(index, value); onChanged(); } else { picksBansBuilder_.addMessage(index, value); } return this; } /** * <code>repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6;</code> */ public Builder addPicksBans( com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent.Builder builderForValue) { if (picksBansBuilder_ == null) { ensurePicksBansIsMutable(); picksBans_.add(builderForValue.build()); onChanged(); } else { picksBansBuilder_.addMessage(builderForValue.build()); } return this; } /** * <code>repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6;</code> */ public Builder addPicksBans( int index, com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent.Builder builderForValue) { if (picksBansBuilder_ == null) { ensurePicksBansIsMutable(); picksBans_.add(index, builderForValue.build()); onChanged(); } else { picksBansBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6;</code> */ public Builder addAllPicksBans( java.lang.Iterable<? extends com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent> values) { if (picksBansBuilder_ == null) { ensurePicksBansIsMutable(); super.addAll(values, picksBans_); onChanged(); } else { picksBansBuilder_.addAllMessages(values); } return this; } /** * <code>repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6;</code> */ public Builder clearPicksBans() { if (picksBansBuilder_ == null) { picksBans_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); } else { picksBansBuilder_.clear(); } return this; } /** * <code>repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6;</code> */ public Builder removePicksBans(int index) { if (picksBansBuilder_ == null) { ensurePicksBansIsMutable(); picksBans_.remove(index); onChanged(); } else { picksBansBuilder_.remove(index); } return this; } /** * <code>repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6;</code> */ public com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent.Builder getPicksBansBuilder( int index) { return getPicksBansFieldBuilder().getBuilder(index); } /** * <code>repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6;</code> */ public com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEventOrBuilder getPicksBansOrBuilder( int index) { if (picksBansBuilder_ == null) { return picksBans_.get(index); } else { return picksBansBuilder_.getMessageOrBuilder(index); } } /** * <code>repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6;</code> */ public java.util.List<? extends com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEventOrBuilder> getPicksBansOrBuilderList() { if (picksBansBuilder_ != null) { return picksBansBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(picksBans_); } } /** * <code>repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6;</code> */ public com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent.Builder addPicksBansBuilder() { return getPicksBansFieldBuilder().addBuilder( com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent.getDefaultInstance()); } /** * <code>repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6;</code> */ public com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent.Builder addPicksBansBuilder( int index) { return getPicksBansFieldBuilder().addBuilder( index, com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent.getDefaultInstance()); } /** * <code>repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6;</code> */ public java.util.List<com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent.Builder> getPicksBansBuilderList() { return getPicksBansFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent, com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent.Builder, com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEventOrBuilder> getPicksBansFieldBuilder() { if (picksBansBuilder_ == null) { picksBansBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent, com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEvent.Builder, com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.CHeroSelectEventOrBuilder>( picksBans_, ((bitField0_ & 0x00000020) == 0x00000020), getParentForChildren(), isClean()); picksBans_ = null; } return picksBansBuilder_; } // optional uint32 radiant_team_id = 7; private int radiantTeamId_ ; /** * <code>optional uint32 radiant_team_id = 7;</code> */ public boolean hasRadiantTeamId() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * <code>optional uint32 radiant_team_id = 7;</code> */ public int getRadiantTeamId() { return radiantTeamId_; } /** * <code>optional uint32 radiant_team_id = 7;</code> */ public Builder setRadiantTeamId(int value) { bitField0_ |= 0x00000040; radiantTeamId_ = value; onChanged(); return this; } /** * <code>optional uint32 radiant_team_id = 7;</code> */ public Builder clearRadiantTeamId() { bitField0_ = (bitField0_ & ~0x00000040); radiantTeamId_ = 0; onChanged(); return this; } // optional uint32 dire_team_id = 8; private int direTeamId_ ; /** * <code>optional uint32 dire_team_id = 8;</code> */ public boolean hasDireTeamId() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * <code>optional uint32 dire_team_id = 8;</code> */ public int getDireTeamId() { return direTeamId_; } /** * <code>optional uint32 dire_team_id = 8;</code> */ public Builder setDireTeamId(int value) { bitField0_ |= 0x00000080; direTeamId_ = value; onChanged(); return this; } /** * <code>optional uint32 dire_team_id = 8;</code> */ public Builder clearDireTeamId() { bitField0_ = (bitField0_ & ~0x00000080); direTeamId_ = 0; onChanged(); return this; } // optional string radiant_team_tag = 9; private java.lang.Object radiantTeamTag_ = ""; /** * <code>optional string radiant_team_tag = 9;</code> */ public boolean hasRadiantTeamTag() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * <code>optional string radiant_team_tag = 9;</code> */ public java.lang.String getRadiantTeamTag() { java.lang.Object ref = radiantTeamTag_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); radiantTeamTag_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>optional string radiant_team_tag = 9;</code> */ public com.google.protobuf.ByteString getRadiantTeamTagBytes() { java.lang.Object ref = radiantTeamTag_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); radiantTeamTag_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>optional string radiant_team_tag = 9;</code> */ public Builder setRadiantTeamTag( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; radiantTeamTag_ = value; onChanged(); return this; } /** * <code>optional string radiant_team_tag = 9;</code> */ public Builder clearRadiantTeamTag() { bitField0_ = (bitField0_ & ~0x00000100); radiantTeamTag_ = getDefaultInstance().getRadiantTeamTag(); onChanged(); return this; } /** * <code>optional string radiant_team_tag = 9;</code> */ public Builder setRadiantTeamTagBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; radiantTeamTag_ = value; onChanged(); return this; } // optional string dire_team_tag = 10; private java.lang.Object direTeamTag_ = ""; /** * <code>optional string dire_team_tag = 10;</code> */ public boolean hasDireTeamTag() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * <code>optional string dire_team_tag = 10;</code> */ public java.lang.String getDireTeamTag() { java.lang.Object ref = direTeamTag_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); direTeamTag_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>optional string dire_team_tag = 10;</code> */ public com.google.protobuf.ByteString getDireTeamTagBytes() { java.lang.Object ref = direTeamTag_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); direTeamTag_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>optional string dire_team_tag = 10;</code> */ public Builder setDireTeamTag( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000200; direTeamTag_ = value; onChanged(); return this; } /** * <code>optional string dire_team_tag = 10;</code> */ public Builder clearDireTeamTag() { bitField0_ = (bitField0_ & ~0x00000200); direTeamTag_ = getDefaultInstance().getDireTeamTag(); onChanged(); return this; } /** * <code>optional string dire_team_tag = 10;</code> */ public Builder setDireTeamTagBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000200; direTeamTag_ = value; onChanged(); return this; } // optional uint32 end_time = 11; private int endTime_ ; /** * <code>optional uint32 end_time = 11;</code> */ public boolean hasEndTime() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * <code>optional uint32 end_time = 11;</code> */ public int getEndTime() { return endTime_; } /** * <code>optional uint32 end_time = 11;</code> */ public Builder setEndTime(int value) { bitField0_ |= 0x00000400; endTime_ = value; onChanged(); return this; } /** * <code>optional uint32 end_time = 11;</code> */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000400); endTime_ = 0; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:CGameInfo.CDotaGameInfo) } static { defaultInstance = new CDotaGameInfo(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:CGameInfo.CDotaGameInfo) } private int bitField0_; // optional .CGameInfo.CDotaGameInfo dota = 4; public static final int DOTA_FIELD_NUMBER = 4; private com.valve.dota2.Demo.CGameInfo.CDotaGameInfo dota_; /** * <code>optional .CGameInfo.CDotaGameInfo dota = 4;</code> */ public boolean hasDota() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional .CGameInfo.CDotaGameInfo dota = 4;</code> */ public com.valve.dota2.Demo.CGameInfo.CDotaGameInfo getDota() { return dota_; } /** * <code>optional .CGameInfo.CDotaGameInfo dota = 4;</code> */ public com.valve.dota2.Demo.CGameInfo.CDotaGameInfoOrBuilder getDotaOrBuilder() { return dota_; } private void initFields() { dota_ = com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.getDefaultInstance(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(4, dota_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, dota_); } 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 com.valve.dota2.Demo.CGameInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CGameInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CGameInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CGameInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CGameInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CGameInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CGameInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.valve.dota2.Demo.CGameInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CGameInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CGameInfo 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(com.valve.dota2.Demo.CGameInfo 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 CGameInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements com.valve.dota2.Demo.CGameInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.valve.dota2.Demo.internal_static_CGameInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CGameInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CGameInfo.class, com.valve.dota2.Demo.CGameInfo.Builder.class); } // Construct using com.valve.dota2.Demo.CGameInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getDotaFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (dotaBuilder_ == null) { dota_ = com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.getDefaultInstance(); } else { dotaBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.valve.dota2.Demo.internal_static_CGameInfo_descriptor; } public com.valve.dota2.Demo.CGameInfo getDefaultInstanceForType() { return com.valve.dota2.Demo.CGameInfo.getDefaultInstance(); } public com.valve.dota2.Demo.CGameInfo build() { com.valve.dota2.Demo.CGameInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.valve.dota2.Demo.CGameInfo buildPartial() { com.valve.dota2.Demo.CGameInfo result = new com.valve.dota2.Demo.CGameInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (dotaBuilder_ == null) { result.dota_ = dota_; } else { result.dota_ = dotaBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.valve.dota2.Demo.CGameInfo) { return mergeFrom((com.valve.dota2.Demo.CGameInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.valve.dota2.Demo.CGameInfo other) { if (other == com.valve.dota2.Demo.CGameInfo.getDefaultInstance()) return this; if (other.hasDota()) { mergeDota(other.getDota()); } 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 { com.valve.dota2.Demo.CGameInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.valve.dota2.Demo.CGameInfo) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional .CGameInfo.CDotaGameInfo dota = 4; private com.valve.dota2.Demo.CGameInfo.CDotaGameInfo dota_ = com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.valve.dota2.Demo.CGameInfo.CDotaGameInfo, com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.Builder, com.valve.dota2.Demo.CGameInfo.CDotaGameInfoOrBuilder> dotaBuilder_; /** * <code>optional .CGameInfo.CDotaGameInfo dota = 4;</code> */ public boolean hasDota() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional .CGameInfo.CDotaGameInfo dota = 4;</code> */ public com.valve.dota2.Demo.CGameInfo.CDotaGameInfo getDota() { if (dotaBuilder_ == null) { return dota_; } else { return dotaBuilder_.getMessage(); } } /** * <code>optional .CGameInfo.CDotaGameInfo dota = 4;</code> */ public Builder setDota(com.valve.dota2.Demo.CGameInfo.CDotaGameInfo value) { if (dotaBuilder_ == null) { if (value == null) { throw new NullPointerException(); } dota_ = value; onChanged(); } else { dotaBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * <code>optional .CGameInfo.CDotaGameInfo dota = 4;</code> */ public Builder setDota( com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.Builder builderForValue) { if (dotaBuilder_ == null) { dota_ = builderForValue.build(); onChanged(); } else { dotaBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * <code>optional .CGameInfo.CDotaGameInfo dota = 4;</code> */ public Builder mergeDota(com.valve.dota2.Demo.CGameInfo.CDotaGameInfo value) { if (dotaBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && dota_ != com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.getDefaultInstance()) { dota_ = com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.newBuilder(dota_).mergeFrom(value).buildPartial(); } else { dota_ = value; } onChanged(); } else { dotaBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * <code>optional .CGameInfo.CDotaGameInfo dota = 4;</code> */ public Builder clearDota() { if (dotaBuilder_ == null) { dota_ = com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.getDefaultInstance(); onChanged(); } else { dotaBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * <code>optional .CGameInfo.CDotaGameInfo dota = 4;</code> */ public com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.Builder getDotaBuilder() { bitField0_ |= 0x00000001; onChanged(); return getDotaFieldBuilder().getBuilder(); } /** * <code>optional .CGameInfo.CDotaGameInfo dota = 4;</code> */ public com.valve.dota2.Demo.CGameInfo.CDotaGameInfoOrBuilder getDotaOrBuilder() { if (dotaBuilder_ != null) { return dotaBuilder_.getMessageOrBuilder(); } else { return dota_; } } /** * <code>optional .CGameInfo.CDotaGameInfo dota = 4;</code> */ private com.google.protobuf.SingleFieldBuilder< com.valve.dota2.Demo.CGameInfo.CDotaGameInfo, com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.Builder, com.valve.dota2.Demo.CGameInfo.CDotaGameInfoOrBuilder> getDotaFieldBuilder() { if (dotaBuilder_ == null) { dotaBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.valve.dota2.Demo.CGameInfo.CDotaGameInfo, com.valve.dota2.Demo.CGameInfo.CDotaGameInfo.Builder, com.valve.dota2.Demo.CGameInfo.CDotaGameInfoOrBuilder>( dota_, getParentForChildren(), isClean()); dota_ = null; } return dotaBuilder_; } // @@protoc_insertion_point(builder_scope:CGameInfo) } static { defaultInstance = new CGameInfo(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:CGameInfo) } public interface CDemoFileInfoOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional float playback_time = 1; /** * <code>optional float playback_time = 1;</code> */ boolean hasPlaybackTime(); /** * <code>optional float playback_time = 1;</code> */ float getPlaybackTime(); // optional int32 playback_ticks = 2; /** * <code>optional int32 playback_ticks = 2;</code> */ boolean hasPlaybackTicks(); /** * <code>optional int32 playback_ticks = 2;</code> */ int getPlaybackTicks(); // optional int32 playback_frames = 3; /** * <code>optional int32 playback_frames = 3;</code> */ boolean hasPlaybackFrames(); /** * <code>optional int32 playback_frames = 3;</code> */ int getPlaybackFrames(); // optional .CGameInfo game_info = 4; /** * <code>optional .CGameInfo game_info = 4;</code> */ boolean hasGameInfo(); /** * <code>optional .CGameInfo game_info = 4;</code> */ com.valve.dota2.Demo.CGameInfo getGameInfo(); /** * <code>optional .CGameInfo game_info = 4;</code> */ com.valve.dota2.Demo.CGameInfoOrBuilder getGameInfoOrBuilder(); } /** * Protobuf type {@code CDemoFileInfo} */ public static final class CDemoFileInfo extends com.google.protobuf.GeneratedMessage implements CDemoFileInfoOrBuilder { // Use CDemoFileInfo.newBuilder() to construct. private CDemoFileInfo(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private CDemoFileInfo(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final CDemoFileInfo defaultInstance; public static CDemoFileInfo getDefaultInstance() { return defaultInstance; } public CDemoFileInfo getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CDemoFileInfo( 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 13: { bitField0_ |= 0x00000001; playbackTime_ = input.readFloat(); break; } case 16: { bitField0_ |= 0x00000002; playbackTicks_ = input.readInt32(); break; } case 24: { bitField0_ |= 0x00000004; playbackFrames_ = input.readInt32(); break; } case 34: { com.valve.dota2.Demo.CGameInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000008) == 0x00000008)) { subBuilder = gameInfo_.toBuilder(); } gameInfo_ = input.readMessage(com.valve.dota2.Demo.CGameInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(gameInfo_); gameInfo_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000008; 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 com.valve.dota2.Demo.internal_static_CDemoFileInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CDemoFileInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CDemoFileInfo.class, com.valve.dota2.Demo.CDemoFileInfo.Builder.class); } public static com.google.protobuf.Parser<CDemoFileInfo> PARSER = new com.google.protobuf.AbstractParser<CDemoFileInfo>() { public CDemoFileInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CDemoFileInfo(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<CDemoFileInfo> getParserForType() { return PARSER; } private int bitField0_; // optional float playback_time = 1; public static final int PLAYBACK_TIME_FIELD_NUMBER = 1; private float playbackTime_; /** * <code>optional float playback_time = 1;</code> */ public boolean hasPlaybackTime() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional float playback_time = 1;</code> */ public float getPlaybackTime() { return playbackTime_; } // optional int32 playback_ticks = 2; public static final int PLAYBACK_TICKS_FIELD_NUMBER = 2; private int playbackTicks_; /** * <code>optional int32 playback_ticks = 2;</code> */ public boolean hasPlaybackTicks() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional int32 playback_ticks = 2;</code> */ public int getPlaybackTicks() { return playbackTicks_; } // optional int32 playback_frames = 3; public static final int PLAYBACK_FRAMES_FIELD_NUMBER = 3; private int playbackFrames_; /** * <code>optional int32 playback_frames = 3;</code> */ public boolean hasPlaybackFrames() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional int32 playback_frames = 3;</code> */ public int getPlaybackFrames() { return playbackFrames_; } // optional .CGameInfo game_info = 4; public static final int GAME_INFO_FIELD_NUMBER = 4; private com.valve.dota2.Demo.CGameInfo gameInfo_; /** * <code>optional .CGameInfo game_info = 4;</code> */ public boolean hasGameInfo() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>optional .CGameInfo game_info = 4;</code> */ public com.valve.dota2.Demo.CGameInfo getGameInfo() { return gameInfo_; } /** * <code>optional .CGameInfo game_info = 4;</code> */ public com.valve.dota2.Demo.CGameInfoOrBuilder getGameInfoOrBuilder() { return gameInfo_; } private void initFields() { playbackTime_ = 0F; playbackTicks_ = 0; playbackFrames_ = 0; gameInfo_ = com.valve.dota2.Demo.CGameInfo.getDefaultInstance(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeFloat(1, playbackTime_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt32(2, playbackTicks_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt32(3, playbackFrames_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeMessage(4, gameInfo_); } 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 .computeFloatSize(1, playbackTime_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, playbackTicks_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, playbackFrames_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, gameInfo_); } 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 com.valve.dota2.Demo.CDemoFileInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CDemoFileInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CDemoFileInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CDemoFileInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CDemoFileInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CDemoFileInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CDemoFileInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.valve.dota2.Demo.CDemoFileInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CDemoFileInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CDemoFileInfo 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(com.valve.dota2.Demo.CDemoFileInfo 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 CDemoFileInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements com.valve.dota2.Demo.CDemoFileInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.valve.dota2.Demo.internal_static_CDemoFileInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CDemoFileInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CDemoFileInfo.class, com.valve.dota2.Demo.CDemoFileInfo.Builder.class); } // Construct using com.valve.dota2.Demo.CDemoFileInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getGameInfoFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); playbackTime_ = 0F; bitField0_ = (bitField0_ & ~0x00000001); playbackTicks_ = 0; bitField0_ = (bitField0_ & ~0x00000002); playbackFrames_ = 0; bitField0_ = (bitField0_ & ~0x00000004); if (gameInfoBuilder_ == null) { gameInfo_ = com.valve.dota2.Demo.CGameInfo.getDefaultInstance(); } else { gameInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.valve.dota2.Demo.internal_static_CDemoFileInfo_descriptor; } public com.valve.dota2.Demo.CDemoFileInfo getDefaultInstanceForType() { return com.valve.dota2.Demo.CDemoFileInfo.getDefaultInstance(); } public com.valve.dota2.Demo.CDemoFileInfo build() { com.valve.dota2.Demo.CDemoFileInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.valve.dota2.Demo.CDemoFileInfo buildPartial() { com.valve.dota2.Demo.CDemoFileInfo result = new com.valve.dota2.Demo.CDemoFileInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.playbackTime_ = playbackTime_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.playbackTicks_ = playbackTicks_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.playbackFrames_ = playbackFrames_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } if (gameInfoBuilder_ == null) { result.gameInfo_ = gameInfo_; } else { result.gameInfo_ = gameInfoBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.valve.dota2.Demo.CDemoFileInfo) { return mergeFrom((com.valve.dota2.Demo.CDemoFileInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.valve.dota2.Demo.CDemoFileInfo other) { if (other == com.valve.dota2.Demo.CDemoFileInfo.getDefaultInstance()) return this; if (other.hasPlaybackTime()) { setPlaybackTime(other.getPlaybackTime()); } if (other.hasPlaybackTicks()) { setPlaybackTicks(other.getPlaybackTicks()); } if (other.hasPlaybackFrames()) { setPlaybackFrames(other.getPlaybackFrames()); } if (other.hasGameInfo()) { mergeGameInfo(other.getGameInfo()); } 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 { com.valve.dota2.Demo.CDemoFileInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.valve.dota2.Demo.CDemoFileInfo) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional float playback_time = 1; private float playbackTime_ ; /** * <code>optional float playback_time = 1;</code> */ public boolean hasPlaybackTime() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional float playback_time = 1;</code> */ public float getPlaybackTime() { return playbackTime_; } /** * <code>optional float playback_time = 1;</code> */ public Builder setPlaybackTime(float value) { bitField0_ |= 0x00000001; playbackTime_ = value; onChanged(); return this; } /** * <code>optional float playback_time = 1;</code> */ public Builder clearPlaybackTime() { bitField0_ = (bitField0_ & ~0x00000001); playbackTime_ = 0F; onChanged(); return this; } // optional int32 playback_ticks = 2; private int playbackTicks_ ; /** * <code>optional int32 playback_ticks = 2;</code> */ public boolean hasPlaybackTicks() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional int32 playback_ticks = 2;</code> */ public int getPlaybackTicks() { return playbackTicks_; } /** * <code>optional int32 playback_ticks = 2;</code> */ public Builder setPlaybackTicks(int value) { bitField0_ |= 0x00000002; playbackTicks_ = value; onChanged(); return this; } /** * <code>optional int32 playback_ticks = 2;</code> */ public Builder clearPlaybackTicks() { bitField0_ = (bitField0_ & ~0x00000002); playbackTicks_ = 0; onChanged(); return this; } // optional int32 playback_frames = 3; private int playbackFrames_ ; /** * <code>optional int32 playback_frames = 3;</code> */ public boolean hasPlaybackFrames() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional int32 playback_frames = 3;</code> */ public int getPlaybackFrames() { return playbackFrames_; } /** * <code>optional int32 playback_frames = 3;</code> */ public Builder setPlaybackFrames(int value) { bitField0_ |= 0x00000004; playbackFrames_ = value; onChanged(); return this; } /** * <code>optional int32 playback_frames = 3;</code> */ public Builder clearPlaybackFrames() { bitField0_ = (bitField0_ & ~0x00000004); playbackFrames_ = 0; onChanged(); return this; } // optional .CGameInfo game_info = 4; private com.valve.dota2.Demo.CGameInfo gameInfo_ = com.valve.dota2.Demo.CGameInfo.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.valve.dota2.Demo.CGameInfo, com.valve.dota2.Demo.CGameInfo.Builder, com.valve.dota2.Demo.CGameInfoOrBuilder> gameInfoBuilder_; /** * <code>optional .CGameInfo game_info = 4;</code> */ public boolean hasGameInfo() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>optional .CGameInfo game_info = 4;</code> */ public com.valve.dota2.Demo.CGameInfo getGameInfo() { if (gameInfoBuilder_ == null) { return gameInfo_; } else { return gameInfoBuilder_.getMessage(); } } /** * <code>optional .CGameInfo game_info = 4;</code> */ public Builder setGameInfo(com.valve.dota2.Demo.CGameInfo value) { if (gameInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } gameInfo_ = value; onChanged(); } else { gameInfoBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /** * <code>optional .CGameInfo game_info = 4;</code> */ public Builder setGameInfo( com.valve.dota2.Demo.CGameInfo.Builder builderForValue) { if (gameInfoBuilder_ == null) { gameInfo_ = builderForValue.build(); onChanged(); } else { gameInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /** * <code>optional .CGameInfo game_info = 4;</code> */ public Builder mergeGameInfo(com.valve.dota2.Demo.CGameInfo value) { if (gameInfoBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008) && gameInfo_ != com.valve.dota2.Demo.CGameInfo.getDefaultInstance()) { gameInfo_ = com.valve.dota2.Demo.CGameInfo.newBuilder(gameInfo_).mergeFrom(value).buildPartial(); } else { gameInfo_ = value; } onChanged(); } else { gameInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /** * <code>optional .CGameInfo game_info = 4;</code> */ public Builder clearGameInfo() { if (gameInfoBuilder_ == null) { gameInfo_ = com.valve.dota2.Demo.CGameInfo.getDefaultInstance(); onChanged(); } else { gameInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** * <code>optional .CGameInfo game_info = 4;</code> */ public com.valve.dota2.Demo.CGameInfo.Builder getGameInfoBuilder() { bitField0_ |= 0x00000008; onChanged(); return getGameInfoFieldBuilder().getBuilder(); } /** * <code>optional .CGameInfo game_info = 4;</code> */ public com.valve.dota2.Demo.CGameInfoOrBuilder getGameInfoOrBuilder() { if (gameInfoBuilder_ != null) { return gameInfoBuilder_.getMessageOrBuilder(); } else { return gameInfo_; } } /** * <code>optional .CGameInfo game_info = 4;</code> */ private com.google.protobuf.SingleFieldBuilder< com.valve.dota2.Demo.CGameInfo, com.valve.dota2.Demo.CGameInfo.Builder, com.valve.dota2.Demo.CGameInfoOrBuilder> getGameInfoFieldBuilder() { if (gameInfoBuilder_ == null) { gameInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.valve.dota2.Demo.CGameInfo, com.valve.dota2.Demo.CGameInfo.Builder, com.valve.dota2.Demo.CGameInfoOrBuilder>( gameInfo_, getParentForChildren(), isClean()); gameInfo_ = null; } return gameInfoBuilder_; } // @@protoc_insertion_point(builder_scope:CDemoFileInfo) } static { defaultInstance = new CDemoFileInfo(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:CDemoFileInfo) } public interface CDemoPacketOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional int32 sequence_in = 1; /** * <code>optional int32 sequence_in = 1;</code> */ boolean hasSequenceIn(); /** * <code>optional int32 sequence_in = 1;</code> */ int getSequenceIn(); // optional int32 sequence_out_ack = 2; /** * <code>optional int32 sequence_out_ack = 2;</code> */ boolean hasSequenceOutAck(); /** * <code>optional int32 sequence_out_ack = 2;</code> */ int getSequenceOutAck(); // optional bytes data = 3; /** * <code>optional bytes data = 3;</code> */ boolean hasData(); /** * <code>optional bytes data = 3;</code> */ com.google.protobuf.ByteString getData(); } /** * Protobuf type {@code CDemoPacket} */ public static final class CDemoPacket extends com.google.protobuf.GeneratedMessage implements CDemoPacketOrBuilder { // Use CDemoPacket.newBuilder() to construct. private CDemoPacket(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private CDemoPacket(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final CDemoPacket defaultInstance; public static CDemoPacket getDefaultInstance() { return defaultInstance; } public CDemoPacket getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CDemoPacket( 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; sequenceIn_ = input.readInt32(); break; } case 16: { bitField0_ |= 0x00000002; sequenceOutAck_ = input.readInt32(); break; } case 26: { bitField0_ |= 0x00000004; data_ = input.readBytes(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.valve.dota2.Demo.internal_static_CDemoPacket_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CDemoPacket_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CDemoPacket.class, com.valve.dota2.Demo.CDemoPacket.Builder.class); } public static com.google.protobuf.Parser<CDemoPacket> PARSER = new com.google.protobuf.AbstractParser<CDemoPacket>() { public CDemoPacket parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CDemoPacket(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<CDemoPacket> getParserForType() { return PARSER; } private int bitField0_; // optional int32 sequence_in = 1; public static final int SEQUENCE_IN_FIELD_NUMBER = 1; private int sequenceIn_; /** * <code>optional int32 sequence_in = 1;</code> */ public boolean hasSequenceIn() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int32 sequence_in = 1;</code> */ public int getSequenceIn() { return sequenceIn_; } // optional int32 sequence_out_ack = 2; public static final int SEQUENCE_OUT_ACK_FIELD_NUMBER = 2; private int sequenceOutAck_; /** * <code>optional int32 sequence_out_ack = 2;</code> */ public boolean hasSequenceOutAck() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional int32 sequence_out_ack = 2;</code> */ public int getSequenceOutAck() { return sequenceOutAck_; } // optional bytes data = 3; public static final int DATA_FIELD_NUMBER = 3; private com.google.protobuf.ByteString data_; /** * <code>optional bytes data = 3;</code> */ public boolean hasData() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional bytes data = 3;</code> */ public com.google.protobuf.ByteString getData() { return data_; } private void initFields() { sequenceIn_ = 0; sequenceOutAck_ = 0; data_ = com.google.protobuf.ByteString.EMPTY; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, sequenceIn_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt32(2, sequenceOutAck_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, data_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, sequenceIn_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, sequenceOutAck_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, data_); } 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 com.valve.dota2.Demo.CDemoPacket parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CDemoPacket parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CDemoPacket parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CDemoPacket parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CDemoPacket parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CDemoPacket parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CDemoPacket parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.valve.dota2.Demo.CDemoPacket parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CDemoPacket parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CDemoPacket 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(com.valve.dota2.Demo.CDemoPacket 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 CDemoPacket} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements com.valve.dota2.Demo.CDemoPacketOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.valve.dota2.Demo.internal_static_CDemoPacket_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CDemoPacket_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CDemoPacket.class, com.valve.dota2.Demo.CDemoPacket.Builder.class); } // Construct using com.valve.dota2.Demo.CDemoPacket.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(); sequenceIn_ = 0; bitField0_ = (bitField0_ & ~0x00000001); sequenceOutAck_ = 0; bitField0_ = (bitField0_ & ~0x00000002); data_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.valve.dota2.Demo.internal_static_CDemoPacket_descriptor; } public com.valve.dota2.Demo.CDemoPacket getDefaultInstanceForType() { return com.valve.dota2.Demo.CDemoPacket.getDefaultInstance(); } public com.valve.dota2.Demo.CDemoPacket build() { com.valve.dota2.Demo.CDemoPacket result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.valve.dota2.Demo.CDemoPacket buildPartial() { com.valve.dota2.Demo.CDemoPacket result = new com.valve.dota2.Demo.CDemoPacket(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.sequenceIn_ = sequenceIn_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.sequenceOutAck_ = sequenceOutAck_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.data_ = data_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.valve.dota2.Demo.CDemoPacket) { return mergeFrom((com.valve.dota2.Demo.CDemoPacket)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.valve.dota2.Demo.CDemoPacket other) { if (other == com.valve.dota2.Demo.CDemoPacket.getDefaultInstance()) return this; if (other.hasSequenceIn()) { setSequenceIn(other.getSequenceIn()); } if (other.hasSequenceOutAck()) { setSequenceOutAck(other.getSequenceOutAck()); } if (other.hasData()) { setData(other.getData()); } 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 { com.valve.dota2.Demo.CDemoPacket parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.valve.dota2.Demo.CDemoPacket) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional int32 sequence_in = 1; private int sequenceIn_ ; /** * <code>optional int32 sequence_in = 1;</code> */ public boolean hasSequenceIn() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int32 sequence_in = 1;</code> */ public int getSequenceIn() { return sequenceIn_; } /** * <code>optional int32 sequence_in = 1;</code> */ public Builder setSequenceIn(int value) { bitField0_ |= 0x00000001; sequenceIn_ = value; onChanged(); return this; } /** * <code>optional int32 sequence_in = 1;</code> */ public Builder clearSequenceIn() { bitField0_ = (bitField0_ & ~0x00000001); sequenceIn_ = 0; onChanged(); return this; } // optional int32 sequence_out_ack = 2; private int sequenceOutAck_ ; /** * <code>optional int32 sequence_out_ack = 2;</code> */ public boolean hasSequenceOutAck() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional int32 sequence_out_ack = 2;</code> */ public int getSequenceOutAck() { return sequenceOutAck_; } /** * <code>optional int32 sequence_out_ack = 2;</code> */ public Builder setSequenceOutAck(int value) { bitField0_ |= 0x00000002; sequenceOutAck_ = value; onChanged(); return this; } /** * <code>optional int32 sequence_out_ack = 2;</code> */ public Builder clearSequenceOutAck() { bitField0_ = (bitField0_ & ~0x00000002); sequenceOutAck_ = 0; onChanged(); return this; } // optional bytes data = 3; private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** * <code>optional bytes data = 3;</code> */ public boolean hasData() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional bytes data = 3;</code> */ public com.google.protobuf.ByteString getData() { return data_; } /** * <code>optional bytes data = 3;</code> */ public Builder setData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; data_ = value; onChanged(); return this; } /** * <code>optional bytes data = 3;</code> */ public Builder clearData() { bitField0_ = (bitField0_ & ~0x00000004); data_ = getDefaultInstance().getData(); onChanged(); return this; } // @@protoc_insertion_point(builder_scope:CDemoPacket) } static { defaultInstance = new CDemoPacket(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:CDemoPacket) } public interface CDemoFullPacketOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional .CDemoStringTables string_table = 1; /** * <code>optional .CDemoStringTables string_table = 1;</code> */ boolean hasStringTable(); /** * <code>optional .CDemoStringTables string_table = 1;</code> */ com.valve.dota2.Demo.CDemoStringTables getStringTable(); /** * <code>optional .CDemoStringTables string_table = 1;</code> */ com.valve.dota2.Demo.CDemoStringTablesOrBuilder getStringTableOrBuilder(); // optional .CDemoPacket packet = 2; /** * <code>optional .CDemoPacket packet = 2;</code> */ boolean hasPacket(); /** * <code>optional .CDemoPacket packet = 2;</code> */ com.valve.dota2.Demo.CDemoPacket getPacket(); /** * <code>optional .CDemoPacket packet = 2;</code> */ com.valve.dota2.Demo.CDemoPacketOrBuilder getPacketOrBuilder(); } /** * Protobuf type {@code CDemoFullPacket} */ public static final class CDemoFullPacket extends com.google.protobuf.GeneratedMessage implements CDemoFullPacketOrBuilder { // Use CDemoFullPacket.newBuilder() to construct. private CDemoFullPacket(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private CDemoFullPacket(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final CDemoFullPacket defaultInstance; public static CDemoFullPacket getDefaultInstance() { return defaultInstance; } public CDemoFullPacket getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CDemoFullPacket( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.valve.dota2.Demo.CDemoStringTables.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = stringTable_.toBuilder(); } stringTable_ = input.readMessage(com.valve.dota2.Demo.CDemoStringTables.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(stringTable_); stringTable_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 18: { com.valve.dota2.Demo.CDemoPacket.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = packet_.toBuilder(); } packet_ = input.readMessage(com.valve.dota2.Demo.CDemoPacket.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(packet_); packet_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.valve.dota2.Demo.internal_static_CDemoFullPacket_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CDemoFullPacket_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CDemoFullPacket.class, com.valve.dota2.Demo.CDemoFullPacket.Builder.class); } public static com.google.protobuf.Parser<CDemoFullPacket> PARSER = new com.google.protobuf.AbstractParser<CDemoFullPacket>() { public CDemoFullPacket parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CDemoFullPacket(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<CDemoFullPacket> getParserForType() { return PARSER; } private int bitField0_; // optional .CDemoStringTables string_table = 1; public static final int STRING_TABLE_FIELD_NUMBER = 1; private com.valve.dota2.Demo.CDemoStringTables stringTable_; /** * <code>optional .CDemoStringTables string_table = 1;</code> */ public boolean hasStringTable() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional .CDemoStringTables string_table = 1;</code> */ public com.valve.dota2.Demo.CDemoStringTables getStringTable() { return stringTable_; } /** * <code>optional .CDemoStringTables string_table = 1;</code> */ public com.valve.dota2.Demo.CDemoStringTablesOrBuilder getStringTableOrBuilder() { return stringTable_; } // optional .CDemoPacket packet = 2; public static final int PACKET_FIELD_NUMBER = 2; private com.valve.dota2.Demo.CDemoPacket packet_; /** * <code>optional .CDemoPacket packet = 2;</code> */ public boolean hasPacket() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional .CDemoPacket packet = 2;</code> */ public com.valve.dota2.Demo.CDemoPacket getPacket() { return packet_; } /** * <code>optional .CDemoPacket packet = 2;</code> */ public com.valve.dota2.Demo.CDemoPacketOrBuilder getPacketOrBuilder() { return packet_; } private void initFields() { stringTable_ = com.valve.dota2.Demo.CDemoStringTables.getDefaultInstance(); packet_ = com.valve.dota2.Demo.CDemoPacket.getDefaultInstance(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, stringTable_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, packet_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, stringTable_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, packet_); } 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 com.valve.dota2.Demo.CDemoFullPacket parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CDemoFullPacket parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CDemoFullPacket parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CDemoFullPacket parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CDemoFullPacket parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CDemoFullPacket parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CDemoFullPacket parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.valve.dota2.Demo.CDemoFullPacket parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CDemoFullPacket parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CDemoFullPacket 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(com.valve.dota2.Demo.CDemoFullPacket 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 CDemoFullPacket} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements com.valve.dota2.Demo.CDemoFullPacketOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.valve.dota2.Demo.internal_static_CDemoFullPacket_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CDemoFullPacket_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CDemoFullPacket.class, com.valve.dota2.Demo.CDemoFullPacket.Builder.class); } // Construct using com.valve.dota2.Demo.CDemoFullPacket.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getStringTableFieldBuilder(); getPacketFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (stringTableBuilder_ == null) { stringTable_ = com.valve.dota2.Demo.CDemoStringTables.getDefaultInstance(); } else { stringTableBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (packetBuilder_ == null) { packet_ = com.valve.dota2.Demo.CDemoPacket.getDefaultInstance(); } else { packetBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.valve.dota2.Demo.internal_static_CDemoFullPacket_descriptor; } public com.valve.dota2.Demo.CDemoFullPacket getDefaultInstanceForType() { return com.valve.dota2.Demo.CDemoFullPacket.getDefaultInstance(); } public com.valve.dota2.Demo.CDemoFullPacket build() { com.valve.dota2.Demo.CDemoFullPacket result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.valve.dota2.Demo.CDemoFullPacket buildPartial() { com.valve.dota2.Demo.CDemoFullPacket result = new com.valve.dota2.Demo.CDemoFullPacket(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (stringTableBuilder_ == null) { result.stringTable_ = stringTable_; } else { result.stringTable_ = stringTableBuilder_.build(); } if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } if (packetBuilder_ == null) { result.packet_ = packet_; } else { result.packet_ = packetBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.valve.dota2.Demo.CDemoFullPacket) { return mergeFrom((com.valve.dota2.Demo.CDemoFullPacket)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.valve.dota2.Demo.CDemoFullPacket other) { if (other == com.valve.dota2.Demo.CDemoFullPacket.getDefaultInstance()) return this; if (other.hasStringTable()) { mergeStringTable(other.getStringTable()); } if (other.hasPacket()) { mergePacket(other.getPacket()); } 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 { com.valve.dota2.Demo.CDemoFullPacket parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.valve.dota2.Demo.CDemoFullPacket) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional .CDemoStringTables string_table = 1; private com.valve.dota2.Demo.CDemoStringTables stringTable_ = com.valve.dota2.Demo.CDemoStringTables.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.valve.dota2.Demo.CDemoStringTables, com.valve.dota2.Demo.CDemoStringTables.Builder, com.valve.dota2.Demo.CDemoStringTablesOrBuilder> stringTableBuilder_; /** * <code>optional .CDemoStringTables string_table = 1;</code> */ public boolean hasStringTable() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional .CDemoStringTables string_table = 1;</code> */ public com.valve.dota2.Demo.CDemoStringTables getStringTable() { if (stringTableBuilder_ == null) { return stringTable_; } else { return stringTableBuilder_.getMessage(); } } /** * <code>optional .CDemoStringTables string_table = 1;</code> */ public Builder setStringTable(com.valve.dota2.Demo.CDemoStringTables value) { if (stringTableBuilder_ == null) { if (value == null) { throw new NullPointerException(); } stringTable_ = value; onChanged(); } else { stringTableBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * <code>optional .CDemoStringTables string_table = 1;</code> */ public Builder setStringTable( com.valve.dota2.Demo.CDemoStringTables.Builder builderForValue) { if (stringTableBuilder_ == null) { stringTable_ = builderForValue.build(); onChanged(); } else { stringTableBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * <code>optional .CDemoStringTables string_table = 1;</code> */ public Builder mergeStringTable(com.valve.dota2.Demo.CDemoStringTables value) { if (stringTableBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && stringTable_ != com.valve.dota2.Demo.CDemoStringTables.getDefaultInstance()) { stringTable_ = com.valve.dota2.Demo.CDemoStringTables.newBuilder(stringTable_).mergeFrom(value).buildPartial(); } else { stringTable_ = value; } onChanged(); } else { stringTableBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * <code>optional .CDemoStringTables string_table = 1;</code> */ public Builder clearStringTable() { if (stringTableBuilder_ == null) { stringTable_ = com.valve.dota2.Demo.CDemoStringTables.getDefaultInstance(); onChanged(); } else { stringTableBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * <code>optional .CDemoStringTables string_table = 1;</code> */ public com.valve.dota2.Demo.CDemoStringTables.Builder getStringTableBuilder() { bitField0_ |= 0x00000001; onChanged(); return getStringTableFieldBuilder().getBuilder(); } /** * <code>optional .CDemoStringTables string_table = 1;</code> */ public com.valve.dota2.Demo.CDemoStringTablesOrBuilder getStringTableOrBuilder() { if (stringTableBuilder_ != null) { return stringTableBuilder_.getMessageOrBuilder(); } else { return stringTable_; } } /** * <code>optional .CDemoStringTables string_table = 1;</code> */ private com.google.protobuf.SingleFieldBuilder< com.valve.dota2.Demo.CDemoStringTables, com.valve.dota2.Demo.CDemoStringTables.Builder, com.valve.dota2.Demo.CDemoStringTablesOrBuilder> getStringTableFieldBuilder() { if (stringTableBuilder_ == null) { stringTableBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.valve.dota2.Demo.CDemoStringTables, com.valve.dota2.Demo.CDemoStringTables.Builder, com.valve.dota2.Demo.CDemoStringTablesOrBuilder>( stringTable_, getParentForChildren(), isClean()); stringTable_ = null; } return stringTableBuilder_; } // optional .CDemoPacket packet = 2; private com.valve.dota2.Demo.CDemoPacket packet_ = com.valve.dota2.Demo.CDemoPacket.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.valve.dota2.Demo.CDemoPacket, com.valve.dota2.Demo.CDemoPacket.Builder, com.valve.dota2.Demo.CDemoPacketOrBuilder> packetBuilder_; /** * <code>optional .CDemoPacket packet = 2;</code> */ public boolean hasPacket() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional .CDemoPacket packet = 2;</code> */ public com.valve.dota2.Demo.CDemoPacket getPacket() { if (packetBuilder_ == null) { return packet_; } else { return packetBuilder_.getMessage(); } } /** * <code>optional .CDemoPacket packet = 2;</code> */ public Builder setPacket(com.valve.dota2.Demo.CDemoPacket value) { if (packetBuilder_ == null) { if (value == null) { throw new NullPointerException(); } packet_ = value; onChanged(); } else { packetBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * <code>optional .CDemoPacket packet = 2;</code> */ public Builder setPacket( com.valve.dota2.Demo.CDemoPacket.Builder builderForValue) { if (packetBuilder_ == null) { packet_ = builderForValue.build(); onChanged(); } else { packetBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * <code>optional .CDemoPacket packet = 2;</code> */ public Builder mergePacket(com.valve.dota2.Demo.CDemoPacket value) { if (packetBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && packet_ != com.valve.dota2.Demo.CDemoPacket.getDefaultInstance()) { packet_ = com.valve.dota2.Demo.CDemoPacket.newBuilder(packet_).mergeFrom(value).buildPartial(); } else { packet_ = value; } onChanged(); } else { packetBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * <code>optional .CDemoPacket packet = 2;</code> */ public Builder clearPacket() { if (packetBuilder_ == null) { packet_ = com.valve.dota2.Demo.CDemoPacket.getDefaultInstance(); onChanged(); } else { packetBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * <code>optional .CDemoPacket packet = 2;</code> */ public com.valve.dota2.Demo.CDemoPacket.Builder getPacketBuilder() { bitField0_ |= 0x00000002; onChanged(); return getPacketFieldBuilder().getBuilder(); } /** * <code>optional .CDemoPacket packet = 2;</code> */ public com.valve.dota2.Demo.CDemoPacketOrBuilder getPacketOrBuilder() { if (packetBuilder_ != null) { return packetBuilder_.getMessageOrBuilder(); } else { return packet_; } } /** * <code>optional .CDemoPacket packet = 2;</code> */ private com.google.protobuf.SingleFieldBuilder< com.valve.dota2.Demo.CDemoPacket, com.valve.dota2.Demo.CDemoPacket.Builder, com.valve.dota2.Demo.CDemoPacketOrBuilder> getPacketFieldBuilder() { if (packetBuilder_ == null) { packetBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.valve.dota2.Demo.CDemoPacket, com.valve.dota2.Demo.CDemoPacket.Builder, com.valve.dota2.Demo.CDemoPacketOrBuilder>( packet_, getParentForChildren(), isClean()); packet_ = null; } return packetBuilder_; } // @@protoc_insertion_point(builder_scope:CDemoFullPacket) } static { defaultInstance = new CDemoFullPacket(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:CDemoFullPacket) } public interface CDemoSaveGameOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional bytes data = 1; /** * <code>optional bytes data = 1;</code> */ boolean hasData(); /** * <code>optional bytes data = 1;</code> */ com.google.protobuf.ByteString getData(); // optional fixed64 steam_id = 2; /** * <code>optional fixed64 steam_id = 2;</code> */ boolean hasSteamId(); /** * <code>optional fixed64 steam_id = 2;</code> */ long getSteamId(); // optional fixed64 signature = 3; /** * <code>optional fixed64 signature = 3;</code> */ boolean hasSignature(); /** * <code>optional fixed64 signature = 3;</code> */ long getSignature(); // optional int32 version = 4; /** * <code>optional int32 version = 4;</code> */ boolean hasVersion(); /** * <code>optional int32 version = 4;</code> */ int getVersion(); } /** * Protobuf type {@code CDemoSaveGame} */ public static final class CDemoSaveGame extends com.google.protobuf.GeneratedMessage implements CDemoSaveGameOrBuilder { // Use CDemoSaveGame.newBuilder() to construct. private CDemoSaveGame(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private CDemoSaveGame(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final CDemoSaveGame defaultInstance; public static CDemoSaveGame getDefaultInstance() { return defaultInstance; } public CDemoSaveGame getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CDemoSaveGame( 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: { bitField0_ |= 0x00000001; data_ = input.readBytes(); break; } case 17: { bitField0_ |= 0x00000002; steamId_ = input.readFixed64(); break; } case 25: { bitField0_ |= 0x00000004; signature_ = input.readFixed64(); break; } case 32: { bitField0_ |= 0x00000008; version_ = 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 com.valve.dota2.Demo.internal_static_CDemoSaveGame_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CDemoSaveGame_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CDemoSaveGame.class, com.valve.dota2.Demo.CDemoSaveGame.Builder.class); } public static com.google.protobuf.Parser<CDemoSaveGame> PARSER = new com.google.protobuf.AbstractParser<CDemoSaveGame>() { public CDemoSaveGame parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CDemoSaveGame(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<CDemoSaveGame> getParserForType() { return PARSER; } private int bitField0_; // optional bytes data = 1; public static final int DATA_FIELD_NUMBER = 1; private com.google.protobuf.ByteString data_; /** * <code>optional bytes data = 1;</code> */ public boolean hasData() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional bytes data = 1;</code> */ public com.google.protobuf.ByteString getData() { return data_; } // optional fixed64 steam_id = 2; public static final int STEAM_ID_FIELD_NUMBER = 2; private long steamId_; /** * <code>optional fixed64 steam_id = 2;</code> */ public boolean hasSteamId() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional fixed64 steam_id = 2;</code> */ public long getSteamId() { return steamId_; } // optional fixed64 signature = 3; public static final int SIGNATURE_FIELD_NUMBER = 3; private long signature_; /** * <code>optional fixed64 signature = 3;</code> */ public boolean hasSignature() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional fixed64 signature = 3;</code> */ public long getSignature() { return signature_; } // optional int32 version = 4; public static final int VERSION_FIELD_NUMBER = 4; private int version_; /** * <code>optional int32 version = 4;</code> */ public boolean hasVersion() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>optional int32 version = 4;</code> */ public int getVersion() { return version_; } private void initFields() { data_ = com.google.protobuf.ByteString.EMPTY; steamId_ = 0L; signature_ = 0L; version_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, data_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeFixed64(2, steamId_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeFixed64(3, signature_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt32(4, version_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, data_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeFixed64Size(2, steamId_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeFixed64Size(3, signature_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, version_); } 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 com.valve.dota2.Demo.CDemoSaveGame parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CDemoSaveGame parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CDemoSaveGame parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CDemoSaveGame parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CDemoSaveGame parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CDemoSaveGame parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CDemoSaveGame parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.valve.dota2.Demo.CDemoSaveGame parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CDemoSaveGame parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CDemoSaveGame 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(com.valve.dota2.Demo.CDemoSaveGame 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 CDemoSaveGame} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements com.valve.dota2.Demo.CDemoSaveGameOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.valve.dota2.Demo.internal_static_CDemoSaveGame_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CDemoSaveGame_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CDemoSaveGame.class, com.valve.dota2.Demo.CDemoSaveGame.Builder.class); } // Construct using com.valve.dota2.Demo.CDemoSaveGame.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(); data_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); steamId_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); signature_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); version_ = 0; bitField0_ = (bitField0_ & ~0x00000008); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.valve.dota2.Demo.internal_static_CDemoSaveGame_descriptor; } public com.valve.dota2.Demo.CDemoSaveGame getDefaultInstanceForType() { return com.valve.dota2.Demo.CDemoSaveGame.getDefaultInstance(); } public com.valve.dota2.Demo.CDemoSaveGame build() { com.valve.dota2.Demo.CDemoSaveGame result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.valve.dota2.Demo.CDemoSaveGame buildPartial() { com.valve.dota2.Demo.CDemoSaveGame result = new com.valve.dota2.Demo.CDemoSaveGame(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.data_ = data_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.steamId_ = steamId_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.signature_ = signature_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.version_ = version_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.valve.dota2.Demo.CDemoSaveGame) { return mergeFrom((com.valve.dota2.Demo.CDemoSaveGame)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.valve.dota2.Demo.CDemoSaveGame other) { if (other == com.valve.dota2.Demo.CDemoSaveGame.getDefaultInstance()) return this; if (other.hasData()) { setData(other.getData()); } if (other.hasSteamId()) { setSteamId(other.getSteamId()); } if (other.hasSignature()) { setSignature(other.getSignature()); } if (other.hasVersion()) { setVersion(other.getVersion()); } 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 { com.valve.dota2.Demo.CDemoSaveGame parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.valve.dota2.Demo.CDemoSaveGame) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional bytes data = 1; private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** * <code>optional bytes data = 1;</code> */ public boolean hasData() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional bytes data = 1;</code> */ public com.google.protobuf.ByteString getData() { return data_; } /** * <code>optional bytes data = 1;</code> */ public Builder setData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; data_ = value; onChanged(); return this; } /** * <code>optional bytes data = 1;</code> */ public Builder clearData() { bitField0_ = (bitField0_ & ~0x00000001); data_ = getDefaultInstance().getData(); onChanged(); return this; } // optional fixed64 steam_id = 2; private long steamId_ ; /** * <code>optional fixed64 steam_id = 2;</code> */ public boolean hasSteamId() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional fixed64 steam_id = 2;</code> */ public long getSteamId() { return steamId_; } /** * <code>optional fixed64 steam_id = 2;</code> */ public Builder setSteamId(long value) { bitField0_ |= 0x00000002; steamId_ = value; onChanged(); return this; } /** * <code>optional fixed64 steam_id = 2;</code> */ public Builder clearSteamId() { bitField0_ = (bitField0_ & ~0x00000002); steamId_ = 0L; onChanged(); return this; } // optional fixed64 signature = 3; private long signature_ ; /** * <code>optional fixed64 signature = 3;</code> */ public boolean hasSignature() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional fixed64 signature = 3;</code> */ public long getSignature() { return signature_; } /** * <code>optional fixed64 signature = 3;</code> */ public Builder setSignature(long value) { bitField0_ |= 0x00000004; signature_ = value; onChanged(); return this; } /** * <code>optional fixed64 signature = 3;</code> */ public Builder clearSignature() { bitField0_ = (bitField0_ & ~0x00000004); signature_ = 0L; onChanged(); return this; } // optional int32 version = 4; private int version_ ; /** * <code>optional int32 version = 4;</code> */ public boolean hasVersion() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>optional int32 version = 4;</code> */ public int getVersion() { return version_; } /** * <code>optional int32 version = 4;</code> */ public Builder setVersion(int value) { bitField0_ |= 0x00000008; version_ = value; onChanged(); return this; } /** * <code>optional int32 version = 4;</code> */ public Builder clearVersion() { bitField0_ = (bitField0_ & ~0x00000008); version_ = 0; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:CDemoSaveGame) } static { defaultInstance = new CDemoSaveGame(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:CDemoSaveGame) } public interface CDemoSyncTickOrBuilder extends com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code CDemoSyncTick} */ public static final class CDemoSyncTick extends com.google.protobuf.GeneratedMessage implements CDemoSyncTickOrBuilder { // Use CDemoSyncTick.newBuilder() to construct. private CDemoSyncTick(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private CDemoSyncTick(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final CDemoSyncTick defaultInstance; public static CDemoSyncTick getDefaultInstance() { return defaultInstance; } public CDemoSyncTick getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CDemoSyncTick( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.valve.dota2.Demo.internal_static_CDemoSyncTick_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CDemoSyncTick_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CDemoSyncTick.class, com.valve.dota2.Demo.CDemoSyncTick.Builder.class); } public static com.google.protobuf.Parser<CDemoSyncTick> PARSER = new com.google.protobuf.AbstractParser<CDemoSyncTick>() { public CDemoSyncTick parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CDemoSyncTick(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<CDemoSyncTick> getParserForType() { return PARSER; } private void initFields() { } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static com.valve.dota2.Demo.CDemoSyncTick parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CDemoSyncTick parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CDemoSyncTick parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CDemoSyncTick parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CDemoSyncTick parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CDemoSyncTick parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CDemoSyncTick parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.valve.dota2.Demo.CDemoSyncTick parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CDemoSyncTick parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CDemoSyncTick 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(com.valve.dota2.Demo.CDemoSyncTick 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 CDemoSyncTick} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements com.valve.dota2.Demo.CDemoSyncTickOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.valve.dota2.Demo.internal_static_CDemoSyncTick_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CDemoSyncTick_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CDemoSyncTick.class, com.valve.dota2.Demo.CDemoSyncTick.Builder.class); } // Construct using com.valve.dota2.Demo.CDemoSyncTick.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.valve.dota2.Demo.internal_static_CDemoSyncTick_descriptor; } public com.valve.dota2.Demo.CDemoSyncTick getDefaultInstanceForType() { return com.valve.dota2.Demo.CDemoSyncTick.getDefaultInstance(); } public com.valve.dota2.Demo.CDemoSyncTick build() { com.valve.dota2.Demo.CDemoSyncTick result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.valve.dota2.Demo.CDemoSyncTick buildPartial() { com.valve.dota2.Demo.CDemoSyncTick result = new com.valve.dota2.Demo.CDemoSyncTick(this); onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.valve.dota2.Demo.CDemoSyncTick) { return mergeFrom((com.valve.dota2.Demo.CDemoSyncTick)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.valve.dota2.Demo.CDemoSyncTick other) { if (other == com.valve.dota2.Demo.CDemoSyncTick.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.valve.dota2.Demo.CDemoSyncTick parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.valve.dota2.Demo.CDemoSyncTick) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } // @@protoc_insertion_point(builder_scope:CDemoSyncTick) } static { defaultInstance = new CDemoSyncTick(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:CDemoSyncTick) } public interface CDemoConsoleCmdOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional string cmdstring = 1; /** * <code>optional string cmdstring = 1;</code> */ boolean hasCmdstring(); /** * <code>optional string cmdstring = 1;</code> */ java.lang.String getCmdstring(); /** * <code>optional string cmdstring = 1;</code> */ com.google.protobuf.ByteString getCmdstringBytes(); } /** * Protobuf type {@code CDemoConsoleCmd} */ public static final class CDemoConsoleCmd extends com.google.protobuf.GeneratedMessage implements CDemoConsoleCmdOrBuilder { // Use CDemoConsoleCmd.newBuilder() to construct. private CDemoConsoleCmd(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private CDemoConsoleCmd(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final CDemoConsoleCmd defaultInstance; public static CDemoConsoleCmd getDefaultInstance() { return defaultInstance; } public CDemoConsoleCmd getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CDemoConsoleCmd( 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: { bitField0_ |= 0x00000001; cmdstring_ = input.readBytes(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.valve.dota2.Demo.internal_static_CDemoConsoleCmd_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CDemoConsoleCmd_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CDemoConsoleCmd.class, com.valve.dota2.Demo.CDemoConsoleCmd.Builder.class); } public static com.google.protobuf.Parser<CDemoConsoleCmd> PARSER = new com.google.protobuf.AbstractParser<CDemoConsoleCmd>() { public CDemoConsoleCmd parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CDemoConsoleCmd(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<CDemoConsoleCmd> getParserForType() { return PARSER; } private int bitField0_; // optional string cmdstring = 1; public static final int CMDSTRING_FIELD_NUMBER = 1; private java.lang.Object cmdstring_; /** * <code>optional string cmdstring = 1;</code> */ public boolean hasCmdstring() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional string cmdstring = 1;</code> */ public java.lang.String getCmdstring() { java.lang.Object ref = cmdstring_; 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()) { cmdstring_ = s; } return s; } } /** * <code>optional string cmdstring = 1;</code> */ public com.google.protobuf.ByteString getCmdstringBytes() { java.lang.Object ref = cmdstring_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); cmdstring_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { cmdstring_ = ""; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getCmdstringBytes()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getCmdstringBytes()); } 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 com.valve.dota2.Demo.CDemoConsoleCmd parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CDemoConsoleCmd parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CDemoConsoleCmd parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CDemoConsoleCmd parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CDemoConsoleCmd parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CDemoConsoleCmd parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CDemoConsoleCmd parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.valve.dota2.Demo.CDemoConsoleCmd parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CDemoConsoleCmd parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CDemoConsoleCmd 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(com.valve.dota2.Demo.CDemoConsoleCmd 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 CDemoConsoleCmd} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements com.valve.dota2.Demo.CDemoConsoleCmdOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.valve.dota2.Demo.internal_static_CDemoConsoleCmd_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CDemoConsoleCmd_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CDemoConsoleCmd.class, com.valve.dota2.Demo.CDemoConsoleCmd.Builder.class); } // Construct using com.valve.dota2.Demo.CDemoConsoleCmd.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(); cmdstring_ = ""; bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.valve.dota2.Demo.internal_static_CDemoConsoleCmd_descriptor; } public com.valve.dota2.Demo.CDemoConsoleCmd getDefaultInstanceForType() { return com.valve.dota2.Demo.CDemoConsoleCmd.getDefaultInstance(); } public com.valve.dota2.Demo.CDemoConsoleCmd build() { com.valve.dota2.Demo.CDemoConsoleCmd result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.valve.dota2.Demo.CDemoConsoleCmd buildPartial() { com.valve.dota2.Demo.CDemoConsoleCmd result = new com.valve.dota2.Demo.CDemoConsoleCmd(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.cmdstring_ = cmdstring_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.valve.dota2.Demo.CDemoConsoleCmd) { return mergeFrom((com.valve.dota2.Demo.CDemoConsoleCmd)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.valve.dota2.Demo.CDemoConsoleCmd other) { if (other == com.valve.dota2.Demo.CDemoConsoleCmd.getDefaultInstance()) return this; if (other.hasCmdstring()) { bitField0_ |= 0x00000001; cmdstring_ = other.cmdstring_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.valve.dota2.Demo.CDemoConsoleCmd parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.valve.dota2.Demo.CDemoConsoleCmd) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional string cmdstring = 1; private java.lang.Object cmdstring_ = ""; /** * <code>optional string cmdstring = 1;</code> */ public boolean hasCmdstring() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional string cmdstring = 1;</code> */ public java.lang.String getCmdstring() { java.lang.Object ref = cmdstring_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); cmdstring_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>optional string cmdstring = 1;</code> */ public com.google.protobuf.ByteString getCmdstringBytes() { java.lang.Object ref = cmdstring_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); cmdstring_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>optional string cmdstring = 1;</code> */ public Builder setCmdstring( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; cmdstring_ = value; onChanged(); return this; } /** * <code>optional string cmdstring = 1;</code> */ public Builder clearCmdstring() { bitField0_ = (bitField0_ & ~0x00000001); cmdstring_ = getDefaultInstance().getCmdstring(); onChanged(); return this; } /** * <code>optional string cmdstring = 1;</code> */ public Builder setCmdstringBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; cmdstring_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:CDemoConsoleCmd) } static { defaultInstance = new CDemoConsoleCmd(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:CDemoConsoleCmd) } public interface CDemoSendTablesOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional bytes data = 1; /** * <code>optional bytes data = 1;</code> */ boolean hasData(); /** * <code>optional bytes data = 1;</code> */ com.google.protobuf.ByteString getData(); } /** * Protobuf type {@code CDemoSendTables} */ public static final class CDemoSendTables extends com.google.protobuf.GeneratedMessage implements CDemoSendTablesOrBuilder { // Use CDemoSendTables.newBuilder() to construct. private CDemoSendTables(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private CDemoSendTables(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final CDemoSendTables defaultInstance; public static CDemoSendTables getDefaultInstance() { return defaultInstance; } public CDemoSendTables getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CDemoSendTables( 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: { bitField0_ |= 0x00000001; data_ = input.readBytes(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.valve.dota2.Demo.internal_static_CDemoSendTables_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CDemoSendTables_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CDemoSendTables.class, com.valve.dota2.Demo.CDemoSendTables.Builder.class); } public static com.google.protobuf.Parser<CDemoSendTables> PARSER = new com.google.protobuf.AbstractParser<CDemoSendTables>() { public CDemoSendTables parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CDemoSendTables(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<CDemoSendTables> getParserForType() { return PARSER; } private int bitField0_; // optional bytes data = 1; public static final int DATA_FIELD_NUMBER = 1; private com.google.protobuf.ByteString data_; /** * <code>optional bytes data = 1;</code> */ public boolean hasData() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional bytes data = 1;</code> */ public com.google.protobuf.ByteString getData() { return data_; } private void initFields() { data_ = com.google.protobuf.ByteString.EMPTY; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, data_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, data_); } 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 com.valve.dota2.Demo.CDemoSendTables parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CDemoSendTables parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CDemoSendTables parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CDemoSendTables parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CDemoSendTables parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CDemoSendTables parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CDemoSendTables parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.valve.dota2.Demo.CDemoSendTables parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CDemoSendTables parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CDemoSendTables 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(com.valve.dota2.Demo.CDemoSendTables 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 CDemoSendTables} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements com.valve.dota2.Demo.CDemoSendTablesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.valve.dota2.Demo.internal_static_CDemoSendTables_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CDemoSendTables_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CDemoSendTables.class, com.valve.dota2.Demo.CDemoSendTables.Builder.class); } // Construct using com.valve.dota2.Demo.CDemoSendTables.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(); data_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.valve.dota2.Demo.internal_static_CDemoSendTables_descriptor; } public com.valve.dota2.Demo.CDemoSendTables getDefaultInstanceForType() { return com.valve.dota2.Demo.CDemoSendTables.getDefaultInstance(); } public com.valve.dota2.Demo.CDemoSendTables build() { com.valve.dota2.Demo.CDemoSendTables result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.valve.dota2.Demo.CDemoSendTables buildPartial() { com.valve.dota2.Demo.CDemoSendTables result = new com.valve.dota2.Demo.CDemoSendTables(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.data_ = data_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.valve.dota2.Demo.CDemoSendTables) { return mergeFrom((com.valve.dota2.Demo.CDemoSendTables)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.valve.dota2.Demo.CDemoSendTables other) { if (other == com.valve.dota2.Demo.CDemoSendTables.getDefaultInstance()) return this; if (other.hasData()) { setData(other.getData()); } 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 { com.valve.dota2.Demo.CDemoSendTables parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.valve.dota2.Demo.CDemoSendTables) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional bytes data = 1; private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** * <code>optional bytes data = 1;</code> */ public boolean hasData() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional bytes data = 1;</code> */ public com.google.protobuf.ByteString getData() { return data_; } /** * <code>optional bytes data = 1;</code> */ public Builder setData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; data_ = value; onChanged(); return this; } /** * <code>optional bytes data = 1;</code> */ public Builder clearData() { bitField0_ = (bitField0_ & ~0x00000001); data_ = getDefaultInstance().getData(); onChanged(); return this; } // @@protoc_insertion_point(builder_scope:CDemoSendTables) } static { defaultInstance = new CDemoSendTables(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:CDemoSendTables) } public interface CDemoClassInfoOrBuilder extends com.google.protobuf.MessageOrBuilder { // repeated .CDemoClassInfo.class_t classes = 1; /** * <code>repeated .CDemoClassInfo.class_t classes = 1;</code> */ java.util.List<com.valve.dota2.Demo.CDemoClassInfo.class_t> getClassesList(); /** * <code>repeated .CDemoClassInfo.class_t classes = 1;</code> */ com.valve.dota2.Demo.CDemoClassInfo.class_t getClasses(int index); /** * <code>repeated .CDemoClassInfo.class_t classes = 1;</code> */ int getClassesCount(); /** * <code>repeated .CDemoClassInfo.class_t classes = 1;</code> */ java.util.List<? extends com.valve.dota2.Demo.CDemoClassInfo.class_tOrBuilder> getClassesOrBuilderList(); /** * <code>repeated .CDemoClassInfo.class_t classes = 1;</code> */ com.valve.dota2.Demo.CDemoClassInfo.class_tOrBuilder getClassesOrBuilder( int index); } /** * Protobuf type {@code CDemoClassInfo} */ public static final class CDemoClassInfo extends com.google.protobuf.GeneratedMessage implements CDemoClassInfoOrBuilder { // Use CDemoClassInfo.newBuilder() to construct. private CDemoClassInfo(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private CDemoClassInfo(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final CDemoClassInfo defaultInstance; public static CDemoClassInfo getDefaultInstance() { return defaultInstance; } public CDemoClassInfo getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CDemoClassInfo( 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)) { classes_ = new java.util.ArrayList<com.valve.dota2.Demo.CDemoClassInfo.class_t>(); mutable_bitField0_ |= 0x00000001; } classes_.add(input.readMessage(com.valve.dota2.Demo.CDemoClassInfo.class_t.PARSER, extensionRegistry)); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { classes_ = java.util.Collections.unmodifiableList(classes_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.valve.dota2.Demo.internal_static_CDemoClassInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CDemoClassInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CDemoClassInfo.class, com.valve.dota2.Demo.CDemoClassInfo.Builder.class); } public static com.google.protobuf.Parser<CDemoClassInfo> PARSER = new com.google.protobuf.AbstractParser<CDemoClassInfo>() { public CDemoClassInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CDemoClassInfo(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<CDemoClassInfo> getParserForType() { return PARSER; } public interface class_tOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional int32 class_id = 1; /** * <code>optional int32 class_id = 1;</code> */ boolean hasClassId(); /** * <code>optional int32 class_id = 1;</code> */ int getClassId(); // optional string network_name = 2; /** * <code>optional string network_name = 2;</code> */ boolean hasNetworkName(); /** * <code>optional string network_name = 2;</code> */ java.lang.String getNetworkName(); /** * <code>optional string network_name = 2;</code> */ com.google.protobuf.ByteString getNetworkNameBytes(); // optional string table_name = 3; /** * <code>optional string table_name = 3;</code> */ boolean hasTableName(); /** * <code>optional string table_name = 3;</code> */ java.lang.String getTableName(); /** * <code>optional string table_name = 3;</code> */ com.google.protobuf.ByteString getTableNameBytes(); } /** * Protobuf type {@code CDemoClassInfo.class_t} */ public static final class class_t extends com.google.protobuf.GeneratedMessage implements class_tOrBuilder { // Use class_t.newBuilder() to construct. private class_t(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private class_t(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final class_t defaultInstance; public static class_t getDefaultInstance() { return defaultInstance; } public class_t getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private class_t( 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; classId_ = input.readInt32(); break; } case 18: { bitField0_ |= 0x00000002; networkName_ = input.readBytes(); break; } case 26: { bitField0_ |= 0x00000004; tableName_ = input.readBytes(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.valve.dota2.Demo.internal_static_CDemoClassInfo_class_t_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CDemoClassInfo_class_t_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CDemoClassInfo.class_t.class, com.valve.dota2.Demo.CDemoClassInfo.class_t.Builder.class); } public static com.google.protobuf.Parser<class_t> PARSER = new com.google.protobuf.AbstractParser<class_t>() { public class_t parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new class_t(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<class_t> getParserForType() { return PARSER; } private int bitField0_; // optional int32 class_id = 1; public static final int CLASS_ID_FIELD_NUMBER = 1; private int classId_; /** * <code>optional int32 class_id = 1;</code> */ public boolean hasClassId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int32 class_id = 1;</code> */ public int getClassId() { return classId_; } // optional string network_name = 2; public static final int NETWORK_NAME_FIELD_NUMBER = 2; private java.lang.Object networkName_; /** * <code>optional string network_name = 2;</code> */ public boolean hasNetworkName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional string network_name = 2;</code> */ public java.lang.String getNetworkName() { java.lang.Object ref = networkName_; 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()) { networkName_ = s; } return s; } } /** * <code>optional string network_name = 2;</code> */ public com.google.protobuf.ByteString getNetworkNameBytes() { java.lang.Object ref = networkName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); networkName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string table_name = 3; public static final int TABLE_NAME_FIELD_NUMBER = 3; private java.lang.Object tableName_; /** * <code>optional string table_name = 3;</code> */ public boolean hasTableName() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional string table_name = 3;</code> */ public java.lang.String getTableName() { java.lang.Object ref = tableName_; 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()) { tableName_ = s; } return s; } } /** * <code>optional string table_name = 3;</code> */ public com.google.protobuf.ByteString getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tableName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { classId_ = 0; networkName_ = ""; tableName_ = ""; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, classId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getNetworkNameBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getTableNameBytes()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, classId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getNetworkNameBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getTableNameBytes()); } 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 com.valve.dota2.Demo.CDemoClassInfo.class_t parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CDemoClassInfo.class_t parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CDemoClassInfo.class_t parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CDemoClassInfo.class_t parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CDemoClassInfo.class_t parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CDemoClassInfo.class_t parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CDemoClassInfo.class_t parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.valve.dota2.Demo.CDemoClassInfo.class_t parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CDemoClassInfo.class_t parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CDemoClassInfo.class_t 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(com.valve.dota2.Demo.CDemoClassInfo.class_t 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 CDemoClassInfo.class_t} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements com.valve.dota2.Demo.CDemoClassInfo.class_tOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.valve.dota2.Demo.internal_static_CDemoClassInfo_class_t_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CDemoClassInfo_class_t_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CDemoClassInfo.class_t.class, com.valve.dota2.Demo.CDemoClassInfo.class_t.Builder.class); } // Construct using com.valve.dota2.Demo.CDemoClassInfo.class_t.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(); classId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); networkName_ = ""; bitField0_ = (bitField0_ & ~0x00000002); tableName_ = ""; bitField0_ = (bitField0_ & ~0x00000004); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.valve.dota2.Demo.internal_static_CDemoClassInfo_class_t_descriptor; } public com.valve.dota2.Demo.CDemoClassInfo.class_t getDefaultInstanceForType() { return com.valve.dota2.Demo.CDemoClassInfo.class_t.getDefaultInstance(); } public com.valve.dota2.Demo.CDemoClassInfo.class_t build() { com.valve.dota2.Demo.CDemoClassInfo.class_t result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.valve.dota2.Demo.CDemoClassInfo.class_t buildPartial() { com.valve.dota2.Demo.CDemoClassInfo.class_t result = new com.valve.dota2.Demo.CDemoClassInfo.class_t(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.classId_ = classId_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.networkName_ = networkName_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.tableName_ = tableName_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.valve.dota2.Demo.CDemoClassInfo.class_t) { return mergeFrom((com.valve.dota2.Demo.CDemoClassInfo.class_t)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.valve.dota2.Demo.CDemoClassInfo.class_t other) { if (other == com.valve.dota2.Demo.CDemoClassInfo.class_t.getDefaultInstance()) return this; if (other.hasClassId()) { setClassId(other.getClassId()); } if (other.hasNetworkName()) { bitField0_ |= 0x00000002; networkName_ = other.networkName_; onChanged(); } if (other.hasTableName()) { bitField0_ |= 0x00000004; tableName_ = other.tableName_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.valve.dota2.Demo.CDemoClassInfo.class_t parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.valve.dota2.Demo.CDemoClassInfo.class_t) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional int32 class_id = 1; private int classId_ ; /** * <code>optional int32 class_id = 1;</code> */ public boolean hasClassId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int32 class_id = 1;</code> */ public int getClassId() { return classId_; } /** * <code>optional int32 class_id = 1;</code> */ public Builder setClassId(int value) { bitField0_ |= 0x00000001; classId_ = value; onChanged(); return this; } /** * <code>optional int32 class_id = 1;</code> */ public Builder clearClassId() { bitField0_ = (bitField0_ & ~0x00000001); classId_ = 0; onChanged(); return this; } // optional string network_name = 2; private java.lang.Object networkName_ = ""; /** * <code>optional string network_name = 2;</code> */ public boolean hasNetworkName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional string network_name = 2;</code> */ public java.lang.String getNetworkName() { java.lang.Object ref = networkName_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); networkName_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>optional string network_name = 2;</code> */ public com.google.protobuf.ByteString getNetworkNameBytes() { java.lang.Object ref = networkName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); networkName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>optional string network_name = 2;</code> */ public Builder setNetworkName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; networkName_ = value; onChanged(); return this; } /** * <code>optional string network_name = 2;</code> */ public Builder clearNetworkName() { bitField0_ = (bitField0_ & ~0x00000002); networkName_ = getDefaultInstance().getNetworkName(); onChanged(); return this; } /** * <code>optional string network_name = 2;</code> */ public Builder setNetworkNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; networkName_ = value; onChanged(); return this; } // optional string table_name = 3; private java.lang.Object tableName_ = ""; /** * <code>optional string table_name = 3;</code> */ public boolean hasTableName() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional string table_name = 3;</code> */ public java.lang.String getTableName() { java.lang.Object ref = tableName_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); tableName_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>optional string table_name = 3;</code> */ public com.google.protobuf.ByteString getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tableName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>optional string table_name = 3;</code> */ public Builder setTableName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; tableName_ = value; onChanged(); return this; } /** * <code>optional string table_name = 3;</code> */ public Builder clearTableName() { bitField0_ = (bitField0_ & ~0x00000004); tableName_ = getDefaultInstance().getTableName(); onChanged(); return this; } /** * <code>optional string table_name = 3;</code> */ public Builder setTableNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; tableName_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:CDemoClassInfo.class_t) } static { defaultInstance = new class_t(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:CDemoClassInfo.class_t) } // repeated .CDemoClassInfo.class_t classes = 1; public static final int CLASSES_FIELD_NUMBER = 1; private java.util.List<com.valve.dota2.Demo.CDemoClassInfo.class_t> classes_; /** * <code>repeated .CDemoClassInfo.class_t classes = 1;</code> */ public java.util.List<com.valve.dota2.Demo.CDemoClassInfo.class_t> getClassesList() { return classes_; } /** * <code>repeated .CDemoClassInfo.class_t classes = 1;</code> */ public java.util.List<? extends com.valve.dota2.Demo.CDemoClassInfo.class_tOrBuilder> getClassesOrBuilderList() { return classes_; } /** * <code>repeated .CDemoClassInfo.class_t classes = 1;</code> */ public int getClassesCount() { return classes_.size(); } /** * <code>repeated .CDemoClassInfo.class_t classes = 1;</code> */ public com.valve.dota2.Demo.CDemoClassInfo.class_t getClasses(int index) { return classes_.get(index); } /** * <code>repeated .CDemoClassInfo.class_t classes = 1;</code> */ public com.valve.dota2.Demo.CDemoClassInfo.class_tOrBuilder getClassesOrBuilder( int index) { return classes_.get(index); } private void initFields() { classes_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < classes_.size(); i++) { output.writeMessage(1, classes_.get(i)); } 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 < classes_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, classes_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static com.valve.dota2.Demo.CDemoClassInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CDemoClassInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CDemoClassInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CDemoClassInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CDemoClassInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CDemoClassInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CDemoClassInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.valve.dota2.Demo.CDemoClassInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CDemoClassInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CDemoClassInfo 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(com.valve.dota2.Demo.CDemoClassInfo 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 CDemoClassInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements com.valve.dota2.Demo.CDemoClassInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.valve.dota2.Demo.internal_static_CDemoClassInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CDemoClassInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CDemoClassInfo.class, com.valve.dota2.Demo.CDemoClassInfo.Builder.class); } // Construct using com.valve.dota2.Demo.CDemoClassInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getClassesFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (classesBuilder_ == null) { classes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { classesBuilder_.clear(); } return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.valve.dota2.Demo.internal_static_CDemoClassInfo_descriptor; } public com.valve.dota2.Demo.CDemoClassInfo getDefaultInstanceForType() { return com.valve.dota2.Demo.CDemoClassInfo.getDefaultInstance(); } public com.valve.dota2.Demo.CDemoClassInfo build() { com.valve.dota2.Demo.CDemoClassInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.valve.dota2.Demo.CDemoClassInfo buildPartial() { com.valve.dota2.Demo.CDemoClassInfo result = new com.valve.dota2.Demo.CDemoClassInfo(this); int from_bitField0_ = bitField0_; if (classesBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { classes_ = java.util.Collections.unmodifiableList(classes_); bitField0_ = (bitField0_ & ~0x00000001); } result.classes_ = classes_; } else { result.classes_ = classesBuilder_.build(); } onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.valve.dota2.Demo.CDemoClassInfo) { return mergeFrom((com.valve.dota2.Demo.CDemoClassInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.valve.dota2.Demo.CDemoClassInfo other) { if (other == com.valve.dota2.Demo.CDemoClassInfo.getDefaultInstance()) return this; if (classesBuilder_ == null) { if (!other.classes_.isEmpty()) { if (classes_.isEmpty()) { classes_ = other.classes_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureClassesIsMutable(); classes_.addAll(other.classes_); } onChanged(); } } else { if (!other.classes_.isEmpty()) { if (classesBuilder_.isEmpty()) { classesBuilder_.dispose(); classesBuilder_ = null; classes_ = other.classes_; bitField0_ = (bitField0_ & ~0x00000001); classesBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getClassesFieldBuilder() : null; } else { classesBuilder_.addAllMessages(other.classes_); } } } 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 { com.valve.dota2.Demo.CDemoClassInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.valve.dota2.Demo.CDemoClassInfo) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // repeated .CDemoClassInfo.class_t classes = 1; private java.util.List<com.valve.dota2.Demo.CDemoClassInfo.class_t> classes_ = java.util.Collections.emptyList(); private void ensureClassesIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { classes_ = new java.util.ArrayList<com.valve.dota2.Demo.CDemoClassInfo.class_t>(classes_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< com.valve.dota2.Demo.CDemoClassInfo.class_t, com.valve.dota2.Demo.CDemoClassInfo.class_t.Builder, com.valve.dota2.Demo.CDemoClassInfo.class_tOrBuilder> classesBuilder_; /** * <code>repeated .CDemoClassInfo.class_t classes = 1;</code> */ public java.util.List<com.valve.dota2.Demo.CDemoClassInfo.class_t> getClassesList() { if (classesBuilder_ == null) { return java.util.Collections.unmodifiableList(classes_); } else { return classesBuilder_.getMessageList(); } } /** * <code>repeated .CDemoClassInfo.class_t classes = 1;</code> */ public int getClassesCount() { if (classesBuilder_ == null) { return classes_.size(); } else { return classesBuilder_.getCount(); } } /** * <code>repeated .CDemoClassInfo.class_t classes = 1;</code> */ public com.valve.dota2.Demo.CDemoClassInfo.class_t getClasses(int index) { if (classesBuilder_ == null) { return classes_.get(index); } else { return classesBuilder_.getMessage(index); } } /** * <code>repeated .CDemoClassInfo.class_t classes = 1;</code> */ public Builder setClasses( int index, com.valve.dota2.Demo.CDemoClassInfo.class_t value) { if (classesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureClassesIsMutable(); classes_.set(index, value); onChanged(); } else { classesBuilder_.setMessage(index, value); } return this; } /** * <code>repeated .CDemoClassInfo.class_t classes = 1;</code> */ public Builder setClasses( int index, com.valve.dota2.Demo.CDemoClassInfo.class_t.Builder builderForValue) { if (classesBuilder_ == null) { ensureClassesIsMutable(); classes_.set(index, builderForValue.build()); onChanged(); } else { classesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .CDemoClassInfo.class_t classes = 1;</code> */ public Builder addClasses(com.valve.dota2.Demo.CDemoClassInfo.class_t value) { if (classesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureClassesIsMutable(); classes_.add(value); onChanged(); } else { classesBuilder_.addMessage(value); } return this; } /** * <code>repeated .CDemoClassInfo.class_t classes = 1;</code> */ public Builder addClasses( int index, com.valve.dota2.Demo.CDemoClassInfo.class_t value) { if (classesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureClassesIsMutable(); classes_.add(index, value); onChanged(); } else { classesBuilder_.addMessage(index, value); } return this; } /** * <code>repeated .CDemoClassInfo.class_t classes = 1;</code> */ public Builder addClasses( com.valve.dota2.Demo.CDemoClassInfo.class_t.Builder builderForValue) { if (classesBuilder_ == null) { ensureClassesIsMutable(); classes_.add(builderForValue.build()); onChanged(); } else { classesBuilder_.addMessage(builderForValue.build()); } return this; } /** * <code>repeated .CDemoClassInfo.class_t classes = 1;</code> */ public Builder addClasses( int index, com.valve.dota2.Demo.CDemoClassInfo.class_t.Builder builderForValue) { if (classesBuilder_ == null) { ensureClassesIsMutable(); classes_.add(index, builderForValue.build()); onChanged(); } else { classesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .CDemoClassInfo.class_t classes = 1;</code> */ public Builder addAllClasses( java.lang.Iterable<? extends com.valve.dota2.Demo.CDemoClassInfo.class_t> values) { if (classesBuilder_ == null) { ensureClassesIsMutable(); super.addAll(values, classes_); onChanged(); } else { classesBuilder_.addAllMessages(values); } return this; } /** * <code>repeated .CDemoClassInfo.class_t classes = 1;</code> */ public Builder clearClasses() { if (classesBuilder_ == null) { classes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { classesBuilder_.clear(); } return this; } /** * <code>repeated .CDemoClassInfo.class_t classes = 1;</code> */ public Builder removeClasses(int index) { if (classesBuilder_ == null) { ensureClassesIsMutable(); classes_.remove(index); onChanged(); } else { classesBuilder_.remove(index); } return this; } /** * <code>repeated .CDemoClassInfo.class_t classes = 1;</code> */ public com.valve.dota2.Demo.CDemoClassInfo.class_t.Builder getClassesBuilder( int index) { return getClassesFieldBuilder().getBuilder(index); } /** * <code>repeated .CDemoClassInfo.class_t classes = 1;</code> */ public com.valve.dota2.Demo.CDemoClassInfo.class_tOrBuilder getClassesOrBuilder( int index) { if (classesBuilder_ == null) { return classes_.get(index); } else { return classesBuilder_.getMessageOrBuilder(index); } } /** * <code>repeated .CDemoClassInfo.class_t classes = 1;</code> */ public java.util.List<? extends com.valve.dota2.Demo.CDemoClassInfo.class_tOrBuilder> getClassesOrBuilderList() { if (classesBuilder_ != null) { return classesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(classes_); } } /** * <code>repeated .CDemoClassInfo.class_t classes = 1;</code> */ public com.valve.dota2.Demo.CDemoClassInfo.class_t.Builder addClassesBuilder() { return getClassesFieldBuilder().addBuilder( com.valve.dota2.Demo.CDemoClassInfo.class_t.getDefaultInstance()); } /** * <code>repeated .CDemoClassInfo.class_t classes = 1;</code> */ public com.valve.dota2.Demo.CDemoClassInfo.class_t.Builder addClassesBuilder( int index) { return getClassesFieldBuilder().addBuilder( index, com.valve.dota2.Demo.CDemoClassInfo.class_t.getDefaultInstance()); } /** * <code>repeated .CDemoClassInfo.class_t classes = 1;</code> */ public java.util.List<com.valve.dota2.Demo.CDemoClassInfo.class_t.Builder> getClassesBuilderList() { return getClassesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< com.valve.dota2.Demo.CDemoClassInfo.class_t, com.valve.dota2.Demo.CDemoClassInfo.class_t.Builder, com.valve.dota2.Demo.CDemoClassInfo.class_tOrBuilder> getClassesFieldBuilder() { if (classesBuilder_ == null) { classesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< com.valve.dota2.Demo.CDemoClassInfo.class_t, com.valve.dota2.Demo.CDemoClassInfo.class_t.Builder, com.valve.dota2.Demo.CDemoClassInfo.class_tOrBuilder>( classes_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); classes_ = null; } return classesBuilder_; } // @@protoc_insertion_point(builder_scope:CDemoClassInfo) } static { defaultInstance = new CDemoClassInfo(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:CDemoClassInfo) } public interface CDemoCustomDataOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional int32 callback_index = 1; /** * <code>optional int32 callback_index = 1;</code> */ boolean hasCallbackIndex(); /** * <code>optional int32 callback_index = 1;</code> */ int getCallbackIndex(); // optional bytes data = 2; /** * <code>optional bytes data = 2;</code> */ boolean hasData(); /** * <code>optional bytes data = 2;</code> */ com.google.protobuf.ByteString getData(); } /** * Protobuf type {@code CDemoCustomData} */ public static final class CDemoCustomData extends com.google.protobuf.GeneratedMessage implements CDemoCustomDataOrBuilder { // Use CDemoCustomData.newBuilder() to construct. private CDemoCustomData(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private CDemoCustomData(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final CDemoCustomData defaultInstance; public static CDemoCustomData getDefaultInstance() { return defaultInstance; } public CDemoCustomData getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CDemoCustomData( 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; callbackIndex_ = input.readInt32(); break; } case 18: { bitField0_ |= 0x00000002; data_ = input.readBytes(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.valve.dota2.Demo.internal_static_CDemoCustomData_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CDemoCustomData_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CDemoCustomData.class, com.valve.dota2.Demo.CDemoCustomData.Builder.class); } public static com.google.protobuf.Parser<CDemoCustomData> PARSER = new com.google.protobuf.AbstractParser<CDemoCustomData>() { public CDemoCustomData parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CDemoCustomData(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<CDemoCustomData> getParserForType() { return PARSER; } private int bitField0_; // optional int32 callback_index = 1; public static final int CALLBACK_INDEX_FIELD_NUMBER = 1; private int callbackIndex_; /** * <code>optional int32 callback_index = 1;</code> */ public boolean hasCallbackIndex() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int32 callback_index = 1;</code> */ public int getCallbackIndex() { return callbackIndex_; } // optional bytes data = 2; public static final int DATA_FIELD_NUMBER = 2; private com.google.protobuf.ByteString data_; /** * <code>optional bytes data = 2;</code> */ public boolean hasData() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional bytes data = 2;</code> */ public com.google.protobuf.ByteString getData() { return data_; } private void initFields() { callbackIndex_ = 0; data_ = com.google.protobuf.ByteString.EMPTY; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, callbackIndex_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, data_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, callbackIndex_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, data_); } 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 com.valve.dota2.Demo.CDemoCustomData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CDemoCustomData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CDemoCustomData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CDemoCustomData parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CDemoCustomData parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CDemoCustomData parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CDemoCustomData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.valve.dota2.Demo.CDemoCustomData parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CDemoCustomData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CDemoCustomData 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(com.valve.dota2.Demo.CDemoCustomData 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 CDemoCustomData} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements com.valve.dota2.Demo.CDemoCustomDataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.valve.dota2.Demo.internal_static_CDemoCustomData_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CDemoCustomData_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CDemoCustomData.class, com.valve.dota2.Demo.CDemoCustomData.Builder.class); } // Construct using com.valve.dota2.Demo.CDemoCustomData.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(); callbackIndex_ = 0; bitField0_ = (bitField0_ & ~0x00000001); data_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.valve.dota2.Demo.internal_static_CDemoCustomData_descriptor; } public com.valve.dota2.Demo.CDemoCustomData getDefaultInstanceForType() { return com.valve.dota2.Demo.CDemoCustomData.getDefaultInstance(); } public com.valve.dota2.Demo.CDemoCustomData build() { com.valve.dota2.Demo.CDemoCustomData result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.valve.dota2.Demo.CDemoCustomData buildPartial() { com.valve.dota2.Demo.CDemoCustomData result = new com.valve.dota2.Demo.CDemoCustomData(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.callbackIndex_ = callbackIndex_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.data_ = data_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.valve.dota2.Demo.CDemoCustomData) { return mergeFrom((com.valve.dota2.Demo.CDemoCustomData)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.valve.dota2.Demo.CDemoCustomData other) { if (other == com.valve.dota2.Demo.CDemoCustomData.getDefaultInstance()) return this; if (other.hasCallbackIndex()) { setCallbackIndex(other.getCallbackIndex()); } if (other.hasData()) { setData(other.getData()); } 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 { com.valve.dota2.Demo.CDemoCustomData parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.valve.dota2.Demo.CDemoCustomData) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional int32 callback_index = 1; private int callbackIndex_ ; /** * <code>optional int32 callback_index = 1;</code> */ public boolean hasCallbackIndex() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int32 callback_index = 1;</code> */ public int getCallbackIndex() { return callbackIndex_; } /** * <code>optional int32 callback_index = 1;</code> */ public Builder setCallbackIndex(int value) { bitField0_ |= 0x00000001; callbackIndex_ = value; onChanged(); return this; } /** * <code>optional int32 callback_index = 1;</code> */ public Builder clearCallbackIndex() { bitField0_ = (bitField0_ & ~0x00000001); callbackIndex_ = 0; onChanged(); return this; } // optional bytes data = 2; private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** * <code>optional bytes data = 2;</code> */ public boolean hasData() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional bytes data = 2;</code> */ public com.google.protobuf.ByteString getData() { return data_; } /** * <code>optional bytes data = 2;</code> */ public Builder setData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; data_ = value; onChanged(); return this; } /** * <code>optional bytes data = 2;</code> */ public Builder clearData() { bitField0_ = (bitField0_ & ~0x00000002); data_ = getDefaultInstance().getData(); onChanged(); return this; } // @@protoc_insertion_point(builder_scope:CDemoCustomData) } static { defaultInstance = new CDemoCustomData(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:CDemoCustomData) } public interface CDemoCustomDataCallbacksOrBuilder extends com.google.protobuf.MessageOrBuilder { // repeated string save_id = 1; /** * <code>repeated string save_id = 1;</code> */ java.util.List<java.lang.String> getSaveIdList(); /** * <code>repeated string save_id = 1;</code> */ int getSaveIdCount(); /** * <code>repeated string save_id = 1;</code> */ java.lang.String getSaveId(int index); /** * <code>repeated string save_id = 1;</code> */ com.google.protobuf.ByteString getSaveIdBytes(int index); } /** * Protobuf type {@code CDemoCustomDataCallbacks} */ public static final class CDemoCustomDataCallbacks extends com.google.protobuf.GeneratedMessage implements CDemoCustomDataCallbacksOrBuilder { // Use CDemoCustomDataCallbacks.newBuilder() to construct. private CDemoCustomDataCallbacks(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private CDemoCustomDataCallbacks(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final CDemoCustomDataCallbacks defaultInstance; public static CDemoCustomDataCallbacks getDefaultInstance() { return defaultInstance; } public CDemoCustomDataCallbacks getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CDemoCustomDataCallbacks( 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)) { saveId_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } saveId_.add(input.readBytes()); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { saveId_ = new com.google.protobuf.UnmodifiableLazyStringList(saveId_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.valve.dota2.Demo.internal_static_CDemoCustomDataCallbacks_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CDemoCustomDataCallbacks_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CDemoCustomDataCallbacks.class, com.valve.dota2.Demo.CDemoCustomDataCallbacks.Builder.class); } public static com.google.protobuf.Parser<CDemoCustomDataCallbacks> PARSER = new com.google.protobuf.AbstractParser<CDemoCustomDataCallbacks>() { public CDemoCustomDataCallbacks parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CDemoCustomDataCallbacks(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<CDemoCustomDataCallbacks> getParserForType() { return PARSER; } // repeated string save_id = 1; public static final int SAVE_ID_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList saveId_; /** * <code>repeated string save_id = 1;</code> */ public java.util.List<java.lang.String> getSaveIdList() { return saveId_; } /** * <code>repeated string save_id = 1;</code> */ public int getSaveIdCount() { return saveId_.size(); } /** * <code>repeated string save_id = 1;</code> */ public java.lang.String getSaveId(int index) { return saveId_.get(index); } /** * <code>repeated string save_id = 1;</code> */ public com.google.protobuf.ByteString getSaveIdBytes(int index) { return saveId_.getByteString(index); } private void initFields() { saveId_ = com.google.protobuf.LazyStringArrayList.EMPTY; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < saveId_.size(); i++) { output.writeBytes(1, saveId_.getByteString(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < saveId_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(saveId_.getByteString(i)); } size += dataSize; size += 1 * getSaveIdList().size(); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static com.valve.dota2.Demo.CDemoCustomDataCallbacks parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CDemoCustomDataCallbacks parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CDemoCustomDataCallbacks parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CDemoCustomDataCallbacks parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CDemoCustomDataCallbacks parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CDemoCustomDataCallbacks parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CDemoCustomDataCallbacks parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.valve.dota2.Demo.CDemoCustomDataCallbacks parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CDemoCustomDataCallbacks parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CDemoCustomDataCallbacks 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(com.valve.dota2.Demo.CDemoCustomDataCallbacks 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 CDemoCustomDataCallbacks} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements com.valve.dota2.Demo.CDemoCustomDataCallbacksOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.valve.dota2.Demo.internal_static_CDemoCustomDataCallbacks_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CDemoCustomDataCallbacks_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CDemoCustomDataCallbacks.class, com.valve.dota2.Demo.CDemoCustomDataCallbacks.Builder.class); } // Construct using com.valve.dota2.Demo.CDemoCustomDataCallbacks.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(); saveId_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.valve.dota2.Demo.internal_static_CDemoCustomDataCallbacks_descriptor; } public com.valve.dota2.Demo.CDemoCustomDataCallbacks getDefaultInstanceForType() { return com.valve.dota2.Demo.CDemoCustomDataCallbacks.getDefaultInstance(); } public com.valve.dota2.Demo.CDemoCustomDataCallbacks build() { com.valve.dota2.Demo.CDemoCustomDataCallbacks result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.valve.dota2.Demo.CDemoCustomDataCallbacks buildPartial() { com.valve.dota2.Demo.CDemoCustomDataCallbacks result = new com.valve.dota2.Demo.CDemoCustomDataCallbacks(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) == 0x00000001)) { saveId_ = new com.google.protobuf.UnmodifiableLazyStringList( saveId_); bitField0_ = (bitField0_ & ~0x00000001); } result.saveId_ = saveId_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.valve.dota2.Demo.CDemoCustomDataCallbacks) { return mergeFrom((com.valve.dota2.Demo.CDemoCustomDataCallbacks)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.valve.dota2.Demo.CDemoCustomDataCallbacks other) { if (other == com.valve.dota2.Demo.CDemoCustomDataCallbacks.getDefaultInstance()) return this; if (!other.saveId_.isEmpty()) { if (saveId_.isEmpty()) { saveId_ = other.saveId_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureSaveIdIsMutable(); saveId_.addAll(other.saveId_); } onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.valve.dota2.Demo.CDemoCustomDataCallbacks parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.valve.dota2.Demo.CDemoCustomDataCallbacks) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // repeated string save_id = 1; private com.google.protobuf.LazyStringList saveId_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureSaveIdIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { saveId_ = new com.google.protobuf.LazyStringArrayList(saveId_); bitField0_ |= 0x00000001; } } /** * <code>repeated string save_id = 1;</code> */ public java.util.List<java.lang.String> getSaveIdList() { return java.util.Collections.unmodifiableList(saveId_); } /** * <code>repeated string save_id = 1;</code> */ public int getSaveIdCount() { return saveId_.size(); } /** * <code>repeated string save_id = 1;</code> */ public java.lang.String getSaveId(int index) { return saveId_.get(index); } /** * <code>repeated string save_id = 1;</code> */ public com.google.protobuf.ByteString getSaveIdBytes(int index) { return saveId_.getByteString(index); } /** * <code>repeated string save_id = 1;</code> */ public Builder setSaveId( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSaveIdIsMutable(); saveId_.set(index, value); onChanged(); return this; } /** * <code>repeated string save_id = 1;</code> */ public Builder addSaveId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSaveIdIsMutable(); saveId_.add(value); onChanged(); return this; } /** * <code>repeated string save_id = 1;</code> */ public Builder addAllSaveId( java.lang.Iterable<java.lang.String> values) { ensureSaveIdIsMutable(); super.addAll(values, saveId_); onChanged(); return this; } /** * <code>repeated string save_id = 1;</code> */ public Builder clearSaveId() { saveId_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * <code>repeated string save_id = 1;</code> */ public Builder addSaveIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureSaveIdIsMutable(); saveId_.add(value); onChanged(); return this; } // @@protoc_insertion_point(builder_scope:CDemoCustomDataCallbacks) } static { defaultInstance = new CDemoCustomDataCallbacks(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:CDemoCustomDataCallbacks) } public interface CDemoStringTablesOrBuilder extends com.google.protobuf.MessageOrBuilder { // repeated .CDemoStringTables.table_t tables = 1; /** * <code>repeated .CDemoStringTables.table_t tables = 1;</code> */ java.util.List<com.valve.dota2.Demo.CDemoStringTables.table_t> getTablesList(); /** * <code>repeated .CDemoStringTables.table_t tables = 1;</code> */ com.valve.dota2.Demo.CDemoStringTables.table_t getTables(int index); /** * <code>repeated .CDemoStringTables.table_t tables = 1;</code> */ int getTablesCount(); /** * <code>repeated .CDemoStringTables.table_t tables = 1;</code> */ java.util.List<? extends com.valve.dota2.Demo.CDemoStringTables.table_tOrBuilder> getTablesOrBuilderList(); /** * <code>repeated .CDemoStringTables.table_t tables = 1;</code> */ com.valve.dota2.Demo.CDemoStringTables.table_tOrBuilder getTablesOrBuilder( int index); } /** * Protobuf type {@code CDemoStringTables} */ public static final class CDemoStringTables extends com.google.protobuf.GeneratedMessage implements CDemoStringTablesOrBuilder { // Use CDemoStringTables.newBuilder() to construct. private CDemoStringTables(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private CDemoStringTables(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final CDemoStringTables defaultInstance; public static CDemoStringTables getDefaultInstance() { return defaultInstance; } public CDemoStringTables getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CDemoStringTables( 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)) { tables_ = new java.util.ArrayList<com.valve.dota2.Demo.CDemoStringTables.table_t>(); mutable_bitField0_ |= 0x00000001; } tables_.add(input.readMessage(com.valve.dota2.Demo.CDemoStringTables.table_t.PARSER, extensionRegistry)); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { tables_ = java.util.Collections.unmodifiableList(tables_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.valve.dota2.Demo.internal_static_CDemoStringTables_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CDemoStringTables_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CDemoStringTables.class, com.valve.dota2.Demo.CDemoStringTables.Builder.class); } public static com.google.protobuf.Parser<CDemoStringTables> PARSER = new com.google.protobuf.AbstractParser<CDemoStringTables>() { public CDemoStringTables parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CDemoStringTables(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<CDemoStringTables> getParserForType() { return PARSER; } public interface items_tOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional string str = 1; /** * <code>optional string str = 1;</code> */ boolean hasStr(); /** * <code>optional string str = 1;</code> */ java.lang.String getStr(); /** * <code>optional string str = 1;</code> */ com.google.protobuf.ByteString getStrBytes(); // optional bytes data = 2; /** * <code>optional bytes data = 2;</code> */ boolean hasData(); /** * <code>optional bytes data = 2;</code> */ com.google.protobuf.ByteString getData(); } /** * Protobuf type {@code CDemoStringTables.items_t} */ public static final class items_t extends com.google.protobuf.GeneratedMessage implements items_tOrBuilder { // Use items_t.newBuilder() to construct. private items_t(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private items_t(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final items_t defaultInstance; public static items_t getDefaultInstance() { return defaultInstance; } public items_t getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private items_t( 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: { bitField0_ |= 0x00000001; str_ = input.readBytes(); break; } case 18: { bitField0_ |= 0x00000002; data_ = input.readBytes(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.valve.dota2.Demo.internal_static_CDemoStringTables_items_t_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CDemoStringTables_items_t_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CDemoStringTables.items_t.class, com.valve.dota2.Demo.CDemoStringTables.items_t.Builder.class); } public static com.google.protobuf.Parser<items_t> PARSER = new com.google.protobuf.AbstractParser<items_t>() { public items_t parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new items_t(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<items_t> getParserForType() { return PARSER; } private int bitField0_; // optional string str = 1; public static final int STR_FIELD_NUMBER = 1; private java.lang.Object str_; /** * <code>optional string str = 1;</code> */ public boolean hasStr() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional string str = 1;</code> */ public java.lang.String getStr() { java.lang.Object ref = str_; 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()) { str_ = s; } return s; } } /** * <code>optional string str = 1;</code> */ public com.google.protobuf.ByteString getStrBytes() { java.lang.Object ref = str_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); str_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional bytes data = 2; public static final int DATA_FIELD_NUMBER = 2; private com.google.protobuf.ByteString data_; /** * <code>optional bytes data = 2;</code> */ public boolean hasData() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional bytes data = 2;</code> */ public com.google.protobuf.ByteString getData() { return data_; } private void initFields() { str_ = ""; data_ = com.google.protobuf.ByteString.EMPTY; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getStrBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, data_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getStrBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, data_); } 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 com.valve.dota2.Demo.CDemoStringTables.items_t parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CDemoStringTables.items_t parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CDemoStringTables.items_t parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CDemoStringTables.items_t parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CDemoStringTables.items_t parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CDemoStringTables.items_t parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CDemoStringTables.items_t parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.valve.dota2.Demo.CDemoStringTables.items_t parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CDemoStringTables.items_t parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CDemoStringTables.items_t 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(com.valve.dota2.Demo.CDemoStringTables.items_t 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 CDemoStringTables.items_t} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements com.valve.dota2.Demo.CDemoStringTables.items_tOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.valve.dota2.Demo.internal_static_CDemoStringTables_items_t_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CDemoStringTables_items_t_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CDemoStringTables.items_t.class, com.valve.dota2.Demo.CDemoStringTables.items_t.Builder.class); } // Construct using com.valve.dota2.Demo.CDemoStringTables.items_t.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(); str_ = ""; bitField0_ = (bitField0_ & ~0x00000001); data_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.valve.dota2.Demo.internal_static_CDemoStringTables_items_t_descriptor; } public com.valve.dota2.Demo.CDemoStringTables.items_t getDefaultInstanceForType() { return com.valve.dota2.Demo.CDemoStringTables.items_t.getDefaultInstance(); } public com.valve.dota2.Demo.CDemoStringTables.items_t build() { com.valve.dota2.Demo.CDemoStringTables.items_t result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.valve.dota2.Demo.CDemoStringTables.items_t buildPartial() { com.valve.dota2.Demo.CDemoStringTables.items_t result = new com.valve.dota2.Demo.CDemoStringTables.items_t(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.str_ = str_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.data_ = data_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.valve.dota2.Demo.CDemoStringTables.items_t) { return mergeFrom((com.valve.dota2.Demo.CDemoStringTables.items_t)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.valve.dota2.Demo.CDemoStringTables.items_t other) { if (other == com.valve.dota2.Demo.CDemoStringTables.items_t.getDefaultInstance()) return this; if (other.hasStr()) { bitField0_ |= 0x00000001; str_ = other.str_; onChanged(); } if (other.hasData()) { setData(other.getData()); } 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 { com.valve.dota2.Demo.CDemoStringTables.items_t parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.valve.dota2.Demo.CDemoStringTables.items_t) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional string str = 1; private java.lang.Object str_ = ""; /** * <code>optional string str = 1;</code> */ public boolean hasStr() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional string str = 1;</code> */ public java.lang.String getStr() { java.lang.Object ref = str_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); str_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>optional string str = 1;</code> */ public com.google.protobuf.ByteString getStrBytes() { java.lang.Object ref = str_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); str_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>optional string str = 1;</code> */ public Builder setStr( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; str_ = value; onChanged(); return this; } /** * <code>optional string str = 1;</code> */ public Builder clearStr() { bitField0_ = (bitField0_ & ~0x00000001); str_ = getDefaultInstance().getStr(); onChanged(); return this; } /** * <code>optional string str = 1;</code> */ public Builder setStrBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; str_ = value; onChanged(); return this; } // optional bytes data = 2; private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** * <code>optional bytes data = 2;</code> */ public boolean hasData() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional bytes data = 2;</code> */ public com.google.protobuf.ByteString getData() { return data_; } /** * <code>optional bytes data = 2;</code> */ public Builder setData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; data_ = value; onChanged(); return this; } /** * <code>optional bytes data = 2;</code> */ public Builder clearData() { bitField0_ = (bitField0_ & ~0x00000002); data_ = getDefaultInstance().getData(); onChanged(); return this; } // @@protoc_insertion_point(builder_scope:CDemoStringTables.items_t) } static { defaultInstance = new items_t(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:CDemoStringTables.items_t) } public interface table_tOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional string table_name = 1; /** * <code>optional string table_name = 1;</code> */ boolean hasTableName(); /** * <code>optional string table_name = 1;</code> */ java.lang.String getTableName(); /** * <code>optional string table_name = 1;</code> */ com.google.protobuf.ByteString getTableNameBytes(); // repeated .CDemoStringTables.items_t items = 2; /** * <code>repeated .CDemoStringTables.items_t items = 2;</code> */ java.util.List<com.valve.dota2.Demo.CDemoStringTables.items_t> getItemsList(); /** * <code>repeated .CDemoStringTables.items_t items = 2;</code> */ com.valve.dota2.Demo.CDemoStringTables.items_t getItems(int index); /** * <code>repeated .CDemoStringTables.items_t items = 2;</code> */ int getItemsCount(); /** * <code>repeated .CDemoStringTables.items_t items = 2;</code> */ java.util.List<? extends com.valve.dota2.Demo.CDemoStringTables.items_tOrBuilder> getItemsOrBuilderList(); /** * <code>repeated .CDemoStringTables.items_t items = 2;</code> */ com.valve.dota2.Demo.CDemoStringTables.items_tOrBuilder getItemsOrBuilder( int index); // repeated .CDemoStringTables.items_t items_clientside = 3; /** * <code>repeated .CDemoStringTables.items_t items_clientside = 3;</code> */ java.util.List<com.valve.dota2.Demo.CDemoStringTables.items_t> getItemsClientsideList(); /** * <code>repeated .CDemoStringTables.items_t items_clientside = 3;</code> */ com.valve.dota2.Demo.CDemoStringTables.items_t getItemsClientside(int index); /** * <code>repeated .CDemoStringTables.items_t items_clientside = 3;</code> */ int getItemsClientsideCount(); /** * <code>repeated .CDemoStringTables.items_t items_clientside = 3;</code> */ java.util.List<? extends com.valve.dota2.Demo.CDemoStringTables.items_tOrBuilder> getItemsClientsideOrBuilderList(); /** * <code>repeated .CDemoStringTables.items_t items_clientside = 3;</code> */ com.valve.dota2.Demo.CDemoStringTables.items_tOrBuilder getItemsClientsideOrBuilder( int index); // optional int32 table_flags = 4; /** * <code>optional int32 table_flags = 4;</code> */ boolean hasTableFlags(); /** * <code>optional int32 table_flags = 4;</code> */ int getTableFlags(); } /** * Protobuf type {@code CDemoStringTables.table_t} */ public static final class table_t extends com.google.protobuf.GeneratedMessage implements table_tOrBuilder { // Use table_t.newBuilder() to construct. private table_t(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private table_t(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final table_t defaultInstance; public static table_t getDefaultInstance() { return defaultInstance; } public table_t getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private table_t( 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: { bitField0_ |= 0x00000001; tableName_ = input.readBytes(); break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { items_ = new java.util.ArrayList<com.valve.dota2.Demo.CDemoStringTables.items_t>(); mutable_bitField0_ |= 0x00000002; } items_.add(input.readMessage(com.valve.dota2.Demo.CDemoStringTables.items_t.PARSER, extensionRegistry)); break; } case 26: { if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { itemsClientside_ = new java.util.ArrayList<com.valve.dota2.Demo.CDemoStringTables.items_t>(); mutable_bitField0_ |= 0x00000004; } itemsClientside_.add(input.readMessage(com.valve.dota2.Demo.CDemoStringTables.items_t.PARSER, extensionRegistry)); break; } case 32: { bitField0_ |= 0x00000002; tableFlags_ = input.readInt32(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { items_ = java.util.Collections.unmodifiableList(items_); } if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { itemsClientside_ = java.util.Collections.unmodifiableList(itemsClientside_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.valve.dota2.Demo.internal_static_CDemoStringTables_table_t_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CDemoStringTables_table_t_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CDemoStringTables.table_t.class, com.valve.dota2.Demo.CDemoStringTables.table_t.Builder.class); } public static com.google.protobuf.Parser<table_t> PARSER = new com.google.protobuf.AbstractParser<table_t>() { public table_t parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new table_t(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<table_t> getParserForType() { return PARSER; } private int bitField0_; // optional string table_name = 1; public static final int TABLE_NAME_FIELD_NUMBER = 1; private java.lang.Object tableName_; /** * <code>optional string table_name = 1;</code> */ public boolean hasTableName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional string table_name = 1;</code> */ public java.lang.String getTableName() { java.lang.Object ref = tableName_; 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()) { tableName_ = s; } return s; } } /** * <code>optional string table_name = 1;</code> */ public com.google.protobuf.ByteString getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tableName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // repeated .CDemoStringTables.items_t items = 2; public static final int ITEMS_FIELD_NUMBER = 2; private java.util.List<com.valve.dota2.Demo.CDemoStringTables.items_t> items_; /** * <code>repeated .CDemoStringTables.items_t items = 2;</code> */ public java.util.List<com.valve.dota2.Demo.CDemoStringTables.items_t> getItemsList() { return items_; } /** * <code>repeated .CDemoStringTables.items_t items = 2;</code> */ public java.util.List<? extends com.valve.dota2.Demo.CDemoStringTables.items_tOrBuilder> getItemsOrBuilderList() { return items_; } /** * <code>repeated .CDemoStringTables.items_t items = 2;</code> */ public int getItemsCount() { return items_.size(); } /** * <code>repeated .CDemoStringTables.items_t items = 2;</code> */ public com.valve.dota2.Demo.CDemoStringTables.items_t getItems(int index) { return items_.get(index); } /** * <code>repeated .CDemoStringTables.items_t items = 2;</code> */ public com.valve.dota2.Demo.CDemoStringTables.items_tOrBuilder getItemsOrBuilder( int index) { return items_.get(index); } // repeated .CDemoStringTables.items_t items_clientside = 3; public static final int ITEMS_CLIENTSIDE_FIELD_NUMBER = 3; private java.util.List<com.valve.dota2.Demo.CDemoStringTables.items_t> itemsClientside_; /** * <code>repeated .CDemoStringTables.items_t items_clientside = 3;</code> */ public java.util.List<com.valve.dota2.Demo.CDemoStringTables.items_t> getItemsClientsideList() { return itemsClientside_; } /** * <code>repeated .CDemoStringTables.items_t items_clientside = 3;</code> */ public java.util.List<? extends com.valve.dota2.Demo.CDemoStringTables.items_tOrBuilder> getItemsClientsideOrBuilderList() { return itemsClientside_; } /** * <code>repeated .CDemoStringTables.items_t items_clientside = 3;</code> */ public int getItemsClientsideCount() { return itemsClientside_.size(); } /** * <code>repeated .CDemoStringTables.items_t items_clientside = 3;</code> */ public com.valve.dota2.Demo.CDemoStringTables.items_t getItemsClientside(int index) { return itemsClientside_.get(index); } /** * <code>repeated .CDemoStringTables.items_t items_clientside = 3;</code> */ public com.valve.dota2.Demo.CDemoStringTables.items_tOrBuilder getItemsClientsideOrBuilder( int index) { return itemsClientside_.get(index); } // optional int32 table_flags = 4; public static final int TABLE_FLAGS_FIELD_NUMBER = 4; private int tableFlags_; /** * <code>optional int32 table_flags = 4;</code> */ public boolean hasTableFlags() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional int32 table_flags = 4;</code> */ public int getTableFlags() { return tableFlags_; } private void initFields() { tableName_ = ""; items_ = java.util.Collections.emptyList(); itemsClientside_ = java.util.Collections.emptyList(); tableFlags_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getTableNameBytes()); } for (int i = 0; i < items_.size(); i++) { output.writeMessage(2, items_.get(i)); } for (int i = 0; i < itemsClientside_.size(); i++) { output.writeMessage(3, itemsClientside_.get(i)); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt32(4, tableFlags_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getTableNameBytes()); } for (int i = 0; i < items_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, items_.get(i)); } for (int i = 0; i < itemsClientside_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, itemsClientside_.get(i)); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, tableFlags_); } 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 com.valve.dota2.Demo.CDemoStringTables.table_t parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CDemoStringTables.table_t parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CDemoStringTables.table_t parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CDemoStringTables.table_t parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CDemoStringTables.table_t parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CDemoStringTables.table_t parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CDemoStringTables.table_t parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.valve.dota2.Demo.CDemoStringTables.table_t parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CDemoStringTables.table_t parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CDemoStringTables.table_t 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(com.valve.dota2.Demo.CDemoStringTables.table_t 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 CDemoStringTables.table_t} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements com.valve.dota2.Demo.CDemoStringTables.table_tOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.valve.dota2.Demo.internal_static_CDemoStringTables_table_t_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CDemoStringTables_table_t_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CDemoStringTables.table_t.class, com.valve.dota2.Demo.CDemoStringTables.table_t.Builder.class); } // Construct using com.valve.dota2.Demo.CDemoStringTables.table_t.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getItemsFieldBuilder(); getItemsClientsideFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); tableName_ = ""; bitField0_ = (bitField0_ & ~0x00000001); if (itemsBuilder_ == null) { items_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { itemsBuilder_.clear(); } if (itemsClientsideBuilder_ == null) { itemsClientside_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { itemsClientsideBuilder_.clear(); } tableFlags_ = 0; bitField0_ = (bitField0_ & ~0x00000008); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.valve.dota2.Demo.internal_static_CDemoStringTables_table_t_descriptor; } public com.valve.dota2.Demo.CDemoStringTables.table_t getDefaultInstanceForType() { return com.valve.dota2.Demo.CDemoStringTables.table_t.getDefaultInstance(); } public com.valve.dota2.Demo.CDemoStringTables.table_t build() { com.valve.dota2.Demo.CDemoStringTables.table_t result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.valve.dota2.Demo.CDemoStringTables.table_t buildPartial() { com.valve.dota2.Demo.CDemoStringTables.table_t result = new com.valve.dota2.Demo.CDemoStringTables.table_t(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.tableName_ = tableName_; if (itemsBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002)) { items_ = java.util.Collections.unmodifiableList(items_); bitField0_ = (bitField0_ & ~0x00000002); } result.items_ = items_; } else { result.items_ = itemsBuilder_.build(); } if (itemsClientsideBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004)) { itemsClientside_ = java.util.Collections.unmodifiableList(itemsClientside_); bitField0_ = (bitField0_ & ~0x00000004); } result.itemsClientside_ = itemsClientside_; } else { result.itemsClientside_ = itemsClientsideBuilder_.build(); } if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000002; } result.tableFlags_ = tableFlags_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.valve.dota2.Demo.CDemoStringTables.table_t) { return mergeFrom((com.valve.dota2.Demo.CDemoStringTables.table_t)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.valve.dota2.Demo.CDemoStringTables.table_t other) { if (other == com.valve.dota2.Demo.CDemoStringTables.table_t.getDefaultInstance()) return this; if (other.hasTableName()) { bitField0_ |= 0x00000001; tableName_ = other.tableName_; onChanged(); } if (itemsBuilder_ == null) { if (!other.items_.isEmpty()) { if (items_.isEmpty()) { items_ = other.items_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureItemsIsMutable(); items_.addAll(other.items_); } onChanged(); } } else { if (!other.items_.isEmpty()) { if (itemsBuilder_.isEmpty()) { itemsBuilder_.dispose(); itemsBuilder_ = null; items_ = other.items_; bitField0_ = (bitField0_ & ~0x00000002); itemsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getItemsFieldBuilder() : null; } else { itemsBuilder_.addAllMessages(other.items_); } } } if (itemsClientsideBuilder_ == null) { if (!other.itemsClientside_.isEmpty()) { if (itemsClientside_.isEmpty()) { itemsClientside_ = other.itemsClientside_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureItemsClientsideIsMutable(); itemsClientside_.addAll(other.itemsClientside_); } onChanged(); } } else { if (!other.itemsClientside_.isEmpty()) { if (itemsClientsideBuilder_.isEmpty()) { itemsClientsideBuilder_.dispose(); itemsClientsideBuilder_ = null; itemsClientside_ = other.itemsClientside_; bitField0_ = (bitField0_ & ~0x00000004); itemsClientsideBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getItemsClientsideFieldBuilder() : null; } else { itemsClientsideBuilder_.addAllMessages(other.itemsClientside_); } } } if (other.hasTableFlags()) { setTableFlags(other.getTableFlags()); } 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 { com.valve.dota2.Demo.CDemoStringTables.table_t parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.valve.dota2.Demo.CDemoStringTables.table_t) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional string table_name = 1; private java.lang.Object tableName_ = ""; /** * <code>optional string table_name = 1;</code> */ public boolean hasTableName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional string table_name = 1;</code> */ public java.lang.String getTableName() { java.lang.Object ref = tableName_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); tableName_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>optional string table_name = 1;</code> */ public com.google.protobuf.ByteString getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tableName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>optional string table_name = 1;</code> */ public Builder setTableName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; tableName_ = value; onChanged(); return this; } /** * <code>optional string table_name = 1;</code> */ public Builder clearTableName() { bitField0_ = (bitField0_ & ~0x00000001); tableName_ = getDefaultInstance().getTableName(); onChanged(); return this; } /** * <code>optional string table_name = 1;</code> */ public Builder setTableNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; tableName_ = value; onChanged(); return this; } // repeated .CDemoStringTables.items_t items = 2; private java.util.List<com.valve.dota2.Demo.CDemoStringTables.items_t> items_ = java.util.Collections.emptyList(); private void ensureItemsIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { items_ = new java.util.ArrayList<com.valve.dota2.Demo.CDemoStringTables.items_t>(items_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilder< com.valve.dota2.Demo.CDemoStringTables.items_t, com.valve.dota2.Demo.CDemoStringTables.items_t.Builder, com.valve.dota2.Demo.CDemoStringTables.items_tOrBuilder> itemsBuilder_; /** * <code>repeated .CDemoStringTables.items_t items = 2;</code> */ public java.util.List<com.valve.dota2.Demo.CDemoStringTables.items_t> getItemsList() { if (itemsBuilder_ == null) { return java.util.Collections.unmodifiableList(items_); } else { return itemsBuilder_.getMessageList(); } } /** * <code>repeated .CDemoStringTables.items_t items = 2;</code> */ public int getItemsCount() { if (itemsBuilder_ == null) { return items_.size(); } else { return itemsBuilder_.getCount(); } } /** * <code>repeated .CDemoStringTables.items_t items = 2;</code> */ public com.valve.dota2.Demo.CDemoStringTables.items_t getItems(int index) { if (itemsBuilder_ == null) { return items_.get(index); } else { return itemsBuilder_.getMessage(index); } } /** * <code>repeated .CDemoStringTables.items_t items = 2;</code> */ public Builder setItems( int index, com.valve.dota2.Demo.CDemoStringTables.items_t value) { if (itemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureItemsIsMutable(); items_.set(index, value); onChanged(); } else { itemsBuilder_.setMessage(index, value); } return this; } /** * <code>repeated .CDemoStringTables.items_t items = 2;</code> */ public Builder setItems( int index, com.valve.dota2.Demo.CDemoStringTables.items_t.Builder builderForValue) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.set(index, builderForValue.build()); onChanged(); } else { itemsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .CDemoStringTables.items_t items = 2;</code> */ public Builder addItems(com.valve.dota2.Demo.CDemoStringTables.items_t value) { if (itemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureItemsIsMutable(); items_.add(value); onChanged(); } else { itemsBuilder_.addMessage(value); } return this; } /** * <code>repeated .CDemoStringTables.items_t items = 2;</code> */ public Builder addItems( int index, com.valve.dota2.Demo.CDemoStringTables.items_t value) { if (itemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureItemsIsMutable(); items_.add(index, value); onChanged(); } else { itemsBuilder_.addMessage(index, value); } return this; } /** * <code>repeated .CDemoStringTables.items_t items = 2;</code> */ public Builder addItems( com.valve.dota2.Demo.CDemoStringTables.items_t.Builder builderForValue) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.add(builderForValue.build()); onChanged(); } else { itemsBuilder_.addMessage(builderForValue.build()); } return this; } /** * <code>repeated .CDemoStringTables.items_t items = 2;</code> */ public Builder addItems( int index, com.valve.dota2.Demo.CDemoStringTables.items_t.Builder builderForValue) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.add(index, builderForValue.build()); onChanged(); } else { itemsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .CDemoStringTables.items_t items = 2;</code> */ public Builder addAllItems( java.lang.Iterable<? extends com.valve.dota2.Demo.CDemoStringTables.items_t> values) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); super.addAll(values, items_); onChanged(); } else { itemsBuilder_.addAllMessages(values); } return this; } /** * <code>repeated .CDemoStringTables.items_t items = 2;</code> */ public Builder clearItems() { if (itemsBuilder_ == null) { items_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { itemsBuilder_.clear(); } return this; } /** * <code>repeated .CDemoStringTables.items_t items = 2;</code> */ public Builder removeItems(int index) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.remove(index); onChanged(); } else { itemsBuilder_.remove(index); } return this; } /** * <code>repeated .CDemoStringTables.items_t items = 2;</code> */ public com.valve.dota2.Demo.CDemoStringTables.items_t.Builder getItemsBuilder( int index) { return getItemsFieldBuilder().getBuilder(index); } /** * <code>repeated .CDemoStringTables.items_t items = 2;</code> */ public com.valve.dota2.Demo.CDemoStringTables.items_tOrBuilder getItemsOrBuilder( int index) { if (itemsBuilder_ == null) { return items_.get(index); } else { return itemsBuilder_.getMessageOrBuilder(index); } } /** * <code>repeated .CDemoStringTables.items_t items = 2;</code> */ public java.util.List<? extends com.valve.dota2.Demo.CDemoStringTables.items_tOrBuilder> getItemsOrBuilderList() { if (itemsBuilder_ != null) { return itemsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(items_); } } /** * <code>repeated .CDemoStringTables.items_t items = 2;</code> */ public com.valve.dota2.Demo.CDemoStringTables.items_t.Builder addItemsBuilder() { return getItemsFieldBuilder().addBuilder( com.valve.dota2.Demo.CDemoStringTables.items_t.getDefaultInstance()); } /** * <code>repeated .CDemoStringTables.items_t items = 2;</code> */ public com.valve.dota2.Demo.CDemoStringTables.items_t.Builder addItemsBuilder( int index) { return getItemsFieldBuilder().addBuilder( index, com.valve.dota2.Demo.CDemoStringTables.items_t.getDefaultInstance()); } /** * <code>repeated .CDemoStringTables.items_t items = 2;</code> */ public java.util.List<com.valve.dota2.Demo.CDemoStringTables.items_t.Builder> getItemsBuilderList() { return getItemsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< com.valve.dota2.Demo.CDemoStringTables.items_t, com.valve.dota2.Demo.CDemoStringTables.items_t.Builder, com.valve.dota2.Demo.CDemoStringTables.items_tOrBuilder> getItemsFieldBuilder() { if (itemsBuilder_ == null) { itemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< com.valve.dota2.Demo.CDemoStringTables.items_t, com.valve.dota2.Demo.CDemoStringTables.items_t.Builder, com.valve.dota2.Demo.CDemoStringTables.items_tOrBuilder>( items_, ((bitField0_ & 0x00000002) == 0x00000002), getParentForChildren(), isClean()); items_ = null; } return itemsBuilder_; } // repeated .CDemoStringTables.items_t items_clientside = 3; private java.util.List<com.valve.dota2.Demo.CDemoStringTables.items_t> itemsClientside_ = java.util.Collections.emptyList(); private void ensureItemsClientsideIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { itemsClientside_ = new java.util.ArrayList<com.valve.dota2.Demo.CDemoStringTables.items_t>(itemsClientside_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilder< com.valve.dota2.Demo.CDemoStringTables.items_t, com.valve.dota2.Demo.CDemoStringTables.items_t.Builder, com.valve.dota2.Demo.CDemoStringTables.items_tOrBuilder> itemsClientsideBuilder_; /** * <code>repeated .CDemoStringTables.items_t items_clientside = 3;</code> */ public java.util.List<com.valve.dota2.Demo.CDemoStringTables.items_t> getItemsClientsideList() { if (itemsClientsideBuilder_ == null) { return java.util.Collections.unmodifiableList(itemsClientside_); } else { return itemsClientsideBuilder_.getMessageList(); } } /** * <code>repeated .CDemoStringTables.items_t items_clientside = 3;</code> */ public int getItemsClientsideCount() { if (itemsClientsideBuilder_ == null) { return itemsClientside_.size(); } else { return itemsClientsideBuilder_.getCount(); } } /** * <code>repeated .CDemoStringTables.items_t items_clientside = 3;</code> */ public com.valve.dota2.Demo.CDemoStringTables.items_t getItemsClientside(int index) { if (itemsClientsideBuilder_ == null) { return itemsClientside_.get(index); } else { return itemsClientsideBuilder_.getMessage(index); } } /** * <code>repeated .CDemoStringTables.items_t items_clientside = 3;</code> */ public Builder setItemsClientside( int index, com.valve.dota2.Demo.CDemoStringTables.items_t value) { if (itemsClientsideBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureItemsClientsideIsMutable(); itemsClientside_.set(index, value); onChanged(); } else { itemsClientsideBuilder_.setMessage(index, value); } return this; } /** * <code>repeated .CDemoStringTables.items_t items_clientside = 3;</code> */ public Builder setItemsClientside( int index, com.valve.dota2.Demo.CDemoStringTables.items_t.Builder builderForValue) { if (itemsClientsideBuilder_ == null) { ensureItemsClientsideIsMutable(); itemsClientside_.set(index, builderForValue.build()); onChanged(); } else { itemsClientsideBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .CDemoStringTables.items_t items_clientside = 3;</code> */ public Builder addItemsClientside(com.valve.dota2.Demo.CDemoStringTables.items_t value) { if (itemsClientsideBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureItemsClientsideIsMutable(); itemsClientside_.add(value); onChanged(); } else { itemsClientsideBuilder_.addMessage(value); } return this; } /** * <code>repeated .CDemoStringTables.items_t items_clientside = 3;</code> */ public Builder addItemsClientside( int index, com.valve.dota2.Demo.CDemoStringTables.items_t value) { if (itemsClientsideBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureItemsClientsideIsMutable(); itemsClientside_.add(index, value); onChanged(); } else { itemsClientsideBuilder_.addMessage(index, value); } return this; } /** * <code>repeated .CDemoStringTables.items_t items_clientside = 3;</code> */ public Builder addItemsClientside( com.valve.dota2.Demo.CDemoStringTables.items_t.Builder builderForValue) { if (itemsClientsideBuilder_ == null) { ensureItemsClientsideIsMutable(); itemsClientside_.add(builderForValue.build()); onChanged(); } else { itemsClientsideBuilder_.addMessage(builderForValue.build()); } return this; } /** * <code>repeated .CDemoStringTables.items_t items_clientside = 3;</code> */ public Builder addItemsClientside( int index, com.valve.dota2.Demo.CDemoStringTables.items_t.Builder builderForValue) { if (itemsClientsideBuilder_ == null) { ensureItemsClientsideIsMutable(); itemsClientside_.add(index, builderForValue.build()); onChanged(); } else { itemsClientsideBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .CDemoStringTables.items_t items_clientside = 3;</code> */ public Builder addAllItemsClientside( java.lang.Iterable<? extends com.valve.dota2.Demo.CDemoStringTables.items_t> values) { if (itemsClientsideBuilder_ == null) { ensureItemsClientsideIsMutable(); super.addAll(values, itemsClientside_); onChanged(); } else { itemsClientsideBuilder_.addAllMessages(values); } return this; } /** * <code>repeated .CDemoStringTables.items_t items_clientside = 3;</code> */ public Builder clearItemsClientside() { if (itemsClientsideBuilder_ == null) { itemsClientside_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { itemsClientsideBuilder_.clear(); } return this; } /** * <code>repeated .CDemoStringTables.items_t items_clientside = 3;</code> */ public Builder removeItemsClientside(int index) { if (itemsClientsideBuilder_ == null) { ensureItemsClientsideIsMutable(); itemsClientside_.remove(index); onChanged(); } else { itemsClientsideBuilder_.remove(index); } return this; } /** * <code>repeated .CDemoStringTables.items_t items_clientside = 3;</code> */ public com.valve.dota2.Demo.CDemoStringTables.items_t.Builder getItemsClientsideBuilder( int index) { return getItemsClientsideFieldBuilder().getBuilder(index); } /** * <code>repeated .CDemoStringTables.items_t items_clientside = 3;</code> */ public com.valve.dota2.Demo.CDemoStringTables.items_tOrBuilder getItemsClientsideOrBuilder( int index) { if (itemsClientsideBuilder_ == null) { return itemsClientside_.get(index); } else { return itemsClientsideBuilder_.getMessageOrBuilder(index); } } /** * <code>repeated .CDemoStringTables.items_t items_clientside = 3;</code> */ public java.util.List<? extends com.valve.dota2.Demo.CDemoStringTables.items_tOrBuilder> getItemsClientsideOrBuilderList() { if (itemsClientsideBuilder_ != null) { return itemsClientsideBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(itemsClientside_); } } /** * <code>repeated .CDemoStringTables.items_t items_clientside = 3;</code> */ public com.valve.dota2.Demo.CDemoStringTables.items_t.Builder addItemsClientsideBuilder() { return getItemsClientsideFieldBuilder().addBuilder( com.valve.dota2.Demo.CDemoStringTables.items_t.getDefaultInstance()); } /** * <code>repeated .CDemoStringTables.items_t items_clientside = 3;</code> */ public com.valve.dota2.Demo.CDemoStringTables.items_t.Builder addItemsClientsideBuilder( int index) { return getItemsClientsideFieldBuilder().addBuilder( index, com.valve.dota2.Demo.CDemoStringTables.items_t.getDefaultInstance()); } /** * <code>repeated .CDemoStringTables.items_t items_clientside = 3;</code> */ public java.util.List<com.valve.dota2.Demo.CDemoStringTables.items_t.Builder> getItemsClientsideBuilderList() { return getItemsClientsideFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< com.valve.dota2.Demo.CDemoStringTables.items_t, com.valve.dota2.Demo.CDemoStringTables.items_t.Builder, com.valve.dota2.Demo.CDemoStringTables.items_tOrBuilder> getItemsClientsideFieldBuilder() { if (itemsClientsideBuilder_ == null) { itemsClientsideBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< com.valve.dota2.Demo.CDemoStringTables.items_t, com.valve.dota2.Demo.CDemoStringTables.items_t.Builder, com.valve.dota2.Demo.CDemoStringTables.items_tOrBuilder>( itemsClientside_, ((bitField0_ & 0x00000004) == 0x00000004), getParentForChildren(), isClean()); itemsClientside_ = null; } return itemsClientsideBuilder_; } // optional int32 table_flags = 4; private int tableFlags_ ; /** * <code>optional int32 table_flags = 4;</code> */ public boolean hasTableFlags() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>optional int32 table_flags = 4;</code> */ public int getTableFlags() { return tableFlags_; } /** * <code>optional int32 table_flags = 4;</code> */ public Builder setTableFlags(int value) { bitField0_ |= 0x00000008; tableFlags_ = value; onChanged(); return this; } /** * <code>optional int32 table_flags = 4;</code> */ public Builder clearTableFlags() { bitField0_ = (bitField0_ & ~0x00000008); tableFlags_ = 0; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:CDemoStringTables.table_t) } static { defaultInstance = new table_t(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:CDemoStringTables.table_t) } // repeated .CDemoStringTables.table_t tables = 1; public static final int TABLES_FIELD_NUMBER = 1; private java.util.List<com.valve.dota2.Demo.CDemoStringTables.table_t> tables_; /** * <code>repeated .CDemoStringTables.table_t tables = 1;</code> */ public java.util.List<com.valve.dota2.Demo.CDemoStringTables.table_t> getTablesList() { return tables_; } /** * <code>repeated .CDemoStringTables.table_t tables = 1;</code> */ public java.util.List<? extends com.valve.dota2.Demo.CDemoStringTables.table_tOrBuilder> getTablesOrBuilderList() { return tables_; } /** * <code>repeated .CDemoStringTables.table_t tables = 1;</code> */ public int getTablesCount() { return tables_.size(); } /** * <code>repeated .CDemoStringTables.table_t tables = 1;</code> */ public com.valve.dota2.Demo.CDemoStringTables.table_t getTables(int index) { return tables_.get(index); } /** * <code>repeated .CDemoStringTables.table_t tables = 1;</code> */ public com.valve.dota2.Demo.CDemoStringTables.table_tOrBuilder getTablesOrBuilder( int index) { return tables_.get(index); } private void initFields() { tables_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < tables_.size(); i++) { output.writeMessage(1, tables_.get(i)); } 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 < tables_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, tables_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static com.valve.dota2.Demo.CDemoStringTables parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CDemoStringTables parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CDemoStringTables parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CDemoStringTables parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CDemoStringTables parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CDemoStringTables parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CDemoStringTables parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.valve.dota2.Demo.CDemoStringTables parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CDemoStringTables parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CDemoStringTables 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(com.valve.dota2.Demo.CDemoStringTables 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 CDemoStringTables} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements com.valve.dota2.Demo.CDemoStringTablesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.valve.dota2.Demo.internal_static_CDemoStringTables_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CDemoStringTables_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CDemoStringTables.class, com.valve.dota2.Demo.CDemoStringTables.Builder.class); } // Construct using com.valve.dota2.Demo.CDemoStringTables.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getTablesFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (tablesBuilder_ == null) { tables_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { tablesBuilder_.clear(); } return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.valve.dota2.Demo.internal_static_CDemoStringTables_descriptor; } public com.valve.dota2.Demo.CDemoStringTables getDefaultInstanceForType() { return com.valve.dota2.Demo.CDemoStringTables.getDefaultInstance(); } public com.valve.dota2.Demo.CDemoStringTables build() { com.valve.dota2.Demo.CDemoStringTables result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.valve.dota2.Demo.CDemoStringTables buildPartial() { com.valve.dota2.Demo.CDemoStringTables result = new com.valve.dota2.Demo.CDemoStringTables(this); int from_bitField0_ = bitField0_; if (tablesBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { tables_ = java.util.Collections.unmodifiableList(tables_); bitField0_ = (bitField0_ & ~0x00000001); } result.tables_ = tables_; } else { result.tables_ = tablesBuilder_.build(); } onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.valve.dota2.Demo.CDemoStringTables) { return mergeFrom((com.valve.dota2.Demo.CDemoStringTables)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.valve.dota2.Demo.CDemoStringTables other) { if (other == com.valve.dota2.Demo.CDemoStringTables.getDefaultInstance()) return this; if (tablesBuilder_ == null) { if (!other.tables_.isEmpty()) { if (tables_.isEmpty()) { tables_ = other.tables_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTablesIsMutable(); tables_.addAll(other.tables_); } onChanged(); } } else { if (!other.tables_.isEmpty()) { if (tablesBuilder_.isEmpty()) { tablesBuilder_.dispose(); tablesBuilder_ = null; tables_ = other.tables_; bitField0_ = (bitField0_ & ~0x00000001); tablesBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getTablesFieldBuilder() : null; } else { tablesBuilder_.addAllMessages(other.tables_); } } } 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 { com.valve.dota2.Demo.CDemoStringTables parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.valve.dota2.Demo.CDemoStringTables) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // repeated .CDemoStringTables.table_t tables = 1; private java.util.List<com.valve.dota2.Demo.CDemoStringTables.table_t> tables_ = java.util.Collections.emptyList(); private void ensureTablesIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { tables_ = new java.util.ArrayList<com.valve.dota2.Demo.CDemoStringTables.table_t>(tables_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< com.valve.dota2.Demo.CDemoStringTables.table_t, com.valve.dota2.Demo.CDemoStringTables.table_t.Builder, com.valve.dota2.Demo.CDemoStringTables.table_tOrBuilder> tablesBuilder_; /** * <code>repeated .CDemoStringTables.table_t tables = 1;</code> */ public java.util.List<com.valve.dota2.Demo.CDemoStringTables.table_t> getTablesList() { if (tablesBuilder_ == null) { return java.util.Collections.unmodifiableList(tables_); } else { return tablesBuilder_.getMessageList(); } } /** * <code>repeated .CDemoStringTables.table_t tables = 1;</code> */ public int getTablesCount() { if (tablesBuilder_ == null) { return tables_.size(); } else { return tablesBuilder_.getCount(); } } /** * <code>repeated .CDemoStringTables.table_t tables = 1;</code> */ public com.valve.dota2.Demo.CDemoStringTables.table_t getTables(int index) { if (tablesBuilder_ == null) { return tables_.get(index); } else { return tablesBuilder_.getMessage(index); } } /** * <code>repeated .CDemoStringTables.table_t tables = 1;</code> */ public Builder setTables( int index, com.valve.dota2.Demo.CDemoStringTables.table_t value) { if (tablesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTablesIsMutable(); tables_.set(index, value); onChanged(); } else { tablesBuilder_.setMessage(index, value); } return this; } /** * <code>repeated .CDemoStringTables.table_t tables = 1;</code> */ public Builder setTables( int index, com.valve.dota2.Demo.CDemoStringTables.table_t.Builder builderForValue) { if (tablesBuilder_ == null) { ensureTablesIsMutable(); tables_.set(index, builderForValue.build()); onChanged(); } else { tablesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .CDemoStringTables.table_t tables = 1;</code> */ public Builder addTables(com.valve.dota2.Demo.CDemoStringTables.table_t value) { if (tablesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTablesIsMutable(); tables_.add(value); onChanged(); } else { tablesBuilder_.addMessage(value); } return this; } /** * <code>repeated .CDemoStringTables.table_t tables = 1;</code> */ public Builder addTables( int index, com.valve.dota2.Demo.CDemoStringTables.table_t value) { if (tablesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTablesIsMutable(); tables_.add(index, value); onChanged(); } else { tablesBuilder_.addMessage(index, value); } return this; } /** * <code>repeated .CDemoStringTables.table_t tables = 1;</code> */ public Builder addTables( com.valve.dota2.Demo.CDemoStringTables.table_t.Builder builderForValue) { if (tablesBuilder_ == null) { ensureTablesIsMutable(); tables_.add(builderForValue.build()); onChanged(); } else { tablesBuilder_.addMessage(builderForValue.build()); } return this; } /** * <code>repeated .CDemoStringTables.table_t tables = 1;</code> */ public Builder addTables( int index, com.valve.dota2.Demo.CDemoStringTables.table_t.Builder builderForValue) { if (tablesBuilder_ == null) { ensureTablesIsMutable(); tables_.add(index, builderForValue.build()); onChanged(); } else { tablesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .CDemoStringTables.table_t tables = 1;</code> */ public Builder addAllTables( java.lang.Iterable<? extends com.valve.dota2.Demo.CDemoStringTables.table_t> values) { if (tablesBuilder_ == null) { ensureTablesIsMutable(); super.addAll(values, tables_); onChanged(); } else { tablesBuilder_.addAllMessages(values); } return this; } /** * <code>repeated .CDemoStringTables.table_t tables = 1;</code> */ public Builder clearTables() { if (tablesBuilder_ == null) { tables_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { tablesBuilder_.clear(); } return this; } /** * <code>repeated .CDemoStringTables.table_t tables = 1;</code> */ public Builder removeTables(int index) { if (tablesBuilder_ == null) { ensureTablesIsMutable(); tables_.remove(index); onChanged(); } else { tablesBuilder_.remove(index); } return this; } /** * <code>repeated .CDemoStringTables.table_t tables = 1;</code> */ public com.valve.dota2.Demo.CDemoStringTables.table_t.Builder getTablesBuilder( int index) { return getTablesFieldBuilder().getBuilder(index); } /** * <code>repeated .CDemoStringTables.table_t tables = 1;</code> */ public com.valve.dota2.Demo.CDemoStringTables.table_tOrBuilder getTablesOrBuilder( int index) { if (tablesBuilder_ == null) { return tables_.get(index); } else { return tablesBuilder_.getMessageOrBuilder(index); } } /** * <code>repeated .CDemoStringTables.table_t tables = 1;</code> */ public java.util.List<? extends com.valve.dota2.Demo.CDemoStringTables.table_tOrBuilder> getTablesOrBuilderList() { if (tablesBuilder_ != null) { return tablesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(tables_); } } /** * <code>repeated .CDemoStringTables.table_t tables = 1;</code> */ public com.valve.dota2.Demo.CDemoStringTables.table_t.Builder addTablesBuilder() { return getTablesFieldBuilder().addBuilder( com.valve.dota2.Demo.CDemoStringTables.table_t.getDefaultInstance()); } /** * <code>repeated .CDemoStringTables.table_t tables = 1;</code> */ public com.valve.dota2.Demo.CDemoStringTables.table_t.Builder addTablesBuilder( int index) { return getTablesFieldBuilder().addBuilder( index, com.valve.dota2.Demo.CDemoStringTables.table_t.getDefaultInstance()); } /** * <code>repeated .CDemoStringTables.table_t tables = 1;</code> */ public java.util.List<com.valve.dota2.Demo.CDemoStringTables.table_t.Builder> getTablesBuilderList() { return getTablesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< com.valve.dota2.Demo.CDemoStringTables.table_t, com.valve.dota2.Demo.CDemoStringTables.table_t.Builder, com.valve.dota2.Demo.CDemoStringTables.table_tOrBuilder> getTablesFieldBuilder() { if (tablesBuilder_ == null) { tablesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< com.valve.dota2.Demo.CDemoStringTables.table_t, com.valve.dota2.Demo.CDemoStringTables.table_t.Builder, com.valve.dota2.Demo.CDemoStringTables.table_tOrBuilder>( tables_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); tables_ = null; } return tablesBuilder_; } // @@protoc_insertion_point(builder_scope:CDemoStringTables) } static { defaultInstance = new CDemoStringTables(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:CDemoStringTables) } public interface CDemoStopOrBuilder extends com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code CDemoStop} */ public static final class CDemoStop extends com.google.protobuf.GeneratedMessage implements CDemoStopOrBuilder { // Use CDemoStop.newBuilder() to construct. private CDemoStop(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private CDemoStop(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final CDemoStop defaultInstance; public static CDemoStop getDefaultInstance() { return defaultInstance; } public CDemoStop getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CDemoStop( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.valve.dota2.Demo.internal_static_CDemoStop_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CDemoStop_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CDemoStop.class, com.valve.dota2.Demo.CDemoStop.Builder.class); } public static com.google.protobuf.Parser<CDemoStop> PARSER = new com.google.protobuf.AbstractParser<CDemoStop>() { public CDemoStop parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CDemoStop(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<CDemoStop> getParserForType() { return PARSER; } private void initFields() { } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static com.valve.dota2.Demo.CDemoStop parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CDemoStop parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CDemoStop parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CDemoStop parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CDemoStop parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CDemoStop parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CDemoStop parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.valve.dota2.Demo.CDemoStop parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CDemoStop parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CDemoStop 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(com.valve.dota2.Demo.CDemoStop 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 CDemoStop} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements com.valve.dota2.Demo.CDemoStopOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.valve.dota2.Demo.internal_static_CDemoStop_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CDemoStop_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CDemoStop.class, com.valve.dota2.Demo.CDemoStop.Builder.class); } // Construct using com.valve.dota2.Demo.CDemoStop.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.valve.dota2.Demo.internal_static_CDemoStop_descriptor; } public com.valve.dota2.Demo.CDemoStop getDefaultInstanceForType() { return com.valve.dota2.Demo.CDemoStop.getDefaultInstance(); } public com.valve.dota2.Demo.CDemoStop build() { com.valve.dota2.Demo.CDemoStop result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.valve.dota2.Demo.CDemoStop buildPartial() { com.valve.dota2.Demo.CDemoStop result = new com.valve.dota2.Demo.CDemoStop(this); onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.valve.dota2.Demo.CDemoStop) { return mergeFrom((com.valve.dota2.Demo.CDemoStop)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.valve.dota2.Demo.CDemoStop other) { if (other == com.valve.dota2.Demo.CDemoStop.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.valve.dota2.Demo.CDemoStop parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.valve.dota2.Demo.CDemoStop) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } // @@protoc_insertion_point(builder_scope:CDemoStop) } static { defaultInstance = new CDemoStop(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:CDemoStop) } public interface CDemoUserCmdOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional int32 cmd_number = 1; /** * <code>optional int32 cmd_number = 1;</code> */ boolean hasCmdNumber(); /** * <code>optional int32 cmd_number = 1;</code> */ int getCmdNumber(); // optional bytes data = 2; /** * <code>optional bytes data = 2;</code> */ boolean hasData(); /** * <code>optional bytes data = 2;</code> */ com.google.protobuf.ByteString getData(); } /** * Protobuf type {@code CDemoUserCmd} */ public static final class CDemoUserCmd extends com.google.protobuf.GeneratedMessage implements CDemoUserCmdOrBuilder { // Use CDemoUserCmd.newBuilder() to construct. private CDemoUserCmd(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private CDemoUserCmd(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final CDemoUserCmd defaultInstance; public static CDemoUserCmd getDefaultInstance() { return defaultInstance; } public CDemoUserCmd getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CDemoUserCmd( 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; cmdNumber_ = input.readInt32(); break; } case 18: { bitField0_ |= 0x00000002; data_ = input.readBytes(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.valve.dota2.Demo.internal_static_CDemoUserCmd_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CDemoUserCmd_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CDemoUserCmd.class, com.valve.dota2.Demo.CDemoUserCmd.Builder.class); } public static com.google.protobuf.Parser<CDemoUserCmd> PARSER = new com.google.protobuf.AbstractParser<CDemoUserCmd>() { public CDemoUserCmd parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CDemoUserCmd(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<CDemoUserCmd> getParserForType() { return PARSER; } private int bitField0_; // optional int32 cmd_number = 1; public static final int CMD_NUMBER_FIELD_NUMBER = 1; private int cmdNumber_; /** * <code>optional int32 cmd_number = 1;</code> */ public boolean hasCmdNumber() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int32 cmd_number = 1;</code> */ public int getCmdNumber() { return cmdNumber_; } // optional bytes data = 2; public static final int DATA_FIELD_NUMBER = 2; private com.google.protobuf.ByteString data_; /** * <code>optional bytes data = 2;</code> */ public boolean hasData() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional bytes data = 2;</code> */ public com.google.protobuf.ByteString getData() { return data_; } private void initFields() { cmdNumber_ = 0; data_ = com.google.protobuf.ByteString.EMPTY; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, cmdNumber_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, data_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, cmdNumber_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, data_); } 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 com.valve.dota2.Demo.CDemoUserCmd parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CDemoUserCmd parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CDemoUserCmd parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.valve.dota2.Demo.CDemoUserCmd parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.valve.dota2.Demo.CDemoUserCmd parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CDemoUserCmd parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CDemoUserCmd parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.valve.dota2.Demo.CDemoUserCmd parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.valve.dota2.Demo.CDemoUserCmd parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.valve.dota2.Demo.CDemoUserCmd 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(com.valve.dota2.Demo.CDemoUserCmd 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 CDemoUserCmd} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements com.valve.dota2.Demo.CDemoUserCmdOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.valve.dota2.Demo.internal_static_CDemoUserCmd_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.valve.dota2.Demo.internal_static_CDemoUserCmd_fieldAccessorTable .ensureFieldAccessorsInitialized( com.valve.dota2.Demo.CDemoUserCmd.class, com.valve.dota2.Demo.CDemoUserCmd.Builder.class); } // Construct using com.valve.dota2.Demo.CDemoUserCmd.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(); cmdNumber_ = 0; bitField0_ = (bitField0_ & ~0x00000001); data_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.valve.dota2.Demo.internal_static_CDemoUserCmd_descriptor; } public com.valve.dota2.Demo.CDemoUserCmd getDefaultInstanceForType() { return com.valve.dota2.Demo.CDemoUserCmd.getDefaultInstance(); } public com.valve.dota2.Demo.CDemoUserCmd build() { com.valve.dota2.Demo.CDemoUserCmd result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.valve.dota2.Demo.CDemoUserCmd buildPartial() { com.valve.dota2.Demo.CDemoUserCmd result = new com.valve.dota2.Demo.CDemoUserCmd(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.cmdNumber_ = cmdNumber_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.data_ = data_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.valve.dota2.Demo.CDemoUserCmd) { return mergeFrom((com.valve.dota2.Demo.CDemoUserCmd)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.valve.dota2.Demo.CDemoUserCmd other) { if (other == com.valve.dota2.Demo.CDemoUserCmd.getDefaultInstance()) return this; if (other.hasCmdNumber()) { setCmdNumber(other.getCmdNumber()); } if (other.hasData()) { setData(other.getData()); } 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 { com.valve.dota2.Demo.CDemoUserCmd parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.valve.dota2.Demo.CDemoUserCmd) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional int32 cmd_number = 1; private int cmdNumber_ ; /** * <code>optional int32 cmd_number = 1;</code> */ public boolean hasCmdNumber() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int32 cmd_number = 1;</code> */ public int getCmdNumber() { return cmdNumber_; } /** * <code>optional int32 cmd_number = 1;</code> */ public Builder setCmdNumber(int value) { bitField0_ |= 0x00000001; cmdNumber_ = value; onChanged(); return this; } /** * <code>optional int32 cmd_number = 1;</code> */ public Builder clearCmdNumber() { bitField0_ = (bitField0_ & ~0x00000001); cmdNumber_ = 0; onChanged(); return this; } // optional bytes data = 2; private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** * <code>optional bytes data = 2;</code> */ public boolean hasData() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional bytes data = 2;</code> */ public com.google.protobuf.ByteString getData() { return data_; } /** * <code>optional bytes data = 2;</code> */ public Builder setData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; data_ = value; onChanged(); return this; } /** * <code>optional bytes data = 2;</code> */ public Builder clearData() { bitField0_ = (bitField0_ & ~0x00000002); data_ = getDefaultInstance().getData(); onChanged(); return this; } // @@protoc_insertion_point(builder_scope:CDemoUserCmd) } static { defaultInstance = new CDemoUserCmd(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:CDemoUserCmd) } private static com.google.protobuf.Descriptors.Descriptor internal_static_CDemoFileHeader_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_CDemoFileHeader_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_CGameInfo_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_CGameInfo_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_CGameInfo_CDotaGameInfo_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_CGameInfo_CDotaGameInfo_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_CGameInfo_CDotaGameInfo_CPlayerInfo_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_CGameInfo_CDotaGameInfo_CPlayerInfo_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_CGameInfo_CDotaGameInfo_CHeroSelectEvent_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_CGameInfo_CDotaGameInfo_CHeroSelectEvent_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_CDemoFileInfo_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_CDemoFileInfo_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_CDemoPacket_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_CDemoPacket_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_CDemoFullPacket_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_CDemoFullPacket_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_CDemoSaveGame_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_CDemoSaveGame_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_CDemoSyncTick_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_CDemoSyncTick_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_CDemoConsoleCmd_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_CDemoConsoleCmd_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_CDemoSendTables_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_CDemoSendTables_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_CDemoClassInfo_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_CDemoClassInfo_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_CDemoClassInfo_class_t_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_CDemoClassInfo_class_t_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_CDemoCustomData_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_CDemoCustomData_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_CDemoCustomDataCallbacks_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_CDemoCustomDataCallbacks_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_CDemoStringTables_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_CDemoStringTables_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_CDemoStringTables_items_t_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_CDemoStringTables_items_t_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_CDemoStringTables_table_t_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_CDemoStringTables_table_t_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_CDemoStop_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_CDemoStop_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_CDemoUserCmd_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_CDemoUserCmd_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\ndemo.proto\032 google/protobuf/descriptor" + ".proto\"\374\001\n\017CDemoFileHeader\022\027\n\017demo_file_" + "stamp\030\001 \002(\t\022\030\n\020network_protocol\030\002 \001(\005\022\023\n" + "\013server_name\030\003 \001(\t\022\023\n\013client_name\030\004 \001(\t\022" + "\020\n\010map_name\030\005 \001(\t\022\026\n\016game_directory\030\006 \001(" + "\t\022\033\n\023fullpackets_version\030\007 \001(\005\022!\n\031allow_" + "clientside_entities\030\010 \001(\010\022\"\n\032allow_clien" + "tside_particles\030\t \001(\010\"\264\004\n\tCGameInfo\022&\n\004d" + "ota\030\004 \001(\0132\030.CGameInfo.CDotaGameInfo\032\376\003\n\r" + "CDotaGameInfo\022\020\n\010match_id\030\001 \001(\r\022\021\n\tgame_", "mode\030\002 \001(\005\022\023\n\013game_winner\030\003 \001(\005\0229\n\013playe" + "r_info\030\004 \003(\0132$.CGameInfo.CDotaGameInfo.C" + "PlayerInfo\022\020\n\010leagueid\030\005 \001(\r\022=\n\npicks_ba" + "ns\030\006 \003(\0132).CGameInfo.CDotaGameInfo.CHero" + "SelectEvent\022\027\n\017radiant_team_id\030\007 \001(\r\022\024\n\014" + "dire_team_id\030\010 \001(\r\022\030\n\020radiant_team_tag\030\t" + " \001(\t\022\025\n\rdire_team_tag\030\n \001(\t\022\020\n\010end_time\030" + "\013 \001(\r\032q\n\013CPlayerInfo\022\021\n\thero_name\030\001 \001(\t\022" + "\023\n\013player_name\030\002 \001(\t\022\026\n\016is_fake_client\030\003" + " \001(\010\022\017\n\007steamid\030\004 \001(\004\022\021\n\tgame_team\030\005 \001(\005", "\032B\n\020CHeroSelectEvent\022\017\n\007is_pick\030\001 \001(\010\022\014\n" + "\004team\030\002 \001(\r\022\017\n\007hero_id\030\003 \001(\r\"v\n\rCDemoFil" + "eInfo\022\025\n\rplayback_time\030\001 \001(\002\022\026\n\016playback" + "_ticks\030\002 \001(\005\022\027\n\017playback_frames\030\003 \001(\005\022\035\n" + "\tgame_info\030\004 \001(\0132\n.CGameInfo\"J\n\013CDemoPac" + "ket\022\023\n\013sequence_in\030\001 \001(\005\022\030\n\020sequence_out" + "_ack\030\002 \001(\005\022\014\n\004data\030\003 \001(\014\"Y\n\017CDemoFullPac" + "ket\022(\n\014string_table\030\001 \001(\0132\022.CDemoStringT" + "ables\022\034\n\006packet\030\002 \001(\0132\014.CDemoPacket\"S\n\rC" + "DemoSaveGame\022\014\n\004data\030\001 \001(\014\022\020\n\010steam_id\030\002", " \001(\006\022\021\n\tsignature\030\003 \001(\006\022\017\n\007version\030\004 \001(\005" + "\"\017\n\rCDemoSyncTick\"$\n\017CDemoConsoleCmd\022\021\n\t" + "cmdstring\030\001 \001(\t\"\037\n\017CDemoSendTables\022\014\n\004da" + "ta\030\001 \001(\014\"\201\001\n\016CDemoClassInfo\022(\n\007classes\030\001" + " \003(\0132\027.CDemoClassInfo.class_t\032E\n\007class_t" + "\022\020\n\010class_id\030\001 \001(\005\022\024\n\014network_name\030\002 \001(\t" + "\022\022\n\ntable_name\030\003 \001(\t\"7\n\017CDemoCustomData\022" + "\026\n\016callback_index\030\001 \001(\005\022\014\n\004data\030\002 \001(\014\"+\n" + "\030CDemoCustomDataCallbacks\022\017\n\007save_id\030\001 \003" + "(\t\"\373\001\n\021CDemoStringTables\022*\n\006tables\030\001 \003(\013", "2\032.CDemoStringTables.table_t\032$\n\007items_t\022" + "\013\n\003str\030\001 \001(\t\022\014\n\004data\030\002 \001(\014\032\223\001\n\007table_t\022\022" + "\n\ntable_name\030\001 \001(\t\022)\n\005items\030\002 \003(\0132\032.CDem" + "oStringTables.items_t\0224\n\020items_clientsid" + "e\030\003 \003(\0132\032.CDemoStringTables.items_t\022\023\n\013t" + "able_flags\030\004 \001(\005\"\013\n\tCDemoStop\"0\n\014CDemoUs" + "erCmd\022\022\n\ncmd_number\030\001 \001(\005\022\014\n\004data\030\002 \001(\014*" + "\357\002\n\rEDemoCommands\022\026\n\tDEM_Error\020\377\377\377\377\377\377\377\377\377" + "\001\022\014\n\010DEM_Stop\020\000\022\022\n\016DEM_FileHeader\020\001\022\020\n\014D" + "EM_FileInfo\020\002\022\020\n\014DEM_SyncTick\020\003\022\022\n\016DEM_S", "endTables\020\004\022\021\n\rDEM_ClassInfo\020\005\022\024\n\020DEM_St" + "ringTables\020\006\022\016\n\nDEM_Packet\020\007\022\024\n\020DEM_Sign" + "onPacket\020\010\022\022\n\016DEM_ConsoleCmd\020\t\022\022\n\016DEM_Cu" + "stomData\020\n\022\033\n\027DEM_CustomDataCallbacks\020\013\022" + "\017\n\013DEM_UserCmd\020\014\022\022\n\016DEM_FullPacket\020\r\022\020\n\014" + "DEM_SaveGame\020\016\022\013\n\007DEM_Max\020\017\022\024\n\020DEM_IsCom" + "pressed\020pB\021\n\017com.valve.dota2" }; 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; internal_static_CDemoFileHeader_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_CDemoFileHeader_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_CDemoFileHeader_descriptor, new java.lang.String[] { "DemoFileStamp", "NetworkProtocol", "ServerName", "ClientName", "MapName", "GameDirectory", "FullpacketsVersion", "AllowClientsideEntities", "AllowClientsideParticles", }); internal_static_CGameInfo_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_CGameInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_CGameInfo_descriptor, new java.lang.String[] { "Dota", }); internal_static_CGameInfo_CDotaGameInfo_descriptor = internal_static_CGameInfo_descriptor.getNestedTypes().get(0); internal_static_CGameInfo_CDotaGameInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_CGameInfo_CDotaGameInfo_descriptor, new java.lang.String[] { "MatchId", "GameMode", "GameWinner", "PlayerInfo", "Leagueid", "PicksBans", "RadiantTeamId", "DireTeamId", "RadiantTeamTag", "DireTeamTag", "EndTime", }); internal_static_CGameInfo_CDotaGameInfo_CPlayerInfo_descriptor = internal_static_CGameInfo_CDotaGameInfo_descriptor.getNestedTypes().get(0); internal_static_CGameInfo_CDotaGameInfo_CPlayerInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_CGameInfo_CDotaGameInfo_CPlayerInfo_descriptor, new java.lang.String[] { "HeroName", "PlayerName", "IsFakeClient", "Steamid", "GameTeam", }); internal_static_CGameInfo_CDotaGameInfo_CHeroSelectEvent_descriptor = internal_static_CGameInfo_CDotaGameInfo_descriptor.getNestedTypes().get(1); internal_static_CGameInfo_CDotaGameInfo_CHeroSelectEvent_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_CGameInfo_CDotaGameInfo_CHeroSelectEvent_descriptor, new java.lang.String[] { "IsPick", "Team", "HeroId", }); internal_static_CDemoFileInfo_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_CDemoFileInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_CDemoFileInfo_descriptor, new java.lang.String[] { "PlaybackTime", "PlaybackTicks", "PlaybackFrames", "GameInfo", }); internal_static_CDemoPacket_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_CDemoPacket_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_CDemoPacket_descriptor, new java.lang.String[] { "SequenceIn", "SequenceOutAck", "Data", }); internal_static_CDemoFullPacket_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_CDemoFullPacket_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_CDemoFullPacket_descriptor, new java.lang.String[] { "StringTable", "Packet", }); internal_static_CDemoSaveGame_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_CDemoSaveGame_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_CDemoSaveGame_descriptor, new java.lang.String[] { "Data", "SteamId", "Signature", "Version", }); internal_static_CDemoSyncTick_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_CDemoSyncTick_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_CDemoSyncTick_descriptor, new java.lang.String[] { }); internal_static_CDemoConsoleCmd_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_CDemoConsoleCmd_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_CDemoConsoleCmd_descriptor, new java.lang.String[] { "Cmdstring", }); internal_static_CDemoSendTables_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_CDemoSendTables_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_CDemoSendTables_descriptor, new java.lang.String[] { "Data", }); internal_static_CDemoClassInfo_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_CDemoClassInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_CDemoClassInfo_descriptor, new java.lang.String[] { "Classes", }); internal_static_CDemoClassInfo_class_t_descriptor = internal_static_CDemoClassInfo_descriptor.getNestedTypes().get(0); internal_static_CDemoClassInfo_class_t_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_CDemoClassInfo_class_t_descriptor, new java.lang.String[] { "ClassId", "NetworkName", "TableName", }); internal_static_CDemoCustomData_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_CDemoCustomData_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_CDemoCustomData_descriptor, new java.lang.String[] { "CallbackIndex", "Data", }); internal_static_CDemoCustomDataCallbacks_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_CDemoCustomDataCallbacks_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_CDemoCustomDataCallbacks_descriptor, new java.lang.String[] { "SaveId", }); internal_static_CDemoStringTables_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_CDemoStringTables_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_CDemoStringTables_descriptor, new java.lang.String[] { "Tables", }); internal_static_CDemoStringTables_items_t_descriptor = internal_static_CDemoStringTables_descriptor.getNestedTypes().get(0); internal_static_CDemoStringTables_items_t_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_CDemoStringTables_items_t_descriptor, new java.lang.String[] { "Str", "Data", }); internal_static_CDemoStringTables_table_t_descriptor = internal_static_CDemoStringTables_descriptor.getNestedTypes().get(1); internal_static_CDemoStringTables_table_t_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_CDemoStringTables_table_t_descriptor, new java.lang.String[] { "TableName", "Items", "ItemsClientside", "TableFlags", }); internal_static_CDemoStop_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_CDemoStop_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_CDemoStop_descriptor, new java.lang.String[] { }); internal_static_CDemoUserCmd_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_CDemoUserCmd_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_CDemoUserCmd_descriptor, new java.lang.String[] { "CmdNumber", "Data", }); return null; } }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.protobuf.DescriptorProtos.getDescriptor(), }, assigner); } // @@protoc_insertion_point(outer_class_scope) }