build.gradle0100644 0000000 0000000 00000000267 13017773346 012104 0ustar000000000 0000000 subprojects { Project project -> // only configure leaf projects. if (!project.getSubprojects().isEmpty()) return apply from: "$rootDir/buildSrc/base/baseJava.gradle" } inspector/0040755 0000000 0000000 00000000000 13017773346 011631 5ustar000000000 0000000 inspector/NOTICE0100644 0000000 0000000 00000024707 13017773346 012544 0ustar000000000 0000000 Copyright (c) 2005-2016, The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS inspector/README.txt0100644 0000000 0000000 00000000107 13017773346 013322 0ustar000000000 0000000 inspector.jar contains tools for debugging usage tracking spool files. inspector/analytics-inspector.iml0100644 0000000 0000000 00000002256 13017773346 016331 0ustar000000000 0000000 inspector/build.gradle0100644 0000000 0000000 00000001472 13017773346 014111 0ustar000000000 0000000 apply plugin: 'java' apply plugin: 'jacoco' dependencies { compile project(':base:annotations') compile project(':analytics-library:protos') compile project(':analytics-library:shared') compile 'com.google.protobuf:protobuf-java:2.5.0' compile 'com.google.guava:guava:17.0' testCompile project(':base:testutils') testCompile 'junit:junit:4.12' testCompile 'com.google.truth:truth:0.28' } group = 'com.android.tools.analytics-library' archivesBaseName = 'inspector' version = rootProject.ext.baseVersion project.ext.pomName = 'Android Tools Analytics Inspector' project.ext.pomDesc = 'Tool for debugging usage analytics spool files.' apply from: "$rootDir/buildSrc/base/publish.gradle" apply from: "$rootDir/buildSrc/base/bintray.gradle" apply from: "$rootDir/buildSrc/base/javadoc.gradle" inspector/src/0040755 0000000 0000000 00000000000 13017773346 012420 5ustar000000000 0000000 inspector/src/main/0040755 0000000 0000000 00000000000 13017773346 013344 5ustar000000000 0000000 inspector/src/main/java/0040755 0000000 0000000 00000000000 13017773346 014265 5ustar000000000 0000000 inspector/src/main/java/com/0040755 0000000 0000000 00000000000 13017773346 015043 5ustar000000000 0000000 inspector/src/main/java/com/android/0040755 0000000 0000000 00000000000 13017773346 016463 5ustar000000000 0000000 inspector/src/main/java/com/android/tools/0040755 0000000 0000000 00000000000 13017773346 017623 5ustar000000000 0000000 inspector/src/main/java/com/android/tools/analytics/0040755 0000000 0000000 00000000000 13017773346 021612 5ustar000000000 0000000 inspector/src/main/java/com/android/tools/analytics/AnalyticsInspector.java0100644 0000000 0000000 00000005306 13017773346 026274 0ustar000000000 0000000 /* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.tools.analytics; import com.google.wireless.android.play.playlog.proto.ClientAnalytics; import com.google.wireless.android.sdk.stats.AndroidStudioStats; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.RandomAccessFile; import java.nio.channels.Channels; import java.nio.channels.FileChannel; import java.nio.file.DirectoryStream; import java.nio.file.Files; import java.nio.file.Path; /** Tool to inspect the contents of .trk files used for usage analytics reporting. */ public class AnalyticsInspector { public static void main(String[] args) throws IOException { if (args.length != 1) { System.err.println("Usage: AnalyticsInspector <.trk-file>"); System.exit(1); } // This logic allows specifying wildcards and ~ in paths w/o using the shell // (so it can be launched from within the IDE). Path pattern = new File(args[0].replace("~", System.getProperty("user.home"))).toPath(); try (DirectoryStream stream = Files.newDirectoryStream(pattern.getParent(), pattern.getFileName().toString())) { for (Path path : stream) { System.out.println(path.toString()); System.out.println("==="); try (FileChannel channel = new RandomAccessFile(path.toFile(), "rw").getChannel()) { InputStream inputStream = Channels.newInputStream(channel); ClientAnalytics.LogEvent event = null; // read all LogEvents from the trackFile. while ((event = ClientAnalytics.LogEvent.parseDelimitedFrom(inputStream)) != null) { AndroidStudioStats.AndroidStudioEvent studioEvent = AndroidStudioStats.AndroidStudioEvent.parseFrom( event.getSourceExtension()); System.out.println(studioEvent); System.out.println("---"); } } } } } } protos/0040755 0000000 0000000 00000000000 13017773346 011151 5ustar000000000 0000000 protos/NOTICE0100644 0000000 0000000 00000024707 13017773346 012064 0ustar000000000 0000000 Copyright (c) 2005-2016, The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS protos/README.txt0100644 0000000 0000000 00000000115 13017773346 012641 0ustar000000000 0000000 tracker.jar contains tools for reporting usage tracking analytics to Google. protos/analytics-protos.iml0100644 0000000 0000000 00000001123 13017773346 015161 0ustar000000000 0000000 protos/build.gradle0100644 0000000 0000000 00000000760 13017773346 013430 0ustar000000000 0000000 apply plugin: 'java' dependencies { compile 'com.google.protobuf:protobuf-java:2.5.0' } group = 'com.android.tools.analytics-library' archivesBaseName = 'protos' version = rootProject.ext.baseVersion project.ext.pomName = 'Android Tools Analytics Protobufs' project.ext.pomDesc = 'Library containing protobufs for usage analytics.' apply from: "$rootDir/buildSrc/base/publish.gradle" apply from: "$rootDir/buildSrc/base/bintray.gradle" apply from: "$rootDir/buildSrc/base/javadoc.gradle" protos/src/0040755 0000000 0000000 00000000000 13017773346 011740 5ustar000000000 0000000 protos/src/main/0040755 0000000 0000000 00000000000 13017773346 012664 5ustar000000000 0000000 protos/src/main/java/0040755 0000000 0000000 00000000000 13017773346 013605 5ustar000000000 0000000 protos/src/main/java/com/0040755 0000000 0000000 00000000000 13017773346 014363 5ustar000000000 0000000 protos/src/main/java/com/google/0040755 0000000 0000000 00000000000 13017773346 015637 5ustar000000000 0000000 protos/src/main/java/com/google/wireless/0040755 0000000 0000000 00000000000 13017773346 017474 5ustar000000000 0000000 protos/src/main/java/com/google/wireless/android/0040755 0000000 0000000 00000000000 13017773346 021114 5ustar000000000 0000000 protos/src/main/java/com/google/wireless/android/play/0040755 0000000 0000000 00000000000 13017773346 022061 5ustar000000000 0000000 protos/src/main/java/com/google/wireless/android/play/playlog/0040755 0000000 0000000 00000000000 13017773346 023530 5ustar000000000 0000000 protos/src/main/java/com/google/wireless/android/play/playlog/proto/0040755 0000000 0000000 00000000000 13017773346 024673 5ustar000000000 0000000 protos/src/main/java/com/google/wireless/android/play/playlog/proto/ClientAnalytics.java0100644 0000000 0000000 00006064611 13017773346 030637 0ustar000000000 0000000 // Generated by the protocol buffer compiler. DO NOT EDIT! // source: clientanalytics.proto package com.google.wireless.android.play.playlog.proto; public final class ClientAnalytics { private ClientAnalytics() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { } public interface LogEventKeyValuesOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional string key = 1; /** * optional string key = 1; */ boolean hasKey(); /** * optional string key = 1; */ java.lang.String getKey(); /** * optional string key = 1; */ com.google.protobuf.ByteString getKeyBytes(); // optional string value = 2; /** * optional string value = 2; */ boolean hasValue(); /** * optional string value = 2; */ java.lang.String getValue(); /** * optional string value = 2; */ com.google.protobuf.ByteString getValueBytes(); } /** * Protobuf type {@code wireless_android_play_playlog.LogEventKeyValues} * *
   * Semi-arbitrary key-value pairs describing the event. Common entries
   *  will be extracted into strongly typed fields in the GWS log records.
   * 
*/ public static final class LogEventKeyValues extends com.google.protobuf.GeneratedMessage implements LogEventKeyValuesOrBuilder { // Use LogEventKeyValues.newBuilder() to construct. private LogEventKeyValues(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private LogEventKeyValues(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final LogEventKeyValues defaultInstance; public static LogEventKeyValues getDefaultInstance() { return defaultInstance; } public LogEventKeyValues getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private LogEventKeyValues( 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; key_ = input.readBytes(); break; } case 18: { bitField0_ |= 0x00000002; value_ = 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.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_LogEventKeyValues_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_LogEventKeyValues_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public LogEventKeyValues parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new LogEventKeyValues(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional string key = 1; public static final int KEY_FIELD_NUMBER = 1; private java.lang.Object key_; /** * optional string key = 1; */ public boolean hasKey() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string key = 1; */ public java.lang.String getKey() { java.lang.Object ref = key_; 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()) { key_ = s; } return s; } } /** * optional string key = 1; */ public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); key_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string value = 2; public static final int VALUE_FIELD_NUMBER = 2; private java.lang.Object value_; /** * optional string value = 2; */ public boolean hasValue() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string value = 2; */ public java.lang.String getValue() { java.lang.Object ref = value_; 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()) { value_ = s; } return s; } } /** * optional string value = 2; */ public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); value_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { key_ = ""; value_ = ""; } 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, getKeyBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getValueBytes()); } 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, getKeyBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getValueBytes()); } 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.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues 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.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues 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 wireless_android_play_playlog.LogEventKeyValues} * *
     * Semi-arbitrary key-value pairs describing the event. Common entries
     *  will be extracted into strongly typed fields in the GWS log records.
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValuesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_LogEventKeyValues_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_LogEventKeyValues_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues.Builder.class); } // Construct using com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues.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(); key_ = ""; bitField0_ = (bitField0_ & ~0x00000001); value_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_LogEventKeyValues_descriptor; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues getDefaultInstanceForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues.getDefaultInstance(); } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues build() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues buildPartial() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues result = new com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.key_ = key_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.value_ = value_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues) { return mergeFrom((com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues other) { if (other == com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues.getDefaultInstance()) return this; if (other.hasKey()) { bitField0_ |= 0x00000001; key_ = other.key_; onChanged(); } if (other.hasValue()) { bitField0_ |= 0x00000002; value_ = other.value_; 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.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional string key = 1; private java.lang.Object key_ = ""; /** * optional string key = 1; */ public boolean hasKey() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string key = 1; */ public java.lang.String getKey() { java.lang.Object ref = key_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); key_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string key = 1; */ public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); key_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string key = 1; */ public Builder setKey( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; key_ = value; onChanged(); return this; } /** * optional string key = 1; */ public Builder clearKey() { bitField0_ = (bitField0_ & ~0x00000001); key_ = getDefaultInstance().getKey(); onChanged(); return this; } /** * optional string key = 1; */ public Builder setKeyBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; key_ = value; onChanged(); return this; } // optional string value = 2; private java.lang.Object value_ = ""; /** * optional string value = 2; */ public boolean hasValue() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string value = 2; */ public java.lang.String getValue() { java.lang.Object ref = value_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); value_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string value = 2; */ public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); value_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string value = 2; */ public Builder setValue( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; value_ = value; onChanged(); return this; } /** * optional string value = 2; */ public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000002); value_ = getDefaultInstance().getValue(); onChanged(); return this; } /** * optional string value = 2; */ public Builder setValueBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; value_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:wireless_android_play_playlog.LogEventKeyValues) } static { defaultInstance = new LogEventKeyValues(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:wireless_android_play_playlog.LogEventKeyValues) } public interface ActiveExperimentsOrBuilder extends com.google.protobuf.MessageOrBuilder { // repeated string client_altering_experiment = 1; /** * repeated string client_altering_experiment = 1; * *
     * The list of IDs of client-behavior-altering experiments that are on.
     * 
*/ java.util.List getClientAlteringExperimentList(); /** * repeated string client_altering_experiment = 1; * *
     * The list of IDs of client-behavior-altering experiments that are on.
     * 
*/ int getClientAlteringExperimentCount(); /** * repeated string client_altering_experiment = 1; * *
     * The list of IDs of client-behavior-altering experiments that are on.
     * 
*/ java.lang.String getClientAlteringExperiment(int index); /** * repeated string client_altering_experiment = 1; * *
     * The list of IDs of client-behavior-altering experiments that are on.
     * 
*/ com.google.protobuf.ByteString getClientAlteringExperimentBytes(int index); // repeated string other_experiment = 2; /** * repeated string other_experiment = 2; * *
     * The list of IDs of other experiments that are on. The client must not
     *  change its behavior in response to these experiments.
     * 
*/ java.util.List getOtherExperimentList(); /** * repeated string other_experiment = 2; * *
     * The list of IDs of other experiments that are on. The client must not
     *  change its behavior in response to these experiments.
     * 
*/ int getOtherExperimentCount(); /** * repeated string other_experiment = 2; * *
     * The list of IDs of other experiments that are on. The client must not
     *  change its behavior in response to these experiments.
     * 
*/ java.lang.String getOtherExperiment(int index); /** * repeated string other_experiment = 2; * *
     * The list of IDs of other experiments that are on. The client must not
     *  change its behavior in response to these experiments.
     * 
*/ com.google.protobuf.ByteString getOtherExperimentBytes(int index); // repeated int32 gws_experiment = 3; /** * repeated int32 gws_experiment = 3; * *
     * The list of GWS experiments that are on. These are not targeted by Playlog.
     * 
*/ java.util.List getGwsExperimentList(); /** * repeated int32 gws_experiment = 3; * *
     * The list of GWS experiments that are on. These are not targeted by Playlog.
     * 
*/ int getGwsExperimentCount(); /** * repeated int32 gws_experiment = 3; * *
     * The list of GWS experiments that are on. These are not targeted by Playlog.
     * 
*/ int getGwsExperiment(int index); // repeated int64 play_experiment = 4; /** * repeated int64 play_experiment = 4; * *
     * The list of Play experiments that are enabled for this LogEvent.
     *  Includes both client-side and server-side experiments.
     * 
*/ java.util.List getPlayExperimentList(); /** * repeated int64 play_experiment = 4; * *
     * The list of Play experiments that are enabled for this LogEvent.
     *  Includes both client-side and server-side experiments.
     * 
*/ int getPlayExperimentCount(); /** * repeated int64 play_experiment = 4; * *
     * The list of Play experiments that are enabled for this LogEvent.
     *  Includes both client-side and server-side experiments.
     * 
*/ long getPlayExperiment(int index); // repeated int64 unsupported_play_experiment = 5; /** * repeated int64 unsupported_play_experiment = 5; * *
     * The list of Play experiments that were sent to the client for this LogEvent
     *  but is not recognized by the client. May include server-side experiments
     *  that were active, so correct this list in the logging service.
     * 
*/ java.util.List getUnsupportedPlayExperimentList(); /** * repeated int64 unsupported_play_experiment = 5; * *
     * The list of Play experiments that were sent to the client for this LogEvent
     *  but is not recognized by the client. May include server-side experiments
     *  that were active, so correct this list in the logging service.
     * 
*/ int getUnsupportedPlayExperimentCount(); /** * repeated int64 unsupported_play_experiment = 5; * *
     * The list of Play experiments that were sent to the client for this LogEvent
     *  but is not recognized by the client. May include server-side experiments
     *  that were active, so correct this list in the logging service.
     * 
*/ long getUnsupportedPlayExperiment(int index); } /** * Protobuf type {@code wireless_android_play_playlog.ActiveExperiments} * *
   * The set of currently active experiments for a given LogEvent.
   *
   *  Next tag: 6
   * 
*/ public static final class ActiveExperiments extends com.google.protobuf.GeneratedMessage implements ActiveExperimentsOrBuilder { // Use ActiveExperiments.newBuilder() to construct. private ActiveExperiments(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private ActiveExperiments(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final ActiveExperiments defaultInstance; public static ActiveExperiments getDefaultInstance() { return defaultInstance; } public ActiveExperiments getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ActiveExperiments( 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)) { clientAlteringExperiment_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } clientAlteringExperiment_.add(input.readBytes()); break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { otherExperiment_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000002; } otherExperiment_.add(input.readBytes()); break; } case 24: { if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { gwsExperiment_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } gwsExperiment_.add(input.readInt32()); break; } case 26: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000004) == 0x00000004) && input.getBytesUntilLimit() > 0) { gwsExperiment_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } while (input.getBytesUntilLimit() > 0) { gwsExperiment_.add(input.readInt32()); } input.popLimit(limit); break; } case 32: { if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { playExperiment_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } playExperiment_.add(input.readInt64()); break; } case 34: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000008) == 0x00000008) && input.getBytesUntilLimit() > 0) { playExperiment_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } while (input.getBytesUntilLimit() > 0) { playExperiment_.add(input.readInt64()); } input.popLimit(limit); break; } case 40: { if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { unsupportedPlayExperiment_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } unsupportedPlayExperiment_.add(input.readInt64()); break; } case 42: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000010) == 0x00000010) && input.getBytesUntilLimit() > 0) { unsupportedPlayExperiment_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } while (input.getBytesUntilLimit() > 0) { unsupportedPlayExperiment_.add(input.readInt64()); } input.popLimit(limit); 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)) { clientAlteringExperiment_ = new com.google.protobuf.UnmodifiableLazyStringList(clientAlteringExperiment_); } if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { otherExperiment_ = new com.google.protobuf.UnmodifiableLazyStringList(otherExperiment_); } if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { gwsExperiment_ = java.util.Collections.unmodifiableList(gwsExperiment_); } if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { playExperiment_ = java.util.Collections.unmodifiableList(playExperiment_); } if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) { unsupportedPlayExperiment_ = java.util.Collections.unmodifiableList(unsupportedPlayExperiment_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_ActiveExperiments_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_ActiveExperiments_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ActiveExperiments parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ActiveExperiments(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } // repeated string client_altering_experiment = 1; public static final int CLIENT_ALTERING_EXPERIMENT_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList clientAlteringExperiment_; /** * repeated string client_altering_experiment = 1; * *
     * The list of IDs of client-behavior-altering experiments that are on.
     * 
*/ public java.util.List getClientAlteringExperimentList() { return clientAlteringExperiment_; } /** * repeated string client_altering_experiment = 1; * *
     * The list of IDs of client-behavior-altering experiments that are on.
     * 
*/ public int getClientAlteringExperimentCount() { return clientAlteringExperiment_.size(); } /** * repeated string client_altering_experiment = 1; * *
     * The list of IDs of client-behavior-altering experiments that are on.
     * 
*/ public java.lang.String getClientAlteringExperiment(int index) { return clientAlteringExperiment_.get(index); } /** * repeated string client_altering_experiment = 1; * *
     * The list of IDs of client-behavior-altering experiments that are on.
     * 
*/ public com.google.protobuf.ByteString getClientAlteringExperimentBytes(int index) { return clientAlteringExperiment_.getByteString(index); } // repeated string other_experiment = 2; public static final int OTHER_EXPERIMENT_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList otherExperiment_; /** * repeated string other_experiment = 2; * *
     * The list of IDs of other experiments that are on. The client must not
     *  change its behavior in response to these experiments.
     * 
*/ public java.util.List getOtherExperimentList() { return otherExperiment_; } /** * repeated string other_experiment = 2; * *
     * The list of IDs of other experiments that are on. The client must not
     *  change its behavior in response to these experiments.
     * 
*/ public int getOtherExperimentCount() { return otherExperiment_.size(); } /** * repeated string other_experiment = 2; * *
     * The list of IDs of other experiments that are on. The client must not
     *  change its behavior in response to these experiments.
     * 
*/ public java.lang.String getOtherExperiment(int index) { return otherExperiment_.get(index); } /** * repeated string other_experiment = 2; * *
     * The list of IDs of other experiments that are on. The client must not
     *  change its behavior in response to these experiments.
     * 
*/ public com.google.protobuf.ByteString getOtherExperimentBytes(int index) { return otherExperiment_.getByteString(index); } // repeated int32 gws_experiment = 3; public static final int GWS_EXPERIMENT_FIELD_NUMBER = 3; private java.util.List gwsExperiment_; /** * repeated int32 gws_experiment = 3; * *
     * The list of GWS experiments that are on. These are not targeted by Playlog.
     * 
*/ public java.util.List getGwsExperimentList() { return gwsExperiment_; } /** * repeated int32 gws_experiment = 3; * *
     * The list of GWS experiments that are on. These are not targeted by Playlog.
     * 
*/ public int getGwsExperimentCount() { return gwsExperiment_.size(); } /** * repeated int32 gws_experiment = 3; * *
     * The list of GWS experiments that are on. These are not targeted by Playlog.
     * 
*/ public int getGwsExperiment(int index) { return gwsExperiment_.get(index); } // repeated int64 play_experiment = 4; public static final int PLAY_EXPERIMENT_FIELD_NUMBER = 4; private java.util.List playExperiment_; /** * repeated int64 play_experiment = 4; * *
     * The list of Play experiments that are enabled for this LogEvent.
     *  Includes both client-side and server-side experiments.
     * 
*/ public java.util.List getPlayExperimentList() { return playExperiment_; } /** * repeated int64 play_experiment = 4; * *
     * The list of Play experiments that are enabled for this LogEvent.
     *  Includes both client-side and server-side experiments.
     * 
*/ public int getPlayExperimentCount() { return playExperiment_.size(); } /** * repeated int64 play_experiment = 4; * *
     * The list of Play experiments that are enabled for this LogEvent.
     *  Includes both client-side and server-side experiments.
     * 
*/ public long getPlayExperiment(int index) { return playExperiment_.get(index); } // repeated int64 unsupported_play_experiment = 5; public static final int UNSUPPORTED_PLAY_EXPERIMENT_FIELD_NUMBER = 5; private java.util.List unsupportedPlayExperiment_; /** * repeated int64 unsupported_play_experiment = 5; * *
     * The list of Play experiments that were sent to the client for this LogEvent
     *  but is not recognized by the client. May include server-side experiments
     *  that were active, so correct this list in the logging service.
     * 
*/ public java.util.List getUnsupportedPlayExperimentList() { return unsupportedPlayExperiment_; } /** * repeated int64 unsupported_play_experiment = 5; * *
     * The list of Play experiments that were sent to the client for this LogEvent
     *  but is not recognized by the client. May include server-side experiments
     *  that were active, so correct this list in the logging service.
     * 
*/ public int getUnsupportedPlayExperimentCount() { return unsupportedPlayExperiment_.size(); } /** * repeated int64 unsupported_play_experiment = 5; * *
     * The list of Play experiments that were sent to the client for this LogEvent
     *  but is not recognized by the client. May include server-side experiments
     *  that were active, so correct this list in the logging service.
     * 
*/ public long getUnsupportedPlayExperiment(int index) { return unsupportedPlayExperiment_.get(index); } private void initFields() { clientAlteringExperiment_ = com.google.protobuf.LazyStringArrayList.EMPTY; otherExperiment_ = com.google.protobuf.LazyStringArrayList.EMPTY; gwsExperiment_ = java.util.Collections.emptyList(); playExperiment_ = java.util.Collections.emptyList(); unsupportedPlayExperiment_ = 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 < clientAlteringExperiment_.size(); i++) { output.writeBytes(1, clientAlteringExperiment_.getByteString(i)); } for (int i = 0; i < otherExperiment_.size(); i++) { output.writeBytes(2, otherExperiment_.getByteString(i)); } for (int i = 0; i < gwsExperiment_.size(); i++) { output.writeInt32(3, gwsExperiment_.get(i)); } for (int i = 0; i < playExperiment_.size(); i++) { output.writeInt64(4, playExperiment_.get(i)); } for (int i = 0; i < unsupportedPlayExperiment_.size(); i++) { output.writeInt64(5, unsupportedPlayExperiment_.get(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 < clientAlteringExperiment_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(clientAlteringExperiment_.getByteString(i)); } size += dataSize; size += 1 * getClientAlteringExperimentList().size(); } { int dataSize = 0; for (int i = 0; i < otherExperiment_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(otherExperiment_.getByteString(i)); } size += dataSize; size += 1 * getOtherExperimentList().size(); } { int dataSize = 0; for (int i = 0; i < gwsExperiment_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(gwsExperiment_.get(i)); } size += dataSize; size += 1 * getGwsExperimentList().size(); } { int dataSize = 0; for (int i = 0; i < playExperiment_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt64SizeNoTag(playExperiment_.get(i)); } size += dataSize; size += 1 * getPlayExperimentList().size(); } { int dataSize = 0; for (int i = 0; i < unsupportedPlayExperiment_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt64SizeNoTag(unsupportedPlayExperiment_.get(i)); } size += dataSize; size += 1 * getUnsupportedPlayExperimentList().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.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments 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.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments 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 wireless_android_play_playlog.ActiveExperiments} * *
     * The set of currently active experiments for a given LogEvent.
     *
     *  Next tag: 6
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperimentsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_ActiveExperiments_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_ActiveExperiments_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments.Builder.class); } // Construct using com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments.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(); clientAlteringExperiment_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); otherExperiment_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); gwsExperiment_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); playExperiment_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); unsupportedPlayExperiment_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_ActiveExperiments_descriptor; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments getDefaultInstanceForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments.getDefaultInstance(); } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments build() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments buildPartial() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments result = new com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) == 0x00000001)) { clientAlteringExperiment_ = new com.google.protobuf.UnmodifiableLazyStringList( clientAlteringExperiment_); bitField0_ = (bitField0_ & ~0x00000001); } result.clientAlteringExperiment_ = clientAlteringExperiment_; if (((bitField0_ & 0x00000002) == 0x00000002)) { otherExperiment_ = new com.google.protobuf.UnmodifiableLazyStringList( otherExperiment_); bitField0_ = (bitField0_ & ~0x00000002); } result.otherExperiment_ = otherExperiment_; if (((bitField0_ & 0x00000004) == 0x00000004)) { gwsExperiment_ = java.util.Collections.unmodifiableList(gwsExperiment_); bitField0_ = (bitField0_ & ~0x00000004); } result.gwsExperiment_ = gwsExperiment_; if (((bitField0_ & 0x00000008) == 0x00000008)) { playExperiment_ = java.util.Collections.unmodifiableList(playExperiment_); bitField0_ = (bitField0_ & ~0x00000008); } result.playExperiment_ = playExperiment_; if (((bitField0_ & 0x00000010) == 0x00000010)) { unsupportedPlayExperiment_ = java.util.Collections.unmodifiableList(unsupportedPlayExperiment_); bitField0_ = (bitField0_ & ~0x00000010); } result.unsupportedPlayExperiment_ = unsupportedPlayExperiment_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments) { return mergeFrom((com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments other) { if (other == com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments.getDefaultInstance()) return this; if (!other.clientAlteringExperiment_.isEmpty()) { if (clientAlteringExperiment_.isEmpty()) { clientAlteringExperiment_ = other.clientAlteringExperiment_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureClientAlteringExperimentIsMutable(); clientAlteringExperiment_.addAll(other.clientAlteringExperiment_); } onChanged(); } if (!other.otherExperiment_.isEmpty()) { if (otherExperiment_.isEmpty()) { otherExperiment_ = other.otherExperiment_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureOtherExperimentIsMutable(); otherExperiment_.addAll(other.otherExperiment_); } onChanged(); } if (!other.gwsExperiment_.isEmpty()) { if (gwsExperiment_.isEmpty()) { gwsExperiment_ = other.gwsExperiment_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureGwsExperimentIsMutable(); gwsExperiment_.addAll(other.gwsExperiment_); } onChanged(); } if (!other.playExperiment_.isEmpty()) { if (playExperiment_.isEmpty()) { playExperiment_ = other.playExperiment_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensurePlayExperimentIsMutable(); playExperiment_.addAll(other.playExperiment_); } onChanged(); } if (!other.unsupportedPlayExperiment_.isEmpty()) { if (unsupportedPlayExperiment_.isEmpty()) { unsupportedPlayExperiment_ = other.unsupportedPlayExperiment_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureUnsupportedPlayExperimentIsMutable(); unsupportedPlayExperiment_.addAll(other.unsupportedPlayExperiment_); } 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.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // repeated string client_altering_experiment = 1; private com.google.protobuf.LazyStringList clientAlteringExperiment_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureClientAlteringExperimentIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { clientAlteringExperiment_ = new com.google.protobuf.LazyStringArrayList(clientAlteringExperiment_); bitField0_ |= 0x00000001; } } /** * repeated string client_altering_experiment = 1; * *
       * The list of IDs of client-behavior-altering experiments that are on.
       * 
*/ public java.util.List getClientAlteringExperimentList() { return java.util.Collections.unmodifiableList(clientAlteringExperiment_); } /** * repeated string client_altering_experiment = 1; * *
       * The list of IDs of client-behavior-altering experiments that are on.
       * 
*/ public int getClientAlteringExperimentCount() { return clientAlteringExperiment_.size(); } /** * repeated string client_altering_experiment = 1; * *
       * The list of IDs of client-behavior-altering experiments that are on.
       * 
*/ public java.lang.String getClientAlteringExperiment(int index) { return clientAlteringExperiment_.get(index); } /** * repeated string client_altering_experiment = 1; * *
       * The list of IDs of client-behavior-altering experiments that are on.
       * 
*/ public com.google.protobuf.ByteString getClientAlteringExperimentBytes(int index) { return clientAlteringExperiment_.getByteString(index); } /** * repeated string client_altering_experiment = 1; * *
       * The list of IDs of client-behavior-altering experiments that are on.
       * 
*/ public Builder setClientAlteringExperiment( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureClientAlteringExperimentIsMutable(); clientAlteringExperiment_.set(index, value); onChanged(); return this; } /** * repeated string client_altering_experiment = 1; * *
       * The list of IDs of client-behavior-altering experiments that are on.
       * 
*/ public Builder addClientAlteringExperiment( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureClientAlteringExperimentIsMutable(); clientAlteringExperiment_.add(value); onChanged(); return this; } /** * repeated string client_altering_experiment = 1; * *
       * The list of IDs of client-behavior-altering experiments that are on.
       * 
*/ public Builder addAllClientAlteringExperiment( java.lang.Iterable values) { ensureClientAlteringExperimentIsMutable(); super.addAll(values, clientAlteringExperiment_); onChanged(); return this; } /** * repeated string client_altering_experiment = 1; * *
       * The list of IDs of client-behavior-altering experiments that are on.
       * 
*/ public Builder clearClientAlteringExperiment() { clientAlteringExperiment_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * repeated string client_altering_experiment = 1; * *
       * The list of IDs of client-behavior-altering experiments that are on.
       * 
*/ public Builder addClientAlteringExperimentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureClientAlteringExperimentIsMutable(); clientAlteringExperiment_.add(value); onChanged(); return this; } // repeated string other_experiment = 2; private com.google.protobuf.LazyStringList otherExperiment_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureOtherExperimentIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { otherExperiment_ = new com.google.protobuf.LazyStringArrayList(otherExperiment_); bitField0_ |= 0x00000002; } } /** * repeated string other_experiment = 2; * *
       * The list of IDs of other experiments that are on. The client must not
       *  change its behavior in response to these experiments.
       * 
*/ public java.util.List getOtherExperimentList() { return java.util.Collections.unmodifiableList(otherExperiment_); } /** * repeated string other_experiment = 2; * *
       * The list of IDs of other experiments that are on. The client must not
       *  change its behavior in response to these experiments.
       * 
*/ public int getOtherExperimentCount() { return otherExperiment_.size(); } /** * repeated string other_experiment = 2; * *
       * The list of IDs of other experiments that are on. The client must not
       *  change its behavior in response to these experiments.
       * 
*/ public java.lang.String getOtherExperiment(int index) { return otherExperiment_.get(index); } /** * repeated string other_experiment = 2; * *
       * The list of IDs of other experiments that are on. The client must not
       *  change its behavior in response to these experiments.
       * 
*/ public com.google.protobuf.ByteString getOtherExperimentBytes(int index) { return otherExperiment_.getByteString(index); } /** * repeated string other_experiment = 2; * *
       * The list of IDs of other experiments that are on. The client must not
       *  change its behavior in response to these experiments.
       * 
*/ public Builder setOtherExperiment( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureOtherExperimentIsMutable(); otherExperiment_.set(index, value); onChanged(); return this; } /** * repeated string other_experiment = 2; * *
       * The list of IDs of other experiments that are on. The client must not
       *  change its behavior in response to these experiments.
       * 
*/ public Builder addOtherExperiment( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureOtherExperimentIsMutable(); otherExperiment_.add(value); onChanged(); return this; } /** * repeated string other_experiment = 2; * *
       * The list of IDs of other experiments that are on. The client must not
       *  change its behavior in response to these experiments.
       * 
*/ public Builder addAllOtherExperiment( java.lang.Iterable values) { ensureOtherExperimentIsMutable(); super.addAll(values, otherExperiment_); onChanged(); return this; } /** * repeated string other_experiment = 2; * *
       * The list of IDs of other experiments that are on. The client must not
       *  change its behavior in response to these experiments.
       * 
*/ public Builder clearOtherExperiment() { otherExperiment_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * repeated string other_experiment = 2; * *
       * The list of IDs of other experiments that are on. The client must not
       *  change its behavior in response to these experiments.
       * 
*/ public Builder addOtherExperimentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureOtherExperimentIsMutable(); otherExperiment_.add(value); onChanged(); return this; } // repeated int32 gws_experiment = 3; private java.util.List gwsExperiment_ = java.util.Collections.emptyList(); private void ensureGwsExperimentIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { gwsExperiment_ = new java.util.ArrayList(gwsExperiment_); bitField0_ |= 0x00000004; } } /** * repeated int32 gws_experiment = 3; * *
       * The list of GWS experiments that are on. These are not targeted by Playlog.
       * 
*/ public java.util.List getGwsExperimentList() { return java.util.Collections.unmodifiableList(gwsExperiment_); } /** * repeated int32 gws_experiment = 3; * *
       * The list of GWS experiments that are on. These are not targeted by Playlog.
       * 
*/ public int getGwsExperimentCount() { return gwsExperiment_.size(); } /** * repeated int32 gws_experiment = 3; * *
       * The list of GWS experiments that are on. These are not targeted by Playlog.
       * 
*/ public int getGwsExperiment(int index) { return gwsExperiment_.get(index); } /** * repeated int32 gws_experiment = 3; * *
       * The list of GWS experiments that are on. These are not targeted by Playlog.
       * 
*/ public Builder setGwsExperiment( int index, int value) { ensureGwsExperimentIsMutable(); gwsExperiment_.set(index, value); onChanged(); return this; } /** * repeated int32 gws_experiment = 3; * *
       * The list of GWS experiments that are on. These are not targeted by Playlog.
       * 
*/ public Builder addGwsExperiment(int value) { ensureGwsExperimentIsMutable(); gwsExperiment_.add(value); onChanged(); return this; } /** * repeated int32 gws_experiment = 3; * *
       * The list of GWS experiments that are on. These are not targeted by Playlog.
       * 
*/ public Builder addAllGwsExperiment( java.lang.Iterable values) { ensureGwsExperimentIsMutable(); super.addAll(values, gwsExperiment_); onChanged(); return this; } /** * repeated int32 gws_experiment = 3; * *
       * The list of GWS experiments that are on. These are not targeted by Playlog.
       * 
*/ public Builder clearGwsExperiment() { gwsExperiment_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } // repeated int64 play_experiment = 4; private java.util.List playExperiment_ = java.util.Collections.emptyList(); private void ensurePlayExperimentIsMutable() { if (!((bitField0_ & 0x00000008) == 0x00000008)) { playExperiment_ = new java.util.ArrayList(playExperiment_); bitField0_ |= 0x00000008; } } /** * repeated int64 play_experiment = 4; * *
       * The list of Play experiments that are enabled for this LogEvent.
       *  Includes both client-side and server-side experiments.
       * 
*/ public java.util.List getPlayExperimentList() { return java.util.Collections.unmodifiableList(playExperiment_); } /** * repeated int64 play_experiment = 4; * *
       * The list of Play experiments that are enabled for this LogEvent.
       *  Includes both client-side and server-side experiments.
       * 
*/ public int getPlayExperimentCount() { return playExperiment_.size(); } /** * repeated int64 play_experiment = 4; * *
       * The list of Play experiments that are enabled for this LogEvent.
       *  Includes both client-side and server-side experiments.
       * 
*/ public long getPlayExperiment(int index) { return playExperiment_.get(index); } /** * repeated int64 play_experiment = 4; * *
       * The list of Play experiments that are enabled for this LogEvent.
       *  Includes both client-side and server-side experiments.
       * 
*/ public Builder setPlayExperiment( int index, long value) { ensurePlayExperimentIsMutable(); playExperiment_.set(index, value); onChanged(); return this; } /** * repeated int64 play_experiment = 4; * *
       * The list of Play experiments that are enabled for this LogEvent.
       *  Includes both client-side and server-side experiments.
       * 
*/ public Builder addPlayExperiment(long value) { ensurePlayExperimentIsMutable(); playExperiment_.add(value); onChanged(); return this; } /** * repeated int64 play_experiment = 4; * *
       * The list of Play experiments that are enabled for this LogEvent.
       *  Includes both client-side and server-side experiments.
       * 
*/ public Builder addAllPlayExperiment( java.lang.Iterable values) { ensurePlayExperimentIsMutable(); super.addAll(values, playExperiment_); onChanged(); return this; } /** * repeated int64 play_experiment = 4; * *
       * The list of Play experiments that are enabled for this LogEvent.
       *  Includes both client-side and server-side experiments.
       * 
*/ public Builder clearPlayExperiment() { playExperiment_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } // repeated int64 unsupported_play_experiment = 5; private java.util.List unsupportedPlayExperiment_ = java.util.Collections.emptyList(); private void ensureUnsupportedPlayExperimentIsMutable() { if (!((bitField0_ & 0x00000010) == 0x00000010)) { unsupportedPlayExperiment_ = new java.util.ArrayList(unsupportedPlayExperiment_); bitField0_ |= 0x00000010; } } /** * repeated int64 unsupported_play_experiment = 5; * *
       * The list of Play experiments that were sent to the client for this LogEvent
       *  but is not recognized by the client. May include server-side experiments
       *  that were active, so correct this list in the logging service.
       * 
*/ public java.util.List getUnsupportedPlayExperimentList() { return java.util.Collections.unmodifiableList(unsupportedPlayExperiment_); } /** * repeated int64 unsupported_play_experiment = 5; * *
       * The list of Play experiments that were sent to the client for this LogEvent
       *  but is not recognized by the client. May include server-side experiments
       *  that were active, so correct this list in the logging service.
       * 
*/ public int getUnsupportedPlayExperimentCount() { return unsupportedPlayExperiment_.size(); } /** * repeated int64 unsupported_play_experiment = 5; * *
       * The list of Play experiments that were sent to the client for this LogEvent
       *  but is not recognized by the client. May include server-side experiments
       *  that were active, so correct this list in the logging service.
       * 
*/ public long getUnsupportedPlayExperiment(int index) { return unsupportedPlayExperiment_.get(index); } /** * repeated int64 unsupported_play_experiment = 5; * *
       * The list of Play experiments that were sent to the client for this LogEvent
       *  but is not recognized by the client. May include server-side experiments
       *  that were active, so correct this list in the logging service.
       * 
*/ public Builder setUnsupportedPlayExperiment( int index, long value) { ensureUnsupportedPlayExperimentIsMutable(); unsupportedPlayExperiment_.set(index, value); onChanged(); return this; } /** * repeated int64 unsupported_play_experiment = 5; * *
       * The list of Play experiments that were sent to the client for this LogEvent
       *  but is not recognized by the client. May include server-side experiments
       *  that were active, so correct this list in the logging service.
       * 
*/ public Builder addUnsupportedPlayExperiment(long value) { ensureUnsupportedPlayExperimentIsMutable(); unsupportedPlayExperiment_.add(value); onChanged(); return this; } /** * repeated int64 unsupported_play_experiment = 5; * *
       * The list of Play experiments that were sent to the client for this LogEvent
       *  but is not recognized by the client. May include server-side experiments
       *  that were active, so correct this list in the logging service.
       * 
*/ public Builder addAllUnsupportedPlayExperiment( java.lang.Iterable values) { ensureUnsupportedPlayExperimentIsMutable(); super.addAll(values, unsupportedPlayExperiment_); onChanged(); return this; } /** * repeated int64 unsupported_play_experiment = 5; * *
       * The list of Play experiments that were sent to the client for this LogEvent
       *  but is not recognized by the client. May include server-side experiments
       *  that were active, so correct this list in the logging service.
       * 
*/ public Builder clearUnsupportedPlayExperiment() { unsupportedPlayExperiment_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } // @@protoc_insertion_point(builder_scope:wireless_android_play_playlog.ActiveExperiments) } static { defaultInstance = new ActiveExperiments(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:wireless_android_play_playlog.ActiveExperiments) } public interface LogEventOrBuilder extends com.google.protobuf.GeneratedMessage. ExtendableMessageOrBuilder { // optional int64 event_time_ms = 1; /** * optional int64 event_time_ms = 1; * *
     * Epoch time in milliseconds, according to the wall clock.
     *  See http://go/clearcut-timestamps for details on how this value is used.
     *  This field is required for Odyssey. Otherwise, events will be silently
     *  dropped.
     * 
*/ boolean hasEventTimeMs(); /** * optional int64 event_time_ms = 1; * *
     * Epoch time in milliseconds, according to the wall clock.
     *  See http://go/clearcut-timestamps for details on how this value is used.
     *  This field is required for Odyssey. Otherwise, events will be silently
     *  dropped.
     * 
*/ long getEventTimeMs(); // optional int64 event_uptime_ms = 17; /** * optional int64 event_uptime_ms = 17; * *
     * Time in milliseconds since the device was booted.  (On Android this
     *  is the result of SystemClock.elapsedRealtime(), not
     *  SystemClock.uptimeMillis() which does not increment when the device is in
     *  deep sleep.)
     *
     *  See http://go/clearcut-timestamps for details on how this value is used for
     *  timestamp corrections.  It is also copied to
     *  PlayExtension.client_elapsed_realtime_millis if the routing option
     *  "include_client_elapsed_realtime_millis" is set to true.
     * 
*/ boolean hasEventUptimeMs(); /** * optional int64 event_uptime_ms = 17; * *
     * Time in milliseconds since the device was booted.  (On Android this
     *  is the result of SystemClock.elapsedRealtime(), not
     *  SystemClock.uptimeMillis() which does not increment when the device is in
     *  deep sleep.)
     *
     *  See http://go/clearcut-timestamps for details on how this value is used for
     *  timestamp corrections.  It is also copied to
     *  PlayExtension.client_elapsed_realtime_millis if the routing option
     *  "include_client_elapsed_realtime_millis" is set to true.
     * 
*/ long getEventUptimeMs(); // optional int64 sequence_position = 21; /** * optional int64 sequence_position = 21; * *
     * Client generated sequence position for this event - defines a total order
     *  for events from a given device. If event A's sequence position is less than
     *  event B's sequence position, then event A happened before event B.
     * 
*/ boolean hasSequencePosition(); /** * optional int64 sequence_position = 21; * *
     * Client generated sequence position for this event - defines a total order
     *  for events from a given device. If event A's sequence position is less than
     *  event B's sequence position, then event A happened before event B.
     * 
*/ long getSequencePosition(); // optional string tag = 2; /** * optional string tag = 2; * *
     * Type of event, could be "CLICK" or "PAGE_VIEW" or "DOWNLOAD_STATUS".
     *  There will be a common repository of cross-vertical events that should be
     *  used, but any individual app would be free to define their own tags.
     *
     *  STRONGLY DISCOURAGED: use event_code instead.
     * 
*/ boolean hasTag(); /** * optional string tag = 2; * *
     * Type of event, could be "CLICK" or "PAGE_VIEW" or "DOWNLOAD_STATUS".
     *  There will be a common repository of cross-vertical events that should be
     *  used, but any individual app would be free to define their own tags.
     *
     *  STRONGLY DISCOURAGED: use event_code instead.
     * 
*/ java.lang.String getTag(); /** * optional string tag = 2; * *
     * Type of event, could be "CLICK" or "PAGE_VIEW" or "DOWNLOAD_STATUS".
     *  There will be a common repository of cross-vertical events that should be
     *  used, but any individual app would be free to define their own tags.
     *
     *  STRONGLY DISCOURAGED: use event_code instead.
     * 
*/ com.google.protobuf.ByteString getTagBytes(); // optional int32 event_code = 11; /** * optional int32 event_code = 11; * *
     * Type of event. Different kinds of events inside a client app should have
     *  different values of 'event_code'. Different client apps may have
     *  overlapping sets of 'event_code' values; these values are only meant to
     *  make sense within the context of a single client app, as identified by
     *  the 'log_source' field of LogRequest.
     *
     *  A typical way to use 'event_code' is to define the enum of possible values
     *  inside of the custom logging extension proto.
     *  TODO(abednego): add an example CL.
     *
     *  This enum type should be annotated with a LogEventRoutingConfig proto.
     * 
*/ boolean hasEventCode(); /** * optional int32 event_code = 11; * *
     * Type of event. Different kinds of events inside a client app should have
     *  different values of 'event_code'. Different client apps may have
     *  overlapping sets of 'event_code' values; these values are only meant to
     *  make sense within the context of a single client app, as identified by
     *  the 'log_source' field of LogRequest.
     *
     *  A typical way to use 'event_code' is to define the enum of possible values
     *  inside of the custom logging extension proto.
     *  TODO(abednego): add an example CL.
     *
     *  This enum type should be annotated with a LogEventRoutingConfig proto.
     * 
*/ int getEventCode(); // optional int32 event_flow_id = 12; /** * optional int32 event_flow_id = 12; * *
     * Identifies a group of events that belong to the same flow or session of
     *  user interaction, which is a client-specific concept.
     *
     *  These IDs are used in the Clearcut/UMA pipeline for computing latencies
     *  between pairs of events, where it is necessary to ensure that both events
     *  belong to the same flow.
     *
     *  For example, the Google Play team may want to give a unique ID to each
     *  purchase session, including all of the events starting from the initial
     *  search for an app to the eventual purchase and installation of the app.
     *  Another example would be the Search app wanting to tie together search
     *  query events and clicks on search results, especially if several instances
     *  of the app may be active at the same time.
     * 
*/ boolean hasEventFlowId(); /** * optional int32 event_flow_id = 12; * *
     * Identifies a group of events that belong to the same flow or session of
     *  user interaction, which is a client-specific concept.
     *
     *  These IDs are used in the Clearcut/UMA pipeline for computing latencies
     *  between pairs of events, where it is necessary to ensure that both events
     *  belong to the same flow.
     *
     *  For example, the Google Play team may want to give a unique ID to each
     *  purchase session, including all of the events starting from the initial
     *  search for an app to the eventual purchase and installation of the app.
     *  Another example would be the Search app wanting to tie together search
     *  query events and clicks on search results, especially if several instances
     *  of the app may be active at the same time.
     * 
*/ int getEventFlowId(); // optional bool is_user_initiated = 10; /** * optional bool is_user_initiated = 10; * *
     * Whether this event was initiated by the user at the time of the event or
     *  shortly before (vs. a background event like upgrading a database after the
     *  app was automatically updated).
     * 
*/ boolean hasIsUserInitiated(); /** * optional bool is_user_initiated = 10; * *
     * Whether this event was initiated by the user at the time of the event or
     *  shortly before (vs. a background event like upgrading a database after the
     *  app was automatically updated).
     * 
*/ boolean getIsUserInitiated(); // repeated .wireless_android_play_playlog.LogEventKeyValues value = 3; /** * repeated .wireless_android_play_playlog.LogEventKeyValues value = 3; * *
     * These might contain PII and will not be stored for more than 8 days.
     *  If possible, please create a named field in the protos below instead.
     * 
*/ java.util.List getValueList(); /** * repeated .wireless_android_play_playlog.LogEventKeyValues value = 3; * *
     * These might contain PII and will not be stored for more than 8 days.
     *  If possible, please create a named field in the protos below instead.
     * 
*/ com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues getValue(int index); /** * repeated .wireless_android_play_playlog.LogEventKeyValues value = 3; * *
     * These might contain PII and will not be stored for more than 8 days.
     *  If possible, please create a named field in the protos below instead.
     * 
*/ int getValueCount(); /** * repeated .wireless_android_play_playlog.LogEventKeyValues value = 3; * *
     * These might contain PII and will not be stored for more than 8 days.
     *  If possible, please create a named field in the protos below instead.
     * 
*/ java.util.List getValueOrBuilderList(); /** * repeated .wireless_android_play_playlog.LogEventKeyValues value = 3; * *
     * These might contain PII and will not be stored for more than 8 days.
     *  If possible, please create a named field in the protos below instead.
     * 
*/ com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValuesOrBuilder getValueOrBuilder( int index); // optional bytes store = 4; /** * optional bytes store = 4; * *
     * TODO(jsw): Remove. We can't do that as of 2015/08/13 because we still get
     *  several thousand QPS from ancient Play Store clients who use this field.
     *
     *  Extension for Play Store app logs. Real type is PlayStoreLogEvent. This
     *  exists to support legacy clients. Use source_extension instead.
     * 
*/ boolean hasStore(); /** * optional bytes store = 4; * *
     * TODO(jsw): Remove. We can't do that as of 2015/08/13 because we still get
     *  several thousand QPS from ancient Play Store clients who use this field.
     *
     *  Extension for Play Store app logs. Real type is PlayStoreLogEvent. This
     *  exists to support legacy clients. Use source_extension instead.
     * 
*/ com.google.protobuf.ByteString getStore(); // optional .wireless_android_play_playlog.AppUsage1pLogEvent app_usage_1p = 9; /** * optional .wireless_android_play_playlog.AppUsage1pLogEvent app_usage_1p = 9; * *
     * First-party app usage tracking. Used only when log_source = APP_USAGE_1P.
     * 
*/ boolean hasAppUsage1P(); /** * optional .wireless_android_play_playlog.AppUsage1pLogEvent app_usage_1p = 9; * *
     * First-party app usage tracking. Used only when log_source = APP_USAGE_1P.
     * 
*/ com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent getAppUsage1P(); /** * optional .wireless_android_play_playlog.AppUsage1pLogEvent app_usage_1p = 9; * *
     * First-party app usage tracking. Used only when log_source = APP_USAGE_1P.
     * 
*/ com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEventOrBuilder getAppUsage1POrBuilder(); // optional bytes source_extension = 6; /** * optional bytes source_extension = 6; * *
     * A source specific extension (typically a serialized proto). The type of
     *  this data is determined by the log_source of the enclosing LogRequest.
     *  The proto is derived by calling ParseFromString method in
     *  net/proto2/public/message_lite.h.
     * 
*/ boolean hasSourceExtension(); /** * optional bytes source_extension = 6; * *
     * A source specific extension (typically a serialized proto). The type of
     *  this data is determined by the log_source of the enclosing LogRequest.
     *  The proto is derived by calling ParseFromString method in
     *  net/proto2/public/message_lite.h.
     * 
*/ com.google.protobuf.ByteString getSourceExtension(); // optional string source_extension_js = 8; /** * optional string source_extension_js = 8; * *
     * A jspb version of source_extension, using array serialization format.
     *  More info on JSPB at go/jspb.
     * 
*/ boolean hasSourceExtensionJs(); /** * optional string source_extension_js = 8; * *
     * A jspb version of source_extension, using array serialization format.
     *  More info on JSPB at go/jspb.
     * 
*/ java.lang.String getSourceExtensionJs(); /** * optional string source_extension_js = 8; * *
     * A jspb version of source_extension, using array serialization format.
     *  More info on JSPB at go/jspb.
     * 
*/ com.google.protobuf.ByteString getSourceExtensionJsBytes(); // optional string source_extension_json = 13; /** * optional string source_extension_json = 13; * *
     * A stringified json proto version of source_extension.  The json string is
     *  converted back to proto using the json_format utility at
     *  net/proto2/util/public/json_format.h, without any flags.
     * 
*/ boolean hasSourceExtensionJson(); /** * optional string source_extension_json = 13; * *
     * A stringified json proto version of source_extension.  The json string is
     *  converted back to proto using the json_format utility at
     *  net/proto2/util/public/json_format.h, without any flags.
     * 
*/ java.lang.String getSourceExtensionJson(); /** * optional string source_extension_json = 13; * *
     * A stringified json proto version of source_extension.  The json string is
     *  converted back to proto using the json_format utility at
     *  net/proto2/util/public/json_format.h, without any flags.
     * 
*/ com.google.protobuf.ByteString getSourceExtensionJsonBytes(); // optional .wireless_android_play_playlog.ActiveExperiments exp = 7; /** * optional .wireless_android_play_playlog.ActiveExperiments exp = 7; * *
     * The set of currently active experiments. If missing, then the server will
     *  assume that experiment on/off status has not changed since the previous
     *  LogEvent message in the same LogRequest proto. If missing in the very first
     *  LogEvent of a LogRequest, then the server will assume that all experiments
     *  are off.
     * 
*/ boolean hasExp(); /** * optional .wireless_android_play_playlog.ActiveExperiments exp = 7; * *
     * The set of currently active experiments. If missing, then the server will
     *  assume that experiment on/off status has not changed since the previous
     *  LogEvent message in the same LogRequest proto. If missing in the very first
     *  LogEvent of a LogRequest, then the server will assume that all experiments
     *  are off.
     * 
*/ com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments getExp(); /** * optional .wireless_android_play_playlog.ActiveExperiments exp = 7; * *
     * The set of currently active experiments. If missing, then the server will
     *  assume that experiment on/off status has not changed since the previous
     *  LogEvent message in the same LogRequest proto. If missing in the very first
     *  LogEvent of a LogRequest, then the server will assume that all experiments
     *  are off.
     * 
*/ com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperimentsOrBuilder getExpOrBuilder(); // optional string test_id = 14; /** * optional string test_id = 14; * *
     * A string for identifying a test run.  You may use this string to group log
     *  data coming from a test run.  Usually logs from test apps or from normal
     *  apps running on test devices will have this field set.
     * 
*/ boolean hasTestId(); /** * optional string test_id = 14; * *
     * A string for identifying a test run.  You may use this string to group log
     *  data coming from a test run.  Usually logs from test apps or from normal
     *  apps running on test devices will have this field set.
     * 
*/ java.lang.String getTestId(); /** * optional string test_id = 14; * *
     * A string for identifying a test run.  You may use this string to group log
     *  data coming from a test run.  Usually logs from test apps or from normal
     *  apps running on test devices will have this field set.
     * 
*/ com.google.protobuf.ByteString getTestIdBytes(); // optional sint64 timezone_offset_seconds = 15 [default = 180000]; /** * optional sint64 timezone_offset_seconds = 15 [default = 180000]; * *
     * User's timezone offset from UTC in seconds. If the user's UTC time
     *  is X millis then the on-device clock time would be
     *  X + timezone_offset_seconds * 1000.
     *  The default value is non-sensical, mainly so that 0 can be distinguished
     *  from "not specified" using proto nano (and without changing our build
     *  options to use reference types for primitives).
     * 
*/ boolean hasTimezoneOffsetSeconds(); /** * optional sint64 timezone_offset_seconds = 15 [default = 180000]; * *
     * User's timezone offset from UTC in seconds. If the user's UTC time
     *  is X millis then the on-device clock time would be
     *  X + timezone_offset_seconds * 1000.
     *  The default value is non-sensical, mainly so that 0 can be distinguished
     *  from "not specified" using proto nano (and without changing our build
     *  options to use reference types for primitives).
     * 
*/ long getTimezoneOffsetSeconds(); // optional .wireless_android_play_playlog.ExperimentIds experiment_ids = 16; /** * optional .wireless_android_play_playlog.ExperimentIds experiment_ids = 16; * *
     * serialized DeviceExperimentIds; the experiment ids are propagated
     *  to GWSLog experiment ids
     * 
*/ boolean hasExperimentIds(); /** * optional .wireless_android_play_playlog.ExperimentIds experiment_ids = 16; * *
     * serialized DeviceExperimentIds; the experiment ids are propagated
     *  to GWSLog experiment ids
     * 
*/ com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds getExperimentIds(); /** * optional .wireless_android_play_playlog.ExperimentIds experiment_ids = 16; * *
     * serialized DeviceExperimentIds; the experiment ids are propagated
     *  to GWSLog experiment ids
     * 
*/ com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdsOrBuilder getExperimentIdsOrBuilder(); // optional bytes client_ve = 18; /** * optional bytes client_ve = 18; * *
     * Serialized proto message of ClientVisualElementsProto as defined in
     *  logs/proto/visual_element/client_visual_elements.proto. The client can
     *  optionally send a log event with this field set. In this case, clearcut
     *  server needs to deserialize the bytes as a ClientVisualElementsProto and
     *  sets appropriate fields in the output GWSLogEntryProto.
     *
     *  See http://go/NativeVeLogging for more information.
     * 
*/ boolean hasClientVe(); /** * optional bytes client_ve = 18; * *
     * Serialized proto message of ClientVisualElementsProto as defined in
     *  logs/proto/visual_element/client_visual_elements.proto. The client can
     *  optionally send a log event with this field set. In this case, clearcut
     *  server needs to deserialize the bytes as a ClientVisualElementsProto and
     *  sets appropriate fields in the output GWSLogEntryProto.
     *
     *  See http://go/NativeVeLogging for more information.
     * 
*/ com.google.protobuf.ByteString getClientVe(); // optional string client_ve_js = 24; /** * optional string client_ve_js = 24; * *
     * Alternative serialized field for the client_ve field defined in 18.
     *  Serialize using array serialization format. More info at go/jspb.
     * 
*/ boolean hasClientVeJs(); /** * optional string client_ve_js = 24; * *
     * Alternative serialized field for the client_ve field defined in 18.
     *  Serialize using array serialization format. More info at go/jspb.
     * 
*/ java.lang.String getClientVeJs(); /** * optional string client_ve_js = 24; * *
     * Alternative serialized field for the client_ve field defined in 18.
     *  Serialize using array serialization format. More info at go/jspb.
     * 
*/ com.google.protobuf.ByteString getClientVeJsBytes(); // optional .wireless_android_play_playlog.LogEvent.InternalEvent internal_event = 19; /** * optional .wireless_android_play_playlog.LogEvent.InternalEvent internal_event = 19; */ boolean hasInternalEvent(); /** * optional .wireless_android_play_playlog.LogEvent.InternalEvent internal_event = 19; */ com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent.InternalEvent getInternalEvent(); // repeated int32 test_code = 20; /** * repeated int32 test_code = 20; * *
     * Indicates that an interesting thing has occurred. Used to narrow the set
     *  of samples to consider in analysis. Test codes are copied to
     *  GwsLogEntryProto.TestCode.
     *
     *  See google3/ads/base/test_codes/test_codes.proto
     *  for Ads' use of test codes.
     * 
*/ java.util.List getTestCodeList(); /** * repeated int32 test_code = 20; * *
     * Indicates that an interesting thing has occurred. Used to narrow the set
     *  of samples to consider in analysis. Test codes are copied to
     *  GwsLogEntryProto.TestCode.
     *
     *  See google3/ads/base/test_codes/test_codes.proto
     *  for Ads' use of test codes.
     * 
*/ int getTestCodeCount(); /** * repeated int32 test_code = 20; * *
     * Indicates that an interesting thing has occurred. Used to narrow the set
     *  of samples to consider in analysis. Test codes are copied to
     *  GwsLogEntryProto.TestCode.
     *
     *  See google3/ads/base/test_codes/test_codes.proto
     *  for Ads' use of test codes.
     * 
*/ int getTestCode(int index); // optional int64 boot_count = 22; /** * optional int64 boot_count = 22; * *
     * Number of times the device is known to have booted. Taken together,
     *  {boot-count, uptime} pairs are a monotonically increasing counter which
     *  can be used to order events accross log sources.
     * 
*/ boolean hasBootCount(); /** * optional int64 boot_count = 22; * *
     * Number of times the device is known to have booted. Taken together,
     *  {boot-count, uptime} pairs are a monotonically increasing counter which
     *  can be used to order events accross log sources.
     * 
*/ long getBootCount(); // optional .wireless_android_play_playlog.NetworkConnectionInfo network_connection_info = 23; /** * optional .wireless_android_play_playlog.NetworkConnectionInfo network_connection_info = 23; * *
     * The current network connectivity info when the event was logged in the
     *  client
     * 
*/ boolean hasNetworkConnectionInfo(); /** * optional .wireless_android_play_playlog.NetworkConnectionInfo network_connection_info = 23; * *
     * The current network connectivity info when the event was logged in the
     *  client
     * 
*/ com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo getNetworkConnectionInfo(); /** * optional .wireless_android_play_playlog.NetworkConnectionInfo network_connection_info = 23; * *
     * The current network connectivity info when the event was logged in the
     *  client
     * 
*/ com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfoOrBuilder getNetworkConnectionInfoOrBuilder(); } /** * Protobuf type {@code wireless_android_play_playlog.LogEvent} * *
   * Next tag: 25
   * 
*/ public static final class LogEvent extends com.google.protobuf.GeneratedMessage.ExtendableMessage< LogEvent> implements LogEventOrBuilder { // Use LogEvent.newBuilder() to construct. private LogEvent(com.google.protobuf.GeneratedMessage.ExtendableBuilder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private LogEvent(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final LogEvent defaultInstance; public static LogEvent getDefaultInstance() { return defaultInstance; } public LogEvent getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private LogEvent( 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; eventTimeMs_ = input.readInt64(); break; } case 18: { bitField0_ |= 0x00000008; tag_ = input.readBytes(); break; } case 26: { if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) { value_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000080; } value_.add(input.readMessage(com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues.PARSER, extensionRegistry)); break; } case 34: { bitField0_ |= 0x00000080; store_ = input.readBytes(); break; } case 50: { bitField0_ |= 0x00000200; sourceExtension_ = input.readBytes(); break; } case 58: { com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments.Builder subBuilder = null; if (((bitField0_ & 0x00001000) == 0x00001000)) { subBuilder = exp_.toBuilder(); } exp_ = input.readMessage(com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(exp_); exp_ = subBuilder.buildPartial(); } bitField0_ |= 0x00001000; break; } case 66: { bitField0_ |= 0x00000400; sourceExtensionJs_ = input.readBytes(); break; } case 74: { com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent.Builder subBuilder = null; if (((bitField0_ & 0x00000100) == 0x00000100)) { subBuilder = appUsage1P_.toBuilder(); } appUsage1P_ = input.readMessage(com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(appUsage1P_); appUsage1P_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000100; break; } case 80: { bitField0_ |= 0x00000040; isUserInitiated_ = input.readBool(); break; } case 88: { bitField0_ |= 0x00000010; eventCode_ = input.readInt32(); break; } case 96: { bitField0_ |= 0x00000020; eventFlowId_ = input.readInt32(); break; } case 106: { bitField0_ |= 0x00000800; sourceExtensionJson_ = input.readBytes(); break; } case 114: { bitField0_ |= 0x00002000; testId_ = input.readBytes(); break; } case 120: { bitField0_ |= 0x00004000; timezoneOffsetSeconds_ = input.readSInt64(); break; } case 130: { com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds.Builder subBuilder = null; if (((bitField0_ & 0x00008000) == 0x00008000)) { subBuilder = experimentIds_.toBuilder(); } experimentIds_ = input.readMessage(com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(experimentIds_); experimentIds_ = subBuilder.buildPartial(); } bitField0_ |= 0x00008000; break; } case 136: { bitField0_ |= 0x00000002; eventUptimeMs_ = input.readInt64(); break; } case 146: { bitField0_ |= 0x00010000; clientVe_ = input.readBytes(); break; } case 152: { int rawValue = input.readEnum(); com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent.InternalEvent value = com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent.InternalEvent.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(19, rawValue); } else { bitField0_ |= 0x00040000; internalEvent_ = value; } break; } case 160: { if (!((mutable_bitField0_ & 0x00100000) == 0x00100000)) { testCode_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00100000; } testCode_.add(input.readInt32()); break; } case 162: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00100000) == 0x00100000) && input.getBytesUntilLimit() > 0) { testCode_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00100000; } while (input.getBytesUntilLimit() > 0) { testCode_.add(input.readInt32()); } input.popLimit(limit); break; } case 168: { bitField0_ |= 0x00000004; sequencePosition_ = input.readInt64(); break; } case 176: { bitField0_ |= 0x00080000; bootCount_ = input.readInt64(); break; } case 186: { com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo.Builder subBuilder = null; if (((bitField0_ & 0x00100000) == 0x00100000)) { subBuilder = networkConnectionInfo_.toBuilder(); } networkConnectionInfo_ = input.readMessage(com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(networkConnectionInfo_); networkConnectionInfo_ = subBuilder.buildPartial(); } bitField0_ |= 0x00100000; break; } case 194: { bitField0_ |= 0x00020000; clientVeJs_ = 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_ & 0x00000080) == 0x00000080)) { value_ = java.util.Collections.unmodifiableList(value_); } if (((mutable_bitField0_ & 0x00100000) == 0x00100000)) { testCode_ = java.util.Collections.unmodifiableList(testCode_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_LogEvent_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_LogEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public LogEvent parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new LogEvent(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } /** * Protobuf enum {@code wireless_android_play_playlog.LogEvent.InternalEvent} */ public enum InternalEvent implements com.google.protobuf.ProtocolMessageEnum { /** * NONE = 0; */ NONE(0, 0), /** * WALL_CLOCK_SET = 1; */ WALL_CLOCK_SET(1, 1), /** * DEVICE_BOOT = 2; */ DEVICE_BOOT(2, 2), ; /** * NONE = 0; */ public static final int NONE_VALUE = 0; /** * WALL_CLOCK_SET = 1; */ public static final int WALL_CLOCK_SET_VALUE = 1; /** * DEVICE_BOOT = 2; */ public static final int DEVICE_BOOT_VALUE = 2; public final int getNumber() { return value; } public static InternalEvent valueOf(int value) { switch (value) { case 0: return NONE; case 1: return WALL_CLOCK_SET; case 2: return DEVICE_BOOT; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public InternalEvent findValueByNumber(int number) { return InternalEvent.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.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent.getDescriptor().getEnumTypes().get(0); } private static final InternalEvent[] VALUES = values(); public static InternalEvent 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 InternalEvent(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:wireless_android_play_playlog.LogEvent.InternalEvent) } private int bitField0_; // optional int64 event_time_ms = 1; public static final int EVENT_TIME_MS_FIELD_NUMBER = 1; private long eventTimeMs_; /** * optional int64 event_time_ms = 1; * *
     * Epoch time in milliseconds, according to the wall clock.
     *  See http://go/clearcut-timestamps for details on how this value is used.
     *  This field is required for Odyssey. Otherwise, events will be silently
     *  dropped.
     * 
*/ public boolean hasEventTimeMs() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 event_time_ms = 1; * *
     * Epoch time in milliseconds, according to the wall clock.
     *  See http://go/clearcut-timestamps for details on how this value is used.
     *  This field is required for Odyssey. Otherwise, events will be silently
     *  dropped.
     * 
*/ public long getEventTimeMs() { return eventTimeMs_; } // optional int64 event_uptime_ms = 17; public static final int EVENT_UPTIME_MS_FIELD_NUMBER = 17; private long eventUptimeMs_; /** * optional int64 event_uptime_ms = 17; * *
     * Time in milliseconds since the device was booted.  (On Android this
     *  is the result of SystemClock.elapsedRealtime(), not
     *  SystemClock.uptimeMillis() which does not increment when the device is in
     *  deep sleep.)
     *
     *  See http://go/clearcut-timestamps for details on how this value is used for
     *  timestamp corrections.  It is also copied to
     *  PlayExtension.client_elapsed_realtime_millis if the routing option
     *  "include_client_elapsed_realtime_millis" is set to true.
     * 
*/ public boolean hasEventUptimeMs() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int64 event_uptime_ms = 17; * *
     * Time in milliseconds since the device was booted.  (On Android this
     *  is the result of SystemClock.elapsedRealtime(), not
     *  SystemClock.uptimeMillis() which does not increment when the device is in
     *  deep sleep.)
     *
     *  See http://go/clearcut-timestamps for details on how this value is used for
     *  timestamp corrections.  It is also copied to
     *  PlayExtension.client_elapsed_realtime_millis if the routing option
     *  "include_client_elapsed_realtime_millis" is set to true.
     * 
*/ public long getEventUptimeMs() { return eventUptimeMs_; } // optional int64 sequence_position = 21; public static final int SEQUENCE_POSITION_FIELD_NUMBER = 21; private long sequencePosition_; /** * optional int64 sequence_position = 21; * *
     * Client generated sequence position for this event - defines a total order
     *  for events from a given device. If event A's sequence position is less than
     *  event B's sequence position, then event A happened before event B.
     * 
*/ public boolean hasSequencePosition() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional int64 sequence_position = 21; * *
     * Client generated sequence position for this event - defines a total order
     *  for events from a given device. If event A's sequence position is less than
     *  event B's sequence position, then event A happened before event B.
     * 
*/ public long getSequencePosition() { return sequencePosition_; } // optional string tag = 2; public static final int TAG_FIELD_NUMBER = 2; private java.lang.Object tag_; /** * optional string tag = 2; * *
     * Type of event, could be "CLICK" or "PAGE_VIEW" or "DOWNLOAD_STATUS".
     *  There will be a common repository of cross-vertical events that should be
     *  used, but any individual app would be free to define their own tags.
     *
     *  STRONGLY DISCOURAGED: use event_code instead.
     * 
*/ public boolean hasTag() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string tag = 2; * *
     * Type of event, could be "CLICK" or "PAGE_VIEW" or "DOWNLOAD_STATUS".
     *  There will be a common repository of cross-vertical events that should be
     *  used, but any individual app would be free to define their own tags.
     *
     *  STRONGLY DISCOURAGED: use event_code instead.
     * 
*/ public java.lang.String getTag() { java.lang.Object ref = tag_; 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()) { tag_ = s; } return s; } } /** * optional string tag = 2; * *
     * Type of event, could be "CLICK" or "PAGE_VIEW" or "DOWNLOAD_STATUS".
     *  There will be a common repository of cross-vertical events that should be
     *  used, but any individual app would be free to define their own tags.
     *
     *  STRONGLY DISCOURAGED: use event_code instead.
     * 
*/ public com.google.protobuf.ByteString getTagBytes() { java.lang.Object ref = tag_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tag_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional int32 event_code = 11; public static final int EVENT_CODE_FIELD_NUMBER = 11; private int eventCode_; /** * optional int32 event_code = 11; * *
     * Type of event. Different kinds of events inside a client app should have
     *  different values of 'event_code'. Different client apps may have
     *  overlapping sets of 'event_code' values; these values are only meant to
     *  make sense within the context of a single client app, as identified by
     *  the 'log_source' field of LogRequest.
     *
     *  A typical way to use 'event_code' is to define the enum of possible values
     *  inside of the custom logging extension proto.
     *  TODO(abednego): add an example CL.
     *
     *  This enum type should be annotated with a LogEventRoutingConfig proto.
     * 
*/ public boolean hasEventCode() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional int32 event_code = 11; * *
     * Type of event. Different kinds of events inside a client app should have
     *  different values of 'event_code'. Different client apps may have
     *  overlapping sets of 'event_code' values; these values are only meant to
     *  make sense within the context of a single client app, as identified by
     *  the 'log_source' field of LogRequest.
     *
     *  A typical way to use 'event_code' is to define the enum of possible values
     *  inside of the custom logging extension proto.
     *  TODO(abednego): add an example CL.
     *
     *  This enum type should be annotated with a LogEventRoutingConfig proto.
     * 
*/ public int getEventCode() { return eventCode_; } // optional int32 event_flow_id = 12; public static final int EVENT_FLOW_ID_FIELD_NUMBER = 12; private int eventFlowId_; /** * optional int32 event_flow_id = 12; * *
     * Identifies a group of events that belong to the same flow or session of
     *  user interaction, which is a client-specific concept.
     *
     *  These IDs are used in the Clearcut/UMA pipeline for computing latencies
     *  between pairs of events, where it is necessary to ensure that both events
     *  belong to the same flow.
     *
     *  For example, the Google Play team may want to give a unique ID to each
     *  purchase session, including all of the events starting from the initial
     *  search for an app to the eventual purchase and installation of the app.
     *  Another example would be the Search app wanting to tie together search
     *  query events and clicks on search results, especially if several instances
     *  of the app may be active at the same time.
     * 
*/ public boolean hasEventFlowId() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional int32 event_flow_id = 12; * *
     * Identifies a group of events that belong to the same flow or session of
     *  user interaction, which is a client-specific concept.
     *
     *  These IDs are used in the Clearcut/UMA pipeline for computing latencies
     *  between pairs of events, where it is necessary to ensure that both events
     *  belong to the same flow.
     *
     *  For example, the Google Play team may want to give a unique ID to each
     *  purchase session, including all of the events starting from the initial
     *  search for an app to the eventual purchase and installation of the app.
     *  Another example would be the Search app wanting to tie together search
     *  query events and clicks on search results, especially if several instances
     *  of the app may be active at the same time.
     * 
*/ public int getEventFlowId() { return eventFlowId_; } // optional bool is_user_initiated = 10; public static final int IS_USER_INITIATED_FIELD_NUMBER = 10; private boolean isUserInitiated_; /** * optional bool is_user_initiated = 10; * *
     * Whether this event was initiated by the user at the time of the event or
     *  shortly before (vs. a background event like upgrading a database after the
     *  app was automatically updated).
     * 
*/ public boolean hasIsUserInitiated() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional bool is_user_initiated = 10; * *
     * Whether this event was initiated by the user at the time of the event or
     *  shortly before (vs. a background event like upgrading a database after the
     *  app was automatically updated).
     * 
*/ public boolean getIsUserInitiated() { return isUserInitiated_; } // repeated .wireless_android_play_playlog.LogEventKeyValues value = 3; public static final int VALUE_FIELD_NUMBER = 3; private java.util.List value_; /** * repeated .wireless_android_play_playlog.LogEventKeyValues value = 3; * *
     * These might contain PII and will not be stored for more than 8 days.
     *  If possible, please create a named field in the protos below instead.
     * 
*/ public java.util.List getValueList() { return value_; } /** * repeated .wireless_android_play_playlog.LogEventKeyValues value = 3; * *
     * These might contain PII and will not be stored for more than 8 days.
     *  If possible, please create a named field in the protos below instead.
     * 
*/ public java.util.List getValueOrBuilderList() { return value_; } /** * repeated .wireless_android_play_playlog.LogEventKeyValues value = 3; * *
     * These might contain PII and will not be stored for more than 8 days.
     *  If possible, please create a named field in the protos below instead.
     * 
*/ public int getValueCount() { return value_.size(); } /** * repeated .wireless_android_play_playlog.LogEventKeyValues value = 3; * *
     * These might contain PII and will not be stored for more than 8 days.
     *  If possible, please create a named field in the protos below instead.
     * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues getValue(int index) { return value_.get(index); } /** * repeated .wireless_android_play_playlog.LogEventKeyValues value = 3; * *
     * These might contain PII and will not be stored for more than 8 days.
     *  If possible, please create a named field in the protos below instead.
     * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValuesOrBuilder getValueOrBuilder( int index) { return value_.get(index); } // optional bytes store = 4; public static final int STORE_FIELD_NUMBER = 4; private com.google.protobuf.ByteString store_; /** * optional bytes store = 4; * *
     * TODO(jsw): Remove. We can't do that as of 2015/08/13 because we still get
     *  several thousand QPS from ancient Play Store clients who use this field.
     *
     *  Extension for Play Store app logs. Real type is PlayStoreLogEvent. This
     *  exists to support legacy clients. Use source_extension instead.
     * 
*/ public boolean hasStore() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional bytes store = 4; * *
     * TODO(jsw): Remove. We can't do that as of 2015/08/13 because we still get
     *  several thousand QPS from ancient Play Store clients who use this field.
     *
     *  Extension for Play Store app logs. Real type is PlayStoreLogEvent. This
     *  exists to support legacy clients. Use source_extension instead.
     * 
*/ public com.google.protobuf.ByteString getStore() { return store_; } // optional .wireless_android_play_playlog.AppUsage1pLogEvent app_usage_1p = 9; public static final int APP_USAGE_1P_FIELD_NUMBER = 9; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent appUsage1P_; /** * optional .wireless_android_play_playlog.AppUsage1pLogEvent app_usage_1p = 9; * *
     * First-party app usage tracking. Used only when log_source = APP_USAGE_1P.
     * 
*/ public boolean hasAppUsage1P() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional .wireless_android_play_playlog.AppUsage1pLogEvent app_usage_1p = 9; * *
     * First-party app usage tracking. Used only when log_source = APP_USAGE_1P.
     * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent getAppUsage1P() { return appUsage1P_; } /** * optional .wireless_android_play_playlog.AppUsage1pLogEvent app_usage_1p = 9; * *
     * First-party app usage tracking. Used only when log_source = APP_USAGE_1P.
     * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEventOrBuilder getAppUsage1POrBuilder() { return appUsage1P_; } // optional bytes source_extension = 6; public static final int SOURCE_EXTENSION_FIELD_NUMBER = 6; private com.google.protobuf.ByteString sourceExtension_; /** * optional bytes source_extension = 6; * *
     * A source specific extension (typically a serialized proto). The type of
     *  this data is determined by the log_source of the enclosing LogRequest.
     *  The proto is derived by calling ParseFromString method in
     *  net/proto2/public/message_lite.h.
     * 
*/ public boolean hasSourceExtension() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * optional bytes source_extension = 6; * *
     * A source specific extension (typically a serialized proto). The type of
     *  this data is determined by the log_source of the enclosing LogRequest.
     *  The proto is derived by calling ParseFromString method in
     *  net/proto2/public/message_lite.h.
     * 
*/ public com.google.protobuf.ByteString getSourceExtension() { return sourceExtension_; } // optional string source_extension_js = 8; public static final int SOURCE_EXTENSION_JS_FIELD_NUMBER = 8; private java.lang.Object sourceExtensionJs_; /** * optional string source_extension_js = 8; * *
     * A jspb version of source_extension, using array serialization format.
     *  More info on JSPB at go/jspb.
     * 
*/ public boolean hasSourceExtensionJs() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * optional string source_extension_js = 8; * *
     * A jspb version of source_extension, using array serialization format.
     *  More info on JSPB at go/jspb.
     * 
*/ public java.lang.String getSourceExtensionJs() { java.lang.Object ref = sourceExtensionJs_; 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()) { sourceExtensionJs_ = s; } return s; } } /** * optional string source_extension_js = 8; * *
     * A jspb version of source_extension, using array serialization format.
     *  More info on JSPB at go/jspb.
     * 
*/ public com.google.protobuf.ByteString getSourceExtensionJsBytes() { java.lang.Object ref = sourceExtensionJs_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sourceExtensionJs_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string source_extension_json = 13; public static final int SOURCE_EXTENSION_JSON_FIELD_NUMBER = 13; private java.lang.Object sourceExtensionJson_; /** * optional string source_extension_json = 13; * *
     * A stringified json proto version of source_extension.  The json string is
     *  converted back to proto using the json_format utility at
     *  net/proto2/util/public/json_format.h, without any flags.
     * 
*/ public boolean hasSourceExtensionJson() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** * optional string source_extension_json = 13; * *
     * A stringified json proto version of source_extension.  The json string is
     *  converted back to proto using the json_format utility at
     *  net/proto2/util/public/json_format.h, without any flags.
     * 
*/ public java.lang.String getSourceExtensionJson() { java.lang.Object ref = sourceExtensionJson_; 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()) { sourceExtensionJson_ = s; } return s; } } /** * optional string source_extension_json = 13; * *
     * A stringified json proto version of source_extension.  The json string is
     *  converted back to proto using the json_format utility at
     *  net/proto2/util/public/json_format.h, without any flags.
     * 
*/ public com.google.protobuf.ByteString getSourceExtensionJsonBytes() { java.lang.Object ref = sourceExtensionJson_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sourceExtensionJson_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional .wireless_android_play_playlog.ActiveExperiments exp = 7; public static final int EXP_FIELD_NUMBER = 7; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments exp_; /** * optional .wireless_android_play_playlog.ActiveExperiments exp = 7; * *
     * The set of currently active experiments. If missing, then the server will
     *  assume that experiment on/off status has not changed since the previous
     *  LogEvent message in the same LogRequest proto. If missing in the very first
     *  LogEvent of a LogRequest, then the server will assume that all experiments
     *  are off.
     * 
*/ public boolean hasExp() { return ((bitField0_ & 0x00001000) == 0x00001000); } /** * optional .wireless_android_play_playlog.ActiveExperiments exp = 7; * *
     * The set of currently active experiments. If missing, then the server will
     *  assume that experiment on/off status has not changed since the previous
     *  LogEvent message in the same LogRequest proto. If missing in the very first
     *  LogEvent of a LogRequest, then the server will assume that all experiments
     *  are off.
     * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments getExp() { return exp_; } /** * optional .wireless_android_play_playlog.ActiveExperiments exp = 7; * *
     * The set of currently active experiments. If missing, then the server will
     *  assume that experiment on/off status has not changed since the previous
     *  LogEvent message in the same LogRequest proto. If missing in the very first
     *  LogEvent of a LogRequest, then the server will assume that all experiments
     *  are off.
     * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperimentsOrBuilder getExpOrBuilder() { return exp_; } // optional string test_id = 14; public static final int TEST_ID_FIELD_NUMBER = 14; private java.lang.Object testId_; /** * optional string test_id = 14; * *
     * A string for identifying a test run.  You may use this string to group log
     *  data coming from a test run.  Usually logs from test apps or from normal
     *  apps running on test devices will have this field set.
     * 
*/ public boolean hasTestId() { return ((bitField0_ & 0x00002000) == 0x00002000); } /** * optional string test_id = 14; * *
     * A string for identifying a test run.  You may use this string to group log
     *  data coming from a test run.  Usually logs from test apps or from normal
     *  apps running on test devices will have this field set.
     * 
*/ public java.lang.String getTestId() { java.lang.Object ref = testId_; 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()) { testId_ = s; } return s; } } /** * optional string test_id = 14; * *
     * A string for identifying a test run.  You may use this string to group log
     *  data coming from a test run.  Usually logs from test apps or from normal
     *  apps running on test devices will have this field set.
     * 
*/ public com.google.protobuf.ByteString getTestIdBytes() { java.lang.Object ref = testId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); testId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional sint64 timezone_offset_seconds = 15 [default = 180000]; public static final int TIMEZONE_OFFSET_SECONDS_FIELD_NUMBER = 15; private long timezoneOffsetSeconds_; /** * optional sint64 timezone_offset_seconds = 15 [default = 180000]; * *
     * User's timezone offset from UTC in seconds. If the user's UTC time
     *  is X millis then the on-device clock time would be
     *  X + timezone_offset_seconds * 1000.
     *  The default value is non-sensical, mainly so that 0 can be distinguished
     *  from "not specified" using proto nano (and without changing our build
     *  options to use reference types for primitives).
     * 
*/ public boolean hasTimezoneOffsetSeconds() { return ((bitField0_ & 0x00004000) == 0x00004000); } /** * optional sint64 timezone_offset_seconds = 15 [default = 180000]; * *
     * User's timezone offset from UTC in seconds. If the user's UTC time
     *  is X millis then the on-device clock time would be
     *  X + timezone_offset_seconds * 1000.
     *  The default value is non-sensical, mainly so that 0 can be distinguished
     *  from "not specified" using proto nano (and without changing our build
     *  options to use reference types for primitives).
     * 
*/ public long getTimezoneOffsetSeconds() { return timezoneOffsetSeconds_; } // optional .wireless_android_play_playlog.ExperimentIds experiment_ids = 16; public static final int EXPERIMENT_IDS_FIELD_NUMBER = 16; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds experimentIds_; /** * optional .wireless_android_play_playlog.ExperimentIds experiment_ids = 16; * *
     * serialized DeviceExperimentIds; the experiment ids are propagated
     *  to GWSLog experiment ids
     * 
*/ public boolean hasExperimentIds() { return ((bitField0_ & 0x00008000) == 0x00008000); } /** * optional .wireless_android_play_playlog.ExperimentIds experiment_ids = 16; * *
     * serialized DeviceExperimentIds; the experiment ids are propagated
     *  to GWSLog experiment ids
     * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds getExperimentIds() { return experimentIds_; } /** * optional .wireless_android_play_playlog.ExperimentIds experiment_ids = 16; * *
     * serialized DeviceExperimentIds; the experiment ids are propagated
     *  to GWSLog experiment ids
     * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdsOrBuilder getExperimentIdsOrBuilder() { return experimentIds_; } // optional bytes client_ve = 18; public static final int CLIENT_VE_FIELD_NUMBER = 18; private com.google.protobuf.ByteString clientVe_; /** * optional bytes client_ve = 18; * *
     * Serialized proto message of ClientVisualElementsProto as defined in
     *  logs/proto/visual_element/client_visual_elements.proto. The client can
     *  optionally send a log event with this field set. In this case, clearcut
     *  server needs to deserialize the bytes as a ClientVisualElementsProto and
     *  sets appropriate fields in the output GWSLogEntryProto.
     *
     *  See http://go/NativeVeLogging for more information.
     * 
*/ public boolean hasClientVe() { return ((bitField0_ & 0x00010000) == 0x00010000); } /** * optional bytes client_ve = 18; * *
     * Serialized proto message of ClientVisualElementsProto as defined in
     *  logs/proto/visual_element/client_visual_elements.proto. The client can
     *  optionally send a log event with this field set. In this case, clearcut
     *  server needs to deserialize the bytes as a ClientVisualElementsProto and
     *  sets appropriate fields in the output GWSLogEntryProto.
     *
     *  See http://go/NativeVeLogging for more information.
     * 
*/ public com.google.protobuf.ByteString getClientVe() { return clientVe_; } // optional string client_ve_js = 24; public static final int CLIENT_VE_JS_FIELD_NUMBER = 24; private java.lang.Object clientVeJs_; /** * optional string client_ve_js = 24; * *
     * Alternative serialized field for the client_ve field defined in 18.
     *  Serialize using array serialization format. More info at go/jspb.
     * 
*/ public boolean hasClientVeJs() { return ((bitField0_ & 0x00020000) == 0x00020000); } /** * optional string client_ve_js = 24; * *
     * Alternative serialized field for the client_ve field defined in 18.
     *  Serialize using array serialization format. More info at go/jspb.
     * 
*/ public java.lang.String getClientVeJs() { java.lang.Object ref = clientVeJs_; 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()) { clientVeJs_ = s; } return s; } } /** * optional string client_ve_js = 24; * *
     * Alternative serialized field for the client_ve field defined in 18.
     *  Serialize using array serialization format. More info at go/jspb.
     * 
*/ public com.google.protobuf.ByteString getClientVeJsBytes() { java.lang.Object ref = clientVeJs_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientVeJs_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional .wireless_android_play_playlog.LogEvent.InternalEvent internal_event = 19; public static final int INTERNAL_EVENT_FIELD_NUMBER = 19; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent.InternalEvent internalEvent_; /** * optional .wireless_android_play_playlog.LogEvent.InternalEvent internal_event = 19; */ public boolean hasInternalEvent() { return ((bitField0_ & 0x00040000) == 0x00040000); } /** * optional .wireless_android_play_playlog.LogEvent.InternalEvent internal_event = 19; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent.InternalEvent getInternalEvent() { return internalEvent_; } // repeated int32 test_code = 20; public static final int TEST_CODE_FIELD_NUMBER = 20; private java.util.List testCode_; /** * repeated int32 test_code = 20; * *
     * Indicates that an interesting thing has occurred. Used to narrow the set
     *  of samples to consider in analysis. Test codes are copied to
     *  GwsLogEntryProto.TestCode.
     *
     *  See google3/ads/base/test_codes/test_codes.proto
     *  for Ads' use of test codes.
     * 
*/ public java.util.List getTestCodeList() { return testCode_; } /** * repeated int32 test_code = 20; * *
     * Indicates that an interesting thing has occurred. Used to narrow the set
     *  of samples to consider in analysis. Test codes are copied to
     *  GwsLogEntryProto.TestCode.
     *
     *  See google3/ads/base/test_codes/test_codes.proto
     *  for Ads' use of test codes.
     * 
*/ public int getTestCodeCount() { return testCode_.size(); } /** * repeated int32 test_code = 20; * *
     * Indicates that an interesting thing has occurred. Used to narrow the set
     *  of samples to consider in analysis. Test codes are copied to
     *  GwsLogEntryProto.TestCode.
     *
     *  See google3/ads/base/test_codes/test_codes.proto
     *  for Ads' use of test codes.
     * 
*/ public int getTestCode(int index) { return testCode_.get(index); } // optional int64 boot_count = 22; public static final int BOOT_COUNT_FIELD_NUMBER = 22; private long bootCount_; /** * optional int64 boot_count = 22; * *
     * Number of times the device is known to have booted. Taken together,
     *  {boot-count, uptime} pairs are a monotonically increasing counter which
     *  can be used to order events accross log sources.
     * 
*/ public boolean hasBootCount() { return ((bitField0_ & 0x00080000) == 0x00080000); } /** * optional int64 boot_count = 22; * *
     * Number of times the device is known to have booted. Taken together,
     *  {boot-count, uptime} pairs are a monotonically increasing counter which
     *  can be used to order events accross log sources.
     * 
*/ public long getBootCount() { return bootCount_; } // optional .wireless_android_play_playlog.NetworkConnectionInfo network_connection_info = 23; public static final int NETWORK_CONNECTION_INFO_FIELD_NUMBER = 23; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo networkConnectionInfo_; /** * optional .wireless_android_play_playlog.NetworkConnectionInfo network_connection_info = 23; * *
     * The current network connectivity info when the event was logged in the
     *  client
     * 
*/ public boolean hasNetworkConnectionInfo() { return ((bitField0_ & 0x00100000) == 0x00100000); } /** * optional .wireless_android_play_playlog.NetworkConnectionInfo network_connection_info = 23; * *
     * The current network connectivity info when the event was logged in the
     *  client
     * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo getNetworkConnectionInfo() { return networkConnectionInfo_; } /** * optional .wireless_android_play_playlog.NetworkConnectionInfo network_connection_info = 23; * *
     * The current network connectivity info when the event was logged in the
     *  client
     * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfoOrBuilder getNetworkConnectionInfoOrBuilder() { return networkConnectionInfo_; } private void initFields() { eventTimeMs_ = 0L; eventUptimeMs_ = 0L; sequencePosition_ = 0L; tag_ = ""; eventCode_ = 0; eventFlowId_ = 0; isUserInitiated_ = false; value_ = java.util.Collections.emptyList(); store_ = com.google.protobuf.ByteString.EMPTY; appUsage1P_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent.getDefaultInstance(); sourceExtension_ = com.google.protobuf.ByteString.EMPTY; sourceExtensionJs_ = ""; sourceExtensionJson_ = ""; exp_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments.getDefaultInstance(); testId_ = ""; timezoneOffsetSeconds_ = 180000L; experimentIds_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds.getDefaultInstance(); clientVe_ = com.google.protobuf.ByteString.EMPTY; clientVeJs_ = ""; internalEvent_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent.InternalEvent.NONE; testCode_ = java.util.Collections.emptyList(); bootCount_ = 0L; networkConnectionInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo.getDefaultInstance(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!extensionsAreInitialized()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); com.google.protobuf.GeneratedMessage .ExtendableMessage.ExtensionWriter extensionWriter = newExtensionWriter(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt64(1, eventTimeMs_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(2, getTagBytes()); } for (int i = 0; i < value_.size(); i++) { output.writeMessage(3, value_.get(i)); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeBytes(4, store_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { output.writeBytes(6, sourceExtension_); } if (((bitField0_ & 0x00001000) == 0x00001000)) { output.writeMessage(7, exp_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { output.writeBytes(8, getSourceExtensionJsBytes()); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeMessage(9, appUsage1P_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeBool(10, isUserInitiated_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeInt32(11, eventCode_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeInt32(12, eventFlowId_); } if (((bitField0_ & 0x00000800) == 0x00000800)) { output.writeBytes(13, getSourceExtensionJsonBytes()); } if (((bitField0_ & 0x00002000) == 0x00002000)) { output.writeBytes(14, getTestIdBytes()); } if (((bitField0_ & 0x00004000) == 0x00004000)) { output.writeSInt64(15, timezoneOffsetSeconds_); } if (((bitField0_ & 0x00008000) == 0x00008000)) { output.writeMessage(16, experimentIds_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt64(17, eventUptimeMs_); } if (((bitField0_ & 0x00010000) == 0x00010000)) { output.writeBytes(18, clientVe_); } if (((bitField0_ & 0x00040000) == 0x00040000)) { output.writeEnum(19, internalEvent_.getNumber()); } for (int i = 0; i < testCode_.size(); i++) { output.writeInt32(20, testCode_.get(i)); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt64(21, sequencePosition_); } if (((bitField0_ & 0x00080000) == 0x00080000)) { output.writeInt64(22, bootCount_); } if (((bitField0_ & 0x00100000) == 0x00100000)) { output.writeMessage(23, networkConnectionInfo_); } if (((bitField0_ & 0x00020000) == 0x00020000)) { output.writeBytes(24, getClientVeJsBytes()); } extensionWriter.writeUntil(536870912, output); 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 .computeInt64Size(1, eventTimeMs_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getTagBytes()); } for (int i = 0; i < value_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, value_.get(i)); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, store_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(6, sourceExtension_); } if (((bitField0_ & 0x00001000) == 0x00001000)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, exp_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(8, getSourceExtensionJsBytes()); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, appUsage1P_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(10, isUserInitiated_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(11, eventCode_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(12, eventFlowId_); } if (((bitField0_ & 0x00000800) == 0x00000800)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(13, getSourceExtensionJsonBytes()); } if (((bitField0_ & 0x00002000) == 0x00002000)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(14, getTestIdBytes()); } if (((bitField0_ & 0x00004000) == 0x00004000)) { size += com.google.protobuf.CodedOutputStream .computeSInt64Size(15, timezoneOffsetSeconds_); } if (((bitField0_ & 0x00008000) == 0x00008000)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(16, experimentIds_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(17, eventUptimeMs_); } if (((bitField0_ & 0x00010000) == 0x00010000)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(18, clientVe_); } if (((bitField0_ & 0x00040000) == 0x00040000)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(19, internalEvent_.getNumber()); } { int dataSize = 0; for (int i = 0; i < testCode_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(testCode_.get(i)); } size += dataSize; size += 2 * getTestCodeList().size(); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(21, sequencePosition_); } if (((bitField0_ & 0x00080000) == 0x00080000)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(22, bootCount_); } if (((bitField0_ & 0x00100000) == 0x00100000)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(23, networkConnectionInfo_); } if (((bitField0_ & 0x00020000) == 0x00020000)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(24, getClientVeJsBytes()); } size += extensionsSerializedSize(); 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.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent 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.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent 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 wireless_android_play_playlog.LogEvent} * *
     * Next tag: 25
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.ExtendableBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent, Builder> implements com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_LogEvent_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_LogEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent.Builder.class); } // Construct using com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getValueFieldBuilder(); getAppUsage1PFieldBuilder(); getExpFieldBuilder(); getExperimentIdsFieldBuilder(); getNetworkConnectionInfoFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); eventTimeMs_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); eventUptimeMs_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); sequencePosition_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); tag_ = ""; bitField0_ = (bitField0_ & ~0x00000008); eventCode_ = 0; bitField0_ = (bitField0_ & ~0x00000010); eventFlowId_ = 0; bitField0_ = (bitField0_ & ~0x00000020); isUserInitiated_ = false; bitField0_ = (bitField0_ & ~0x00000040); if (valueBuilder_ == null) { value_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); } else { valueBuilder_.clear(); } store_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000100); if (appUsage1PBuilder_ == null) { appUsage1P_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent.getDefaultInstance(); } else { appUsage1PBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000200); sourceExtension_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000400); sourceExtensionJs_ = ""; bitField0_ = (bitField0_ & ~0x00000800); sourceExtensionJson_ = ""; bitField0_ = (bitField0_ & ~0x00001000); if (expBuilder_ == null) { exp_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments.getDefaultInstance(); } else { expBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00002000); testId_ = ""; bitField0_ = (bitField0_ & ~0x00004000); timezoneOffsetSeconds_ = 180000L; bitField0_ = (bitField0_ & ~0x00008000); if (experimentIdsBuilder_ == null) { experimentIds_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds.getDefaultInstance(); } else { experimentIdsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00010000); clientVe_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00020000); clientVeJs_ = ""; bitField0_ = (bitField0_ & ~0x00040000); internalEvent_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent.InternalEvent.NONE; bitField0_ = (bitField0_ & ~0x00080000); testCode_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00100000); bootCount_ = 0L; bitField0_ = (bitField0_ & ~0x00200000); if (networkConnectionInfoBuilder_ == null) { networkConnectionInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo.getDefaultInstance(); } else { networkConnectionInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00400000); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_LogEvent_descriptor; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent getDefaultInstanceForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent.getDefaultInstance(); } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent build() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent buildPartial() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent result = new com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.eventTimeMs_ = eventTimeMs_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.eventUptimeMs_ = eventUptimeMs_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.sequencePosition_ = sequencePosition_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.tag_ = tag_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.eventCode_ = eventCode_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.eventFlowId_ = eventFlowId_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.isUserInitiated_ = isUserInitiated_; if (valueBuilder_ == null) { if (((bitField0_ & 0x00000080) == 0x00000080)) { value_ = java.util.Collections.unmodifiableList(value_); bitField0_ = (bitField0_ & ~0x00000080); } result.value_ = value_; } else { result.value_ = valueBuilder_.build(); } if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000080; } result.store_ = store_; if (((from_bitField0_ & 0x00000200) == 0x00000200)) { to_bitField0_ |= 0x00000100; } if (appUsage1PBuilder_ == null) { result.appUsage1P_ = appUsage1P_; } else { result.appUsage1P_ = appUsage1PBuilder_.build(); } if (((from_bitField0_ & 0x00000400) == 0x00000400)) { to_bitField0_ |= 0x00000200; } result.sourceExtension_ = sourceExtension_; if (((from_bitField0_ & 0x00000800) == 0x00000800)) { to_bitField0_ |= 0x00000400; } result.sourceExtensionJs_ = sourceExtensionJs_; if (((from_bitField0_ & 0x00001000) == 0x00001000)) { to_bitField0_ |= 0x00000800; } result.sourceExtensionJson_ = sourceExtensionJson_; if (((from_bitField0_ & 0x00002000) == 0x00002000)) { to_bitField0_ |= 0x00001000; } if (expBuilder_ == null) { result.exp_ = exp_; } else { result.exp_ = expBuilder_.build(); } if (((from_bitField0_ & 0x00004000) == 0x00004000)) { to_bitField0_ |= 0x00002000; } result.testId_ = testId_; if (((from_bitField0_ & 0x00008000) == 0x00008000)) { to_bitField0_ |= 0x00004000; } result.timezoneOffsetSeconds_ = timezoneOffsetSeconds_; if (((from_bitField0_ & 0x00010000) == 0x00010000)) { to_bitField0_ |= 0x00008000; } if (experimentIdsBuilder_ == null) { result.experimentIds_ = experimentIds_; } else { result.experimentIds_ = experimentIdsBuilder_.build(); } if (((from_bitField0_ & 0x00020000) == 0x00020000)) { to_bitField0_ |= 0x00010000; } result.clientVe_ = clientVe_; if (((from_bitField0_ & 0x00040000) == 0x00040000)) { to_bitField0_ |= 0x00020000; } result.clientVeJs_ = clientVeJs_; if (((from_bitField0_ & 0x00080000) == 0x00080000)) { to_bitField0_ |= 0x00040000; } result.internalEvent_ = internalEvent_; if (((bitField0_ & 0x00100000) == 0x00100000)) { testCode_ = java.util.Collections.unmodifiableList(testCode_); bitField0_ = (bitField0_ & ~0x00100000); } result.testCode_ = testCode_; if (((from_bitField0_ & 0x00200000) == 0x00200000)) { to_bitField0_ |= 0x00080000; } result.bootCount_ = bootCount_; if (((from_bitField0_ & 0x00400000) == 0x00400000)) { to_bitField0_ |= 0x00100000; } if (networkConnectionInfoBuilder_ == null) { result.networkConnectionInfo_ = networkConnectionInfo_; } else { result.networkConnectionInfo_ = networkConnectionInfoBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent) { return mergeFrom((com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent other) { if (other == com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent.getDefaultInstance()) return this; if (other.hasEventTimeMs()) { setEventTimeMs(other.getEventTimeMs()); } if (other.hasEventUptimeMs()) { setEventUptimeMs(other.getEventUptimeMs()); } if (other.hasSequencePosition()) { setSequencePosition(other.getSequencePosition()); } if (other.hasTag()) { bitField0_ |= 0x00000008; tag_ = other.tag_; onChanged(); } if (other.hasEventCode()) { setEventCode(other.getEventCode()); } if (other.hasEventFlowId()) { setEventFlowId(other.getEventFlowId()); } if (other.hasIsUserInitiated()) { setIsUserInitiated(other.getIsUserInitiated()); } if (valueBuilder_ == null) { if (!other.value_.isEmpty()) { if (value_.isEmpty()) { value_ = other.value_; bitField0_ = (bitField0_ & ~0x00000080); } else { ensureValueIsMutable(); value_.addAll(other.value_); } onChanged(); } } else { if (!other.value_.isEmpty()) { if (valueBuilder_.isEmpty()) { valueBuilder_.dispose(); valueBuilder_ = null; value_ = other.value_; bitField0_ = (bitField0_ & ~0x00000080); valueBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getValueFieldBuilder() : null; } else { valueBuilder_.addAllMessages(other.value_); } } } if (other.hasStore()) { setStore(other.getStore()); } if (other.hasAppUsage1P()) { mergeAppUsage1P(other.getAppUsage1P()); } if (other.hasSourceExtension()) { setSourceExtension(other.getSourceExtension()); } if (other.hasSourceExtensionJs()) { bitField0_ |= 0x00000800; sourceExtensionJs_ = other.sourceExtensionJs_; onChanged(); } if (other.hasSourceExtensionJson()) { bitField0_ |= 0x00001000; sourceExtensionJson_ = other.sourceExtensionJson_; onChanged(); } if (other.hasExp()) { mergeExp(other.getExp()); } if (other.hasTestId()) { bitField0_ |= 0x00004000; testId_ = other.testId_; onChanged(); } if (other.hasTimezoneOffsetSeconds()) { setTimezoneOffsetSeconds(other.getTimezoneOffsetSeconds()); } if (other.hasExperimentIds()) { mergeExperimentIds(other.getExperimentIds()); } if (other.hasClientVe()) { setClientVe(other.getClientVe()); } if (other.hasClientVeJs()) { bitField0_ |= 0x00040000; clientVeJs_ = other.clientVeJs_; onChanged(); } if (other.hasInternalEvent()) { setInternalEvent(other.getInternalEvent()); } if (!other.testCode_.isEmpty()) { if (testCode_.isEmpty()) { testCode_ = other.testCode_; bitField0_ = (bitField0_ & ~0x00100000); } else { ensureTestCodeIsMutable(); testCode_.addAll(other.testCode_); } onChanged(); } if (other.hasBootCount()) { setBootCount(other.getBootCount()); } if (other.hasNetworkConnectionInfo()) { mergeNetworkConnectionInfo(other.getNetworkConnectionInfo()); } this.mergeExtensionFields(other); this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!extensionsAreInitialized()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional int64 event_time_ms = 1; private long eventTimeMs_ ; /** * optional int64 event_time_ms = 1; * *
       * Epoch time in milliseconds, according to the wall clock.
       *  See http://go/clearcut-timestamps for details on how this value is used.
       *  This field is required for Odyssey. Otherwise, events will be silently
       *  dropped.
       * 
*/ public boolean hasEventTimeMs() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 event_time_ms = 1; * *
       * Epoch time in milliseconds, according to the wall clock.
       *  See http://go/clearcut-timestamps for details on how this value is used.
       *  This field is required for Odyssey. Otherwise, events will be silently
       *  dropped.
       * 
*/ public long getEventTimeMs() { return eventTimeMs_; } /** * optional int64 event_time_ms = 1; * *
       * Epoch time in milliseconds, according to the wall clock.
       *  See http://go/clearcut-timestamps for details on how this value is used.
       *  This field is required for Odyssey. Otherwise, events will be silently
       *  dropped.
       * 
*/ public Builder setEventTimeMs(long value) { bitField0_ |= 0x00000001; eventTimeMs_ = value; onChanged(); return this; } /** * optional int64 event_time_ms = 1; * *
       * Epoch time in milliseconds, according to the wall clock.
       *  See http://go/clearcut-timestamps for details on how this value is used.
       *  This field is required for Odyssey. Otherwise, events will be silently
       *  dropped.
       * 
*/ public Builder clearEventTimeMs() { bitField0_ = (bitField0_ & ~0x00000001); eventTimeMs_ = 0L; onChanged(); return this; } // optional int64 event_uptime_ms = 17; private long eventUptimeMs_ ; /** * optional int64 event_uptime_ms = 17; * *
       * Time in milliseconds since the device was booted.  (On Android this
       *  is the result of SystemClock.elapsedRealtime(), not
       *  SystemClock.uptimeMillis() which does not increment when the device is in
       *  deep sleep.)
       *
       *  See http://go/clearcut-timestamps for details on how this value is used for
       *  timestamp corrections.  It is also copied to
       *  PlayExtension.client_elapsed_realtime_millis if the routing option
       *  "include_client_elapsed_realtime_millis" is set to true.
       * 
*/ public boolean hasEventUptimeMs() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int64 event_uptime_ms = 17; * *
       * Time in milliseconds since the device was booted.  (On Android this
       *  is the result of SystemClock.elapsedRealtime(), not
       *  SystemClock.uptimeMillis() which does not increment when the device is in
       *  deep sleep.)
       *
       *  See http://go/clearcut-timestamps for details on how this value is used for
       *  timestamp corrections.  It is also copied to
       *  PlayExtension.client_elapsed_realtime_millis if the routing option
       *  "include_client_elapsed_realtime_millis" is set to true.
       * 
*/ public long getEventUptimeMs() { return eventUptimeMs_; } /** * optional int64 event_uptime_ms = 17; * *
       * Time in milliseconds since the device was booted.  (On Android this
       *  is the result of SystemClock.elapsedRealtime(), not
       *  SystemClock.uptimeMillis() which does not increment when the device is in
       *  deep sleep.)
       *
       *  See http://go/clearcut-timestamps for details on how this value is used for
       *  timestamp corrections.  It is also copied to
       *  PlayExtension.client_elapsed_realtime_millis if the routing option
       *  "include_client_elapsed_realtime_millis" is set to true.
       * 
*/ public Builder setEventUptimeMs(long value) { bitField0_ |= 0x00000002; eventUptimeMs_ = value; onChanged(); return this; } /** * optional int64 event_uptime_ms = 17; * *
       * Time in milliseconds since the device was booted.  (On Android this
       *  is the result of SystemClock.elapsedRealtime(), not
       *  SystemClock.uptimeMillis() which does not increment when the device is in
       *  deep sleep.)
       *
       *  See http://go/clearcut-timestamps for details on how this value is used for
       *  timestamp corrections.  It is also copied to
       *  PlayExtension.client_elapsed_realtime_millis if the routing option
       *  "include_client_elapsed_realtime_millis" is set to true.
       * 
*/ public Builder clearEventUptimeMs() { bitField0_ = (bitField0_ & ~0x00000002); eventUptimeMs_ = 0L; onChanged(); return this; } // optional int64 sequence_position = 21; private long sequencePosition_ ; /** * optional int64 sequence_position = 21; * *
       * Client generated sequence position for this event - defines a total order
       *  for events from a given device. If event A's sequence position is less than
       *  event B's sequence position, then event A happened before event B.
       * 
*/ public boolean hasSequencePosition() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional int64 sequence_position = 21; * *
       * Client generated sequence position for this event - defines a total order
       *  for events from a given device. If event A's sequence position is less than
       *  event B's sequence position, then event A happened before event B.
       * 
*/ public long getSequencePosition() { return sequencePosition_; } /** * optional int64 sequence_position = 21; * *
       * Client generated sequence position for this event - defines a total order
       *  for events from a given device. If event A's sequence position is less than
       *  event B's sequence position, then event A happened before event B.
       * 
*/ public Builder setSequencePosition(long value) { bitField0_ |= 0x00000004; sequencePosition_ = value; onChanged(); return this; } /** * optional int64 sequence_position = 21; * *
       * Client generated sequence position for this event - defines a total order
       *  for events from a given device. If event A's sequence position is less than
       *  event B's sequence position, then event A happened before event B.
       * 
*/ public Builder clearSequencePosition() { bitField0_ = (bitField0_ & ~0x00000004); sequencePosition_ = 0L; onChanged(); return this; } // optional string tag = 2; private java.lang.Object tag_ = ""; /** * optional string tag = 2; * *
       * Type of event, could be "CLICK" or "PAGE_VIEW" or "DOWNLOAD_STATUS".
       *  There will be a common repository of cross-vertical events that should be
       *  used, but any individual app would be free to define their own tags.
       *
       *  STRONGLY DISCOURAGED: use event_code instead.
       * 
*/ public boolean hasTag() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string tag = 2; * *
       * Type of event, could be "CLICK" or "PAGE_VIEW" or "DOWNLOAD_STATUS".
       *  There will be a common repository of cross-vertical events that should be
       *  used, but any individual app would be free to define their own tags.
       *
       *  STRONGLY DISCOURAGED: use event_code instead.
       * 
*/ public java.lang.String getTag() { java.lang.Object ref = tag_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); tag_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string tag = 2; * *
       * Type of event, could be "CLICK" or "PAGE_VIEW" or "DOWNLOAD_STATUS".
       *  There will be a common repository of cross-vertical events that should be
       *  used, but any individual app would be free to define their own tags.
       *
       *  STRONGLY DISCOURAGED: use event_code instead.
       * 
*/ public com.google.protobuf.ByteString getTagBytes() { java.lang.Object ref = tag_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tag_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string tag = 2; * *
       * Type of event, could be "CLICK" or "PAGE_VIEW" or "DOWNLOAD_STATUS".
       *  There will be a common repository of cross-vertical events that should be
       *  used, but any individual app would be free to define their own tags.
       *
       *  STRONGLY DISCOURAGED: use event_code instead.
       * 
*/ public Builder setTag( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; tag_ = value; onChanged(); return this; } /** * optional string tag = 2; * *
       * Type of event, could be "CLICK" or "PAGE_VIEW" or "DOWNLOAD_STATUS".
       *  There will be a common repository of cross-vertical events that should be
       *  used, but any individual app would be free to define their own tags.
       *
       *  STRONGLY DISCOURAGED: use event_code instead.
       * 
*/ public Builder clearTag() { bitField0_ = (bitField0_ & ~0x00000008); tag_ = getDefaultInstance().getTag(); onChanged(); return this; } /** * optional string tag = 2; * *
       * Type of event, could be "CLICK" or "PAGE_VIEW" or "DOWNLOAD_STATUS".
       *  There will be a common repository of cross-vertical events that should be
       *  used, but any individual app would be free to define their own tags.
       *
       *  STRONGLY DISCOURAGED: use event_code instead.
       * 
*/ public Builder setTagBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; tag_ = value; onChanged(); return this; } // optional int32 event_code = 11; private int eventCode_ ; /** * optional int32 event_code = 11; * *
       * Type of event. Different kinds of events inside a client app should have
       *  different values of 'event_code'. Different client apps may have
       *  overlapping sets of 'event_code' values; these values are only meant to
       *  make sense within the context of a single client app, as identified by
       *  the 'log_source' field of LogRequest.
       *
       *  A typical way to use 'event_code' is to define the enum of possible values
       *  inside of the custom logging extension proto.
       *  TODO(abednego): add an example CL.
       *
       *  This enum type should be annotated with a LogEventRoutingConfig proto.
       * 
*/ public boolean hasEventCode() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional int32 event_code = 11; * *
       * Type of event. Different kinds of events inside a client app should have
       *  different values of 'event_code'. Different client apps may have
       *  overlapping sets of 'event_code' values; these values are only meant to
       *  make sense within the context of a single client app, as identified by
       *  the 'log_source' field of LogRequest.
       *
       *  A typical way to use 'event_code' is to define the enum of possible values
       *  inside of the custom logging extension proto.
       *  TODO(abednego): add an example CL.
       *
       *  This enum type should be annotated with a LogEventRoutingConfig proto.
       * 
*/ public int getEventCode() { return eventCode_; } /** * optional int32 event_code = 11; * *
       * Type of event. Different kinds of events inside a client app should have
       *  different values of 'event_code'. Different client apps may have
       *  overlapping sets of 'event_code' values; these values are only meant to
       *  make sense within the context of a single client app, as identified by
       *  the 'log_source' field of LogRequest.
       *
       *  A typical way to use 'event_code' is to define the enum of possible values
       *  inside of the custom logging extension proto.
       *  TODO(abednego): add an example CL.
       *
       *  This enum type should be annotated with a LogEventRoutingConfig proto.
       * 
*/ public Builder setEventCode(int value) { bitField0_ |= 0x00000010; eventCode_ = value; onChanged(); return this; } /** * optional int32 event_code = 11; * *
       * Type of event. Different kinds of events inside a client app should have
       *  different values of 'event_code'. Different client apps may have
       *  overlapping sets of 'event_code' values; these values are only meant to
       *  make sense within the context of a single client app, as identified by
       *  the 'log_source' field of LogRequest.
       *
       *  A typical way to use 'event_code' is to define the enum of possible values
       *  inside of the custom logging extension proto.
       *  TODO(abednego): add an example CL.
       *
       *  This enum type should be annotated with a LogEventRoutingConfig proto.
       * 
*/ public Builder clearEventCode() { bitField0_ = (bitField0_ & ~0x00000010); eventCode_ = 0; onChanged(); return this; } // optional int32 event_flow_id = 12; private int eventFlowId_ ; /** * optional int32 event_flow_id = 12; * *
       * Identifies a group of events that belong to the same flow or session of
       *  user interaction, which is a client-specific concept.
       *
       *  These IDs are used in the Clearcut/UMA pipeline for computing latencies
       *  between pairs of events, where it is necessary to ensure that both events
       *  belong to the same flow.
       *
       *  For example, the Google Play team may want to give a unique ID to each
       *  purchase session, including all of the events starting from the initial
       *  search for an app to the eventual purchase and installation of the app.
       *  Another example would be the Search app wanting to tie together search
       *  query events and clicks on search results, especially if several instances
       *  of the app may be active at the same time.
       * 
*/ public boolean hasEventFlowId() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional int32 event_flow_id = 12; * *
       * Identifies a group of events that belong to the same flow or session of
       *  user interaction, which is a client-specific concept.
       *
       *  These IDs are used in the Clearcut/UMA pipeline for computing latencies
       *  between pairs of events, where it is necessary to ensure that both events
       *  belong to the same flow.
       *
       *  For example, the Google Play team may want to give a unique ID to each
       *  purchase session, including all of the events starting from the initial
       *  search for an app to the eventual purchase and installation of the app.
       *  Another example would be the Search app wanting to tie together search
       *  query events and clicks on search results, especially if several instances
       *  of the app may be active at the same time.
       * 
*/ public int getEventFlowId() { return eventFlowId_; } /** * optional int32 event_flow_id = 12; * *
       * Identifies a group of events that belong to the same flow or session of
       *  user interaction, which is a client-specific concept.
       *
       *  These IDs are used in the Clearcut/UMA pipeline for computing latencies
       *  between pairs of events, where it is necessary to ensure that both events
       *  belong to the same flow.
       *
       *  For example, the Google Play team may want to give a unique ID to each
       *  purchase session, including all of the events starting from the initial
       *  search for an app to the eventual purchase and installation of the app.
       *  Another example would be the Search app wanting to tie together search
       *  query events and clicks on search results, especially if several instances
       *  of the app may be active at the same time.
       * 
*/ public Builder setEventFlowId(int value) { bitField0_ |= 0x00000020; eventFlowId_ = value; onChanged(); return this; } /** * optional int32 event_flow_id = 12; * *
       * Identifies a group of events that belong to the same flow or session of
       *  user interaction, which is a client-specific concept.
       *
       *  These IDs are used in the Clearcut/UMA pipeline for computing latencies
       *  between pairs of events, where it is necessary to ensure that both events
       *  belong to the same flow.
       *
       *  For example, the Google Play team may want to give a unique ID to each
       *  purchase session, including all of the events starting from the initial
       *  search for an app to the eventual purchase and installation of the app.
       *  Another example would be the Search app wanting to tie together search
       *  query events and clicks on search results, especially if several instances
       *  of the app may be active at the same time.
       * 
*/ public Builder clearEventFlowId() { bitField0_ = (bitField0_ & ~0x00000020); eventFlowId_ = 0; onChanged(); return this; } // optional bool is_user_initiated = 10; private boolean isUserInitiated_ ; /** * optional bool is_user_initiated = 10; * *
       * Whether this event was initiated by the user at the time of the event or
       *  shortly before (vs. a background event like upgrading a database after the
       *  app was automatically updated).
       * 
*/ public boolean hasIsUserInitiated() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional bool is_user_initiated = 10; * *
       * Whether this event was initiated by the user at the time of the event or
       *  shortly before (vs. a background event like upgrading a database after the
       *  app was automatically updated).
       * 
*/ public boolean getIsUserInitiated() { return isUserInitiated_; } /** * optional bool is_user_initiated = 10; * *
       * Whether this event was initiated by the user at the time of the event or
       *  shortly before (vs. a background event like upgrading a database after the
       *  app was automatically updated).
       * 
*/ public Builder setIsUserInitiated(boolean value) { bitField0_ |= 0x00000040; isUserInitiated_ = value; onChanged(); return this; } /** * optional bool is_user_initiated = 10; * *
       * Whether this event was initiated by the user at the time of the event or
       *  shortly before (vs. a background event like upgrading a database after the
       *  app was automatically updated).
       * 
*/ public Builder clearIsUserInitiated() { bitField0_ = (bitField0_ & ~0x00000040); isUserInitiated_ = false; onChanged(); return this; } // repeated .wireless_android_play_playlog.LogEventKeyValues value = 3; private java.util.List value_ = java.util.Collections.emptyList(); private void ensureValueIsMutable() { if (!((bitField0_ & 0x00000080) == 0x00000080)) { value_ = new java.util.ArrayList(value_); bitField0_ |= 0x00000080; } } private com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValuesOrBuilder> valueBuilder_; /** * repeated .wireless_android_play_playlog.LogEventKeyValues value = 3; * *
       * These might contain PII and will not be stored for more than 8 days.
       *  If possible, please create a named field in the protos below instead.
       * 
*/ public java.util.List getValueList() { if (valueBuilder_ == null) { return java.util.Collections.unmodifiableList(value_); } else { return valueBuilder_.getMessageList(); } } /** * repeated .wireless_android_play_playlog.LogEventKeyValues value = 3; * *
       * These might contain PII and will not be stored for more than 8 days.
       *  If possible, please create a named field in the protos below instead.
       * 
*/ public int getValueCount() { if (valueBuilder_ == null) { return value_.size(); } else { return valueBuilder_.getCount(); } } /** * repeated .wireless_android_play_playlog.LogEventKeyValues value = 3; * *
       * These might contain PII and will not be stored for more than 8 days.
       *  If possible, please create a named field in the protos below instead.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues getValue(int index) { if (valueBuilder_ == null) { return value_.get(index); } else { return valueBuilder_.getMessage(index); } } /** * repeated .wireless_android_play_playlog.LogEventKeyValues value = 3; * *
       * These might contain PII and will not be stored for more than 8 days.
       *  If possible, please create a named field in the protos below instead.
       * 
*/ public Builder setValue( int index, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues value) { if (valueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValueIsMutable(); value_.set(index, value); onChanged(); } else { valueBuilder_.setMessage(index, value); } return this; } /** * repeated .wireless_android_play_playlog.LogEventKeyValues value = 3; * *
       * These might contain PII and will not be stored for more than 8 days.
       *  If possible, please create a named field in the protos below instead.
       * 
*/ public Builder setValue( int index, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues.Builder builderForValue) { if (valueBuilder_ == null) { ensureValueIsMutable(); value_.set(index, builderForValue.build()); onChanged(); } else { valueBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .wireless_android_play_playlog.LogEventKeyValues value = 3; * *
       * These might contain PII and will not be stored for more than 8 days.
       *  If possible, please create a named field in the protos below instead.
       * 
*/ public Builder addValue(com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues value) { if (valueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValueIsMutable(); value_.add(value); onChanged(); } else { valueBuilder_.addMessage(value); } return this; } /** * repeated .wireless_android_play_playlog.LogEventKeyValues value = 3; * *
       * These might contain PII and will not be stored for more than 8 days.
       *  If possible, please create a named field in the protos below instead.
       * 
*/ public Builder addValue( int index, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues value) { if (valueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValueIsMutable(); value_.add(index, value); onChanged(); } else { valueBuilder_.addMessage(index, value); } return this; } /** * repeated .wireless_android_play_playlog.LogEventKeyValues value = 3; * *
       * These might contain PII and will not be stored for more than 8 days.
       *  If possible, please create a named field in the protos below instead.
       * 
*/ public Builder addValue( com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues.Builder builderForValue) { if (valueBuilder_ == null) { ensureValueIsMutable(); value_.add(builderForValue.build()); onChanged(); } else { valueBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .wireless_android_play_playlog.LogEventKeyValues value = 3; * *
       * These might contain PII and will not be stored for more than 8 days.
       *  If possible, please create a named field in the protos below instead.
       * 
*/ public Builder addValue( int index, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues.Builder builderForValue) { if (valueBuilder_ == null) { ensureValueIsMutable(); value_.add(index, builderForValue.build()); onChanged(); } else { valueBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .wireless_android_play_playlog.LogEventKeyValues value = 3; * *
       * These might contain PII and will not be stored for more than 8 days.
       *  If possible, please create a named field in the protos below instead.
       * 
*/ public Builder addAllValue( java.lang.Iterable values) { if (valueBuilder_ == null) { ensureValueIsMutable(); super.addAll(values, value_); onChanged(); } else { valueBuilder_.addAllMessages(values); } return this; } /** * repeated .wireless_android_play_playlog.LogEventKeyValues value = 3; * *
       * These might contain PII and will not be stored for more than 8 days.
       *  If possible, please create a named field in the protos below instead.
       * 
*/ public Builder clearValue() { if (valueBuilder_ == null) { value_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); onChanged(); } else { valueBuilder_.clear(); } return this; } /** * repeated .wireless_android_play_playlog.LogEventKeyValues value = 3; * *
       * These might contain PII and will not be stored for more than 8 days.
       *  If possible, please create a named field in the protos below instead.
       * 
*/ public Builder removeValue(int index) { if (valueBuilder_ == null) { ensureValueIsMutable(); value_.remove(index); onChanged(); } else { valueBuilder_.remove(index); } return this; } /** * repeated .wireless_android_play_playlog.LogEventKeyValues value = 3; * *
       * These might contain PII and will not be stored for more than 8 days.
       *  If possible, please create a named field in the protos below instead.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues.Builder getValueBuilder( int index) { return getValueFieldBuilder().getBuilder(index); } /** * repeated .wireless_android_play_playlog.LogEventKeyValues value = 3; * *
       * These might contain PII and will not be stored for more than 8 days.
       *  If possible, please create a named field in the protos below instead.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValuesOrBuilder getValueOrBuilder( int index) { if (valueBuilder_ == null) { return value_.get(index); } else { return valueBuilder_.getMessageOrBuilder(index); } } /** * repeated .wireless_android_play_playlog.LogEventKeyValues value = 3; * *
       * These might contain PII and will not be stored for more than 8 days.
       *  If possible, please create a named field in the protos below instead.
       * 
*/ public java.util.List getValueOrBuilderList() { if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(value_); } } /** * repeated .wireless_android_play_playlog.LogEventKeyValues value = 3; * *
       * These might contain PII and will not be stored for more than 8 days.
       *  If possible, please create a named field in the protos below instead.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues.Builder addValueBuilder() { return getValueFieldBuilder().addBuilder( com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues.getDefaultInstance()); } /** * repeated .wireless_android_play_playlog.LogEventKeyValues value = 3; * *
       * These might contain PII and will not be stored for more than 8 days.
       *  If possible, please create a named field in the protos below instead.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues.Builder addValueBuilder( int index) { return getValueFieldBuilder().addBuilder( index, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues.getDefaultInstance()); } /** * repeated .wireless_android_play_playlog.LogEventKeyValues value = 3; * *
       * These might contain PII and will not be stored for more than 8 days.
       *  If possible, please create a named field in the protos below instead.
       * 
*/ public java.util.List getValueBuilderList() { return getValueFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValuesOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { valueBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValues.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventKeyValuesOrBuilder>( value_, ((bitField0_ & 0x00000080) == 0x00000080), getParentForChildren(), isClean()); value_ = null; } return valueBuilder_; } // optional bytes store = 4; private com.google.protobuf.ByteString store_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes store = 4; * *
       * TODO(jsw): Remove. We can't do that as of 2015/08/13 because we still get
       *  several thousand QPS from ancient Play Store clients who use this field.
       *
       *  Extension for Play Store app logs. Real type is PlayStoreLogEvent. This
       *  exists to support legacy clients. Use source_extension instead.
       * 
*/ public boolean hasStore() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional bytes store = 4; * *
       * TODO(jsw): Remove. We can't do that as of 2015/08/13 because we still get
       *  several thousand QPS from ancient Play Store clients who use this field.
       *
       *  Extension for Play Store app logs. Real type is PlayStoreLogEvent. This
       *  exists to support legacy clients. Use source_extension instead.
       * 
*/ public com.google.protobuf.ByteString getStore() { return store_; } /** * optional bytes store = 4; * *
       * TODO(jsw): Remove. We can't do that as of 2015/08/13 because we still get
       *  several thousand QPS from ancient Play Store clients who use this field.
       *
       *  Extension for Play Store app logs. Real type is PlayStoreLogEvent. This
       *  exists to support legacy clients. Use source_extension instead.
       * 
*/ public Builder setStore(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; store_ = value; onChanged(); return this; } /** * optional bytes store = 4; * *
       * TODO(jsw): Remove. We can't do that as of 2015/08/13 because we still get
       *  several thousand QPS from ancient Play Store clients who use this field.
       *
       *  Extension for Play Store app logs. Real type is PlayStoreLogEvent. This
       *  exists to support legacy clients. Use source_extension instead.
       * 
*/ public Builder clearStore() { bitField0_ = (bitField0_ & ~0x00000100); store_ = getDefaultInstance().getStore(); onChanged(); return this; } // optional .wireless_android_play_playlog.AppUsage1pLogEvent app_usage_1p = 9; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent appUsage1P_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent, com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEventOrBuilder> appUsage1PBuilder_; /** * optional .wireless_android_play_playlog.AppUsage1pLogEvent app_usage_1p = 9; * *
       * First-party app usage tracking. Used only when log_source = APP_USAGE_1P.
       * 
*/ public boolean hasAppUsage1P() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * optional .wireless_android_play_playlog.AppUsage1pLogEvent app_usage_1p = 9; * *
       * First-party app usage tracking. Used only when log_source = APP_USAGE_1P.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent getAppUsage1P() { if (appUsage1PBuilder_ == null) { return appUsage1P_; } else { return appUsage1PBuilder_.getMessage(); } } /** * optional .wireless_android_play_playlog.AppUsage1pLogEvent app_usage_1p = 9; * *
       * First-party app usage tracking. Used only when log_source = APP_USAGE_1P.
       * 
*/ public Builder setAppUsage1P(com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent value) { if (appUsage1PBuilder_ == null) { if (value == null) { throw new NullPointerException(); } appUsage1P_ = value; onChanged(); } else { appUsage1PBuilder_.setMessage(value); } bitField0_ |= 0x00000200; return this; } /** * optional .wireless_android_play_playlog.AppUsage1pLogEvent app_usage_1p = 9; * *
       * First-party app usage tracking. Used only when log_source = APP_USAGE_1P.
       * 
*/ public Builder setAppUsage1P( com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent.Builder builderForValue) { if (appUsage1PBuilder_ == null) { appUsage1P_ = builderForValue.build(); onChanged(); } else { appUsage1PBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000200; return this; } /** * optional .wireless_android_play_playlog.AppUsage1pLogEvent app_usage_1p = 9; * *
       * First-party app usage tracking. Used only when log_source = APP_USAGE_1P.
       * 
*/ public Builder mergeAppUsage1P(com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent value) { if (appUsage1PBuilder_ == null) { if (((bitField0_ & 0x00000200) == 0x00000200) && appUsage1P_ != com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent.getDefaultInstance()) { appUsage1P_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent.newBuilder(appUsage1P_).mergeFrom(value).buildPartial(); } else { appUsage1P_ = value; } onChanged(); } else { appUsage1PBuilder_.mergeFrom(value); } bitField0_ |= 0x00000200; return this; } /** * optional .wireless_android_play_playlog.AppUsage1pLogEvent app_usage_1p = 9; * *
       * First-party app usage tracking. Used only when log_source = APP_USAGE_1P.
       * 
*/ public Builder clearAppUsage1P() { if (appUsage1PBuilder_ == null) { appUsage1P_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent.getDefaultInstance(); onChanged(); } else { appUsage1PBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000200); return this; } /** * optional .wireless_android_play_playlog.AppUsage1pLogEvent app_usage_1p = 9; * *
       * First-party app usage tracking. Used only when log_source = APP_USAGE_1P.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent.Builder getAppUsage1PBuilder() { bitField0_ |= 0x00000200; onChanged(); return getAppUsage1PFieldBuilder().getBuilder(); } /** * optional .wireless_android_play_playlog.AppUsage1pLogEvent app_usage_1p = 9; * *
       * First-party app usage tracking. Used only when log_source = APP_USAGE_1P.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEventOrBuilder getAppUsage1POrBuilder() { if (appUsage1PBuilder_ != null) { return appUsage1PBuilder_.getMessageOrBuilder(); } else { return appUsage1P_; } } /** * optional .wireless_android_play_playlog.AppUsage1pLogEvent app_usage_1p = 9; * *
       * First-party app usage tracking. Used only when log_source = APP_USAGE_1P.
       * 
*/ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent, com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEventOrBuilder> getAppUsage1PFieldBuilder() { if (appUsage1PBuilder_ == null) { appUsage1PBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent, com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEventOrBuilder>( appUsage1P_, getParentForChildren(), isClean()); appUsage1P_ = null; } return appUsage1PBuilder_; } // optional bytes source_extension = 6; private com.google.protobuf.ByteString sourceExtension_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes source_extension = 6; * *
       * A source specific extension (typically a serialized proto). The type of
       *  this data is determined by the log_source of the enclosing LogRequest.
       *  The proto is derived by calling ParseFromString method in
       *  net/proto2/public/message_lite.h.
       * 
*/ public boolean hasSourceExtension() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * optional bytes source_extension = 6; * *
       * A source specific extension (typically a serialized proto). The type of
       *  this data is determined by the log_source of the enclosing LogRequest.
       *  The proto is derived by calling ParseFromString method in
       *  net/proto2/public/message_lite.h.
       * 
*/ public com.google.protobuf.ByteString getSourceExtension() { return sourceExtension_; } /** * optional bytes source_extension = 6; * *
       * A source specific extension (typically a serialized proto). The type of
       *  this data is determined by the log_source of the enclosing LogRequest.
       *  The proto is derived by calling ParseFromString method in
       *  net/proto2/public/message_lite.h.
       * 
*/ public Builder setSourceExtension(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000400; sourceExtension_ = value; onChanged(); return this; } /** * optional bytes source_extension = 6; * *
       * A source specific extension (typically a serialized proto). The type of
       *  this data is determined by the log_source of the enclosing LogRequest.
       *  The proto is derived by calling ParseFromString method in
       *  net/proto2/public/message_lite.h.
       * 
*/ public Builder clearSourceExtension() { bitField0_ = (bitField0_ & ~0x00000400); sourceExtension_ = getDefaultInstance().getSourceExtension(); onChanged(); return this; } // optional string source_extension_js = 8; private java.lang.Object sourceExtensionJs_ = ""; /** * optional string source_extension_js = 8; * *
       * A jspb version of source_extension, using array serialization format.
       *  More info on JSPB at go/jspb.
       * 
*/ public boolean hasSourceExtensionJs() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** * optional string source_extension_js = 8; * *
       * A jspb version of source_extension, using array serialization format.
       *  More info on JSPB at go/jspb.
       * 
*/ public java.lang.String getSourceExtensionJs() { java.lang.Object ref = sourceExtensionJs_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); sourceExtensionJs_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string source_extension_js = 8; * *
       * A jspb version of source_extension, using array serialization format.
       *  More info on JSPB at go/jspb.
       * 
*/ public com.google.protobuf.ByteString getSourceExtensionJsBytes() { java.lang.Object ref = sourceExtensionJs_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sourceExtensionJs_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string source_extension_js = 8; * *
       * A jspb version of source_extension, using array serialization format.
       *  More info on JSPB at go/jspb.
       * 
*/ public Builder setSourceExtensionJs( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000800; sourceExtensionJs_ = value; onChanged(); return this; } /** * optional string source_extension_js = 8; * *
       * A jspb version of source_extension, using array serialization format.
       *  More info on JSPB at go/jspb.
       * 
*/ public Builder clearSourceExtensionJs() { bitField0_ = (bitField0_ & ~0x00000800); sourceExtensionJs_ = getDefaultInstance().getSourceExtensionJs(); onChanged(); return this; } /** * optional string source_extension_js = 8; * *
       * A jspb version of source_extension, using array serialization format.
       *  More info on JSPB at go/jspb.
       * 
*/ public Builder setSourceExtensionJsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000800; sourceExtensionJs_ = value; onChanged(); return this; } // optional string source_extension_json = 13; private java.lang.Object sourceExtensionJson_ = ""; /** * optional string source_extension_json = 13; * *
       * A stringified json proto version of source_extension.  The json string is
       *  converted back to proto using the json_format utility at
       *  net/proto2/util/public/json_format.h, without any flags.
       * 
*/ public boolean hasSourceExtensionJson() { return ((bitField0_ & 0x00001000) == 0x00001000); } /** * optional string source_extension_json = 13; * *
       * A stringified json proto version of source_extension.  The json string is
       *  converted back to proto using the json_format utility at
       *  net/proto2/util/public/json_format.h, without any flags.
       * 
*/ public java.lang.String getSourceExtensionJson() { java.lang.Object ref = sourceExtensionJson_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); sourceExtensionJson_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string source_extension_json = 13; * *
       * A stringified json proto version of source_extension.  The json string is
       *  converted back to proto using the json_format utility at
       *  net/proto2/util/public/json_format.h, without any flags.
       * 
*/ public com.google.protobuf.ByteString getSourceExtensionJsonBytes() { java.lang.Object ref = sourceExtensionJson_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sourceExtensionJson_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string source_extension_json = 13; * *
       * A stringified json proto version of source_extension.  The json string is
       *  converted back to proto using the json_format utility at
       *  net/proto2/util/public/json_format.h, without any flags.
       * 
*/ public Builder setSourceExtensionJson( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00001000; sourceExtensionJson_ = value; onChanged(); return this; } /** * optional string source_extension_json = 13; * *
       * A stringified json proto version of source_extension.  The json string is
       *  converted back to proto using the json_format utility at
       *  net/proto2/util/public/json_format.h, without any flags.
       * 
*/ public Builder clearSourceExtensionJson() { bitField0_ = (bitField0_ & ~0x00001000); sourceExtensionJson_ = getDefaultInstance().getSourceExtensionJson(); onChanged(); return this; } /** * optional string source_extension_json = 13; * *
       * A stringified json proto version of source_extension.  The json string is
       *  converted back to proto using the json_format utility at
       *  net/proto2/util/public/json_format.h, without any flags.
       * 
*/ public Builder setSourceExtensionJsonBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00001000; sourceExtensionJson_ = value; onChanged(); return this; } // optional .wireless_android_play_playlog.ActiveExperiments exp = 7; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments exp_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments, com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperimentsOrBuilder> expBuilder_; /** * optional .wireless_android_play_playlog.ActiveExperiments exp = 7; * *
       * The set of currently active experiments. If missing, then the server will
       *  assume that experiment on/off status has not changed since the previous
       *  LogEvent message in the same LogRequest proto. If missing in the very first
       *  LogEvent of a LogRequest, then the server will assume that all experiments
       *  are off.
       * 
*/ public boolean hasExp() { return ((bitField0_ & 0x00002000) == 0x00002000); } /** * optional .wireless_android_play_playlog.ActiveExperiments exp = 7; * *
       * The set of currently active experiments. If missing, then the server will
       *  assume that experiment on/off status has not changed since the previous
       *  LogEvent message in the same LogRequest proto. If missing in the very first
       *  LogEvent of a LogRequest, then the server will assume that all experiments
       *  are off.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments getExp() { if (expBuilder_ == null) { return exp_; } else { return expBuilder_.getMessage(); } } /** * optional .wireless_android_play_playlog.ActiveExperiments exp = 7; * *
       * The set of currently active experiments. If missing, then the server will
       *  assume that experiment on/off status has not changed since the previous
       *  LogEvent message in the same LogRequest proto. If missing in the very first
       *  LogEvent of a LogRequest, then the server will assume that all experiments
       *  are off.
       * 
*/ public Builder setExp(com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments value) { if (expBuilder_ == null) { if (value == null) { throw new NullPointerException(); } exp_ = value; onChanged(); } else { expBuilder_.setMessage(value); } bitField0_ |= 0x00002000; return this; } /** * optional .wireless_android_play_playlog.ActiveExperiments exp = 7; * *
       * The set of currently active experiments. If missing, then the server will
       *  assume that experiment on/off status has not changed since the previous
       *  LogEvent message in the same LogRequest proto. If missing in the very first
       *  LogEvent of a LogRequest, then the server will assume that all experiments
       *  are off.
       * 
*/ public Builder setExp( com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments.Builder builderForValue) { if (expBuilder_ == null) { exp_ = builderForValue.build(); onChanged(); } else { expBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00002000; return this; } /** * optional .wireless_android_play_playlog.ActiveExperiments exp = 7; * *
       * The set of currently active experiments. If missing, then the server will
       *  assume that experiment on/off status has not changed since the previous
       *  LogEvent message in the same LogRequest proto. If missing in the very first
       *  LogEvent of a LogRequest, then the server will assume that all experiments
       *  are off.
       * 
*/ public Builder mergeExp(com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments value) { if (expBuilder_ == null) { if (((bitField0_ & 0x00002000) == 0x00002000) && exp_ != com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments.getDefaultInstance()) { exp_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments.newBuilder(exp_).mergeFrom(value).buildPartial(); } else { exp_ = value; } onChanged(); } else { expBuilder_.mergeFrom(value); } bitField0_ |= 0x00002000; return this; } /** * optional .wireless_android_play_playlog.ActiveExperiments exp = 7; * *
       * The set of currently active experiments. If missing, then the server will
       *  assume that experiment on/off status has not changed since the previous
       *  LogEvent message in the same LogRequest proto. If missing in the very first
       *  LogEvent of a LogRequest, then the server will assume that all experiments
       *  are off.
       * 
*/ public Builder clearExp() { if (expBuilder_ == null) { exp_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments.getDefaultInstance(); onChanged(); } else { expBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00002000); return this; } /** * optional .wireless_android_play_playlog.ActiveExperiments exp = 7; * *
       * The set of currently active experiments. If missing, then the server will
       *  assume that experiment on/off status has not changed since the previous
       *  LogEvent message in the same LogRequest proto. If missing in the very first
       *  LogEvent of a LogRequest, then the server will assume that all experiments
       *  are off.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments.Builder getExpBuilder() { bitField0_ |= 0x00002000; onChanged(); return getExpFieldBuilder().getBuilder(); } /** * optional .wireless_android_play_playlog.ActiveExperiments exp = 7; * *
       * The set of currently active experiments. If missing, then the server will
       *  assume that experiment on/off status has not changed since the previous
       *  LogEvent message in the same LogRequest proto. If missing in the very first
       *  LogEvent of a LogRequest, then the server will assume that all experiments
       *  are off.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperimentsOrBuilder getExpOrBuilder() { if (expBuilder_ != null) { return expBuilder_.getMessageOrBuilder(); } else { return exp_; } } /** * optional .wireless_android_play_playlog.ActiveExperiments exp = 7; * *
       * The set of currently active experiments. If missing, then the server will
       *  assume that experiment on/off status has not changed since the previous
       *  LogEvent message in the same LogRequest proto. If missing in the very first
       *  LogEvent of a LogRequest, then the server will assume that all experiments
       *  are off.
       * 
*/ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments, com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperimentsOrBuilder> getExpFieldBuilder() { if (expBuilder_ == null) { expBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments, com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperiments.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.ActiveExperimentsOrBuilder>( exp_, getParentForChildren(), isClean()); exp_ = null; } return expBuilder_; } // optional string test_id = 14; private java.lang.Object testId_ = ""; /** * optional string test_id = 14; * *
       * A string for identifying a test run.  You may use this string to group log
       *  data coming from a test run.  Usually logs from test apps or from normal
       *  apps running on test devices will have this field set.
       * 
*/ public boolean hasTestId() { return ((bitField0_ & 0x00004000) == 0x00004000); } /** * optional string test_id = 14; * *
       * A string for identifying a test run.  You may use this string to group log
       *  data coming from a test run.  Usually logs from test apps or from normal
       *  apps running on test devices will have this field set.
       * 
*/ public java.lang.String getTestId() { java.lang.Object ref = testId_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); testId_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string test_id = 14; * *
       * A string for identifying a test run.  You may use this string to group log
       *  data coming from a test run.  Usually logs from test apps or from normal
       *  apps running on test devices will have this field set.
       * 
*/ public com.google.protobuf.ByteString getTestIdBytes() { java.lang.Object ref = testId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); testId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string test_id = 14; * *
       * A string for identifying a test run.  You may use this string to group log
       *  data coming from a test run.  Usually logs from test apps or from normal
       *  apps running on test devices will have this field set.
       * 
*/ public Builder setTestId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00004000; testId_ = value; onChanged(); return this; } /** * optional string test_id = 14; * *
       * A string for identifying a test run.  You may use this string to group log
       *  data coming from a test run.  Usually logs from test apps or from normal
       *  apps running on test devices will have this field set.
       * 
*/ public Builder clearTestId() { bitField0_ = (bitField0_ & ~0x00004000); testId_ = getDefaultInstance().getTestId(); onChanged(); return this; } /** * optional string test_id = 14; * *
       * A string for identifying a test run.  You may use this string to group log
       *  data coming from a test run.  Usually logs from test apps or from normal
       *  apps running on test devices will have this field set.
       * 
*/ public Builder setTestIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00004000; testId_ = value; onChanged(); return this; } // optional sint64 timezone_offset_seconds = 15 [default = 180000]; private long timezoneOffsetSeconds_ = 180000L; /** * optional sint64 timezone_offset_seconds = 15 [default = 180000]; * *
       * User's timezone offset from UTC in seconds. If the user's UTC time
       *  is X millis then the on-device clock time would be
       *  X + timezone_offset_seconds * 1000.
       *  The default value is non-sensical, mainly so that 0 can be distinguished
       *  from "not specified" using proto nano (and without changing our build
       *  options to use reference types for primitives).
       * 
*/ public boolean hasTimezoneOffsetSeconds() { return ((bitField0_ & 0x00008000) == 0x00008000); } /** * optional sint64 timezone_offset_seconds = 15 [default = 180000]; * *
       * User's timezone offset from UTC in seconds. If the user's UTC time
       *  is X millis then the on-device clock time would be
       *  X + timezone_offset_seconds * 1000.
       *  The default value is non-sensical, mainly so that 0 can be distinguished
       *  from "not specified" using proto nano (and without changing our build
       *  options to use reference types for primitives).
       * 
*/ public long getTimezoneOffsetSeconds() { return timezoneOffsetSeconds_; } /** * optional sint64 timezone_offset_seconds = 15 [default = 180000]; * *
       * User's timezone offset from UTC in seconds. If the user's UTC time
       *  is X millis then the on-device clock time would be
       *  X + timezone_offset_seconds * 1000.
       *  The default value is non-sensical, mainly so that 0 can be distinguished
       *  from "not specified" using proto nano (and without changing our build
       *  options to use reference types for primitives).
       * 
*/ public Builder setTimezoneOffsetSeconds(long value) { bitField0_ |= 0x00008000; timezoneOffsetSeconds_ = value; onChanged(); return this; } /** * optional sint64 timezone_offset_seconds = 15 [default = 180000]; * *
       * User's timezone offset from UTC in seconds. If the user's UTC time
       *  is X millis then the on-device clock time would be
       *  X + timezone_offset_seconds * 1000.
       *  The default value is non-sensical, mainly so that 0 can be distinguished
       *  from "not specified" using proto nano (and without changing our build
       *  options to use reference types for primitives).
       * 
*/ public Builder clearTimezoneOffsetSeconds() { bitField0_ = (bitField0_ & ~0x00008000); timezoneOffsetSeconds_ = 180000L; onChanged(); return this; } // optional .wireless_android_play_playlog.ExperimentIds experiment_ids = 16; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds experimentIds_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds, com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdsOrBuilder> experimentIdsBuilder_; /** * optional .wireless_android_play_playlog.ExperimentIds experiment_ids = 16; * *
       * serialized DeviceExperimentIds; the experiment ids are propagated
       *  to GWSLog experiment ids
       * 
*/ public boolean hasExperimentIds() { return ((bitField0_ & 0x00010000) == 0x00010000); } /** * optional .wireless_android_play_playlog.ExperimentIds experiment_ids = 16; * *
       * serialized DeviceExperimentIds; the experiment ids are propagated
       *  to GWSLog experiment ids
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds getExperimentIds() { if (experimentIdsBuilder_ == null) { return experimentIds_; } else { return experimentIdsBuilder_.getMessage(); } } /** * optional .wireless_android_play_playlog.ExperimentIds experiment_ids = 16; * *
       * serialized DeviceExperimentIds; the experiment ids are propagated
       *  to GWSLog experiment ids
       * 
*/ public Builder setExperimentIds(com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds value) { if (experimentIdsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } experimentIds_ = value; onChanged(); } else { experimentIdsBuilder_.setMessage(value); } bitField0_ |= 0x00010000; return this; } /** * optional .wireless_android_play_playlog.ExperimentIds experiment_ids = 16; * *
       * serialized DeviceExperimentIds; the experiment ids are propagated
       *  to GWSLog experiment ids
       * 
*/ public Builder setExperimentIds( com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds.Builder builderForValue) { if (experimentIdsBuilder_ == null) { experimentIds_ = builderForValue.build(); onChanged(); } else { experimentIdsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00010000; return this; } /** * optional .wireless_android_play_playlog.ExperimentIds experiment_ids = 16; * *
       * serialized DeviceExperimentIds; the experiment ids are propagated
       *  to GWSLog experiment ids
       * 
*/ public Builder mergeExperimentIds(com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds value) { if (experimentIdsBuilder_ == null) { if (((bitField0_ & 0x00010000) == 0x00010000) && experimentIds_ != com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds.getDefaultInstance()) { experimentIds_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds.newBuilder(experimentIds_).mergeFrom(value).buildPartial(); } else { experimentIds_ = value; } onChanged(); } else { experimentIdsBuilder_.mergeFrom(value); } bitField0_ |= 0x00010000; return this; } /** * optional .wireless_android_play_playlog.ExperimentIds experiment_ids = 16; * *
       * serialized DeviceExperimentIds; the experiment ids are propagated
       *  to GWSLog experiment ids
       * 
*/ public Builder clearExperimentIds() { if (experimentIdsBuilder_ == null) { experimentIds_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds.getDefaultInstance(); onChanged(); } else { experimentIdsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00010000); return this; } /** * optional .wireless_android_play_playlog.ExperimentIds experiment_ids = 16; * *
       * serialized DeviceExperimentIds; the experiment ids are propagated
       *  to GWSLog experiment ids
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds.Builder getExperimentIdsBuilder() { bitField0_ |= 0x00010000; onChanged(); return getExperimentIdsFieldBuilder().getBuilder(); } /** * optional .wireless_android_play_playlog.ExperimentIds experiment_ids = 16; * *
       * serialized DeviceExperimentIds; the experiment ids are propagated
       *  to GWSLog experiment ids
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdsOrBuilder getExperimentIdsOrBuilder() { if (experimentIdsBuilder_ != null) { return experimentIdsBuilder_.getMessageOrBuilder(); } else { return experimentIds_; } } /** * optional .wireless_android_play_playlog.ExperimentIds experiment_ids = 16; * *
       * serialized DeviceExperimentIds; the experiment ids are propagated
       *  to GWSLog experiment ids
       * 
*/ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds, com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdsOrBuilder> getExperimentIdsFieldBuilder() { if (experimentIdsBuilder_ == null) { experimentIdsBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds, com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdsOrBuilder>( experimentIds_, getParentForChildren(), isClean()); experimentIds_ = null; } return experimentIdsBuilder_; } // optional bytes client_ve = 18; private com.google.protobuf.ByteString clientVe_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes client_ve = 18; * *
       * Serialized proto message of ClientVisualElementsProto as defined in
       *  logs/proto/visual_element/client_visual_elements.proto. The client can
       *  optionally send a log event with this field set. In this case, clearcut
       *  server needs to deserialize the bytes as a ClientVisualElementsProto and
       *  sets appropriate fields in the output GWSLogEntryProto.
       *
       *  See http://go/NativeVeLogging for more information.
       * 
*/ public boolean hasClientVe() { return ((bitField0_ & 0x00020000) == 0x00020000); } /** * optional bytes client_ve = 18; * *
       * Serialized proto message of ClientVisualElementsProto as defined in
       *  logs/proto/visual_element/client_visual_elements.proto. The client can
       *  optionally send a log event with this field set. In this case, clearcut
       *  server needs to deserialize the bytes as a ClientVisualElementsProto and
       *  sets appropriate fields in the output GWSLogEntryProto.
       *
       *  See http://go/NativeVeLogging for more information.
       * 
*/ public com.google.protobuf.ByteString getClientVe() { return clientVe_; } /** * optional bytes client_ve = 18; * *
       * Serialized proto message of ClientVisualElementsProto as defined in
       *  logs/proto/visual_element/client_visual_elements.proto. The client can
       *  optionally send a log event with this field set. In this case, clearcut
       *  server needs to deserialize the bytes as a ClientVisualElementsProto and
       *  sets appropriate fields in the output GWSLogEntryProto.
       *
       *  See http://go/NativeVeLogging for more information.
       * 
*/ public Builder setClientVe(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00020000; clientVe_ = value; onChanged(); return this; } /** * optional bytes client_ve = 18; * *
       * Serialized proto message of ClientVisualElementsProto as defined in
       *  logs/proto/visual_element/client_visual_elements.proto. The client can
       *  optionally send a log event with this field set. In this case, clearcut
       *  server needs to deserialize the bytes as a ClientVisualElementsProto and
       *  sets appropriate fields in the output GWSLogEntryProto.
       *
       *  See http://go/NativeVeLogging for more information.
       * 
*/ public Builder clearClientVe() { bitField0_ = (bitField0_ & ~0x00020000); clientVe_ = getDefaultInstance().getClientVe(); onChanged(); return this; } // optional string client_ve_js = 24; private java.lang.Object clientVeJs_ = ""; /** * optional string client_ve_js = 24; * *
       * Alternative serialized field for the client_ve field defined in 18.
       *  Serialize using array serialization format. More info at go/jspb.
       * 
*/ public boolean hasClientVeJs() { return ((bitField0_ & 0x00040000) == 0x00040000); } /** * optional string client_ve_js = 24; * *
       * Alternative serialized field for the client_ve field defined in 18.
       *  Serialize using array serialization format. More info at go/jspb.
       * 
*/ public java.lang.String getClientVeJs() { java.lang.Object ref = clientVeJs_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); clientVeJs_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string client_ve_js = 24; * *
       * Alternative serialized field for the client_ve field defined in 18.
       *  Serialize using array serialization format. More info at go/jspb.
       * 
*/ public com.google.protobuf.ByteString getClientVeJsBytes() { java.lang.Object ref = clientVeJs_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientVeJs_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string client_ve_js = 24; * *
       * Alternative serialized field for the client_ve field defined in 18.
       *  Serialize using array serialization format. More info at go/jspb.
       * 
*/ public Builder setClientVeJs( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00040000; clientVeJs_ = value; onChanged(); return this; } /** * optional string client_ve_js = 24; * *
       * Alternative serialized field for the client_ve field defined in 18.
       *  Serialize using array serialization format. More info at go/jspb.
       * 
*/ public Builder clearClientVeJs() { bitField0_ = (bitField0_ & ~0x00040000); clientVeJs_ = getDefaultInstance().getClientVeJs(); onChanged(); return this; } /** * optional string client_ve_js = 24; * *
       * Alternative serialized field for the client_ve field defined in 18.
       *  Serialize using array serialization format. More info at go/jspb.
       * 
*/ public Builder setClientVeJsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00040000; clientVeJs_ = value; onChanged(); return this; } // optional .wireless_android_play_playlog.LogEvent.InternalEvent internal_event = 19; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent.InternalEvent internalEvent_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent.InternalEvent.NONE; /** * optional .wireless_android_play_playlog.LogEvent.InternalEvent internal_event = 19; */ public boolean hasInternalEvent() { return ((bitField0_ & 0x00080000) == 0x00080000); } /** * optional .wireless_android_play_playlog.LogEvent.InternalEvent internal_event = 19; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent.InternalEvent getInternalEvent() { return internalEvent_; } /** * optional .wireless_android_play_playlog.LogEvent.InternalEvent internal_event = 19; */ public Builder setInternalEvent(com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent.InternalEvent value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00080000; internalEvent_ = value; onChanged(); return this; } /** * optional .wireless_android_play_playlog.LogEvent.InternalEvent internal_event = 19; */ public Builder clearInternalEvent() { bitField0_ = (bitField0_ & ~0x00080000); internalEvent_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent.InternalEvent.NONE; onChanged(); return this; } // repeated int32 test_code = 20; private java.util.List testCode_ = java.util.Collections.emptyList(); private void ensureTestCodeIsMutable() { if (!((bitField0_ & 0x00100000) == 0x00100000)) { testCode_ = new java.util.ArrayList(testCode_); bitField0_ |= 0x00100000; } } /** * repeated int32 test_code = 20; * *
       * Indicates that an interesting thing has occurred. Used to narrow the set
       *  of samples to consider in analysis. Test codes are copied to
       *  GwsLogEntryProto.TestCode.
       *
       *  See google3/ads/base/test_codes/test_codes.proto
       *  for Ads' use of test codes.
       * 
*/ public java.util.List getTestCodeList() { return java.util.Collections.unmodifiableList(testCode_); } /** * repeated int32 test_code = 20; * *
       * Indicates that an interesting thing has occurred. Used to narrow the set
       *  of samples to consider in analysis. Test codes are copied to
       *  GwsLogEntryProto.TestCode.
       *
       *  See google3/ads/base/test_codes/test_codes.proto
       *  for Ads' use of test codes.
       * 
*/ public int getTestCodeCount() { return testCode_.size(); } /** * repeated int32 test_code = 20; * *
       * Indicates that an interesting thing has occurred. Used to narrow the set
       *  of samples to consider in analysis. Test codes are copied to
       *  GwsLogEntryProto.TestCode.
       *
       *  See google3/ads/base/test_codes/test_codes.proto
       *  for Ads' use of test codes.
       * 
*/ public int getTestCode(int index) { return testCode_.get(index); } /** * repeated int32 test_code = 20; * *
       * Indicates that an interesting thing has occurred. Used to narrow the set
       *  of samples to consider in analysis. Test codes are copied to
       *  GwsLogEntryProto.TestCode.
       *
       *  See google3/ads/base/test_codes/test_codes.proto
       *  for Ads' use of test codes.
       * 
*/ public Builder setTestCode( int index, int value) { ensureTestCodeIsMutable(); testCode_.set(index, value); onChanged(); return this; } /** * repeated int32 test_code = 20; * *
       * Indicates that an interesting thing has occurred. Used to narrow the set
       *  of samples to consider in analysis. Test codes are copied to
       *  GwsLogEntryProto.TestCode.
       *
       *  See google3/ads/base/test_codes/test_codes.proto
       *  for Ads' use of test codes.
       * 
*/ public Builder addTestCode(int value) { ensureTestCodeIsMutable(); testCode_.add(value); onChanged(); return this; } /** * repeated int32 test_code = 20; * *
       * Indicates that an interesting thing has occurred. Used to narrow the set
       *  of samples to consider in analysis. Test codes are copied to
       *  GwsLogEntryProto.TestCode.
       *
       *  See google3/ads/base/test_codes/test_codes.proto
       *  for Ads' use of test codes.
       * 
*/ public Builder addAllTestCode( java.lang.Iterable values) { ensureTestCodeIsMutable(); super.addAll(values, testCode_); onChanged(); return this; } /** * repeated int32 test_code = 20; * *
       * Indicates that an interesting thing has occurred. Used to narrow the set
       *  of samples to consider in analysis. Test codes are copied to
       *  GwsLogEntryProto.TestCode.
       *
       *  See google3/ads/base/test_codes/test_codes.proto
       *  for Ads' use of test codes.
       * 
*/ public Builder clearTestCode() { testCode_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00100000); onChanged(); return this; } // optional int64 boot_count = 22; private long bootCount_ ; /** * optional int64 boot_count = 22; * *
       * Number of times the device is known to have booted. Taken together,
       *  {boot-count, uptime} pairs are a monotonically increasing counter which
       *  can be used to order events accross log sources.
       * 
*/ public boolean hasBootCount() { return ((bitField0_ & 0x00200000) == 0x00200000); } /** * optional int64 boot_count = 22; * *
       * Number of times the device is known to have booted. Taken together,
       *  {boot-count, uptime} pairs are a monotonically increasing counter which
       *  can be used to order events accross log sources.
       * 
*/ public long getBootCount() { return bootCount_; } /** * optional int64 boot_count = 22; * *
       * Number of times the device is known to have booted. Taken together,
       *  {boot-count, uptime} pairs are a monotonically increasing counter which
       *  can be used to order events accross log sources.
       * 
*/ public Builder setBootCount(long value) { bitField0_ |= 0x00200000; bootCount_ = value; onChanged(); return this; } /** * optional int64 boot_count = 22; * *
       * Number of times the device is known to have booted. Taken together,
       *  {boot-count, uptime} pairs are a monotonically increasing counter which
       *  can be used to order events accross log sources.
       * 
*/ public Builder clearBootCount() { bitField0_ = (bitField0_ & ~0x00200000); bootCount_ = 0L; onChanged(); return this; } // optional .wireless_android_play_playlog.NetworkConnectionInfo network_connection_info = 23; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo networkConnectionInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo, com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfoOrBuilder> networkConnectionInfoBuilder_; /** * optional .wireless_android_play_playlog.NetworkConnectionInfo network_connection_info = 23; * *
       * The current network connectivity info when the event was logged in the
       *  client
       * 
*/ public boolean hasNetworkConnectionInfo() { return ((bitField0_ & 0x00400000) == 0x00400000); } /** * optional .wireless_android_play_playlog.NetworkConnectionInfo network_connection_info = 23; * *
       * The current network connectivity info when the event was logged in the
       *  client
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo getNetworkConnectionInfo() { if (networkConnectionInfoBuilder_ == null) { return networkConnectionInfo_; } else { return networkConnectionInfoBuilder_.getMessage(); } } /** * optional .wireless_android_play_playlog.NetworkConnectionInfo network_connection_info = 23; * *
       * The current network connectivity info when the event was logged in the
       *  client
       * 
*/ public Builder setNetworkConnectionInfo(com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo value) { if (networkConnectionInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } networkConnectionInfo_ = value; onChanged(); } else { networkConnectionInfoBuilder_.setMessage(value); } bitField0_ |= 0x00400000; return this; } /** * optional .wireless_android_play_playlog.NetworkConnectionInfo network_connection_info = 23; * *
       * The current network connectivity info when the event was logged in the
       *  client
       * 
*/ public Builder setNetworkConnectionInfo( com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo.Builder builderForValue) { if (networkConnectionInfoBuilder_ == null) { networkConnectionInfo_ = builderForValue.build(); onChanged(); } else { networkConnectionInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00400000; return this; } /** * optional .wireless_android_play_playlog.NetworkConnectionInfo network_connection_info = 23; * *
       * The current network connectivity info when the event was logged in the
       *  client
       * 
*/ public Builder mergeNetworkConnectionInfo(com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo value) { if (networkConnectionInfoBuilder_ == null) { if (((bitField0_ & 0x00400000) == 0x00400000) && networkConnectionInfo_ != com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo.getDefaultInstance()) { networkConnectionInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo.newBuilder(networkConnectionInfo_).mergeFrom(value).buildPartial(); } else { networkConnectionInfo_ = value; } onChanged(); } else { networkConnectionInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x00400000; return this; } /** * optional .wireless_android_play_playlog.NetworkConnectionInfo network_connection_info = 23; * *
       * The current network connectivity info when the event was logged in the
       *  client
       * 
*/ public Builder clearNetworkConnectionInfo() { if (networkConnectionInfoBuilder_ == null) { networkConnectionInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo.getDefaultInstance(); onChanged(); } else { networkConnectionInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00400000); return this; } /** * optional .wireless_android_play_playlog.NetworkConnectionInfo network_connection_info = 23; * *
       * The current network connectivity info when the event was logged in the
       *  client
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo.Builder getNetworkConnectionInfoBuilder() { bitField0_ |= 0x00400000; onChanged(); return getNetworkConnectionInfoFieldBuilder().getBuilder(); } /** * optional .wireless_android_play_playlog.NetworkConnectionInfo network_connection_info = 23; * *
       * The current network connectivity info when the event was logged in the
       *  client
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfoOrBuilder getNetworkConnectionInfoOrBuilder() { if (networkConnectionInfoBuilder_ != null) { return networkConnectionInfoBuilder_.getMessageOrBuilder(); } else { return networkConnectionInfo_; } } /** * optional .wireless_android_play_playlog.NetworkConnectionInfo network_connection_info = 23; * *
       * The current network connectivity info when the event was logged in the
       *  client
       * 
*/ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo, com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfoOrBuilder> getNetworkConnectionInfoFieldBuilder() { if (networkConnectionInfoBuilder_ == null) { networkConnectionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo, com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfoOrBuilder>( networkConnectionInfo_, getParentForChildren(), isClean()); networkConnectionInfo_ = null; } return networkConnectionInfoBuilder_; } // @@protoc_insertion_point(builder_scope:wireless_android_play_playlog.LogEvent) } static { defaultInstance = new LogEvent(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:wireless_android_play_playlog.LogEvent) } public interface NetworkConnectionInfoOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional .wireless_android_play_playlog.NetworkConnectionInfo.NetworkType network_type = 1 [default = NONE]; /** * optional .wireless_android_play_playlog.NetworkConnectionInfo.NetworkType network_type = 1 [default = NONE]; * *
     * The current network connectivity type when the event was logged in the
     *  client
     * 
*/ boolean hasNetworkType(); /** * optional .wireless_android_play_playlog.NetworkConnectionInfo.NetworkType network_type = 1 [default = NONE]; * *
     * The current network connectivity type when the event was logged in the
     *  client
     * 
*/ com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo.NetworkType getNetworkType(); } /** * Protobuf type {@code wireless_android_play_playlog.NetworkConnectionInfo} * *
   * To describe the network connectivity of the client.
   *  Next tag: 2
   * 
*/ public static final class NetworkConnectionInfo extends com.google.protobuf.GeneratedMessage implements NetworkConnectionInfoOrBuilder { // Use NetworkConnectionInfo.newBuilder() to construct. private NetworkConnectionInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private NetworkConnectionInfo(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final NetworkConnectionInfo defaultInstance; public static NetworkConnectionInfo getDefaultInstance() { return defaultInstance; } public NetworkConnectionInfo getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private NetworkConnectionInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { int rawValue = input.readEnum(); com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo.NetworkType value = com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo.NetworkType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { bitField0_ |= 0x00000001; networkType_ = value; } 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.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_NetworkConnectionInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_NetworkConnectionInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public NetworkConnectionInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new NetworkConnectionInfo(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } /** * Protobuf enum {@code wireless_android_play_playlog.NetworkConnectionInfo.NetworkType} * *
     * From android/frameworks/base/core/java/android/net/ConnectivityManager.java
     *  Note: data will only be recorded for internet connections. This means
     *  BLUETOOTH corresponds to when bluetooth was used for reverse tethering
     *  (i.e. using a computer's internet connection on the phone) and NOT for
     *  general device pairing via bluetooth, such as clockwork.
     * 
*/ public enum NetworkType implements com.google.protobuf.ProtocolMessageEnum { /** * NONE = -1; */ NONE(0, -1), /** * MOBILE = 0; */ MOBILE(1, 0), /** * WIFI = 1; */ WIFI(2, 1), /** * MOBILE_MMS = 2; */ MOBILE_MMS(3, 2), /** * MOBILE_SUPL = 3; */ MOBILE_SUPL(4, 3), /** * MOBILE_DUN = 4; */ MOBILE_DUN(5, 4), /** * MOBILE_HIPRI = 5; */ MOBILE_HIPRI(6, 5), /** * WIMAX = 6; */ WIMAX(7, 6), /** * BLUETOOTH = 7; */ BLUETOOTH(8, 7), /** * DUMMY = 8; */ DUMMY(9, 8), /** * ETHERNET = 9; */ ETHERNET(10, 9), /** * MOBILE_FOTA = 10; */ MOBILE_FOTA(11, 10), /** * MOBILE_IMS = 11; */ MOBILE_IMS(12, 11), /** * MOBILE_CBS = 12; */ MOBILE_CBS(13, 12), /** * WIFI_P2P = 13; */ WIFI_P2P(14, 13), /** * MOBILE_IA = 14; */ MOBILE_IA(15, 14), /** * MOBILE_EMERGENCY = 15; */ MOBILE_EMERGENCY(16, 15), /** * PROXY = 16; */ PROXY(17, 16), /** * VPN = 17; */ VPN(18, 17), ; /** * NONE = -1; */ public static final int NONE_VALUE = -1; /** * MOBILE = 0; */ public static final int MOBILE_VALUE = 0; /** * WIFI = 1; */ public static final int WIFI_VALUE = 1; /** * MOBILE_MMS = 2; */ public static final int MOBILE_MMS_VALUE = 2; /** * MOBILE_SUPL = 3; */ public static final int MOBILE_SUPL_VALUE = 3; /** * MOBILE_DUN = 4; */ public static final int MOBILE_DUN_VALUE = 4; /** * MOBILE_HIPRI = 5; */ public static final int MOBILE_HIPRI_VALUE = 5; /** * WIMAX = 6; */ public static final int WIMAX_VALUE = 6; /** * BLUETOOTH = 7; */ public static final int BLUETOOTH_VALUE = 7; /** * DUMMY = 8; */ public static final int DUMMY_VALUE = 8; /** * ETHERNET = 9; */ public static final int ETHERNET_VALUE = 9; /** * MOBILE_FOTA = 10; */ public static final int MOBILE_FOTA_VALUE = 10; /** * MOBILE_IMS = 11; */ public static final int MOBILE_IMS_VALUE = 11; /** * MOBILE_CBS = 12; */ public static final int MOBILE_CBS_VALUE = 12; /** * WIFI_P2P = 13; */ public static final int WIFI_P2P_VALUE = 13; /** * MOBILE_IA = 14; */ public static final int MOBILE_IA_VALUE = 14; /** * MOBILE_EMERGENCY = 15; */ public static final int MOBILE_EMERGENCY_VALUE = 15; /** * PROXY = 16; */ public static final int PROXY_VALUE = 16; /** * VPN = 17; */ public static final int VPN_VALUE = 17; public final int getNumber() { return value; } public static NetworkType valueOf(int value) { switch (value) { case -1: return NONE; case 0: return MOBILE; case 1: return WIFI; case 2: return MOBILE_MMS; case 3: return MOBILE_SUPL; case 4: return MOBILE_DUN; case 5: return MOBILE_HIPRI; case 6: return WIMAX; case 7: return BLUETOOTH; case 8: return DUMMY; case 9: return ETHERNET; case 10: return MOBILE_FOTA; case 11: return MOBILE_IMS; case 12: return MOBILE_CBS; case 13: return WIFI_P2P; case 14: return MOBILE_IA; case 15: return MOBILE_EMERGENCY; case 16: return PROXY; case 17: return VPN; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public NetworkType findValueByNumber(int number) { return NetworkType.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.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo.getDescriptor().getEnumTypes().get(0); } private static final NetworkType[] VALUES = values(); public static NetworkType 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 NetworkType(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:wireless_android_play_playlog.NetworkConnectionInfo.NetworkType) } private int bitField0_; // optional .wireless_android_play_playlog.NetworkConnectionInfo.NetworkType network_type = 1 [default = NONE]; public static final int NETWORK_TYPE_FIELD_NUMBER = 1; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo.NetworkType networkType_; /** * optional .wireless_android_play_playlog.NetworkConnectionInfo.NetworkType network_type = 1 [default = NONE]; * *
     * The current network connectivity type when the event was logged in the
     *  client
     * 
*/ public boolean hasNetworkType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .wireless_android_play_playlog.NetworkConnectionInfo.NetworkType network_type = 1 [default = NONE]; * *
     * The current network connectivity type when the event was logged in the
     *  client
     * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo.NetworkType getNetworkType() { return networkType_; } private void initFields() { networkType_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo.NetworkType.NONE; } 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.writeEnum(1, networkType_.getNumber()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, networkType_.getNumber()); } 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.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo 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.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo 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 wireless_android_play_playlog.NetworkConnectionInfo} * *
     * To describe the network connectivity of the client.
     *  Next tag: 2
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_NetworkConnectionInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_NetworkConnectionInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo.Builder.class); } // Construct using com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo.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(); networkType_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo.NetworkType.NONE; bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_NetworkConnectionInfo_descriptor; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo getDefaultInstanceForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo.getDefaultInstance(); } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo build() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo buildPartial() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo result = new com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.networkType_ = networkType_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo) { return mergeFrom((com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo other) { if (other == com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo.getDefaultInstance()) return this; if (other.hasNetworkType()) { setNetworkType(other.getNetworkType()); } 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.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional .wireless_android_play_playlog.NetworkConnectionInfo.NetworkType network_type = 1 [default = NONE]; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo.NetworkType networkType_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo.NetworkType.NONE; /** * optional .wireless_android_play_playlog.NetworkConnectionInfo.NetworkType network_type = 1 [default = NONE]; * *
       * The current network connectivity type when the event was logged in the
       *  client
       * 
*/ public boolean hasNetworkType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .wireless_android_play_playlog.NetworkConnectionInfo.NetworkType network_type = 1 [default = NONE]; * *
       * The current network connectivity type when the event was logged in the
       *  client
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo.NetworkType getNetworkType() { return networkType_; } /** * optional .wireless_android_play_playlog.NetworkConnectionInfo.NetworkType network_type = 1 [default = NONE]; * *
       * The current network connectivity type when the event was logged in the
       *  client
       * 
*/ public Builder setNetworkType(com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo.NetworkType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; networkType_ = value; onChanged(); return this; } /** * optional .wireless_android_play_playlog.NetworkConnectionInfo.NetworkType network_type = 1 [default = NONE]; * *
       * The current network connectivity type when the event was logged in the
       *  client
       * 
*/ public Builder clearNetworkType() { bitField0_ = (bitField0_ & ~0x00000001); networkType_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.NetworkConnectionInfo.NetworkType.NONE; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:wireless_android_play_playlog.NetworkConnectionInfo) } static { defaultInstance = new NetworkConnectionInfo(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:wireless_android_play_playlog.NetworkConnectionInfo) } public interface ExperimentIdsOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional bytes clear_blob = 1; /** * optional bytes clear_blob = 1; * *
     * The client selected experiment ids in the clear (e.g. from Chrome).
     *  serialized experiments.heterodyne.DeviceExperimentIds
     * 
*/ boolean hasClearBlob(); /** * optional bytes clear_blob = 1; * *
     * The client selected experiment ids in the clear (e.g. from Chrome).
     *  serialized experiments.heterodyne.DeviceExperimentIds
     * 
*/ com.google.protobuf.ByteString getClearBlob(); // optional string clear_blob_js = 4; /** * optional string clear_blob_js = 4; * *
     * A jspb version of clear_blob, using array serialization format.
     *  More info on JSPB at go/jspb.
     * 
*/ boolean hasClearBlobJs(); /** * optional string clear_blob_js = 4; * *
     * A jspb version of clear_blob, using array serialization format.
     *  More info on JSPB at go/jspb.
     * 
*/ java.lang.String getClearBlobJs(); /** * optional string clear_blob_js = 4; * *
     * A jspb version of clear_blob, using array serialization format.
     *  More info on JSPB at go/jspb.
     * 
*/ com.google.protobuf.ByteString getClearBlobJsBytes(); // repeated bytes encrypted_blob = 2; /** * repeated bytes encrypted_blob = 2; * *
     * encrypted serialized experiments.heterodyne.DeviceExperimentIds
     * 
*/ java.util.List getEncryptedBlobList(); /** * repeated bytes encrypted_blob = 2; * *
     * encrypted serialized experiments.heterodyne.DeviceExperimentIds
     * 
*/ int getEncryptedBlobCount(); /** * repeated bytes encrypted_blob = 2; * *
     * encrypted serialized experiments.heterodyne.DeviceExperimentIds
     * 
*/ com.google.protobuf.ByteString getEncryptedBlob(int index); // optional bool users_match = 3; /** * optional bool users_match = 3; * *
     * indicates whether the Phenotype committed user matches the upload account
     * 
*/ boolean hasUsersMatch(); /** * optional bool users_match = 3; * *
     * indicates whether the Phenotype committed user matches the upload account
     * 
*/ boolean getUsersMatch(); } /** * Protobuf type {@code wireless_android_play_playlog.ExperimentIds} * *
   * The experiment ids, both in the clear and encrypted.
   * 
*/ public static final class ExperimentIds extends com.google.protobuf.GeneratedMessage implements ExperimentIdsOrBuilder { // Use ExperimentIds.newBuilder() to construct. private ExperimentIds(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private ExperimentIds(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final ExperimentIds defaultInstance; public static ExperimentIds getDefaultInstance() { return defaultInstance; } public ExperimentIds getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ExperimentIds( 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; clearBlob_ = input.readBytes(); break; } case 18: { if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { encryptedBlob_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } encryptedBlob_.add(input.readBytes()); break; } case 24: { bitField0_ |= 0x00000004; usersMatch_ = input.readBool(); break; } case 34: { bitField0_ |= 0x00000002; clearBlobJs_ = 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_ & 0x00000004) == 0x00000004)) { encryptedBlob_ = java.util.Collections.unmodifiableList(encryptedBlob_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_ExperimentIds_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_ExperimentIds_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ExperimentIds parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ExperimentIds(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional bytes clear_blob = 1; public static final int CLEAR_BLOB_FIELD_NUMBER = 1; private com.google.protobuf.ByteString clearBlob_; /** * optional bytes clear_blob = 1; * *
     * The client selected experiment ids in the clear (e.g. from Chrome).
     *  serialized experiments.heterodyne.DeviceExperimentIds
     * 
*/ public boolean hasClearBlob() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional bytes clear_blob = 1; * *
     * The client selected experiment ids in the clear (e.g. from Chrome).
     *  serialized experiments.heterodyne.DeviceExperimentIds
     * 
*/ public com.google.protobuf.ByteString getClearBlob() { return clearBlob_; } // optional string clear_blob_js = 4; public static final int CLEAR_BLOB_JS_FIELD_NUMBER = 4; private java.lang.Object clearBlobJs_; /** * optional string clear_blob_js = 4; * *
     * A jspb version of clear_blob, using array serialization format.
     *  More info on JSPB at go/jspb.
     * 
*/ public boolean hasClearBlobJs() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string clear_blob_js = 4; * *
     * A jspb version of clear_blob, using array serialization format.
     *  More info on JSPB at go/jspb.
     * 
*/ public java.lang.String getClearBlobJs() { java.lang.Object ref = clearBlobJs_; 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()) { clearBlobJs_ = s; } return s; } } /** * optional string clear_blob_js = 4; * *
     * A jspb version of clear_blob, using array serialization format.
     *  More info on JSPB at go/jspb.
     * 
*/ public com.google.protobuf.ByteString getClearBlobJsBytes() { java.lang.Object ref = clearBlobJs_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clearBlobJs_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // repeated bytes encrypted_blob = 2; public static final int ENCRYPTED_BLOB_FIELD_NUMBER = 2; private java.util.List encryptedBlob_; /** * repeated bytes encrypted_blob = 2; * *
     * encrypted serialized experiments.heterodyne.DeviceExperimentIds
     * 
*/ public java.util.List getEncryptedBlobList() { return encryptedBlob_; } /** * repeated bytes encrypted_blob = 2; * *
     * encrypted serialized experiments.heterodyne.DeviceExperimentIds
     * 
*/ public int getEncryptedBlobCount() { return encryptedBlob_.size(); } /** * repeated bytes encrypted_blob = 2; * *
     * encrypted serialized experiments.heterodyne.DeviceExperimentIds
     * 
*/ public com.google.protobuf.ByteString getEncryptedBlob(int index) { return encryptedBlob_.get(index); } // optional bool users_match = 3; public static final int USERS_MATCH_FIELD_NUMBER = 3; private boolean usersMatch_; /** * optional bool users_match = 3; * *
     * indicates whether the Phenotype committed user matches the upload account
     * 
*/ public boolean hasUsersMatch() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional bool users_match = 3; * *
     * indicates whether the Phenotype committed user matches the upload account
     * 
*/ public boolean getUsersMatch() { return usersMatch_; } private void initFields() { clearBlob_ = com.google.protobuf.ByteString.EMPTY; clearBlobJs_ = ""; encryptedBlob_ = java.util.Collections.emptyList(); usersMatch_ = false; } 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, clearBlob_); } for (int i = 0; i < encryptedBlob_.size(); i++) { output.writeBytes(2, encryptedBlob_.get(i)); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(3, usersMatch_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(4, getClearBlobJsBytes()); } 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, clearBlob_); } { int dataSize = 0; for (int i = 0; i < encryptedBlob_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(encryptedBlob_.get(i)); } size += dataSize; size += 1 * getEncryptedBlobList().size(); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, usersMatch_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, getClearBlobJsBytes()); } 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.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds 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.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds 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 wireless_android_play_playlog.ExperimentIds} * *
     * The experiment ids, both in the clear and encrypted.
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_ExperimentIds_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_ExperimentIds_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds.Builder.class); } // Construct using com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds.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(); clearBlob_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); clearBlobJs_ = ""; bitField0_ = (bitField0_ & ~0x00000002); encryptedBlob_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); usersMatch_ = false; bitField0_ = (bitField0_ & ~0x00000008); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_ExperimentIds_descriptor; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds getDefaultInstanceForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds.getDefaultInstance(); } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds build() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds buildPartial() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds result = new com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.clearBlob_ = clearBlob_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.clearBlobJs_ = clearBlobJs_; if (((bitField0_ & 0x00000004) == 0x00000004)) { encryptedBlob_ = java.util.Collections.unmodifiableList(encryptedBlob_); bitField0_ = (bitField0_ & ~0x00000004); } result.encryptedBlob_ = encryptedBlob_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000004; } result.usersMatch_ = usersMatch_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds) { return mergeFrom((com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds other) { if (other == com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds.getDefaultInstance()) return this; if (other.hasClearBlob()) { setClearBlob(other.getClearBlob()); } if (other.hasClearBlobJs()) { bitField0_ |= 0x00000002; clearBlobJs_ = other.clearBlobJs_; onChanged(); } if (!other.encryptedBlob_.isEmpty()) { if (encryptedBlob_.isEmpty()) { encryptedBlob_ = other.encryptedBlob_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureEncryptedBlobIsMutable(); encryptedBlob_.addAll(other.encryptedBlob_); } onChanged(); } if (other.hasUsersMatch()) { setUsersMatch(other.getUsersMatch()); } 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.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIds) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional bytes clear_blob = 1; private com.google.protobuf.ByteString clearBlob_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes clear_blob = 1; * *
       * The client selected experiment ids in the clear (e.g. from Chrome).
       *  serialized experiments.heterodyne.DeviceExperimentIds
       * 
*/ public boolean hasClearBlob() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional bytes clear_blob = 1; * *
       * The client selected experiment ids in the clear (e.g. from Chrome).
       *  serialized experiments.heterodyne.DeviceExperimentIds
       * 
*/ public com.google.protobuf.ByteString getClearBlob() { return clearBlob_; } /** * optional bytes clear_blob = 1; * *
       * The client selected experiment ids in the clear (e.g. from Chrome).
       *  serialized experiments.heterodyne.DeviceExperimentIds
       * 
*/ public Builder setClearBlob(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; clearBlob_ = value; onChanged(); return this; } /** * optional bytes clear_blob = 1; * *
       * The client selected experiment ids in the clear (e.g. from Chrome).
       *  serialized experiments.heterodyne.DeviceExperimentIds
       * 
*/ public Builder clearClearBlob() { bitField0_ = (bitField0_ & ~0x00000001); clearBlob_ = getDefaultInstance().getClearBlob(); onChanged(); return this; } // optional string clear_blob_js = 4; private java.lang.Object clearBlobJs_ = ""; /** * optional string clear_blob_js = 4; * *
       * A jspb version of clear_blob, using array serialization format.
       *  More info on JSPB at go/jspb.
       * 
*/ public boolean hasClearBlobJs() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string clear_blob_js = 4; * *
       * A jspb version of clear_blob, using array serialization format.
       *  More info on JSPB at go/jspb.
       * 
*/ public java.lang.String getClearBlobJs() { java.lang.Object ref = clearBlobJs_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); clearBlobJs_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string clear_blob_js = 4; * *
       * A jspb version of clear_blob, using array serialization format.
       *  More info on JSPB at go/jspb.
       * 
*/ public com.google.protobuf.ByteString getClearBlobJsBytes() { java.lang.Object ref = clearBlobJs_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clearBlobJs_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string clear_blob_js = 4; * *
       * A jspb version of clear_blob, using array serialization format.
       *  More info on JSPB at go/jspb.
       * 
*/ public Builder setClearBlobJs( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; clearBlobJs_ = value; onChanged(); return this; } /** * optional string clear_blob_js = 4; * *
       * A jspb version of clear_blob, using array serialization format.
       *  More info on JSPB at go/jspb.
       * 
*/ public Builder clearClearBlobJs() { bitField0_ = (bitField0_ & ~0x00000002); clearBlobJs_ = getDefaultInstance().getClearBlobJs(); onChanged(); return this; } /** * optional string clear_blob_js = 4; * *
       * A jspb version of clear_blob, using array serialization format.
       *  More info on JSPB at go/jspb.
       * 
*/ public Builder setClearBlobJsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; clearBlobJs_ = value; onChanged(); return this; } // repeated bytes encrypted_blob = 2; private java.util.List encryptedBlob_ = java.util.Collections.emptyList(); private void ensureEncryptedBlobIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { encryptedBlob_ = new java.util.ArrayList(encryptedBlob_); bitField0_ |= 0x00000004; } } /** * repeated bytes encrypted_blob = 2; * *
       * encrypted serialized experiments.heterodyne.DeviceExperimentIds
       * 
*/ public java.util.List getEncryptedBlobList() { return java.util.Collections.unmodifiableList(encryptedBlob_); } /** * repeated bytes encrypted_blob = 2; * *
       * encrypted serialized experiments.heterodyne.DeviceExperimentIds
       * 
*/ public int getEncryptedBlobCount() { return encryptedBlob_.size(); } /** * repeated bytes encrypted_blob = 2; * *
       * encrypted serialized experiments.heterodyne.DeviceExperimentIds
       * 
*/ public com.google.protobuf.ByteString getEncryptedBlob(int index) { return encryptedBlob_.get(index); } /** * repeated bytes encrypted_blob = 2; * *
       * encrypted serialized experiments.heterodyne.DeviceExperimentIds
       * 
*/ public Builder setEncryptedBlob( int index, com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureEncryptedBlobIsMutable(); encryptedBlob_.set(index, value); onChanged(); return this; } /** * repeated bytes encrypted_blob = 2; * *
       * encrypted serialized experiments.heterodyne.DeviceExperimentIds
       * 
*/ public Builder addEncryptedBlob(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureEncryptedBlobIsMutable(); encryptedBlob_.add(value); onChanged(); return this; } /** * repeated bytes encrypted_blob = 2; * *
       * encrypted serialized experiments.heterodyne.DeviceExperimentIds
       * 
*/ public Builder addAllEncryptedBlob( java.lang.Iterable values) { ensureEncryptedBlobIsMutable(); super.addAll(values, encryptedBlob_); onChanged(); return this; } /** * repeated bytes encrypted_blob = 2; * *
       * encrypted serialized experiments.heterodyne.DeviceExperimentIds
       * 
*/ public Builder clearEncryptedBlob() { encryptedBlob_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } // optional bool users_match = 3; private boolean usersMatch_ ; /** * optional bool users_match = 3; * *
       * indicates whether the Phenotype committed user matches the upload account
       * 
*/ public boolean hasUsersMatch() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional bool users_match = 3; * *
       * indicates whether the Phenotype committed user matches the upload account
       * 
*/ public boolean getUsersMatch() { return usersMatch_; } /** * optional bool users_match = 3; * *
       * indicates whether the Phenotype committed user matches the upload account
       * 
*/ public Builder setUsersMatch(boolean value) { bitField0_ |= 0x00000008; usersMatch_ = value; onChanged(); return this; } /** * optional bool users_match = 3; * *
       * indicates whether the Phenotype committed user matches the upload account
       * 
*/ public Builder clearUsersMatch() { bitField0_ = (bitField0_ & ~0x00000008); usersMatch_ = false; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:wireless_android_play_playlog.ExperimentIds) } static { defaultInstance = new ExperimentIds(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:wireless_android_play_playlog.ExperimentIds) } public interface AndroidClientInfoOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional int64 android_id = 1; /** * optional int64 android_id = 1; * *
     * "Gservices" android ID.  Considered PII.  Never logged in archival logs.
     * 
*/ boolean hasAndroidId(); /** * optional int64 android_id = 1; * *
     * "Gservices" android ID.  Considered PII.  Never logged in archival logs.
     * 
*/ long getAndroidId(); // optional string logging_id = 2; /** * optional string logging_id = 2; * *
     * Pseudonymous, random id (sticky) per device.  May only be logged in temp
     *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
     * 
*/ boolean hasLoggingId(); /** * optional string logging_id = 2; * *
     * Pseudonymous, random id (sticky) per device.  May only be logged in temp
     *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
     * 
*/ java.lang.String getLoggingId(); /** * optional string logging_id = 2; * *
     * Pseudonymous, random id (sticky) per device.  May only be logged in temp
     *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
     * 
*/ com.google.protobuf.ByteString getLoggingIdBytes(); // optional int64 device_id = 18; /** * optional int64 device_id = 18; * *
     * Device ID referenced by android.provider.Settings.Secure.ANDROID_ID.
     *  Considered PII. Never logged in archival logs.
     * 
*/ boolean hasDeviceId(); /** * optional int64 device_id = 18; * *
     * Device ID referenced by android.provider.Settings.Secure.ANDROID_ID.
     *  Considered PII. Never logged in archival logs.
     * 
*/ long getDeviceId(); // optional int32 sdk_version = 3; /** * optional int32 sdk_version = 3; * *
     * This comes from android.os.Build.VERSION.SDK_INT.
     * 
*/ boolean hasSdkVersion(); /** * optional int32 sdk_version = 3; * *
     * This comes from android.os.Build.VERSION.SDK_INT.
     * 
*/ int getSdkVersion(); // optional string model = 4; /** * optional string model = 4; * *
     * Textual description of the client platform.  e.g., "Nexus 4".
     *  This comes from android.os.Build.MODEL.
     * 
*/ boolean hasModel(); /** * optional string model = 4; * *
     * Textual description of the client platform.  e.g., "Nexus 4".
     *  This comes from android.os.Build.MODEL.
     * 
*/ java.lang.String getModel(); /** * optional string model = 4; * *
     * Textual description of the client platform.  e.g., "Nexus 4".
     *  This comes from android.os.Build.MODEL.
     * 
*/ com.google.protobuf.ByteString getModelBytes(); // optional string product = 5; /** * optional string product = 5; * *
     * The name of the overall product. e.g., "occam".
     *  This comes from android.os.Build.Product.
     * 
*/ boolean hasProduct(); /** * optional string product = 5; * *
     * The name of the overall product. e.g., "occam".
     *  This comes from android.os.Build.Product.
     * 
*/ java.lang.String getProduct(); /** * optional string product = 5; * *
     * The name of the overall product. e.g., "occam".
     *  This comes from android.os.Build.Product.
     * 
*/ com.google.protobuf.ByteString getProductBytes(); // optional string hardware = 8; /** * optional string hardware = 8; * *
     * The name of the hardware (from the kernel command line or /proc).
     *  This comes from android.os.Build.Hardware.  e.g., "mako".
     * 
*/ boolean hasHardware(); /** * optional string hardware = 8; * *
     * The name of the hardware (from the kernel command line or /proc).
     *  This comes from android.os.Build.Hardware.  e.g., "mako".
     * 
*/ java.lang.String getHardware(); /** * optional string hardware = 8; * *
     * The name of the hardware (from the kernel command line or /proc).
     *  This comes from android.os.Build.Hardware.  e.g., "mako".
     * 
*/ com.google.protobuf.ByteString getHardwareBytes(); // optional string device = 9; /** * optional string device = 9; * *
     * The name of the industrial design.  e.g., "mako".
     *  This comes from android.os.Build.Device.
     * 
*/ boolean hasDevice(); /** * optional string device = 9; * *
     * The name of the industrial design.  e.g., "mako".
     *  This comes from android.os.Build.Device.
     * 
*/ java.lang.String getDevice(); /** * optional string device = 9; * *
     * The name of the industrial design.  e.g., "mako".
     *  This comes from android.os.Build.Device.
     * 
*/ com.google.protobuf.ByteString getDeviceBytes(); // optional string os_build = 6; /** * optional string os_build = 6; * *
     * This comes from android.os.Build.ID.  e.g., something like "JRN54F".
     * 
*/ boolean hasOsBuild(); /** * optional string os_build = 6; * *
     * This comes from android.os.Build.ID.  e.g., something like "JRN54F".
     * 
*/ java.lang.String getOsBuild(); /** * optional string os_build = 6; * *
     * This comes from android.os.Build.ID.  e.g., something like "JRN54F".
     * 
*/ com.google.protobuf.ByteString getOsBuildBytes(); // optional string application_build = 7; /** * optional string application_build = 7; * *
     * The client application version. The java int version in the android package
     *  converted to string.
     * 
*/ boolean hasApplicationBuild(); /** * optional string application_build = 7; * *
     * The client application version. The java int version in the android package
     *  converted to string.
     * 
*/ java.lang.String getApplicationBuild(); /** * optional string application_build = 7; * *
     * The client application version. The java int version in the android package
     *  converted to string.
     * 
*/ com.google.protobuf.ByteString getApplicationBuildBytes(); // optional string mcc_mnc = 10; /** * optional string mcc_mnc = 10; * *
     * The mobile country code / mobile network code (MCC/MNC).
     *  e.g., 310004 for Verizon USA.
     * 
*/ boolean hasMccMnc(); /** * optional string mcc_mnc = 10; * *
     * The mobile country code / mobile network code (MCC/MNC).
     *  e.g., 310004 for Verizon USA.
     * 
*/ java.lang.String getMccMnc(); /** * optional string mcc_mnc = 10; * *
     * The mobile country code / mobile network code (MCC/MNC).
     *  e.g., 310004 for Verizon USA.
     * 
*/ com.google.protobuf.ByteString getMccMncBytes(); // optional string locale = 11; /** * optional string locale = 11; * *
     * The chosen locale from the client. e.g., "en_US", "ko_KR", "en_GB".
     * 
*/ boolean hasLocale(); /** * optional string locale = 11; * *
     * The chosen locale from the client. e.g., "en_US", "ko_KR", "en_GB".
     * 
*/ java.lang.String getLocale(); /** * optional string locale = 11; * *
     * The chosen locale from the client. e.g., "en_US", "ko_KR", "en_GB".
     * 
*/ com.google.protobuf.ByteString getLocaleBytes(); // optional string country = 12; /** * optional string country = 12; * *
     * The chosen country from the client. e.g., "US", "KR", "JP".
     * 
*/ boolean hasCountry(); /** * optional string country = 12; * *
     * The chosen country from the client. e.g., "US", "KR", "JP".
     * 
*/ java.lang.String getCountry(); /** * optional string country = 12; * *
     * The chosen country from the client. e.g., "US", "KR", "JP".
     * 
*/ com.google.protobuf.ByteString getCountryBytes(); // optional string manufacturer = 13; /** * optional string manufacturer = 13; * *
     * The manufacturer of the hardware.
     *  This comes from android.os.Build.MANUFACTURER
     * 
*/ boolean hasManufacturer(); /** * optional string manufacturer = 13; * *
     * The manufacturer of the hardware.
     *  This comes from android.os.Build.MANUFACTURER
     * 
*/ java.lang.String getManufacturer(); /** * optional string manufacturer = 13; * *
     * The manufacturer of the hardware.
     *  This comes from android.os.Build.MANUFACTURER
     * 
*/ com.google.protobuf.ByteString getManufacturerBytes(); // optional string brand = 14; /** * optional string brand = 14; * *
     * The brand the software is customized for, if any.  Often a carrier name.
     *  e.g. "google"
     *  from http://developer.android.com/reference/android/os/Build.html#BRAND
     * 
*/ boolean hasBrand(); /** * optional string brand = 14; * *
     * The brand the software is customized for, if any.  Often a carrier name.
     *  e.g. "google"
     *  from http://developer.android.com/reference/android/os/Build.html#BRAND
     * 
*/ java.lang.String getBrand(); /** * optional string brand = 14; * *
     * The brand the software is customized for, if any.  Often a carrier name.
     *  e.g. "google"
     *  from http://developer.android.com/reference/android/os/Build.html#BRAND
     * 
*/ com.google.protobuf.ByteString getBrandBytes(); // optional string board = 15; /** * optional string board = 15; * *
     * The name of the underlying board
     *  e.g. "tuna"
     *  from http://developer.android.com/reference/android/os/Build.html#BOARD
     * 
*/ boolean hasBoard(); /** * optional string board = 15; * *
     * The name of the underlying board
     *  e.g. "tuna"
     *  from http://developer.android.com/reference/android/os/Build.html#BOARD
     * 
*/ java.lang.String getBoard(); /** * optional string board = 15; * *
     * The name of the underlying board
     *  e.g. "tuna"
     *  from http://developer.android.com/reference/android/os/Build.html#BOARD
     * 
*/ com.google.protobuf.ByteString getBoardBytes(); // optional string radio_version = 16; /** * optional string radio_version = 16; * *
     * Radio version as reported by device, if available at reporting time
     *  e.g. "I9250XXLJ1"
     *  from http://developer.android.com/reference/android/os/Build.html#getRadioVersion()
     * 
*/ boolean hasRadioVersion(); /** * optional string radio_version = 16; * *
     * Radio version as reported by device, if available at reporting time
     *  e.g. "I9250XXLJ1"
     *  from http://developer.android.com/reference/android/os/Build.html#getRadioVersion()
     * 
*/ java.lang.String getRadioVersion(); /** * optional string radio_version = 16; * *
     * Radio version as reported by device, if available at reporting time
     *  e.g. "I9250XXLJ1"
     *  from http://developer.android.com/reference/android/os/Build.html#getRadioVersion()
     * 
*/ com.google.protobuf.ByteString getRadioVersionBytes(); // optional string fingerprint = 17; /** * optional string fingerprint = 17; * *
     * Device model/build fingerprint.
     *  This comes from android.os.Build.FINGERPRINT.
     * 
*/ boolean hasFingerprint(); /** * optional string fingerprint = 17; * *
     * Device model/build fingerprint.
     *  This comes from android.os.Build.FINGERPRINT.
     * 
*/ java.lang.String getFingerprint(); /** * optional string fingerprint = 17; * *
     * Device model/build fingerprint.
     *  This comes from android.os.Build.FINGERPRINT.
     * 
*/ com.google.protobuf.ByteString getFingerprintBytes(); // optional int32 gms_core_version_code = 19; /** * optional int32 gms_core_version_code = 19; * *
     * android.content.pm.PackageInfo.versionCode of com.google.android.gms.
     *  e.g., 6031030
     * 
*/ boolean hasGmsCoreVersionCode(); /** * optional int32 gms_core_version_code = 19; * *
     * android.content.pm.PackageInfo.versionCode of com.google.android.gms.
     *  e.g., 6031030
     * 
*/ int getGmsCoreVersionCode(); // optional bool is_sidewinder_device = 20; /** * optional bool is_sidewinder_device = 20; * *
     * Whether the device is a Sidewinder device. See go/sidewinder-summary.
     * 
*/ boolean hasIsSidewinderDevice(); /** * optional bool is_sidewinder_device = 20; * *
     * Whether the device is a Sidewinder device. See go/sidewinder-summary.
     * 
*/ boolean getIsSidewinderDevice(); // optional bytes chimera_config_info = 21; /** * optional bytes chimera_config_info = 21; * *
     * The Chimera module config info describing the module sets on the device
     *  when the event is logged in the client.
     *  This is a proto of ChimeraConfigInfo residing in
     *  google3/logs/proto/wireless/android/play/playlog/chimera_modules.proto.
     * 
*/ boolean hasChimeraConfigInfo(); /** * optional bytes chimera_config_info = 21; * *
     * The Chimera module config info describing the module sets on the device
     *  when the event is logged in the client.
     *  This is a proto of ChimeraConfigInfo residing in
     *  google3/logs/proto/wireless/android/play/playlog/chimera_modules.proto.
     * 
*/ com.google.protobuf.ByteString getChimeraConfigInfo(); // optional bool using_log_source_int = 22; /** * optional bool using_log_source_int = 22; * *
     * Indicates if the device is passing in the LogRequest.LogSource integer
     *  value instead of passing in a string for log_source_name.
     *  This field is not set by the client, but by the server after parsing the
     *  request.
     * 
*/ boolean hasUsingLogSourceInt(); /** * optional bool using_log_source_int = 22; * *
     * Indicates if the device is passing in the LogRequest.LogSource integer
     *  value instead of passing in a string for log_source_name.
     *  This field is not set by the client, but by the server after parsing the
     *  request.
     * 
*/ boolean getUsingLogSourceInt(); } /** * Protobuf type {@code wireless_android_play_playlog.AndroidClientInfo} * *
   * Attributes specific to Android clients.
   *
   *  Next tag: 23
   * 
*/ public static final class AndroidClientInfo extends com.google.protobuf.GeneratedMessage implements AndroidClientInfoOrBuilder { // Use AndroidClientInfo.newBuilder() to construct. private AndroidClientInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private AndroidClientInfo(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final AndroidClientInfo defaultInstance; public static AndroidClientInfo getDefaultInstance() { return defaultInstance; } public AndroidClientInfo getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AndroidClientInfo( 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; androidId_ = input.readInt64(); break; } case 18: { bitField0_ |= 0x00000002; loggingId_ = input.readBytes(); break; } case 24: { bitField0_ |= 0x00000008; sdkVersion_ = input.readInt32(); break; } case 34: { bitField0_ |= 0x00000010; model_ = input.readBytes(); break; } case 42: { bitField0_ |= 0x00000020; product_ = input.readBytes(); break; } case 50: { bitField0_ |= 0x00000100; osBuild_ = input.readBytes(); break; } case 58: { bitField0_ |= 0x00000200; applicationBuild_ = input.readBytes(); break; } case 66: { bitField0_ |= 0x00000040; hardware_ = input.readBytes(); break; } case 74: { bitField0_ |= 0x00000080; device_ = input.readBytes(); break; } case 82: { bitField0_ |= 0x00000400; mccMnc_ = input.readBytes(); break; } case 90: { bitField0_ |= 0x00000800; locale_ = input.readBytes(); break; } case 98: { bitField0_ |= 0x00001000; country_ = input.readBytes(); break; } case 106: { bitField0_ |= 0x00002000; manufacturer_ = input.readBytes(); break; } case 114: { bitField0_ |= 0x00004000; brand_ = input.readBytes(); break; } case 122: { bitField0_ |= 0x00008000; board_ = input.readBytes(); break; } case 130: { bitField0_ |= 0x00010000; radioVersion_ = input.readBytes(); break; } case 138: { bitField0_ |= 0x00020000; fingerprint_ = input.readBytes(); break; } case 144: { bitField0_ |= 0x00000004; deviceId_ = input.readInt64(); break; } case 152: { bitField0_ |= 0x00040000; gmsCoreVersionCode_ = input.readInt32(); break; } case 160: { bitField0_ |= 0x00080000; isSidewinderDevice_ = input.readBool(); break; } case 170: { bitField0_ |= 0x00100000; chimeraConfigInfo_ = input.readBytes(); break; } case 176: { bitField0_ |= 0x00200000; usingLogSourceInt_ = 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.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_AndroidClientInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_AndroidClientInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public AndroidClientInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AndroidClientInfo(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional int64 android_id = 1; public static final int ANDROID_ID_FIELD_NUMBER = 1; private long androidId_; /** * optional int64 android_id = 1; * *
     * "Gservices" android ID.  Considered PII.  Never logged in archival logs.
     * 
*/ public boolean hasAndroidId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 android_id = 1; * *
     * "Gservices" android ID.  Considered PII.  Never logged in archival logs.
     * 
*/ public long getAndroidId() { return androidId_; } // optional string logging_id = 2; public static final int LOGGING_ID_FIELD_NUMBER = 2; private java.lang.Object loggingId_; /** * optional string logging_id = 2; * *
     * Pseudonymous, random id (sticky) per device.  May only be logged in temp
     *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
     * 
*/ public boolean hasLoggingId() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string logging_id = 2; * *
     * Pseudonymous, random id (sticky) per device.  May only be logged in temp
     *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
     * 
*/ public java.lang.String getLoggingId() { java.lang.Object ref = loggingId_; 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()) { loggingId_ = s; } return s; } } /** * optional string logging_id = 2; * *
     * Pseudonymous, random id (sticky) per device.  May only be logged in temp
     *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
     * 
*/ public com.google.protobuf.ByteString getLoggingIdBytes() { java.lang.Object ref = loggingId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); loggingId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional int64 device_id = 18; public static final int DEVICE_ID_FIELD_NUMBER = 18; private long deviceId_; /** * optional int64 device_id = 18; * *
     * Device ID referenced by android.provider.Settings.Secure.ANDROID_ID.
     *  Considered PII. Never logged in archival logs.
     * 
*/ public boolean hasDeviceId() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional int64 device_id = 18; * *
     * Device ID referenced by android.provider.Settings.Secure.ANDROID_ID.
     *  Considered PII. Never logged in archival logs.
     * 
*/ public long getDeviceId() { return deviceId_; } // optional int32 sdk_version = 3; public static final int SDK_VERSION_FIELD_NUMBER = 3; private int sdkVersion_; /** * optional int32 sdk_version = 3; * *
     * This comes from android.os.Build.VERSION.SDK_INT.
     * 
*/ public boolean hasSdkVersion() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional int32 sdk_version = 3; * *
     * This comes from android.os.Build.VERSION.SDK_INT.
     * 
*/ public int getSdkVersion() { return sdkVersion_; } // optional string model = 4; public static final int MODEL_FIELD_NUMBER = 4; private java.lang.Object model_; /** * optional string model = 4; * *
     * Textual description of the client platform.  e.g., "Nexus 4".
     *  This comes from android.os.Build.MODEL.
     * 
*/ public boolean hasModel() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string model = 4; * *
     * Textual description of the client platform.  e.g., "Nexus 4".
     *  This comes from android.os.Build.MODEL.
     * 
*/ public java.lang.String getModel() { java.lang.Object ref = model_; 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()) { model_ = s; } return s; } } /** * optional string model = 4; * *
     * Textual description of the client platform.  e.g., "Nexus 4".
     *  This comes from android.os.Build.MODEL.
     * 
*/ public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); model_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string product = 5; public static final int PRODUCT_FIELD_NUMBER = 5; private java.lang.Object product_; /** * optional string product = 5; * *
     * The name of the overall product. e.g., "occam".
     *  This comes from android.os.Build.Product.
     * 
*/ public boolean hasProduct() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional string product = 5; * *
     * The name of the overall product. e.g., "occam".
     *  This comes from android.os.Build.Product.
     * 
*/ public java.lang.String getProduct() { java.lang.Object ref = product_; 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()) { product_ = s; } return s; } } /** * optional string product = 5; * *
     * The name of the overall product. e.g., "occam".
     *  This comes from android.os.Build.Product.
     * 
*/ public com.google.protobuf.ByteString getProductBytes() { java.lang.Object ref = product_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); product_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string hardware = 8; public static final int HARDWARE_FIELD_NUMBER = 8; private java.lang.Object hardware_; /** * optional string hardware = 8; * *
     * The name of the hardware (from the kernel command line or /proc).
     *  This comes from android.os.Build.Hardware.  e.g., "mako".
     * 
*/ public boolean hasHardware() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional string hardware = 8; * *
     * The name of the hardware (from the kernel command line or /proc).
     *  This comes from android.os.Build.Hardware.  e.g., "mako".
     * 
*/ public java.lang.String getHardware() { java.lang.Object ref = hardware_; 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()) { hardware_ = s; } return s; } } /** * optional string hardware = 8; * *
     * The name of the hardware (from the kernel command line or /proc).
     *  This comes from android.os.Build.Hardware.  e.g., "mako".
     * 
*/ public com.google.protobuf.ByteString getHardwareBytes() { java.lang.Object ref = hardware_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); hardware_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string device = 9; public static final int DEVICE_FIELD_NUMBER = 9; private java.lang.Object device_; /** * optional string device = 9; * *
     * The name of the industrial design.  e.g., "mako".
     *  This comes from android.os.Build.Device.
     * 
*/ public boolean hasDevice() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional string device = 9; * *
     * The name of the industrial design.  e.g., "mako".
     *  This comes from android.os.Build.Device.
     * 
*/ public java.lang.String getDevice() { java.lang.Object ref = device_; 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()) { device_ = s; } return s; } } /** * optional string device = 9; * *
     * The name of the industrial design.  e.g., "mako".
     *  This comes from android.os.Build.Device.
     * 
*/ public com.google.protobuf.ByteString getDeviceBytes() { java.lang.Object ref = device_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); device_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string os_build = 6; public static final int OS_BUILD_FIELD_NUMBER = 6; private java.lang.Object osBuild_; /** * optional string os_build = 6; * *
     * This comes from android.os.Build.ID.  e.g., something like "JRN54F".
     * 
*/ public boolean hasOsBuild() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional string os_build = 6; * *
     * This comes from android.os.Build.ID.  e.g., something like "JRN54F".
     * 
*/ public java.lang.String getOsBuild() { java.lang.Object ref = osBuild_; 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()) { osBuild_ = s; } return s; } } /** * optional string os_build = 6; * *
     * This comes from android.os.Build.ID.  e.g., something like "JRN54F".
     * 
*/ public com.google.protobuf.ByteString getOsBuildBytes() { java.lang.Object ref = osBuild_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); osBuild_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string application_build = 7; public static final int APPLICATION_BUILD_FIELD_NUMBER = 7; private java.lang.Object applicationBuild_; /** * optional string application_build = 7; * *
     * The client application version. The java int version in the android package
     *  converted to string.
     * 
*/ public boolean hasApplicationBuild() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * optional string application_build = 7; * *
     * The client application version. The java int version in the android package
     *  converted to string.
     * 
*/ public java.lang.String getApplicationBuild() { java.lang.Object ref = applicationBuild_; 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()) { applicationBuild_ = s; } return s; } } /** * optional string application_build = 7; * *
     * The client application version. The java int version in the android package
     *  converted to string.
     * 
*/ public com.google.protobuf.ByteString getApplicationBuildBytes() { java.lang.Object ref = applicationBuild_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); applicationBuild_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string mcc_mnc = 10; public static final int MCC_MNC_FIELD_NUMBER = 10; private java.lang.Object mccMnc_; /** * optional string mcc_mnc = 10; * *
     * The mobile country code / mobile network code (MCC/MNC).
     *  e.g., 310004 for Verizon USA.
     * 
*/ public boolean hasMccMnc() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * optional string mcc_mnc = 10; * *
     * The mobile country code / mobile network code (MCC/MNC).
     *  e.g., 310004 for Verizon USA.
     * 
*/ public java.lang.String getMccMnc() { java.lang.Object ref = mccMnc_; 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()) { mccMnc_ = s; } return s; } } /** * optional string mcc_mnc = 10; * *
     * The mobile country code / mobile network code (MCC/MNC).
     *  e.g., 310004 for Verizon USA.
     * 
*/ public com.google.protobuf.ByteString getMccMncBytes() { java.lang.Object ref = mccMnc_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); mccMnc_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string locale = 11; public static final int LOCALE_FIELD_NUMBER = 11; private java.lang.Object locale_; /** * optional string locale = 11; * *
     * The chosen locale from the client. e.g., "en_US", "ko_KR", "en_GB".
     * 
*/ public boolean hasLocale() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** * optional string locale = 11; * *
     * The chosen locale from the client. e.g., "en_US", "ko_KR", "en_GB".
     * 
*/ public java.lang.String getLocale() { java.lang.Object ref = locale_; 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()) { locale_ = s; } return s; } } /** * optional string locale = 11; * *
     * The chosen locale from the client. e.g., "en_US", "ko_KR", "en_GB".
     * 
*/ public com.google.protobuf.ByteString getLocaleBytes() { java.lang.Object ref = locale_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); locale_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string country = 12; public static final int COUNTRY_FIELD_NUMBER = 12; private java.lang.Object country_; /** * optional string country = 12; * *
     * The chosen country from the client. e.g., "US", "KR", "JP".
     * 
*/ public boolean hasCountry() { return ((bitField0_ & 0x00001000) == 0x00001000); } /** * optional string country = 12; * *
     * The chosen country from the client. e.g., "US", "KR", "JP".
     * 
*/ public java.lang.String getCountry() { java.lang.Object ref = country_; 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()) { country_ = s; } return s; } } /** * optional string country = 12; * *
     * The chosen country from the client. e.g., "US", "KR", "JP".
     * 
*/ public com.google.protobuf.ByteString getCountryBytes() { java.lang.Object ref = country_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); country_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string manufacturer = 13; public static final int MANUFACTURER_FIELD_NUMBER = 13; private java.lang.Object manufacturer_; /** * optional string manufacturer = 13; * *
     * The manufacturer of the hardware.
     *  This comes from android.os.Build.MANUFACTURER
     * 
*/ public boolean hasManufacturer() { return ((bitField0_ & 0x00002000) == 0x00002000); } /** * optional string manufacturer = 13; * *
     * The manufacturer of the hardware.
     *  This comes from android.os.Build.MANUFACTURER
     * 
*/ public java.lang.String getManufacturer() { java.lang.Object ref = manufacturer_; 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()) { manufacturer_ = s; } return s; } } /** * optional string manufacturer = 13; * *
     * The manufacturer of the hardware.
     *  This comes from android.os.Build.MANUFACTURER
     * 
*/ public com.google.protobuf.ByteString getManufacturerBytes() { java.lang.Object ref = manufacturer_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); manufacturer_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string brand = 14; public static final int BRAND_FIELD_NUMBER = 14; private java.lang.Object brand_; /** * optional string brand = 14; * *
     * The brand the software is customized for, if any.  Often a carrier name.
     *  e.g. "google"
     *  from http://developer.android.com/reference/android/os/Build.html#BRAND
     * 
*/ public boolean hasBrand() { return ((bitField0_ & 0x00004000) == 0x00004000); } /** * optional string brand = 14; * *
     * The brand the software is customized for, if any.  Often a carrier name.
     *  e.g. "google"
     *  from http://developer.android.com/reference/android/os/Build.html#BRAND
     * 
*/ public java.lang.String getBrand() { java.lang.Object ref = brand_; 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()) { brand_ = s; } return s; } } /** * optional string brand = 14; * *
     * The brand the software is customized for, if any.  Often a carrier name.
     *  e.g. "google"
     *  from http://developer.android.com/reference/android/os/Build.html#BRAND
     * 
*/ public com.google.protobuf.ByteString getBrandBytes() { java.lang.Object ref = brand_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); brand_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string board = 15; public static final int BOARD_FIELD_NUMBER = 15; private java.lang.Object board_; /** * optional string board = 15; * *
     * The name of the underlying board
     *  e.g. "tuna"
     *  from http://developer.android.com/reference/android/os/Build.html#BOARD
     * 
*/ public boolean hasBoard() { return ((bitField0_ & 0x00008000) == 0x00008000); } /** * optional string board = 15; * *
     * The name of the underlying board
     *  e.g. "tuna"
     *  from http://developer.android.com/reference/android/os/Build.html#BOARD
     * 
*/ public java.lang.String getBoard() { java.lang.Object ref = board_; 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()) { board_ = s; } return s; } } /** * optional string board = 15; * *
     * The name of the underlying board
     *  e.g. "tuna"
     *  from http://developer.android.com/reference/android/os/Build.html#BOARD
     * 
*/ public com.google.protobuf.ByteString getBoardBytes() { java.lang.Object ref = board_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); board_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string radio_version = 16; public static final int RADIO_VERSION_FIELD_NUMBER = 16; private java.lang.Object radioVersion_; /** * optional string radio_version = 16; * *
     * Radio version as reported by device, if available at reporting time
     *  e.g. "I9250XXLJ1"
     *  from http://developer.android.com/reference/android/os/Build.html#getRadioVersion()
     * 
*/ public boolean hasRadioVersion() { return ((bitField0_ & 0x00010000) == 0x00010000); } /** * optional string radio_version = 16; * *
     * Radio version as reported by device, if available at reporting time
     *  e.g. "I9250XXLJ1"
     *  from http://developer.android.com/reference/android/os/Build.html#getRadioVersion()
     * 
*/ public java.lang.String getRadioVersion() { java.lang.Object ref = radioVersion_; 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()) { radioVersion_ = s; } return s; } } /** * optional string radio_version = 16; * *
     * Radio version as reported by device, if available at reporting time
     *  e.g. "I9250XXLJ1"
     *  from http://developer.android.com/reference/android/os/Build.html#getRadioVersion()
     * 
*/ public com.google.protobuf.ByteString getRadioVersionBytes() { java.lang.Object ref = radioVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); radioVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string fingerprint = 17; public static final int FINGERPRINT_FIELD_NUMBER = 17; private java.lang.Object fingerprint_; /** * optional string fingerprint = 17; * *
     * Device model/build fingerprint.
     *  This comes from android.os.Build.FINGERPRINT.
     * 
*/ public boolean hasFingerprint() { return ((bitField0_ & 0x00020000) == 0x00020000); } /** * optional string fingerprint = 17; * *
     * Device model/build fingerprint.
     *  This comes from android.os.Build.FINGERPRINT.
     * 
*/ public java.lang.String getFingerprint() { java.lang.Object ref = fingerprint_; 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()) { fingerprint_ = s; } return s; } } /** * optional string fingerprint = 17; * *
     * Device model/build fingerprint.
     *  This comes from android.os.Build.FINGERPRINT.
     * 
*/ public com.google.protobuf.ByteString getFingerprintBytes() { java.lang.Object ref = fingerprint_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fingerprint_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional int32 gms_core_version_code = 19; public static final int GMS_CORE_VERSION_CODE_FIELD_NUMBER = 19; private int gmsCoreVersionCode_; /** * optional int32 gms_core_version_code = 19; * *
     * android.content.pm.PackageInfo.versionCode of com.google.android.gms.
     *  e.g., 6031030
     * 
*/ public boolean hasGmsCoreVersionCode() { return ((bitField0_ & 0x00040000) == 0x00040000); } /** * optional int32 gms_core_version_code = 19; * *
     * android.content.pm.PackageInfo.versionCode of com.google.android.gms.
     *  e.g., 6031030
     * 
*/ public int getGmsCoreVersionCode() { return gmsCoreVersionCode_; } // optional bool is_sidewinder_device = 20; public static final int IS_SIDEWINDER_DEVICE_FIELD_NUMBER = 20; private boolean isSidewinderDevice_; /** * optional bool is_sidewinder_device = 20; * *
     * Whether the device is a Sidewinder device. See go/sidewinder-summary.
     * 
*/ public boolean hasIsSidewinderDevice() { return ((bitField0_ & 0x00080000) == 0x00080000); } /** * optional bool is_sidewinder_device = 20; * *
     * Whether the device is a Sidewinder device. See go/sidewinder-summary.
     * 
*/ public boolean getIsSidewinderDevice() { return isSidewinderDevice_; } // optional bytes chimera_config_info = 21; public static final int CHIMERA_CONFIG_INFO_FIELD_NUMBER = 21; private com.google.protobuf.ByteString chimeraConfigInfo_; /** * optional bytes chimera_config_info = 21; * *
     * The Chimera module config info describing the module sets on the device
     *  when the event is logged in the client.
     *  This is a proto of ChimeraConfigInfo residing in
     *  google3/logs/proto/wireless/android/play/playlog/chimera_modules.proto.
     * 
*/ public boolean hasChimeraConfigInfo() { return ((bitField0_ & 0x00100000) == 0x00100000); } /** * optional bytes chimera_config_info = 21; * *
     * The Chimera module config info describing the module sets on the device
     *  when the event is logged in the client.
     *  This is a proto of ChimeraConfigInfo residing in
     *  google3/logs/proto/wireless/android/play/playlog/chimera_modules.proto.
     * 
*/ public com.google.protobuf.ByteString getChimeraConfigInfo() { return chimeraConfigInfo_; } // optional bool using_log_source_int = 22; public static final int USING_LOG_SOURCE_INT_FIELD_NUMBER = 22; private boolean usingLogSourceInt_; /** * optional bool using_log_source_int = 22; * *
     * Indicates if the device is passing in the LogRequest.LogSource integer
     *  value instead of passing in a string for log_source_name.
     *  This field is not set by the client, but by the server after parsing the
     *  request.
     * 
*/ public boolean hasUsingLogSourceInt() { return ((bitField0_ & 0x00200000) == 0x00200000); } /** * optional bool using_log_source_int = 22; * *
     * Indicates if the device is passing in the LogRequest.LogSource integer
     *  value instead of passing in a string for log_source_name.
     *  This field is not set by the client, but by the server after parsing the
     *  request.
     * 
*/ public boolean getUsingLogSourceInt() { return usingLogSourceInt_; } private void initFields() { androidId_ = 0L; loggingId_ = ""; deviceId_ = 0L; sdkVersion_ = 0; model_ = ""; product_ = ""; hardware_ = ""; device_ = ""; osBuild_ = ""; applicationBuild_ = ""; mccMnc_ = ""; locale_ = ""; country_ = ""; manufacturer_ = ""; brand_ = ""; board_ = ""; radioVersion_ = ""; fingerprint_ = ""; gmsCoreVersionCode_ = 0; isSidewinderDevice_ = false; chimeraConfigInfo_ = com.google.protobuf.ByteString.EMPTY; usingLogSourceInt_ = false; } 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.writeInt64(1, androidId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getLoggingIdBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt32(3, sdkVersion_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBytes(4, getModelBytes()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeBytes(5, getProductBytes()); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeBytes(6, getOsBuildBytes()); } if (((bitField0_ & 0x00000200) == 0x00000200)) { output.writeBytes(7, getApplicationBuildBytes()); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeBytes(8, getHardwareBytes()); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeBytes(9, getDeviceBytes()); } if (((bitField0_ & 0x00000400) == 0x00000400)) { output.writeBytes(10, getMccMncBytes()); } if (((bitField0_ & 0x00000800) == 0x00000800)) { output.writeBytes(11, getLocaleBytes()); } if (((bitField0_ & 0x00001000) == 0x00001000)) { output.writeBytes(12, getCountryBytes()); } if (((bitField0_ & 0x00002000) == 0x00002000)) { output.writeBytes(13, getManufacturerBytes()); } if (((bitField0_ & 0x00004000) == 0x00004000)) { output.writeBytes(14, getBrandBytes()); } if (((bitField0_ & 0x00008000) == 0x00008000)) { output.writeBytes(15, getBoardBytes()); } if (((bitField0_ & 0x00010000) == 0x00010000)) { output.writeBytes(16, getRadioVersionBytes()); } if (((bitField0_ & 0x00020000) == 0x00020000)) { output.writeBytes(17, getFingerprintBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt64(18, deviceId_); } if (((bitField0_ & 0x00040000) == 0x00040000)) { output.writeInt32(19, gmsCoreVersionCode_); } if (((bitField0_ & 0x00080000) == 0x00080000)) { output.writeBool(20, isSidewinderDevice_); } if (((bitField0_ & 0x00100000) == 0x00100000)) { output.writeBytes(21, chimeraConfigInfo_); } if (((bitField0_ & 0x00200000) == 0x00200000)) { output.writeBool(22, usingLogSourceInt_); } 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 .computeInt64Size(1, androidId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getLoggingIdBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, sdkVersion_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, getModelBytes()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, getProductBytes()); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(6, getOsBuildBytes()); } if (((bitField0_ & 0x00000200) == 0x00000200)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(7, getApplicationBuildBytes()); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(8, getHardwareBytes()); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(9, getDeviceBytes()); } if (((bitField0_ & 0x00000400) == 0x00000400)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(10, getMccMncBytes()); } if (((bitField0_ & 0x00000800) == 0x00000800)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(11, getLocaleBytes()); } if (((bitField0_ & 0x00001000) == 0x00001000)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(12, getCountryBytes()); } if (((bitField0_ & 0x00002000) == 0x00002000)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(13, getManufacturerBytes()); } if (((bitField0_ & 0x00004000) == 0x00004000)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(14, getBrandBytes()); } if (((bitField0_ & 0x00008000) == 0x00008000)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(15, getBoardBytes()); } if (((bitField0_ & 0x00010000) == 0x00010000)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(16, getRadioVersionBytes()); } if (((bitField0_ & 0x00020000) == 0x00020000)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(17, getFingerprintBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(18, deviceId_); } if (((bitField0_ & 0x00040000) == 0x00040000)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(19, gmsCoreVersionCode_); } if (((bitField0_ & 0x00080000) == 0x00080000)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(20, isSidewinderDevice_); } if (((bitField0_ & 0x00100000) == 0x00100000)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(21, chimeraConfigInfo_); } if (((bitField0_ & 0x00200000) == 0x00200000)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(22, usingLogSourceInt_); } 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.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo 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.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo 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 wireless_android_play_playlog.AndroidClientInfo} * *
     * Attributes specific to Android clients.
     *
     *  Next tag: 23
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_AndroidClientInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_AndroidClientInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo.Builder.class); } // Construct using com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo.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(); androidId_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); loggingId_ = ""; bitField0_ = (bitField0_ & ~0x00000002); deviceId_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); sdkVersion_ = 0; bitField0_ = (bitField0_ & ~0x00000008); model_ = ""; bitField0_ = (bitField0_ & ~0x00000010); product_ = ""; bitField0_ = (bitField0_ & ~0x00000020); hardware_ = ""; bitField0_ = (bitField0_ & ~0x00000040); device_ = ""; bitField0_ = (bitField0_ & ~0x00000080); osBuild_ = ""; bitField0_ = (bitField0_ & ~0x00000100); applicationBuild_ = ""; bitField0_ = (bitField0_ & ~0x00000200); mccMnc_ = ""; bitField0_ = (bitField0_ & ~0x00000400); locale_ = ""; bitField0_ = (bitField0_ & ~0x00000800); country_ = ""; bitField0_ = (bitField0_ & ~0x00001000); manufacturer_ = ""; bitField0_ = (bitField0_ & ~0x00002000); brand_ = ""; bitField0_ = (bitField0_ & ~0x00004000); board_ = ""; bitField0_ = (bitField0_ & ~0x00008000); radioVersion_ = ""; bitField0_ = (bitField0_ & ~0x00010000); fingerprint_ = ""; bitField0_ = (bitField0_ & ~0x00020000); gmsCoreVersionCode_ = 0; bitField0_ = (bitField0_ & ~0x00040000); isSidewinderDevice_ = false; bitField0_ = (bitField0_ & ~0x00080000); chimeraConfigInfo_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00100000); usingLogSourceInt_ = false; bitField0_ = (bitField0_ & ~0x00200000); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_AndroidClientInfo_descriptor; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo getDefaultInstanceForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo.getDefaultInstance(); } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo build() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo buildPartial() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo result = new com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.androidId_ = androidId_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.loggingId_ = loggingId_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.deviceId_ = deviceId_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.sdkVersion_ = sdkVersion_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.model_ = model_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.product_ = product_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.hardware_ = hardware_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } result.device_ = device_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000100; } result.osBuild_ = osBuild_; if (((from_bitField0_ & 0x00000200) == 0x00000200)) { to_bitField0_ |= 0x00000200; } result.applicationBuild_ = applicationBuild_; if (((from_bitField0_ & 0x00000400) == 0x00000400)) { to_bitField0_ |= 0x00000400; } result.mccMnc_ = mccMnc_; if (((from_bitField0_ & 0x00000800) == 0x00000800)) { to_bitField0_ |= 0x00000800; } result.locale_ = locale_; if (((from_bitField0_ & 0x00001000) == 0x00001000)) { to_bitField0_ |= 0x00001000; } result.country_ = country_; if (((from_bitField0_ & 0x00002000) == 0x00002000)) { to_bitField0_ |= 0x00002000; } result.manufacturer_ = manufacturer_; if (((from_bitField0_ & 0x00004000) == 0x00004000)) { to_bitField0_ |= 0x00004000; } result.brand_ = brand_; if (((from_bitField0_ & 0x00008000) == 0x00008000)) { to_bitField0_ |= 0x00008000; } result.board_ = board_; if (((from_bitField0_ & 0x00010000) == 0x00010000)) { to_bitField0_ |= 0x00010000; } result.radioVersion_ = radioVersion_; if (((from_bitField0_ & 0x00020000) == 0x00020000)) { to_bitField0_ |= 0x00020000; } result.fingerprint_ = fingerprint_; if (((from_bitField0_ & 0x00040000) == 0x00040000)) { to_bitField0_ |= 0x00040000; } result.gmsCoreVersionCode_ = gmsCoreVersionCode_; if (((from_bitField0_ & 0x00080000) == 0x00080000)) { to_bitField0_ |= 0x00080000; } result.isSidewinderDevice_ = isSidewinderDevice_; if (((from_bitField0_ & 0x00100000) == 0x00100000)) { to_bitField0_ |= 0x00100000; } result.chimeraConfigInfo_ = chimeraConfigInfo_; if (((from_bitField0_ & 0x00200000) == 0x00200000)) { to_bitField0_ |= 0x00200000; } result.usingLogSourceInt_ = usingLogSourceInt_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo) { return mergeFrom((com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo other) { if (other == com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo.getDefaultInstance()) return this; if (other.hasAndroidId()) { setAndroidId(other.getAndroidId()); } if (other.hasLoggingId()) { bitField0_ |= 0x00000002; loggingId_ = other.loggingId_; onChanged(); } if (other.hasDeviceId()) { setDeviceId(other.getDeviceId()); } if (other.hasSdkVersion()) { setSdkVersion(other.getSdkVersion()); } if (other.hasModel()) { bitField0_ |= 0x00000010; model_ = other.model_; onChanged(); } if (other.hasProduct()) { bitField0_ |= 0x00000020; product_ = other.product_; onChanged(); } if (other.hasHardware()) { bitField0_ |= 0x00000040; hardware_ = other.hardware_; onChanged(); } if (other.hasDevice()) { bitField0_ |= 0x00000080; device_ = other.device_; onChanged(); } if (other.hasOsBuild()) { bitField0_ |= 0x00000100; osBuild_ = other.osBuild_; onChanged(); } if (other.hasApplicationBuild()) { bitField0_ |= 0x00000200; applicationBuild_ = other.applicationBuild_; onChanged(); } if (other.hasMccMnc()) { bitField0_ |= 0x00000400; mccMnc_ = other.mccMnc_; onChanged(); } if (other.hasLocale()) { bitField0_ |= 0x00000800; locale_ = other.locale_; onChanged(); } if (other.hasCountry()) { bitField0_ |= 0x00001000; country_ = other.country_; onChanged(); } if (other.hasManufacturer()) { bitField0_ |= 0x00002000; manufacturer_ = other.manufacturer_; onChanged(); } if (other.hasBrand()) { bitField0_ |= 0x00004000; brand_ = other.brand_; onChanged(); } if (other.hasBoard()) { bitField0_ |= 0x00008000; board_ = other.board_; onChanged(); } if (other.hasRadioVersion()) { bitField0_ |= 0x00010000; radioVersion_ = other.radioVersion_; onChanged(); } if (other.hasFingerprint()) { bitField0_ |= 0x00020000; fingerprint_ = other.fingerprint_; onChanged(); } if (other.hasGmsCoreVersionCode()) { setGmsCoreVersionCode(other.getGmsCoreVersionCode()); } if (other.hasIsSidewinderDevice()) { setIsSidewinderDevice(other.getIsSidewinderDevice()); } if (other.hasChimeraConfigInfo()) { setChimeraConfigInfo(other.getChimeraConfigInfo()); } if (other.hasUsingLogSourceInt()) { setUsingLogSourceInt(other.getUsingLogSourceInt()); } 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.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional int64 android_id = 1; private long androidId_ ; /** * optional int64 android_id = 1; * *
       * "Gservices" android ID.  Considered PII.  Never logged in archival logs.
       * 
*/ public boolean hasAndroidId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 android_id = 1; * *
       * "Gservices" android ID.  Considered PII.  Never logged in archival logs.
       * 
*/ public long getAndroidId() { return androidId_; } /** * optional int64 android_id = 1; * *
       * "Gservices" android ID.  Considered PII.  Never logged in archival logs.
       * 
*/ public Builder setAndroidId(long value) { bitField0_ |= 0x00000001; androidId_ = value; onChanged(); return this; } /** * optional int64 android_id = 1; * *
       * "Gservices" android ID.  Considered PII.  Never logged in archival logs.
       * 
*/ public Builder clearAndroidId() { bitField0_ = (bitField0_ & ~0x00000001); androidId_ = 0L; onChanged(); return this; } // optional string logging_id = 2; private java.lang.Object loggingId_ = ""; /** * optional string logging_id = 2; * *
       * Pseudonymous, random id (sticky) per device.  May only be logged in temp
       *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
       * 
*/ public boolean hasLoggingId() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string logging_id = 2; * *
       * Pseudonymous, random id (sticky) per device.  May only be logged in temp
       *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
       * 
*/ public java.lang.String getLoggingId() { java.lang.Object ref = loggingId_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); loggingId_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string logging_id = 2; * *
       * Pseudonymous, random id (sticky) per device.  May only be logged in temp
       *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
       * 
*/ public com.google.protobuf.ByteString getLoggingIdBytes() { java.lang.Object ref = loggingId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); loggingId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string logging_id = 2; * *
       * Pseudonymous, random id (sticky) per device.  May only be logged in temp
       *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
       * 
*/ public Builder setLoggingId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; loggingId_ = value; onChanged(); return this; } /** * optional string logging_id = 2; * *
       * Pseudonymous, random id (sticky) per device.  May only be logged in temp
       *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
       * 
*/ public Builder clearLoggingId() { bitField0_ = (bitField0_ & ~0x00000002); loggingId_ = getDefaultInstance().getLoggingId(); onChanged(); return this; } /** * optional string logging_id = 2; * *
       * Pseudonymous, random id (sticky) per device.  May only be logged in temp
       *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
       * 
*/ public Builder setLoggingIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; loggingId_ = value; onChanged(); return this; } // optional int64 device_id = 18; private long deviceId_ ; /** * optional int64 device_id = 18; * *
       * Device ID referenced by android.provider.Settings.Secure.ANDROID_ID.
       *  Considered PII. Never logged in archival logs.
       * 
*/ public boolean hasDeviceId() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional int64 device_id = 18; * *
       * Device ID referenced by android.provider.Settings.Secure.ANDROID_ID.
       *  Considered PII. Never logged in archival logs.
       * 
*/ public long getDeviceId() { return deviceId_; } /** * optional int64 device_id = 18; * *
       * Device ID referenced by android.provider.Settings.Secure.ANDROID_ID.
       *  Considered PII. Never logged in archival logs.
       * 
*/ public Builder setDeviceId(long value) { bitField0_ |= 0x00000004; deviceId_ = value; onChanged(); return this; } /** * optional int64 device_id = 18; * *
       * Device ID referenced by android.provider.Settings.Secure.ANDROID_ID.
       *  Considered PII. Never logged in archival logs.
       * 
*/ public Builder clearDeviceId() { bitField0_ = (bitField0_ & ~0x00000004); deviceId_ = 0L; onChanged(); return this; } // optional int32 sdk_version = 3; private int sdkVersion_ ; /** * optional int32 sdk_version = 3; * *
       * This comes from android.os.Build.VERSION.SDK_INT.
       * 
*/ public boolean hasSdkVersion() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional int32 sdk_version = 3; * *
       * This comes from android.os.Build.VERSION.SDK_INT.
       * 
*/ public int getSdkVersion() { return sdkVersion_; } /** * optional int32 sdk_version = 3; * *
       * This comes from android.os.Build.VERSION.SDK_INT.
       * 
*/ public Builder setSdkVersion(int value) { bitField0_ |= 0x00000008; sdkVersion_ = value; onChanged(); return this; } /** * optional int32 sdk_version = 3; * *
       * This comes from android.os.Build.VERSION.SDK_INT.
       * 
*/ public Builder clearSdkVersion() { bitField0_ = (bitField0_ & ~0x00000008); sdkVersion_ = 0; onChanged(); return this; } // optional string model = 4; private java.lang.Object model_ = ""; /** * optional string model = 4; * *
       * Textual description of the client platform.  e.g., "Nexus 4".
       *  This comes from android.os.Build.MODEL.
       * 
*/ public boolean hasModel() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string model = 4; * *
       * Textual description of the client platform.  e.g., "Nexus 4".
       *  This comes from android.os.Build.MODEL.
       * 
*/ public java.lang.String getModel() { java.lang.Object ref = model_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); model_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string model = 4; * *
       * Textual description of the client platform.  e.g., "Nexus 4".
       *  This comes from android.os.Build.MODEL.
       * 
*/ public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); model_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string model = 4; * *
       * Textual description of the client platform.  e.g., "Nexus 4".
       *  This comes from android.os.Build.MODEL.
       * 
*/ public Builder setModel( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; model_ = value; onChanged(); return this; } /** * optional string model = 4; * *
       * Textual description of the client platform.  e.g., "Nexus 4".
       *  This comes from android.os.Build.MODEL.
       * 
*/ public Builder clearModel() { bitField0_ = (bitField0_ & ~0x00000010); model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** * optional string model = 4; * *
       * Textual description of the client platform.  e.g., "Nexus 4".
       *  This comes from android.os.Build.MODEL.
       * 
*/ public Builder setModelBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; model_ = value; onChanged(); return this; } // optional string product = 5; private java.lang.Object product_ = ""; /** * optional string product = 5; * *
       * The name of the overall product. e.g., "occam".
       *  This comes from android.os.Build.Product.
       * 
*/ public boolean hasProduct() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional string product = 5; * *
       * The name of the overall product. e.g., "occam".
       *  This comes from android.os.Build.Product.
       * 
*/ public java.lang.String getProduct() { java.lang.Object ref = product_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); product_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string product = 5; * *
       * The name of the overall product. e.g., "occam".
       *  This comes from android.os.Build.Product.
       * 
*/ public com.google.protobuf.ByteString getProductBytes() { java.lang.Object ref = product_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); product_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string product = 5; * *
       * The name of the overall product. e.g., "occam".
       *  This comes from android.os.Build.Product.
       * 
*/ public Builder setProduct( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; product_ = value; onChanged(); return this; } /** * optional string product = 5; * *
       * The name of the overall product. e.g., "occam".
       *  This comes from android.os.Build.Product.
       * 
*/ public Builder clearProduct() { bitField0_ = (bitField0_ & ~0x00000020); product_ = getDefaultInstance().getProduct(); onChanged(); return this; } /** * optional string product = 5; * *
       * The name of the overall product. e.g., "occam".
       *  This comes from android.os.Build.Product.
       * 
*/ public Builder setProductBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; product_ = value; onChanged(); return this; } // optional string hardware = 8; private java.lang.Object hardware_ = ""; /** * optional string hardware = 8; * *
       * The name of the hardware (from the kernel command line or /proc).
       *  This comes from android.os.Build.Hardware.  e.g., "mako".
       * 
*/ public boolean hasHardware() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional string hardware = 8; * *
       * The name of the hardware (from the kernel command line or /proc).
       *  This comes from android.os.Build.Hardware.  e.g., "mako".
       * 
*/ public java.lang.String getHardware() { java.lang.Object ref = hardware_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); hardware_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string hardware = 8; * *
       * The name of the hardware (from the kernel command line or /proc).
       *  This comes from android.os.Build.Hardware.  e.g., "mako".
       * 
*/ public com.google.protobuf.ByteString getHardwareBytes() { java.lang.Object ref = hardware_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); hardware_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string hardware = 8; * *
       * The name of the hardware (from the kernel command line or /proc).
       *  This comes from android.os.Build.Hardware.  e.g., "mako".
       * 
*/ public Builder setHardware( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; hardware_ = value; onChanged(); return this; } /** * optional string hardware = 8; * *
       * The name of the hardware (from the kernel command line or /proc).
       *  This comes from android.os.Build.Hardware.  e.g., "mako".
       * 
*/ public Builder clearHardware() { bitField0_ = (bitField0_ & ~0x00000040); hardware_ = getDefaultInstance().getHardware(); onChanged(); return this; } /** * optional string hardware = 8; * *
       * The name of the hardware (from the kernel command line or /proc).
       *  This comes from android.os.Build.Hardware.  e.g., "mako".
       * 
*/ public Builder setHardwareBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; hardware_ = value; onChanged(); return this; } // optional string device = 9; private java.lang.Object device_ = ""; /** * optional string device = 9; * *
       * The name of the industrial design.  e.g., "mako".
       *  This comes from android.os.Build.Device.
       * 
*/ public boolean hasDevice() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional string device = 9; * *
       * The name of the industrial design.  e.g., "mako".
       *  This comes from android.os.Build.Device.
       * 
*/ public java.lang.String getDevice() { java.lang.Object ref = device_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); device_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string device = 9; * *
       * The name of the industrial design.  e.g., "mako".
       *  This comes from android.os.Build.Device.
       * 
*/ public com.google.protobuf.ByteString getDeviceBytes() { java.lang.Object ref = device_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); device_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string device = 9; * *
       * The name of the industrial design.  e.g., "mako".
       *  This comes from android.os.Build.Device.
       * 
*/ public Builder setDevice( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; device_ = value; onChanged(); return this; } /** * optional string device = 9; * *
       * The name of the industrial design.  e.g., "mako".
       *  This comes from android.os.Build.Device.
       * 
*/ public Builder clearDevice() { bitField0_ = (bitField0_ & ~0x00000080); device_ = getDefaultInstance().getDevice(); onChanged(); return this; } /** * optional string device = 9; * *
       * The name of the industrial design.  e.g., "mako".
       *  This comes from android.os.Build.Device.
       * 
*/ public Builder setDeviceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; device_ = value; onChanged(); return this; } // optional string os_build = 6; private java.lang.Object osBuild_ = ""; /** * optional string os_build = 6; * *
       * This comes from android.os.Build.ID.  e.g., something like "JRN54F".
       * 
*/ public boolean hasOsBuild() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional string os_build = 6; * *
       * This comes from android.os.Build.ID.  e.g., something like "JRN54F".
       * 
*/ public java.lang.String getOsBuild() { java.lang.Object ref = osBuild_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); osBuild_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string os_build = 6; * *
       * This comes from android.os.Build.ID.  e.g., something like "JRN54F".
       * 
*/ public com.google.protobuf.ByteString getOsBuildBytes() { java.lang.Object ref = osBuild_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); osBuild_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string os_build = 6; * *
       * This comes from android.os.Build.ID.  e.g., something like "JRN54F".
       * 
*/ public Builder setOsBuild( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; osBuild_ = value; onChanged(); return this; } /** * optional string os_build = 6; * *
       * This comes from android.os.Build.ID.  e.g., something like "JRN54F".
       * 
*/ public Builder clearOsBuild() { bitField0_ = (bitField0_ & ~0x00000100); osBuild_ = getDefaultInstance().getOsBuild(); onChanged(); return this; } /** * optional string os_build = 6; * *
       * This comes from android.os.Build.ID.  e.g., something like "JRN54F".
       * 
*/ public Builder setOsBuildBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; osBuild_ = value; onChanged(); return this; } // optional string application_build = 7; private java.lang.Object applicationBuild_ = ""; /** * optional string application_build = 7; * *
       * The client application version. The java int version in the android package
       *  converted to string.
       * 
*/ public boolean hasApplicationBuild() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * optional string application_build = 7; * *
       * The client application version. The java int version in the android package
       *  converted to string.
       * 
*/ public java.lang.String getApplicationBuild() { java.lang.Object ref = applicationBuild_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); applicationBuild_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string application_build = 7; * *
       * The client application version. The java int version in the android package
       *  converted to string.
       * 
*/ public com.google.protobuf.ByteString getApplicationBuildBytes() { java.lang.Object ref = applicationBuild_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); applicationBuild_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string application_build = 7; * *
       * The client application version. The java int version in the android package
       *  converted to string.
       * 
*/ public Builder setApplicationBuild( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000200; applicationBuild_ = value; onChanged(); return this; } /** * optional string application_build = 7; * *
       * The client application version. The java int version in the android package
       *  converted to string.
       * 
*/ public Builder clearApplicationBuild() { bitField0_ = (bitField0_ & ~0x00000200); applicationBuild_ = getDefaultInstance().getApplicationBuild(); onChanged(); return this; } /** * optional string application_build = 7; * *
       * The client application version. The java int version in the android package
       *  converted to string.
       * 
*/ public Builder setApplicationBuildBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000200; applicationBuild_ = value; onChanged(); return this; } // optional string mcc_mnc = 10; private java.lang.Object mccMnc_ = ""; /** * optional string mcc_mnc = 10; * *
       * The mobile country code / mobile network code (MCC/MNC).
       *  e.g., 310004 for Verizon USA.
       * 
*/ public boolean hasMccMnc() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * optional string mcc_mnc = 10; * *
       * The mobile country code / mobile network code (MCC/MNC).
       *  e.g., 310004 for Verizon USA.
       * 
*/ public java.lang.String getMccMnc() { java.lang.Object ref = mccMnc_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); mccMnc_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string mcc_mnc = 10; * *
       * The mobile country code / mobile network code (MCC/MNC).
       *  e.g., 310004 for Verizon USA.
       * 
*/ public com.google.protobuf.ByteString getMccMncBytes() { java.lang.Object ref = mccMnc_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); mccMnc_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string mcc_mnc = 10; * *
       * The mobile country code / mobile network code (MCC/MNC).
       *  e.g., 310004 for Verizon USA.
       * 
*/ public Builder setMccMnc( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000400; mccMnc_ = value; onChanged(); return this; } /** * optional string mcc_mnc = 10; * *
       * The mobile country code / mobile network code (MCC/MNC).
       *  e.g., 310004 for Verizon USA.
       * 
*/ public Builder clearMccMnc() { bitField0_ = (bitField0_ & ~0x00000400); mccMnc_ = getDefaultInstance().getMccMnc(); onChanged(); return this; } /** * optional string mcc_mnc = 10; * *
       * The mobile country code / mobile network code (MCC/MNC).
       *  e.g., 310004 for Verizon USA.
       * 
*/ public Builder setMccMncBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000400; mccMnc_ = value; onChanged(); return this; } // optional string locale = 11; private java.lang.Object locale_ = ""; /** * optional string locale = 11; * *
       * The chosen locale from the client. e.g., "en_US", "ko_KR", "en_GB".
       * 
*/ public boolean hasLocale() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** * optional string locale = 11; * *
       * The chosen locale from the client. e.g., "en_US", "ko_KR", "en_GB".
       * 
*/ public java.lang.String getLocale() { java.lang.Object ref = locale_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); locale_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string locale = 11; * *
       * The chosen locale from the client. e.g., "en_US", "ko_KR", "en_GB".
       * 
*/ public com.google.protobuf.ByteString getLocaleBytes() { java.lang.Object ref = locale_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); locale_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string locale = 11; * *
       * The chosen locale from the client. e.g., "en_US", "ko_KR", "en_GB".
       * 
*/ public Builder setLocale( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000800; locale_ = value; onChanged(); return this; } /** * optional string locale = 11; * *
       * The chosen locale from the client. e.g., "en_US", "ko_KR", "en_GB".
       * 
*/ public Builder clearLocale() { bitField0_ = (bitField0_ & ~0x00000800); locale_ = getDefaultInstance().getLocale(); onChanged(); return this; } /** * optional string locale = 11; * *
       * The chosen locale from the client. e.g., "en_US", "ko_KR", "en_GB".
       * 
*/ public Builder setLocaleBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000800; locale_ = value; onChanged(); return this; } // optional string country = 12; private java.lang.Object country_ = ""; /** * optional string country = 12; * *
       * The chosen country from the client. e.g., "US", "KR", "JP".
       * 
*/ public boolean hasCountry() { return ((bitField0_ & 0x00001000) == 0x00001000); } /** * optional string country = 12; * *
       * The chosen country from the client. e.g., "US", "KR", "JP".
       * 
*/ public java.lang.String getCountry() { java.lang.Object ref = country_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); country_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string country = 12; * *
       * The chosen country from the client. e.g., "US", "KR", "JP".
       * 
*/ public com.google.protobuf.ByteString getCountryBytes() { java.lang.Object ref = country_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); country_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string country = 12; * *
       * The chosen country from the client. e.g., "US", "KR", "JP".
       * 
*/ public Builder setCountry( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00001000; country_ = value; onChanged(); return this; } /** * optional string country = 12; * *
       * The chosen country from the client. e.g., "US", "KR", "JP".
       * 
*/ public Builder clearCountry() { bitField0_ = (bitField0_ & ~0x00001000); country_ = getDefaultInstance().getCountry(); onChanged(); return this; } /** * optional string country = 12; * *
       * The chosen country from the client. e.g., "US", "KR", "JP".
       * 
*/ public Builder setCountryBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00001000; country_ = value; onChanged(); return this; } // optional string manufacturer = 13; private java.lang.Object manufacturer_ = ""; /** * optional string manufacturer = 13; * *
       * The manufacturer of the hardware.
       *  This comes from android.os.Build.MANUFACTURER
       * 
*/ public boolean hasManufacturer() { return ((bitField0_ & 0x00002000) == 0x00002000); } /** * optional string manufacturer = 13; * *
       * The manufacturer of the hardware.
       *  This comes from android.os.Build.MANUFACTURER
       * 
*/ public java.lang.String getManufacturer() { java.lang.Object ref = manufacturer_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); manufacturer_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string manufacturer = 13; * *
       * The manufacturer of the hardware.
       *  This comes from android.os.Build.MANUFACTURER
       * 
*/ public com.google.protobuf.ByteString getManufacturerBytes() { java.lang.Object ref = manufacturer_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); manufacturer_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string manufacturer = 13; * *
       * The manufacturer of the hardware.
       *  This comes from android.os.Build.MANUFACTURER
       * 
*/ public Builder setManufacturer( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00002000; manufacturer_ = value; onChanged(); return this; } /** * optional string manufacturer = 13; * *
       * The manufacturer of the hardware.
       *  This comes from android.os.Build.MANUFACTURER
       * 
*/ public Builder clearManufacturer() { bitField0_ = (bitField0_ & ~0x00002000); manufacturer_ = getDefaultInstance().getManufacturer(); onChanged(); return this; } /** * optional string manufacturer = 13; * *
       * The manufacturer of the hardware.
       *  This comes from android.os.Build.MANUFACTURER
       * 
*/ public Builder setManufacturerBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00002000; manufacturer_ = value; onChanged(); return this; } // optional string brand = 14; private java.lang.Object brand_ = ""; /** * optional string brand = 14; * *
       * The brand the software is customized for, if any.  Often a carrier name.
       *  e.g. "google"
       *  from http://developer.android.com/reference/android/os/Build.html#BRAND
       * 
*/ public boolean hasBrand() { return ((bitField0_ & 0x00004000) == 0x00004000); } /** * optional string brand = 14; * *
       * The brand the software is customized for, if any.  Often a carrier name.
       *  e.g. "google"
       *  from http://developer.android.com/reference/android/os/Build.html#BRAND
       * 
*/ public java.lang.String getBrand() { java.lang.Object ref = brand_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); brand_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string brand = 14; * *
       * The brand the software is customized for, if any.  Often a carrier name.
       *  e.g. "google"
       *  from http://developer.android.com/reference/android/os/Build.html#BRAND
       * 
*/ public com.google.protobuf.ByteString getBrandBytes() { java.lang.Object ref = brand_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); brand_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string brand = 14; * *
       * The brand the software is customized for, if any.  Often a carrier name.
       *  e.g. "google"
       *  from http://developer.android.com/reference/android/os/Build.html#BRAND
       * 
*/ public Builder setBrand( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00004000; brand_ = value; onChanged(); return this; } /** * optional string brand = 14; * *
       * The brand the software is customized for, if any.  Often a carrier name.
       *  e.g. "google"
       *  from http://developer.android.com/reference/android/os/Build.html#BRAND
       * 
*/ public Builder clearBrand() { bitField0_ = (bitField0_ & ~0x00004000); brand_ = getDefaultInstance().getBrand(); onChanged(); return this; } /** * optional string brand = 14; * *
       * The brand the software is customized for, if any.  Often a carrier name.
       *  e.g. "google"
       *  from http://developer.android.com/reference/android/os/Build.html#BRAND
       * 
*/ public Builder setBrandBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00004000; brand_ = value; onChanged(); return this; } // optional string board = 15; private java.lang.Object board_ = ""; /** * optional string board = 15; * *
       * The name of the underlying board
       *  e.g. "tuna"
       *  from http://developer.android.com/reference/android/os/Build.html#BOARD
       * 
*/ public boolean hasBoard() { return ((bitField0_ & 0x00008000) == 0x00008000); } /** * optional string board = 15; * *
       * The name of the underlying board
       *  e.g. "tuna"
       *  from http://developer.android.com/reference/android/os/Build.html#BOARD
       * 
*/ public java.lang.String getBoard() { java.lang.Object ref = board_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); board_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string board = 15; * *
       * The name of the underlying board
       *  e.g. "tuna"
       *  from http://developer.android.com/reference/android/os/Build.html#BOARD
       * 
*/ public com.google.protobuf.ByteString getBoardBytes() { java.lang.Object ref = board_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); board_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string board = 15; * *
       * The name of the underlying board
       *  e.g. "tuna"
       *  from http://developer.android.com/reference/android/os/Build.html#BOARD
       * 
*/ public Builder setBoard( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00008000; board_ = value; onChanged(); return this; } /** * optional string board = 15; * *
       * The name of the underlying board
       *  e.g. "tuna"
       *  from http://developer.android.com/reference/android/os/Build.html#BOARD
       * 
*/ public Builder clearBoard() { bitField0_ = (bitField0_ & ~0x00008000); board_ = getDefaultInstance().getBoard(); onChanged(); return this; } /** * optional string board = 15; * *
       * The name of the underlying board
       *  e.g. "tuna"
       *  from http://developer.android.com/reference/android/os/Build.html#BOARD
       * 
*/ public Builder setBoardBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00008000; board_ = value; onChanged(); return this; } // optional string radio_version = 16; private java.lang.Object radioVersion_ = ""; /** * optional string radio_version = 16; * *
       * Radio version as reported by device, if available at reporting time
       *  e.g. "I9250XXLJ1"
       *  from http://developer.android.com/reference/android/os/Build.html#getRadioVersion()
       * 
*/ public boolean hasRadioVersion() { return ((bitField0_ & 0x00010000) == 0x00010000); } /** * optional string radio_version = 16; * *
       * Radio version as reported by device, if available at reporting time
       *  e.g. "I9250XXLJ1"
       *  from http://developer.android.com/reference/android/os/Build.html#getRadioVersion()
       * 
*/ public java.lang.String getRadioVersion() { java.lang.Object ref = radioVersion_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); radioVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string radio_version = 16; * *
       * Radio version as reported by device, if available at reporting time
       *  e.g. "I9250XXLJ1"
       *  from http://developer.android.com/reference/android/os/Build.html#getRadioVersion()
       * 
*/ public com.google.protobuf.ByteString getRadioVersionBytes() { java.lang.Object ref = radioVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); radioVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string radio_version = 16; * *
       * Radio version as reported by device, if available at reporting time
       *  e.g. "I9250XXLJ1"
       *  from http://developer.android.com/reference/android/os/Build.html#getRadioVersion()
       * 
*/ public Builder setRadioVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00010000; radioVersion_ = value; onChanged(); return this; } /** * optional string radio_version = 16; * *
       * Radio version as reported by device, if available at reporting time
       *  e.g. "I9250XXLJ1"
       *  from http://developer.android.com/reference/android/os/Build.html#getRadioVersion()
       * 
*/ public Builder clearRadioVersion() { bitField0_ = (bitField0_ & ~0x00010000); radioVersion_ = getDefaultInstance().getRadioVersion(); onChanged(); return this; } /** * optional string radio_version = 16; * *
       * Radio version as reported by device, if available at reporting time
       *  e.g. "I9250XXLJ1"
       *  from http://developer.android.com/reference/android/os/Build.html#getRadioVersion()
       * 
*/ public Builder setRadioVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00010000; radioVersion_ = value; onChanged(); return this; } // optional string fingerprint = 17; private java.lang.Object fingerprint_ = ""; /** * optional string fingerprint = 17; * *
       * Device model/build fingerprint.
       *  This comes from android.os.Build.FINGERPRINT.
       * 
*/ public boolean hasFingerprint() { return ((bitField0_ & 0x00020000) == 0x00020000); } /** * optional string fingerprint = 17; * *
       * Device model/build fingerprint.
       *  This comes from android.os.Build.FINGERPRINT.
       * 
*/ public java.lang.String getFingerprint() { java.lang.Object ref = fingerprint_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); fingerprint_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string fingerprint = 17; * *
       * Device model/build fingerprint.
       *  This comes from android.os.Build.FINGERPRINT.
       * 
*/ public com.google.protobuf.ByteString getFingerprintBytes() { java.lang.Object ref = fingerprint_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fingerprint_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string fingerprint = 17; * *
       * Device model/build fingerprint.
       *  This comes from android.os.Build.FINGERPRINT.
       * 
*/ public Builder setFingerprint( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00020000; fingerprint_ = value; onChanged(); return this; } /** * optional string fingerprint = 17; * *
       * Device model/build fingerprint.
       *  This comes from android.os.Build.FINGERPRINT.
       * 
*/ public Builder clearFingerprint() { bitField0_ = (bitField0_ & ~0x00020000); fingerprint_ = getDefaultInstance().getFingerprint(); onChanged(); return this; } /** * optional string fingerprint = 17; * *
       * Device model/build fingerprint.
       *  This comes from android.os.Build.FINGERPRINT.
       * 
*/ public Builder setFingerprintBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00020000; fingerprint_ = value; onChanged(); return this; } // optional int32 gms_core_version_code = 19; private int gmsCoreVersionCode_ ; /** * optional int32 gms_core_version_code = 19; * *
       * android.content.pm.PackageInfo.versionCode of com.google.android.gms.
       *  e.g., 6031030
       * 
*/ public boolean hasGmsCoreVersionCode() { return ((bitField0_ & 0x00040000) == 0x00040000); } /** * optional int32 gms_core_version_code = 19; * *
       * android.content.pm.PackageInfo.versionCode of com.google.android.gms.
       *  e.g., 6031030
       * 
*/ public int getGmsCoreVersionCode() { return gmsCoreVersionCode_; } /** * optional int32 gms_core_version_code = 19; * *
       * android.content.pm.PackageInfo.versionCode of com.google.android.gms.
       *  e.g., 6031030
       * 
*/ public Builder setGmsCoreVersionCode(int value) { bitField0_ |= 0x00040000; gmsCoreVersionCode_ = value; onChanged(); return this; } /** * optional int32 gms_core_version_code = 19; * *
       * android.content.pm.PackageInfo.versionCode of com.google.android.gms.
       *  e.g., 6031030
       * 
*/ public Builder clearGmsCoreVersionCode() { bitField0_ = (bitField0_ & ~0x00040000); gmsCoreVersionCode_ = 0; onChanged(); return this; } // optional bool is_sidewinder_device = 20; private boolean isSidewinderDevice_ ; /** * optional bool is_sidewinder_device = 20; * *
       * Whether the device is a Sidewinder device. See go/sidewinder-summary.
       * 
*/ public boolean hasIsSidewinderDevice() { return ((bitField0_ & 0x00080000) == 0x00080000); } /** * optional bool is_sidewinder_device = 20; * *
       * Whether the device is a Sidewinder device. See go/sidewinder-summary.
       * 
*/ public boolean getIsSidewinderDevice() { return isSidewinderDevice_; } /** * optional bool is_sidewinder_device = 20; * *
       * Whether the device is a Sidewinder device. See go/sidewinder-summary.
       * 
*/ public Builder setIsSidewinderDevice(boolean value) { bitField0_ |= 0x00080000; isSidewinderDevice_ = value; onChanged(); return this; } /** * optional bool is_sidewinder_device = 20; * *
       * Whether the device is a Sidewinder device. See go/sidewinder-summary.
       * 
*/ public Builder clearIsSidewinderDevice() { bitField0_ = (bitField0_ & ~0x00080000); isSidewinderDevice_ = false; onChanged(); return this; } // optional bytes chimera_config_info = 21; private com.google.protobuf.ByteString chimeraConfigInfo_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes chimera_config_info = 21; * *
       * The Chimera module config info describing the module sets on the device
       *  when the event is logged in the client.
       *  This is a proto of ChimeraConfigInfo residing in
       *  google3/logs/proto/wireless/android/play/playlog/chimera_modules.proto.
       * 
*/ public boolean hasChimeraConfigInfo() { return ((bitField0_ & 0x00100000) == 0x00100000); } /** * optional bytes chimera_config_info = 21; * *
       * The Chimera module config info describing the module sets on the device
       *  when the event is logged in the client.
       *  This is a proto of ChimeraConfigInfo residing in
       *  google3/logs/proto/wireless/android/play/playlog/chimera_modules.proto.
       * 
*/ public com.google.protobuf.ByteString getChimeraConfigInfo() { return chimeraConfigInfo_; } /** * optional bytes chimera_config_info = 21; * *
       * The Chimera module config info describing the module sets on the device
       *  when the event is logged in the client.
       *  This is a proto of ChimeraConfigInfo residing in
       *  google3/logs/proto/wireless/android/play/playlog/chimera_modules.proto.
       * 
*/ public Builder setChimeraConfigInfo(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00100000; chimeraConfigInfo_ = value; onChanged(); return this; } /** * optional bytes chimera_config_info = 21; * *
       * The Chimera module config info describing the module sets on the device
       *  when the event is logged in the client.
       *  This is a proto of ChimeraConfigInfo residing in
       *  google3/logs/proto/wireless/android/play/playlog/chimera_modules.proto.
       * 
*/ public Builder clearChimeraConfigInfo() { bitField0_ = (bitField0_ & ~0x00100000); chimeraConfigInfo_ = getDefaultInstance().getChimeraConfigInfo(); onChanged(); return this; } // optional bool using_log_source_int = 22; private boolean usingLogSourceInt_ ; /** * optional bool using_log_source_int = 22; * *
       * Indicates if the device is passing in the LogRequest.LogSource integer
       *  value instead of passing in a string for log_source_name.
       *  This field is not set by the client, but by the server after parsing the
       *  request.
       * 
*/ public boolean hasUsingLogSourceInt() { return ((bitField0_ & 0x00200000) == 0x00200000); } /** * optional bool using_log_source_int = 22; * *
       * Indicates if the device is passing in the LogRequest.LogSource integer
       *  value instead of passing in a string for log_source_name.
       *  This field is not set by the client, but by the server after parsing the
       *  request.
       * 
*/ public boolean getUsingLogSourceInt() { return usingLogSourceInt_; } /** * optional bool using_log_source_int = 22; * *
       * Indicates if the device is passing in the LogRequest.LogSource integer
       *  value instead of passing in a string for log_source_name.
       *  This field is not set by the client, but by the server after parsing the
       *  request.
       * 
*/ public Builder setUsingLogSourceInt(boolean value) { bitField0_ |= 0x00200000; usingLogSourceInt_ = value; onChanged(); return this; } /** * optional bool using_log_source_int = 22; * *
       * Indicates if the device is passing in the LogRequest.LogSource integer
       *  value instead of passing in a string for log_source_name.
       *  This field is not set by the client, but by the server after parsing the
       *  request.
       * 
*/ public Builder clearUsingLogSourceInt() { bitField0_ = (bitField0_ & ~0x00200000); usingLogSourceInt_ = false; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:wireless_android_play_playlog.AndroidClientInfo) } static { defaultInstance = new AndroidClientInfo(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:wireless_android_play_playlog.AndroidClientInfo) } public interface BrowserInfoOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional string locale = 1; /** * optional string locale = 1; * *
     * Locale of the browser. Usually the same as the Accept-Language header but
     *  can be overridden by the hl query-string parameter.
     * 
*/ boolean hasLocale(); /** * optional string locale = 1; * *
     * Locale of the browser. Usually the same as the Accept-Language header but
     *  can be overridden by the hl query-string parameter.
     * 
*/ java.lang.String getLocale(); /** * optional string locale = 1; * *
     * Locale of the browser. Usually the same as the Accept-Language header but
     *  can be overridden by the hl query-string parameter.
     * 
*/ com.google.protobuf.ByteString getLocaleBytes(); // optional string browser = 2; /** * optional string browser = 2; * *
     * Name of the browser. This comes from analytics.browserInfo.NAME.
     * 
*/ boolean hasBrowser(); /** * optional string browser = 2; * *
     * Name of the browser. This comes from analytics.browserInfo.NAME.
     * 
*/ java.lang.String getBrowser(); /** * optional string browser = 2; * *
     * Name of the browser. This comes from analytics.browserInfo.NAME.
     * 
*/ com.google.protobuf.ByteString getBrowserBytes(); // optional string browser_version = 3; /** * optional string browser_version = 3; * *
     * Version of the browser. This comes from goog.userAgent.product.VERSION.
     * 
*/ boolean hasBrowserVersion(); /** * optional string browser_version = 3; * *
     * Version of the browser. This comes from goog.userAgent.product.VERSION.
     * 
*/ java.lang.String getBrowserVersion(); /** * optional string browser_version = 3; * *
     * Version of the browser. This comes from goog.userAgent.product.VERSION.
     * 
*/ com.google.protobuf.ByteString getBrowserVersionBytes(); // optional string flash_version = 4; /** * optional string flash_version = 4; * *
     * Version of flash the browser is using.
     *  This comes from goog.userAgent.flash.VERSION. Should not be included if
     *  goog.userAgent.flash.HAS_FLASH is false.
     * 
*/ boolean hasFlashVersion(); /** * optional string flash_version = 4; * *
     * Version of flash the browser is using.
     *  This comes from goog.userAgent.flash.VERSION. Should not be included if
     *  goog.userAgent.flash.HAS_FLASH is false.
     * 
*/ java.lang.String getFlashVersion(); /** * optional string flash_version = 4; * *
     * Version of flash the browser is using.
     *  This comes from goog.userAgent.flash.VERSION. Should not be included if
     *  goog.userAgent.flash.HAS_FLASH is false.
     * 
*/ com.google.protobuf.ByteString getFlashVersionBytes(); } /** * Protobuf type {@code wireless_android_play_playlog.BrowserInfo} * *
   * Attributes specific to web/mobile browsers.
   *
   *  Next tag: 5
   * 
*/ public static final class BrowserInfo extends com.google.protobuf.GeneratedMessage implements BrowserInfoOrBuilder { // Use BrowserInfo.newBuilder() to construct. private BrowserInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private BrowserInfo(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final BrowserInfo defaultInstance; public static BrowserInfo getDefaultInstance() { return defaultInstance; } public BrowserInfo getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BrowserInfo( 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; locale_ = input.readBytes(); break; } case 18: { bitField0_ |= 0x00000002; browser_ = input.readBytes(); break; } case 26: { bitField0_ |= 0x00000004; browserVersion_ = input.readBytes(); break; } case 34: { bitField0_ |= 0x00000008; flashVersion_ = 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.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_BrowserInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_BrowserInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public BrowserInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BrowserInfo(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional string locale = 1; public static final int LOCALE_FIELD_NUMBER = 1; private java.lang.Object locale_; /** * optional string locale = 1; * *
     * Locale of the browser. Usually the same as the Accept-Language header but
     *  can be overridden by the hl query-string parameter.
     * 
*/ public boolean hasLocale() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string locale = 1; * *
     * Locale of the browser. Usually the same as the Accept-Language header but
     *  can be overridden by the hl query-string parameter.
     * 
*/ public java.lang.String getLocale() { java.lang.Object ref = locale_; 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()) { locale_ = s; } return s; } } /** * optional string locale = 1; * *
     * Locale of the browser. Usually the same as the Accept-Language header but
     *  can be overridden by the hl query-string parameter.
     * 
*/ public com.google.protobuf.ByteString getLocaleBytes() { java.lang.Object ref = locale_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); locale_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string browser = 2; public static final int BROWSER_FIELD_NUMBER = 2; private java.lang.Object browser_; /** * optional string browser = 2; * *
     * Name of the browser. This comes from analytics.browserInfo.NAME.
     * 
*/ public boolean hasBrowser() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string browser = 2; * *
     * Name of the browser. This comes from analytics.browserInfo.NAME.
     * 
*/ public java.lang.String getBrowser() { java.lang.Object ref = browser_; 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()) { browser_ = s; } return s; } } /** * optional string browser = 2; * *
     * Name of the browser. This comes from analytics.browserInfo.NAME.
     * 
*/ public com.google.protobuf.ByteString getBrowserBytes() { java.lang.Object ref = browser_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); browser_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string browser_version = 3; public static final int BROWSER_VERSION_FIELD_NUMBER = 3; private java.lang.Object browserVersion_; /** * optional string browser_version = 3; * *
     * Version of the browser. This comes from goog.userAgent.product.VERSION.
     * 
*/ public boolean hasBrowserVersion() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string browser_version = 3; * *
     * Version of the browser. This comes from goog.userAgent.product.VERSION.
     * 
*/ public java.lang.String getBrowserVersion() { java.lang.Object ref = browserVersion_; 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()) { browserVersion_ = s; } return s; } } /** * optional string browser_version = 3; * *
     * Version of the browser. This comes from goog.userAgent.product.VERSION.
     * 
*/ public com.google.protobuf.ByteString getBrowserVersionBytes() { java.lang.Object ref = browserVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); browserVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string flash_version = 4; public static final int FLASH_VERSION_FIELD_NUMBER = 4; private java.lang.Object flashVersion_; /** * optional string flash_version = 4; * *
     * Version of flash the browser is using.
     *  This comes from goog.userAgent.flash.VERSION. Should not be included if
     *  goog.userAgent.flash.HAS_FLASH is false.
     * 
*/ public boolean hasFlashVersion() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string flash_version = 4; * *
     * Version of flash the browser is using.
     *  This comes from goog.userAgent.flash.VERSION. Should not be included if
     *  goog.userAgent.flash.HAS_FLASH is false.
     * 
*/ public java.lang.String getFlashVersion() { java.lang.Object ref = flashVersion_; 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()) { flashVersion_ = s; } return s; } } /** * optional string flash_version = 4; * *
     * Version of flash the browser is using.
     *  This comes from goog.userAgent.flash.VERSION. Should not be included if
     *  goog.userAgent.flash.HAS_FLASH is false.
     * 
*/ public com.google.protobuf.ByteString getFlashVersionBytes() { java.lang.Object ref = flashVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); flashVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { locale_ = ""; browser_ = ""; browserVersion_ = ""; flashVersion_ = ""; } 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, getLocaleBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getBrowserBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getBrowserVersionBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, getFlashVersionBytes()); } 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, getLocaleBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getBrowserBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getBrowserVersionBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, getFlashVersionBytes()); } 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.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo 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.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo 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 wireless_android_play_playlog.BrowserInfo} * *
     * Attributes specific to web/mobile browsers.
     *
     *  Next tag: 5
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_BrowserInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_BrowserInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo.Builder.class); } // Construct using com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo.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(); locale_ = ""; bitField0_ = (bitField0_ & ~0x00000001); browser_ = ""; bitField0_ = (bitField0_ & ~0x00000002); browserVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000004); flashVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000008); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_BrowserInfo_descriptor; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo getDefaultInstanceForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo.getDefaultInstance(); } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo build() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo buildPartial() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo result = new com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.locale_ = locale_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.browser_ = browser_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.browserVersion_ = browserVersion_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.flashVersion_ = flashVersion_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo) { return mergeFrom((com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo other) { if (other == com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo.getDefaultInstance()) return this; if (other.hasLocale()) { bitField0_ |= 0x00000001; locale_ = other.locale_; onChanged(); } if (other.hasBrowser()) { bitField0_ |= 0x00000002; browser_ = other.browser_; onChanged(); } if (other.hasBrowserVersion()) { bitField0_ |= 0x00000004; browserVersion_ = other.browserVersion_; onChanged(); } if (other.hasFlashVersion()) { bitField0_ |= 0x00000008; flashVersion_ = other.flashVersion_; 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.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional string locale = 1; private java.lang.Object locale_ = ""; /** * optional string locale = 1; * *
       * Locale of the browser. Usually the same as the Accept-Language header but
       *  can be overridden by the hl query-string parameter.
       * 
*/ public boolean hasLocale() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string locale = 1; * *
       * Locale of the browser. Usually the same as the Accept-Language header but
       *  can be overridden by the hl query-string parameter.
       * 
*/ public java.lang.String getLocale() { java.lang.Object ref = locale_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); locale_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string locale = 1; * *
       * Locale of the browser. Usually the same as the Accept-Language header but
       *  can be overridden by the hl query-string parameter.
       * 
*/ public com.google.protobuf.ByteString getLocaleBytes() { java.lang.Object ref = locale_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); locale_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string locale = 1; * *
       * Locale of the browser. Usually the same as the Accept-Language header but
       *  can be overridden by the hl query-string parameter.
       * 
*/ public Builder setLocale( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; locale_ = value; onChanged(); return this; } /** * optional string locale = 1; * *
       * Locale of the browser. Usually the same as the Accept-Language header but
       *  can be overridden by the hl query-string parameter.
       * 
*/ public Builder clearLocale() { bitField0_ = (bitField0_ & ~0x00000001); locale_ = getDefaultInstance().getLocale(); onChanged(); return this; } /** * optional string locale = 1; * *
       * Locale of the browser. Usually the same as the Accept-Language header but
       *  can be overridden by the hl query-string parameter.
       * 
*/ public Builder setLocaleBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; locale_ = value; onChanged(); return this; } // optional string browser = 2; private java.lang.Object browser_ = ""; /** * optional string browser = 2; * *
       * Name of the browser. This comes from analytics.browserInfo.NAME.
       * 
*/ public boolean hasBrowser() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string browser = 2; * *
       * Name of the browser. This comes from analytics.browserInfo.NAME.
       * 
*/ public java.lang.String getBrowser() { java.lang.Object ref = browser_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); browser_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string browser = 2; * *
       * Name of the browser. This comes from analytics.browserInfo.NAME.
       * 
*/ public com.google.protobuf.ByteString getBrowserBytes() { java.lang.Object ref = browser_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); browser_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string browser = 2; * *
       * Name of the browser. This comes from analytics.browserInfo.NAME.
       * 
*/ public Builder setBrowser( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; browser_ = value; onChanged(); return this; } /** * optional string browser = 2; * *
       * Name of the browser. This comes from analytics.browserInfo.NAME.
       * 
*/ public Builder clearBrowser() { bitField0_ = (bitField0_ & ~0x00000002); browser_ = getDefaultInstance().getBrowser(); onChanged(); return this; } /** * optional string browser = 2; * *
       * Name of the browser. This comes from analytics.browserInfo.NAME.
       * 
*/ public Builder setBrowserBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; browser_ = value; onChanged(); return this; } // optional string browser_version = 3; private java.lang.Object browserVersion_ = ""; /** * optional string browser_version = 3; * *
       * Version of the browser. This comes from goog.userAgent.product.VERSION.
       * 
*/ public boolean hasBrowserVersion() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string browser_version = 3; * *
       * Version of the browser. This comes from goog.userAgent.product.VERSION.
       * 
*/ public java.lang.String getBrowserVersion() { java.lang.Object ref = browserVersion_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); browserVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string browser_version = 3; * *
       * Version of the browser. This comes from goog.userAgent.product.VERSION.
       * 
*/ public com.google.protobuf.ByteString getBrowserVersionBytes() { java.lang.Object ref = browserVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); browserVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string browser_version = 3; * *
       * Version of the browser. This comes from goog.userAgent.product.VERSION.
       * 
*/ public Builder setBrowserVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; browserVersion_ = value; onChanged(); return this; } /** * optional string browser_version = 3; * *
       * Version of the browser. This comes from goog.userAgent.product.VERSION.
       * 
*/ public Builder clearBrowserVersion() { bitField0_ = (bitField0_ & ~0x00000004); browserVersion_ = getDefaultInstance().getBrowserVersion(); onChanged(); return this; } /** * optional string browser_version = 3; * *
       * Version of the browser. This comes from goog.userAgent.product.VERSION.
       * 
*/ public Builder setBrowserVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; browserVersion_ = value; onChanged(); return this; } // optional string flash_version = 4; private java.lang.Object flashVersion_ = ""; /** * optional string flash_version = 4; * *
       * Version of flash the browser is using.
       *  This comes from goog.userAgent.flash.VERSION. Should not be included if
       *  goog.userAgent.flash.HAS_FLASH is false.
       * 
*/ public boolean hasFlashVersion() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string flash_version = 4; * *
       * Version of flash the browser is using.
       *  This comes from goog.userAgent.flash.VERSION. Should not be included if
       *  goog.userAgent.flash.HAS_FLASH is false.
       * 
*/ public java.lang.String getFlashVersion() { java.lang.Object ref = flashVersion_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); flashVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string flash_version = 4; * *
       * Version of flash the browser is using.
       *  This comes from goog.userAgent.flash.VERSION. Should not be included if
       *  goog.userAgent.flash.HAS_FLASH is false.
       * 
*/ public com.google.protobuf.ByteString getFlashVersionBytes() { java.lang.Object ref = flashVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); flashVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string flash_version = 4; * *
       * Version of flash the browser is using.
       *  This comes from goog.userAgent.flash.VERSION. Should not be included if
       *  goog.userAgent.flash.HAS_FLASH is false.
       * 
*/ public Builder setFlashVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; flashVersion_ = value; onChanged(); return this; } /** * optional string flash_version = 4; * *
       * Version of flash the browser is using.
       *  This comes from goog.userAgent.flash.VERSION. Should not be included if
       *  goog.userAgent.flash.HAS_FLASH is false.
       * 
*/ public Builder clearFlashVersion() { bitField0_ = (bitField0_ & ~0x00000008); flashVersion_ = getDefaultInstance().getFlashVersion(); onChanged(); return this; } /** * optional string flash_version = 4; * *
       * Version of flash the browser is using.
       *  This comes from goog.userAgent.flash.VERSION. Should not be included if
       *  goog.userAgent.flash.HAS_FLASH is false.
       * 
*/ public Builder setFlashVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; flashVersion_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:wireless_android_play_playlog.BrowserInfo) } static { defaultInstance = new BrowserInfo(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:wireless_android_play_playlog.BrowserInfo) } public interface DesktopClientInfoOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional string client_id = 1; /** * optional string client_id = 1; * *
     * Sticky ID that should be considered PII.
     * 
*/ boolean hasClientId(); /** * optional string client_id = 1; * *
     * Sticky ID that should be considered PII.
     * 
*/ java.lang.String getClientId(); /** * optional string client_id = 1; * *
     * Sticky ID that should be considered PII.
     * 
*/ com.google.protobuf.ByteString getClientIdBytes(); // optional string logging_id = 2; /** * optional string logging_id = 2; * *
     * Pseudonymous, random id (sticky) per device.  May only be logged in temp
     *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
     * 
*/ boolean hasLoggingId(); /** * optional string logging_id = 2; * *
     * Pseudonymous, random id (sticky) per device.  May only be logged in temp
     *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
     * 
*/ java.lang.String getLoggingId(); /** * optional string logging_id = 2; * *
     * Pseudonymous, random id (sticky) per device.  May only be logged in temp
     *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
     * 
*/ com.google.protobuf.ByteString getLoggingIdBytes(); // optional string os = 3; /** * optional string os = 3; * *
     * e.g., "mac", "windows", "linux"
     * 
*/ boolean hasOs(); /** * optional string os = 3; * *
     * e.g., "mac", "windows", "linux"
     * 
*/ java.lang.String getOs(); /** * optional string os = 3; * *
     * e.g., "mac", "windows", "linux"
     * 
*/ com.google.protobuf.ByteString getOsBytes(); // optional string os_major_version = 4; /** * optional string os_major_version = 4; * *
     * e.g., "10.7", "Vista", "Win7"
     * 
*/ boolean hasOsMajorVersion(); /** * optional string os_major_version = 4; * *
     * e.g., "10.7", "Vista", "Win7"
     * 
*/ java.lang.String getOsMajorVersion(); /** * optional string os_major_version = 4; * *
     * e.g., "10.7", "Vista", "Win7"
     * 
*/ com.google.protobuf.ByteString getOsMajorVersionBytes(); // optional string os_full_version = 5; /** * optional string os_full_version = 5; * *
     * e.g., "10.7.3", "Win7 SP1"
     * 
*/ boolean hasOsFullVersion(); /** * optional string os_full_version = 5; * *
     * e.g., "10.7.3", "Win7 SP1"
     * 
*/ java.lang.String getOsFullVersion(); /** * optional string os_full_version = 5; * *
     * e.g., "10.7.3", "Win7 SP1"
     * 
*/ com.google.protobuf.ByteString getOsFullVersionBytes(); // optional string application_build = 6; /** * optional string application_build = 6; * *
     * The client application version.
     * 
*/ boolean hasApplicationBuild(); /** * optional string application_build = 6; * *
     * The client application version.
     * 
*/ java.lang.String getApplicationBuild(); /** * optional string application_build = 6; * *
     * The client application version.
     * 
*/ com.google.protobuf.ByteString getApplicationBuildBytes(); // optional string country = 7; /** * optional string country = 7; * *
     * The chosen country from the client. e.g., "US", "KR", "JP".
     *  Where this comes from is currently app-specific
     * 
*/ boolean hasCountry(); /** * optional string country = 7; * *
     * The chosen country from the client. e.g., "US", "KR", "JP".
     *  Where this comes from is currently app-specific
     * 
*/ java.lang.String getCountry(); /** * optional string country = 7; * *
     * The chosen country from the client. e.g., "US", "KR", "JP".
     *  Where this comes from is currently app-specific
     * 
*/ com.google.protobuf.ByteString getCountryBytes(); } /** * Protobuf type {@code wireless_android_play_playlog.DesktopClientInfo} * *
   * Attributes specific to desktop clients.
   *
   *  Next tag: 8
   * 
*/ public static final class DesktopClientInfo extends com.google.protobuf.GeneratedMessage implements DesktopClientInfoOrBuilder { // Use DesktopClientInfo.newBuilder() to construct. private DesktopClientInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private DesktopClientInfo(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final DesktopClientInfo defaultInstance; public static DesktopClientInfo getDefaultInstance() { return defaultInstance; } public DesktopClientInfo getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DesktopClientInfo( 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; clientId_ = input.readBytes(); break; } case 18: { bitField0_ |= 0x00000002; loggingId_ = input.readBytes(); break; } case 26: { bitField0_ |= 0x00000004; os_ = input.readBytes(); break; } case 34: { bitField0_ |= 0x00000008; osMajorVersion_ = input.readBytes(); break; } case 42: { bitField0_ |= 0x00000010; osFullVersion_ = input.readBytes(); break; } case 50: { bitField0_ |= 0x00000020; applicationBuild_ = input.readBytes(); break; } case 58: { bitField0_ |= 0x00000040; country_ = 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.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_DesktopClientInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_DesktopClientInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public DesktopClientInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DesktopClientInfo(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional string client_id = 1; public static final int CLIENT_ID_FIELD_NUMBER = 1; private java.lang.Object clientId_; /** * optional string client_id = 1; * *
     * Sticky ID that should be considered PII.
     * 
*/ public boolean hasClientId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string client_id = 1; * *
     * Sticky ID that should be considered PII.
     * 
*/ public java.lang.String getClientId() { java.lang.Object ref = clientId_; 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()) { clientId_ = s; } return s; } } /** * optional string client_id = 1; * *
     * Sticky ID that should be considered PII.
     * 
*/ public com.google.protobuf.ByteString getClientIdBytes() { java.lang.Object ref = clientId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string logging_id = 2; public static final int LOGGING_ID_FIELD_NUMBER = 2; private java.lang.Object loggingId_; /** * optional string logging_id = 2; * *
     * Pseudonymous, random id (sticky) per device.  May only be logged in temp
     *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
     * 
*/ public boolean hasLoggingId() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string logging_id = 2; * *
     * Pseudonymous, random id (sticky) per device.  May only be logged in temp
     *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
     * 
*/ public java.lang.String getLoggingId() { java.lang.Object ref = loggingId_; 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()) { loggingId_ = s; } return s; } } /** * optional string logging_id = 2; * *
     * Pseudonymous, random id (sticky) per device.  May only be logged in temp
     *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
     * 
*/ public com.google.protobuf.ByteString getLoggingIdBytes() { java.lang.Object ref = loggingId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); loggingId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string os = 3; public static final int OS_FIELD_NUMBER = 3; private java.lang.Object os_; /** * optional string os = 3; * *
     * e.g., "mac", "windows", "linux"
     * 
*/ public boolean hasOs() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string os = 3; * *
     * e.g., "mac", "windows", "linux"
     * 
*/ public java.lang.String getOs() { java.lang.Object ref = os_; 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()) { os_ = s; } return s; } } /** * optional string os = 3; * *
     * e.g., "mac", "windows", "linux"
     * 
*/ public com.google.protobuf.ByteString getOsBytes() { java.lang.Object ref = os_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); os_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string os_major_version = 4; public static final int OS_MAJOR_VERSION_FIELD_NUMBER = 4; private java.lang.Object osMajorVersion_; /** * optional string os_major_version = 4; * *
     * e.g., "10.7", "Vista", "Win7"
     * 
*/ public boolean hasOsMajorVersion() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string os_major_version = 4; * *
     * e.g., "10.7", "Vista", "Win7"
     * 
*/ public java.lang.String getOsMajorVersion() { java.lang.Object ref = osMajorVersion_; 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()) { osMajorVersion_ = s; } return s; } } /** * optional string os_major_version = 4; * *
     * e.g., "10.7", "Vista", "Win7"
     * 
*/ public com.google.protobuf.ByteString getOsMajorVersionBytes() { java.lang.Object ref = osMajorVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); osMajorVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string os_full_version = 5; public static final int OS_FULL_VERSION_FIELD_NUMBER = 5; private java.lang.Object osFullVersion_; /** * optional string os_full_version = 5; * *
     * e.g., "10.7.3", "Win7 SP1"
     * 
*/ public boolean hasOsFullVersion() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string os_full_version = 5; * *
     * e.g., "10.7.3", "Win7 SP1"
     * 
*/ public java.lang.String getOsFullVersion() { java.lang.Object ref = osFullVersion_; 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()) { osFullVersion_ = s; } return s; } } /** * optional string os_full_version = 5; * *
     * e.g., "10.7.3", "Win7 SP1"
     * 
*/ public com.google.protobuf.ByteString getOsFullVersionBytes() { java.lang.Object ref = osFullVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); osFullVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string application_build = 6; public static final int APPLICATION_BUILD_FIELD_NUMBER = 6; private java.lang.Object applicationBuild_; /** * optional string application_build = 6; * *
     * The client application version.
     * 
*/ public boolean hasApplicationBuild() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional string application_build = 6; * *
     * The client application version.
     * 
*/ public java.lang.String getApplicationBuild() { java.lang.Object ref = applicationBuild_; 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()) { applicationBuild_ = s; } return s; } } /** * optional string application_build = 6; * *
     * The client application version.
     * 
*/ public com.google.protobuf.ByteString getApplicationBuildBytes() { java.lang.Object ref = applicationBuild_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); applicationBuild_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string country = 7; public static final int COUNTRY_FIELD_NUMBER = 7; private java.lang.Object country_; /** * optional string country = 7; * *
     * The chosen country from the client. e.g., "US", "KR", "JP".
     *  Where this comes from is currently app-specific
     * 
*/ public boolean hasCountry() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional string country = 7; * *
     * The chosen country from the client. e.g., "US", "KR", "JP".
     *  Where this comes from is currently app-specific
     * 
*/ public java.lang.String getCountry() { java.lang.Object ref = country_; 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()) { country_ = s; } return s; } } /** * optional string country = 7; * *
     * The chosen country from the client. e.g., "US", "KR", "JP".
     *  Where this comes from is currently app-specific
     * 
*/ public com.google.protobuf.ByteString getCountryBytes() { java.lang.Object ref = country_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); country_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { clientId_ = ""; loggingId_ = ""; os_ = ""; osMajorVersion_ = ""; osFullVersion_ = ""; applicationBuild_ = ""; country_ = ""; } 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, getClientIdBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getLoggingIdBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getOsBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, getOsMajorVersionBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBytes(5, getOsFullVersionBytes()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeBytes(6, getApplicationBuildBytes()); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeBytes(7, getCountryBytes()); } 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, getClientIdBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getLoggingIdBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getOsBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, getOsMajorVersionBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, getOsFullVersionBytes()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(6, getApplicationBuildBytes()); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(7, getCountryBytes()); } 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.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo 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.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo 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 wireless_android_play_playlog.DesktopClientInfo} * *
     * Attributes specific to desktop clients.
     *
     *  Next tag: 8
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_DesktopClientInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_DesktopClientInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo.Builder.class); } // Construct using com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo.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(); clientId_ = ""; bitField0_ = (bitField0_ & ~0x00000001); loggingId_ = ""; bitField0_ = (bitField0_ & ~0x00000002); os_ = ""; bitField0_ = (bitField0_ & ~0x00000004); osMajorVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000008); osFullVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000010); applicationBuild_ = ""; bitField0_ = (bitField0_ & ~0x00000020); country_ = ""; bitField0_ = (bitField0_ & ~0x00000040); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_DesktopClientInfo_descriptor; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo getDefaultInstanceForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo.getDefaultInstance(); } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo build() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo buildPartial() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo result = new com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.clientId_ = clientId_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.loggingId_ = loggingId_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.os_ = os_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.osMajorVersion_ = osMajorVersion_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.osFullVersion_ = osFullVersion_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.applicationBuild_ = applicationBuild_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.country_ = country_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo) { return mergeFrom((com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo other) { if (other == com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo.getDefaultInstance()) return this; if (other.hasClientId()) { bitField0_ |= 0x00000001; clientId_ = other.clientId_; onChanged(); } if (other.hasLoggingId()) { bitField0_ |= 0x00000002; loggingId_ = other.loggingId_; onChanged(); } if (other.hasOs()) { bitField0_ |= 0x00000004; os_ = other.os_; onChanged(); } if (other.hasOsMajorVersion()) { bitField0_ |= 0x00000008; osMajorVersion_ = other.osMajorVersion_; onChanged(); } if (other.hasOsFullVersion()) { bitField0_ |= 0x00000010; osFullVersion_ = other.osFullVersion_; onChanged(); } if (other.hasApplicationBuild()) { bitField0_ |= 0x00000020; applicationBuild_ = other.applicationBuild_; onChanged(); } if (other.hasCountry()) { bitField0_ |= 0x00000040; country_ = other.country_; 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.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional string client_id = 1; private java.lang.Object clientId_ = ""; /** * optional string client_id = 1; * *
       * Sticky ID that should be considered PII.
       * 
*/ public boolean hasClientId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string client_id = 1; * *
       * Sticky ID that should be considered PII.
       * 
*/ public java.lang.String getClientId() { java.lang.Object ref = clientId_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); clientId_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string client_id = 1; * *
       * Sticky ID that should be considered PII.
       * 
*/ public com.google.protobuf.ByteString getClientIdBytes() { java.lang.Object ref = clientId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string client_id = 1; * *
       * Sticky ID that should be considered PII.
       * 
*/ public Builder setClientId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; clientId_ = value; onChanged(); return this; } /** * optional string client_id = 1; * *
       * Sticky ID that should be considered PII.
       * 
*/ public Builder clearClientId() { bitField0_ = (bitField0_ & ~0x00000001); clientId_ = getDefaultInstance().getClientId(); onChanged(); return this; } /** * optional string client_id = 1; * *
       * Sticky ID that should be considered PII.
       * 
*/ public Builder setClientIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; clientId_ = value; onChanged(); return this; } // optional string logging_id = 2; private java.lang.Object loggingId_ = ""; /** * optional string logging_id = 2; * *
       * Pseudonymous, random id (sticky) per device.  May only be logged in temp
       *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
       * 
*/ public boolean hasLoggingId() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string logging_id = 2; * *
       * Pseudonymous, random id (sticky) per device.  May only be logged in temp
       *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
       * 
*/ public java.lang.String getLoggingId() { java.lang.Object ref = loggingId_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); loggingId_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string logging_id = 2; * *
       * Pseudonymous, random id (sticky) per device.  May only be logged in temp
       *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
       * 
*/ public com.google.protobuf.ByteString getLoggingIdBytes() { java.lang.Object ref = loggingId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); loggingId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string logging_id = 2; * *
       * Pseudonymous, random id (sticky) per device.  May only be logged in temp
       *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
       * 
*/ public Builder setLoggingId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; loggingId_ = value; onChanged(); return this; } /** * optional string logging_id = 2; * *
       * Pseudonymous, random id (sticky) per device.  May only be logged in temp
       *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
       * 
*/ public Builder clearLoggingId() { bitField0_ = (bitField0_ & ~0x00000002); loggingId_ = getDefaultInstance().getLoggingId(); onChanged(); return this; } /** * optional string logging_id = 2; * *
       * Pseudonymous, random id (sticky) per device.  May only be logged in temp
       *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
       * 
*/ public Builder setLoggingIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; loggingId_ = value; onChanged(); return this; } // optional string os = 3; private java.lang.Object os_ = ""; /** * optional string os = 3; * *
       * e.g., "mac", "windows", "linux"
       * 
*/ public boolean hasOs() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string os = 3; * *
       * e.g., "mac", "windows", "linux"
       * 
*/ public java.lang.String getOs() { java.lang.Object ref = os_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); os_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string os = 3; * *
       * e.g., "mac", "windows", "linux"
       * 
*/ public com.google.protobuf.ByteString getOsBytes() { java.lang.Object ref = os_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); os_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string os = 3; * *
       * e.g., "mac", "windows", "linux"
       * 
*/ public Builder setOs( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; os_ = value; onChanged(); return this; } /** * optional string os = 3; * *
       * e.g., "mac", "windows", "linux"
       * 
*/ public Builder clearOs() { bitField0_ = (bitField0_ & ~0x00000004); os_ = getDefaultInstance().getOs(); onChanged(); return this; } /** * optional string os = 3; * *
       * e.g., "mac", "windows", "linux"
       * 
*/ public Builder setOsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; os_ = value; onChanged(); return this; } // optional string os_major_version = 4; private java.lang.Object osMajorVersion_ = ""; /** * optional string os_major_version = 4; * *
       * e.g., "10.7", "Vista", "Win7"
       * 
*/ public boolean hasOsMajorVersion() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string os_major_version = 4; * *
       * e.g., "10.7", "Vista", "Win7"
       * 
*/ public java.lang.String getOsMajorVersion() { java.lang.Object ref = osMajorVersion_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); osMajorVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string os_major_version = 4; * *
       * e.g., "10.7", "Vista", "Win7"
       * 
*/ public com.google.protobuf.ByteString getOsMajorVersionBytes() { java.lang.Object ref = osMajorVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); osMajorVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string os_major_version = 4; * *
       * e.g., "10.7", "Vista", "Win7"
       * 
*/ public Builder setOsMajorVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; osMajorVersion_ = value; onChanged(); return this; } /** * optional string os_major_version = 4; * *
       * e.g., "10.7", "Vista", "Win7"
       * 
*/ public Builder clearOsMajorVersion() { bitField0_ = (bitField0_ & ~0x00000008); osMajorVersion_ = getDefaultInstance().getOsMajorVersion(); onChanged(); return this; } /** * optional string os_major_version = 4; * *
       * e.g., "10.7", "Vista", "Win7"
       * 
*/ public Builder setOsMajorVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; osMajorVersion_ = value; onChanged(); return this; } // optional string os_full_version = 5; private java.lang.Object osFullVersion_ = ""; /** * optional string os_full_version = 5; * *
       * e.g., "10.7.3", "Win7 SP1"
       * 
*/ public boolean hasOsFullVersion() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string os_full_version = 5; * *
       * e.g., "10.7.3", "Win7 SP1"
       * 
*/ public java.lang.String getOsFullVersion() { java.lang.Object ref = osFullVersion_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); osFullVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string os_full_version = 5; * *
       * e.g., "10.7.3", "Win7 SP1"
       * 
*/ public com.google.protobuf.ByteString getOsFullVersionBytes() { java.lang.Object ref = osFullVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); osFullVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string os_full_version = 5; * *
       * e.g., "10.7.3", "Win7 SP1"
       * 
*/ public Builder setOsFullVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; osFullVersion_ = value; onChanged(); return this; } /** * optional string os_full_version = 5; * *
       * e.g., "10.7.3", "Win7 SP1"
       * 
*/ public Builder clearOsFullVersion() { bitField0_ = (bitField0_ & ~0x00000010); osFullVersion_ = getDefaultInstance().getOsFullVersion(); onChanged(); return this; } /** * optional string os_full_version = 5; * *
       * e.g., "10.7.3", "Win7 SP1"
       * 
*/ public Builder setOsFullVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; osFullVersion_ = value; onChanged(); return this; } // optional string application_build = 6; private java.lang.Object applicationBuild_ = ""; /** * optional string application_build = 6; * *
       * The client application version.
       * 
*/ public boolean hasApplicationBuild() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional string application_build = 6; * *
       * The client application version.
       * 
*/ public java.lang.String getApplicationBuild() { java.lang.Object ref = applicationBuild_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); applicationBuild_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string application_build = 6; * *
       * The client application version.
       * 
*/ public com.google.protobuf.ByteString getApplicationBuildBytes() { java.lang.Object ref = applicationBuild_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); applicationBuild_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string application_build = 6; * *
       * The client application version.
       * 
*/ public Builder setApplicationBuild( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; applicationBuild_ = value; onChanged(); return this; } /** * optional string application_build = 6; * *
       * The client application version.
       * 
*/ public Builder clearApplicationBuild() { bitField0_ = (bitField0_ & ~0x00000020); applicationBuild_ = getDefaultInstance().getApplicationBuild(); onChanged(); return this; } /** * optional string application_build = 6; * *
       * The client application version.
       * 
*/ public Builder setApplicationBuildBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; applicationBuild_ = value; onChanged(); return this; } // optional string country = 7; private java.lang.Object country_ = ""; /** * optional string country = 7; * *
       * The chosen country from the client. e.g., "US", "KR", "JP".
       *  Where this comes from is currently app-specific
       * 
*/ public boolean hasCountry() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional string country = 7; * *
       * The chosen country from the client. e.g., "US", "KR", "JP".
       *  Where this comes from is currently app-specific
       * 
*/ public java.lang.String getCountry() { java.lang.Object ref = country_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); country_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string country = 7; * *
       * The chosen country from the client. e.g., "US", "KR", "JP".
       *  Where this comes from is currently app-specific
       * 
*/ public com.google.protobuf.ByteString getCountryBytes() { java.lang.Object ref = country_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); country_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string country = 7; * *
       * The chosen country from the client. e.g., "US", "KR", "JP".
       *  Where this comes from is currently app-specific
       * 
*/ public Builder setCountry( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; country_ = value; onChanged(); return this; } /** * optional string country = 7; * *
       * The chosen country from the client. e.g., "US", "KR", "JP".
       *  Where this comes from is currently app-specific
       * 
*/ public Builder clearCountry() { bitField0_ = (bitField0_ & ~0x00000040); country_ = getDefaultInstance().getCountry(); onChanged(); return this; } /** * optional string country = 7; * *
       * The chosen country from the client. e.g., "US", "KR", "JP".
       *  Where this comes from is currently app-specific
       * 
*/ public Builder setCountryBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; country_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:wireless_android_play_playlog.DesktopClientInfo) } static { defaultInstance = new DesktopClientInfo(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:wireless_android_play_playlog.DesktopClientInfo) } public interface IosClientInfoOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional string client_id = 1; /** * optional string client_id = 1; * *
     * Sticky ID that should be considered PII.
     * 
*/ boolean hasClientId(); /** * optional string client_id = 1; * *
     * Sticky ID that should be considered PII.
     * 
*/ java.lang.String getClientId(); /** * optional string client_id = 1; * *
     * Sticky ID that should be considered PII.
     * 
*/ com.google.protobuf.ByteString getClientIdBytes(); // optional string logging_id = 2; /** * optional string logging_id = 2; * *
     * Pseudonymous, random id (sticky) per device.  May only be logged in temp
     *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
     * 
*/ boolean hasLoggingId(); /** * optional string logging_id = 2; * *
     * Pseudonymous, random id (sticky) per device.  May only be logged in temp
     *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
     * 
*/ java.lang.String getLoggingId(); /** * optional string logging_id = 2; * *
     * Pseudonymous, random id (sticky) per device.  May only be logged in temp
     *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
     * 
*/ com.google.protobuf.ByteString getLoggingIdBytes(); // optional string os_major_version = 3; /** * optional string os_major_version = 3; * *
     * The major OS version of an iOS client.
     * 
*/ boolean hasOsMajorVersion(); /** * optional string os_major_version = 3; * *
     * The major OS version of an iOS client.
     * 
*/ java.lang.String getOsMajorVersion(); /** * optional string os_major_version = 3; * *
     * The major OS version of an iOS client.
     * 
*/ com.google.protobuf.ByteString getOsMajorVersionBytes(); // optional string os_full_version = 4; /** * optional string os_full_version = 4; * *
     * The minor OS version of an iOS client.
     * 
*/ boolean hasOsFullVersion(); /** * optional string os_full_version = 4; * *
     * The minor OS version of an iOS client.
     * 
*/ java.lang.String getOsFullVersion(); /** * optional string os_full_version = 4; * *
     * The minor OS version of an iOS client.
     * 
*/ com.google.protobuf.ByteString getOsFullVersionBytes(); // optional string application_build = 5; /** * optional string application_build = 5; * *
     * The client application version.
     * 
*/ boolean hasApplicationBuild(); /** * optional string application_build = 5; * *
     * The client application version.
     * 
*/ java.lang.String getApplicationBuild(); /** * optional string application_build = 5; * *
     * The client application version.
     * 
*/ com.google.protobuf.ByteString getApplicationBuildBytes(); // optional string country = 6; /** * optional string country = 6; * *
     * The chosen country from the client. e.g., "US", "KR", "JP".
     *  This is typically populated based on the value of:
     *    [[NSLocale currentLocale] objectForKey:NSLocaleCountryCode]
     * 
*/ boolean hasCountry(); /** * optional string country = 6; * *
     * The chosen country from the client. e.g., "US", "KR", "JP".
     *  This is typically populated based on the value of:
     *    [[NSLocale currentLocale] objectForKey:NSLocaleCountryCode]
     * 
*/ java.lang.String getCountry(); /** * optional string country = 6; * *
     * The chosen country from the client. e.g., "US", "KR", "JP".
     *  This is typically populated based on the value of:
     *    [[NSLocale currentLocale] objectForKey:NSLocaleCountryCode]
     * 
*/ com.google.protobuf.ByteString getCountryBytes(); // optional string model = 7; /** * optional string model = 7; * *
     * The unix name (uname) for the model from an iOS client. e.g., "iPhone6,1"
     *  for iPhone 5s.
     * 
*/ boolean hasModel(); /** * optional string model = 7; * *
     * The unix name (uname) for the model from an iOS client. e.g., "iPhone6,1"
     *  for iPhone 5s.
     * 
*/ java.lang.String getModel(); /** * optional string model = 7; * *
     * The unix name (uname) for the model from an iOS client. e.g., "iPhone6,1"
     *  for iPhone 5s.
     * 
*/ com.google.protobuf.ByteString getModelBytes(); // optional string language_code = 8; /** * optional string language_code = 8; * *
     * The current language displayed to user. e.g., "en", "fr", "en-AU", or "de"
     *  This comes from [[NSBundle mainBundle] preferredLocalizations]; and is:
     *  "[language designator]" or "[language designator]-[region designator]"
     *  format based off of what localization is available and displayed to user.
     * 
*/ boolean hasLanguageCode(); /** * optional string language_code = 8; * *
     * The current language displayed to user. e.g., "en", "fr", "en-AU", or "de"
     *  This comes from [[NSBundle mainBundle] preferredLocalizations]; and is:
     *  "[language designator]" or "[language designator]-[region designator]"
     *  format based off of what localization is available and displayed to user.
     * 
*/ java.lang.String getLanguageCode(); /** * optional string language_code = 8; * *
     * The current language displayed to user. e.g., "en", "fr", "en-AU", or "de"
     *  This comes from [[NSBundle mainBundle] preferredLocalizations]; and is:
     *  "[language designator]" or "[language designator]-[region designator]"
     *  format based off of what localization is available and displayed to user.
     * 
*/ com.google.protobuf.ByteString getLanguageCodeBytes(); } /** * Protobuf type {@code wireless_android_play_playlog.IosClientInfo} * *
   * Attributes specific to iOS clients.
   *
   *  NOTE(vjalan): Fields of this proto are made available as conditions for iOS
   *  client-side experimentation in Heterodyne. Fields which contain PII should be
   *  annotated with experiments.heterodyne.ignore_for_application_properties to
   *  ensure that they cannot be used as conditions.
   *
   *  Next tag: 9
   * 
*/ public static final class IosClientInfo extends com.google.protobuf.GeneratedMessage implements IosClientInfoOrBuilder { // Use IosClientInfo.newBuilder() to construct. private IosClientInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private IosClientInfo(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final IosClientInfo defaultInstance; public static IosClientInfo getDefaultInstance() { return defaultInstance; } public IosClientInfo getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private IosClientInfo( 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; clientId_ = input.readBytes(); break; } case 18: { bitField0_ |= 0x00000002; loggingId_ = input.readBytes(); break; } case 26: { bitField0_ |= 0x00000004; osMajorVersion_ = input.readBytes(); break; } case 34: { bitField0_ |= 0x00000008; osFullVersion_ = input.readBytes(); break; } case 42: { bitField0_ |= 0x00000010; applicationBuild_ = input.readBytes(); break; } case 50: { bitField0_ |= 0x00000020; country_ = input.readBytes(); break; } case 58: { bitField0_ |= 0x00000040; model_ = input.readBytes(); break; } case 66: { bitField0_ |= 0x00000080; languageCode_ = 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.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_IosClientInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_IosClientInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public IosClientInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new IosClientInfo(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional string client_id = 1; public static final int CLIENT_ID_FIELD_NUMBER = 1; private java.lang.Object clientId_; /** * optional string client_id = 1; * *
     * Sticky ID that should be considered PII.
     * 
*/ public boolean hasClientId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string client_id = 1; * *
     * Sticky ID that should be considered PII.
     * 
*/ public java.lang.String getClientId() { java.lang.Object ref = clientId_; 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()) { clientId_ = s; } return s; } } /** * optional string client_id = 1; * *
     * Sticky ID that should be considered PII.
     * 
*/ public com.google.protobuf.ByteString getClientIdBytes() { java.lang.Object ref = clientId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string logging_id = 2; public static final int LOGGING_ID_FIELD_NUMBER = 2; private java.lang.Object loggingId_; /** * optional string logging_id = 2; * *
     * Pseudonymous, random id (sticky) per device.  May only be logged in temp
     *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
     * 
*/ public boolean hasLoggingId() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string logging_id = 2; * *
     * Pseudonymous, random id (sticky) per device.  May only be logged in temp
     *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
     * 
*/ public java.lang.String getLoggingId() { java.lang.Object ref = loggingId_; 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()) { loggingId_ = s; } return s; } } /** * optional string logging_id = 2; * *
     * Pseudonymous, random id (sticky) per device.  May only be logged in temp
     *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
     * 
*/ public com.google.protobuf.ByteString getLoggingIdBytes() { java.lang.Object ref = loggingId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); loggingId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string os_major_version = 3; public static final int OS_MAJOR_VERSION_FIELD_NUMBER = 3; private java.lang.Object osMajorVersion_; /** * optional string os_major_version = 3; * *
     * The major OS version of an iOS client.
     * 
*/ public boolean hasOsMajorVersion() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string os_major_version = 3; * *
     * The major OS version of an iOS client.
     * 
*/ public java.lang.String getOsMajorVersion() { java.lang.Object ref = osMajorVersion_; 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()) { osMajorVersion_ = s; } return s; } } /** * optional string os_major_version = 3; * *
     * The major OS version of an iOS client.
     * 
*/ public com.google.protobuf.ByteString getOsMajorVersionBytes() { java.lang.Object ref = osMajorVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); osMajorVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string os_full_version = 4; public static final int OS_FULL_VERSION_FIELD_NUMBER = 4; private java.lang.Object osFullVersion_; /** * optional string os_full_version = 4; * *
     * The minor OS version of an iOS client.
     * 
*/ public boolean hasOsFullVersion() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string os_full_version = 4; * *
     * The minor OS version of an iOS client.
     * 
*/ public java.lang.String getOsFullVersion() { java.lang.Object ref = osFullVersion_; 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()) { osFullVersion_ = s; } return s; } } /** * optional string os_full_version = 4; * *
     * The minor OS version of an iOS client.
     * 
*/ public com.google.protobuf.ByteString getOsFullVersionBytes() { java.lang.Object ref = osFullVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); osFullVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string application_build = 5; public static final int APPLICATION_BUILD_FIELD_NUMBER = 5; private java.lang.Object applicationBuild_; /** * optional string application_build = 5; * *
     * The client application version.
     * 
*/ public boolean hasApplicationBuild() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string application_build = 5; * *
     * The client application version.
     * 
*/ public java.lang.String getApplicationBuild() { java.lang.Object ref = applicationBuild_; 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()) { applicationBuild_ = s; } return s; } } /** * optional string application_build = 5; * *
     * The client application version.
     * 
*/ public com.google.protobuf.ByteString getApplicationBuildBytes() { java.lang.Object ref = applicationBuild_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); applicationBuild_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string country = 6; public static final int COUNTRY_FIELD_NUMBER = 6; private java.lang.Object country_; /** * optional string country = 6; * *
     * The chosen country from the client. e.g., "US", "KR", "JP".
     *  This is typically populated based on the value of:
     *    [[NSLocale currentLocale] objectForKey:NSLocaleCountryCode]
     * 
*/ public boolean hasCountry() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional string country = 6; * *
     * The chosen country from the client. e.g., "US", "KR", "JP".
     *  This is typically populated based on the value of:
     *    [[NSLocale currentLocale] objectForKey:NSLocaleCountryCode]
     * 
*/ public java.lang.String getCountry() { java.lang.Object ref = country_; 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()) { country_ = s; } return s; } } /** * optional string country = 6; * *
     * The chosen country from the client. e.g., "US", "KR", "JP".
     *  This is typically populated based on the value of:
     *    [[NSLocale currentLocale] objectForKey:NSLocaleCountryCode]
     * 
*/ public com.google.protobuf.ByteString getCountryBytes() { java.lang.Object ref = country_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); country_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string model = 7; public static final int MODEL_FIELD_NUMBER = 7; private java.lang.Object model_; /** * optional string model = 7; * *
     * The unix name (uname) for the model from an iOS client. e.g., "iPhone6,1"
     *  for iPhone 5s.
     * 
*/ public boolean hasModel() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional string model = 7; * *
     * The unix name (uname) for the model from an iOS client. e.g., "iPhone6,1"
     *  for iPhone 5s.
     * 
*/ public java.lang.String getModel() { java.lang.Object ref = model_; 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()) { model_ = s; } return s; } } /** * optional string model = 7; * *
     * The unix name (uname) for the model from an iOS client. e.g., "iPhone6,1"
     *  for iPhone 5s.
     * 
*/ public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); model_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string language_code = 8; public static final int LANGUAGE_CODE_FIELD_NUMBER = 8; private java.lang.Object languageCode_; /** * optional string language_code = 8; * *
     * The current language displayed to user. e.g., "en", "fr", "en-AU", or "de"
     *  This comes from [[NSBundle mainBundle] preferredLocalizations]; and is:
     *  "[language designator]" or "[language designator]-[region designator]"
     *  format based off of what localization is available and displayed to user.
     * 
*/ public boolean hasLanguageCode() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional string language_code = 8; * *
     * The current language displayed to user. e.g., "en", "fr", "en-AU", or "de"
     *  This comes from [[NSBundle mainBundle] preferredLocalizations]; and is:
     *  "[language designator]" or "[language designator]-[region designator]"
     *  format based off of what localization is available and displayed to user.
     * 
*/ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; 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()) { languageCode_ = s; } return s; } } /** * optional string language_code = 8; * *
     * The current language displayed to user. e.g., "en", "fr", "en-AU", or "de"
     *  This comes from [[NSBundle mainBundle] preferredLocalizations]; and is:
     *  "[language designator]" or "[language designator]-[region designator]"
     *  format based off of what localization is available and displayed to user.
     * 
*/ public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); languageCode_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { clientId_ = ""; loggingId_ = ""; osMajorVersion_ = ""; osFullVersion_ = ""; applicationBuild_ = ""; country_ = ""; model_ = ""; languageCode_ = ""; } 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, getClientIdBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getLoggingIdBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getOsMajorVersionBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, getOsFullVersionBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBytes(5, getApplicationBuildBytes()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeBytes(6, getCountryBytes()); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeBytes(7, getModelBytes()); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeBytes(8, getLanguageCodeBytes()); } 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, getClientIdBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getLoggingIdBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getOsMajorVersionBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, getOsFullVersionBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, getApplicationBuildBytes()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(6, getCountryBytes()); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(7, getModelBytes()); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(8, getLanguageCodeBytes()); } 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.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo 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.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo 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 wireless_android_play_playlog.IosClientInfo} * *
     * Attributes specific to iOS clients.
     *
     *  NOTE(vjalan): Fields of this proto are made available as conditions for iOS
     *  client-side experimentation in Heterodyne. Fields which contain PII should be
     *  annotated with experiments.heterodyne.ignore_for_application_properties to
     *  ensure that they cannot be used as conditions.
     *
     *  Next tag: 9
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_IosClientInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_IosClientInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo.Builder.class); } // Construct using com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo.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(); clientId_ = ""; bitField0_ = (bitField0_ & ~0x00000001); loggingId_ = ""; bitField0_ = (bitField0_ & ~0x00000002); osMajorVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000004); osFullVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000008); applicationBuild_ = ""; bitField0_ = (bitField0_ & ~0x00000010); country_ = ""; bitField0_ = (bitField0_ & ~0x00000020); model_ = ""; bitField0_ = (bitField0_ & ~0x00000040); languageCode_ = ""; bitField0_ = (bitField0_ & ~0x00000080); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_IosClientInfo_descriptor; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo getDefaultInstanceForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo.getDefaultInstance(); } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo build() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo buildPartial() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo result = new com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.clientId_ = clientId_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.loggingId_ = loggingId_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.osMajorVersion_ = osMajorVersion_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.osFullVersion_ = osFullVersion_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.applicationBuild_ = applicationBuild_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.country_ = country_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.model_ = model_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } result.languageCode_ = languageCode_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo) { return mergeFrom((com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo other) { if (other == com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo.getDefaultInstance()) return this; if (other.hasClientId()) { bitField0_ |= 0x00000001; clientId_ = other.clientId_; onChanged(); } if (other.hasLoggingId()) { bitField0_ |= 0x00000002; loggingId_ = other.loggingId_; onChanged(); } if (other.hasOsMajorVersion()) { bitField0_ |= 0x00000004; osMajorVersion_ = other.osMajorVersion_; onChanged(); } if (other.hasOsFullVersion()) { bitField0_ |= 0x00000008; osFullVersion_ = other.osFullVersion_; onChanged(); } if (other.hasApplicationBuild()) { bitField0_ |= 0x00000010; applicationBuild_ = other.applicationBuild_; onChanged(); } if (other.hasCountry()) { bitField0_ |= 0x00000020; country_ = other.country_; onChanged(); } if (other.hasModel()) { bitField0_ |= 0x00000040; model_ = other.model_; onChanged(); } if (other.hasLanguageCode()) { bitField0_ |= 0x00000080; languageCode_ = other.languageCode_; 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.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional string client_id = 1; private java.lang.Object clientId_ = ""; /** * optional string client_id = 1; * *
       * Sticky ID that should be considered PII.
       * 
*/ public boolean hasClientId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string client_id = 1; * *
       * Sticky ID that should be considered PII.
       * 
*/ public java.lang.String getClientId() { java.lang.Object ref = clientId_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); clientId_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string client_id = 1; * *
       * Sticky ID that should be considered PII.
       * 
*/ public com.google.protobuf.ByteString getClientIdBytes() { java.lang.Object ref = clientId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string client_id = 1; * *
       * Sticky ID that should be considered PII.
       * 
*/ public Builder setClientId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; clientId_ = value; onChanged(); return this; } /** * optional string client_id = 1; * *
       * Sticky ID that should be considered PII.
       * 
*/ public Builder clearClientId() { bitField0_ = (bitField0_ & ~0x00000001); clientId_ = getDefaultInstance().getClientId(); onChanged(); return this; } /** * optional string client_id = 1; * *
       * Sticky ID that should be considered PII.
       * 
*/ public Builder setClientIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; clientId_ = value; onChanged(); return this; } // optional string logging_id = 2; private java.lang.Object loggingId_ = ""; /** * optional string logging_id = 2; * *
       * Pseudonymous, random id (sticky) per device.  May only be logged in temp
       *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
       * 
*/ public boolean hasLoggingId() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string logging_id = 2; * *
       * Pseudonymous, random id (sticky) per device.  May only be logged in temp
       *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
       * 
*/ public java.lang.String getLoggingId() { java.lang.Object ref = loggingId_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); loggingId_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string logging_id = 2; * *
       * Pseudonymous, random id (sticky) per device.  May only be logged in temp
       *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
       * 
*/ public com.google.protobuf.ByteString getLoggingIdBytes() { java.lang.Object ref = loggingId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); loggingId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string logging_id = 2; * *
       * Pseudonymous, random id (sticky) per device.  May only be logged in temp
       *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
       * 
*/ public Builder setLoggingId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; loggingId_ = value; onChanged(); return this; } /** * optional string logging_id = 2; * *
       * Pseudonymous, random id (sticky) per device.  May only be logged in temp
       *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
       * 
*/ public Builder clearLoggingId() { bitField0_ = (bitField0_ & ~0x00000002); loggingId_ = getDefaultInstance().getLoggingId(); onChanged(); return this; } /** * optional string logging_id = 2; * *
       * Pseudonymous, random id (sticky) per device.  May only be logged in temp
       *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
       * 
*/ public Builder setLoggingIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; loggingId_ = value; onChanged(); return this; } // optional string os_major_version = 3; private java.lang.Object osMajorVersion_ = ""; /** * optional string os_major_version = 3; * *
       * The major OS version of an iOS client.
       * 
*/ public boolean hasOsMajorVersion() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string os_major_version = 3; * *
       * The major OS version of an iOS client.
       * 
*/ public java.lang.String getOsMajorVersion() { java.lang.Object ref = osMajorVersion_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); osMajorVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string os_major_version = 3; * *
       * The major OS version of an iOS client.
       * 
*/ public com.google.protobuf.ByteString getOsMajorVersionBytes() { java.lang.Object ref = osMajorVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); osMajorVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string os_major_version = 3; * *
       * The major OS version of an iOS client.
       * 
*/ public Builder setOsMajorVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; osMajorVersion_ = value; onChanged(); return this; } /** * optional string os_major_version = 3; * *
       * The major OS version of an iOS client.
       * 
*/ public Builder clearOsMajorVersion() { bitField0_ = (bitField0_ & ~0x00000004); osMajorVersion_ = getDefaultInstance().getOsMajorVersion(); onChanged(); return this; } /** * optional string os_major_version = 3; * *
       * The major OS version of an iOS client.
       * 
*/ public Builder setOsMajorVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; osMajorVersion_ = value; onChanged(); return this; } // optional string os_full_version = 4; private java.lang.Object osFullVersion_ = ""; /** * optional string os_full_version = 4; * *
       * The minor OS version of an iOS client.
       * 
*/ public boolean hasOsFullVersion() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string os_full_version = 4; * *
       * The minor OS version of an iOS client.
       * 
*/ public java.lang.String getOsFullVersion() { java.lang.Object ref = osFullVersion_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); osFullVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string os_full_version = 4; * *
       * The minor OS version of an iOS client.
       * 
*/ public com.google.protobuf.ByteString getOsFullVersionBytes() { java.lang.Object ref = osFullVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); osFullVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string os_full_version = 4; * *
       * The minor OS version of an iOS client.
       * 
*/ public Builder setOsFullVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; osFullVersion_ = value; onChanged(); return this; } /** * optional string os_full_version = 4; * *
       * The minor OS version of an iOS client.
       * 
*/ public Builder clearOsFullVersion() { bitField0_ = (bitField0_ & ~0x00000008); osFullVersion_ = getDefaultInstance().getOsFullVersion(); onChanged(); return this; } /** * optional string os_full_version = 4; * *
       * The minor OS version of an iOS client.
       * 
*/ public Builder setOsFullVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; osFullVersion_ = value; onChanged(); return this; } // optional string application_build = 5; private java.lang.Object applicationBuild_ = ""; /** * optional string application_build = 5; * *
       * The client application version.
       * 
*/ public boolean hasApplicationBuild() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string application_build = 5; * *
       * The client application version.
       * 
*/ public java.lang.String getApplicationBuild() { java.lang.Object ref = applicationBuild_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); applicationBuild_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string application_build = 5; * *
       * The client application version.
       * 
*/ public com.google.protobuf.ByteString getApplicationBuildBytes() { java.lang.Object ref = applicationBuild_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); applicationBuild_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string application_build = 5; * *
       * The client application version.
       * 
*/ public Builder setApplicationBuild( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; applicationBuild_ = value; onChanged(); return this; } /** * optional string application_build = 5; * *
       * The client application version.
       * 
*/ public Builder clearApplicationBuild() { bitField0_ = (bitField0_ & ~0x00000010); applicationBuild_ = getDefaultInstance().getApplicationBuild(); onChanged(); return this; } /** * optional string application_build = 5; * *
       * The client application version.
       * 
*/ public Builder setApplicationBuildBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; applicationBuild_ = value; onChanged(); return this; } // optional string country = 6; private java.lang.Object country_ = ""; /** * optional string country = 6; * *
       * The chosen country from the client. e.g., "US", "KR", "JP".
       *  This is typically populated based on the value of:
       *    [[NSLocale currentLocale] objectForKey:NSLocaleCountryCode]
       * 
*/ public boolean hasCountry() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional string country = 6; * *
       * The chosen country from the client. e.g., "US", "KR", "JP".
       *  This is typically populated based on the value of:
       *    [[NSLocale currentLocale] objectForKey:NSLocaleCountryCode]
       * 
*/ public java.lang.String getCountry() { java.lang.Object ref = country_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); country_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string country = 6; * *
       * The chosen country from the client. e.g., "US", "KR", "JP".
       *  This is typically populated based on the value of:
       *    [[NSLocale currentLocale] objectForKey:NSLocaleCountryCode]
       * 
*/ public com.google.protobuf.ByteString getCountryBytes() { java.lang.Object ref = country_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); country_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string country = 6; * *
       * The chosen country from the client. e.g., "US", "KR", "JP".
       *  This is typically populated based on the value of:
       *    [[NSLocale currentLocale] objectForKey:NSLocaleCountryCode]
       * 
*/ public Builder setCountry( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; country_ = value; onChanged(); return this; } /** * optional string country = 6; * *
       * The chosen country from the client. e.g., "US", "KR", "JP".
       *  This is typically populated based on the value of:
       *    [[NSLocale currentLocale] objectForKey:NSLocaleCountryCode]
       * 
*/ public Builder clearCountry() { bitField0_ = (bitField0_ & ~0x00000020); country_ = getDefaultInstance().getCountry(); onChanged(); return this; } /** * optional string country = 6; * *
       * The chosen country from the client. e.g., "US", "KR", "JP".
       *  This is typically populated based on the value of:
       *    [[NSLocale currentLocale] objectForKey:NSLocaleCountryCode]
       * 
*/ public Builder setCountryBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; country_ = value; onChanged(); return this; } // optional string model = 7; private java.lang.Object model_ = ""; /** * optional string model = 7; * *
       * The unix name (uname) for the model from an iOS client. e.g., "iPhone6,1"
       *  for iPhone 5s.
       * 
*/ public boolean hasModel() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional string model = 7; * *
       * The unix name (uname) for the model from an iOS client. e.g., "iPhone6,1"
       *  for iPhone 5s.
       * 
*/ public java.lang.String getModel() { java.lang.Object ref = model_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); model_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string model = 7; * *
       * The unix name (uname) for the model from an iOS client. e.g., "iPhone6,1"
       *  for iPhone 5s.
       * 
*/ public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); model_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string model = 7; * *
       * The unix name (uname) for the model from an iOS client. e.g., "iPhone6,1"
       *  for iPhone 5s.
       * 
*/ public Builder setModel( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; model_ = value; onChanged(); return this; } /** * optional string model = 7; * *
       * The unix name (uname) for the model from an iOS client. e.g., "iPhone6,1"
       *  for iPhone 5s.
       * 
*/ public Builder clearModel() { bitField0_ = (bitField0_ & ~0x00000040); model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** * optional string model = 7; * *
       * The unix name (uname) for the model from an iOS client. e.g., "iPhone6,1"
       *  for iPhone 5s.
       * 
*/ public Builder setModelBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; model_ = value; onChanged(); return this; } // optional string language_code = 8; private java.lang.Object languageCode_ = ""; /** * optional string language_code = 8; * *
       * The current language displayed to user. e.g., "en", "fr", "en-AU", or "de"
       *  This comes from [[NSBundle mainBundle] preferredLocalizations]; and is:
       *  "[language designator]" or "[language designator]-[region designator]"
       *  format based off of what localization is available and displayed to user.
       * 
*/ public boolean hasLanguageCode() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional string language_code = 8; * *
       * The current language displayed to user. e.g., "en", "fr", "en-AU", or "de"
       *  This comes from [[NSBundle mainBundle] preferredLocalizations]; and is:
       *  "[language designator]" or "[language designator]-[region designator]"
       *  format based off of what localization is available and displayed to user.
       * 
*/ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); languageCode_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string language_code = 8; * *
       * The current language displayed to user. e.g., "en", "fr", "en-AU", or "de"
       *  This comes from [[NSBundle mainBundle] preferredLocalizations]; and is:
       *  "[language designator]" or "[language designator]-[region designator]"
       *  format based off of what localization is available and displayed to user.
       * 
*/ public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); languageCode_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string language_code = 8; * *
       * The current language displayed to user. e.g., "en", "fr", "en-AU", or "de"
       *  This comes from [[NSBundle mainBundle] preferredLocalizations]; and is:
       *  "[language designator]" or "[language designator]-[region designator]"
       *  format based off of what localization is available and displayed to user.
       * 
*/ public Builder setLanguageCode( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; languageCode_ = value; onChanged(); return this; } /** * optional string language_code = 8; * *
       * The current language displayed to user. e.g., "en", "fr", "en-AU", or "de"
       *  This comes from [[NSBundle mainBundle] preferredLocalizations]; and is:
       *  "[language designator]" or "[language designator]-[region designator]"
       *  format based off of what localization is available and displayed to user.
       * 
*/ public Builder clearLanguageCode() { bitField0_ = (bitField0_ & ~0x00000080); languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** * optional string language_code = 8; * *
       * The current language displayed to user. e.g., "en", "fr", "en-AU", or "de"
       *  This comes from [[NSBundle mainBundle] preferredLocalizations]; and is:
       *  "[language designator]" or "[language designator]-[region designator]"
       *  format based off of what localization is available and displayed to user.
       * 
*/ public Builder setLanguageCodeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; languageCode_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:wireless_android_play_playlog.IosClientInfo) } static { defaultInstance = new IosClientInfo(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:wireless_android_play_playlog.IosClientInfo) } public interface PancettaClientInfoOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional string device_id = 1; /** * optional string device_id = 1; * *
     * Device ID that should be considered PII. This should only be filled by
     *  Pancetta's headless network access point which is manufactured and
     *  distributed by Google.
     * 
*/ boolean hasDeviceId(); /** * optional string device_id = 1; * *
     * Device ID that should be considered PII. This should only be filled by
     *  Pancetta's headless network access point which is manufactured and
     *  distributed by Google.
     * 
*/ java.lang.String getDeviceId(); /** * optional string device_id = 1; * *
     * Device ID that should be considered PII. This should only be filled by
     *  Pancetta's headless network access point which is manufactured and
     *  distributed by Google.
     * 
*/ com.google.protobuf.ByteString getDeviceIdBytes(); // optional .wireless_android_play_playlog.PancettaClientInfo.OsType os = 2; /** * optional .wireless_android_play_playlog.PancettaClientInfo.OsType os = 2; * *
     * The OS that Chrome is running on.
     * 
*/ boolean hasOs(); /** * optional .wireless_android_play_playlog.PancettaClientInfo.OsType os = 2; * *
     * The OS that Chrome is running on.
     * 
*/ com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo.OsType getOs(); // optional string app_id = 3; /** * optional string app_id = 3; * *
     * The Chrome app id.
     * 
*/ boolean hasAppId(); /** * optional string app_id = 3; * *
     * The Chrome app id.
     * 
*/ java.lang.String getAppId(); /** * optional string app_id = 3; * *
     * The Chrome app id.
     * 
*/ com.google.protobuf.ByteString getAppIdBytes(); // optional string app_version = 4; /** * optional string app_version = 4; * *
     * The Chrome app version.
     * 
*/ boolean hasAppVersion(); /** * optional string app_version = 4; * *
     * The Chrome app version.
     * 
*/ java.lang.String getAppVersion(); /** * optional string app_version = 4; * *
     * The Chrome app version.
     * 
*/ com.google.protobuf.ByteString getAppVersionBytes(); // optional string mcc_mnc = 5; /** * optional string mcc_mnc = 5; * *
     * Optional. Mobile Country Code and Mobile Network Code if possible.
     *  This is for the headless network access point.
     * 
*/ boolean hasMccMnc(); /** * optional string mcc_mnc = 5; * *
     * Optional. Mobile Country Code and Mobile Network Code if possible.
     *  This is for the headless network access point.
     * 
*/ java.lang.String getMccMnc(); /** * optional string mcc_mnc = 5; * *
     * Optional. Mobile Country Code and Mobile Network Code if possible.
     *  This is for the headless network access point.
     * 
*/ com.google.protobuf.ByteString getMccMncBytes(); } /** * Protobuf type {@code wireless_android_play_playlog.PancettaClientInfo} * *
   * Attributes specific to Pancetta Chrome app clients. Pancetta clients will be
   *  Chrome apps running on desktops or a headless network access point. The apps
   *  are used to upload data from wearables to Pancetta servers.
   *
   *  Next tag: 6
   * 
*/ public static final class PancettaClientInfo extends com.google.protobuf.GeneratedMessage implements PancettaClientInfoOrBuilder { // Use PancettaClientInfo.newBuilder() to construct. private PancettaClientInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private PancettaClientInfo(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final PancettaClientInfo defaultInstance; public static PancettaClientInfo getDefaultInstance() { return defaultInstance; } public PancettaClientInfo getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PancettaClientInfo( 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; deviceId_ = input.readBytes(); break; } case 16: { int rawValue = input.readEnum(); com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo.OsType value = com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo.OsType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(2, rawValue); } else { bitField0_ |= 0x00000002; os_ = value; } break; } case 26: { bitField0_ |= 0x00000004; appId_ = input.readBytes(); break; } case 34: { bitField0_ |= 0x00000008; appVersion_ = input.readBytes(); break; } case 42: { bitField0_ |= 0x00000010; mccMnc_ = 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.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_PancettaClientInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_PancettaClientInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public PancettaClientInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PancettaClientInfo(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } /** * Protobuf enum {@code wireless_android_play_playlog.PancettaClientInfo.OsType} * *
     * Operating system.
     *  Next tag: 7
     * 
*/ public enum OsType implements com.google.protobuf.ProtocolMessageEnum { /** * OS_TYPE_UNKNOWN = 0; */ OS_TYPE_UNKNOWN(0, 0), /** * OS_TYPE_MAC = 1; */ OS_TYPE_MAC(1, 1), /** * OS_TYPE_WINDOWS = 2; */ OS_TYPE_WINDOWS(2, 2), /** * OS_TYPE_ANDROID = 3; */ OS_TYPE_ANDROID(3, 3), /** * OS_TYPE_CROS = 4; */ OS_TYPE_CROS(4, 4), /** * OS_TYPE_LINUX = 5; */ OS_TYPE_LINUX(5, 5), /** * OS_TYPE_OPENBSD = 6; */ OS_TYPE_OPENBSD(6, 6), ; /** * OS_TYPE_UNKNOWN = 0; */ public static final int OS_TYPE_UNKNOWN_VALUE = 0; /** * OS_TYPE_MAC = 1; */ public static final int OS_TYPE_MAC_VALUE = 1; /** * OS_TYPE_WINDOWS = 2; */ public static final int OS_TYPE_WINDOWS_VALUE = 2; /** * OS_TYPE_ANDROID = 3; */ public static final int OS_TYPE_ANDROID_VALUE = 3; /** * OS_TYPE_CROS = 4; */ public static final int OS_TYPE_CROS_VALUE = 4; /** * OS_TYPE_LINUX = 5; */ public static final int OS_TYPE_LINUX_VALUE = 5; /** * OS_TYPE_OPENBSD = 6; */ public static final int OS_TYPE_OPENBSD_VALUE = 6; public final int getNumber() { return value; } public static OsType valueOf(int value) { switch (value) { case 0: return OS_TYPE_UNKNOWN; case 1: return OS_TYPE_MAC; case 2: return OS_TYPE_WINDOWS; case 3: return OS_TYPE_ANDROID; case 4: return OS_TYPE_CROS; case 5: return OS_TYPE_LINUX; case 6: return OS_TYPE_OPENBSD; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public OsType findValueByNumber(int number) { return OsType.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.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo.getDescriptor().getEnumTypes().get(0); } private static final OsType[] VALUES = values(); public static OsType 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 OsType(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:wireless_android_play_playlog.PancettaClientInfo.OsType) } private int bitField0_; // optional string device_id = 1; public static final int DEVICE_ID_FIELD_NUMBER = 1; private java.lang.Object deviceId_; /** * optional string device_id = 1; * *
     * Device ID that should be considered PII. This should only be filled by
     *  Pancetta's headless network access point which is manufactured and
     *  distributed by Google.
     * 
*/ public boolean hasDeviceId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string device_id = 1; * *
     * Device ID that should be considered PII. This should only be filled by
     *  Pancetta's headless network access point which is manufactured and
     *  distributed by Google.
     * 
*/ public java.lang.String getDeviceId() { java.lang.Object ref = deviceId_; 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()) { deviceId_ = s; } return s; } } /** * optional string device_id = 1; * *
     * Device ID that should be considered PII. This should only be filled by
     *  Pancetta's headless network access point which is manufactured and
     *  distributed by Google.
     * 
*/ public com.google.protobuf.ByteString getDeviceIdBytes() { java.lang.Object ref = deviceId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); deviceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional .wireless_android_play_playlog.PancettaClientInfo.OsType os = 2; public static final int OS_FIELD_NUMBER = 2; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo.OsType os_; /** * optional .wireless_android_play_playlog.PancettaClientInfo.OsType os = 2; * *
     * The OS that Chrome is running on.
     * 
*/ public boolean hasOs() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .wireless_android_play_playlog.PancettaClientInfo.OsType os = 2; * *
     * The OS that Chrome is running on.
     * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo.OsType getOs() { return os_; } // optional string app_id = 3; public static final int APP_ID_FIELD_NUMBER = 3; private java.lang.Object appId_; /** * optional string app_id = 3; * *
     * The Chrome app id.
     * 
*/ public boolean hasAppId() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string app_id = 3; * *
     * The Chrome app id.
     * 
*/ public java.lang.String getAppId() { java.lang.Object ref = appId_; 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()) { appId_ = s; } return s; } } /** * optional string app_id = 3; * *
     * The Chrome app id.
     * 
*/ public com.google.protobuf.ByteString getAppIdBytes() { java.lang.Object ref = appId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); appId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string app_version = 4; public static final int APP_VERSION_FIELD_NUMBER = 4; private java.lang.Object appVersion_; /** * optional string app_version = 4; * *
     * The Chrome app version.
     * 
*/ public boolean hasAppVersion() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string app_version = 4; * *
     * The Chrome app version.
     * 
*/ public java.lang.String getAppVersion() { java.lang.Object ref = appVersion_; 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()) { appVersion_ = s; } return s; } } /** * optional string app_version = 4; * *
     * The Chrome app version.
     * 
*/ public com.google.protobuf.ByteString getAppVersionBytes() { java.lang.Object ref = appVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); appVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string mcc_mnc = 5; public static final int MCC_MNC_FIELD_NUMBER = 5; private java.lang.Object mccMnc_; /** * optional string mcc_mnc = 5; * *
     * Optional. Mobile Country Code and Mobile Network Code if possible.
     *  This is for the headless network access point.
     * 
*/ public boolean hasMccMnc() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string mcc_mnc = 5; * *
     * Optional. Mobile Country Code and Mobile Network Code if possible.
     *  This is for the headless network access point.
     * 
*/ public java.lang.String getMccMnc() { java.lang.Object ref = mccMnc_; 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()) { mccMnc_ = s; } return s; } } /** * optional string mcc_mnc = 5; * *
     * Optional. Mobile Country Code and Mobile Network Code if possible.
     *  This is for the headless network access point.
     * 
*/ public com.google.protobuf.ByteString getMccMncBytes() { java.lang.Object ref = mccMnc_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); mccMnc_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { deviceId_ = ""; os_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo.OsType.OS_TYPE_UNKNOWN; appId_ = ""; appVersion_ = ""; mccMnc_ = ""; } 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, getDeviceIdBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, os_.getNumber()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getAppIdBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, getAppVersionBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBytes(5, getMccMncBytes()); } 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, getDeviceIdBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, os_.getNumber()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getAppIdBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, getAppVersionBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, getMccMncBytes()); } 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.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo 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.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo 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 wireless_android_play_playlog.PancettaClientInfo} * *
     * Attributes specific to Pancetta Chrome app clients. Pancetta clients will be
     *  Chrome apps running on desktops or a headless network access point. The apps
     *  are used to upload data from wearables to Pancetta servers.
     *
     *  Next tag: 6
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_PancettaClientInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_PancettaClientInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo.Builder.class); } // Construct using com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo.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(); deviceId_ = ""; bitField0_ = (bitField0_ & ~0x00000001); os_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo.OsType.OS_TYPE_UNKNOWN; bitField0_ = (bitField0_ & ~0x00000002); appId_ = ""; bitField0_ = (bitField0_ & ~0x00000004); appVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000008); mccMnc_ = ""; bitField0_ = (bitField0_ & ~0x00000010); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_PancettaClientInfo_descriptor; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo getDefaultInstanceForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo.getDefaultInstance(); } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo build() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo buildPartial() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo result = new com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.deviceId_ = deviceId_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.os_ = os_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.appId_ = appId_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.appVersion_ = appVersion_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.mccMnc_ = mccMnc_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo) { return mergeFrom((com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo other) { if (other == com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo.getDefaultInstance()) return this; if (other.hasDeviceId()) { bitField0_ |= 0x00000001; deviceId_ = other.deviceId_; onChanged(); } if (other.hasOs()) { setOs(other.getOs()); } if (other.hasAppId()) { bitField0_ |= 0x00000004; appId_ = other.appId_; onChanged(); } if (other.hasAppVersion()) { bitField0_ |= 0x00000008; appVersion_ = other.appVersion_; onChanged(); } if (other.hasMccMnc()) { bitField0_ |= 0x00000010; mccMnc_ = other.mccMnc_; 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.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional string device_id = 1; private java.lang.Object deviceId_ = ""; /** * optional string device_id = 1; * *
       * Device ID that should be considered PII. This should only be filled by
       *  Pancetta's headless network access point which is manufactured and
       *  distributed by Google.
       * 
*/ public boolean hasDeviceId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string device_id = 1; * *
       * Device ID that should be considered PII. This should only be filled by
       *  Pancetta's headless network access point which is manufactured and
       *  distributed by Google.
       * 
*/ public java.lang.String getDeviceId() { java.lang.Object ref = deviceId_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); deviceId_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string device_id = 1; * *
       * Device ID that should be considered PII. This should only be filled by
       *  Pancetta's headless network access point which is manufactured and
       *  distributed by Google.
       * 
*/ public com.google.protobuf.ByteString getDeviceIdBytes() { java.lang.Object ref = deviceId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); deviceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string device_id = 1; * *
       * Device ID that should be considered PII. This should only be filled by
       *  Pancetta's headless network access point which is manufactured and
       *  distributed by Google.
       * 
*/ public Builder setDeviceId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; deviceId_ = value; onChanged(); return this; } /** * optional string device_id = 1; * *
       * Device ID that should be considered PII. This should only be filled by
       *  Pancetta's headless network access point which is manufactured and
       *  distributed by Google.
       * 
*/ public Builder clearDeviceId() { bitField0_ = (bitField0_ & ~0x00000001); deviceId_ = getDefaultInstance().getDeviceId(); onChanged(); return this; } /** * optional string device_id = 1; * *
       * Device ID that should be considered PII. This should only be filled by
       *  Pancetta's headless network access point which is manufactured and
       *  distributed by Google.
       * 
*/ public Builder setDeviceIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; deviceId_ = value; onChanged(); return this; } // optional .wireless_android_play_playlog.PancettaClientInfo.OsType os = 2; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo.OsType os_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo.OsType.OS_TYPE_UNKNOWN; /** * optional .wireless_android_play_playlog.PancettaClientInfo.OsType os = 2; * *
       * The OS that Chrome is running on.
       * 
*/ public boolean hasOs() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .wireless_android_play_playlog.PancettaClientInfo.OsType os = 2; * *
       * The OS that Chrome is running on.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo.OsType getOs() { return os_; } /** * optional .wireless_android_play_playlog.PancettaClientInfo.OsType os = 2; * *
       * The OS that Chrome is running on.
       * 
*/ public Builder setOs(com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo.OsType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; os_ = value; onChanged(); return this; } /** * optional .wireless_android_play_playlog.PancettaClientInfo.OsType os = 2; * *
       * The OS that Chrome is running on.
       * 
*/ public Builder clearOs() { bitField0_ = (bitField0_ & ~0x00000002); os_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo.OsType.OS_TYPE_UNKNOWN; onChanged(); return this; } // optional string app_id = 3; private java.lang.Object appId_ = ""; /** * optional string app_id = 3; * *
       * The Chrome app id.
       * 
*/ public boolean hasAppId() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string app_id = 3; * *
       * The Chrome app id.
       * 
*/ public java.lang.String getAppId() { java.lang.Object ref = appId_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); appId_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string app_id = 3; * *
       * The Chrome app id.
       * 
*/ public com.google.protobuf.ByteString getAppIdBytes() { java.lang.Object ref = appId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); appId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string app_id = 3; * *
       * The Chrome app id.
       * 
*/ public Builder setAppId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; appId_ = value; onChanged(); return this; } /** * optional string app_id = 3; * *
       * The Chrome app id.
       * 
*/ public Builder clearAppId() { bitField0_ = (bitField0_ & ~0x00000004); appId_ = getDefaultInstance().getAppId(); onChanged(); return this; } /** * optional string app_id = 3; * *
       * The Chrome app id.
       * 
*/ public Builder setAppIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; appId_ = value; onChanged(); return this; } // optional string app_version = 4; private java.lang.Object appVersion_ = ""; /** * optional string app_version = 4; * *
       * The Chrome app version.
       * 
*/ public boolean hasAppVersion() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string app_version = 4; * *
       * The Chrome app version.
       * 
*/ public java.lang.String getAppVersion() { java.lang.Object ref = appVersion_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); appVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string app_version = 4; * *
       * The Chrome app version.
       * 
*/ public com.google.protobuf.ByteString getAppVersionBytes() { java.lang.Object ref = appVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); appVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string app_version = 4; * *
       * The Chrome app version.
       * 
*/ public Builder setAppVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; appVersion_ = value; onChanged(); return this; } /** * optional string app_version = 4; * *
       * The Chrome app version.
       * 
*/ public Builder clearAppVersion() { bitField0_ = (bitField0_ & ~0x00000008); appVersion_ = getDefaultInstance().getAppVersion(); onChanged(); return this; } /** * optional string app_version = 4; * *
       * The Chrome app version.
       * 
*/ public Builder setAppVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; appVersion_ = value; onChanged(); return this; } // optional string mcc_mnc = 5; private java.lang.Object mccMnc_ = ""; /** * optional string mcc_mnc = 5; * *
       * Optional. Mobile Country Code and Mobile Network Code if possible.
       *  This is for the headless network access point.
       * 
*/ public boolean hasMccMnc() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string mcc_mnc = 5; * *
       * Optional. Mobile Country Code and Mobile Network Code if possible.
       *  This is for the headless network access point.
       * 
*/ public java.lang.String getMccMnc() { java.lang.Object ref = mccMnc_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); mccMnc_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string mcc_mnc = 5; * *
       * Optional. Mobile Country Code and Mobile Network Code if possible.
       *  This is for the headless network access point.
       * 
*/ public com.google.protobuf.ByteString getMccMncBytes() { java.lang.Object ref = mccMnc_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); mccMnc_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string mcc_mnc = 5; * *
       * Optional. Mobile Country Code and Mobile Network Code if possible.
       *  This is for the headless network access point.
       * 
*/ public Builder setMccMnc( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; mccMnc_ = value; onChanged(); return this; } /** * optional string mcc_mnc = 5; * *
       * Optional. Mobile Country Code and Mobile Network Code if possible.
       *  This is for the headless network access point.
       * 
*/ public Builder clearMccMnc() { bitField0_ = (bitField0_ & ~0x00000010); mccMnc_ = getDefaultInstance().getMccMnc(); onChanged(); return this; } /** * optional string mcc_mnc = 5; * *
       * Optional. Mobile Country Code and Mobile Network Code if possible.
       *  This is for the headless network access point.
       * 
*/ public Builder setMccMncBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; mccMnc_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:wireless_android_play_playlog.PancettaClientInfo) } static { defaultInstance = new PancettaClientInfo(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:wireless_android_play_playlog.PancettaClientInfo) } public interface PlayCeClientInfoOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional string client_id = 1; /** * optional string client_id = 1; * *
     * Sticky ID that should be considered PII. This is the device serial number
     *  or another device identifier that, together with make and model, uniquely
     *  identifies the device.
     * 
*/ boolean hasClientId(); /** * optional string client_id = 1; * *
     * Sticky ID that should be considered PII. This is the device serial number
     *  or another device identifier that, together with make and model, uniquely
     *  identifies the device.
     * 
*/ java.lang.String getClientId(); /** * optional string client_id = 1; * *
     * Sticky ID that should be considered PII. This is the device serial number
     *  or another device identifier that, together with make and model, uniquely
     *  identifies the device.
     * 
*/ com.google.protobuf.ByteString getClientIdBytes(); // optional string logging_id = 7; /** * optional string logging_id = 7; * *
     * Pseudonymous, random id (sticky) per device.  May only be logged in temp
     *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
     * 
*/ boolean hasLoggingId(); /** * optional string logging_id = 7; * *
     * Pseudonymous, random id (sticky) per device.  May only be logged in temp
     *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
     * 
*/ java.lang.String getLoggingId(); /** * optional string logging_id = 7; * *
     * Pseudonymous, random id (sticky) per device.  May only be logged in temp
     *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
     * 
*/ com.google.protobuf.ByteString getLoggingIdBytes(); // optional string make = 3; /** * optional string make = 3; * *
     * Device make. E.g.: samsung, lge, google, sony, microsoft.
     *  Case insensitive. RoKu==roku.
     * 
*/ boolean hasMake(); /** * optional string make = 3; * *
     * Device make. E.g.: samsung, lge, google, sony, microsoft.
     *  Case insensitive. RoKu==roku.
     * 
*/ java.lang.String getMake(); /** * optional string make = 3; * *
     * Device make. E.g.: samsung, lge, google, sony, microsoft.
     *  Case insensitive. RoKu==roku.
     * 
*/ com.google.protobuf.ByteString getMakeBytes(); // optional string model = 4; /** * optional string model = 4; * *
     * Device model. E.g.: 2500X. Case insensitive. 2500X==2500x.
     * 
*/ boolean hasModel(); /** * optional string model = 4; * *
     * Device model. E.g.: 2500X. Case insensitive. 2500X==2500x.
     * 
*/ java.lang.String getModel(); /** * optional string model = 4; * *
     * Device model. E.g.: 2500X. Case insensitive. 2500X==2500x.
     * 
*/ com.google.protobuf.ByteString getModelBytes(); // optional string application_build = 5; /** * optional string application_build = 5; * *
     * App version/build. Each application defines it for itself.
     *  E.g.: GPM20140708-171921 on make=roku and model=2500X corresponds to a
     *  combination of BrightScript and C++ code compiled for mips
     *  from the git snapshot of the GPM app at the given time (20140708-171921).
     * 
*/ boolean hasApplicationBuild(); /** * optional string application_build = 5; * *
     * App version/build. Each application defines it for itself.
     *  E.g.: GPM20140708-171921 on make=roku and model=2500X corresponds to a
     *  combination of BrightScript and C++ code compiled for mips
     *  from the git snapshot of the GPM app at the given time (20140708-171921).
     * 
*/ java.lang.String getApplicationBuild(); /** * optional string application_build = 5; * *
     * App version/build. Each application defines it for itself.
     *  E.g.: GPM20140708-171921 on make=roku and model=2500X corresponds to a
     *  combination of BrightScript and C++ code compiled for mips
     *  from the git snapshot of the GPM app at the given time (20140708-171921).
     * 
*/ com.google.protobuf.ByteString getApplicationBuildBytes(); // optional string platform_version = 6; /** * optional string platform_version = 6; * *
     * Platform version. E.g.: 5.5. (Roku FW version for Play Movies launch). Can
     *  include letters (e.g.: 5.5.3254b for a beta build #3254 of the FW release
     *  5.5).
     * 
*/ boolean hasPlatformVersion(); /** * optional string platform_version = 6; * *
     * Platform version. E.g.: 5.5. (Roku FW version for Play Movies launch). Can
     *  include letters (e.g.: 5.5.3254b for a beta build #3254 of the FW release
     *  5.5).
     * 
*/ java.lang.String getPlatformVersion(); /** * optional string platform_version = 6; * *
     * Platform version. E.g.: 5.5. (Roku FW version for Play Movies launch). Can
     *  include letters (e.g.: 5.5.3254b for a beta build #3254 of the FW release
     *  5.5).
     * 
*/ com.google.protobuf.ByteString getPlatformVersionBytes(); // optional string country = 8; /** * optional string country = 8; * *
     * The chosen country from the client. e.g., "US", "KR", "JP".
     *  Where this comes from is currently app-specific
     * 
*/ boolean hasCountry(); /** * optional string country = 8; * *
     * The chosen country from the client. e.g., "US", "KR", "JP".
     *  Where this comes from is currently app-specific
     * 
*/ java.lang.String getCountry(); /** * optional string country = 8; * *
     * The chosen country from the client. e.g., "US", "KR", "JP".
     *  Where this comes from is currently app-specific
     * 
*/ com.google.protobuf.ByteString getCountryBytes(); } /** * Protobuf type {@code wireless_android_play_playlog.PlayCeClientInfo} * *
   * Attributes specific to third-party CE devices.
   *   CE devices scope
   *  - Roku
   *  - Smart TV (Non Android-TV)
   *  - PlayStation 3/4
   *  - XBox 360/One
   *
   *  We do not specify types of devices since it is defined by the pair of
   *  device_make and device_model (e.g.: make=roku + model=2500X = streaming box,
   *  make=lge + model=42LN5700 = Smart TV, make=tivo + model=roamio = Set Top Box)
   *  Next tag: 9
   * 
*/ public static final class PlayCeClientInfo extends com.google.protobuf.GeneratedMessage implements PlayCeClientInfoOrBuilder { // Use PlayCeClientInfo.newBuilder() to construct. private PlayCeClientInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private PlayCeClientInfo(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final PlayCeClientInfo defaultInstance; public static PlayCeClientInfo getDefaultInstance() { return defaultInstance; } public PlayCeClientInfo getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PlayCeClientInfo( 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; clientId_ = input.readBytes(); break; } case 26: { bitField0_ |= 0x00000004; make_ = input.readBytes(); break; } case 34: { bitField0_ |= 0x00000008; model_ = input.readBytes(); break; } case 42: { bitField0_ |= 0x00000010; applicationBuild_ = input.readBytes(); break; } case 50: { bitField0_ |= 0x00000020; platformVersion_ = input.readBytes(); break; } case 58: { bitField0_ |= 0x00000002; loggingId_ = input.readBytes(); break; } case 66: { bitField0_ |= 0x00000040; country_ = 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.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_PlayCeClientInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_PlayCeClientInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public PlayCeClientInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PlayCeClientInfo(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional string client_id = 1; public static final int CLIENT_ID_FIELD_NUMBER = 1; private java.lang.Object clientId_; /** * optional string client_id = 1; * *
     * Sticky ID that should be considered PII. This is the device serial number
     *  or another device identifier that, together with make and model, uniquely
     *  identifies the device.
     * 
*/ public boolean hasClientId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string client_id = 1; * *
     * Sticky ID that should be considered PII. This is the device serial number
     *  or another device identifier that, together with make and model, uniquely
     *  identifies the device.
     * 
*/ public java.lang.String getClientId() { java.lang.Object ref = clientId_; 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()) { clientId_ = s; } return s; } } /** * optional string client_id = 1; * *
     * Sticky ID that should be considered PII. This is the device serial number
     *  or another device identifier that, together with make and model, uniquely
     *  identifies the device.
     * 
*/ public com.google.protobuf.ByteString getClientIdBytes() { java.lang.Object ref = clientId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string logging_id = 7; public static final int LOGGING_ID_FIELD_NUMBER = 7; private java.lang.Object loggingId_; /** * optional string logging_id = 7; * *
     * Pseudonymous, random id (sticky) per device.  May only be logged in temp
     *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
     * 
*/ public boolean hasLoggingId() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string logging_id = 7; * *
     * Pseudonymous, random id (sticky) per device.  May only be logged in temp
     *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
     * 
*/ public java.lang.String getLoggingId() { java.lang.Object ref = loggingId_; 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()) { loggingId_ = s; } return s; } } /** * optional string logging_id = 7; * *
     * Pseudonymous, random id (sticky) per device.  May only be logged in temp
     *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
     * 
*/ public com.google.protobuf.ByteString getLoggingIdBytes() { java.lang.Object ref = loggingId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); loggingId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string make = 3; public static final int MAKE_FIELD_NUMBER = 3; private java.lang.Object make_; /** * optional string make = 3; * *
     * Device make. E.g.: samsung, lge, google, sony, microsoft.
     *  Case insensitive. RoKu==roku.
     * 
*/ public boolean hasMake() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string make = 3; * *
     * Device make. E.g.: samsung, lge, google, sony, microsoft.
     *  Case insensitive. RoKu==roku.
     * 
*/ public java.lang.String getMake() { java.lang.Object ref = make_; 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()) { make_ = s; } return s; } } /** * optional string make = 3; * *
     * Device make. E.g.: samsung, lge, google, sony, microsoft.
     *  Case insensitive. RoKu==roku.
     * 
*/ public com.google.protobuf.ByteString getMakeBytes() { java.lang.Object ref = make_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); make_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string model = 4; public static final int MODEL_FIELD_NUMBER = 4; private java.lang.Object model_; /** * optional string model = 4; * *
     * Device model. E.g.: 2500X. Case insensitive. 2500X==2500x.
     * 
*/ public boolean hasModel() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string model = 4; * *
     * Device model. E.g.: 2500X. Case insensitive. 2500X==2500x.
     * 
*/ public java.lang.String getModel() { java.lang.Object ref = model_; 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()) { model_ = s; } return s; } } /** * optional string model = 4; * *
     * Device model. E.g.: 2500X. Case insensitive. 2500X==2500x.
     * 
*/ public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); model_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string application_build = 5; public static final int APPLICATION_BUILD_FIELD_NUMBER = 5; private java.lang.Object applicationBuild_; /** * optional string application_build = 5; * *
     * App version/build. Each application defines it for itself.
     *  E.g.: GPM20140708-171921 on make=roku and model=2500X corresponds to a
     *  combination of BrightScript and C++ code compiled for mips
     *  from the git snapshot of the GPM app at the given time (20140708-171921).
     * 
*/ public boolean hasApplicationBuild() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string application_build = 5; * *
     * App version/build. Each application defines it for itself.
     *  E.g.: GPM20140708-171921 on make=roku and model=2500X corresponds to a
     *  combination of BrightScript and C++ code compiled for mips
     *  from the git snapshot of the GPM app at the given time (20140708-171921).
     * 
*/ public java.lang.String getApplicationBuild() { java.lang.Object ref = applicationBuild_; 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()) { applicationBuild_ = s; } return s; } } /** * optional string application_build = 5; * *
     * App version/build. Each application defines it for itself.
     *  E.g.: GPM20140708-171921 on make=roku and model=2500X corresponds to a
     *  combination of BrightScript and C++ code compiled for mips
     *  from the git snapshot of the GPM app at the given time (20140708-171921).
     * 
*/ public com.google.protobuf.ByteString getApplicationBuildBytes() { java.lang.Object ref = applicationBuild_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); applicationBuild_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string platform_version = 6; public static final int PLATFORM_VERSION_FIELD_NUMBER = 6; private java.lang.Object platformVersion_; /** * optional string platform_version = 6; * *
     * Platform version. E.g.: 5.5. (Roku FW version for Play Movies launch). Can
     *  include letters (e.g.: 5.5.3254b for a beta build #3254 of the FW release
     *  5.5).
     * 
*/ public boolean hasPlatformVersion() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional string platform_version = 6; * *
     * Platform version. E.g.: 5.5. (Roku FW version for Play Movies launch). Can
     *  include letters (e.g.: 5.5.3254b for a beta build #3254 of the FW release
     *  5.5).
     * 
*/ public java.lang.String getPlatformVersion() { java.lang.Object ref = platformVersion_; 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()) { platformVersion_ = s; } return s; } } /** * optional string platform_version = 6; * *
     * Platform version. E.g.: 5.5. (Roku FW version for Play Movies launch). Can
     *  include letters (e.g.: 5.5.3254b for a beta build #3254 of the FW release
     *  5.5).
     * 
*/ public com.google.protobuf.ByteString getPlatformVersionBytes() { java.lang.Object ref = platformVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); platformVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string country = 8; public static final int COUNTRY_FIELD_NUMBER = 8; private java.lang.Object country_; /** * optional string country = 8; * *
     * The chosen country from the client. e.g., "US", "KR", "JP".
     *  Where this comes from is currently app-specific
     * 
*/ public boolean hasCountry() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional string country = 8; * *
     * The chosen country from the client. e.g., "US", "KR", "JP".
     *  Where this comes from is currently app-specific
     * 
*/ public java.lang.String getCountry() { java.lang.Object ref = country_; 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()) { country_ = s; } return s; } } /** * optional string country = 8; * *
     * The chosen country from the client. e.g., "US", "KR", "JP".
     *  Where this comes from is currently app-specific
     * 
*/ public com.google.protobuf.ByteString getCountryBytes() { java.lang.Object ref = country_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); country_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { clientId_ = ""; loggingId_ = ""; make_ = ""; model_ = ""; applicationBuild_ = ""; platformVersion_ = ""; country_ = ""; } 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, getClientIdBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getMakeBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, getModelBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBytes(5, getApplicationBuildBytes()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeBytes(6, getPlatformVersionBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(7, getLoggingIdBytes()); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeBytes(8, getCountryBytes()); } 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, getClientIdBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getMakeBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, getModelBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, getApplicationBuildBytes()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(6, getPlatformVersionBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(7, getLoggingIdBytes()); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(8, getCountryBytes()); } 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.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo 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.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo 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 wireless_android_play_playlog.PlayCeClientInfo} * *
     * Attributes specific to third-party CE devices.
     *   CE devices scope
     *  - Roku
     *  - Smart TV (Non Android-TV)
     *  - PlayStation 3/4
     *  - XBox 360/One
     *
     *  We do not specify types of devices since it is defined by the pair of
     *  device_make and device_model (e.g.: make=roku + model=2500X = streaming box,
     *  make=lge + model=42LN5700 = Smart TV, make=tivo + model=roamio = Set Top Box)
     *  Next tag: 9
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_PlayCeClientInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_PlayCeClientInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo.Builder.class); } // Construct using com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo.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(); clientId_ = ""; bitField0_ = (bitField0_ & ~0x00000001); loggingId_ = ""; bitField0_ = (bitField0_ & ~0x00000002); make_ = ""; bitField0_ = (bitField0_ & ~0x00000004); model_ = ""; bitField0_ = (bitField0_ & ~0x00000008); applicationBuild_ = ""; bitField0_ = (bitField0_ & ~0x00000010); platformVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000020); country_ = ""; bitField0_ = (bitField0_ & ~0x00000040); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_PlayCeClientInfo_descriptor; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo getDefaultInstanceForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo.getDefaultInstance(); } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo build() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo buildPartial() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo result = new com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.clientId_ = clientId_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.loggingId_ = loggingId_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.make_ = make_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.model_ = model_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.applicationBuild_ = applicationBuild_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.platformVersion_ = platformVersion_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.country_ = country_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo) { return mergeFrom((com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo other) { if (other == com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo.getDefaultInstance()) return this; if (other.hasClientId()) { bitField0_ |= 0x00000001; clientId_ = other.clientId_; onChanged(); } if (other.hasLoggingId()) { bitField0_ |= 0x00000002; loggingId_ = other.loggingId_; onChanged(); } if (other.hasMake()) { bitField0_ |= 0x00000004; make_ = other.make_; onChanged(); } if (other.hasModel()) { bitField0_ |= 0x00000008; model_ = other.model_; onChanged(); } if (other.hasApplicationBuild()) { bitField0_ |= 0x00000010; applicationBuild_ = other.applicationBuild_; onChanged(); } if (other.hasPlatformVersion()) { bitField0_ |= 0x00000020; platformVersion_ = other.platformVersion_; onChanged(); } if (other.hasCountry()) { bitField0_ |= 0x00000040; country_ = other.country_; 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.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional string client_id = 1; private java.lang.Object clientId_ = ""; /** * optional string client_id = 1; * *
       * Sticky ID that should be considered PII. This is the device serial number
       *  or another device identifier that, together with make and model, uniquely
       *  identifies the device.
       * 
*/ public boolean hasClientId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string client_id = 1; * *
       * Sticky ID that should be considered PII. This is the device serial number
       *  or another device identifier that, together with make and model, uniquely
       *  identifies the device.
       * 
*/ public java.lang.String getClientId() { java.lang.Object ref = clientId_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); clientId_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string client_id = 1; * *
       * Sticky ID that should be considered PII. This is the device serial number
       *  or another device identifier that, together with make and model, uniquely
       *  identifies the device.
       * 
*/ public com.google.protobuf.ByteString getClientIdBytes() { java.lang.Object ref = clientId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string client_id = 1; * *
       * Sticky ID that should be considered PII. This is the device serial number
       *  or another device identifier that, together with make and model, uniquely
       *  identifies the device.
       * 
*/ public Builder setClientId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; clientId_ = value; onChanged(); return this; } /** * optional string client_id = 1; * *
       * Sticky ID that should be considered PII. This is the device serial number
       *  or another device identifier that, together with make and model, uniquely
       *  identifies the device.
       * 
*/ public Builder clearClientId() { bitField0_ = (bitField0_ & ~0x00000001); clientId_ = getDefaultInstance().getClientId(); onChanged(); return this; } /** * optional string client_id = 1; * *
       * Sticky ID that should be considered PII. This is the device serial number
       *  or another device identifier that, together with make and model, uniquely
       *  identifies the device.
       * 
*/ public Builder setClientIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; clientId_ = value; onChanged(); return this; } // optional string logging_id = 7; private java.lang.Object loggingId_ = ""; /** * optional string logging_id = 7; * *
       * Pseudonymous, random id (sticky) per device.  May only be logged in temp
       *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
       * 
*/ public boolean hasLoggingId() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string logging_id = 7; * *
       * Pseudonymous, random id (sticky) per device.  May only be logged in temp
       *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
       * 
*/ public java.lang.String getLoggingId() { java.lang.Object ref = loggingId_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); loggingId_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string logging_id = 7; * *
       * Pseudonymous, random id (sticky) per device.  May only be logged in temp
       *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
       * 
*/ public com.google.protobuf.ByteString getLoggingIdBytes() { java.lang.Object ref = loggingId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); loggingId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string logging_id = 7; * *
       * Pseudonymous, random id (sticky) per device.  May only be logged in temp
       *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
       * 
*/ public Builder setLoggingId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; loggingId_ = value; onChanged(); return this; } /** * optional string logging_id = 7; * *
       * Pseudonymous, random id (sticky) per device.  May only be logged in temp
       *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
       * 
*/ public Builder clearLoggingId() { bitField0_ = (bitField0_ & ~0x00000002); loggingId_ = getDefaultInstance().getLoggingId(); onChanged(); return this; } /** * optional string logging_id = 7; * *
       * Pseudonymous, random id (sticky) per device.  May only be logged in temp
       *  logs if GWSLogEntryProto.UserInfo.UserId is not set.
       * 
*/ public Builder setLoggingIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; loggingId_ = value; onChanged(); return this; } // optional string make = 3; private java.lang.Object make_ = ""; /** * optional string make = 3; * *
       * Device make. E.g.: samsung, lge, google, sony, microsoft.
       *  Case insensitive. RoKu==roku.
       * 
*/ public boolean hasMake() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string make = 3; * *
       * Device make. E.g.: samsung, lge, google, sony, microsoft.
       *  Case insensitive. RoKu==roku.
       * 
*/ public java.lang.String getMake() { java.lang.Object ref = make_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); make_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string make = 3; * *
       * Device make. E.g.: samsung, lge, google, sony, microsoft.
       *  Case insensitive. RoKu==roku.
       * 
*/ public com.google.protobuf.ByteString getMakeBytes() { java.lang.Object ref = make_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); make_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string make = 3; * *
       * Device make. E.g.: samsung, lge, google, sony, microsoft.
       *  Case insensitive. RoKu==roku.
       * 
*/ public Builder setMake( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; make_ = value; onChanged(); return this; } /** * optional string make = 3; * *
       * Device make. E.g.: samsung, lge, google, sony, microsoft.
       *  Case insensitive. RoKu==roku.
       * 
*/ public Builder clearMake() { bitField0_ = (bitField0_ & ~0x00000004); make_ = getDefaultInstance().getMake(); onChanged(); return this; } /** * optional string make = 3; * *
       * Device make. E.g.: samsung, lge, google, sony, microsoft.
       *  Case insensitive. RoKu==roku.
       * 
*/ public Builder setMakeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; make_ = value; onChanged(); return this; } // optional string model = 4; private java.lang.Object model_ = ""; /** * optional string model = 4; * *
       * Device model. E.g.: 2500X. Case insensitive. 2500X==2500x.
       * 
*/ public boolean hasModel() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string model = 4; * *
       * Device model. E.g.: 2500X. Case insensitive. 2500X==2500x.
       * 
*/ public java.lang.String getModel() { java.lang.Object ref = model_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); model_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string model = 4; * *
       * Device model. E.g.: 2500X. Case insensitive. 2500X==2500x.
       * 
*/ public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); model_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string model = 4; * *
       * Device model. E.g.: 2500X. Case insensitive. 2500X==2500x.
       * 
*/ public Builder setModel( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; model_ = value; onChanged(); return this; } /** * optional string model = 4; * *
       * Device model. E.g.: 2500X. Case insensitive. 2500X==2500x.
       * 
*/ public Builder clearModel() { bitField0_ = (bitField0_ & ~0x00000008); model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** * optional string model = 4; * *
       * Device model. E.g.: 2500X. Case insensitive. 2500X==2500x.
       * 
*/ public Builder setModelBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; model_ = value; onChanged(); return this; } // optional string application_build = 5; private java.lang.Object applicationBuild_ = ""; /** * optional string application_build = 5; * *
       * App version/build. Each application defines it for itself.
       *  E.g.: GPM20140708-171921 on make=roku and model=2500X corresponds to a
       *  combination of BrightScript and C++ code compiled for mips
       *  from the git snapshot of the GPM app at the given time (20140708-171921).
       * 
*/ public boolean hasApplicationBuild() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string application_build = 5; * *
       * App version/build. Each application defines it for itself.
       *  E.g.: GPM20140708-171921 on make=roku and model=2500X corresponds to a
       *  combination of BrightScript and C++ code compiled for mips
       *  from the git snapshot of the GPM app at the given time (20140708-171921).
       * 
*/ public java.lang.String getApplicationBuild() { java.lang.Object ref = applicationBuild_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); applicationBuild_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string application_build = 5; * *
       * App version/build. Each application defines it for itself.
       *  E.g.: GPM20140708-171921 on make=roku and model=2500X corresponds to a
       *  combination of BrightScript and C++ code compiled for mips
       *  from the git snapshot of the GPM app at the given time (20140708-171921).
       * 
*/ public com.google.protobuf.ByteString getApplicationBuildBytes() { java.lang.Object ref = applicationBuild_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); applicationBuild_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string application_build = 5; * *
       * App version/build. Each application defines it for itself.
       *  E.g.: GPM20140708-171921 on make=roku and model=2500X corresponds to a
       *  combination of BrightScript and C++ code compiled for mips
       *  from the git snapshot of the GPM app at the given time (20140708-171921).
       * 
*/ public Builder setApplicationBuild( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; applicationBuild_ = value; onChanged(); return this; } /** * optional string application_build = 5; * *
       * App version/build. Each application defines it for itself.
       *  E.g.: GPM20140708-171921 on make=roku and model=2500X corresponds to a
       *  combination of BrightScript and C++ code compiled for mips
       *  from the git snapshot of the GPM app at the given time (20140708-171921).
       * 
*/ public Builder clearApplicationBuild() { bitField0_ = (bitField0_ & ~0x00000010); applicationBuild_ = getDefaultInstance().getApplicationBuild(); onChanged(); return this; } /** * optional string application_build = 5; * *
       * App version/build. Each application defines it for itself.
       *  E.g.: GPM20140708-171921 on make=roku and model=2500X corresponds to a
       *  combination of BrightScript and C++ code compiled for mips
       *  from the git snapshot of the GPM app at the given time (20140708-171921).
       * 
*/ public Builder setApplicationBuildBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; applicationBuild_ = value; onChanged(); return this; } // optional string platform_version = 6; private java.lang.Object platformVersion_ = ""; /** * optional string platform_version = 6; * *
       * Platform version. E.g.: 5.5. (Roku FW version for Play Movies launch). Can
       *  include letters (e.g.: 5.5.3254b for a beta build #3254 of the FW release
       *  5.5).
       * 
*/ public boolean hasPlatformVersion() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional string platform_version = 6; * *
       * Platform version. E.g.: 5.5. (Roku FW version for Play Movies launch). Can
       *  include letters (e.g.: 5.5.3254b for a beta build #3254 of the FW release
       *  5.5).
       * 
*/ public java.lang.String getPlatformVersion() { java.lang.Object ref = platformVersion_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); platformVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string platform_version = 6; * *
       * Platform version. E.g.: 5.5. (Roku FW version for Play Movies launch). Can
       *  include letters (e.g.: 5.5.3254b for a beta build #3254 of the FW release
       *  5.5).
       * 
*/ public com.google.protobuf.ByteString getPlatformVersionBytes() { java.lang.Object ref = platformVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); platformVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string platform_version = 6; * *
       * Platform version. E.g.: 5.5. (Roku FW version for Play Movies launch). Can
       *  include letters (e.g.: 5.5.3254b for a beta build #3254 of the FW release
       *  5.5).
       * 
*/ public Builder setPlatformVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; platformVersion_ = value; onChanged(); return this; } /** * optional string platform_version = 6; * *
       * Platform version. E.g.: 5.5. (Roku FW version for Play Movies launch). Can
       *  include letters (e.g.: 5.5.3254b for a beta build #3254 of the FW release
       *  5.5).
       * 
*/ public Builder clearPlatformVersion() { bitField0_ = (bitField0_ & ~0x00000020); platformVersion_ = getDefaultInstance().getPlatformVersion(); onChanged(); return this; } /** * optional string platform_version = 6; * *
       * Platform version. E.g.: 5.5. (Roku FW version for Play Movies launch). Can
       *  include letters (e.g.: 5.5.3254b for a beta build #3254 of the FW release
       *  5.5).
       * 
*/ public Builder setPlatformVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; platformVersion_ = value; onChanged(); return this; } // optional string country = 8; private java.lang.Object country_ = ""; /** * optional string country = 8; * *
       * The chosen country from the client. e.g., "US", "KR", "JP".
       *  Where this comes from is currently app-specific
       * 
*/ public boolean hasCountry() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional string country = 8; * *
       * The chosen country from the client. e.g., "US", "KR", "JP".
       *  Where this comes from is currently app-specific
       * 
*/ public java.lang.String getCountry() { java.lang.Object ref = country_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); country_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string country = 8; * *
       * The chosen country from the client. e.g., "US", "KR", "JP".
       *  Where this comes from is currently app-specific
       * 
*/ public com.google.protobuf.ByteString getCountryBytes() { java.lang.Object ref = country_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); country_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string country = 8; * *
       * The chosen country from the client. e.g., "US", "KR", "JP".
       *  Where this comes from is currently app-specific
       * 
*/ public Builder setCountry( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; country_ = value; onChanged(); return this; } /** * optional string country = 8; * *
       * The chosen country from the client. e.g., "US", "KR", "JP".
       *  Where this comes from is currently app-specific
       * 
*/ public Builder clearCountry() { bitField0_ = (bitField0_ & ~0x00000040); country_ = getDefaultInstance().getCountry(); onChanged(); return this; } /** * optional string country = 8; * *
       * The chosen country from the client. e.g., "US", "KR", "JP".
       *  Where this comes from is currently app-specific
       * 
*/ public Builder setCountryBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; country_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:wireless_android_play_playlog.PlayCeClientInfo) } static { defaultInstance = new PlayCeClientInfo(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:wireless_android_play_playlog.PlayCeClientInfo) } public interface VrClientInfoOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional .wireless_android_play_playlog.VrClientInfo.VrClientType vr_client_type = 1; /** * optional .wireless_android_play_playlog.VrClientInfo.VrClientType vr_client_type = 1; * *
     * The VR client type for this client. One of the enum values defined above.
     * 
*/ boolean hasVrClientType(); /** * optional .wireless_android_play_playlog.VrClientInfo.VrClientType vr_client_type = 1; * *
     * The VR client type for this client. One of the enum values defined above.
     * 
*/ com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo.VrClientType getVrClientType(); // optional string sdk_version = 2; /** * optional string sdk_version = 2; * *
     * The VR client OS SDK version, in a format appropriate for the platform.
     * 
*/ boolean hasSdkVersion(); /** * optional string sdk_version = 2; * *
     * The VR client OS SDK version, in a format appropriate for the platform.
     * 
*/ java.lang.String getSdkVersion(); /** * optional string sdk_version = 2; * *
     * The VR client OS SDK version, in a format appropriate for the platform.
     * 
*/ com.google.protobuf.ByteString getSdkVersionBytes(); // optional string fingerprint = 3; /** * optional string fingerprint = 3; * *
     * The VR device build fingerprint, in a format appropriate for the platform.
     * 
*/ boolean hasFingerprint(); /** * optional string fingerprint = 3; * *
     * The VR device build fingerprint, in a format appropriate for the platform.
     * 
*/ java.lang.String getFingerprint(); /** * optional string fingerprint = 3; * *
     * The VR device build fingerprint, in a format appropriate for the platform.
     * 
*/ com.google.protobuf.ByteString getFingerprintBytes(); // optional string gvr_version = 4; /** * optional string gvr_version = 4; * *
     * Version of the Google VR Toolkit (aka GVR).
     * 
*/ boolean hasGvrVersion(); /** * optional string gvr_version = 4; * *
     * Version of the Google VR Toolkit (aka GVR).
     * 
*/ java.lang.String getGvrVersion(); /** * optional string gvr_version = 4; * *
     * Version of the Google VR Toolkit (aka GVR).
     * 
*/ com.google.protobuf.ByteString getGvrVersionBytes(); // optional string manufacturer = 5; /** * optional string manufacturer = 5; * *
     * The manufacturer of the client, for example Samsung.
     * 
*/ boolean hasManufacturer(); /** * optional string manufacturer = 5; * *
     * The manufacturer of the client, for example Samsung.
     * 
*/ java.lang.String getManufacturer(); /** * optional string manufacturer = 5; * *
     * The manufacturer of the client, for example Samsung.
     * 
*/ com.google.protobuf.ByteString getManufacturerBytes(); // optional string model = 6; /** * optional string model = 6; * *
     * The model of the client, for example Nexus 6.
     * 
*/ boolean hasModel(); /** * optional string model = 6; * *
     * The model of the client, for example Nexus 6.
     * 
*/ java.lang.String getModel(); /** * optional string model = 6; * *
     * The model of the client, for example Nexus 6.
     * 
*/ com.google.protobuf.ByteString getModelBytes(); // optional string language = 7; /** * optional string language = 7; * *
     * The chosen language from the client. e.g., "en", "ko".  We originally
     *  logged locale, but after a privacy review switched to only log language.
     * 
*/ boolean hasLanguage(); /** * optional string language = 7; * *
     * The chosen language from the client. e.g., "en", "ko".  We originally
     *  logged locale, but after a privacy review switched to only log language.
     * 
*/ java.lang.String getLanguage(); /** * optional string language = 7; * *
     * The chosen language from the client. e.g., "en", "ko".  We originally
     *  logged locale, but after a privacy review switched to only log language.
     * 
*/ com.google.protobuf.ByteString getLanguageBytes(); // optional string country = 8; /** * optional string country = 8; * *
     * The chosen country from the client. e.g., "US", "KR", "JP".
     * 
*/ boolean hasCountry(); /** * optional string country = 8; * *
     * The chosen country from the client. e.g., "US", "KR", "JP".
     * 
*/ java.lang.String getCountry(); /** * optional string country = 8; * *
     * The chosen country from the client. e.g., "US", "KR", "JP".
     * 
*/ com.google.protobuf.ByteString getCountryBytes(); // optional string unity_version = 9; /** * optional string unity_version = 9; * *
     * The version of the Unity runtime.
     * 
*/ boolean hasUnityVersion(); /** * optional string unity_version = 9; * *
     * The version of the Unity runtime.
     * 
*/ java.lang.String getUnityVersion(); /** * optional string unity_version = 9; * *
     * The version of the Unity runtime.
     * 
*/ com.google.protobuf.ByteString getUnityVersionBytes(); // optional string unity_sdk_version = 10; /** * optional string unity_sdk_version = 10; * *
     * The version of Google's VR Unity SDK.
     * 
*/ boolean hasUnitySdkVersion(); /** * optional string unity_sdk_version = 10; * *
     * The version of Google's VR Unity SDK.
     * 
*/ java.lang.String getUnitySdkVersion(); /** * optional string unity_sdk_version = 10; * *
     * The version of Google's VR Unity SDK.
     * 
*/ com.google.protobuf.ByteString getUnitySdkVersionBytes(); } /** * Protobuf type {@code wireless_android_play_playlog.VrClientInfo} * *
   * Attributes specific to VR clients. These are applications built on top of
   *  the cross-platform Google Virtual Reality Toolkit (aka GVR). They run on a
   *  variety of platforms including Android Cardboard, IOS Cardboard, Oculus, etc
   *
   *  This may be an Android phone for Cardboard, or may be a full VR headset.
   *
   *  Next tag: 11
   * 
*/ public static final class VrClientInfo extends com.google.protobuf.GeneratedMessage implements VrClientInfoOrBuilder { // Use VrClientInfo.newBuilder() to construct. private VrClientInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private VrClientInfo(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final VrClientInfo defaultInstance; public static VrClientInfo getDefaultInstance() { return defaultInstance; } public VrClientInfo getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private VrClientInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { int rawValue = input.readEnum(); com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo.VrClientType value = com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo.VrClientType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { bitField0_ |= 0x00000001; vrClientType_ = value; } break; } case 18: { bitField0_ |= 0x00000002; sdkVersion_ = input.readBytes(); break; } case 26: { bitField0_ |= 0x00000004; fingerprint_ = input.readBytes(); break; } case 34: { bitField0_ |= 0x00000008; gvrVersion_ = input.readBytes(); break; } case 42: { bitField0_ |= 0x00000010; manufacturer_ = input.readBytes(); break; } case 50: { bitField0_ |= 0x00000020; model_ = input.readBytes(); break; } case 58: { bitField0_ |= 0x00000040; language_ = input.readBytes(); break; } case 66: { bitField0_ |= 0x00000080; country_ = input.readBytes(); break; } case 74: { bitField0_ |= 0x00000100; unityVersion_ = input.readBytes(); break; } case 82: { bitField0_ |= 0x00000200; unitySdkVersion_ = 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.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_VrClientInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_VrClientInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public VrClientInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new VrClientInfo(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } /** * Protobuf enum {@code wireless_android_play_playlog.VrClientInfo.VrClientType} * *
     * The type of VR client that made this request.
     *  Next enum tag: 6
     * 
*/ public enum VrClientType implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN = 0; * *
       * VR client type is unknown.
       * 
*/ UNKNOWN(0, 0), /** * ANDROID_CARDBOARD_SDK = 1; * *
       * Client type is an Android device using the Cardboard SDK.
       * 
*/ ANDROID_CARDBOARD_SDK(1, 1), /** * IOS_CARDBOARD_SDK = 2; * *
       * Client type is an iOS device using the Cardboard SDK.
       * 
*/ IOS_CARDBOARD_SDK(2, 2), /** * ANDROID_UNITY_SDK = 3; * *
       * Client type is an Android device using Unity SDK.
       * 
*/ ANDROID_UNITY_SDK(3, 3), /** * IOS_UNITY_SDK = 4; * *
       * Client type is an iOS device using Unity SDK.
       * 
*/ IOS_UNITY_SDK(4, 4), /** * WINDOWS = 5; * *
       * Client type is a Windows machine (e.g. VrApp running Oculus or Valve).
       * 
*/ WINDOWS(5, 5), ; /** * UNKNOWN = 0; * *
       * VR client type is unknown.
       * 
*/ public static final int UNKNOWN_VALUE = 0; /** * ANDROID_CARDBOARD_SDK = 1; * *
       * Client type is an Android device using the Cardboard SDK.
       * 
*/ public static final int ANDROID_CARDBOARD_SDK_VALUE = 1; /** * IOS_CARDBOARD_SDK = 2; * *
       * Client type is an iOS device using the Cardboard SDK.
       * 
*/ public static final int IOS_CARDBOARD_SDK_VALUE = 2; /** * ANDROID_UNITY_SDK = 3; * *
       * Client type is an Android device using Unity SDK.
       * 
*/ public static final int ANDROID_UNITY_SDK_VALUE = 3; /** * IOS_UNITY_SDK = 4; * *
       * Client type is an iOS device using Unity SDK.
       * 
*/ public static final int IOS_UNITY_SDK_VALUE = 4; /** * WINDOWS = 5; * *
       * Client type is a Windows machine (e.g. VrApp running Oculus or Valve).
       * 
*/ public static final int WINDOWS_VALUE = 5; public final int getNumber() { return value; } public static VrClientType valueOf(int value) { switch (value) { case 0: return UNKNOWN; case 1: return ANDROID_CARDBOARD_SDK; case 2: return IOS_CARDBOARD_SDK; case 3: return ANDROID_UNITY_SDK; case 4: return IOS_UNITY_SDK; case 5: return WINDOWS; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public VrClientType findValueByNumber(int number) { return VrClientType.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.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo.getDescriptor().getEnumTypes().get(0); } private static final VrClientType[] VALUES = values(); public static VrClientType 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 VrClientType(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:wireless_android_play_playlog.VrClientInfo.VrClientType) } private int bitField0_; // optional .wireless_android_play_playlog.VrClientInfo.VrClientType vr_client_type = 1; public static final int VR_CLIENT_TYPE_FIELD_NUMBER = 1; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo.VrClientType vrClientType_; /** * optional .wireless_android_play_playlog.VrClientInfo.VrClientType vr_client_type = 1; * *
     * The VR client type for this client. One of the enum values defined above.
     * 
*/ public boolean hasVrClientType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .wireless_android_play_playlog.VrClientInfo.VrClientType vr_client_type = 1; * *
     * The VR client type for this client. One of the enum values defined above.
     * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo.VrClientType getVrClientType() { return vrClientType_; } // optional string sdk_version = 2; public static final int SDK_VERSION_FIELD_NUMBER = 2; private java.lang.Object sdkVersion_; /** * optional string sdk_version = 2; * *
     * The VR client OS SDK version, in a format appropriate for the platform.
     * 
*/ public boolean hasSdkVersion() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string sdk_version = 2; * *
     * The VR client OS SDK version, in a format appropriate for the platform.
     * 
*/ public java.lang.String getSdkVersion() { java.lang.Object ref = sdkVersion_; 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()) { sdkVersion_ = s; } return s; } } /** * optional string sdk_version = 2; * *
     * The VR client OS SDK version, in a format appropriate for the platform.
     * 
*/ public com.google.protobuf.ByteString getSdkVersionBytes() { java.lang.Object ref = sdkVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sdkVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string fingerprint = 3; public static final int FINGERPRINT_FIELD_NUMBER = 3; private java.lang.Object fingerprint_; /** * optional string fingerprint = 3; * *
     * The VR device build fingerprint, in a format appropriate for the platform.
     * 
*/ public boolean hasFingerprint() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string fingerprint = 3; * *
     * The VR device build fingerprint, in a format appropriate for the platform.
     * 
*/ public java.lang.String getFingerprint() { java.lang.Object ref = fingerprint_; 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()) { fingerprint_ = s; } return s; } } /** * optional string fingerprint = 3; * *
     * The VR device build fingerprint, in a format appropriate for the platform.
     * 
*/ public com.google.protobuf.ByteString getFingerprintBytes() { java.lang.Object ref = fingerprint_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fingerprint_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string gvr_version = 4; public static final int GVR_VERSION_FIELD_NUMBER = 4; private java.lang.Object gvrVersion_; /** * optional string gvr_version = 4; * *
     * Version of the Google VR Toolkit (aka GVR).
     * 
*/ public boolean hasGvrVersion() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string gvr_version = 4; * *
     * Version of the Google VR Toolkit (aka GVR).
     * 
*/ public java.lang.String getGvrVersion() { java.lang.Object ref = gvrVersion_; 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()) { gvrVersion_ = s; } return s; } } /** * optional string gvr_version = 4; * *
     * Version of the Google VR Toolkit (aka GVR).
     * 
*/ public com.google.protobuf.ByteString getGvrVersionBytes() { java.lang.Object ref = gvrVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); gvrVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string manufacturer = 5; public static final int MANUFACTURER_FIELD_NUMBER = 5; private java.lang.Object manufacturer_; /** * optional string manufacturer = 5; * *
     * The manufacturer of the client, for example Samsung.
     * 
*/ public boolean hasManufacturer() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string manufacturer = 5; * *
     * The manufacturer of the client, for example Samsung.
     * 
*/ public java.lang.String getManufacturer() { java.lang.Object ref = manufacturer_; 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()) { manufacturer_ = s; } return s; } } /** * optional string manufacturer = 5; * *
     * The manufacturer of the client, for example Samsung.
     * 
*/ public com.google.protobuf.ByteString getManufacturerBytes() { java.lang.Object ref = manufacturer_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); manufacturer_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string model = 6; public static final int MODEL_FIELD_NUMBER = 6; private java.lang.Object model_; /** * optional string model = 6; * *
     * The model of the client, for example Nexus 6.
     * 
*/ public boolean hasModel() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional string model = 6; * *
     * The model of the client, for example Nexus 6.
     * 
*/ public java.lang.String getModel() { java.lang.Object ref = model_; 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()) { model_ = s; } return s; } } /** * optional string model = 6; * *
     * The model of the client, for example Nexus 6.
     * 
*/ public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); model_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string language = 7; public static final int LANGUAGE_FIELD_NUMBER = 7; private java.lang.Object language_; /** * optional string language = 7; * *
     * The chosen language from the client. e.g., "en", "ko".  We originally
     *  logged locale, but after a privacy review switched to only log language.
     * 
*/ public boolean hasLanguage() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional string language = 7; * *
     * The chosen language from the client. e.g., "en", "ko".  We originally
     *  logged locale, but after a privacy review switched to only log language.
     * 
*/ public java.lang.String getLanguage() { java.lang.Object ref = language_; 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()) { language_ = s; } return s; } } /** * optional string language = 7; * *
     * The chosen language from the client. e.g., "en", "ko".  We originally
     *  logged locale, but after a privacy review switched to only log language.
     * 
*/ public com.google.protobuf.ByteString getLanguageBytes() { java.lang.Object ref = language_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); language_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string country = 8; public static final int COUNTRY_FIELD_NUMBER = 8; private java.lang.Object country_; /** * optional string country = 8; * *
     * The chosen country from the client. e.g., "US", "KR", "JP".
     * 
*/ public boolean hasCountry() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional string country = 8; * *
     * The chosen country from the client. e.g., "US", "KR", "JP".
     * 
*/ public java.lang.String getCountry() { java.lang.Object ref = country_; 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()) { country_ = s; } return s; } } /** * optional string country = 8; * *
     * The chosen country from the client. e.g., "US", "KR", "JP".
     * 
*/ public com.google.protobuf.ByteString getCountryBytes() { java.lang.Object ref = country_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); country_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string unity_version = 9; public static final int UNITY_VERSION_FIELD_NUMBER = 9; private java.lang.Object unityVersion_; /** * optional string unity_version = 9; * *
     * The version of the Unity runtime.
     * 
*/ public boolean hasUnityVersion() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional string unity_version = 9; * *
     * The version of the Unity runtime.
     * 
*/ public java.lang.String getUnityVersion() { java.lang.Object ref = unityVersion_; 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()) { unityVersion_ = s; } return s; } } /** * optional string unity_version = 9; * *
     * The version of the Unity runtime.
     * 
*/ public com.google.protobuf.ByteString getUnityVersionBytes() { java.lang.Object ref = unityVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); unityVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string unity_sdk_version = 10; public static final int UNITY_SDK_VERSION_FIELD_NUMBER = 10; private java.lang.Object unitySdkVersion_; /** * optional string unity_sdk_version = 10; * *
     * The version of Google's VR Unity SDK.
     * 
*/ public boolean hasUnitySdkVersion() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * optional string unity_sdk_version = 10; * *
     * The version of Google's VR Unity SDK.
     * 
*/ public java.lang.String getUnitySdkVersion() { java.lang.Object ref = unitySdkVersion_; 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()) { unitySdkVersion_ = s; } return s; } } /** * optional string unity_sdk_version = 10; * *
     * The version of Google's VR Unity SDK.
     * 
*/ public com.google.protobuf.ByteString getUnitySdkVersionBytes() { java.lang.Object ref = unitySdkVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); unitySdkVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { vrClientType_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo.VrClientType.UNKNOWN; sdkVersion_ = ""; fingerprint_ = ""; gvrVersion_ = ""; manufacturer_ = ""; model_ = ""; language_ = ""; country_ = ""; unityVersion_ = ""; unitySdkVersion_ = ""; } 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.writeEnum(1, vrClientType_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getSdkVersionBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getFingerprintBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, getGvrVersionBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBytes(5, getManufacturerBytes()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeBytes(6, getModelBytes()); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeBytes(7, getLanguageBytes()); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeBytes(8, getCountryBytes()); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeBytes(9, getUnityVersionBytes()); } if (((bitField0_ & 0x00000200) == 0x00000200)) { output.writeBytes(10, getUnitySdkVersionBytes()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, vrClientType_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getSdkVersionBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getFingerprintBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, getGvrVersionBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, getManufacturerBytes()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(6, getModelBytes()); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(7, getLanguageBytes()); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(8, getCountryBytes()); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(9, getUnityVersionBytes()); } if (((bitField0_ & 0x00000200) == 0x00000200)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(10, getUnitySdkVersionBytes()); } 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.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo 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.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo 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 wireless_android_play_playlog.VrClientInfo} * *
     * Attributes specific to VR clients. These are applications built on top of
     *  the cross-platform Google Virtual Reality Toolkit (aka GVR). They run on a
     *  variety of platforms including Android Cardboard, IOS Cardboard, Oculus, etc
     *
     *  This may be an Android phone for Cardboard, or may be a full VR headset.
     *
     *  Next tag: 11
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_VrClientInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_VrClientInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo.Builder.class); } // Construct using com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo.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(); vrClientType_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo.VrClientType.UNKNOWN; bitField0_ = (bitField0_ & ~0x00000001); sdkVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000002); fingerprint_ = ""; bitField0_ = (bitField0_ & ~0x00000004); gvrVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000008); manufacturer_ = ""; bitField0_ = (bitField0_ & ~0x00000010); model_ = ""; bitField0_ = (bitField0_ & ~0x00000020); language_ = ""; bitField0_ = (bitField0_ & ~0x00000040); country_ = ""; bitField0_ = (bitField0_ & ~0x00000080); unityVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000100); unitySdkVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000200); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_VrClientInfo_descriptor; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo getDefaultInstanceForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo.getDefaultInstance(); } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo build() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo buildPartial() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo result = new com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.vrClientType_ = vrClientType_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.sdkVersion_ = sdkVersion_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.fingerprint_ = fingerprint_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.gvrVersion_ = gvrVersion_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.manufacturer_ = manufacturer_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.model_ = model_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.language_ = language_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } result.country_ = country_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000100; } result.unityVersion_ = unityVersion_; if (((from_bitField0_ & 0x00000200) == 0x00000200)) { to_bitField0_ |= 0x00000200; } result.unitySdkVersion_ = unitySdkVersion_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo) { return mergeFrom((com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo other) { if (other == com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo.getDefaultInstance()) return this; if (other.hasVrClientType()) { setVrClientType(other.getVrClientType()); } if (other.hasSdkVersion()) { bitField0_ |= 0x00000002; sdkVersion_ = other.sdkVersion_; onChanged(); } if (other.hasFingerprint()) { bitField0_ |= 0x00000004; fingerprint_ = other.fingerprint_; onChanged(); } if (other.hasGvrVersion()) { bitField0_ |= 0x00000008; gvrVersion_ = other.gvrVersion_; onChanged(); } if (other.hasManufacturer()) { bitField0_ |= 0x00000010; manufacturer_ = other.manufacturer_; onChanged(); } if (other.hasModel()) { bitField0_ |= 0x00000020; model_ = other.model_; onChanged(); } if (other.hasLanguage()) { bitField0_ |= 0x00000040; language_ = other.language_; onChanged(); } if (other.hasCountry()) { bitField0_ |= 0x00000080; country_ = other.country_; onChanged(); } if (other.hasUnityVersion()) { bitField0_ |= 0x00000100; unityVersion_ = other.unityVersion_; onChanged(); } if (other.hasUnitySdkVersion()) { bitField0_ |= 0x00000200; unitySdkVersion_ = other.unitySdkVersion_; 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.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional .wireless_android_play_playlog.VrClientInfo.VrClientType vr_client_type = 1; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo.VrClientType vrClientType_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo.VrClientType.UNKNOWN; /** * optional .wireless_android_play_playlog.VrClientInfo.VrClientType vr_client_type = 1; * *
       * The VR client type for this client. One of the enum values defined above.
       * 
*/ public boolean hasVrClientType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .wireless_android_play_playlog.VrClientInfo.VrClientType vr_client_type = 1; * *
       * The VR client type for this client. One of the enum values defined above.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo.VrClientType getVrClientType() { return vrClientType_; } /** * optional .wireless_android_play_playlog.VrClientInfo.VrClientType vr_client_type = 1; * *
       * The VR client type for this client. One of the enum values defined above.
       * 
*/ public Builder setVrClientType(com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo.VrClientType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; vrClientType_ = value; onChanged(); return this; } /** * optional .wireless_android_play_playlog.VrClientInfo.VrClientType vr_client_type = 1; * *
       * The VR client type for this client. One of the enum values defined above.
       * 
*/ public Builder clearVrClientType() { bitField0_ = (bitField0_ & ~0x00000001); vrClientType_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo.VrClientType.UNKNOWN; onChanged(); return this; } // optional string sdk_version = 2; private java.lang.Object sdkVersion_ = ""; /** * optional string sdk_version = 2; * *
       * The VR client OS SDK version, in a format appropriate for the platform.
       * 
*/ public boolean hasSdkVersion() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string sdk_version = 2; * *
       * The VR client OS SDK version, in a format appropriate for the platform.
       * 
*/ public java.lang.String getSdkVersion() { java.lang.Object ref = sdkVersion_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); sdkVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string sdk_version = 2; * *
       * The VR client OS SDK version, in a format appropriate for the platform.
       * 
*/ public com.google.protobuf.ByteString getSdkVersionBytes() { java.lang.Object ref = sdkVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sdkVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string sdk_version = 2; * *
       * The VR client OS SDK version, in a format appropriate for the platform.
       * 
*/ public Builder setSdkVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; sdkVersion_ = value; onChanged(); return this; } /** * optional string sdk_version = 2; * *
       * The VR client OS SDK version, in a format appropriate for the platform.
       * 
*/ public Builder clearSdkVersion() { bitField0_ = (bitField0_ & ~0x00000002); sdkVersion_ = getDefaultInstance().getSdkVersion(); onChanged(); return this; } /** * optional string sdk_version = 2; * *
       * The VR client OS SDK version, in a format appropriate for the platform.
       * 
*/ public Builder setSdkVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; sdkVersion_ = value; onChanged(); return this; } // optional string fingerprint = 3; private java.lang.Object fingerprint_ = ""; /** * optional string fingerprint = 3; * *
       * The VR device build fingerprint, in a format appropriate for the platform.
       * 
*/ public boolean hasFingerprint() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string fingerprint = 3; * *
       * The VR device build fingerprint, in a format appropriate for the platform.
       * 
*/ public java.lang.String getFingerprint() { java.lang.Object ref = fingerprint_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); fingerprint_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string fingerprint = 3; * *
       * The VR device build fingerprint, in a format appropriate for the platform.
       * 
*/ public com.google.protobuf.ByteString getFingerprintBytes() { java.lang.Object ref = fingerprint_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fingerprint_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string fingerprint = 3; * *
       * The VR device build fingerprint, in a format appropriate for the platform.
       * 
*/ public Builder setFingerprint( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; fingerprint_ = value; onChanged(); return this; } /** * optional string fingerprint = 3; * *
       * The VR device build fingerprint, in a format appropriate for the platform.
       * 
*/ public Builder clearFingerprint() { bitField0_ = (bitField0_ & ~0x00000004); fingerprint_ = getDefaultInstance().getFingerprint(); onChanged(); return this; } /** * optional string fingerprint = 3; * *
       * The VR device build fingerprint, in a format appropriate for the platform.
       * 
*/ public Builder setFingerprintBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; fingerprint_ = value; onChanged(); return this; } // optional string gvr_version = 4; private java.lang.Object gvrVersion_ = ""; /** * optional string gvr_version = 4; * *
       * Version of the Google VR Toolkit (aka GVR).
       * 
*/ public boolean hasGvrVersion() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string gvr_version = 4; * *
       * Version of the Google VR Toolkit (aka GVR).
       * 
*/ public java.lang.String getGvrVersion() { java.lang.Object ref = gvrVersion_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); gvrVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string gvr_version = 4; * *
       * Version of the Google VR Toolkit (aka GVR).
       * 
*/ public com.google.protobuf.ByteString getGvrVersionBytes() { java.lang.Object ref = gvrVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); gvrVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string gvr_version = 4; * *
       * Version of the Google VR Toolkit (aka GVR).
       * 
*/ public Builder setGvrVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; gvrVersion_ = value; onChanged(); return this; } /** * optional string gvr_version = 4; * *
       * Version of the Google VR Toolkit (aka GVR).
       * 
*/ public Builder clearGvrVersion() { bitField0_ = (bitField0_ & ~0x00000008); gvrVersion_ = getDefaultInstance().getGvrVersion(); onChanged(); return this; } /** * optional string gvr_version = 4; * *
       * Version of the Google VR Toolkit (aka GVR).
       * 
*/ public Builder setGvrVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; gvrVersion_ = value; onChanged(); return this; } // optional string manufacturer = 5; private java.lang.Object manufacturer_ = ""; /** * optional string manufacturer = 5; * *
       * The manufacturer of the client, for example Samsung.
       * 
*/ public boolean hasManufacturer() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string manufacturer = 5; * *
       * The manufacturer of the client, for example Samsung.
       * 
*/ public java.lang.String getManufacturer() { java.lang.Object ref = manufacturer_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); manufacturer_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string manufacturer = 5; * *
       * The manufacturer of the client, for example Samsung.
       * 
*/ public com.google.protobuf.ByteString getManufacturerBytes() { java.lang.Object ref = manufacturer_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); manufacturer_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string manufacturer = 5; * *
       * The manufacturer of the client, for example Samsung.
       * 
*/ public Builder setManufacturer( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; manufacturer_ = value; onChanged(); return this; } /** * optional string manufacturer = 5; * *
       * The manufacturer of the client, for example Samsung.
       * 
*/ public Builder clearManufacturer() { bitField0_ = (bitField0_ & ~0x00000010); manufacturer_ = getDefaultInstance().getManufacturer(); onChanged(); return this; } /** * optional string manufacturer = 5; * *
       * The manufacturer of the client, for example Samsung.
       * 
*/ public Builder setManufacturerBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; manufacturer_ = value; onChanged(); return this; } // optional string model = 6; private java.lang.Object model_ = ""; /** * optional string model = 6; * *
       * The model of the client, for example Nexus 6.
       * 
*/ public boolean hasModel() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional string model = 6; * *
       * The model of the client, for example Nexus 6.
       * 
*/ public java.lang.String getModel() { java.lang.Object ref = model_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); model_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string model = 6; * *
       * The model of the client, for example Nexus 6.
       * 
*/ public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); model_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string model = 6; * *
       * The model of the client, for example Nexus 6.
       * 
*/ public Builder setModel( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; model_ = value; onChanged(); return this; } /** * optional string model = 6; * *
       * The model of the client, for example Nexus 6.
       * 
*/ public Builder clearModel() { bitField0_ = (bitField0_ & ~0x00000020); model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** * optional string model = 6; * *
       * The model of the client, for example Nexus 6.
       * 
*/ public Builder setModelBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; model_ = value; onChanged(); return this; } // optional string language = 7; private java.lang.Object language_ = ""; /** * optional string language = 7; * *
       * The chosen language from the client. e.g., "en", "ko".  We originally
       *  logged locale, but after a privacy review switched to only log language.
       * 
*/ public boolean hasLanguage() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional string language = 7; * *
       * The chosen language from the client. e.g., "en", "ko".  We originally
       *  logged locale, but after a privacy review switched to only log language.
       * 
*/ public java.lang.String getLanguage() { java.lang.Object ref = language_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); language_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string language = 7; * *
       * The chosen language from the client. e.g., "en", "ko".  We originally
       *  logged locale, but after a privacy review switched to only log language.
       * 
*/ public com.google.protobuf.ByteString getLanguageBytes() { java.lang.Object ref = language_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); language_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string language = 7; * *
       * The chosen language from the client. e.g., "en", "ko".  We originally
       *  logged locale, but after a privacy review switched to only log language.
       * 
*/ public Builder setLanguage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; language_ = value; onChanged(); return this; } /** * optional string language = 7; * *
       * The chosen language from the client. e.g., "en", "ko".  We originally
       *  logged locale, but after a privacy review switched to only log language.
       * 
*/ public Builder clearLanguage() { bitField0_ = (bitField0_ & ~0x00000040); language_ = getDefaultInstance().getLanguage(); onChanged(); return this; } /** * optional string language = 7; * *
       * The chosen language from the client. e.g., "en", "ko".  We originally
       *  logged locale, but after a privacy review switched to only log language.
       * 
*/ public Builder setLanguageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; language_ = value; onChanged(); return this; } // optional string country = 8; private java.lang.Object country_ = ""; /** * optional string country = 8; * *
       * The chosen country from the client. e.g., "US", "KR", "JP".
       * 
*/ public boolean hasCountry() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional string country = 8; * *
       * The chosen country from the client. e.g., "US", "KR", "JP".
       * 
*/ public java.lang.String getCountry() { java.lang.Object ref = country_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); country_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string country = 8; * *
       * The chosen country from the client. e.g., "US", "KR", "JP".
       * 
*/ public com.google.protobuf.ByteString getCountryBytes() { java.lang.Object ref = country_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); country_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string country = 8; * *
       * The chosen country from the client. e.g., "US", "KR", "JP".
       * 
*/ public Builder setCountry( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; country_ = value; onChanged(); return this; } /** * optional string country = 8; * *
       * The chosen country from the client. e.g., "US", "KR", "JP".
       * 
*/ public Builder clearCountry() { bitField0_ = (bitField0_ & ~0x00000080); country_ = getDefaultInstance().getCountry(); onChanged(); return this; } /** * optional string country = 8; * *
       * The chosen country from the client. e.g., "US", "KR", "JP".
       * 
*/ public Builder setCountryBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; country_ = value; onChanged(); return this; } // optional string unity_version = 9; private java.lang.Object unityVersion_ = ""; /** * optional string unity_version = 9; * *
       * The version of the Unity runtime.
       * 
*/ public boolean hasUnityVersion() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional string unity_version = 9; * *
       * The version of the Unity runtime.
       * 
*/ public java.lang.String getUnityVersion() { java.lang.Object ref = unityVersion_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); unityVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string unity_version = 9; * *
       * The version of the Unity runtime.
       * 
*/ public com.google.protobuf.ByteString getUnityVersionBytes() { java.lang.Object ref = unityVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); unityVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string unity_version = 9; * *
       * The version of the Unity runtime.
       * 
*/ public Builder setUnityVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; unityVersion_ = value; onChanged(); return this; } /** * optional string unity_version = 9; * *
       * The version of the Unity runtime.
       * 
*/ public Builder clearUnityVersion() { bitField0_ = (bitField0_ & ~0x00000100); unityVersion_ = getDefaultInstance().getUnityVersion(); onChanged(); return this; } /** * optional string unity_version = 9; * *
       * The version of the Unity runtime.
       * 
*/ public Builder setUnityVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; unityVersion_ = value; onChanged(); return this; } // optional string unity_sdk_version = 10; private java.lang.Object unitySdkVersion_ = ""; /** * optional string unity_sdk_version = 10; * *
       * The version of Google's VR Unity SDK.
       * 
*/ public boolean hasUnitySdkVersion() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * optional string unity_sdk_version = 10; * *
       * The version of Google's VR Unity SDK.
       * 
*/ public java.lang.String getUnitySdkVersion() { java.lang.Object ref = unitySdkVersion_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); unitySdkVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string unity_sdk_version = 10; * *
       * The version of Google's VR Unity SDK.
       * 
*/ public com.google.protobuf.ByteString getUnitySdkVersionBytes() { java.lang.Object ref = unitySdkVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); unitySdkVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string unity_sdk_version = 10; * *
       * The version of Google's VR Unity SDK.
       * 
*/ public Builder setUnitySdkVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000200; unitySdkVersion_ = value; onChanged(); return this; } /** * optional string unity_sdk_version = 10; * *
       * The version of Google's VR Unity SDK.
       * 
*/ public Builder clearUnitySdkVersion() { bitField0_ = (bitField0_ & ~0x00000200); unitySdkVersion_ = getDefaultInstance().getUnitySdkVersion(); onChanged(); return this; } /** * optional string unity_sdk_version = 10; * *
       * The version of Google's VR Unity SDK.
       * 
*/ public Builder setUnitySdkVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000200; unitySdkVersion_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:wireless_android_play_playlog.VrClientInfo) } static { defaultInstance = new VrClientInfo(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:wireless_android_play_playlog.VrClientInfo) } public interface JsClientInfoOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional string os = 1; /** * optional string os = 1; * *
     * e.g., "mac", "windows", "linux"
     * 
*/ boolean hasOs(); /** * optional string os = 1; * *
     * e.g., "mac", "windows", "linux"
     * 
*/ java.lang.String getOs(); /** * optional string os = 1; * *
     * e.g., "mac", "windows", "linux"
     * 
*/ com.google.protobuf.ByteString getOsBytes(); // optional string os_version = 2; /** * optional string os_version = 2; * *
     * The OS version (not available for everything).
     * 
*/ boolean hasOsVersion(); /** * optional string os_version = 2; * *
     * The OS version (not available for everything).
     * 
*/ java.lang.String getOsVersion(); /** * optional string os_version = 2; * *
     * The OS version (not available for everything).
     * 
*/ com.google.protobuf.ByteString getOsVersionBytes(); // optional .wireless_android_play_playlog.JsClientInfo.DeviceType device_type = 3; /** * optional .wireless_android_play_playlog.JsClientInfo.DeviceType device_type = 3; */ boolean hasDeviceType(); /** * optional .wireless_android_play_playlog.JsClientInfo.DeviceType device_type = 3; */ com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.DeviceType getDeviceType(); // optional string country = 4; /** * optional string country = 4; * *
     * The country from the client. e.g., "US", "KR", "JP".
     *  Only populated if the client explicitly sets it.
     * 
*/ boolean hasCountry(); /** * optional string country = 4; * *
     * The country from the client. e.g., "US", "KR", "JP".
     *  Only populated if the client explicitly sets it.
     * 
*/ java.lang.String getCountry(); /** * optional string country = 4; * *
     * The country from the client. e.g., "US", "KR", "JP".
     *  Only populated if the client explicitly sets it.
     * 
*/ com.google.protobuf.ByteString getCountryBytes(); // optional string locale = 5; /** * optional string locale = 5; * *
     * The locale used to display the page, e.g., "de_DE", "en", "en_US"; this may
     *  differ from the browser's locale if the user overrode the language
     *  settings.
     *  Only populated if the client explicitly sets it.
     * 
*/ boolean hasLocale(); /** * optional string locale = 5; * *
     * The locale used to display the page, e.g., "de_DE", "en", "en_US"; this may
     *  differ from the browser's locale if the user overrode the language
     *  settings.
     *  Only populated if the client explicitly sets it.
     * 
*/ java.lang.String getLocale(); /** * optional string locale = 5; * *
     * The locale used to display the page, e.g., "de_DE", "en", "en_US"; this may
     *  differ from the browser's locale if the user overrode the language
     *  settings.
     *  Only populated if the client explicitly sets it.
     * 
*/ com.google.protobuf.ByteString getLocaleBytes(); // optional .wireless_android_play_playlog.JsClientInfo.OsType os_type = 6; /** * optional .wireless_android_play_playlog.JsClientInfo.OsType os_type = 6; * *
     * e.g., MAC, WINDOWS, ANDROID etc.
     * 
*/ boolean hasOsType(); /** * optional .wireless_android_play_playlog.JsClientInfo.OsType os_type = 6; * *
     * e.g., MAC, WINDOWS, ANDROID etc.
     * 
*/ com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.OsType getOsType(); } /** * Protobuf type {@code wireless_android_play_playlog.JsClientInfo} * *
   * Attributes specific to JavaScript clients.
   *
   *  Next tag: 7
   * 
*/ public static final class JsClientInfo extends com.google.protobuf.GeneratedMessage implements JsClientInfoOrBuilder { // Use JsClientInfo.newBuilder() to construct. private JsClientInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private JsClientInfo(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final JsClientInfo defaultInstance; public static JsClientInfo getDefaultInstance() { return defaultInstance; } public JsClientInfo getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private JsClientInfo( 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; os_ = input.readBytes(); break; } case 18: { bitField0_ |= 0x00000002; osVersion_ = input.readBytes(); break; } case 24: { int rawValue = input.readEnum(); com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.DeviceType value = com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.DeviceType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(3, rawValue); } else { bitField0_ |= 0x00000004; deviceType_ = value; } break; } case 34: { bitField0_ |= 0x00000008; country_ = input.readBytes(); break; } case 42: { bitField0_ |= 0x00000010; locale_ = input.readBytes(); break; } case 48: { int rawValue = input.readEnum(); com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.OsType value = com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.OsType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(6, rawValue); } else { bitField0_ |= 0x00000020; osType_ = value; } 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.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_JsClientInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_JsClientInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public JsClientInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new JsClientInfo(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } /** * Protobuf enum {@code wireless_android_play_playlog.JsClientInfo.OsType} */ public enum OsType implements com.google.protobuf.ProtocolMessageEnum { /** * OS_UNKNOWN = 0; */ OS_UNKNOWN(0, 0), /** * MAC = 1; */ MAC(1, 1), /** * WINDOWS = 2; */ WINDOWS(2, 2), /** * ANDROID = 3; */ ANDROID(3, 3), /** * LINUX = 4; */ LINUX(4, 4), /** * CHROME_OS = 5; */ CHROME_OS(5, 5), /** * IPAD = 6; */ IPAD(6, 6), /** * IPHONE = 7; */ IPHONE(7, 7), /** * IPOD = 8; */ IPOD(8, 8), ; /** * OS_UNKNOWN = 0; */ public static final int OS_UNKNOWN_VALUE = 0; /** * MAC = 1; */ public static final int MAC_VALUE = 1; /** * WINDOWS = 2; */ public static final int WINDOWS_VALUE = 2; /** * ANDROID = 3; */ public static final int ANDROID_VALUE = 3; /** * LINUX = 4; */ public static final int LINUX_VALUE = 4; /** * CHROME_OS = 5; */ public static final int CHROME_OS_VALUE = 5; /** * IPAD = 6; */ public static final int IPAD_VALUE = 6; /** * IPHONE = 7; */ public static final int IPHONE_VALUE = 7; /** * IPOD = 8; */ public static final int IPOD_VALUE = 8; public final int getNumber() { return value; } public static OsType valueOf(int value) { switch (value) { case 0: return OS_UNKNOWN; case 1: return MAC; case 2: return WINDOWS; case 3: return ANDROID; case 4: return LINUX; case 5: return CHROME_OS; case 6: return IPAD; case 7: return IPHONE; case 8: return IPOD; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public OsType findValueByNumber(int number) { return OsType.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.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.getDescriptor().getEnumTypes().get(0); } private static final OsType[] VALUES = values(); public static OsType 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 OsType(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:wireless_android_play_playlog.JsClientInfo.OsType) } /** * Protobuf enum {@code wireless_android_play_playlog.JsClientInfo.DeviceType} */ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN = 0; */ UNKNOWN(0, 0), /** * MOBILE = 1; */ MOBILE(1, 1), /** * TABLET = 2; */ TABLET(2, 2), /** * DESKTOP = 3; */ DESKTOP(3, 3), ; /** * UNKNOWN = 0; */ public static final int UNKNOWN_VALUE = 0; /** * MOBILE = 1; */ public static final int MOBILE_VALUE = 1; /** * TABLET = 2; */ public static final int TABLET_VALUE = 2; /** * DESKTOP = 3; */ public static final int DESKTOP_VALUE = 3; public final int getNumber() { return value; } public static DeviceType valueOf(int value) { switch (value) { case 0: return UNKNOWN; case 1: return MOBILE; case 2: return TABLET; case 3: return DESKTOP; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public DeviceType findValueByNumber(int number) { return DeviceType.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.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.getDescriptor().getEnumTypes().get(1); } private static final DeviceType[] VALUES = values(); public static DeviceType 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 DeviceType(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:wireless_android_play_playlog.JsClientInfo.DeviceType) } private int bitField0_; // optional string os = 1; public static final int OS_FIELD_NUMBER = 1; private java.lang.Object os_; /** * optional string os = 1; * *
     * e.g., "mac", "windows", "linux"
     * 
*/ public boolean hasOs() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string os = 1; * *
     * e.g., "mac", "windows", "linux"
     * 
*/ public java.lang.String getOs() { java.lang.Object ref = os_; 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()) { os_ = s; } return s; } } /** * optional string os = 1; * *
     * e.g., "mac", "windows", "linux"
     * 
*/ public com.google.protobuf.ByteString getOsBytes() { java.lang.Object ref = os_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); os_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string os_version = 2; public static final int OS_VERSION_FIELD_NUMBER = 2; private java.lang.Object osVersion_; /** * optional string os_version = 2; * *
     * The OS version (not available for everything).
     * 
*/ public boolean hasOsVersion() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string os_version = 2; * *
     * The OS version (not available for everything).
     * 
*/ public java.lang.String getOsVersion() { java.lang.Object ref = osVersion_; 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()) { osVersion_ = s; } return s; } } /** * optional string os_version = 2; * *
     * The OS version (not available for everything).
     * 
*/ public com.google.protobuf.ByteString getOsVersionBytes() { java.lang.Object ref = osVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); osVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional .wireless_android_play_playlog.JsClientInfo.DeviceType device_type = 3; public static final int DEVICE_TYPE_FIELD_NUMBER = 3; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.DeviceType deviceType_; /** * optional .wireless_android_play_playlog.JsClientInfo.DeviceType device_type = 3; */ public boolean hasDeviceType() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .wireless_android_play_playlog.JsClientInfo.DeviceType device_type = 3; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.DeviceType getDeviceType() { return deviceType_; } // optional string country = 4; public static final int COUNTRY_FIELD_NUMBER = 4; private java.lang.Object country_; /** * optional string country = 4; * *
     * The country from the client. e.g., "US", "KR", "JP".
     *  Only populated if the client explicitly sets it.
     * 
*/ public boolean hasCountry() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string country = 4; * *
     * The country from the client. e.g., "US", "KR", "JP".
     *  Only populated if the client explicitly sets it.
     * 
*/ public java.lang.String getCountry() { java.lang.Object ref = country_; 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()) { country_ = s; } return s; } } /** * optional string country = 4; * *
     * The country from the client. e.g., "US", "KR", "JP".
     *  Only populated if the client explicitly sets it.
     * 
*/ public com.google.protobuf.ByteString getCountryBytes() { java.lang.Object ref = country_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); country_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string locale = 5; public static final int LOCALE_FIELD_NUMBER = 5; private java.lang.Object locale_; /** * optional string locale = 5; * *
     * The locale used to display the page, e.g., "de_DE", "en", "en_US"; this may
     *  differ from the browser's locale if the user overrode the language
     *  settings.
     *  Only populated if the client explicitly sets it.
     * 
*/ public boolean hasLocale() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string locale = 5; * *
     * The locale used to display the page, e.g., "de_DE", "en", "en_US"; this may
     *  differ from the browser's locale if the user overrode the language
     *  settings.
     *  Only populated if the client explicitly sets it.
     * 
*/ public java.lang.String getLocale() { java.lang.Object ref = locale_; 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()) { locale_ = s; } return s; } } /** * optional string locale = 5; * *
     * The locale used to display the page, e.g., "de_DE", "en", "en_US"; this may
     *  differ from the browser's locale if the user overrode the language
     *  settings.
     *  Only populated if the client explicitly sets it.
     * 
*/ public com.google.protobuf.ByteString getLocaleBytes() { java.lang.Object ref = locale_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); locale_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional .wireless_android_play_playlog.JsClientInfo.OsType os_type = 6; public static final int OS_TYPE_FIELD_NUMBER = 6; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.OsType osType_; /** * optional .wireless_android_play_playlog.JsClientInfo.OsType os_type = 6; * *
     * e.g., MAC, WINDOWS, ANDROID etc.
     * 
*/ public boolean hasOsType() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional .wireless_android_play_playlog.JsClientInfo.OsType os_type = 6; * *
     * e.g., MAC, WINDOWS, ANDROID etc.
     * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.OsType getOsType() { return osType_; } private void initFields() { os_ = ""; osVersion_ = ""; deviceType_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.DeviceType.UNKNOWN; country_ = ""; locale_ = ""; osType_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.OsType.OS_UNKNOWN; } 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, getOsBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getOsVersionBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeEnum(3, deviceType_.getNumber()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, getCountryBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBytes(5, getLocaleBytes()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeEnum(6, osType_.getNumber()); } 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, getOsBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getOsVersionBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, deviceType_.getNumber()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, getCountryBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, getLocaleBytes()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(6, osType_.getNumber()); } 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.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo 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.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo 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 wireless_android_play_playlog.JsClientInfo} * *
     * Attributes specific to JavaScript clients.
     *
     *  Next tag: 7
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_JsClientInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_JsClientInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.Builder.class); } // Construct using com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.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(); os_ = ""; bitField0_ = (bitField0_ & ~0x00000001); osVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000002); deviceType_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.DeviceType.UNKNOWN; bitField0_ = (bitField0_ & ~0x00000004); country_ = ""; bitField0_ = (bitField0_ & ~0x00000008); locale_ = ""; bitField0_ = (bitField0_ & ~0x00000010); osType_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.OsType.OS_UNKNOWN; bitField0_ = (bitField0_ & ~0x00000020); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_JsClientInfo_descriptor; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo getDefaultInstanceForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.getDefaultInstance(); } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo build() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo buildPartial() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo result = new com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.os_ = os_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.osVersion_ = osVersion_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.deviceType_ = deviceType_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.country_ = country_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.locale_ = locale_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.osType_ = osType_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo) { return mergeFrom((com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo other) { if (other == com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.getDefaultInstance()) return this; if (other.hasOs()) { bitField0_ |= 0x00000001; os_ = other.os_; onChanged(); } if (other.hasOsVersion()) { bitField0_ |= 0x00000002; osVersion_ = other.osVersion_; onChanged(); } if (other.hasDeviceType()) { setDeviceType(other.getDeviceType()); } if (other.hasCountry()) { bitField0_ |= 0x00000008; country_ = other.country_; onChanged(); } if (other.hasLocale()) { bitField0_ |= 0x00000010; locale_ = other.locale_; onChanged(); } if (other.hasOsType()) { setOsType(other.getOsType()); } 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.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional string os = 1; private java.lang.Object os_ = ""; /** * optional string os = 1; * *
       * e.g., "mac", "windows", "linux"
       * 
*/ public boolean hasOs() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string os = 1; * *
       * e.g., "mac", "windows", "linux"
       * 
*/ public java.lang.String getOs() { java.lang.Object ref = os_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); os_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string os = 1; * *
       * e.g., "mac", "windows", "linux"
       * 
*/ public com.google.protobuf.ByteString getOsBytes() { java.lang.Object ref = os_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); os_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string os = 1; * *
       * e.g., "mac", "windows", "linux"
       * 
*/ public Builder setOs( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; os_ = value; onChanged(); return this; } /** * optional string os = 1; * *
       * e.g., "mac", "windows", "linux"
       * 
*/ public Builder clearOs() { bitField0_ = (bitField0_ & ~0x00000001); os_ = getDefaultInstance().getOs(); onChanged(); return this; } /** * optional string os = 1; * *
       * e.g., "mac", "windows", "linux"
       * 
*/ public Builder setOsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; os_ = value; onChanged(); return this; } // optional string os_version = 2; private java.lang.Object osVersion_ = ""; /** * optional string os_version = 2; * *
       * The OS version (not available for everything).
       * 
*/ public boolean hasOsVersion() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string os_version = 2; * *
       * The OS version (not available for everything).
       * 
*/ public java.lang.String getOsVersion() { java.lang.Object ref = osVersion_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); osVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string os_version = 2; * *
       * The OS version (not available for everything).
       * 
*/ public com.google.protobuf.ByteString getOsVersionBytes() { java.lang.Object ref = osVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); osVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string os_version = 2; * *
       * The OS version (not available for everything).
       * 
*/ public Builder setOsVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; osVersion_ = value; onChanged(); return this; } /** * optional string os_version = 2; * *
       * The OS version (not available for everything).
       * 
*/ public Builder clearOsVersion() { bitField0_ = (bitField0_ & ~0x00000002); osVersion_ = getDefaultInstance().getOsVersion(); onChanged(); return this; } /** * optional string os_version = 2; * *
       * The OS version (not available for everything).
       * 
*/ public Builder setOsVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; osVersion_ = value; onChanged(); return this; } // optional .wireless_android_play_playlog.JsClientInfo.DeviceType device_type = 3; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.DeviceType deviceType_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.DeviceType.UNKNOWN; /** * optional .wireless_android_play_playlog.JsClientInfo.DeviceType device_type = 3; */ public boolean hasDeviceType() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .wireless_android_play_playlog.JsClientInfo.DeviceType device_type = 3; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.DeviceType getDeviceType() { return deviceType_; } /** * optional .wireless_android_play_playlog.JsClientInfo.DeviceType device_type = 3; */ public Builder setDeviceType(com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.DeviceType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; deviceType_ = value; onChanged(); return this; } /** * optional .wireless_android_play_playlog.JsClientInfo.DeviceType device_type = 3; */ public Builder clearDeviceType() { bitField0_ = (bitField0_ & ~0x00000004); deviceType_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.DeviceType.UNKNOWN; onChanged(); return this; } // optional string country = 4; private java.lang.Object country_ = ""; /** * optional string country = 4; * *
       * The country from the client. e.g., "US", "KR", "JP".
       *  Only populated if the client explicitly sets it.
       * 
*/ public boolean hasCountry() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string country = 4; * *
       * The country from the client. e.g., "US", "KR", "JP".
       *  Only populated if the client explicitly sets it.
       * 
*/ public java.lang.String getCountry() { java.lang.Object ref = country_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); country_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string country = 4; * *
       * The country from the client. e.g., "US", "KR", "JP".
       *  Only populated if the client explicitly sets it.
       * 
*/ public com.google.protobuf.ByteString getCountryBytes() { java.lang.Object ref = country_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); country_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string country = 4; * *
       * The country from the client. e.g., "US", "KR", "JP".
       *  Only populated if the client explicitly sets it.
       * 
*/ public Builder setCountry( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; country_ = value; onChanged(); return this; } /** * optional string country = 4; * *
       * The country from the client. e.g., "US", "KR", "JP".
       *  Only populated if the client explicitly sets it.
       * 
*/ public Builder clearCountry() { bitField0_ = (bitField0_ & ~0x00000008); country_ = getDefaultInstance().getCountry(); onChanged(); return this; } /** * optional string country = 4; * *
       * The country from the client. e.g., "US", "KR", "JP".
       *  Only populated if the client explicitly sets it.
       * 
*/ public Builder setCountryBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; country_ = value; onChanged(); return this; } // optional string locale = 5; private java.lang.Object locale_ = ""; /** * optional string locale = 5; * *
       * The locale used to display the page, e.g., "de_DE", "en", "en_US"; this may
       *  differ from the browser's locale if the user overrode the language
       *  settings.
       *  Only populated if the client explicitly sets it.
       * 
*/ public boolean hasLocale() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string locale = 5; * *
       * The locale used to display the page, e.g., "de_DE", "en", "en_US"; this may
       *  differ from the browser's locale if the user overrode the language
       *  settings.
       *  Only populated if the client explicitly sets it.
       * 
*/ public java.lang.String getLocale() { java.lang.Object ref = locale_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); locale_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string locale = 5; * *
       * The locale used to display the page, e.g., "de_DE", "en", "en_US"; this may
       *  differ from the browser's locale if the user overrode the language
       *  settings.
       *  Only populated if the client explicitly sets it.
       * 
*/ public com.google.protobuf.ByteString getLocaleBytes() { java.lang.Object ref = locale_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); locale_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string locale = 5; * *
       * The locale used to display the page, e.g., "de_DE", "en", "en_US"; this may
       *  differ from the browser's locale if the user overrode the language
       *  settings.
       *  Only populated if the client explicitly sets it.
       * 
*/ public Builder setLocale( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; locale_ = value; onChanged(); return this; } /** * optional string locale = 5; * *
       * The locale used to display the page, e.g., "de_DE", "en", "en_US"; this may
       *  differ from the browser's locale if the user overrode the language
       *  settings.
       *  Only populated if the client explicitly sets it.
       * 
*/ public Builder clearLocale() { bitField0_ = (bitField0_ & ~0x00000010); locale_ = getDefaultInstance().getLocale(); onChanged(); return this; } /** * optional string locale = 5; * *
       * The locale used to display the page, e.g., "de_DE", "en", "en_US"; this may
       *  differ from the browser's locale if the user overrode the language
       *  settings.
       *  Only populated if the client explicitly sets it.
       * 
*/ public Builder setLocaleBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; locale_ = value; onChanged(); return this; } // optional .wireless_android_play_playlog.JsClientInfo.OsType os_type = 6; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.OsType osType_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.OsType.OS_UNKNOWN; /** * optional .wireless_android_play_playlog.JsClientInfo.OsType os_type = 6; * *
       * e.g., MAC, WINDOWS, ANDROID etc.
       * 
*/ public boolean hasOsType() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional .wireless_android_play_playlog.JsClientInfo.OsType os_type = 6; * *
       * e.g., MAC, WINDOWS, ANDROID etc.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.OsType getOsType() { return osType_; } /** * optional .wireless_android_play_playlog.JsClientInfo.OsType os_type = 6; * *
       * e.g., MAC, WINDOWS, ANDROID etc.
       * 
*/ public Builder setOsType(com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.OsType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; osType_ = value; onChanged(); return this; } /** * optional .wireless_android_play_playlog.JsClientInfo.OsType os_type = 6; * *
       * e.g., MAC, WINDOWS, ANDROID etc.
       * 
*/ public Builder clearOsType() { bitField0_ = (bitField0_ & ~0x00000020); osType_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.OsType.OS_UNKNOWN; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:wireless_android_play_playlog.JsClientInfo) } static { defaultInstance = new JsClientInfo(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:wireless_android_play_playlog.JsClientInfo) } public interface ClientInfoOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional .wireless_android_play_playlog.ClientInfo.ClientType client_type = 1; /** * optional .wireless_android_play_playlog.ClientInfo.ClientType client_type = 1; * *
     * The client type for this client. One of the enum values defined above.
     * 
*/ boolean hasClientType(); /** * optional .wireless_android_play_playlog.ClientInfo.ClientType client_type = 1; * *
     * The client type for this client. One of the enum values defined above.
     * 
*/ com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo.ClientType getClientType(); // optional string remote_host = 6; /** * optional string remote_host = 6; * *
     * Identical to GWSLogEntryProto.RemoteHost.
     *  Set by the Clearcut server when ClientInfo is written to Footprints.
     *  Do not set this value in client code; the server will ignore it.
     * 
*/ boolean hasRemoteHost(); /** * optional string remote_host = 6; * *
     * Identical to GWSLogEntryProto.RemoteHost.
     *  Set by the Clearcut server when ClientInfo is written to Footprints.
     *  Do not set this value in client code; the server will ignore it.
     * 
*/ java.lang.String getRemoteHost(); /** * optional string remote_host = 6; * *
     * Identical to GWSLogEntryProto.RemoteHost.
     *  Set by the Clearcut server when ClientInfo is written to Footprints.
     *  Do not set this value in client code; the server will ignore it.
     * 
*/ com.google.protobuf.ByteString getRemoteHostBytes(); // optional string remote_host6 = 7; /** * optional string remote_host6 = 7; * *
     * Identical to GWSLogEntryProto.RemoteHost6.
     *  Set by the Clearcut server when ClientInfo is written to Footprints.
     *  Do not set this value in client code; the server will ignore it.
     * 
*/ boolean hasRemoteHost6(); /** * optional string remote_host6 = 7; * *
     * Identical to GWSLogEntryProto.RemoteHost6.
     *  Set by the Clearcut server when ClientInfo is written to Footprints.
     *  Do not set this value in client code; the server will ignore it.
     * 
*/ java.lang.String getRemoteHost6(); /** * optional string remote_host6 = 7; * *
     * Identical to GWSLogEntryProto.RemoteHost6.
     *  Set by the Clearcut server when ClientInfo is written to Footprints.
     *  Do not set this value in client code; the server will ignore it.
     * 
*/ com.google.protobuf.ByteString getRemoteHost6Bytes(); // optional .wireless_android_play_playlog.AndroidClientInfo android_client_info = 2; /** * optional .wireless_android_play_playlog.AndroidClientInfo android_client_info = 2; * *
     * Only one of the following *_client_info fields will exist in any request.
     * 
*/ boolean hasAndroidClientInfo(); /** * optional .wireless_android_play_playlog.AndroidClientInfo android_client_info = 2; * *
     * Only one of the following *_client_info fields will exist in any request.
     * 
*/ com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo getAndroidClientInfo(); /** * optional .wireless_android_play_playlog.AndroidClientInfo android_client_info = 2; * *
     * Only one of the following *_client_info fields will exist in any request.
     * 
*/ com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfoOrBuilder getAndroidClientInfoOrBuilder(); // optional .wireless_android_play_playlog.DesktopClientInfo desktop_client_info = 3; /** * optional .wireless_android_play_playlog.DesktopClientInfo desktop_client_info = 3; */ boolean hasDesktopClientInfo(); /** * optional .wireless_android_play_playlog.DesktopClientInfo desktop_client_info = 3; */ com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo getDesktopClientInfo(); /** * optional .wireless_android_play_playlog.DesktopClientInfo desktop_client_info = 3; */ com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfoOrBuilder getDesktopClientInfoOrBuilder(); // optional .wireless_android_play_playlog.IosClientInfo ios_client_info = 4; /** * optional .wireless_android_play_playlog.IosClientInfo ios_client_info = 4; */ boolean hasIosClientInfo(); /** * optional .wireless_android_play_playlog.IosClientInfo ios_client_info = 4; */ com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo getIosClientInfo(); /** * optional .wireless_android_play_playlog.IosClientInfo ios_client_info = 4; */ com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfoOrBuilder getIosClientInfoOrBuilder(); // optional .wireless_android_play_playlog.PlayCeClientInfo play_ce_client_info = 5; /** * optional .wireless_android_play_playlog.PlayCeClientInfo play_ce_client_info = 5; */ boolean hasPlayCeClientInfo(); /** * optional .wireless_android_play_playlog.PlayCeClientInfo play_ce_client_info = 5; */ com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo getPlayCeClientInfo(); /** * optional .wireless_android_play_playlog.PlayCeClientInfo play_ce_client_info = 5; */ com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfoOrBuilder getPlayCeClientInfoOrBuilder(); // optional .wireless_android_play_playlog.VrClientInfo vr_client_info = 8; /** * optional .wireless_android_play_playlog.VrClientInfo vr_client_info = 8; */ boolean hasVrClientInfo(); /** * optional .wireless_android_play_playlog.VrClientInfo vr_client_info = 8; */ com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo getVrClientInfo(); /** * optional .wireless_android_play_playlog.VrClientInfo vr_client_info = 8; */ com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfoOrBuilder getVrClientInfoOrBuilder(); // optional .wireless_android_play_playlog.PancettaClientInfo pancetta_client_info = 10; /** * optional .wireless_android_play_playlog.PancettaClientInfo pancetta_client_info = 10; * *
     * Pancetta contact: pancetta-cloud-eng@.
     * 
*/ boolean hasPancettaClientInfo(); /** * optional .wireless_android_play_playlog.PancettaClientInfo pancetta_client_info = 10; * *
     * Pancetta contact: pancetta-cloud-eng@.
     * 
*/ com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo getPancettaClientInfo(); /** * optional .wireless_android_play_playlog.PancettaClientInfo pancetta_client_info = 10; * *
     * Pancetta contact: pancetta-cloud-eng@.
     * 
*/ com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfoOrBuilder getPancettaClientInfoOrBuilder(); // optional .wireless_android_play_playlog.BrowserInfo browser_info = 9; /** * optional .wireless_android_play_playlog.BrowserInfo browser_info = 9; * *
     * The browser used to make the request, if accessing through any web client.
     * 
*/ boolean hasBrowserInfo(); /** * optional .wireless_android_play_playlog.BrowserInfo browser_info = 9; * *
     * The browser used to make the request, if accessing through any web client.
     * 
*/ com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo getBrowserInfo(); /** * optional .wireless_android_play_playlog.BrowserInfo browser_info = 9; * *
     * The browser used to make the request, if accessing through any web client.
     * 
*/ com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfoOrBuilder getBrowserInfoOrBuilder(); // optional .wireless_android_play_playlog.JsClientInfo js_client_info = 11; /** * optional .wireless_android_play_playlog.JsClientInfo js_client_info = 11; */ boolean hasJsClientInfo(); /** * optional .wireless_android_play_playlog.JsClientInfo js_client_info = 11; */ com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo getJsClientInfo(); /** * optional .wireless_android_play_playlog.JsClientInfo js_client_info = 11; */ com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfoOrBuilder getJsClientInfoOrBuilder(); } /** * Protobuf type {@code wireless_android_play_playlog.ClientInfo} * *
   * Next tag: 12
   * 
*/ public static final class ClientInfo extends com.google.protobuf.GeneratedMessage implements ClientInfoOrBuilder { // Use ClientInfo.newBuilder() to construct. private ClientInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private ClientInfo(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final ClientInfo defaultInstance; public static ClientInfo getDefaultInstance() { return defaultInstance; } public ClientInfo getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ClientInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { int rawValue = input.readEnum(); com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo.ClientType value = com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo.ClientType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { bitField0_ |= 0x00000001; clientType_ = value; } break; } case 18: { com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000008) == 0x00000008)) { subBuilder = androidClientInfo_.toBuilder(); } androidClientInfo_ = input.readMessage(com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(androidClientInfo_); androidClientInfo_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000008; break; } case 26: { com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000010) == 0x00000010)) { subBuilder = desktopClientInfo_.toBuilder(); } desktopClientInfo_ = input.readMessage(com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(desktopClientInfo_); desktopClientInfo_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000010; break; } case 34: { com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000020) == 0x00000020)) { subBuilder = iosClientInfo_.toBuilder(); } iosClientInfo_ = input.readMessage(com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(iosClientInfo_); iosClientInfo_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000020; break; } case 42: { com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000040) == 0x00000040)) { subBuilder = playCeClientInfo_.toBuilder(); } playCeClientInfo_ = input.readMessage(com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(playCeClientInfo_); playCeClientInfo_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000040; break; } case 50: { bitField0_ |= 0x00000002; remoteHost_ = input.readBytes(); break; } case 58: { bitField0_ |= 0x00000004; remoteHost6_ = input.readBytes(); break; } case 66: { com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000080) == 0x00000080)) { subBuilder = vrClientInfo_.toBuilder(); } vrClientInfo_ = input.readMessage(com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(vrClientInfo_); vrClientInfo_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000080; break; } case 74: { com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000200) == 0x00000200)) { subBuilder = browserInfo_.toBuilder(); } browserInfo_ = input.readMessage(com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(browserInfo_); browserInfo_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000200; break; } case 82: { com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000100) == 0x00000100)) { subBuilder = pancettaClientInfo_.toBuilder(); } pancettaClientInfo_ = input.readMessage(com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(pancettaClientInfo_); pancettaClientInfo_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000100; break; } case 90: { com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000400) == 0x00000400)) { subBuilder = jsClientInfo_.toBuilder(); } jsClientInfo_ = input.readMessage(com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(jsClientInfo_); jsClientInfo_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000400; 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.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_ClientInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_ClientInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ClientInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ClientInfo(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } /** * Protobuf enum {@code wireless_android_play_playlog.ClientInfo.ClientType} * *
     * The type of client that made this request.
     *  Next enum tag: 10
     * 
*/ public enum ClientType implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN = 0; * *
       * Client type is unknown.
       * 
*/ UNKNOWN(0, 0), /** * JS = 1; * *
       * Client type is Javascript.
       * 
*/ JS(1, 1), /** * DESKTOP = 2; * *
       * Desktop client type.
       * 
*/ DESKTOP(2, 2), /** * IOS = 3; * *
       * iOS client type.
       * 
*/ IOS(3, 3), /** * ANDROID = 4; * *
       * Android client type.
       * 
*/ ANDROID(4, 4), /** * PLAY_CE = 5; * *
       * This is to be used by third party consumer electronics devices
       *  with GooglePlay apps, e.g.: Roku, Smart TVs etc.
       * 
*/ PLAY_CE(5, 5), /** * PYTHON = 6; * *
       * Python client type.
       * 
*/ PYTHON(6, 6), /** * VR = 7; * *
       * VR client type.
       * 
*/ VR(7, 7), /** * PANCETTA = 8; * *
       * Pancetta client type. go/pancetta
       * 
*/ PANCETTA(8, 8), /** * DRIVE_FS = 9; * *
       * DriveFS client type. go/drive-fs
       * 
*/ DRIVE_FS(9, 9), ; /** * UNKNOWN = 0; * *
       * Client type is unknown.
       * 
*/ public static final int UNKNOWN_VALUE = 0; /** * JS = 1; * *
       * Client type is Javascript.
       * 
*/ public static final int JS_VALUE = 1; /** * DESKTOP = 2; * *
       * Desktop client type.
       * 
*/ public static final int DESKTOP_VALUE = 2; /** * IOS = 3; * *
       * iOS client type.
       * 
*/ public static final int IOS_VALUE = 3; /** * ANDROID = 4; * *
       * Android client type.
       * 
*/ public static final int ANDROID_VALUE = 4; /** * PLAY_CE = 5; * *
       * This is to be used by third party consumer electronics devices
       *  with GooglePlay apps, e.g.: Roku, Smart TVs etc.
       * 
*/ public static final int PLAY_CE_VALUE = 5; /** * PYTHON = 6; * *
       * Python client type.
       * 
*/ public static final int PYTHON_VALUE = 6; /** * VR = 7; * *
       * VR client type.
       * 
*/ public static final int VR_VALUE = 7; /** * PANCETTA = 8; * *
       * Pancetta client type. go/pancetta
       * 
*/ public static final int PANCETTA_VALUE = 8; /** * DRIVE_FS = 9; * *
       * DriveFS client type. go/drive-fs
       * 
*/ public static final int DRIVE_FS_VALUE = 9; public final int getNumber() { return value; } public static ClientType valueOf(int value) { switch (value) { case 0: return UNKNOWN; case 1: return JS; case 2: return DESKTOP; case 3: return IOS; case 4: return ANDROID; case 5: return PLAY_CE; case 6: return PYTHON; case 7: return VR; case 8: return PANCETTA; case 9: return DRIVE_FS; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public ClientType findValueByNumber(int number) { return ClientType.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.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo.getDescriptor().getEnumTypes().get(0); } private static final ClientType[] VALUES = values(); public static ClientType 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 ClientType(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:wireless_android_play_playlog.ClientInfo.ClientType) } private int bitField0_; // optional .wireless_android_play_playlog.ClientInfo.ClientType client_type = 1; public static final int CLIENT_TYPE_FIELD_NUMBER = 1; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo.ClientType clientType_; /** * optional .wireless_android_play_playlog.ClientInfo.ClientType client_type = 1; * *
     * The client type for this client. One of the enum values defined above.
     * 
*/ public boolean hasClientType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .wireless_android_play_playlog.ClientInfo.ClientType client_type = 1; * *
     * The client type for this client. One of the enum values defined above.
     * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo.ClientType getClientType() { return clientType_; } // optional string remote_host = 6; public static final int REMOTE_HOST_FIELD_NUMBER = 6; private java.lang.Object remoteHost_; /** * optional string remote_host = 6; * *
     * Identical to GWSLogEntryProto.RemoteHost.
     *  Set by the Clearcut server when ClientInfo is written to Footprints.
     *  Do not set this value in client code; the server will ignore it.
     * 
*/ public boolean hasRemoteHost() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string remote_host = 6; * *
     * Identical to GWSLogEntryProto.RemoteHost.
     *  Set by the Clearcut server when ClientInfo is written to Footprints.
     *  Do not set this value in client code; the server will ignore it.
     * 
*/ public java.lang.String getRemoteHost() { java.lang.Object ref = remoteHost_; 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()) { remoteHost_ = s; } return s; } } /** * optional string remote_host = 6; * *
     * Identical to GWSLogEntryProto.RemoteHost.
     *  Set by the Clearcut server when ClientInfo is written to Footprints.
     *  Do not set this value in client code; the server will ignore it.
     * 
*/ public com.google.protobuf.ByteString getRemoteHostBytes() { java.lang.Object ref = remoteHost_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); remoteHost_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string remote_host6 = 7; public static final int REMOTE_HOST6_FIELD_NUMBER = 7; private java.lang.Object remoteHost6_; /** * optional string remote_host6 = 7; * *
     * Identical to GWSLogEntryProto.RemoteHost6.
     *  Set by the Clearcut server when ClientInfo is written to Footprints.
     *  Do not set this value in client code; the server will ignore it.
     * 
*/ public boolean hasRemoteHost6() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string remote_host6 = 7; * *
     * Identical to GWSLogEntryProto.RemoteHost6.
     *  Set by the Clearcut server when ClientInfo is written to Footprints.
     *  Do not set this value in client code; the server will ignore it.
     * 
*/ public java.lang.String getRemoteHost6() { java.lang.Object ref = remoteHost6_; 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()) { remoteHost6_ = s; } return s; } } /** * optional string remote_host6 = 7; * *
     * Identical to GWSLogEntryProto.RemoteHost6.
     *  Set by the Clearcut server when ClientInfo is written to Footprints.
     *  Do not set this value in client code; the server will ignore it.
     * 
*/ public com.google.protobuf.ByteString getRemoteHost6Bytes() { java.lang.Object ref = remoteHost6_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); remoteHost6_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional .wireless_android_play_playlog.AndroidClientInfo android_client_info = 2; public static final int ANDROID_CLIENT_INFO_FIELD_NUMBER = 2; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo androidClientInfo_; /** * optional .wireless_android_play_playlog.AndroidClientInfo android_client_info = 2; * *
     * Only one of the following *_client_info fields will exist in any request.
     * 
*/ public boolean hasAndroidClientInfo() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .wireless_android_play_playlog.AndroidClientInfo android_client_info = 2; * *
     * Only one of the following *_client_info fields will exist in any request.
     * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo getAndroidClientInfo() { return androidClientInfo_; } /** * optional .wireless_android_play_playlog.AndroidClientInfo android_client_info = 2; * *
     * Only one of the following *_client_info fields will exist in any request.
     * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfoOrBuilder getAndroidClientInfoOrBuilder() { return androidClientInfo_; } // optional .wireless_android_play_playlog.DesktopClientInfo desktop_client_info = 3; public static final int DESKTOP_CLIENT_INFO_FIELD_NUMBER = 3; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo desktopClientInfo_; /** * optional .wireless_android_play_playlog.DesktopClientInfo desktop_client_info = 3; */ public boolean hasDesktopClientInfo() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional .wireless_android_play_playlog.DesktopClientInfo desktop_client_info = 3; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo getDesktopClientInfo() { return desktopClientInfo_; } /** * optional .wireless_android_play_playlog.DesktopClientInfo desktop_client_info = 3; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfoOrBuilder getDesktopClientInfoOrBuilder() { return desktopClientInfo_; } // optional .wireless_android_play_playlog.IosClientInfo ios_client_info = 4; public static final int IOS_CLIENT_INFO_FIELD_NUMBER = 4; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo iosClientInfo_; /** * optional .wireless_android_play_playlog.IosClientInfo ios_client_info = 4; */ public boolean hasIosClientInfo() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional .wireless_android_play_playlog.IosClientInfo ios_client_info = 4; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo getIosClientInfo() { return iosClientInfo_; } /** * optional .wireless_android_play_playlog.IosClientInfo ios_client_info = 4; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfoOrBuilder getIosClientInfoOrBuilder() { return iosClientInfo_; } // optional .wireless_android_play_playlog.PlayCeClientInfo play_ce_client_info = 5; public static final int PLAY_CE_CLIENT_INFO_FIELD_NUMBER = 5; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo playCeClientInfo_; /** * optional .wireless_android_play_playlog.PlayCeClientInfo play_ce_client_info = 5; */ public boolean hasPlayCeClientInfo() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional .wireless_android_play_playlog.PlayCeClientInfo play_ce_client_info = 5; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo getPlayCeClientInfo() { return playCeClientInfo_; } /** * optional .wireless_android_play_playlog.PlayCeClientInfo play_ce_client_info = 5; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfoOrBuilder getPlayCeClientInfoOrBuilder() { return playCeClientInfo_; } // optional .wireless_android_play_playlog.VrClientInfo vr_client_info = 8; public static final int VR_CLIENT_INFO_FIELD_NUMBER = 8; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo vrClientInfo_; /** * optional .wireless_android_play_playlog.VrClientInfo vr_client_info = 8; */ public boolean hasVrClientInfo() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional .wireless_android_play_playlog.VrClientInfo vr_client_info = 8; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo getVrClientInfo() { return vrClientInfo_; } /** * optional .wireless_android_play_playlog.VrClientInfo vr_client_info = 8; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfoOrBuilder getVrClientInfoOrBuilder() { return vrClientInfo_; } // optional .wireless_android_play_playlog.PancettaClientInfo pancetta_client_info = 10; public static final int PANCETTA_CLIENT_INFO_FIELD_NUMBER = 10; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo pancettaClientInfo_; /** * optional .wireless_android_play_playlog.PancettaClientInfo pancetta_client_info = 10; * *
     * Pancetta contact: pancetta-cloud-eng@.
     * 
*/ public boolean hasPancettaClientInfo() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional .wireless_android_play_playlog.PancettaClientInfo pancetta_client_info = 10; * *
     * Pancetta contact: pancetta-cloud-eng@.
     * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo getPancettaClientInfo() { return pancettaClientInfo_; } /** * optional .wireless_android_play_playlog.PancettaClientInfo pancetta_client_info = 10; * *
     * Pancetta contact: pancetta-cloud-eng@.
     * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfoOrBuilder getPancettaClientInfoOrBuilder() { return pancettaClientInfo_; } // optional .wireless_android_play_playlog.BrowserInfo browser_info = 9; public static final int BROWSER_INFO_FIELD_NUMBER = 9; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo browserInfo_; /** * optional .wireless_android_play_playlog.BrowserInfo browser_info = 9; * *
     * The browser used to make the request, if accessing through any web client.
     * 
*/ public boolean hasBrowserInfo() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * optional .wireless_android_play_playlog.BrowserInfo browser_info = 9; * *
     * The browser used to make the request, if accessing through any web client.
     * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo getBrowserInfo() { return browserInfo_; } /** * optional .wireless_android_play_playlog.BrowserInfo browser_info = 9; * *
     * The browser used to make the request, if accessing through any web client.
     * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfoOrBuilder getBrowserInfoOrBuilder() { return browserInfo_; } // optional .wireless_android_play_playlog.JsClientInfo js_client_info = 11; public static final int JS_CLIENT_INFO_FIELD_NUMBER = 11; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo jsClientInfo_; /** * optional .wireless_android_play_playlog.JsClientInfo js_client_info = 11; */ public boolean hasJsClientInfo() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * optional .wireless_android_play_playlog.JsClientInfo js_client_info = 11; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo getJsClientInfo() { return jsClientInfo_; } /** * optional .wireless_android_play_playlog.JsClientInfo js_client_info = 11; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfoOrBuilder getJsClientInfoOrBuilder() { return jsClientInfo_; } private void initFields() { clientType_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo.ClientType.UNKNOWN; remoteHost_ = ""; remoteHost6_ = ""; androidClientInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo.getDefaultInstance(); desktopClientInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo.getDefaultInstance(); iosClientInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo.getDefaultInstance(); playCeClientInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo.getDefaultInstance(); vrClientInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo.getDefaultInstance(); pancettaClientInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo.getDefaultInstance(); browserInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo.getDefaultInstance(); jsClientInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.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.writeEnum(1, clientType_.getNumber()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeMessage(2, androidClientInfo_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeMessage(3, desktopClientInfo_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeMessage(4, iosClientInfo_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeMessage(5, playCeClientInfo_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(6, getRemoteHostBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(7, getRemoteHost6Bytes()); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeMessage(8, vrClientInfo_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { output.writeMessage(9, browserInfo_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeMessage(10, pancettaClientInfo_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { output.writeMessage(11, jsClientInfo_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, clientType_.getNumber()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, androidClientInfo_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, desktopClientInfo_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, iosClientInfo_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, playCeClientInfo_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(6, getRemoteHostBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(7, getRemoteHost6Bytes()); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, vrClientInfo_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, browserInfo_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, pancettaClientInfo_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, jsClientInfo_); } 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.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo 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.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo 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 wireless_android_play_playlog.ClientInfo} * *
     * Next tag: 12
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_ClientInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_ClientInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo.Builder.class); } // Construct using com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getAndroidClientInfoFieldBuilder(); getDesktopClientInfoFieldBuilder(); getIosClientInfoFieldBuilder(); getPlayCeClientInfoFieldBuilder(); getVrClientInfoFieldBuilder(); getPancettaClientInfoFieldBuilder(); getBrowserInfoFieldBuilder(); getJsClientInfoFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); clientType_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo.ClientType.UNKNOWN; bitField0_ = (bitField0_ & ~0x00000001); remoteHost_ = ""; bitField0_ = (bitField0_ & ~0x00000002); remoteHost6_ = ""; bitField0_ = (bitField0_ & ~0x00000004); if (androidClientInfoBuilder_ == null) { androidClientInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo.getDefaultInstance(); } else { androidClientInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); if (desktopClientInfoBuilder_ == null) { desktopClientInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo.getDefaultInstance(); } else { desktopClientInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); if (iosClientInfoBuilder_ == null) { iosClientInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo.getDefaultInstance(); } else { iosClientInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); if (playCeClientInfoBuilder_ == null) { playCeClientInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo.getDefaultInstance(); } else { playCeClientInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); if (vrClientInfoBuilder_ == null) { vrClientInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo.getDefaultInstance(); } else { vrClientInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000080); if (pancettaClientInfoBuilder_ == null) { pancettaClientInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo.getDefaultInstance(); } else { pancettaClientInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); if (browserInfoBuilder_ == null) { browserInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo.getDefaultInstance(); } else { browserInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000200); if (jsClientInfoBuilder_ == null) { jsClientInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.getDefaultInstance(); } else { jsClientInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000400); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_ClientInfo_descriptor; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo getDefaultInstanceForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo.getDefaultInstance(); } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo build() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo buildPartial() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo result = new com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.clientType_ = clientType_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.remoteHost_ = remoteHost_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.remoteHost6_ = remoteHost6_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } if (androidClientInfoBuilder_ == null) { result.androidClientInfo_ = androidClientInfo_; } else { result.androidClientInfo_ = androidClientInfoBuilder_.build(); } if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } if (desktopClientInfoBuilder_ == null) { result.desktopClientInfo_ = desktopClientInfo_; } else { result.desktopClientInfo_ = desktopClientInfoBuilder_.build(); } if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } if (iosClientInfoBuilder_ == null) { result.iosClientInfo_ = iosClientInfo_; } else { result.iosClientInfo_ = iosClientInfoBuilder_.build(); } if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } if (playCeClientInfoBuilder_ == null) { result.playCeClientInfo_ = playCeClientInfo_; } else { result.playCeClientInfo_ = playCeClientInfoBuilder_.build(); } if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } if (vrClientInfoBuilder_ == null) { result.vrClientInfo_ = vrClientInfo_; } else { result.vrClientInfo_ = vrClientInfoBuilder_.build(); } if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000100; } if (pancettaClientInfoBuilder_ == null) { result.pancettaClientInfo_ = pancettaClientInfo_; } else { result.pancettaClientInfo_ = pancettaClientInfoBuilder_.build(); } if (((from_bitField0_ & 0x00000200) == 0x00000200)) { to_bitField0_ |= 0x00000200; } if (browserInfoBuilder_ == null) { result.browserInfo_ = browserInfo_; } else { result.browserInfo_ = browserInfoBuilder_.build(); } if (((from_bitField0_ & 0x00000400) == 0x00000400)) { to_bitField0_ |= 0x00000400; } if (jsClientInfoBuilder_ == null) { result.jsClientInfo_ = jsClientInfo_; } else { result.jsClientInfo_ = jsClientInfoBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo) { return mergeFrom((com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo other) { if (other == com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo.getDefaultInstance()) return this; if (other.hasClientType()) { setClientType(other.getClientType()); } if (other.hasRemoteHost()) { bitField0_ |= 0x00000002; remoteHost_ = other.remoteHost_; onChanged(); } if (other.hasRemoteHost6()) { bitField0_ |= 0x00000004; remoteHost6_ = other.remoteHost6_; onChanged(); } if (other.hasAndroidClientInfo()) { mergeAndroidClientInfo(other.getAndroidClientInfo()); } if (other.hasDesktopClientInfo()) { mergeDesktopClientInfo(other.getDesktopClientInfo()); } if (other.hasIosClientInfo()) { mergeIosClientInfo(other.getIosClientInfo()); } if (other.hasPlayCeClientInfo()) { mergePlayCeClientInfo(other.getPlayCeClientInfo()); } if (other.hasVrClientInfo()) { mergeVrClientInfo(other.getVrClientInfo()); } if (other.hasPancettaClientInfo()) { mergePancettaClientInfo(other.getPancettaClientInfo()); } if (other.hasBrowserInfo()) { mergeBrowserInfo(other.getBrowserInfo()); } if (other.hasJsClientInfo()) { mergeJsClientInfo(other.getJsClientInfo()); } 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.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional .wireless_android_play_playlog.ClientInfo.ClientType client_type = 1; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo.ClientType clientType_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo.ClientType.UNKNOWN; /** * optional .wireless_android_play_playlog.ClientInfo.ClientType client_type = 1; * *
       * The client type for this client. One of the enum values defined above.
       * 
*/ public boolean hasClientType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .wireless_android_play_playlog.ClientInfo.ClientType client_type = 1; * *
       * The client type for this client. One of the enum values defined above.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo.ClientType getClientType() { return clientType_; } /** * optional .wireless_android_play_playlog.ClientInfo.ClientType client_type = 1; * *
       * The client type for this client. One of the enum values defined above.
       * 
*/ public Builder setClientType(com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo.ClientType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; clientType_ = value; onChanged(); return this; } /** * optional .wireless_android_play_playlog.ClientInfo.ClientType client_type = 1; * *
       * The client type for this client. One of the enum values defined above.
       * 
*/ public Builder clearClientType() { bitField0_ = (bitField0_ & ~0x00000001); clientType_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo.ClientType.UNKNOWN; onChanged(); return this; } // optional string remote_host = 6; private java.lang.Object remoteHost_ = ""; /** * optional string remote_host = 6; * *
       * Identical to GWSLogEntryProto.RemoteHost.
       *  Set by the Clearcut server when ClientInfo is written to Footprints.
       *  Do not set this value in client code; the server will ignore it.
       * 
*/ public boolean hasRemoteHost() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string remote_host = 6; * *
       * Identical to GWSLogEntryProto.RemoteHost.
       *  Set by the Clearcut server when ClientInfo is written to Footprints.
       *  Do not set this value in client code; the server will ignore it.
       * 
*/ public java.lang.String getRemoteHost() { java.lang.Object ref = remoteHost_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); remoteHost_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string remote_host = 6; * *
       * Identical to GWSLogEntryProto.RemoteHost.
       *  Set by the Clearcut server when ClientInfo is written to Footprints.
       *  Do not set this value in client code; the server will ignore it.
       * 
*/ public com.google.protobuf.ByteString getRemoteHostBytes() { java.lang.Object ref = remoteHost_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); remoteHost_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string remote_host = 6; * *
       * Identical to GWSLogEntryProto.RemoteHost.
       *  Set by the Clearcut server when ClientInfo is written to Footprints.
       *  Do not set this value in client code; the server will ignore it.
       * 
*/ public Builder setRemoteHost( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; remoteHost_ = value; onChanged(); return this; } /** * optional string remote_host = 6; * *
       * Identical to GWSLogEntryProto.RemoteHost.
       *  Set by the Clearcut server when ClientInfo is written to Footprints.
       *  Do not set this value in client code; the server will ignore it.
       * 
*/ public Builder clearRemoteHost() { bitField0_ = (bitField0_ & ~0x00000002); remoteHost_ = getDefaultInstance().getRemoteHost(); onChanged(); return this; } /** * optional string remote_host = 6; * *
       * Identical to GWSLogEntryProto.RemoteHost.
       *  Set by the Clearcut server when ClientInfo is written to Footprints.
       *  Do not set this value in client code; the server will ignore it.
       * 
*/ public Builder setRemoteHostBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; remoteHost_ = value; onChanged(); return this; } // optional string remote_host6 = 7; private java.lang.Object remoteHost6_ = ""; /** * optional string remote_host6 = 7; * *
       * Identical to GWSLogEntryProto.RemoteHost6.
       *  Set by the Clearcut server when ClientInfo is written to Footprints.
       *  Do not set this value in client code; the server will ignore it.
       * 
*/ public boolean hasRemoteHost6() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string remote_host6 = 7; * *
       * Identical to GWSLogEntryProto.RemoteHost6.
       *  Set by the Clearcut server when ClientInfo is written to Footprints.
       *  Do not set this value in client code; the server will ignore it.
       * 
*/ public java.lang.String getRemoteHost6() { java.lang.Object ref = remoteHost6_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); remoteHost6_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string remote_host6 = 7; * *
       * Identical to GWSLogEntryProto.RemoteHost6.
       *  Set by the Clearcut server when ClientInfo is written to Footprints.
       *  Do not set this value in client code; the server will ignore it.
       * 
*/ public com.google.protobuf.ByteString getRemoteHost6Bytes() { java.lang.Object ref = remoteHost6_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); remoteHost6_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string remote_host6 = 7; * *
       * Identical to GWSLogEntryProto.RemoteHost6.
       *  Set by the Clearcut server when ClientInfo is written to Footprints.
       *  Do not set this value in client code; the server will ignore it.
       * 
*/ public Builder setRemoteHost6( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; remoteHost6_ = value; onChanged(); return this; } /** * optional string remote_host6 = 7; * *
       * Identical to GWSLogEntryProto.RemoteHost6.
       *  Set by the Clearcut server when ClientInfo is written to Footprints.
       *  Do not set this value in client code; the server will ignore it.
       * 
*/ public Builder clearRemoteHost6() { bitField0_ = (bitField0_ & ~0x00000004); remoteHost6_ = getDefaultInstance().getRemoteHost6(); onChanged(); return this; } /** * optional string remote_host6 = 7; * *
       * Identical to GWSLogEntryProto.RemoteHost6.
       *  Set by the Clearcut server when ClientInfo is written to Footprints.
       *  Do not set this value in client code; the server will ignore it.
       * 
*/ public Builder setRemoteHost6Bytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; remoteHost6_ = value; onChanged(); return this; } // optional .wireless_android_play_playlog.AndroidClientInfo android_client_info = 2; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo androidClientInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo, com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfoOrBuilder> androidClientInfoBuilder_; /** * optional .wireless_android_play_playlog.AndroidClientInfo android_client_info = 2; * *
       * Only one of the following *_client_info fields will exist in any request.
       * 
*/ public boolean hasAndroidClientInfo() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .wireless_android_play_playlog.AndroidClientInfo android_client_info = 2; * *
       * Only one of the following *_client_info fields will exist in any request.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo getAndroidClientInfo() { if (androidClientInfoBuilder_ == null) { return androidClientInfo_; } else { return androidClientInfoBuilder_.getMessage(); } } /** * optional .wireless_android_play_playlog.AndroidClientInfo android_client_info = 2; * *
       * Only one of the following *_client_info fields will exist in any request.
       * 
*/ public Builder setAndroidClientInfo(com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo value) { if (androidClientInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } androidClientInfo_ = value; onChanged(); } else { androidClientInfoBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /** * optional .wireless_android_play_playlog.AndroidClientInfo android_client_info = 2; * *
       * Only one of the following *_client_info fields will exist in any request.
       * 
*/ public Builder setAndroidClientInfo( com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo.Builder builderForValue) { if (androidClientInfoBuilder_ == null) { androidClientInfo_ = builderForValue.build(); onChanged(); } else { androidClientInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /** * optional .wireless_android_play_playlog.AndroidClientInfo android_client_info = 2; * *
       * Only one of the following *_client_info fields will exist in any request.
       * 
*/ public Builder mergeAndroidClientInfo(com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo value) { if (androidClientInfoBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008) && androidClientInfo_ != com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo.getDefaultInstance()) { androidClientInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo.newBuilder(androidClientInfo_).mergeFrom(value).buildPartial(); } else { androidClientInfo_ = value; } onChanged(); } else { androidClientInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /** * optional .wireless_android_play_playlog.AndroidClientInfo android_client_info = 2; * *
       * Only one of the following *_client_info fields will exist in any request.
       * 
*/ public Builder clearAndroidClientInfo() { if (androidClientInfoBuilder_ == null) { androidClientInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo.getDefaultInstance(); onChanged(); } else { androidClientInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** * optional .wireless_android_play_playlog.AndroidClientInfo android_client_info = 2; * *
       * Only one of the following *_client_info fields will exist in any request.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo.Builder getAndroidClientInfoBuilder() { bitField0_ |= 0x00000008; onChanged(); return getAndroidClientInfoFieldBuilder().getBuilder(); } /** * optional .wireless_android_play_playlog.AndroidClientInfo android_client_info = 2; * *
       * Only one of the following *_client_info fields will exist in any request.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfoOrBuilder getAndroidClientInfoOrBuilder() { if (androidClientInfoBuilder_ != null) { return androidClientInfoBuilder_.getMessageOrBuilder(); } else { return androidClientInfo_; } } /** * optional .wireless_android_play_playlog.AndroidClientInfo android_client_info = 2; * *
       * Only one of the following *_client_info fields will exist in any request.
       * 
*/ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo, com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfoOrBuilder> getAndroidClientInfoFieldBuilder() { if (androidClientInfoBuilder_ == null) { androidClientInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo, com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfo.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.AndroidClientInfoOrBuilder>( androidClientInfo_, getParentForChildren(), isClean()); androidClientInfo_ = null; } return androidClientInfoBuilder_; } // optional .wireless_android_play_playlog.DesktopClientInfo desktop_client_info = 3; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo desktopClientInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo, com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfoOrBuilder> desktopClientInfoBuilder_; /** * optional .wireless_android_play_playlog.DesktopClientInfo desktop_client_info = 3; */ public boolean hasDesktopClientInfo() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional .wireless_android_play_playlog.DesktopClientInfo desktop_client_info = 3; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo getDesktopClientInfo() { if (desktopClientInfoBuilder_ == null) { return desktopClientInfo_; } else { return desktopClientInfoBuilder_.getMessage(); } } /** * optional .wireless_android_play_playlog.DesktopClientInfo desktop_client_info = 3; */ public Builder setDesktopClientInfo(com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo value) { if (desktopClientInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } desktopClientInfo_ = value; onChanged(); } else { desktopClientInfoBuilder_.setMessage(value); } bitField0_ |= 0x00000010; return this; } /** * optional .wireless_android_play_playlog.DesktopClientInfo desktop_client_info = 3; */ public Builder setDesktopClientInfo( com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo.Builder builderForValue) { if (desktopClientInfoBuilder_ == null) { desktopClientInfo_ = builderForValue.build(); onChanged(); } else { desktopClientInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; return this; } /** * optional .wireless_android_play_playlog.DesktopClientInfo desktop_client_info = 3; */ public Builder mergeDesktopClientInfo(com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo value) { if (desktopClientInfoBuilder_ == null) { if (((bitField0_ & 0x00000010) == 0x00000010) && desktopClientInfo_ != com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo.getDefaultInstance()) { desktopClientInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo.newBuilder(desktopClientInfo_).mergeFrom(value).buildPartial(); } else { desktopClientInfo_ = value; } onChanged(); } else { desktopClientInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x00000010; return this; } /** * optional .wireless_android_play_playlog.DesktopClientInfo desktop_client_info = 3; */ public Builder clearDesktopClientInfo() { if (desktopClientInfoBuilder_ == null) { desktopClientInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo.getDefaultInstance(); onChanged(); } else { desktopClientInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); return this; } /** * optional .wireless_android_play_playlog.DesktopClientInfo desktop_client_info = 3; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo.Builder getDesktopClientInfoBuilder() { bitField0_ |= 0x00000010; onChanged(); return getDesktopClientInfoFieldBuilder().getBuilder(); } /** * optional .wireless_android_play_playlog.DesktopClientInfo desktop_client_info = 3; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfoOrBuilder getDesktopClientInfoOrBuilder() { if (desktopClientInfoBuilder_ != null) { return desktopClientInfoBuilder_.getMessageOrBuilder(); } else { return desktopClientInfo_; } } /** * optional .wireless_android_play_playlog.DesktopClientInfo desktop_client_info = 3; */ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo, com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfoOrBuilder> getDesktopClientInfoFieldBuilder() { if (desktopClientInfoBuilder_ == null) { desktopClientInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo, com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfo.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.DesktopClientInfoOrBuilder>( desktopClientInfo_, getParentForChildren(), isClean()); desktopClientInfo_ = null; } return desktopClientInfoBuilder_; } // optional .wireless_android_play_playlog.IosClientInfo ios_client_info = 4; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo iosClientInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo, com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfoOrBuilder> iosClientInfoBuilder_; /** * optional .wireless_android_play_playlog.IosClientInfo ios_client_info = 4; */ public boolean hasIosClientInfo() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional .wireless_android_play_playlog.IosClientInfo ios_client_info = 4; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo getIosClientInfo() { if (iosClientInfoBuilder_ == null) { return iosClientInfo_; } else { return iosClientInfoBuilder_.getMessage(); } } /** * optional .wireless_android_play_playlog.IosClientInfo ios_client_info = 4; */ public Builder setIosClientInfo(com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo value) { if (iosClientInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } iosClientInfo_ = value; onChanged(); } else { iosClientInfoBuilder_.setMessage(value); } bitField0_ |= 0x00000020; return this; } /** * optional .wireless_android_play_playlog.IosClientInfo ios_client_info = 4; */ public Builder setIosClientInfo( com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo.Builder builderForValue) { if (iosClientInfoBuilder_ == null) { iosClientInfo_ = builderForValue.build(); onChanged(); } else { iosClientInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; return this; } /** * optional .wireless_android_play_playlog.IosClientInfo ios_client_info = 4; */ public Builder mergeIosClientInfo(com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo value) { if (iosClientInfoBuilder_ == null) { if (((bitField0_ & 0x00000020) == 0x00000020) && iosClientInfo_ != com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo.getDefaultInstance()) { iosClientInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo.newBuilder(iosClientInfo_).mergeFrom(value).buildPartial(); } else { iosClientInfo_ = value; } onChanged(); } else { iosClientInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x00000020; return this; } /** * optional .wireless_android_play_playlog.IosClientInfo ios_client_info = 4; */ public Builder clearIosClientInfo() { if (iosClientInfoBuilder_ == null) { iosClientInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo.getDefaultInstance(); onChanged(); } else { iosClientInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); return this; } /** * optional .wireless_android_play_playlog.IosClientInfo ios_client_info = 4; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo.Builder getIosClientInfoBuilder() { bitField0_ |= 0x00000020; onChanged(); return getIosClientInfoFieldBuilder().getBuilder(); } /** * optional .wireless_android_play_playlog.IosClientInfo ios_client_info = 4; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfoOrBuilder getIosClientInfoOrBuilder() { if (iosClientInfoBuilder_ != null) { return iosClientInfoBuilder_.getMessageOrBuilder(); } else { return iosClientInfo_; } } /** * optional .wireless_android_play_playlog.IosClientInfo ios_client_info = 4; */ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo, com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfoOrBuilder> getIosClientInfoFieldBuilder() { if (iosClientInfoBuilder_ == null) { iosClientInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo, com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfo.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.IosClientInfoOrBuilder>( iosClientInfo_, getParentForChildren(), isClean()); iosClientInfo_ = null; } return iosClientInfoBuilder_; } // optional .wireless_android_play_playlog.PlayCeClientInfo play_ce_client_info = 5; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo playCeClientInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo, com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfoOrBuilder> playCeClientInfoBuilder_; /** * optional .wireless_android_play_playlog.PlayCeClientInfo play_ce_client_info = 5; */ public boolean hasPlayCeClientInfo() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional .wireless_android_play_playlog.PlayCeClientInfo play_ce_client_info = 5; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo getPlayCeClientInfo() { if (playCeClientInfoBuilder_ == null) { return playCeClientInfo_; } else { return playCeClientInfoBuilder_.getMessage(); } } /** * optional .wireless_android_play_playlog.PlayCeClientInfo play_ce_client_info = 5; */ public Builder setPlayCeClientInfo(com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo value) { if (playCeClientInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } playCeClientInfo_ = value; onChanged(); } else { playCeClientInfoBuilder_.setMessage(value); } bitField0_ |= 0x00000040; return this; } /** * optional .wireless_android_play_playlog.PlayCeClientInfo play_ce_client_info = 5; */ public Builder setPlayCeClientInfo( com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo.Builder builderForValue) { if (playCeClientInfoBuilder_ == null) { playCeClientInfo_ = builderForValue.build(); onChanged(); } else { playCeClientInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000040; return this; } /** * optional .wireless_android_play_playlog.PlayCeClientInfo play_ce_client_info = 5; */ public Builder mergePlayCeClientInfo(com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo value) { if (playCeClientInfoBuilder_ == null) { if (((bitField0_ & 0x00000040) == 0x00000040) && playCeClientInfo_ != com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo.getDefaultInstance()) { playCeClientInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo.newBuilder(playCeClientInfo_).mergeFrom(value).buildPartial(); } else { playCeClientInfo_ = value; } onChanged(); } else { playCeClientInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x00000040; return this; } /** * optional .wireless_android_play_playlog.PlayCeClientInfo play_ce_client_info = 5; */ public Builder clearPlayCeClientInfo() { if (playCeClientInfoBuilder_ == null) { playCeClientInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo.getDefaultInstance(); onChanged(); } else { playCeClientInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); return this; } /** * optional .wireless_android_play_playlog.PlayCeClientInfo play_ce_client_info = 5; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo.Builder getPlayCeClientInfoBuilder() { bitField0_ |= 0x00000040; onChanged(); return getPlayCeClientInfoFieldBuilder().getBuilder(); } /** * optional .wireless_android_play_playlog.PlayCeClientInfo play_ce_client_info = 5; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfoOrBuilder getPlayCeClientInfoOrBuilder() { if (playCeClientInfoBuilder_ != null) { return playCeClientInfoBuilder_.getMessageOrBuilder(); } else { return playCeClientInfo_; } } /** * optional .wireless_android_play_playlog.PlayCeClientInfo play_ce_client_info = 5; */ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo, com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfoOrBuilder> getPlayCeClientInfoFieldBuilder() { if (playCeClientInfoBuilder_ == null) { playCeClientInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo, com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfo.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.PlayCeClientInfoOrBuilder>( playCeClientInfo_, getParentForChildren(), isClean()); playCeClientInfo_ = null; } return playCeClientInfoBuilder_; } // optional .wireless_android_play_playlog.VrClientInfo vr_client_info = 8; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo vrClientInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo, com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfoOrBuilder> vrClientInfoBuilder_; /** * optional .wireless_android_play_playlog.VrClientInfo vr_client_info = 8; */ public boolean hasVrClientInfo() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional .wireless_android_play_playlog.VrClientInfo vr_client_info = 8; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo getVrClientInfo() { if (vrClientInfoBuilder_ == null) { return vrClientInfo_; } else { return vrClientInfoBuilder_.getMessage(); } } /** * optional .wireless_android_play_playlog.VrClientInfo vr_client_info = 8; */ public Builder setVrClientInfo(com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo value) { if (vrClientInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } vrClientInfo_ = value; onChanged(); } else { vrClientInfoBuilder_.setMessage(value); } bitField0_ |= 0x00000080; return this; } /** * optional .wireless_android_play_playlog.VrClientInfo vr_client_info = 8; */ public Builder setVrClientInfo( com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo.Builder builderForValue) { if (vrClientInfoBuilder_ == null) { vrClientInfo_ = builderForValue.build(); onChanged(); } else { vrClientInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000080; return this; } /** * optional .wireless_android_play_playlog.VrClientInfo vr_client_info = 8; */ public Builder mergeVrClientInfo(com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo value) { if (vrClientInfoBuilder_ == null) { if (((bitField0_ & 0x00000080) == 0x00000080) && vrClientInfo_ != com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo.getDefaultInstance()) { vrClientInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo.newBuilder(vrClientInfo_).mergeFrom(value).buildPartial(); } else { vrClientInfo_ = value; } onChanged(); } else { vrClientInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x00000080; return this; } /** * optional .wireless_android_play_playlog.VrClientInfo vr_client_info = 8; */ public Builder clearVrClientInfo() { if (vrClientInfoBuilder_ == null) { vrClientInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo.getDefaultInstance(); onChanged(); } else { vrClientInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000080); return this; } /** * optional .wireless_android_play_playlog.VrClientInfo vr_client_info = 8; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo.Builder getVrClientInfoBuilder() { bitField0_ |= 0x00000080; onChanged(); return getVrClientInfoFieldBuilder().getBuilder(); } /** * optional .wireless_android_play_playlog.VrClientInfo vr_client_info = 8; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfoOrBuilder getVrClientInfoOrBuilder() { if (vrClientInfoBuilder_ != null) { return vrClientInfoBuilder_.getMessageOrBuilder(); } else { return vrClientInfo_; } } /** * optional .wireless_android_play_playlog.VrClientInfo vr_client_info = 8; */ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo, com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfoOrBuilder> getVrClientInfoFieldBuilder() { if (vrClientInfoBuilder_ == null) { vrClientInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo, com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfo.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.VrClientInfoOrBuilder>( vrClientInfo_, getParentForChildren(), isClean()); vrClientInfo_ = null; } return vrClientInfoBuilder_; } // optional .wireless_android_play_playlog.PancettaClientInfo pancetta_client_info = 10; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo pancettaClientInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo, com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfoOrBuilder> pancettaClientInfoBuilder_; /** * optional .wireless_android_play_playlog.PancettaClientInfo pancetta_client_info = 10; * *
       * Pancetta contact: pancetta-cloud-eng@.
       * 
*/ public boolean hasPancettaClientInfo() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional .wireless_android_play_playlog.PancettaClientInfo pancetta_client_info = 10; * *
       * Pancetta contact: pancetta-cloud-eng@.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo getPancettaClientInfo() { if (pancettaClientInfoBuilder_ == null) { return pancettaClientInfo_; } else { return pancettaClientInfoBuilder_.getMessage(); } } /** * optional .wireless_android_play_playlog.PancettaClientInfo pancetta_client_info = 10; * *
       * Pancetta contact: pancetta-cloud-eng@.
       * 
*/ public Builder setPancettaClientInfo(com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo value) { if (pancettaClientInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } pancettaClientInfo_ = value; onChanged(); } else { pancettaClientInfoBuilder_.setMessage(value); } bitField0_ |= 0x00000100; return this; } /** * optional .wireless_android_play_playlog.PancettaClientInfo pancetta_client_info = 10; * *
       * Pancetta contact: pancetta-cloud-eng@.
       * 
*/ public Builder setPancettaClientInfo( com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo.Builder builderForValue) { if (pancettaClientInfoBuilder_ == null) { pancettaClientInfo_ = builderForValue.build(); onChanged(); } else { pancettaClientInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000100; return this; } /** * optional .wireless_android_play_playlog.PancettaClientInfo pancetta_client_info = 10; * *
       * Pancetta contact: pancetta-cloud-eng@.
       * 
*/ public Builder mergePancettaClientInfo(com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo value) { if (pancettaClientInfoBuilder_ == null) { if (((bitField0_ & 0x00000100) == 0x00000100) && pancettaClientInfo_ != com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo.getDefaultInstance()) { pancettaClientInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo.newBuilder(pancettaClientInfo_).mergeFrom(value).buildPartial(); } else { pancettaClientInfo_ = value; } onChanged(); } else { pancettaClientInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x00000100; return this; } /** * optional .wireless_android_play_playlog.PancettaClientInfo pancetta_client_info = 10; * *
       * Pancetta contact: pancetta-cloud-eng@.
       * 
*/ public Builder clearPancettaClientInfo() { if (pancettaClientInfoBuilder_ == null) { pancettaClientInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo.getDefaultInstance(); onChanged(); } else { pancettaClientInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); return this; } /** * optional .wireless_android_play_playlog.PancettaClientInfo pancetta_client_info = 10; * *
       * Pancetta contact: pancetta-cloud-eng@.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo.Builder getPancettaClientInfoBuilder() { bitField0_ |= 0x00000100; onChanged(); return getPancettaClientInfoFieldBuilder().getBuilder(); } /** * optional .wireless_android_play_playlog.PancettaClientInfo pancetta_client_info = 10; * *
       * Pancetta contact: pancetta-cloud-eng@.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfoOrBuilder getPancettaClientInfoOrBuilder() { if (pancettaClientInfoBuilder_ != null) { return pancettaClientInfoBuilder_.getMessageOrBuilder(); } else { return pancettaClientInfo_; } } /** * optional .wireless_android_play_playlog.PancettaClientInfo pancetta_client_info = 10; * *
       * Pancetta contact: pancetta-cloud-eng@.
       * 
*/ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo, com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfoOrBuilder> getPancettaClientInfoFieldBuilder() { if (pancettaClientInfoBuilder_ == null) { pancettaClientInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo, com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfo.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.PancettaClientInfoOrBuilder>( pancettaClientInfo_, getParentForChildren(), isClean()); pancettaClientInfo_ = null; } return pancettaClientInfoBuilder_; } // optional .wireless_android_play_playlog.BrowserInfo browser_info = 9; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo browserInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo, com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfoOrBuilder> browserInfoBuilder_; /** * optional .wireless_android_play_playlog.BrowserInfo browser_info = 9; * *
       * The browser used to make the request, if accessing through any web client.
       * 
*/ public boolean hasBrowserInfo() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * optional .wireless_android_play_playlog.BrowserInfo browser_info = 9; * *
       * The browser used to make the request, if accessing through any web client.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo getBrowserInfo() { if (browserInfoBuilder_ == null) { return browserInfo_; } else { return browserInfoBuilder_.getMessage(); } } /** * optional .wireless_android_play_playlog.BrowserInfo browser_info = 9; * *
       * The browser used to make the request, if accessing through any web client.
       * 
*/ public Builder setBrowserInfo(com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo value) { if (browserInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } browserInfo_ = value; onChanged(); } else { browserInfoBuilder_.setMessage(value); } bitField0_ |= 0x00000200; return this; } /** * optional .wireless_android_play_playlog.BrowserInfo browser_info = 9; * *
       * The browser used to make the request, if accessing through any web client.
       * 
*/ public Builder setBrowserInfo( com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo.Builder builderForValue) { if (browserInfoBuilder_ == null) { browserInfo_ = builderForValue.build(); onChanged(); } else { browserInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000200; return this; } /** * optional .wireless_android_play_playlog.BrowserInfo browser_info = 9; * *
       * The browser used to make the request, if accessing through any web client.
       * 
*/ public Builder mergeBrowserInfo(com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo value) { if (browserInfoBuilder_ == null) { if (((bitField0_ & 0x00000200) == 0x00000200) && browserInfo_ != com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo.getDefaultInstance()) { browserInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo.newBuilder(browserInfo_).mergeFrom(value).buildPartial(); } else { browserInfo_ = value; } onChanged(); } else { browserInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x00000200; return this; } /** * optional .wireless_android_play_playlog.BrowserInfo browser_info = 9; * *
       * The browser used to make the request, if accessing through any web client.
       * 
*/ public Builder clearBrowserInfo() { if (browserInfoBuilder_ == null) { browserInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo.getDefaultInstance(); onChanged(); } else { browserInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000200); return this; } /** * optional .wireless_android_play_playlog.BrowserInfo browser_info = 9; * *
       * The browser used to make the request, if accessing through any web client.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo.Builder getBrowserInfoBuilder() { bitField0_ |= 0x00000200; onChanged(); return getBrowserInfoFieldBuilder().getBuilder(); } /** * optional .wireless_android_play_playlog.BrowserInfo browser_info = 9; * *
       * The browser used to make the request, if accessing through any web client.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfoOrBuilder getBrowserInfoOrBuilder() { if (browserInfoBuilder_ != null) { return browserInfoBuilder_.getMessageOrBuilder(); } else { return browserInfo_; } } /** * optional .wireless_android_play_playlog.BrowserInfo browser_info = 9; * *
       * The browser used to make the request, if accessing through any web client.
       * 
*/ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo, com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfoOrBuilder> getBrowserInfoFieldBuilder() { if (browserInfoBuilder_ == null) { browserInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo, com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfo.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.BrowserInfoOrBuilder>( browserInfo_, getParentForChildren(), isClean()); browserInfo_ = null; } return browserInfoBuilder_; } // optional .wireless_android_play_playlog.JsClientInfo js_client_info = 11; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo jsClientInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo, com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfoOrBuilder> jsClientInfoBuilder_; /** * optional .wireless_android_play_playlog.JsClientInfo js_client_info = 11; */ public boolean hasJsClientInfo() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * optional .wireless_android_play_playlog.JsClientInfo js_client_info = 11; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo getJsClientInfo() { if (jsClientInfoBuilder_ == null) { return jsClientInfo_; } else { return jsClientInfoBuilder_.getMessage(); } } /** * optional .wireless_android_play_playlog.JsClientInfo js_client_info = 11; */ public Builder setJsClientInfo(com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo value) { if (jsClientInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } jsClientInfo_ = value; onChanged(); } else { jsClientInfoBuilder_.setMessage(value); } bitField0_ |= 0x00000400; return this; } /** * optional .wireless_android_play_playlog.JsClientInfo js_client_info = 11; */ public Builder setJsClientInfo( com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.Builder builderForValue) { if (jsClientInfoBuilder_ == null) { jsClientInfo_ = builderForValue.build(); onChanged(); } else { jsClientInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000400; return this; } /** * optional .wireless_android_play_playlog.JsClientInfo js_client_info = 11; */ public Builder mergeJsClientInfo(com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo value) { if (jsClientInfoBuilder_ == null) { if (((bitField0_ & 0x00000400) == 0x00000400) && jsClientInfo_ != com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.getDefaultInstance()) { jsClientInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.newBuilder(jsClientInfo_).mergeFrom(value).buildPartial(); } else { jsClientInfo_ = value; } onChanged(); } else { jsClientInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x00000400; return this; } /** * optional .wireless_android_play_playlog.JsClientInfo js_client_info = 11; */ public Builder clearJsClientInfo() { if (jsClientInfoBuilder_ == null) { jsClientInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.getDefaultInstance(); onChanged(); } else { jsClientInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000400); return this; } /** * optional .wireless_android_play_playlog.JsClientInfo js_client_info = 11; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.Builder getJsClientInfoBuilder() { bitField0_ |= 0x00000400; onChanged(); return getJsClientInfoFieldBuilder().getBuilder(); } /** * optional .wireless_android_play_playlog.JsClientInfo js_client_info = 11; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfoOrBuilder getJsClientInfoOrBuilder() { if (jsClientInfoBuilder_ != null) { return jsClientInfoBuilder_.getMessageOrBuilder(); } else { return jsClientInfo_; } } /** * optional .wireless_android_play_playlog.JsClientInfo js_client_info = 11; */ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo, com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfoOrBuilder> getJsClientInfoFieldBuilder() { if (jsClientInfoBuilder_ == null) { jsClientInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo, com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfo.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.JsClientInfoOrBuilder>( jsClientInfo_, getParentForChildren(), isClean()); jsClientInfo_ = null; } return jsClientInfoBuilder_; } // @@protoc_insertion_point(builder_scope:wireless_android_play_playlog.ClientInfo) } static { defaultInstance = new ClientInfo(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:wireless_android_play_playlog.ClientInfo) } public interface ExperimentIdListOrBuilder extends com.google.protobuf.MessageOrBuilder { // repeated string id = 1; /** * repeated string id = 1; * *
     * IDs are sorted and do not contain duplicates.
     * 
*/ java.util.List getIdList(); /** * repeated string id = 1; * *
     * IDs are sorted and do not contain duplicates.
     * 
*/ int getIdCount(); /** * repeated string id = 1; * *
     * IDs are sorted and do not contain duplicates.
     * 
*/ java.lang.String getId(int index); /** * repeated string id = 1; * *
     * IDs are sorted and do not contain duplicates.
     * 
*/ com.google.protobuf.ByteString getIdBytes(int index); } /** * Protobuf type {@code wireless_android_play_playlog.ExperimentIdList} * *
   * The list of IDs of experiments that are currently on for this client. All
   *  other experiments are off.
   *
   *  Next tag: 2
   * 
*/ public static final class ExperimentIdList extends com.google.protobuf.GeneratedMessage implements ExperimentIdListOrBuilder { // Use ExperimentIdList.newBuilder() to construct. private ExperimentIdList(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private ExperimentIdList(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final ExperimentIdList defaultInstance; public static ExperimentIdList getDefaultInstance() { return defaultInstance; } public ExperimentIdList getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ExperimentIdList( 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)) { id_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } id_.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)) { id_ = new com.google.protobuf.UnmodifiableLazyStringList(id_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_ExperimentIdList_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_ExperimentIdList_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ExperimentIdList parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ExperimentIdList(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } // repeated string id = 1; public static final int ID_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList id_; /** * repeated string id = 1; * *
     * IDs are sorted and do not contain duplicates.
     * 
*/ public java.util.List getIdList() { return id_; } /** * repeated string id = 1; * *
     * IDs are sorted and do not contain duplicates.
     * 
*/ public int getIdCount() { return id_.size(); } /** * repeated string id = 1; * *
     * IDs are sorted and do not contain duplicates.
     * 
*/ public java.lang.String getId(int index) { return id_.get(index); } /** * repeated string id = 1; * *
     * IDs are sorted and do not contain duplicates.
     * 
*/ public com.google.protobuf.ByteString getIdBytes(int index) { return id_.getByteString(index); } private void initFields() { id_ = 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 < id_.size(); i++) { output.writeBytes(1, id_.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 < id_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(id_.getByteString(i)); } size += dataSize; size += 1 * getIdList().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.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList 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.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList 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 wireless_android_play_playlog.ExperimentIdList} * *
     * The list of IDs of experiments that are currently on for this client. All
     *  other experiments are off.
     *
     *  Next tag: 2
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdListOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_ExperimentIdList_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_ExperimentIdList_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList.Builder.class); } // Construct using com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList.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(); id_ = 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.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_ExperimentIdList_descriptor; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList getDefaultInstanceForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList.getDefaultInstance(); } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList build() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList buildPartial() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList result = new com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) == 0x00000001)) { id_ = new com.google.protobuf.UnmodifiableLazyStringList( id_); bitField0_ = (bitField0_ & ~0x00000001); } result.id_ = id_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList) { return mergeFrom((com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList other) { if (other == com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList.getDefaultInstance()) return this; if (!other.id_.isEmpty()) { if (id_.isEmpty()) { id_ = other.id_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureIdIsMutable(); id_.addAll(other.id_); } 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.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // repeated string id = 1; private com.google.protobuf.LazyStringList id_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureIdIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { id_ = new com.google.protobuf.LazyStringArrayList(id_); bitField0_ |= 0x00000001; } } /** * repeated string id = 1; * *
       * IDs are sorted and do not contain duplicates.
       * 
*/ public java.util.List getIdList() { return java.util.Collections.unmodifiableList(id_); } /** * repeated string id = 1; * *
       * IDs are sorted and do not contain duplicates.
       * 
*/ public int getIdCount() { return id_.size(); } /** * repeated string id = 1; * *
       * IDs are sorted and do not contain duplicates.
       * 
*/ public java.lang.String getId(int index) { return id_.get(index); } /** * repeated string id = 1; * *
       * IDs are sorted and do not contain duplicates.
       * 
*/ public com.google.protobuf.ByteString getIdBytes(int index) { return id_.getByteString(index); } /** * repeated string id = 1; * *
       * IDs are sorted and do not contain duplicates.
       * 
*/ public Builder setId( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureIdIsMutable(); id_.set(index, value); onChanged(); return this; } /** * repeated string id = 1; * *
       * IDs are sorted and do not contain duplicates.
       * 
*/ public Builder addId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureIdIsMutable(); id_.add(value); onChanged(); return this; } /** * repeated string id = 1; * *
       * IDs are sorted and do not contain duplicates.
       * 
*/ public Builder addAllId( java.lang.Iterable values) { ensureIdIsMutable(); super.addAll(values, id_); onChanged(); return this; } /** * repeated string id = 1; * *
       * IDs are sorted and do not contain duplicates.
       * 
*/ public Builder clearId() { id_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * repeated string id = 1; * *
       * IDs are sorted and do not contain duplicates.
       * 
*/ public Builder addIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureIdIsMutable(); id_.add(value); onChanged(); return this; } // @@protoc_insertion_point(builder_scope:wireless_android_play_playlog.ExperimentIdList) } static { defaultInstance = new ExperimentIdList(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:wireless_android_play_playlog.ExperimentIdList) } public interface AppUsage1pLogEventOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional int32 app_type = 1; /** * optional int32 app_type = 1; * *
     * A wireless.android.stats.playlog.activeusers.AppType.Id value. See
     *  google3/wireless/android/stats/playlog/activeusers/apptype.proto.
     * 
*/ boolean hasAppType(); /** * optional int32 app_type = 1; * *
     * A wireless.android.stats.playlog.activeusers.AppType.Id value. See
     *  google3/wireless/android/stats/playlog/activeusers/apptype.proto.
     * 
*/ int getAppType(); // optional string android_package_name = 2; /** * optional string android_package_name = 2; * *
     * Package name of the app (on Android).
     * 
*/ boolean hasAndroidPackageName(); /** * optional string android_package_name = 2; * *
     * Package name of the app (on Android).
     * 
*/ java.lang.String getAndroidPackageName(); /** * optional string android_package_name = 2; * *
     * Package name of the app (on Android).
     * 
*/ com.google.protobuf.ByteString getAndroidPackageNameBytes(); // optional string version = 3; /** * optional string version = 3; * *
     * Version of the app.
     * 
*/ boolean hasVersion(); /** * optional string version = 3; * *
     * Version of the app.
     * 
*/ java.lang.String getVersion(); /** * optional string version = 3; * *
     * Version of the app.
     * 
*/ com.google.protobuf.ByteString getVersionBytes(); } /** * Protobuf type {@code wireless_android_play_playlog.AppUsage1pLogEvent} * *
   * First party app usage log event extension.
   *  Used only when log_source = APP_USAGE_1P.
   *
   *  TODO(jsw): Investigate whether anyone is actually using this, and if not,
   *  remove it.
   *
   *  Next tag: 4
   * 
*/ public static final class AppUsage1pLogEvent extends com.google.protobuf.GeneratedMessage implements AppUsage1pLogEventOrBuilder { // Use AppUsage1pLogEvent.newBuilder() to construct. private AppUsage1pLogEvent(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private AppUsage1pLogEvent(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final AppUsage1pLogEvent defaultInstance; public static AppUsage1pLogEvent getDefaultInstance() { return defaultInstance; } public AppUsage1pLogEvent getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AppUsage1pLogEvent( 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; appType_ = input.readInt32(); break; } case 18: { bitField0_ |= 0x00000002; androidPackageName_ = input.readBytes(); break; } case 26: { bitField0_ |= 0x00000004; version_ = 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.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_AppUsage1pLogEvent_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_AppUsage1pLogEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public AppUsage1pLogEvent parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AppUsage1pLogEvent(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional int32 app_type = 1; public static final int APP_TYPE_FIELD_NUMBER = 1; private int appType_; /** * optional int32 app_type = 1; * *
     * A wireless.android.stats.playlog.activeusers.AppType.Id value. See
     *  google3/wireless/android/stats/playlog/activeusers/apptype.proto.
     * 
*/ public boolean hasAppType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int32 app_type = 1; * *
     * A wireless.android.stats.playlog.activeusers.AppType.Id value. See
     *  google3/wireless/android/stats/playlog/activeusers/apptype.proto.
     * 
*/ public int getAppType() { return appType_; } // optional string android_package_name = 2; public static final int ANDROID_PACKAGE_NAME_FIELD_NUMBER = 2; private java.lang.Object androidPackageName_; /** * optional string android_package_name = 2; * *
     * Package name of the app (on Android).
     * 
*/ public boolean hasAndroidPackageName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string android_package_name = 2; * *
     * Package name of the app (on Android).
     * 
*/ public java.lang.String getAndroidPackageName() { java.lang.Object ref = androidPackageName_; 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()) { androidPackageName_ = s; } return s; } } /** * optional string android_package_name = 2; * *
     * Package name of the app (on Android).
     * 
*/ public com.google.protobuf.ByteString getAndroidPackageNameBytes() { java.lang.Object ref = androidPackageName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); androidPackageName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string version = 3; public static final int VERSION_FIELD_NUMBER = 3; private java.lang.Object version_; /** * optional string version = 3; * *
     * Version of the app.
     * 
*/ public boolean hasVersion() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string version = 3; * *
     * Version of the app.
     * 
*/ public java.lang.String getVersion() { java.lang.Object ref = version_; 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()) { version_ = s; } return s; } } /** * optional string version = 3; * *
     * Version of the app.
     * 
*/ public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); version_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { appType_ = 0; androidPackageName_ = ""; version_ = ""; } 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, appType_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getAndroidPackageNameBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getVersionBytes()); } 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, appType_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getAndroidPackageNameBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getVersionBytes()); } 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.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent 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.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent 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 wireless_android_play_playlog.AppUsage1pLogEvent} * *
     * First party app usage log event extension.
     *  Used only when log_source = APP_USAGE_1P.
     *
     *  TODO(jsw): Investigate whether anyone is actually using this, and if not,
     *  remove it.
     *
     *  Next tag: 4
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEventOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_AppUsage1pLogEvent_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_AppUsage1pLogEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent.Builder.class); } // Construct using com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent.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(); appType_ = 0; bitField0_ = (bitField0_ & ~0x00000001); androidPackageName_ = ""; bitField0_ = (bitField0_ & ~0x00000002); version_ = ""; bitField0_ = (bitField0_ & ~0x00000004); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_AppUsage1pLogEvent_descriptor; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent getDefaultInstanceForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent.getDefaultInstance(); } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent build() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent buildPartial() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent result = new com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.appType_ = appType_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.androidPackageName_ = androidPackageName_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.version_ = version_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent) { return mergeFrom((com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent other) { if (other == com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent.getDefaultInstance()) return this; if (other.hasAppType()) { setAppType(other.getAppType()); } if (other.hasAndroidPackageName()) { bitField0_ |= 0x00000002; androidPackageName_ = other.androidPackageName_; onChanged(); } if (other.hasVersion()) { bitField0_ |= 0x00000004; version_ = other.version_; 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.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.play.playlog.proto.ClientAnalytics.AppUsage1pLogEvent) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional int32 app_type = 1; private int appType_ ; /** * optional int32 app_type = 1; * *
       * A wireless.android.stats.playlog.activeusers.AppType.Id value. See
       *  google3/wireless/android/stats/playlog/activeusers/apptype.proto.
       * 
*/ public boolean hasAppType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int32 app_type = 1; * *
       * A wireless.android.stats.playlog.activeusers.AppType.Id value. See
       *  google3/wireless/android/stats/playlog/activeusers/apptype.proto.
       * 
*/ public int getAppType() { return appType_; } /** * optional int32 app_type = 1; * *
       * A wireless.android.stats.playlog.activeusers.AppType.Id value. See
       *  google3/wireless/android/stats/playlog/activeusers/apptype.proto.
       * 
*/ public Builder setAppType(int value) { bitField0_ |= 0x00000001; appType_ = value; onChanged(); return this; } /** * optional int32 app_type = 1; * *
       * A wireless.android.stats.playlog.activeusers.AppType.Id value. See
       *  google3/wireless/android/stats/playlog/activeusers/apptype.proto.
       * 
*/ public Builder clearAppType() { bitField0_ = (bitField0_ & ~0x00000001); appType_ = 0; onChanged(); return this; } // optional string android_package_name = 2; private java.lang.Object androidPackageName_ = ""; /** * optional string android_package_name = 2; * *
       * Package name of the app (on Android).
       * 
*/ public boolean hasAndroidPackageName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string android_package_name = 2; * *
       * Package name of the app (on Android).
       * 
*/ public java.lang.String getAndroidPackageName() { java.lang.Object ref = androidPackageName_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); androidPackageName_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string android_package_name = 2; * *
       * Package name of the app (on Android).
       * 
*/ public com.google.protobuf.ByteString getAndroidPackageNameBytes() { java.lang.Object ref = androidPackageName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); androidPackageName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string android_package_name = 2; * *
       * Package name of the app (on Android).
       * 
*/ public Builder setAndroidPackageName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; androidPackageName_ = value; onChanged(); return this; } /** * optional string android_package_name = 2; * *
       * Package name of the app (on Android).
       * 
*/ public Builder clearAndroidPackageName() { bitField0_ = (bitField0_ & ~0x00000002); androidPackageName_ = getDefaultInstance().getAndroidPackageName(); onChanged(); return this; } /** * optional string android_package_name = 2; * *
       * Package name of the app (on Android).
       * 
*/ public Builder setAndroidPackageNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; androidPackageName_ = value; onChanged(); return this; } // optional string version = 3; private java.lang.Object version_ = ""; /** * optional string version = 3; * *
       * Version of the app.
       * 
*/ public boolean hasVersion() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string version = 3; * *
       * Version of the app.
       * 
*/ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); version_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string version = 3; * *
       * Version of the app.
       * 
*/ public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); version_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string version = 3; * *
       * Version of the app.
       * 
*/ public Builder setVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; version_ = value; onChanged(); return this; } /** * optional string version = 3; * *
       * Version of the app.
       * 
*/ public Builder clearVersion() { bitField0_ = (bitField0_ & ~0x00000004); version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** * optional string version = 3; * *
       * Version of the app.
       * 
*/ public Builder setVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; version_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:wireless_android_play_playlog.AppUsage1pLogEvent) } static { defaultInstance = new AppUsage1pLogEvent(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:wireless_android_play_playlog.AppUsage1pLogEvent) } public interface BatchedLogRequestOrBuilder extends com.google.protobuf.MessageOrBuilder { // repeated .wireless_android_play_playlog.LogRequest log_request = 1; /** * repeated .wireless_android_play_playlog.LogRequest log_request = 1; */ java.util.List getLogRequestList(); /** * repeated .wireless_android_play_playlog.LogRequest log_request = 1; */ com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest getLogRequest(int index); /** * repeated .wireless_android_play_playlog.LogRequest log_request = 1; */ int getLogRequestCount(); /** * repeated .wireless_android_play_playlog.LogRequest log_request = 1; */ java.util.List getLogRequestOrBuilderList(); /** * repeated .wireless_android_play_playlog.LogRequest log_request = 1; */ com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequestOrBuilder getLogRequestOrBuilder( int index); } /** * Protobuf type {@code wireless_android_play_playlog.BatchedLogRequest} * *
   * A BatchedLogRequest represents a batched collection of log requests.
   *
   *  Next tag: 2
   * 
*/ public static final class BatchedLogRequest extends com.google.protobuf.GeneratedMessage implements BatchedLogRequestOrBuilder { // Use BatchedLogRequest.newBuilder() to construct. private BatchedLogRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private BatchedLogRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final BatchedLogRequest defaultInstance; public static BatchedLogRequest getDefaultInstance() { return defaultInstance; } public BatchedLogRequest getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BatchedLogRequest( 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)) { logRequest_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } logRequest_.add(input.readMessage(com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.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)) { logRequest_ = java.util.Collections.unmodifiableList(logRequest_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_BatchedLogRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_BatchedLogRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.BatchedLogRequest.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.BatchedLogRequest.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public BatchedLogRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BatchedLogRequest(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } // repeated .wireless_android_play_playlog.LogRequest log_request = 1; public static final int LOG_REQUEST_FIELD_NUMBER = 1; private java.util.List logRequest_; /** * repeated .wireless_android_play_playlog.LogRequest log_request = 1; */ public java.util.List getLogRequestList() { return logRequest_; } /** * repeated .wireless_android_play_playlog.LogRequest log_request = 1; */ public java.util.List getLogRequestOrBuilderList() { return logRequest_; } /** * repeated .wireless_android_play_playlog.LogRequest log_request = 1; */ public int getLogRequestCount() { return logRequest_.size(); } /** * repeated .wireless_android_play_playlog.LogRequest log_request = 1; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest getLogRequest(int index) { return logRequest_.get(index); } /** * repeated .wireless_android_play_playlog.LogRequest log_request = 1; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequestOrBuilder getLogRequestOrBuilder( int index) { return logRequest_.get(index); } private void initFields() { logRequest_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; for (int i = 0; i < getLogRequestCount(); i++) { if (!getLogRequest(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < logRequest_.size(); i++) { output.writeMessage(1, logRequest_.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 < logRequest_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, logRequest_.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.google.wireless.android.play.playlog.proto.ClientAnalytics.BatchedLogRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.BatchedLogRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.BatchedLogRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.BatchedLogRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.BatchedLogRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.BatchedLogRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.BatchedLogRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.BatchedLogRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.BatchedLogRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.BatchedLogRequest 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.google.wireless.android.play.playlog.proto.ClientAnalytics.BatchedLogRequest 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 wireless_android_play_playlog.BatchedLogRequest} * *
     * A BatchedLogRequest represents a batched collection of log requests.
     *
     *  Next tag: 2
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.play.playlog.proto.ClientAnalytics.BatchedLogRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_BatchedLogRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_BatchedLogRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.BatchedLogRequest.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.BatchedLogRequest.Builder.class); } // Construct using com.google.wireless.android.play.playlog.proto.ClientAnalytics.BatchedLogRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getLogRequestFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (logRequestBuilder_ == null) { logRequest_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { logRequestBuilder_.clear(); } return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_BatchedLogRequest_descriptor; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.BatchedLogRequest getDefaultInstanceForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.BatchedLogRequest.getDefaultInstance(); } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.BatchedLogRequest build() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.BatchedLogRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.BatchedLogRequest buildPartial() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.BatchedLogRequest result = new com.google.wireless.android.play.playlog.proto.ClientAnalytics.BatchedLogRequest(this); int from_bitField0_ = bitField0_; if (logRequestBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { logRequest_ = java.util.Collections.unmodifiableList(logRequest_); bitField0_ = (bitField0_ & ~0x00000001); } result.logRequest_ = logRequest_; } else { result.logRequest_ = logRequestBuilder_.build(); } onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.play.playlog.proto.ClientAnalytics.BatchedLogRequest) { return mergeFrom((com.google.wireless.android.play.playlog.proto.ClientAnalytics.BatchedLogRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.play.playlog.proto.ClientAnalytics.BatchedLogRequest other) { if (other == com.google.wireless.android.play.playlog.proto.ClientAnalytics.BatchedLogRequest.getDefaultInstance()) return this; if (logRequestBuilder_ == null) { if (!other.logRequest_.isEmpty()) { if (logRequest_.isEmpty()) { logRequest_ = other.logRequest_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureLogRequestIsMutable(); logRequest_.addAll(other.logRequest_); } onChanged(); } } else { if (!other.logRequest_.isEmpty()) { if (logRequestBuilder_.isEmpty()) { logRequestBuilder_.dispose(); logRequestBuilder_ = null; logRequest_ = other.logRequest_; bitField0_ = (bitField0_ & ~0x00000001); logRequestBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getLogRequestFieldBuilder() : null; } else { logRequestBuilder_.addAllMessages(other.logRequest_); } } } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { for (int i = 0; i < getLogRequestCount(); i++) { if (!getLogRequest(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.google.wireless.android.play.playlog.proto.ClientAnalytics.BatchedLogRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.play.playlog.proto.ClientAnalytics.BatchedLogRequest) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // repeated .wireless_android_play_playlog.LogRequest log_request = 1; private java.util.List logRequest_ = java.util.Collections.emptyList(); private void ensureLogRequestIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { logRequest_ = new java.util.ArrayList(logRequest_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequestOrBuilder> logRequestBuilder_; /** * repeated .wireless_android_play_playlog.LogRequest log_request = 1; */ public java.util.List getLogRequestList() { if (logRequestBuilder_ == null) { return java.util.Collections.unmodifiableList(logRequest_); } else { return logRequestBuilder_.getMessageList(); } } /** * repeated .wireless_android_play_playlog.LogRequest log_request = 1; */ public int getLogRequestCount() { if (logRequestBuilder_ == null) { return logRequest_.size(); } else { return logRequestBuilder_.getCount(); } } /** * repeated .wireless_android_play_playlog.LogRequest log_request = 1; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest getLogRequest(int index) { if (logRequestBuilder_ == null) { return logRequest_.get(index); } else { return logRequestBuilder_.getMessage(index); } } /** * repeated .wireless_android_play_playlog.LogRequest log_request = 1; */ public Builder setLogRequest( int index, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest value) { if (logRequestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLogRequestIsMutable(); logRequest_.set(index, value); onChanged(); } else { logRequestBuilder_.setMessage(index, value); } return this; } /** * repeated .wireless_android_play_playlog.LogRequest log_request = 1; */ public Builder setLogRequest( int index, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.Builder builderForValue) { if (logRequestBuilder_ == null) { ensureLogRequestIsMutable(); logRequest_.set(index, builderForValue.build()); onChanged(); } else { logRequestBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .wireless_android_play_playlog.LogRequest log_request = 1; */ public Builder addLogRequest(com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest value) { if (logRequestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLogRequestIsMutable(); logRequest_.add(value); onChanged(); } else { logRequestBuilder_.addMessage(value); } return this; } /** * repeated .wireless_android_play_playlog.LogRequest log_request = 1; */ public Builder addLogRequest( int index, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest value) { if (logRequestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLogRequestIsMutable(); logRequest_.add(index, value); onChanged(); } else { logRequestBuilder_.addMessage(index, value); } return this; } /** * repeated .wireless_android_play_playlog.LogRequest log_request = 1; */ public Builder addLogRequest( com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.Builder builderForValue) { if (logRequestBuilder_ == null) { ensureLogRequestIsMutable(); logRequest_.add(builderForValue.build()); onChanged(); } else { logRequestBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .wireless_android_play_playlog.LogRequest log_request = 1; */ public Builder addLogRequest( int index, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.Builder builderForValue) { if (logRequestBuilder_ == null) { ensureLogRequestIsMutable(); logRequest_.add(index, builderForValue.build()); onChanged(); } else { logRequestBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .wireless_android_play_playlog.LogRequest log_request = 1; */ public Builder addAllLogRequest( java.lang.Iterable values) { if (logRequestBuilder_ == null) { ensureLogRequestIsMutable(); super.addAll(values, logRequest_); onChanged(); } else { logRequestBuilder_.addAllMessages(values); } return this; } /** * repeated .wireless_android_play_playlog.LogRequest log_request = 1; */ public Builder clearLogRequest() { if (logRequestBuilder_ == null) { logRequest_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { logRequestBuilder_.clear(); } return this; } /** * repeated .wireless_android_play_playlog.LogRequest log_request = 1; */ public Builder removeLogRequest(int index) { if (logRequestBuilder_ == null) { ensureLogRequestIsMutable(); logRequest_.remove(index); onChanged(); } else { logRequestBuilder_.remove(index); } return this; } /** * repeated .wireless_android_play_playlog.LogRequest log_request = 1; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.Builder getLogRequestBuilder( int index) { return getLogRequestFieldBuilder().getBuilder(index); } /** * repeated .wireless_android_play_playlog.LogRequest log_request = 1; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequestOrBuilder getLogRequestOrBuilder( int index) { if (logRequestBuilder_ == null) { return logRequest_.get(index); } else { return logRequestBuilder_.getMessageOrBuilder(index); } } /** * repeated .wireless_android_play_playlog.LogRequest log_request = 1; */ public java.util.List getLogRequestOrBuilderList() { if (logRequestBuilder_ != null) { return logRequestBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(logRequest_); } } /** * repeated .wireless_android_play_playlog.LogRequest log_request = 1; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.Builder addLogRequestBuilder() { return getLogRequestFieldBuilder().addBuilder( com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.getDefaultInstance()); } /** * repeated .wireless_android_play_playlog.LogRequest log_request = 1; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.Builder addLogRequestBuilder( int index) { return getLogRequestFieldBuilder().addBuilder( index, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.getDefaultInstance()); } /** * repeated .wireless_android_play_playlog.LogRequest log_request = 1; */ public java.util.List getLogRequestBuilderList() { return getLogRequestFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequestOrBuilder> getLogRequestFieldBuilder() { if (logRequestBuilder_ == null) { logRequestBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequestOrBuilder>( logRequest_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); logRequest_ = null; } return logRequestBuilder_; } // @@protoc_insertion_point(builder_scope:wireless_android_play_playlog.BatchedLogRequest) } static { defaultInstance = new BatchedLogRequest(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:wireless_android_play_playlog.BatchedLogRequest) } public interface LogRequestOrBuilder extends com.google.protobuf.GeneratedMessage. ExtendableMessageOrBuilder { // optional int64 request_time_ms = 4; /** * optional int64 request_time_ms = 4; * *
     * "Now", in milliseconds, according to the same clock as the one used to set
     *  the 'event_time_ms' values in the LogEvent protos above.
     * 
*/ boolean hasRequestTimeMs(); /** * optional int64 request_time_ms = 4; * *
     * "Now", in milliseconds, according to the same clock as the one used to set
     *  the 'event_time_ms' values in the LogEvent protos above.
     * 
*/ long getRequestTimeMs(); // optional int64 request_uptime_ms = 8; /** * optional int64 request_uptime_ms = 8; * *
     * Current time since boot in milliseconds, including time spent in sleep,
     *  according to the same clock as the one used to set
     *  the 'event_uptime_ms' values in the LogEvent protos above.
     * 
*/ boolean hasRequestUptimeMs(); /** * optional int64 request_uptime_ms = 8; * *
     * Current time since boot in milliseconds, including time spent in sleep,
     *  according to the same clock as the one used to set
     *  the 'event_uptime_ms' values in the LogEvent protos above.
     * 
*/ long getRequestUptimeMs(); // optional .wireless_android_play_playlog.ClientInfo client_info = 1; /** * optional .wireless_android_play_playlog.ClientInfo client_info = 1; */ boolean hasClientInfo(); /** * optional .wireless_android_play_playlog.ClientInfo client_info = 1; */ com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo getClientInfo(); /** * optional .wireless_android_play_playlog.ClientInfo client_info = 1; */ com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfoOrBuilder getClientInfoOrBuilder(); // optional .wireless_android_play_playlog.LogRequest.LogSource log_source = 2 [default = UNKNOWN]; /** * optional .wireless_android_play_playlog.LogRequest.LogSource log_source = 2 [default = UNKNOWN]; */ boolean hasLogSource(); /** * optional .wireless_android_play_playlog.LogRequest.LogSource log_source = 2 [default = UNKNOWN]; */ com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.LogSource getLogSource(); // optional string log_source_name = 6; /** * optional string log_source_name = 6; * *
     * If log_source is not present and log_source_name is present, the value of
     *  log_source_name is parsed as a LogSource value and set to log_source.
     * 
*/ boolean hasLogSourceName(); /** * optional string log_source_name = 6; * *
     * If log_source is not present and log_source_name is present, the value of
     *  log_source_name is parsed as a LogSource value and set to log_source.
     * 
*/ java.lang.String getLogSourceName(); /** * optional string log_source_name = 6; * *
     * If log_source is not present and log_source_name is present, the value of
     *  log_source_name is parsed as a LogSource value and set to log_source.
     * 
*/ com.google.protobuf.ByteString getLogSourceNameBytes(); // optional string zwieback_cookie = 7; /** * optional string zwieback_cookie = 7; * *
     * cookie from pseudonymous id service at the time the event was posted
     * 
*/ boolean hasZwiebackCookie(); /** * optional string zwieback_cookie = 7; * *
     * cookie from pseudonymous id service at the time the event was posted
     * 
*/ java.lang.String getZwiebackCookie(); /** * optional string zwieback_cookie = 7; * *
     * cookie from pseudonymous id service at the time the event was posted
     * 
*/ com.google.protobuf.ByteString getZwiebackCookieBytes(); // repeated .wireless_android_play_playlog.LogEvent log_event = 3; /** * repeated .wireless_android_play_playlog.LogEvent log_event = 3; */ java.util.List getLogEventList(); /** * repeated .wireless_android_play_playlog.LogEvent log_event = 3; */ com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent getLogEvent(int index); /** * repeated .wireless_android_play_playlog.LogEvent log_event = 3; */ int getLogEventCount(); /** * repeated .wireless_android_play_playlog.LogEvent log_event = 3; */ java.util.List getLogEventOrBuilderList(); /** * repeated .wireless_android_play_playlog.LogEvent log_event = 3; */ com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventOrBuilder getLogEventOrBuilder( int index); // repeated bytes serialized_log_events = 5; /** * repeated bytes serialized_log_events = 5; * *
     * Can be used instead of 'log_event' in order to save battery in cases where
     *  LogEvent protos are already serialized, and deserializing is undesirable.
     *  If used, this is a collection of byte streams each produced using a
     *  CodedOutputStream.
     * 
*/ java.util.List getSerializedLogEventsList(); /** * repeated bytes serialized_log_events = 5; * *
     * Can be used instead of 'log_event' in order to save battery in cases where
     *  LogEvent protos are already serialized, and deserializing is undesirable.
     *  If used, this is a collection of byte streams each produced using a
     *  CodedOutputStream.
     * 
*/ int getSerializedLogEventsCount(); /** * repeated bytes serialized_log_events = 5; * *
     * Can be used instead of 'log_event' in order to save battery in cases where
     *  LogEvent protos are already serialized, and deserializing is undesirable.
     *  If used, this is a collection of byte streams each produced using a
     *  CodedOutputStream.
     * 
*/ com.google.protobuf.ByteString getSerializedLogEvents(int index); // optional .wireless_android_play_playlog.QosTierConfiguration.QosTier qos_tier = 9 [default = DEFAULT]; /** * optional .wireless_android_play_playlog.QosTierConfiguration.QosTier qos_tier = 9 [default = DEFAULT]; * *
     * Quality of Service tier for log upload.
     * 
*/ boolean hasQosTier(); /** * optional .wireless_android_play_playlog.QosTierConfiguration.QosTier qos_tier = 9 [default = DEFAULT]; * *
     * Quality of Service tier for log upload.
     * 
*/ com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.QosTier getQosTier(); // optional .wireless_android_play_playlog.LogRequest.SchedulerType scheduler = 10; /** * optional .wireless_android_play_playlog.LogRequest.SchedulerType scheduler = 10; * *
     * The type of log upload scheduler.
     * 
*/ boolean hasScheduler(); /** * optional .wireless_android_play_playlog.LogRequest.SchedulerType scheduler = 10; * *
     * The type of log upload scheduler.
     * 
*/ com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.SchedulerType getScheduler(); // optional .wireless_android_play_playlog.DeviceStatus device_status = 11; /** * optional .wireless_android_play_playlog.DeviceStatus device_status = 11; * *
     * Device status.
     * 
*/ boolean hasDeviceStatus(); /** * optional .wireless_android_play_playlog.DeviceStatus device_status = 11; * *
     * Device status.
     * 
*/ com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus getDeviceStatus(); /** * optional .wireless_android_play_playlog.DeviceStatus device_status = 11; * *
     * Device status.
     * 
*/ com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatusOrBuilder getDeviceStatusOrBuilder(); // optional .wireless_android_play_playlog.ExternalTimestamp external_timestamp = 12; /** * optional .wireless_android_play_playlog.ExternalTimestamp external_timestamp = 12; * *
     * A timestamp taken from a source external to the device. For example, a GPS
     *  timestamp. This can be more accurate than the device wall clock, but is not
     *  guaranteed to be. That will depend on the source, and on the device
     *  hardware and software that obtains the timestamp.
     * 
*/ boolean hasExternalTimestamp(); /** * optional .wireless_android_play_playlog.ExternalTimestamp external_timestamp = 12; * *
     * A timestamp taken from a source external to the device. For example, a GPS
     *  timestamp. This can be more accurate than the device wall clock, but is not
     *  guaranteed to be. That will depend on the source, and on the device
     *  hardware and software that obtains the timestamp.
     * 
*/ com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp getExternalTimestamp(); /** * optional .wireless_android_play_playlog.ExternalTimestamp external_timestamp = 12; * *
     * A timestamp taken from a source external to the device. For example, a GPS
     *  timestamp. This can be more accurate than the device wall clock, but is not
     *  guaranteed to be. That will depend on the source, and on the device
     *  hardware and software that obtains the timestamp.
     * 
*/ com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestampOrBuilder getExternalTimestampOrBuilder(); } /** * Protobuf type {@code wireless_android_play_playlog.LogRequest} * *
   * A LogRequest represents a batched collection of loggable events, each event
   *  to be processed and sent to zero or more destinations (e.g. Sawmill log types
   *  or Footprints) by the Clearcut server.
   *
   *  Next tag: 13
   * 
*/ public static final class LogRequest extends com.google.protobuf.GeneratedMessage.ExtendableMessage< LogRequest> implements LogRequestOrBuilder { // Use LogRequest.newBuilder() to construct. private LogRequest(com.google.protobuf.GeneratedMessage.ExtendableBuilder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private LogRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final LogRequest defaultInstance; public static LogRequest getDefaultInstance() { return defaultInstance; } public LogRequest getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private LogRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000004) == 0x00000004)) { subBuilder = clientInfo_.toBuilder(); } clientInfo_ = input.readMessage(com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(clientInfo_); clientInfo_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000004; break; } case 16: { int rawValue = input.readEnum(); com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.LogSource value = com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.LogSource.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(2, rawValue); } else { bitField0_ |= 0x00000008; logSource_ = value; } break; } case 26: { if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) { logEvent_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000040; } logEvent_.add(input.readMessage(com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent.PARSER, extensionRegistry)); break; } case 32: { bitField0_ |= 0x00000001; requestTimeMs_ = input.readInt64(); break; } case 42: { if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) { serializedLogEvents_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000080; } serializedLogEvents_.add(input.readBytes()); break; } case 50: { bitField0_ |= 0x00000010; logSourceName_ = input.readBytes(); break; } case 58: { bitField0_ |= 0x00000020; zwiebackCookie_ = input.readBytes(); break; } case 64: { bitField0_ |= 0x00000002; requestUptimeMs_ = input.readInt64(); break; } case 72: { int rawValue = input.readEnum(); com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.QosTier value = com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.QosTier.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(9, rawValue); } else { bitField0_ |= 0x00000040; qosTier_ = value; } break; } case 80: { int rawValue = input.readEnum(); com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.SchedulerType value = com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.SchedulerType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(10, rawValue); } else { bitField0_ |= 0x00000080; scheduler_ = value; } break; } case 90: { com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus.Builder subBuilder = null; if (((bitField0_ & 0x00000100) == 0x00000100)) { subBuilder = deviceStatus_.toBuilder(); } deviceStatus_ = input.readMessage(com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(deviceStatus_); deviceStatus_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000100; break; } case 98: { com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp.Builder subBuilder = null; if (((bitField0_ & 0x00000200) == 0x00000200)) { subBuilder = externalTimestamp_.toBuilder(); } externalTimestamp_ = input.readMessage(com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(externalTimestamp_); externalTimestamp_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000200; 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_ & 0x00000040) == 0x00000040)) { logEvent_ = java.util.Collections.unmodifiableList(logEvent_); } if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) { serializedLogEvents_ = java.util.Collections.unmodifiableList(serializedLogEvents_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_LogRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_LogRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public LogRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new LogRequest(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } /** * Protobuf enum {@code wireless_android_play_playlog.LogRequest.LogSource} */ public enum LogSource implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN = -1; */ UNKNOWN(0, -1), /** * STORE = 0; */ STORE(1, 0), /** * WEB_STORE = 65; * *
       * Google Play Store Android App
       * 
*/ WEB_STORE(2, 65), /** * WORK_STORE = 132; * *
       * Google Play Web Store (https://play.google.com/store)
       * 
*/ WORK_STORE(3, 132), /** * WORK_STORE_APP = 261; * *
       * Play for Work on the web client (Worksky)
       * 
*/ WORK_STORE_APP(4, 261), /** * EDU_STORE = 15; * *
       * Play for Work on the Google Play Store Android App
       * 
*/ EDU_STORE(5, 15), /** * MUSIC = 1; * *
       * for collecting stats on Play for Education
       * 
*/ MUSIC(6, 1), /** * BOOKS = 2; */ BOOKS(7, 2), /** * VIDEO = 3; */ VIDEO(8, 3), /** * MOVIES = 74; * *
       * Android Video (go/avi, android-video-oncall@)
       * 
*/ MOVIES(9, 74), /** * MAGAZINES = 4; */ MAGAZINES(10, 4), /** * GAMES = 5; */ GAMES(11, 5), /** * LB_A = 6; */ LB_A(12, 6), /** * ANDROID_IDE = 7; * *
       * for collecting app usage stats (Lockbox project)
       * 
*/ ANDROID_IDE(13, 7), /** * LB_P = 8; * *
       * Android IDE (deprecated, see ANDROID_STUDIO below)
       * 
*/ LB_P(14, 8), /** * LB_S = 9; * *
       * for collecting phone call events and stats (Lockbox project)
       * 
*/ LB_S(15, 9), /** * GMS_CORE = 10; * *
       * for collecting SMS events and stats (Lockbox project)
       * 
*/ GMS_CORE(16, 10), /** * APP_USAGE_1P = 11; * *
       * Usage of GMS Core itself and its internal stats
       * 
*/ APP_USAGE_1P(17, 11), /** * ICING = 12; * *
       * First-party app usage tracking.
       * 
*/ ICING(18, 12), /** * HERREVAD = 13; * *
       * Icing stats (AppDataSearch go/icing)
       * 
*/ HERREVAD(19, 13), /** * GOOGLE_TV = 14; * *
       * for collecting Nova Network quality data
       * 
*/ GOOGLE_TV(20, 14), /** * GMS_CORE_PEOPLE = 16; * *
       * Google TV, not Eureka.
       * 
*/ GMS_CORE_PEOPLE(21, 16), /** * LE = 17; * *
       * GMS core people (aka menagerie, zhengfu@, android-contacts@)
       * 
*/ LE(22, 17), /** * GOOGLE_ANALYTICS = 18; * *
       * Location Engine statistics
       * 
*/ GOOGLE_ANALYTICS(23, 18), /** * LB_D = 19; * *
       * Google Analytics SDK health monitoring
       * 
*/ LB_D(24, 19), /** * ANDROID_GSA = 20; * *
       * for collecting device state changes (Lockbox project)
       * 
*/ ANDROID_GSA(25, 20), /** * LB_T = 21; * *
       * Android GSA (Google Search App) stats
       * 
*/ LB_T(26, 21), /** * PERSONAL_LOGGER = 22; * *
       * for collecting Android RunningTaskInfo (Lockbox project)
       * 
*/ PERSONAL_LOGGER(27, 22), /** * PERSONAL_BROWSER_LOGGER = 37; * *
       * PixelPerfect activity logger
       * 
*/ PERSONAL_BROWSER_LOGGER(28, 37), /** * GMS_CORE_WALLET_MERCHANT_ERROR = 23; * *
       * PixelPerfect Chrome extension logger
       * 
*/ GMS_CORE_WALLET_MERCHANT_ERROR(29, 23), /** * LB_C = 24; * *
       * GMS core wallet merchant errors
       * 
*/ LB_C(30, 24), /** * LB_IA = 52; * *
       * Android contacts going from Now to HappyHour.log_event_extension_test
       * 
*/ LB_IA(31, 52), /** * LB_CB = 237; * *
       * Android installed apps going from Now to HappyHour.
       * 
*/ LB_CB(32, 237), /** * LB_DM = 268; * *
       * Android contacts for backup/restore purpose.
       * 
*/ LB_DM(33, 268), /** * ANDROID_AUTH = 25; * *
       * Android device metadata used for contacts backup/restore
       * purpose.
       * 
*/ ANDROID_AUTH(34, 25), /** * ANDROID_CAMERA = 26; * *
       * for collecting GMS core android auth data
       * 
*/ ANDROID_CAMERA(35, 26), /** * CW = 27; * *
       * Android camera usage statistics
       * 
*/ CW(36, 27), /** * CW_COUNTERS = 243; * *
       * Clockwork interaction logs
       * 
*/ CW_COUNTERS(37, 243), /** * GEL = 28; * *
       * Clockwork counters
       * 
*/ GEL(38, 28), /** * DNA_PROBER = 29; * *
       * Google experience launcher logs (http://go/signac).
       * 
*/ DNA_PROBER(39, 29), /** * UDR = 30; * *
       * DNA logger (for internal research), go/dna2014.
       * 
*/ UDR(40, 30), /** * GMS_CORE_WALLET = 31; * *
       * For collecting Android app usage data.
       * 
*/ GMS_CORE_WALLET(41, 31), /** * SOCIAL = 32; * *
       * GMS core wallet analytics
       * 
*/ SOCIAL(42, 32), /** * INSTORE_WALLET = 33; * *
       * Traffic from Social clients: gplus-log-quality@
       * 
*/ INSTORE_WALLET(43, 33), /** * NOVA = 34; * *
       * Instore play payments
       * 
*/ NOVA(44, 34), /** * LB_CA = 35; * *
       * Nova client logs.
       * 
*/ LB_CA(45, 35), /** * LATIN_IME = 36; * *
       * DEPRECATED: Android contact account data going from Now to Footprints.
       * 
*/ LATIN_IME(46, 36), /** * NEWS_WEATHER = 38; * *
       * Google Keyboard (http://go/google-keyboard)
       * 
*/ NEWS_WEATHER(47, 38), /** * HANGOUT = 39; * *
       * News & Weather Android/iOS apps
       * 
*/ HANGOUT(48, 39), /** * HANGOUT_LOG_REQUEST = 50; * *
       * Deprecated source for HangoutLogEntry (rtc-analytics-eng@)
       * 
*/ HANGOUT_LOG_REQUEST(49, 50), /** * COPRESENCE = 40; * *
       * Hangouts data using HangoutLogRequest (rtc-analytics-eng@)
       * 
*/ COPRESENCE(50, 40), /** * SOCIAL_AFFINITY = 41; * *
       * Copresence (http://go/whisper)
       * 
*/ SOCIAL_AFFINITY(51, 41), /** * PHOTOS = 42; * *
       * Social Affinity logs (go/disco-logging-v2).
       * 
*/ PHOTOS(52, 42), /** * GCM = 43; * *
       * Google Photos (go/photos).
       * 
*/ GCM(53, 43), /** * GOKART = 44; * *
       * Google Cloud Messaging logs (go/gcm).
       * 
*/ GOKART(54, 44), /** * FINDR = 45; * *
       * GoKart (go/gokart, Drive Android API)
       * 
*/ FINDR(55, 45), /** * ANDROID_MESSAGING = 46; * *
       * Findr app (go/findr).
       * 
*/ ANDROID_MESSAGING(56, 46), /** * SOCIAL_WEB = 47; * *
       * Android messenger(Bugle).
       * 
*/ SOCIAL_WEB(57, 47), /** * BACKDROP = 48; * *
       * Traffic from Social clients: gplus-log-quality@.
       * 
*/ BACKDROP(58, 48), /** * TELEMATICS = 49; * *
       * Backdrop device logs (go/tv-imax).
       * 
*/ TELEMATICS(59, 49), /** * GVC_HARVESTER = 51; * *
       * Telematics app (go/telematics).
       * 
*/ GVC_HARVESTER(60, 51), /** * CAR = 53; * *
       * GVC Harvester (go/harvesterdesigndoc)
       * 
*/ CAR(61, 53), /** * PIXEL_PERFECT = 54; * *
       * Android Automotive (go/gearhead).
       * 
*/ PIXEL_PERFECT(62, 54), /** * DRIVE = 55; * *
       * PixelPerfect app client log (go/pixelperfect-analytics)
       * 
*/ DRIVE(63, 55), /** * DOCS = 56; * *
       * Google Drive (go/cakemix, nickread@, cakemix-drive@)
       * 
*/ DOCS(64, 56), /** * SHEETS = 57; * *
       * Google Docs (go/cakemix, haluk@, bulach@, tstrauss@)
       * 
*/ SHEETS(65, 57), /** * SLIDES = 58; * *
       * Google Sheets (go/cakemix, tgleason@, bulach@, tstrauss@)
       * 
*/ SLIDES(66, 58), /** * IME = 59; * *
       * Google Slides (go/cakemix, yugacohler@, bulach@, tstrauss@)
       * 
*/ IME(67, 59), /** * WARP = 60; * *
       * Google Android IME logs (go/goopy).
       * 
*/ WARP(68, 60), /** * NFC_PROGRAMMER = 61; * *
       * Warp (go/warp-project)
       * 
*/ NFC_PROGRAMMER(69, 61), /** * NETSTATS = 62; * *
       * NfcProgrammer (go/aedu-platform-overview)
       * 
*/ NETSTATS(70, 62), /** * NEWSSTAND = 63; * *
       * Collection of Network Statistics (go/n-s).
       * 
*/ NEWSSTAND(71, 63), /** * KIDS_COMMUNICATOR = 64; * *
       * Google Play Newsstand.
       * 
*/ KIDS_COMMUNICATOR(72, 64), /** * WIFI_ASSISTANT = 66; * *
       * Kids Communicator (http://goto/kidscommunicator_dd)
       * 
*/ WIFI_ASSISTANT(73, 66), /** * CAST_SENDER_SDK = 67; * *
       * WiFi Assistant client logs.
       * 
*/ CAST_SENDER_SDK(74, 67), /** * CRONET_SOCIAL = 68; * *
       * Cast Sender SDK (go/dongle)
       * 
*/ CRONET_SOCIAL(75, 68), /** * PHENOTYPE = 69; * *
       * Social cronet metrics.
       * 
*/ PHENOTYPE(76, 69), /** * PHENOTYPE_COUNTERS = 70; * *
       * The client side of experiment framework (go/ph, peiling@, phenotype-eng@).
       * 
*/ PHENOTYPE_COUNTERS(77, 70), /** * CHROME_INFRA = 71; * *
       * The counters for Phenotype (go/ph, peiling@, phenotype-eng@).
       * 
*/ CHROME_INFRA(78, 71), /** * JUSTSPEAK = 72; * *
       * Chrome Infrastructure events
       * 
*/ JUSTSPEAK(79, 72), /** * PERF_PROFILE = 73; * *
       * JustSpeak (go/justspeak)
       * 
*/ PERF_PROFILE(80, 73), /** * KATNISS = 75; * *
       * Android Wide Profiling (go/android-wide-profiling)
       * 
*/ KATNISS(81, 75), /** * SOCIAL_APPINVITE = 76; * *
       * Android TV search (go/atv-search)
       * 
*/ SOCIAL_APPINVITE(82, 76), /** * GMM_COUNTERS = 77; * *
       * Google Plus Platform App Invite (go/appinvite)
       * 
*/ GMM_COUNTERS(83, 77), /** * BOND_ONEGOOGLE = 78; * *
       * Google Maps Mobile (go/gmm).
       * 
*/ BOND_ONEGOOGLE(84, 78), /** * MAPS_API = 79; * *
       * Bond OneGoogleBar integration (go/bond-ogb)
       * 
*/ MAPS_API(85, 79), /** * CRONET_ANDROID_YT = 196; * *
       * Android and iOS Maps API (go/mapview & go/meridian)
       * 
*/ CRONET_ANDROID_YT(86, 196), /** * CRONET_ANDROID_GSA = 80; * *
       * Cronet UMA logs from Android YT (go/cronet-uma)
       * 
*/ CRONET_ANDROID_GSA(87, 80), /** * GOOGLE_FIT_WEARABLE = 81; * *
       * Cronet UMA logs from Android GSA (go/cronet-uma)
       * 
*/ GOOGLE_FIT_WEARABLE(88, 81), /** * FITNESS_ANDROID = 169; * *
       * Google Fit Wearable App (go/heart)
       * 
*/ FITNESS_ANDROID(89, 169), /** * FITNESS_GMS_CORE = 170; * *
       * Google Fit Android App (go/heart)
       * 
*/ FITNESS_GMS_CORE(90, 170), /** * GOOGLE_EXPRESS = 82; * *
       * Google Fit GMSCore (go/heart)
       * 
*/ GOOGLE_EXPRESS(91, 82), /** * GOOGLE_EXPRESS_DEV = 215; * *
       * Google Express (go/gsx)
       * 
*/ GOOGLE_EXPRESS_DEV(92, 215), /** * GOOGLE_EXPRESS_COURIER_ANDROID_PRIMES = 228; * *
       * Google Express (go/gsx) For DEV mall server
       * 
*/ GOOGLE_EXPRESS_COURIER_ANDROID_PRIMES(93, 228), /** * GOOGLE_EXPRESS_ANDROID_PRIMES = 229; * *
       * Google Express (go/gsx) Courier App metric logging (go/primes)
       * 
*/ GOOGLE_EXPRESS_ANDROID_PRIMES(94, 229), /** * GOOGLE_EXPRESS_STOREOMS_ANDROID_PRIMES = 240; * *
       * Google Express (go/gsx) App metric logging (go/primes)
       * 
*/ GOOGLE_EXPRESS_STOREOMS_ANDROID_PRIMES(95, 240), /** * SENSE = 83; * *
       * Google Express (go/gsx) Store OMS App metric logging (go/primes)
       * 
*/ SENSE(96, 83), /** * ANDROID_BACKUP = 84; * *
       * Sense (go/sense)
       * 
*/ ANDROID_BACKUP(97, 84), /** * VR = 85; * *
       * Android Backup Service.
       * 
*/ VR(98, 85), /** * IME_COUNTERS = 86; * *
       * Virtual Reality and Google Cardboard (go/vr-team)
       * 
*/ IME_COUNTERS(99, 86), /** * SETUP_WIZARD = 87; * *
       * The counters for Google Android IME (go/goopy).
       * 
*/ SETUP_WIZARD(100, 87), /** * EMERGENCY_ASSIST = 88; * *
       * Setup Wizard (go/suw)
       * 
*/ EMERGENCY_ASSIST(101, 88), /** * TRON = 89; * *
       * Barton (go/barton-deprecation)
       * 
*/ TRON(102, 89), /** * TRON_COUNTERS = 90; * *
       * The event logs for Android Framework (go/tron, cwren@, khigaki@, tron-eng@).
       * 
*/ TRON_COUNTERS(103, 90), /** * BATTERY_STATS = 91; * *
       * The counters for Android Framework (go/tron, cwren@, khigaki@, tron-eng@).
       * 
*/ BATTERY_STATS(104, 91), /** * DISK_STATS = 92; * *
       * For collecting battery performance data from Android clients. (go/androidplatformstats, belland@, clearcut-eng@)
       * 
*/ DISK_STATS(105, 92), /** * GRAPHICS_STATS = 107; * *
       * For collecting disk utilization stats from Android clients. (go/androidplatformstats, belland@, clearcut-eng@)
       * 
*/ GRAPHICS_STATS(106, 107), /** * PROC_STATS = 93; * *
       * For collecting rendering performance stats from Android clients. (go/androidplatformstats, belland@, clearcut-eng@)
       * 
*/ PROC_STATS(107, 93), /** * DROP_BOX = 131; * *
       * For collecting memory utilization stats from Android clients. (go/androidplatformstats, belland@, clearcut-eng@)
       * 
*/ DROP_BOX(108, 131), /** * FINGERPRINT_STATS = 181; * *
       * For collecting DropBox logs from Android clients.
       * 
*/ FINGERPRINT_STATS(109, 181), /** * NOTIFICATION_STATS = 182; * *
       * For collecting fingerprint stats from Android clients. (go/android-fingerprintstats)
       * 
*/ NOTIFICATION_STATS(110, 182), /** * TAP_AND_PAY_GCORE = 94; * *
       * For collecting notification stats from Android clients. (go/android-notificationstats)
       * 
*/ TAP_AND_PAY_GCORE(111, 94), /** * A11YLOGGER = 95; * *
       * Tap and Pay client service layer (go/tp2-eng)
       * 
*/ A11YLOGGER(112, 95), /** * GCM_COUNTERS = 96; * *
       * Accessibility Settings Logger (go/a11ylogger)
       * 
*/ GCM_COUNTERS(113, 96), /** * PLACES_NO_GLS_CONSENT = 97; * *
       * Google Cloud Messaging counters (go/gcm).
       * 
*/ PLACES_NO_GLS_CONSENT(114, 97), /** * TACHYON_LOG_REQUEST = 98; * *
       * Mobile Places API logs without GLS consent (go/ios-places-api).
       * 
*/ TACHYON_LOG_REQUEST(115, 98), /** * TACHYON_COUNTERS = 99; * *
       * WebRTC Tachyon (go/tachyon)
       * 
*/ TACHYON_COUNTERS(116, 99), /** * VISION = 100; * *
       * WebRTC Tachyon (go/tachyon)
       * 
*/ VISION(117, 100), /** * SOCIAL_USER_LOCATION = 101; * *
       * Vision (go/mobile-vision)
       * 
*/ SOCIAL_USER_LOCATION(118, 101), /** * LAUNCHPAD_TOYS = 102; * *
       * Location Sharing (go/location-sharing)
       * 
*/ LAUNCHPAD_TOYS(119, 102), /** * METALOG_COUNTERS = 103; * *
       * Launchpad Toys (go/launchpadtoys)
       * 
*/ METALOG_COUNTERS(120, 103), /** * MOBILESDK_CLIENT = 104; * *
       * Counters for metalog (go/clearcut-metalog, iamawong@, clearcut-eng@)
       * 
*/ MOBILESDK_CLIENT(121, 104), /** * ANDROID_VERIFY_APPS = 105; * *
       * go/greenhouse
       * 
*/ ANDROID_VERIFY_APPS(122, 105), /** * ADSHIELD = 106; * *
       * go/safety-net
       * 
*/ ADSHIELD(123, 106), /** * SHERLOG = 108; * *
       * go/adshield
       * 
*/ SHERLOG(124, 108), /** * LE_ULR_COUNTERS = 109; * *
       * Sherlog data (go/sherlog)
       * 
*/ LE_ULR_COUNTERS(125, 109), /** * GMM_UE3 = 110; * *
       * Counters for ULR (go/gcore-ulr). Location custom events use LE.
       * 
*/ GMM_UE3(126, 110), /** * CALENDAR = 111; * *
       * Logs for GMM analytics and sessions (go/gca-analytics)
       * 
*/ CALENDAR(127, 111), /** * ENDER = 112; * *
       * Google Android Calendar
       * 
*/ ENDER(128, 112), /** * FAMILY_COMPASS = 113; * *
       * Logs for Ender (go/ender)
       * 
*/ FAMILY_COMPASS(129, 113), /** * TRANSOM = 114; * *
       * go/familycompass
       * 
*/ TRANSOM(130, 114), /** * TRANSOM_COUNTERS = 115; * *
       * Transom client-side metrics (go/transom)
       * 
*/ TRANSOM_COUNTERS(131, 115), /** * LB_AS = 116; * *
       * Counters for transom metrics
       * 
*/ LB_AS(132, 116), /** * LB_CFG = 117; * *
       * App usage collected by the new UsageStats API (Lockbox project).
       * 
*/ LB_CFG(133, 117), /** * IOS_GSA = 118; * *
       * Device config collected by the new UsageStats API (Lockbox project).
       * 
*/ IOS_GSA(134, 118), /** * TAP_AND_PAY_APP = 119; * *
       * iOS GSA (Google Search App) stats
       * 
*/ TAP_AND_PAY_APP(135, 119), /** * TAP_AND_PAY_APP_COUNTERS = 265; * *
       * Tap and Pay android app, aka Android pay app (go/tp2)
       * 
*/ TAP_AND_PAY_APP_COUNTERS(136, 265), /** * FLYDROID = 120; * *
       * Tap and Pay android app counters
       * 
*/ FLYDROID(137, 120), /** * CPANEL_APP = 121; * *
       * Logs for Flydroid (go/flydroid).
       * 
*/ CPANEL_APP(138, 121), /** * ANDROID_SNET_GCORE = 122; * *
       * CPanel latency on mobile.
       * 
*/ ANDROID_SNET_GCORE(139, 122), /** * ANDROID_SNET_IDLE = 123; * *
       * go/safety-net
       * 
*/ ANDROID_SNET_IDLE(140, 123), /** * ANDROID_SNET_JAR = 124; * *
       * go/safety-net
       * 
*/ ANDROID_SNET_JAR(141, 124), /** * CONTEXT_MANAGER = 125; * *
       * go/safety-net
       * 
*/ CONTEXT_MANAGER(142, 125), /** * CLASSROOM = 126; * *
       * Logs for Context Manager (go/context-manager)
       * 
*/ CLASSROOM(143, 126), /** * TAILORMADE = 127; * *
       * App usage of the go/classroom app.
       * 
*/ TAILORMADE(144, 127), /** * KEEP = 128; * *
       * Logs for Tailormade app (go/a1-tm)
       * 
*/ KEEP(145, 128), /** * GMM_BRIIM_COUNTERS = 129; * *
       * Logs for Keep (go/keep).
       * 
*/ GMM_BRIIM_COUNTERS(146, 129), /** * CHROMECAST_APP_LOG = 130; * *
       * GMM BRIIM counters (go/gmm-briim)
       * 
*/ CHROMECAST_APP_LOG(147, 130), /** * ADWORDS_MOBILE = 133; * *
       * Logs for chromecast app (go/chromecastapplogs)
       * 
*/ ADWORDS_MOBILE(148, 133), /** * LEANBACK_EVENT = 134; * *
       * Logs for AdWords mobile app (go/awm)
       * 
*/ LEANBACK_EVENT(149, 134), /** * ANDROID_GMAIL = 135; * *
       * Logs for Android TV Leanback Launcher (go/android-tv)
       * 
*/ ANDROID_GMAIL(150, 135), /** * SAMPLE_SHM = 136; * *
       * Logs for Gmail (go/android-gmail-clearcut, shahrk@, android-mail-team@)
       * 
*/ SAMPLE_SHM(151, 136), /** * GPLUS_ANDROID_PRIMES = 140; * *
       * Logs for system health metric and memory metric sample app (go/primes)
       * 
*/ GPLUS_ANDROID_PRIMES(152, 140), /** * GMAIL_ANDROID_PRIMES = 150; */ GMAIL_ANDROID_PRIMES(154, 150), /** * CALENDAR_ANDROID_PRIMES = 151; */ CALENDAR_ANDROID_PRIMES(156, 151), /** * DOCS_ANDROID_PRIMES = 152; */ DOCS_ANDROID_PRIMES(158, 152), /** * YT_MAIN_APP_ANDROID_PRIMES = 154; */ YT_MAIN_APP_ANDROID_PRIMES(160, 154), /** * YT_KIDS_ANDROID_PRIMES = 155; * *
       * Logs for system health metric for the YouTube main app (go/primes)
       * 
*/ YT_KIDS_ANDROID_PRIMES(161, 155), /** * YT_GAMING_ANDROID_PRIMES = 156; * *
       * Logs for system health metric for the YouTube kids app (go/primes)
       * 
*/ YT_GAMING_ANDROID_PRIMES(162, 156), /** * YT_MUSIC_ANDROID_PRIMES = 157; * *
       * Logs for system health metric for the YouTube gaming app (go/primes)
       * 
*/ YT_MUSIC_ANDROID_PRIMES(163, 157), /** * YT_LITE_ANDROID_PRIMES = 158; * *
       * Logs for system health metric for the YouTube music app (go/primes)
       * 
*/ YT_LITE_ANDROID_PRIMES(164, 158), /** * YT_CREATOR_ANDROID_PRIMES = 171; * *
       * Logs for system health metric for the YouTube lite app (go/primes)
       * 
*/ YT_CREATOR_ANDROID_PRIMES(165, 171), /** * JAM_ANDROID_PRIMES = 159; * *
       * Logs for system health metric for the YouTube Creator Studio app (go/primes)
       * 
*/ JAM_ANDROID_PRIMES(166, 159), /** * JAM_KIOSK_ANDROID_PRIMES = 160; * *
       * Logs for system health metric for Jam (go/jam, go/primes)
       * 
*/ JAM_KIOSK_ANDROID_PRIMES(167, 160), /** * PHOTOS_ANDROID_PRIMES = 165; * *
       * Logs for system health metric for Jam Kiosk (go/jam, go/primes)
       * 
*/ PHOTOS_ANDROID_PRIMES(168, 165), /** * DRIVE_ANDROID_PRIMES = 166; * *
       * Logs for system health metric for Photos (go/primes)
       * 
*/ DRIVE_ANDROID_PRIMES(169, 166), /** * SHEETS_ANDROID_PRIMES = 167; * *
       * Logs for system health metric for Drive (go/primes)
       * 
*/ SHEETS_ANDROID_PRIMES(170, 167), /** * SLIDES_ANDROID_PRIMES = 168; * *
       * Logs for system health metric for Sheets (go/primes)
       * 
*/ SLIDES_ANDROID_PRIMES(171, 168), /** * SNAPSEED_ANDROID_PRIMES = 178; * *
       * Logs for system health metric for Slides (go/primes)
       * 
*/ SNAPSEED_ANDROID_PRIMES(172, 178), /** * HANGOUTS_ANDROID_PRIMES = 179; * *
       * Logs for system health metric for Snapseed (go/primes, go/snapseed).
       * 
*/ HANGOUTS_ANDROID_PRIMES(173, 179), /** * INBOX_ANDROID_PRIMES = 180; * *
       * Logs for system health metric for Shem (go/primes, go/rtc-shem).
       * 
*/ INBOX_ANDROID_PRIMES(174, 180), /** * INBOX_IOS_PRIMES = 262; * *
       * Logs for system health metric for Inbox (go/primes, go/bt-speed)
       * 
*/ INBOX_IOS_PRIMES(175, 262), /** * SDP_IOS_PRIMES = 287; * *
       * Logs for ios system health metric for Inbox (go/primes-ios, go/bt-speed)
       * 
*/ SDP_IOS_PRIMES(176, 287), /** * GMSCORE_ANDROID_PRIMES = 193; * *
       * Logs for ios system health metric for sdp (go/primes-ios, go/bt-speed)
       * 
*/ GMSCORE_ANDROID_PRIMES(177, 193), /** * PLAY_MUSIC_ANDROID_WEAR_PRIMES = 200; * *
       * Logs for system health metric for GmsCore (go/primes)
       * 
*/ PLAY_MUSIC_ANDROID_WEAR_PRIMES(178, 200), /** * GEARHEAD_ANDROID_PRIMES = 201; * *
       * Logs for system health metric for Play Music for Android Wear (music-android-wear@, go/wear-play-music, go/primes)
       * 
*/ GEARHEAD_ANDROID_PRIMES(179, 201), /** * INSTORE_CONSUMER_PRIMES = 207; * *
       * Logs for system health metric for the Android Auto (GearHead) app (go/primes, go/gearhead)
       * 
*/ INSTORE_CONSUMER_PRIMES(180, 207), /** * SAMPLE_IOS_PRIMES = 202; * *
       * Logs for system health metric for Hands Free (go/primes, go/instore-wallet)
       * 
*/ SAMPLE_IOS_PRIMES(181, 202), /** * CPANEL_ANDROID_PRIMES = 213; * *
       * Logs for ios system health metric and memory metric sample app (go/primes-ios)
       * 
*/ CPANEL_ANDROID_PRIMES(182, 213), /** * HUDDLE_ANDROID_PRIMES = 214; * *
       * Logs for android system health metric (go/cpanel-mobile)
       * 
*/ HUDDLE_ANDROID_PRIMES(183, 214), /** * AWX_ANDROID_PRIMES = 222; * *
       * Primes for Huddle (go/huddle)
       * 
*/ AWX_ANDROID_PRIMES(184, 222), /** * GHS_ANDROID_PRIMES = 223; * *
       * Primes for Google AdWords Express android app (go/primes, go/awx-android)
       * 
*/ GHS_ANDROID_PRIMES(185, 223), /** * ADWORDS_MOBILE_ANDROID_PRIMES = 224; * *
       * Primes for Google Home Services android app (go/primes, go/sab-awx-android)
       * 
*/ ADWORDS_MOBILE_ANDROID_PRIMES(186, 224), /** * TAP_AND_PAY_ANDROID_PRIMES = 227; * *
       * AdWords system health (go/awm, go/primes)
       * 
*/ TAP_AND_PAY_ANDROID_PRIMES(187, 227), /** * WALLET_APP_ANDROID_PRIMES = 232; * *
       * Primes for Tap and Pay android app, aka Android pay app (go/tp2)
       * 
*/ WALLET_APP_ANDROID_PRIMES(188, 232), /** * WALLET_APP_IOS_PRIMES = 233; * *
       * Primes for Wallet android app (go/gmoney)
       * 
*/ WALLET_APP_IOS_PRIMES(189, 233), /** * ANALYTICS_ANDROID_PRIMES = 235; * *
       * Primes for Wallet iOS app (go/gmoney)
       * 
*/ ANALYTICS_ANDROID_PRIMES(190, 235), /** * SPACES_ANDROID_PRIMES = 236; * *
       * Logs for system health metric for Analytics Android app (go/primes)
       * 
*/ SPACES_ANDROID_PRIMES(191, 236), /** * SPACES_IOS_PRIMES = 276; * *
       * Logs for the Spaces Android App (go/spaces)
       * 
*/ SPACES_IOS_PRIMES(192, 276), /** * SOCIETY_ANDROID_PRIMES = 238; * *
       * Logs for the Spaces iOS App (go/spaces)
       * 
*/ SOCIETY_ANDROID_PRIMES(193, 238), /** * GMM_BRIIM_PRIMES = 239; * *
       * Logs for system health metric for Society (go/primes, go/society)
       * 
*/ GMM_BRIIM_PRIMES(194, 239), /** * CW_PRIMES = 242; * *
       * Logs for system health metric for GMM BRIIM (go/gmm-briim)
       * 
*/ CW_PRIMES(195, 242), /** * FAMILYLINK_ANDROID_PRIMES = 244; * *
       * Clockwork go/primes logs
       * 
*/ FAMILYLINK_ANDROID_PRIMES(196, 244), /** * FAMILYLINK_IOS_PRIMES = 291; * *
       * Logs for system health metric for FamilyLink (go/primes)
       * 
*/ FAMILYLINK_IOS_PRIMES(197, 291), /** * WH_PRIMES = 248; * *
       * Logs for ios system health metric for FamilyLink (go/primes-ios, go/familylink-ios-app)
       * 
*/ WH_PRIMES(198, 248), /** * NOVA_ANDROID_PRIMES = 249; * *
       * Primes for Westinghouse (go/westinghouse, go/primes)
       * 
*/ NOVA_ANDROID_PRIMES(199, 249), /** * PHOTOS_DRAPER_ANDROID_PRIMES = 253; * *
       * Nova client app system health metrics (go/primes)
       * 
*/ PHOTOS_DRAPER_ANDROID_PRIMES(200, 253), /** * GMM_PRIMES = 254; * *
       * Logs for system health metric for Photos Draper (go/primes, go/photos-draper)
       * 
*/ GMM_PRIMES(201, 254), /** * TRANSLATE_ANDROID_PRIMES = 255; * *
       * Logs for system health metric for aGMM (go/gmm)
       * 
*/ TRANSLATE_ANDROID_PRIMES(202, 255), /** * TRANSLATE_IOS_PRIMES = 256; * *
       * Logs for system health metric for Translate on Android (go/primes)
       * 
*/ TRANSLATE_IOS_PRIMES(203, 256), /** * FLYDROID_ANDROID_PRIMES = 259; * *
       * Logs for system health metric for Translate on iOS (go/primes)
       * 
*/ FLYDROID_ANDROID_PRIMES(204, 259), /** * CONSUMERIQ_PRIMES = 260; * *
       * Log for system health metric for Freighter (go/freighter)
       * 
*/ CONSUMERIQ_PRIMES(205, 260), /** * GMB_ANDROID_PRIMES = 263; * *
       * Log for system health metric for Consumer IQ (go/primes)
       * 
*/ GMB_ANDROID_PRIMES(206, 263), /** * CLOUDDPC_PRIMES = 304; * *
       * Primes for Google My Business android app (go/gmb-android, go/primes).
       * 
*/ CLOUDDPC_PRIMES(207, 304), /** * CLOUDDPC_ARC_PRIMES = 305; * *
       * Primes for CloudDpc (go/clouddpc)
       * 
*/ CLOUDDPC_ARC_PRIMES(208, 305), /** * ICORE = 137; * *
       * Primes for CloudDpc for ARC (go/clouddpc)
       * 
*/ ICORE(209, 137), /** * PANCETTA_MOBILE_HOST = 138; * *
       * iOS logging (go/ios-logging)
       * 
*/ PANCETTA_MOBILE_HOST(210, 138), /** * PANCETTA_MOBILE_HOST_COUNTERS = 139; * *
       * Logs for Pancetta mobile hosts (go/pancetta)
       * 
*/ PANCETTA_MOBILE_HOST_COUNTERS(211, 139), /** * CROSSDEVICENOTIFICATION = 141; * *
       * Counters for Pancetta mobile hosts (go/pancetta)
       * 
*/ CROSSDEVICENOTIFICATION(212, 141), /** * CROSSDEVICENOTIFICATION_DEV = 142; * *
       * Logs for cross device notification service (go/hotpocket)
       * 
*/ CROSSDEVICENOTIFICATION_DEV(213, 142), /** * MAPS_API_COUNTERS = 143; * *
       * Dev logs for cross device notification service (go/hotpocket)
       * 
*/ MAPS_API_COUNTERS(214, 143), /** * GPU = 144; * *
       * Android and iOS Maps API (go/mapview & go/meridian)
       * 
*/ GPU(215, 144), /** * ON_THE_GO = 145; * *
       * Logs for Geo Photo Uploader (go/gpu-site)
       * 
*/ ON_THE_GO(216, 145), /** * ON_THE_GO_COUNTERS = 146; * *
       * Logs for OnTheGo (go/onthego)
       * 
*/ ON_THE_GO_COUNTERS(217, 146), /** * GMS_CORE_PEOPLE_AUTOCOMPLETE = 147; * *
       * Counters for OnTheGo (go/onthego)
       * 
*/ GMS_CORE_PEOPLE_AUTOCOMPLETE(218, 147), /** * FLYDROID_COUNTERS = 148; * *
       * Logs for Gcore People Autocomplete (go/yenta)
       * 
*/ FLYDROID_COUNTERS(219, 148), /** * FIREBALL = 149; * *
       * Logs for Flydroid (go/flydroid).
       * 
*/ FIREBALL(220, 149), /** * FIREBALL_COUNTERS = 257; * *
       * Logs for Fireball (go/fireballdev)
       * 
*/ FIREBALL_COUNTERS(221, 257), /** * CRONET_FIREBALL = 303; * *
       * Fireball counters (go/fireballdev)
       * 
*/ CRONET_FIREBALL(222, 303), /** * FIREBALL_PRIMES = 266; * *
       * Fireball cronet (go/fireballdev)
       * 
*/ FIREBALL_PRIMES(223, 266), /** * FIREBALL_IOS_PRIMES = 313; * *
       * Logs for system health for Fireball (go/fireball-systemhealth-plan)
       * 
*/ FIREBALL_IOS_PRIMES(224, 313), /** * GOOGLE_HANDWRITING_INPUT_ANDROID_PRIMES = 314; * *
       * Logs for system health for Fireball iOS (go/fireball-systemhealth-plan)
       * 
*/ GOOGLE_HANDWRITING_INPUT_ANDROID_PRIMES(225, 314), /** * PYROCLASM = 153; * *
       * Primes for Google Handwriting Input (go/hwrime)
       * 
*/ PYROCLASM(226, 153), /** * ANDROID_GSA_COUNTERS = 161; * *
       * Logs for Pyroclasm (go/pyroclasm)
       * 
*/ ANDROID_GSA_COUNTERS(227, 161), /** * JAM_IMPRESSIONS = 162; * *
       * Logs for AGSA counters.
       * 
*/ JAM_IMPRESSIONS(228, 162), /** * JAM_KIOSK_IMPRESSIONS = 163; * *
       * Impressions logs for Jam (go/jam).
       * 
*/ JAM_KIOSK_IMPRESSIONS(229, 163), /** * PAYMENTS_OCR = 164; * *
       * Impressions logs for Jam Kiosk (go/jam).
       * 
*/ PAYMENTS_OCR(230, 164), /** * UNICORN_FAMILY_MANAGEMENT = 172; * *
       * Logs for payments ocr (go/cc-ocr-metrics).
       * 
*/ UNICORN_FAMILY_MANAGEMENT(231, 172), /** * AUDITOR = 173; * *
       * Logs for Family management (and onboarding) go/familymanagement
       * 
*/ AUDITOR(232, 173), /** * NQLOOKUP = 174; * *
       * Logs for Accesssibility Auditor (go/a11y-checker)
       * 
*/ NQLOOKUP(233, 174), /** * ANDROID_GSA_HIGH_PRIORITY_EVENTS = 175; * *
       * Logs for NQLookup (go/nqlookup, contact herrevad@google.com)
       * 
*/ ANDROID_GSA_HIGH_PRIORITY_EVENTS(234, 175), /** * ANDROID_DIALER = 176; * *
       * Logs for high priority events in AGSA (go/click-tracking-agsa).
       * 
*/ ANDROID_DIALER(235, 176), /** * CLEARCUT_DEMO = 177; * *
       * Logs for Android Dialer (go/android-dialer)
       * 
*/ CLEARCUT_DEMO(236, 177), /** * APPMANAGER = 183; * *
       * Logs for Clearcut's demo application
       * 
*/ APPMANAGER(237, 183), /** * SMARTLOCK_COUNTERS = 184; * *
       * Logs for Firebase App Manager (go/appmanager)
       * 
*/ SMARTLOCK_COUNTERS(238, 184), /** * EXPEDITIONS_GUIDE = 185; * *
       * Counters for Smart Lock (go/smartlock)
       * 
*/ EXPEDITIONS_GUIDE(239, 185), /** * FUSE = 186; * *
       * Guide-aggregated logs for go/expeditions .
       * 
*/ FUSE(240, 186), /** * PIXEL_PERFECT_CLIENT_STATE_LOGGER = 187; * *
       * Logs for Fuse (go/fuse).
       * 
*/ PIXEL_PERFECT_CLIENT_STATE_LOGGER(241, 187), /** * PLATFORM_STATS_COUNTERS = 188; * *
       * Logs for PixelPerfect client app (go/pxp-client)
       * 
*/ PLATFORM_STATS_COUNTERS(242, 188), /** * DRIVE_VIEWER = 189; * *
       * Counters for platform stats.(go/androidplatformstats, clearcut-eng@)
       * 
*/ DRIVE_VIEWER(243, 189), /** * PDF_VIEWER = 190; * *
       * Google Drive Viewer Android and iOS apps (go/picoprojector)
       * 
*/ PDF_VIEWER(244, 190), /** * BIGTOP = 191; * *
       * Google PDF Viewer Android app (go/picoprojector)
       * 
*/ BIGTOP(245, 191), /** * VOICE = 192; * *
       * Logs for Bigtop (externally known as Inbox, go/bigtop).
       * 
*/ VOICE(246, 192), /** * MYFIBER = 194; * *
       * Logs for Google Voice (go/googlevoice).
       * 
*/ MYFIBER(247, 194), /** * RECORDED_PAGES = 195; * *
       * Logs for My Fiber mobile applications (go/myfibernative)
       * 
*/ RECORDED_PAGES(248, 195), /** * MOB_DOG = 197; * *
       * Logs for RecordedPages (go/recorded-pages)
       * 
*/ MOB_DOG(249, 197), /** * WALLET_APP = 198; * *
       * Logs for MobDog (go/mobdog)
       * 
*/ WALLET_APP(250, 198), /** * GBOARD = 199; * *
       * Logs for the Wallet app (go/gmoney)
       * 
*/ GBOARD(251, 199), /** * CRONET_GMM = 203; * *
       * Logs for GBoard (go/gboard)
       * 
*/ CRONET_GMM(252, 203), /** * TRUSTED_FACE = 204; * *
       * Cronet UMA logs from GMM (go/cronet-uma)
       * 
*/ TRUSTED_FACE(253, 204), /** * MATCHSTICK = 205; * *
       * Logs for Trusted Face (go/smartlock)
       * 
*/ MATCHSTICK(254, 205), /** * APP_CATALOG = 206; * *
       * Logs for Matchstick library (go/matchstick)
       * 
*/ APP_CATALOG(255, 206), /** * BLUETOOTH = 208; * *
       * Logs for AppCatalog aka "Get My Google Apps" (go/growth)
       * 
*/ BLUETOOTH(256, 208), /** * WIFI = 209; * *
       * Logs for Bluetooth (go/fluoride)
       * 
*/ WIFI(257, 209), /** * TELECOM = 210; * *
       * Logs for WiFi (go/connectivity-site)
       * 
*/ TELECOM(258, 210), /** * TELEPHONY = 211; * *
       * Logs for Telcom (go/connectivity-site)
       * 
*/ TELEPHONY(259, 211), /** * IDENTITY_FRONTEND = 212; * *
       * Logs for Telephony (go/connectivity-site)
       * 
*/ IDENTITY_FRONTEND(260, 212), /** * SESAME = 216; * *
       * Logs for the Identity frontend (go/ifus-readme)
       * 
*/ SESAME(261, 216), /** * GOOGLE_KEYBOARD_CONTENT = 217; * *
       * Logs for Sesame (go/sesame-logging)
       * 
*/ GOOGLE_KEYBOARD_CONTENT(262, 217), /** * MADDEN = 218; * *
       * Google Keyboard's Latin IME content logs (go/google-keyboard)
       * 
*/ MADDEN(263, 218), /** * INK = 219; * *
       * Logs for Madden (go/madden)
       * 
*/ INK(264, 219), /** * ANDROID_CONTACTS = 220; * *
       * Logs for Ink (go/ink)
       * 
*/ ANDROID_CONTACTS(265, 220), /** * GOOGLE_KEYBOARD_COUNTERS = 221; * *
       * Logs for Android Contacts (go/android-contacts)
       * 
*/ GOOGLE_KEYBOARD_COUNTERS(266, 221), /** * CLEARCUT_PROBER = 225; * *
       * Google Keyboard histogram counters (go/google-keyboard)
       * 
*/ CLEARCUT_PROBER(267, 225), /** * PLAY_CONSOLE_APP = 226; * *
       * Clearcut prober (go/clearcut-prober)
       * 
*/ PLAY_CONSOLE_APP(268, 226), /** * PLAY_CONSOLE_APP_PRIMES = 264; * *
       * Logs for the Google Play Developer Console app
       * 
*/ PLAY_CONSOLE_APP_PRIMES(269, 264), /** * SPECTRUM = 230; * *
       * Log for system health metrics for the Google Play Developer Console app
       * 
*/ SPECTRUM(270, 230), /** * SPECTRUM_COUNTERS = 231; * *
       * Spectrum (go/spectrum-site)
       * 
*/ SPECTRUM_COUNTERS(271, 231), /** * SPECTRUM_ANDROID_PRIMES = 267; * *
       * Spectrum (go/spectrum-site)
       * 
*/ SPECTRUM_ANDROID_PRIMES(272, 267), /** * IOS_SPOTLIGHT_SEARCH_LIBRARY = 234; * *
       * Spectrum (go/spectrum-site)
       * 
*/ IOS_SPOTLIGHT_SEARCH_LIBRARY(273, 234), /** * BOQ_WEB = 241; * *
       * Logs for the iOS Spotlight Search Library (go/tempeh-dd)
       * 
*/ BOQ_WEB(274, 241), /** * ORCHESTRATION_CLIENT = 245; * *
       * Logs for client-side analytics of Boq Web (go/boq-web)
       * 
*/ ORCHESTRATION_CLIENT(275, 245), /** * ORCHESTRATION_CLIENT_DEV = 246; * *
       * Orchestration client logs for prod environment (go/megalogs-design)
       * 
*/ ORCHESTRATION_CLIENT_DEV(276, 246), /** * GOOGLE_NOW_LAUNCHER = 247; * *
       * Orchestration client logs for dev environment (go/megalogs-design)
       * 
*/ GOOGLE_NOW_LAUNCHER(277, 247), /** * SCOOBY_SPAM_REPORT_LOG = 250; * *
       * Logs for Google Now Launcher (go/gnl-logging)
       * 
*/ SCOOBY_SPAM_REPORT_LOG(278, 250), /** * IOS_GROWTH = 251; * *
       * Logs of spam reports by scooby clients. (go/scooby)
       * 
*/ IOS_GROWTH(279, 251), /** * APPS_NOTIFY = 252; * *
       * go/growthkit-metrics
       * 
*/ APPS_NOTIFY(280, 252), /** * SMARTKEY_APP = 269; * *
       * Drive web push notifications (go/apps-notify)
       * 
*/ SMARTKEY_APP(281, 269), /** * CLINICAL_STUDIES = 270; * *
       * Smart Key App for project Bolt (go/smartlock)
       * 
*/ CLINICAL_STUDIES(282, 270), /** * FITNESS_ANDROID_PRIMES = 271; * *
       * Lifescience Clinical Studies logs (go/apollox)
       * 
*/ FITNESS_ANDROID_PRIMES(283, 271), /** * IMPROV_APPS = 272; * *
       * System health metric for Google Fit Android App (go/heart, go/primes)
       * 
*/ IMPROV_APPS(284, 272), /** * FAMILYLINK = 273; * *
       * Logs for Improv apps (go/improvlogging)
       * 
*/ FAMILYLINK(285, 273), /** * FAMILYLINK_COUNTERS = 274; * *
       * Family Link (go/familylink-dd)
       * 
*/ FAMILYLINK_COUNTERS(286, 274), /** * SOCIETY = 275; * *
       * Family Link counters (go/familylink-dd)
       * 
*/ SOCIETY(287, 275), /** * DIALER_ANDROID_PRIMES = 277; * *
       * NBU Society app (go/society)
       * 
*/ DIALER_ANDROID_PRIMES(288, 277), /** * YOUTUBE_DIRECTOR_APP = 278; * *
       * Android Dialer Primes (go/dialer)
       * 
*/ YOUTUBE_DIRECTOR_APP(289, 278), /** * TACHYON_ANDROID_PRIMES = 279; * *
       * YouTube Director App (go/youtube-director)
       * 
*/ TACHYON_ANDROID_PRIMES(290, 279), /** * DRIVE_FS = 280; * *
       * Android Tachyon Client
       * 
*/ DRIVE_FS(291, 280), /** * YT_MAIN = 281; * *
       * DriveFS (go/drive-fs)
       * 
*/ YT_MAIN(292, 281), /** * WING_MARKETPLACE_ANDROID_PRIMES = 282; * *
       * Logs for YT's main application
       * 
*/ WING_MARKETPLACE_ANDROID_PRIMES(293, 282), /** * DYNAMITE = 283; * *
       * Primes for Wing Marketplace Android app (go/wing-marketplace-android, go/primes)
       * 
*/ DYNAMITE(294, 283), /** * CORP_ANDROID_FOOD = 284; * *
       * Logs for Dynamite (go/dynamite)
       * 
*/ CORP_ANDROID_FOOD(295, 284), /** * ANDROID_MESSAGING_PRIMES = 285; * *
       * Logs for the internal Android Food app (g3doc/java/com/google/corp/bizapps/rews/food/android)
       * 
*/ ANDROID_MESSAGING_PRIMES(296, 285), /** * GPLUS_IOS_PRIMES = 286; * *
       * Primes for Android Messenger (go/bugledev, go/primes)
       * 
*/ GPLUS_IOS_PRIMES(297, 286), /** * CHROMECAST_ANDROID_PRIMES = 288; * *
       * Primes for Google+ iOS app (go/gplus-ios, go/primes)
       * 
*/ CHROMECAST_ANDROID_PRIMES(298, 288), /** * APPSTREAMING = 289; * *
       * Primes for Chromecast Android app (go/cast-apps)
       * 
*/ APPSTREAMING(299, 289), /** * GMB_ANDROID = 290; * *
       * Logs for AppStreaming Client Framework Side (go/piccard)
       * 
*/ GMB_ANDROID(300, 290), /** * VOICE_IOS_PRIMES = 292; * *
       * Logs for GMB Android app (go/gmb-android).
       * 
*/ VOICE_IOS_PRIMES(301, 292), /** * VOICE_ANDROID_PRIMES = 293; * *
       * Primes for iOS Google Voice (go/googlevoice).
       * 
*/ VOICE_ANDROID_PRIMES(302, 293), /** * PAISA = 294; * *
       * Primes for Android Google Voice (go/googlevoice).
       * 
*/ PAISA(303, 294), /** * GMB_IOS = 295; * *
       * NBU Paisa app (go/paisa)
       * 
*/ GMB_IOS(304, 295), /** * SCOOBY_EVENTS = 296; * *
       * Logs for GMB iOS App (go/gmb-ios).
       * 
*/ SCOOBY_EVENTS(305, 296), /** * SNAPSEED_IOS_PRIMES = 297; * *
       * Call logs events by scooby clients. (go/scooby)
       * 
*/ SNAPSEED_IOS_PRIMES(306, 297), /** * YOUTUBE_DIRECTOR_IOS_PRIMES = 298; * *
       * Primes for Snapseed IOS (go/Snapseed)
       * 
*/ YOUTUBE_DIRECTOR_IOS_PRIMES(307, 298), /** * WALLPAPER_PICKER = 299; * *
       * YouTube Director App (go/youtube-director)
       * 
*/ WALLPAPER_PICKER(308, 299), /** * CHIME = 300; * *
       * Android wallpaper picker (go/magic-wallpapers)
       * 
*/ CHIME(309, 300), /** * BEACON_GCORE = 301; * *
       * Chime (go/chime)
       * 
*/ BEACON_GCORE(310, 301), /** * ANDROID_STUDIO = 302; * *
       * Logs for debugging beacon module (go/beacons)
       * 
*/ ANDROID_STUDIO(311, 302), /** * DOCS_OFFLINE = 306; * *
       * Android Studio (go/android-studio)
       * 
*/ DOCS_OFFLINE(312, 306), /** * FREIGHTER = 307; * *
       * Logs for Docs Offline on Desktop  (go/jetpax)
       * 
*/ FREIGHTER(313, 307), /** * DOCS_IOS_PRIMES = 308; * *
       * Logs for Freighter (http://go/freighter)
       * 
*/ DOCS_IOS_PRIMES(314, 308), /** * SLIDES_IOS_PRIMES = 309; * *
       * Logs for the Google Docs iOS application
       * 
*/ SLIDES_IOS_PRIMES(315, 309), /** * SHEETS_IOS_PRIMES = 310; * *
       * Logs for the Google Docs iOS application
       * 
*/ SHEETS_IOS_PRIMES(316, 310), /** * IPCONNECTIVITY = 311; * *
       * Logs for the Google Docs iOS application
       * 
*/ IPCONNECTIVITY(317, 311), /** * CURATOR = 312; * *
       * Logs for Networking (go/connectivity-site)
       * 
*/ CURATOR(318, 312), ; /** * GPLUS_ANDROID_SYSTEM_HEALTH = 140; * *
       * Logs for system health metric for Gplus (go/primes)
       * 
*/ public static final LogSource GPLUS_ANDROID_SYSTEM_HEALTH = GPLUS_ANDROID_PRIMES; /** * GMAIL_ANDROID_SYSTEM_HEALTH = 150; * *
       * Logs for system health metric for GMail (go/primes)
       * 
*/ public static final LogSource GMAIL_ANDROID_SYSTEM_HEALTH = GMAIL_ANDROID_PRIMES; /** * CALENDAR_ANDROID_SYSTEM_HEALTH = 151; * *
       * Logs for system health metric for Calendar (go/primes)
       * 
*/ public static final LogSource CALENDAR_ANDROID_SYSTEM_HEALTH = CALENDAR_ANDROID_PRIMES; /** * DOCS_ANDROID_SYSTEM_HEALTH = 152; * *
       * Logs for system health metric for Docs (go/primes)
       * 
*/ public static final LogSource DOCS_ANDROID_SYSTEM_HEALTH = DOCS_ANDROID_PRIMES; /** * UNKNOWN = -1; */ public static final int UNKNOWN_VALUE = -1; /** * STORE = 0; */ public static final int STORE_VALUE = 0; /** * WEB_STORE = 65; * *
       * Google Play Store Android App
       * 
*/ public static final int WEB_STORE_VALUE = 65; /** * WORK_STORE = 132; * *
       * Google Play Web Store (https://play.google.com/store)
       * 
*/ public static final int WORK_STORE_VALUE = 132; /** * WORK_STORE_APP = 261; * *
       * Play for Work on the web client (Worksky)
       * 
*/ public static final int WORK_STORE_APP_VALUE = 261; /** * EDU_STORE = 15; * *
       * Play for Work on the Google Play Store Android App
       * 
*/ public static final int EDU_STORE_VALUE = 15; /** * MUSIC = 1; * *
       * for collecting stats on Play for Education
       * 
*/ public static final int MUSIC_VALUE = 1; /** * BOOKS = 2; */ public static final int BOOKS_VALUE = 2; /** * VIDEO = 3; */ public static final int VIDEO_VALUE = 3; /** * MOVIES = 74; * *
       * Android Video (go/avi, android-video-oncall@)
       * 
*/ public static final int MOVIES_VALUE = 74; /** * MAGAZINES = 4; */ public static final int MAGAZINES_VALUE = 4; /** * GAMES = 5; */ public static final int GAMES_VALUE = 5; /** * LB_A = 6; */ public static final int LB_A_VALUE = 6; /** * ANDROID_IDE = 7; * *
       * for collecting app usage stats (Lockbox project)
       * 
*/ public static final int ANDROID_IDE_VALUE = 7; /** * LB_P = 8; * *
       * Android IDE (deprecated, see ANDROID_STUDIO below)
       * 
*/ public static final int LB_P_VALUE = 8; /** * LB_S = 9; * *
       * for collecting phone call events and stats (Lockbox project)
       * 
*/ public static final int LB_S_VALUE = 9; /** * GMS_CORE = 10; * *
       * for collecting SMS events and stats (Lockbox project)
       * 
*/ public static final int GMS_CORE_VALUE = 10; /** * APP_USAGE_1P = 11; * *
       * Usage of GMS Core itself and its internal stats
       * 
*/ public static final int APP_USAGE_1P_VALUE = 11; /** * ICING = 12; * *
       * First-party app usage tracking.
       * 
*/ public static final int ICING_VALUE = 12; /** * HERREVAD = 13; * *
       * Icing stats (AppDataSearch go/icing)
       * 
*/ public static final int HERREVAD_VALUE = 13; /** * GOOGLE_TV = 14; * *
       * for collecting Nova Network quality data
       * 
*/ public static final int GOOGLE_TV_VALUE = 14; /** * GMS_CORE_PEOPLE = 16; * *
       * Google TV, not Eureka.
       * 
*/ public static final int GMS_CORE_PEOPLE_VALUE = 16; /** * LE = 17; * *
       * GMS core people (aka menagerie, zhengfu@, android-contacts@)
       * 
*/ public static final int LE_VALUE = 17; /** * GOOGLE_ANALYTICS = 18; * *
       * Location Engine statistics
       * 
*/ public static final int GOOGLE_ANALYTICS_VALUE = 18; /** * LB_D = 19; * *
       * Google Analytics SDK health monitoring
       * 
*/ public static final int LB_D_VALUE = 19; /** * ANDROID_GSA = 20; * *
       * for collecting device state changes (Lockbox project)
       * 
*/ public static final int ANDROID_GSA_VALUE = 20; /** * LB_T = 21; * *
       * Android GSA (Google Search App) stats
       * 
*/ public static final int LB_T_VALUE = 21; /** * PERSONAL_LOGGER = 22; * *
       * for collecting Android RunningTaskInfo (Lockbox project)
       * 
*/ public static final int PERSONAL_LOGGER_VALUE = 22; /** * PERSONAL_BROWSER_LOGGER = 37; * *
       * PixelPerfect activity logger
       * 
*/ public static final int PERSONAL_BROWSER_LOGGER_VALUE = 37; /** * GMS_CORE_WALLET_MERCHANT_ERROR = 23; * *
       * PixelPerfect Chrome extension logger
       * 
*/ public static final int GMS_CORE_WALLET_MERCHANT_ERROR_VALUE = 23; /** * LB_C = 24; * *
       * GMS core wallet merchant errors
       * 
*/ public static final int LB_C_VALUE = 24; /** * LB_IA = 52; * *
       * Android contacts going from Now to HappyHour.log_event_extension_test
       * 
*/ public static final int LB_IA_VALUE = 52; /** * LB_CB = 237; * *
       * Android installed apps going from Now to HappyHour.
       * 
*/ public static final int LB_CB_VALUE = 237; /** * LB_DM = 268; * *
       * Android contacts for backup/restore purpose.
       * 
*/ public static final int LB_DM_VALUE = 268; /** * ANDROID_AUTH = 25; * *
       * Android device metadata used for contacts backup/restore
       * purpose.
       * 
*/ public static final int ANDROID_AUTH_VALUE = 25; /** * ANDROID_CAMERA = 26; * *
       * for collecting GMS core android auth data
       * 
*/ public static final int ANDROID_CAMERA_VALUE = 26; /** * CW = 27; * *
       * Android camera usage statistics
       * 
*/ public static final int CW_VALUE = 27; /** * CW_COUNTERS = 243; * *
       * Clockwork interaction logs
       * 
*/ public static final int CW_COUNTERS_VALUE = 243; /** * GEL = 28; * *
       * Clockwork counters
       * 
*/ public static final int GEL_VALUE = 28; /** * DNA_PROBER = 29; * *
       * Google experience launcher logs (http://go/signac).
       * 
*/ public static final int DNA_PROBER_VALUE = 29; /** * UDR = 30; * *
       * DNA logger (for internal research), go/dna2014.
       * 
*/ public static final int UDR_VALUE = 30; /** * GMS_CORE_WALLET = 31; * *
       * For collecting Android app usage data.
       * 
*/ public static final int GMS_CORE_WALLET_VALUE = 31; /** * SOCIAL = 32; * *
       * GMS core wallet analytics
       * 
*/ public static final int SOCIAL_VALUE = 32; /** * INSTORE_WALLET = 33; * *
       * Traffic from Social clients: gplus-log-quality@
       * 
*/ public static final int INSTORE_WALLET_VALUE = 33; /** * NOVA = 34; * *
       * Instore play payments
       * 
*/ public static final int NOVA_VALUE = 34; /** * LB_CA = 35; * *
       * Nova client logs.
       * 
*/ public static final int LB_CA_VALUE = 35; /** * LATIN_IME = 36; * *
       * DEPRECATED: Android contact account data going from Now to Footprints.
       * 
*/ public static final int LATIN_IME_VALUE = 36; /** * NEWS_WEATHER = 38; * *
       * Google Keyboard (http://go/google-keyboard)
       * 
*/ public static final int NEWS_WEATHER_VALUE = 38; /** * HANGOUT = 39; * *
       * News & Weather Android/iOS apps
       * 
*/ public static final int HANGOUT_VALUE = 39; /** * HANGOUT_LOG_REQUEST = 50; * *
       * Deprecated source for HangoutLogEntry (rtc-analytics-eng@)
       * 
*/ public static final int HANGOUT_LOG_REQUEST_VALUE = 50; /** * COPRESENCE = 40; * *
       * Hangouts data using HangoutLogRequest (rtc-analytics-eng@)
       * 
*/ public static final int COPRESENCE_VALUE = 40; /** * SOCIAL_AFFINITY = 41; * *
       * Copresence (http://go/whisper)
       * 
*/ public static final int SOCIAL_AFFINITY_VALUE = 41; /** * PHOTOS = 42; * *
       * Social Affinity logs (go/disco-logging-v2).
       * 
*/ public static final int PHOTOS_VALUE = 42; /** * GCM = 43; * *
       * Google Photos (go/photos).
       * 
*/ public static final int GCM_VALUE = 43; /** * GOKART = 44; * *
       * Google Cloud Messaging logs (go/gcm).
       * 
*/ public static final int GOKART_VALUE = 44; /** * FINDR = 45; * *
       * GoKart (go/gokart, Drive Android API)
       * 
*/ public static final int FINDR_VALUE = 45; /** * ANDROID_MESSAGING = 46; * *
       * Findr app (go/findr).
       * 
*/ public static final int ANDROID_MESSAGING_VALUE = 46; /** * SOCIAL_WEB = 47; * *
       * Android messenger(Bugle).
       * 
*/ public static final int SOCIAL_WEB_VALUE = 47; /** * BACKDROP = 48; * *
       * Traffic from Social clients: gplus-log-quality@.
       * 
*/ public static final int BACKDROP_VALUE = 48; /** * TELEMATICS = 49; * *
       * Backdrop device logs (go/tv-imax).
       * 
*/ public static final int TELEMATICS_VALUE = 49; /** * GVC_HARVESTER = 51; * *
       * Telematics app (go/telematics).
       * 
*/ public static final int GVC_HARVESTER_VALUE = 51; /** * CAR = 53; * *
       * GVC Harvester (go/harvesterdesigndoc)
       * 
*/ public static final int CAR_VALUE = 53; /** * PIXEL_PERFECT = 54; * *
       * Android Automotive (go/gearhead).
       * 
*/ public static final int PIXEL_PERFECT_VALUE = 54; /** * DRIVE = 55; * *
       * PixelPerfect app client log (go/pixelperfect-analytics)
       * 
*/ public static final int DRIVE_VALUE = 55; /** * DOCS = 56; * *
       * Google Drive (go/cakemix, nickread@, cakemix-drive@)
       * 
*/ public static final int DOCS_VALUE = 56; /** * SHEETS = 57; * *
       * Google Docs (go/cakemix, haluk@, bulach@, tstrauss@)
       * 
*/ public static final int SHEETS_VALUE = 57; /** * SLIDES = 58; * *
       * Google Sheets (go/cakemix, tgleason@, bulach@, tstrauss@)
       * 
*/ public static final int SLIDES_VALUE = 58; /** * IME = 59; * *
       * Google Slides (go/cakemix, yugacohler@, bulach@, tstrauss@)
       * 
*/ public static final int IME_VALUE = 59; /** * WARP = 60; * *
       * Google Android IME logs (go/goopy).
       * 
*/ public static final int WARP_VALUE = 60; /** * NFC_PROGRAMMER = 61; * *
       * Warp (go/warp-project)
       * 
*/ public static final int NFC_PROGRAMMER_VALUE = 61; /** * NETSTATS = 62; * *
       * NfcProgrammer (go/aedu-platform-overview)
       * 
*/ public static final int NETSTATS_VALUE = 62; /** * NEWSSTAND = 63; * *
       * Collection of Network Statistics (go/n-s).
       * 
*/ public static final int NEWSSTAND_VALUE = 63; /** * KIDS_COMMUNICATOR = 64; * *
       * Google Play Newsstand.
       * 
*/ public static final int KIDS_COMMUNICATOR_VALUE = 64; /** * WIFI_ASSISTANT = 66; * *
       * Kids Communicator (http://goto/kidscommunicator_dd)
       * 
*/ public static final int WIFI_ASSISTANT_VALUE = 66; /** * CAST_SENDER_SDK = 67; * *
       * WiFi Assistant client logs.
       * 
*/ public static final int CAST_SENDER_SDK_VALUE = 67; /** * CRONET_SOCIAL = 68; * *
       * Cast Sender SDK (go/dongle)
       * 
*/ public static final int CRONET_SOCIAL_VALUE = 68; /** * PHENOTYPE = 69; * *
       * Social cronet metrics.
       * 
*/ public static final int PHENOTYPE_VALUE = 69; /** * PHENOTYPE_COUNTERS = 70; * *
       * The client side of experiment framework (go/ph, peiling@, phenotype-eng@).
       * 
*/ public static final int PHENOTYPE_COUNTERS_VALUE = 70; /** * CHROME_INFRA = 71; * *
       * The counters for Phenotype (go/ph, peiling@, phenotype-eng@).
       * 
*/ public static final int CHROME_INFRA_VALUE = 71; /** * JUSTSPEAK = 72; * *
       * Chrome Infrastructure events
       * 
*/ public static final int JUSTSPEAK_VALUE = 72; /** * PERF_PROFILE = 73; * *
       * JustSpeak (go/justspeak)
       * 
*/ public static final int PERF_PROFILE_VALUE = 73; /** * KATNISS = 75; * *
       * Android Wide Profiling (go/android-wide-profiling)
       * 
*/ public static final int KATNISS_VALUE = 75; /** * SOCIAL_APPINVITE = 76; * *
       * Android TV search (go/atv-search)
       * 
*/ public static final int SOCIAL_APPINVITE_VALUE = 76; /** * GMM_COUNTERS = 77; * *
       * Google Plus Platform App Invite (go/appinvite)
       * 
*/ public static final int GMM_COUNTERS_VALUE = 77; /** * BOND_ONEGOOGLE = 78; * *
       * Google Maps Mobile (go/gmm).
       * 
*/ public static final int BOND_ONEGOOGLE_VALUE = 78; /** * MAPS_API = 79; * *
       * Bond OneGoogleBar integration (go/bond-ogb)
       * 
*/ public static final int MAPS_API_VALUE = 79; /** * CRONET_ANDROID_YT = 196; * *
       * Android and iOS Maps API (go/mapview & go/meridian)
       * 
*/ public static final int CRONET_ANDROID_YT_VALUE = 196; /** * CRONET_ANDROID_GSA = 80; * *
       * Cronet UMA logs from Android YT (go/cronet-uma)
       * 
*/ public static final int CRONET_ANDROID_GSA_VALUE = 80; /** * GOOGLE_FIT_WEARABLE = 81; * *
       * Cronet UMA logs from Android GSA (go/cronet-uma)
       * 
*/ public static final int GOOGLE_FIT_WEARABLE_VALUE = 81; /** * FITNESS_ANDROID = 169; * *
       * Google Fit Wearable App (go/heart)
       * 
*/ public static final int FITNESS_ANDROID_VALUE = 169; /** * FITNESS_GMS_CORE = 170; * *
       * Google Fit Android App (go/heart)
       * 
*/ public static final int FITNESS_GMS_CORE_VALUE = 170; /** * GOOGLE_EXPRESS = 82; * *
       * Google Fit GMSCore (go/heart)
       * 
*/ public static final int GOOGLE_EXPRESS_VALUE = 82; /** * GOOGLE_EXPRESS_DEV = 215; * *
       * Google Express (go/gsx)
       * 
*/ public static final int GOOGLE_EXPRESS_DEV_VALUE = 215; /** * GOOGLE_EXPRESS_COURIER_ANDROID_PRIMES = 228; * *
       * Google Express (go/gsx) For DEV mall server
       * 
*/ public static final int GOOGLE_EXPRESS_COURIER_ANDROID_PRIMES_VALUE = 228; /** * GOOGLE_EXPRESS_ANDROID_PRIMES = 229; * *
       * Google Express (go/gsx) Courier App metric logging (go/primes)
       * 
*/ public static final int GOOGLE_EXPRESS_ANDROID_PRIMES_VALUE = 229; /** * GOOGLE_EXPRESS_STOREOMS_ANDROID_PRIMES = 240; * *
       * Google Express (go/gsx) App metric logging (go/primes)
       * 
*/ public static final int GOOGLE_EXPRESS_STOREOMS_ANDROID_PRIMES_VALUE = 240; /** * SENSE = 83; * *
       * Google Express (go/gsx) Store OMS App metric logging (go/primes)
       * 
*/ public static final int SENSE_VALUE = 83; /** * ANDROID_BACKUP = 84; * *
       * Sense (go/sense)
       * 
*/ public static final int ANDROID_BACKUP_VALUE = 84; /** * VR = 85; * *
       * Android Backup Service.
       * 
*/ public static final int VR_VALUE = 85; /** * IME_COUNTERS = 86; * *
       * Virtual Reality and Google Cardboard (go/vr-team)
       * 
*/ public static final int IME_COUNTERS_VALUE = 86; /** * SETUP_WIZARD = 87; * *
       * The counters for Google Android IME (go/goopy).
       * 
*/ public static final int SETUP_WIZARD_VALUE = 87; /** * EMERGENCY_ASSIST = 88; * *
       * Setup Wizard (go/suw)
       * 
*/ public static final int EMERGENCY_ASSIST_VALUE = 88; /** * TRON = 89; * *
       * Barton (go/barton-deprecation)
       * 
*/ public static final int TRON_VALUE = 89; /** * TRON_COUNTERS = 90; * *
       * The event logs for Android Framework (go/tron, cwren@, khigaki@, tron-eng@).
       * 
*/ public static final int TRON_COUNTERS_VALUE = 90; /** * BATTERY_STATS = 91; * *
       * The counters for Android Framework (go/tron, cwren@, khigaki@, tron-eng@).
       * 
*/ public static final int BATTERY_STATS_VALUE = 91; /** * DISK_STATS = 92; * *
       * For collecting battery performance data from Android clients. (go/androidplatformstats, belland@, clearcut-eng@)
       * 
*/ public static final int DISK_STATS_VALUE = 92; /** * GRAPHICS_STATS = 107; * *
       * For collecting disk utilization stats from Android clients. (go/androidplatformstats, belland@, clearcut-eng@)
       * 
*/ public static final int GRAPHICS_STATS_VALUE = 107; /** * PROC_STATS = 93; * *
       * For collecting rendering performance stats from Android clients. (go/androidplatformstats, belland@, clearcut-eng@)
       * 
*/ public static final int PROC_STATS_VALUE = 93; /** * DROP_BOX = 131; * *
       * For collecting memory utilization stats from Android clients. (go/androidplatformstats, belland@, clearcut-eng@)
       * 
*/ public static final int DROP_BOX_VALUE = 131; /** * FINGERPRINT_STATS = 181; * *
       * For collecting DropBox logs from Android clients.
       * 
*/ public static final int FINGERPRINT_STATS_VALUE = 181; /** * NOTIFICATION_STATS = 182; * *
       * For collecting fingerprint stats from Android clients. (go/android-fingerprintstats)
       * 
*/ public static final int NOTIFICATION_STATS_VALUE = 182; /** * TAP_AND_PAY_GCORE = 94; * *
       * For collecting notification stats from Android clients. (go/android-notificationstats)
       * 
*/ public static final int TAP_AND_PAY_GCORE_VALUE = 94; /** * A11YLOGGER = 95; * *
       * Tap and Pay client service layer (go/tp2-eng)
       * 
*/ public static final int A11YLOGGER_VALUE = 95; /** * GCM_COUNTERS = 96; * *
       * Accessibility Settings Logger (go/a11ylogger)
       * 
*/ public static final int GCM_COUNTERS_VALUE = 96; /** * PLACES_NO_GLS_CONSENT = 97; * *
       * Google Cloud Messaging counters (go/gcm).
       * 
*/ public static final int PLACES_NO_GLS_CONSENT_VALUE = 97; /** * TACHYON_LOG_REQUEST = 98; * *
       * Mobile Places API logs without GLS consent (go/ios-places-api).
       * 
*/ public static final int TACHYON_LOG_REQUEST_VALUE = 98; /** * TACHYON_COUNTERS = 99; * *
       * WebRTC Tachyon (go/tachyon)
       * 
*/ public static final int TACHYON_COUNTERS_VALUE = 99; /** * VISION = 100; * *
       * WebRTC Tachyon (go/tachyon)
       * 
*/ public static final int VISION_VALUE = 100; /** * SOCIAL_USER_LOCATION = 101; * *
       * Vision (go/mobile-vision)
       * 
*/ public static final int SOCIAL_USER_LOCATION_VALUE = 101; /** * LAUNCHPAD_TOYS = 102; * *
       * Location Sharing (go/location-sharing)
       * 
*/ public static final int LAUNCHPAD_TOYS_VALUE = 102; /** * METALOG_COUNTERS = 103; * *
       * Launchpad Toys (go/launchpadtoys)
       * 
*/ public static final int METALOG_COUNTERS_VALUE = 103; /** * MOBILESDK_CLIENT = 104; * *
       * Counters for metalog (go/clearcut-metalog, iamawong@, clearcut-eng@)
       * 
*/ public static final int MOBILESDK_CLIENT_VALUE = 104; /** * ANDROID_VERIFY_APPS = 105; * *
       * go/greenhouse
       * 
*/ public static final int ANDROID_VERIFY_APPS_VALUE = 105; /** * ADSHIELD = 106; * *
       * go/safety-net
       * 
*/ public static final int ADSHIELD_VALUE = 106; /** * SHERLOG = 108; * *
       * go/adshield
       * 
*/ public static final int SHERLOG_VALUE = 108; /** * LE_ULR_COUNTERS = 109; * *
       * Sherlog data (go/sherlog)
       * 
*/ public static final int LE_ULR_COUNTERS_VALUE = 109; /** * GMM_UE3 = 110; * *
       * Counters for ULR (go/gcore-ulr). Location custom events use LE.
       * 
*/ public static final int GMM_UE3_VALUE = 110; /** * CALENDAR = 111; * *
       * Logs for GMM analytics and sessions (go/gca-analytics)
       * 
*/ public static final int CALENDAR_VALUE = 111; /** * ENDER = 112; * *
       * Google Android Calendar
       * 
*/ public static final int ENDER_VALUE = 112; /** * FAMILY_COMPASS = 113; * *
       * Logs for Ender (go/ender)
       * 
*/ public static final int FAMILY_COMPASS_VALUE = 113; /** * TRANSOM = 114; * *
       * go/familycompass
       * 
*/ public static final int TRANSOM_VALUE = 114; /** * TRANSOM_COUNTERS = 115; * *
       * Transom client-side metrics (go/transom)
       * 
*/ public static final int TRANSOM_COUNTERS_VALUE = 115; /** * LB_AS = 116; * *
       * Counters for transom metrics
       * 
*/ public static final int LB_AS_VALUE = 116; /** * LB_CFG = 117; * *
       * App usage collected by the new UsageStats API (Lockbox project).
       * 
*/ public static final int LB_CFG_VALUE = 117; /** * IOS_GSA = 118; * *
       * Device config collected by the new UsageStats API (Lockbox project).
       * 
*/ public static final int IOS_GSA_VALUE = 118; /** * TAP_AND_PAY_APP = 119; * *
       * iOS GSA (Google Search App) stats
       * 
*/ public static final int TAP_AND_PAY_APP_VALUE = 119; /** * TAP_AND_PAY_APP_COUNTERS = 265; * *
       * Tap and Pay android app, aka Android pay app (go/tp2)
       * 
*/ public static final int TAP_AND_PAY_APP_COUNTERS_VALUE = 265; /** * FLYDROID = 120; * *
       * Tap and Pay android app counters
       * 
*/ public static final int FLYDROID_VALUE = 120; /** * CPANEL_APP = 121; * *
       * Logs for Flydroid (go/flydroid).
       * 
*/ public static final int CPANEL_APP_VALUE = 121; /** * ANDROID_SNET_GCORE = 122; * *
       * CPanel latency on mobile.
       * 
*/ public static final int ANDROID_SNET_GCORE_VALUE = 122; /** * ANDROID_SNET_IDLE = 123; * *
       * go/safety-net
       * 
*/ public static final int ANDROID_SNET_IDLE_VALUE = 123; /** * ANDROID_SNET_JAR = 124; * *
       * go/safety-net
       * 
*/ public static final int ANDROID_SNET_JAR_VALUE = 124; /** * CONTEXT_MANAGER = 125; * *
       * go/safety-net
       * 
*/ public static final int CONTEXT_MANAGER_VALUE = 125; /** * CLASSROOM = 126; * *
       * Logs for Context Manager (go/context-manager)
       * 
*/ public static final int CLASSROOM_VALUE = 126; /** * TAILORMADE = 127; * *
       * App usage of the go/classroom app.
       * 
*/ public static final int TAILORMADE_VALUE = 127; /** * KEEP = 128; * *
       * Logs for Tailormade app (go/a1-tm)
       * 
*/ public static final int KEEP_VALUE = 128; /** * GMM_BRIIM_COUNTERS = 129; * *
       * Logs for Keep (go/keep).
       * 
*/ public static final int GMM_BRIIM_COUNTERS_VALUE = 129; /** * CHROMECAST_APP_LOG = 130; * *
       * GMM BRIIM counters (go/gmm-briim)
       * 
*/ public static final int CHROMECAST_APP_LOG_VALUE = 130; /** * ADWORDS_MOBILE = 133; * *
       * Logs for chromecast app (go/chromecastapplogs)
       * 
*/ public static final int ADWORDS_MOBILE_VALUE = 133; /** * LEANBACK_EVENT = 134; * *
       * Logs for AdWords mobile app (go/awm)
       * 
*/ public static final int LEANBACK_EVENT_VALUE = 134; /** * ANDROID_GMAIL = 135; * *
       * Logs for Android TV Leanback Launcher (go/android-tv)
       * 
*/ public static final int ANDROID_GMAIL_VALUE = 135; /** * SAMPLE_SHM = 136; * *
       * Logs for Gmail (go/android-gmail-clearcut, shahrk@, android-mail-team@)
       * 
*/ public static final int SAMPLE_SHM_VALUE = 136; /** * GPLUS_ANDROID_PRIMES = 140; * *
       * Logs for system health metric and memory metric sample app (go/primes)
       * 
*/ public static final int GPLUS_ANDROID_PRIMES_VALUE = 140; /** * GPLUS_ANDROID_SYSTEM_HEALTH = 140; * *
       * Logs for system health metric for Gplus (go/primes)
       * 
*/ public static final int GPLUS_ANDROID_SYSTEM_HEALTH_VALUE = 140; /** * GMAIL_ANDROID_PRIMES = 150; */ public static final int GMAIL_ANDROID_PRIMES_VALUE = 150; /** * GMAIL_ANDROID_SYSTEM_HEALTH = 150; * *
       * Logs for system health metric for GMail (go/primes)
       * 
*/ public static final int GMAIL_ANDROID_SYSTEM_HEALTH_VALUE = 150; /** * CALENDAR_ANDROID_PRIMES = 151; */ public static final int CALENDAR_ANDROID_PRIMES_VALUE = 151; /** * CALENDAR_ANDROID_SYSTEM_HEALTH = 151; * *
       * Logs for system health metric for Calendar (go/primes)
       * 
*/ public static final int CALENDAR_ANDROID_SYSTEM_HEALTH_VALUE = 151; /** * DOCS_ANDROID_PRIMES = 152; */ public static final int DOCS_ANDROID_PRIMES_VALUE = 152; /** * DOCS_ANDROID_SYSTEM_HEALTH = 152; * *
       * Logs for system health metric for Docs (go/primes)
       * 
*/ public static final int DOCS_ANDROID_SYSTEM_HEALTH_VALUE = 152; /** * YT_MAIN_APP_ANDROID_PRIMES = 154; */ public static final int YT_MAIN_APP_ANDROID_PRIMES_VALUE = 154; /** * YT_KIDS_ANDROID_PRIMES = 155; * *
       * Logs for system health metric for the YouTube main app (go/primes)
       * 
*/ public static final int YT_KIDS_ANDROID_PRIMES_VALUE = 155; /** * YT_GAMING_ANDROID_PRIMES = 156; * *
       * Logs for system health metric for the YouTube kids app (go/primes)
       * 
*/ public static final int YT_GAMING_ANDROID_PRIMES_VALUE = 156; /** * YT_MUSIC_ANDROID_PRIMES = 157; * *
       * Logs for system health metric for the YouTube gaming app (go/primes)
       * 
*/ public static final int YT_MUSIC_ANDROID_PRIMES_VALUE = 157; /** * YT_LITE_ANDROID_PRIMES = 158; * *
       * Logs for system health metric for the YouTube music app (go/primes)
       * 
*/ public static final int YT_LITE_ANDROID_PRIMES_VALUE = 158; /** * YT_CREATOR_ANDROID_PRIMES = 171; * *
       * Logs for system health metric for the YouTube lite app (go/primes)
       * 
*/ public static final int YT_CREATOR_ANDROID_PRIMES_VALUE = 171; /** * JAM_ANDROID_PRIMES = 159; * *
       * Logs for system health metric for the YouTube Creator Studio app (go/primes)
       * 
*/ public static final int JAM_ANDROID_PRIMES_VALUE = 159; /** * JAM_KIOSK_ANDROID_PRIMES = 160; * *
       * Logs for system health metric for Jam (go/jam, go/primes)
       * 
*/ public static final int JAM_KIOSK_ANDROID_PRIMES_VALUE = 160; /** * PHOTOS_ANDROID_PRIMES = 165; * *
       * Logs for system health metric for Jam Kiosk (go/jam, go/primes)
       * 
*/ public static final int PHOTOS_ANDROID_PRIMES_VALUE = 165; /** * DRIVE_ANDROID_PRIMES = 166; * *
       * Logs for system health metric for Photos (go/primes)
       * 
*/ public static final int DRIVE_ANDROID_PRIMES_VALUE = 166; /** * SHEETS_ANDROID_PRIMES = 167; * *
       * Logs for system health metric for Drive (go/primes)
       * 
*/ public static final int SHEETS_ANDROID_PRIMES_VALUE = 167; /** * SLIDES_ANDROID_PRIMES = 168; * *
       * Logs for system health metric for Sheets (go/primes)
       * 
*/ public static final int SLIDES_ANDROID_PRIMES_VALUE = 168; /** * SNAPSEED_ANDROID_PRIMES = 178; * *
       * Logs for system health metric for Slides (go/primes)
       * 
*/ public static final int SNAPSEED_ANDROID_PRIMES_VALUE = 178; /** * HANGOUTS_ANDROID_PRIMES = 179; * *
       * Logs for system health metric for Snapseed (go/primes, go/snapseed).
       * 
*/ public static final int HANGOUTS_ANDROID_PRIMES_VALUE = 179; /** * INBOX_ANDROID_PRIMES = 180; * *
       * Logs for system health metric for Shem (go/primes, go/rtc-shem).
       * 
*/ public static final int INBOX_ANDROID_PRIMES_VALUE = 180; /** * INBOX_IOS_PRIMES = 262; * *
       * Logs for system health metric for Inbox (go/primes, go/bt-speed)
       * 
*/ public static final int INBOX_IOS_PRIMES_VALUE = 262; /** * SDP_IOS_PRIMES = 287; * *
       * Logs for ios system health metric for Inbox (go/primes-ios, go/bt-speed)
       * 
*/ public static final int SDP_IOS_PRIMES_VALUE = 287; /** * GMSCORE_ANDROID_PRIMES = 193; * *
       * Logs for ios system health metric for sdp (go/primes-ios, go/bt-speed)
       * 
*/ public static final int GMSCORE_ANDROID_PRIMES_VALUE = 193; /** * PLAY_MUSIC_ANDROID_WEAR_PRIMES = 200; * *
       * Logs for system health metric for GmsCore (go/primes)
       * 
*/ public static final int PLAY_MUSIC_ANDROID_WEAR_PRIMES_VALUE = 200; /** * GEARHEAD_ANDROID_PRIMES = 201; * *
       * Logs for system health metric for Play Music for Android Wear (music-android-wear@, go/wear-play-music, go/primes)
       * 
*/ public static final int GEARHEAD_ANDROID_PRIMES_VALUE = 201; /** * INSTORE_CONSUMER_PRIMES = 207; * *
       * Logs for system health metric for the Android Auto (GearHead) app (go/primes, go/gearhead)
       * 
*/ public static final int INSTORE_CONSUMER_PRIMES_VALUE = 207; /** * SAMPLE_IOS_PRIMES = 202; * *
       * Logs for system health metric for Hands Free (go/primes, go/instore-wallet)
       * 
*/ public static final int SAMPLE_IOS_PRIMES_VALUE = 202; /** * CPANEL_ANDROID_PRIMES = 213; * *
       * Logs for ios system health metric and memory metric sample app (go/primes-ios)
       * 
*/ public static final int CPANEL_ANDROID_PRIMES_VALUE = 213; /** * HUDDLE_ANDROID_PRIMES = 214; * *
       * Logs for android system health metric (go/cpanel-mobile)
       * 
*/ public static final int HUDDLE_ANDROID_PRIMES_VALUE = 214; /** * AWX_ANDROID_PRIMES = 222; * *
       * Primes for Huddle (go/huddle)
       * 
*/ public static final int AWX_ANDROID_PRIMES_VALUE = 222; /** * GHS_ANDROID_PRIMES = 223; * *
       * Primes for Google AdWords Express android app (go/primes, go/awx-android)
       * 
*/ public static final int GHS_ANDROID_PRIMES_VALUE = 223; /** * ADWORDS_MOBILE_ANDROID_PRIMES = 224; * *
       * Primes for Google Home Services android app (go/primes, go/sab-awx-android)
       * 
*/ public static final int ADWORDS_MOBILE_ANDROID_PRIMES_VALUE = 224; /** * TAP_AND_PAY_ANDROID_PRIMES = 227; * *
       * AdWords system health (go/awm, go/primes)
       * 
*/ public static final int TAP_AND_PAY_ANDROID_PRIMES_VALUE = 227; /** * WALLET_APP_ANDROID_PRIMES = 232; * *
       * Primes for Tap and Pay android app, aka Android pay app (go/tp2)
       * 
*/ public static final int WALLET_APP_ANDROID_PRIMES_VALUE = 232; /** * WALLET_APP_IOS_PRIMES = 233; * *
       * Primes for Wallet android app (go/gmoney)
       * 
*/ public static final int WALLET_APP_IOS_PRIMES_VALUE = 233; /** * ANALYTICS_ANDROID_PRIMES = 235; * *
       * Primes for Wallet iOS app (go/gmoney)
       * 
*/ public static final int ANALYTICS_ANDROID_PRIMES_VALUE = 235; /** * SPACES_ANDROID_PRIMES = 236; * *
       * Logs for system health metric for Analytics Android app (go/primes)
       * 
*/ public static final int SPACES_ANDROID_PRIMES_VALUE = 236; /** * SPACES_IOS_PRIMES = 276; * *
       * Logs for the Spaces Android App (go/spaces)
       * 
*/ public static final int SPACES_IOS_PRIMES_VALUE = 276; /** * SOCIETY_ANDROID_PRIMES = 238; * *
       * Logs for the Spaces iOS App (go/spaces)
       * 
*/ public static final int SOCIETY_ANDROID_PRIMES_VALUE = 238; /** * GMM_BRIIM_PRIMES = 239; * *
       * Logs for system health metric for Society (go/primes, go/society)
       * 
*/ public static final int GMM_BRIIM_PRIMES_VALUE = 239; /** * CW_PRIMES = 242; * *
       * Logs for system health metric for GMM BRIIM (go/gmm-briim)
       * 
*/ public static final int CW_PRIMES_VALUE = 242; /** * FAMILYLINK_ANDROID_PRIMES = 244; * *
       * Clockwork go/primes logs
       * 
*/ public static final int FAMILYLINK_ANDROID_PRIMES_VALUE = 244; /** * FAMILYLINK_IOS_PRIMES = 291; * *
       * Logs for system health metric for FamilyLink (go/primes)
       * 
*/ public static final int FAMILYLINK_IOS_PRIMES_VALUE = 291; /** * WH_PRIMES = 248; * *
       * Logs for ios system health metric for FamilyLink (go/primes-ios, go/familylink-ios-app)
       * 
*/ public static final int WH_PRIMES_VALUE = 248; /** * NOVA_ANDROID_PRIMES = 249; * *
       * Primes for Westinghouse (go/westinghouse, go/primes)
       * 
*/ public static final int NOVA_ANDROID_PRIMES_VALUE = 249; /** * PHOTOS_DRAPER_ANDROID_PRIMES = 253; * *
       * Nova client app system health metrics (go/primes)
       * 
*/ public static final int PHOTOS_DRAPER_ANDROID_PRIMES_VALUE = 253; /** * GMM_PRIMES = 254; * *
       * Logs for system health metric for Photos Draper (go/primes, go/photos-draper)
       * 
*/ public static final int GMM_PRIMES_VALUE = 254; /** * TRANSLATE_ANDROID_PRIMES = 255; * *
       * Logs for system health metric for aGMM (go/gmm)
       * 
*/ public static final int TRANSLATE_ANDROID_PRIMES_VALUE = 255; /** * TRANSLATE_IOS_PRIMES = 256; * *
       * Logs for system health metric for Translate on Android (go/primes)
       * 
*/ public static final int TRANSLATE_IOS_PRIMES_VALUE = 256; /** * FLYDROID_ANDROID_PRIMES = 259; * *
       * Logs for system health metric for Translate on iOS (go/primes)
       * 
*/ public static final int FLYDROID_ANDROID_PRIMES_VALUE = 259; /** * CONSUMERIQ_PRIMES = 260; * *
       * Log for system health metric for Freighter (go/freighter)
       * 
*/ public static final int CONSUMERIQ_PRIMES_VALUE = 260; /** * GMB_ANDROID_PRIMES = 263; * *
       * Log for system health metric for Consumer IQ (go/primes)
       * 
*/ public static final int GMB_ANDROID_PRIMES_VALUE = 263; /** * CLOUDDPC_PRIMES = 304; * *
       * Primes for Google My Business android app (go/gmb-android, go/primes).
       * 
*/ public static final int CLOUDDPC_PRIMES_VALUE = 304; /** * CLOUDDPC_ARC_PRIMES = 305; * *
       * Primes for CloudDpc (go/clouddpc)
       * 
*/ public static final int CLOUDDPC_ARC_PRIMES_VALUE = 305; /** * ICORE = 137; * *
       * Primes for CloudDpc for ARC (go/clouddpc)
       * 
*/ public static final int ICORE_VALUE = 137; /** * PANCETTA_MOBILE_HOST = 138; * *
       * iOS logging (go/ios-logging)
       * 
*/ public static final int PANCETTA_MOBILE_HOST_VALUE = 138; /** * PANCETTA_MOBILE_HOST_COUNTERS = 139; * *
       * Logs for Pancetta mobile hosts (go/pancetta)
       * 
*/ public static final int PANCETTA_MOBILE_HOST_COUNTERS_VALUE = 139; /** * CROSSDEVICENOTIFICATION = 141; * *
       * Counters for Pancetta mobile hosts (go/pancetta)
       * 
*/ public static final int CROSSDEVICENOTIFICATION_VALUE = 141; /** * CROSSDEVICENOTIFICATION_DEV = 142; * *
       * Logs for cross device notification service (go/hotpocket)
       * 
*/ public static final int CROSSDEVICENOTIFICATION_DEV_VALUE = 142; /** * MAPS_API_COUNTERS = 143; * *
       * Dev logs for cross device notification service (go/hotpocket)
       * 
*/ public static final int MAPS_API_COUNTERS_VALUE = 143; /** * GPU = 144; * *
       * Android and iOS Maps API (go/mapview & go/meridian)
       * 
*/ public static final int GPU_VALUE = 144; /** * ON_THE_GO = 145; * *
       * Logs for Geo Photo Uploader (go/gpu-site)
       * 
*/ public static final int ON_THE_GO_VALUE = 145; /** * ON_THE_GO_COUNTERS = 146; * *
       * Logs for OnTheGo (go/onthego)
       * 
*/ public static final int ON_THE_GO_COUNTERS_VALUE = 146; /** * GMS_CORE_PEOPLE_AUTOCOMPLETE = 147; * *
       * Counters for OnTheGo (go/onthego)
       * 
*/ public static final int GMS_CORE_PEOPLE_AUTOCOMPLETE_VALUE = 147; /** * FLYDROID_COUNTERS = 148; * *
       * Logs for Gcore People Autocomplete (go/yenta)
       * 
*/ public static final int FLYDROID_COUNTERS_VALUE = 148; /** * FIREBALL = 149; * *
       * Logs for Flydroid (go/flydroid).
       * 
*/ public static final int FIREBALL_VALUE = 149; /** * FIREBALL_COUNTERS = 257; * *
       * Logs for Fireball (go/fireballdev)
       * 
*/ public static final int FIREBALL_COUNTERS_VALUE = 257; /** * CRONET_FIREBALL = 303; * *
       * Fireball counters (go/fireballdev)
       * 
*/ public static final int CRONET_FIREBALL_VALUE = 303; /** * FIREBALL_PRIMES = 266; * *
       * Fireball cronet (go/fireballdev)
       * 
*/ public static final int FIREBALL_PRIMES_VALUE = 266; /** * FIREBALL_IOS_PRIMES = 313; * *
       * Logs for system health for Fireball (go/fireball-systemhealth-plan)
       * 
*/ public static final int FIREBALL_IOS_PRIMES_VALUE = 313; /** * GOOGLE_HANDWRITING_INPUT_ANDROID_PRIMES = 314; * *
       * Logs for system health for Fireball iOS (go/fireball-systemhealth-plan)
       * 
*/ public static final int GOOGLE_HANDWRITING_INPUT_ANDROID_PRIMES_VALUE = 314; /** * PYROCLASM = 153; * *
       * Primes for Google Handwriting Input (go/hwrime)
       * 
*/ public static final int PYROCLASM_VALUE = 153; /** * ANDROID_GSA_COUNTERS = 161; * *
       * Logs for Pyroclasm (go/pyroclasm)
       * 
*/ public static final int ANDROID_GSA_COUNTERS_VALUE = 161; /** * JAM_IMPRESSIONS = 162; * *
       * Logs for AGSA counters.
       * 
*/ public static final int JAM_IMPRESSIONS_VALUE = 162; /** * JAM_KIOSK_IMPRESSIONS = 163; * *
       * Impressions logs for Jam (go/jam).
       * 
*/ public static final int JAM_KIOSK_IMPRESSIONS_VALUE = 163; /** * PAYMENTS_OCR = 164; * *
       * Impressions logs for Jam Kiosk (go/jam).
       * 
*/ public static final int PAYMENTS_OCR_VALUE = 164; /** * UNICORN_FAMILY_MANAGEMENT = 172; * *
       * Logs for payments ocr (go/cc-ocr-metrics).
       * 
*/ public static final int UNICORN_FAMILY_MANAGEMENT_VALUE = 172; /** * AUDITOR = 173; * *
       * Logs for Family management (and onboarding) go/familymanagement
       * 
*/ public static final int AUDITOR_VALUE = 173; /** * NQLOOKUP = 174; * *
       * Logs for Accesssibility Auditor (go/a11y-checker)
       * 
*/ public static final int NQLOOKUP_VALUE = 174; /** * ANDROID_GSA_HIGH_PRIORITY_EVENTS = 175; * *
       * Logs for NQLookup (go/nqlookup, contact herrevad@google.com)
       * 
*/ public static final int ANDROID_GSA_HIGH_PRIORITY_EVENTS_VALUE = 175; /** * ANDROID_DIALER = 176; * *
       * Logs for high priority events in AGSA (go/click-tracking-agsa).
       * 
*/ public static final int ANDROID_DIALER_VALUE = 176; /** * CLEARCUT_DEMO = 177; * *
       * Logs for Android Dialer (go/android-dialer)
       * 
*/ public static final int CLEARCUT_DEMO_VALUE = 177; /** * APPMANAGER = 183; * *
       * Logs for Clearcut's demo application
       * 
*/ public static final int APPMANAGER_VALUE = 183; /** * SMARTLOCK_COUNTERS = 184; * *
       * Logs for Firebase App Manager (go/appmanager)
       * 
*/ public static final int SMARTLOCK_COUNTERS_VALUE = 184; /** * EXPEDITIONS_GUIDE = 185; * *
       * Counters for Smart Lock (go/smartlock)
       * 
*/ public static final int EXPEDITIONS_GUIDE_VALUE = 185; /** * FUSE = 186; * *
       * Guide-aggregated logs for go/expeditions .
       * 
*/ public static final int FUSE_VALUE = 186; /** * PIXEL_PERFECT_CLIENT_STATE_LOGGER = 187; * *
       * Logs for Fuse (go/fuse).
       * 
*/ public static final int PIXEL_PERFECT_CLIENT_STATE_LOGGER_VALUE = 187; /** * PLATFORM_STATS_COUNTERS = 188; * *
       * Logs for PixelPerfect client app (go/pxp-client)
       * 
*/ public static final int PLATFORM_STATS_COUNTERS_VALUE = 188; /** * DRIVE_VIEWER = 189; * *
       * Counters for platform stats.(go/androidplatformstats, clearcut-eng@)
       * 
*/ public static final int DRIVE_VIEWER_VALUE = 189; /** * PDF_VIEWER = 190; * *
       * Google Drive Viewer Android and iOS apps (go/picoprojector)
       * 
*/ public static final int PDF_VIEWER_VALUE = 190; /** * BIGTOP = 191; * *
       * Google PDF Viewer Android app (go/picoprojector)
       * 
*/ public static final int BIGTOP_VALUE = 191; /** * VOICE = 192; * *
       * Logs for Bigtop (externally known as Inbox, go/bigtop).
       * 
*/ public static final int VOICE_VALUE = 192; /** * MYFIBER = 194; * *
       * Logs for Google Voice (go/googlevoice).
       * 
*/ public static final int MYFIBER_VALUE = 194; /** * RECORDED_PAGES = 195; * *
       * Logs for My Fiber mobile applications (go/myfibernative)
       * 
*/ public static final int RECORDED_PAGES_VALUE = 195; /** * MOB_DOG = 197; * *
       * Logs for RecordedPages (go/recorded-pages)
       * 
*/ public static final int MOB_DOG_VALUE = 197; /** * WALLET_APP = 198; * *
       * Logs for MobDog (go/mobdog)
       * 
*/ public static final int WALLET_APP_VALUE = 198; /** * GBOARD = 199; * *
       * Logs for the Wallet app (go/gmoney)
       * 
*/ public static final int GBOARD_VALUE = 199; /** * CRONET_GMM = 203; * *
       * Logs for GBoard (go/gboard)
       * 
*/ public static final int CRONET_GMM_VALUE = 203; /** * TRUSTED_FACE = 204; * *
       * Cronet UMA logs from GMM (go/cronet-uma)
       * 
*/ public static final int TRUSTED_FACE_VALUE = 204; /** * MATCHSTICK = 205; * *
       * Logs for Trusted Face (go/smartlock)
       * 
*/ public static final int MATCHSTICK_VALUE = 205; /** * APP_CATALOG = 206; * *
       * Logs for Matchstick library (go/matchstick)
       * 
*/ public static final int APP_CATALOG_VALUE = 206; /** * BLUETOOTH = 208; * *
       * Logs for AppCatalog aka "Get My Google Apps" (go/growth)
       * 
*/ public static final int BLUETOOTH_VALUE = 208; /** * WIFI = 209; * *
       * Logs for Bluetooth (go/fluoride)
       * 
*/ public static final int WIFI_VALUE = 209; /** * TELECOM = 210; * *
       * Logs for WiFi (go/connectivity-site)
       * 
*/ public static final int TELECOM_VALUE = 210; /** * TELEPHONY = 211; * *
       * Logs for Telcom (go/connectivity-site)
       * 
*/ public static final int TELEPHONY_VALUE = 211; /** * IDENTITY_FRONTEND = 212; * *
       * Logs for Telephony (go/connectivity-site)
       * 
*/ public static final int IDENTITY_FRONTEND_VALUE = 212; /** * SESAME = 216; * *
       * Logs for the Identity frontend (go/ifus-readme)
       * 
*/ public static final int SESAME_VALUE = 216; /** * GOOGLE_KEYBOARD_CONTENT = 217; * *
       * Logs for Sesame (go/sesame-logging)
       * 
*/ public static final int GOOGLE_KEYBOARD_CONTENT_VALUE = 217; /** * MADDEN = 218; * *
       * Google Keyboard's Latin IME content logs (go/google-keyboard)
       * 
*/ public static final int MADDEN_VALUE = 218; /** * INK = 219; * *
       * Logs for Madden (go/madden)
       * 
*/ public static final int INK_VALUE = 219; /** * ANDROID_CONTACTS = 220; * *
       * Logs for Ink (go/ink)
       * 
*/ public static final int ANDROID_CONTACTS_VALUE = 220; /** * GOOGLE_KEYBOARD_COUNTERS = 221; * *
       * Logs for Android Contacts (go/android-contacts)
       * 
*/ public static final int GOOGLE_KEYBOARD_COUNTERS_VALUE = 221; /** * CLEARCUT_PROBER = 225; * *
       * Google Keyboard histogram counters (go/google-keyboard)
       * 
*/ public static final int CLEARCUT_PROBER_VALUE = 225; /** * PLAY_CONSOLE_APP = 226; * *
       * Clearcut prober (go/clearcut-prober)
       * 
*/ public static final int PLAY_CONSOLE_APP_VALUE = 226; /** * PLAY_CONSOLE_APP_PRIMES = 264; * *
       * Logs for the Google Play Developer Console app
       * 
*/ public static final int PLAY_CONSOLE_APP_PRIMES_VALUE = 264; /** * SPECTRUM = 230; * *
       * Log for system health metrics for the Google Play Developer Console app
       * 
*/ public static final int SPECTRUM_VALUE = 230; /** * SPECTRUM_COUNTERS = 231; * *
       * Spectrum (go/spectrum-site)
       * 
*/ public static final int SPECTRUM_COUNTERS_VALUE = 231; /** * SPECTRUM_ANDROID_PRIMES = 267; * *
       * Spectrum (go/spectrum-site)
       * 
*/ public static final int SPECTRUM_ANDROID_PRIMES_VALUE = 267; /** * IOS_SPOTLIGHT_SEARCH_LIBRARY = 234; * *
       * Spectrum (go/spectrum-site)
       * 
*/ public static final int IOS_SPOTLIGHT_SEARCH_LIBRARY_VALUE = 234; /** * BOQ_WEB = 241; * *
       * Logs for the iOS Spotlight Search Library (go/tempeh-dd)
       * 
*/ public static final int BOQ_WEB_VALUE = 241; /** * ORCHESTRATION_CLIENT = 245; * *
       * Logs for client-side analytics of Boq Web (go/boq-web)
       * 
*/ public static final int ORCHESTRATION_CLIENT_VALUE = 245; /** * ORCHESTRATION_CLIENT_DEV = 246; * *
       * Orchestration client logs for prod environment (go/megalogs-design)
       * 
*/ public static final int ORCHESTRATION_CLIENT_DEV_VALUE = 246; /** * GOOGLE_NOW_LAUNCHER = 247; * *
       * Orchestration client logs for dev environment (go/megalogs-design)
       * 
*/ public static final int GOOGLE_NOW_LAUNCHER_VALUE = 247; /** * SCOOBY_SPAM_REPORT_LOG = 250; * *
       * Logs for Google Now Launcher (go/gnl-logging)
       * 
*/ public static final int SCOOBY_SPAM_REPORT_LOG_VALUE = 250; /** * IOS_GROWTH = 251; * *
       * Logs of spam reports by scooby clients. (go/scooby)
       * 
*/ public static final int IOS_GROWTH_VALUE = 251; /** * APPS_NOTIFY = 252; * *
       * go/growthkit-metrics
       * 
*/ public static final int APPS_NOTIFY_VALUE = 252; /** * SMARTKEY_APP = 269; * *
       * Drive web push notifications (go/apps-notify)
       * 
*/ public static final int SMARTKEY_APP_VALUE = 269; /** * CLINICAL_STUDIES = 270; * *
       * Smart Key App for project Bolt (go/smartlock)
       * 
*/ public static final int CLINICAL_STUDIES_VALUE = 270; /** * FITNESS_ANDROID_PRIMES = 271; * *
       * Lifescience Clinical Studies logs (go/apollox)
       * 
*/ public static final int FITNESS_ANDROID_PRIMES_VALUE = 271; /** * IMPROV_APPS = 272; * *
       * System health metric for Google Fit Android App (go/heart, go/primes)
       * 
*/ public static final int IMPROV_APPS_VALUE = 272; /** * FAMILYLINK = 273; * *
       * Logs for Improv apps (go/improvlogging)
       * 
*/ public static final int FAMILYLINK_VALUE = 273; /** * FAMILYLINK_COUNTERS = 274; * *
       * Family Link (go/familylink-dd)
       * 
*/ public static final int FAMILYLINK_COUNTERS_VALUE = 274; /** * SOCIETY = 275; * *
       * Family Link counters (go/familylink-dd)
       * 
*/ public static final int SOCIETY_VALUE = 275; /** * DIALER_ANDROID_PRIMES = 277; * *
       * NBU Society app (go/society)
       * 
*/ public static final int DIALER_ANDROID_PRIMES_VALUE = 277; /** * YOUTUBE_DIRECTOR_APP = 278; * *
       * Android Dialer Primes (go/dialer)
       * 
*/ public static final int YOUTUBE_DIRECTOR_APP_VALUE = 278; /** * TACHYON_ANDROID_PRIMES = 279; * *
       * YouTube Director App (go/youtube-director)
       * 
*/ public static final int TACHYON_ANDROID_PRIMES_VALUE = 279; /** * DRIVE_FS = 280; * *
       * Android Tachyon Client
       * 
*/ public static final int DRIVE_FS_VALUE = 280; /** * YT_MAIN = 281; * *
       * DriveFS (go/drive-fs)
       * 
*/ public static final int YT_MAIN_VALUE = 281; /** * WING_MARKETPLACE_ANDROID_PRIMES = 282; * *
       * Logs for YT's main application
       * 
*/ public static final int WING_MARKETPLACE_ANDROID_PRIMES_VALUE = 282; /** * DYNAMITE = 283; * *
       * Primes for Wing Marketplace Android app (go/wing-marketplace-android, go/primes)
       * 
*/ public static final int DYNAMITE_VALUE = 283; /** * CORP_ANDROID_FOOD = 284; * *
       * Logs for Dynamite (go/dynamite)
       * 
*/ public static final int CORP_ANDROID_FOOD_VALUE = 284; /** * ANDROID_MESSAGING_PRIMES = 285; * *
       * Logs for the internal Android Food app (g3doc/java/com/google/corp/bizapps/rews/food/android)
       * 
*/ public static final int ANDROID_MESSAGING_PRIMES_VALUE = 285; /** * GPLUS_IOS_PRIMES = 286; * *
       * Primes for Android Messenger (go/bugledev, go/primes)
       * 
*/ public static final int GPLUS_IOS_PRIMES_VALUE = 286; /** * CHROMECAST_ANDROID_PRIMES = 288; * *
       * Primes for Google+ iOS app (go/gplus-ios, go/primes)
       * 
*/ public static final int CHROMECAST_ANDROID_PRIMES_VALUE = 288; /** * APPSTREAMING = 289; * *
       * Primes for Chromecast Android app (go/cast-apps)
       * 
*/ public static final int APPSTREAMING_VALUE = 289; /** * GMB_ANDROID = 290; * *
       * Logs for AppStreaming Client Framework Side (go/piccard)
       * 
*/ public static final int GMB_ANDROID_VALUE = 290; /** * VOICE_IOS_PRIMES = 292; * *
       * Logs for GMB Android app (go/gmb-android).
       * 
*/ public static final int VOICE_IOS_PRIMES_VALUE = 292; /** * VOICE_ANDROID_PRIMES = 293; * *
       * Primes for iOS Google Voice (go/googlevoice).
       * 
*/ public static final int VOICE_ANDROID_PRIMES_VALUE = 293; /** * PAISA = 294; * *
       * Primes for Android Google Voice (go/googlevoice).
       * 
*/ public static final int PAISA_VALUE = 294; /** * GMB_IOS = 295; * *
       * NBU Paisa app (go/paisa)
       * 
*/ public static final int GMB_IOS_VALUE = 295; /** * SCOOBY_EVENTS = 296; * *
       * Logs for GMB iOS App (go/gmb-ios).
       * 
*/ public static final int SCOOBY_EVENTS_VALUE = 296; /** * SNAPSEED_IOS_PRIMES = 297; * *
       * Call logs events by scooby clients. (go/scooby)
       * 
*/ public static final int SNAPSEED_IOS_PRIMES_VALUE = 297; /** * YOUTUBE_DIRECTOR_IOS_PRIMES = 298; * *
       * Primes for Snapseed IOS (go/Snapseed)
       * 
*/ public static final int YOUTUBE_DIRECTOR_IOS_PRIMES_VALUE = 298; /** * WALLPAPER_PICKER = 299; * *
       * YouTube Director App (go/youtube-director)
       * 
*/ public static final int WALLPAPER_PICKER_VALUE = 299; /** * CHIME = 300; * *
       * Android wallpaper picker (go/magic-wallpapers)
       * 
*/ public static final int CHIME_VALUE = 300; /** * BEACON_GCORE = 301; * *
       * Chime (go/chime)
       * 
*/ public static final int BEACON_GCORE_VALUE = 301; /** * ANDROID_STUDIO = 302; * *
       * Logs for debugging beacon module (go/beacons)
       * 
*/ public static final int ANDROID_STUDIO_VALUE = 302; /** * DOCS_OFFLINE = 306; * *
       * Android Studio (go/android-studio)
       * 
*/ public static final int DOCS_OFFLINE_VALUE = 306; /** * FREIGHTER = 307; * *
       * Logs for Docs Offline on Desktop  (go/jetpax)
       * 
*/ public static final int FREIGHTER_VALUE = 307; /** * DOCS_IOS_PRIMES = 308; * *
       * Logs for Freighter (http://go/freighter)
       * 
*/ public static final int DOCS_IOS_PRIMES_VALUE = 308; /** * SLIDES_IOS_PRIMES = 309; * *
       * Logs for the Google Docs iOS application
       * 
*/ public static final int SLIDES_IOS_PRIMES_VALUE = 309; /** * SHEETS_IOS_PRIMES = 310; * *
       * Logs for the Google Docs iOS application
       * 
*/ public static final int SHEETS_IOS_PRIMES_VALUE = 310; /** * IPCONNECTIVITY = 311; * *
       * Logs for the Google Docs iOS application
       * 
*/ public static final int IPCONNECTIVITY_VALUE = 311; /** * CURATOR = 312; * *
       * Logs for Networking (go/connectivity-site)
       * 
*/ public static final int CURATOR_VALUE = 312; public final int getNumber() { return value; } public static LogSource valueOf(int value) { switch (value) { case -1: return UNKNOWN; case 0: return STORE; case 65: return WEB_STORE; case 132: return WORK_STORE; case 261: return WORK_STORE_APP; case 15: return EDU_STORE; case 1: return MUSIC; case 2: return BOOKS; case 3: return VIDEO; case 74: return MOVIES; case 4: return MAGAZINES; case 5: return GAMES; case 6: return LB_A; case 7: return ANDROID_IDE; case 8: return LB_P; case 9: return LB_S; case 10: return GMS_CORE; case 11: return APP_USAGE_1P; case 12: return ICING; case 13: return HERREVAD; case 14: return GOOGLE_TV; case 16: return GMS_CORE_PEOPLE; case 17: return LE; case 18: return GOOGLE_ANALYTICS; case 19: return LB_D; case 20: return ANDROID_GSA; case 21: return LB_T; case 22: return PERSONAL_LOGGER; case 37: return PERSONAL_BROWSER_LOGGER; case 23: return GMS_CORE_WALLET_MERCHANT_ERROR; case 24: return LB_C; case 52: return LB_IA; case 237: return LB_CB; case 268: return LB_DM; case 25: return ANDROID_AUTH; case 26: return ANDROID_CAMERA; case 27: return CW; case 243: return CW_COUNTERS; case 28: return GEL; case 29: return DNA_PROBER; case 30: return UDR; case 31: return GMS_CORE_WALLET; case 32: return SOCIAL; case 33: return INSTORE_WALLET; case 34: return NOVA; case 35: return LB_CA; case 36: return LATIN_IME; case 38: return NEWS_WEATHER; case 39: return HANGOUT; case 50: return HANGOUT_LOG_REQUEST; case 40: return COPRESENCE; case 41: return SOCIAL_AFFINITY; case 42: return PHOTOS; case 43: return GCM; case 44: return GOKART; case 45: return FINDR; case 46: return ANDROID_MESSAGING; case 47: return SOCIAL_WEB; case 48: return BACKDROP; case 49: return TELEMATICS; case 51: return GVC_HARVESTER; case 53: return CAR; case 54: return PIXEL_PERFECT; case 55: return DRIVE; case 56: return DOCS; case 57: return SHEETS; case 58: return SLIDES; case 59: return IME; case 60: return WARP; case 61: return NFC_PROGRAMMER; case 62: return NETSTATS; case 63: return NEWSSTAND; case 64: return KIDS_COMMUNICATOR; case 66: return WIFI_ASSISTANT; case 67: return CAST_SENDER_SDK; case 68: return CRONET_SOCIAL; case 69: return PHENOTYPE; case 70: return PHENOTYPE_COUNTERS; case 71: return CHROME_INFRA; case 72: return JUSTSPEAK; case 73: return PERF_PROFILE; case 75: return KATNISS; case 76: return SOCIAL_APPINVITE; case 77: return GMM_COUNTERS; case 78: return BOND_ONEGOOGLE; case 79: return MAPS_API; case 196: return CRONET_ANDROID_YT; case 80: return CRONET_ANDROID_GSA; case 81: return GOOGLE_FIT_WEARABLE; case 169: return FITNESS_ANDROID; case 170: return FITNESS_GMS_CORE; case 82: return GOOGLE_EXPRESS; case 215: return GOOGLE_EXPRESS_DEV; case 228: return GOOGLE_EXPRESS_COURIER_ANDROID_PRIMES; case 229: return GOOGLE_EXPRESS_ANDROID_PRIMES; case 240: return GOOGLE_EXPRESS_STOREOMS_ANDROID_PRIMES; case 83: return SENSE; case 84: return ANDROID_BACKUP; case 85: return VR; case 86: return IME_COUNTERS; case 87: return SETUP_WIZARD; case 88: return EMERGENCY_ASSIST; case 89: return TRON; case 90: return TRON_COUNTERS; case 91: return BATTERY_STATS; case 92: return DISK_STATS; case 107: return GRAPHICS_STATS; case 93: return PROC_STATS; case 131: return DROP_BOX; case 181: return FINGERPRINT_STATS; case 182: return NOTIFICATION_STATS; case 94: return TAP_AND_PAY_GCORE; case 95: return A11YLOGGER; case 96: return GCM_COUNTERS; case 97: return PLACES_NO_GLS_CONSENT; case 98: return TACHYON_LOG_REQUEST; case 99: return TACHYON_COUNTERS; case 100: return VISION; case 101: return SOCIAL_USER_LOCATION; case 102: return LAUNCHPAD_TOYS; case 103: return METALOG_COUNTERS; case 104: return MOBILESDK_CLIENT; case 105: return ANDROID_VERIFY_APPS; case 106: return ADSHIELD; case 108: return SHERLOG; case 109: return LE_ULR_COUNTERS; case 110: return GMM_UE3; case 111: return CALENDAR; case 112: return ENDER; case 113: return FAMILY_COMPASS; case 114: return TRANSOM; case 115: return TRANSOM_COUNTERS; case 116: return LB_AS; case 117: return LB_CFG; case 118: return IOS_GSA; case 119: return TAP_AND_PAY_APP; case 265: return TAP_AND_PAY_APP_COUNTERS; case 120: return FLYDROID; case 121: return CPANEL_APP; case 122: return ANDROID_SNET_GCORE; case 123: return ANDROID_SNET_IDLE; case 124: return ANDROID_SNET_JAR; case 125: return CONTEXT_MANAGER; case 126: return CLASSROOM; case 127: return TAILORMADE; case 128: return KEEP; case 129: return GMM_BRIIM_COUNTERS; case 130: return CHROMECAST_APP_LOG; case 133: return ADWORDS_MOBILE; case 134: return LEANBACK_EVENT; case 135: return ANDROID_GMAIL; case 136: return SAMPLE_SHM; case 140: return GPLUS_ANDROID_PRIMES; case 150: return GMAIL_ANDROID_PRIMES; case 151: return CALENDAR_ANDROID_PRIMES; case 152: return DOCS_ANDROID_PRIMES; case 154: return YT_MAIN_APP_ANDROID_PRIMES; case 155: return YT_KIDS_ANDROID_PRIMES; case 156: return YT_GAMING_ANDROID_PRIMES; case 157: return YT_MUSIC_ANDROID_PRIMES; case 158: return YT_LITE_ANDROID_PRIMES; case 171: return YT_CREATOR_ANDROID_PRIMES; case 159: return JAM_ANDROID_PRIMES; case 160: return JAM_KIOSK_ANDROID_PRIMES; case 165: return PHOTOS_ANDROID_PRIMES; case 166: return DRIVE_ANDROID_PRIMES; case 167: return SHEETS_ANDROID_PRIMES; case 168: return SLIDES_ANDROID_PRIMES; case 178: return SNAPSEED_ANDROID_PRIMES; case 179: return HANGOUTS_ANDROID_PRIMES; case 180: return INBOX_ANDROID_PRIMES; case 262: return INBOX_IOS_PRIMES; case 287: return SDP_IOS_PRIMES; case 193: return GMSCORE_ANDROID_PRIMES; case 200: return PLAY_MUSIC_ANDROID_WEAR_PRIMES; case 201: return GEARHEAD_ANDROID_PRIMES; case 207: return INSTORE_CONSUMER_PRIMES; case 202: return SAMPLE_IOS_PRIMES; case 213: return CPANEL_ANDROID_PRIMES; case 214: return HUDDLE_ANDROID_PRIMES; case 222: return AWX_ANDROID_PRIMES; case 223: return GHS_ANDROID_PRIMES; case 224: return ADWORDS_MOBILE_ANDROID_PRIMES; case 227: return TAP_AND_PAY_ANDROID_PRIMES; case 232: return WALLET_APP_ANDROID_PRIMES; case 233: return WALLET_APP_IOS_PRIMES; case 235: return ANALYTICS_ANDROID_PRIMES; case 236: return SPACES_ANDROID_PRIMES; case 276: return SPACES_IOS_PRIMES; case 238: return SOCIETY_ANDROID_PRIMES; case 239: return GMM_BRIIM_PRIMES; case 242: return CW_PRIMES; case 244: return FAMILYLINK_ANDROID_PRIMES; case 291: return FAMILYLINK_IOS_PRIMES; case 248: return WH_PRIMES; case 249: return NOVA_ANDROID_PRIMES; case 253: return PHOTOS_DRAPER_ANDROID_PRIMES; case 254: return GMM_PRIMES; case 255: return TRANSLATE_ANDROID_PRIMES; case 256: return TRANSLATE_IOS_PRIMES; case 259: return FLYDROID_ANDROID_PRIMES; case 260: return CONSUMERIQ_PRIMES; case 263: return GMB_ANDROID_PRIMES; case 304: return CLOUDDPC_PRIMES; case 305: return CLOUDDPC_ARC_PRIMES; case 137: return ICORE; case 138: return PANCETTA_MOBILE_HOST; case 139: return PANCETTA_MOBILE_HOST_COUNTERS; case 141: return CROSSDEVICENOTIFICATION; case 142: return CROSSDEVICENOTIFICATION_DEV; case 143: return MAPS_API_COUNTERS; case 144: return GPU; case 145: return ON_THE_GO; case 146: return ON_THE_GO_COUNTERS; case 147: return GMS_CORE_PEOPLE_AUTOCOMPLETE; case 148: return FLYDROID_COUNTERS; case 149: return FIREBALL; case 257: return FIREBALL_COUNTERS; case 303: return CRONET_FIREBALL; case 266: return FIREBALL_PRIMES; case 313: return FIREBALL_IOS_PRIMES; case 314: return GOOGLE_HANDWRITING_INPUT_ANDROID_PRIMES; case 153: return PYROCLASM; case 161: return ANDROID_GSA_COUNTERS; case 162: return JAM_IMPRESSIONS; case 163: return JAM_KIOSK_IMPRESSIONS; case 164: return PAYMENTS_OCR; case 172: return UNICORN_FAMILY_MANAGEMENT; case 173: return AUDITOR; case 174: return NQLOOKUP; case 175: return ANDROID_GSA_HIGH_PRIORITY_EVENTS; case 176: return ANDROID_DIALER; case 177: return CLEARCUT_DEMO; case 183: return APPMANAGER; case 184: return SMARTLOCK_COUNTERS; case 185: return EXPEDITIONS_GUIDE; case 186: return FUSE; case 187: return PIXEL_PERFECT_CLIENT_STATE_LOGGER; case 188: return PLATFORM_STATS_COUNTERS; case 189: return DRIVE_VIEWER; case 190: return PDF_VIEWER; case 191: return BIGTOP; case 192: return VOICE; case 194: return MYFIBER; case 195: return RECORDED_PAGES; case 197: return MOB_DOG; case 198: return WALLET_APP; case 199: return GBOARD; case 203: return CRONET_GMM; case 204: return TRUSTED_FACE; case 205: return MATCHSTICK; case 206: return APP_CATALOG; case 208: return BLUETOOTH; case 209: return WIFI; case 210: return TELECOM; case 211: return TELEPHONY; case 212: return IDENTITY_FRONTEND; case 216: return SESAME; case 217: return GOOGLE_KEYBOARD_CONTENT; case 218: return MADDEN; case 219: return INK; case 220: return ANDROID_CONTACTS; case 221: return GOOGLE_KEYBOARD_COUNTERS; case 225: return CLEARCUT_PROBER; case 226: return PLAY_CONSOLE_APP; case 264: return PLAY_CONSOLE_APP_PRIMES; case 230: return SPECTRUM; case 231: return SPECTRUM_COUNTERS; case 267: return SPECTRUM_ANDROID_PRIMES; case 234: return IOS_SPOTLIGHT_SEARCH_LIBRARY; case 241: return BOQ_WEB; case 245: return ORCHESTRATION_CLIENT; case 246: return ORCHESTRATION_CLIENT_DEV; case 247: return GOOGLE_NOW_LAUNCHER; case 250: return SCOOBY_SPAM_REPORT_LOG; case 251: return IOS_GROWTH; case 252: return APPS_NOTIFY; case 269: return SMARTKEY_APP; case 270: return CLINICAL_STUDIES; case 271: return FITNESS_ANDROID_PRIMES; case 272: return IMPROV_APPS; case 273: return FAMILYLINK; case 274: return FAMILYLINK_COUNTERS; case 275: return SOCIETY; case 277: return DIALER_ANDROID_PRIMES; case 278: return YOUTUBE_DIRECTOR_APP; case 279: return TACHYON_ANDROID_PRIMES; case 280: return DRIVE_FS; case 281: return YT_MAIN; case 282: return WING_MARKETPLACE_ANDROID_PRIMES; case 283: return DYNAMITE; case 284: return CORP_ANDROID_FOOD; case 285: return ANDROID_MESSAGING_PRIMES; case 286: return GPLUS_IOS_PRIMES; case 288: return CHROMECAST_ANDROID_PRIMES; case 289: return APPSTREAMING; case 290: return GMB_ANDROID; case 292: return VOICE_IOS_PRIMES; case 293: return VOICE_ANDROID_PRIMES; case 294: return PAISA; case 295: return GMB_IOS; case 296: return SCOOBY_EVENTS; case 297: return SNAPSEED_IOS_PRIMES; case 298: return YOUTUBE_DIRECTOR_IOS_PRIMES; case 299: return WALLPAPER_PICKER; case 300: return CHIME; case 301: return BEACON_GCORE; case 302: return ANDROID_STUDIO; case 306: return DOCS_OFFLINE; case 307: return FREIGHTER; case 308: return DOCS_IOS_PRIMES; case 309: return SLIDES_IOS_PRIMES; case 310: return SHEETS_IOS_PRIMES; case 311: return IPCONNECTIVITY; case 312: return CURATOR; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public LogSource findValueByNumber(int number) { return LogSource.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.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.getDescriptor().getEnumTypes().get(0); } private static final LogSource[] VALUES = { UNKNOWN, STORE, WEB_STORE, WORK_STORE, WORK_STORE_APP, EDU_STORE, MUSIC, BOOKS, VIDEO, MOVIES, MAGAZINES, GAMES, LB_A, ANDROID_IDE, LB_P, LB_S, GMS_CORE, APP_USAGE_1P, ICING, HERREVAD, GOOGLE_TV, GMS_CORE_PEOPLE, LE, GOOGLE_ANALYTICS, LB_D, ANDROID_GSA, LB_T, PERSONAL_LOGGER, PERSONAL_BROWSER_LOGGER, GMS_CORE_WALLET_MERCHANT_ERROR, LB_C, LB_IA, LB_CB, LB_DM, ANDROID_AUTH, ANDROID_CAMERA, CW, CW_COUNTERS, GEL, DNA_PROBER, UDR, GMS_CORE_WALLET, SOCIAL, INSTORE_WALLET, NOVA, LB_CA, LATIN_IME, NEWS_WEATHER, HANGOUT, HANGOUT_LOG_REQUEST, COPRESENCE, SOCIAL_AFFINITY, PHOTOS, GCM, GOKART, FINDR, ANDROID_MESSAGING, SOCIAL_WEB, BACKDROP, TELEMATICS, GVC_HARVESTER, CAR, PIXEL_PERFECT, DRIVE, DOCS, SHEETS, SLIDES, IME, WARP, NFC_PROGRAMMER, NETSTATS, NEWSSTAND, KIDS_COMMUNICATOR, WIFI_ASSISTANT, CAST_SENDER_SDK, CRONET_SOCIAL, PHENOTYPE, PHENOTYPE_COUNTERS, CHROME_INFRA, JUSTSPEAK, PERF_PROFILE, KATNISS, SOCIAL_APPINVITE, GMM_COUNTERS, BOND_ONEGOOGLE, MAPS_API, CRONET_ANDROID_YT, CRONET_ANDROID_GSA, GOOGLE_FIT_WEARABLE, FITNESS_ANDROID, FITNESS_GMS_CORE, GOOGLE_EXPRESS, GOOGLE_EXPRESS_DEV, GOOGLE_EXPRESS_COURIER_ANDROID_PRIMES, GOOGLE_EXPRESS_ANDROID_PRIMES, GOOGLE_EXPRESS_STOREOMS_ANDROID_PRIMES, SENSE, ANDROID_BACKUP, VR, IME_COUNTERS, SETUP_WIZARD, EMERGENCY_ASSIST, TRON, TRON_COUNTERS, BATTERY_STATS, DISK_STATS, GRAPHICS_STATS, PROC_STATS, DROP_BOX, FINGERPRINT_STATS, NOTIFICATION_STATS, TAP_AND_PAY_GCORE, A11YLOGGER, GCM_COUNTERS, PLACES_NO_GLS_CONSENT, TACHYON_LOG_REQUEST, TACHYON_COUNTERS, VISION, SOCIAL_USER_LOCATION, LAUNCHPAD_TOYS, METALOG_COUNTERS, MOBILESDK_CLIENT, ANDROID_VERIFY_APPS, ADSHIELD, SHERLOG, LE_ULR_COUNTERS, GMM_UE3, CALENDAR, ENDER, FAMILY_COMPASS, TRANSOM, TRANSOM_COUNTERS, LB_AS, LB_CFG, IOS_GSA, TAP_AND_PAY_APP, TAP_AND_PAY_APP_COUNTERS, FLYDROID, CPANEL_APP, ANDROID_SNET_GCORE, ANDROID_SNET_IDLE, ANDROID_SNET_JAR, CONTEXT_MANAGER, CLASSROOM, TAILORMADE, KEEP, GMM_BRIIM_COUNTERS, CHROMECAST_APP_LOG, ADWORDS_MOBILE, LEANBACK_EVENT, ANDROID_GMAIL, SAMPLE_SHM, GPLUS_ANDROID_PRIMES, GPLUS_ANDROID_SYSTEM_HEALTH, GMAIL_ANDROID_PRIMES, GMAIL_ANDROID_SYSTEM_HEALTH, CALENDAR_ANDROID_PRIMES, CALENDAR_ANDROID_SYSTEM_HEALTH, DOCS_ANDROID_PRIMES, DOCS_ANDROID_SYSTEM_HEALTH, YT_MAIN_APP_ANDROID_PRIMES, YT_KIDS_ANDROID_PRIMES, YT_GAMING_ANDROID_PRIMES, YT_MUSIC_ANDROID_PRIMES, YT_LITE_ANDROID_PRIMES, YT_CREATOR_ANDROID_PRIMES, JAM_ANDROID_PRIMES, JAM_KIOSK_ANDROID_PRIMES, PHOTOS_ANDROID_PRIMES, DRIVE_ANDROID_PRIMES, SHEETS_ANDROID_PRIMES, SLIDES_ANDROID_PRIMES, SNAPSEED_ANDROID_PRIMES, HANGOUTS_ANDROID_PRIMES, INBOX_ANDROID_PRIMES, INBOX_IOS_PRIMES, SDP_IOS_PRIMES, GMSCORE_ANDROID_PRIMES, PLAY_MUSIC_ANDROID_WEAR_PRIMES, GEARHEAD_ANDROID_PRIMES, INSTORE_CONSUMER_PRIMES, SAMPLE_IOS_PRIMES, CPANEL_ANDROID_PRIMES, HUDDLE_ANDROID_PRIMES, AWX_ANDROID_PRIMES, GHS_ANDROID_PRIMES, ADWORDS_MOBILE_ANDROID_PRIMES, TAP_AND_PAY_ANDROID_PRIMES, WALLET_APP_ANDROID_PRIMES, WALLET_APP_IOS_PRIMES, ANALYTICS_ANDROID_PRIMES, SPACES_ANDROID_PRIMES, SPACES_IOS_PRIMES, SOCIETY_ANDROID_PRIMES, GMM_BRIIM_PRIMES, CW_PRIMES, FAMILYLINK_ANDROID_PRIMES, FAMILYLINK_IOS_PRIMES, WH_PRIMES, NOVA_ANDROID_PRIMES, PHOTOS_DRAPER_ANDROID_PRIMES, GMM_PRIMES, TRANSLATE_ANDROID_PRIMES, TRANSLATE_IOS_PRIMES, FLYDROID_ANDROID_PRIMES, CONSUMERIQ_PRIMES, GMB_ANDROID_PRIMES, CLOUDDPC_PRIMES, CLOUDDPC_ARC_PRIMES, ICORE, PANCETTA_MOBILE_HOST, PANCETTA_MOBILE_HOST_COUNTERS, CROSSDEVICENOTIFICATION, CROSSDEVICENOTIFICATION_DEV, MAPS_API_COUNTERS, GPU, ON_THE_GO, ON_THE_GO_COUNTERS, GMS_CORE_PEOPLE_AUTOCOMPLETE, FLYDROID_COUNTERS, FIREBALL, FIREBALL_COUNTERS, CRONET_FIREBALL, FIREBALL_PRIMES, FIREBALL_IOS_PRIMES, GOOGLE_HANDWRITING_INPUT_ANDROID_PRIMES, PYROCLASM, ANDROID_GSA_COUNTERS, JAM_IMPRESSIONS, JAM_KIOSK_IMPRESSIONS, PAYMENTS_OCR, UNICORN_FAMILY_MANAGEMENT, AUDITOR, NQLOOKUP, ANDROID_GSA_HIGH_PRIORITY_EVENTS, ANDROID_DIALER, CLEARCUT_DEMO, APPMANAGER, SMARTLOCK_COUNTERS, EXPEDITIONS_GUIDE, FUSE, PIXEL_PERFECT_CLIENT_STATE_LOGGER, PLATFORM_STATS_COUNTERS, DRIVE_VIEWER, PDF_VIEWER, BIGTOP, VOICE, MYFIBER, RECORDED_PAGES, MOB_DOG, WALLET_APP, GBOARD, CRONET_GMM, TRUSTED_FACE, MATCHSTICK, APP_CATALOG, BLUETOOTH, WIFI, TELECOM, TELEPHONY, IDENTITY_FRONTEND, SESAME, GOOGLE_KEYBOARD_CONTENT, MADDEN, INK, ANDROID_CONTACTS, GOOGLE_KEYBOARD_COUNTERS, CLEARCUT_PROBER, PLAY_CONSOLE_APP, PLAY_CONSOLE_APP_PRIMES, SPECTRUM, SPECTRUM_COUNTERS, SPECTRUM_ANDROID_PRIMES, IOS_SPOTLIGHT_SEARCH_LIBRARY, BOQ_WEB, ORCHESTRATION_CLIENT, ORCHESTRATION_CLIENT_DEV, GOOGLE_NOW_LAUNCHER, SCOOBY_SPAM_REPORT_LOG, IOS_GROWTH, APPS_NOTIFY, SMARTKEY_APP, CLINICAL_STUDIES, FITNESS_ANDROID_PRIMES, IMPROV_APPS, FAMILYLINK, FAMILYLINK_COUNTERS, SOCIETY, DIALER_ANDROID_PRIMES, YOUTUBE_DIRECTOR_APP, TACHYON_ANDROID_PRIMES, DRIVE_FS, YT_MAIN, WING_MARKETPLACE_ANDROID_PRIMES, DYNAMITE, CORP_ANDROID_FOOD, ANDROID_MESSAGING_PRIMES, GPLUS_IOS_PRIMES, CHROMECAST_ANDROID_PRIMES, APPSTREAMING, GMB_ANDROID, VOICE_IOS_PRIMES, VOICE_ANDROID_PRIMES, PAISA, GMB_IOS, SCOOBY_EVENTS, SNAPSEED_IOS_PRIMES, YOUTUBE_DIRECTOR_IOS_PRIMES, WALLPAPER_PICKER, CHIME, BEACON_GCORE, ANDROID_STUDIO, DOCS_OFFLINE, FREIGHTER, DOCS_IOS_PRIMES, SLIDES_IOS_PRIMES, SHEETS_IOS_PRIMES, IPCONNECTIVITY, CURATOR, }; public static LogSource 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 LogSource(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:wireless_android_play_playlog.LogRequest.LogSource) } /** * Protobuf enum {@code wireless_android_play_playlog.LogRequest.SchedulerType} * *
     * Different types schedulers for log upload.
     * 
*/ public enum SchedulerType implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN_SCHEDULER = 0; */ UNKNOWN_SCHEDULER(0, 0), /** * ASAP = 1; */ ASAP(1, 1), /** * DEFAULT_PERIODIC = 2; * *
       * As soon as possible used when log store is full.
       * 
*/ DEFAULT_PERIODIC(2, 2), /** * QOS_FAST_ONEOFF = 3; */ QOS_FAST_ONEOFF(3, 3), /** * QOS_DEFAULT_PERIODIC = 4; */ QOS_DEFAULT_PERIODIC(4, 4), /** * QOS_UNMETERED_PERIODIC = 5; */ QOS_UNMETERED_PERIODIC(5, 5), ; /** * UNKNOWN_SCHEDULER = 0; */ public static final int UNKNOWN_SCHEDULER_VALUE = 0; /** * ASAP = 1; */ public static final int ASAP_VALUE = 1; /** * DEFAULT_PERIODIC = 2; * *
       * As soon as possible used when log store is full.
       * 
*/ public static final int DEFAULT_PERIODIC_VALUE = 2; /** * QOS_FAST_ONEOFF = 3; */ public static final int QOS_FAST_ONEOFF_VALUE = 3; /** * QOS_DEFAULT_PERIODIC = 4; */ public static final int QOS_DEFAULT_PERIODIC_VALUE = 4; /** * QOS_UNMETERED_PERIODIC = 5; */ public static final int QOS_UNMETERED_PERIODIC_VALUE = 5; public final int getNumber() { return value; } public static SchedulerType valueOf(int value) { switch (value) { case 0: return UNKNOWN_SCHEDULER; case 1: return ASAP; case 2: return DEFAULT_PERIODIC; case 3: return QOS_FAST_ONEOFF; case 4: return QOS_DEFAULT_PERIODIC; case 5: return QOS_UNMETERED_PERIODIC; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public SchedulerType findValueByNumber(int number) { return SchedulerType.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.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.getDescriptor().getEnumTypes().get(1); } private static final SchedulerType[] VALUES = values(); public static SchedulerType 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 SchedulerType(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:wireless_android_play_playlog.LogRequest.SchedulerType) } private int bitField0_; // optional int64 request_time_ms = 4; public static final int REQUEST_TIME_MS_FIELD_NUMBER = 4; private long requestTimeMs_; /** * optional int64 request_time_ms = 4; * *
     * "Now", in milliseconds, according to the same clock as the one used to set
     *  the 'event_time_ms' values in the LogEvent protos above.
     * 
*/ public boolean hasRequestTimeMs() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 request_time_ms = 4; * *
     * "Now", in milliseconds, according to the same clock as the one used to set
     *  the 'event_time_ms' values in the LogEvent protos above.
     * 
*/ public long getRequestTimeMs() { return requestTimeMs_; } // optional int64 request_uptime_ms = 8; public static final int REQUEST_UPTIME_MS_FIELD_NUMBER = 8; private long requestUptimeMs_; /** * optional int64 request_uptime_ms = 8; * *
     * Current time since boot in milliseconds, including time spent in sleep,
     *  according to the same clock as the one used to set
     *  the 'event_uptime_ms' values in the LogEvent protos above.
     * 
*/ public boolean hasRequestUptimeMs() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int64 request_uptime_ms = 8; * *
     * Current time since boot in milliseconds, including time spent in sleep,
     *  according to the same clock as the one used to set
     *  the 'event_uptime_ms' values in the LogEvent protos above.
     * 
*/ public long getRequestUptimeMs() { return requestUptimeMs_; } // optional .wireless_android_play_playlog.ClientInfo client_info = 1; public static final int CLIENT_INFO_FIELD_NUMBER = 1; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo clientInfo_; /** * optional .wireless_android_play_playlog.ClientInfo client_info = 1; */ public boolean hasClientInfo() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .wireless_android_play_playlog.ClientInfo client_info = 1; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo getClientInfo() { return clientInfo_; } /** * optional .wireless_android_play_playlog.ClientInfo client_info = 1; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfoOrBuilder getClientInfoOrBuilder() { return clientInfo_; } // optional .wireless_android_play_playlog.LogRequest.LogSource log_source = 2 [default = UNKNOWN]; public static final int LOG_SOURCE_FIELD_NUMBER = 2; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.LogSource logSource_; /** * optional .wireless_android_play_playlog.LogRequest.LogSource log_source = 2 [default = UNKNOWN]; */ public boolean hasLogSource() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .wireless_android_play_playlog.LogRequest.LogSource log_source = 2 [default = UNKNOWN]; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.LogSource getLogSource() { return logSource_; } // optional string log_source_name = 6; public static final int LOG_SOURCE_NAME_FIELD_NUMBER = 6; private java.lang.Object logSourceName_; /** * optional string log_source_name = 6; * *
     * If log_source is not present and log_source_name is present, the value of
     *  log_source_name is parsed as a LogSource value and set to log_source.
     * 
*/ public boolean hasLogSourceName() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string log_source_name = 6; * *
     * If log_source is not present and log_source_name is present, the value of
     *  log_source_name is parsed as a LogSource value and set to log_source.
     * 
*/ public java.lang.String getLogSourceName() { java.lang.Object ref = logSourceName_; 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()) { logSourceName_ = s; } return s; } } /** * optional string log_source_name = 6; * *
     * If log_source is not present and log_source_name is present, the value of
     *  log_source_name is parsed as a LogSource value and set to log_source.
     * 
*/ public com.google.protobuf.ByteString getLogSourceNameBytes() { java.lang.Object ref = logSourceName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); logSourceName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string zwieback_cookie = 7; public static final int ZWIEBACK_COOKIE_FIELD_NUMBER = 7; private java.lang.Object zwiebackCookie_; /** * optional string zwieback_cookie = 7; * *
     * cookie from pseudonymous id service at the time the event was posted
     * 
*/ public boolean hasZwiebackCookie() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional string zwieback_cookie = 7; * *
     * cookie from pseudonymous id service at the time the event was posted
     * 
*/ public java.lang.String getZwiebackCookie() { java.lang.Object ref = zwiebackCookie_; 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()) { zwiebackCookie_ = s; } return s; } } /** * optional string zwieback_cookie = 7; * *
     * cookie from pseudonymous id service at the time the event was posted
     * 
*/ public com.google.protobuf.ByteString getZwiebackCookieBytes() { java.lang.Object ref = zwiebackCookie_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); zwiebackCookie_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // repeated .wireless_android_play_playlog.LogEvent log_event = 3; public static final int LOG_EVENT_FIELD_NUMBER = 3; private java.util.List logEvent_; /** * repeated .wireless_android_play_playlog.LogEvent log_event = 3; */ public java.util.List getLogEventList() { return logEvent_; } /** * repeated .wireless_android_play_playlog.LogEvent log_event = 3; */ public java.util.List getLogEventOrBuilderList() { return logEvent_; } /** * repeated .wireless_android_play_playlog.LogEvent log_event = 3; */ public int getLogEventCount() { return logEvent_.size(); } /** * repeated .wireless_android_play_playlog.LogEvent log_event = 3; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent getLogEvent(int index) { return logEvent_.get(index); } /** * repeated .wireless_android_play_playlog.LogEvent log_event = 3; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventOrBuilder getLogEventOrBuilder( int index) { return logEvent_.get(index); } // repeated bytes serialized_log_events = 5; public static final int SERIALIZED_LOG_EVENTS_FIELD_NUMBER = 5; private java.util.List serializedLogEvents_; /** * repeated bytes serialized_log_events = 5; * *
     * Can be used instead of 'log_event' in order to save battery in cases where
     *  LogEvent protos are already serialized, and deserializing is undesirable.
     *  If used, this is a collection of byte streams each produced using a
     *  CodedOutputStream.
     * 
*/ public java.util.List getSerializedLogEventsList() { return serializedLogEvents_; } /** * repeated bytes serialized_log_events = 5; * *
     * Can be used instead of 'log_event' in order to save battery in cases where
     *  LogEvent protos are already serialized, and deserializing is undesirable.
     *  If used, this is a collection of byte streams each produced using a
     *  CodedOutputStream.
     * 
*/ public int getSerializedLogEventsCount() { return serializedLogEvents_.size(); } /** * repeated bytes serialized_log_events = 5; * *
     * Can be used instead of 'log_event' in order to save battery in cases where
     *  LogEvent protos are already serialized, and deserializing is undesirable.
     *  If used, this is a collection of byte streams each produced using a
     *  CodedOutputStream.
     * 
*/ public com.google.protobuf.ByteString getSerializedLogEvents(int index) { return serializedLogEvents_.get(index); } // optional .wireless_android_play_playlog.QosTierConfiguration.QosTier qos_tier = 9 [default = DEFAULT]; public static final int QOS_TIER_FIELD_NUMBER = 9; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.QosTier qosTier_; /** * optional .wireless_android_play_playlog.QosTierConfiguration.QosTier qos_tier = 9 [default = DEFAULT]; * *
     * Quality of Service tier for log upload.
     * 
*/ public boolean hasQosTier() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional .wireless_android_play_playlog.QosTierConfiguration.QosTier qos_tier = 9 [default = DEFAULT]; * *
     * Quality of Service tier for log upload.
     * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.QosTier getQosTier() { return qosTier_; } // optional .wireless_android_play_playlog.LogRequest.SchedulerType scheduler = 10; public static final int SCHEDULER_FIELD_NUMBER = 10; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.SchedulerType scheduler_; /** * optional .wireless_android_play_playlog.LogRequest.SchedulerType scheduler = 10; * *
     * The type of log upload scheduler.
     * 
*/ public boolean hasScheduler() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional .wireless_android_play_playlog.LogRequest.SchedulerType scheduler = 10; * *
     * The type of log upload scheduler.
     * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.SchedulerType getScheduler() { return scheduler_; } // optional .wireless_android_play_playlog.DeviceStatus device_status = 11; public static final int DEVICE_STATUS_FIELD_NUMBER = 11; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus deviceStatus_; /** * optional .wireless_android_play_playlog.DeviceStatus device_status = 11; * *
     * Device status.
     * 
*/ public boolean hasDeviceStatus() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional .wireless_android_play_playlog.DeviceStatus device_status = 11; * *
     * Device status.
     * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus getDeviceStatus() { return deviceStatus_; } /** * optional .wireless_android_play_playlog.DeviceStatus device_status = 11; * *
     * Device status.
     * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatusOrBuilder getDeviceStatusOrBuilder() { return deviceStatus_; } // optional .wireless_android_play_playlog.ExternalTimestamp external_timestamp = 12; public static final int EXTERNAL_TIMESTAMP_FIELD_NUMBER = 12; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp externalTimestamp_; /** * optional .wireless_android_play_playlog.ExternalTimestamp external_timestamp = 12; * *
     * A timestamp taken from a source external to the device. For example, a GPS
     *  timestamp. This can be more accurate than the device wall clock, but is not
     *  guaranteed to be. That will depend on the source, and on the device
     *  hardware and software that obtains the timestamp.
     * 
*/ public boolean hasExternalTimestamp() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * optional .wireless_android_play_playlog.ExternalTimestamp external_timestamp = 12; * *
     * A timestamp taken from a source external to the device. For example, a GPS
     *  timestamp. This can be more accurate than the device wall clock, but is not
     *  guaranteed to be. That will depend on the source, and on the device
     *  hardware and software that obtains the timestamp.
     * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp getExternalTimestamp() { return externalTimestamp_; } /** * optional .wireless_android_play_playlog.ExternalTimestamp external_timestamp = 12; * *
     * A timestamp taken from a source external to the device. For example, a GPS
     *  timestamp. This can be more accurate than the device wall clock, but is not
     *  guaranteed to be. That will depend on the source, and on the device
     *  hardware and software that obtains the timestamp.
     * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestampOrBuilder getExternalTimestampOrBuilder() { return externalTimestamp_; } private void initFields() { requestTimeMs_ = 0L; requestUptimeMs_ = 0L; clientInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo.getDefaultInstance(); logSource_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.LogSource.UNKNOWN; logSourceName_ = ""; zwiebackCookie_ = ""; logEvent_ = java.util.Collections.emptyList(); serializedLogEvents_ = java.util.Collections.emptyList(); qosTier_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.QosTier.DEFAULT; scheduler_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.SchedulerType.UNKNOWN_SCHEDULER; deviceStatus_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus.getDefaultInstance(); externalTimestamp_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp.getDefaultInstance(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; for (int i = 0; i < getLogEventCount(); i++) { if (!getLogEvent(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } if (!extensionsAreInitialized()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); com.google.protobuf.GeneratedMessage .ExtendableMessage.ExtensionWriter extensionWriter = newExtensionWriter(); if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeMessage(1, clientInfo_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeEnum(2, logSource_.getNumber()); } for (int i = 0; i < logEvent_.size(); i++) { output.writeMessage(3, logEvent_.get(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt64(4, requestTimeMs_); } for (int i = 0; i < serializedLogEvents_.size(); i++) { output.writeBytes(5, serializedLogEvents_.get(i)); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBytes(6, getLogSourceNameBytes()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeBytes(7, getZwiebackCookieBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt64(8, requestUptimeMs_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeEnum(9, qosTier_.getNumber()); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeEnum(10, scheduler_.getNumber()); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeMessage(11, deviceStatus_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { output.writeMessage(12, externalTimestamp_); } extensionWriter.writeUntil(536870912, output); getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, clientInfo_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, logSource_.getNumber()); } for (int i = 0; i < logEvent_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, logEvent_.get(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, requestTimeMs_); } { int dataSize = 0; for (int i = 0; i < serializedLogEvents_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(serializedLogEvents_.get(i)); } size += dataSize; size += 1 * getSerializedLogEventsList().size(); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(6, getLogSourceNameBytes()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(7, getZwiebackCookieBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(8, requestUptimeMs_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(9, qosTier_.getNumber()); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(10, scheduler_.getNumber()); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, deviceStatus_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, externalTimestamp_); } size += extensionsSerializedSize(); 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.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest 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.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest 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 wireless_android_play_playlog.LogRequest} * *
     * A LogRequest represents a batched collection of loggable events, each event
     *  to be processed and sent to zero or more destinations (e.g. Sawmill log types
     *  or Footprints) by the Clearcut server.
     *
     *  Next tag: 13
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.ExtendableBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest, Builder> implements com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_LogRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_LogRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.Builder.class); } // Construct using com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getClientInfoFieldBuilder(); getLogEventFieldBuilder(); getDeviceStatusFieldBuilder(); getExternalTimestampFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); requestTimeMs_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); requestUptimeMs_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); if (clientInfoBuilder_ == null) { clientInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo.getDefaultInstance(); } else { clientInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); logSource_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.LogSource.UNKNOWN; bitField0_ = (bitField0_ & ~0x00000008); logSourceName_ = ""; bitField0_ = (bitField0_ & ~0x00000010); zwiebackCookie_ = ""; bitField0_ = (bitField0_ & ~0x00000020); if (logEventBuilder_ == null) { logEvent_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); } else { logEventBuilder_.clear(); } serializedLogEvents_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); qosTier_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.QosTier.DEFAULT; bitField0_ = (bitField0_ & ~0x00000100); scheduler_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.SchedulerType.UNKNOWN_SCHEDULER; bitField0_ = (bitField0_ & ~0x00000200); if (deviceStatusBuilder_ == null) { deviceStatus_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus.getDefaultInstance(); } else { deviceStatusBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000400); if (externalTimestampBuilder_ == null) { externalTimestamp_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp.getDefaultInstance(); } else { externalTimestampBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000800); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_LogRequest_descriptor; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest getDefaultInstanceForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.getDefaultInstance(); } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest build() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest buildPartial() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest result = new com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.requestTimeMs_ = requestTimeMs_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.requestUptimeMs_ = requestUptimeMs_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } if (clientInfoBuilder_ == null) { result.clientInfo_ = clientInfo_; } else { result.clientInfo_ = clientInfoBuilder_.build(); } if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.logSource_ = logSource_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.logSourceName_ = logSourceName_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.zwiebackCookie_ = zwiebackCookie_; if (logEventBuilder_ == null) { if (((bitField0_ & 0x00000040) == 0x00000040)) { logEvent_ = java.util.Collections.unmodifiableList(logEvent_); bitField0_ = (bitField0_ & ~0x00000040); } result.logEvent_ = logEvent_; } else { result.logEvent_ = logEventBuilder_.build(); } if (((bitField0_ & 0x00000080) == 0x00000080)) { serializedLogEvents_ = java.util.Collections.unmodifiableList(serializedLogEvents_); bitField0_ = (bitField0_ & ~0x00000080); } result.serializedLogEvents_ = serializedLogEvents_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000040; } result.qosTier_ = qosTier_; if (((from_bitField0_ & 0x00000200) == 0x00000200)) { to_bitField0_ |= 0x00000080; } result.scheduler_ = scheduler_; if (((from_bitField0_ & 0x00000400) == 0x00000400)) { to_bitField0_ |= 0x00000100; } if (deviceStatusBuilder_ == null) { result.deviceStatus_ = deviceStatus_; } else { result.deviceStatus_ = deviceStatusBuilder_.build(); } if (((from_bitField0_ & 0x00000800) == 0x00000800)) { to_bitField0_ |= 0x00000200; } if (externalTimestampBuilder_ == null) { result.externalTimestamp_ = externalTimestamp_; } else { result.externalTimestamp_ = externalTimestampBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest) { return mergeFrom((com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest other) { if (other == com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.getDefaultInstance()) return this; if (other.hasRequestTimeMs()) { setRequestTimeMs(other.getRequestTimeMs()); } if (other.hasRequestUptimeMs()) { setRequestUptimeMs(other.getRequestUptimeMs()); } if (other.hasClientInfo()) { mergeClientInfo(other.getClientInfo()); } if (other.hasLogSource()) { setLogSource(other.getLogSource()); } if (other.hasLogSourceName()) { bitField0_ |= 0x00000010; logSourceName_ = other.logSourceName_; onChanged(); } if (other.hasZwiebackCookie()) { bitField0_ |= 0x00000020; zwiebackCookie_ = other.zwiebackCookie_; onChanged(); } if (logEventBuilder_ == null) { if (!other.logEvent_.isEmpty()) { if (logEvent_.isEmpty()) { logEvent_ = other.logEvent_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureLogEventIsMutable(); logEvent_.addAll(other.logEvent_); } onChanged(); } } else { if (!other.logEvent_.isEmpty()) { if (logEventBuilder_.isEmpty()) { logEventBuilder_.dispose(); logEventBuilder_ = null; logEvent_ = other.logEvent_; bitField0_ = (bitField0_ & ~0x00000040); logEventBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getLogEventFieldBuilder() : null; } else { logEventBuilder_.addAllMessages(other.logEvent_); } } } if (!other.serializedLogEvents_.isEmpty()) { if (serializedLogEvents_.isEmpty()) { serializedLogEvents_ = other.serializedLogEvents_; bitField0_ = (bitField0_ & ~0x00000080); } else { ensureSerializedLogEventsIsMutable(); serializedLogEvents_.addAll(other.serializedLogEvents_); } onChanged(); } if (other.hasQosTier()) { setQosTier(other.getQosTier()); } if (other.hasScheduler()) { setScheduler(other.getScheduler()); } if (other.hasDeviceStatus()) { mergeDeviceStatus(other.getDeviceStatus()); } if (other.hasExternalTimestamp()) { mergeExternalTimestamp(other.getExternalTimestamp()); } this.mergeExtensionFields(other); this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { for (int i = 0; i < getLogEventCount(); i++) { if (!getLogEvent(i).isInitialized()) { return false; } } if (!extensionsAreInitialized()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional int64 request_time_ms = 4; private long requestTimeMs_ ; /** * optional int64 request_time_ms = 4; * *
       * "Now", in milliseconds, according to the same clock as the one used to set
       *  the 'event_time_ms' values in the LogEvent protos above.
       * 
*/ public boolean hasRequestTimeMs() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 request_time_ms = 4; * *
       * "Now", in milliseconds, according to the same clock as the one used to set
       *  the 'event_time_ms' values in the LogEvent protos above.
       * 
*/ public long getRequestTimeMs() { return requestTimeMs_; } /** * optional int64 request_time_ms = 4; * *
       * "Now", in milliseconds, according to the same clock as the one used to set
       *  the 'event_time_ms' values in the LogEvent protos above.
       * 
*/ public Builder setRequestTimeMs(long value) { bitField0_ |= 0x00000001; requestTimeMs_ = value; onChanged(); return this; } /** * optional int64 request_time_ms = 4; * *
       * "Now", in milliseconds, according to the same clock as the one used to set
       *  the 'event_time_ms' values in the LogEvent protos above.
       * 
*/ public Builder clearRequestTimeMs() { bitField0_ = (bitField0_ & ~0x00000001); requestTimeMs_ = 0L; onChanged(); return this; } // optional int64 request_uptime_ms = 8; private long requestUptimeMs_ ; /** * optional int64 request_uptime_ms = 8; * *
       * Current time since boot in milliseconds, including time spent in sleep,
       *  according to the same clock as the one used to set
       *  the 'event_uptime_ms' values in the LogEvent protos above.
       * 
*/ public boolean hasRequestUptimeMs() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int64 request_uptime_ms = 8; * *
       * Current time since boot in milliseconds, including time spent in sleep,
       *  according to the same clock as the one used to set
       *  the 'event_uptime_ms' values in the LogEvent protos above.
       * 
*/ public long getRequestUptimeMs() { return requestUptimeMs_; } /** * optional int64 request_uptime_ms = 8; * *
       * Current time since boot in milliseconds, including time spent in sleep,
       *  according to the same clock as the one used to set
       *  the 'event_uptime_ms' values in the LogEvent protos above.
       * 
*/ public Builder setRequestUptimeMs(long value) { bitField0_ |= 0x00000002; requestUptimeMs_ = value; onChanged(); return this; } /** * optional int64 request_uptime_ms = 8; * *
       * Current time since boot in milliseconds, including time spent in sleep,
       *  according to the same clock as the one used to set
       *  the 'event_uptime_ms' values in the LogEvent protos above.
       * 
*/ public Builder clearRequestUptimeMs() { bitField0_ = (bitField0_ & ~0x00000002); requestUptimeMs_ = 0L; onChanged(); return this; } // optional .wireless_android_play_playlog.ClientInfo client_info = 1; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo clientInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo, com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfoOrBuilder> clientInfoBuilder_; /** * optional .wireless_android_play_playlog.ClientInfo client_info = 1; */ public boolean hasClientInfo() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .wireless_android_play_playlog.ClientInfo client_info = 1; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo getClientInfo() { if (clientInfoBuilder_ == null) { return clientInfo_; } else { return clientInfoBuilder_.getMessage(); } } /** * optional .wireless_android_play_playlog.ClientInfo client_info = 1; */ public Builder setClientInfo(com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo value) { if (clientInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } clientInfo_ = value; onChanged(); } else { clientInfoBuilder_.setMessage(value); } bitField0_ |= 0x00000004; return this; } /** * optional .wireless_android_play_playlog.ClientInfo client_info = 1; */ public Builder setClientInfo( com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo.Builder builderForValue) { if (clientInfoBuilder_ == null) { clientInfo_ = builderForValue.build(); onChanged(); } else { clientInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; return this; } /** * optional .wireless_android_play_playlog.ClientInfo client_info = 1; */ public Builder mergeClientInfo(com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo value) { if (clientInfoBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004) && clientInfo_ != com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo.getDefaultInstance()) { clientInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo.newBuilder(clientInfo_).mergeFrom(value).buildPartial(); } else { clientInfo_ = value; } onChanged(); } else { clientInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /** * optional .wireless_android_play_playlog.ClientInfo client_info = 1; */ public Builder clearClientInfo() { if (clientInfoBuilder_ == null) { clientInfo_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo.getDefaultInstance(); onChanged(); } else { clientInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } /** * optional .wireless_android_play_playlog.ClientInfo client_info = 1; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo.Builder getClientInfoBuilder() { bitField0_ |= 0x00000004; onChanged(); return getClientInfoFieldBuilder().getBuilder(); } /** * optional .wireless_android_play_playlog.ClientInfo client_info = 1; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfoOrBuilder getClientInfoOrBuilder() { if (clientInfoBuilder_ != null) { return clientInfoBuilder_.getMessageOrBuilder(); } else { return clientInfo_; } } /** * optional .wireless_android_play_playlog.ClientInfo client_info = 1; */ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo, com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfoOrBuilder> getClientInfoFieldBuilder() { if (clientInfoBuilder_ == null) { clientInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo, com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfo.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.ClientInfoOrBuilder>( clientInfo_, getParentForChildren(), isClean()); clientInfo_ = null; } return clientInfoBuilder_; } // optional .wireless_android_play_playlog.LogRequest.LogSource log_source = 2 [default = UNKNOWN]; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.LogSource logSource_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.LogSource.UNKNOWN; /** * optional .wireless_android_play_playlog.LogRequest.LogSource log_source = 2 [default = UNKNOWN]; */ public boolean hasLogSource() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .wireless_android_play_playlog.LogRequest.LogSource log_source = 2 [default = UNKNOWN]; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.LogSource getLogSource() { return logSource_; } /** * optional .wireless_android_play_playlog.LogRequest.LogSource log_source = 2 [default = UNKNOWN]; */ public Builder setLogSource(com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.LogSource value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; logSource_ = value; onChanged(); return this; } /** * optional .wireless_android_play_playlog.LogRequest.LogSource log_source = 2 [default = UNKNOWN]; */ public Builder clearLogSource() { bitField0_ = (bitField0_ & ~0x00000008); logSource_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.LogSource.UNKNOWN; onChanged(); return this; } // optional string log_source_name = 6; private java.lang.Object logSourceName_ = ""; /** * optional string log_source_name = 6; * *
       * If log_source is not present and log_source_name is present, the value of
       *  log_source_name is parsed as a LogSource value and set to log_source.
       * 
*/ public boolean hasLogSourceName() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string log_source_name = 6; * *
       * If log_source is not present and log_source_name is present, the value of
       *  log_source_name is parsed as a LogSource value and set to log_source.
       * 
*/ public java.lang.String getLogSourceName() { java.lang.Object ref = logSourceName_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); logSourceName_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string log_source_name = 6; * *
       * If log_source is not present and log_source_name is present, the value of
       *  log_source_name is parsed as a LogSource value and set to log_source.
       * 
*/ public com.google.protobuf.ByteString getLogSourceNameBytes() { java.lang.Object ref = logSourceName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); logSourceName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string log_source_name = 6; * *
       * If log_source is not present and log_source_name is present, the value of
       *  log_source_name is parsed as a LogSource value and set to log_source.
       * 
*/ public Builder setLogSourceName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; logSourceName_ = value; onChanged(); return this; } /** * optional string log_source_name = 6; * *
       * If log_source is not present and log_source_name is present, the value of
       *  log_source_name is parsed as a LogSource value and set to log_source.
       * 
*/ public Builder clearLogSourceName() { bitField0_ = (bitField0_ & ~0x00000010); logSourceName_ = getDefaultInstance().getLogSourceName(); onChanged(); return this; } /** * optional string log_source_name = 6; * *
       * If log_source is not present and log_source_name is present, the value of
       *  log_source_name is parsed as a LogSource value and set to log_source.
       * 
*/ public Builder setLogSourceNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; logSourceName_ = value; onChanged(); return this; } // optional string zwieback_cookie = 7; private java.lang.Object zwiebackCookie_ = ""; /** * optional string zwieback_cookie = 7; * *
       * cookie from pseudonymous id service at the time the event was posted
       * 
*/ public boolean hasZwiebackCookie() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional string zwieback_cookie = 7; * *
       * cookie from pseudonymous id service at the time the event was posted
       * 
*/ public java.lang.String getZwiebackCookie() { java.lang.Object ref = zwiebackCookie_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); zwiebackCookie_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string zwieback_cookie = 7; * *
       * cookie from pseudonymous id service at the time the event was posted
       * 
*/ public com.google.protobuf.ByteString getZwiebackCookieBytes() { java.lang.Object ref = zwiebackCookie_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); zwiebackCookie_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string zwieback_cookie = 7; * *
       * cookie from pseudonymous id service at the time the event was posted
       * 
*/ public Builder setZwiebackCookie( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; zwiebackCookie_ = value; onChanged(); return this; } /** * optional string zwieback_cookie = 7; * *
       * cookie from pseudonymous id service at the time the event was posted
       * 
*/ public Builder clearZwiebackCookie() { bitField0_ = (bitField0_ & ~0x00000020); zwiebackCookie_ = getDefaultInstance().getZwiebackCookie(); onChanged(); return this; } /** * optional string zwieback_cookie = 7; * *
       * cookie from pseudonymous id service at the time the event was posted
       * 
*/ public Builder setZwiebackCookieBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; zwiebackCookie_ = value; onChanged(); return this; } // repeated .wireless_android_play_playlog.LogEvent log_event = 3; private java.util.List logEvent_ = java.util.Collections.emptyList(); private void ensureLogEventIsMutable() { if (!((bitField0_ & 0x00000040) == 0x00000040)) { logEvent_ = new java.util.ArrayList(logEvent_); bitField0_ |= 0x00000040; } } private com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventOrBuilder> logEventBuilder_; /** * repeated .wireless_android_play_playlog.LogEvent log_event = 3; */ public java.util.List getLogEventList() { if (logEventBuilder_ == null) { return java.util.Collections.unmodifiableList(logEvent_); } else { return logEventBuilder_.getMessageList(); } } /** * repeated .wireless_android_play_playlog.LogEvent log_event = 3; */ public int getLogEventCount() { if (logEventBuilder_ == null) { return logEvent_.size(); } else { return logEventBuilder_.getCount(); } } /** * repeated .wireless_android_play_playlog.LogEvent log_event = 3; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent getLogEvent(int index) { if (logEventBuilder_ == null) { return logEvent_.get(index); } else { return logEventBuilder_.getMessage(index); } } /** * repeated .wireless_android_play_playlog.LogEvent log_event = 3; */ public Builder setLogEvent( int index, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent value) { if (logEventBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLogEventIsMutable(); logEvent_.set(index, value); onChanged(); } else { logEventBuilder_.setMessage(index, value); } return this; } /** * repeated .wireless_android_play_playlog.LogEvent log_event = 3; */ public Builder setLogEvent( int index, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent.Builder builderForValue) { if (logEventBuilder_ == null) { ensureLogEventIsMutable(); logEvent_.set(index, builderForValue.build()); onChanged(); } else { logEventBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .wireless_android_play_playlog.LogEvent log_event = 3; */ public Builder addLogEvent(com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent value) { if (logEventBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLogEventIsMutable(); logEvent_.add(value); onChanged(); } else { logEventBuilder_.addMessage(value); } return this; } /** * repeated .wireless_android_play_playlog.LogEvent log_event = 3; */ public Builder addLogEvent( int index, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent value) { if (logEventBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLogEventIsMutable(); logEvent_.add(index, value); onChanged(); } else { logEventBuilder_.addMessage(index, value); } return this; } /** * repeated .wireless_android_play_playlog.LogEvent log_event = 3; */ public Builder addLogEvent( com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent.Builder builderForValue) { if (logEventBuilder_ == null) { ensureLogEventIsMutable(); logEvent_.add(builderForValue.build()); onChanged(); } else { logEventBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .wireless_android_play_playlog.LogEvent log_event = 3; */ public Builder addLogEvent( int index, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent.Builder builderForValue) { if (logEventBuilder_ == null) { ensureLogEventIsMutable(); logEvent_.add(index, builderForValue.build()); onChanged(); } else { logEventBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .wireless_android_play_playlog.LogEvent log_event = 3; */ public Builder addAllLogEvent( java.lang.Iterable values) { if (logEventBuilder_ == null) { ensureLogEventIsMutable(); super.addAll(values, logEvent_); onChanged(); } else { logEventBuilder_.addAllMessages(values); } return this; } /** * repeated .wireless_android_play_playlog.LogEvent log_event = 3; */ public Builder clearLogEvent() { if (logEventBuilder_ == null) { logEvent_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); } else { logEventBuilder_.clear(); } return this; } /** * repeated .wireless_android_play_playlog.LogEvent log_event = 3; */ public Builder removeLogEvent(int index) { if (logEventBuilder_ == null) { ensureLogEventIsMutable(); logEvent_.remove(index); onChanged(); } else { logEventBuilder_.remove(index); } return this; } /** * repeated .wireless_android_play_playlog.LogEvent log_event = 3; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent.Builder getLogEventBuilder( int index) { return getLogEventFieldBuilder().getBuilder(index); } /** * repeated .wireless_android_play_playlog.LogEvent log_event = 3; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventOrBuilder getLogEventOrBuilder( int index) { if (logEventBuilder_ == null) { return logEvent_.get(index); } else { return logEventBuilder_.getMessageOrBuilder(index); } } /** * repeated .wireless_android_play_playlog.LogEvent log_event = 3; */ public java.util.List getLogEventOrBuilderList() { if (logEventBuilder_ != null) { return logEventBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(logEvent_); } } /** * repeated .wireless_android_play_playlog.LogEvent log_event = 3; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent.Builder addLogEventBuilder() { return getLogEventFieldBuilder().addBuilder( com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent.getDefaultInstance()); } /** * repeated .wireless_android_play_playlog.LogEvent log_event = 3; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent.Builder addLogEventBuilder( int index) { return getLogEventFieldBuilder().addBuilder( index, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent.getDefaultInstance()); } /** * repeated .wireless_android_play_playlog.LogEvent log_event = 3; */ public java.util.List getLogEventBuilderList() { return getLogEventFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventOrBuilder> getLogEventFieldBuilder() { if (logEventBuilder_ == null) { logEventBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEvent.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogEventOrBuilder>( logEvent_, ((bitField0_ & 0x00000040) == 0x00000040), getParentForChildren(), isClean()); logEvent_ = null; } return logEventBuilder_; } // repeated bytes serialized_log_events = 5; private java.util.List serializedLogEvents_ = java.util.Collections.emptyList(); private void ensureSerializedLogEventsIsMutable() { if (!((bitField0_ & 0x00000080) == 0x00000080)) { serializedLogEvents_ = new java.util.ArrayList(serializedLogEvents_); bitField0_ |= 0x00000080; } } /** * repeated bytes serialized_log_events = 5; * *
       * Can be used instead of 'log_event' in order to save battery in cases where
       *  LogEvent protos are already serialized, and deserializing is undesirable.
       *  If used, this is a collection of byte streams each produced using a
       *  CodedOutputStream.
       * 
*/ public java.util.List getSerializedLogEventsList() { return java.util.Collections.unmodifiableList(serializedLogEvents_); } /** * repeated bytes serialized_log_events = 5; * *
       * Can be used instead of 'log_event' in order to save battery in cases where
       *  LogEvent protos are already serialized, and deserializing is undesirable.
       *  If used, this is a collection of byte streams each produced using a
       *  CodedOutputStream.
       * 
*/ public int getSerializedLogEventsCount() { return serializedLogEvents_.size(); } /** * repeated bytes serialized_log_events = 5; * *
       * Can be used instead of 'log_event' in order to save battery in cases where
       *  LogEvent protos are already serialized, and deserializing is undesirable.
       *  If used, this is a collection of byte streams each produced using a
       *  CodedOutputStream.
       * 
*/ public com.google.protobuf.ByteString getSerializedLogEvents(int index) { return serializedLogEvents_.get(index); } /** * repeated bytes serialized_log_events = 5; * *
       * Can be used instead of 'log_event' in order to save battery in cases where
       *  LogEvent protos are already serialized, and deserializing is undesirable.
       *  If used, this is a collection of byte streams each produced using a
       *  CodedOutputStream.
       * 
*/ public Builder setSerializedLogEvents( int index, com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureSerializedLogEventsIsMutable(); serializedLogEvents_.set(index, value); onChanged(); return this; } /** * repeated bytes serialized_log_events = 5; * *
       * Can be used instead of 'log_event' in order to save battery in cases where
       *  LogEvent protos are already serialized, and deserializing is undesirable.
       *  If used, this is a collection of byte streams each produced using a
       *  CodedOutputStream.
       * 
*/ public Builder addSerializedLogEvents(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureSerializedLogEventsIsMutable(); serializedLogEvents_.add(value); onChanged(); return this; } /** * repeated bytes serialized_log_events = 5; * *
       * Can be used instead of 'log_event' in order to save battery in cases where
       *  LogEvent protos are already serialized, and deserializing is undesirable.
       *  If used, this is a collection of byte streams each produced using a
       *  CodedOutputStream.
       * 
*/ public Builder addAllSerializedLogEvents( java.lang.Iterable values) { ensureSerializedLogEventsIsMutable(); super.addAll(values, serializedLogEvents_); onChanged(); return this; } /** * repeated bytes serialized_log_events = 5; * *
       * Can be used instead of 'log_event' in order to save battery in cases where
       *  LogEvent protos are already serialized, and deserializing is undesirable.
       *  If used, this is a collection of byte streams each produced using a
       *  CodedOutputStream.
       * 
*/ public Builder clearSerializedLogEvents() { serializedLogEvents_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); onChanged(); return this; } // optional .wireless_android_play_playlog.QosTierConfiguration.QosTier qos_tier = 9 [default = DEFAULT]; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.QosTier qosTier_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.QosTier.DEFAULT; /** * optional .wireless_android_play_playlog.QosTierConfiguration.QosTier qos_tier = 9 [default = DEFAULT]; * *
       * Quality of Service tier for log upload.
       * 
*/ public boolean hasQosTier() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional .wireless_android_play_playlog.QosTierConfiguration.QosTier qos_tier = 9 [default = DEFAULT]; * *
       * Quality of Service tier for log upload.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.QosTier getQosTier() { return qosTier_; } /** * optional .wireless_android_play_playlog.QosTierConfiguration.QosTier qos_tier = 9 [default = DEFAULT]; * *
       * Quality of Service tier for log upload.
       * 
*/ public Builder setQosTier(com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.QosTier value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; qosTier_ = value; onChanged(); return this; } /** * optional .wireless_android_play_playlog.QosTierConfiguration.QosTier qos_tier = 9 [default = DEFAULT]; * *
       * Quality of Service tier for log upload.
       * 
*/ public Builder clearQosTier() { bitField0_ = (bitField0_ & ~0x00000100); qosTier_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.QosTier.DEFAULT; onChanged(); return this; } // optional .wireless_android_play_playlog.LogRequest.SchedulerType scheduler = 10; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.SchedulerType scheduler_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.SchedulerType.UNKNOWN_SCHEDULER; /** * optional .wireless_android_play_playlog.LogRequest.SchedulerType scheduler = 10; * *
       * The type of log upload scheduler.
       * 
*/ public boolean hasScheduler() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * optional .wireless_android_play_playlog.LogRequest.SchedulerType scheduler = 10; * *
       * The type of log upload scheduler.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.SchedulerType getScheduler() { return scheduler_; } /** * optional .wireless_android_play_playlog.LogRequest.SchedulerType scheduler = 10; * *
       * The type of log upload scheduler.
       * 
*/ public Builder setScheduler(com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.SchedulerType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000200; scheduler_ = value; onChanged(); return this; } /** * optional .wireless_android_play_playlog.LogRequest.SchedulerType scheduler = 10; * *
       * The type of log upload scheduler.
       * 
*/ public Builder clearScheduler() { bitField0_ = (bitField0_ & ~0x00000200); scheduler_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogRequest.SchedulerType.UNKNOWN_SCHEDULER; onChanged(); return this; } // optional .wireless_android_play_playlog.DeviceStatus device_status = 11; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus deviceStatus_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus, com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatusOrBuilder> deviceStatusBuilder_; /** * optional .wireless_android_play_playlog.DeviceStatus device_status = 11; * *
       * Device status.
       * 
*/ public boolean hasDeviceStatus() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * optional .wireless_android_play_playlog.DeviceStatus device_status = 11; * *
       * Device status.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus getDeviceStatus() { if (deviceStatusBuilder_ == null) { return deviceStatus_; } else { return deviceStatusBuilder_.getMessage(); } } /** * optional .wireless_android_play_playlog.DeviceStatus device_status = 11; * *
       * Device status.
       * 
*/ public Builder setDeviceStatus(com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus value) { if (deviceStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } deviceStatus_ = value; onChanged(); } else { deviceStatusBuilder_.setMessage(value); } bitField0_ |= 0x00000400; return this; } /** * optional .wireless_android_play_playlog.DeviceStatus device_status = 11; * *
       * Device status.
       * 
*/ public Builder setDeviceStatus( com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus.Builder builderForValue) { if (deviceStatusBuilder_ == null) { deviceStatus_ = builderForValue.build(); onChanged(); } else { deviceStatusBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000400; return this; } /** * optional .wireless_android_play_playlog.DeviceStatus device_status = 11; * *
       * Device status.
       * 
*/ public Builder mergeDeviceStatus(com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus value) { if (deviceStatusBuilder_ == null) { if (((bitField0_ & 0x00000400) == 0x00000400) && deviceStatus_ != com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus.getDefaultInstance()) { deviceStatus_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus.newBuilder(deviceStatus_).mergeFrom(value).buildPartial(); } else { deviceStatus_ = value; } onChanged(); } else { deviceStatusBuilder_.mergeFrom(value); } bitField0_ |= 0x00000400; return this; } /** * optional .wireless_android_play_playlog.DeviceStatus device_status = 11; * *
       * Device status.
       * 
*/ public Builder clearDeviceStatus() { if (deviceStatusBuilder_ == null) { deviceStatus_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus.getDefaultInstance(); onChanged(); } else { deviceStatusBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000400); return this; } /** * optional .wireless_android_play_playlog.DeviceStatus device_status = 11; * *
       * Device status.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus.Builder getDeviceStatusBuilder() { bitField0_ |= 0x00000400; onChanged(); return getDeviceStatusFieldBuilder().getBuilder(); } /** * optional .wireless_android_play_playlog.DeviceStatus device_status = 11; * *
       * Device status.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatusOrBuilder getDeviceStatusOrBuilder() { if (deviceStatusBuilder_ != null) { return deviceStatusBuilder_.getMessageOrBuilder(); } else { return deviceStatus_; } } /** * optional .wireless_android_play_playlog.DeviceStatus device_status = 11; * *
       * Device status.
       * 
*/ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus, com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatusOrBuilder> getDeviceStatusFieldBuilder() { if (deviceStatusBuilder_ == null) { deviceStatusBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus, com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatusOrBuilder>( deviceStatus_, getParentForChildren(), isClean()); deviceStatus_ = null; } return deviceStatusBuilder_; } // optional .wireless_android_play_playlog.ExternalTimestamp external_timestamp = 12; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp externalTimestamp_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp, com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestampOrBuilder> externalTimestampBuilder_; /** * optional .wireless_android_play_playlog.ExternalTimestamp external_timestamp = 12; * *
       * A timestamp taken from a source external to the device. For example, a GPS
       *  timestamp. This can be more accurate than the device wall clock, but is not
       *  guaranteed to be. That will depend on the source, and on the device
       *  hardware and software that obtains the timestamp.
       * 
*/ public boolean hasExternalTimestamp() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** * optional .wireless_android_play_playlog.ExternalTimestamp external_timestamp = 12; * *
       * A timestamp taken from a source external to the device. For example, a GPS
       *  timestamp. This can be more accurate than the device wall clock, but is not
       *  guaranteed to be. That will depend on the source, and on the device
       *  hardware and software that obtains the timestamp.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp getExternalTimestamp() { if (externalTimestampBuilder_ == null) { return externalTimestamp_; } else { return externalTimestampBuilder_.getMessage(); } } /** * optional .wireless_android_play_playlog.ExternalTimestamp external_timestamp = 12; * *
       * A timestamp taken from a source external to the device. For example, a GPS
       *  timestamp. This can be more accurate than the device wall clock, but is not
       *  guaranteed to be. That will depend on the source, and on the device
       *  hardware and software that obtains the timestamp.
       * 
*/ public Builder setExternalTimestamp(com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp value) { if (externalTimestampBuilder_ == null) { if (value == null) { throw new NullPointerException(); } externalTimestamp_ = value; onChanged(); } else { externalTimestampBuilder_.setMessage(value); } bitField0_ |= 0x00000800; return this; } /** * optional .wireless_android_play_playlog.ExternalTimestamp external_timestamp = 12; * *
       * A timestamp taken from a source external to the device. For example, a GPS
       *  timestamp. This can be more accurate than the device wall clock, but is not
       *  guaranteed to be. That will depend on the source, and on the device
       *  hardware and software that obtains the timestamp.
       * 
*/ public Builder setExternalTimestamp( com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp.Builder builderForValue) { if (externalTimestampBuilder_ == null) { externalTimestamp_ = builderForValue.build(); onChanged(); } else { externalTimestampBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000800; return this; } /** * optional .wireless_android_play_playlog.ExternalTimestamp external_timestamp = 12; * *
       * A timestamp taken from a source external to the device. For example, a GPS
       *  timestamp. This can be more accurate than the device wall clock, but is not
       *  guaranteed to be. That will depend on the source, and on the device
       *  hardware and software that obtains the timestamp.
       * 
*/ public Builder mergeExternalTimestamp(com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp value) { if (externalTimestampBuilder_ == null) { if (((bitField0_ & 0x00000800) == 0x00000800) && externalTimestamp_ != com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp.getDefaultInstance()) { externalTimestamp_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp.newBuilder(externalTimestamp_).mergeFrom(value).buildPartial(); } else { externalTimestamp_ = value; } onChanged(); } else { externalTimestampBuilder_.mergeFrom(value); } bitField0_ |= 0x00000800; return this; } /** * optional .wireless_android_play_playlog.ExternalTimestamp external_timestamp = 12; * *
       * A timestamp taken from a source external to the device. For example, a GPS
       *  timestamp. This can be more accurate than the device wall clock, but is not
       *  guaranteed to be. That will depend on the source, and on the device
       *  hardware and software that obtains the timestamp.
       * 
*/ public Builder clearExternalTimestamp() { if (externalTimestampBuilder_ == null) { externalTimestamp_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp.getDefaultInstance(); onChanged(); } else { externalTimestampBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000800); return this; } /** * optional .wireless_android_play_playlog.ExternalTimestamp external_timestamp = 12; * *
       * A timestamp taken from a source external to the device. For example, a GPS
       *  timestamp. This can be more accurate than the device wall clock, but is not
       *  guaranteed to be. That will depend on the source, and on the device
       *  hardware and software that obtains the timestamp.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp.Builder getExternalTimestampBuilder() { bitField0_ |= 0x00000800; onChanged(); return getExternalTimestampFieldBuilder().getBuilder(); } /** * optional .wireless_android_play_playlog.ExternalTimestamp external_timestamp = 12; * *
       * A timestamp taken from a source external to the device. For example, a GPS
       *  timestamp. This can be more accurate than the device wall clock, but is not
       *  guaranteed to be. That will depend on the source, and on the device
       *  hardware and software that obtains the timestamp.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestampOrBuilder getExternalTimestampOrBuilder() { if (externalTimestampBuilder_ != null) { return externalTimestampBuilder_.getMessageOrBuilder(); } else { return externalTimestamp_; } } /** * optional .wireless_android_play_playlog.ExternalTimestamp external_timestamp = 12; * *
       * A timestamp taken from a source external to the device. For example, a GPS
       *  timestamp. This can be more accurate than the device wall clock, but is not
       *  guaranteed to be. That will depend on the source, and on the device
       *  hardware and software that obtains the timestamp.
       * 
*/ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp, com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestampOrBuilder> getExternalTimestampFieldBuilder() { if (externalTimestampBuilder_ == null) { externalTimestampBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp, com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestampOrBuilder>( externalTimestamp_, getParentForChildren(), isClean()); externalTimestamp_ = null; } return externalTimestampBuilder_; } // @@protoc_insertion_point(builder_scope:wireless_android_play_playlog.LogRequest) } static { defaultInstance = new LogRequest(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:wireless_android_play_playlog.LogRequest) } public interface DeviceStatusOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional bool is_unmetered = 1; /** * optional bool is_unmetered = 1; * *
     * Whether device network connection is unmetered.
     * 
*/ boolean hasIsUnmetered(); /** * optional bool is_unmetered = 1; * *
     * Whether device network connection is unmetered.
     * 
*/ boolean getIsUnmetered(); // optional bool is_charging = 2; /** * optional bool is_charging = 2; * *
     * Whether device is under charge. See link
     *  http://developer.android.com/training/monitoring-device-state/battery-monitoring.html
     *  This boolean returns true when status equals to
     *  BatteryManager.BATTERY_STATUS_CHARGING || BatteryManager.BATTERY_STATUS_FULL
     * 
*/ boolean hasIsCharging(); /** * optional bool is_charging = 2; * *
     * Whether device is under charge. See link
     *  http://developer.android.com/training/monitoring-device-state/battery-monitoring.html
     *  This boolean returns true when status equals to
     *  BatteryManager.BATTERY_STATUS_CHARGING || BatteryManager.BATTERY_STATUS_FULL
     * 
*/ boolean getIsCharging(); // optional .wireless_android_play_playlog.DeviceStatus.AutomaticTime auto_time_status = 3; /** * optional .wireless_android_play_playlog.DeviceStatus.AutomaticTime auto_time_status = 3; * *
     * Whether automatic date and time is enabled on the device. See link
     *  http://developer.android.com/reference/android/provider/Settings.Global.html#AUTO_TIME
     *  Note, this does not guarantee correct device clock if NTP clock sync has
     *  not occurred.
     * 
*/ boolean hasAutoTimeStatus(); /** * optional .wireless_android_play_playlog.DeviceStatus.AutomaticTime auto_time_status = 3; * *
     * Whether automatic date and time is enabled on the device. See link
     *  http://developer.android.com/reference/android/provider/Settings.Global.html#AUTO_TIME
     *  Note, this does not guarantee correct device clock if NTP clock sync has
     *  not occurred.
     * 
*/ com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus.AutomaticTime getAutoTimeStatus(); // optional bool is_googler_device = 4; /** * optional bool is_googler_device = 4; * *
     * Is true if the device contains an account that has the @google.com domain.
     * 
*/ boolean hasIsGooglerDevice(); /** * optional bool is_googler_device = 4; * *
     * Is true if the device contains an account that has the @google.com domain.
     * 
*/ boolean getIsGooglerDevice(); } /** * Protobuf type {@code wireless_android_play_playlog.DeviceStatus} * *
   * DeviceStatus captures device status including network connection status,
   *  battery status, and etc.
   *  Next tag: 5
   * 
*/ public static final class DeviceStatus extends com.google.protobuf.GeneratedMessage implements DeviceStatusOrBuilder { // Use DeviceStatus.newBuilder() to construct. private DeviceStatus(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private DeviceStatus(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final DeviceStatus defaultInstance; public static DeviceStatus getDefaultInstance() { return defaultInstance; } public DeviceStatus getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DeviceStatus( 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; isUnmetered_ = input.readBool(); break; } case 16: { bitField0_ |= 0x00000002; isCharging_ = input.readBool(); break; } case 24: { int rawValue = input.readEnum(); com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus.AutomaticTime value = com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus.AutomaticTime.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(3, rawValue); } else { bitField0_ |= 0x00000004; autoTimeStatus_ = value; } break; } case 32: { bitField0_ |= 0x00000008; isGooglerDevice_ = 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.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_DeviceStatus_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_DeviceStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public DeviceStatus parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DeviceStatus(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } /** * Protobuf enum {@code wireless_android_play_playlog.DeviceStatus.AutomaticTime} * *
     * Status of automatic date and time setting.
     * 
*/ public enum AutomaticTime implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN = 0; * *
       * Device is using an older version of GmsCore (before U), or there was a
       *  problem getting the setting.
       * 
*/ UNKNOWN(0, 0), /** * AUTO_TIME_OFF = 1; * *
       * Automatic date and time was not enabled.
       * 
*/ AUTO_TIME_OFF(1, 1), /** * AUTO_TIME_ON = 2; * *
       * Automatic date and time was enabled.
       * 
*/ AUTO_TIME_ON(2, 2), ; /** * UNKNOWN = 0; * *
       * Device is using an older version of GmsCore (before U), or there was a
       *  problem getting the setting.
       * 
*/ public static final int UNKNOWN_VALUE = 0; /** * AUTO_TIME_OFF = 1; * *
       * Automatic date and time was not enabled.
       * 
*/ public static final int AUTO_TIME_OFF_VALUE = 1; /** * AUTO_TIME_ON = 2; * *
       * Automatic date and time was enabled.
       * 
*/ public static final int AUTO_TIME_ON_VALUE = 2; public final int getNumber() { return value; } public static AutomaticTime valueOf(int value) { switch (value) { case 0: return UNKNOWN; case 1: return AUTO_TIME_OFF; case 2: return AUTO_TIME_ON; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public AutomaticTime findValueByNumber(int number) { return AutomaticTime.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.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus.getDescriptor().getEnumTypes().get(0); } private static final AutomaticTime[] VALUES = values(); public static AutomaticTime 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 AutomaticTime(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:wireless_android_play_playlog.DeviceStatus.AutomaticTime) } private int bitField0_; // optional bool is_unmetered = 1; public static final int IS_UNMETERED_FIELD_NUMBER = 1; private boolean isUnmetered_; /** * optional bool is_unmetered = 1; * *
     * Whether device network connection is unmetered.
     * 
*/ public boolean hasIsUnmetered() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional bool is_unmetered = 1; * *
     * Whether device network connection is unmetered.
     * 
*/ public boolean getIsUnmetered() { return isUnmetered_; } // optional bool is_charging = 2; public static final int IS_CHARGING_FIELD_NUMBER = 2; private boolean isCharging_; /** * optional bool is_charging = 2; * *
     * Whether device is under charge. See link
     *  http://developer.android.com/training/monitoring-device-state/battery-monitoring.html
     *  This boolean returns true when status equals to
     *  BatteryManager.BATTERY_STATUS_CHARGING || BatteryManager.BATTERY_STATUS_FULL
     * 
*/ public boolean hasIsCharging() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional bool is_charging = 2; * *
     * Whether device is under charge. See link
     *  http://developer.android.com/training/monitoring-device-state/battery-monitoring.html
     *  This boolean returns true when status equals to
     *  BatteryManager.BATTERY_STATUS_CHARGING || BatteryManager.BATTERY_STATUS_FULL
     * 
*/ public boolean getIsCharging() { return isCharging_; } // optional .wireless_android_play_playlog.DeviceStatus.AutomaticTime auto_time_status = 3; public static final int AUTO_TIME_STATUS_FIELD_NUMBER = 3; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus.AutomaticTime autoTimeStatus_; /** * optional .wireless_android_play_playlog.DeviceStatus.AutomaticTime auto_time_status = 3; * *
     * Whether automatic date and time is enabled on the device. See link
     *  http://developer.android.com/reference/android/provider/Settings.Global.html#AUTO_TIME
     *  Note, this does not guarantee correct device clock if NTP clock sync has
     *  not occurred.
     * 
*/ public boolean hasAutoTimeStatus() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .wireless_android_play_playlog.DeviceStatus.AutomaticTime auto_time_status = 3; * *
     * Whether automatic date and time is enabled on the device. See link
     *  http://developer.android.com/reference/android/provider/Settings.Global.html#AUTO_TIME
     *  Note, this does not guarantee correct device clock if NTP clock sync has
     *  not occurred.
     * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus.AutomaticTime getAutoTimeStatus() { return autoTimeStatus_; } // optional bool is_googler_device = 4; public static final int IS_GOOGLER_DEVICE_FIELD_NUMBER = 4; private boolean isGooglerDevice_; /** * optional bool is_googler_device = 4; * *
     * Is true if the device contains an account that has the @google.com domain.
     * 
*/ public boolean hasIsGooglerDevice() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional bool is_googler_device = 4; * *
     * Is true if the device contains an account that has the @google.com domain.
     * 
*/ public boolean getIsGooglerDevice() { return isGooglerDevice_; } private void initFields() { isUnmetered_ = false; isCharging_ = false; autoTimeStatus_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus.AutomaticTime.UNKNOWN; isGooglerDevice_ = false; } 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, isUnmetered_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBool(2, isCharging_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeEnum(3, autoTimeStatus_.getNumber()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBool(4, isGooglerDevice_); } 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, isUnmetered_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, isCharging_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, autoTimeStatus_.getNumber()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, isGooglerDevice_); } 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.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus 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.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus 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 wireless_android_play_playlog.DeviceStatus} * *
     * DeviceStatus captures device status including network connection status,
     *  battery status, and etc.
     *  Next tag: 5
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatusOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_DeviceStatus_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_DeviceStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus.Builder.class); } // Construct using com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus.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(); isUnmetered_ = false; bitField0_ = (bitField0_ & ~0x00000001); isCharging_ = false; bitField0_ = (bitField0_ & ~0x00000002); autoTimeStatus_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus.AutomaticTime.UNKNOWN; bitField0_ = (bitField0_ & ~0x00000004); isGooglerDevice_ = false; bitField0_ = (bitField0_ & ~0x00000008); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_DeviceStatus_descriptor; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus getDefaultInstanceForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus.getDefaultInstance(); } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus build() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus buildPartial() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus result = new com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.isUnmetered_ = isUnmetered_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.isCharging_ = isCharging_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.autoTimeStatus_ = autoTimeStatus_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.isGooglerDevice_ = isGooglerDevice_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus) { return mergeFrom((com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus other) { if (other == com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus.getDefaultInstance()) return this; if (other.hasIsUnmetered()) { setIsUnmetered(other.getIsUnmetered()); } if (other.hasIsCharging()) { setIsCharging(other.getIsCharging()); } if (other.hasAutoTimeStatus()) { setAutoTimeStatus(other.getAutoTimeStatus()); } if (other.hasIsGooglerDevice()) { setIsGooglerDevice(other.getIsGooglerDevice()); } 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.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional bool is_unmetered = 1; private boolean isUnmetered_ ; /** * optional bool is_unmetered = 1; * *
       * Whether device network connection is unmetered.
       * 
*/ public boolean hasIsUnmetered() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional bool is_unmetered = 1; * *
       * Whether device network connection is unmetered.
       * 
*/ public boolean getIsUnmetered() { return isUnmetered_; } /** * optional bool is_unmetered = 1; * *
       * Whether device network connection is unmetered.
       * 
*/ public Builder setIsUnmetered(boolean value) { bitField0_ |= 0x00000001; isUnmetered_ = value; onChanged(); return this; } /** * optional bool is_unmetered = 1; * *
       * Whether device network connection is unmetered.
       * 
*/ public Builder clearIsUnmetered() { bitField0_ = (bitField0_ & ~0x00000001); isUnmetered_ = false; onChanged(); return this; } // optional bool is_charging = 2; private boolean isCharging_ ; /** * optional bool is_charging = 2; * *
       * Whether device is under charge. See link
       *  http://developer.android.com/training/monitoring-device-state/battery-monitoring.html
       *  This boolean returns true when status equals to
       *  BatteryManager.BATTERY_STATUS_CHARGING || BatteryManager.BATTERY_STATUS_FULL
       * 
*/ public boolean hasIsCharging() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional bool is_charging = 2; * *
       * Whether device is under charge. See link
       *  http://developer.android.com/training/monitoring-device-state/battery-monitoring.html
       *  This boolean returns true when status equals to
       *  BatteryManager.BATTERY_STATUS_CHARGING || BatteryManager.BATTERY_STATUS_FULL
       * 
*/ public boolean getIsCharging() { return isCharging_; } /** * optional bool is_charging = 2; * *
       * Whether device is under charge. See link
       *  http://developer.android.com/training/monitoring-device-state/battery-monitoring.html
       *  This boolean returns true when status equals to
       *  BatteryManager.BATTERY_STATUS_CHARGING || BatteryManager.BATTERY_STATUS_FULL
       * 
*/ public Builder setIsCharging(boolean value) { bitField0_ |= 0x00000002; isCharging_ = value; onChanged(); return this; } /** * optional bool is_charging = 2; * *
       * Whether device is under charge. See link
       *  http://developer.android.com/training/monitoring-device-state/battery-monitoring.html
       *  This boolean returns true when status equals to
       *  BatteryManager.BATTERY_STATUS_CHARGING || BatteryManager.BATTERY_STATUS_FULL
       * 
*/ public Builder clearIsCharging() { bitField0_ = (bitField0_ & ~0x00000002); isCharging_ = false; onChanged(); return this; } // optional .wireless_android_play_playlog.DeviceStatus.AutomaticTime auto_time_status = 3; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus.AutomaticTime autoTimeStatus_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus.AutomaticTime.UNKNOWN; /** * optional .wireless_android_play_playlog.DeviceStatus.AutomaticTime auto_time_status = 3; * *
       * Whether automatic date and time is enabled on the device. See link
       *  http://developer.android.com/reference/android/provider/Settings.Global.html#AUTO_TIME
       *  Note, this does not guarantee correct device clock if NTP clock sync has
       *  not occurred.
       * 
*/ public boolean hasAutoTimeStatus() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .wireless_android_play_playlog.DeviceStatus.AutomaticTime auto_time_status = 3; * *
       * Whether automatic date and time is enabled on the device. See link
       *  http://developer.android.com/reference/android/provider/Settings.Global.html#AUTO_TIME
       *  Note, this does not guarantee correct device clock if NTP clock sync has
       *  not occurred.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus.AutomaticTime getAutoTimeStatus() { return autoTimeStatus_; } /** * optional .wireless_android_play_playlog.DeviceStatus.AutomaticTime auto_time_status = 3; * *
       * Whether automatic date and time is enabled on the device. See link
       *  http://developer.android.com/reference/android/provider/Settings.Global.html#AUTO_TIME
       *  Note, this does not guarantee correct device clock if NTP clock sync has
       *  not occurred.
       * 
*/ public Builder setAutoTimeStatus(com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus.AutomaticTime value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; autoTimeStatus_ = value; onChanged(); return this; } /** * optional .wireless_android_play_playlog.DeviceStatus.AutomaticTime auto_time_status = 3; * *
       * Whether automatic date and time is enabled on the device. See link
       *  http://developer.android.com/reference/android/provider/Settings.Global.html#AUTO_TIME
       *  Note, this does not guarantee correct device clock if NTP clock sync has
       *  not occurred.
       * 
*/ public Builder clearAutoTimeStatus() { bitField0_ = (bitField0_ & ~0x00000004); autoTimeStatus_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.DeviceStatus.AutomaticTime.UNKNOWN; onChanged(); return this; } // optional bool is_googler_device = 4; private boolean isGooglerDevice_ ; /** * optional bool is_googler_device = 4; * *
       * Is true if the device contains an account that has the @google.com domain.
       * 
*/ public boolean hasIsGooglerDevice() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional bool is_googler_device = 4; * *
       * Is true if the device contains an account that has the @google.com domain.
       * 
*/ public boolean getIsGooglerDevice() { return isGooglerDevice_; } /** * optional bool is_googler_device = 4; * *
       * Is true if the device contains an account that has the @google.com domain.
       * 
*/ public Builder setIsGooglerDevice(boolean value) { bitField0_ |= 0x00000008; isGooglerDevice_ = value; onChanged(); return this; } /** * optional bool is_googler_device = 4; * *
       * Is true if the device contains an account that has the @google.com domain.
       * 
*/ public Builder clearIsGooglerDevice() { bitField0_ = (bitField0_ & ~0x00000008); isGooglerDevice_ = false; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:wireless_android_play_playlog.DeviceStatus) } static { defaultInstance = new DeviceStatus(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:wireless_android_play_playlog.DeviceStatus) } public interface ExternalTimestampOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional int64 time_ms = 1; /** * optional int64 time_ms = 1; * *
     * A timestamp given by an external source.
     * 
*/ boolean hasTimeMs(); /** * optional int64 time_ms = 1; * *
     * A timestamp given by an external source.
     * 
*/ long getTimeMs(); // optional int64 uptime_ms = 2; /** * optional int64 uptime_ms = 2; * *
     * The device uptime when the timestamp was recorded.
     * 
*/ boolean hasUptimeMs(); /** * optional int64 uptime_ms = 2; * *
     * The device uptime when the timestamp was recorded.
     * 
*/ long getUptimeMs(); // optional string source = 3; /** * optional string source = 3; * *
     * The name of the source that provided the timestamp.
     * 
*/ boolean hasSource(); /** * optional string source = 3; * *
     * The name of the source that provided the timestamp.
     * 
*/ java.lang.String getSource(); /** * optional string source = 3; * *
     * The name of the source that provided the timestamp.
     * 
*/ com.google.protobuf.ByteString getSourceBytes(); } /** * Protobuf type {@code wireless_android_play_playlog.ExternalTimestamp} * *
   * ExternalTimestamp captures a timestamp obtained by an external source. This
   *  can be GPS or clock sync over the network. The timestamp is typically old, so
   *  the device uptime when the timestamp was obtained is also included. The
   *  source of this timestamp must guarantee that the timestamp is not older than
   *  the most recent device boot.
   *  Next tag: 4
   * 
*/ public static final class ExternalTimestamp extends com.google.protobuf.GeneratedMessage implements ExternalTimestampOrBuilder { // Use ExternalTimestamp.newBuilder() to construct. private ExternalTimestamp(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private ExternalTimestamp(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final ExternalTimestamp defaultInstance; public static ExternalTimestamp getDefaultInstance() { return defaultInstance; } public ExternalTimestamp getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ExternalTimestamp( 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; timeMs_ = input.readInt64(); break; } case 16: { bitField0_ |= 0x00000002; uptimeMs_ = input.readInt64(); break; } case 26: { bitField0_ |= 0x00000004; source_ = 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.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_ExternalTimestamp_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_ExternalTimestamp_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ExternalTimestamp parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ExternalTimestamp(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional int64 time_ms = 1; public static final int TIME_MS_FIELD_NUMBER = 1; private long timeMs_; /** * optional int64 time_ms = 1; * *
     * A timestamp given by an external source.
     * 
*/ public boolean hasTimeMs() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 time_ms = 1; * *
     * A timestamp given by an external source.
     * 
*/ public long getTimeMs() { return timeMs_; } // optional int64 uptime_ms = 2; public static final int UPTIME_MS_FIELD_NUMBER = 2; private long uptimeMs_; /** * optional int64 uptime_ms = 2; * *
     * The device uptime when the timestamp was recorded.
     * 
*/ public boolean hasUptimeMs() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int64 uptime_ms = 2; * *
     * The device uptime when the timestamp was recorded.
     * 
*/ public long getUptimeMs() { return uptimeMs_; } // optional string source = 3; public static final int SOURCE_FIELD_NUMBER = 3; private java.lang.Object source_; /** * optional string source = 3; * *
     * The name of the source that provided the timestamp.
     * 
*/ public boolean hasSource() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string source = 3; * *
     * The name of the source that provided the timestamp.
     * 
*/ public java.lang.String getSource() { java.lang.Object ref = source_; 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()) { source_ = s; } return s; } } /** * optional string source = 3; * *
     * The name of the source that provided the timestamp.
     * 
*/ public com.google.protobuf.ByteString getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); source_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { timeMs_ = 0L; uptimeMs_ = 0L; source_ = ""; } 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.writeInt64(1, timeMs_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt64(2, uptimeMs_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getSourceBytes()); } 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 .computeInt64Size(1, timeMs_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, uptimeMs_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getSourceBytes()); } 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.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp 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.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp 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 wireless_android_play_playlog.ExternalTimestamp} * *
     * ExternalTimestamp captures a timestamp obtained by an external source. This
     *  can be GPS or clock sync over the network. The timestamp is typically old, so
     *  the device uptime when the timestamp was obtained is also included. The
     *  source of this timestamp must guarantee that the timestamp is not older than
     *  the most recent device boot.
     *  Next tag: 4
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestampOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_ExternalTimestamp_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_ExternalTimestamp_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp.Builder.class); } // Construct using com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp.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(); timeMs_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); uptimeMs_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); source_ = ""; bitField0_ = (bitField0_ & ~0x00000004); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_ExternalTimestamp_descriptor; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp getDefaultInstanceForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp.getDefaultInstance(); } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp build() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp buildPartial() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp result = new com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.timeMs_ = timeMs_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.uptimeMs_ = uptimeMs_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.source_ = source_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp) { return mergeFrom((com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp other) { if (other == com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp.getDefaultInstance()) return this; if (other.hasTimeMs()) { setTimeMs(other.getTimeMs()); } if (other.hasUptimeMs()) { setUptimeMs(other.getUptimeMs()); } if (other.hasSource()) { bitField0_ |= 0x00000004; source_ = other.source_; 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.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExternalTimestamp) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional int64 time_ms = 1; private long timeMs_ ; /** * optional int64 time_ms = 1; * *
       * A timestamp given by an external source.
       * 
*/ public boolean hasTimeMs() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 time_ms = 1; * *
       * A timestamp given by an external source.
       * 
*/ public long getTimeMs() { return timeMs_; } /** * optional int64 time_ms = 1; * *
       * A timestamp given by an external source.
       * 
*/ public Builder setTimeMs(long value) { bitField0_ |= 0x00000001; timeMs_ = value; onChanged(); return this; } /** * optional int64 time_ms = 1; * *
       * A timestamp given by an external source.
       * 
*/ public Builder clearTimeMs() { bitField0_ = (bitField0_ & ~0x00000001); timeMs_ = 0L; onChanged(); return this; } // optional int64 uptime_ms = 2; private long uptimeMs_ ; /** * optional int64 uptime_ms = 2; * *
       * The device uptime when the timestamp was recorded.
       * 
*/ public boolean hasUptimeMs() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int64 uptime_ms = 2; * *
       * The device uptime when the timestamp was recorded.
       * 
*/ public long getUptimeMs() { return uptimeMs_; } /** * optional int64 uptime_ms = 2; * *
       * The device uptime when the timestamp was recorded.
       * 
*/ public Builder setUptimeMs(long value) { bitField0_ |= 0x00000002; uptimeMs_ = value; onChanged(); return this; } /** * optional int64 uptime_ms = 2; * *
       * The device uptime when the timestamp was recorded.
       * 
*/ public Builder clearUptimeMs() { bitField0_ = (bitField0_ & ~0x00000002); uptimeMs_ = 0L; onChanged(); return this; } // optional string source = 3; private java.lang.Object source_ = ""; /** * optional string source = 3; * *
       * The name of the source that provided the timestamp.
       * 
*/ public boolean hasSource() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string source = 3; * *
       * The name of the source that provided the timestamp.
       * 
*/ public java.lang.String getSource() { java.lang.Object ref = source_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); source_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string source = 3; * *
       * The name of the source that provided the timestamp.
       * 
*/ public com.google.protobuf.ByteString getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); source_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string source = 3; * *
       * The name of the source that provided the timestamp.
       * 
*/ public Builder setSource( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; source_ = value; onChanged(); return this; } /** * optional string source = 3; * *
       * The name of the source that provided the timestamp.
       * 
*/ public Builder clearSource() { bitField0_ = (bitField0_ & ~0x00000004); source_ = getDefaultInstance().getSource(); onChanged(); return this; } /** * optional string source = 3; * *
       * The name of the source that provided the timestamp.
       * 
*/ public Builder setSourceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; source_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:wireless_android_play_playlog.ExternalTimestamp) } static { defaultInstance = new ExternalTimestamp(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:wireless_android_play_playlog.ExternalTimestamp) } public interface QosTierConfigurationOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional string log_source_name = 1; /** * optional string log_source_name = 1; */ boolean hasLogSourceName(); /** * optional string log_source_name = 1; */ java.lang.String getLogSourceName(); /** * optional string log_source_name = 1; */ com.google.protobuf.ByteString getLogSourceNameBytes(); // optional .wireless_android_play_playlog.QosTierConfiguration.QosTier qos_tier = 2; /** * optional .wireless_android_play_playlog.QosTierConfiguration.QosTier qos_tier = 2; */ boolean hasQosTier(); /** * optional .wireless_android_play_playlog.QosTierConfiguration.QosTier qos_tier = 2; */ com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.QosTier getQosTier(); } /** * Protobuf type {@code wireless_android_play_playlog.QosTierConfiguration} * *
   * QosTierConfiguration configures what Quality of Service tier should be
   *  applied to a given log source.
   *
   *  Next tag: 3
   * 
*/ public static final class QosTierConfiguration extends com.google.protobuf.GeneratedMessage implements QosTierConfigurationOrBuilder { // Use QosTierConfiguration.newBuilder() to construct. private QosTierConfiguration(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private QosTierConfiguration(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final QosTierConfiguration defaultInstance; public static QosTierConfiguration getDefaultInstance() { return defaultInstance; } public QosTierConfiguration getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QosTierConfiguration( 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; logSourceName_ = input.readBytes(); break; } case 16: { int rawValue = input.readEnum(); com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.QosTier value = com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.QosTier.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(2, rawValue); } else { bitField0_ |= 0x00000002; qosTier_ = value; } 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.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_QosTierConfiguration_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_QosTierConfiguration_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public QosTierConfiguration parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QosTierConfiguration(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } /** * Protobuf enum {@code wireless_android_play_playlog.QosTierConfiguration.QosTier} * *
     * Quality of Service tiers for Clearcut log upload.
     * 
*/ public enum QosTier implements com.google.protobuf.ProtocolMessageEnum { /** * DEFAULT = 0; * *
       * Use GcmNetworkManager to schedule logs upload every hour.
       * 
*/ DEFAULT(0, 0), /** * UNMETERED_ONLY = 1; * *
       * Log will be uploaded when the device is on an unmetered network.
       *  Note that devices that rarely or never connect to unmetered networks
       *  will end up losing many or all of these messages.
       * 
*/ UNMETERED_ONLY(1, 1), /** * UNMETERED_OR_DAILY = 2; * *
       * Similar to the previous one, but if an upload opportunity does not arise
       *  near to the end of the day, Clearcut will upload the data as soon as
       *  the device is online (even if on a metered network).
       * 
*/ UNMETERED_OR_DAILY(2, 2), /** * FAST_IF_RADIO_AWAKE = 3; * *
       * Log will be uploaded as soon as the device is using the radio.
       *  If not, log will be uploaded at the next DEFAULT-tier upload time.
       * 
*/ FAST_IF_RADIO_AWAKE(3, 3), /** * NEVER = 4; * *
       * This is for server to override client QosTier setting.
       *  If a certain log source's QosTier is set to NEVER, then Clearcut will
       *  drop log events of that log source immediately and won't save them in
       *  log store.
       * 
*/ NEVER(4, 4), ; /** * DEFAULT = 0; * *
       * Use GcmNetworkManager to schedule logs upload every hour.
       * 
*/ public static final int DEFAULT_VALUE = 0; /** * UNMETERED_ONLY = 1; * *
       * Log will be uploaded when the device is on an unmetered network.
       *  Note that devices that rarely or never connect to unmetered networks
       *  will end up losing many or all of these messages.
       * 
*/ public static final int UNMETERED_ONLY_VALUE = 1; /** * UNMETERED_OR_DAILY = 2; * *
       * Similar to the previous one, but if an upload opportunity does not arise
       *  near to the end of the day, Clearcut will upload the data as soon as
       *  the device is online (even if on a metered network).
       * 
*/ public static final int UNMETERED_OR_DAILY_VALUE = 2; /** * FAST_IF_RADIO_AWAKE = 3; * *
       * Log will be uploaded as soon as the device is using the radio.
       *  If not, log will be uploaded at the next DEFAULT-tier upload time.
       * 
*/ public static final int FAST_IF_RADIO_AWAKE_VALUE = 3; /** * NEVER = 4; * *
       * This is for server to override client QosTier setting.
       *  If a certain log source's QosTier is set to NEVER, then Clearcut will
       *  drop log events of that log source immediately and won't save them in
       *  log store.
       * 
*/ public static final int NEVER_VALUE = 4; public final int getNumber() { return value; } public static QosTier valueOf(int value) { switch (value) { case 0: return DEFAULT; case 1: return UNMETERED_ONLY; case 2: return UNMETERED_OR_DAILY; case 3: return FAST_IF_RADIO_AWAKE; case 4: return NEVER; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public QosTier findValueByNumber(int number) { return QosTier.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.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.getDescriptor().getEnumTypes().get(0); } private static final QosTier[] VALUES = values(); public static QosTier 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 QosTier(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:wireless_android_play_playlog.QosTierConfiguration.QosTier) } private int bitField0_; // optional string log_source_name = 1; public static final int LOG_SOURCE_NAME_FIELD_NUMBER = 1; private java.lang.Object logSourceName_; /** * optional string log_source_name = 1; */ public boolean hasLogSourceName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string log_source_name = 1; */ public java.lang.String getLogSourceName() { java.lang.Object ref = logSourceName_; 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()) { logSourceName_ = s; } return s; } } /** * optional string log_source_name = 1; */ public com.google.protobuf.ByteString getLogSourceNameBytes() { java.lang.Object ref = logSourceName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); logSourceName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional .wireless_android_play_playlog.QosTierConfiguration.QosTier qos_tier = 2; public static final int QOS_TIER_FIELD_NUMBER = 2; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.QosTier qosTier_; /** * optional .wireless_android_play_playlog.QosTierConfiguration.QosTier qos_tier = 2; */ public boolean hasQosTier() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .wireless_android_play_playlog.QosTierConfiguration.QosTier qos_tier = 2; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.QosTier getQosTier() { return qosTier_; } private void initFields() { logSourceName_ = ""; qosTier_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.QosTier.DEFAULT; } 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, getLogSourceNameBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, qosTier_.getNumber()); } 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, getLogSourceNameBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, qosTier_.getNumber()); } 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.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration 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.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration 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 wireless_android_play_playlog.QosTierConfiguration} * *
     * QosTierConfiguration configures what Quality of Service tier should be
     *  applied to a given log source.
     *
     *  Next tag: 3
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfigurationOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_QosTierConfiguration_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_QosTierConfiguration_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.Builder.class); } // Construct using com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.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(); logSourceName_ = ""; bitField0_ = (bitField0_ & ~0x00000001); qosTier_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.QosTier.DEFAULT; bitField0_ = (bitField0_ & ~0x00000002); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_QosTierConfiguration_descriptor; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration getDefaultInstanceForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.getDefaultInstance(); } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration build() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration buildPartial() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration result = new com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.logSourceName_ = logSourceName_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.qosTier_ = qosTier_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration) { return mergeFrom((com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration other) { if (other == com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.getDefaultInstance()) return this; if (other.hasLogSourceName()) { bitField0_ |= 0x00000001; logSourceName_ = other.logSourceName_; onChanged(); } if (other.hasQosTier()) { setQosTier(other.getQosTier()); } 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.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional string log_source_name = 1; private java.lang.Object logSourceName_ = ""; /** * optional string log_source_name = 1; */ public boolean hasLogSourceName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string log_source_name = 1; */ public java.lang.String getLogSourceName() { java.lang.Object ref = logSourceName_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); logSourceName_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string log_source_name = 1; */ public com.google.protobuf.ByteString getLogSourceNameBytes() { java.lang.Object ref = logSourceName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); logSourceName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string log_source_name = 1; */ public Builder setLogSourceName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; logSourceName_ = value; onChanged(); return this; } /** * optional string log_source_name = 1; */ public Builder clearLogSourceName() { bitField0_ = (bitField0_ & ~0x00000001); logSourceName_ = getDefaultInstance().getLogSourceName(); onChanged(); return this; } /** * optional string log_source_name = 1; */ public Builder setLogSourceNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; logSourceName_ = value; onChanged(); return this; } // optional .wireless_android_play_playlog.QosTierConfiguration.QosTier qos_tier = 2; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.QosTier qosTier_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.QosTier.DEFAULT; /** * optional .wireless_android_play_playlog.QosTierConfiguration.QosTier qos_tier = 2; */ public boolean hasQosTier() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .wireless_android_play_playlog.QosTierConfiguration.QosTier qos_tier = 2; */ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.QosTier getQosTier() { return qosTier_; } /** * optional .wireless_android_play_playlog.QosTierConfiguration.QosTier qos_tier = 2; */ public Builder setQosTier(com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.QosTier value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; qosTier_ = value; onChanged(); return this; } /** * optional .wireless_android_play_playlog.QosTierConfiguration.QosTier qos_tier = 2; */ public Builder clearQosTier() { bitField0_ = (bitField0_ & ~0x00000002); qosTier_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.QosTier.DEFAULT; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:wireless_android_play_playlog.QosTierConfiguration) } static { defaultInstance = new QosTierConfiguration(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:wireless_android_play_playlog.QosTierConfiguration) } public interface QosTiersOverrideOrBuilder extends com.google.protobuf.MessageOrBuilder { // repeated .wireless_android_play_playlog.QosTierConfiguration qos_tier_configuration = 1; /** * repeated .wireless_android_play_playlog.QosTierConfiguration qos_tier_configuration = 1; * *
     * Quality of Service tiers enforced by server for overriding client
     *  qos_tier setting in event logging.
     *  This usually happens when server is burdened with fast qos tiers.
     * 
*/ java.util.List getQosTierConfigurationList(); /** * repeated .wireless_android_play_playlog.QosTierConfiguration qos_tier_configuration = 1; * *
     * Quality of Service tiers enforced by server for overriding client
     *  qos_tier setting in event logging.
     *  This usually happens when server is burdened with fast qos tiers.
     * 
*/ com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration getQosTierConfiguration(int index); /** * repeated .wireless_android_play_playlog.QosTierConfiguration qos_tier_configuration = 1; * *
     * Quality of Service tiers enforced by server for overriding client
     *  qos_tier setting in event logging.
     *  This usually happens when server is burdened with fast qos tiers.
     * 
*/ int getQosTierConfigurationCount(); /** * repeated .wireless_android_play_playlog.QosTierConfiguration qos_tier_configuration = 1; * *
     * Quality of Service tiers enforced by server for overriding client
     *  qos_tier setting in event logging.
     *  This usually happens when server is burdened with fast qos tiers.
     * 
*/ java.util.List getQosTierConfigurationOrBuilderList(); /** * repeated .wireless_android_play_playlog.QosTierConfiguration qos_tier_configuration = 1; * *
     * Quality of Service tiers enforced by server for overriding client
     *  qos_tier setting in event logging.
     *  This usually happens when server is burdened with fast qos tiers.
     * 
*/ com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfigurationOrBuilder getQosTierConfigurationOrBuilder( int index); // optional int64 qos_tier_fingerprint = 2; /** * optional int64 qos_tier_fingerprint = 2; * *
     * The fingerprint of the qos_tier_configuration field.
     * 
*/ boolean hasQosTierFingerprint(); /** * optional int64 qos_tier_fingerprint = 2; * *
     * The fingerprint of the qos_tier_configuration field.
     * 
*/ long getQosTierFingerprint(); } /** * Protobuf type {@code wireless_android_play_playlog.QosTiersOverride} * *
   * Next tag: 3
   * 
*/ public static final class QosTiersOverride extends com.google.protobuf.GeneratedMessage implements QosTiersOverrideOrBuilder { // Use QosTiersOverride.newBuilder() to construct. private QosTiersOverride(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private QosTiersOverride(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final QosTiersOverride defaultInstance; public static QosTiersOverride getDefaultInstance() { return defaultInstance; } public QosTiersOverride getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QosTiersOverride( 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)) { qosTierConfiguration_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } qosTierConfiguration_.add(input.readMessage(com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.PARSER, extensionRegistry)); break; } case 16: { bitField0_ |= 0x00000001; qosTierFingerprint_ = input.readInt64(); 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)) { qosTierConfiguration_ = java.util.Collections.unmodifiableList(qosTierConfiguration_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_QosTiersOverride_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_QosTiersOverride_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public QosTiersOverride parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QosTiersOverride(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // repeated .wireless_android_play_playlog.QosTierConfiguration qos_tier_configuration = 1; public static final int QOS_TIER_CONFIGURATION_FIELD_NUMBER = 1; private java.util.List qosTierConfiguration_; /** * repeated .wireless_android_play_playlog.QosTierConfiguration qos_tier_configuration = 1; * *
     * Quality of Service tiers enforced by server for overriding client
     *  qos_tier setting in event logging.
     *  This usually happens when server is burdened with fast qos tiers.
     * 
*/ public java.util.List getQosTierConfigurationList() { return qosTierConfiguration_; } /** * repeated .wireless_android_play_playlog.QosTierConfiguration qos_tier_configuration = 1; * *
     * Quality of Service tiers enforced by server for overriding client
     *  qos_tier setting in event logging.
     *  This usually happens when server is burdened with fast qos tiers.
     * 
*/ public java.util.List getQosTierConfigurationOrBuilderList() { return qosTierConfiguration_; } /** * repeated .wireless_android_play_playlog.QosTierConfiguration qos_tier_configuration = 1; * *
     * Quality of Service tiers enforced by server for overriding client
     *  qos_tier setting in event logging.
     *  This usually happens when server is burdened with fast qos tiers.
     * 
*/ public int getQosTierConfigurationCount() { return qosTierConfiguration_.size(); } /** * repeated .wireless_android_play_playlog.QosTierConfiguration qos_tier_configuration = 1; * *
     * Quality of Service tiers enforced by server for overriding client
     *  qos_tier setting in event logging.
     *  This usually happens when server is burdened with fast qos tiers.
     * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration getQosTierConfiguration(int index) { return qosTierConfiguration_.get(index); } /** * repeated .wireless_android_play_playlog.QosTierConfiguration qos_tier_configuration = 1; * *
     * Quality of Service tiers enforced by server for overriding client
     *  qos_tier setting in event logging.
     *  This usually happens when server is burdened with fast qos tiers.
     * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfigurationOrBuilder getQosTierConfigurationOrBuilder( int index) { return qosTierConfiguration_.get(index); } // optional int64 qos_tier_fingerprint = 2; public static final int QOS_TIER_FINGERPRINT_FIELD_NUMBER = 2; private long qosTierFingerprint_; /** * optional int64 qos_tier_fingerprint = 2; * *
     * The fingerprint of the qos_tier_configuration field.
     * 
*/ public boolean hasQosTierFingerprint() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 qos_tier_fingerprint = 2; * *
     * The fingerprint of the qos_tier_configuration field.
     * 
*/ public long getQosTierFingerprint() { return qosTierFingerprint_; } private void initFields() { qosTierConfiguration_ = java.util.Collections.emptyList(); qosTierFingerprint_ = 0L; } 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 < qosTierConfiguration_.size(); i++) { output.writeMessage(1, qosTierConfiguration_.get(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt64(2, qosTierFingerprint_); } 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 < qosTierConfiguration_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, qosTierConfiguration_.get(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, qosTierFingerprint_); } 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.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride 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.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride 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 wireless_android_play_playlog.QosTiersOverride} * *
     * Next tag: 3
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverrideOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_QosTiersOverride_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_QosTiersOverride_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride.Builder.class); } // Construct using com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getQosTierConfigurationFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (qosTierConfigurationBuilder_ == null) { qosTierConfiguration_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { qosTierConfigurationBuilder_.clear(); } qosTierFingerprint_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_QosTiersOverride_descriptor; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride getDefaultInstanceForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride.getDefaultInstance(); } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride build() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride buildPartial() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride result = new com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (qosTierConfigurationBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { qosTierConfiguration_ = java.util.Collections.unmodifiableList(qosTierConfiguration_); bitField0_ = (bitField0_ & ~0x00000001); } result.qosTierConfiguration_ = qosTierConfiguration_; } else { result.qosTierConfiguration_ = qosTierConfigurationBuilder_.build(); } if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000001; } result.qosTierFingerprint_ = qosTierFingerprint_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride) { return mergeFrom((com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride other) { if (other == com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride.getDefaultInstance()) return this; if (qosTierConfigurationBuilder_ == null) { if (!other.qosTierConfiguration_.isEmpty()) { if (qosTierConfiguration_.isEmpty()) { qosTierConfiguration_ = other.qosTierConfiguration_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureQosTierConfigurationIsMutable(); qosTierConfiguration_.addAll(other.qosTierConfiguration_); } onChanged(); } } else { if (!other.qosTierConfiguration_.isEmpty()) { if (qosTierConfigurationBuilder_.isEmpty()) { qosTierConfigurationBuilder_.dispose(); qosTierConfigurationBuilder_ = null; qosTierConfiguration_ = other.qosTierConfiguration_; bitField0_ = (bitField0_ & ~0x00000001); qosTierConfigurationBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getQosTierConfigurationFieldBuilder() : null; } else { qosTierConfigurationBuilder_.addAllMessages(other.qosTierConfiguration_); } } } if (other.hasQosTierFingerprint()) { setQosTierFingerprint(other.getQosTierFingerprint()); } 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.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // repeated .wireless_android_play_playlog.QosTierConfiguration qos_tier_configuration = 1; private java.util.List qosTierConfiguration_ = java.util.Collections.emptyList(); private void ensureQosTierConfigurationIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { qosTierConfiguration_ = new java.util.ArrayList(qosTierConfiguration_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration, com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfigurationOrBuilder> qosTierConfigurationBuilder_; /** * repeated .wireless_android_play_playlog.QosTierConfiguration qos_tier_configuration = 1; * *
       * Quality of Service tiers enforced by server for overriding client
       *  qos_tier setting in event logging.
       *  This usually happens when server is burdened with fast qos tiers.
       * 
*/ public java.util.List getQosTierConfigurationList() { if (qosTierConfigurationBuilder_ == null) { return java.util.Collections.unmodifiableList(qosTierConfiguration_); } else { return qosTierConfigurationBuilder_.getMessageList(); } } /** * repeated .wireless_android_play_playlog.QosTierConfiguration qos_tier_configuration = 1; * *
       * Quality of Service tiers enforced by server for overriding client
       *  qos_tier setting in event logging.
       *  This usually happens when server is burdened with fast qos tiers.
       * 
*/ public int getQosTierConfigurationCount() { if (qosTierConfigurationBuilder_ == null) { return qosTierConfiguration_.size(); } else { return qosTierConfigurationBuilder_.getCount(); } } /** * repeated .wireless_android_play_playlog.QosTierConfiguration qos_tier_configuration = 1; * *
       * Quality of Service tiers enforced by server for overriding client
       *  qos_tier setting in event logging.
       *  This usually happens when server is burdened with fast qos tiers.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration getQosTierConfiguration(int index) { if (qosTierConfigurationBuilder_ == null) { return qosTierConfiguration_.get(index); } else { return qosTierConfigurationBuilder_.getMessage(index); } } /** * repeated .wireless_android_play_playlog.QosTierConfiguration qos_tier_configuration = 1; * *
       * Quality of Service tiers enforced by server for overriding client
       *  qos_tier setting in event logging.
       *  This usually happens when server is burdened with fast qos tiers.
       * 
*/ public Builder setQosTierConfiguration( int index, com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration value) { if (qosTierConfigurationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureQosTierConfigurationIsMutable(); qosTierConfiguration_.set(index, value); onChanged(); } else { qosTierConfigurationBuilder_.setMessage(index, value); } return this; } /** * repeated .wireless_android_play_playlog.QosTierConfiguration qos_tier_configuration = 1; * *
       * Quality of Service tiers enforced by server for overriding client
       *  qos_tier setting in event logging.
       *  This usually happens when server is burdened with fast qos tiers.
       * 
*/ public Builder setQosTierConfiguration( int index, com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.Builder builderForValue) { if (qosTierConfigurationBuilder_ == null) { ensureQosTierConfigurationIsMutable(); qosTierConfiguration_.set(index, builderForValue.build()); onChanged(); } else { qosTierConfigurationBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .wireless_android_play_playlog.QosTierConfiguration qos_tier_configuration = 1; * *
       * Quality of Service tiers enforced by server for overriding client
       *  qos_tier setting in event logging.
       *  This usually happens when server is burdened with fast qos tiers.
       * 
*/ public Builder addQosTierConfiguration(com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration value) { if (qosTierConfigurationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureQosTierConfigurationIsMutable(); qosTierConfiguration_.add(value); onChanged(); } else { qosTierConfigurationBuilder_.addMessage(value); } return this; } /** * repeated .wireless_android_play_playlog.QosTierConfiguration qos_tier_configuration = 1; * *
       * Quality of Service tiers enforced by server for overriding client
       *  qos_tier setting in event logging.
       *  This usually happens when server is burdened with fast qos tiers.
       * 
*/ public Builder addQosTierConfiguration( int index, com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration value) { if (qosTierConfigurationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureQosTierConfigurationIsMutable(); qosTierConfiguration_.add(index, value); onChanged(); } else { qosTierConfigurationBuilder_.addMessage(index, value); } return this; } /** * repeated .wireless_android_play_playlog.QosTierConfiguration qos_tier_configuration = 1; * *
       * Quality of Service tiers enforced by server for overriding client
       *  qos_tier setting in event logging.
       *  This usually happens when server is burdened with fast qos tiers.
       * 
*/ public Builder addQosTierConfiguration( com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.Builder builderForValue) { if (qosTierConfigurationBuilder_ == null) { ensureQosTierConfigurationIsMutable(); qosTierConfiguration_.add(builderForValue.build()); onChanged(); } else { qosTierConfigurationBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .wireless_android_play_playlog.QosTierConfiguration qos_tier_configuration = 1; * *
       * Quality of Service tiers enforced by server for overriding client
       *  qos_tier setting in event logging.
       *  This usually happens when server is burdened with fast qos tiers.
       * 
*/ public Builder addQosTierConfiguration( int index, com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.Builder builderForValue) { if (qosTierConfigurationBuilder_ == null) { ensureQosTierConfigurationIsMutable(); qosTierConfiguration_.add(index, builderForValue.build()); onChanged(); } else { qosTierConfigurationBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .wireless_android_play_playlog.QosTierConfiguration qos_tier_configuration = 1; * *
       * Quality of Service tiers enforced by server for overriding client
       *  qos_tier setting in event logging.
       *  This usually happens when server is burdened with fast qos tiers.
       * 
*/ public Builder addAllQosTierConfiguration( java.lang.Iterable values) { if (qosTierConfigurationBuilder_ == null) { ensureQosTierConfigurationIsMutable(); super.addAll(values, qosTierConfiguration_); onChanged(); } else { qosTierConfigurationBuilder_.addAllMessages(values); } return this; } /** * repeated .wireless_android_play_playlog.QosTierConfiguration qos_tier_configuration = 1; * *
       * Quality of Service tiers enforced by server for overriding client
       *  qos_tier setting in event logging.
       *  This usually happens when server is burdened with fast qos tiers.
       * 
*/ public Builder clearQosTierConfiguration() { if (qosTierConfigurationBuilder_ == null) { qosTierConfiguration_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { qosTierConfigurationBuilder_.clear(); } return this; } /** * repeated .wireless_android_play_playlog.QosTierConfiguration qos_tier_configuration = 1; * *
       * Quality of Service tiers enforced by server for overriding client
       *  qos_tier setting in event logging.
       *  This usually happens when server is burdened with fast qos tiers.
       * 
*/ public Builder removeQosTierConfiguration(int index) { if (qosTierConfigurationBuilder_ == null) { ensureQosTierConfigurationIsMutable(); qosTierConfiguration_.remove(index); onChanged(); } else { qosTierConfigurationBuilder_.remove(index); } return this; } /** * repeated .wireless_android_play_playlog.QosTierConfiguration qos_tier_configuration = 1; * *
       * Quality of Service tiers enforced by server for overriding client
       *  qos_tier setting in event logging.
       *  This usually happens when server is burdened with fast qos tiers.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.Builder getQosTierConfigurationBuilder( int index) { return getQosTierConfigurationFieldBuilder().getBuilder(index); } /** * repeated .wireless_android_play_playlog.QosTierConfiguration qos_tier_configuration = 1; * *
       * Quality of Service tiers enforced by server for overriding client
       *  qos_tier setting in event logging.
       *  This usually happens when server is burdened with fast qos tiers.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfigurationOrBuilder getQosTierConfigurationOrBuilder( int index) { if (qosTierConfigurationBuilder_ == null) { return qosTierConfiguration_.get(index); } else { return qosTierConfigurationBuilder_.getMessageOrBuilder(index); } } /** * repeated .wireless_android_play_playlog.QosTierConfiguration qos_tier_configuration = 1; * *
       * Quality of Service tiers enforced by server for overriding client
       *  qos_tier setting in event logging.
       *  This usually happens when server is burdened with fast qos tiers.
       * 
*/ public java.util.List getQosTierConfigurationOrBuilderList() { if (qosTierConfigurationBuilder_ != null) { return qosTierConfigurationBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(qosTierConfiguration_); } } /** * repeated .wireless_android_play_playlog.QosTierConfiguration qos_tier_configuration = 1; * *
       * Quality of Service tiers enforced by server for overriding client
       *  qos_tier setting in event logging.
       *  This usually happens when server is burdened with fast qos tiers.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.Builder addQosTierConfigurationBuilder() { return getQosTierConfigurationFieldBuilder().addBuilder( com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.getDefaultInstance()); } /** * repeated .wireless_android_play_playlog.QosTierConfiguration qos_tier_configuration = 1; * *
       * Quality of Service tiers enforced by server for overriding client
       *  qos_tier setting in event logging.
       *  This usually happens when server is burdened with fast qos tiers.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.Builder addQosTierConfigurationBuilder( int index) { return getQosTierConfigurationFieldBuilder().addBuilder( index, com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.getDefaultInstance()); } /** * repeated .wireless_android_play_playlog.QosTierConfiguration qos_tier_configuration = 1; * *
       * Quality of Service tiers enforced by server for overriding client
       *  qos_tier setting in event logging.
       *  This usually happens when server is burdened with fast qos tiers.
       * 
*/ public java.util.List getQosTierConfigurationBuilderList() { return getQosTierConfigurationFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration, com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfigurationOrBuilder> getQosTierConfigurationFieldBuilder() { if (qosTierConfigurationBuilder_ == null) { qosTierConfigurationBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration, com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfiguration.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTierConfigurationOrBuilder>( qosTierConfiguration_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); qosTierConfiguration_ = null; } return qosTierConfigurationBuilder_; } // optional int64 qos_tier_fingerprint = 2; private long qosTierFingerprint_ ; /** * optional int64 qos_tier_fingerprint = 2; * *
       * The fingerprint of the qos_tier_configuration field.
       * 
*/ public boolean hasQosTierFingerprint() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int64 qos_tier_fingerprint = 2; * *
       * The fingerprint of the qos_tier_configuration field.
       * 
*/ public long getQosTierFingerprint() { return qosTierFingerprint_; } /** * optional int64 qos_tier_fingerprint = 2; * *
       * The fingerprint of the qos_tier_configuration field.
       * 
*/ public Builder setQosTierFingerprint(long value) { bitField0_ |= 0x00000002; qosTierFingerprint_ = value; onChanged(); return this; } /** * optional int64 qos_tier_fingerprint = 2; * *
       * The fingerprint of the qos_tier_configuration field.
       * 
*/ public Builder clearQosTierFingerprint() { bitField0_ = (bitField0_ & ~0x00000002); qosTierFingerprint_ = 0L; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:wireless_android_play_playlog.QosTiersOverride) } static { defaultInstance = new QosTiersOverride(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:wireless_android_play_playlog.QosTiersOverride) } public interface LogSourceBatchingBlacklistOrBuilder extends com.google.protobuf.MessageOrBuilder { // repeated string log_source_name = 1; /** * repeated string log_source_name = 1; */ java.util.List getLogSourceNameList(); /** * repeated string log_source_name = 1; */ int getLogSourceNameCount(); /** * repeated string log_source_name = 1; */ java.lang.String getLogSourceName(int index); /** * repeated string log_source_name = 1; */ com.google.protobuf.ByteString getLogSourceNameBytes(int index); } /** * Protobuf type {@code wireless_android_play_playlog.LogSourceBatchingBlacklist} * *
   * Next tag: 2
   * 
*/ public static final class LogSourceBatchingBlacklist extends com.google.protobuf.GeneratedMessage implements LogSourceBatchingBlacklistOrBuilder { // Use LogSourceBatchingBlacklist.newBuilder() to construct. private LogSourceBatchingBlacklist(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private LogSourceBatchingBlacklist(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final LogSourceBatchingBlacklist defaultInstance; public static LogSourceBatchingBlacklist getDefaultInstance() { return defaultInstance; } public LogSourceBatchingBlacklist getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private LogSourceBatchingBlacklist( 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)) { logSourceName_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } logSourceName_.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)) { logSourceName_ = new com.google.protobuf.UnmodifiableLazyStringList(logSourceName_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_LogSourceBatchingBlacklist_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_LogSourceBatchingBlacklist_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public LogSourceBatchingBlacklist parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new LogSourceBatchingBlacklist(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } // repeated string log_source_name = 1; public static final int LOG_SOURCE_NAME_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList logSourceName_; /** * repeated string log_source_name = 1; */ public java.util.List getLogSourceNameList() { return logSourceName_; } /** * repeated string log_source_name = 1; */ public int getLogSourceNameCount() { return logSourceName_.size(); } /** * repeated string log_source_name = 1; */ public java.lang.String getLogSourceName(int index) { return logSourceName_.get(index); } /** * repeated string log_source_name = 1; */ public com.google.protobuf.ByteString getLogSourceNameBytes(int index) { return logSourceName_.getByteString(index); } private void initFields() { logSourceName_ = 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 < logSourceName_.size(); i++) { output.writeBytes(1, logSourceName_.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 < logSourceName_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(logSourceName_.getByteString(i)); } size += dataSize; size += 1 * getLogSourceNameList().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.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist 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.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist 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 wireless_android_play_playlog.LogSourceBatchingBlacklist} * *
     * Next tag: 2
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklistOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_LogSourceBatchingBlacklist_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_LogSourceBatchingBlacklist_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist.Builder.class); } // Construct using com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist.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(); logSourceName_ = 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.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_LogSourceBatchingBlacklist_descriptor; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist getDefaultInstanceForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist.getDefaultInstance(); } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist build() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist buildPartial() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist result = new com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) == 0x00000001)) { logSourceName_ = new com.google.protobuf.UnmodifiableLazyStringList( logSourceName_); bitField0_ = (bitField0_ & ~0x00000001); } result.logSourceName_ = logSourceName_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist) { return mergeFrom((com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist other) { if (other == com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist.getDefaultInstance()) return this; if (!other.logSourceName_.isEmpty()) { if (logSourceName_.isEmpty()) { logSourceName_ = other.logSourceName_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureLogSourceNameIsMutable(); logSourceName_.addAll(other.logSourceName_); } 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.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // repeated string log_source_name = 1; private com.google.protobuf.LazyStringList logSourceName_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureLogSourceNameIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { logSourceName_ = new com.google.protobuf.LazyStringArrayList(logSourceName_); bitField0_ |= 0x00000001; } } /** * repeated string log_source_name = 1; */ public java.util.List getLogSourceNameList() { return java.util.Collections.unmodifiableList(logSourceName_); } /** * repeated string log_source_name = 1; */ public int getLogSourceNameCount() { return logSourceName_.size(); } /** * repeated string log_source_name = 1; */ public java.lang.String getLogSourceName(int index) { return logSourceName_.get(index); } /** * repeated string log_source_name = 1; */ public com.google.protobuf.ByteString getLogSourceNameBytes(int index) { return logSourceName_.getByteString(index); } /** * repeated string log_source_name = 1; */ public Builder setLogSourceName( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureLogSourceNameIsMutable(); logSourceName_.set(index, value); onChanged(); return this; } /** * repeated string log_source_name = 1; */ public Builder addLogSourceName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureLogSourceNameIsMutable(); logSourceName_.add(value); onChanged(); return this; } /** * repeated string log_source_name = 1; */ public Builder addAllLogSourceName( java.lang.Iterable values) { ensureLogSourceNameIsMutable(); super.addAll(values, logSourceName_); onChanged(); return this; } /** * repeated string log_source_name = 1; */ public Builder clearLogSourceName() { logSourceName_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * repeated string log_source_name = 1; */ public Builder addLogSourceNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureLogSourceNameIsMutable(); logSourceName_.add(value); onChanged(); return this; } // @@protoc_insertion_point(builder_scope:wireless_android_play_playlog.LogSourceBatchingBlacklist) } static { defaultInstance = new LogSourceBatchingBlacklist(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:wireless_android_play_playlog.LogSourceBatchingBlacklist) } public interface LogResponseOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional int64 next_request_wait_millis = 1 [default = -1]; /** * optional int64 next_request_wait_millis = 1 [default = -1]; * *
     * Client should wait for next_request_wait_millis before sending the next
     *  log request.
     * 
*/ boolean hasNextRequestWaitMillis(); /** * optional int64 next_request_wait_millis = 1 [default = -1]; * *
     * Client should wait for next_request_wait_millis before sending the next
     *  log request.
     * 
*/ long getNextRequestWaitMillis(); // optional .wireless_android_play_playlog.ExperimentIdList experiments = 2; /** * optional .wireless_android_play_playlog.ExperimentIdList experiments = 2; * *
     * If present, this is the new set of enabled experiments for this client.
     *  Otherwise, the client should assume that there has been no change in the
     *  set of enabled experiments.
     * 
*/ boolean hasExperiments(); /** * optional .wireless_android_play_playlog.ExperimentIdList experiments = 2; * *
     * If present, this is the new set of enabled experiments for this client.
     *  Otherwise, the client should assume that there has been no change in the
     *  set of enabled experiments.
     * 
*/ com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList getExperiments(); /** * optional .wireless_android_play_playlog.ExperimentIdList experiments = 2; * *
     * If present, this is the new set of enabled experiments for this client.
     *  Otherwise, the client should assume that there has been no change in the
     *  set of enabled experiments.
     * 
*/ com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdListOrBuilder getExperimentsOrBuilder(); // optional .wireless_android_play_playlog.QosTiersOverride qos_tier = 3; /** * optional .wireless_android_play_playlog.QosTiersOverride qos_tier = 3; * *
     * Quality of Service tiers enforced by server for overriding client
     *  qos_tier setting in event logging.
     * 
*/ boolean hasQosTier(); /** * optional .wireless_android_play_playlog.QosTiersOverride qos_tier = 3; * *
     * Quality of Service tiers enforced by server for overriding client
     *  qos_tier setting in event logging.
     * 
*/ com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride getQosTier(); /** * optional .wireless_android_play_playlog.QosTiersOverride qos_tier = 3; * *
     * Quality of Service tiers enforced by server for overriding client
     *  qos_tier setting in event logging.
     * 
*/ com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverrideOrBuilder getQosTierOrBuilder(); // optional .wireless_android_play_playlog.LogSourceBatchingBlacklist log_source_batching_blacklist = 4; /** * optional .wireless_android_play_playlog.LogSourceBatchingBlacklist log_source_batching_blacklist = 4; * *
     * Enforced by server for telling Clearcut uploader not to group log events
     *  from certain log sources. If it is not set, client will try to group log
     *  events together with the same upload context without considering log
     *  sources restrictions. Upload context includes following info.
     *  1. PlayLoggerContext.isAnonymous
     *  2. PlayLoggerContext.uploadAccountName
     *  3. PlayLoggerContext.zwiebackCookie
     *  4. PlayLoggerContext.qosTier
     * 
*/ boolean hasLogSourceBatchingBlacklist(); /** * optional .wireless_android_play_playlog.LogSourceBatchingBlacklist log_source_batching_blacklist = 4; * *
     * Enforced by server for telling Clearcut uploader not to group log events
     *  from certain log sources. If it is not set, client will try to group log
     *  events together with the same upload context without considering log
     *  sources restrictions. Upload context includes following info.
     *  1. PlayLoggerContext.isAnonymous
     *  2. PlayLoggerContext.uploadAccountName
     *  3. PlayLoggerContext.zwiebackCookie
     *  4. PlayLoggerContext.qosTier
     * 
*/ com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist getLogSourceBatchingBlacklist(); /** * optional .wireless_android_play_playlog.LogSourceBatchingBlacklist log_source_batching_blacklist = 4; * *
     * Enforced by server for telling Clearcut uploader not to group log events
     *  from certain log sources. If it is not set, client will try to group log
     *  events together with the same upload context without considering log
     *  sources restrictions. Upload context includes following info.
     *  1. PlayLoggerContext.isAnonymous
     *  2. PlayLoggerContext.uploadAccountName
     *  3. PlayLoggerContext.zwiebackCookie
     *  4. PlayLoggerContext.qosTier
     * 
*/ com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklistOrBuilder getLogSourceBatchingBlacklistOrBuilder(); } /** * Protobuf type {@code wireless_android_play_playlog.LogResponse} * *
   * Next tag: 5
   * 
*/ public static final class LogResponse extends com.google.protobuf.GeneratedMessage implements LogResponseOrBuilder { // Use LogResponse.newBuilder() to construct. private LogResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private LogResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final LogResponse defaultInstance; public static LogResponse getDefaultInstance() { return defaultInstance; } public LogResponse getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private LogResponse( 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; nextRequestWaitMillis_ = input.readInt64(); break; } case 18: { com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = experiments_.toBuilder(); } experiments_ = input.readMessage(com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(experiments_); experiments_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 26: { com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride.Builder subBuilder = null; if (((bitField0_ & 0x00000004) == 0x00000004)) { subBuilder = qosTier_.toBuilder(); } qosTier_ = input.readMessage(com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(qosTier_); qosTier_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000004; break; } case 34: { com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist.Builder subBuilder = null; if (((bitField0_ & 0x00000008) == 0x00000008)) { subBuilder = logSourceBatchingBlacklist_.toBuilder(); } logSourceBatchingBlacklist_ = input.readMessage(com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(logSourceBatchingBlacklist_); logSourceBatchingBlacklist_ = 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.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_LogResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_LogResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogResponse.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogResponse.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public LogResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new LogResponse(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional int64 next_request_wait_millis = 1 [default = -1]; public static final int NEXT_REQUEST_WAIT_MILLIS_FIELD_NUMBER = 1; private long nextRequestWaitMillis_; /** * optional int64 next_request_wait_millis = 1 [default = -1]; * *
     * Client should wait for next_request_wait_millis before sending the next
     *  log request.
     * 
*/ public boolean hasNextRequestWaitMillis() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 next_request_wait_millis = 1 [default = -1]; * *
     * Client should wait for next_request_wait_millis before sending the next
     *  log request.
     * 
*/ public long getNextRequestWaitMillis() { return nextRequestWaitMillis_; } // optional .wireless_android_play_playlog.ExperimentIdList experiments = 2; public static final int EXPERIMENTS_FIELD_NUMBER = 2; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList experiments_; /** * optional .wireless_android_play_playlog.ExperimentIdList experiments = 2; * *
     * If present, this is the new set of enabled experiments for this client.
     *  Otherwise, the client should assume that there has been no change in the
     *  set of enabled experiments.
     * 
*/ public boolean hasExperiments() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .wireless_android_play_playlog.ExperimentIdList experiments = 2; * *
     * If present, this is the new set of enabled experiments for this client.
     *  Otherwise, the client should assume that there has been no change in the
     *  set of enabled experiments.
     * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList getExperiments() { return experiments_; } /** * optional .wireless_android_play_playlog.ExperimentIdList experiments = 2; * *
     * If present, this is the new set of enabled experiments for this client.
     *  Otherwise, the client should assume that there has been no change in the
     *  set of enabled experiments.
     * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdListOrBuilder getExperimentsOrBuilder() { return experiments_; } // optional .wireless_android_play_playlog.QosTiersOverride qos_tier = 3; public static final int QOS_TIER_FIELD_NUMBER = 3; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride qosTier_; /** * optional .wireless_android_play_playlog.QosTiersOverride qos_tier = 3; * *
     * Quality of Service tiers enforced by server for overriding client
     *  qos_tier setting in event logging.
     * 
*/ public boolean hasQosTier() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .wireless_android_play_playlog.QosTiersOverride qos_tier = 3; * *
     * Quality of Service tiers enforced by server for overriding client
     *  qos_tier setting in event logging.
     * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride getQosTier() { return qosTier_; } /** * optional .wireless_android_play_playlog.QosTiersOverride qos_tier = 3; * *
     * Quality of Service tiers enforced by server for overriding client
     *  qos_tier setting in event logging.
     * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverrideOrBuilder getQosTierOrBuilder() { return qosTier_; } // optional .wireless_android_play_playlog.LogSourceBatchingBlacklist log_source_batching_blacklist = 4; public static final int LOG_SOURCE_BATCHING_BLACKLIST_FIELD_NUMBER = 4; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist logSourceBatchingBlacklist_; /** * optional .wireless_android_play_playlog.LogSourceBatchingBlacklist log_source_batching_blacklist = 4; * *
     * Enforced by server for telling Clearcut uploader not to group log events
     *  from certain log sources. If it is not set, client will try to group log
     *  events together with the same upload context without considering log
     *  sources restrictions. Upload context includes following info.
     *  1. PlayLoggerContext.isAnonymous
     *  2. PlayLoggerContext.uploadAccountName
     *  3. PlayLoggerContext.zwiebackCookie
     *  4. PlayLoggerContext.qosTier
     * 
*/ public boolean hasLogSourceBatchingBlacklist() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .wireless_android_play_playlog.LogSourceBatchingBlacklist log_source_batching_blacklist = 4; * *
     * Enforced by server for telling Clearcut uploader not to group log events
     *  from certain log sources. If it is not set, client will try to group log
     *  events together with the same upload context without considering log
     *  sources restrictions. Upload context includes following info.
     *  1. PlayLoggerContext.isAnonymous
     *  2. PlayLoggerContext.uploadAccountName
     *  3. PlayLoggerContext.zwiebackCookie
     *  4. PlayLoggerContext.qosTier
     * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist getLogSourceBatchingBlacklist() { return logSourceBatchingBlacklist_; } /** * optional .wireless_android_play_playlog.LogSourceBatchingBlacklist log_source_batching_blacklist = 4; * *
     * Enforced by server for telling Clearcut uploader not to group log events
     *  from certain log sources. If it is not set, client will try to group log
     *  events together with the same upload context without considering log
     *  sources restrictions. Upload context includes following info.
     *  1. PlayLoggerContext.isAnonymous
     *  2. PlayLoggerContext.uploadAccountName
     *  3. PlayLoggerContext.zwiebackCookie
     *  4. PlayLoggerContext.qosTier
     * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklistOrBuilder getLogSourceBatchingBlacklistOrBuilder() { return logSourceBatchingBlacklist_; } private void initFields() { nextRequestWaitMillis_ = -1L; experiments_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList.getDefaultInstance(); qosTier_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride.getDefaultInstance(); logSourceBatchingBlacklist_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist.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.writeInt64(1, nextRequestWaitMillis_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, experiments_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeMessage(3, qosTier_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeMessage(4, logSourceBatchingBlacklist_); } 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 .computeInt64Size(1, nextRequestWaitMillis_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, experiments_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, qosTier_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, logSourceBatchingBlacklist_); } 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.google.wireless.android.play.playlog.proto.ClientAnalytics.LogResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogResponse 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.google.wireless.android.play.playlog.proto.ClientAnalytics.LogResponse 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 wireless_android_play_playlog.LogResponse} * *
     * Next tag: 5
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_LogResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_LogResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogResponse.class, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogResponse.Builder.class); } // Construct using com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getExperimentsFieldBuilder(); getQosTierFieldBuilder(); getLogSourceBatchingBlacklistFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); nextRequestWaitMillis_ = -1L; bitField0_ = (bitField0_ & ~0x00000001); if (experimentsBuilder_ == null) { experiments_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList.getDefaultInstance(); } else { experimentsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); if (qosTierBuilder_ == null) { qosTier_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride.getDefaultInstance(); } else { qosTierBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); if (logSourceBatchingBlacklistBuilder_ == null) { logSourceBatchingBlacklist_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist.getDefaultInstance(); } else { logSourceBatchingBlacklistBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.internal_static_wireless_android_play_playlog_LogResponse_descriptor; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogResponse getDefaultInstanceForType() { return com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogResponse.getDefaultInstance(); } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogResponse build() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogResponse buildPartial() { com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogResponse result = new com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogResponse(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.nextRequestWaitMillis_ = nextRequestWaitMillis_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } if (experimentsBuilder_ == null) { result.experiments_ = experiments_; } else { result.experiments_ = experimentsBuilder_.build(); } if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } if (qosTierBuilder_ == null) { result.qosTier_ = qosTier_; } else { result.qosTier_ = qosTierBuilder_.build(); } if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } if (logSourceBatchingBlacklistBuilder_ == null) { result.logSourceBatchingBlacklist_ = logSourceBatchingBlacklist_; } else { result.logSourceBatchingBlacklist_ = logSourceBatchingBlacklistBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogResponse) { return mergeFrom((com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogResponse other) { if (other == com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogResponse.getDefaultInstance()) return this; if (other.hasNextRequestWaitMillis()) { setNextRequestWaitMillis(other.getNextRequestWaitMillis()); } if (other.hasExperiments()) { mergeExperiments(other.getExperiments()); } if (other.hasQosTier()) { mergeQosTier(other.getQosTier()); } if (other.hasLogSourceBatchingBlacklist()) { mergeLogSourceBatchingBlacklist(other.getLogSourceBatchingBlacklist()); } 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.google.wireless.android.play.playlog.proto.ClientAnalytics.LogResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogResponse) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional int64 next_request_wait_millis = 1 [default = -1]; private long nextRequestWaitMillis_ = -1L; /** * optional int64 next_request_wait_millis = 1 [default = -1]; * *
       * Client should wait for next_request_wait_millis before sending the next
       *  log request.
       * 
*/ public boolean hasNextRequestWaitMillis() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 next_request_wait_millis = 1 [default = -1]; * *
       * Client should wait for next_request_wait_millis before sending the next
       *  log request.
       * 
*/ public long getNextRequestWaitMillis() { return nextRequestWaitMillis_; } /** * optional int64 next_request_wait_millis = 1 [default = -1]; * *
       * Client should wait for next_request_wait_millis before sending the next
       *  log request.
       * 
*/ public Builder setNextRequestWaitMillis(long value) { bitField0_ |= 0x00000001; nextRequestWaitMillis_ = value; onChanged(); return this; } /** * optional int64 next_request_wait_millis = 1 [default = -1]; * *
       * Client should wait for next_request_wait_millis before sending the next
       *  log request.
       * 
*/ public Builder clearNextRequestWaitMillis() { bitField0_ = (bitField0_ & ~0x00000001); nextRequestWaitMillis_ = -1L; onChanged(); return this; } // optional .wireless_android_play_playlog.ExperimentIdList experiments = 2; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList experiments_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList, com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdListOrBuilder> experimentsBuilder_; /** * optional .wireless_android_play_playlog.ExperimentIdList experiments = 2; * *
       * If present, this is the new set of enabled experiments for this client.
       *  Otherwise, the client should assume that there has been no change in the
       *  set of enabled experiments.
       * 
*/ public boolean hasExperiments() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .wireless_android_play_playlog.ExperimentIdList experiments = 2; * *
       * If present, this is the new set of enabled experiments for this client.
       *  Otherwise, the client should assume that there has been no change in the
       *  set of enabled experiments.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList getExperiments() { if (experimentsBuilder_ == null) { return experiments_; } else { return experimentsBuilder_.getMessage(); } } /** * optional .wireless_android_play_playlog.ExperimentIdList experiments = 2; * *
       * If present, this is the new set of enabled experiments for this client.
       *  Otherwise, the client should assume that there has been no change in the
       *  set of enabled experiments.
       * 
*/ public Builder setExperiments(com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList value) { if (experimentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } experiments_ = value; onChanged(); } else { experimentsBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .wireless_android_play_playlog.ExperimentIdList experiments = 2; * *
       * If present, this is the new set of enabled experiments for this client.
       *  Otherwise, the client should assume that there has been no change in the
       *  set of enabled experiments.
       * 
*/ public Builder setExperiments( com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList.Builder builderForValue) { if (experimentsBuilder_ == null) { experiments_ = builderForValue.build(); onChanged(); } else { experimentsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .wireless_android_play_playlog.ExperimentIdList experiments = 2; * *
       * If present, this is the new set of enabled experiments for this client.
       *  Otherwise, the client should assume that there has been no change in the
       *  set of enabled experiments.
       * 
*/ public Builder mergeExperiments(com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList value) { if (experimentsBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && experiments_ != com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList.getDefaultInstance()) { experiments_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList.newBuilder(experiments_).mergeFrom(value).buildPartial(); } else { experiments_ = value; } onChanged(); } else { experimentsBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .wireless_android_play_playlog.ExperimentIdList experiments = 2; * *
       * If present, this is the new set of enabled experiments for this client.
       *  Otherwise, the client should assume that there has been no change in the
       *  set of enabled experiments.
       * 
*/ public Builder clearExperiments() { if (experimentsBuilder_ == null) { experiments_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList.getDefaultInstance(); onChanged(); } else { experimentsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .wireless_android_play_playlog.ExperimentIdList experiments = 2; * *
       * If present, this is the new set of enabled experiments for this client.
       *  Otherwise, the client should assume that there has been no change in the
       *  set of enabled experiments.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList.Builder getExperimentsBuilder() { bitField0_ |= 0x00000002; onChanged(); return getExperimentsFieldBuilder().getBuilder(); } /** * optional .wireless_android_play_playlog.ExperimentIdList experiments = 2; * *
       * If present, this is the new set of enabled experiments for this client.
       *  Otherwise, the client should assume that there has been no change in the
       *  set of enabled experiments.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdListOrBuilder getExperimentsOrBuilder() { if (experimentsBuilder_ != null) { return experimentsBuilder_.getMessageOrBuilder(); } else { return experiments_; } } /** * optional .wireless_android_play_playlog.ExperimentIdList experiments = 2; * *
       * If present, this is the new set of enabled experiments for this client.
       *  Otherwise, the client should assume that there has been no change in the
       *  set of enabled experiments.
       * 
*/ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList, com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdListOrBuilder> getExperimentsFieldBuilder() { if (experimentsBuilder_ == null) { experimentsBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList, com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdList.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.ExperimentIdListOrBuilder>( experiments_, getParentForChildren(), isClean()); experiments_ = null; } return experimentsBuilder_; } // optional .wireless_android_play_playlog.QosTiersOverride qos_tier = 3; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride qosTier_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride, com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverrideOrBuilder> qosTierBuilder_; /** * optional .wireless_android_play_playlog.QosTiersOverride qos_tier = 3; * *
       * Quality of Service tiers enforced by server for overriding client
       *  qos_tier setting in event logging.
       * 
*/ public boolean hasQosTier() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .wireless_android_play_playlog.QosTiersOverride qos_tier = 3; * *
       * Quality of Service tiers enforced by server for overriding client
       *  qos_tier setting in event logging.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride getQosTier() { if (qosTierBuilder_ == null) { return qosTier_; } else { return qosTierBuilder_.getMessage(); } } /** * optional .wireless_android_play_playlog.QosTiersOverride qos_tier = 3; * *
       * Quality of Service tiers enforced by server for overriding client
       *  qos_tier setting in event logging.
       * 
*/ public Builder setQosTier(com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride value) { if (qosTierBuilder_ == null) { if (value == null) { throw new NullPointerException(); } qosTier_ = value; onChanged(); } else { qosTierBuilder_.setMessage(value); } bitField0_ |= 0x00000004; return this; } /** * optional .wireless_android_play_playlog.QosTiersOverride qos_tier = 3; * *
       * Quality of Service tiers enforced by server for overriding client
       *  qos_tier setting in event logging.
       * 
*/ public Builder setQosTier( com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride.Builder builderForValue) { if (qosTierBuilder_ == null) { qosTier_ = builderForValue.build(); onChanged(); } else { qosTierBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; return this; } /** * optional .wireless_android_play_playlog.QosTiersOverride qos_tier = 3; * *
       * Quality of Service tiers enforced by server for overriding client
       *  qos_tier setting in event logging.
       * 
*/ public Builder mergeQosTier(com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride value) { if (qosTierBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004) && qosTier_ != com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride.getDefaultInstance()) { qosTier_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride.newBuilder(qosTier_).mergeFrom(value).buildPartial(); } else { qosTier_ = value; } onChanged(); } else { qosTierBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /** * optional .wireless_android_play_playlog.QosTiersOverride qos_tier = 3; * *
       * Quality of Service tiers enforced by server for overriding client
       *  qos_tier setting in event logging.
       * 
*/ public Builder clearQosTier() { if (qosTierBuilder_ == null) { qosTier_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride.getDefaultInstance(); onChanged(); } else { qosTierBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } /** * optional .wireless_android_play_playlog.QosTiersOverride qos_tier = 3; * *
       * Quality of Service tiers enforced by server for overriding client
       *  qos_tier setting in event logging.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride.Builder getQosTierBuilder() { bitField0_ |= 0x00000004; onChanged(); return getQosTierFieldBuilder().getBuilder(); } /** * optional .wireless_android_play_playlog.QosTiersOverride qos_tier = 3; * *
       * Quality of Service tiers enforced by server for overriding client
       *  qos_tier setting in event logging.
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverrideOrBuilder getQosTierOrBuilder() { if (qosTierBuilder_ != null) { return qosTierBuilder_.getMessageOrBuilder(); } else { return qosTier_; } } /** * optional .wireless_android_play_playlog.QosTiersOverride qos_tier = 3; * *
       * Quality of Service tiers enforced by server for overriding client
       *  qos_tier setting in event logging.
       * 
*/ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride, com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverrideOrBuilder> getQosTierFieldBuilder() { if (qosTierBuilder_ == null) { qosTierBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride, com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverride.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.QosTiersOverrideOrBuilder>( qosTier_, getParentForChildren(), isClean()); qosTier_ = null; } return qosTierBuilder_; } // optional .wireless_android_play_playlog.LogSourceBatchingBlacklist log_source_batching_blacklist = 4; private com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist logSourceBatchingBlacklist_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklistOrBuilder> logSourceBatchingBlacklistBuilder_; /** * optional .wireless_android_play_playlog.LogSourceBatchingBlacklist log_source_batching_blacklist = 4; * *
       * Enforced by server for telling Clearcut uploader not to group log events
       *  from certain log sources. If it is not set, client will try to group log
       *  events together with the same upload context without considering log
       *  sources restrictions. Upload context includes following info.
       *  1. PlayLoggerContext.isAnonymous
       *  2. PlayLoggerContext.uploadAccountName
       *  3. PlayLoggerContext.zwiebackCookie
       *  4. PlayLoggerContext.qosTier
       * 
*/ public boolean hasLogSourceBatchingBlacklist() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .wireless_android_play_playlog.LogSourceBatchingBlacklist log_source_batching_blacklist = 4; * *
       * Enforced by server for telling Clearcut uploader not to group log events
       *  from certain log sources. If it is not set, client will try to group log
       *  events together with the same upload context without considering log
       *  sources restrictions. Upload context includes following info.
       *  1. PlayLoggerContext.isAnonymous
       *  2. PlayLoggerContext.uploadAccountName
       *  3. PlayLoggerContext.zwiebackCookie
       *  4. PlayLoggerContext.qosTier
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist getLogSourceBatchingBlacklist() { if (logSourceBatchingBlacklistBuilder_ == null) { return logSourceBatchingBlacklist_; } else { return logSourceBatchingBlacklistBuilder_.getMessage(); } } /** * optional .wireless_android_play_playlog.LogSourceBatchingBlacklist log_source_batching_blacklist = 4; * *
       * Enforced by server for telling Clearcut uploader not to group log events
       *  from certain log sources. If it is not set, client will try to group log
       *  events together with the same upload context without considering log
       *  sources restrictions. Upload context includes following info.
       *  1. PlayLoggerContext.isAnonymous
       *  2. PlayLoggerContext.uploadAccountName
       *  3. PlayLoggerContext.zwiebackCookie
       *  4. PlayLoggerContext.qosTier
       * 
*/ public Builder setLogSourceBatchingBlacklist(com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist value) { if (logSourceBatchingBlacklistBuilder_ == null) { if (value == null) { throw new NullPointerException(); } logSourceBatchingBlacklist_ = value; onChanged(); } else { logSourceBatchingBlacklistBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /** * optional .wireless_android_play_playlog.LogSourceBatchingBlacklist log_source_batching_blacklist = 4; * *
       * Enforced by server for telling Clearcut uploader not to group log events
       *  from certain log sources. If it is not set, client will try to group log
       *  events together with the same upload context without considering log
       *  sources restrictions. Upload context includes following info.
       *  1. PlayLoggerContext.isAnonymous
       *  2. PlayLoggerContext.uploadAccountName
       *  3. PlayLoggerContext.zwiebackCookie
       *  4. PlayLoggerContext.qosTier
       * 
*/ public Builder setLogSourceBatchingBlacklist( com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist.Builder builderForValue) { if (logSourceBatchingBlacklistBuilder_ == null) { logSourceBatchingBlacklist_ = builderForValue.build(); onChanged(); } else { logSourceBatchingBlacklistBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /** * optional .wireless_android_play_playlog.LogSourceBatchingBlacklist log_source_batching_blacklist = 4; * *
       * Enforced by server for telling Clearcut uploader not to group log events
       *  from certain log sources. If it is not set, client will try to group log
       *  events together with the same upload context without considering log
       *  sources restrictions. Upload context includes following info.
       *  1. PlayLoggerContext.isAnonymous
       *  2. PlayLoggerContext.uploadAccountName
       *  3. PlayLoggerContext.zwiebackCookie
       *  4. PlayLoggerContext.qosTier
       * 
*/ public Builder mergeLogSourceBatchingBlacklist(com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist value) { if (logSourceBatchingBlacklistBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008) && logSourceBatchingBlacklist_ != com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist.getDefaultInstance()) { logSourceBatchingBlacklist_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist.newBuilder(logSourceBatchingBlacklist_).mergeFrom(value).buildPartial(); } else { logSourceBatchingBlacklist_ = value; } onChanged(); } else { logSourceBatchingBlacklistBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /** * optional .wireless_android_play_playlog.LogSourceBatchingBlacklist log_source_batching_blacklist = 4; * *
       * Enforced by server for telling Clearcut uploader not to group log events
       *  from certain log sources. If it is not set, client will try to group log
       *  events together with the same upload context without considering log
       *  sources restrictions. Upload context includes following info.
       *  1. PlayLoggerContext.isAnonymous
       *  2. PlayLoggerContext.uploadAccountName
       *  3. PlayLoggerContext.zwiebackCookie
       *  4. PlayLoggerContext.qosTier
       * 
*/ public Builder clearLogSourceBatchingBlacklist() { if (logSourceBatchingBlacklistBuilder_ == null) { logSourceBatchingBlacklist_ = com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist.getDefaultInstance(); onChanged(); } else { logSourceBatchingBlacklistBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** * optional .wireless_android_play_playlog.LogSourceBatchingBlacklist log_source_batching_blacklist = 4; * *
       * Enforced by server for telling Clearcut uploader not to group log events
       *  from certain log sources. If it is not set, client will try to group log
       *  events together with the same upload context without considering log
       *  sources restrictions. Upload context includes following info.
       *  1. PlayLoggerContext.isAnonymous
       *  2. PlayLoggerContext.uploadAccountName
       *  3. PlayLoggerContext.zwiebackCookie
       *  4. PlayLoggerContext.qosTier
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist.Builder getLogSourceBatchingBlacklistBuilder() { bitField0_ |= 0x00000008; onChanged(); return getLogSourceBatchingBlacklistFieldBuilder().getBuilder(); } /** * optional .wireless_android_play_playlog.LogSourceBatchingBlacklist log_source_batching_blacklist = 4; * *
       * Enforced by server for telling Clearcut uploader not to group log events
       *  from certain log sources. If it is not set, client will try to group log
       *  events together with the same upload context without considering log
       *  sources restrictions. Upload context includes following info.
       *  1. PlayLoggerContext.isAnonymous
       *  2. PlayLoggerContext.uploadAccountName
       *  3. PlayLoggerContext.zwiebackCookie
       *  4. PlayLoggerContext.qosTier
       * 
*/ public com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklistOrBuilder getLogSourceBatchingBlacklistOrBuilder() { if (logSourceBatchingBlacklistBuilder_ != null) { return logSourceBatchingBlacklistBuilder_.getMessageOrBuilder(); } else { return logSourceBatchingBlacklist_; } } /** * optional .wireless_android_play_playlog.LogSourceBatchingBlacklist log_source_batching_blacklist = 4; * *
       * Enforced by server for telling Clearcut uploader not to group log events
       *  from certain log sources. If it is not set, client will try to group log
       *  events together with the same upload context without considering log
       *  sources restrictions. Upload context includes following info.
       *  1. PlayLoggerContext.isAnonymous
       *  2. PlayLoggerContext.uploadAccountName
       *  3. PlayLoggerContext.zwiebackCookie
       *  4. PlayLoggerContext.qosTier
       * 
*/ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklistOrBuilder> getLogSourceBatchingBlacklistFieldBuilder() { if (logSourceBatchingBlacklistBuilder_ == null) { logSourceBatchingBlacklistBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklist.Builder, com.google.wireless.android.play.playlog.proto.ClientAnalytics.LogSourceBatchingBlacklistOrBuilder>( logSourceBatchingBlacklist_, getParentForChildren(), isClean()); logSourceBatchingBlacklist_ = null; } return logSourceBatchingBlacklistBuilder_; } // @@protoc_insertion_point(builder_scope:wireless_android_play_playlog.LogResponse) } static { defaultInstance = new LogResponse(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:wireless_android_play_playlog.LogResponse) } private static com.google.protobuf.Descriptors.Descriptor internal_static_wireless_android_play_playlog_LogEventKeyValues_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_wireless_android_play_playlog_LogEventKeyValues_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_wireless_android_play_playlog_ActiveExperiments_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_wireless_android_play_playlog_ActiveExperiments_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_wireless_android_play_playlog_LogEvent_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_wireless_android_play_playlog_LogEvent_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_wireless_android_play_playlog_NetworkConnectionInfo_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_wireless_android_play_playlog_NetworkConnectionInfo_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_wireless_android_play_playlog_ExperimentIds_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_wireless_android_play_playlog_ExperimentIds_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_wireless_android_play_playlog_AndroidClientInfo_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_wireless_android_play_playlog_AndroidClientInfo_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_wireless_android_play_playlog_BrowserInfo_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_wireless_android_play_playlog_BrowserInfo_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_wireless_android_play_playlog_DesktopClientInfo_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_wireless_android_play_playlog_DesktopClientInfo_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_wireless_android_play_playlog_IosClientInfo_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_wireless_android_play_playlog_IosClientInfo_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_wireless_android_play_playlog_PancettaClientInfo_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_wireless_android_play_playlog_PancettaClientInfo_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_wireless_android_play_playlog_PlayCeClientInfo_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_wireless_android_play_playlog_PlayCeClientInfo_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_wireless_android_play_playlog_VrClientInfo_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_wireless_android_play_playlog_VrClientInfo_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_wireless_android_play_playlog_JsClientInfo_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_wireless_android_play_playlog_JsClientInfo_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_wireless_android_play_playlog_ClientInfo_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_wireless_android_play_playlog_ClientInfo_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_wireless_android_play_playlog_ExperimentIdList_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_wireless_android_play_playlog_ExperimentIdList_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_wireless_android_play_playlog_AppUsage1pLogEvent_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_wireless_android_play_playlog_AppUsage1pLogEvent_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_wireless_android_play_playlog_BatchedLogRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_wireless_android_play_playlog_BatchedLogRequest_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_wireless_android_play_playlog_LogRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_wireless_android_play_playlog_LogRequest_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_wireless_android_play_playlog_DeviceStatus_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_wireless_android_play_playlog_DeviceStatus_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_wireless_android_play_playlog_ExternalTimestamp_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_wireless_android_play_playlog_ExternalTimestamp_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_wireless_android_play_playlog_QosTierConfiguration_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_wireless_android_play_playlog_QosTierConfiguration_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_wireless_android_play_playlog_QosTiersOverride_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_wireless_android_play_playlog_QosTiersOverride_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_wireless_android_play_playlog_LogSourceBatchingBlacklist_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_wireless_android_play_playlog_LogSourceBatchingBlacklist_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_wireless_android_play_playlog_LogResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_wireless_android_play_playlog_LogResponse_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\025clientanalytics.proto\022\035wireless_androi" + "d_play_playlog\"/\n\021LogEventKeyValues\022\013\n\003k" + "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"\247\001\n\021ActiveExperi" + "ments\022\"\n\032client_altering_experiment\030\001 \003(" + "\t\022\030\n\020other_experiment\030\002 \003(\t\022\026\n\016gws_exper" + "iment\030\003 \003(\005\022\027\n\017play_experiment\030\004 \003(\003\022#\n\033" + "unsupported_play_experiment\030\005 \003(\003\"\227\007\n\010Lo" + "gEvent\022\025\n\revent_time_ms\030\001 \001(\003\022\027\n\017event_u" + "ptime_ms\030\021 \001(\003\022\031\n\021sequence_position\030\025 \001(" + "\003\022\013\n\003tag\030\002 \001(\t\022\022\n\nevent_code\030\013 \001(\005\022\025\n\rev", "ent_flow_id\030\014 \001(\005\022\031\n\021is_user_initiated\030\n" + " \001(\010\022?\n\005value\030\003 \003(\01320.wireless_android_p" + "lay_playlog.LogEventKeyValues\022\r\n\005store\030\004" + " \001(\014\022G\n\014app_usage_1p\030\t \001(\01321.wireless_an" + "droid_play_playlog.AppUsage1pLogEvent\022\030\n" + "\020source_extension\030\006 \001(\014\022\033\n\023source_extens" + "ion_js\030\010 \001(\t\022\035\n\025source_extension_json\030\r " + "\001(\t\022=\n\003exp\030\007 \001(\01320.wireless_android_play" + "_playlog.ActiveExperiments\022\017\n\007test_id\030\016 " + "\001(\t\022\'\n\027timezone_offset_seconds\030\017 \001(\022:\00618", "0000\022D\n\016experiment_ids\030\020 \001(\0132,.wireless_" + "android_play_playlog.ExperimentIds\022\021\n\tcl" + "ient_ve\030\022 \001(\014\022\024\n\014client_ve_js\030\030 \001(\t\022M\n\016i" + "nternal_event\030\023 \001(\01625.wireless_android_p" + "lay_playlog.LogEvent.InternalEvent\022\021\n\tte" + "st_code\030\024 \003(\005\022\022\n\nboot_count\030\026 \001(\003\022U\n\027net" + "work_connection_info\030\027 \001(\01324.wireless_an" + "droid_play_playlog.NetworkConnectionInfo" + "\">\n\rInternalEvent\022\010\n\004NONE\020\000\022\022\n\016WALL_CLOC" + "K_SET\020\001\022\017\n\013DEVICE_BOOT\020\002*\t\010\350\007\020\200\200\200\200\002\"\234\003\n\025", "NetworkConnectionInfo\022\\\n\014network_type\030\001 " + "\001(\0162@.wireless_android_play_playlog.Netw" + "orkConnectionInfo.NetworkType:\004NONE\"\244\002\n\013" + "NetworkType\022\021\n\004NONE\020\377\377\377\377\377\377\377\377\377\001\022\n\n\006MOBILE" + "\020\000\022\010\n\004WIFI\020\001\022\016\n\nMOBILE_MMS\020\002\022\017\n\013MOBILE_S" + "UPL\020\003\022\016\n\nMOBILE_DUN\020\004\022\020\n\014MOBILE_HIPRI\020\005\022" + "\t\n\005WIMAX\020\006\022\r\n\tBLUETOOTH\020\007\022\t\n\005DUMMY\020\010\022\014\n\010" + "ETHERNET\020\t\022\017\n\013MOBILE_FOTA\020\n\022\016\n\nMOBILE_IM" + "S\020\013\022\016\n\nMOBILE_CBS\020\014\022\014\n\010WIFI_P2P\020\r\022\r\n\tMOB" + "ILE_IA\020\016\022\024\n\020MOBILE_EMERGENCY\020\017\022\t\n\005PROXY\020", "\020\022\007\n\003VPN\020\021\"g\n\rExperimentIds\022\022\n\nclear_blo" + "b\030\001 \001(\014\022\025\n\rclear_blob_js\030\004 \001(\t\022\026\n\016encryp" + "ted_blob\030\002 \003(\014\022\023\n\013users_match\030\003 \001(\010\"\334\003\n\021" + "AndroidClientInfo\022\022\n\nandroid_id\030\001 \001(\003\022\022\n" + "\nlogging_id\030\002 \001(\t\022\021\n\tdevice_id\030\022 \001(\003\022\023\n\013" + "sdk_version\030\003 \001(\005\022\r\n\005model\030\004 \001(\t\022\017\n\007prod" + "uct\030\005 \001(\t\022\020\n\010hardware\030\010 \001(\t\022\016\n\006device\030\t " + "\001(\t\022\020\n\010os_build\030\006 \001(\t\022\031\n\021application_bui" + "ld\030\007 \001(\t\022\017\n\007mcc_mnc\030\n \001(\t\022\016\n\006locale\030\013 \001(" + "\t\022\017\n\007country\030\014 \001(\t\022\024\n\014manufacturer\030\r \001(\t", "\022\r\n\005brand\030\016 \001(\t\022\r\n\005board\030\017 \001(\t\022\025\n\rradio_" + "version\030\020 \001(\t\022\023\n\013fingerprint\030\021 \001(\t\022\035\n\025gm" + "s_core_version_code\030\023 \001(\005\022\034\n\024is_sidewind" + "er_device\030\024 \001(\010\022\033\n\023chimera_config_info\030\025" + " \001(\014\022\034\n\024using_log_source_int\030\026 \001(\010\"^\n\013Br" + "owserInfo\022\016\n\006locale\030\001 \001(\t\022\017\n\007browser\030\002 \001" + "(\t\022\027\n\017browser_version\030\003 \001(\t\022\025\n\rflash_ver" + "sion\030\004 \001(\t\"\245\001\n\021DesktopClientInfo\022\021\n\tclie" + "nt_id\030\001 \001(\t\022\022\n\nlogging_id\030\002 \001(\t\022\n\n\002os\030\003 " + "\001(\t\022\030\n\020os_major_version\030\004 \001(\t\022\027\n\017os_full", "_version\030\005 \001(\t\022\031\n\021application_build\030\006 \001(" + "\t\022\017\n\007country\030\007 \001(\t\"\273\001\n\rIosClientInfo\022\021\n\t" + "client_id\030\001 \001(\t\022\022\n\nlogging_id\030\002 \001(\t\022\030\n\020o" + "s_major_version\030\003 \001(\t\022\027\n\017os_full_version" + "\030\004 \001(\t\022\031\n\021application_build\030\005 \001(\t\022\017\n\007cou" + "ntry\030\006 \001(\t\022\r\n\005model\030\007 \001(\t\022\025\n\rlanguage_co" + "de\030\010 \001(\t\"\270\002\n\022PancettaClientInfo\022\021\n\tdevic" + "e_id\030\001 \001(\t\022D\n\002os\030\002 \001(\01628.wireless_androi" + "d_play_playlog.PancettaClientInfo.OsType" + "\022\016\n\006app_id\030\003 \001(\t\022\023\n\013app_version\030\004 \001(\t\022\017\n", "\007mcc_mnc\030\005 \001(\t\"\222\001\n\006OsType\022\023\n\017OS_TYPE_UNK" + "NOWN\020\000\022\017\n\013OS_TYPE_MAC\020\001\022\023\n\017OS_TYPE_WINDO" + "WS\020\002\022\023\n\017OS_TYPE_ANDROID\020\003\022\020\n\014OS_TYPE_CRO" + "S\020\004\022\021\n\rOS_TYPE_LINUX\020\005\022\023\n\017OS_TYPE_OPENBS" + "D\020\006\"\234\001\n\020PlayCeClientInfo\022\021\n\tclient_id\030\001 " + "\001(\t\022\022\n\nlogging_id\030\007 \001(\t\022\014\n\004make\030\003 \001(\t\022\r\n" + "\005model\030\004 \001(\t\022\031\n\021application_build\030\005 \001(\t\022" + "\030\n\020platform_version\030\006 \001(\t\022\017\n\007country\030\010 \001" + "(\t\"\240\003\n\014VrClientInfo\022P\n\016vr_client_type\030\001 " + "\001(\01628.wireless_android_play_playlog.VrCl", "ientInfo.VrClientType\022\023\n\013sdk_version\030\002 \001" + "(\t\022\023\n\013fingerprint\030\003 \001(\t\022\023\n\013gvr_version\030\004" + " \001(\t\022\024\n\014manufacturer\030\005 \001(\t\022\r\n\005model\030\006 \001(" + "\t\022\020\n\010language\030\007 \001(\t\022\017\n\007country\030\010 \001(\t\022\025\n\r" + "unity_version\030\t \001(\t\022\031\n\021unity_sdk_version" + "\030\n \001(\t\"\204\001\n\014VrClientType\022\013\n\007UNKNOWN\020\000\022\031\n\025" + "ANDROID_CARDBOARD_SDK\020\001\022\025\n\021IOS_CARDBOARD" + "_SDK\020\002\022\025\n\021ANDROID_UNITY_SDK\020\003\022\021\n\rIOS_UNI" + "TY_SDK\020\004\022\013\n\007WINDOWS\020\005\"\230\003\n\014JsClientInfo\022\n" + "\n\002os\030\001 \001(\t\022\022\n\nos_version\030\002 \001(\t\022K\n\013device", "_type\030\003 \001(\01626.wireless_android_play_play" + "log.JsClientInfo.DeviceType\022\017\n\007country\030\004" + " \001(\t\022\016\n\006locale\030\005 \001(\t\022C\n\007os_type\030\006 \001(\01622." + "wireless_android_play_playlog.JsClientIn" + "fo.OsType\"u\n\006OsType\022\016\n\nOS_UNKNOWN\020\000\022\007\n\003M" + "AC\020\001\022\013\n\007WINDOWS\020\002\022\013\n\007ANDROID\020\003\022\t\n\005LINUX\020" + "\004\022\r\n\tCHROME_OS\020\005\022\010\n\004IPAD\020\006\022\n\n\006IPHONE\020\007\022\010" + "\n\004IPOD\020\010\">\n\nDeviceType\022\013\n\007UNKNOWN\020\000\022\n\n\006M" + "OBILE\020\001\022\n\n\006TABLET\020\002\022\013\n\007DESKTOP\020\003\"\326\006\n\nCli" + "entInfo\022I\n\013client_type\030\001 \001(\01624.wireless_", "android_play_playlog.ClientInfo.ClientTy" + "pe\022\023\n\013remote_host\030\006 \001(\t\022\024\n\014remote_host6\030" + "\007 \001(\t\022M\n\023android_client_info\030\002 \001(\01320.wir" + "eless_android_play_playlog.AndroidClient" + "Info\022M\n\023desktop_client_info\030\003 \001(\01320.wire" + "less_android_play_playlog.DesktopClientI" + "nfo\022E\n\017ios_client_info\030\004 \001(\0132,.wireless_" + "android_play_playlog.IosClientInfo\022L\n\023pl" + "ay_ce_client_info\030\005 \001(\0132/.wireless_andro" + "id_play_playlog.PlayCeClientInfo\022C\n\016vr_c", "lient_info\030\010 \001(\0132+.wireless_android_play" + "_playlog.VrClientInfo\022O\n\024pancetta_client" + "_info\030\n \001(\01321.wireless_android_play_play" + "log.PancettaClientInfo\022@\n\014browser_info\030\t" + " \001(\0132*.wireless_android_play_playlog.Bro" + "wserInfo\022C\n\016js_client_info\030\013 \001(\0132+.wirel" + "ess_android_play_playlog.JsClientInfo\"\201\001" + "\n\nClientType\022\013\n\007UNKNOWN\020\000\022\006\n\002JS\020\001\022\013\n\007DES" + "KTOP\020\002\022\007\n\003IOS\020\003\022\013\n\007ANDROID\020\004\022\013\n\007PLAY_CE\020" + "\005\022\n\n\006PYTHON\020\006\022\006\n\002VR\020\007\022\014\n\010PANCETTA\020\010\022\014\n\010D", "RIVE_FS\020\t\"\036\n\020ExperimentIdList\022\n\n\002id\030\001 \003(" + "\t\"U\n\022AppUsage1pLogEvent\022\020\n\010app_type\030\001 \001(" + "\005\022\034\n\024android_package_name\030\002 \001(\t\022\017\n\007versi" + "on\030\003 \001(\t\"S\n\021BatchedLogRequest\022>\n\013log_req" + "uest\030\001 \003(\0132).wireless_android_play_playl" + "og.LogRequest\"\320:\n\nLogRequest\022\027\n\017request_" + "time_ms\030\004 \001(\003\022\031\n\021request_uptime_ms\030\010 \001(\003" + "\022>\n\013client_info\030\001 \001(\0132).wireless_android" + "_play_playlog.ClientInfo\022P\n\nlog_source\030\002" + " \001(\01623.wireless_android_play_playlog.Log", "Request.LogSource:\007UNKNOWN\022\027\n\017log_source" + "_name\030\006 \001(\t\022\027\n\017zwieback_cookie\030\007 \001(\t\022:\n\t" + "log_event\030\003 \003(\0132\'.wireless_android_play_" + "playlog.LogEvent\022\035\n\025serialized_log_event" + "s\030\005 \003(\014\022V\n\010qos_tier\030\t \001(\0162;.wireless_and" + "roid_play_playlog.QosTierConfiguration.Q" + "osTier:\007DEFAULT\022J\n\tscheduler\030\n \001(\01627.wir" + "eless_android_play_playlog.LogRequest.Sc" + "hedulerType\022B\n\rdevice_status\030\013 \001(\0132+.wir" + "eless_android_play_playlog.DeviceStatus\022", "L\n\022external_timestamp\030\014 \001(\01320.wireless_a" + "ndroid_play_playlog.ExternalTimestamp\"\2314" + "\n\tLogSource\022\024\n\007UNKNOWN\020\377\377\377\377\377\377\377\377\377\001\022\t\n\005STO" + "RE\020\000\022\r\n\tWEB_STORE\020A\022\017\n\nWORK_STORE\020\204\001\022\023\n\016" + "WORK_STORE_APP\020\205\002\022\r\n\tEDU_STORE\020\017\022\t\n\005MUSI" + "C\020\001\022\t\n\005BOOKS\020\002\022\t\n\005VIDEO\020\003\022\n\n\006MOVIES\020J\022\r\n" + "\tMAGAZINES\020\004\022\t\n\005GAMES\020\005\022\010\n\004LB_A\020\006\022\017\n\013AND" + "ROID_IDE\020\007\022\010\n\004LB_P\020\010\022\010\n\004LB_S\020\t\022\014\n\010GMS_CO" + "RE\020\n\022\020\n\014APP_USAGE_1P\020\013\022\t\n\005ICING\020\014\022\014\n\010HER" + "REVAD\020\r\022\r\n\tGOOGLE_TV\020\016\022\023\n\017GMS_CORE_PEOPL", "E\020\020\022\006\n\002LE\020\021\022\024\n\020GOOGLE_ANALYTICS\020\022\022\010\n\004LB_" + "D\020\023\022\017\n\013ANDROID_GSA\020\024\022\010\n\004LB_T\020\025\022\023\n\017PERSON" + "AL_LOGGER\020\026\022\033\n\027PERSONAL_BROWSER_LOGGER\020%" + "\022\"\n\036GMS_CORE_WALLET_MERCHANT_ERROR\020\027\022\010\n\004" + "LB_C\020\030\022\t\n\005LB_IA\0204\022\n\n\005LB_CB\020\355\001\022\n\n\005LB_DM\020\214" + "\002\022\020\n\014ANDROID_AUTH\020\031\022\022\n\016ANDROID_CAMERA\020\032\022" + "\006\n\002CW\020\033\022\020\n\013CW_COUNTERS\020\363\001\022\007\n\003GEL\020\034\022\016\n\nDN" + "A_PROBER\020\035\022\007\n\003UDR\020\036\022\023\n\017GMS_CORE_WALLET\020\037" + "\022\n\n\006SOCIAL\020 \022\022\n\016INSTORE_WALLET\020!\022\010\n\004NOVA" + "\020\"\022\t\n\005LB_CA\020#\022\r\n\tLATIN_IME\020$\022\020\n\014NEWS_WEA", "THER\020&\022\013\n\007HANGOUT\020\'\022\027\n\023HANGOUT_LOG_REQUE" + "ST\0202\022\016\n\nCOPRESENCE\020(\022\023\n\017SOCIAL_AFFINITY\020" + ")\022\n\n\006PHOTOS\020*\022\007\n\003GCM\020+\022\n\n\006GOKART\020,\022\t\n\005FI" + "NDR\020-\022\025\n\021ANDROID_MESSAGING\020.\022\016\n\nSOCIAL_W" + "EB\020/\022\014\n\010BACKDROP\0200\022\016\n\nTELEMATICS\0201\022\021\n\rGV" + "C_HARVESTER\0203\022\007\n\003CAR\0205\022\021\n\rPIXEL_PERFECT\020" + "6\022\t\n\005DRIVE\0207\022\010\n\004DOCS\0208\022\n\n\006SHEETS\0209\022\n\n\006SL" + "IDES\020:\022\007\n\003IME\020;\022\010\n\004WARP\020<\022\022\n\016NFC_PROGRAM" + "MER\020=\022\014\n\010NETSTATS\020>\022\r\n\tNEWSSTAND\020?\022\025\n\021KI" + "DS_COMMUNICATOR\020@\022\022\n\016WIFI_ASSISTANT\020B\022\023\n", "\017CAST_SENDER_SDK\020C\022\021\n\rCRONET_SOCIAL\020D\022\r\n" + "\tPHENOTYPE\020E\022\026\n\022PHENOTYPE_COUNTERS\020F\022\020\n\014" + "CHROME_INFRA\020G\022\r\n\tJUSTSPEAK\020H\022\020\n\014PERF_PR" + "OFILE\020I\022\013\n\007KATNISS\020K\022\024\n\020SOCIAL_APPINVITE" + "\020L\022\020\n\014GMM_COUNTERS\020M\022\022\n\016BOND_ONEGOOGLE\020N" + "\022\014\n\010MAPS_API\020O\022\026\n\021CRONET_ANDROID_YT\020\304\001\022\026" + "\n\022CRONET_ANDROID_GSA\020P\022\027\n\023GOOGLE_FIT_WEA" + "RABLE\020Q\022\024\n\017FITNESS_ANDROID\020\251\001\022\025\n\020FITNESS" + "_GMS_CORE\020\252\001\022\022\n\016GOOGLE_EXPRESS\020R\022\027\n\022GOOG" + "LE_EXPRESS_DEV\020\327\001\022*\n%GOOGLE_EXPRESS_COUR", "IER_ANDROID_PRIMES\020\344\001\022\"\n\035GOOGLE_EXPRESS_" + "ANDROID_PRIMES\020\345\001\022+\n&GOOGLE_EXPRESS_STOR" + "EOMS_ANDROID_PRIMES\020\360\001\022\t\n\005SENSE\020S\022\022\n\016AND" + "ROID_BACKUP\020T\022\006\n\002VR\020U\022\020\n\014IME_COUNTERS\020V\022" + "\020\n\014SETUP_WIZARD\020W\022\024\n\020EMERGENCY_ASSIST\020X\022" + "\010\n\004TRON\020Y\022\021\n\rTRON_COUNTERS\020Z\022\021\n\rBATTERY_" + "STATS\020[\022\016\n\nDISK_STATS\020\\\022\022\n\016GRAPHICS_STAT" + "S\020k\022\016\n\nPROC_STATS\020]\022\r\n\010DROP_BOX\020\203\001\022\026\n\021FI" + "NGERPRINT_STATS\020\265\001\022\027\n\022NOTIFICATION_STATS" + "\020\266\001\022\025\n\021TAP_AND_PAY_GCORE\020^\022\016\n\nA11YLOGGER", "\020_\022\020\n\014GCM_COUNTERS\020`\022\031\n\025PLACES_NO_GLS_CO" + "NSENT\020a\022\027\n\023TACHYON_LOG_REQUEST\020b\022\024\n\020TACH" + "YON_COUNTERS\020c\022\n\n\006VISION\020d\022\030\n\024SOCIAL_USE" + "R_LOCATION\020e\022\022\n\016LAUNCHPAD_TOYS\020f\022\024\n\020META" + "LOG_COUNTERS\020g\022\024\n\020MOBILESDK_CLIENT\020h\022\027\n\023" + "ANDROID_VERIFY_APPS\020i\022\014\n\010ADSHIELD\020j\022\013\n\007S" + "HERLOG\020l\022\023\n\017LE_ULR_COUNTERS\020m\022\013\n\007GMM_UE3" + "\020n\022\014\n\010CALENDAR\020o\022\t\n\005ENDER\020p\022\022\n\016FAMILY_CO" + "MPASS\020q\022\013\n\007TRANSOM\020r\022\024\n\020TRANSOM_COUNTERS" + "\020s\022\t\n\005LB_AS\020t\022\n\n\006LB_CFG\020u\022\013\n\007IOS_GSA\020v\022\023", "\n\017TAP_AND_PAY_APP\020w\022\035\n\030TAP_AND_PAY_APP_C" + "OUNTERS\020\211\002\022\014\n\010FLYDROID\020x\022\016\n\nCPANEL_APP\020y" + "\022\026\n\022ANDROID_SNET_GCORE\020z\022\025\n\021ANDROID_SNET" + "_IDLE\020{\022\024\n\020ANDROID_SNET_JAR\020|\022\023\n\017CONTEXT" + "_MANAGER\020}\022\r\n\tCLASSROOM\020~\022\016\n\nTAILORMADE\020" + "\177\022\t\n\004KEEP\020\200\001\022\027\n\022GMM_BRIIM_COUNTERS\020\201\001\022\027\n" + "\022CHROMECAST_APP_LOG\020\202\001\022\023\n\016ADWORDS_MOBILE" + "\020\205\001\022\023\n\016LEANBACK_EVENT\020\206\001\022\022\n\rANDROID_GMAI" + "L\020\207\001\022\017\n\nSAMPLE_SHM\020\210\001\022\031\n\024GPLUS_ANDROID_P" + "RIMES\020\214\001\022 \n\033GPLUS_ANDROID_SYSTEM_HEALTH\020", "\214\001\022\031\n\024GMAIL_ANDROID_PRIMES\020\226\001\022 \n\033GMAIL_A" + "NDROID_SYSTEM_HEALTH\020\226\001\022\034\n\027CALENDAR_ANDR" + "OID_PRIMES\020\227\001\022#\n\036CALENDAR_ANDROID_SYSTEM" + "_HEALTH\020\227\001\022\030\n\023DOCS_ANDROID_PRIMES\020\230\001\022\037\n\032" + "DOCS_ANDROID_SYSTEM_HEALTH\020\230\001\022\037\n\032YT_MAIN" + "_APP_ANDROID_PRIMES\020\232\001\022\033\n\026YT_KIDS_ANDROI" + "D_PRIMES\020\233\001\022\035\n\030YT_GAMING_ANDROID_PRIMES\020" + "\234\001\022\034\n\027YT_MUSIC_ANDROID_PRIMES\020\235\001\022\033\n\026YT_L" + "ITE_ANDROID_PRIMES\020\236\001\022\036\n\031YT_CREATOR_ANDR" + "OID_PRIMES\020\253\001\022\027\n\022JAM_ANDROID_PRIMES\020\237\001\022\035", "\n\030JAM_KIOSK_ANDROID_PRIMES\020\240\001\022\032\n\025PHOTOS_" + "ANDROID_PRIMES\020\245\001\022\031\n\024DRIVE_ANDROID_PRIME" + "S\020\246\001\022\032\n\025SHEETS_ANDROID_PRIMES\020\247\001\022\032\n\025SLID" + "ES_ANDROID_PRIMES\020\250\001\022\034\n\027SNAPSEED_ANDROID" + "_PRIMES\020\262\001\022\034\n\027HANGOUTS_ANDROID_PRIMES\020\263\001" + "\022\031\n\024INBOX_ANDROID_PRIMES\020\264\001\022\025\n\020INBOX_IOS" + "_PRIMES\020\206\002\022\023\n\016SDP_IOS_PRIMES\020\237\002\022\033\n\026GMSCO" + "RE_ANDROID_PRIMES\020\301\001\022#\n\036PLAY_MUSIC_ANDRO" + "ID_WEAR_PRIMES\020\310\001\022\034\n\027GEARHEAD_ANDROID_PR" + "IMES\020\311\001\022\034\n\027INSTORE_CONSUMER_PRIMES\020\317\001\022\026\n", "\021SAMPLE_IOS_PRIMES\020\312\001\022\032\n\025CPANEL_ANDROID_" + "PRIMES\020\325\001\022\032\n\025HUDDLE_ANDROID_PRIMES\020\326\001\022\027\n" + "\022AWX_ANDROID_PRIMES\020\336\001\022\027\n\022GHS_ANDROID_PR" + "IMES\020\337\001\022\"\n\035ADWORDS_MOBILE_ANDROID_PRIMES" + "\020\340\001\022\037\n\032TAP_AND_PAY_ANDROID_PRIMES\020\343\001\022\036\n\031" + "WALLET_APP_ANDROID_PRIMES\020\350\001\022\032\n\025WALLET_A" + "PP_IOS_PRIMES\020\351\001\022\035\n\030ANALYTICS_ANDROID_PR" + "IMES\020\353\001\022\032\n\025SPACES_ANDROID_PRIMES\020\354\001\022\026\n\021S" + "PACES_IOS_PRIMES\020\224\002\022\033\n\026SOCIETY_ANDROID_P" + "RIMES\020\356\001\022\025\n\020GMM_BRIIM_PRIMES\020\357\001\022\016\n\tCW_PR", "IMES\020\362\001\022\036\n\031FAMILYLINK_ANDROID_PRIMES\020\364\001\022" + "\032\n\025FAMILYLINK_IOS_PRIMES\020\243\002\022\016\n\tWH_PRIMES" + "\020\370\001\022\030\n\023NOVA_ANDROID_PRIMES\020\371\001\022!\n\034PHOTOS_" + "DRAPER_ANDROID_PRIMES\020\375\001\022\017\n\nGMM_PRIMES\020\376" + "\001\022\035\n\030TRANSLATE_ANDROID_PRIMES\020\377\001\022\031\n\024TRAN" + "SLATE_IOS_PRIMES\020\200\002\022\034\n\027FLYDROID_ANDROID_" + "PRIMES\020\203\002\022\026\n\021CONSUMERIQ_PRIMES\020\204\002\022\027\n\022GMB" + "_ANDROID_PRIMES\020\207\002\022\024\n\017CLOUDDPC_PRIMES\020\260\002" + "\022\030\n\023CLOUDDPC_ARC_PRIMES\020\261\002\022\n\n\005ICORE\020\211\001\022\031" + "\n\024PANCETTA_MOBILE_HOST\020\212\001\022\"\n\035PANCETTA_MO", "BILE_HOST_COUNTERS\020\213\001\022\034\n\027CROSSDEVICENOTI" + "FICATION\020\215\001\022 \n\033CROSSDEVICENOTIFICATION_D" + "EV\020\216\001\022\026\n\021MAPS_API_COUNTERS\020\217\001\022\010\n\003GPU\020\220\001\022" + "\016\n\tON_THE_GO\020\221\001\022\027\n\022ON_THE_GO_COUNTERS\020\222\001" + "\022!\n\034GMS_CORE_PEOPLE_AUTOCOMPLETE\020\223\001\022\026\n\021F" + "LYDROID_COUNTERS\020\224\001\022\r\n\010FIREBALL\020\225\001\022\026\n\021FI" + "REBALL_COUNTERS\020\201\002\022\024\n\017CRONET_FIREBALL\020\257\002" + "\022\024\n\017FIREBALL_PRIMES\020\212\002\022\030\n\023FIREBALL_IOS_P" + "RIMES\020\271\002\022,\n\'GOOGLE_HANDWRITING_INPUT_AND" + "ROID_PRIMES\020\272\002\022\016\n\tPYROCLASM\020\231\001\022\031\n\024ANDROI", "D_GSA_COUNTERS\020\241\001\022\024\n\017JAM_IMPRESSIONS\020\242\001\022" + "\032\n\025JAM_KIOSK_IMPRESSIONS\020\243\001\022\021\n\014PAYMENTS_" + "OCR\020\244\001\022\036\n\031UNICORN_FAMILY_MANAGEMENT\020\254\001\022\014" + "\n\007AUDITOR\020\255\001\022\r\n\010NQLOOKUP\020\256\001\022%\n ANDROID_G" + "SA_HIGH_PRIORITY_EVENTS\020\257\001\022\023\n\016ANDROID_DI" + "ALER\020\260\001\022\022\n\rCLEARCUT_DEMO\020\261\001\022\017\n\nAPPMANAGE" + "R\020\267\001\022\027\n\022SMARTLOCK_COUNTERS\020\270\001\022\026\n\021EXPEDIT" + "IONS_GUIDE\020\271\001\022\t\n\004FUSE\020\272\001\022&\n!PIXEL_PERFEC" + "T_CLIENT_STATE_LOGGER\020\273\001\022\034\n\027PLATFORM_STA" + "TS_COUNTERS\020\274\001\022\021\n\014DRIVE_VIEWER\020\275\001\022\017\n\nPDF", "_VIEWER\020\276\001\022\013\n\006BIGTOP\020\277\001\022\n\n\005VOICE\020\300\001\022\014\n\007M" + "YFIBER\020\302\001\022\023\n\016RECORDED_PAGES\020\303\001\022\014\n\007MOB_DO" + "G\020\305\001\022\017\n\nWALLET_APP\020\306\001\022\013\n\006GBOARD\020\307\001\022\017\n\nCR" + "ONET_GMM\020\313\001\022\021\n\014TRUSTED_FACE\020\314\001\022\017\n\nMATCHS" + "TICK\020\315\001\022\020\n\013APP_CATALOG\020\316\001\022\016\n\tBLUETOOTH\020\320" + "\001\022\t\n\004WIFI\020\321\001\022\014\n\007TELECOM\020\322\001\022\016\n\tTELEPHONY\020" + "\323\001\022\026\n\021IDENTITY_FRONTEND\020\324\001\022\013\n\006SESAME\020\330\001\022" + "\034\n\027GOOGLE_KEYBOARD_CONTENT\020\331\001\022\013\n\006MADDEN\020" + "\332\001\022\010\n\003INK\020\333\001\022\025\n\020ANDROID_CONTACTS\020\334\001\022\035\n\030G" + "OOGLE_KEYBOARD_COUNTERS\020\335\001\022\024\n\017CLEARCUT_P", "ROBER\020\341\001\022\025\n\020PLAY_CONSOLE_APP\020\342\001\022\034\n\027PLAY_" + "CONSOLE_APP_PRIMES\020\210\002\022\r\n\010SPECTRUM\020\346\001\022\026\n\021" + "SPECTRUM_COUNTERS\020\347\001\022\034\n\027SPECTRUM_ANDROID" + "_PRIMES\020\213\002\022!\n\034IOS_SPOTLIGHT_SEARCH_LIBRA" + "RY\020\352\001\022\014\n\007BOQ_WEB\020\361\001\022\031\n\024ORCHESTRATION_CLI" + "ENT\020\365\001\022\035\n\030ORCHESTRATION_CLIENT_DEV\020\366\001\022\030\n" + "\023GOOGLE_NOW_LAUNCHER\020\367\001\022\033\n\026SCOOBY_SPAM_R" + "EPORT_LOG\020\372\001\022\017\n\nIOS_GROWTH\020\373\001\022\020\n\013APPS_NO" + "TIFY\020\374\001\022\021\n\014SMARTKEY_APP\020\215\002\022\025\n\020CLINICAL_S" + "TUDIES\020\216\002\022\033\n\026FITNESS_ANDROID_PRIMES\020\217\002\022\020", "\n\013IMPROV_APPS\020\220\002\022\017\n\nFAMILYLINK\020\221\002\022\030\n\023FAM" + "ILYLINK_COUNTERS\020\222\002\022\014\n\007SOCIETY\020\223\002\022\032\n\025DIA" + "LER_ANDROID_PRIMES\020\225\002\022\031\n\024YOUTUBE_DIRECTO" + "R_APP\020\226\002\022\033\n\026TACHYON_ANDROID_PRIMES\020\227\002\022\r\n" + "\010DRIVE_FS\020\230\002\022\014\n\007YT_MAIN\020\231\002\022$\n\037WING_MARKE" + "TPLACE_ANDROID_PRIMES\020\232\002\022\r\n\010DYNAMITE\020\233\002\022" + "\026\n\021CORP_ANDROID_FOOD\020\234\002\022\035\n\030ANDROID_MESSA" + "GING_PRIMES\020\235\002\022\025\n\020GPLUS_IOS_PRIMES\020\236\002\022\036\n" + "\031CHROMECAST_ANDROID_PRIMES\020\240\002\022\021\n\014APPSTRE" + "AMING\020\241\002\022\020\n\013GMB_ANDROID\020\242\002\022\025\n\020VOICE_IOS_", "PRIMES\020\244\002\022\031\n\024VOICE_ANDROID_PRIMES\020\245\002\022\n\n\005" + "PAISA\020\246\002\022\014\n\007GMB_IOS\020\247\002\022\022\n\rSCOOBY_EVENTS\020" + "\250\002\022\030\n\023SNAPSEED_IOS_PRIMES\020\251\002\022 \n\033YOUTUBE_" + "DIRECTOR_IOS_PRIMES\020\252\002\022\025\n\020WALLPAPER_PICK" + "ER\020\253\002\022\n\n\005CHIME\020\254\002\022\021\n\014BEACON_GCORE\020\255\002\022\023\n\016" + "ANDROID_STUDIO\020\256\002\022\021\n\014DOCS_OFFLINE\020\262\002\022\016\n\t" + "FREIGHTER\020\263\002\022\024\n\017DOCS_IOS_PRIMES\020\264\002\022\026\n\021SL" + "IDES_IOS_PRIMES\020\265\002\022\026\n\021SHEETS_IOS_PRIMES\020" + "\266\002\022\023\n\016IPCONNECTIVITY\020\267\002\022\014\n\007CURATOR\020\270\002\032\002\020" + "\001\"\221\001\n\rSchedulerType\022\025\n\021UNKNOWN_SCHEDULER", "\020\000\022\010\n\004ASAP\020\001\022\024\n\020DEFAULT_PERIODIC\020\002\022\023\n\017QO" + "S_FAST_ONEOFF\020\003\022\030\n\024QOS_DEFAULT_PERIODIC\020" + "\004\022\032\n\026QOS_UNMETERED_PERIODIC\020\005*\t\010\350\007\020\200\200\200\200\002" + "\"\354\001\n\014DeviceStatus\022\024\n\014is_unmetered\030\001 \001(\010\022" + "\023\n\013is_charging\030\002 \001(\010\022S\n\020auto_time_status" + "\030\003 \001(\01629.wireless_android_play_playlog.D" + "eviceStatus.AutomaticTime\022\031\n\021is_googler_" + "device\030\004 \001(\010\"A\n\rAutomaticTime\022\013\n\007UNKNOWN" + "\020\000\022\021\n\rAUTO_TIME_OFF\020\001\022\020\n\014AUTO_TIME_ON\020\002\"" + "G\n\021ExternalTimestamp\022\017\n\007time_ms\030\001 \001(\003\022\021\n", "\tuptime_ms\030\002 \001(\003\022\016\n\006source\030\003 \001(\t\"\346\001\n\024Qos" + "TierConfiguration\022\027\n\017log_source_name\030\001 \001" + "(\t\022M\n\010qos_tier\030\002 \001(\0162;.wireless_android_" + "play_playlog.QosTierConfiguration.QosTie" + "r\"f\n\007QosTier\022\013\n\007DEFAULT\020\000\022\022\n\016UNMETERED_O" + "NLY\020\001\022\026\n\022UNMETERED_OR_DAILY\020\002\022\027\n\023FAST_IF" + "_RADIO_AWAKE\020\003\022\t\n\005NEVER\020\004\"\205\001\n\020QosTiersOv" + "erride\022S\n\026qos_tier_configuration\030\001 \003(\01323" + ".wireless_android_play_playlog.QosTierCo" + "nfiguration\022\034\n\024qos_tier_fingerprint\030\002 \001(", "\003\"5\n\032LogSourceBatchingBlacklist\022\027\n\017log_s" + "ource_name\030\001 \003(\t\"\236\002\n\013LogResponse\022$\n\030next" + "_request_wait_millis\030\001 \001(\003:\002-1\022D\n\013experi" + "ments\030\002 \001(\0132/.wireless_android_play_play" + "log.ExperimentIdList\022A\n\010qos_tier\030\003 \001(\0132/" + ".wireless_android_play_playlog.QosTiersO" + "verride\022`\n\035log_source_batching_blacklist" + "\030\004 \001(\01329.wireless_android_play_playlog.L" + "ogSourceBatchingBlacklistBA\n.com.google." + "wireless.android.play.playlog.protoB\017Cli", "entAnalytics" }; 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_wireless_android_play_playlog_LogEventKeyValues_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_wireless_android_play_playlog_LogEventKeyValues_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_wireless_android_play_playlog_LogEventKeyValues_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_wireless_android_play_playlog_ActiveExperiments_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_wireless_android_play_playlog_ActiveExperiments_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_wireless_android_play_playlog_ActiveExperiments_descriptor, new java.lang.String[] { "ClientAlteringExperiment", "OtherExperiment", "GwsExperiment", "PlayExperiment", "UnsupportedPlayExperiment", }); internal_static_wireless_android_play_playlog_LogEvent_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_wireless_android_play_playlog_LogEvent_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_wireless_android_play_playlog_LogEvent_descriptor, new java.lang.String[] { "EventTimeMs", "EventUptimeMs", "SequencePosition", "Tag", "EventCode", "EventFlowId", "IsUserInitiated", "Value", "Store", "AppUsage1P", "SourceExtension", "SourceExtensionJs", "SourceExtensionJson", "Exp", "TestId", "TimezoneOffsetSeconds", "ExperimentIds", "ClientVe", "ClientVeJs", "InternalEvent", "TestCode", "BootCount", "NetworkConnectionInfo", }); internal_static_wireless_android_play_playlog_NetworkConnectionInfo_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_wireless_android_play_playlog_NetworkConnectionInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_wireless_android_play_playlog_NetworkConnectionInfo_descriptor, new java.lang.String[] { "NetworkType", }); internal_static_wireless_android_play_playlog_ExperimentIds_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_wireless_android_play_playlog_ExperimentIds_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_wireless_android_play_playlog_ExperimentIds_descriptor, new java.lang.String[] { "ClearBlob", "ClearBlobJs", "EncryptedBlob", "UsersMatch", }); internal_static_wireless_android_play_playlog_AndroidClientInfo_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_wireless_android_play_playlog_AndroidClientInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_wireless_android_play_playlog_AndroidClientInfo_descriptor, new java.lang.String[] { "AndroidId", "LoggingId", "DeviceId", "SdkVersion", "Model", "Product", "Hardware", "Device", "OsBuild", "ApplicationBuild", "MccMnc", "Locale", "Country", "Manufacturer", "Brand", "Board", "RadioVersion", "Fingerprint", "GmsCoreVersionCode", "IsSidewinderDevice", "ChimeraConfigInfo", "UsingLogSourceInt", }); internal_static_wireless_android_play_playlog_BrowserInfo_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_wireless_android_play_playlog_BrowserInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_wireless_android_play_playlog_BrowserInfo_descriptor, new java.lang.String[] { "Locale", "Browser", "BrowserVersion", "FlashVersion", }); internal_static_wireless_android_play_playlog_DesktopClientInfo_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_wireless_android_play_playlog_DesktopClientInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_wireless_android_play_playlog_DesktopClientInfo_descriptor, new java.lang.String[] { "ClientId", "LoggingId", "Os", "OsMajorVersion", "OsFullVersion", "ApplicationBuild", "Country", }); internal_static_wireless_android_play_playlog_IosClientInfo_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_wireless_android_play_playlog_IosClientInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_wireless_android_play_playlog_IosClientInfo_descriptor, new java.lang.String[] { "ClientId", "LoggingId", "OsMajorVersion", "OsFullVersion", "ApplicationBuild", "Country", "Model", "LanguageCode", }); internal_static_wireless_android_play_playlog_PancettaClientInfo_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_wireless_android_play_playlog_PancettaClientInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_wireless_android_play_playlog_PancettaClientInfo_descriptor, new java.lang.String[] { "DeviceId", "Os", "AppId", "AppVersion", "MccMnc", }); internal_static_wireless_android_play_playlog_PlayCeClientInfo_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_wireless_android_play_playlog_PlayCeClientInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_wireless_android_play_playlog_PlayCeClientInfo_descriptor, new java.lang.String[] { "ClientId", "LoggingId", "Make", "Model", "ApplicationBuild", "PlatformVersion", "Country", }); internal_static_wireless_android_play_playlog_VrClientInfo_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_wireless_android_play_playlog_VrClientInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_wireless_android_play_playlog_VrClientInfo_descriptor, new java.lang.String[] { "VrClientType", "SdkVersion", "Fingerprint", "GvrVersion", "Manufacturer", "Model", "Language", "Country", "UnityVersion", "UnitySdkVersion", }); internal_static_wireless_android_play_playlog_JsClientInfo_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_wireless_android_play_playlog_JsClientInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_wireless_android_play_playlog_JsClientInfo_descriptor, new java.lang.String[] { "Os", "OsVersion", "DeviceType", "Country", "Locale", "OsType", }); internal_static_wireless_android_play_playlog_ClientInfo_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_wireless_android_play_playlog_ClientInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_wireless_android_play_playlog_ClientInfo_descriptor, new java.lang.String[] { "ClientType", "RemoteHost", "RemoteHost6", "AndroidClientInfo", "DesktopClientInfo", "IosClientInfo", "PlayCeClientInfo", "VrClientInfo", "PancettaClientInfo", "BrowserInfo", "JsClientInfo", }); internal_static_wireless_android_play_playlog_ExperimentIdList_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_wireless_android_play_playlog_ExperimentIdList_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_wireless_android_play_playlog_ExperimentIdList_descriptor, new java.lang.String[] { "Id", }); internal_static_wireless_android_play_playlog_AppUsage1pLogEvent_descriptor = getDescriptor().getMessageTypes().get(15); internal_static_wireless_android_play_playlog_AppUsage1pLogEvent_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_wireless_android_play_playlog_AppUsage1pLogEvent_descriptor, new java.lang.String[] { "AppType", "AndroidPackageName", "Version", }); internal_static_wireless_android_play_playlog_BatchedLogRequest_descriptor = getDescriptor().getMessageTypes().get(16); internal_static_wireless_android_play_playlog_BatchedLogRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_wireless_android_play_playlog_BatchedLogRequest_descriptor, new java.lang.String[] { "LogRequest", }); internal_static_wireless_android_play_playlog_LogRequest_descriptor = getDescriptor().getMessageTypes().get(17); internal_static_wireless_android_play_playlog_LogRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_wireless_android_play_playlog_LogRequest_descriptor, new java.lang.String[] { "RequestTimeMs", "RequestUptimeMs", "ClientInfo", "LogSource", "LogSourceName", "ZwiebackCookie", "LogEvent", "SerializedLogEvents", "QosTier", "Scheduler", "DeviceStatus", "ExternalTimestamp", }); internal_static_wireless_android_play_playlog_DeviceStatus_descriptor = getDescriptor().getMessageTypes().get(18); internal_static_wireless_android_play_playlog_DeviceStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_wireless_android_play_playlog_DeviceStatus_descriptor, new java.lang.String[] { "IsUnmetered", "IsCharging", "AutoTimeStatus", "IsGooglerDevice", }); internal_static_wireless_android_play_playlog_ExternalTimestamp_descriptor = getDescriptor().getMessageTypes().get(19); internal_static_wireless_android_play_playlog_ExternalTimestamp_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_wireless_android_play_playlog_ExternalTimestamp_descriptor, new java.lang.String[] { "TimeMs", "UptimeMs", "Source", }); internal_static_wireless_android_play_playlog_QosTierConfiguration_descriptor = getDescriptor().getMessageTypes().get(20); internal_static_wireless_android_play_playlog_QosTierConfiguration_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_wireless_android_play_playlog_QosTierConfiguration_descriptor, new java.lang.String[] { "LogSourceName", "QosTier", }); internal_static_wireless_android_play_playlog_QosTiersOverride_descriptor = getDescriptor().getMessageTypes().get(21); internal_static_wireless_android_play_playlog_QosTiersOverride_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_wireless_android_play_playlog_QosTiersOverride_descriptor, new java.lang.String[] { "QosTierConfiguration", "QosTierFingerprint", }); internal_static_wireless_android_play_playlog_LogSourceBatchingBlacklist_descriptor = getDescriptor().getMessageTypes().get(22); internal_static_wireless_android_play_playlog_LogSourceBatchingBlacklist_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_wireless_android_play_playlog_LogSourceBatchingBlacklist_descriptor, new java.lang.String[] { "LogSourceName", }); internal_static_wireless_android_play_playlog_LogResponse_descriptor = getDescriptor().getMessageTypes().get(23); internal_static_wireless_android_play_playlog_LogResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_wireless_android_play_playlog_LogResponse_descriptor, new java.lang.String[] { "NextRequestWaitMillis", "Experiments", "QosTier", "LogSourceBatchingBlacklist", }); return null; } }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }, assigner); } // @@protoc_insertion_point(outer_class_scope) } protos/src/main/java/com/google/wireless/android/sdk/0040755 0000000 0000000 00000000000 13017773346 021675 5ustar000000000 0000000 protos/src/main/java/com/google/wireless/android/sdk/stats/0040755 0000000 0000000 00000000000 13017773346 023033 5ustar000000000 0000000 protos/src/main/java/com/google/wireless/android/sdk/stats/AndroidStudioStats.java0100644 0000000 0000000 00010353464 13017773346 027502 0ustar000000000 0000000 // Generated by the protocol buffer compiler. DO NOT EDIT! // source: studio_stats.proto package com.google.wireless.android.sdk.stats; public final class AndroidStudioStats { private AndroidStudioStats() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { } public interface AndroidStudioEventOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional .android_studio.AndroidStudioEvent.EventCategory category = 1; /** * optional .android_studio.AndroidStudioEvent.EventCategory category = 1; * *
     * Describes a group of event kinds related to each other.
     * 
*/ boolean hasCategory(); /** * optional .android_studio.AndroidStudioEvent.EventCategory category = 1; * *
     * Describes a group of event kinds related to each other.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.EventCategory getCategory(); // optional .android_studio.AndroidStudioEvent.EventKind kind = 2; /** * optional .android_studio.AndroidStudioEvent.EventKind kind = 2; * *
     * Specific kind of event, primary separation key of all Android Studio
     *  related events.
     * 
*/ boolean hasKind(); /** * optional .android_studio.AndroidStudioEvent.EventKind kind = 2; * *
     * Specific kind of event, primary separation key of all Android Studio
     *  related events.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.EventKind getKind(); // optional string studio_session_id = 3; /** * optional string studio_session_id = 3; * *
     * The session id is a UUID tracking a single instance of Android Studio
     *  to associate events together such as kind = TEST_RUN
     * 
*/ boolean hasStudioSessionId(); /** * optional string studio_session_id = 3; * *
     * The session id is a UUID tracking a single instance of Android Studio
     *  to associate events together such as kind = TEST_RUN
     * 
*/ java.lang.String getStudioSessionId(); /** * optional string studio_session_id = 3; * *
     * The session id is a UUID tracking a single instance of Android Studio
     *  to associate events together such as kind = TEST_RUN
     * 
*/ com.google.protobuf.ByteString getStudioSessionIdBytes(); // optional .android_studio.ProductDetails product_details = 4; /** * optional .android_studio.ProductDetails product_details = 4; * *
     * set when kind = STUDIO_PING
     *  or kind = EMULATOR_PING
     *  or ANDROID_STUDIO_TEST
     *  or ANDROID_STUDIO_THROUGH_GRADLE
     * 
*/ boolean hasProductDetails(); /** * optional .android_studio.ProductDetails product_details = 4; * *
     * set when kind = STUDIO_PING
     *  or kind = EMULATOR_PING
     *  or ANDROID_STUDIO_TEST
     *  or ANDROID_STUDIO_THROUGH_GRADLE
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails getProductDetails(); /** * optional .android_studio.ProductDetails product_details = 4; * *
     * set when kind = STUDIO_PING
     *  or kind = EMULATOR_PING
     *  or ANDROID_STUDIO_TEST
     *  or ANDROID_STUDIO_THROUGH_GRADLE
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetailsOrBuilder getProductDetailsOrBuilder(); // optional .android_studio.AndroidStudioEvent.MonitorType monitor_type = 5; /** * optional .android_studio.AndroidStudioEvent.MonitorType monitor_type = 5; * *
     * set when kind = MONITOR_ACTIVATED or kind = MONITOR_RUNNING
     * 
*/ boolean hasMonitorType(); /** * optional .android_studio.AndroidStudioEvent.MonitorType monitor_type = 5; * *
     * set when kind = MONITOR_ACTIVATED or kind = MONITOR_RUNNING
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.MonitorType getMonitorType(); // optional bool monitor_paused = 6; /** * optional bool monitor_paused = 6; * *
     * set when kind = MONITOR_RUNNING
     * 
*/ boolean hasMonitorPaused(); /** * optional bool monitor_paused = 6; * *
     * set when kind = MONITOR_RUNNING
     * 
*/ boolean getMonitorPaused(); // optional .android_studio.AndroidStudioEvent.ProfilerCaptureType profiler_capture_type = 7; /** * optional .android_studio.AndroidStudioEvent.ProfilerCaptureType profiler_capture_type = 7; * *
     * set when kind = PROFILING_OPEN or PROFILING_CAPTURE
     * 
*/ boolean hasProfilerCaptureType(); /** * optional .android_studio.AndroidStudioEvent.ProfilerCaptureType profiler_capture_type = 7; * *
     * set when kind = PROFILING_OPEN or PROFILING_CAPTURE
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.ProfilerCaptureType getProfilerCaptureType(); // optional string cloud_testing_error_message = 8; /** * optional string cloud_testing_error_message = 8; * *
     * set when kind = CLOUD_TESTING_BACKEND_ERROR
     * 
*/ boolean hasCloudTestingErrorMessage(); /** * optional string cloud_testing_error_message = 8; * *
     * set when kind = CLOUD_TESTING_BACKEND_ERROR
     * 
*/ java.lang.String getCloudTestingErrorMessage(); /** * optional string cloud_testing_error_message = 8; * *
     * set when kind = CLOUD_TESTING_BACKEND_ERROR
     * 
*/ com.google.protobuf.ByteString getCloudTestingErrorMessageBytes(); // optional int32 cloud_testing_loaded_screenshots_count = 9; /** * optional int32 cloud_testing_loaded_screenshots_count = 9; * *
     * set when kind = CLOUD_TESTING_COMPARE_SCREENSHOTS_OPENED
     * 
*/ boolean hasCloudTestingLoadedScreenshotsCount(); /** * optional int32 cloud_testing_loaded_screenshots_count = 9; * *
     * set when kind = CLOUD_TESTING_COMPARE_SCREENSHOTS_OPENED
     * 
*/ int getCloudTestingLoadedScreenshotsCount(); // optional .android_studio.AndroidStudioEvent.RunConfigurationType run_configuration_type = 10; /** * optional .android_studio.AndroidStudioEvent.RunConfigurationType run_configuration_type = 10; * *
     * set when kind = LLDB_SESSION_STARTED
     * 
*/ boolean hasRunConfigurationType(); /** * optional .android_studio.AndroidStudioEvent.RunConfigurationType run_configuration_type = 10; * *
     * set when kind = LLDB_SESSION_STARTED
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.RunConfigurationType getRunConfigurationType(); // optional .android_studio.AndroidStudioEvent.DebuggerType debugger_type = 11; /** * optional .android_studio.AndroidStudioEvent.DebuggerType debugger_type = 11; * *
     * set when kind = LLDB_SESSION_STARTED
     * 
*/ boolean hasDebuggerType(); /** * optional .android_studio.AndroidStudioEvent.DebuggerType debugger_type = 11; * *
     * set when kind = LLDB_SESSION_STARTED
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.DebuggerType getDebuggerType(); // optional .android_studio.DeviceInfo device_info = 12; /** * optional .android_studio.DeviceInfo device_info = 12; * *
     * set when kind = LLDB_LAUNCHED
     *  or kind = DEPLOYMENT_APK
     *  or kind = DEPLOYMENT_EMULATOR
     *  or kind = CLOUD_TESTING_CONFIGURE_CLOUD_DEVICE
     *  or kind = CLOUD_TESTING_LAUNCH_CLOUD_DEVICE
     *  or kind = CLOUD_TESTING_DEBUG_FROM_RESULTS
     *  or kind = TEST_RUN
     * 
*/ boolean hasDeviceInfo(); /** * optional .android_studio.DeviceInfo device_info = 12; * *
     * set when kind = LLDB_LAUNCHED
     *  or kind = DEPLOYMENT_APK
     *  or kind = DEPLOYMENT_EMULATOR
     *  or kind = CLOUD_TESTING_CONFIGURE_CLOUD_DEVICE
     *  or kind = CLOUD_TESTING_LAUNCH_CLOUD_DEVICE
     *  or kind = CLOUD_TESTING_DEBUG_FROM_RESULTS
     *  or kind = TEST_RUN
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo getDeviceInfo(); /** * optional .android_studio.DeviceInfo device_info = 12; * *
     * set when kind = LLDB_LAUNCHED
     *  or kind = DEPLOYMENT_APK
     *  or kind = DEPLOYMENT_EMULATOR
     *  or kind = CLOUD_TESTING_CONFIGURE_CLOUD_DEVICE
     *  or kind = CLOUD_TESTING_LAUNCH_CLOUD_DEVICE
     *  or kind = CLOUD_TESTING_DEBUG_FROM_RESULTS
     *  or kind = TEST_RUN
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfoOrBuilder getDeviceInfoOrBuilder(); // optional string lldb_session_failure_message = 13; /** * optional string lldb_session_failure_message = 13; * *
     * set when kind = LLDB_SESSION_FAILED or kind = LLDB_INSTALL_FAILED
     *  e.g. 'failed to get reply to handshake packet'
     * 
*/ boolean hasLldbSessionFailureMessage(); /** * optional string lldb_session_failure_message = 13; * *
     * set when kind = LLDB_SESSION_FAILED or kind = LLDB_INSTALL_FAILED
     *  e.g. 'failed to get reply to handshake packet'
     * 
*/ java.lang.String getLldbSessionFailureMessage(); /** * optional string lldb_session_failure_message = 13; * *
     * set when kind = LLDB_SESSION_FAILED or kind = LLDB_INSTALL_FAILED
     *  e.g. 'failed to get reply to handshake packet'
     * 
*/ com.google.protobuf.ByteString getLldbSessionFailureMessageBytes(); // optional .android_studio.AndroidStudioEvent.DeveloperServiceKind developer_service_kind = 14; /** * optional .android_studio.AndroidStudioEvent.DeveloperServiceKind developer_service_kind = 14; * *
     * set when kind = DEVELOPER_SERVICES_INSTALLED
     *  or kind = DEVELOPER_SERVICES_REMOVED
     * 
*/ boolean hasDeveloperServiceKind(); /** * optional .android_studio.AndroidStudioEvent.DeveloperServiceKind developer_service_kind = 14; * *
     * set when kind = DEVELOPER_SERVICES_INSTALLED
     *  or kind = DEVELOPER_SERVICES_REMOVED
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.DeveloperServiceKind getDeveloperServiceKind(); // optional string gradle_version = 15; /** * optional string gradle_version = 15; * *
     * set when category = GRADLE_SYNC
     * 
*/ boolean hasGradleVersion(); /** * optional string gradle_version = 15; * *
     * set when category = GRADLE_SYNC
     * 
*/ java.lang.String getGradleVersion(); /** * optional string gradle_version = 15; * *
     * set when category = GRADLE_SYNC
     * 
*/ com.google.protobuf.ByteString getGradleVersionBytes(); // optional .android_studio.AndroidStudioEvent.GradleSyncFailure gradle_sync_failure = 16; /** * optional .android_studio.AndroidStudioEvent.GradleSyncFailure gradle_sync_failure = 16; * *
     * e.g. '2.10'
     * set when kind = GRADLE_SYNC_FAILURE
     * 
*/ boolean hasGradleSyncFailure(); /** * optional .android_studio.AndroidStudioEvent.GradleSyncFailure gradle_sync_failure = 16; * *
     * e.g. '2.10'
     * set when kind = GRADLE_SYNC_FAILURE
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.GradleSyncFailure getGradleSyncFailure(); // optional string gradle_missing_signature = 17; /** * optional string gradle_missing_signature = 17; * *
     * set when kind = GRADLE_SYNC_FAILURE and gradle_sync_failure = *_NOT_FOUND
     *  e.g. 'org.gradle.api.internal.DemoClass.demoMethod'
     * 
*/ boolean hasGradleMissingSignature(); /** * optional string gradle_missing_signature = 17; * *
     * set when kind = GRADLE_SYNC_FAILURE and gradle_sync_failure = *_NOT_FOUND
     *  e.g. 'org.gradle.api.internal.DemoClass.demoMethod'
     * 
*/ java.lang.String getGradleMissingSignature(); /** * optional string gradle_missing_signature = 17; * *
     * set when kind = GRADLE_SYNC_FAILURE and gradle_sync_failure = *_NOT_FOUND
     *  e.g. 'org.gradle.api.internal.DemoClass.demoMethod'
     * 
*/ com.google.protobuf.ByteString getGradleMissingSignatureBytes(); // optional .android_studio.AndroidStudioEvent.TemplateRenderer template_renderer = 18; /** * optional .android_studio.AndroidStudioEvent.TemplateRenderer template_renderer = 18; * *
     * set when kind = TEMPLATE_RENDERER
     * 
*/ boolean hasTemplateRenderer(); /** * optional .android_studio.AndroidStudioEvent.TemplateRenderer template_renderer = 18; * *
     * set when kind = TEMPLATE_RENDERER
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.TemplateRenderer getTemplateRenderer(); // optional .android_studio.StudioCrash studio_crash = 19; /** * optional .android_studio.StudioCrash studio_crash = 19; * *
     * set when kind = STUDIO_CRASH
     * 
*/ boolean hasStudioCrash(); /** * optional .android_studio.StudioCrash studio_crash = 19; * *
     * set when kind = STUDIO_CRASH
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash getStudioCrash(); /** * optional .android_studio.StudioCrash studio_crash = 19; * *
     * set when kind = STUDIO_CRASH
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrashOrBuilder getStudioCrashOrBuilder(); // optional .android_studio.GradleBuildDetails gradle_build_details = 20; /** * optional .android_studio.GradleBuildDetails gradle_build_details = 20; * *
     * set when kind = GRADLE_BUILD_DETAILS
     * 
*/ boolean hasGradleBuildDetails(); /** * optional .android_studio.GradleBuildDetails gradle_build_details = 20; * *
     * set when kind = GRADLE_BUILD_DETAILS
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails getGradleBuildDetails(); /** * optional .android_studio.GradleBuildDetails gradle_build_details = 20; * *
     * set when kind = GRADLE_BUILD_DETAILS
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetailsOrBuilder getGradleBuildDetailsOrBuilder(); // optional .android_studio.InstantRun instant_run = 21; /** * optional .android_studio.InstantRun instant_run = 21; * *
     * set when kind = INSTANT_RUN
     * 
*/ boolean hasInstantRun(); /** * optional .android_studio.InstantRun instant_run = 21; * *
     * set when kind = INSTANT_RUN
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun getInstantRun(); /** * optional .android_studio.InstantRun instant_run = 21; * *
     * set when kind = INSTANT_RUN
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunOrBuilder getInstantRunOrBuilder(); // optional .android_studio.MetaMetrics meta_metrics = 22; /** * optional .android_studio.MetaMetrics meta_metrics = 22; * *
     * set when kind = META_METRICS
     * 
*/ boolean hasMetaMetrics(); /** * optional .android_studio.MetaMetrics meta_metrics = 22; * *
     * set when kind = META_METRICS
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics getMetaMetrics(); /** * optional .android_studio.MetaMetrics meta_metrics = 22; * *
     * set when kind = META_METRICS
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetricsOrBuilder getMetaMetricsOrBuilder(); // optional .android_studio.EmulatorDetails emulator_details = 23; /** * optional .android_studio.EmulatorDetails emulator_details = 23; * *
     * set when kind = EMULATOR_PING
     * 
*/ boolean hasEmulatorDetails(); /** * optional .android_studio.EmulatorDetails emulator_details = 23; * *
     * set when kind = EMULATOR_PING
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails getEmulatorDetails(); /** * optional .android_studio.EmulatorDetails emulator_details = 23; * *
     * set when kind = EMULATOR_PING
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetailsOrBuilder getEmulatorDetailsOrBuilder(); // optional .android_studio.TestRun test_run = 24; /** * optional .android_studio.TestRun test_run = 24; * *
     * set when kind = TEST_RUN
     * 
*/ boolean hasTestRun(); /** * optional .android_studio.TestRun test_run = 24; * *
     * set when kind = TEST_RUN
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun getTestRun(); /** * optional .android_studio.TestRun test_run = 24; * *
     * set when kind = TEST_RUN
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRunOrBuilder getTestRunOrBuilder(); // optional .android_studio.EmulatorUiEvent emulator_ui_event = 25; /** * optional .android_studio.EmulatorUiEvent emulator_ui_event = 25; * *
     * set when kind = EMULATOR_UI_EVENT
     * 
*/ boolean hasEmulatorUiEvent(); /** * optional .android_studio.EmulatorUiEvent emulator_ui_event = 25; * *
     * set when kind = EMULATOR_UI_EVENT
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent getEmulatorUiEvent(); /** * optional .android_studio.EmulatorUiEvent emulator_ui_event = 25; * *
     * set when kind = EMULATOR_UI_EVENT
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEventOrBuilder getEmulatorUiEventOrBuilder(); // optional .android_studio.Hypervisor hypervisor = 26; /** * optional .android_studio.Hypervisor hypervisor = 26; * *
     * set when kind = HYPERVISOR
     * 
*/ boolean hasHypervisor(); /** * optional .android_studio.Hypervisor hypervisor = 26; * *
     * set when kind = HYPERVISOR
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor getHypervisor(); /** * optional .android_studio.Hypervisor hypervisor = 26; * *
     * set when kind = HYPERVISOR
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.HypervisorOrBuilder getHypervisorOrBuilder(); // optional .android_studio.EmulatorHost emulator_host = 27; /** * optional .android_studio.EmulatorHost emulator_host = 27; * *
     * set when kind = EMULATOR_HOST
     * 
*/ boolean hasEmulatorHost(); /** * optional .android_studio.EmulatorHost emulator_host = 27; * *
     * set when kind = EMULATOR_HOST
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost getEmulatorHost(); /** * optional .android_studio.EmulatorHost emulator_host = 27; * *
     * set when kind = EMULATOR_HOST
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHostOrBuilder getEmulatorHostOrBuilder(); // optional .android_studio.GradleBuildProfile gradle_build_profile = 28; /** * optional .android_studio.GradleBuildProfile gradle_build_profile = 28; * *
     * set when kind = GRADLE_BUILD_PROFILE
     * 
*/ boolean hasGradleBuildProfile(); /** * optional .android_studio.GradleBuildProfile gradle_build_profile = 28; * *
     * set when kind = GRADLE_BUILD_PROFILE
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile getGradleBuildProfile(); /** * optional .android_studio.GradleBuildProfile gradle_build_profile = 28; * *
     * set when kind = GRADLE_BUILD_PROFILE
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileOrBuilder getGradleBuildProfileOrBuilder(); // optional .android_studio.LLDBFrontendDetails lldb_frontend_details = 29; /** * optional .android_studio.LLDBFrontendDetails lldb_frontend_details = 29; * *
     * set when kind = LLDB_FRONTEND_EXITED
     * 
*/ boolean hasLldbFrontendDetails(); /** * optional .android_studio.LLDBFrontendDetails lldb_frontend_details = 29; * *
     * set when kind = LLDB_FRONTEND_EXITED
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails getLldbFrontendDetails(); /** * optional .android_studio.LLDBFrontendDetails lldb_frontend_details = 29; * *
     * set when kind = LLDB_FRONTEND_EXITED
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetailsOrBuilder getLldbFrontendDetailsOrBuilder(); // optional .android_studio.FirebaseErrorDetails firebase_error_details = 30; /** * optional .android_studio.FirebaseErrorDetails firebase_error_details = 30; * *
     * set when kind = FIREBASE_ASSISTANT_ERROR_PRESENTED or
     *  kind FIREBASE_ASSISTANT_SILENT_ERROR
     * 
*/ boolean hasFirebaseErrorDetails(); /** * optional .android_studio.FirebaseErrorDetails firebase_error_details = 30; * *
     * set when kind = FIREBASE_ASSISTANT_ERROR_PRESENTED or
     *  kind FIREBASE_ASSISTANT_SILENT_ERROR
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails getFirebaseErrorDetails(); /** * optional .android_studio.FirebaseErrorDetails firebase_error_details = 30; * *
     * set when kind = FIREBASE_ASSISTANT_ERROR_PRESENTED or
     *  kind FIREBASE_ASSISTANT_SILENT_ERROR
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetailsOrBuilder getFirebaseErrorDetailsOrBuilder(); // optional string project_id = 31; /** * optional string project_id = 31; * *
     * Client-side salted (rotating every 28 days), sha256 of the project id.
     *  set when kind = PROJECT_STRUCTURE_*.
     * 
*/ boolean hasProjectId(); /** * optional string project_id = 31; * *
     * Client-side salted (rotating every 28 days), sha256 of the project id.
     *  set when kind = PROJECT_STRUCTURE_*.
     * 
*/ java.lang.String getProjectId(); /** * optional string project_id = 31; * *
     * Client-side salted (rotating every 28 days), sha256 of the project id.
     *  set when kind = PROJECT_STRUCTURE_*.
     * 
*/ com.google.protobuf.ByteString getProjectIdBytes(); // optional .android_studio.GfxTracingDetails gfx_tracing_details = 32; /** * optional .android_studio.GfxTracingDetails gfx_tracing_details = 32; * *
     * set when kind = GFX_TRACE_*
     * 
*/ boolean hasGfxTracingDetails(); /** * optional .android_studio.GfxTracingDetails gfx_tracing_details = 32; * *
     * set when kind = GFX_TRACE_*
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails getGfxTracingDetails(); /** * optional .android_studio.GfxTracingDetails gfx_tracing_details = 32; * *
     * set when kind = GFX_TRACE_*
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetailsOrBuilder getGfxTracingDetailsOrBuilder(); // optional .android_studio.TestRecorderDetails test_recorder_details = 33; /** * optional .android_studio.TestRecorderDetails test_recorder_details = 33; * *
     * set when kind = TEST_RECORDER_GENERATE_TEST_CLASS
     * 
*/ boolean hasTestRecorderDetails(); /** * optional .android_studio.TestRecorderDetails test_recorder_details = 33; * *
     * set when kind = TEST_RECORDER_GENERATE_TEST_CLASS
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails getTestRecorderDetails(); /** * optional .android_studio.TestRecorderDetails test_recorder_details = 33; * *
     * set when kind = TEST_RECORDER_GENERATE_TEST_CLASS
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetailsOrBuilder getTestRecorderDetailsOrBuilder(); // optional .android_studio.UIActionStats ui_action_stats = 34; /** * optional .android_studio.UIActionStats ui_action_stats = 34; * *
     * set when kind = STUDIO_UI_ACTION_STATS
     * 
*/ boolean hasUiActionStats(); /** * optional .android_studio.UIActionStats ui_action_stats = 34; * *
     * set when kind = STUDIO_UI_ACTION_STATS
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats getUiActionStats(); /** * optional .android_studio.UIActionStats ui_action_stats = 34; * *
     * set when kind = STUDIO_UI_ACTION_STATS
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStatsOrBuilder getUiActionStatsOrBuilder(); // optional .android_studio.MachineDetails machine_details = 35; /** * optional .android_studio.MachineDetails machine_details = 35; * *
     * set when kind = STUDIO_PING
     * 
*/ boolean hasMachineDetails(); /** * optional .android_studio.MachineDetails machine_details = 35; * *
     * set when kind = STUDIO_PING
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails getMachineDetails(); /** * optional .android_studio.MachineDetails machine_details = 35; * *
     * set when kind = STUDIO_PING
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetailsOrBuilder getMachineDetailsOrBuilder(); // optional .android_studio.JvmDetails jvm_details = 36; /** * optional .android_studio.JvmDetails jvm_details = 36; * *
     * set when kind = STUDIO_PING
     * 
*/ boolean hasJvmDetails(); /** * optional .android_studio.JvmDetails jvm_details = 36; * *
     * set when kind = STUDIO_PING
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails getJvmDetails(); /** * optional .android_studio.JvmDetails jvm_details = 36; * *
     * set when kind = STUDIO_PING
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetailsOrBuilder getJvmDetailsOrBuilder(); // optional .android_studio.JavaProcessStats java_process_stats = 37; /** * optional .android_studio.JavaProcessStats java_process_stats = 37; * *
     * set when kind = STUDIO_PROCESS_STATS
     * 
*/ boolean hasJavaProcessStats(); /** * optional .android_studio.JavaProcessStats java_process_stats = 37; * *
     * set when kind = STUDIO_PROCESS_STATS
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats getJavaProcessStats(); /** * optional .android_studio.JavaProcessStats java_process_stats = 37; * *
     * set when kind = STUDIO_PROCESS_STATS
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStatsOrBuilder getJavaProcessStatsOrBuilder(); } /** * Protobuf type {@code android_studio.AndroidStudioEvent} */ public static final class AndroidStudioEvent extends com.google.protobuf.GeneratedMessage implements AndroidStudioEventOrBuilder { // Use AndroidStudioEvent.newBuilder() to construct. private AndroidStudioEvent(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private AndroidStudioEvent(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final AndroidStudioEvent defaultInstance; public static AndroidStudioEvent getDefaultInstance() { return defaultInstance; } public AndroidStudioEvent getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AndroidStudioEvent( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; int mutable_bitField1_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { int rawValue = input.readEnum(); com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.EventCategory value = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.EventCategory.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { bitField0_ |= 0x00000001; category_ = value; } break; } case 16: { int rawValue = input.readEnum(); com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.EventKind value = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.EventKind.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(2, rawValue); } else { bitField0_ |= 0x00000002; kind_ = value; } break; } case 26: { bitField0_ |= 0x00000004; studioSessionId_ = input.readBytes(); break; } case 34: { com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.Builder subBuilder = null; if (((bitField0_ & 0x00000008) == 0x00000008)) { subBuilder = productDetails_.toBuilder(); } productDetails_ = input.readMessage(com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(productDetails_); productDetails_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000008; break; } case 40: { int rawValue = input.readEnum(); com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.MonitorType value = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.MonitorType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(5, rawValue); } else { bitField0_ |= 0x00000010; monitorType_ = value; } break; } case 48: { bitField0_ |= 0x00000020; monitorPaused_ = input.readBool(); break; } case 56: { int rawValue = input.readEnum(); com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.ProfilerCaptureType value = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.ProfilerCaptureType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(7, rawValue); } else { bitField0_ |= 0x00000040; profilerCaptureType_ = value; } break; } case 66: { bitField0_ |= 0x00000080; cloudTestingErrorMessage_ = input.readBytes(); break; } case 72: { bitField0_ |= 0x00000100; cloudTestingLoadedScreenshotsCount_ = input.readInt32(); break; } case 80: { int rawValue = input.readEnum(); com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.RunConfigurationType value = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.RunConfigurationType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(10, rawValue); } else { bitField0_ |= 0x00000200; runConfigurationType_ = value; } break; } case 88: { int rawValue = input.readEnum(); com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.DebuggerType value = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.DebuggerType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(11, rawValue); } else { bitField0_ |= 0x00000400; debuggerType_ = value; } break; } case 98: { com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000800) == 0x00000800)) { subBuilder = deviceInfo_.toBuilder(); } deviceInfo_ = input.readMessage(com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(deviceInfo_); deviceInfo_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000800; break; } case 106: { bitField0_ |= 0x00001000; lldbSessionFailureMessage_ = input.readBytes(); break; } case 112: { int rawValue = input.readEnum(); com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.DeveloperServiceKind value = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.DeveloperServiceKind.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(14, rawValue); } else { bitField0_ |= 0x00002000; developerServiceKind_ = value; } break; } case 122: { bitField0_ |= 0x00004000; gradleVersion_ = input.readBytes(); break; } case 128: { int rawValue = input.readEnum(); com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.GradleSyncFailure value = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.GradleSyncFailure.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(16, rawValue); } else { bitField0_ |= 0x00008000; gradleSyncFailure_ = value; } break; } case 138: { bitField0_ |= 0x00010000; gradleMissingSignature_ = input.readBytes(); break; } case 144: { int rawValue = input.readEnum(); com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.TemplateRenderer value = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.TemplateRenderer.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(18, rawValue); } else { bitField0_ |= 0x00020000; templateRenderer_ = value; } break; } case 154: { com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash.Builder subBuilder = null; if (((bitField0_ & 0x00040000) == 0x00040000)) { subBuilder = studioCrash_.toBuilder(); } studioCrash_ = input.readMessage(com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(studioCrash_); studioCrash_ = subBuilder.buildPartial(); } bitField0_ |= 0x00040000; break; } case 162: { com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails.Builder subBuilder = null; if (((bitField0_ & 0x00080000) == 0x00080000)) { subBuilder = gradleBuildDetails_.toBuilder(); } gradleBuildDetails_ = input.readMessage(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(gradleBuildDetails_); gradleBuildDetails_ = subBuilder.buildPartial(); } bitField0_ |= 0x00080000; break; } case 170: { com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.Builder subBuilder = null; if (((bitField0_ & 0x00100000) == 0x00100000)) { subBuilder = instantRun_.toBuilder(); } instantRun_ = input.readMessage(com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(instantRun_); instantRun_ = subBuilder.buildPartial(); } bitField0_ |= 0x00100000; break; } case 178: { com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics.Builder subBuilder = null; if (((bitField0_ & 0x00200000) == 0x00200000)) { subBuilder = metaMetrics_.toBuilder(); } metaMetrics_ = input.readMessage(com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(metaMetrics_); metaMetrics_ = subBuilder.buildPartial(); } bitField0_ |= 0x00200000; break; } case 186: { com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.Builder subBuilder = null; if (((bitField0_ & 0x00400000) == 0x00400000)) { subBuilder = emulatorDetails_.toBuilder(); } emulatorDetails_ = input.readMessage(com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(emulatorDetails_); emulatorDetails_ = subBuilder.buildPartial(); } bitField0_ |= 0x00400000; break; } case 194: { com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.Builder subBuilder = null; if (((bitField0_ & 0x00800000) == 0x00800000)) { subBuilder = testRun_.toBuilder(); } testRun_ = input.readMessage(com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(testRun_); testRun_ = subBuilder.buildPartial(); } bitField0_ |= 0x00800000; break; } case 202: { com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.Builder subBuilder = null; if (((bitField0_ & 0x01000000) == 0x01000000)) { subBuilder = emulatorUiEvent_.toBuilder(); } emulatorUiEvent_ = input.readMessage(com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(emulatorUiEvent_); emulatorUiEvent_ = subBuilder.buildPartial(); } bitField0_ |= 0x01000000; break; } case 210: { com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor.Builder subBuilder = null; if (((bitField0_ & 0x02000000) == 0x02000000)) { subBuilder = hypervisor_.toBuilder(); } hypervisor_ = input.readMessage(com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(hypervisor_); hypervisor_ = subBuilder.buildPartial(); } bitField0_ |= 0x02000000; break; } case 218: { com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost.Builder subBuilder = null; if (((bitField0_ & 0x04000000) == 0x04000000)) { subBuilder = emulatorHost_.toBuilder(); } emulatorHost_ = input.readMessage(com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(emulatorHost_); emulatorHost_ = subBuilder.buildPartial(); } bitField0_ |= 0x04000000; break; } case 226: { com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile.Builder subBuilder = null; if (((bitField0_ & 0x08000000) == 0x08000000)) { subBuilder = gradleBuildProfile_.toBuilder(); } gradleBuildProfile_ = input.readMessage(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(gradleBuildProfile_); gradleBuildProfile_ = subBuilder.buildPartial(); } bitField0_ |= 0x08000000; break; } case 234: { com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails.Builder subBuilder = null; if (((bitField0_ & 0x10000000) == 0x10000000)) { subBuilder = lldbFrontendDetails_.toBuilder(); } lldbFrontendDetails_ = input.readMessage(com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(lldbFrontendDetails_); lldbFrontendDetails_ = subBuilder.buildPartial(); } bitField0_ |= 0x10000000; break; } case 242: { com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails.Builder subBuilder = null; if (((bitField0_ & 0x20000000) == 0x20000000)) { subBuilder = firebaseErrorDetails_.toBuilder(); } firebaseErrorDetails_ = input.readMessage(com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(firebaseErrorDetails_); firebaseErrorDetails_ = subBuilder.buildPartial(); } bitField0_ |= 0x20000000; break; } case 250: { bitField0_ |= 0x40000000; projectId_ = input.readBytes(); break; } case 258: { com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails.Builder subBuilder = null; if (((bitField0_ & 0x80000000) == 0x80000000)) { subBuilder = gfxTracingDetails_.toBuilder(); } gfxTracingDetails_ = input.readMessage(com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(gfxTracingDetails_); gfxTracingDetails_ = subBuilder.buildPartial(); } bitField0_ |= 0x80000000; break; } case 266: { com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails.Builder subBuilder = null; if (((bitField1_ & 0x00000001) == 0x00000001)) { subBuilder = testRecorderDetails_.toBuilder(); } testRecorderDetails_ = input.readMessage(com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(testRecorderDetails_); testRecorderDetails_ = subBuilder.buildPartial(); } bitField1_ |= 0x00000001; break; } case 274: { com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats.Builder subBuilder = null; if (((bitField1_ & 0x00000002) == 0x00000002)) { subBuilder = uiActionStats_.toBuilder(); } uiActionStats_ = input.readMessage(com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(uiActionStats_); uiActionStats_ = subBuilder.buildPartial(); } bitField1_ |= 0x00000002; break; } case 282: { com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails.Builder subBuilder = null; if (((bitField1_ & 0x00000004) == 0x00000004)) { subBuilder = machineDetails_.toBuilder(); } machineDetails_ = input.readMessage(com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(machineDetails_); machineDetails_ = subBuilder.buildPartial(); } bitField1_ |= 0x00000004; break; } case 290: { com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails.Builder subBuilder = null; if (((bitField1_ & 0x00000008) == 0x00000008)) { subBuilder = jvmDetails_.toBuilder(); } jvmDetails_ = input.readMessage(com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(jvmDetails_); jvmDetails_ = subBuilder.buildPartial(); } bitField1_ |= 0x00000008; break; } case 298: { com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats.Builder subBuilder = null; if (((bitField1_ & 0x00000010) == 0x00000010)) { subBuilder = javaProcessStats_.toBuilder(); } javaProcessStats_ = input.readMessage(com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(javaProcessStats_); javaProcessStats_ = subBuilder.buildPartial(); } bitField1_ |= 0x00000010; 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.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_AndroidStudioEvent_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_AndroidStudioEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public AndroidStudioEvent parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AndroidStudioEvent(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } /** * Protobuf enum {@code android_studio.AndroidStudioEvent.EventCategory} * *
     * Describes a group of event kinds related to each other.
     * 
*/ public enum EventCategory implements com.google.protobuf.ProtocolMessageEnum { /** * NO_EVENT_CATEGORY = 0; * *
       * The event was not grouped into any specific category (default).
       * 
*/ NO_EVENT_CATEGORY(0, 0), /** * DEPLOYMENT = 1; * *
       * The event is related to deployment to a device or emulator.
       * 
*/ DEPLOYMENT(1, 1), /** * STUDIO_BUILD = 2; * *
       * Stats on builds from Studio.
       * 
*/ STUDIO_BUILD(2, 2), /** * DEVELOPER_SERVICES = 3; * *
       * The event is related to usage of 'Google Developer Services'
       *  inside Android Studio.
       * 
*/ DEVELOPER_SERVICES(3, 3), /** * GRADLE_SYNC = 4; * *
       * The event is related to interaction between Android Studio and Gradle.
       * 
*/ GRADLE_SYNC(4, 4), /** * PROFILING = 5; * *
       * The event is related to Performance Profiling.
       * 
*/ PROFILING(5, 5), /** * MONITOR = 6; * *
       * The event is related to Performance Monitoring.
       * 
*/ MONITOR(6, 6), /** * SDK_MANAGER = 7; * *
       * The event is related to the SDK Manager.
       * 
*/ SDK_MANAGER(7, 7), /** * TEMPLATE = 8; * *
       * The event is related to project/file templates.
       * 
*/ TEMPLATE(8, 8), /** * THEME_EDITOR = 9; * *
       * The event is related to Theme Editor.
       * 
*/ THEME_EDITOR(9, 9), /** * APP_INDEXING = 10; * *
       * The event is related to App Indexing integration.
       *  (http://go/studio-app-indexing)
       * 
*/ APP_INDEXING(10, 10), /** * LLDB = 11; * *
       * The event is related to C++ debugging.
       * 
*/ LLDB(11, 11), /** * CLOUD_TESTING = 12; * *
       * The event is related to Google Cloud Test Lab integration.
       * 
*/ CLOUD_TESTING(12, 12), /** * PING = 13; * *
       * The event is a regular ping from the application.
       * 
*/ PING(13, 13), /** * TESTS = 14; * *
       * The event is related to running tests.
       * 
*/ TESTS(14, 14), /** * META = 15; * *
       * The event is a meta event reporting metrics on metrics.
       * 
*/ META(15, 15), /** * EMULATOR_UI = 16; * *
       * The event is related to the Emulator UI
       * 
*/ EMULATOR_UI(16, 16), /** * SYSTEM = 17; * *
       * The event describes System Info
       * 
*/ SYSTEM(17, 17), /** * PROJECT_STRUCTURE_DIALOG = 18; * *
       * The event is related to the Project Structure Dialog.
       * 
*/ PROJECT_STRUCTURE_DIALOG(18, 18), /** * GRADLE = 19; * *
       * The event is from the Android Gradle plugin.
       * 
*/ GRADLE(19, 19), /** * FIREBASE_ASSISTANT = 20; * *
       * The event is related to the Firebase assistant.
       * 
*/ FIREBASE_ASSISTANT(20, 20), /** * GPU_PROFILER = 21; * *
       * The event is related to the GPU Profiler.
       * 
*/ GPU_PROFILER(21, 21), /** * TEST_RECORDER = 22; * *
       * the event is related to the test recorder (Cassette)
       * 
*/ TEST_RECORDER(22, 22), /** * STUDIO_UI = 23; * *
       * the event is related to the Android Studio UI.
       * 
*/ STUDIO_UI(23, 23), ; /** * NO_EVENT_CATEGORY = 0; * *
       * The event was not grouped into any specific category (default).
       * 
*/ public static final int NO_EVENT_CATEGORY_VALUE = 0; /** * DEPLOYMENT = 1; * *
       * The event is related to deployment to a device or emulator.
       * 
*/ public static final int DEPLOYMENT_VALUE = 1; /** * STUDIO_BUILD = 2; * *
       * Stats on builds from Studio.
       * 
*/ public static final int STUDIO_BUILD_VALUE = 2; /** * DEVELOPER_SERVICES = 3; * *
       * The event is related to usage of 'Google Developer Services'
       *  inside Android Studio.
       * 
*/ public static final int DEVELOPER_SERVICES_VALUE = 3; /** * GRADLE_SYNC = 4; * *
       * The event is related to interaction between Android Studio and Gradle.
       * 
*/ public static final int GRADLE_SYNC_VALUE = 4; /** * PROFILING = 5; * *
       * The event is related to Performance Profiling.
       * 
*/ public static final int PROFILING_VALUE = 5; /** * MONITOR = 6; * *
       * The event is related to Performance Monitoring.
       * 
*/ public static final int MONITOR_VALUE = 6; /** * SDK_MANAGER = 7; * *
       * The event is related to the SDK Manager.
       * 
*/ public static final int SDK_MANAGER_VALUE = 7; /** * TEMPLATE = 8; * *
       * The event is related to project/file templates.
       * 
*/ public static final int TEMPLATE_VALUE = 8; /** * THEME_EDITOR = 9; * *
       * The event is related to Theme Editor.
       * 
*/ public static final int THEME_EDITOR_VALUE = 9; /** * APP_INDEXING = 10; * *
       * The event is related to App Indexing integration.
       *  (http://go/studio-app-indexing)
       * 
*/ public static final int APP_INDEXING_VALUE = 10; /** * LLDB = 11; * *
       * The event is related to C++ debugging.
       * 
*/ public static final int LLDB_VALUE = 11; /** * CLOUD_TESTING = 12; * *
       * The event is related to Google Cloud Test Lab integration.
       * 
*/ public static final int CLOUD_TESTING_VALUE = 12; /** * PING = 13; * *
       * The event is a regular ping from the application.
       * 
*/ public static final int PING_VALUE = 13; /** * TESTS = 14; * *
       * The event is related to running tests.
       * 
*/ public static final int TESTS_VALUE = 14; /** * META = 15; * *
       * The event is a meta event reporting metrics on metrics.
       * 
*/ public static final int META_VALUE = 15; /** * EMULATOR_UI = 16; * *
       * The event is related to the Emulator UI
       * 
*/ public static final int EMULATOR_UI_VALUE = 16; /** * SYSTEM = 17; * *
       * The event describes System Info
       * 
*/ public static final int SYSTEM_VALUE = 17; /** * PROJECT_STRUCTURE_DIALOG = 18; * *
       * The event is related to the Project Structure Dialog.
       * 
*/ public static final int PROJECT_STRUCTURE_DIALOG_VALUE = 18; /** * GRADLE = 19; * *
       * The event is from the Android Gradle plugin.
       * 
*/ public static final int GRADLE_VALUE = 19; /** * FIREBASE_ASSISTANT = 20; * *
       * The event is related to the Firebase assistant.
       * 
*/ public static final int FIREBASE_ASSISTANT_VALUE = 20; /** * GPU_PROFILER = 21; * *
       * The event is related to the GPU Profiler.
       * 
*/ public static final int GPU_PROFILER_VALUE = 21; /** * TEST_RECORDER = 22; * *
       * the event is related to the test recorder (Cassette)
       * 
*/ public static final int TEST_RECORDER_VALUE = 22; /** * STUDIO_UI = 23; * *
       * the event is related to the Android Studio UI.
       * 
*/ public static final int STUDIO_UI_VALUE = 23; public final int getNumber() { return value; } public static EventCategory valueOf(int value) { switch (value) { case 0: return NO_EVENT_CATEGORY; case 1: return DEPLOYMENT; case 2: return STUDIO_BUILD; case 3: return DEVELOPER_SERVICES; case 4: return GRADLE_SYNC; case 5: return PROFILING; case 6: return MONITOR; case 7: return SDK_MANAGER; case 8: return TEMPLATE; case 9: return THEME_EDITOR; case 10: return APP_INDEXING; case 11: return LLDB; case 12: return CLOUD_TESTING; case 13: return PING; case 14: return TESTS; case 15: return META; case 16: return EMULATOR_UI; case 17: return SYSTEM; case 18: return PROJECT_STRUCTURE_DIALOG; case 19: return GRADLE; case 20: return FIREBASE_ASSISTANT; case 21: return GPU_PROFILER; case 22: return TEST_RECORDER; case 23: return STUDIO_UI; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public EventCategory findValueByNumber(int number) { return EventCategory.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.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.getDescriptor().getEnumTypes().get(0); } private static final EventCategory[] VALUES = values(); public static EventCategory 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 EventCategory(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:android_studio.AndroidStudioEvent.EventCategory) } /** * Protobuf enum {@code android_studio.AndroidStudioEvent.EventKind} * *
     * Specific kind of event, primary separation key of all Android Studio
     *  related events.
     * 
*/ public enum EventKind implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN_EVENT_KIND = 0; */ UNKNOWN_EVENT_KIND(0, 0), /** * DEPLOYMENT_APK = 1; * *
       * An APK (android application) is deployed.
       * 
*/ DEPLOYMENT_APK(1, 1), /** * DEPLOYMENT_TO_EMULATOR = 2; * *
       * A deployment to the emulator.
       * 
*/ DEPLOYMENT_TO_EMULATOR(2, 2), /** * DEVELOPER_SERVICES_INSTALLED = 3; * *
       * The developer added a Google Developer Service to their app.
       * 
*/ DEVELOPER_SERVICES_INSTALLED(3, 3), /** * DEVELOPER_SERVICES_REMOVED = 4; * *
       * The developer removed  a Google Developer Service from their app.
       * 
*/ DEVELOPER_SERVICES_REMOVED(4, 4), /** * GRADLE_SYNC_STARTED = 5; * *
       * A sync between Android Studio and Gradle started.
       * 
*/ GRADLE_SYNC_STARTED(5, 5), /** * GRADLE_SYNC_ENDED = 6; * *
       * A sync between Android Studio and Gradle ended.
       * 
*/ GRADLE_SYNC_ENDED(6, 6), /** * GRADLE_SYNC_SKIPPED = 7; * *
       * A sync between Android Studio and Gradle was skipped.
       * 
*/ GRADLE_SYNC_SKIPPED(7, 7), /** * GRADLE_SYNC_FAILURE = 8; * *
       * A sync between Android Studio and Gradle failed.
       * 
*/ GRADLE_SYNC_FAILURE(8, 8), /** * GRADLE_CPP_SYNC_COMPLETED = 9; * *
       * A sync between Android Studio and Gradle C++ support completed.
       * 
*/ GRADLE_CPP_SYNC_COMPLETED(9, 9), /** * PROFILING_CAPTURE = 10; * *
       * Performance profiling capture started.
       * 
*/ PROFILING_CAPTURE(10, 10), /** * PROFILING_OPEN = 11; * *
       * Performance profiling capture opened in the IDE.
       * 
*/ PROFILING_OPEN(11, 11), /** * PROFILING_CONVERT_HPROF = 12; * *
       * Conversion of hprof profiling data in progress.
       * 
*/ PROFILING_CONVERT_HPROF(12, 12), /** * PROFILING_ANALYSIS_RUN = 13; * *
       * Analysis of the profiling data in progress.
       * 
*/ PROFILING_ANALYSIS_RUN(13, 13), /** * MONITOR_ACTIVATED = 14; * *
       * Performance monitoring has been activated.
       * 
*/ MONITOR_ACTIVATED(14, 14), /** * MONITOR_RUNNING = 15; * *
       * Performance monitoring is running.
       * 
*/ MONITOR_RUNNING(15, 15), /** * SDK_MANAGER_TOOLBAR_CLICKED = 16; * *
       * The user selected an action from the SDK Manager Toolbar.
       * 
*/ SDK_MANAGER_TOOLBAR_CLICKED(16, 16), /** * SDK_MANAGER_STANDALONE_LAUNCHED = 17; * *
       * The standalone SDK Manager was launched.
       * 
*/ SDK_MANAGER_STANDALONE_LAUNCHED(17, 17), /** * SDK_MANAGER_LOADED = 18; * *
       * The built-in SDK Manager was launched.
       * 
*/ SDK_MANAGER_LOADED(18, 18), /** * TEMPLATE_RENDER = 19; * *
       * A new file/project is created based on a template.
       * 
*/ TEMPLATE_RENDER(19, 19), /** * THEME_EDITOR_OPEN = 20; * *
       * User opened the Theme Editor.
       * 
*/ THEME_EDITOR_OPEN(20, 20), /** * APP_INDEXING_DEEP_LINK_CREATED = 21; * *
       * A deep link was created for app indexing.
       * 
*/ APP_INDEXING_DEEP_LINK_CREATED(21, 21), /** * APP_INDEXING_API_CODE_CREATED = 22; * *
       * An api code was created for app indexing.
       * 
*/ APP_INDEXING_API_CODE_CREATED(22, 22), /** * APP_INDEXING_DEEP_LINK_LAUNCHED = 23; * *
       * An app indexing deep link was launched.
       * 
*/ APP_INDEXING_DEEP_LINK_LAUNCHED(23, 23), /** * APP_INDEXING_TRIGGER_QUICKFIX = 24; * *
       * An app indexing quick fix was applied.
       * 
*/ APP_INDEXING_TRIGGER_QUICKFIX(24, 24), /** * APP_INDEXING_SHOW_FEAG_DIALOG = 25; * *
       * App Indexing Fetch As Google dialog is shown.
       * 
*/ APP_INDEXING_SHOW_FEAG_DIALOG(25, 25), /** * APP_INDEXING_START_FEAG_TASK = 26; * *
       * App Indexing Fetch As Google task has started.
       * 
*/ APP_INDEXING_START_FEAG_TASK(26, 26), /** * LLDB_LAUNCHED = 27; * *
       * Native debugger is launched.
       * 
*/ LLDB_LAUNCHED(27, 27), /** * LLDB_SESSION_STARTED = 28; * *
       * Native debugger session has started.
       * 
*/ LLDB_SESSION_STARTED(28, 28), /** * LLDB_SESSION_FAILED = 29; * *
       * Native debugger session has failed.
       * 
*/ LLDB_SESSION_FAILED(29, 29), /** * LLDB_SESSION_COMPLETED = 30; * *
       * Native debugger session has completed successfully.
       * 
*/ LLDB_SESSION_COMPLETED(30, 30), /** * LLDB_INSTALL_STARTED = 31; * *
       * SDK Manager QuickFix Wizard is invoked to install LLDB package.
       * 
*/ LLDB_INSTALL_STARTED(31, 31), /** * LLDB_INSTALL_FAILED = 32; * *
       * SDK Manager QuickFix Wizard invocation to install LLDB package failed.
       * 
*/ LLDB_INSTALL_FAILED(32, 32), /** * LLDB_INSTALL_COMPLETED = 33; * *
       * SDK Manager QuickFix Wizard invocation to install LLDB package completed
       *  successfully.
       * 
*/ LLDB_INSTALL_COMPLETED(33, 33), /** * LLDB_SESSION_USED_WATCHPOINTS = 34; * *
       * A watchpoint was added to native code.
       * 
*/ LLDB_SESSION_USED_WATCHPOINTS(34, 34), /** * CLOUD_TESTING_CONFIGURE_CLOUD_DEVICE = 35; * *
       * A Cloud Device was configured for Cloud Testing.
       * 
*/ CLOUD_TESTING_CONFIGURE_CLOUD_DEVICE(35, 35), /** * CLOUD_TESTING_CONFIGURE_MATRIX = 36; * *
       * A Matrix of Cloud Devices was configured for Cloud Testing.
       * 
*/ CLOUD_TESTING_CONFIGURE_MATRIX(36, 36), /** * CLOUD_TESTING_LAUNCH_CLOUD_DEVICE = 37; * *
       * A Cloud Devices was launched for Cloud Testing.
       * 
*/ CLOUD_TESTING_LAUNCH_CLOUD_DEVICE(37, 37), /** * CLOUD_TESTING_RUN_TEST_MATRIX = 38; * *
       * A Matrix of Cloud Devices was run for Cloud Testing.
       * 
*/ CLOUD_TESTING_RUN_TEST_MATRIX(38, 38), /** * CLOUD_TESTING_BACKEND_ERROR = 39; * *
       * Cloud Testing reported a backend error.
       * 
*/ CLOUD_TESTING_BACKEND_ERROR(39, 39), /** * CLOUD_TESTING_DEBUG_FROM_RESULTS = 40; * *
       * A Debug session was launched from Cloud Testing results.
       * 
*/ CLOUD_TESTING_DEBUG_FROM_RESULTS(40, 40), /** * CLOUD_TESTING_COMPARE_SCREENSHOTS_OPENED = 41; * *
       * The compare screenshots window was opened from a Cloud Testing run.
       * 
*/ CLOUD_TESTING_COMPARE_SCREENSHOTS_OPENED(41, 41), /** * STUDIO_CRASH = 42; * *
       * Studio crash statistics were sent.
       * 
*/ STUDIO_CRASH(42, 42), /** * GRADLE_BUILD_DETAILS = 44; * *
       * A Gradle Build was run and statistics are available.
       * 
*/ GRADLE_BUILD_DETAILS(43, 44), /** * INSTANT_RUN = 45; * *
       * Stats on Instant Run.
       * 
*/ INSTANT_RUN(44, 45), /** * STUDIO_PING = 46; * *
       * Daily Android Studio ping with version & os details.
       * 
*/ STUDIO_PING(45, 46), /** * EMULATOR_PING = 47; * *
       * Daily emulator ping with version & os details.
       * 
*/ EMULATOR_PING(46, 47), /** * META_METRICS = 48; * *
       * Metrics on Metrics.
       * 
*/ META_METRICS(47, 48), /** * TEST_RUN = 50; * *
       * User ran tests.
       * 
*/ TEST_RUN(48, 50), /** * EMULATOR_UI_EVENT = 51; * *
       * User clicked something in the Emulator UI.
       * 
*/ EMULATOR_UI_EVENT(49, 51), /** * HYPERVISOR = 52; * *
       * Information on the host OS's hypervisor support.
       * 
*/ HYPERVISOR(50, 52), /** * EMULATOR_HOST = 53; * *
       * Provides info on the Emulator Host
       * 
*/ EMULATOR_HOST(51, 53), /** * PROJECT_STRUCTURE_DIALOG_OPEN = 54; * *
       * Various UI events in the Project Structure Dialog.
       * 
*/ PROJECT_STRUCTURE_DIALOG_OPEN(52, 54), /** * PROJECT_STRUCTURE_DIALOG_SAVE = 55; */ PROJECT_STRUCTURE_DIALOG_SAVE(53, 55), /** * PROJECT_STRUCTURE_DIALOG_TOP_TAB_CLICK = 56; */ PROJECT_STRUCTURE_DIALOG_TOP_TAB_CLICK(54, 56), /** * PROJECT_STRUCTURE_DIALOG_TOP_TAB_SAVE = 57; */ PROJECT_STRUCTURE_DIALOG_TOP_TAB_SAVE(55, 57), /** * PROJECT_STRUCTURE_DIALOG_LEFT_NAV_CLICK = 58; */ PROJECT_STRUCTURE_DIALOG_LEFT_NAV_CLICK(56, 58), /** * PROJECT_STRUCTURE_DIALOG_LEFT_NAV_SAVE = 59; */ PROJECT_STRUCTURE_DIALOG_LEFT_NAV_SAVE(57, 59), /** * GRADLE_BUILD_PROFILE = 60; * *
       * A gradle build profile
       * 
*/ GRADLE_BUILD_PROFILE(58, 60), /** * LLDB_FRONTEND_EXITED = 61; * *
       * The LLDB Frontend has unexpectedly exited
       * 
*/ LLDB_FRONTEND_EXITED(59, 61), /** * FIREBASE_ASSISTANT_PROJECT_CREATED = 62; * *
       * The Firebase assistant created a project.
       * 
*/ FIREBASE_ASSISTANT_PROJECT_CREATED(60, 62), /** * FIREBASE_ASSISTANT_PROJECT_CREATE_FAILED = 63; * *
       * The Firebase assistant failed to create a project.
       * 
*/ FIREBASE_ASSISTANT_PROJECT_CREATE_FAILED(61, 63), /** * FIREBASE_ASSISTANT_PROJECT_UPGRADED = 64; * *
       * The Firebase assistant upgraded a project.
       * 
*/ FIREBASE_ASSISTANT_PROJECT_UPGRADED(62, 64), /** * FIREBASE_ASSISTANT_PROJECT_UPGRADE_FAILED = 66; * *
       * The Firebase assistant failed to upgrade a project.
       * 
*/ FIREBASE_ASSISTANT_PROJECT_UPGRADE_FAILED(63, 66), /** * FIREBASE_ASSISTANT_PROJECT_CONFIG_CREATE_FAILED = 67; * *
       * The Firebase assistant failed to create a config.
       * 
*/ FIREBASE_ASSISTANT_PROJECT_CONFIG_CREATE_FAILED(64, 67), /** * FIREBASE_ASSISTANT_PROJECT_UPDATED = 68; * *
       * The Firebase assistant updated a project.
       * 
*/ FIREBASE_ASSISTANT_PROJECT_UPDATED(65, 68), /** * FIREBASE_ASSISTANT_PROJECT_UPDATE_FAILED = 69; * *
       * The Firebase assistant failed to update a project.
       * 
*/ FIREBASE_ASSISTANT_PROJECT_UPDATE_FAILED(66, 69), /** * FIREBASE_ASSISTANT_PROJECT_CONFIG_WRITE_FAILED = 70; * *
       * The Firebase assistant failed to write the project config.
       * 
*/ FIREBASE_ASSISTANT_PROJECT_CONFIG_WRITE_FAILED(67, 70), /** * FIREBASE_ASSISTANT_TOS_FAILED = 71; * *
       * The Firebase assistant failed as the user did not accept the TOS.
       * 
*/ FIREBASE_ASSISTANT_TOS_FAILED(68, 71), /** * FIREBASE_ASSISTANT_ATTEMPT_LOGIN = 72; * *
       * The Firebase assistant is trying to login.
       * 
*/ FIREBASE_ASSISTANT_ATTEMPT_LOGIN(69, 72), /** * FIREBASE_ASSISTANT_LOGIN_SUCCESS = 73; * *
       * The Firebase assistant successfully logged in.
       * 
*/ FIREBASE_ASSISTANT_LOGIN_SUCCESS(70, 73), /** * FIREBASE_ASSISTANT_RECONNECT_DIALOG_SYNC = 74; * *
       * The Firebase assistant showed the dialog to offer to reconnect.
       * 
*/ FIREBASE_ASSISTANT_RECONNECT_DIALOG_SYNC(71, 74), /** * FIREBASE_ASSISTANT_CONNECT_REQUESTED = 75; * *
       * The Firebase assistant was requested to connect to the server.
       * 
*/ FIREBASE_ASSISTANT_CONNECT_REQUESTED(72, 75), /** * FIREBASE_ASSISTANT_OPEN = 76; * *
       * The Firebase assistant panel was opened.
       * 
*/ FIREBASE_ASSISTANT_OPEN(73, 76), /** * FIREBASE_ASSISTANT_CONNECT_DIALOG_OPENED = 77; * *
       * The Firebase assistant connect dialog was opened.
       * 
*/ FIREBASE_ASSISTANT_CONNECT_DIALOG_OPENED(74, 77), /** * FIREBASE_ASSISTANT_CONNECT_DIALOG_SYNC = 78; * *
       * The Firebase assistant connect dialog was asked to connect.
       * 
*/ FIREBASE_ASSISTANT_CONNECT_DIALOG_SYNC(75, 78), /** * FIREBASE_ASSISTANT_ERROR_PRESENTED = 79; * *
       * The Firebase assistant presented an error to the user.
       * 
*/ FIREBASE_ASSISTANT_ERROR_PRESENTED(76, 79), /** * FIREBASE_ASSISTANT_SILENT_ERROR = 80; * *
       * The Firebase assistant encounted an error but didn't inform the user.
       * 
*/ FIREBASE_ASSISTANT_SILENT_ERROR(77, 80), /** * FIREBASE_ASSISTANT_RECONNECT_DIALOG_OPENED = 81; * *
       * The Firebase assistant reconnect dialog was opened.
       * 
*/ FIREBASE_ASSISTANT_RECONNECT_DIALOG_OPENED(78, 81), /** * GFX_TRACE_INIT_ERROR = 82; * *
       * The GPU Debugger tracing had an initialization failure.
       * 
*/ GFX_TRACE_INIT_ERROR(79, 82), /** * GFX_TRACE_CLOSED = 83; * *
       * The GPU Debugger tracing was closed.
       * 
*/ GFX_TRACE_CLOSED(80, 83), /** * GFX_TRACE_PARAMETER_EDITED = 84; * *
       * The GPU Debugger tracing had a parameter edited.
       * 
*/ GFX_TRACE_PARAMETER_EDITED(81, 84), /** * GFX_TRACE_TRACE_STARTED = 85; * *
       * The GPU Debugger tracing was started.
       * 
*/ GFX_TRACE_TRACE_STARTED(82, 85), /** * GFX_TRACE_TRACE_STOPPED = 86; * *
       * The GPU Debugger tracing was stopped.
       * 
*/ GFX_TRACE_TRACE_STOPPED(83, 86), /** * GFX_TRACE_COMMAND_SELECTED = 87; * *
       * A UI command influencing the the GPU Debugger was selected.
       * 
*/ GFX_TRACE_COMMAND_SELECTED(84, 87), /** * GFX_TRACE_LINK_CLICKED = 88; * *
       * A link from  the GPU Debugger tracing results was clicked.
       * 
*/ GFX_TRACE_LINK_CLICKED(85, 88), /** * GFX_TRACE_MEMORY_VIEWED = 89; * *
       * A memory snapshot from  the GPU Debugger tracing results was clicked.
       * 
*/ GFX_TRACE_MEMORY_VIEWED(86, 89), /** * GFX_TRACE_TEXTURE_VIEWED = 90; * *
       * A texture from the GPU Debugger tracing results was viewed.
       * 
*/ GFX_TRACE_TEXTURE_VIEWED(87, 90), /** * LEGACY_IDEA_ANDROID_PROJECT = 91; * *
       * A "legacy" IntelliJ style project was loaded.
       * 
*/ LEGACY_IDEA_ANDROID_PROJECT(88, 91), /** * TEST_RECORDER_GENERATE_TEST_CLASS = 92; * *
       * The user requested the test recorder to generate a test class.
       * 
*/ TEST_RECORDER_GENERATE_TEST_CLASS(89, 92), /** * TEST_RECORDER_MISSING_ESPRESSO_DEPENDENCIES = 93; * *
       * The test recorder failed as the project is missing espresso dependencies.
       * 
*/ TEST_RECORDER_MISSING_ESPRESSO_DEPENDENCIES(90, 93), /** * TEST_RECORDER_MISSING_INSTRUMENTATION_TEST_FOLDER = 94; * *
       * The test recorder failed as the instrumentation test folder is missing.
       * 
*/ TEST_RECORDER_MISSING_INSTRUMENTATION_TEST_FOLDER(91, 94), /** * TEST_RECORDER_LAUNCH = 95; * *
       * The test recorder was launched.
       * 
*/ TEST_RECORDER_LAUNCH(92, 95), /** * GFX_TRACE_OPEN = 96; * *
       * A GPU Debugger Trace session was opened but not started yet.
       * 
*/ GFX_TRACE_OPEN(93, 96), /** * STUDIO_UI_ACTION_STATS = 97; * *
       * Statistics on user actions in the Android Studio UI.
       * 
*/ STUDIO_UI_ACTION_STATS(94, 97), /** * STUDIO_PROCESS_STATS = 98; * *
       * Stats on the current running Android Studio process.
       * 
*/ STUDIO_PROCESS_STATS(95, 98), ; /** * UNKNOWN_EVENT_KIND = 0; */ public static final int UNKNOWN_EVENT_KIND_VALUE = 0; /** * DEPLOYMENT_APK = 1; * *
       * An APK (android application) is deployed.
       * 
*/ public static final int DEPLOYMENT_APK_VALUE = 1; /** * DEPLOYMENT_TO_EMULATOR = 2; * *
       * A deployment to the emulator.
       * 
*/ public static final int DEPLOYMENT_TO_EMULATOR_VALUE = 2; /** * DEVELOPER_SERVICES_INSTALLED = 3; * *
       * The developer added a Google Developer Service to their app.
       * 
*/ public static final int DEVELOPER_SERVICES_INSTALLED_VALUE = 3; /** * DEVELOPER_SERVICES_REMOVED = 4; * *
       * The developer removed  a Google Developer Service from their app.
       * 
*/ public static final int DEVELOPER_SERVICES_REMOVED_VALUE = 4; /** * GRADLE_SYNC_STARTED = 5; * *
       * A sync between Android Studio and Gradle started.
       * 
*/ public static final int GRADLE_SYNC_STARTED_VALUE = 5; /** * GRADLE_SYNC_ENDED = 6; * *
       * A sync between Android Studio and Gradle ended.
       * 
*/ public static final int GRADLE_SYNC_ENDED_VALUE = 6; /** * GRADLE_SYNC_SKIPPED = 7; * *
       * A sync between Android Studio and Gradle was skipped.
       * 
*/ public static final int GRADLE_SYNC_SKIPPED_VALUE = 7; /** * GRADLE_SYNC_FAILURE = 8; * *
       * A sync between Android Studio and Gradle failed.
       * 
*/ public static final int GRADLE_SYNC_FAILURE_VALUE = 8; /** * GRADLE_CPP_SYNC_COMPLETED = 9; * *
       * A sync between Android Studio and Gradle C++ support completed.
       * 
*/ public static final int GRADLE_CPP_SYNC_COMPLETED_VALUE = 9; /** * PROFILING_CAPTURE = 10; * *
       * Performance profiling capture started.
       * 
*/ public static final int PROFILING_CAPTURE_VALUE = 10; /** * PROFILING_OPEN = 11; * *
       * Performance profiling capture opened in the IDE.
       * 
*/ public static final int PROFILING_OPEN_VALUE = 11; /** * PROFILING_CONVERT_HPROF = 12; * *
       * Conversion of hprof profiling data in progress.
       * 
*/ public static final int PROFILING_CONVERT_HPROF_VALUE = 12; /** * PROFILING_ANALYSIS_RUN = 13; * *
       * Analysis of the profiling data in progress.
       * 
*/ public static final int PROFILING_ANALYSIS_RUN_VALUE = 13; /** * MONITOR_ACTIVATED = 14; * *
       * Performance monitoring has been activated.
       * 
*/ public static final int MONITOR_ACTIVATED_VALUE = 14; /** * MONITOR_RUNNING = 15; * *
       * Performance monitoring is running.
       * 
*/ public static final int MONITOR_RUNNING_VALUE = 15; /** * SDK_MANAGER_TOOLBAR_CLICKED = 16; * *
       * The user selected an action from the SDK Manager Toolbar.
       * 
*/ public static final int SDK_MANAGER_TOOLBAR_CLICKED_VALUE = 16; /** * SDK_MANAGER_STANDALONE_LAUNCHED = 17; * *
       * The standalone SDK Manager was launched.
       * 
*/ public static final int SDK_MANAGER_STANDALONE_LAUNCHED_VALUE = 17; /** * SDK_MANAGER_LOADED = 18; * *
       * The built-in SDK Manager was launched.
       * 
*/ public static final int SDK_MANAGER_LOADED_VALUE = 18; /** * TEMPLATE_RENDER = 19; * *
       * A new file/project is created based on a template.
       * 
*/ public static final int TEMPLATE_RENDER_VALUE = 19; /** * THEME_EDITOR_OPEN = 20; * *
       * User opened the Theme Editor.
       * 
*/ public static final int THEME_EDITOR_OPEN_VALUE = 20; /** * APP_INDEXING_DEEP_LINK_CREATED = 21; * *
       * A deep link was created for app indexing.
       * 
*/ public static final int APP_INDEXING_DEEP_LINK_CREATED_VALUE = 21; /** * APP_INDEXING_API_CODE_CREATED = 22; * *
       * An api code was created for app indexing.
       * 
*/ public static final int APP_INDEXING_API_CODE_CREATED_VALUE = 22; /** * APP_INDEXING_DEEP_LINK_LAUNCHED = 23; * *
       * An app indexing deep link was launched.
       * 
*/ public static final int APP_INDEXING_DEEP_LINK_LAUNCHED_VALUE = 23; /** * APP_INDEXING_TRIGGER_QUICKFIX = 24; * *
       * An app indexing quick fix was applied.
       * 
*/ public static final int APP_INDEXING_TRIGGER_QUICKFIX_VALUE = 24; /** * APP_INDEXING_SHOW_FEAG_DIALOG = 25; * *
       * App Indexing Fetch As Google dialog is shown.
       * 
*/ public static final int APP_INDEXING_SHOW_FEAG_DIALOG_VALUE = 25; /** * APP_INDEXING_START_FEAG_TASK = 26; * *
       * App Indexing Fetch As Google task has started.
       * 
*/ public static final int APP_INDEXING_START_FEAG_TASK_VALUE = 26; /** * LLDB_LAUNCHED = 27; * *
       * Native debugger is launched.
       * 
*/ public static final int LLDB_LAUNCHED_VALUE = 27; /** * LLDB_SESSION_STARTED = 28; * *
       * Native debugger session has started.
       * 
*/ public static final int LLDB_SESSION_STARTED_VALUE = 28; /** * LLDB_SESSION_FAILED = 29; * *
       * Native debugger session has failed.
       * 
*/ public static final int LLDB_SESSION_FAILED_VALUE = 29; /** * LLDB_SESSION_COMPLETED = 30; * *
       * Native debugger session has completed successfully.
       * 
*/ public static final int LLDB_SESSION_COMPLETED_VALUE = 30; /** * LLDB_INSTALL_STARTED = 31; * *
       * SDK Manager QuickFix Wizard is invoked to install LLDB package.
       * 
*/ public static final int LLDB_INSTALL_STARTED_VALUE = 31; /** * LLDB_INSTALL_FAILED = 32; * *
       * SDK Manager QuickFix Wizard invocation to install LLDB package failed.
       * 
*/ public static final int LLDB_INSTALL_FAILED_VALUE = 32; /** * LLDB_INSTALL_COMPLETED = 33; * *
       * SDK Manager QuickFix Wizard invocation to install LLDB package completed
       *  successfully.
       * 
*/ public static final int LLDB_INSTALL_COMPLETED_VALUE = 33; /** * LLDB_SESSION_USED_WATCHPOINTS = 34; * *
       * A watchpoint was added to native code.
       * 
*/ public static final int LLDB_SESSION_USED_WATCHPOINTS_VALUE = 34; /** * CLOUD_TESTING_CONFIGURE_CLOUD_DEVICE = 35; * *
       * A Cloud Device was configured for Cloud Testing.
       * 
*/ public static final int CLOUD_TESTING_CONFIGURE_CLOUD_DEVICE_VALUE = 35; /** * CLOUD_TESTING_CONFIGURE_MATRIX = 36; * *
       * A Matrix of Cloud Devices was configured for Cloud Testing.
       * 
*/ public static final int CLOUD_TESTING_CONFIGURE_MATRIX_VALUE = 36; /** * CLOUD_TESTING_LAUNCH_CLOUD_DEVICE = 37; * *
       * A Cloud Devices was launched for Cloud Testing.
       * 
*/ public static final int CLOUD_TESTING_LAUNCH_CLOUD_DEVICE_VALUE = 37; /** * CLOUD_TESTING_RUN_TEST_MATRIX = 38; * *
       * A Matrix of Cloud Devices was run for Cloud Testing.
       * 
*/ public static final int CLOUD_TESTING_RUN_TEST_MATRIX_VALUE = 38; /** * CLOUD_TESTING_BACKEND_ERROR = 39; * *
       * Cloud Testing reported a backend error.
       * 
*/ public static final int CLOUD_TESTING_BACKEND_ERROR_VALUE = 39; /** * CLOUD_TESTING_DEBUG_FROM_RESULTS = 40; * *
       * A Debug session was launched from Cloud Testing results.
       * 
*/ public static final int CLOUD_TESTING_DEBUG_FROM_RESULTS_VALUE = 40; /** * CLOUD_TESTING_COMPARE_SCREENSHOTS_OPENED = 41; * *
       * The compare screenshots window was opened from a Cloud Testing run.
       * 
*/ public static final int CLOUD_TESTING_COMPARE_SCREENSHOTS_OPENED_VALUE = 41; /** * STUDIO_CRASH = 42; * *
       * Studio crash statistics were sent.
       * 
*/ public static final int STUDIO_CRASH_VALUE = 42; /** * GRADLE_BUILD_DETAILS = 44; * *
       * A Gradle Build was run and statistics are available.
       * 
*/ public static final int GRADLE_BUILD_DETAILS_VALUE = 44; /** * INSTANT_RUN = 45; * *
       * Stats on Instant Run.
       * 
*/ public static final int INSTANT_RUN_VALUE = 45; /** * STUDIO_PING = 46; * *
       * Daily Android Studio ping with version & os details.
       * 
*/ public static final int STUDIO_PING_VALUE = 46; /** * EMULATOR_PING = 47; * *
       * Daily emulator ping with version & os details.
       * 
*/ public static final int EMULATOR_PING_VALUE = 47; /** * META_METRICS = 48; * *
       * Metrics on Metrics.
       * 
*/ public static final int META_METRICS_VALUE = 48; /** * TEST_RUN = 50; * *
       * User ran tests.
       * 
*/ public static final int TEST_RUN_VALUE = 50; /** * EMULATOR_UI_EVENT = 51; * *
       * User clicked something in the Emulator UI.
       * 
*/ public static final int EMULATOR_UI_EVENT_VALUE = 51; /** * HYPERVISOR = 52; * *
       * Information on the host OS's hypervisor support.
       * 
*/ public static final int HYPERVISOR_VALUE = 52; /** * EMULATOR_HOST = 53; * *
       * Provides info on the Emulator Host
       * 
*/ public static final int EMULATOR_HOST_VALUE = 53; /** * PROJECT_STRUCTURE_DIALOG_OPEN = 54; * *
       * Various UI events in the Project Structure Dialog.
       * 
*/ public static final int PROJECT_STRUCTURE_DIALOG_OPEN_VALUE = 54; /** * PROJECT_STRUCTURE_DIALOG_SAVE = 55; */ public static final int PROJECT_STRUCTURE_DIALOG_SAVE_VALUE = 55; /** * PROJECT_STRUCTURE_DIALOG_TOP_TAB_CLICK = 56; */ public static final int PROJECT_STRUCTURE_DIALOG_TOP_TAB_CLICK_VALUE = 56; /** * PROJECT_STRUCTURE_DIALOG_TOP_TAB_SAVE = 57; */ public static final int PROJECT_STRUCTURE_DIALOG_TOP_TAB_SAVE_VALUE = 57; /** * PROJECT_STRUCTURE_DIALOG_LEFT_NAV_CLICK = 58; */ public static final int PROJECT_STRUCTURE_DIALOG_LEFT_NAV_CLICK_VALUE = 58; /** * PROJECT_STRUCTURE_DIALOG_LEFT_NAV_SAVE = 59; */ public static final int PROJECT_STRUCTURE_DIALOG_LEFT_NAV_SAVE_VALUE = 59; /** * GRADLE_BUILD_PROFILE = 60; * *
       * A gradle build profile
       * 
*/ public static final int GRADLE_BUILD_PROFILE_VALUE = 60; /** * LLDB_FRONTEND_EXITED = 61; * *
       * The LLDB Frontend has unexpectedly exited
       * 
*/ public static final int LLDB_FRONTEND_EXITED_VALUE = 61; /** * FIREBASE_ASSISTANT_PROJECT_CREATED = 62; * *
       * The Firebase assistant created a project.
       * 
*/ public static final int FIREBASE_ASSISTANT_PROJECT_CREATED_VALUE = 62; /** * FIREBASE_ASSISTANT_PROJECT_CREATE_FAILED = 63; * *
       * The Firebase assistant failed to create a project.
       * 
*/ public static final int FIREBASE_ASSISTANT_PROJECT_CREATE_FAILED_VALUE = 63; /** * FIREBASE_ASSISTANT_PROJECT_UPGRADED = 64; * *
       * The Firebase assistant upgraded a project.
       * 
*/ public static final int FIREBASE_ASSISTANT_PROJECT_UPGRADED_VALUE = 64; /** * FIREBASE_ASSISTANT_PROJECT_UPGRADE_FAILED = 66; * *
       * The Firebase assistant failed to upgrade a project.
       * 
*/ public static final int FIREBASE_ASSISTANT_PROJECT_UPGRADE_FAILED_VALUE = 66; /** * FIREBASE_ASSISTANT_PROJECT_CONFIG_CREATE_FAILED = 67; * *
       * The Firebase assistant failed to create a config.
       * 
*/ public static final int FIREBASE_ASSISTANT_PROJECT_CONFIG_CREATE_FAILED_VALUE = 67; /** * FIREBASE_ASSISTANT_PROJECT_UPDATED = 68; * *
       * The Firebase assistant updated a project.
       * 
*/ public static final int FIREBASE_ASSISTANT_PROJECT_UPDATED_VALUE = 68; /** * FIREBASE_ASSISTANT_PROJECT_UPDATE_FAILED = 69; * *
       * The Firebase assistant failed to update a project.
       * 
*/ public static final int FIREBASE_ASSISTANT_PROJECT_UPDATE_FAILED_VALUE = 69; /** * FIREBASE_ASSISTANT_PROJECT_CONFIG_WRITE_FAILED = 70; * *
       * The Firebase assistant failed to write the project config.
       * 
*/ public static final int FIREBASE_ASSISTANT_PROJECT_CONFIG_WRITE_FAILED_VALUE = 70; /** * FIREBASE_ASSISTANT_TOS_FAILED = 71; * *
       * The Firebase assistant failed as the user did not accept the TOS.
       * 
*/ public static final int FIREBASE_ASSISTANT_TOS_FAILED_VALUE = 71; /** * FIREBASE_ASSISTANT_ATTEMPT_LOGIN = 72; * *
       * The Firebase assistant is trying to login.
       * 
*/ public static final int FIREBASE_ASSISTANT_ATTEMPT_LOGIN_VALUE = 72; /** * FIREBASE_ASSISTANT_LOGIN_SUCCESS = 73; * *
       * The Firebase assistant successfully logged in.
       * 
*/ public static final int FIREBASE_ASSISTANT_LOGIN_SUCCESS_VALUE = 73; /** * FIREBASE_ASSISTANT_RECONNECT_DIALOG_SYNC = 74; * *
       * The Firebase assistant showed the dialog to offer to reconnect.
       * 
*/ public static final int FIREBASE_ASSISTANT_RECONNECT_DIALOG_SYNC_VALUE = 74; /** * FIREBASE_ASSISTANT_CONNECT_REQUESTED = 75; * *
       * The Firebase assistant was requested to connect to the server.
       * 
*/ public static final int FIREBASE_ASSISTANT_CONNECT_REQUESTED_VALUE = 75; /** * FIREBASE_ASSISTANT_OPEN = 76; * *
       * The Firebase assistant panel was opened.
       * 
*/ public static final int FIREBASE_ASSISTANT_OPEN_VALUE = 76; /** * FIREBASE_ASSISTANT_CONNECT_DIALOG_OPENED = 77; * *
       * The Firebase assistant connect dialog was opened.
       * 
*/ public static final int FIREBASE_ASSISTANT_CONNECT_DIALOG_OPENED_VALUE = 77; /** * FIREBASE_ASSISTANT_CONNECT_DIALOG_SYNC = 78; * *
       * The Firebase assistant connect dialog was asked to connect.
       * 
*/ public static final int FIREBASE_ASSISTANT_CONNECT_DIALOG_SYNC_VALUE = 78; /** * FIREBASE_ASSISTANT_ERROR_PRESENTED = 79; * *
       * The Firebase assistant presented an error to the user.
       * 
*/ public static final int FIREBASE_ASSISTANT_ERROR_PRESENTED_VALUE = 79; /** * FIREBASE_ASSISTANT_SILENT_ERROR = 80; * *
       * The Firebase assistant encounted an error but didn't inform the user.
       * 
*/ public static final int FIREBASE_ASSISTANT_SILENT_ERROR_VALUE = 80; /** * FIREBASE_ASSISTANT_RECONNECT_DIALOG_OPENED = 81; * *
       * The Firebase assistant reconnect dialog was opened.
       * 
*/ public static final int FIREBASE_ASSISTANT_RECONNECT_DIALOG_OPENED_VALUE = 81; /** * GFX_TRACE_INIT_ERROR = 82; * *
       * The GPU Debugger tracing had an initialization failure.
       * 
*/ public static final int GFX_TRACE_INIT_ERROR_VALUE = 82; /** * GFX_TRACE_CLOSED = 83; * *
       * The GPU Debugger tracing was closed.
       * 
*/ public static final int GFX_TRACE_CLOSED_VALUE = 83; /** * GFX_TRACE_PARAMETER_EDITED = 84; * *
       * The GPU Debugger tracing had a parameter edited.
       * 
*/ public static final int GFX_TRACE_PARAMETER_EDITED_VALUE = 84; /** * GFX_TRACE_TRACE_STARTED = 85; * *
       * The GPU Debugger tracing was started.
       * 
*/ public static final int GFX_TRACE_TRACE_STARTED_VALUE = 85; /** * GFX_TRACE_TRACE_STOPPED = 86; * *
       * The GPU Debugger tracing was stopped.
       * 
*/ public static final int GFX_TRACE_TRACE_STOPPED_VALUE = 86; /** * GFX_TRACE_COMMAND_SELECTED = 87; * *
       * A UI command influencing the the GPU Debugger was selected.
       * 
*/ public static final int GFX_TRACE_COMMAND_SELECTED_VALUE = 87; /** * GFX_TRACE_LINK_CLICKED = 88; * *
       * A link from  the GPU Debugger tracing results was clicked.
       * 
*/ public static final int GFX_TRACE_LINK_CLICKED_VALUE = 88; /** * GFX_TRACE_MEMORY_VIEWED = 89; * *
       * A memory snapshot from  the GPU Debugger tracing results was clicked.
       * 
*/ public static final int GFX_TRACE_MEMORY_VIEWED_VALUE = 89; /** * GFX_TRACE_TEXTURE_VIEWED = 90; * *
       * A texture from the GPU Debugger tracing results was viewed.
       * 
*/ public static final int GFX_TRACE_TEXTURE_VIEWED_VALUE = 90; /** * LEGACY_IDEA_ANDROID_PROJECT = 91; * *
       * A "legacy" IntelliJ style project was loaded.
       * 
*/ public static final int LEGACY_IDEA_ANDROID_PROJECT_VALUE = 91; /** * TEST_RECORDER_GENERATE_TEST_CLASS = 92; * *
       * The user requested the test recorder to generate a test class.
       * 
*/ public static final int TEST_RECORDER_GENERATE_TEST_CLASS_VALUE = 92; /** * TEST_RECORDER_MISSING_ESPRESSO_DEPENDENCIES = 93; * *
       * The test recorder failed as the project is missing espresso dependencies.
       * 
*/ public static final int TEST_RECORDER_MISSING_ESPRESSO_DEPENDENCIES_VALUE = 93; /** * TEST_RECORDER_MISSING_INSTRUMENTATION_TEST_FOLDER = 94; * *
       * The test recorder failed as the instrumentation test folder is missing.
       * 
*/ public static final int TEST_RECORDER_MISSING_INSTRUMENTATION_TEST_FOLDER_VALUE = 94; /** * TEST_RECORDER_LAUNCH = 95; * *
       * The test recorder was launched.
       * 
*/ public static final int TEST_RECORDER_LAUNCH_VALUE = 95; /** * GFX_TRACE_OPEN = 96; * *
       * A GPU Debugger Trace session was opened but not started yet.
       * 
*/ public static final int GFX_TRACE_OPEN_VALUE = 96; /** * STUDIO_UI_ACTION_STATS = 97; * *
       * Statistics on user actions in the Android Studio UI.
       * 
*/ public static final int STUDIO_UI_ACTION_STATS_VALUE = 97; /** * STUDIO_PROCESS_STATS = 98; * *
       * Stats on the current running Android Studio process.
       * 
*/ public static final int STUDIO_PROCESS_STATS_VALUE = 98; public final int getNumber() { return value; } public static EventKind valueOf(int value) { switch (value) { case 0: return UNKNOWN_EVENT_KIND; case 1: return DEPLOYMENT_APK; case 2: return DEPLOYMENT_TO_EMULATOR; case 3: return DEVELOPER_SERVICES_INSTALLED; case 4: return DEVELOPER_SERVICES_REMOVED; case 5: return GRADLE_SYNC_STARTED; case 6: return GRADLE_SYNC_ENDED; case 7: return GRADLE_SYNC_SKIPPED; case 8: return GRADLE_SYNC_FAILURE; case 9: return GRADLE_CPP_SYNC_COMPLETED; case 10: return PROFILING_CAPTURE; case 11: return PROFILING_OPEN; case 12: return PROFILING_CONVERT_HPROF; case 13: return PROFILING_ANALYSIS_RUN; case 14: return MONITOR_ACTIVATED; case 15: return MONITOR_RUNNING; case 16: return SDK_MANAGER_TOOLBAR_CLICKED; case 17: return SDK_MANAGER_STANDALONE_LAUNCHED; case 18: return SDK_MANAGER_LOADED; case 19: return TEMPLATE_RENDER; case 20: return THEME_EDITOR_OPEN; case 21: return APP_INDEXING_DEEP_LINK_CREATED; case 22: return APP_INDEXING_API_CODE_CREATED; case 23: return APP_INDEXING_DEEP_LINK_LAUNCHED; case 24: return APP_INDEXING_TRIGGER_QUICKFIX; case 25: return APP_INDEXING_SHOW_FEAG_DIALOG; case 26: return APP_INDEXING_START_FEAG_TASK; case 27: return LLDB_LAUNCHED; case 28: return LLDB_SESSION_STARTED; case 29: return LLDB_SESSION_FAILED; case 30: return LLDB_SESSION_COMPLETED; case 31: return LLDB_INSTALL_STARTED; case 32: return LLDB_INSTALL_FAILED; case 33: return LLDB_INSTALL_COMPLETED; case 34: return LLDB_SESSION_USED_WATCHPOINTS; case 35: return CLOUD_TESTING_CONFIGURE_CLOUD_DEVICE; case 36: return CLOUD_TESTING_CONFIGURE_MATRIX; case 37: return CLOUD_TESTING_LAUNCH_CLOUD_DEVICE; case 38: return CLOUD_TESTING_RUN_TEST_MATRIX; case 39: return CLOUD_TESTING_BACKEND_ERROR; case 40: return CLOUD_TESTING_DEBUG_FROM_RESULTS; case 41: return CLOUD_TESTING_COMPARE_SCREENSHOTS_OPENED; case 42: return STUDIO_CRASH; case 44: return GRADLE_BUILD_DETAILS; case 45: return INSTANT_RUN; case 46: return STUDIO_PING; case 47: return EMULATOR_PING; case 48: return META_METRICS; case 50: return TEST_RUN; case 51: return EMULATOR_UI_EVENT; case 52: return HYPERVISOR; case 53: return EMULATOR_HOST; case 54: return PROJECT_STRUCTURE_DIALOG_OPEN; case 55: return PROJECT_STRUCTURE_DIALOG_SAVE; case 56: return PROJECT_STRUCTURE_DIALOG_TOP_TAB_CLICK; case 57: return PROJECT_STRUCTURE_DIALOG_TOP_TAB_SAVE; case 58: return PROJECT_STRUCTURE_DIALOG_LEFT_NAV_CLICK; case 59: return PROJECT_STRUCTURE_DIALOG_LEFT_NAV_SAVE; case 60: return GRADLE_BUILD_PROFILE; case 61: return LLDB_FRONTEND_EXITED; case 62: return FIREBASE_ASSISTANT_PROJECT_CREATED; case 63: return FIREBASE_ASSISTANT_PROJECT_CREATE_FAILED; case 64: return FIREBASE_ASSISTANT_PROJECT_UPGRADED; case 66: return FIREBASE_ASSISTANT_PROJECT_UPGRADE_FAILED; case 67: return FIREBASE_ASSISTANT_PROJECT_CONFIG_CREATE_FAILED; case 68: return FIREBASE_ASSISTANT_PROJECT_UPDATED; case 69: return FIREBASE_ASSISTANT_PROJECT_UPDATE_FAILED; case 70: return FIREBASE_ASSISTANT_PROJECT_CONFIG_WRITE_FAILED; case 71: return FIREBASE_ASSISTANT_TOS_FAILED; case 72: return FIREBASE_ASSISTANT_ATTEMPT_LOGIN; case 73: return FIREBASE_ASSISTANT_LOGIN_SUCCESS; case 74: return FIREBASE_ASSISTANT_RECONNECT_DIALOG_SYNC; case 75: return FIREBASE_ASSISTANT_CONNECT_REQUESTED; case 76: return FIREBASE_ASSISTANT_OPEN; case 77: return FIREBASE_ASSISTANT_CONNECT_DIALOG_OPENED; case 78: return FIREBASE_ASSISTANT_CONNECT_DIALOG_SYNC; case 79: return FIREBASE_ASSISTANT_ERROR_PRESENTED; case 80: return FIREBASE_ASSISTANT_SILENT_ERROR; case 81: return FIREBASE_ASSISTANT_RECONNECT_DIALOG_OPENED; case 82: return GFX_TRACE_INIT_ERROR; case 83: return GFX_TRACE_CLOSED; case 84: return GFX_TRACE_PARAMETER_EDITED; case 85: return GFX_TRACE_TRACE_STARTED; case 86: return GFX_TRACE_TRACE_STOPPED; case 87: return GFX_TRACE_COMMAND_SELECTED; case 88: return GFX_TRACE_LINK_CLICKED; case 89: return GFX_TRACE_MEMORY_VIEWED; case 90: return GFX_TRACE_TEXTURE_VIEWED; case 91: return LEGACY_IDEA_ANDROID_PROJECT; case 92: return TEST_RECORDER_GENERATE_TEST_CLASS; case 93: return TEST_RECORDER_MISSING_ESPRESSO_DEPENDENCIES; case 94: return TEST_RECORDER_MISSING_INSTRUMENTATION_TEST_FOLDER; case 95: return TEST_RECORDER_LAUNCH; case 96: return GFX_TRACE_OPEN; case 97: return STUDIO_UI_ACTION_STATS; case 98: return STUDIO_PROCESS_STATS; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public EventKind findValueByNumber(int number) { return EventKind.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.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.getDescriptor().getEnumTypes().get(1); } private static final EventKind[] VALUES = values(); public static EventKind 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 EventKind(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:android_studio.AndroidStudioEvent.EventKind) } /** * Protobuf enum {@code android_studio.AndroidStudioEvent.MonitorType} * *
     * Represents different Performance Monitoring types.
     * 
*/ public enum MonitorType implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN_MONITOR_TYPE = 0; */ UNKNOWN_MONITOR_TYPE(0, 0), /** * CPU = 1; */ CPU(1, 1), /** * GPU = 2; */ GPU(2, 2), /** * MEMORY = 3; */ MEMORY(3, 3), /** * NETWORK = 4; */ NETWORK(4, 4), ; /** * UNKNOWN_MONITOR_TYPE = 0; */ public static final int UNKNOWN_MONITOR_TYPE_VALUE = 0; /** * CPU = 1; */ public static final int CPU_VALUE = 1; /** * GPU = 2; */ public static final int GPU_VALUE = 2; /** * MEMORY = 3; */ public static final int MEMORY_VALUE = 3; /** * NETWORK = 4; */ public static final int NETWORK_VALUE = 4; public final int getNumber() { return value; } public static MonitorType valueOf(int value) { switch (value) { case 0: return UNKNOWN_MONITOR_TYPE; case 1: return CPU; case 2: return GPU; case 3: return MEMORY; case 4: return NETWORK; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public MonitorType findValueByNumber(int number) { return MonitorType.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.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.getDescriptor().getEnumTypes().get(2); } private static final MonitorType[] VALUES = values(); public static MonitorType 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 MonitorType(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:android_studio.AndroidStudioEvent.MonitorType) } /** * Protobuf enum {@code android_studio.AndroidStudioEvent.ProfilerCaptureType} * *
     * Represents different Performance Profiler Capture types.
     * 
*/ public enum ProfilerCaptureType implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN_PROFILER_CAPTURE_TYPE = 0; */ UNKNOWN_PROFILER_CAPTURE_TYPE(0, 0), /** * ALLOCATION = 1; */ ALLOCATION(1, 1), /** * FILE = 2; */ FILE(2, 2), /** * GFX_TRACE = 3; */ GFX_TRACE(3, 3), /** * HEAP = 4; */ HEAP(4, 4), /** * SYSTEM_INFO = 5; */ SYSTEM_INFO(5, 5), /** * VM_TRACE = 6; */ VM_TRACE(6, 6), /** * METHOD_TRACING = 7; */ METHOD_TRACING(7, 7), /** * LAYOUT_INSPECTOR_SNAPSHOT = 8; */ LAYOUT_INSPECTOR_SNAPSHOT(8, 8), /** * HIERARCHY_VIEW = 9; */ HIERARCHY_VIEW(9, 9), ; /** * UNKNOWN_PROFILER_CAPTURE_TYPE = 0; */ public static final int UNKNOWN_PROFILER_CAPTURE_TYPE_VALUE = 0; /** * ALLOCATION = 1; */ public static final int ALLOCATION_VALUE = 1; /** * FILE = 2; */ public static final int FILE_VALUE = 2; /** * GFX_TRACE = 3; */ public static final int GFX_TRACE_VALUE = 3; /** * HEAP = 4; */ public static final int HEAP_VALUE = 4; /** * SYSTEM_INFO = 5; */ public static final int SYSTEM_INFO_VALUE = 5; /** * VM_TRACE = 6; */ public static final int VM_TRACE_VALUE = 6; /** * METHOD_TRACING = 7; */ public static final int METHOD_TRACING_VALUE = 7; /** * LAYOUT_INSPECTOR_SNAPSHOT = 8; */ public static final int LAYOUT_INSPECTOR_SNAPSHOT_VALUE = 8; /** * HIERARCHY_VIEW = 9; */ public static final int HIERARCHY_VIEW_VALUE = 9; public final int getNumber() { return value; } public static ProfilerCaptureType valueOf(int value) { switch (value) { case 0: return UNKNOWN_PROFILER_CAPTURE_TYPE; case 1: return ALLOCATION; case 2: return FILE; case 3: return GFX_TRACE; case 4: return HEAP; case 5: return SYSTEM_INFO; case 6: return VM_TRACE; case 7: return METHOD_TRACING; case 8: return LAYOUT_INSPECTOR_SNAPSHOT; case 9: return HIERARCHY_VIEW; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public ProfilerCaptureType findValueByNumber(int number) { return ProfilerCaptureType.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.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.getDescriptor().getEnumTypes().get(3); } private static final ProfilerCaptureType[] VALUES = values(); public static ProfilerCaptureType 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 ProfilerCaptureType(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:android_studio.AndroidStudioEvent.ProfilerCaptureType) } /** * Protobuf enum {@code android_studio.AndroidStudioEvent.RunConfigurationType} * *
     * Represents the different Run Configurations the debugger supports.
     * 
*/ public enum RunConfigurationType implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN_RUN_CONFIGURATION_TYPE = 0; */ UNKNOWN_RUN_CONFIGURATION_TYPE(0, 0), /** * ANDROID = 1; */ ANDROID(1, 1), /** * ANDROID_NATIVE = 2; */ ANDROID_NATIVE(2, 2), /** * ANDROID_TEST = 3; */ ANDROID_TEST(3, 3), ; /** * UNKNOWN_RUN_CONFIGURATION_TYPE = 0; */ public static final int UNKNOWN_RUN_CONFIGURATION_TYPE_VALUE = 0; /** * ANDROID = 1; */ public static final int ANDROID_VALUE = 1; /** * ANDROID_NATIVE = 2; */ public static final int ANDROID_NATIVE_VALUE = 2; /** * ANDROID_TEST = 3; */ public static final int ANDROID_TEST_VALUE = 3; public final int getNumber() { return value; } public static RunConfigurationType valueOf(int value) { switch (value) { case 0: return UNKNOWN_RUN_CONFIGURATION_TYPE; case 1: return ANDROID; case 2: return ANDROID_NATIVE; case 3: return ANDROID_TEST; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public RunConfigurationType findValueByNumber(int number) { return RunConfigurationType.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.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.getDescriptor().getEnumTypes().get(4); } private static final RunConfigurationType[] VALUES = values(); public static RunConfigurationType 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 RunConfigurationType(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:android_studio.AndroidStudioEvent.RunConfigurationType) } /** * Protobuf enum {@code android_studio.AndroidStudioEvent.DebuggerType} * *
     * Represents the different debugger types supported.
     * 
*/ public enum DebuggerType implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN_DEBUGGER_TYPE = 0; */ UNKNOWN_DEBUGGER_TYPE(0, 0), /** * JAVA = 1; */ JAVA(1, 1), /** * HYBRID = 2; */ HYBRID(2, 2), /** * NATIVE = 3; */ NATIVE(3, 3), ; /** * UNKNOWN_DEBUGGER_TYPE = 0; */ public static final int UNKNOWN_DEBUGGER_TYPE_VALUE = 0; /** * JAVA = 1; */ public static final int JAVA_VALUE = 1; /** * HYBRID = 2; */ public static final int HYBRID_VALUE = 2; /** * NATIVE = 3; */ public static final int NATIVE_VALUE = 3; public final int getNumber() { return value; } public static DebuggerType valueOf(int value) { switch (value) { case 0: return UNKNOWN_DEBUGGER_TYPE; case 1: return JAVA; case 2: return HYBRID; case 3: return NATIVE; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public DebuggerType findValueByNumber(int number) { return DebuggerType.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.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.getDescriptor().getEnumTypes().get(5); } private static final DebuggerType[] VALUES = values(); public static DebuggerType 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 DebuggerType(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:android_studio.AndroidStudioEvent.DebuggerType) } /** * Protobuf enum {@code android_studio.AndroidStudioEvent.DeveloperServiceKind} * *
     * Represents the different Google Developer Services that can be
     *  (semi-)automatically integrated into Android Applications.
     * 
*/ public enum DeveloperServiceKind implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN_DEVELOPER_SERVICE_KIND = 0; */ UNKNOWN_DEVELOPER_SERVICE_KIND(0, 0), /** * GOOGLE_CLOUD_MESSAGING = 1; */ GOOGLE_CLOUD_MESSAGING(1, 1), /** * AD_MOB = 2; */ AD_MOB(2, 2), /** * GOOGLE_SIGN_IN = 3; */ GOOGLE_SIGN_IN(3, 3), /** * GOOGLE_ANALYTICS = 4; */ GOOGLE_ANALYTICS(4, 4), /** * FIREBASE = 5; */ FIREBASE(5, 5), /** * REALTIME_DATABASE = 6; */ REALTIME_DATABASE(6, 6), /** * AUTHENTICATION = 7; */ AUTHENTICATION(7, 7), /** * CRASH_REPORTING = 8; */ CRASH_REPORTING(8, 8), /** * NOTIFICATIONS = 9; */ NOTIFICATIONS(9, 9), /** * REMOTE_CONFIG = 10; */ REMOTE_CONFIG(10, 10), /** * STORAGE = 11; */ STORAGE(11, 11), /** * APP_INVITES = 12; */ APP_INVITES(12, 12), /** * DYNAMIC_LINKS = 13; */ DYNAMIC_LINKS(13, 13), ; /** * UNKNOWN_DEVELOPER_SERVICE_KIND = 0; */ public static final int UNKNOWN_DEVELOPER_SERVICE_KIND_VALUE = 0; /** * GOOGLE_CLOUD_MESSAGING = 1; */ public static final int GOOGLE_CLOUD_MESSAGING_VALUE = 1; /** * AD_MOB = 2; */ public static final int AD_MOB_VALUE = 2; /** * GOOGLE_SIGN_IN = 3; */ public static final int GOOGLE_SIGN_IN_VALUE = 3; /** * GOOGLE_ANALYTICS = 4; */ public static final int GOOGLE_ANALYTICS_VALUE = 4; /** * FIREBASE = 5; */ public static final int FIREBASE_VALUE = 5; /** * REALTIME_DATABASE = 6; */ public static final int REALTIME_DATABASE_VALUE = 6; /** * AUTHENTICATION = 7; */ public static final int AUTHENTICATION_VALUE = 7; /** * CRASH_REPORTING = 8; */ public static final int CRASH_REPORTING_VALUE = 8; /** * NOTIFICATIONS = 9; */ public static final int NOTIFICATIONS_VALUE = 9; /** * REMOTE_CONFIG = 10; */ public static final int REMOTE_CONFIG_VALUE = 10; /** * STORAGE = 11; */ public static final int STORAGE_VALUE = 11; /** * APP_INVITES = 12; */ public static final int APP_INVITES_VALUE = 12; /** * DYNAMIC_LINKS = 13; */ public static final int DYNAMIC_LINKS_VALUE = 13; public final int getNumber() { return value; } public static DeveloperServiceKind valueOf(int value) { switch (value) { case 0: return UNKNOWN_DEVELOPER_SERVICE_KIND; case 1: return GOOGLE_CLOUD_MESSAGING; case 2: return AD_MOB; case 3: return GOOGLE_SIGN_IN; case 4: return GOOGLE_ANALYTICS; case 5: return FIREBASE; case 6: return REALTIME_DATABASE; case 7: return AUTHENTICATION; case 8: return CRASH_REPORTING; case 9: return NOTIFICATIONS; case 10: return REMOTE_CONFIG; case 11: return STORAGE; case 12: return APP_INVITES; case 13: return DYNAMIC_LINKS; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public DeveloperServiceKind findValueByNumber(int number) { return DeveloperServiceKind.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.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.getDescriptor().getEnumTypes().get(6); } private static final DeveloperServiceKind[] VALUES = values(); public static DeveloperServiceKind 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 DeveloperServiceKind(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:android_studio.AndroidStudioEvent.DeveloperServiceKind) } /** * Protobuf enum {@code android_studio.AndroidStudioEvent.TemplateRenderer} * *
     * The various templates the template engine could be asked to render.
     * 
*/ public enum TemplateRenderer implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN_TEMPLATE_RENDERER = 0; */ UNKNOWN_TEMPLATE_RENDERER(0, 0), /** * CUSTOM_TEMPLATE_RENDERER = 1; */ CUSTOM_TEMPLATE_RENDERER(1, 1), /** * ANDROID_MODULE = 2; */ ANDROID_MODULE(2, 2), /** * ANDROID_PROJECT = 3; */ ANDROID_PROJECT(3, 3), /** * EMPTY_ACTIVITY = 4; */ EMPTY_ACTIVITY(4, 4), /** * BLANK_ACTIVITY = 5; */ BLANK_ACTIVITY(5, 5), /** * LAYOUT_XML_FILE = 6; */ LAYOUT_XML_FILE(6, 6), /** * FRAGMENT_BLANK = 7; */ FRAGMENT_BLANK(7, 7), /** * NAVIGATION_DRAWER_ACTIVITY = 8; */ NAVIGATION_DRAWER_ACTIVITY(8, 8), /** * VALUES_XML_FILE = 9; */ VALUES_XML_FILE(9, 9), /** * GOOGLE_MAPS_ACTIVITY = 10; */ GOOGLE_MAPS_ACTIVITY(10, 10), /** * LOGIN_ACTIVITY = 11; */ LOGIN_ACTIVITY(11, 11), /** * ASSETS_FOLDER = 12; */ ASSETS_FOLDER(12, 12), /** * TABBED_ACTIVITY = 13; */ TABBED_ACTIVITY(13, 13), /** * SCROLLING_ACTIVITY = 14; */ SCROLLING_ACTIVITY(14, 14), /** * FULLSCREEN_ACTIVITY = 15; */ FULLSCREEN_ACTIVITY(15, 15), /** * SERVICE = 16; */ SERVICE(16, 16), /** * JAVA_LIBRARY = 17; */ JAVA_LIBRARY(17, 17), /** * SETTINGS_ACTIVITY = 18; */ SETTINGS_ACTIVITY(18, 18), /** * FRAGMENT_LIST = 19; */ FRAGMENT_LIST(19, 19), /** * MASTER_DETAIL_FLOW = 20; */ MASTER_DETAIL_FLOW(20, 20), /** * ANDROID_WEAR_MODULE = 21; */ ANDROID_WEAR_MODULE(21, 21), /** * BROADCAST_RECEIVER = 22; */ BROADCAST_RECEIVER(22, 22), /** * AIDL_FILE = 23; */ AIDL_FILE(23, 23), /** * INTENT_SERVICE = 24; */ INTENT_SERVICE(24, 24), /** * JNI_FOLDER = 25; */ JNI_FOLDER(25, 25), /** * JAVA_FOLDER = 26; */ JAVA_FOLDER(26, 26), /** * CUSTOM_VIEW = 27; */ CUSTOM_VIEW(27, 27), /** * ANDROID_TV_MODULE = 28; */ ANDROID_TV_MODULE(28, 28), /** * GOOGLE_ADMOBS_ADS_ACTIVITY = 29; */ GOOGLE_ADMOBS_ADS_ACTIVITY(29, 29), /** * ALWAYS_ON_WEAR_ACTIVITY = 30; */ ALWAYS_ON_WEAR_ACTIVITY(30, 30), /** * RES_FOLDER = 31; */ RES_FOLDER(31, 31), /** * ANDROID_TV_ACTIVITY = 32; */ ANDROID_TV_ACTIVITY(32, 32), /** * BLANK_WEAR_ACTIVITY = 33; */ BLANK_WEAR_ACTIVITY(33, 33), /** * BASIC_ACTIVITIY = 34; */ BASIC_ACTIVITIY(34, 34), /** * APP_WIDGET = 35; */ APP_WIDGET(35, 35), ; /** * UNKNOWN_TEMPLATE_RENDERER = 0; */ public static final int UNKNOWN_TEMPLATE_RENDERER_VALUE = 0; /** * CUSTOM_TEMPLATE_RENDERER = 1; */ public static final int CUSTOM_TEMPLATE_RENDERER_VALUE = 1; /** * ANDROID_MODULE = 2; */ public static final int ANDROID_MODULE_VALUE = 2; /** * ANDROID_PROJECT = 3; */ public static final int ANDROID_PROJECT_VALUE = 3; /** * EMPTY_ACTIVITY = 4; */ public static final int EMPTY_ACTIVITY_VALUE = 4; /** * BLANK_ACTIVITY = 5; */ public static final int BLANK_ACTIVITY_VALUE = 5; /** * LAYOUT_XML_FILE = 6; */ public static final int LAYOUT_XML_FILE_VALUE = 6; /** * FRAGMENT_BLANK = 7; */ public static final int FRAGMENT_BLANK_VALUE = 7; /** * NAVIGATION_DRAWER_ACTIVITY = 8; */ public static final int NAVIGATION_DRAWER_ACTIVITY_VALUE = 8; /** * VALUES_XML_FILE = 9; */ public static final int VALUES_XML_FILE_VALUE = 9; /** * GOOGLE_MAPS_ACTIVITY = 10; */ public static final int GOOGLE_MAPS_ACTIVITY_VALUE = 10; /** * LOGIN_ACTIVITY = 11; */ public static final int LOGIN_ACTIVITY_VALUE = 11; /** * ASSETS_FOLDER = 12; */ public static final int ASSETS_FOLDER_VALUE = 12; /** * TABBED_ACTIVITY = 13; */ public static final int TABBED_ACTIVITY_VALUE = 13; /** * SCROLLING_ACTIVITY = 14; */ public static final int SCROLLING_ACTIVITY_VALUE = 14; /** * FULLSCREEN_ACTIVITY = 15; */ public static final int FULLSCREEN_ACTIVITY_VALUE = 15; /** * SERVICE = 16; */ public static final int SERVICE_VALUE = 16; /** * JAVA_LIBRARY = 17; */ public static final int JAVA_LIBRARY_VALUE = 17; /** * SETTINGS_ACTIVITY = 18; */ public static final int SETTINGS_ACTIVITY_VALUE = 18; /** * FRAGMENT_LIST = 19; */ public static final int FRAGMENT_LIST_VALUE = 19; /** * MASTER_DETAIL_FLOW = 20; */ public static final int MASTER_DETAIL_FLOW_VALUE = 20; /** * ANDROID_WEAR_MODULE = 21; */ public static final int ANDROID_WEAR_MODULE_VALUE = 21; /** * BROADCAST_RECEIVER = 22; */ public static final int BROADCAST_RECEIVER_VALUE = 22; /** * AIDL_FILE = 23; */ public static final int AIDL_FILE_VALUE = 23; /** * INTENT_SERVICE = 24; */ public static final int INTENT_SERVICE_VALUE = 24; /** * JNI_FOLDER = 25; */ public static final int JNI_FOLDER_VALUE = 25; /** * JAVA_FOLDER = 26; */ public static final int JAVA_FOLDER_VALUE = 26; /** * CUSTOM_VIEW = 27; */ public static final int CUSTOM_VIEW_VALUE = 27; /** * ANDROID_TV_MODULE = 28; */ public static final int ANDROID_TV_MODULE_VALUE = 28; /** * GOOGLE_ADMOBS_ADS_ACTIVITY = 29; */ public static final int GOOGLE_ADMOBS_ADS_ACTIVITY_VALUE = 29; /** * ALWAYS_ON_WEAR_ACTIVITY = 30; */ public static final int ALWAYS_ON_WEAR_ACTIVITY_VALUE = 30; /** * RES_FOLDER = 31; */ public static final int RES_FOLDER_VALUE = 31; /** * ANDROID_TV_ACTIVITY = 32; */ public static final int ANDROID_TV_ACTIVITY_VALUE = 32; /** * BLANK_WEAR_ACTIVITY = 33; */ public static final int BLANK_WEAR_ACTIVITY_VALUE = 33; /** * BASIC_ACTIVITIY = 34; */ public static final int BASIC_ACTIVITIY_VALUE = 34; /** * APP_WIDGET = 35; */ public static final int APP_WIDGET_VALUE = 35; public final int getNumber() { return value; } public static TemplateRenderer valueOf(int value) { switch (value) { case 0: return UNKNOWN_TEMPLATE_RENDERER; case 1: return CUSTOM_TEMPLATE_RENDERER; case 2: return ANDROID_MODULE; case 3: return ANDROID_PROJECT; case 4: return EMPTY_ACTIVITY; case 5: return BLANK_ACTIVITY; case 6: return LAYOUT_XML_FILE; case 7: return FRAGMENT_BLANK; case 8: return NAVIGATION_DRAWER_ACTIVITY; case 9: return VALUES_XML_FILE; case 10: return GOOGLE_MAPS_ACTIVITY; case 11: return LOGIN_ACTIVITY; case 12: return ASSETS_FOLDER; case 13: return TABBED_ACTIVITY; case 14: return SCROLLING_ACTIVITY; case 15: return FULLSCREEN_ACTIVITY; case 16: return SERVICE; case 17: return JAVA_LIBRARY; case 18: return SETTINGS_ACTIVITY; case 19: return FRAGMENT_LIST; case 20: return MASTER_DETAIL_FLOW; case 21: return ANDROID_WEAR_MODULE; case 22: return BROADCAST_RECEIVER; case 23: return AIDL_FILE; case 24: return INTENT_SERVICE; case 25: return JNI_FOLDER; case 26: return JAVA_FOLDER; case 27: return CUSTOM_VIEW; case 28: return ANDROID_TV_MODULE; case 29: return GOOGLE_ADMOBS_ADS_ACTIVITY; case 30: return ALWAYS_ON_WEAR_ACTIVITY; case 31: return RES_FOLDER; case 32: return ANDROID_TV_ACTIVITY; case 33: return BLANK_WEAR_ACTIVITY; case 34: return BASIC_ACTIVITIY; case 35: return APP_WIDGET; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public TemplateRenderer findValueByNumber(int number) { return TemplateRenderer.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.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.getDescriptor().getEnumTypes().get(7); } private static final TemplateRenderer[] VALUES = values(); public static TemplateRenderer 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 TemplateRenderer(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:android_studio.AndroidStudioEvent.TemplateRenderer) } /** * Protobuf enum {@code android_studio.AndroidStudioEvent.GradleSyncFailure} * *
     * Reasons Gradle sync failed.
     * 
*/ public enum GradleSyncFailure implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN_GRADLE_FAILURE = 0; */ UNKNOWN_GRADLE_FAILURE(0, 0), /** * CONNECTION_DENIED = 1; */ CONNECTION_DENIED(1, 1), /** * CLASS_NOT_FOUND = 2; */ CLASS_NOT_FOUND(2, 2), /** * DSL_METHOD_NOT_FOUND = 3; */ DSL_METHOD_NOT_FOUND(3, 3), /** * FAILED_TO_PARSE_SDK = 4; */ FAILED_TO_PARSE_SDK(4, 4), /** * METHOD_NOT_FOUND = 5; */ METHOD_NOT_FOUND(5, 5), /** * MISSING_ANDROID_PLATFORM = 6; */ MISSING_ANDROID_PLATFORM(6, 6), /** * MISSING_ANDROID_SUPPORT_REPO = 7; */ MISSING_ANDROID_SUPPORT_REPO(7, 7), /** * MISSING_BUILD_TOOLS = 8; */ MISSING_BUILD_TOOLS(8, 8), /** * OUT_OF_MEMORY = 9; */ OUT_OF_MEMORY(9, 9), /** * SDK_NOT_FOUND = 10; */ SDK_NOT_FOUND(10, 10), /** * UNKNOWN_HOST = 11; */ UNKNOWN_HOST(11, 11), /** * UNSUPPORTED_ANDROID_MODEL_VERSION = 12; */ UNSUPPORTED_ANDROID_MODEL_VERSION(12, 12), /** * UNSUPPORTED_GRADLE_VERSION = 13; */ UNSUPPORTED_GRADLE_VERSION(13, 13), ; /** * UNKNOWN_GRADLE_FAILURE = 0; */ public static final int UNKNOWN_GRADLE_FAILURE_VALUE = 0; /** * CONNECTION_DENIED = 1; */ public static final int CONNECTION_DENIED_VALUE = 1; /** * CLASS_NOT_FOUND = 2; */ public static final int CLASS_NOT_FOUND_VALUE = 2; /** * DSL_METHOD_NOT_FOUND = 3; */ public static final int DSL_METHOD_NOT_FOUND_VALUE = 3; /** * FAILED_TO_PARSE_SDK = 4; */ public static final int FAILED_TO_PARSE_SDK_VALUE = 4; /** * METHOD_NOT_FOUND = 5; */ public static final int METHOD_NOT_FOUND_VALUE = 5; /** * MISSING_ANDROID_PLATFORM = 6; */ public static final int MISSING_ANDROID_PLATFORM_VALUE = 6; /** * MISSING_ANDROID_SUPPORT_REPO = 7; */ public static final int MISSING_ANDROID_SUPPORT_REPO_VALUE = 7; /** * MISSING_BUILD_TOOLS = 8; */ public static final int MISSING_BUILD_TOOLS_VALUE = 8; /** * OUT_OF_MEMORY = 9; */ public static final int OUT_OF_MEMORY_VALUE = 9; /** * SDK_NOT_FOUND = 10; */ public static final int SDK_NOT_FOUND_VALUE = 10; /** * UNKNOWN_HOST = 11; */ public static final int UNKNOWN_HOST_VALUE = 11; /** * UNSUPPORTED_ANDROID_MODEL_VERSION = 12; */ public static final int UNSUPPORTED_ANDROID_MODEL_VERSION_VALUE = 12; /** * UNSUPPORTED_GRADLE_VERSION = 13; */ public static final int UNSUPPORTED_GRADLE_VERSION_VALUE = 13; public final int getNumber() { return value; } public static GradleSyncFailure valueOf(int value) { switch (value) { case 0: return UNKNOWN_GRADLE_FAILURE; case 1: return CONNECTION_DENIED; case 2: return CLASS_NOT_FOUND; case 3: return DSL_METHOD_NOT_FOUND; case 4: return FAILED_TO_PARSE_SDK; case 5: return METHOD_NOT_FOUND; case 6: return MISSING_ANDROID_PLATFORM; case 7: return MISSING_ANDROID_SUPPORT_REPO; case 8: return MISSING_BUILD_TOOLS; case 9: return OUT_OF_MEMORY; case 10: return SDK_NOT_FOUND; case 11: return UNKNOWN_HOST; case 12: return UNSUPPORTED_ANDROID_MODEL_VERSION; case 13: return UNSUPPORTED_GRADLE_VERSION; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public GradleSyncFailure findValueByNumber(int number) { return GradleSyncFailure.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.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.getDescriptor().getEnumTypes().get(8); } private static final GradleSyncFailure[] VALUES = values(); public static GradleSyncFailure 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 GradleSyncFailure(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:android_studio.AndroidStudioEvent.GradleSyncFailure) } private int bitField0_; private int bitField1_; // optional .android_studio.AndroidStudioEvent.EventCategory category = 1; public static final int CATEGORY_FIELD_NUMBER = 1; private com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.EventCategory category_; /** * optional .android_studio.AndroidStudioEvent.EventCategory category = 1; * *
     * Describes a group of event kinds related to each other.
     * 
*/ public boolean hasCategory() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .android_studio.AndroidStudioEvent.EventCategory category = 1; * *
     * Describes a group of event kinds related to each other.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.EventCategory getCategory() { return category_; } // optional .android_studio.AndroidStudioEvent.EventKind kind = 2; public static final int KIND_FIELD_NUMBER = 2; private com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.EventKind kind_; /** * optional .android_studio.AndroidStudioEvent.EventKind kind = 2; * *
     * Specific kind of event, primary separation key of all Android Studio
     *  related events.
     * 
*/ public boolean hasKind() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .android_studio.AndroidStudioEvent.EventKind kind = 2; * *
     * Specific kind of event, primary separation key of all Android Studio
     *  related events.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.EventKind getKind() { return kind_; } // optional string studio_session_id = 3; public static final int STUDIO_SESSION_ID_FIELD_NUMBER = 3; private java.lang.Object studioSessionId_; /** * optional string studio_session_id = 3; * *
     * The session id is a UUID tracking a single instance of Android Studio
     *  to associate events together such as kind = TEST_RUN
     * 
*/ public boolean hasStudioSessionId() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string studio_session_id = 3; * *
     * The session id is a UUID tracking a single instance of Android Studio
     *  to associate events together such as kind = TEST_RUN
     * 
*/ public java.lang.String getStudioSessionId() { java.lang.Object ref = studioSessionId_; 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()) { studioSessionId_ = s; } return s; } } /** * optional string studio_session_id = 3; * *
     * The session id is a UUID tracking a single instance of Android Studio
     *  to associate events together such as kind = TEST_RUN
     * 
*/ public com.google.protobuf.ByteString getStudioSessionIdBytes() { java.lang.Object ref = studioSessionId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); studioSessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional .android_studio.ProductDetails product_details = 4; public static final int PRODUCT_DETAILS_FIELD_NUMBER = 4; private com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails productDetails_; /** * optional .android_studio.ProductDetails product_details = 4; * *
     * set when kind = STUDIO_PING
     *  or kind = EMULATOR_PING
     *  or ANDROID_STUDIO_TEST
     *  or ANDROID_STUDIO_THROUGH_GRADLE
     * 
*/ public boolean hasProductDetails() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .android_studio.ProductDetails product_details = 4; * *
     * set when kind = STUDIO_PING
     *  or kind = EMULATOR_PING
     *  or ANDROID_STUDIO_TEST
     *  or ANDROID_STUDIO_THROUGH_GRADLE
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails getProductDetails() { return productDetails_; } /** * optional .android_studio.ProductDetails product_details = 4; * *
     * set when kind = STUDIO_PING
     *  or kind = EMULATOR_PING
     *  or ANDROID_STUDIO_TEST
     *  or ANDROID_STUDIO_THROUGH_GRADLE
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetailsOrBuilder getProductDetailsOrBuilder() { return productDetails_; } // optional .android_studio.AndroidStudioEvent.MonitorType monitor_type = 5; public static final int MONITOR_TYPE_FIELD_NUMBER = 5; private com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.MonitorType monitorType_; /** * optional .android_studio.AndroidStudioEvent.MonitorType monitor_type = 5; * *
     * set when kind = MONITOR_ACTIVATED or kind = MONITOR_RUNNING
     * 
*/ public boolean hasMonitorType() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional .android_studio.AndroidStudioEvent.MonitorType monitor_type = 5; * *
     * set when kind = MONITOR_ACTIVATED or kind = MONITOR_RUNNING
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.MonitorType getMonitorType() { return monitorType_; } // optional bool monitor_paused = 6; public static final int MONITOR_PAUSED_FIELD_NUMBER = 6; private boolean monitorPaused_; /** * optional bool monitor_paused = 6; * *
     * set when kind = MONITOR_RUNNING
     * 
*/ public boolean hasMonitorPaused() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional bool monitor_paused = 6; * *
     * set when kind = MONITOR_RUNNING
     * 
*/ public boolean getMonitorPaused() { return monitorPaused_; } // optional .android_studio.AndroidStudioEvent.ProfilerCaptureType profiler_capture_type = 7; public static final int PROFILER_CAPTURE_TYPE_FIELD_NUMBER = 7; private com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.ProfilerCaptureType profilerCaptureType_; /** * optional .android_studio.AndroidStudioEvent.ProfilerCaptureType profiler_capture_type = 7; * *
     * set when kind = PROFILING_OPEN or PROFILING_CAPTURE
     * 
*/ public boolean hasProfilerCaptureType() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional .android_studio.AndroidStudioEvent.ProfilerCaptureType profiler_capture_type = 7; * *
     * set when kind = PROFILING_OPEN or PROFILING_CAPTURE
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.ProfilerCaptureType getProfilerCaptureType() { return profilerCaptureType_; } // optional string cloud_testing_error_message = 8; public static final int CLOUD_TESTING_ERROR_MESSAGE_FIELD_NUMBER = 8; private java.lang.Object cloudTestingErrorMessage_; /** * optional string cloud_testing_error_message = 8; * *
     * set when kind = CLOUD_TESTING_BACKEND_ERROR
     * 
*/ public boolean hasCloudTestingErrorMessage() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional string cloud_testing_error_message = 8; * *
     * set when kind = CLOUD_TESTING_BACKEND_ERROR
     * 
*/ public java.lang.String getCloudTestingErrorMessage() { java.lang.Object ref = cloudTestingErrorMessage_; 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()) { cloudTestingErrorMessage_ = s; } return s; } } /** * optional string cloud_testing_error_message = 8; * *
     * set when kind = CLOUD_TESTING_BACKEND_ERROR
     * 
*/ public com.google.protobuf.ByteString getCloudTestingErrorMessageBytes() { java.lang.Object ref = cloudTestingErrorMessage_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); cloudTestingErrorMessage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional int32 cloud_testing_loaded_screenshots_count = 9; public static final int CLOUD_TESTING_LOADED_SCREENSHOTS_COUNT_FIELD_NUMBER = 9; private int cloudTestingLoadedScreenshotsCount_; /** * optional int32 cloud_testing_loaded_screenshots_count = 9; * *
     * set when kind = CLOUD_TESTING_COMPARE_SCREENSHOTS_OPENED
     * 
*/ public boolean hasCloudTestingLoadedScreenshotsCount() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional int32 cloud_testing_loaded_screenshots_count = 9; * *
     * set when kind = CLOUD_TESTING_COMPARE_SCREENSHOTS_OPENED
     * 
*/ public int getCloudTestingLoadedScreenshotsCount() { return cloudTestingLoadedScreenshotsCount_; } // optional .android_studio.AndroidStudioEvent.RunConfigurationType run_configuration_type = 10; public static final int RUN_CONFIGURATION_TYPE_FIELD_NUMBER = 10; private com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.RunConfigurationType runConfigurationType_; /** * optional .android_studio.AndroidStudioEvent.RunConfigurationType run_configuration_type = 10; * *
     * set when kind = LLDB_SESSION_STARTED
     * 
*/ public boolean hasRunConfigurationType() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * optional .android_studio.AndroidStudioEvent.RunConfigurationType run_configuration_type = 10; * *
     * set when kind = LLDB_SESSION_STARTED
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.RunConfigurationType getRunConfigurationType() { return runConfigurationType_; } // optional .android_studio.AndroidStudioEvent.DebuggerType debugger_type = 11; public static final int DEBUGGER_TYPE_FIELD_NUMBER = 11; private com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.DebuggerType debuggerType_; /** * optional .android_studio.AndroidStudioEvent.DebuggerType debugger_type = 11; * *
     * set when kind = LLDB_SESSION_STARTED
     * 
*/ public boolean hasDebuggerType() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * optional .android_studio.AndroidStudioEvent.DebuggerType debugger_type = 11; * *
     * set when kind = LLDB_SESSION_STARTED
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.DebuggerType getDebuggerType() { return debuggerType_; } // optional .android_studio.DeviceInfo device_info = 12; public static final int DEVICE_INFO_FIELD_NUMBER = 12; private com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo deviceInfo_; /** * optional .android_studio.DeviceInfo device_info = 12; * *
     * set when kind = LLDB_LAUNCHED
     *  or kind = DEPLOYMENT_APK
     *  or kind = DEPLOYMENT_EMULATOR
     *  or kind = CLOUD_TESTING_CONFIGURE_CLOUD_DEVICE
     *  or kind = CLOUD_TESTING_LAUNCH_CLOUD_DEVICE
     *  or kind = CLOUD_TESTING_DEBUG_FROM_RESULTS
     *  or kind = TEST_RUN
     * 
*/ public boolean hasDeviceInfo() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** * optional .android_studio.DeviceInfo device_info = 12; * *
     * set when kind = LLDB_LAUNCHED
     *  or kind = DEPLOYMENT_APK
     *  or kind = DEPLOYMENT_EMULATOR
     *  or kind = CLOUD_TESTING_CONFIGURE_CLOUD_DEVICE
     *  or kind = CLOUD_TESTING_LAUNCH_CLOUD_DEVICE
     *  or kind = CLOUD_TESTING_DEBUG_FROM_RESULTS
     *  or kind = TEST_RUN
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo getDeviceInfo() { return deviceInfo_; } /** * optional .android_studio.DeviceInfo device_info = 12; * *
     * set when kind = LLDB_LAUNCHED
     *  or kind = DEPLOYMENT_APK
     *  or kind = DEPLOYMENT_EMULATOR
     *  or kind = CLOUD_TESTING_CONFIGURE_CLOUD_DEVICE
     *  or kind = CLOUD_TESTING_LAUNCH_CLOUD_DEVICE
     *  or kind = CLOUD_TESTING_DEBUG_FROM_RESULTS
     *  or kind = TEST_RUN
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfoOrBuilder getDeviceInfoOrBuilder() { return deviceInfo_; } // optional string lldb_session_failure_message = 13; public static final int LLDB_SESSION_FAILURE_MESSAGE_FIELD_NUMBER = 13; private java.lang.Object lldbSessionFailureMessage_; /** * optional string lldb_session_failure_message = 13; * *
     * set when kind = LLDB_SESSION_FAILED or kind = LLDB_INSTALL_FAILED
     *  e.g. 'failed to get reply to handshake packet'
     * 
*/ public boolean hasLldbSessionFailureMessage() { return ((bitField0_ & 0x00001000) == 0x00001000); } /** * optional string lldb_session_failure_message = 13; * *
     * set when kind = LLDB_SESSION_FAILED or kind = LLDB_INSTALL_FAILED
     *  e.g. 'failed to get reply to handshake packet'
     * 
*/ public java.lang.String getLldbSessionFailureMessage() { java.lang.Object ref = lldbSessionFailureMessage_; 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()) { lldbSessionFailureMessage_ = s; } return s; } } /** * optional string lldb_session_failure_message = 13; * *
     * set when kind = LLDB_SESSION_FAILED or kind = LLDB_INSTALL_FAILED
     *  e.g. 'failed to get reply to handshake packet'
     * 
*/ public com.google.protobuf.ByteString getLldbSessionFailureMessageBytes() { java.lang.Object ref = lldbSessionFailureMessage_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lldbSessionFailureMessage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional .android_studio.AndroidStudioEvent.DeveloperServiceKind developer_service_kind = 14; public static final int DEVELOPER_SERVICE_KIND_FIELD_NUMBER = 14; private com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.DeveloperServiceKind developerServiceKind_; /** * optional .android_studio.AndroidStudioEvent.DeveloperServiceKind developer_service_kind = 14; * *
     * set when kind = DEVELOPER_SERVICES_INSTALLED
     *  or kind = DEVELOPER_SERVICES_REMOVED
     * 
*/ public boolean hasDeveloperServiceKind() { return ((bitField0_ & 0x00002000) == 0x00002000); } /** * optional .android_studio.AndroidStudioEvent.DeveloperServiceKind developer_service_kind = 14; * *
     * set when kind = DEVELOPER_SERVICES_INSTALLED
     *  or kind = DEVELOPER_SERVICES_REMOVED
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.DeveloperServiceKind getDeveloperServiceKind() { return developerServiceKind_; } // optional string gradle_version = 15; public static final int GRADLE_VERSION_FIELD_NUMBER = 15; private java.lang.Object gradleVersion_; /** * optional string gradle_version = 15; * *
     * set when category = GRADLE_SYNC
     * 
*/ public boolean hasGradleVersion() { return ((bitField0_ & 0x00004000) == 0x00004000); } /** * optional string gradle_version = 15; * *
     * set when category = GRADLE_SYNC
     * 
*/ public java.lang.String getGradleVersion() { java.lang.Object ref = gradleVersion_; 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()) { gradleVersion_ = s; } return s; } } /** * optional string gradle_version = 15; * *
     * set when category = GRADLE_SYNC
     * 
*/ public com.google.protobuf.ByteString getGradleVersionBytes() { java.lang.Object ref = gradleVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); gradleVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional .android_studio.AndroidStudioEvent.GradleSyncFailure gradle_sync_failure = 16; public static final int GRADLE_SYNC_FAILURE_FIELD_NUMBER = 16; private com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.GradleSyncFailure gradleSyncFailure_; /** * optional .android_studio.AndroidStudioEvent.GradleSyncFailure gradle_sync_failure = 16; * *
     * e.g. '2.10'
     * set when kind = GRADLE_SYNC_FAILURE
     * 
*/ public boolean hasGradleSyncFailure() { return ((bitField0_ & 0x00008000) == 0x00008000); } /** * optional .android_studio.AndroidStudioEvent.GradleSyncFailure gradle_sync_failure = 16; * *
     * e.g. '2.10'
     * set when kind = GRADLE_SYNC_FAILURE
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.GradleSyncFailure getGradleSyncFailure() { return gradleSyncFailure_; } // optional string gradle_missing_signature = 17; public static final int GRADLE_MISSING_SIGNATURE_FIELD_NUMBER = 17; private java.lang.Object gradleMissingSignature_; /** * optional string gradle_missing_signature = 17; * *
     * set when kind = GRADLE_SYNC_FAILURE and gradle_sync_failure = *_NOT_FOUND
     *  e.g. 'org.gradle.api.internal.DemoClass.demoMethod'
     * 
*/ public boolean hasGradleMissingSignature() { return ((bitField0_ & 0x00010000) == 0x00010000); } /** * optional string gradle_missing_signature = 17; * *
     * set when kind = GRADLE_SYNC_FAILURE and gradle_sync_failure = *_NOT_FOUND
     *  e.g. 'org.gradle.api.internal.DemoClass.demoMethod'
     * 
*/ public java.lang.String getGradleMissingSignature() { java.lang.Object ref = gradleMissingSignature_; 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()) { gradleMissingSignature_ = s; } return s; } } /** * optional string gradle_missing_signature = 17; * *
     * set when kind = GRADLE_SYNC_FAILURE and gradle_sync_failure = *_NOT_FOUND
     *  e.g. 'org.gradle.api.internal.DemoClass.demoMethod'
     * 
*/ public com.google.protobuf.ByteString getGradleMissingSignatureBytes() { java.lang.Object ref = gradleMissingSignature_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); gradleMissingSignature_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional .android_studio.AndroidStudioEvent.TemplateRenderer template_renderer = 18; public static final int TEMPLATE_RENDERER_FIELD_NUMBER = 18; private com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.TemplateRenderer templateRenderer_; /** * optional .android_studio.AndroidStudioEvent.TemplateRenderer template_renderer = 18; * *
     * set when kind = TEMPLATE_RENDERER
     * 
*/ public boolean hasTemplateRenderer() { return ((bitField0_ & 0x00020000) == 0x00020000); } /** * optional .android_studio.AndroidStudioEvent.TemplateRenderer template_renderer = 18; * *
     * set when kind = TEMPLATE_RENDERER
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.TemplateRenderer getTemplateRenderer() { return templateRenderer_; } // optional .android_studio.StudioCrash studio_crash = 19; public static final int STUDIO_CRASH_FIELD_NUMBER = 19; private com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash studioCrash_; /** * optional .android_studio.StudioCrash studio_crash = 19; * *
     * set when kind = STUDIO_CRASH
     * 
*/ public boolean hasStudioCrash() { return ((bitField0_ & 0x00040000) == 0x00040000); } /** * optional .android_studio.StudioCrash studio_crash = 19; * *
     * set when kind = STUDIO_CRASH
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash getStudioCrash() { return studioCrash_; } /** * optional .android_studio.StudioCrash studio_crash = 19; * *
     * set when kind = STUDIO_CRASH
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrashOrBuilder getStudioCrashOrBuilder() { return studioCrash_; } // optional .android_studio.GradleBuildDetails gradle_build_details = 20; public static final int GRADLE_BUILD_DETAILS_FIELD_NUMBER = 20; private com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails gradleBuildDetails_; /** * optional .android_studio.GradleBuildDetails gradle_build_details = 20; * *
     * set when kind = GRADLE_BUILD_DETAILS
     * 
*/ public boolean hasGradleBuildDetails() { return ((bitField0_ & 0x00080000) == 0x00080000); } /** * optional .android_studio.GradleBuildDetails gradle_build_details = 20; * *
     * set when kind = GRADLE_BUILD_DETAILS
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails getGradleBuildDetails() { return gradleBuildDetails_; } /** * optional .android_studio.GradleBuildDetails gradle_build_details = 20; * *
     * set when kind = GRADLE_BUILD_DETAILS
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetailsOrBuilder getGradleBuildDetailsOrBuilder() { return gradleBuildDetails_; } // optional .android_studio.InstantRun instant_run = 21; public static final int INSTANT_RUN_FIELD_NUMBER = 21; private com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun instantRun_; /** * optional .android_studio.InstantRun instant_run = 21; * *
     * set when kind = INSTANT_RUN
     * 
*/ public boolean hasInstantRun() { return ((bitField0_ & 0x00100000) == 0x00100000); } /** * optional .android_studio.InstantRun instant_run = 21; * *
     * set when kind = INSTANT_RUN
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun getInstantRun() { return instantRun_; } /** * optional .android_studio.InstantRun instant_run = 21; * *
     * set when kind = INSTANT_RUN
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunOrBuilder getInstantRunOrBuilder() { return instantRun_; } // optional .android_studio.MetaMetrics meta_metrics = 22; public static final int META_METRICS_FIELD_NUMBER = 22; private com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics metaMetrics_; /** * optional .android_studio.MetaMetrics meta_metrics = 22; * *
     * set when kind = META_METRICS
     * 
*/ public boolean hasMetaMetrics() { return ((bitField0_ & 0x00200000) == 0x00200000); } /** * optional .android_studio.MetaMetrics meta_metrics = 22; * *
     * set when kind = META_METRICS
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics getMetaMetrics() { return metaMetrics_; } /** * optional .android_studio.MetaMetrics meta_metrics = 22; * *
     * set when kind = META_METRICS
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetricsOrBuilder getMetaMetricsOrBuilder() { return metaMetrics_; } // optional .android_studio.EmulatorDetails emulator_details = 23; public static final int EMULATOR_DETAILS_FIELD_NUMBER = 23; private com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails emulatorDetails_; /** * optional .android_studio.EmulatorDetails emulator_details = 23; * *
     * set when kind = EMULATOR_PING
     * 
*/ public boolean hasEmulatorDetails() { return ((bitField0_ & 0x00400000) == 0x00400000); } /** * optional .android_studio.EmulatorDetails emulator_details = 23; * *
     * set when kind = EMULATOR_PING
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails getEmulatorDetails() { return emulatorDetails_; } /** * optional .android_studio.EmulatorDetails emulator_details = 23; * *
     * set when kind = EMULATOR_PING
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetailsOrBuilder getEmulatorDetailsOrBuilder() { return emulatorDetails_; } // optional .android_studio.TestRun test_run = 24; public static final int TEST_RUN_FIELD_NUMBER = 24; private com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun testRun_; /** * optional .android_studio.TestRun test_run = 24; * *
     * set when kind = TEST_RUN
     * 
*/ public boolean hasTestRun() { return ((bitField0_ & 0x00800000) == 0x00800000); } /** * optional .android_studio.TestRun test_run = 24; * *
     * set when kind = TEST_RUN
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun getTestRun() { return testRun_; } /** * optional .android_studio.TestRun test_run = 24; * *
     * set when kind = TEST_RUN
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRunOrBuilder getTestRunOrBuilder() { return testRun_; } // optional .android_studio.EmulatorUiEvent emulator_ui_event = 25; public static final int EMULATOR_UI_EVENT_FIELD_NUMBER = 25; private com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent emulatorUiEvent_; /** * optional .android_studio.EmulatorUiEvent emulator_ui_event = 25; * *
     * set when kind = EMULATOR_UI_EVENT
     * 
*/ public boolean hasEmulatorUiEvent() { return ((bitField0_ & 0x01000000) == 0x01000000); } /** * optional .android_studio.EmulatorUiEvent emulator_ui_event = 25; * *
     * set when kind = EMULATOR_UI_EVENT
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent getEmulatorUiEvent() { return emulatorUiEvent_; } /** * optional .android_studio.EmulatorUiEvent emulator_ui_event = 25; * *
     * set when kind = EMULATOR_UI_EVENT
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEventOrBuilder getEmulatorUiEventOrBuilder() { return emulatorUiEvent_; } // optional .android_studio.Hypervisor hypervisor = 26; public static final int HYPERVISOR_FIELD_NUMBER = 26; private com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor hypervisor_; /** * optional .android_studio.Hypervisor hypervisor = 26; * *
     * set when kind = HYPERVISOR
     * 
*/ public boolean hasHypervisor() { return ((bitField0_ & 0x02000000) == 0x02000000); } /** * optional .android_studio.Hypervisor hypervisor = 26; * *
     * set when kind = HYPERVISOR
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor getHypervisor() { return hypervisor_; } /** * optional .android_studio.Hypervisor hypervisor = 26; * *
     * set when kind = HYPERVISOR
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.HypervisorOrBuilder getHypervisorOrBuilder() { return hypervisor_; } // optional .android_studio.EmulatorHost emulator_host = 27; public static final int EMULATOR_HOST_FIELD_NUMBER = 27; private com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost emulatorHost_; /** * optional .android_studio.EmulatorHost emulator_host = 27; * *
     * set when kind = EMULATOR_HOST
     * 
*/ public boolean hasEmulatorHost() { return ((bitField0_ & 0x04000000) == 0x04000000); } /** * optional .android_studio.EmulatorHost emulator_host = 27; * *
     * set when kind = EMULATOR_HOST
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost getEmulatorHost() { return emulatorHost_; } /** * optional .android_studio.EmulatorHost emulator_host = 27; * *
     * set when kind = EMULATOR_HOST
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHostOrBuilder getEmulatorHostOrBuilder() { return emulatorHost_; } // optional .android_studio.GradleBuildProfile gradle_build_profile = 28; public static final int GRADLE_BUILD_PROFILE_FIELD_NUMBER = 28; private com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile gradleBuildProfile_; /** * optional .android_studio.GradleBuildProfile gradle_build_profile = 28; * *
     * set when kind = GRADLE_BUILD_PROFILE
     * 
*/ public boolean hasGradleBuildProfile() { return ((bitField0_ & 0x08000000) == 0x08000000); } /** * optional .android_studio.GradleBuildProfile gradle_build_profile = 28; * *
     * set when kind = GRADLE_BUILD_PROFILE
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile getGradleBuildProfile() { return gradleBuildProfile_; } /** * optional .android_studio.GradleBuildProfile gradle_build_profile = 28; * *
     * set when kind = GRADLE_BUILD_PROFILE
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileOrBuilder getGradleBuildProfileOrBuilder() { return gradleBuildProfile_; } // optional .android_studio.LLDBFrontendDetails lldb_frontend_details = 29; public static final int LLDB_FRONTEND_DETAILS_FIELD_NUMBER = 29; private com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails lldbFrontendDetails_; /** * optional .android_studio.LLDBFrontendDetails lldb_frontend_details = 29; * *
     * set when kind = LLDB_FRONTEND_EXITED
     * 
*/ public boolean hasLldbFrontendDetails() { return ((bitField0_ & 0x10000000) == 0x10000000); } /** * optional .android_studio.LLDBFrontendDetails lldb_frontend_details = 29; * *
     * set when kind = LLDB_FRONTEND_EXITED
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails getLldbFrontendDetails() { return lldbFrontendDetails_; } /** * optional .android_studio.LLDBFrontendDetails lldb_frontend_details = 29; * *
     * set when kind = LLDB_FRONTEND_EXITED
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetailsOrBuilder getLldbFrontendDetailsOrBuilder() { return lldbFrontendDetails_; } // optional .android_studio.FirebaseErrorDetails firebase_error_details = 30; public static final int FIREBASE_ERROR_DETAILS_FIELD_NUMBER = 30; private com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails firebaseErrorDetails_; /** * optional .android_studio.FirebaseErrorDetails firebase_error_details = 30; * *
     * set when kind = FIREBASE_ASSISTANT_ERROR_PRESENTED or
     *  kind FIREBASE_ASSISTANT_SILENT_ERROR
     * 
*/ public boolean hasFirebaseErrorDetails() { return ((bitField0_ & 0x20000000) == 0x20000000); } /** * optional .android_studio.FirebaseErrorDetails firebase_error_details = 30; * *
     * set when kind = FIREBASE_ASSISTANT_ERROR_PRESENTED or
     *  kind FIREBASE_ASSISTANT_SILENT_ERROR
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails getFirebaseErrorDetails() { return firebaseErrorDetails_; } /** * optional .android_studio.FirebaseErrorDetails firebase_error_details = 30; * *
     * set when kind = FIREBASE_ASSISTANT_ERROR_PRESENTED or
     *  kind FIREBASE_ASSISTANT_SILENT_ERROR
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetailsOrBuilder getFirebaseErrorDetailsOrBuilder() { return firebaseErrorDetails_; } // optional string project_id = 31; public static final int PROJECT_ID_FIELD_NUMBER = 31; private java.lang.Object projectId_; /** * optional string project_id = 31; * *
     * Client-side salted (rotating every 28 days), sha256 of the project id.
     *  set when kind = PROJECT_STRUCTURE_*.
     * 
*/ public boolean hasProjectId() { return ((bitField0_ & 0x40000000) == 0x40000000); } /** * optional string project_id = 31; * *
     * Client-side salted (rotating every 28 days), sha256 of the project id.
     *  set when kind = PROJECT_STRUCTURE_*.
     * 
*/ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; 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()) { projectId_ = s; } return s; } } /** * optional string project_id = 31; * *
     * Client-side salted (rotating every 28 days), sha256 of the project id.
     *  set when kind = PROJECT_STRUCTURE_*.
     * 
*/ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); projectId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional .android_studio.GfxTracingDetails gfx_tracing_details = 32; public static final int GFX_TRACING_DETAILS_FIELD_NUMBER = 32; private com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails gfxTracingDetails_; /** * optional .android_studio.GfxTracingDetails gfx_tracing_details = 32; * *
     * set when kind = GFX_TRACE_*
     * 
*/ public boolean hasGfxTracingDetails() { return ((bitField0_ & 0x80000000) == 0x80000000); } /** * optional .android_studio.GfxTracingDetails gfx_tracing_details = 32; * *
     * set when kind = GFX_TRACE_*
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails getGfxTracingDetails() { return gfxTracingDetails_; } /** * optional .android_studio.GfxTracingDetails gfx_tracing_details = 32; * *
     * set when kind = GFX_TRACE_*
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetailsOrBuilder getGfxTracingDetailsOrBuilder() { return gfxTracingDetails_; } // optional .android_studio.TestRecorderDetails test_recorder_details = 33; public static final int TEST_RECORDER_DETAILS_FIELD_NUMBER = 33; private com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails testRecorderDetails_; /** * optional .android_studio.TestRecorderDetails test_recorder_details = 33; * *
     * set when kind = TEST_RECORDER_GENERATE_TEST_CLASS
     * 
*/ public boolean hasTestRecorderDetails() { return ((bitField1_ & 0x00000001) == 0x00000001); } /** * optional .android_studio.TestRecorderDetails test_recorder_details = 33; * *
     * set when kind = TEST_RECORDER_GENERATE_TEST_CLASS
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails getTestRecorderDetails() { return testRecorderDetails_; } /** * optional .android_studio.TestRecorderDetails test_recorder_details = 33; * *
     * set when kind = TEST_RECORDER_GENERATE_TEST_CLASS
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetailsOrBuilder getTestRecorderDetailsOrBuilder() { return testRecorderDetails_; } // optional .android_studio.UIActionStats ui_action_stats = 34; public static final int UI_ACTION_STATS_FIELD_NUMBER = 34; private com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats uiActionStats_; /** * optional .android_studio.UIActionStats ui_action_stats = 34; * *
     * set when kind = STUDIO_UI_ACTION_STATS
     * 
*/ public boolean hasUiActionStats() { return ((bitField1_ & 0x00000002) == 0x00000002); } /** * optional .android_studio.UIActionStats ui_action_stats = 34; * *
     * set when kind = STUDIO_UI_ACTION_STATS
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats getUiActionStats() { return uiActionStats_; } /** * optional .android_studio.UIActionStats ui_action_stats = 34; * *
     * set when kind = STUDIO_UI_ACTION_STATS
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStatsOrBuilder getUiActionStatsOrBuilder() { return uiActionStats_; } // optional .android_studio.MachineDetails machine_details = 35; public static final int MACHINE_DETAILS_FIELD_NUMBER = 35; private com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails machineDetails_; /** * optional .android_studio.MachineDetails machine_details = 35; * *
     * set when kind = STUDIO_PING
     * 
*/ public boolean hasMachineDetails() { return ((bitField1_ & 0x00000004) == 0x00000004); } /** * optional .android_studio.MachineDetails machine_details = 35; * *
     * set when kind = STUDIO_PING
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails getMachineDetails() { return machineDetails_; } /** * optional .android_studio.MachineDetails machine_details = 35; * *
     * set when kind = STUDIO_PING
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetailsOrBuilder getMachineDetailsOrBuilder() { return machineDetails_; } // optional .android_studio.JvmDetails jvm_details = 36; public static final int JVM_DETAILS_FIELD_NUMBER = 36; private com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails jvmDetails_; /** * optional .android_studio.JvmDetails jvm_details = 36; * *
     * set when kind = STUDIO_PING
     * 
*/ public boolean hasJvmDetails() { return ((bitField1_ & 0x00000008) == 0x00000008); } /** * optional .android_studio.JvmDetails jvm_details = 36; * *
     * set when kind = STUDIO_PING
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails getJvmDetails() { return jvmDetails_; } /** * optional .android_studio.JvmDetails jvm_details = 36; * *
     * set when kind = STUDIO_PING
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetailsOrBuilder getJvmDetailsOrBuilder() { return jvmDetails_; } // optional .android_studio.JavaProcessStats java_process_stats = 37; public static final int JAVA_PROCESS_STATS_FIELD_NUMBER = 37; private com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats javaProcessStats_; /** * optional .android_studio.JavaProcessStats java_process_stats = 37; * *
     * set when kind = STUDIO_PROCESS_STATS
     * 
*/ public boolean hasJavaProcessStats() { return ((bitField1_ & 0x00000010) == 0x00000010); } /** * optional .android_studio.JavaProcessStats java_process_stats = 37; * *
     * set when kind = STUDIO_PROCESS_STATS
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats getJavaProcessStats() { return javaProcessStats_; } /** * optional .android_studio.JavaProcessStats java_process_stats = 37; * *
     * set when kind = STUDIO_PROCESS_STATS
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStatsOrBuilder getJavaProcessStatsOrBuilder() { return javaProcessStats_; } private void initFields() { category_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.EventCategory.NO_EVENT_CATEGORY; kind_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.EventKind.UNKNOWN_EVENT_KIND; studioSessionId_ = ""; productDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.getDefaultInstance(); monitorType_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.MonitorType.UNKNOWN_MONITOR_TYPE; monitorPaused_ = false; profilerCaptureType_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.ProfilerCaptureType.UNKNOWN_PROFILER_CAPTURE_TYPE; cloudTestingErrorMessage_ = ""; cloudTestingLoadedScreenshotsCount_ = 0; runConfigurationType_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.RunConfigurationType.UNKNOWN_RUN_CONFIGURATION_TYPE; debuggerType_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.DebuggerType.UNKNOWN_DEBUGGER_TYPE; deviceInfo_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.getDefaultInstance(); lldbSessionFailureMessage_ = ""; developerServiceKind_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.DeveloperServiceKind.UNKNOWN_DEVELOPER_SERVICE_KIND; gradleVersion_ = ""; gradleSyncFailure_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.GradleSyncFailure.UNKNOWN_GRADLE_FAILURE; gradleMissingSignature_ = ""; templateRenderer_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.TemplateRenderer.UNKNOWN_TEMPLATE_RENDERER; studioCrash_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash.getDefaultInstance(); gradleBuildDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails.getDefaultInstance(); instantRun_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.getDefaultInstance(); metaMetrics_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics.getDefaultInstance(); emulatorDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.getDefaultInstance(); testRun_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.getDefaultInstance(); emulatorUiEvent_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.getDefaultInstance(); hypervisor_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor.getDefaultInstance(); emulatorHost_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost.getDefaultInstance(); gradleBuildProfile_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile.getDefaultInstance(); lldbFrontendDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails.getDefaultInstance(); firebaseErrorDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails.getDefaultInstance(); projectId_ = ""; gfxTracingDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails.getDefaultInstance(); testRecorderDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails.getDefaultInstance(); uiActionStats_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats.getDefaultInstance(); machineDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails.getDefaultInstance(); jvmDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails.getDefaultInstance(); javaProcessStats_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats.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.writeEnum(1, category_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, kind_.getNumber()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getStudioSessionIdBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeMessage(4, productDetails_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeEnum(5, monitorType_.getNumber()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeBool(6, monitorPaused_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeEnum(7, profilerCaptureType_.getNumber()); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeBytes(8, getCloudTestingErrorMessageBytes()); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeInt32(9, cloudTestingLoadedScreenshotsCount_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { output.writeEnum(10, runConfigurationType_.getNumber()); } if (((bitField0_ & 0x00000400) == 0x00000400)) { output.writeEnum(11, debuggerType_.getNumber()); } if (((bitField0_ & 0x00000800) == 0x00000800)) { output.writeMessage(12, deviceInfo_); } if (((bitField0_ & 0x00001000) == 0x00001000)) { output.writeBytes(13, getLldbSessionFailureMessageBytes()); } if (((bitField0_ & 0x00002000) == 0x00002000)) { output.writeEnum(14, developerServiceKind_.getNumber()); } if (((bitField0_ & 0x00004000) == 0x00004000)) { output.writeBytes(15, getGradleVersionBytes()); } if (((bitField0_ & 0x00008000) == 0x00008000)) { output.writeEnum(16, gradleSyncFailure_.getNumber()); } if (((bitField0_ & 0x00010000) == 0x00010000)) { output.writeBytes(17, getGradleMissingSignatureBytes()); } if (((bitField0_ & 0x00020000) == 0x00020000)) { output.writeEnum(18, templateRenderer_.getNumber()); } if (((bitField0_ & 0x00040000) == 0x00040000)) { output.writeMessage(19, studioCrash_); } if (((bitField0_ & 0x00080000) == 0x00080000)) { output.writeMessage(20, gradleBuildDetails_); } if (((bitField0_ & 0x00100000) == 0x00100000)) { output.writeMessage(21, instantRun_); } if (((bitField0_ & 0x00200000) == 0x00200000)) { output.writeMessage(22, metaMetrics_); } if (((bitField0_ & 0x00400000) == 0x00400000)) { output.writeMessage(23, emulatorDetails_); } if (((bitField0_ & 0x00800000) == 0x00800000)) { output.writeMessage(24, testRun_); } if (((bitField0_ & 0x01000000) == 0x01000000)) { output.writeMessage(25, emulatorUiEvent_); } if (((bitField0_ & 0x02000000) == 0x02000000)) { output.writeMessage(26, hypervisor_); } if (((bitField0_ & 0x04000000) == 0x04000000)) { output.writeMessage(27, emulatorHost_); } if (((bitField0_ & 0x08000000) == 0x08000000)) { output.writeMessage(28, gradleBuildProfile_); } if (((bitField0_ & 0x10000000) == 0x10000000)) { output.writeMessage(29, lldbFrontendDetails_); } if (((bitField0_ & 0x20000000) == 0x20000000)) { output.writeMessage(30, firebaseErrorDetails_); } if (((bitField0_ & 0x40000000) == 0x40000000)) { output.writeBytes(31, getProjectIdBytes()); } if (((bitField0_ & 0x80000000) == 0x80000000)) { output.writeMessage(32, gfxTracingDetails_); } if (((bitField1_ & 0x00000001) == 0x00000001)) { output.writeMessage(33, testRecorderDetails_); } if (((bitField1_ & 0x00000002) == 0x00000002)) { output.writeMessage(34, uiActionStats_); } if (((bitField1_ & 0x00000004) == 0x00000004)) { output.writeMessage(35, machineDetails_); } if (((bitField1_ & 0x00000008) == 0x00000008)) { output.writeMessage(36, jvmDetails_); } if (((bitField1_ & 0x00000010) == 0x00000010)) { output.writeMessage(37, javaProcessStats_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, category_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, kind_.getNumber()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getStudioSessionIdBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, productDetails_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(5, monitorType_.getNumber()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(6, monitorPaused_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(7, profilerCaptureType_.getNumber()); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(8, getCloudTestingErrorMessageBytes()); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(9, cloudTestingLoadedScreenshotsCount_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(10, runConfigurationType_.getNumber()); } if (((bitField0_ & 0x00000400) == 0x00000400)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(11, debuggerType_.getNumber()); } if (((bitField0_ & 0x00000800) == 0x00000800)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, deviceInfo_); } if (((bitField0_ & 0x00001000) == 0x00001000)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(13, getLldbSessionFailureMessageBytes()); } if (((bitField0_ & 0x00002000) == 0x00002000)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(14, developerServiceKind_.getNumber()); } if (((bitField0_ & 0x00004000) == 0x00004000)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(15, getGradleVersionBytes()); } if (((bitField0_ & 0x00008000) == 0x00008000)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(16, gradleSyncFailure_.getNumber()); } if (((bitField0_ & 0x00010000) == 0x00010000)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(17, getGradleMissingSignatureBytes()); } if (((bitField0_ & 0x00020000) == 0x00020000)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(18, templateRenderer_.getNumber()); } if (((bitField0_ & 0x00040000) == 0x00040000)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(19, studioCrash_); } if (((bitField0_ & 0x00080000) == 0x00080000)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(20, gradleBuildDetails_); } if (((bitField0_ & 0x00100000) == 0x00100000)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(21, instantRun_); } if (((bitField0_ & 0x00200000) == 0x00200000)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(22, metaMetrics_); } if (((bitField0_ & 0x00400000) == 0x00400000)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(23, emulatorDetails_); } if (((bitField0_ & 0x00800000) == 0x00800000)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(24, testRun_); } if (((bitField0_ & 0x01000000) == 0x01000000)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(25, emulatorUiEvent_); } if (((bitField0_ & 0x02000000) == 0x02000000)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(26, hypervisor_); } if (((bitField0_ & 0x04000000) == 0x04000000)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(27, emulatorHost_); } if (((bitField0_ & 0x08000000) == 0x08000000)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(28, gradleBuildProfile_); } if (((bitField0_ & 0x10000000) == 0x10000000)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(29, lldbFrontendDetails_); } if (((bitField0_ & 0x20000000) == 0x20000000)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(30, firebaseErrorDetails_); } if (((bitField0_ & 0x40000000) == 0x40000000)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(31, getProjectIdBytes()); } if (((bitField0_ & 0x80000000) == 0x80000000)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(32, gfxTracingDetails_); } if (((bitField1_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(33, testRecorderDetails_); } if (((bitField1_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(34, uiActionStats_); } if (((bitField1_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(35, machineDetails_); } if (((bitField1_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(36, jvmDetails_); } if (((bitField1_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(37, javaProcessStats_); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent 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.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent 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 android_studio.AndroidStudioEvent} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEventOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_AndroidStudioEvent_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_AndroidStudioEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.Builder.class); } // Construct using com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getProductDetailsFieldBuilder(); getDeviceInfoFieldBuilder(); getStudioCrashFieldBuilder(); getGradleBuildDetailsFieldBuilder(); getInstantRunFieldBuilder(); getMetaMetricsFieldBuilder(); getEmulatorDetailsFieldBuilder(); getTestRunFieldBuilder(); getEmulatorUiEventFieldBuilder(); getHypervisorFieldBuilder(); getEmulatorHostFieldBuilder(); getGradleBuildProfileFieldBuilder(); getLldbFrontendDetailsFieldBuilder(); getFirebaseErrorDetailsFieldBuilder(); getGfxTracingDetailsFieldBuilder(); getTestRecorderDetailsFieldBuilder(); getUiActionStatsFieldBuilder(); getMachineDetailsFieldBuilder(); getJvmDetailsFieldBuilder(); getJavaProcessStatsFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); category_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.EventCategory.NO_EVENT_CATEGORY; bitField0_ = (bitField0_ & ~0x00000001); kind_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.EventKind.UNKNOWN_EVENT_KIND; bitField0_ = (bitField0_ & ~0x00000002); studioSessionId_ = ""; bitField0_ = (bitField0_ & ~0x00000004); if (productDetailsBuilder_ == null) { productDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.getDefaultInstance(); } else { productDetailsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); monitorType_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.MonitorType.UNKNOWN_MONITOR_TYPE; bitField0_ = (bitField0_ & ~0x00000010); monitorPaused_ = false; bitField0_ = (bitField0_ & ~0x00000020); profilerCaptureType_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.ProfilerCaptureType.UNKNOWN_PROFILER_CAPTURE_TYPE; bitField0_ = (bitField0_ & ~0x00000040); cloudTestingErrorMessage_ = ""; bitField0_ = (bitField0_ & ~0x00000080); cloudTestingLoadedScreenshotsCount_ = 0; bitField0_ = (bitField0_ & ~0x00000100); runConfigurationType_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.RunConfigurationType.UNKNOWN_RUN_CONFIGURATION_TYPE; bitField0_ = (bitField0_ & ~0x00000200); debuggerType_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.DebuggerType.UNKNOWN_DEBUGGER_TYPE; bitField0_ = (bitField0_ & ~0x00000400); if (deviceInfoBuilder_ == null) { deviceInfo_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.getDefaultInstance(); } else { deviceInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000800); lldbSessionFailureMessage_ = ""; bitField0_ = (bitField0_ & ~0x00001000); developerServiceKind_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.DeveloperServiceKind.UNKNOWN_DEVELOPER_SERVICE_KIND; bitField0_ = (bitField0_ & ~0x00002000); gradleVersion_ = ""; bitField0_ = (bitField0_ & ~0x00004000); gradleSyncFailure_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.GradleSyncFailure.UNKNOWN_GRADLE_FAILURE; bitField0_ = (bitField0_ & ~0x00008000); gradleMissingSignature_ = ""; bitField0_ = (bitField0_ & ~0x00010000); templateRenderer_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.TemplateRenderer.UNKNOWN_TEMPLATE_RENDERER; bitField0_ = (bitField0_ & ~0x00020000); if (studioCrashBuilder_ == null) { studioCrash_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash.getDefaultInstance(); } else { studioCrashBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00040000); if (gradleBuildDetailsBuilder_ == null) { gradleBuildDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails.getDefaultInstance(); } else { gradleBuildDetailsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00080000); if (instantRunBuilder_ == null) { instantRun_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.getDefaultInstance(); } else { instantRunBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00100000); if (metaMetricsBuilder_ == null) { metaMetrics_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics.getDefaultInstance(); } else { metaMetricsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00200000); if (emulatorDetailsBuilder_ == null) { emulatorDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.getDefaultInstance(); } else { emulatorDetailsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00400000); if (testRunBuilder_ == null) { testRun_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.getDefaultInstance(); } else { testRunBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00800000); if (emulatorUiEventBuilder_ == null) { emulatorUiEvent_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.getDefaultInstance(); } else { emulatorUiEventBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x01000000); if (hypervisorBuilder_ == null) { hypervisor_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor.getDefaultInstance(); } else { hypervisorBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x02000000); if (emulatorHostBuilder_ == null) { emulatorHost_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost.getDefaultInstance(); } else { emulatorHostBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x04000000); if (gradleBuildProfileBuilder_ == null) { gradleBuildProfile_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile.getDefaultInstance(); } else { gradleBuildProfileBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x08000000); if (lldbFrontendDetailsBuilder_ == null) { lldbFrontendDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails.getDefaultInstance(); } else { lldbFrontendDetailsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x10000000); if (firebaseErrorDetailsBuilder_ == null) { firebaseErrorDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails.getDefaultInstance(); } else { firebaseErrorDetailsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x20000000); projectId_ = ""; bitField0_ = (bitField0_ & ~0x40000000); if (gfxTracingDetailsBuilder_ == null) { gfxTracingDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails.getDefaultInstance(); } else { gfxTracingDetailsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x80000000); if (testRecorderDetailsBuilder_ == null) { testRecorderDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails.getDefaultInstance(); } else { testRecorderDetailsBuilder_.clear(); } bitField1_ = (bitField1_ & ~0x00000001); if (uiActionStatsBuilder_ == null) { uiActionStats_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats.getDefaultInstance(); } else { uiActionStatsBuilder_.clear(); } bitField1_ = (bitField1_ & ~0x00000002); if (machineDetailsBuilder_ == null) { machineDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails.getDefaultInstance(); } else { machineDetailsBuilder_.clear(); } bitField1_ = (bitField1_ & ~0x00000004); if (jvmDetailsBuilder_ == null) { jvmDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails.getDefaultInstance(); } else { jvmDetailsBuilder_.clear(); } bitField1_ = (bitField1_ & ~0x00000008); if (javaProcessStatsBuilder_ == null) { javaProcessStats_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats.getDefaultInstance(); } else { javaProcessStatsBuilder_.clear(); } bitField1_ = (bitField1_ & ~0x00000010); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_AndroidStudioEvent_descriptor; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent getDefaultInstanceForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.getDefaultInstance(); } public com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent build() { com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent buildPartial() { com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent result = new com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent(this); int from_bitField0_ = bitField0_; int from_bitField1_ = bitField1_; int to_bitField0_ = 0; int to_bitField1_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.category_ = category_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.kind_ = kind_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.studioSessionId_ = studioSessionId_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } if (productDetailsBuilder_ == null) { result.productDetails_ = productDetails_; } else { result.productDetails_ = productDetailsBuilder_.build(); } if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.monitorType_ = monitorType_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.monitorPaused_ = monitorPaused_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.profilerCaptureType_ = profilerCaptureType_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } result.cloudTestingErrorMessage_ = cloudTestingErrorMessage_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000100; } result.cloudTestingLoadedScreenshotsCount_ = cloudTestingLoadedScreenshotsCount_; if (((from_bitField0_ & 0x00000200) == 0x00000200)) { to_bitField0_ |= 0x00000200; } result.runConfigurationType_ = runConfigurationType_; if (((from_bitField0_ & 0x00000400) == 0x00000400)) { to_bitField0_ |= 0x00000400; } result.debuggerType_ = debuggerType_; if (((from_bitField0_ & 0x00000800) == 0x00000800)) { to_bitField0_ |= 0x00000800; } if (deviceInfoBuilder_ == null) { result.deviceInfo_ = deviceInfo_; } else { result.deviceInfo_ = deviceInfoBuilder_.build(); } if (((from_bitField0_ & 0x00001000) == 0x00001000)) { to_bitField0_ |= 0x00001000; } result.lldbSessionFailureMessage_ = lldbSessionFailureMessage_; if (((from_bitField0_ & 0x00002000) == 0x00002000)) { to_bitField0_ |= 0x00002000; } result.developerServiceKind_ = developerServiceKind_; if (((from_bitField0_ & 0x00004000) == 0x00004000)) { to_bitField0_ |= 0x00004000; } result.gradleVersion_ = gradleVersion_; if (((from_bitField0_ & 0x00008000) == 0x00008000)) { to_bitField0_ |= 0x00008000; } result.gradleSyncFailure_ = gradleSyncFailure_; if (((from_bitField0_ & 0x00010000) == 0x00010000)) { to_bitField0_ |= 0x00010000; } result.gradleMissingSignature_ = gradleMissingSignature_; if (((from_bitField0_ & 0x00020000) == 0x00020000)) { to_bitField0_ |= 0x00020000; } result.templateRenderer_ = templateRenderer_; if (((from_bitField0_ & 0x00040000) == 0x00040000)) { to_bitField0_ |= 0x00040000; } if (studioCrashBuilder_ == null) { result.studioCrash_ = studioCrash_; } else { result.studioCrash_ = studioCrashBuilder_.build(); } if (((from_bitField0_ & 0x00080000) == 0x00080000)) { to_bitField0_ |= 0x00080000; } if (gradleBuildDetailsBuilder_ == null) { result.gradleBuildDetails_ = gradleBuildDetails_; } else { result.gradleBuildDetails_ = gradleBuildDetailsBuilder_.build(); } if (((from_bitField0_ & 0x00100000) == 0x00100000)) { to_bitField0_ |= 0x00100000; } if (instantRunBuilder_ == null) { result.instantRun_ = instantRun_; } else { result.instantRun_ = instantRunBuilder_.build(); } if (((from_bitField0_ & 0x00200000) == 0x00200000)) { to_bitField0_ |= 0x00200000; } if (metaMetricsBuilder_ == null) { result.metaMetrics_ = metaMetrics_; } else { result.metaMetrics_ = metaMetricsBuilder_.build(); } if (((from_bitField0_ & 0x00400000) == 0x00400000)) { to_bitField0_ |= 0x00400000; } if (emulatorDetailsBuilder_ == null) { result.emulatorDetails_ = emulatorDetails_; } else { result.emulatorDetails_ = emulatorDetailsBuilder_.build(); } if (((from_bitField0_ & 0x00800000) == 0x00800000)) { to_bitField0_ |= 0x00800000; } if (testRunBuilder_ == null) { result.testRun_ = testRun_; } else { result.testRun_ = testRunBuilder_.build(); } if (((from_bitField0_ & 0x01000000) == 0x01000000)) { to_bitField0_ |= 0x01000000; } if (emulatorUiEventBuilder_ == null) { result.emulatorUiEvent_ = emulatorUiEvent_; } else { result.emulatorUiEvent_ = emulatorUiEventBuilder_.build(); } if (((from_bitField0_ & 0x02000000) == 0x02000000)) { to_bitField0_ |= 0x02000000; } if (hypervisorBuilder_ == null) { result.hypervisor_ = hypervisor_; } else { result.hypervisor_ = hypervisorBuilder_.build(); } if (((from_bitField0_ & 0x04000000) == 0x04000000)) { to_bitField0_ |= 0x04000000; } if (emulatorHostBuilder_ == null) { result.emulatorHost_ = emulatorHost_; } else { result.emulatorHost_ = emulatorHostBuilder_.build(); } if (((from_bitField0_ & 0x08000000) == 0x08000000)) { to_bitField0_ |= 0x08000000; } if (gradleBuildProfileBuilder_ == null) { result.gradleBuildProfile_ = gradleBuildProfile_; } else { result.gradleBuildProfile_ = gradleBuildProfileBuilder_.build(); } if (((from_bitField0_ & 0x10000000) == 0x10000000)) { to_bitField0_ |= 0x10000000; } if (lldbFrontendDetailsBuilder_ == null) { result.lldbFrontendDetails_ = lldbFrontendDetails_; } else { result.lldbFrontendDetails_ = lldbFrontendDetailsBuilder_.build(); } if (((from_bitField0_ & 0x20000000) == 0x20000000)) { to_bitField0_ |= 0x20000000; } if (firebaseErrorDetailsBuilder_ == null) { result.firebaseErrorDetails_ = firebaseErrorDetails_; } else { result.firebaseErrorDetails_ = firebaseErrorDetailsBuilder_.build(); } if (((from_bitField0_ & 0x40000000) == 0x40000000)) { to_bitField0_ |= 0x40000000; } result.projectId_ = projectId_; if (((from_bitField0_ & 0x80000000) == 0x80000000)) { to_bitField0_ |= 0x80000000; } if (gfxTracingDetailsBuilder_ == null) { result.gfxTracingDetails_ = gfxTracingDetails_; } else { result.gfxTracingDetails_ = gfxTracingDetailsBuilder_.build(); } if (((from_bitField1_ & 0x00000001) == 0x00000001)) { to_bitField1_ |= 0x00000001; } if (testRecorderDetailsBuilder_ == null) { result.testRecorderDetails_ = testRecorderDetails_; } else { result.testRecorderDetails_ = testRecorderDetailsBuilder_.build(); } if (((from_bitField1_ & 0x00000002) == 0x00000002)) { to_bitField1_ |= 0x00000002; } if (uiActionStatsBuilder_ == null) { result.uiActionStats_ = uiActionStats_; } else { result.uiActionStats_ = uiActionStatsBuilder_.build(); } if (((from_bitField1_ & 0x00000004) == 0x00000004)) { to_bitField1_ |= 0x00000004; } if (machineDetailsBuilder_ == null) { result.machineDetails_ = machineDetails_; } else { result.machineDetails_ = machineDetailsBuilder_.build(); } if (((from_bitField1_ & 0x00000008) == 0x00000008)) { to_bitField1_ |= 0x00000008; } if (jvmDetailsBuilder_ == null) { result.jvmDetails_ = jvmDetails_; } else { result.jvmDetails_ = jvmDetailsBuilder_.build(); } if (((from_bitField1_ & 0x00000010) == 0x00000010)) { to_bitField1_ |= 0x00000010; } if (javaProcessStatsBuilder_ == null) { result.javaProcessStats_ = javaProcessStats_; } else { result.javaProcessStats_ = javaProcessStatsBuilder_.build(); } result.bitField0_ = to_bitField0_; result.bitField1_ = to_bitField1_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent) { return mergeFrom((com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent other) { if (other == com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.getDefaultInstance()) return this; if (other.hasCategory()) { setCategory(other.getCategory()); } if (other.hasKind()) { setKind(other.getKind()); } if (other.hasStudioSessionId()) { bitField0_ |= 0x00000004; studioSessionId_ = other.studioSessionId_; onChanged(); } if (other.hasProductDetails()) { mergeProductDetails(other.getProductDetails()); } if (other.hasMonitorType()) { setMonitorType(other.getMonitorType()); } if (other.hasMonitorPaused()) { setMonitorPaused(other.getMonitorPaused()); } if (other.hasProfilerCaptureType()) { setProfilerCaptureType(other.getProfilerCaptureType()); } if (other.hasCloudTestingErrorMessage()) { bitField0_ |= 0x00000080; cloudTestingErrorMessage_ = other.cloudTestingErrorMessage_; onChanged(); } if (other.hasCloudTestingLoadedScreenshotsCount()) { setCloudTestingLoadedScreenshotsCount(other.getCloudTestingLoadedScreenshotsCount()); } if (other.hasRunConfigurationType()) { setRunConfigurationType(other.getRunConfigurationType()); } if (other.hasDebuggerType()) { setDebuggerType(other.getDebuggerType()); } if (other.hasDeviceInfo()) { mergeDeviceInfo(other.getDeviceInfo()); } if (other.hasLldbSessionFailureMessage()) { bitField0_ |= 0x00001000; lldbSessionFailureMessage_ = other.lldbSessionFailureMessage_; onChanged(); } if (other.hasDeveloperServiceKind()) { setDeveloperServiceKind(other.getDeveloperServiceKind()); } if (other.hasGradleVersion()) { bitField0_ |= 0x00004000; gradleVersion_ = other.gradleVersion_; onChanged(); } if (other.hasGradleSyncFailure()) { setGradleSyncFailure(other.getGradleSyncFailure()); } if (other.hasGradleMissingSignature()) { bitField0_ |= 0x00010000; gradleMissingSignature_ = other.gradleMissingSignature_; onChanged(); } if (other.hasTemplateRenderer()) { setTemplateRenderer(other.getTemplateRenderer()); } if (other.hasStudioCrash()) { mergeStudioCrash(other.getStudioCrash()); } if (other.hasGradleBuildDetails()) { mergeGradleBuildDetails(other.getGradleBuildDetails()); } if (other.hasInstantRun()) { mergeInstantRun(other.getInstantRun()); } if (other.hasMetaMetrics()) { mergeMetaMetrics(other.getMetaMetrics()); } if (other.hasEmulatorDetails()) { mergeEmulatorDetails(other.getEmulatorDetails()); } if (other.hasTestRun()) { mergeTestRun(other.getTestRun()); } if (other.hasEmulatorUiEvent()) { mergeEmulatorUiEvent(other.getEmulatorUiEvent()); } if (other.hasHypervisor()) { mergeHypervisor(other.getHypervisor()); } if (other.hasEmulatorHost()) { mergeEmulatorHost(other.getEmulatorHost()); } if (other.hasGradleBuildProfile()) { mergeGradleBuildProfile(other.getGradleBuildProfile()); } if (other.hasLldbFrontendDetails()) { mergeLldbFrontendDetails(other.getLldbFrontendDetails()); } if (other.hasFirebaseErrorDetails()) { mergeFirebaseErrorDetails(other.getFirebaseErrorDetails()); } if (other.hasProjectId()) { bitField0_ |= 0x40000000; projectId_ = other.projectId_; onChanged(); } if (other.hasGfxTracingDetails()) { mergeGfxTracingDetails(other.getGfxTracingDetails()); } if (other.hasTestRecorderDetails()) { mergeTestRecorderDetails(other.getTestRecorderDetails()); } if (other.hasUiActionStats()) { mergeUiActionStats(other.getUiActionStats()); } if (other.hasMachineDetails()) { mergeMachineDetails(other.getMachineDetails()); } if (other.hasJvmDetails()) { mergeJvmDetails(other.getJvmDetails()); } if (other.hasJavaProcessStats()) { mergeJavaProcessStats(other.getJavaProcessStats()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int bitField1_; // optional .android_studio.AndroidStudioEvent.EventCategory category = 1; private com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.EventCategory category_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.EventCategory.NO_EVENT_CATEGORY; /** * optional .android_studio.AndroidStudioEvent.EventCategory category = 1; * *
       * Describes a group of event kinds related to each other.
       * 
*/ public boolean hasCategory() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .android_studio.AndroidStudioEvent.EventCategory category = 1; * *
       * Describes a group of event kinds related to each other.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.EventCategory getCategory() { return category_; } /** * optional .android_studio.AndroidStudioEvent.EventCategory category = 1; * *
       * Describes a group of event kinds related to each other.
       * 
*/ public Builder setCategory(com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.EventCategory value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; category_ = value; onChanged(); return this; } /** * optional .android_studio.AndroidStudioEvent.EventCategory category = 1; * *
       * Describes a group of event kinds related to each other.
       * 
*/ public Builder clearCategory() { bitField0_ = (bitField0_ & ~0x00000001); category_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.EventCategory.NO_EVENT_CATEGORY; onChanged(); return this; } // optional .android_studio.AndroidStudioEvent.EventKind kind = 2; private com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.EventKind kind_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.EventKind.UNKNOWN_EVENT_KIND; /** * optional .android_studio.AndroidStudioEvent.EventKind kind = 2; * *
       * Specific kind of event, primary separation key of all Android Studio
       *  related events.
       * 
*/ public boolean hasKind() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .android_studio.AndroidStudioEvent.EventKind kind = 2; * *
       * Specific kind of event, primary separation key of all Android Studio
       *  related events.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.EventKind getKind() { return kind_; } /** * optional .android_studio.AndroidStudioEvent.EventKind kind = 2; * *
       * Specific kind of event, primary separation key of all Android Studio
       *  related events.
       * 
*/ public Builder setKind(com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.EventKind value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; kind_ = value; onChanged(); return this; } /** * optional .android_studio.AndroidStudioEvent.EventKind kind = 2; * *
       * Specific kind of event, primary separation key of all Android Studio
       *  related events.
       * 
*/ public Builder clearKind() { bitField0_ = (bitField0_ & ~0x00000002); kind_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.EventKind.UNKNOWN_EVENT_KIND; onChanged(); return this; } // optional string studio_session_id = 3; private java.lang.Object studioSessionId_ = ""; /** * optional string studio_session_id = 3; * *
       * The session id is a UUID tracking a single instance of Android Studio
       *  to associate events together such as kind = TEST_RUN
       * 
*/ public boolean hasStudioSessionId() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string studio_session_id = 3; * *
       * The session id is a UUID tracking a single instance of Android Studio
       *  to associate events together such as kind = TEST_RUN
       * 
*/ public java.lang.String getStudioSessionId() { java.lang.Object ref = studioSessionId_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); studioSessionId_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string studio_session_id = 3; * *
       * The session id is a UUID tracking a single instance of Android Studio
       *  to associate events together such as kind = TEST_RUN
       * 
*/ public com.google.protobuf.ByteString getStudioSessionIdBytes() { java.lang.Object ref = studioSessionId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); studioSessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string studio_session_id = 3; * *
       * The session id is a UUID tracking a single instance of Android Studio
       *  to associate events together such as kind = TEST_RUN
       * 
*/ public Builder setStudioSessionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; studioSessionId_ = value; onChanged(); return this; } /** * optional string studio_session_id = 3; * *
       * The session id is a UUID tracking a single instance of Android Studio
       *  to associate events together such as kind = TEST_RUN
       * 
*/ public Builder clearStudioSessionId() { bitField0_ = (bitField0_ & ~0x00000004); studioSessionId_ = getDefaultInstance().getStudioSessionId(); onChanged(); return this; } /** * optional string studio_session_id = 3; * *
       * The session id is a UUID tracking a single instance of Android Studio
       *  to associate events together such as kind = TEST_RUN
       * 
*/ public Builder setStudioSessionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; studioSessionId_ = value; onChanged(); return this; } // optional .android_studio.ProductDetails product_details = 4; private com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails productDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails, com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetailsOrBuilder> productDetailsBuilder_; /** * optional .android_studio.ProductDetails product_details = 4; * *
       * set when kind = STUDIO_PING
       *  or kind = EMULATOR_PING
       *  or ANDROID_STUDIO_TEST
       *  or ANDROID_STUDIO_THROUGH_GRADLE
       * 
*/ public boolean hasProductDetails() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .android_studio.ProductDetails product_details = 4; * *
       * set when kind = STUDIO_PING
       *  or kind = EMULATOR_PING
       *  or ANDROID_STUDIO_TEST
       *  or ANDROID_STUDIO_THROUGH_GRADLE
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails getProductDetails() { if (productDetailsBuilder_ == null) { return productDetails_; } else { return productDetailsBuilder_.getMessage(); } } /** * optional .android_studio.ProductDetails product_details = 4; * *
       * set when kind = STUDIO_PING
       *  or kind = EMULATOR_PING
       *  or ANDROID_STUDIO_TEST
       *  or ANDROID_STUDIO_THROUGH_GRADLE
       * 
*/ public Builder setProductDetails(com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails value) { if (productDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } productDetails_ = value; onChanged(); } else { productDetailsBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /** * optional .android_studio.ProductDetails product_details = 4; * *
       * set when kind = STUDIO_PING
       *  or kind = EMULATOR_PING
       *  or ANDROID_STUDIO_TEST
       *  or ANDROID_STUDIO_THROUGH_GRADLE
       * 
*/ public Builder setProductDetails( com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.Builder builderForValue) { if (productDetailsBuilder_ == null) { productDetails_ = builderForValue.build(); onChanged(); } else { productDetailsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /** * optional .android_studio.ProductDetails product_details = 4; * *
       * set when kind = STUDIO_PING
       *  or kind = EMULATOR_PING
       *  or ANDROID_STUDIO_TEST
       *  or ANDROID_STUDIO_THROUGH_GRADLE
       * 
*/ public Builder mergeProductDetails(com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails value) { if (productDetailsBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008) && productDetails_ != com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.getDefaultInstance()) { productDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.newBuilder(productDetails_).mergeFrom(value).buildPartial(); } else { productDetails_ = value; } onChanged(); } else { productDetailsBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /** * optional .android_studio.ProductDetails product_details = 4; * *
       * set when kind = STUDIO_PING
       *  or kind = EMULATOR_PING
       *  or ANDROID_STUDIO_TEST
       *  or ANDROID_STUDIO_THROUGH_GRADLE
       * 
*/ public Builder clearProductDetails() { if (productDetailsBuilder_ == null) { productDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.getDefaultInstance(); onChanged(); } else { productDetailsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** * optional .android_studio.ProductDetails product_details = 4; * *
       * set when kind = STUDIO_PING
       *  or kind = EMULATOR_PING
       *  or ANDROID_STUDIO_TEST
       *  or ANDROID_STUDIO_THROUGH_GRADLE
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.Builder getProductDetailsBuilder() { bitField0_ |= 0x00000008; onChanged(); return getProductDetailsFieldBuilder().getBuilder(); } /** * optional .android_studio.ProductDetails product_details = 4; * *
       * set when kind = STUDIO_PING
       *  or kind = EMULATOR_PING
       *  or ANDROID_STUDIO_TEST
       *  or ANDROID_STUDIO_THROUGH_GRADLE
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetailsOrBuilder getProductDetailsOrBuilder() { if (productDetailsBuilder_ != null) { return productDetailsBuilder_.getMessageOrBuilder(); } else { return productDetails_; } } /** * optional .android_studio.ProductDetails product_details = 4; * *
       * set when kind = STUDIO_PING
       *  or kind = EMULATOR_PING
       *  or ANDROID_STUDIO_TEST
       *  or ANDROID_STUDIO_THROUGH_GRADLE
       * 
*/ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails, com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetailsOrBuilder> getProductDetailsFieldBuilder() { if (productDetailsBuilder_ == null) { productDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails, com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetailsOrBuilder>( productDetails_, getParentForChildren(), isClean()); productDetails_ = null; } return productDetailsBuilder_; } // optional .android_studio.AndroidStudioEvent.MonitorType monitor_type = 5; private com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.MonitorType monitorType_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.MonitorType.UNKNOWN_MONITOR_TYPE; /** * optional .android_studio.AndroidStudioEvent.MonitorType monitor_type = 5; * *
       * set when kind = MONITOR_ACTIVATED or kind = MONITOR_RUNNING
       * 
*/ public boolean hasMonitorType() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional .android_studio.AndroidStudioEvent.MonitorType monitor_type = 5; * *
       * set when kind = MONITOR_ACTIVATED or kind = MONITOR_RUNNING
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.MonitorType getMonitorType() { return monitorType_; } /** * optional .android_studio.AndroidStudioEvent.MonitorType monitor_type = 5; * *
       * set when kind = MONITOR_ACTIVATED or kind = MONITOR_RUNNING
       * 
*/ public Builder setMonitorType(com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.MonitorType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; monitorType_ = value; onChanged(); return this; } /** * optional .android_studio.AndroidStudioEvent.MonitorType monitor_type = 5; * *
       * set when kind = MONITOR_ACTIVATED or kind = MONITOR_RUNNING
       * 
*/ public Builder clearMonitorType() { bitField0_ = (bitField0_ & ~0x00000010); monitorType_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.MonitorType.UNKNOWN_MONITOR_TYPE; onChanged(); return this; } // optional bool monitor_paused = 6; private boolean monitorPaused_ ; /** * optional bool monitor_paused = 6; * *
       * set when kind = MONITOR_RUNNING
       * 
*/ public boolean hasMonitorPaused() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional bool monitor_paused = 6; * *
       * set when kind = MONITOR_RUNNING
       * 
*/ public boolean getMonitorPaused() { return monitorPaused_; } /** * optional bool monitor_paused = 6; * *
       * set when kind = MONITOR_RUNNING
       * 
*/ public Builder setMonitorPaused(boolean value) { bitField0_ |= 0x00000020; monitorPaused_ = value; onChanged(); return this; } /** * optional bool monitor_paused = 6; * *
       * set when kind = MONITOR_RUNNING
       * 
*/ public Builder clearMonitorPaused() { bitField0_ = (bitField0_ & ~0x00000020); monitorPaused_ = false; onChanged(); return this; } // optional .android_studio.AndroidStudioEvent.ProfilerCaptureType profiler_capture_type = 7; private com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.ProfilerCaptureType profilerCaptureType_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.ProfilerCaptureType.UNKNOWN_PROFILER_CAPTURE_TYPE; /** * optional .android_studio.AndroidStudioEvent.ProfilerCaptureType profiler_capture_type = 7; * *
       * set when kind = PROFILING_OPEN or PROFILING_CAPTURE
       * 
*/ public boolean hasProfilerCaptureType() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional .android_studio.AndroidStudioEvent.ProfilerCaptureType profiler_capture_type = 7; * *
       * set when kind = PROFILING_OPEN or PROFILING_CAPTURE
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.ProfilerCaptureType getProfilerCaptureType() { return profilerCaptureType_; } /** * optional .android_studio.AndroidStudioEvent.ProfilerCaptureType profiler_capture_type = 7; * *
       * set when kind = PROFILING_OPEN or PROFILING_CAPTURE
       * 
*/ public Builder setProfilerCaptureType(com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.ProfilerCaptureType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; profilerCaptureType_ = value; onChanged(); return this; } /** * optional .android_studio.AndroidStudioEvent.ProfilerCaptureType profiler_capture_type = 7; * *
       * set when kind = PROFILING_OPEN or PROFILING_CAPTURE
       * 
*/ public Builder clearProfilerCaptureType() { bitField0_ = (bitField0_ & ~0x00000040); profilerCaptureType_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.ProfilerCaptureType.UNKNOWN_PROFILER_CAPTURE_TYPE; onChanged(); return this; } // optional string cloud_testing_error_message = 8; private java.lang.Object cloudTestingErrorMessage_ = ""; /** * optional string cloud_testing_error_message = 8; * *
       * set when kind = CLOUD_TESTING_BACKEND_ERROR
       * 
*/ public boolean hasCloudTestingErrorMessage() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional string cloud_testing_error_message = 8; * *
       * set when kind = CLOUD_TESTING_BACKEND_ERROR
       * 
*/ public java.lang.String getCloudTestingErrorMessage() { java.lang.Object ref = cloudTestingErrorMessage_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); cloudTestingErrorMessage_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string cloud_testing_error_message = 8; * *
       * set when kind = CLOUD_TESTING_BACKEND_ERROR
       * 
*/ public com.google.protobuf.ByteString getCloudTestingErrorMessageBytes() { java.lang.Object ref = cloudTestingErrorMessage_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); cloudTestingErrorMessage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string cloud_testing_error_message = 8; * *
       * set when kind = CLOUD_TESTING_BACKEND_ERROR
       * 
*/ public Builder setCloudTestingErrorMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; cloudTestingErrorMessage_ = value; onChanged(); return this; } /** * optional string cloud_testing_error_message = 8; * *
       * set when kind = CLOUD_TESTING_BACKEND_ERROR
       * 
*/ public Builder clearCloudTestingErrorMessage() { bitField0_ = (bitField0_ & ~0x00000080); cloudTestingErrorMessage_ = getDefaultInstance().getCloudTestingErrorMessage(); onChanged(); return this; } /** * optional string cloud_testing_error_message = 8; * *
       * set when kind = CLOUD_TESTING_BACKEND_ERROR
       * 
*/ public Builder setCloudTestingErrorMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; cloudTestingErrorMessage_ = value; onChanged(); return this; } // optional int32 cloud_testing_loaded_screenshots_count = 9; private int cloudTestingLoadedScreenshotsCount_ ; /** * optional int32 cloud_testing_loaded_screenshots_count = 9; * *
       * set when kind = CLOUD_TESTING_COMPARE_SCREENSHOTS_OPENED
       * 
*/ public boolean hasCloudTestingLoadedScreenshotsCount() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional int32 cloud_testing_loaded_screenshots_count = 9; * *
       * set when kind = CLOUD_TESTING_COMPARE_SCREENSHOTS_OPENED
       * 
*/ public int getCloudTestingLoadedScreenshotsCount() { return cloudTestingLoadedScreenshotsCount_; } /** * optional int32 cloud_testing_loaded_screenshots_count = 9; * *
       * set when kind = CLOUD_TESTING_COMPARE_SCREENSHOTS_OPENED
       * 
*/ public Builder setCloudTestingLoadedScreenshotsCount(int value) { bitField0_ |= 0x00000100; cloudTestingLoadedScreenshotsCount_ = value; onChanged(); return this; } /** * optional int32 cloud_testing_loaded_screenshots_count = 9; * *
       * set when kind = CLOUD_TESTING_COMPARE_SCREENSHOTS_OPENED
       * 
*/ public Builder clearCloudTestingLoadedScreenshotsCount() { bitField0_ = (bitField0_ & ~0x00000100); cloudTestingLoadedScreenshotsCount_ = 0; onChanged(); return this; } // optional .android_studio.AndroidStudioEvent.RunConfigurationType run_configuration_type = 10; private com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.RunConfigurationType runConfigurationType_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.RunConfigurationType.UNKNOWN_RUN_CONFIGURATION_TYPE; /** * optional .android_studio.AndroidStudioEvent.RunConfigurationType run_configuration_type = 10; * *
       * set when kind = LLDB_SESSION_STARTED
       * 
*/ public boolean hasRunConfigurationType() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * optional .android_studio.AndroidStudioEvent.RunConfigurationType run_configuration_type = 10; * *
       * set when kind = LLDB_SESSION_STARTED
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.RunConfigurationType getRunConfigurationType() { return runConfigurationType_; } /** * optional .android_studio.AndroidStudioEvent.RunConfigurationType run_configuration_type = 10; * *
       * set when kind = LLDB_SESSION_STARTED
       * 
*/ public Builder setRunConfigurationType(com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.RunConfigurationType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000200; runConfigurationType_ = value; onChanged(); return this; } /** * optional .android_studio.AndroidStudioEvent.RunConfigurationType run_configuration_type = 10; * *
       * set when kind = LLDB_SESSION_STARTED
       * 
*/ public Builder clearRunConfigurationType() { bitField0_ = (bitField0_ & ~0x00000200); runConfigurationType_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.RunConfigurationType.UNKNOWN_RUN_CONFIGURATION_TYPE; onChanged(); return this; } // optional .android_studio.AndroidStudioEvent.DebuggerType debugger_type = 11; private com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.DebuggerType debuggerType_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.DebuggerType.UNKNOWN_DEBUGGER_TYPE; /** * optional .android_studio.AndroidStudioEvent.DebuggerType debugger_type = 11; * *
       * set when kind = LLDB_SESSION_STARTED
       * 
*/ public boolean hasDebuggerType() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * optional .android_studio.AndroidStudioEvent.DebuggerType debugger_type = 11; * *
       * set when kind = LLDB_SESSION_STARTED
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.DebuggerType getDebuggerType() { return debuggerType_; } /** * optional .android_studio.AndroidStudioEvent.DebuggerType debugger_type = 11; * *
       * set when kind = LLDB_SESSION_STARTED
       * 
*/ public Builder setDebuggerType(com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.DebuggerType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000400; debuggerType_ = value; onChanged(); return this; } /** * optional .android_studio.AndroidStudioEvent.DebuggerType debugger_type = 11; * *
       * set when kind = LLDB_SESSION_STARTED
       * 
*/ public Builder clearDebuggerType() { bitField0_ = (bitField0_ & ~0x00000400); debuggerType_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.DebuggerType.UNKNOWN_DEBUGGER_TYPE; onChanged(); return this; } // optional .android_studio.DeviceInfo device_info = 12; private com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo deviceInfo_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo, com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfoOrBuilder> deviceInfoBuilder_; /** * optional .android_studio.DeviceInfo device_info = 12; * *
       * set when kind = LLDB_LAUNCHED
       *  or kind = DEPLOYMENT_APK
       *  or kind = DEPLOYMENT_EMULATOR
       *  or kind = CLOUD_TESTING_CONFIGURE_CLOUD_DEVICE
       *  or kind = CLOUD_TESTING_LAUNCH_CLOUD_DEVICE
       *  or kind = CLOUD_TESTING_DEBUG_FROM_RESULTS
       *  or kind = TEST_RUN
       * 
*/ public boolean hasDeviceInfo() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** * optional .android_studio.DeviceInfo device_info = 12; * *
       * set when kind = LLDB_LAUNCHED
       *  or kind = DEPLOYMENT_APK
       *  or kind = DEPLOYMENT_EMULATOR
       *  or kind = CLOUD_TESTING_CONFIGURE_CLOUD_DEVICE
       *  or kind = CLOUD_TESTING_LAUNCH_CLOUD_DEVICE
       *  or kind = CLOUD_TESTING_DEBUG_FROM_RESULTS
       *  or kind = TEST_RUN
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo getDeviceInfo() { if (deviceInfoBuilder_ == null) { return deviceInfo_; } else { return deviceInfoBuilder_.getMessage(); } } /** * optional .android_studio.DeviceInfo device_info = 12; * *
       * set when kind = LLDB_LAUNCHED
       *  or kind = DEPLOYMENT_APK
       *  or kind = DEPLOYMENT_EMULATOR
       *  or kind = CLOUD_TESTING_CONFIGURE_CLOUD_DEVICE
       *  or kind = CLOUD_TESTING_LAUNCH_CLOUD_DEVICE
       *  or kind = CLOUD_TESTING_DEBUG_FROM_RESULTS
       *  or kind = TEST_RUN
       * 
*/ public Builder setDeviceInfo(com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo value) { if (deviceInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } deviceInfo_ = value; onChanged(); } else { deviceInfoBuilder_.setMessage(value); } bitField0_ |= 0x00000800; return this; } /** * optional .android_studio.DeviceInfo device_info = 12; * *
       * set when kind = LLDB_LAUNCHED
       *  or kind = DEPLOYMENT_APK
       *  or kind = DEPLOYMENT_EMULATOR
       *  or kind = CLOUD_TESTING_CONFIGURE_CLOUD_DEVICE
       *  or kind = CLOUD_TESTING_LAUNCH_CLOUD_DEVICE
       *  or kind = CLOUD_TESTING_DEBUG_FROM_RESULTS
       *  or kind = TEST_RUN
       * 
*/ public Builder setDeviceInfo( com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.Builder builderForValue) { if (deviceInfoBuilder_ == null) { deviceInfo_ = builderForValue.build(); onChanged(); } else { deviceInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000800; return this; } /** * optional .android_studio.DeviceInfo device_info = 12; * *
       * set when kind = LLDB_LAUNCHED
       *  or kind = DEPLOYMENT_APK
       *  or kind = DEPLOYMENT_EMULATOR
       *  or kind = CLOUD_TESTING_CONFIGURE_CLOUD_DEVICE
       *  or kind = CLOUD_TESTING_LAUNCH_CLOUD_DEVICE
       *  or kind = CLOUD_TESTING_DEBUG_FROM_RESULTS
       *  or kind = TEST_RUN
       * 
*/ public Builder mergeDeviceInfo(com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo value) { if (deviceInfoBuilder_ == null) { if (((bitField0_ & 0x00000800) == 0x00000800) && deviceInfo_ != com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.getDefaultInstance()) { deviceInfo_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.newBuilder(deviceInfo_).mergeFrom(value).buildPartial(); } else { deviceInfo_ = value; } onChanged(); } else { deviceInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x00000800; return this; } /** * optional .android_studio.DeviceInfo device_info = 12; * *
       * set when kind = LLDB_LAUNCHED
       *  or kind = DEPLOYMENT_APK
       *  or kind = DEPLOYMENT_EMULATOR
       *  or kind = CLOUD_TESTING_CONFIGURE_CLOUD_DEVICE
       *  or kind = CLOUD_TESTING_LAUNCH_CLOUD_DEVICE
       *  or kind = CLOUD_TESTING_DEBUG_FROM_RESULTS
       *  or kind = TEST_RUN
       * 
*/ public Builder clearDeviceInfo() { if (deviceInfoBuilder_ == null) { deviceInfo_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.getDefaultInstance(); onChanged(); } else { deviceInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000800); return this; } /** * optional .android_studio.DeviceInfo device_info = 12; * *
       * set when kind = LLDB_LAUNCHED
       *  or kind = DEPLOYMENT_APK
       *  or kind = DEPLOYMENT_EMULATOR
       *  or kind = CLOUD_TESTING_CONFIGURE_CLOUD_DEVICE
       *  or kind = CLOUD_TESTING_LAUNCH_CLOUD_DEVICE
       *  or kind = CLOUD_TESTING_DEBUG_FROM_RESULTS
       *  or kind = TEST_RUN
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.Builder getDeviceInfoBuilder() { bitField0_ |= 0x00000800; onChanged(); return getDeviceInfoFieldBuilder().getBuilder(); } /** * optional .android_studio.DeviceInfo device_info = 12; * *
       * set when kind = LLDB_LAUNCHED
       *  or kind = DEPLOYMENT_APK
       *  or kind = DEPLOYMENT_EMULATOR
       *  or kind = CLOUD_TESTING_CONFIGURE_CLOUD_DEVICE
       *  or kind = CLOUD_TESTING_LAUNCH_CLOUD_DEVICE
       *  or kind = CLOUD_TESTING_DEBUG_FROM_RESULTS
       *  or kind = TEST_RUN
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfoOrBuilder getDeviceInfoOrBuilder() { if (deviceInfoBuilder_ != null) { return deviceInfoBuilder_.getMessageOrBuilder(); } else { return deviceInfo_; } } /** * optional .android_studio.DeviceInfo device_info = 12; * *
       * set when kind = LLDB_LAUNCHED
       *  or kind = DEPLOYMENT_APK
       *  or kind = DEPLOYMENT_EMULATOR
       *  or kind = CLOUD_TESTING_CONFIGURE_CLOUD_DEVICE
       *  or kind = CLOUD_TESTING_LAUNCH_CLOUD_DEVICE
       *  or kind = CLOUD_TESTING_DEBUG_FROM_RESULTS
       *  or kind = TEST_RUN
       * 
*/ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo, com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfoOrBuilder> getDeviceInfoFieldBuilder() { if (deviceInfoBuilder_ == null) { deviceInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo, com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfoOrBuilder>( deviceInfo_, getParentForChildren(), isClean()); deviceInfo_ = null; } return deviceInfoBuilder_; } // optional string lldb_session_failure_message = 13; private java.lang.Object lldbSessionFailureMessage_ = ""; /** * optional string lldb_session_failure_message = 13; * *
       * set when kind = LLDB_SESSION_FAILED or kind = LLDB_INSTALL_FAILED
       *  e.g. 'failed to get reply to handshake packet'
       * 
*/ public boolean hasLldbSessionFailureMessage() { return ((bitField0_ & 0x00001000) == 0x00001000); } /** * optional string lldb_session_failure_message = 13; * *
       * set when kind = LLDB_SESSION_FAILED or kind = LLDB_INSTALL_FAILED
       *  e.g. 'failed to get reply to handshake packet'
       * 
*/ public java.lang.String getLldbSessionFailureMessage() { java.lang.Object ref = lldbSessionFailureMessage_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); lldbSessionFailureMessage_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string lldb_session_failure_message = 13; * *
       * set when kind = LLDB_SESSION_FAILED or kind = LLDB_INSTALL_FAILED
       *  e.g. 'failed to get reply to handshake packet'
       * 
*/ public com.google.protobuf.ByteString getLldbSessionFailureMessageBytes() { java.lang.Object ref = lldbSessionFailureMessage_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lldbSessionFailureMessage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string lldb_session_failure_message = 13; * *
       * set when kind = LLDB_SESSION_FAILED or kind = LLDB_INSTALL_FAILED
       *  e.g. 'failed to get reply to handshake packet'
       * 
*/ public Builder setLldbSessionFailureMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00001000; lldbSessionFailureMessage_ = value; onChanged(); return this; } /** * optional string lldb_session_failure_message = 13; * *
       * set when kind = LLDB_SESSION_FAILED or kind = LLDB_INSTALL_FAILED
       *  e.g. 'failed to get reply to handshake packet'
       * 
*/ public Builder clearLldbSessionFailureMessage() { bitField0_ = (bitField0_ & ~0x00001000); lldbSessionFailureMessage_ = getDefaultInstance().getLldbSessionFailureMessage(); onChanged(); return this; } /** * optional string lldb_session_failure_message = 13; * *
       * set when kind = LLDB_SESSION_FAILED or kind = LLDB_INSTALL_FAILED
       *  e.g. 'failed to get reply to handshake packet'
       * 
*/ public Builder setLldbSessionFailureMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00001000; lldbSessionFailureMessage_ = value; onChanged(); return this; } // optional .android_studio.AndroidStudioEvent.DeveloperServiceKind developer_service_kind = 14; private com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.DeveloperServiceKind developerServiceKind_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.DeveloperServiceKind.UNKNOWN_DEVELOPER_SERVICE_KIND; /** * optional .android_studio.AndroidStudioEvent.DeveloperServiceKind developer_service_kind = 14; * *
       * set when kind = DEVELOPER_SERVICES_INSTALLED
       *  or kind = DEVELOPER_SERVICES_REMOVED
       * 
*/ public boolean hasDeveloperServiceKind() { return ((bitField0_ & 0x00002000) == 0x00002000); } /** * optional .android_studio.AndroidStudioEvent.DeveloperServiceKind developer_service_kind = 14; * *
       * set when kind = DEVELOPER_SERVICES_INSTALLED
       *  or kind = DEVELOPER_SERVICES_REMOVED
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.DeveloperServiceKind getDeveloperServiceKind() { return developerServiceKind_; } /** * optional .android_studio.AndroidStudioEvent.DeveloperServiceKind developer_service_kind = 14; * *
       * set when kind = DEVELOPER_SERVICES_INSTALLED
       *  or kind = DEVELOPER_SERVICES_REMOVED
       * 
*/ public Builder setDeveloperServiceKind(com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.DeveloperServiceKind value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00002000; developerServiceKind_ = value; onChanged(); return this; } /** * optional .android_studio.AndroidStudioEvent.DeveloperServiceKind developer_service_kind = 14; * *
       * set when kind = DEVELOPER_SERVICES_INSTALLED
       *  or kind = DEVELOPER_SERVICES_REMOVED
       * 
*/ public Builder clearDeveloperServiceKind() { bitField0_ = (bitField0_ & ~0x00002000); developerServiceKind_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.DeveloperServiceKind.UNKNOWN_DEVELOPER_SERVICE_KIND; onChanged(); return this; } // optional string gradle_version = 15; private java.lang.Object gradleVersion_ = ""; /** * optional string gradle_version = 15; * *
       * set when category = GRADLE_SYNC
       * 
*/ public boolean hasGradleVersion() { return ((bitField0_ & 0x00004000) == 0x00004000); } /** * optional string gradle_version = 15; * *
       * set when category = GRADLE_SYNC
       * 
*/ public java.lang.String getGradleVersion() { java.lang.Object ref = gradleVersion_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); gradleVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string gradle_version = 15; * *
       * set when category = GRADLE_SYNC
       * 
*/ public com.google.protobuf.ByteString getGradleVersionBytes() { java.lang.Object ref = gradleVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); gradleVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string gradle_version = 15; * *
       * set when category = GRADLE_SYNC
       * 
*/ public Builder setGradleVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00004000; gradleVersion_ = value; onChanged(); return this; } /** * optional string gradle_version = 15; * *
       * set when category = GRADLE_SYNC
       * 
*/ public Builder clearGradleVersion() { bitField0_ = (bitField0_ & ~0x00004000); gradleVersion_ = getDefaultInstance().getGradleVersion(); onChanged(); return this; } /** * optional string gradle_version = 15; * *
       * set when category = GRADLE_SYNC
       * 
*/ public Builder setGradleVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00004000; gradleVersion_ = value; onChanged(); return this; } // optional .android_studio.AndroidStudioEvent.GradleSyncFailure gradle_sync_failure = 16; private com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.GradleSyncFailure gradleSyncFailure_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.GradleSyncFailure.UNKNOWN_GRADLE_FAILURE; /** * optional .android_studio.AndroidStudioEvent.GradleSyncFailure gradle_sync_failure = 16; * *
       * e.g. '2.10'
       * set when kind = GRADLE_SYNC_FAILURE
       * 
*/ public boolean hasGradleSyncFailure() { return ((bitField0_ & 0x00008000) == 0x00008000); } /** * optional .android_studio.AndroidStudioEvent.GradleSyncFailure gradle_sync_failure = 16; * *
       * e.g. '2.10'
       * set when kind = GRADLE_SYNC_FAILURE
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.GradleSyncFailure getGradleSyncFailure() { return gradleSyncFailure_; } /** * optional .android_studio.AndroidStudioEvent.GradleSyncFailure gradle_sync_failure = 16; * *
       * e.g. '2.10'
       * set when kind = GRADLE_SYNC_FAILURE
       * 
*/ public Builder setGradleSyncFailure(com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.GradleSyncFailure value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00008000; gradleSyncFailure_ = value; onChanged(); return this; } /** * optional .android_studio.AndroidStudioEvent.GradleSyncFailure gradle_sync_failure = 16; * *
       * e.g. '2.10'
       * set when kind = GRADLE_SYNC_FAILURE
       * 
*/ public Builder clearGradleSyncFailure() { bitField0_ = (bitField0_ & ~0x00008000); gradleSyncFailure_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.GradleSyncFailure.UNKNOWN_GRADLE_FAILURE; onChanged(); return this; } // optional string gradle_missing_signature = 17; private java.lang.Object gradleMissingSignature_ = ""; /** * optional string gradle_missing_signature = 17; * *
       * set when kind = GRADLE_SYNC_FAILURE and gradle_sync_failure = *_NOT_FOUND
       *  e.g. 'org.gradle.api.internal.DemoClass.demoMethod'
       * 
*/ public boolean hasGradleMissingSignature() { return ((bitField0_ & 0x00010000) == 0x00010000); } /** * optional string gradle_missing_signature = 17; * *
       * set when kind = GRADLE_SYNC_FAILURE and gradle_sync_failure = *_NOT_FOUND
       *  e.g. 'org.gradle.api.internal.DemoClass.demoMethod'
       * 
*/ public java.lang.String getGradleMissingSignature() { java.lang.Object ref = gradleMissingSignature_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); gradleMissingSignature_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string gradle_missing_signature = 17; * *
       * set when kind = GRADLE_SYNC_FAILURE and gradle_sync_failure = *_NOT_FOUND
       *  e.g. 'org.gradle.api.internal.DemoClass.demoMethod'
       * 
*/ public com.google.protobuf.ByteString getGradleMissingSignatureBytes() { java.lang.Object ref = gradleMissingSignature_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); gradleMissingSignature_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string gradle_missing_signature = 17; * *
       * set when kind = GRADLE_SYNC_FAILURE and gradle_sync_failure = *_NOT_FOUND
       *  e.g. 'org.gradle.api.internal.DemoClass.demoMethod'
       * 
*/ public Builder setGradleMissingSignature( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00010000; gradleMissingSignature_ = value; onChanged(); return this; } /** * optional string gradle_missing_signature = 17; * *
       * set when kind = GRADLE_SYNC_FAILURE and gradle_sync_failure = *_NOT_FOUND
       *  e.g. 'org.gradle.api.internal.DemoClass.demoMethod'
       * 
*/ public Builder clearGradleMissingSignature() { bitField0_ = (bitField0_ & ~0x00010000); gradleMissingSignature_ = getDefaultInstance().getGradleMissingSignature(); onChanged(); return this; } /** * optional string gradle_missing_signature = 17; * *
       * set when kind = GRADLE_SYNC_FAILURE and gradle_sync_failure = *_NOT_FOUND
       *  e.g. 'org.gradle.api.internal.DemoClass.demoMethod'
       * 
*/ public Builder setGradleMissingSignatureBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00010000; gradleMissingSignature_ = value; onChanged(); return this; } // optional .android_studio.AndroidStudioEvent.TemplateRenderer template_renderer = 18; private com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.TemplateRenderer templateRenderer_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.TemplateRenderer.UNKNOWN_TEMPLATE_RENDERER; /** * optional .android_studio.AndroidStudioEvent.TemplateRenderer template_renderer = 18; * *
       * set when kind = TEMPLATE_RENDERER
       * 
*/ public boolean hasTemplateRenderer() { return ((bitField0_ & 0x00020000) == 0x00020000); } /** * optional .android_studio.AndroidStudioEvent.TemplateRenderer template_renderer = 18; * *
       * set when kind = TEMPLATE_RENDERER
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.TemplateRenderer getTemplateRenderer() { return templateRenderer_; } /** * optional .android_studio.AndroidStudioEvent.TemplateRenderer template_renderer = 18; * *
       * set when kind = TEMPLATE_RENDERER
       * 
*/ public Builder setTemplateRenderer(com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.TemplateRenderer value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00020000; templateRenderer_ = value; onChanged(); return this; } /** * optional .android_studio.AndroidStudioEvent.TemplateRenderer template_renderer = 18; * *
       * set when kind = TEMPLATE_RENDERER
       * 
*/ public Builder clearTemplateRenderer() { bitField0_ = (bitField0_ & ~0x00020000); templateRenderer_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent.TemplateRenderer.UNKNOWN_TEMPLATE_RENDERER; onChanged(); return this; } // optional .android_studio.StudioCrash studio_crash = 19; private com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash studioCrash_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash, com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrashOrBuilder> studioCrashBuilder_; /** * optional .android_studio.StudioCrash studio_crash = 19; * *
       * set when kind = STUDIO_CRASH
       * 
*/ public boolean hasStudioCrash() { return ((bitField0_ & 0x00040000) == 0x00040000); } /** * optional .android_studio.StudioCrash studio_crash = 19; * *
       * set when kind = STUDIO_CRASH
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash getStudioCrash() { if (studioCrashBuilder_ == null) { return studioCrash_; } else { return studioCrashBuilder_.getMessage(); } } /** * optional .android_studio.StudioCrash studio_crash = 19; * *
       * set when kind = STUDIO_CRASH
       * 
*/ public Builder setStudioCrash(com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash value) { if (studioCrashBuilder_ == null) { if (value == null) { throw new NullPointerException(); } studioCrash_ = value; onChanged(); } else { studioCrashBuilder_.setMessage(value); } bitField0_ |= 0x00040000; return this; } /** * optional .android_studio.StudioCrash studio_crash = 19; * *
       * set when kind = STUDIO_CRASH
       * 
*/ public Builder setStudioCrash( com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash.Builder builderForValue) { if (studioCrashBuilder_ == null) { studioCrash_ = builderForValue.build(); onChanged(); } else { studioCrashBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00040000; return this; } /** * optional .android_studio.StudioCrash studio_crash = 19; * *
       * set when kind = STUDIO_CRASH
       * 
*/ public Builder mergeStudioCrash(com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash value) { if (studioCrashBuilder_ == null) { if (((bitField0_ & 0x00040000) == 0x00040000) && studioCrash_ != com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash.getDefaultInstance()) { studioCrash_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash.newBuilder(studioCrash_).mergeFrom(value).buildPartial(); } else { studioCrash_ = value; } onChanged(); } else { studioCrashBuilder_.mergeFrom(value); } bitField0_ |= 0x00040000; return this; } /** * optional .android_studio.StudioCrash studio_crash = 19; * *
       * set when kind = STUDIO_CRASH
       * 
*/ public Builder clearStudioCrash() { if (studioCrashBuilder_ == null) { studioCrash_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash.getDefaultInstance(); onChanged(); } else { studioCrashBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00040000); return this; } /** * optional .android_studio.StudioCrash studio_crash = 19; * *
       * set when kind = STUDIO_CRASH
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash.Builder getStudioCrashBuilder() { bitField0_ |= 0x00040000; onChanged(); return getStudioCrashFieldBuilder().getBuilder(); } /** * optional .android_studio.StudioCrash studio_crash = 19; * *
       * set when kind = STUDIO_CRASH
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrashOrBuilder getStudioCrashOrBuilder() { if (studioCrashBuilder_ != null) { return studioCrashBuilder_.getMessageOrBuilder(); } else { return studioCrash_; } } /** * optional .android_studio.StudioCrash studio_crash = 19; * *
       * set when kind = STUDIO_CRASH
       * 
*/ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash, com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrashOrBuilder> getStudioCrashFieldBuilder() { if (studioCrashBuilder_ == null) { studioCrashBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash, com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrashOrBuilder>( studioCrash_, getParentForChildren(), isClean()); studioCrash_ = null; } return studioCrashBuilder_; } // optional .android_studio.GradleBuildDetails gradle_build_details = 20; private com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails gradleBuildDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetailsOrBuilder> gradleBuildDetailsBuilder_; /** * optional .android_studio.GradleBuildDetails gradle_build_details = 20; * *
       * set when kind = GRADLE_BUILD_DETAILS
       * 
*/ public boolean hasGradleBuildDetails() { return ((bitField0_ & 0x00080000) == 0x00080000); } /** * optional .android_studio.GradleBuildDetails gradle_build_details = 20; * *
       * set when kind = GRADLE_BUILD_DETAILS
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails getGradleBuildDetails() { if (gradleBuildDetailsBuilder_ == null) { return gradleBuildDetails_; } else { return gradleBuildDetailsBuilder_.getMessage(); } } /** * optional .android_studio.GradleBuildDetails gradle_build_details = 20; * *
       * set when kind = GRADLE_BUILD_DETAILS
       * 
*/ public Builder setGradleBuildDetails(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails value) { if (gradleBuildDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } gradleBuildDetails_ = value; onChanged(); } else { gradleBuildDetailsBuilder_.setMessage(value); } bitField0_ |= 0x00080000; return this; } /** * optional .android_studio.GradleBuildDetails gradle_build_details = 20; * *
       * set when kind = GRADLE_BUILD_DETAILS
       * 
*/ public Builder setGradleBuildDetails( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails.Builder builderForValue) { if (gradleBuildDetailsBuilder_ == null) { gradleBuildDetails_ = builderForValue.build(); onChanged(); } else { gradleBuildDetailsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00080000; return this; } /** * optional .android_studio.GradleBuildDetails gradle_build_details = 20; * *
       * set when kind = GRADLE_BUILD_DETAILS
       * 
*/ public Builder mergeGradleBuildDetails(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails value) { if (gradleBuildDetailsBuilder_ == null) { if (((bitField0_ & 0x00080000) == 0x00080000) && gradleBuildDetails_ != com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails.getDefaultInstance()) { gradleBuildDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails.newBuilder(gradleBuildDetails_).mergeFrom(value).buildPartial(); } else { gradleBuildDetails_ = value; } onChanged(); } else { gradleBuildDetailsBuilder_.mergeFrom(value); } bitField0_ |= 0x00080000; return this; } /** * optional .android_studio.GradleBuildDetails gradle_build_details = 20; * *
       * set when kind = GRADLE_BUILD_DETAILS
       * 
*/ public Builder clearGradleBuildDetails() { if (gradleBuildDetailsBuilder_ == null) { gradleBuildDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails.getDefaultInstance(); onChanged(); } else { gradleBuildDetailsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00080000); return this; } /** * optional .android_studio.GradleBuildDetails gradle_build_details = 20; * *
       * set when kind = GRADLE_BUILD_DETAILS
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails.Builder getGradleBuildDetailsBuilder() { bitField0_ |= 0x00080000; onChanged(); return getGradleBuildDetailsFieldBuilder().getBuilder(); } /** * optional .android_studio.GradleBuildDetails gradle_build_details = 20; * *
       * set when kind = GRADLE_BUILD_DETAILS
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetailsOrBuilder getGradleBuildDetailsOrBuilder() { if (gradleBuildDetailsBuilder_ != null) { return gradleBuildDetailsBuilder_.getMessageOrBuilder(); } else { return gradleBuildDetails_; } } /** * optional .android_studio.GradleBuildDetails gradle_build_details = 20; * *
       * set when kind = GRADLE_BUILD_DETAILS
       * 
*/ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetailsOrBuilder> getGradleBuildDetailsFieldBuilder() { if (gradleBuildDetailsBuilder_ == null) { gradleBuildDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetailsOrBuilder>( gradleBuildDetails_, getParentForChildren(), isClean()); gradleBuildDetails_ = null; } return gradleBuildDetailsBuilder_; } // optional .android_studio.InstantRun instant_run = 21; private com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun instantRun_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun, com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunOrBuilder> instantRunBuilder_; /** * optional .android_studio.InstantRun instant_run = 21; * *
       * set when kind = INSTANT_RUN
       * 
*/ public boolean hasInstantRun() { return ((bitField0_ & 0x00100000) == 0x00100000); } /** * optional .android_studio.InstantRun instant_run = 21; * *
       * set when kind = INSTANT_RUN
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun getInstantRun() { if (instantRunBuilder_ == null) { return instantRun_; } else { return instantRunBuilder_.getMessage(); } } /** * optional .android_studio.InstantRun instant_run = 21; * *
       * set when kind = INSTANT_RUN
       * 
*/ public Builder setInstantRun(com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun value) { if (instantRunBuilder_ == null) { if (value == null) { throw new NullPointerException(); } instantRun_ = value; onChanged(); } else { instantRunBuilder_.setMessage(value); } bitField0_ |= 0x00100000; return this; } /** * optional .android_studio.InstantRun instant_run = 21; * *
       * set when kind = INSTANT_RUN
       * 
*/ public Builder setInstantRun( com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.Builder builderForValue) { if (instantRunBuilder_ == null) { instantRun_ = builderForValue.build(); onChanged(); } else { instantRunBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00100000; return this; } /** * optional .android_studio.InstantRun instant_run = 21; * *
       * set when kind = INSTANT_RUN
       * 
*/ public Builder mergeInstantRun(com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun value) { if (instantRunBuilder_ == null) { if (((bitField0_ & 0x00100000) == 0x00100000) && instantRun_ != com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.getDefaultInstance()) { instantRun_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.newBuilder(instantRun_).mergeFrom(value).buildPartial(); } else { instantRun_ = value; } onChanged(); } else { instantRunBuilder_.mergeFrom(value); } bitField0_ |= 0x00100000; return this; } /** * optional .android_studio.InstantRun instant_run = 21; * *
       * set when kind = INSTANT_RUN
       * 
*/ public Builder clearInstantRun() { if (instantRunBuilder_ == null) { instantRun_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.getDefaultInstance(); onChanged(); } else { instantRunBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00100000); return this; } /** * optional .android_studio.InstantRun instant_run = 21; * *
       * set when kind = INSTANT_RUN
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.Builder getInstantRunBuilder() { bitField0_ |= 0x00100000; onChanged(); return getInstantRunFieldBuilder().getBuilder(); } /** * optional .android_studio.InstantRun instant_run = 21; * *
       * set when kind = INSTANT_RUN
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunOrBuilder getInstantRunOrBuilder() { if (instantRunBuilder_ != null) { return instantRunBuilder_.getMessageOrBuilder(); } else { return instantRun_; } } /** * optional .android_studio.InstantRun instant_run = 21; * *
       * set when kind = INSTANT_RUN
       * 
*/ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun, com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunOrBuilder> getInstantRunFieldBuilder() { if (instantRunBuilder_ == null) { instantRunBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun, com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunOrBuilder>( instantRun_, getParentForChildren(), isClean()); instantRun_ = null; } return instantRunBuilder_; } // optional .android_studio.MetaMetrics meta_metrics = 22; private com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics metaMetrics_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics, com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetricsOrBuilder> metaMetricsBuilder_; /** * optional .android_studio.MetaMetrics meta_metrics = 22; * *
       * set when kind = META_METRICS
       * 
*/ public boolean hasMetaMetrics() { return ((bitField0_ & 0x00200000) == 0x00200000); } /** * optional .android_studio.MetaMetrics meta_metrics = 22; * *
       * set when kind = META_METRICS
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics getMetaMetrics() { if (metaMetricsBuilder_ == null) { return metaMetrics_; } else { return metaMetricsBuilder_.getMessage(); } } /** * optional .android_studio.MetaMetrics meta_metrics = 22; * *
       * set when kind = META_METRICS
       * 
*/ public Builder setMetaMetrics(com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics value) { if (metaMetricsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } metaMetrics_ = value; onChanged(); } else { metaMetricsBuilder_.setMessage(value); } bitField0_ |= 0x00200000; return this; } /** * optional .android_studio.MetaMetrics meta_metrics = 22; * *
       * set when kind = META_METRICS
       * 
*/ public Builder setMetaMetrics( com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics.Builder builderForValue) { if (metaMetricsBuilder_ == null) { metaMetrics_ = builderForValue.build(); onChanged(); } else { metaMetricsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00200000; return this; } /** * optional .android_studio.MetaMetrics meta_metrics = 22; * *
       * set when kind = META_METRICS
       * 
*/ public Builder mergeMetaMetrics(com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics value) { if (metaMetricsBuilder_ == null) { if (((bitField0_ & 0x00200000) == 0x00200000) && metaMetrics_ != com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics.getDefaultInstance()) { metaMetrics_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics.newBuilder(metaMetrics_).mergeFrom(value).buildPartial(); } else { metaMetrics_ = value; } onChanged(); } else { metaMetricsBuilder_.mergeFrom(value); } bitField0_ |= 0x00200000; return this; } /** * optional .android_studio.MetaMetrics meta_metrics = 22; * *
       * set when kind = META_METRICS
       * 
*/ public Builder clearMetaMetrics() { if (metaMetricsBuilder_ == null) { metaMetrics_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics.getDefaultInstance(); onChanged(); } else { metaMetricsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00200000); return this; } /** * optional .android_studio.MetaMetrics meta_metrics = 22; * *
       * set when kind = META_METRICS
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics.Builder getMetaMetricsBuilder() { bitField0_ |= 0x00200000; onChanged(); return getMetaMetricsFieldBuilder().getBuilder(); } /** * optional .android_studio.MetaMetrics meta_metrics = 22; * *
       * set when kind = META_METRICS
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetricsOrBuilder getMetaMetricsOrBuilder() { if (metaMetricsBuilder_ != null) { return metaMetricsBuilder_.getMessageOrBuilder(); } else { return metaMetrics_; } } /** * optional .android_studio.MetaMetrics meta_metrics = 22; * *
       * set when kind = META_METRICS
       * 
*/ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics, com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetricsOrBuilder> getMetaMetricsFieldBuilder() { if (metaMetricsBuilder_ == null) { metaMetricsBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics, com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetricsOrBuilder>( metaMetrics_, getParentForChildren(), isClean()); metaMetrics_ = null; } return metaMetricsBuilder_; } // optional .android_studio.EmulatorDetails emulator_details = 23; private com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails emulatorDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetailsOrBuilder> emulatorDetailsBuilder_; /** * optional .android_studio.EmulatorDetails emulator_details = 23; * *
       * set when kind = EMULATOR_PING
       * 
*/ public boolean hasEmulatorDetails() { return ((bitField0_ & 0x00400000) == 0x00400000); } /** * optional .android_studio.EmulatorDetails emulator_details = 23; * *
       * set when kind = EMULATOR_PING
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails getEmulatorDetails() { if (emulatorDetailsBuilder_ == null) { return emulatorDetails_; } else { return emulatorDetailsBuilder_.getMessage(); } } /** * optional .android_studio.EmulatorDetails emulator_details = 23; * *
       * set when kind = EMULATOR_PING
       * 
*/ public Builder setEmulatorDetails(com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails value) { if (emulatorDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } emulatorDetails_ = value; onChanged(); } else { emulatorDetailsBuilder_.setMessage(value); } bitField0_ |= 0x00400000; return this; } /** * optional .android_studio.EmulatorDetails emulator_details = 23; * *
       * set when kind = EMULATOR_PING
       * 
*/ public Builder setEmulatorDetails( com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.Builder builderForValue) { if (emulatorDetailsBuilder_ == null) { emulatorDetails_ = builderForValue.build(); onChanged(); } else { emulatorDetailsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00400000; return this; } /** * optional .android_studio.EmulatorDetails emulator_details = 23; * *
       * set when kind = EMULATOR_PING
       * 
*/ public Builder mergeEmulatorDetails(com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails value) { if (emulatorDetailsBuilder_ == null) { if (((bitField0_ & 0x00400000) == 0x00400000) && emulatorDetails_ != com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.getDefaultInstance()) { emulatorDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.newBuilder(emulatorDetails_).mergeFrom(value).buildPartial(); } else { emulatorDetails_ = value; } onChanged(); } else { emulatorDetailsBuilder_.mergeFrom(value); } bitField0_ |= 0x00400000; return this; } /** * optional .android_studio.EmulatorDetails emulator_details = 23; * *
       * set when kind = EMULATOR_PING
       * 
*/ public Builder clearEmulatorDetails() { if (emulatorDetailsBuilder_ == null) { emulatorDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.getDefaultInstance(); onChanged(); } else { emulatorDetailsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00400000); return this; } /** * optional .android_studio.EmulatorDetails emulator_details = 23; * *
       * set when kind = EMULATOR_PING
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.Builder getEmulatorDetailsBuilder() { bitField0_ |= 0x00400000; onChanged(); return getEmulatorDetailsFieldBuilder().getBuilder(); } /** * optional .android_studio.EmulatorDetails emulator_details = 23; * *
       * set when kind = EMULATOR_PING
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetailsOrBuilder getEmulatorDetailsOrBuilder() { if (emulatorDetailsBuilder_ != null) { return emulatorDetailsBuilder_.getMessageOrBuilder(); } else { return emulatorDetails_; } } /** * optional .android_studio.EmulatorDetails emulator_details = 23; * *
       * set when kind = EMULATOR_PING
       * 
*/ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetailsOrBuilder> getEmulatorDetailsFieldBuilder() { if (emulatorDetailsBuilder_ == null) { emulatorDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetailsOrBuilder>( emulatorDetails_, getParentForChildren(), isClean()); emulatorDetails_ = null; } return emulatorDetailsBuilder_; } // optional .android_studio.TestRun test_run = 24; private com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun testRun_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun, com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRunOrBuilder> testRunBuilder_; /** * optional .android_studio.TestRun test_run = 24; * *
       * set when kind = TEST_RUN
       * 
*/ public boolean hasTestRun() { return ((bitField0_ & 0x00800000) == 0x00800000); } /** * optional .android_studio.TestRun test_run = 24; * *
       * set when kind = TEST_RUN
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun getTestRun() { if (testRunBuilder_ == null) { return testRun_; } else { return testRunBuilder_.getMessage(); } } /** * optional .android_studio.TestRun test_run = 24; * *
       * set when kind = TEST_RUN
       * 
*/ public Builder setTestRun(com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun value) { if (testRunBuilder_ == null) { if (value == null) { throw new NullPointerException(); } testRun_ = value; onChanged(); } else { testRunBuilder_.setMessage(value); } bitField0_ |= 0x00800000; return this; } /** * optional .android_studio.TestRun test_run = 24; * *
       * set when kind = TEST_RUN
       * 
*/ public Builder setTestRun( com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.Builder builderForValue) { if (testRunBuilder_ == null) { testRun_ = builderForValue.build(); onChanged(); } else { testRunBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00800000; return this; } /** * optional .android_studio.TestRun test_run = 24; * *
       * set when kind = TEST_RUN
       * 
*/ public Builder mergeTestRun(com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun value) { if (testRunBuilder_ == null) { if (((bitField0_ & 0x00800000) == 0x00800000) && testRun_ != com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.getDefaultInstance()) { testRun_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.newBuilder(testRun_).mergeFrom(value).buildPartial(); } else { testRun_ = value; } onChanged(); } else { testRunBuilder_.mergeFrom(value); } bitField0_ |= 0x00800000; return this; } /** * optional .android_studio.TestRun test_run = 24; * *
       * set when kind = TEST_RUN
       * 
*/ public Builder clearTestRun() { if (testRunBuilder_ == null) { testRun_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.getDefaultInstance(); onChanged(); } else { testRunBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00800000); return this; } /** * optional .android_studio.TestRun test_run = 24; * *
       * set when kind = TEST_RUN
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.Builder getTestRunBuilder() { bitField0_ |= 0x00800000; onChanged(); return getTestRunFieldBuilder().getBuilder(); } /** * optional .android_studio.TestRun test_run = 24; * *
       * set when kind = TEST_RUN
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRunOrBuilder getTestRunOrBuilder() { if (testRunBuilder_ != null) { return testRunBuilder_.getMessageOrBuilder(); } else { return testRun_; } } /** * optional .android_studio.TestRun test_run = 24; * *
       * set when kind = TEST_RUN
       * 
*/ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun, com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRunOrBuilder> getTestRunFieldBuilder() { if (testRunBuilder_ == null) { testRunBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun, com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRunOrBuilder>( testRun_, getParentForChildren(), isClean()); testRun_ = null; } return testRunBuilder_; } // optional .android_studio.EmulatorUiEvent emulator_ui_event = 25; private com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent emulatorUiEvent_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEventOrBuilder> emulatorUiEventBuilder_; /** * optional .android_studio.EmulatorUiEvent emulator_ui_event = 25; * *
       * set when kind = EMULATOR_UI_EVENT
       * 
*/ public boolean hasEmulatorUiEvent() { return ((bitField0_ & 0x01000000) == 0x01000000); } /** * optional .android_studio.EmulatorUiEvent emulator_ui_event = 25; * *
       * set when kind = EMULATOR_UI_EVENT
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent getEmulatorUiEvent() { if (emulatorUiEventBuilder_ == null) { return emulatorUiEvent_; } else { return emulatorUiEventBuilder_.getMessage(); } } /** * optional .android_studio.EmulatorUiEvent emulator_ui_event = 25; * *
       * set when kind = EMULATOR_UI_EVENT
       * 
*/ public Builder setEmulatorUiEvent(com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent value) { if (emulatorUiEventBuilder_ == null) { if (value == null) { throw new NullPointerException(); } emulatorUiEvent_ = value; onChanged(); } else { emulatorUiEventBuilder_.setMessage(value); } bitField0_ |= 0x01000000; return this; } /** * optional .android_studio.EmulatorUiEvent emulator_ui_event = 25; * *
       * set when kind = EMULATOR_UI_EVENT
       * 
*/ public Builder setEmulatorUiEvent( com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.Builder builderForValue) { if (emulatorUiEventBuilder_ == null) { emulatorUiEvent_ = builderForValue.build(); onChanged(); } else { emulatorUiEventBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x01000000; return this; } /** * optional .android_studio.EmulatorUiEvent emulator_ui_event = 25; * *
       * set when kind = EMULATOR_UI_EVENT
       * 
*/ public Builder mergeEmulatorUiEvent(com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent value) { if (emulatorUiEventBuilder_ == null) { if (((bitField0_ & 0x01000000) == 0x01000000) && emulatorUiEvent_ != com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.getDefaultInstance()) { emulatorUiEvent_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.newBuilder(emulatorUiEvent_).mergeFrom(value).buildPartial(); } else { emulatorUiEvent_ = value; } onChanged(); } else { emulatorUiEventBuilder_.mergeFrom(value); } bitField0_ |= 0x01000000; return this; } /** * optional .android_studio.EmulatorUiEvent emulator_ui_event = 25; * *
       * set when kind = EMULATOR_UI_EVENT
       * 
*/ public Builder clearEmulatorUiEvent() { if (emulatorUiEventBuilder_ == null) { emulatorUiEvent_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.getDefaultInstance(); onChanged(); } else { emulatorUiEventBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x01000000); return this; } /** * optional .android_studio.EmulatorUiEvent emulator_ui_event = 25; * *
       * set when kind = EMULATOR_UI_EVENT
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.Builder getEmulatorUiEventBuilder() { bitField0_ |= 0x01000000; onChanged(); return getEmulatorUiEventFieldBuilder().getBuilder(); } /** * optional .android_studio.EmulatorUiEvent emulator_ui_event = 25; * *
       * set when kind = EMULATOR_UI_EVENT
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEventOrBuilder getEmulatorUiEventOrBuilder() { if (emulatorUiEventBuilder_ != null) { return emulatorUiEventBuilder_.getMessageOrBuilder(); } else { return emulatorUiEvent_; } } /** * optional .android_studio.EmulatorUiEvent emulator_ui_event = 25; * *
       * set when kind = EMULATOR_UI_EVENT
       * 
*/ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEventOrBuilder> getEmulatorUiEventFieldBuilder() { if (emulatorUiEventBuilder_ == null) { emulatorUiEventBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEventOrBuilder>( emulatorUiEvent_, getParentForChildren(), isClean()); emulatorUiEvent_ = null; } return emulatorUiEventBuilder_; } // optional .android_studio.Hypervisor hypervisor = 26; private com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor hypervisor_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor, com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.HypervisorOrBuilder> hypervisorBuilder_; /** * optional .android_studio.Hypervisor hypervisor = 26; * *
       * set when kind = HYPERVISOR
       * 
*/ public boolean hasHypervisor() { return ((bitField0_ & 0x02000000) == 0x02000000); } /** * optional .android_studio.Hypervisor hypervisor = 26; * *
       * set when kind = HYPERVISOR
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor getHypervisor() { if (hypervisorBuilder_ == null) { return hypervisor_; } else { return hypervisorBuilder_.getMessage(); } } /** * optional .android_studio.Hypervisor hypervisor = 26; * *
       * set when kind = HYPERVISOR
       * 
*/ public Builder setHypervisor(com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor value) { if (hypervisorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } hypervisor_ = value; onChanged(); } else { hypervisorBuilder_.setMessage(value); } bitField0_ |= 0x02000000; return this; } /** * optional .android_studio.Hypervisor hypervisor = 26; * *
       * set when kind = HYPERVISOR
       * 
*/ public Builder setHypervisor( com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor.Builder builderForValue) { if (hypervisorBuilder_ == null) { hypervisor_ = builderForValue.build(); onChanged(); } else { hypervisorBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x02000000; return this; } /** * optional .android_studio.Hypervisor hypervisor = 26; * *
       * set when kind = HYPERVISOR
       * 
*/ public Builder mergeHypervisor(com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor value) { if (hypervisorBuilder_ == null) { if (((bitField0_ & 0x02000000) == 0x02000000) && hypervisor_ != com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor.getDefaultInstance()) { hypervisor_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor.newBuilder(hypervisor_).mergeFrom(value).buildPartial(); } else { hypervisor_ = value; } onChanged(); } else { hypervisorBuilder_.mergeFrom(value); } bitField0_ |= 0x02000000; return this; } /** * optional .android_studio.Hypervisor hypervisor = 26; * *
       * set when kind = HYPERVISOR
       * 
*/ public Builder clearHypervisor() { if (hypervisorBuilder_ == null) { hypervisor_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor.getDefaultInstance(); onChanged(); } else { hypervisorBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x02000000); return this; } /** * optional .android_studio.Hypervisor hypervisor = 26; * *
       * set when kind = HYPERVISOR
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor.Builder getHypervisorBuilder() { bitField0_ |= 0x02000000; onChanged(); return getHypervisorFieldBuilder().getBuilder(); } /** * optional .android_studio.Hypervisor hypervisor = 26; * *
       * set when kind = HYPERVISOR
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.HypervisorOrBuilder getHypervisorOrBuilder() { if (hypervisorBuilder_ != null) { return hypervisorBuilder_.getMessageOrBuilder(); } else { return hypervisor_; } } /** * optional .android_studio.Hypervisor hypervisor = 26; * *
       * set when kind = HYPERVISOR
       * 
*/ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor, com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.HypervisorOrBuilder> getHypervisorFieldBuilder() { if (hypervisorBuilder_ == null) { hypervisorBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor, com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.HypervisorOrBuilder>( hypervisor_, getParentForChildren(), isClean()); hypervisor_ = null; } return hypervisorBuilder_; } // optional .android_studio.EmulatorHost emulator_host = 27; private com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost emulatorHost_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHostOrBuilder> emulatorHostBuilder_; /** * optional .android_studio.EmulatorHost emulator_host = 27; * *
       * set when kind = EMULATOR_HOST
       * 
*/ public boolean hasEmulatorHost() { return ((bitField0_ & 0x04000000) == 0x04000000); } /** * optional .android_studio.EmulatorHost emulator_host = 27; * *
       * set when kind = EMULATOR_HOST
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost getEmulatorHost() { if (emulatorHostBuilder_ == null) { return emulatorHost_; } else { return emulatorHostBuilder_.getMessage(); } } /** * optional .android_studio.EmulatorHost emulator_host = 27; * *
       * set when kind = EMULATOR_HOST
       * 
*/ public Builder setEmulatorHost(com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost value) { if (emulatorHostBuilder_ == null) { if (value == null) { throw new NullPointerException(); } emulatorHost_ = value; onChanged(); } else { emulatorHostBuilder_.setMessage(value); } bitField0_ |= 0x04000000; return this; } /** * optional .android_studio.EmulatorHost emulator_host = 27; * *
       * set when kind = EMULATOR_HOST
       * 
*/ public Builder setEmulatorHost( com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost.Builder builderForValue) { if (emulatorHostBuilder_ == null) { emulatorHost_ = builderForValue.build(); onChanged(); } else { emulatorHostBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x04000000; return this; } /** * optional .android_studio.EmulatorHost emulator_host = 27; * *
       * set when kind = EMULATOR_HOST
       * 
*/ public Builder mergeEmulatorHost(com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost value) { if (emulatorHostBuilder_ == null) { if (((bitField0_ & 0x04000000) == 0x04000000) && emulatorHost_ != com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost.getDefaultInstance()) { emulatorHost_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost.newBuilder(emulatorHost_).mergeFrom(value).buildPartial(); } else { emulatorHost_ = value; } onChanged(); } else { emulatorHostBuilder_.mergeFrom(value); } bitField0_ |= 0x04000000; return this; } /** * optional .android_studio.EmulatorHost emulator_host = 27; * *
       * set when kind = EMULATOR_HOST
       * 
*/ public Builder clearEmulatorHost() { if (emulatorHostBuilder_ == null) { emulatorHost_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost.getDefaultInstance(); onChanged(); } else { emulatorHostBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x04000000); return this; } /** * optional .android_studio.EmulatorHost emulator_host = 27; * *
       * set when kind = EMULATOR_HOST
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost.Builder getEmulatorHostBuilder() { bitField0_ |= 0x04000000; onChanged(); return getEmulatorHostFieldBuilder().getBuilder(); } /** * optional .android_studio.EmulatorHost emulator_host = 27; * *
       * set when kind = EMULATOR_HOST
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHostOrBuilder getEmulatorHostOrBuilder() { if (emulatorHostBuilder_ != null) { return emulatorHostBuilder_.getMessageOrBuilder(); } else { return emulatorHost_; } } /** * optional .android_studio.EmulatorHost emulator_host = 27; * *
       * set when kind = EMULATOR_HOST
       * 
*/ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHostOrBuilder> getEmulatorHostFieldBuilder() { if (emulatorHostBuilder_ == null) { emulatorHostBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHostOrBuilder>( emulatorHost_, getParentForChildren(), isClean()); emulatorHost_ = null; } return emulatorHostBuilder_; } // optional .android_studio.GradleBuildProfile gradle_build_profile = 28; private com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile gradleBuildProfile_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileOrBuilder> gradleBuildProfileBuilder_; /** * optional .android_studio.GradleBuildProfile gradle_build_profile = 28; * *
       * set when kind = GRADLE_BUILD_PROFILE
       * 
*/ public boolean hasGradleBuildProfile() { return ((bitField0_ & 0x08000000) == 0x08000000); } /** * optional .android_studio.GradleBuildProfile gradle_build_profile = 28; * *
       * set when kind = GRADLE_BUILD_PROFILE
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile getGradleBuildProfile() { if (gradleBuildProfileBuilder_ == null) { return gradleBuildProfile_; } else { return gradleBuildProfileBuilder_.getMessage(); } } /** * optional .android_studio.GradleBuildProfile gradle_build_profile = 28; * *
       * set when kind = GRADLE_BUILD_PROFILE
       * 
*/ public Builder setGradleBuildProfile(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile value) { if (gradleBuildProfileBuilder_ == null) { if (value == null) { throw new NullPointerException(); } gradleBuildProfile_ = value; onChanged(); } else { gradleBuildProfileBuilder_.setMessage(value); } bitField0_ |= 0x08000000; return this; } /** * optional .android_studio.GradleBuildProfile gradle_build_profile = 28; * *
       * set when kind = GRADLE_BUILD_PROFILE
       * 
*/ public Builder setGradleBuildProfile( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile.Builder builderForValue) { if (gradleBuildProfileBuilder_ == null) { gradleBuildProfile_ = builderForValue.build(); onChanged(); } else { gradleBuildProfileBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x08000000; return this; } /** * optional .android_studio.GradleBuildProfile gradle_build_profile = 28; * *
       * set when kind = GRADLE_BUILD_PROFILE
       * 
*/ public Builder mergeGradleBuildProfile(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile value) { if (gradleBuildProfileBuilder_ == null) { if (((bitField0_ & 0x08000000) == 0x08000000) && gradleBuildProfile_ != com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile.getDefaultInstance()) { gradleBuildProfile_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile.newBuilder(gradleBuildProfile_).mergeFrom(value).buildPartial(); } else { gradleBuildProfile_ = value; } onChanged(); } else { gradleBuildProfileBuilder_.mergeFrom(value); } bitField0_ |= 0x08000000; return this; } /** * optional .android_studio.GradleBuildProfile gradle_build_profile = 28; * *
       * set when kind = GRADLE_BUILD_PROFILE
       * 
*/ public Builder clearGradleBuildProfile() { if (gradleBuildProfileBuilder_ == null) { gradleBuildProfile_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile.getDefaultInstance(); onChanged(); } else { gradleBuildProfileBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x08000000); return this; } /** * optional .android_studio.GradleBuildProfile gradle_build_profile = 28; * *
       * set when kind = GRADLE_BUILD_PROFILE
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile.Builder getGradleBuildProfileBuilder() { bitField0_ |= 0x08000000; onChanged(); return getGradleBuildProfileFieldBuilder().getBuilder(); } /** * optional .android_studio.GradleBuildProfile gradle_build_profile = 28; * *
       * set when kind = GRADLE_BUILD_PROFILE
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileOrBuilder getGradleBuildProfileOrBuilder() { if (gradleBuildProfileBuilder_ != null) { return gradleBuildProfileBuilder_.getMessageOrBuilder(); } else { return gradleBuildProfile_; } } /** * optional .android_studio.GradleBuildProfile gradle_build_profile = 28; * *
       * set when kind = GRADLE_BUILD_PROFILE
       * 
*/ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileOrBuilder> getGradleBuildProfileFieldBuilder() { if (gradleBuildProfileBuilder_ == null) { gradleBuildProfileBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileOrBuilder>( gradleBuildProfile_, getParentForChildren(), isClean()); gradleBuildProfile_ = null; } return gradleBuildProfileBuilder_; } // optional .android_studio.LLDBFrontendDetails lldb_frontend_details = 29; private com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails lldbFrontendDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails, com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetailsOrBuilder> lldbFrontendDetailsBuilder_; /** * optional .android_studio.LLDBFrontendDetails lldb_frontend_details = 29; * *
       * set when kind = LLDB_FRONTEND_EXITED
       * 
*/ public boolean hasLldbFrontendDetails() { return ((bitField0_ & 0x10000000) == 0x10000000); } /** * optional .android_studio.LLDBFrontendDetails lldb_frontend_details = 29; * *
       * set when kind = LLDB_FRONTEND_EXITED
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails getLldbFrontendDetails() { if (lldbFrontendDetailsBuilder_ == null) { return lldbFrontendDetails_; } else { return lldbFrontendDetailsBuilder_.getMessage(); } } /** * optional .android_studio.LLDBFrontendDetails lldb_frontend_details = 29; * *
       * set when kind = LLDB_FRONTEND_EXITED
       * 
*/ public Builder setLldbFrontendDetails(com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails value) { if (lldbFrontendDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } lldbFrontendDetails_ = value; onChanged(); } else { lldbFrontendDetailsBuilder_.setMessage(value); } bitField0_ |= 0x10000000; return this; } /** * optional .android_studio.LLDBFrontendDetails lldb_frontend_details = 29; * *
       * set when kind = LLDB_FRONTEND_EXITED
       * 
*/ public Builder setLldbFrontendDetails( com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails.Builder builderForValue) { if (lldbFrontendDetailsBuilder_ == null) { lldbFrontendDetails_ = builderForValue.build(); onChanged(); } else { lldbFrontendDetailsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x10000000; return this; } /** * optional .android_studio.LLDBFrontendDetails lldb_frontend_details = 29; * *
       * set when kind = LLDB_FRONTEND_EXITED
       * 
*/ public Builder mergeLldbFrontendDetails(com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails value) { if (lldbFrontendDetailsBuilder_ == null) { if (((bitField0_ & 0x10000000) == 0x10000000) && lldbFrontendDetails_ != com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails.getDefaultInstance()) { lldbFrontendDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails.newBuilder(lldbFrontendDetails_).mergeFrom(value).buildPartial(); } else { lldbFrontendDetails_ = value; } onChanged(); } else { lldbFrontendDetailsBuilder_.mergeFrom(value); } bitField0_ |= 0x10000000; return this; } /** * optional .android_studio.LLDBFrontendDetails lldb_frontend_details = 29; * *
       * set when kind = LLDB_FRONTEND_EXITED
       * 
*/ public Builder clearLldbFrontendDetails() { if (lldbFrontendDetailsBuilder_ == null) { lldbFrontendDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails.getDefaultInstance(); onChanged(); } else { lldbFrontendDetailsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x10000000); return this; } /** * optional .android_studio.LLDBFrontendDetails lldb_frontend_details = 29; * *
       * set when kind = LLDB_FRONTEND_EXITED
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails.Builder getLldbFrontendDetailsBuilder() { bitField0_ |= 0x10000000; onChanged(); return getLldbFrontendDetailsFieldBuilder().getBuilder(); } /** * optional .android_studio.LLDBFrontendDetails lldb_frontend_details = 29; * *
       * set when kind = LLDB_FRONTEND_EXITED
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetailsOrBuilder getLldbFrontendDetailsOrBuilder() { if (lldbFrontendDetailsBuilder_ != null) { return lldbFrontendDetailsBuilder_.getMessageOrBuilder(); } else { return lldbFrontendDetails_; } } /** * optional .android_studio.LLDBFrontendDetails lldb_frontend_details = 29; * *
       * set when kind = LLDB_FRONTEND_EXITED
       * 
*/ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails, com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetailsOrBuilder> getLldbFrontendDetailsFieldBuilder() { if (lldbFrontendDetailsBuilder_ == null) { lldbFrontendDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails, com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetailsOrBuilder>( lldbFrontendDetails_, getParentForChildren(), isClean()); lldbFrontendDetails_ = null; } return lldbFrontendDetailsBuilder_; } // optional .android_studio.FirebaseErrorDetails firebase_error_details = 30; private com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails firebaseErrorDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails, com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetailsOrBuilder> firebaseErrorDetailsBuilder_; /** * optional .android_studio.FirebaseErrorDetails firebase_error_details = 30; * *
       * set when kind = FIREBASE_ASSISTANT_ERROR_PRESENTED or
       *  kind FIREBASE_ASSISTANT_SILENT_ERROR
       * 
*/ public boolean hasFirebaseErrorDetails() { return ((bitField0_ & 0x20000000) == 0x20000000); } /** * optional .android_studio.FirebaseErrorDetails firebase_error_details = 30; * *
       * set when kind = FIREBASE_ASSISTANT_ERROR_PRESENTED or
       *  kind FIREBASE_ASSISTANT_SILENT_ERROR
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails getFirebaseErrorDetails() { if (firebaseErrorDetailsBuilder_ == null) { return firebaseErrorDetails_; } else { return firebaseErrorDetailsBuilder_.getMessage(); } } /** * optional .android_studio.FirebaseErrorDetails firebase_error_details = 30; * *
       * set when kind = FIREBASE_ASSISTANT_ERROR_PRESENTED or
       *  kind FIREBASE_ASSISTANT_SILENT_ERROR
       * 
*/ public Builder setFirebaseErrorDetails(com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails value) { if (firebaseErrorDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } firebaseErrorDetails_ = value; onChanged(); } else { firebaseErrorDetailsBuilder_.setMessage(value); } bitField0_ |= 0x20000000; return this; } /** * optional .android_studio.FirebaseErrorDetails firebase_error_details = 30; * *
       * set when kind = FIREBASE_ASSISTANT_ERROR_PRESENTED or
       *  kind FIREBASE_ASSISTANT_SILENT_ERROR
       * 
*/ public Builder setFirebaseErrorDetails( com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails.Builder builderForValue) { if (firebaseErrorDetailsBuilder_ == null) { firebaseErrorDetails_ = builderForValue.build(); onChanged(); } else { firebaseErrorDetailsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x20000000; return this; } /** * optional .android_studio.FirebaseErrorDetails firebase_error_details = 30; * *
       * set when kind = FIREBASE_ASSISTANT_ERROR_PRESENTED or
       *  kind FIREBASE_ASSISTANT_SILENT_ERROR
       * 
*/ public Builder mergeFirebaseErrorDetails(com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails value) { if (firebaseErrorDetailsBuilder_ == null) { if (((bitField0_ & 0x20000000) == 0x20000000) && firebaseErrorDetails_ != com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails.getDefaultInstance()) { firebaseErrorDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails.newBuilder(firebaseErrorDetails_).mergeFrom(value).buildPartial(); } else { firebaseErrorDetails_ = value; } onChanged(); } else { firebaseErrorDetailsBuilder_.mergeFrom(value); } bitField0_ |= 0x20000000; return this; } /** * optional .android_studio.FirebaseErrorDetails firebase_error_details = 30; * *
       * set when kind = FIREBASE_ASSISTANT_ERROR_PRESENTED or
       *  kind FIREBASE_ASSISTANT_SILENT_ERROR
       * 
*/ public Builder clearFirebaseErrorDetails() { if (firebaseErrorDetailsBuilder_ == null) { firebaseErrorDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails.getDefaultInstance(); onChanged(); } else { firebaseErrorDetailsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x20000000); return this; } /** * optional .android_studio.FirebaseErrorDetails firebase_error_details = 30; * *
       * set when kind = FIREBASE_ASSISTANT_ERROR_PRESENTED or
       *  kind FIREBASE_ASSISTANT_SILENT_ERROR
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails.Builder getFirebaseErrorDetailsBuilder() { bitField0_ |= 0x20000000; onChanged(); return getFirebaseErrorDetailsFieldBuilder().getBuilder(); } /** * optional .android_studio.FirebaseErrorDetails firebase_error_details = 30; * *
       * set when kind = FIREBASE_ASSISTANT_ERROR_PRESENTED or
       *  kind FIREBASE_ASSISTANT_SILENT_ERROR
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetailsOrBuilder getFirebaseErrorDetailsOrBuilder() { if (firebaseErrorDetailsBuilder_ != null) { return firebaseErrorDetailsBuilder_.getMessageOrBuilder(); } else { return firebaseErrorDetails_; } } /** * optional .android_studio.FirebaseErrorDetails firebase_error_details = 30; * *
       * set when kind = FIREBASE_ASSISTANT_ERROR_PRESENTED or
       *  kind FIREBASE_ASSISTANT_SILENT_ERROR
       * 
*/ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails, com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetailsOrBuilder> getFirebaseErrorDetailsFieldBuilder() { if (firebaseErrorDetailsBuilder_ == null) { firebaseErrorDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails, com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetailsOrBuilder>( firebaseErrorDetails_, getParentForChildren(), isClean()); firebaseErrorDetails_ = null; } return firebaseErrorDetailsBuilder_; } // optional string project_id = 31; private java.lang.Object projectId_ = ""; /** * optional string project_id = 31; * *
       * Client-side salted (rotating every 28 days), sha256 of the project id.
       *  set when kind = PROJECT_STRUCTURE_*.
       * 
*/ public boolean hasProjectId() { return ((bitField0_ & 0x40000000) == 0x40000000); } /** * optional string project_id = 31; * *
       * Client-side salted (rotating every 28 days), sha256 of the project id.
       *  set when kind = PROJECT_STRUCTURE_*.
       * 
*/ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); projectId_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string project_id = 31; * *
       * Client-side salted (rotating every 28 days), sha256 of the project id.
       *  set when kind = PROJECT_STRUCTURE_*.
       * 
*/ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); projectId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string project_id = 31; * *
       * Client-side salted (rotating every 28 days), sha256 of the project id.
       *  set when kind = PROJECT_STRUCTURE_*.
       * 
*/ public Builder setProjectId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x40000000; projectId_ = value; onChanged(); return this; } /** * optional string project_id = 31; * *
       * Client-side salted (rotating every 28 days), sha256 of the project id.
       *  set when kind = PROJECT_STRUCTURE_*.
       * 
*/ public Builder clearProjectId() { bitField0_ = (bitField0_ & ~0x40000000); projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** * optional string project_id = 31; * *
       * Client-side salted (rotating every 28 days), sha256 of the project id.
       *  set when kind = PROJECT_STRUCTURE_*.
       * 
*/ public Builder setProjectIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x40000000; projectId_ = value; onChanged(); return this; } // optional .android_studio.GfxTracingDetails gfx_tracing_details = 32; private com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails gfxTracingDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails, com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetailsOrBuilder> gfxTracingDetailsBuilder_; /** * optional .android_studio.GfxTracingDetails gfx_tracing_details = 32; * *
       * set when kind = GFX_TRACE_*
       * 
*/ public boolean hasGfxTracingDetails() { return ((bitField0_ & 0x80000000) == 0x80000000); } /** * optional .android_studio.GfxTracingDetails gfx_tracing_details = 32; * *
       * set when kind = GFX_TRACE_*
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails getGfxTracingDetails() { if (gfxTracingDetailsBuilder_ == null) { return gfxTracingDetails_; } else { return gfxTracingDetailsBuilder_.getMessage(); } } /** * optional .android_studio.GfxTracingDetails gfx_tracing_details = 32; * *
       * set when kind = GFX_TRACE_*
       * 
*/ public Builder setGfxTracingDetails(com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails value) { if (gfxTracingDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } gfxTracingDetails_ = value; onChanged(); } else { gfxTracingDetailsBuilder_.setMessage(value); } bitField0_ |= 0x80000000; return this; } /** * optional .android_studio.GfxTracingDetails gfx_tracing_details = 32; * *
       * set when kind = GFX_TRACE_*
       * 
*/ public Builder setGfxTracingDetails( com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails.Builder builderForValue) { if (gfxTracingDetailsBuilder_ == null) { gfxTracingDetails_ = builderForValue.build(); onChanged(); } else { gfxTracingDetailsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x80000000; return this; } /** * optional .android_studio.GfxTracingDetails gfx_tracing_details = 32; * *
       * set when kind = GFX_TRACE_*
       * 
*/ public Builder mergeGfxTracingDetails(com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails value) { if (gfxTracingDetailsBuilder_ == null) { if (((bitField0_ & 0x80000000) == 0x80000000) && gfxTracingDetails_ != com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails.getDefaultInstance()) { gfxTracingDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails.newBuilder(gfxTracingDetails_).mergeFrom(value).buildPartial(); } else { gfxTracingDetails_ = value; } onChanged(); } else { gfxTracingDetailsBuilder_.mergeFrom(value); } bitField0_ |= 0x80000000; return this; } /** * optional .android_studio.GfxTracingDetails gfx_tracing_details = 32; * *
       * set when kind = GFX_TRACE_*
       * 
*/ public Builder clearGfxTracingDetails() { if (gfxTracingDetailsBuilder_ == null) { gfxTracingDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails.getDefaultInstance(); onChanged(); } else { gfxTracingDetailsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x80000000); return this; } /** * optional .android_studio.GfxTracingDetails gfx_tracing_details = 32; * *
       * set when kind = GFX_TRACE_*
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails.Builder getGfxTracingDetailsBuilder() { bitField0_ |= 0x80000000; onChanged(); return getGfxTracingDetailsFieldBuilder().getBuilder(); } /** * optional .android_studio.GfxTracingDetails gfx_tracing_details = 32; * *
       * set when kind = GFX_TRACE_*
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetailsOrBuilder getGfxTracingDetailsOrBuilder() { if (gfxTracingDetailsBuilder_ != null) { return gfxTracingDetailsBuilder_.getMessageOrBuilder(); } else { return gfxTracingDetails_; } } /** * optional .android_studio.GfxTracingDetails gfx_tracing_details = 32; * *
       * set when kind = GFX_TRACE_*
       * 
*/ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails, com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetailsOrBuilder> getGfxTracingDetailsFieldBuilder() { if (gfxTracingDetailsBuilder_ == null) { gfxTracingDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails, com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetailsOrBuilder>( gfxTracingDetails_, getParentForChildren(), isClean()); gfxTracingDetails_ = null; } return gfxTracingDetailsBuilder_; } // optional .android_studio.TestRecorderDetails test_recorder_details = 33; private com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails testRecorderDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails, com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetailsOrBuilder> testRecorderDetailsBuilder_; /** * optional .android_studio.TestRecorderDetails test_recorder_details = 33; * *
       * set when kind = TEST_RECORDER_GENERATE_TEST_CLASS
       * 
*/ public boolean hasTestRecorderDetails() { return ((bitField1_ & 0x00000001) == 0x00000001); } /** * optional .android_studio.TestRecorderDetails test_recorder_details = 33; * *
       * set when kind = TEST_RECORDER_GENERATE_TEST_CLASS
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails getTestRecorderDetails() { if (testRecorderDetailsBuilder_ == null) { return testRecorderDetails_; } else { return testRecorderDetailsBuilder_.getMessage(); } } /** * optional .android_studio.TestRecorderDetails test_recorder_details = 33; * *
       * set when kind = TEST_RECORDER_GENERATE_TEST_CLASS
       * 
*/ public Builder setTestRecorderDetails(com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails value) { if (testRecorderDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } testRecorderDetails_ = value; onChanged(); } else { testRecorderDetailsBuilder_.setMessage(value); } bitField1_ |= 0x00000001; return this; } /** * optional .android_studio.TestRecorderDetails test_recorder_details = 33; * *
       * set when kind = TEST_RECORDER_GENERATE_TEST_CLASS
       * 
*/ public Builder setTestRecorderDetails( com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails.Builder builderForValue) { if (testRecorderDetailsBuilder_ == null) { testRecorderDetails_ = builderForValue.build(); onChanged(); } else { testRecorderDetailsBuilder_.setMessage(builderForValue.build()); } bitField1_ |= 0x00000001; return this; } /** * optional .android_studio.TestRecorderDetails test_recorder_details = 33; * *
       * set when kind = TEST_RECORDER_GENERATE_TEST_CLASS
       * 
*/ public Builder mergeTestRecorderDetails(com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails value) { if (testRecorderDetailsBuilder_ == null) { if (((bitField1_ & 0x00000001) == 0x00000001) && testRecorderDetails_ != com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails.getDefaultInstance()) { testRecorderDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails.newBuilder(testRecorderDetails_).mergeFrom(value).buildPartial(); } else { testRecorderDetails_ = value; } onChanged(); } else { testRecorderDetailsBuilder_.mergeFrom(value); } bitField1_ |= 0x00000001; return this; } /** * optional .android_studio.TestRecorderDetails test_recorder_details = 33; * *
       * set when kind = TEST_RECORDER_GENERATE_TEST_CLASS
       * 
*/ public Builder clearTestRecorderDetails() { if (testRecorderDetailsBuilder_ == null) { testRecorderDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails.getDefaultInstance(); onChanged(); } else { testRecorderDetailsBuilder_.clear(); } bitField1_ = (bitField1_ & ~0x00000001); return this; } /** * optional .android_studio.TestRecorderDetails test_recorder_details = 33; * *
       * set when kind = TEST_RECORDER_GENERATE_TEST_CLASS
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails.Builder getTestRecorderDetailsBuilder() { bitField1_ |= 0x00000001; onChanged(); return getTestRecorderDetailsFieldBuilder().getBuilder(); } /** * optional .android_studio.TestRecorderDetails test_recorder_details = 33; * *
       * set when kind = TEST_RECORDER_GENERATE_TEST_CLASS
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetailsOrBuilder getTestRecorderDetailsOrBuilder() { if (testRecorderDetailsBuilder_ != null) { return testRecorderDetailsBuilder_.getMessageOrBuilder(); } else { return testRecorderDetails_; } } /** * optional .android_studio.TestRecorderDetails test_recorder_details = 33; * *
       * set when kind = TEST_RECORDER_GENERATE_TEST_CLASS
       * 
*/ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails, com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetailsOrBuilder> getTestRecorderDetailsFieldBuilder() { if (testRecorderDetailsBuilder_ == null) { testRecorderDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails, com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetailsOrBuilder>( testRecorderDetails_, getParentForChildren(), isClean()); testRecorderDetails_ = null; } return testRecorderDetailsBuilder_; } // optional .android_studio.UIActionStats ui_action_stats = 34; private com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats uiActionStats_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats, com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStatsOrBuilder> uiActionStatsBuilder_; /** * optional .android_studio.UIActionStats ui_action_stats = 34; * *
       * set when kind = STUDIO_UI_ACTION_STATS
       * 
*/ public boolean hasUiActionStats() { return ((bitField1_ & 0x00000002) == 0x00000002); } /** * optional .android_studio.UIActionStats ui_action_stats = 34; * *
       * set when kind = STUDIO_UI_ACTION_STATS
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats getUiActionStats() { if (uiActionStatsBuilder_ == null) { return uiActionStats_; } else { return uiActionStatsBuilder_.getMessage(); } } /** * optional .android_studio.UIActionStats ui_action_stats = 34; * *
       * set when kind = STUDIO_UI_ACTION_STATS
       * 
*/ public Builder setUiActionStats(com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats value) { if (uiActionStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } uiActionStats_ = value; onChanged(); } else { uiActionStatsBuilder_.setMessage(value); } bitField1_ |= 0x00000002; return this; } /** * optional .android_studio.UIActionStats ui_action_stats = 34; * *
       * set when kind = STUDIO_UI_ACTION_STATS
       * 
*/ public Builder setUiActionStats( com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats.Builder builderForValue) { if (uiActionStatsBuilder_ == null) { uiActionStats_ = builderForValue.build(); onChanged(); } else { uiActionStatsBuilder_.setMessage(builderForValue.build()); } bitField1_ |= 0x00000002; return this; } /** * optional .android_studio.UIActionStats ui_action_stats = 34; * *
       * set when kind = STUDIO_UI_ACTION_STATS
       * 
*/ public Builder mergeUiActionStats(com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats value) { if (uiActionStatsBuilder_ == null) { if (((bitField1_ & 0x00000002) == 0x00000002) && uiActionStats_ != com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats.getDefaultInstance()) { uiActionStats_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats.newBuilder(uiActionStats_).mergeFrom(value).buildPartial(); } else { uiActionStats_ = value; } onChanged(); } else { uiActionStatsBuilder_.mergeFrom(value); } bitField1_ |= 0x00000002; return this; } /** * optional .android_studio.UIActionStats ui_action_stats = 34; * *
       * set when kind = STUDIO_UI_ACTION_STATS
       * 
*/ public Builder clearUiActionStats() { if (uiActionStatsBuilder_ == null) { uiActionStats_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats.getDefaultInstance(); onChanged(); } else { uiActionStatsBuilder_.clear(); } bitField1_ = (bitField1_ & ~0x00000002); return this; } /** * optional .android_studio.UIActionStats ui_action_stats = 34; * *
       * set when kind = STUDIO_UI_ACTION_STATS
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats.Builder getUiActionStatsBuilder() { bitField1_ |= 0x00000002; onChanged(); return getUiActionStatsFieldBuilder().getBuilder(); } /** * optional .android_studio.UIActionStats ui_action_stats = 34; * *
       * set when kind = STUDIO_UI_ACTION_STATS
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStatsOrBuilder getUiActionStatsOrBuilder() { if (uiActionStatsBuilder_ != null) { return uiActionStatsBuilder_.getMessageOrBuilder(); } else { return uiActionStats_; } } /** * optional .android_studio.UIActionStats ui_action_stats = 34; * *
       * set when kind = STUDIO_UI_ACTION_STATS
       * 
*/ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats, com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStatsOrBuilder> getUiActionStatsFieldBuilder() { if (uiActionStatsBuilder_ == null) { uiActionStatsBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats, com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStatsOrBuilder>( uiActionStats_, getParentForChildren(), isClean()); uiActionStats_ = null; } return uiActionStatsBuilder_; } // optional .android_studio.MachineDetails machine_details = 35; private com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails machineDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails, com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetailsOrBuilder> machineDetailsBuilder_; /** * optional .android_studio.MachineDetails machine_details = 35; * *
       * set when kind = STUDIO_PING
       * 
*/ public boolean hasMachineDetails() { return ((bitField1_ & 0x00000004) == 0x00000004); } /** * optional .android_studio.MachineDetails machine_details = 35; * *
       * set when kind = STUDIO_PING
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails getMachineDetails() { if (machineDetailsBuilder_ == null) { return machineDetails_; } else { return machineDetailsBuilder_.getMessage(); } } /** * optional .android_studio.MachineDetails machine_details = 35; * *
       * set when kind = STUDIO_PING
       * 
*/ public Builder setMachineDetails(com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails value) { if (machineDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } machineDetails_ = value; onChanged(); } else { machineDetailsBuilder_.setMessage(value); } bitField1_ |= 0x00000004; return this; } /** * optional .android_studio.MachineDetails machine_details = 35; * *
       * set when kind = STUDIO_PING
       * 
*/ public Builder setMachineDetails( com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails.Builder builderForValue) { if (machineDetailsBuilder_ == null) { machineDetails_ = builderForValue.build(); onChanged(); } else { machineDetailsBuilder_.setMessage(builderForValue.build()); } bitField1_ |= 0x00000004; return this; } /** * optional .android_studio.MachineDetails machine_details = 35; * *
       * set when kind = STUDIO_PING
       * 
*/ public Builder mergeMachineDetails(com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails value) { if (machineDetailsBuilder_ == null) { if (((bitField1_ & 0x00000004) == 0x00000004) && machineDetails_ != com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails.getDefaultInstance()) { machineDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails.newBuilder(machineDetails_).mergeFrom(value).buildPartial(); } else { machineDetails_ = value; } onChanged(); } else { machineDetailsBuilder_.mergeFrom(value); } bitField1_ |= 0x00000004; return this; } /** * optional .android_studio.MachineDetails machine_details = 35; * *
       * set when kind = STUDIO_PING
       * 
*/ public Builder clearMachineDetails() { if (machineDetailsBuilder_ == null) { machineDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails.getDefaultInstance(); onChanged(); } else { machineDetailsBuilder_.clear(); } bitField1_ = (bitField1_ & ~0x00000004); return this; } /** * optional .android_studio.MachineDetails machine_details = 35; * *
       * set when kind = STUDIO_PING
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails.Builder getMachineDetailsBuilder() { bitField1_ |= 0x00000004; onChanged(); return getMachineDetailsFieldBuilder().getBuilder(); } /** * optional .android_studio.MachineDetails machine_details = 35; * *
       * set when kind = STUDIO_PING
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetailsOrBuilder getMachineDetailsOrBuilder() { if (machineDetailsBuilder_ != null) { return machineDetailsBuilder_.getMessageOrBuilder(); } else { return machineDetails_; } } /** * optional .android_studio.MachineDetails machine_details = 35; * *
       * set when kind = STUDIO_PING
       * 
*/ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails, com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetailsOrBuilder> getMachineDetailsFieldBuilder() { if (machineDetailsBuilder_ == null) { machineDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails, com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetailsOrBuilder>( machineDetails_, getParentForChildren(), isClean()); machineDetails_ = null; } return machineDetailsBuilder_; } // optional .android_studio.JvmDetails jvm_details = 36; private com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails jvmDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails, com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetailsOrBuilder> jvmDetailsBuilder_; /** * optional .android_studio.JvmDetails jvm_details = 36; * *
       * set when kind = STUDIO_PING
       * 
*/ public boolean hasJvmDetails() { return ((bitField1_ & 0x00000008) == 0x00000008); } /** * optional .android_studio.JvmDetails jvm_details = 36; * *
       * set when kind = STUDIO_PING
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails getJvmDetails() { if (jvmDetailsBuilder_ == null) { return jvmDetails_; } else { return jvmDetailsBuilder_.getMessage(); } } /** * optional .android_studio.JvmDetails jvm_details = 36; * *
       * set when kind = STUDIO_PING
       * 
*/ public Builder setJvmDetails(com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails value) { if (jvmDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } jvmDetails_ = value; onChanged(); } else { jvmDetailsBuilder_.setMessage(value); } bitField1_ |= 0x00000008; return this; } /** * optional .android_studio.JvmDetails jvm_details = 36; * *
       * set when kind = STUDIO_PING
       * 
*/ public Builder setJvmDetails( com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails.Builder builderForValue) { if (jvmDetailsBuilder_ == null) { jvmDetails_ = builderForValue.build(); onChanged(); } else { jvmDetailsBuilder_.setMessage(builderForValue.build()); } bitField1_ |= 0x00000008; return this; } /** * optional .android_studio.JvmDetails jvm_details = 36; * *
       * set when kind = STUDIO_PING
       * 
*/ public Builder mergeJvmDetails(com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails value) { if (jvmDetailsBuilder_ == null) { if (((bitField1_ & 0x00000008) == 0x00000008) && jvmDetails_ != com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails.getDefaultInstance()) { jvmDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails.newBuilder(jvmDetails_).mergeFrom(value).buildPartial(); } else { jvmDetails_ = value; } onChanged(); } else { jvmDetailsBuilder_.mergeFrom(value); } bitField1_ |= 0x00000008; return this; } /** * optional .android_studio.JvmDetails jvm_details = 36; * *
       * set when kind = STUDIO_PING
       * 
*/ public Builder clearJvmDetails() { if (jvmDetailsBuilder_ == null) { jvmDetails_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails.getDefaultInstance(); onChanged(); } else { jvmDetailsBuilder_.clear(); } bitField1_ = (bitField1_ & ~0x00000008); return this; } /** * optional .android_studio.JvmDetails jvm_details = 36; * *
       * set when kind = STUDIO_PING
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails.Builder getJvmDetailsBuilder() { bitField1_ |= 0x00000008; onChanged(); return getJvmDetailsFieldBuilder().getBuilder(); } /** * optional .android_studio.JvmDetails jvm_details = 36; * *
       * set when kind = STUDIO_PING
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetailsOrBuilder getJvmDetailsOrBuilder() { if (jvmDetailsBuilder_ != null) { return jvmDetailsBuilder_.getMessageOrBuilder(); } else { return jvmDetails_; } } /** * optional .android_studio.JvmDetails jvm_details = 36; * *
       * set when kind = STUDIO_PING
       * 
*/ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails, com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetailsOrBuilder> getJvmDetailsFieldBuilder() { if (jvmDetailsBuilder_ == null) { jvmDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails, com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetailsOrBuilder>( jvmDetails_, getParentForChildren(), isClean()); jvmDetails_ = null; } return jvmDetailsBuilder_; } // optional .android_studio.JavaProcessStats java_process_stats = 37; private com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats javaProcessStats_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats, com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStatsOrBuilder> javaProcessStatsBuilder_; /** * optional .android_studio.JavaProcessStats java_process_stats = 37; * *
       * set when kind = STUDIO_PROCESS_STATS
       * 
*/ public boolean hasJavaProcessStats() { return ((bitField1_ & 0x00000010) == 0x00000010); } /** * optional .android_studio.JavaProcessStats java_process_stats = 37; * *
       * set when kind = STUDIO_PROCESS_STATS
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats getJavaProcessStats() { if (javaProcessStatsBuilder_ == null) { return javaProcessStats_; } else { return javaProcessStatsBuilder_.getMessage(); } } /** * optional .android_studio.JavaProcessStats java_process_stats = 37; * *
       * set when kind = STUDIO_PROCESS_STATS
       * 
*/ public Builder setJavaProcessStats(com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats value) { if (javaProcessStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } javaProcessStats_ = value; onChanged(); } else { javaProcessStatsBuilder_.setMessage(value); } bitField1_ |= 0x00000010; return this; } /** * optional .android_studio.JavaProcessStats java_process_stats = 37; * *
       * set when kind = STUDIO_PROCESS_STATS
       * 
*/ public Builder setJavaProcessStats( com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats.Builder builderForValue) { if (javaProcessStatsBuilder_ == null) { javaProcessStats_ = builderForValue.build(); onChanged(); } else { javaProcessStatsBuilder_.setMessage(builderForValue.build()); } bitField1_ |= 0x00000010; return this; } /** * optional .android_studio.JavaProcessStats java_process_stats = 37; * *
       * set when kind = STUDIO_PROCESS_STATS
       * 
*/ public Builder mergeJavaProcessStats(com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats value) { if (javaProcessStatsBuilder_ == null) { if (((bitField1_ & 0x00000010) == 0x00000010) && javaProcessStats_ != com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats.getDefaultInstance()) { javaProcessStats_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats.newBuilder(javaProcessStats_).mergeFrom(value).buildPartial(); } else { javaProcessStats_ = value; } onChanged(); } else { javaProcessStatsBuilder_.mergeFrom(value); } bitField1_ |= 0x00000010; return this; } /** * optional .android_studio.JavaProcessStats java_process_stats = 37; * *
       * set when kind = STUDIO_PROCESS_STATS
       * 
*/ public Builder clearJavaProcessStats() { if (javaProcessStatsBuilder_ == null) { javaProcessStats_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats.getDefaultInstance(); onChanged(); } else { javaProcessStatsBuilder_.clear(); } bitField1_ = (bitField1_ & ~0x00000010); return this; } /** * optional .android_studio.JavaProcessStats java_process_stats = 37; * *
       * set when kind = STUDIO_PROCESS_STATS
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats.Builder getJavaProcessStatsBuilder() { bitField1_ |= 0x00000010; onChanged(); return getJavaProcessStatsFieldBuilder().getBuilder(); } /** * optional .android_studio.JavaProcessStats java_process_stats = 37; * *
       * set when kind = STUDIO_PROCESS_STATS
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStatsOrBuilder getJavaProcessStatsOrBuilder() { if (javaProcessStatsBuilder_ != null) { return javaProcessStatsBuilder_.getMessageOrBuilder(); } else { return javaProcessStats_; } } /** * optional .android_studio.JavaProcessStats java_process_stats = 37; * *
       * set when kind = STUDIO_PROCESS_STATS
       * 
*/ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats, com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStatsOrBuilder> getJavaProcessStatsFieldBuilder() { if (javaProcessStatsBuilder_ == null) { javaProcessStatsBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats, com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStatsOrBuilder>( javaProcessStats_, getParentForChildren(), isClean()); javaProcessStats_ = null; } return javaProcessStatsBuilder_; } // @@protoc_insertion_point(builder_scope:android_studio.AndroidStudioEvent) } static { defaultInstance = new AndroidStudioEvent(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:android_studio.AndroidStudioEvent) } public interface ProductDetailsOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional .android_studio.ProductDetails.ProductKind product = 1; /** * optional .android_studio.ProductDetails.ProductKind product = 1; * *
     * The product this event relates to.
     * 
*/ boolean hasProduct(); /** * optional .android_studio.ProductDetails.ProductKind product = 1; * *
     * The product this event relates to.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.ProductKind getProduct(); // optional string build = 2; /** * optional string build = 2; * *
     * The build ID of Android Studio.
     * 
*/ boolean hasBuild(); /** * optional string build = 2; * *
     * The build ID of Android Studio.
     * 
*/ java.lang.String getBuild(); /** * optional string build = 2; * *
     * The build ID of Android Studio.
     * 
*/ com.google.protobuf.ByteString getBuildBytes(); // optional string version = 3; /** * optional string version = 3; * *
     * e.g. AI-141.2178183
     * The version of the product.
     * 
*/ boolean hasVersion(); /** * optional string version = 3; * *
     * e.g. AI-141.2178183
     * The version of the product.
     * 
*/ java.lang.String getVersion(); /** * optional string version = 3; * *
     * e.g. AI-141.2178183
     * The version of the product.
     * 
*/ com.google.protobuf.ByteString getVersionBytes(); // optional bool preview = 4; /** * optional bool preview = 4; * *
     * e.g. 2.0.0.11
     * Historical: never used as it was not providing enough info. Use channel
     *  instead as it distinguishes between different kinds of preview releases.
     * 
*/ boolean hasPreview(); /** * optional bool preview = 4; * *
     * e.g. 2.0.0.11
     * Historical: never used as it was not providing enough info. Use channel
     *  instead as it distinguishes between different kinds of preview releases.
     * 
*/ boolean getPreview(); // optional .android_studio.ProductDetails.CpuArchitecture os_architecture = 5; /** * optional .android_studio.ProductDetails.CpuArchitecture os_architecture = 5; * *
     * The CPU archtecture the product is running on.
     * 
*/ boolean hasOsArchitecture(); /** * optional .android_studio.ProductDetails.CpuArchitecture os_architecture = 5; * *
     * The CPU archtecture the product is running on.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.CpuArchitecture getOsArchitecture(); // optional .android_studio.ProductDetails.SoftwareLifeCycleChannel channel = 6; /** * optional .android_studio.ProductDetails.SoftwareLifeCycleChannel channel = 6; * *
     * The state in the software lifecycle of this product.
     * 
*/ boolean hasChannel(); /** * optional .android_studio.ProductDetails.SoftwareLifeCycleChannel channel = 6; * *
     * The state in the software lifecycle of this product.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.SoftwareLifeCycleChannel getChannel(); } /** * Protobuf type {@code android_studio.ProductDetails} * *
   * Describes a product, e.g. Android Studio or Emulator.
   * 
*/ public static final class ProductDetails extends com.google.protobuf.GeneratedMessage implements ProductDetailsOrBuilder { // Use ProductDetails.newBuilder() to construct. private ProductDetails(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private ProductDetails(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final ProductDetails defaultInstance; public static ProductDetails getDefaultInstance() { return defaultInstance; } public ProductDetails getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ProductDetails( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { int rawValue = input.readEnum(); com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.ProductKind value = com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.ProductKind.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { bitField0_ |= 0x00000001; product_ = value; } break; } case 18: { bitField0_ |= 0x00000002; build_ = input.readBytes(); break; } case 26: { bitField0_ |= 0x00000004; version_ = input.readBytes(); break; } case 32: { bitField0_ |= 0x00000008; preview_ = input.readBool(); break; } case 40: { int rawValue = input.readEnum(); com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.CpuArchitecture value = com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.CpuArchitecture.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(5, rawValue); } else { bitField0_ |= 0x00000010; osArchitecture_ = value; } break; } case 48: { int rawValue = input.readEnum(); com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.SoftwareLifeCycleChannel value = com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.SoftwareLifeCycleChannel.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(6, rawValue); } else { bitField0_ |= 0x00000020; channel_ = value; } 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.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_ProductDetails_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_ProductDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ProductDetails parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ProductDetails(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } /** * Protobuf enum {@code android_studio.ProductDetails.SoftwareLifeCycleChannel} * *
     * Various states in the software life cycle this software could be in.
     * 
*/ public enum SoftwareLifeCycleChannel implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN_LIFE_CYCLE_CHANNEL = 0; */ UNKNOWN_LIFE_CYCLE_CHANNEL(0, 0), /** * CANARY = 1; */ CANARY(1, 1), /** * DEV = 2; */ DEV(2, 2), /** * BETA = 3; */ BETA(3, 3), /** * STABLE = 4; */ STABLE(4, 4), ; /** * UNKNOWN_LIFE_CYCLE_CHANNEL = 0; */ public static final int UNKNOWN_LIFE_CYCLE_CHANNEL_VALUE = 0; /** * CANARY = 1; */ public static final int CANARY_VALUE = 1; /** * DEV = 2; */ public static final int DEV_VALUE = 2; /** * BETA = 3; */ public static final int BETA_VALUE = 3; /** * STABLE = 4; */ public static final int STABLE_VALUE = 4; public final int getNumber() { return value; } public static SoftwareLifeCycleChannel valueOf(int value) { switch (value) { case 0: return UNKNOWN_LIFE_CYCLE_CHANNEL; case 1: return CANARY; case 2: return DEV; case 3: return BETA; case 4: return STABLE; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public SoftwareLifeCycleChannel findValueByNumber(int number) { return SoftwareLifeCycleChannel.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.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.getDescriptor().getEnumTypes().get(0); } private static final SoftwareLifeCycleChannel[] VALUES = values(); public static SoftwareLifeCycleChannel 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 SoftwareLifeCycleChannel(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:android_studio.ProductDetails.SoftwareLifeCycleChannel) } /** * Protobuf enum {@code android_studio.ProductDetails.ProductKind} * *
     * Describes the various Products related to Android Studio.
     * 
*/ public enum ProductKind implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN_PRODUCT = 0; */ UNKNOWN_PRODUCT(0, 0), /** * STUDIO = 1; */ STUDIO(1, 1), /** * EMULATOR = 2; */ EMULATOR(2, 2), /** * GRADLE = 3; */ GRADLE(3, 3), /** * DDMS = 4; */ DDMS(4, 4), ; /** * UNKNOWN_PRODUCT = 0; */ public static final int UNKNOWN_PRODUCT_VALUE = 0; /** * STUDIO = 1; */ public static final int STUDIO_VALUE = 1; /** * EMULATOR = 2; */ public static final int EMULATOR_VALUE = 2; /** * GRADLE = 3; */ public static final int GRADLE_VALUE = 3; /** * DDMS = 4; */ public static final int DDMS_VALUE = 4; public final int getNumber() { return value; } public static ProductKind valueOf(int value) { switch (value) { case 0: return UNKNOWN_PRODUCT; case 1: return STUDIO; case 2: return EMULATOR; case 3: return GRADLE; case 4: return DDMS; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public ProductKind findValueByNumber(int number) { return ProductKind.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.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.getDescriptor().getEnumTypes().get(1); } private static final ProductKind[] VALUES = values(); public static ProductKind 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 ProductKind(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:android_studio.ProductDetails.ProductKind) } /** * Protobuf enum {@code android_studio.ProductDetails.OSKind} * *
     * Describes the various OS platforms our products run on.
     * 
*/ public enum OSKind implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN_OS_KIND = 0; */ UNKNOWN_OS_KIND(0, 0), /** * OTHER_OS = 1; */ OTHER_OS(1, 1), /** * WINDOWS = 2; * *
       * Known but not in our list.
       * 
*/ WINDOWS(2, 2), /** * MAC_OSX = 3; */ MAC_OSX(3, 3), /** * LINUX = 4; */ LINUX(4, 4), /** * FREE_BSD = 5; */ FREE_BSD(5, 5), ; /** * UNKNOWN_OS_KIND = 0; */ public static final int UNKNOWN_OS_KIND_VALUE = 0; /** * OTHER_OS = 1; */ public static final int OTHER_OS_VALUE = 1; /** * WINDOWS = 2; * *
       * Known but not in our list.
       * 
*/ public static final int WINDOWS_VALUE = 2; /** * MAC_OSX = 3; */ public static final int MAC_OSX_VALUE = 3; /** * LINUX = 4; */ public static final int LINUX_VALUE = 4; /** * FREE_BSD = 5; */ public static final int FREE_BSD_VALUE = 5; public final int getNumber() { return value; } public static OSKind valueOf(int value) { switch (value) { case 0: return UNKNOWN_OS_KIND; case 1: return OTHER_OS; case 2: return WINDOWS; case 3: return MAC_OSX; case 4: return LINUX; case 5: return FREE_BSD; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public OSKind findValueByNumber(int number) { return OSKind.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.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.getDescriptor().getEnumTypes().get(2); } private static final OSKind[] VALUES = values(); public static OSKind 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 OSKind(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:android_studio.ProductDetails.OSKind) } /** * Protobuf enum {@code android_studio.ProductDetails.CpuArchitecture} * *
     * Chip the software is running on.
     * 
*/ public enum CpuArchitecture implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN_CPU_ARCHITECTURE = 0; */ UNKNOWN_CPU_ARCHITECTURE(0, 0), /** * X86 = 1; */ X86(1, 1), /** * X86_64 = 2; */ X86_64(2, 2), ; /** * UNKNOWN_CPU_ARCHITECTURE = 0; */ public static final int UNKNOWN_CPU_ARCHITECTURE_VALUE = 0; /** * X86 = 1; */ public static final int X86_VALUE = 1; /** * X86_64 = 2; */ public static final int X86_64_VALUE = 2; public final int getNumber() { return value; } public static CpuArchitecture valueOf(int value) { switch (value) { case 0: return UNKNOWN_CPU_ARCHITECTURE; case 1: return X86; case 2: return X86_64; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public CpuArchitecture findValueByNumber(int number) { return CpuArchitecture.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.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.getDescriptor().getEnumTypes().get(3); } private static final CpuArchitecture[] VALUES = values(); public static CpuArchitecture 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 CpuArchitecture(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:android_studio.ProductDetails.CpuArchitecture) } private int bitField0_; // optional .android_studio.ProductDetails.ProductKind product = 1; public static final int PRODUCT_FIELD_NUMBER = 1; private com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.ProductKind product_; /** * optional .android_studio.ProductDetails.ProductKind product = 1; * *
     * The product this event relates to.
     * 
*/ public boolean hasProduct() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .android_studio.ProductDetails.ProductKind product = 1; * *
     * The product this event relates to.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.ProductKind getProduct() { return product_; } // optional string build = 2; public static final int BUILD_FIELD_NUMBER = 2; private java.lang.Object build_; /** * optional string build = 2; * *
     * The build ID of Android Studio.
     * 
*/ public boolean hasBuild() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string build = 2; * *
     * The build ID of Android Studio.
     * 
*/ public java.lang.String getBuild() { java.lang.Object ref = build_; 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()) { build_ = s; } return s; } } /** * optional string build = 2; * *
     * The build ID of Android Studio.
     * 
*/ public com.google.protobuf.ByteString getBuildBytes() { java.lang.Object ref = build_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); build_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string version = 3; public static final int VERSION_FIELD_NUMBER = 3; private java.lang.Object version_; /** * optional string version = 3; * *
     * e.g. AI-141.2178183
     * The version of the product.
     * 
*/ public boolean hasVersion() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string version = 3; * *
     * e.g. AI-141.2178183
     * The version of the product.
     * 
*/ public java.lang.String getVersion() { java.lang.Object ref = version_; 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()) { version_ = s; } return s; } } /** * optional string version = 3; * *
     * e.g. AI-141.2178183
     * The version of the product.
     * 
*/ public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); version_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional bool preview = 4; public static final int PREVIEW_FIELD_NUMBER = 4; private boolean preview_; /** * optional bool preview = 4; * *
     * e.g. 2.0.0.11
     * Historical: never used as it was not providing enough info. Use channel
     *  instead as it distinguishes between different kinds of preview releases.
     * 
*/ public boolean hasPreview() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional bool preview = 4; * *
     * e.g. 2.0.0.11
     * Historical: never used as it was not providing enough info. Use channel
     *  instead as it distinguishes between different kinds of preview releases.
     * 
*/ public boolean getPreview() { return preview_; } // optional .android_studio.ProductDetails.CpuArchitecture os_architecture = 5; public static final int OS_ARCHITECTURE_FIELD_NUMBER = 5; private com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.CpuArchitecture osArchitecture_; /** * optional .android_studio.ProductDetails.CpuArchitecture os_architecture = 5; * *
     * The CPU archtecture the product is running on.
     * 
*/ public boolean hasOsArchitecture() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional .android_studio.ProductDetails.CpuArchitecture os_architecture = 5; * *
     * The CPU archtecture the product is running on.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.CpuArchitecture getOsArchitecture() { return osArchitecture_; } // optional .android_studio.ProductDetails.SoftwareLifeCycleChannel channel = 6; public static final int CHANNEL_FIELD_NUMBER = 6; private com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.SoftwareLifeCycleChannel channel_; /** * optional .android_studio.ProductDetails.SoftwareLifeCycleChannel channel = 6; * *
     * The state in the software lifecycle of this product.
     * 
*/ public boolean hasChannel() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional .android_studio.ProductDetails.SoftwareLifeCycleChannel channel = 6; * *
     * The state in the software lifecycle of this product.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.SoftwareLifeCycleChannel getChannel() { return channel_; } private void initFields() { product_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.ProductKind.UNKNOWN_PRODUCT; build_ = ""; version_ = ""; preview_ = false; osArchitecture_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.CpuArchitecture.UNKNOWN_CPU_ARCHITECTURE; channel_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.SoftwareLifeCycleChannel.UNKNOWN_LIFE_CYCLE_CHANNEL; } 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.writeEnum(1, product_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getBuildBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getVersionBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBool(4, preview_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeEnum(5, osArchitecture_.getNumber()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeEnum(6, channel_.getNumber()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, product_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getBuildBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getVersionBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, preview_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(5, osArchitecture_.getNumber()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(6, channel_.getNumber()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails 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.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails 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 android_studio.ProductDetails} * *
     * Describes a product, e.g. Android Studio or Emulator.
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetailsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_ProductDetails_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_ProductDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.Builder.class); } // Construct using com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.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(); product_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.ProductKind.UNKNOWN_PRODUCT; bitField0_ = (bitField0_ & ~0x00000001); build_ = ""; bitField0_ = (bitField0_ & ~0x00000002); version_ = ""; bitField0_ = (bitField0_ & ~0x00000004); preview_ = false; bitField0_ = (bitField0_ & ~0x00000008); osArchitecture_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.CpuArchitecture.UNKNOWN_CPU_ARCHITECTURE; bitField0_ = (bitField0_ & ~0x00000010); channel_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.SoftwareLifeCycleChannel.UNKNOWN_LIFE_CYCLE_CHANNEL; bitField0_ = (bitField0_ & ~0x00000020); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_ProductDetails_descriptor; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails getDefaultInstanceForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.getDefaultInstance(); } public com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails build() { com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails buildPartial() { com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails result = new com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.product_ = product_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.build_ = build_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.version_ = version_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.preview_ = preview_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.osArchitecture_ = osArchitecture_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.channel_ = channel_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails) { return mergeFrom((com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails other) { if (other == com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.getDefaultInstance()) return this; if (other.hasProduct()) { setProduct(other.getProduct()); } if (other.hasBuild()) { bitField0_ |= 0x00000002; build_ = other.build_; onChanged(); } if (other.hasVersion()) { bitField0_ |= 0x00000004; version_ = other.version_; onChanged(); } if (other.hasPreview()) { setPreview(other.getPreview()); } if (other.hasOsArchitecture()) { setOsArchitecture(other.getOsArchitecture()); } if (other.hasChannel()) { setChannel(other.getChannel()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional .android_studio.ProductDetails.ProductKind product = 1; private com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.ProductKind product_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.ProductKind.UNKNOWN_PRODUCT; /** * optional .android_studio.ProductDetails.ProductKind product = 1; * *
       * The product this event relates to.
       * 
*/ public boolean hasProduct() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .android_studio.ProductDetails.ProductKind product = 1; * *
       * The product this event relates to.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.ProductKind getProduct() { return product_; } /** * optional .android_studio.ProductDetails.ProductKind product = 1; * *
       * The product this event relates to.
       * 
*/ public Builder setProduct(com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.ProductKind value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; product_ = value; onChanged(); return this; } /** * optional .android_studio.ProductDetails.ProductKind product = 1; * *
       * The product this event relates to.
       * 
*/ public Builder clearProduct() { bitField0_ = (bitField0_ & ~0x00000001); product_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.ProductKind.UNKNOWN_PRODUCT; onChanged(); return this; } // optional string build = 2; private java.lang.Object build_ = ""; /** * optional string build = 2; * *
       * The build ID of Android Studio.
       * 
*/ public boolean hasBuild() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string build = 2; * *
       * The build ID of Android Studio.
       * 
*/ public java.lang.String getBuild() { java.lang.Object ref = build_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); build_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string build = 2; * *
       * The build ID of Android Studio.
       * 
*/ public com.google.protobuf.ByteString getBuildBytes() { java.lang.Object ref = build_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); build_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string build = 2; * *
       * The build ID of Android Studio.
       * 
*/ public Builder setBuild( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; build_ = value; onChanged(); return this; } /** * optional string build = 2; * *
       * The build ID of Android Studio.
       * 
*/ public Builder clearBuild() { bitField0_ = (bitField0_ & ~0x00000002); build_ = getDefaultInstance().getBuild(); onChanged(); return this; } /** * optional string build = 2; * *
       * The build ID of Android Studio.
       * 
*/ public Builder setBuildBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; build_ = value; onChanged(); return this; } // optional string version = 3; private java.lang.Object version_ = ""; /** * optional string version = 3; * *
       * e.g. AI-141.2178183
       * The version of the product.
       * 
*/ public boolean hasVersion() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string version = 3; * *
       * e.g. AI-141.2178183
       * The version of the product.
       * 
*/ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); version_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string version = 3; * *
       * e.g. AI-141.2178183
       * The version of the product.
       * 
*/ public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); version_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string version = 3; * *
       * e.g. AI-141.2178183
       * The version of the product.
       * 
*/ public Builder setVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; version_ = value; onChanged(); return this; } /** * optional string version = 3; * *
       * e.g. AI-141.2178183
       * The version of the product.
       * 
*/ public Builder clearVersion() { bitField0_ = (bitField0_ & ~0x00000004); version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** * optional string version = 3; * *
       * e.g. AI-141.2178183
       * The version of the product.
       * 
*/ public Builder setVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; version_ = value; onChanged(); return this; } // optional bool preview = 4; private boolean preview_ ; /** * optional bool preview = 4; * *
       * e.g. 2.0.0.11
       * Historical: never used as it was not providing enough info. Use channel
       *  instead as it distinguishes between different kinds of preview releases.
       * 
*/ public boolean hasPreview() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional bool preview = 4; * *
       * e.g. 2.0.0.11
       * Historical: never used as it was not providing enough info. Use channel
       *  instead as it distinguishes between different kinds of preview releases.
       * 
*/ public boolean getPreview() { return preview_; } /** * optional bool preview = 4; * *
       * e.g. 2.0.0.11
       * Historical: never used as it was not providing enough info. Use channel
       *  instead as it distinguishes between different kinds of preview releases.
       * 
*/ public Builder setPreview(boolean value) { bitField0_ |= 0x00000008; preview_ = value; onChanged(); return this; } /** * optional bool preview = 4; * *
       * e.g. 2.0.0.11
       * Historical: never used as it was not providing enough info. Use channel
       *  instead as it distinguishes between different kinds of preview releases.
       * 
*/ public Builder clearPreview() { bitField0_ = (bitField0_ & ~0x00000008); preview_ = false; onChanged(); return this; } // optional .android_studio.ProductDetails.CpuArchitecture os_architecture = 5; private com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.CpuArchitecture osArchitecture_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.CpuArchitecture.UNKNOWN_CPU_ARCHITECTURE; /** * optional .android_studio.ProductDetails.CpuArchitecture os_architecture = 5; * *
       * The CPU archtecture the product is running on.
       * 
*/ public boolean hasOsArchitecture() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional .android_studio.ProductDetails.CpuArchitecture os_architecture = 5; * *
       * The CPU archtecture the product is running on.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.CpuArchitecture getOsArchitecture() { return osArchitecture_; } /** * optional .android_studio.ProductDetails.CpuArchitecture os_architecture = 5; * *
       * The CPU archtecture the product is running on.
       * 
*/ public Builder setOsArchitecture(com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.CpuArchitecture value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; osArchitecture_ = value; onChanged(); return this; } /** * optional .android_studio.ProductDetails.CpuArchitecture os_architecture = 5; * *
       * The CPU archtecture the product is running on.
       * 
*/ public Builder clearOsArchitecture() { bitField0_ = (bitField0_ & ~0x00000010); osArchitecture_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.CpuArchitecture.UNKNOWN_CPU_ARCHITECTURE; onChanged(); return this; } // optional .android_studio.ProductDetails.SoftwareLifeCycleChannel channel = 6; private com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.SoftwareLifeCycleChannel channel_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.SoftwareLifeCycleChannel.UNKNOWN_LIFE_CYCLE_CHANNEL; /** * optional .android_studio.ProductDetails.SoftwareLifeCycleChannel channel = 6; * *
       * The state in the software lifecycle of this product.
       * 
*/ public boolean hasChannel() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional .android_studio.ProductDetails.SoftwareLifeCycleChannel channel = 6; * *
       * The state in the software lifecycle of this product.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.SoftwareLifeCycleChannel getChannel() { return channel_; } /** * optional .android_studio.ProductDetails.SoftwareLifeCycleChannel channel = 6; * *
       * The state in the software lifecycle of this product.
       * 
*/ public Builder setChannel(com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.SoftwareLifeCycleChannel value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; channel_ = value; onChanged(); return this; } /** * optional .android_studio.ProductDetails.SoftwareLifeCycleChannel channel = 6; * *
       * The state in the software lifecycle of this product.
       * 
*/ public Builder clearChannel() { bitField0_ = (bitField0_ & ~0x00000020); channel_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.SoftwareLifeCycleChannel.UNKNOWN_LIFE_CYCLE_CHANNEL; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:android_studio.ProductDetails) } static { defaultInstance = new ProductDetails(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:android_studio.ProductDetails) } public interface DeviceInfoOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional string anonymized_serial_number = 1; /** * optional string anonymized_serial_number = 1; * *
     * serial number of the device, salted & sha256ed on the client.
     * 
*/ boolean hasAnonymizedSerialNumber(); /** * optional string anonymized_serial_number = 1; * *
     * serial number of the device, salted & sha256ed on the client.
     * 
*/ java.lang.String getAnonymizedSerialNumber(); /** * optional string anonymized_serial_number = 1; * *
     * serial number of the device, salted & sha256ed on the client.
     * 
*/ com.google.protobuf.ByteString getAnonymizedSerialNumberBytes(); // optional string build_tags = 2; /** * optional string build_tags = 2; * *
     * Tags used to build the android version on this device.
     *  e.g. 'release-keys' or 'test-keys' or 'A100_V001'
     *  TODO(jvg): ask loglaunch folks: ST_SOFTWARE_ID datapol?
     * 
*/ boolean hasBuildTags(); /** * optional string build_tags = 2; * *
     * Tags used to build the android version on this device.
     *  e.g. 'release-keys' or 'test-keys' or 'A100_V001'
     *  TODO(jvg): ask loglaunch folks: ST_SOFTWARE_ID datapol?
     * 
*/ java.lang.String getBuildTags(); /** * optional string build_tags = 2; * *
     * Tags used to build the android version on this device.
     *  e.g. 'release-keys' or 'test-keys' or 'A100_V001'
     *  TODO(jvg): ask loglaunch folks: ST_SOFTWARE_ID datapol?
     * 
*/ com.google.protobuf.ByteString getBuildTagsBytes(); // optional string build_type = 3; /** * optional string build_type = 3; * *
     * Type of build this device is running.
     *  e.g. 'user' or 'userdebug' or 'eng' or 'alphabuild'
     *  TODO(jvg): ask loglaunch folks: ST_SOFTWARE_ID datapol?
     * 
*/ boolean hasBuildType(); /** * optional string build_type = 3; * *
     * Type of build this device is running.
     *  e.g. 'user' or 'userdebug' or 'eng' or 'alphabuild'
     *  TODO(jvg): ask loglaunch folks: ST_SOFTWARE_ID datapol?
     * 
*/ java.lang.String getBuildType(); /** * optional string build_type = 3; * *
     * Type of build this device is running.
     *  e.g. 'user' or 'userdebug' or 'eng' or 'alphabuild'
     *  TODO(jvg): ask loglaunch folks: ST_SOFTWARE_ID datapol?
     * 
*/ com.google.protobuf.ByteString getBuildTypeBytes(); // optional string build_version_release = 4; /** * optional string build_version_release = 4; * *
     * Android version e.g. '5.1.1'
     * 
*/ boolean hasBuildVersionRelease(); /** * optional string build_version_release = 4; * *
     * Android version e.g. '5.1.1'
     * 
*/ java.lang.String getBuildVersionRelease(); /** * optional string build_version_release = 4; * *
     * Android version e.g. '5.1.1'
     * 
*/ com.google.protobuf.ByteString getBuildVersionReleaseBytes(); // optional int32 build_api_level = 5; /** * optional int32 build_api_level = 5; * *
     * Historic: doesn't support api levels for code names such as 'N'.
     * 
*/ boolean hasBuildApiLevel(); /** * optional int32 build_api_level = 5; * *
     * Historic: doesn't support api levels for code names such as 'N'.
     * 
*/ int getBuildApiLevel(); // optional .android_studio.DeviceInfo.ApplicationBinaryInterface cpu_abi = 6; /** * optional .android_studio.DeviceInfo.ApplicationBinaryInterface cpu_abi = 6; * *
     * ABI of the device, e.g. 'armeabi-v7a' or 'x86'
     * 
*/ boolean hasCpuAbi(); /** * optional .android_studio.DeviceInfo.ApplicationBinaryInterface cpu_abi = 6; * *
     * ABI of the device, e.g. 'armeabi-v7a' or 'x86'
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.ApplicationBinaryInterface getCpuAbi(); // optional string manufacturer = 7; /** * optional string manufacturer = 7; * *
     * Device manufacturer, e.g. 'Motorola' or 'Samsung'
     * 
*/ boolean hasManufacturer(); /** * optional string manufacturer = 7; * *
     * Device manufacturer, e.g. 'Motorola' or 'Samsung'
     * 
*/ java.lang.String getManufacturer(); /** * optional string manufacturer = 7; * *
     * Device manufacturer, e.g. 'Motorola' or 'Samsung'
     * 
*/ com.google.protobuf.ByteString getManufacturerBytes(); // optional string model = 8; /** * optional string model = 8; * *
     * Device model, e.g. 'Nexus 5' or 'GT-I9500'.
     * 
*/ boolean hasModel(); /** * optional string model = 8; * *
     * Device model, e.g. 'Nexus 5' or 'GT-I9500'.
     * 
*/ java.lang.String getModel(); /** * optional string model = 8; * *
     * Device model, e.g. 'Nexus 5' or 'GT-I9500'.
     * 
*/ com.google.protobuf.ByteString getModelBytes(); // optional .android_studio.DeviceInfo.DeviceType device_type = 9; /** * optional .android_studio.DeviceInfo.DeviceType device_type = 9; * *
     * What kind of device is this? Physicial/Emulator/Cloud etc...
     * 
*/ boolean hasDeviceType(); /** * optional .android_studio.DeviceInfo.DeviceType device_type = 9; * *
     * What kind of device is this? Physicial/Emulator/Cloud etc...
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.DeviceType getDeviceType(); // optional string build_api_level_full = 10; /** * optional string build_api_level_full = 10; * *
     * android api level  e.g. '23' or 'N'
     * 
*/ boolean hasBuildApiLevelFull(); /** * optional string build_api_level_full = 10; * *
     * android api level  e.g. '23' or 'N'
     * 
*/ java.lang.String getBuildApiLevelFull(); /** * optional string build_api_level_full = 10; * *
     * android api level  e.g. '23' or 'N'
     * 
*/ com.google.protobuf.ByteString getBuildApiLevelFullBytes(); } /** * Protobuf type {@code android_studio.DeviceInfo} * *
   * Describes a emulator or physical Android Device.
   * 
*/ public static final class DeviceInfo extends com.google.protobuf.GeneratedMessage implements DeviceInfoOrBuilder { // Use DeviceInfo.newBuilder() to construct. private DeviceInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private DeviceInfo(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final DeviceInfo defaultInstance; public static DeviceInfo getDefaultInstance() { return defaultInstance; } public DeviceInfo getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DeviceInfo( 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; anonymizedSerialNumber_ = input.readBytes(); break; } case 18: { bitField0_ |= 0x00000002; buildTags_ = input.readBytes(); break; } case 26: { bitField0_ |= 0x00000004; buildType_ = input.readBytes(); break; } case 34: { bitField0_ |= 0x00000008; buildVersionRelease_ = input.readBytes(); break; } case 40: { bitField0_ |= 0x00000010; buildApiLevel_ = input.readInt32(); break; } case 48: { int rawValue = input.readEnum(); com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.ApplicationBinaryInterface value = com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.ApplicationBinaryInterface.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(6, rawValue); } else { bitField0_ |= 0x00000020; cpuAbi_ = value; } break; } case 58: { bitField0_ |= 0x00000040; manufacturer_ = input.readBytes(); break; } case 66: { bitField0_ |= 0x00000080; model_ = input.readBytes(); break; } case 72: { int rawValue = input.readEnum(); com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.DeviceType value = com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.DeviceType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(9, rawValue); } else { bitField0_ |= 0x00000100; deviceType_ = value; } break; } case 82: { bitField0_ |= 0x00000200; buildApiLevelFull_ = 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.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_DeviceInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_DeviceInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public DeviceInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DeviceInfo(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } /** * Protobuf enum {@code android_studio.DeviceInfo.ApplicationBinaryInterface} * *
     * Describes tthe ABI of the device/emulator.
     * 
*/ public enum ApplicationBinaryInterface implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN_ABI = 0; */ UNKNOWN_ABI(0, 0), /** * ARME_ABI_V7A = 1; */ ARME_ABI_V7A(1, 1), /** * X86_ABI = 2; */ X86_ABI(2, 2), /** * ARM64_V8A_ABI = 3; */ ARM64_V8A_ABI(3, 3), /** * X86_64_ABI = 4; */ X86_64_ABI(4, 4), /** * ARME_ABI = 5; */ ARME_ABI(5, 5), /** * MIPS_ABI = 6; */ MIPS_ABI(6, 6), /** * MIPS_R2_ABI = 7; */ MIPS_R2_ABI(7, 7), /** * ARME_ABI_V6L = 8; */ ARME_ABI_V6L(8, 8), /** * ARME_ABI_V6J = 9; */ ARME_ABI_V6J(9, 9), ; /** * UNKNOWN_ABI = 0; */ public static final int UNKNOWN_ABI_VALUE = 0; /** * ARME_ABI_V7A = 1; */ public static final int ARME_ABI_V7A_VALUE = 1; /** * X86_ABI = 2; */ public static final int X86_ABI_VALUE = 2; /** * ARM64_V8A_ABI = 3; */ public static final int ARM64_V8A_ABI_VALUE = 3; /** * X86_64_ABI = 4; */ public static final int X86_64_ABI_VALUE = 4; /** * ARME_ABI = 5; */ public static final int ARME_ABI_VALUE = 5; /** * MIPS_ABI = 6; */ public static final int MIPS_ABI_VALUE = 6; /** * MIPS_R2_ABI = 7; */ public static final int MIPS_R2_ABI_VALUE = 7; /** * ARME_ABI_V6L = 8; */ public static final int ARME_ABI_V6L_VALUE = 8; /** * ARME_ABI_V6J = 9; */ public static final int ARME_ABI_V6J_VALUE = 9; public final int getNumber() { return value; } public static ApplicationBinaryInterface valueOf(int value) { switch (value) { case 0: return UNKNOWN_ABI; case 1: return ARME_ABI_V7A; case 2: return X86_ABI; case 3: return ARM64_V8A_ABI; case 4: return X86_64_ABI; case 5: return ARME_ABI; case 6: return MIPS_ABI; case 7: return MIPS_R2_ABI; case 8: return ARME_ABI_V6L; case 9: return ARME_ABI_V6J; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public ApplicationBinaryInterface findValueByNumber(int number) { return ApplicationBinaryInterface.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.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.getDescriptor().getEnumTypes().get(0); } private static final ApplicationBinaryInterface[] VALUES = values(); public static ApplicationBinaryInterface 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 ApplicationBinaryInterface(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:android_studio.DeviceInfo.ApplicationBinaryInterface) } /** * Protobuf enum {@code android_studio.DeviceInfo.DeviceType} * *
     * Describes the kind of device being deployed/tested on.
     * 
*/ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN_DEVICE_TYPE = 0; */ UNKNOWN_DEVICE_TYPE(0, 0), /** * LOCAL_PHYSICAL = 1; */ LOCAL_PHYSICAL(1, 1), /** * LOCAL_EMULATOR = 2; */ LOCAL_EMULATOR(2, 2), /** * CLOUD_EMULATOR = 3; */ CLOUD_EMULATOR(3, 3), /** * CLOUD_PHYSICAL = 4; */ CLOUD_PHYSICAL(4, 4), ; /** * UNKNOWN_DEVICE_TYPE = 0; */ public static final int UNKNOWN_DEVICE_TYPE_VALUE = 0; /** * LOCAL_PHYSICAL = 1; */ public static final int LOCAL_PHYSICAL_VALUE = 1; /** * LOCAL_EMULATOR = 2; */ public static final int LOCAL_EMULATOR_VALUE = 2; /** * CLOUD_EMULATOR = 3; */ public static final int CLOUD_EMULATOR_VALUE = 3; /** * CLOUD_PHYSICAL = 4; */ public static final int CLOUD_PHYSICAL_VALUE = 4; public final int getNumber() { return value; } public static DeviceType valueOf(int value) { switch (value) { case 0: return UNKNOWN_DEVICE_TYPE; case 1: return LOCAL_PHYSICAL; case 2: return LOCAL_EMULATOR; case 3: return CLOUD_EMULATOR; case 4: return CLOUD_PHYSICAL; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public DeviceType findValueByNumber(int number) { return DeviceType.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.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.getDescriptor().getEnumTypes().get(1); } private static final DeviceType[] VALUES = values(); public static DeviceType 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 DeviceType(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:android_studio.DeviceInfo.DeviceType) } private int bitField0_; // optional string anonymized_serial_number = 1; public static final int ANONYMIZED_SERIAL_NUMBER_FIELD_NUMBER = 1; private java.lang.Object anonymizedSerialNumber_; /** * optional string anonymized_serial_number = 1; * *
     * serial number of the device, salted & sha256ed on the client.
     * 
*/ public boolean hasAnonymizedSerialNumber() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string anonymized_serial_number = 1; * *
     * serial number of the device, salted & sha256ed on the client.
     * 
*/ public java.lang.String getAnonymizedSerialNumber() { java.lang.Object ref = anonymizedSerialNumber_; 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()) { anonymizedSerialNumber_ = s; } return s; } } /** * optional string anonymized_serial_number = 1; * *
     * serial number of the device, salted & sha256ed on the client.
     * 
*/ public com.google.protobuf.ByteString getAnonymizedSerialNumberBytes() { java.lang.Object ref = anonymizedSerialNumber_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); anonymizedSerialNumber_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string build_tags = 2; public static final int BUILD_TAGS_FIELD_NUMBER = 2; private java.lang.Object buildTags_; /** * optional string build_tags = 2; * *
     * Tags used to build the android version on this device.
     *  e.g. 'release-keys' or 'test-keys' or 'A100_V001'
     *  TODO(jvg): ask loglaunch folks: ST_SOFTWARE_ID datapol?
     * 
*/ public boolean hasBuildTags() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string build_tags = 2; * *
     * Tags used to build the android version on this device.
     *  e.g. 'release-keys' or 'test-keys' or 'A100_V001'
     *  TODO(jvg): ask loglaunch folks: ST_SOFTWARE_ID datapol?
     * 
*/ public java.lang.String getBuildTags() { java.lang.Object ref = buildTags_; 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()) { buildTags_ = s; } return s; } } /** * optional string build_tags = 2; * *
     * Tags used to build the android version on this device.
     *  e.g. 'release-keys' or 'test-keys' or 'A100_V001'
     *  TODO(jvg): ask loglaunch folks: ST_SOFTWARE_ID datapol?
     * 
*/ public com.google.protobuf.ByteString getBuildTagsBytes() { java.lang.Object ref = buildTags_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); buildTags_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string build_type = 3; public static final int BUILD_TYPE_FIELD_NUMBER = 3; private java.lang.Object buildType_; /** * optional string build_type = 3; * *
     * Type of build this device is running.
     *  e.g. 'user' or 'userdebug' or 'eng' or 'alphabuild'
     *  TODO(jvg): ask loglaunch folks: ST_SOFTWARE_ID datapol?
     * 
*/ public boolean hasBuildType() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string build_type = 3; * *
     * Type of build this device is running.
     *  e.g. 'user' or 'userdebug' or 'eng' or 'alphabuild'
     *  TODO(jvg): ask loglaunch folks: ST_SOFTWARE_ID datapol?
     * 
*/ public java.lang.String getBuildType() { java.lang.Object ref = buildType_; 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()) { buildType_ = s; } return s; } } /** * optional string build_type = 3; * *
     * Type of build this device is running.
     *  e.g. 'user' or 'userdebug' or 'eng' or 'alphabuild'
     *  TODO(jvg): ask loglaunch folks: ST_SOFTWARE_ID datapol?
     * 
*/ public com.google.protobuf.ByteString getBuildTypeBytes() { java.lang.Object ref = buildType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); buildType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string build_version_release = 4; public static final int BUILD_VERSION_RELEASE_FIELD_NUMBER = 4; private java.lang.Object buildVersionRelease_; /** * optional string build_version_release = 4; * *
     * Android version e.g. '5.1.1'
     * 
*/ public boolean hasBuildVersionRelease() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string build_version_release = 4; * *
     * Android version e.g. '5.1.1'
     * 
*/ public java.lang.String getBuildVersionRelease() { java.lang.Object ref = buildVersionRelease_; 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()) { buildVersionRelease_ = s; } return s; } } /** * optional string build_version_release = 4; * *
     * Android version e.g. '5.1.1'
     * 
*/ public com.google.protobuf.ByteString getBuildVersionReleaseBytes() { java.lang.Object ref = buildVersionRelease_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); buildVersionRelease_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional int32 build_api_level = 5; public static final int BUILD_API_LEVEL_FIELD_NUMBER = 5; private int buildApiLevel_; /** * optional int32 build_api_level = 5; * *
     * Historic: doesn't support api levels for code names such as 'N'.
     * 
*/ public boolean hasBuildApiLevel() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional int32 build_api_level = 5; * *
     * Historic: doesn't support api levels for code names such as 'N'.
     * 
*/ public int getBuildApiLevel() { return buildApiLevel_; } // optional .android_studio.DeviceInfo.ApplicationBinaryInterface cpu_abi = 6; public static final int CPU_ABI_FIELD_NUMBER = 6; private com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.ApplicationBinaryInterface cpuAbi_; /** * optional .android_studio.DeviceInfo.ApplicationBinaryInterface cpu_abi = 6; * *
     * ABI of the device, e.g. 'armeabi-v7a' or 'x86'
     * 
*/ public boolean hasCpuAbi() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional .android_studio.DeviceInfo.ApplicationBinaryInterface cpu_abi = 6; * *
     * ABI of the device, e.g. 'armeabi-v7a' or 'x86'
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.ApplicationBinaryInterface getCpuAbi() { return cpuAbi_; } // optional string manufacturer = 7; public static final int MANUFACTURER_FIELD_NUMBER = 7; private java.lang.Object manufacturer_; /** * optional string manufacturer = 7; * *
     * Device manufacturer, e.g. 'Motorola' or 'Samsung'
     * 
*/ public boolean hasManufacturer() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional string manufacturer = 7; * *
     * Device manufacturer, e.g. 'Motorola' or 'Samsung'
     * 
*/ public java.lang.String getManufacturer() { java.lang.Object ref = manufacturer_; 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()) { manufacturer_ = s; } return s; } } /** * optional string manufacturer = 7; * *
     * Device manufacturer, e.g. 'Motorola' or 'Samsung'
     * 
*/ public com.google.protobuf.ByteString getManufacturerBytes() { java.lang.Object ref = manufacturer_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); manufacturer_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string model = 8; public static final int MODEL_FIELD_NUMBER = 8; private java.lang.Object model_; /** * optional string model = 8; * *
     * Device model, e.g. 'Nexus 5' or 'GT-I9500'.
     * 
*/ public boolean hasModel() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional string model = 8; * *
     * Device model, e.g. 'Nexus 5' or 'GT-I9500'.
     * 
*/ public java.lang.String getModel() { java.lang.Object ref = model_; 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()) { model_ = s; } return s; } } /** * optional string model = 8; * *
     * Device model, e.g. 'Nexus 5' or 'GT-I9500'.
     * 
*/ public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); model_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional .android_studio.DeviceInfo.DeviceType device_type = 9; public static final int DEVICE_TYPE_FIELD_NUMBER = 9; private com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.DeviceType deviceType_; /** * optional .android_studio.DeviceInfo.DeviceType device_type = 9; * *
     * What kind of device is this? Physicial/Emulator/Cloud etc...
     * 
*/ public boolean hasDeviceType() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional .android_studio.DeviceInfo.DeviceType device_type = 9; * *
     * What kind of device is this? Physicial/Emulator/Cloud etc...
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.DeviceType getDeviceType() { return deviceType_; } // optional string build_api_level_full = 10; public static final int BUILD_API_LEVEL_FULL_FIELD_NUMBER = 10; private java.lang.Object buildApiLevelFull_; /** * optional string build_api_level_full = 10; * *
     * android api level  e.g. '23' or 'N'
     * 
*/ public boolean hasBuildApiLevelFull() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * optional string build_api_level_full = 10; * *
     * android api level  e.g. '23' or 'N'
     * 
*/ public java.lang.String getBuildApiLevelFull() { java.lang.Object ref = buildApiLevelFull_; 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()) { buildApiLevelFull_ = s; } return s; } } /** * optional string build_api_level_full = 10; * *
     * android api level  e.g. '23' or 'N'
     * 
*/ public com.google.protobuf.ByteString getBuildApiLevelFullBytes() { java.lang.Object ref = buildApiLevelFull_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); buildApiLevelFull_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { anonymizedSerialNumber_ = ""; buildTags_ = ""; buildType_ = ""; buildVersionRelease_ = ""; buildApiLevel_ = 0; cpuAbi_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.ApplicationBinaryInterface.UNKNOWN_ABI; manufacturer_ = ""; model_ = ""; deviceType_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.DeviceType.UNKNOWN_DEVICE_TYPE; buildApiLevelFull_ = ""; } 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, getAnonymizedSerialNumberBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getBuildTagsBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getBuildTypeBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, getBuildVersionReleaseBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeInt32(5, buildApiLevel_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeEnum(6, cpuAbi_.getNumber()); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeBytes(7, getManufacturerBytes()); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeBytes(8, getModelBytes()); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeEnum(9, deviceType_.getNumber()); } if (((bitField0_ & 0x00000200) == 0x00000200)) { output.writeBytes(10, getBuildApiLevelFullBytes()); } 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, getAnonymizedSerialNumberBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getBuildTagsBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getBuildTypeBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, getBuildVersionReleaseBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(5, buildApiLevel_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(6, cpuAbi_.getNumber()); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(7, getManufacturerBytes()); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(8, getModelBytes()); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(9, deviceType_.getNumber()); } if (((bitField0_ & 0x00000200) == 0x00000200)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(10, getBuildApiLevelFullBytes()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo 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.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo 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 android_studio.DeviceInfo} * *
     * Describes a emulator or physical Android Device.
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_DeviceInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_DeviceInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.Builder.class); } // Construct using com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.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(); anonymizedSerialNumber_ = ""; bitField0_ = (bitField0_ & ~0x00000001); buildTags_ = ""; bitField0_ = (bitField0_ & ~0x00000002); buildType_ = ""; bitField0_ = (bitField0_ & ~0x00000004); buildVersionRelease_ = ""; bitField0_ = (bitField0_ & ~0x00000008); buildApiLevel_ = 0; bitField0_ = (bitField0_ & ~0x00000010); cpuAbi_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.ApplicationBinaryInterface.UNKNOWN_ABI; bitField0_ = (bitField0_ & ~0x00000020); manufacturer_ = ""; bitField0_ = (bitField0_ & ~0x00000040); model_ = ""; bitField0_ = (bitField0_ & ~0x00000080); deviceType_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.DeviceType.UNKNOWN_DEVICE_TYPE; bitField0_ = (bitField0_ & ~0x00000100); buildApiLevelFull_ = ""; bitField0_ = (bitField0_ & ~0x00000200); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_DeviceInfo_descriptor; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo getDefaultInstanceForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.getDefaultInstance(); } public com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo build() { com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo buildPartial() { com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo result = new com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.anonymizedSerialNumber_ = anonymizedSerialNumber_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.buildTags_ = buildTags_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.buildType_ = buildType_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.buildVersionRelease_ = buildVersionRelease_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.buildApiLevel_ = buildApiLevel_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.cpuAbi_ = cpuAbi_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.manufacturer_ = manufacturer_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } result.model_ = model_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000100; } result.deviceType_ = deviceType_; if (((from_bitField0_ & 0x00000200) == 0x00000200)) { to_bitField0_ |= 0x00000200; } result.buildApiLevelFull_ = buildApiLevelFull_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo) { return mergeFrom((com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo other) { if (other == com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.getDefaultInstance()) return this; if (other.hasAnonymizedSerialNumber()) { bitField0_ |= 0x00000001; anonymizedSerialNumber_ = other.anonymizedSerialNumber_; onChanged(); } if (other.hasBuildTags()) { bitField0_ |= 0x00000002; buildTags_ = other.buildTags_; onChanged(); } if (other.hasBuildType()) { bitField0_ |= 0x00000004; buildType_ = other.buildType_; onChanged(); } if (other.hasBuildVersionRelease()) { bitField0_ |= 0x00000008; buildVersionRelease_ = other.buildVersionRelease_; onChanged(); } if (other.hasBuildApiLevel()) { setBuildApiLevel(other.getBuildApiLevel()); } if (other.hasCpuAbi()) { setCpuAbi(other.getCpuAbi()); } if (other.hasManufacturer()) { bitField0_ |= 0x00000040; manufacturer_ = other.manufacturer_; onChanged(); } if (other.hasModel()) { bitField0_ |= 0x00000080; model_ = other.model_; onChanged(); } if (other.hasDeviceType()) { setDeviceType(other.getDeviceType()); } if (other.hasBuildApiLevelFull()) { bitField0_ |= 0x00000200; buildApiLevelFull_ = other.buildApiLevelFull_; 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.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional string anonymized_serial_number = 1; private java.lang.Object anonymizedSerialNumber_ = ""; /** * optional string anonymized_serial_number = 1; * *
       * serial number of the device, salted & sha256ed on the client.
       * 
*/ public boolean hasAnonymizedSerialNumber() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string anonymized_serial_number = 1; * *
       * serial number of the device, salted & sha256ed on the client.
       * 
*/ public java.lang.String getAnonymizedSerialNumber() { java.lang.Object ref = anonymizedSerialNumber_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); anonymizedSerialNumber_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string anonymized_serial_number = 1; * *
       * serial number of the device, salted & sha256ed on the client.
       * 
*/ public com.google.protobuf.ByteString getAnonymizedSerialNumberBytes() { java.lang.Object ref = anonymizedSerialNumber_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); anonymizedSerialNumber_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string anonymized_serial_number = 1; * *
       * serial number of the device, salted & sha256ed on the client.
       * 
*/ public Builder setAnonymizedSerialNumber( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; anonymizedSerialNumber_ = value; onChanged(); return this; } /** * optional string anonymized_serial_number = 1; * *
       * serial number of the device, salted & sha256ed on the client.
       * 
*/ public Builder clearAnonymizedSerialNumber() { bitField0_ = (bitField0_ & ~0x00000001); anonymizedSerialNumber_ = getDefaultInstance().getAnonymizedSerialNumber(); onChanged(); return this; } /** * optional string anonymized_serial_number = 1; * *
       * serial number of the device, salted & sha256ed on the client.
       * 
*/ public Builder setAnonymizedSerialNumberBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; anonymizedSerialNumber_ = value; onChanged(); return this; } // optional string build_tags = 2; private java.lang.Object buildTags_ = ""; /** * optional string build_tags = 2; * *
       * Tags used to build the android version on this device.
       *  e.g. 'release-keys' or 'test-keys' or 'A100_V001'
       *  TODO(jvg): ask loglaunch folks: ST_SOFTWARE_ID datapol?
       * 
*/ public boolean hasBuildTags() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string build_tags = 2; * *
       * Tags used to build the android version on this device.
       *  e.g. 'release-keys' or 'test-keys' or 'A100_V001'
       *  TODO(jvg): ask loglaunch folks: ST_SOFTWARE_ID datapol?
       * 
*/ public java.lang.String getBuildTags() { java.lang.Object ref = buildTags_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); buildTags_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string build_tags = 2; * *
       * Tags used to build the android version on this device.
       *  e.g. 'release-keys' or 'test-keys' or 'A100_V001'
       *  TODO(jvg): ask loglaunch folks: ST_SOFTWARE_ID datapol?
       * 
*/ public com.google.protobuf.ByteString getBuildTagsBytes() { java.lang.Object ref = buildTags_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); buildTags_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string build_tags = 2; * *
       * Tags used to build the android version on this device.
       *  e.g. 'release-keys' or 'test-keys' or 'A100_V001'
       *  TODO(jvg): ask loglaunch folks: ST_SOFTWARE_ID datapol?
       * 
*/ public Builder setBuildTags( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; buildTags_ = value; onChanged(); return this; } /** * optional string build_tags = 2; * *
       * Tags used to build the android version on this device.
       *  e.g. 'release-keys' or 'test-keys' or 'A100_V001'
       *  TODO(jvg): ask loglaunch folks: ST_SOFTWARE_ID datapol?
       * 
*/ public Builder clearBuildTags() { bitField0_ = (bitField0_ & ~0x00000002); buildTags_ = getDefaultInstance().getBuildTags(); onChanged(); return this; } /** * optional string build_tags = 2; * *
       * Tags used to build the android version on this device.
       *  e.g. 'release-keys' or 'test-keys' or 'A100_V001'
       *  TODO(jvg): ask loglaunch folks: ST_SOFTWARE_ID datapol?
       * 
*/ public Builder setBuildTagsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; buildTags_ = value; onChanged(); return this; } // optional string build_type = 3; private java.lang.Object buildType_ = ""; /** * optional string build_type = 3; * *
       * Type of build this device is running.
       *  e.g. 'user' or 'userdebug' or 'eng' or 'alphabuild'
       *  TODO(jvg): ask loglaunch folks: ST_SOFTWARE_ID datapol?
       * 
*/ public boolean hasBuildType() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string build_type = 3; * *
       * Type of build this device is running.
       *  e.g. 'user' or 'userdebug' or 'eng' or 'alphabuild'
       *  TODO(jvg): ask loglaunch folks: ST_SOFTWARE_ID datapol?
       * 
*/ public java.lang.String getBuildType() { java.lang.Object ref = buildType_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); buildType_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string build_type = 3; * *
       * Type of build this device is running.
       *  e.g. 'user' or 'userdebug' or 'eng' or 'alphabuild'
       *  TODO(jvg): ask loglaunch folks: ST_SOFTWARE_ID datapol?
       * 
*/ public com.google.protobuf.ByteString getBuildTypeBytes() { java.lang.Object ref = buildType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); buildType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string build_type = 3; * *
       * Type of build this device is running.
       *  e.g. 'user' or 'userdebug' or 'eng' or 'alphabuild'
       *  TODO(jvg): ask loglaunch folks: ST_SOFTWARE_ID datapol?
       * 
*/ public Builder setBuildType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; buildType_ = value; onChanged(); return this; } /** * optional string build_type = 3; * *
       * Type of build this device is running.
       *  e.g. 'user' or 'userdebug' or 'eng' or 'alphabuild'
       *  TODO(jvg): ask loglaunch folks: ST_SOFTWARE_ID datapol?
       * 
*/ public Builder clearBuildType() { bitField0_ = (bitField0_ & ~0x00000004); buildType_ = getDefaultInstance().getBuildType(); onChanged(); return this; } /** * optional string build_type = 3; * *
       * Type of build this device is running.
       *  e.g. 'user' or 'userdebug' or 'eng' or 'alphabuild'
       *  TODO(jvg): ask loglaunch folks: ST_SOFTWARE_ID datapol?
       * 
*/ public Builder setBuildTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; buildType_ = value; onChanged(); return this; } // optional string build_version_release = 4; private java.lang.Object buildVersionRelease_ = ""; /** * optional string build_version_release = 4; * *
       * Android version e.g. '5.1.1'
       * 
*/ public boolean hasBuildVersionRelease() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string build_version_release = 4; * *
       * Android version e.g. '5.1.1'
       * 
*/ public java.lang.String getBuildVersionRelease() { java.lang.Object ref = buildVersionRelease_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); buildVersionRelease_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string build_version_release = 4; * *
       * Android version e.g. '5.1.1'
       * 
*/ public com.google.protobuf.ByteString getBuildVersionReleaseBytes() { java.lang.Object ref = buildVersionRelease_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); buildVersionRelease_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string build_version_release = 4; * *
       * Android version e.g. '5.1.1'
       * 
*/ public Builder setBuildVersionRelease( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; buildVersionRelease_ = value; onChanged(); return this; } /** * optional string build_version_release = 4; * *
       * Android version e.g. '5.1.1'
       * 
*/ public Builder clearBuildVersionRelease() { bitField0_ = (bitField0_ & ~0x00000008); buildVersionRelease_ = getDefaultInstance().getBuildVersionRelease(); onChanged(); return this; } /** * optional string build_version_release = 4; * *
       * Android version e.g. '5.1.1'
       * 
*/ public Builder setBuildVersionReleaseBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; buildVersionRelease_ = value; onChanged(); return this; } // optional int32 build_api_level = 5; private int buildApiLevel_ ; /** * optional int32 build_api_level = 5; * *
       * Historic: doesn't support api levels for code names such as 'N'.
       * 
*/ public boolean hasBuildApiLevel() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional int32 build_api_level = 5; * *
       * Historic: doesn't support api levels for code names such as 'N'.
       * 
*/ public int getBuildApiLevel() { return buildApiLevel_; } /** * optional int32 build_api_level = 5; * *
       * Historic: doesn't support api levels for code names such as 'N'.
       * 
*/ public Builder setBuildApiLevel(int value) { bitField0_ |= 0x00000010; buildApiLevel_ = value; onChanged(); return this; } /** * optional int32 build_api_level = 5; * *
       * Historic: doesn't support api levels for code names such as 'N'.
       * 
*/ public Builder clearBuildApiLevel() { bitField0_ = (bitField0_ & ~0x00000010); buildApiLevel_ = 0; onChanged(); return this; } // optional .android_studio.DeviceInfo.ApplicationBinaryInterface cpu_abi = 6; private com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.ApplicationBinaryInterface cpuAbi_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.ApplicationBinaryInterface.UNKNOWN_ABI; /** * optional .android_studio.DeviceInfo.ApplicationBinaryInterface cpu_abi = 6; * *
       * ABI of the device, e.g. 'armeabi-v7a' or 'x86'
       * 
*/ public boolean hasCpuAbi() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional .android_studio.DeviceInfo.ApplicationBinaryInterface cpu_abi = 6; * *
       * ABI of the device, e.g. 'armeabi-v7a' or 'x86'
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.ApplicationBinaryInterface getCpuAbi() { return cpuAbi_; } /** * optional .android_studio.DeviceInfo.ApplicationBinaryInterface cpu_abi = 6; * *
       * ABI of the device, e.g. 'armeabi-v7a' or 'x86'
       * 
*/ public Builder setCpuAbi(com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.ApplicationBinaryInterface value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; cpuAbi_ = value; onChanged(); return this; } /** * optional .android_studio.DeviceInfo.ApplicationBinaryInterface cpu_abi = 6; * *
       * ABI of the device, e.g. 'armeabi-v7a' or 'x86'
       * 
*/ public Builder clearCpuAbi() { bitField0_ = (bitField0_ & ~0x00000020); cpuAbi_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.ApplicationBinaryInterface.UNKNOWN_ABI; onChanged(); return this; } // optional string manufacturer = 7; private java.lang.Object manufacturer_ = ""; /** * optional string manufacturer = 7; * *
       * Device manufacturer, e.g. 'Motorola' or 'Samsung'
       * 
*/ public boolean hasManufacturer() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional string manufacturer = 7; * *
       * Device manufacturer, e.g. 'Motorola' or 'Samsung'
       * 
*/ public java.lang.String getManufacturer() { java.lang.Object ref = manufacturer_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); manufacturer_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string manufacturer = 7; * *
       * Device manufacturer, e.g. 'Motorola' or 'Samsung'
       * 
*/ public com.google.protobuf.ByteString getManufacturerBytes() { java.lang.Object ref = manufacturer_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); manufacturer_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string manufacturer = 7; * *
       * Device manufacturer, e.g. 'Motorola' or 'Samsung'
       * 
*/ public Builder setManufacturer( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; manufacturer_ = value; onChanged(); return this; } /** * optional string manufacturer = 7; * *
       * Device manufacturer, e.g. 'Motorola' or 'Samsung'
       * 
*/ public Builder clearManufacturer() { bitField0_ = (bitField0_ & ~0x00000040); manufacturer_ = getDefaultInstance().getManufacturer(); onChanged(); return this; } /** * optional string manufacturer = 7; * *
       * Device manufacturer, e.g. 'Motorola' or 'Samsung'
       * 
*/ public Builder setManufacturerBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; manufacturer_ = value; onChanged(); return this; } // optional string model = 8; private java.lang.Object model_ = ""; /** * optional string model = 8; * *
       * Device model, e.g. 'Nexus 5' or 'GT-I9500'.
       * 
*/ public boolean hasModel() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional string model = 8; * *
       * Device model, e.g. 'Nexus 5' or 'GT-I9500'.
       * 
*/ public java.lang.String getModel() { java.lang.Object ref = model_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); model_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string model = 8; * *
       * Device model, e.g. 'Nexus 5' or 'GT-I9500'.
       * 
*/ public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); model_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string model = 8; * *
       * Device model, e.g. 'Nexus 5' or 'GT-I9500'.
       * 
*/ public Builder setModel( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; model_ = value; onChanged(); return this; } /** * optional string model = 8; * *
       * Device model, e.g. 'Nexus 5' or 'GT-I9500'.
       * 
*/ public Builder clearModel() { bitField0_ = (bitField0_ & ~0x00000080); model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** * optional string model = 8; * *
       * Device model, e.g. 'Nexus 5' or 'GT-I9500'.
       * 
*/ public Builder setModelBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; model_ = value; onChanged(); return this; } // optional .android_studio.DeviceInfo.DeviceType device_type = 9; private com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.DeviceType deviceType_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.DeviceType.UNKNOWN_DEVICE_TYPE; /** * optional .android_studio.DeviceInfo.DeviceType device_type = 9; * *
       * What kind of device is this? Physicial/Emulator/Cloud etc...
       * 
*/ public boolean hasDeviceType() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional .android_studio.DeviceInfo.DeviceType device_type = 9; * *
       * What kind of device is this? Physicial/Emulator/Cloud etc...
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.DeviceType getDeviceType() { return deviceType_; } /** * optional .android_studio.DeviceInfo.DeviceType device_type = 9; * *
       * What kind of device is this? Physicial/Emulator/Cloud etc...
       * 
*/ public Builder setDeviceType(com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.DeviceType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; deviceType_ = value; onChanged(); return this; } /** * optional .android_studio.DeviceInfo.DeviceType device_type = 9; * *
       * What kind of device is this? Physicial/Emulator/Cloud etc...
       * 
*/ public Builder clearDeviceType() { bitField0_ = (bitField0_ & ~0x00000100); deviceType_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.DeviceType.UNKNOWN_DEVICE_TYPE; onChanged(); return this; } // optional string build_api_level_full = 10; private java.lang.Object buildApiLevelFull_ = ""; /** * optional string build_api_level_full = 10; * *
       * android api level  e.g. '23' or 'N'
       * 
*/ public boolean hasBuildApiLevelFull() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * optional string build_api_level_full = 10; * *
       * android api level  e.g. '23' or 'N'
       * 
*/ public java.lang.String getBuildApiLevelFull() { java.lang.Object ref = buildApiLevelFull_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); buildApiLevelFull_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string build_api_level_full = 10; * *
       * android api level  e.g. '23' or 'N'
       * 
*/ public com.google.protobuf.ByteString getBuildApiLevelFullBytes() { java.lang.Object ref = buildApiLevelFull_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); buildApiLevelFull_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string build_api_level_full = 10; * *
       * android api level  e.g. '23' or 'N'
       * 
*/ public Builder setBuildApiLevelFull( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000200; buildApiLevelFull_ = value; onChanged(); return this; } /** * optional string build_api_level_full = 10; * *
       * android api level  e.g. '23' or 'N'
       * 
*/ public Builder clearBuildApiLevelFull() { bitField0_ = (bitField0_ & ~0x00000200); buildApiLevelFull_ = getDefaultInstance().getBuildApiLevelFull(); onChanged(); return this; } /** * optional string build_api_level_full = 10; * *
       * android api level  e.g. '23' or 'N'
       * 
*/ public Builder setBuildApiLevelFullBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000200; buildApiLevelFull_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:android_studio.DeviceInfo) } static { defaultInstance = new DeviceInfo(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:android_studio.DeviceInfo) } public interface StudioCrashOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional int64 actions = 1; /** * optional int64 actions = 1; * *
     * number of actions since last crash report.
     * 
*/ boolean hasActions(); /** * optional int64 actions = 1; * *
     * number of actions since last crash report.
     * 
*/ long getActions(); // optional int64 exceptions = 2; /** * optional int64 exceptions = 2; * *
     * number of exceptions since last crash report.
     * 
*/ boolean hasExceptions(); /** * optional int64 exceptions = 2; * *
     * number of exceptions since last crash report.
     * 
*/ long getExceptions(); // optional int64 crashes = 3; /** * optional int64 crashes = 3; * *
     * number of crashes since last crash report.
     * 
*/ boolean hasCrashes(); /** * optional int64 crashes = 3; * *
     * number of crashes since last crash report.
     * 
*/ long getCrashes(); // optional int64 bundled_plugin_exceptions = 4; /** * optional int64 bundled_plugin_exceptions = 4; * *
     * number of exceptions from plugins bundled with Android Studio.
     * 
*/ boolean hasBundledPluginExceptions(); /** * optional int64 bundled_plugin_exceptions = 4; * *
     * number of exceptions from plugins bundled with Android Studio.
     * 
*/ long getBundledPluginExceptions(); // optional int64 non_bundled_plugin_exceptions = 5; /** * optional int64 non_bundled_plugin_exceptions = 5; * *
     * number of exceptions from plugins not bundled with Android Studio.
     * 
*/ boolean hasNonBundledPluginExceptions(); /** * optional int64 non_bundled_plugin_exceptions = 5; * *
     * number of exceptions from plugins not bundled with Android Studio.
     * 
*/ long getNonBundledPluginExceptions(); } /** * Protobuf type {@code android_studio.StudioCrash} * *
   * Metrics on crashes in Android Studio.
   * 
*/ public static final class StudioCrash extends com.google.protobuf.GeneratedMessage implements StudioCrashOrBuilder { // Use StudioCrash.newBuilder() to construct. private StudioCrash(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private StudioCrash(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final StudioCrash defaultInstance; public static StudioCrash getDefaultInstance() { return defaultInstance; } public StudioCrash getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StudioCrash( 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; actions_ = input.readInt64(); break; } case 16: { bitField0_ |= 0x00000002; exceptions_ = input.readInt64(); break; } case 24: { bitField0_ |= 0x00000004; crashes_ = input.readInt64(); break; } case 32: { bitField0_ |= 0x00000008; bundledPluginExceptions_ = input.readInt64(); break; } case 40: { bitField0_ |= 0x00000010; nonBundledPluginExceptions_ = input.readInt64(); 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.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_StudioCrash_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_StudioCrash_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public StudioCrash parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new StudioCrash(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional int64 actions = 1; public static final int ACTIONS_FIELD_NUMBER = 1; private long actions_; /** * optional int64 actions = 1; * *
     * number of actions since last crash report.
     * 
*/ public boolean hasActions() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 actions = 1; * *
     * number of actions since last crash report.
     * 
*/ public long getActions() { return actions_; } // optional int64 exceptions = 2; public static final int EXCEPTIONS_FIELD_NUMBER = 2; private long exceptions_; /** * optional int64 exceptions = 2; * *
     * number of exceptions since last crash report.
     * 
*/ public boolean hasExceptions() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int64 exceptions = 2; * *
     * number of exceptions since last crash report.
     * 
*/ public long getExceptions() { return exceptions_; } // optional int64 crashes = 3; public static final int CRASHES_FIELD_NUMBER = 3; private long crashes_; /** * optional int64 crashes = 3; * *
     * number of crashes since last crash report.
     * 
*/ public boolean hasCrashes() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional int64 crashes = 3; * *
     * number of crashes since last crash report.
     * 
*/ public long getCrashes() { return crashes_; } // optional int64 bundled_plugin_exceptions = 4; public static final int BUNDLED_PLUGIN_EXCEPTIONS_FIELD_NUMBER = 4; private long bundledPluginExceptions_; /** * optional int64 bundled_plugin_exceptions = 4; * *
     * number of exceptions from plugins bundled with Android Studio.
     * 
*/ public boolean hasBundledPluginExceptions() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional int64 bundled_plugin_exceptions = 4; * *
     * number of exceptions from plugins bundled with Android Studio.
     * 
*/ public long getBundledPluginExceptions() { return bundledPluginExceptions_; } // optional int64 non_bundled_plugin_exceptions = 5; public static final int NON_BUNDLED_PLUGIN_EXCEPTIONS_FIELD_NUMBER = 5; private long nonBundledPluginExceptions_; /** * optional int64 non_bundled_plugin_exceptions = 5; * *
     * number of exceptions from plugins not bundled with Android Studio.
     * 
*/ public boolean hasNonBundledPluginExceptions() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional int64 non_bundled_plugin_exceptions = 5; * *
     * number of exceptions from plugins not bundled with Android Studio.
     * 
*/ public long getNonBundledPluginExceptions() { return nonBundledPluginExceptions_; } private void initFields() { actions_ = 0L; exceptions_ = 0L; crashes_ = 0L; bundledPluginExceptions_ = 0L; nonBundledPluginExceptions_ = 0L; } 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.writeInt64(1, actions_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt64(2, exceptions_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt64(3, crashes_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt64(4, bundledPluginExceptions_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeInt64(5, nonBundledPluginExceptions_); } 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 .computeInt64Size(1, actions_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, exceptions_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, crashes_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, bundledPluginExceptions_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, nonBundledPluginExceptions_); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash 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.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash 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 android_studio.StudioCrash} * *
     * Metrics on crashes in Android Studio.
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrashOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_StudioCrash_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_StudioCrash_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash.Builder.class); } // Construct using com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash.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(); actions_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); exceptions_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); crashes_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); bundledPluginExceptions_ = 0L; bitField0_ = (bitField0_ & ~0x00000008); nonBundledPluginExceptions_ = 0L; bitField0_ = (bitField0_ & ~0x00000010); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_StudioCrash_descriptor; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash getDefaultInstanceForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash.getDefaultInstance(); } public com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash build() { com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash buildPartial() { com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash result = new com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.actions_ = actions_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.exceptions_ = exceptions_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.crashes_ = crashes_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.bundledPluginExceptions_ = bundledPluginExceptions_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.nonBundledPluginExceptions_ = nonBundledPluginExceptions_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash) { return mergeFrom((com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash other) { if (other == com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash.getDefaultInstance()) return this; if (other.hasActions()) { setActions(other.getActions()); } if (other.hasExceptions()) { setExceptions(other.getExceptions()); } if (other.hasCrashes()) { setCrashes(other.getCrashes()); } if (other.hasBundledPluginExceptions()) { setBundledPluginExceptions(other.getBundledPluginExceptions()); } if (other.hasNonBundledPluginExceptions()) { setNonBundledPluginExceptions(other.getNonBundledPluginExceptions()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional int64 actions = 1; private long actions_ ; /** * optional int64 actions = 1; * *
       * number of actions since last crash report.
       * 
*/ public boolean hasActions() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 actions = 1; * *
       * number of actions since last crash report.
       * 
*/ public long getActions() { return actions_; } /** * optional int64 actions = 1; * *
       * number of actions since last crash report.
       * 
*/ public Builder setActions(long value) { bitField0_ |= 0x00000001; actions_ = value; onChanged(); return this; } /** * optional int64 actions = 1; * *
       * number of actions since last crash report.
       * 
*/ public Builder clearActions() { bitField0_ = (bitField0_ & ~0x00000001); actions_ = 0L; onChanged(); return this; } // optional int64 exceptions = 2; private long exceptions_ ; /** * optional int64 exceptions = 2; * *
       * number of exceptions since last crash report.
       * 
*/ public boolean hasExceptions() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int64 exceptions = 2; * *
       * number of exceptions since last crash report.
       * 
*/ public long getExceptions() { return exceptions_; } /** * optional int64 exceptions = 2; * *
       * number of exceptions since last crash report.
       * 
*/ public Builder setExceptions(long value) { bitField0_ |= 0x00000002; exceptions_ = value; onChanged(); return this; } /** * optional int64 exceptions = 2; * *
       * number of exceptions since last crash report.
       * 
*/ public Builder clearExceptions() { bitField0_ = (bitField0_ & ~0x00000002); exceptions_ = 0L; onChanged(); return this; } // optional int64 crashes = 3; private long crashes_ ; /** * optional int64 crashes = 3; * *
       * number of crashes since last crash report.
       * 
*/ public boolean hasCrashes() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional int64 crashes = 3; * *
       * number of crashes since last crash report.
       * 
*/ public long getCrashes() { return crashes_; } /** * optional int64 crashes = 3; * *
       * number of crashes since last crash report.
       * 
*/ public Builder setCrashes(long value) { bitField0_ |= 0x00000004; crashes_ = value; onChanged(); return this; } /** * optional int64 crashes = 3; * *
       * number of crashes since last crash report.
       * 
*/ public Builder clearCrashes() { bitField0_ = (bitField0_ & ~0x00000004); crashes_ = 0L; onChanged(); return this; } // optional int64 bundled_plugin_exceptions = 4; private long bundledPluginExceptions_ ; /** * optional int64 bundled_plugin_exceptions = 4; * *
       * number of exceptions from plugins bundled with Android Studio.
       * 
*/ public boolean hasBundledPluginExceptions() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional int64 bundled_plugin_exceptions = 4; * *
       * number of exceptions from plugins bundled with Android Studio.
       * 
*/ public long getBundledPluginExceptions() { return bundledPluginExceptions_; } /** * optional int64 bundled_plugin_exceptions = 4; * *
       * number of exceptions from plugins bundled with Android Studio.
       * 
*/ public Builder setBundledPluginExceptions(long value) { bitField0_ |= 0x00000008; bundledPluginExceptions_ = value; onChanged(); return this; } /** * optional int64 bundled_plugin_exceptions = 4; * *
       * number of exceptions from plugins bundled with Android Studio.
       * 
*/ public Builder clearBundledPluginExceptions() { bitField0_ = (bitField0_ & ~0x00000008); bundledPluginExceptions_ = 0L; onChanged(); return this; } // optional int64 non_bundled_plugin_exceptions = 5; private long nonBundledPluginExceptions_ ; /** * optional int64 non_bundled_plugin_exceptions = 5; * *
       * number of exceptions from plugins not bundled with Android Studio.
       * 
*/ public boolean hasNonBundledPluginExceptions() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional int64 non_bundled_plugin_exceptions = 5; * *
       * number of exceptions from plugins not bundled with Android Studio.
       * 
*/ public long getNonBundledPluginExceptions() { return nonBundledPluginExceptions_; } /** * optional int64 non_bundled_plugin_exceptions = 5; * *
       * number of exceptions from plugins not bundled with Android Studio.
       * 
*/ public Builder setNonBundledPluginExceptions(long value) { bitField0_ |= 0x00000010; nonBundledPluginExceptions_ = value; onChanged(); return this; } /** * optional int64 non_bundled_plugin_exceptions = 5; * *
       * number of exceptions from plugins not bundled with Android Studio.
       * 
*/ public Builder clearNonBundledPluginExceptions() { bitField0_ = (bitField0_ & ~0x00000010); nonBundledPluginExceptions_ = 0L; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:android_studio.StudioCrash) } static { defaultInstance = new StudioCrash(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:android_studio.StudioCrash) } public interface EmulatorGuestGlInfoOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional string vendor = 1; /** * optional string vendor = 1; * *
     * GL Driver vendor.
     * 
*/ boolean hasVendor(); /** * optional string vendor = 1; * *
     * GL Driver vendor.
     * 
*/ java.lang.String getVendor(); /** * optional string vendor = 1; * *
     * GL Driver vendor.
     * 
*/ com.google.protobuf.ByteString getVendorBytes(); // optional string renderer = 2; /** * optional string renderer = 2; * *
     * GL Driver name.
     * 
*/ boolean hasRenderer(); /** * optional string renderer = 2; * *
     * GL Driver name.
     * 
*/ java.lang.String getRenderer(); /** * optional string renderer = 2; * *
     * GL Driver name.
     * 
*/ com.google.protobuf.ByteString getRendererBytes(); // optional string version = 3; /** * optional string version = 3; * *
     * GL Driver version number.
     * 
*/ boolean hasVersion(); /** * optional string version = 3; * *
     * GL Driver version number.
     * 
*/ java.lang.String getVersion(); /** * optional string version = 3; * *
     * GL Driver version number.
     * 
*/ com.google.protobuf.ByteString getVersionBytes(); } /** * Protobuf type {@code android_studio.EmulatorGuestGlInfo} * *
   * Emulator guest image's GL info.
   * 
*/ public static final class EmulatorGuestGlInfo extends com.google.protobuf.GeneratedMessage implements EmulatorGuestGlInfoOrBuilder { // Use EmulatorGuestGlInfo.newBuilder() to construct. private EmulatorGuestGlInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private EmulatorGuestGlInfo(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final EmulatorGuestGlInfo defaultInstance; public static EmulatorGuestGlInfo getDefaultInstance() { return defaultInstance; } public EmulatorGuestGlInfo getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private EmulatorGuestGlInfo( 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; vendor_ = input.readBytes(); break; } case 18: { bitField0_ |= 0x00000002; renderer_ = input.readBytes(); break; } case 26: { bitField0_ |= 0x00000004; version_ = 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.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_EmulatorGuestGlInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_EmulatorGuestGlInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public EmulatorGuestGlInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new EmulatorGuestGlInfo(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional string vendor = 1; public static final int VENDOR_FIELD_NUMBER = 1; private java.lang.Object vendor_; /** * optional string vendor = 1; * *
     * GL Driver vendor.
     * 
*/ public boolean hasVendor() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string vendor = 1; * *
     * GL Driver vendor.
     * 
*/ public java.lang.String getVendor() { java.lang.Object ref = vendor_; 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()) { vendor_ = s; } return s; } } /** * optional string vendor = 1; * *
     * GL Driver vendor.
     * 
*/ public com.google.protobuf.ByteString getVendorBytes() { java.lang.Object ref = vendor_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); vendor_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string renderer = 2; public static final int RENDERER_FIELD_NUMBER = 2; private java.lang.Object renderer_; /** * optional string renderer = 2; * *
     * GL Driver name.
     * 
*/ public boolean hasRenderer() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string renderer = 2; * *
     * GL Driver name.
     * 
*/ public java.lang.String getRenderer() { java.lang.Object ref = renderer_; 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()) { renderer_ = s; } return s; } } /** * optional string renderer = 2; * *
     * GL Driver name.
     * 
*/ public com.google.protobuf.ByteString getRendererBytes() { java.lang.Object ref = renderer_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); renderer_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string version = 3; public static final int VERSION_FIELD_NUMBER = 3; private java.lang.Object version_; /** * optional string version = 3; * *
     * GL Driver version number.
     * 
*/ public boolean hasVersion() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string version = 3; * *
     * GL Driver version number.
     * 
*/ public java.lang.String getVersion() { java.lang.Object ref = version_; 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()) { version_ = s; } return s; } } /** * optional string version = 3; * *
     * GL Driver version number.
     * 
*/ public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); version_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { vendor_ = ""; renderer_ = ""; version_ = ""; } 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, getVendorBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getRendererBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getVersionBytes()); } 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, getVendorBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getRendererBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getVersionBytes()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo 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.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo 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 android_studio.EmulatorGuestGlInfo} * *
     * Emulator guest image's GL info.
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_EmulatorGuestGlInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_EmulatorGuestGlInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo.Builder.class); } // Construct using com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo.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(); vendor_ = ""; bitField0_ = (bitField0_ & ~0x00000001); renderer_ = ""; bitField0_ = (bitField0_ & ~0x00000002); version_ = ""; bitField0_ = (bitField0_ & ~0x00000004); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_EmulatorGuestGlInfo_descriptor; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo getDefaultInstanceForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo.getDefaultInstance(); } public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo build() { com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo buildPartial() { com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo result = new com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.vendor_ = vendor_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.renderer_ = renderer_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.version_ = version_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo) { return mergeFrom((com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo other) { if (other == com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo.getDefaultInstance()) return this; if (other.hasVendor()) { bitField0_ |= 0x00000001; vendor_ = other.vendor_; onChanged(); } if (other.hasRenderer()) { bitField0_ |= 0x00000002; renderer_ = other.renderer_; onChanged(); } if (other.hasVersion()) { bitField0_ |= 0x00000004; version_ = other.version_; 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.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional string vendor = 1; private java.lang.Object vendor_ = ""; /** * optional string vendor = 1; * *
       * GL Driver vendor.
       * 
*/ public boolean hasVendor() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string vendor = 1; * *
       * GL Driver vendor.
       * 
*/ public java.lang.String getVendor() { java.lang.Object ref = vendor_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); vendor_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string vendor = 1; * *
       * GL Driver vendor.
       * 
*/ public com.google.protobuf.ByteString getVendorBytes() { java.lang.Object ref = vendor_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); vendor_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string vendor = 1; * *
       * GL Driver vendor.
       * 
*/ public Builder setVendor( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; vendor_ = value; onChanged(); return this; } /** * optional string vendor = 1; * *
       * GL Driver vendor.
       * 
*/ public Builder clearVendor() { bitField0_ = (bitField0_ & ~0x00000001); vendor_ = getDefaultInstance().getVendor(); onChanged(); return this; } /** * optional string vendor = 1; * *
       * GL Driver vendor.
       * 
*/ public Builder setVendorBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; vendor_ = value; onChanged(); return this; } // optional string renderer = 2; private java.lang.Object renderer_ = ""; /** * optional string renderer = 2; * *
       * GL Driver name.
       * 
*/ public boolean hasRenderer() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string renderer = 2; * *
       * GL Driver name.
       * 
*/ public java.lang.String getRenderer() { java.lang.Object ref = renderer_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); renderer_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string renderer = 2; * *
       * GL Driver name.
       * 
*/ public com.google.protobuf.ByteString getRendererBytes() { java.lang.Object ref = renderer_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); renderer_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string renderer = 2; * *
       * GL Driver name.
       * 
*/ public Builder setRenderer( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; renderer_ = value; onChanged(); return this; } /** * optional string renderer = 2; * *
       * GL Driver name.
       * 
*/ public Builder clearRenderer() { bitField0_ = (bitField0_ & ~0x00000002); renderer_ = getDefaultInstance().getRenderer(); onChanged(); return this; } /** * optional string renderer = 2; * *
       * GL Driver name.
       * 
*/ public Builder setRendererBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; renderer_ = value; onChanged(); return this; } // optional string version = 3; private java.lang.Object version_ = ""; /** * optional string version = 3; * *
       * GL Driver version number.
       * 
*/ public boolean hasVersion() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string version = 3; * *
       * GL Driver version number.
       * 
*/ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); version_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string version = 3; * *
       * GL Driver version number.
       * 
*/ public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); version_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string version = 3; * *
       * GL Driver version number.
       * 
*/ public Builder setVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; version_ = value; onChanged(); return this; } /** * optional string version = 3; * *
       * GL Driver version number.
       * 
*/ public Builder clearVersion() { bitField0_ = (bitField0_ & ~0x00000004); version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** * optional string version = 3; * *
       * GL Driver version number.
       * 
*/ public Builder setVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; version_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:android_studio.EmulatorGuestGlInfo) } static { defaultInstance = new EmulatorGuestGlInfo(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:android_studio.EmulatorGuestGlInfo) } public interface EmulatorGpuInfoOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional string make = 1; /** * optional string make = 1; * *
     * Make of the Graphics card.
     * 
*/ boolean hasMake(); /** * optional string make = 1; * *
     * Make of the Graphics card.
     * 
*/ java.lang.String getMake(); /** * optional string make = 1; * *
     * Make of the Graphics card.
     * 
*/ com.google.protobuf.ByteString getMakeBytes(); // optional string model = 2; /** * optional string model = 2; * *
     * Model of the Graphics card.
     * 
*/ boolean hasModel(); /** * optional string model = 2; * *
     * Model of the Graphics card.
     * 
*/ java.lang.String getModel(); /** * optional string model = 2; * *
     * Model of the Graphics card.
     * 
*/ com.google.protobuf.ByteString getModelBytes(); // optional string device_id = 3; /** * optional string device_id = 3; * *
     * Device id of the Graphics card.
     * 
*/ boolean hasDeviceId(); /** * optional string device_id = 3; * *
     * Device id of the Graphics card.
     * 
*/ java.lang.String getDeviceId(); /** * optional string device_id = 3; * *
     * Device id of the Graphics card.
     * 
*/ com.google.protobuf.ByteString getDeviceIdBytes(); // optional string revision_id = 4; /** * optional string revision_id = 4; * *
     * Revision of the graphics card.
     * 
*/ boolean hasRevisionId(); /** * optional string revision_id = 4; * *
     * Revision of the graphics card.
     * 
*/ java.lang.String getRevisionId(); /** * optional string revision_id = 4; * *
     * Revision of the graphics card.
     * 
*/ com.google.protobuf.ByteString getRevisionIdBytes(); // optional string version = 5; /** * optional string version = 5; * *
     * Version of the graphics card driver.
     * 
*/ boolean hasVersion(); /** * optional string version = 5; * *
     * Version of the graphics card driver.
     * 
*/ java.lang.String getVersion(); /** * optional string version = 5; * *
     * Version of the graphics card driver.
     * 
*/ com.google.protobuf.ByteString getVersionBytes(); // optional string renderer = 6; /** * optional string renderer = 6; * *
     * Name of the graphics card driver.
     * 
*/ boolean hasRenderer(); /** * optional string renderer = 6; * *
     * Name of the graphics card driver.
     * 
*/ java.lang.String getRenderer(); /** * optional string renderer = 6; * *
     * Name of the graphics card driver.
     * 
*/ com.google.protobuf.ByteString getRendererBytes(); } /** * Protobuf type {@code android_studio.EmulatorGpuInfo} * *
   * Emulator: Host GPU info.
   * 
*/ public static final class EmulatorGpuInfo extends com.google.protobuf.GeneratedMessage implements EmulatorGpuInfoOrBuilder { // Use EmulatorGpuInfo.newBuilder() to construct. private EmulatorGpuInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private EmulatorGpuInfo(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final EmulatorGpuInfo defaultInstance; public static EmulatorGpuInfo getDefaultInstance() { return defaultInstance; } public EmulatorGpuInfo getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private EmulatorGpuInfo( 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; make_ = input.readBytes(); break; } case 18: { bitField0_ |= 0x00000002; model_ = input.readBytes(); break; } case 26: { bitField0_ |= 0x00000004; deviceId_ = input.readBytes(); break; } case 34: { bitField0_ |= 0x00000008; revisionId_ = input.readBytes(); break; } case 42: { bitField0_ |= 0x00000010; version_ = input.readBytes(); break; } case 50: { bitField0_ |= 0x00000020; renderer_ = 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.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_EmulatorGpuInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_EmulatorGpuInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public EmulatorGpuInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new EmulatorGpuInfo(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional string make = 1; public static final int MAKE_FIELD_NUMBER = 1; private java.lang.Object make_; /** * optional string make = 1; * *
     * Make of the Graphics card.
     * 
*/ public boolean hasMake() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string make = 1; * *
     * Make of the Graphics card.
     * 
*/ public java.lang.String getMake() { java.lang.Object ref = make_; 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()) { make_ = s; } return s; } } /** * optional string make = 1; * *
     * Make of the Graphics card.
     * 
*/ public com.google.protobuf.ByteString getMakeBytes() { java.lang.Object ref = make_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); make_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string model = 2; public static final int MODEL_FIELD_NUMBER = 2; private java.lang.Object model_; /** * optional string model = 2; * *
     * Model of the Graphics card.
     * 
*/ public boolean hasModel() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string model = 2; * *
     * Model of the Graphics card.
     * 
*/ public java.lang.String getModel() { java.lang.Object ref = model_; 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()) { model_ = s; } return s; } } /** * optional string model = 2; * *
     * Model of the Graphics card.
     * 
*/ public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); model_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string device_id = 3; public static final int DEVICE_ID_FIELD_NUMBER = 3; private java.lang.Object deviceId_; /** * optional string device_id = 3; * *
     * Device id of the Graphics card.
     * 
*/ public boolean hasDeviceId() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string device_id = 3; * *
     * Device id of the Graphics card.
     * 
*/ public java.lang.String getDeviceId() { java.lang.Object ref = deviceId_; 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()) { deviceId_ = s; } return s; } } /** * optional string device_id = 3; * *
     * Device id of the Graphics card.
     * 
*/ public com.google.protobuf.ByteString getDeviceIdBytes() { java.lang.Object ref = deviceId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); deviceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string revision_id = 4; public static final int REVISION_ID_FIELD_NUMBER = 4; private java.lang.Object revisionId_; /** * optional string revision_id = 4; * *
     * Revision of the graphics card.
     * 
*/ public boolean hasRevisionId() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string revision_id = 4; * *
     * Revision of the graphics card.
     * 
*/ public java.lang.String getRevisionId() { java.lang.Object ref = revisionId_; 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()) { revisionId_ = s; } return s; } } /** * optional string revision_id = 4; * *
     * Revision of the graphics card.
     * 
*/ public com.google.protobuf.ByteString getRevisionIdBytes() { java.lang.Object ref = revisionId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); revisionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string version = 5; public static final int VERSION_FIELD_NUMBER = 5; private java.lang.Object version_; /** * optional string version = 5; * *
     * Version of the graphics card driver.
     * 
*/ public boolean hasVersion() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string version = 5; * *
     * Version of the graphics card driver.
     * 
*/ public java.lang.String getVersion() { java.lang.Object ref = version_; 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()) { version_ = s; } return s; } } /** * optional string version = 5; * *
     * Version of the graphics card driver.
     * 
*/ public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); version_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string renderer = 6; public static final int RENDERER_FIELD_NUMBER = 6; private java.lang.Object renderer_; /** * optional string renderer = 6; * *
     * Name of the graphics card driver.
     * 
*/ public boolean hasRenderer() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional string renderer = 6; * *
     * Name of the graphics card driver.
     * 
*/ public java.lang.String getRenderer() { java.lang.Object ref = renderer_; 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()) { renderer_ = s; } return s; } } /** * optional string renderer = 6; * *
     * Name of the graphics card driver.
     * 
*/ public com.google.protobuf.ByteString getRendererBytes() { java.lang.Object ref = renderer_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); renderer_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { make_ = ""; model_ = ""; deviceId_ = ""; revisionId_ = ""; version_ = ""; renderer_ = ""; } 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, getMakeBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getModelBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getDeviceIdBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, getRevisionIdBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBytes(5, getVersionBytes()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeBytes(6, getRendererBytes()); } 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, getMakeBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getModelBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getDeviceIdBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, getRevisionIdBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, getVersionBytes()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(6, getRendererBytes()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo 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.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo 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 android_studio.EmulatorGpuInfo} * *
     * Emulator: Host GPU info.
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_EmulatorGpuInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_EmulatorGpuInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo.Builder.class); } // Construct using com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo.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(); make_ = ""; bitField0_ = (bitField0_ & ~0x00000001); model_ = ""; bitField0_ = (bitField0_ & ~0x00000002); deviceId_ = ""; bitField0_ = (bitField0_ & ~0x00000004); revisionId_ = ""; bitField0_ = (bitField0_ & ~0x00000008); version_ = ""; bitField0_ = (bitField0_ & ~0x00000010); renderer_ = ""; bitField0_ = (bitField0_ & ~0x00000020); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_EmulatorGpuInfo_descriptor; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo getDefaultInstanceForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo.getDefaultInstance(); } public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo build() { com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo buildPartial() { com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo result = new com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.make_ = make_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.model_ = model_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.deviceId_ = deviceId_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.revisionId_ = revisionId_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.version_ = version_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.renderer_ = renderer_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo) { return mergeFrom((com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo other) { if (other == com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo.getDefaultInstance()) return this; if (other.hasMake()) { bitField0_ |= 0x00000001; make_ = other.make_; onChanged(); } if (other.hasModel()) { bitField0_ |= 0x00000002; model_ = other.model_; onChanged(); } if (other.hasDeviceId()) { bitField0_ |= 0x00000004; deviceId_ = other.deviceId_; onChanged(); } if (other.hasRevisionId()) { bitField0_ |= 0x00000008; revisionId_ = other.revisionId_; onChanged(); } if (other.hasVersion()) { bitField0_ |= 0x00000010; version_ = other.version_; onChanged(); } if (other.hasRenderer()) { bitField0_ |= 0x00000020; renderer_ = other.renderer_; 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.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional string make = 1; private java.lang.Object make_ = ""; /** * optional string make = 1; * *
       * Make of the Graphics card.
       * 
*/ public boolean hasMake() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string make = 1; * *
       * Make of the Graphics card.
       * 
*/ public java.lang.String getMake() { java.lang.Object ref = make_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); make_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string make = 1; * *
       * Make of the Graphics card.
       * 
*/ public com.google.protobuf.ByteString getMakeBytes() { java.lang.Object ref = make_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); make_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string make = 1; * *
       * Make of the Graphics card.
       * 
*/ public Builder setMake( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; make_ = value; onChanged(); return this; } /** * optional string make = 1; * *
       * Make of the Graphics card.
       * 
*/ public Builder clearMake() { bitField0_ = (bitField0_ & ~0x00000001); make_ = getDefaultInstance().getMake(); onChanged(); return this; } /** * optional string make = 1; * *
       * Make of the Graphics card.
       * 
*/ public Builder setMakeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; make_ = value; onChanged(); return this; } // optional string model = 2; private java.lang.Object model_ = ""; /** * optional string model = 2; * *
       * Model of the Graphics card.
       * 
*/ public boolean hasModel() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string model = 2; * *
       * Model of the Graphics card.
       * 
*/ public java.lang.String getModel() { java.lang.Object ref = model_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); model_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string model = 2; * *
       * Model of the Graphics card.
       * 
*/ public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); model_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string model = 2; * *
       * Model of the Graphics card.
       * 
*/ public Builder setModel( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; model_ = value; onChanged(); return this; } /** * optional string model = 2; * *
       * Model of the Graphics card.
       * 
*/ public Builder clearModel() { bitField0_ = (bitField0_ & ~0x00000002); model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** * optional string model = 2; * *
       * Model of the Graphics card.
       * 
*/ public Builder setModelBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; model_ = value; onChanged(); return this; } // optional string device_id = 3; private java.lang.Object deviceId_ = ""; /** * optional string device_id = 3; * *
       * Device id of the Graphics card.
       * 
*/ public boolean hasDeviceId() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string device_id = 3; * *
       * Device id of the Graphics card.
       * 
*/ public java.lang.String getDeviceId() { java.lang.Object ref = deviceId_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); deviceId_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string device_id = 3; * *
       * Device id of the Graphics card.
       * 
*/ public com.google.protobuf.ByteString getDeviceIdBytes() { java.lang.Object ref = deviceId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); deviceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string device_id = 3; * *
       * Device id of the Graphics card.
       * 
*/ public Builder setDeviceId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; deviceId_ = value; onChanged(); return this; } /** * optional string device_id = 3; * *
       * Device id of the Graphics card.
       * 
*/ public Builder clearDeviceId() { bitField0_ = (bitField0_ & ~0x00000004); deviceId_ = getDefaultInstance().getDeviceId(); onChanged(); return this; } /** * optional string device_id = 3; * *
       * Device id of the Graphics card.
       * 
*/ public Builder setDeviceIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; deviceId_ = value; onChanged(); return this; } // optional string revision_id = 4; private java.lang.Object revisionId_ = ""; /** * optional string revision_id = 4; * *
       * Revision of the graphics card.
       * 
*/ public boolean hasRevisionId() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string revision_id = 4; * *
       * Revision of the graphics card.
       * 
*/ public java.lang.String getRevisionId() { java.lang.Object ref = revisionId_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); revisionId_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string revision_id = 4; * *
       * Revision of the graphics card.
       * 
*/ public com.google.protobuf.ByteString getRevisionIdBytes() { java.lang.Object ref = revisionId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); revisionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string revision_id = 4; * *
       * Revision of the graphics card.
       * 
*/ public Builder setRevisionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; revisionId_ = value; onChanged(); return this; } /** * optional string revision_id = 4; * *
       * Revision of the graphics card.
       * 
*/ public Builder clearRevisionId() { bitField0_ = (bitField0_ & ~0x00000008); revisionId_ = getDefaultInstance().getRevisionId(); onChanged(); return this; } /** * optional string revision_id = 4; * *
       * Revision of the graphics card.
       * 
*/ public Builder setRevisionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; revisionId_ = value; onChanged(); return this; } // optional string version = 5; private java.lang.Object version_ = ""; /** * optional string version = 5; * *
       * Version of the graphics card driver.
       * 
*/ public boolean hasVersion() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string version = 5; * *
       * Version of the graphics card driver.
       * 
*/ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); version_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string version = 5; * *
       * Version of the graphics card driver.
       * 
*/ public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); version_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string version = 5; * *
       * Version of the graphics card driver.
       * 
*/ public Builder setVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; version_ = value; onChanged(); return this; } /** * optional string version = 5; * *
       * Version of the graphics card driver.
       * 
*/ public Builder clearVersion() { bitField0_ = (bitField0_ & ~0x00000010); version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** * optional string version = 5; * *
       * Version of the graphics card driver.
       * 
*/ public Builder setVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; version_ = value; onChanged(); return this; } // optional string renderer = 6; private java.lang.Object renderer_ = ""; /** * optional string renderer = 6; * *
       * Name of the graphics card driver.
       * 
*/ public boolean hasRenderer() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional string renderer = 6; * *
       * Name of the graphics card driver.
       * 
*/ public java.lang.String getRenderer() { java.lang.Object ref = renderer_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); renderer_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string renderer = 6; * *
       * Name of the graphics card driver.
       * 
*/ public com.google.protobuf.ByteString getRendererBytes() { java.lang.Object ref = renderer_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); renderer_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string renderer = 6; * *
       * Name of the graphics card driver.
       * 
*/ public Builder setRenderer( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; renderer_ = value; onChanged(); return this; } /** * optional string renderer = 6; * *
       * Name of the graphics card driver.
       * 
*/ public Builder clearRenderer() { bitField0_ = (bitField0_ & ~0x00000020); renderer_ = getDefaultInstance().getRenderer(); onChanged(); return this; } /** * optional string renderer = 6; * *
       * Name of the graphics card driver.
       * 
*/ public Builder setRendererBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; renderer_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:android_studio.EmulatorGpuInfo) } static { defaultInstance = new EmulatorGpuInfo(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:android_studio.EmulatorGpuInfo) } public interface EmulatorDetailsOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional .android_studio.EmulatorDetails.GuestCpuArchitecture guest_arch = 1; /** * optional .android_studio.EmulatorDetails.GuestCpuArchitecture guest_arch = 1; * *
     * Cpu architecture of the guest.
     * 
*/ boolean hasGuestArch(); /** * optional .android_studio.EmulatorDetails.GuestCpuArchitecture guest_arch = 1; * *
     * Cpu architecture of the guest.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.GuestCpuArchitecture getGuestArch(); // optional int64 system_time = 2; /** * optional int64 system_time = 2; * *
     * cpu time spent in kernel mode in milliseconds since last metrics report.
     * 
*/ boolean hasSystemTime(); /** * optional int64 system_time = 2; * *
     * cpu time spent in kernel mode in milliseconds since last metrics report.
     * 
*/ long getSystemTime(); // optional int64 user_time = 3; /** * optional int64 user_time = 3; * *
     * cpu time spent in user mode in milliseconds since last metrics report.
     * 
*/ boolean hasUserTime(); /** * optional int64 user_time = 3; * *
     * cpu time spent in user mode in milliseconds since last metrics report.
     * 
*/ long getUserTime(); // optional int64 crashes = 4; /** * optional int64 crashes = 4; * *
     * number of crashes since last metrics report.
     * 
*/ boolean hasCrashes(); /** * optional int64 crashes = 4; * *
     * number of crashes since last metrics report.
     * 
*/ long getCrashes(); // optional int64 wall_time = 5; /** * optional int64 wall_time = 5; * *
     * real time in milliseconds since last metrics report.
     * 
*/ boolean hasWallTime(); /** * optional int64 wall_time = 5; * *
     * real time in milliseconds since last metrics report.
     * 
*/ long getWallTime(); // optional bool exit_started = 6; /** * optional bool exit_started = 6; * *
     * True iff a crash occurred while process started its exit routines.
     * 
*/ boolean hasExitStarted(); /** * optional bool exit_started = 6; * *
     * True iff a crash occurred while process started its exit routines.
     * 
*/ boolean getExitStarted(); // optional int64 guest_api_level = 7; /** * optional int64 guest_api_level = 7; * *
     * The API level of the running guest image.
     * 
*/ boolean hasGuestApiLevel(); /** * optional int64 guest_api_level = 7; * *
     * The API level of the running guest image.
     * 
*/ long getGuestApiLevel(); // optional bool guest_gpu_enabled = 8; /** * optional bool guest_gpu_enabled = 8; * *
     * The value of guest gpu option (ro.kernel.qemu.gles)
     * 
*/ boolean hasGuestGpuEnabled(); /** * optional bool guest_gpu_enabled = 8; * *
     * The value of guest gpu option (ro.kernel.qemu.gles)
     * 
*/ boolean getGuestGpuEnabled(); // optional bool is_opengl_alive = 10; /** * optional bool is_opengl_alive = 10; * *
     * True if we were able to correctly initialize opengl on the host.
     * 
*/ boolean hasIsOpenglAlive(); /** * optional bool is_opengl_alive = 10; * *
     * True if we were able to correctly initialize opengl on the host.
     * 
*/ boolean getIsOpenglAlive(); // optional .android_studio.EmulatorDetails.EmulatorAdbLiveness adb_liveness = 11; /** * optional .android_studio.EmulatorDetails.EmulatorAdbLiveness adb_liveness = 11; * *
     * Connectivity from adb of the running emulator instance.
     * 
*/ boolean hasAdbLiveness(); /** * optional .android_studio.EmulatorDetails.EmulatorAdbLiveness adb_liveness = 11; * *
     * Connectivity from adb of the running emulator instance.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.EmulatorAdbLiveness getAdbLiveness(); // optional .android_studio.EmulatorGuestGlInfo guest_gl = 12; /** * optional .android_studio.EmulatorGuestGlInfo guest_gl = 12; * *
     * Information about the gl implementation in the guest image.
     * 
*/ boolean hasGuestGl(); /** * optional .android_studio.EmulatorGuestGlInfo guest_gl = 12; * *
     * Information about the gl implementation in the guest image.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo getGuestGl(); /** * optional .android_studio.EmulatorGuestGlInfo guest_gl = 12; * *
     * Information about the gl implementation in the guest image.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfoOrBuilder getGuestGlOrBuilder(); // repeated .android_studio.EmulatorGpuInfo host_gpu = 13; /** * repeated .android_studio.EmulatorGpuInfo host_gpu = 13; * *
     * Information about the host GPUs (one per GPU).
     * 
*/ java.util.List getHostGpuList(); /** * repeated .android_studio.EmulatorGpuInfo host_gpu = 13; * *
     * Information about the host GPUs (one per GPU).
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo getHostGpu(int index); /** * repeated .android_studio.EmulatorGpuInfo host_gpu = 13; * *
     * Information about the host GPUs (one per GPU).
     * 
*/ int getHostGpuCount(); /** * repeated .android_studio.EmulatorGpuInfo host_gpu = 13; * *
     * Information about the host GPUs (one per GPU).
     * 
*/ java.util.List getHostGpuOrBuilderList(); /** * repeated .android_studio.EmulatorGpuInfo host_gpu = 13; * *
     * Information about the host GPUs (one per GPU).
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfoOrBuilder getHostGpuOrBuilder( int index); // optional .android_studio.EmulatorDetails.EmulatorSessionPhase session_phase = 14; /** * optional .android_studio.EmulatorDetails.EmulatorSessionPhase session_phase = 14; * *
     * The "phase" of an emulator session where crash happened.
     * 
*/ boolean hasSessionPhase(); /** * optional .android_studio.EmulatorDetails.EmulatorSessionPhase session_phase = 14; * *
     * The "phase" of an emulator session where crash happened.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.EmulatorSessionPhase getSessionPhase(); } /** * Protobuf type {@code android_studio.EmulatorDetails} * *
   * Metrics related to the Emulator.
   * 
*/ public static final class EmulatorDetails extends com.google.protobuf.GeneratedMessage implements EmulatorDetailsOrBuilder { // Use EmulatorDetails.newBuilder() to construct. private EmulatorDetails(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private EmulatorDetails(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final EmulatorDetails defaultInstance; public static EmulatorDetails getDefaultInstance() { return defaultInstance; } public EmulatorDetails getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private EmulatorDetails( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { int rawValue = input.readEnum(); com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.GuestCpuArchitecture value = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.GuestCpuArchitecture.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { bitField0_ |= 0x00000001; guestArch_ = value; } break; } case 16: { bitField0_ |= 0x00000002; systemTime_ = input.readInt64(); break; } case 24: { bitField0_ |= 0x00000004; userTime_ = input.readInt64(); break; } case 32: { bitField0_ |= 0x00000008; crashes_ = input.readInt64(); break; } case 40: { bitField0_ |= 0x00000010; wallTime_ = input.readInt64(); break; } case 48: { bitField0_ |= 0x00000020; exitStarted_ = input.readBool(); break; } case 56: { bitField0_ |= 0x00000040; guestApiLevel_ = input.readInt64(); break; } case 64: { bitField0_ |= 0x00000080; guestGpuEnabled_ = input.readBool(); break; } case 80: { bitField0_ |= 0x00000100; isOpenglAlive_ = input.readBool(); break; } case 88: { int rawValue = input.readEnum(); com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.EmulatorAdbLiveness value = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.EmulatorAdbLiveness.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(11, rawValue); } else { bitField0_ |= 0x00000200; adbLiveness_ = value; } break; } case 98: { com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000400) == 0x00000400)) { subBuilder = guestGl_.toBuilder(); } guestGl_ = input.readMessage(com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(guestGl_); guestGl_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000400; break; } case 106: { if (!((mutable_bitField0_ & 0x00000800) == 0x00000800)) { hostGpu_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000800; } hostGpu_.add(input.readMessage(com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo.PARSER, extensionRegistry)); break; } case 112: { int rawValue = input.readEnum(); com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.EmulatorSessionPhase value = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.EmulatorSessionPhase.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(14, rawValue); } else { bitField0_ |= 0x00000800; sessionPhase_ = value; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000800) == 0x00000800)) { hostGpu_ = java.util.Collections.unmodifiableList(hostGpu_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_EmulatorDetails_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_EmulatorDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public EmulatorDetails parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new EmulatorDetails(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } /** * Protobuf enum {@code android_studio.EmulatorDetails.EmulatorAdbLiveness} * *
     * Emulator instance liveness as determined via adb connectivity.
     * 
*/ public enum EmulatorAdbLiveness implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN_EMULATOR_ADB_LIVENESS = 0; */ UNKNOWN_EMULATOR_ADB_LIVENESS(0, 0), /** * FAILURE_NO_ADB = 1; */ FAILURE_NO_ADB(1, 1), /** * ADB_ONLINE = 2; */ ADB_ONLINE(2, 2), /** * FAILURE_ADB_SERVER_DEAD = 3; */ FAILURE_ADB_SERVER_DEAD(3, 3), /** * FAILURE_EMULATOR_DEAD = 4; */ FAILURE_EMULATOR_DEAD(4, 4), ; /** * UNKNOWN_EMULATOR_ADB_LIVENESS = 0; */ public static final int UNKNOWN_EMULATOR_ADB_LIVENESS_VALUE = 0; /** * FAILURE_NO_ADB = 1; */ public static final int FAILURE_NO_ADB_VALUE = 1; /** * ADB_ONLINE = 2; */ public static final int ADB_ONLINE_VALUE = 2; /** * FAILURE_ADB_SERVER_DEAD = 3; */ public static final int FAILURE_ADB_SERVER_DEAD_VALUE = 3; /** * FAILURE_EMULATOR_DEAD = 4; */ public static final int FAILURE_EMULATOR_DEAD_VALUE = 4; public final int getNumber() { return value; } public static EmulatorAdbLiveness valueOf(int value) { switch (value) { case 0: return UNKNOWN_EMULATOR_ADB_LIVENESS; case 1: return FAILURE_NO_ADB; case 2: return ADB_ONLINE; case 3: return FAILURE_ADB_SERVER_DEAD; case 4: return FAILURE_EMULATOR_DEAD; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public EmulatorAdbLiveness findValueByNumber(int number) { return EmulatorAdbLiveness.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.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.getDescriptor().getEnumTypes().get(0); } private static final EmulatorAdbLiveness[] VALUES = values(); public static EmulatorAdbLiveness 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 EmulatorAdbLiveness(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:android_studio.EmulatorDetails.EmulatorAdbLiveness) } /** * Protobuf enum {@code android_studio.EmulatorDetails.EmulatorSessionPhase} * *
     * In What phase of the lifetime of the Emulator were the metrics reported.
     * 
*/ public enum EmulatorSessionPhase implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN_EMULATOR_SESSION_PHASE = 0; */ UNKNOWN_EMULATOR_SESSION_PHASE(0, 0), /** * LAUNCHER = 1; * *
       * The custom emulator launcher is running.
       * 
*/ LAUNCHER(1, 1), /** * PARSE_OPTIONS = 2; * *
       * Final emulator target is parsing command line arguments.
       * 
*/ PARSE_OPTIONS(2, 2), /** * INIT_GENERAL = 3; * *
       * Initialization - general.
       * 
*/ INIT_GENERAL(3, 3), /** * INIT_GPU = 4; * *
       * Initializing GPU
       * 
*/ INIT_GPU(4, 4), /** * INIT_ACCEL = 5; * *
       * Initializing hardware acceleration.
       * 
*/ INIT_ACCEL(5, 5), /** * RUNNING_GENERAL = 6; * *
       * Main use case -- init done, emulator is up.
       * 
*/ RUNNING_GENERAL(6, 6), /** * EXIT_GENERAL = 7; * *
       * Exiting
       * 
*/ EXIT_GENERAL(7, 7), ; /** * UNKNOWN_EMULATOR_SESSION_PHASE = 0; */ public static final int UNKNOWN_EMULATOR_SESSION_PHASE_VALUE = 0; /** * LAUNCHER = 1; * *
       * The custom emulator launcher is running.
       * 
*/ public static final int LAUNCHER_VALUE = 1; /** * PARSE_OPTIONS = 2; * *
       * Final emulator target is parsing command line arguments.
       * 
*/ public static final int PARSE_OPTIONS_VALUE = 2; /** * INIT_GENERAL = 3; * *
       * Initialization - general.
       * 
*/ public static final int INIT_GENERAL_VALUE = 3; /** * INIT_GPU = 4; * *
       * Initializing GPU
       * 
*/ public static final int INIT_GPU_VALUE = 4; /** * INIT_ACCEL = 5; * *
       * Initializing hardware acceleration.
       * 
*/ public static final int INIT_ACCEL_VALUE = 5; /** * RUNNING_GENERAL = 6; * *
       * Main use case -- init done, emulator is up.
       * 
*/ public static final int RUNNING_GENERAL_VALUE = 6; /** * EXIT_GENERAL = 7; * *
       * Exiting
       * 
*/ public static final int EXIT_GENERAL_VALUE = 7; public final int getNumber() { return value; } public static EmulatorSessionPhase valueOf(int value) { switch (value) { case 0: return UNKNOWN_EMULATOR_SESSION_PHASE; case 1: return LAUNCHER; case 2: return PARSE_OPTIONS; case 3: return INIT_GENERAL; case 4: return INIT_GPU; case 5: return INIT_ACCEL; case 6: return RUNNING_GENERAL; case 7: return EXIT_GENERAL; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public EmulatorSessionPhase findValueByNumber(int number) { return EmulatorSessionPhase.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.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.getDescriptor().getEnumTypes().get(1); } private static final EmulatorSessionPhase[] VALUES = values(); public static EmulatorSessionPhase 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 EmulatorSessionPhase(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:android_studio.EmulatorDetails.EmulatorSessionPhase) } /** * Protobuf enum {@code android_studio.EmulatorDetails.GuestCpuArchitecture} * *
     * Chip the emulator is emulating for.
     * 
*/ public enum GuestCpuArchitecture implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN_GUEST_CPU_ARCHITECTURE = 0; */ UNKNOWN_GUEST_CPU_ARCHITECTURE(0, 0), /** * X86 = 1; */ X86(1, 1), /** * X86_64 = 2; */ X86_64(2, 2), /** * ARM = 3; */ ARM(3, 3), /** * ARM_64 = 4; */ ARM_64(4, 4), /** * MIPS = 5; */ MIPS(5, 5), /** * MIPS_64 = 6; */ MIPS_64(6, 6), ; /** * UNKNOWN_GUEST_CPU_ARCHITECTURE = 0; */ public static final int UNKNOWN_GUEST_CPU_ARCHITECTURE_VALUE = 0; /** * X86 = 1; */ public static final int X86_VALUE = 1; /** * X86_64 = 2; */ public static final int X86_64_VALUE = 2; /** * ARM = 3; */ public static final int ARM_VALUE = 3; /** * ARM_64 = 4; */ public static final int ARM_64_VALUE = 4; /** * MIPS = 5; */ public static final int MIPS_VALUE = 5; /** * MIPS_64 = 6; */ public static final int MIPS_64_VALUE = 6; public final int getNumber() { return value; } public static GuestCpuArchitecture valueOf(int value) { switch (value) { case 0: return UNKNOWN_GUEST_CPU_ARCHITECTURE; case 1: return X86; case 2: return X86_64; case 3: return ARM; case 4: return ARM_64; case 5: return MIPS; case 6: return MIPS_64; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public GuestCpuArchitecture findValueByNumber(int number) { return GuestCpuArchitecture.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.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.getDescriptor().getEnumTypes().get(2); } private static final GuestCpuArchitecture[] VALUES = values(); public static GuestCpuArchitecture 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 GuestCpuArchitecture(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:android_studio.EmulatorDetails.GuestCpuArchitecture) } private int bitField0_; // optional .android_studio.EmulatorDetails.GuestCpuArchitecture guest_arch = 1; public static final int GUEST_ARCH_FIELD_NUMBER = 1; private com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.GuestCpuArchitecture guestArch_; /** * optional .android_studio.EmulatorDetails.GuestCpuArchitecture guest_arch = 1; * *
     * Cpu architecture of the guest.
     * 
*/ public boolean hasGuestArch() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .android_studio.EmulatorDetails.GuestCpuArchitecture guest_arch = 1; * *
     * Cpu architecture of the guest.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.GuestCpuArchitecture getGuestArch() { return guestArch_; } // optional int64 system_time = 2; public static final int SYSTEM_TIME_FIELD_NUMBER = 2; private long systemTime_; /** * optional int64 system_time = 2; * *
     * cpu time spent in kernel mode in milliseconds since last metrics report.
     * 
*/ public boolean hasSystemTime() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int64 system_time = 2; * *
     * cpu time spent in kernel mode in milliseconds since last metrics report.
     * 
*/ public long getSystemTime() { return systemTime_; } // optional int64 user_time = 3; public static final int USER_TIME_FIELD_NUMBER = 3; private long userTime_; /** * optional int64 user_time = 3; * *
     * cpu time spent in user mode in milliseconds since last metrics report.
     * 
*/ public boolean hasUserTime() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional int64 user_time = 3; * *
     * cpu time spent in user mode in milliseconds since last metrics report.
     * 
*/ public long getUserTime() { return userTime_; } // optional int64 crashes = 4; public static final int CRASHES_FIELD_NUMBER = 4; private long crashes_; /** * optional int64 crashes = 4; * *
     * number of crashes since last metrics report.
     * 
*/ public boolean hasCrashes() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional int64 crashes = 4; * *
     * number of crashes since last metrics report.
     * 
*/ public long getCrashes() { return crashes_; } // optional int64 wall_time = 5; public static final int WALL_TIME_FIELD_NUMBER = 5; private long wallTime_; /** * optional int64 wall_time = 5; * *
     * real time in milliseconds since last metrics report.
     * 
*/ public boolean hasWallTime() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional int64 wall_time = 5; * *
     * real time in milliseconds since last metrics report.
     * 
*/ public long getWallTime() { return wallTime_; } // optional bool exit_started = 6; public static final int EXIT_STARTED_FIELD_NUMBER = 6; private boolean exitStarted_; /** * optional bool exit_started = 6; * *
     * True iff a crash occurred while process started its exit routines.
     * 
*/ public boolean hasExitStarted() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional bool exit_started = 6; * *
     * True iff a crash occurred while process started its exit routines.
     * 
*/ public boolean getExitStarted() { return exitStarted_; } // optional int64 guest_api_level = 7; public static final int GUEST_API_LEVEL_FIELD_NUMBER = 7; private long guestApiLevel_; /** * optional int64 guest_api_level = 7; * *
     * The API level of the running guest image.
     * 
*/ public boolean hasGuestApiLevel() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional int64 guest_api_level = 7; * *
     * The API level of the running guest image.
     * 
*/ public long getGuestApiLevel() { return guestApiLevel_; } // optional bool guest_gpu_enabled = 8; public static final int GUEST_GPU_ENABLED_FIELD_NUMBER = 8; private boolean guestGpuEnabled_; /** * optional bool guest_gpu_enabled = 8; * *
     * The value of guest gpu option (ro.kernel.qemu.gles)
     * 
*/ public boolean hasGuestGpuEnabled() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional bool guest_gpu_enabled = 8; * *
     * The value of guest gpu option (ro.kernel.qemu.gles)
     * 
*/ public boolean getGuestGpuEnabled() { return guestGpuEnabled_; } // optional bool is_opengl_alive = 10; public static final int IS_OPENGL_ALIVE_FIELD_NUMBER = 10; private boolean isOpenglAlive_; /** * optional bool is_opengl_alive = 10; * *
     * True if we were able to correctly initialize opengl on the host.
     * 
*/ public boolean hasIsOpenglAlive() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional bool is_opengl_alive = 10; * *
     * True if we were able to correctly initialize opengl on the host.
     * 
*/ public boolean getIsOpenglAlive() { return isOpenglAlive_; } // optional .android_studio.EmulatorDetails.EmulatorAdbLiveness adb_liveness = 11; public static final int ADB_LIVENESS_FIELD_NUMBER = 11; private com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.EmulatorAdbLiveness adbLiveness_; /** * optional .android_studio.EmulatorDetails.EmulatorAdbLiveness adb_liveness = 11; * *
     * Connectivity from adb of the running emulator instance.
     * 
*/ public boolean hasAdbLiveness() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * optional .android_studio.EmulatorDetails.EmulatorAdbLiveness adb_liveness = 11; * *
     * Connectivity from adb of the running emulator instance.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.EmulatorAdbLiveness getAdbLiveness() { return adbLiveness_; } // optional .android_studio.EmulatorGuestGlInfo guest_gl = 12; public static final int GUEST_GL_FIELD_NUMBER = 12; private com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo guestGl_; /** * optional .android_studio.EmulatorGuestGlInfo guest_gl = 12; * *
     * Information about the gl implementation in the guest image.
     * 
*/ public boolean hasGuestGl() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * optional .android_studio.EmulatorGuestGlInfo guest_gl = 12; * *
     * Information about the gl implementation in the guest image.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo getGuestGl() { return guestGl_; } /** * optional .android_studio.EmulatorGuestGlInfo guest_gl = 12; * *
     * Information about the gl implementation in the guest image.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfoOrBuilder getGuestGlOrBuilder() { return guestGl_; } // repeated .android_studio.EmulatorGpuInfo host_gpu = 13; public static final int HOST_GPU_FIELD_NUMBER = 13; private java.util.List hostGpu_; /** * repeated .android_studio.EmulatorGpuInfo host_gpu = 13; * *
     * Information about the host GPUs (one per GPU).
     * 
*/ public java.util.List getHostGpuList() { return hostGpu_; } /** * repeated .android_studio.EmulatorGpuInfo host_gpu = 13; * *
     * Information about the host GPUs (one per GPU).
     * 
*/ public java.util.List getHostGpuOrBuilderList() { return hostGpu_; } /** * repeated .android_studio.EmulatorGpuInfo host_gpu = 13; * *
     * Information about the host GPUs (one per GPU).
     * 
*/ public int getHostGpuCount() { return hostGpu_.size(); } /** * repeated .android_studio.EmulatorGpuInfo host_gpu = 13; * *
     * Information about the host GPUs (one per GPU).
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo getHostGpu(int index) { return hostGpu_.get(index); } /** * repeated .android_studio.EmulatorGpuInfo host_gpu = 13; * *
     * Information about the host GPUs (one per GPU).
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfoOrBuilder getHostGpuOrBuilder( int index) { return hostGpu_.get(index); } // optional .android_studio.EmulatorDetails.EmulatorSessionPhase session_phase = 14; public static final int SESSION_PHASE_FIELD_NUMBER = 14; private com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.EmulatorSessionPhase sessionPhase_; /** * optional .android_studio.EmulatorDetails.EmulatorSessionPhase session_phase = 14; * *
     * The "phase" of an emulator session where crash happened.
     * 
*/ public boolean hasSessionPhase() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** * optional .android_studio.EmulatorDetails.EmulatorSessionPhase session_phase = 14; * *
     * The "phase" of an emulator session where crash happened.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.EmulatorSessionPhase getSessionPhase() { return sessionPhase_; } private void initFields() { guestArch_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.GuestCpuArchitecture.UNKNOWN_GUEST_CPU_ARCHITECTURE; systemTime_ = 0L; userTime_ = 0L; crashes_ = 0L; wallTime_ = 0L; exitStarted_ = false; guestApiLevel_ = 0L; guestGpuEnabled_ = false; isOpenglAlive_ = false; adbLiveness_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.EmulatorAdbLiveness.UNKNOWN_EMULATOR_ADB_LIVENESS; guestGl_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo.getDefaultInstance(); hostGpu_ = java.util.Collections.emptyList(); sessionPhase_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.EmulatorSessionPhase.UNKNOWN_EMULATOR_SESSION_PHASE; } 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.writeEnum(1, guestArch_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt64(2, systemTime_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt64(3, userTime_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt64(4, crashes_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeInt64(5, wallTime_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeBool(6, exitStarted_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeInt64(7, guestApiLevel_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeBool(8, guestGpuEnabled_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeBool(10, isOpenglAlive_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { output.writeEnum(11, adbLiveness_.getNumber()); } if (((bitField0_ & 0x00000400) == 0x00000400)) { output.writeMessage(12, guestGl_); } for (int i = 0; i < hostGpu_.size(); i++) { output.writeMessage(13, hostGpu_.get(i)); } if (((bitField0_ & 0x00000800) == 0x00000800)) { output.writeEnum(14, sessionPhase_.getNumber()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, guestArch_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, systemTime_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, userTime_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, crashes_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, wallTime_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(6, exitStarted_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(7, guestApiLevel_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(8, guestGpuEnabled_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(10, isOpenglAlive_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(11, adbLiveness_.getNumber()); } if (((bitField0_ & 0x00000400) == 0x00000400)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, guestGl_); } for (int i = 0; i < hostGpu_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, hostGpu_.get(i)); } if (((bitField0_ & 0x00000800) == 0x00000800)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(14, sessionPhase_.getNumber()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails 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.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails 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 android_studio.EmulatorDetails} * *
     * Metrics related to the Emulator.
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetailsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_EmulatorDetails_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_EmulatorDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.Builder.class); } // Construct using com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getGuestGlFieldBuilder(); getHostGpuFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); guestArch_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.GuestCpuArchitecture.UNKNOWN_GUEST_CPU_ARCHITECTURE; bitField0_ = (bitField0_ & ~0x00000001); systemTime_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); userTime_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); crashes_ = 0L; bitField0_ = (bitField0_ & ~0x00000008); wallTime_ = 0L; bitField0_ = (bitField0_ & ~0x00000010); exitStarted_ = false; bitField0_ = (bitField0_ & ~0x00000020); guestApiLevel_ = 0L; bitField0_ = (bitField0_ & ~0x00000040); guestGpuEnabled_ = false; bitField0_ = (bitField0_ & ~0x00000080); isOpenglAlive_ = false; bitField0_ = (bitField0_ & ~0x00000100); adbLiveness_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.EmulatorAdbLiveness.UNKNOWN_EMULATOR_ADB_LIVENESS; bitField0_ = (bitField0_ & ~0x00000200); if (guestGlBuilder_ == null) { guestGl_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo.getDefaultInstance(); } else { guestGlBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000400); if (hostGpuBuilder_ == null) { hostGpu_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000800); } else { hostGpuBuilder_.clear(); } sessionPhase_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.EmulatorSessionPhase.UNKNOWN_EMULATOR_SESSION_PHASE; bitField0_ = (bitField0_ & ~0x00001000); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_EmulatorDetails_descriptor; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails getDefaultInstanceForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.getDefaultInstance(); } public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails build() { com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails buildPartial() { com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails result = new com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.guestArch_ = guestArch_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.systemTime_ = systemTime_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.userTime_ = userTime_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.crashes_ = crashes_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.wallTime_ = wallTime_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.exitStarted_ = exitStarted_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.guestApiLevel_ = guestApiLevel_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } result.guestGpuEnabled_ = guestGpuEnabled_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000100; } result.isOpenglAlive_ = isOpenglAlive_; if (((from_bitField0_ & 0x00000200) == 0x00000200)) { to_bitField0_ |= 0x00000200; } result.adbLiveness_ = adbLiveness_; if (((from_bitField0_ & 0x00000400) == 0x00000400)) { to_bitField0_ |= 0x00000400; } if (guestGlBuilder_ == null) { result.guestGl_ = guestGl_; } else { result.guestGl_ = guestGlBuilder_.build(); } if (hostGpuBuilder_ == null) { if (((bitField0_ & 0x00000800) == 0x00000800)) { hostGpu_ = java.util.Collections.unmodifiableList(hostGpu_); bitField0_ = (bitField0_ & ~0x00000800); } result.hostGpu_ = hostGpu_; } else { result.hostGpu_ = hostGpuBuilder_.build(); } if (((from_bitField0_ & 0x00001000) == 0x00001000)) { to_bitField0_ |= 0x00000800; } result.sessionPhase_ = sessionPhase_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails) { return mergeFrom((com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails other) { if (other == com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.getDefaultInstance()) return this; if (other.hasGuestArch()) { setGuestArch(other.getGuestArch()); } if (other.hasSystemTime()) { setSystemTime(other.getSystemTime()); } if (other.hasUserTime()) { setUserTime(other.getUserTime()); } if (other.hasCrashes()) { setCrashes(other.getCrashes()); } if (other.hasWallTime()) { setWallTime(other.getWallTime()); } if (other.hasExitStarted()) { setExitStarted(other.getExitStarted()); } if (other.hasGuestApiLevel()) { setGuestApiLevel(other.getGuestApiLevel()); } if (other.hasGuestGpuEnabled()) { setGuestGpuEnabled(other.getGuestGpuEnabled()); } if (other.hasIsOpenglAlive()) { setIsOpenglAlive(other.getIsOpenglAlive()); } if (other.hasAdbLiveness()) { setAdbLiveness(other.getAdbLiveness()); } if (other.hasGuestGl()) { mergeGuestGl(other.getGuestGl()); } if (hostGpuBuilder_ == null) { if (!other.hostGpu_.isEmpty()) { if (hostGpu_.isEmpty()) { hostGpu_ = other.hostGpu_; bitField0_ = (bitField0_ & ~0x00000800); } else { ensureHostGpuIsMutable(); hostGpu_.addAll(other.hostGpu_); } onChanged(); } } else { if (!other.hostGpu_.isEmpty()) { if (hostGpuBuilder_.isEmpty()) { hostGpuBuilder_.dispose(); hostGpuBuilder_ = null; hostGpu_ = other.hostGpu_; bitField0_ = (bitField0_ & ~0x00000800); hostGpuBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getHostGpuFieldBuilder() : null; } else { hostGpuBuilder_.addAllMessages(other.hostGpu_); } } } if (other.hasSessionPhase()) { setSessionPhase(other.getSessionPhase()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional .android_studio.EmulatorDetails.GuestCpuArchitecture guest_arch = 1; private com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.GuestCpuArchitecture guestArch_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.GuestCpuArchitecture.UNKNOWN_GUEST_CPU_ARCHITECTURE; /** * optional .android_studio.EmulatorDetails.GuestCpuArchitecture guest_arch = 1; * *
       * Cpu architecture of the guest.
       * 
*/ public boolean hasGuestArch() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .android_studio.EmulatorDetails.GuestCpuArchitecture guest_arch = 1; * *
       * Cpu architecture of the guest.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.GuestCpuArchitecture getGuestArch() { return guestArch_; } /** * optional .android_studio.EmulatorDetails.GuestCpuArchitecture guest_arch = 1; * *
       * Cpu architecture of the guest.
       * 
*/ public Builder setGuestArch(com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.GuestCpuArchitecture value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; guestArch_ = value; onChanged(); return this; } /** * optional .android_studio.EmulatorDetails.GuestCpuArchitecture guest_arch = 1; * *
       * Cpu architecture of the guest.
       * 
*/ public Builder clearGuestArch() { bitField0_ = (bitField0_ & ~0x00000001); guestArch_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.GuestCpuArchitecture.UNKNOWN_GUEST_CPU_ARCHITECTURE; onChanged(); return this; } // optional int64 system_time = 2; private long systemTime_ ; /** * optional int64 system_time = 2; * *
       * cpu time spent in kernel mode in milliseconds since last metrics report.
       * 
*/ public boolean hasSystemTime() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int64 system_time = 2; * *
       * cpu time spent in kernel mode in milliseconds since last metrics report.
       * 
*/ public long getSystemTime() { return systemTime_; } /** * optional int64 system_time = 2; * *
       * cpu time spent in kernel mode in milliseconds since last metrics report.
       * 
*/ public Builder setSystemTime(long value) { bitField0_ |= 0x00000002; systemTime_ = value; onChanged(); return this; } /** * optional int64 system_time = 2; * *
       * cpu time spent in kernel mode in milliseconds since last metrics report.
       * 
*/ public Builder clearSystemTime() { bitField0_ = (bitField0_ & ~0x00000002); systemTime_ = 0L; onChanged(); return this; } // optional int64 user_time = 3; private long userTime_ ; /** * optional int64 user_time = 3; * *
       * cpu time spent in user mode in milliseconds since last metrics report.
       * 
*/ public boolean hasUserTime() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional int64 user_time = 3; * *
       * cpu time spent in user mode in milliseconds since last metrics report.
       * 
*/ public long getUserTime() { return userTime_; } /** * optional int64 user_time = 3; * *
       * cpu time spent in user mode in milliseconds since last metrics report.
       * 
*/ public Builder setUserTime(long value) { bitField0_ |= 0x00000004; userTime_ = value; onChanged(); return this; } /** * optional int64 user_time = 3; * *
       * cpu time spent in user mode in milliseconds since last metrics report.
       * 
*/ public Builder clearUserTime() { bitField0_ = (bitField0_ & ~0x00000004); userTime_ = 0L; onChanged(); return this; } // optional int64 crashes = 4; private long crashes_ ; /** * optional int64 crashes = 4; * *
       * number of crashes since last metrics report.
       * 
*/ public boolean hasCrashes() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional int64 crashes = 4; * *
       * number of crashes since last metrics report.
       * 
*/ public long getCrashes() { return crashes_; } /** * optional int64 crashes = 4; * *
       * number of crashes since last metrics report.
       * 
*/ public Builder setCrashes(long value) { bitField0_ |= 0x00000008; crashes_ = value; onChanged(); return this; } /** * optional int64 crashes = 4; * *
       * number of crashes since last metrics report.
       * 
*/ public Builder clearCrashes() { bitField0_ = (bitField0_ & ~0x00000008); crashes_ = 0L; onChanged(); return this; } // optional int64 wall_time = 5; private long wallTime_ ; /** * optional int64 wall_time = 5; * *
       * real time in milliseconds since last metrics report.
       * 
*/ public boolean hasWallTime() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional int64 wall_time = 5; * *
       * real time in milliseconds since last metrics report.
       * 
*/ public long getWallTime() { return wallTime_; } /** * optional int64 wall_time = 5; * *
       * real time in milliseconds since last metrics report.
       * 
*/ public Builder setWallTime(long value) { bitField0_ |= 0x00000010; wallTime_ = value; onChanged(); return this; } /** * optional int64 wall_time = 5; * *
       * real time in milliseconds since last metrics report.
       * 
*/ public Builder clearWallTime() { bitField0_ = (bitField0_ & ~0x00000010); wallTime_ = 0L; onChanged(); return this; } // optional bool exit_started = 6; private boolean exitStarted_ ; /** * optional bool exit_started = 6; * *
       * True iff a crash occurred while process started its exit routines.
       * 
*/ public boolean hasExitStarted() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional bool exit_started = 6; * *
       * True iff a crash occurred while process started its exit routines.
       * 
*/ public boolean getExitStarted() { return exitStarted_; } /** * optional bool exit_started = 6; * *
       * True iff a crash occurred while process started its exit routines.
       * 
*/ public Builder setExitStarted(boolean value) { bitField0_ |= 0x00000020; exitStarted_ = value; onChanged(); return this; } /** * optional bool exit_started = 6; * *
       * True iff a crash occurred while process started its exit routines.
       * 
*/ public Builder clearExitStarted() { bitField0_ = (bitField0_ & ~0x00000020); exitStarted_ = false; onChanged(); return this; } // optional int64 guest_api_level = 7; private long guestApiLevel_ ; /** * optional int64 guest_api_level = 7; * *
       * The API level of the running guest image.
       * 
*/ public boolean hasGuestApiLevel() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional int64 guest_api_level = 7; * *
       * The API level of the running guest image.
       * 
*/ public long getGuestApiLevel() { return guestApiLevel_; } /** * optional int64 guest_api_level = 7; * *
       * The API level of the running guest image.
       * 
*/ public Builder setGuestApiLevel(long value) { bitField0_ |= 0x00000040; guestApiLevel_ = value; onChanged(); return this; } /** * optional int64 guest_api_level = 7; * *
       * The API level of the running guest image.
       * 
*/ public Builder clearGuestApiLevel() { bitField0_ = (bitField0_ & ~0x00000040); guestApiLevel_ = 0L; onChanged(); return this; } // optional bool guest_gpu_enabled = 8; private boolean guestGpuEnabled_ ; /** * optional bool guest_gpu_enabled = 8; * *
       * The value of guest gpu option (ro.kernel.qemu.gles)
       * 
*/ public boolean hasGuestGpuEnabled() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional bool guest_gpu_enabled = 8; * *
       * The value of guest gpu option (ro.kernel.qemu.gles)
       * 
*/ public boolean getGuestGpuEnabled() { return guestGpuEnabled_; } /** * optional bool guest_gpu_enabled = 8; * *
       * The value of guest gpu option (ro.kernel.qemu.gles)
       * 
*/ public Builder setGuestGpuEnabled(boolean value) { bitField0_ |= 0x00000080; guestGpuEnabled_ = value; onChanged(); return this; } /** * optional bool guest_gpu_enabled = 8; * *
       * The value of guest gpu option (ro.kernel.qemu.gles)
       * 
*/ public Builder clearGuestGpuEnabled() { bitField0_ = (bitField0_ & ~0x00000080); guestGpuEnabled_ = false; onChanged(); return this; } // optional bool is_opengl_alive = 10; private boolean isOpenglAlive_ ; /** * optional bool is_opengl_alive = 10; * *
       * True if we were able to correctly initialize opengl on the host.
       * 
*/ public boolean hasIsOpenglAlive() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional bool is_opengl_alive = 10; * *
       * True if we were able to correctly initialize opengl on the host.
       * 
*/ public boolean getIsOpenglAlive() { return isOpenglAlive_; } /** * optional bool is_opengl_alive = 10; * *
       * True if we were able to correctly initialize opengl on the host.
       * 
*/ public Builder setIsOpenglAlive(boolean value) { bitField0_ |= 0x00000100; isOpenglAlive_ = value; onChanged(); return this; } /** * optional bool is_opengl_alive = 10; * *
       * True if we were able to correctly initialize opengl on the host.
       * 
*/ public Builder clearIsOpenglAlive() { bitField0_ = (bitField0_ & ~0x00000100); isOpenglAlive_ = false; onChanged(); return this; } // optional .android_studio.EmulatorDetails.EmulatorAdbLiveness adb_liveness = 11; private com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.EmulatorAdbLiveness adbLiveness_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.EmulatorAdbLiveness.UNKNOWN_EMULATOR_ADB_LIVENESS; /** * optional .android_studio.EmulatorDetails.EmulatorAdbLiveness adb_liveness = 11; * *
       * Connectivity from adb of the running emulator instance.
       * 
*/ public boolean hasAdbLiveness() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * optional .android_studio.EmulatorDetails.EmulatorAdbLiveness adb_liveness = 11; * *
       * Connectivity from adb of the running emulator instance.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.EmulatorAdbLiveness getAdbLiveness() { return adbLiveness_; } /** * optional .android_studio.EmulatorDetails.EmulatorAdbLiveness adb_liveness = 11; * *
       * Connectivity from adb of the running emulator instance.
       * 
*/ public Builder setAdbLiveness(com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.EmulatorAdbLiveness value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000200; adbLiveness_ = value; onChanged(); return this; } /** * optional .android_studio.EmulatorDetails.EmulatorAdbLiveness adb_liveness = 11; * *
       * Connectivity from adb of the running emulator instance.
       * 
*/ public Builder clearAdbLiveness() { bitField0_ = (bitField0_ & ~0x00000200); adbLiveness_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.EmulatorAdbLiveness.UNKNOWN_EMULATOR_ADB_LIVENESS; onChanged(); return this; } // optional .android_studio.EmulatorGuestGlInfo guest_gl = 12; private com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo guestGl_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfoOrBuilder> guestGlBuilder_; /** * optional .android_studio.EmulatorGuestGlInfo guest_gl = 12; * *
       * Information about the gl implementation in the guest image.
       * 
*/ public boolean hasGuestGl() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * optional .android_studio.EmulatorGuestGlInfo guest_gl = 12; * *
       * Information about the gl implementation in the guest image.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo getGuestGl() { if (guestGlBuilder_ == null) { return guestGl_; } else { return guestGlBuilder_.getMessage(); } } /** * optional .android_studio.EmulatorGuestGlInfo guest_gl = 12; * *
       * Information about the gl implementation in the guest image.
       * 
*/ public Builder setGuestGl(com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo value) { if (guestGlBuilder_ == null) { if (value == null) { throw new NullPointerException(); } guestGl_ = value; onChanged(); } else { guestGlBuilder_.setMessage(value); } bitField0_ |= 0x00000400; return this; } /** * optional .android_studio.EmulatorGuestGlInfo guest_gl = 12; * *
       * Information about the gl implementation in the guest image.
       * 
*/ public Builder setGuestGl( com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo.Builder builderForValue) { if (guestGlBuilder_ == null) { guestGl_ = builderForValue.build(); onChanged(); } else { guestGlBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000400; return this; } /** * optional .android_studio.EmulatorGuestGlInfo guest_gl = 12; * *
       * Information about the gl implementation in the guest image.
       * 
*/ public Builder mergeGuestGl(com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo value) { if (guestGlBuilder_ == null) { if (((bitField0_ & 0x00000400) == 0x00000400) && guestGl_ != com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo.getDefaultInstance()) { guestGl_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo.newBuilder(guestGl_).mergeFrom(value).buildPartial(); } else { guestGl_ = value; } onChanged(); } else { guestGlBuilder_.mergeFrom(value); } bitField0_ |= 0x00000400; return this; } /** * optional .android_studio.EmulatorGuestGlInfo guest_gl = 12; * *
       * Information about the gl implementation in the guest image.
       * 
*/ public Builder clearGuestGl() { if (guestGlBuilder_ == null) { guestGl_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo.getDefaultInstance(); onChanged(); } else { guestGlBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000400); return this; } /** * optional .android_studio.EmulatorGuestGlInfo guest_gl = 12; * *
       * Information about the gl implementation in the guest image.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo.Builder getGuestGlBuilder() { bitField0_ |= 0x00000400; onChanged(); return getGuestGlFieldBuilder().getBuilder(); } /** * optional .android_studio.EmulatorGuestGlInfo guest_gl = 12; * *
       * Information about the gl implementation in the guest image.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfoOrBuilder getGuestGlOrBuilder() { if (guestGlBuilder_ != null) { return guestGlBuilder_.getMessageOrBuilder(); } else { return guestGl_; } } /** * optional .android_studio.EmulatorGuestGlInfo guest_gl = 12; * *
       * Information about the gl implementation in the guest image.
       * 
*/ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfoOrBuilder> getGuestGlFieldBuilder() { if (guestGlBuilder_ == null) { guestGlBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfo.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGuestGlInfoOrBuilder>( guestGl_, getParentForChildren(), isClean()); guestGl_ = null; } return guestGlBuilder_; } // repeated .android_studio.EmulatorGpuInfo host_gpu = 13; private java.util.List hostGpu_ = java.util.Collections.emptyList(); private void ensureHostGpuIsMutable() { if (!((bitField0_ & 0x00000800) == 0x00000800)) { hostGpu_ = new java.util.ArrayList(hostGpu_); bitField0_ |= 0x00000800; } } private com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfoOrBuilder> hostGpuBuilder_; /** * repeated .android_studio.EmulatorGpuInfo host_gpu = 13; * *
       * Information about the host GPUs (one per GPU).
       * 
*/ public java.util.List getHostGpuList() { if (hostGpuBuilder_ == null) { return java.util.Collections.unmodifiableList(hostGpu_); } else { return hostGpuBuilder_.getMessageList(); } } /** * repeated .android_studio.EmulatorGpuInfo host_gpu = 13; * *
       * Information about the host GPUs (one per GPU).
       * 
*/ public int getHostGpuCount() { if (hostGpuBuilder_ == null) { return hostGpu_.size(); } else { return hostGpuBuilder_.getCount(); } } /** * repeated .android_studio.EmulatorGpuInfo host_gpu = 13; * *
       * Information about the host GPUs (one per GPU).
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo getHostGpu(int index) { if (hostGpuBuilder_ == null) { return hostGpu_.get(index); } else { return hostGpuBuilder_.getMessage(index); } } /** * repeated .android_studio.EmulatorGpuInfo host_gpu = 13; * *
       * Information about the host GPUs (one per GPU).
       * 
*/ public Builder setHostGpu( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo value) { if (hostGpuBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureHostGpuIsMutable(); hostGpu_.set(index, value); onChanged(); } else { hostGpuBuilder_.setMessage(index, value); } return this; } /** * repeated .android_studio.EmulatorGpuInfo host_gpu = 13; * *
       * Information about the host GPUs (one per GPU).
       * 
*/ public Builder setHostGpu( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo.Builder builderForValue) { if (hostGpuBuilder_ == null) { ensureHostGpuIsMutable(); hostGpu_.set(index, builderForValue.build()); onChanged(); } else { hostGpuBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .android_studio.EmulatorGpuInfo host_gpu = 13; * *
       * Information about the host GPUs (one per GPU).
       * 
*/ public Builder addHostGpu(com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo value) { if (hostGpuBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureHostGpuIsMutable(); hostGpu_.add(value); onChanged(); } else { hostGpuBuilder_.addMessage(value); } return this; } /** * repeated .android_studio.EmulatorGpuInfo host_gpu = 13; * *
       * Information about the host GPUs (one per GPU).
       * 
*/ public Builder addHostGpu( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo value) { if (hostGpuBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureHostGpuIsMutable(); hostGpu_.add(index, value); onChanged(); } else { hostGpuBuilder_.addMessage(index, value); } return this; } /** * repeated .android_studio.EmulatorGpuInfo host_gpu = 13; * *
       * Information about the host GPUs (one per GPU).
       * 
*/ public Builder addHostGpu( com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo.Builder builderForValue) { if (hostGpuBuilder_ == null) { ensureHostGpuIsMutable(); hostGpu_.add(builderForValue.build()); onChanged(); } else { hostGpuBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .android_studio.EmulatorGpuInfo host_gpu = 13; * *
       * Information about the host GPUs (one per GPU).
       * 
*/ public Builder addHostGpu( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo.Builder builderForValue) { if (hostGpuBuilder_ == null) { ensureHostGpuIsMutable(); hostGpu_.add(index, builderForValue.build()); onChanged(); } else { hostGpuBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .android_studio.EmulatorGpuInfo host_gpu = 13; * *
       * Information about the host GPUs (one per GPU).
       * 
*/ public Builder addAllHostGpu( java.lang.Iterable values) { if (hostGpuBuilder_ == null) { ensureHostGpuIsMutable(); super.addAll(values, hostGpu_); onChanged(); } else { hostGpuBuilder_.addAllMessages(values); } return this; } /** * repeated .android_studio.EmulatorGpuInfo host_gpu = 13; * *
       * Information about the host GPUs (one per GPU).
       * 
*/ public Builder clearHostGpu() { if (hostGpuBuilder_ == null) { hostGpu_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000800); onChanged(); } else { hostGpuBuilder_.clear(); } return this; } /** * repeated .android_studio.EmulatorGpuInfo host_gpu = 13; * *
       * Information about the host GPUs (one per GPU).
       * 
*/ public Builder removeHostGpu(int index) { if (hostGpuBuilder_ == null) { ensureHostGpuIsMutable(); hostGpu_.remove(index); onChanged(); } else { hostGpuBuilder_.remove(index); } return this; } /** * repeated .android_studio.EmulatorGpuInfo host_gpu = 13; * *
       * Information about the host GPUs (one per GPU).
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo.Builder getHostGpuBuilder( int index) { return getHostGpuFieldBuilder().getBuilder(index); } /** * repeated .android_studio.EmulatorGpuInfo host_gpu = 13; * *
       * Information about the host GPUs (one per GPU).
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfoOrBuilder getHostGpuOrBuilder( int index) { if (hostGpuBuilder_ == null) { return hostGpu_.get(index); } else { return hostGpuBuilder_.getMessageOrBuilder(index); } } /** * repeated .android_studio.EmulatorGpuInfo host_gpu = 13; * *
       * Information about the host GPUs (one per GPU).
       * 
*/ public java.util.List getHostGpuOrBuilderList() { if (hostGpuBuilder_ != null) { return hostGpuBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(hostGpu_); } } /** * repeated .android_studio.EmulatorGpuInfo host_gpu = 13; * *
       * Information about the host GPUs (one per GPU).
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo.Builder addHostGpuBuilder() { return getHostGpuFieldBuilder().addBuilder( com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo.getDefaultInstance()); } /** * repeated .android_studio.EmulatorGpuInfo host_gpu = 13; * *
       * Information about the host GPUs (one per GPU).
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo.Builder addHostGpuBuilder( int index) { return getHostGpuFieldBuilder().addBuilder( index, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo.getDefaultInstance()); } /** * repeated .android_studio.EmulatorGpuInfo host_gpu = 13; * *
       * Information about the host GPUs (one per GPU).
       * 
*/ public java.util.List getHostGpuBuilderList() { return getHostGpuFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfoOrBuilder> getHostGpuFieldBuilder() { if (hostGpuBuilder_ == null) { hostGpuBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfoOrBuilder>( hostGpu_, ((bitField0_ & 0x00000800) == 0x00000800), getParentForChildren(), isClean()); hostGpu_ = null; } return hostGpuBuilder_; } // optional .android_studio.EmulatorDetails.EmulatorSessionPhase session_phase = 14; private com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.EmulatorSessionPhase sessionPhase_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.EmulatorSessionPhase.UNKNOWN_EMULATOR_SESSION_PHASE; /** * optional .android_studio.EmulatorDetails.EmulatorSessionPhase session_phase = 14; * *
       * The "phase" of an emulator session where crash happened.
       * 
*/ public boolean hasSessionPhase() { return ((bitField0_ & 0x00001000) == 0x00001000); } /** * optional .android_studio.EmulatorDetails.EmulatorSessionPhase session_phase = 14; * *
       * The "phase" of an emulator session where crash happened.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.EmulatorSessionPhase getSessionPhase() { return sessionPhase_; } /** * optional .android_studio.EmulatorDetails.EmulatorSessionPhase session_phase = 14; * *
       * The "phase" of an emulator session where crash happened.
       * 
*/ public Builder setSessionPhase(com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.EmulatorSessionPhase value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00001000; sessionPhase_ = value; onChanged(); return this; } /** * optional .android_studio.EmulatorDetails.EmulatorSessionPhase session_phase = 14; * *
       * The "phase" of an emulator session where crash happened.
       * 
*/ public Builder clearSessionPhase() { bitField0_ = (bitField0_ & ~0x00001000); sessionPhase_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorDetails.EmulatorSessionPhase.UNKNOWN_EMULATOR_SESSION_PHASE; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:android_studio.EmulatorDetails) } static { defaultInstance = new EmulatorDetails(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:android_studio.EmulatorDetails) } public interface EmulatorUiEventOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional string element_id = 1; /** * optional string element_id = 1; * *
     * Id of the UI element, baked in the emulator binary.
     *  TODO(jvg): ask logs ticket folks what kind of datapol annotation
     *  it is not freeform, but we cannot make this an enum
     * 
*/ boolean hasElementId(); /** * optional string element_id = 1; * *
     * Id of the UI element, baked in the emulator binary.
     *  TODO(jvg): ask logs ticket folks what kind of datapol annotation
     *  it is not freeform, but we cannot make this an enum
     * 
*/ java.lang.String getElementId(); /** * optional string element_id = 1; * *
     * Id of the UI element, baked in the emulator binary.
     *  TODO(jvg): ask logs ticket folks what kind of datapol annotation
     *  it is not freeform, but we cannot make this an enum
     * 
*/ com.google.protobuf.ByteString getElementIdBytes(); // optional .android_studio.EmulatorUiEvent.EmulatorUiEventType type = 2; /** * optional .android_studio.EmulatorUiEvent.EmulatorUiEventType type = 2; * *
     * The type of UI event
     * 
*/ boolean hasType(); /** * optional .android_studio.EmulatorUiEvent.EmulatorUiEventType type = 2; * *
     * The type of UI event
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.EmulatorUiEventType getType(); // optional .android_studio.EmulatorUiEvent.EmulatorUiEventContext context = 3; /** * optional .android_studio.EmulatorUiEvent.EmulatorUiEventContext context = 3; * *
     * The current context of the event.
     * 
*/ boolean hasContext(); /** * optional .android_studio.EmulatorUiEvent.EmulatorUiEventContext context = 3; * *
     * The current context of the event.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.EmulatorUiEventContext getContext(); // optional int64 value = 4; /** * optional int64 value = 4; * *
     * This value is an opaque numeric type. The exact schema of the UI metrics
     *  is not specific here. e.g., |value| may represent a boolean, a "count", or
     *  an index into the list of items in a drop down menu.
     * 
*/ boolean hasValue(); /** * optional int64 value = 4; * *
     * This value is an opaque numeric type. The exact schema of the UI metrics
     *  is not specific here. e.g., |value| may represent a boolean, a "count", or
     *  an index into the list of items in a drop down menu.
     * 
*/ long getValue(); } /** * Protobuf type {@code android_studio.EmulatorUiEvent} * *
   * Describes a user clicking on some part of the Emulator UI.
   * 
*/ public static final class EmulatorUiEvent extends com.google.protobuf.GeneratedMessage implements EmulatorUiEventOrBuilder { // Use EmulatorUiEvent.newBuilder() to construct. private EmulatorUiEvent(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private EmulatorUiEvent(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final EmulatorUiEvent defaultInstance; public static EmulatorUiEvent getDefaultInstance() { return defaultInstance; } public EmulatorUiEvent getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private EmulatorUiEvent( 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; elementId_ = input.readBytes(); break; } case 16: { int rawValue = input.readEnum(); com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.EmulatorUiEventType value = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.EmulatorUiEventType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(2, rawValue); } else { bitField0_ |= 0x00000002; type_ = value; } break; } case 24: { int rawValue = input.readEnum(); com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.EmulatorUiEventContext value = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.EmulatorUiEventContext.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(3, rawValue); } else { bitField0_ |= 0x00000004; context_ = value; } break; } case 32: { bitField0_ |= 0x00000008; value_ = input.readInt64(); 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.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_EmulatorUiEvent_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_EmulatorUiEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public EmulatorUiEvent parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new EmulatorUiEvent(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } /** * Protobuf enum {@code android_studio.EmulatorUiEvent.EmulatorUiEventType} * *
     * Tracks the type of the emulator UI Event.
     * 
*/ public enum EmulatorUiEventType implements com.google.protobuf.ProtocolMessageEnum { /** * UNKONWN_EMULATOR_UI_EVENT_TYPE = 0; */ UNKONWN_EMULATOR_UI_EVENT_TYPE(0, 0), /** * BUTTON_PRESS = 1; */ BUTTON_PRESS(1, 1), /** * OPTION_SET_TO_NON_DEFAULT = 2; * *
       * Generated when a user action changes the value of certain field from
       *  its default value.
       * 
*/ OPTION_SET_TO_NON_DEFAULT(2, 2), /** * OPTION_SELECTED = 3; * *
       * Generated to report the index of an option selected by the user in a
       *  drop-down menu / radio button etc.
       * 
*/ OPTION_SELECTED(3, 3), ; /** * UNKONWN_EMULATOR_UI_EVENT_TYPE = 0; */ public static final int UNKONWN_EMULATOR_UI_EVENT_TYPE_VALUE = 0; /** * BUTTON_PRESS = 1; */ public static final int BUTTON_PRESS_VALUE = 1; /** * OPTION_SET_TO_NON_DEFAULT = 2; * *
       * Generated when a user action changes the value of certain field from
       *  its default value.
       * 
*/ public static final int OPTION_SET_TO_NON_DEFAULT_VALUE = 2; /** * OPTION_SELECTED = 3; * *
       * Generated to report the index of an option selected by the user in a
       *  drop-down menu / radio button etc.
       * 
*/ public static final int OPTION_SELECTED_VALUE = 3; public final int getNumber() { return value; } public static EmulatorUiEventType valueOf(int value) { switch (value) { case 0: return UNKONWN_EMULATOR_UI_EVENT_TYPE; case 1: return BUTTON_PRESS; case 2: return OPTION_SET_TO_NON_DEFAULT; case 3: return OPTION_SELECTED; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public EmulatorUiEventType findValueByNumber(int number) { return EmulatorUiEventType.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.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.getDescriptor().getEnumTypes().get(0); } private static final EmulatorUiEventType[] VALUES = values(); public static EmulatorUiEventType 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 EmulatorUiEventType(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:android_studio.EmulatorUiEvent.EmulatorUiEventType) } /** * Protobuf enum {@code android_studio.EmulatorUiEvent.EmulatorUiEventContext} * *
     * Tracks the context of the Emulator UI.
     * 
*/ public enum EmulatorUiEventContext implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN_EMULATOR_UI_EVENT_CONTEXT = 0; */ UNKNOWN_EMULATOR_UI_EVENT_CONTEXT(0, 0), /** * EXTENDED_WINDOW_OPEN = 1; */ EXTENDED_WINDOW_OPEN(1, 1), ; /** * UNKNOWN_EMULATOR_UI_EVENT_CONTEXT = 0; */ public static final int UNKNOWN_EMULATOR_UI_EVENT_CONTEXT_VALUE = 0; /** * EXTENDED_WINDOW_OPEN = 1; */ public static final int EXTENDED_WINDOW_OPEN_VALUE = 1; public final int getNumber() { return value; } public static EmulatorUiEventContext valueOf(int value) { switch (value) { case 0: return UNKNOWN_EMULATOR_UI_EVENT_CONTEXT; case 1: return EXTENDED_WINDOW_OPEN; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public EmulatorUiEventContext findValueByNumber(int number) { return EmulatorUiEventContext.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.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.getDescriptor().getEnumTypes().get(1); } private static final EmulatorUiEventContext[] VALUES = values(); public static EmulatorUiEventContext 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 EmulatorUiEventContext(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:android_studio.EmulatorUiEvent.EmulatorUiEventContext) } private int bitField0_; // optional string element_id = 1; public static final int ELEMENT_ID_FIELD_NUMBER = 1; private java.lang.Object elementId_; /** * optional string element_id = 1; * *
     * Id of the UI element, baked in the emulator binary.
     *  TODO(jvg): ask logs ticket folks what kind of datapol annotation
     *  it is not freeform, but we cannot make this an enum
     * 
*/ public boolean hasElementId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string element_id = 1; * *
     * Id of the UI element, baked in the emulator binary.
     *  TODO(jvg): ask logs ticket folks what kind of datapol annotation
     *  it is not freeform, but we cannot make this an enum
     * 
*/ public java.lang.String getElementId() { java.lang.Object ref = elementId_; 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()) { elementId_ = s; } return s; } } /** * optional string element_id = 1; * *
     * Id of the UI element, baked in the emulator binary.
     *  TODO(jvg): ask logs ticket folks what kind of datapol annotation
     *  it is not freeform, but we cannot make this an enum
     * 
*/ public com.google.protobuf.ByteString getElementIdBytes() { java.lang.Object ref = elementId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); elementId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional .android_studio.EmulatorUiEvent.EmulatorUiEventType type = 2; public static final int TYPE_FIELD_NUMBER = 2; private com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.EmulatorUiEventType type_; /** * optional .android_studio.EmulatorUiEvent.EmulatorUiEventType type = 2; * *
     * The type of UI event
     * 
*/ public boolean hasType() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .android_studio.EmulatorUiEvent.EmulatorUiEventType type = 2; * *
     * The type of UI event
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.EmulatorUiEventType getType() { return type_; } // optional .android_studio.EmulatorUiEvent.EmulatorUiEventContext context = 3; public static final int CONTEXT_FIELD_NUMBER = 3; private com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.EmulatorUiEventContext context_; /** * optional .android_studio.EmulatorUiEvent.EmulatorUiEventContext context = 3; * *
     * The current context of the event.
     * 
*/ public boolean hasContext() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .android_studio.EmulatorUiEvent.EmulatorUiEventContext context = 3; * *
     * The current context of the event.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.EmulatorUiEventContext getContext() { return context_; } // optional int64 value = 4; public static final int VALUE_FIELD_NUMBER = 4; private long value_; /** * optional int64 value = 4; * *
     * This value is an opaque numeric type. The exact schema of the UI metrics
     *  is not specific here. e.g., |value| may represent a boolean, a "count", or
     *  an index into the list of items in a drop down menu.
     * 
*/ public boolean hasValue() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional int64 value = 4; * *
     * This value is an opaque numeric type. The exact schema of the UI metrics
     *  is not specific here. e.g., |value| may represent a boolean, a "count", or
     *  an index into the list of items in a drop down menu.
     * 
*/ public long getValue() { return value_; } private void initFields() { elementId_ = ""; type_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.EmulatorUiEventType.UNKONWN_EMULATOR_UI_EVENT_TYPE; context_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.EmulatorUiEventContext.UNKNOWN_EMULATOR_UI_EVENT_CONTEXT; value_ = 0L; } 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, getElementIdBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, type_.getNumber()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeEnum(3, context_.getNumber()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt64(4, value_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getElementIdBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, type_.getNumber()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, context_.getNumber()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, value_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent 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.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent 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 android_studio.EmulatorUiEvent} * *
     * Describes a user clicking on some part of the Emulator UI.
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEventOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_EmulatorUiEvent_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_EmulatorUiEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.Builder.class); } // Construct using com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.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(); elementId_ = ""; bitField0_ = (bitField0_ & ~0x00000001); type_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.EmulatorUiEventType.UNKONWN_EMULATOR_UI_EVENT_TYPE; bitField0_ = (bitField0_ & ~0x00000002); context_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.EmulatorUiEventContext.UNKNOWN_EMULATOR_UI_EVENT_CONTEXT; bitField0_ = (bitField0_ & ~0x00000004); value_ = 0L; bitField0_ = (bitField0_ & ~0x00000008); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_EmulatorUiEvent_descriptor; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent getDefaultInstanceForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.getDefaultInstance(); } public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent build() { com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent buildPartial() { com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent result = new com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.elementId_ = elementId_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.type_ = type_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.context_ = context_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.value_ = value_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent) { return mergeFrom((com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent other) { if (other == com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.getDefaultInstance()) return this; if (other.hasElementId()) { bitField0_ |= 0x00000001; elementId_ = other.elementId_; onChanged(); } if (other.hasType()) { setType(other.getType()); } if (other.hasContext()) { setContext(other.getContext()); } if (other.hasValue()) { setValue(other.getValue()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional string element_id = 1; private java.lang.Object elementId_ = ""; /** * optional string element_id = 1; * *
       * Id of the UI element, baked in the emulator binary.
       *  TODO(jvg): ask logs ticket folks what kind of datapol annotation
       *  it is not freeform, but we cannot make this an enum
       * 
*/ public boolean hasElementId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string element_id = 1; * *
       * Id of the UI element, baked in the emulator binary.
       *  TODO(jvg): ask logs ticket folks what kind of datapol annotation
       *  it is not freeform, but we cannot make this an enum
       * 
*/ public java.lang.String getElementId() { java.lang.Object ref = elementId_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); elementId_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string element_id = 1; * *
       * Id of the UI element, baked in the emulator binary.
       *  TODO(jvg): ask logs ticket folks what kind of datapol annotation
       *  it is not freeform, but we cannot make this an enum
       * 
*/ public com.google.protobuf.ByteString getElementIdBytes() { java.lang.Object ref = elementId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); elementId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string element_id = 1; * *
       * Id of the UI element, baked in the emulator binary.
       *  TODO(jvg): ask logs ticket folks what kind of datapol annotation
       *  it is not freeform, but we cannot make this an enum
       * 
*/ public Builder setElementId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; elementId_ = value; onChanged(); return this; } /** * optional string element_id = 1; * *
       * Id of the UI element, baked in the emulator binary.
       *  TODO(jvg): ask logs ticket folks what kind of datapol annotation
       *  it is not freeform, but we cannot make this an enum
       * 
*/ public Builder clearElementId() { bitField0_ = (bitField0_ & ~0x00000001); elementId_ = getDefaultInstance().getElementId(); onChanged(); return this; } /** * optional string element_id = 1; * *
       * Id of the UI element, baked in the emulator binary.
       *  TODO(jvg): ask logs ticket folks what kind of datapol annotation
       *  it is not freeform, but we cannot make this an enum
       * 
*/ public Builder setElementIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; elementId_ = value; onChanged(); return this; } // optional .android_studio.EmulatorUiEvent.EmulatorUiEventType type = 2; private com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.EmulatorUiEventType type_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.EmulatorUiEventType.UNKONWN_EMULATOR_UI_EVENT_TYPE; /** * optional .android_studio.EmulatorUiEvent.EmulatorUiEventType type = 2; * *
       * The type of UI event
       * 
*/ public boolean hasType() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .android_studio.EmulatorUiEvent.EmulatorUiEventType type = 2; * *
       * The type of UI event
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.EmulatorUiEventType getType() { return type_; } /** * optional .android_studio.EmulatorUiEvent.EmulatorUiEventType type = 2; * *
       * The type of UI event
       * 
*/ public Builder setType(com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.EmulatorUiEventType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; type_ = value; onChanged(); return this; } /** * optional .android_studio.EmulatorUiEvent.EmulatorUiEventType type = 2; * *
       * The type of UI event
       * 
*/ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000002); type_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.EmulatorUiEventType.UNKONWN_EMULATOR_UI_EVENT_TYPE; onChanged(); return this; } // optional .android_studio.EmulatorUiEvent.EmulatorUiEventContext context = 3; private com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.EmulatorUiEventContext context_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.EmulatorUiEventContext.UNKNOWN_EMULATOR_UI_EVENT_CONTEXT; /** * optional .android_studio.EmulatorUiEvent.EmulatorUiEventContext context = 3; * *
       * The current context of the event.
       * 
*/ public boolean hasContext() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .android_studio.EmulatorUiEvent.EmulatorUiEventContext context = 3; * *
       * The current context of the event.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.EmulatorUiEventContext getContext() { return context_; } /** * optional .android_studio.EmulatorUiEvent.EmulatorUiEventContext context = 3; * *
       * The current context of the event.
       * 
*/ public Builder setContext(com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.EmulatorUiEventContext value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; context_ = value; onChanged(); return this; } /** * optional .android_studio.EmulatorUiEvent.EmulatorUiEventContext context = 3; * *
       * The current context of the event.
       * 
*/ public Builder clearContext() { bitField0_ = (bitField0_ & ~0x00000004); context_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorUiEvent.EmulatorUiEventContext.UNKNOWN_EMULATOR_UI_EVENT_CONTEXT; onChanged(); return this; } // optional int64 value = 4; private long value_ ; /** * optional int64 value = 4; * *
       * This value is an opaque numeric type. The exact schema of the UI metrics
       *  is not specific here. e.g., |value| may represent a boolean, a "count", or
       *  an index into the list of items in a drop down menu.
       * 
*/ public boolean hasValue() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional int64 value = 4; * *
       * This value is an opaque numeric type. The exact schema of the UI metrics
       *  is not specific here. e.g., |value| may represent a boolean, a "count", or
       *  an index into the list of items in a drop down menu.
       * 
*/ public long getValue() { return value_; } /** * optional int64 value = 4; * *
       * This value is an opaque numeric type. The exact schema of the UI metrics
       *  is not specific here. e.g., |value| may represent a boolean, a "count", or
       *  an index into the list of items in a drop down menu.
       * 
*/ public Builder setValue(long value) { bitField0_ |= 0x00000008; value_ = value; onChanged(); return this; } /** * optional int64 value = 4; * *
       * This value is an opaque numeric type. The exact schema of the UI metrics
       *  is not specific here. e.g., |value| may represent a boolean, a "count", or
       *  an index into the list of items in a drop down menu.
       * 
*/ public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000008); value_ = 0L; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:android_studio.EmulatorUiEvent) } static { defaultInstance = new EmulatorUiEvent(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:android_studio.EmulatorUiEvent) } public interface GradleBuildDetailsOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional string android_plugin_version = 1; /** * optional string android_plugin_version = 1; * *
     * Version of our Gradle plugin supporting android builds. e.g. '2.0-beta1'
     * 
*/ boolean hasAndroidPluginVersion(); /** * optional string android_plugin_version = 1; * *
     * Version of our Gradle plugin supporting android builds. e.g. '2.0-beta1'
     * 
*/ java.lang.String getAndroidPluginVersion(); /** * optional string android_plugin_version = 1; * *
     * Version of our Gradle plugin supporting android builds. e.g. '2.0-beta1'
     * 
*/ com.google.protobuf.ByteString getAndroidPluginVersionBytes(); // optional string gradle_version = 2; /** * optional string gradle_version = 2; * *
     * Version of the open source Gradle application used.
     * 
*/ boolean hasGradleVersion(); /** * optional string gradle_version = 2; * *
     * Version of the open source Gradle application used.
     * 
*/ java.lang.String getGradleVersion(); /** * optional string gradle_version = 2; * *
     * Version of the open source Gradle application used.
     * 
*/ com.google.protobuf.ByteString getGradleVersionBytes(); // optional bool user_enabled_ir = 3; /** * optional bool user_enabled_ir = 3; * *
     * indicates whether the user has instant run enabled in settings
     * 
*/ boolean hasUserEnabledIr(); /** * optional bool user_enabled_ir = 3; * *
     * indicates whether the user has instant run enabled in settings
     * 
*/ boolean getUserEnabledIr(); // optional bool model_supports_ir = 4; /** * optional bool model_supports_ir = 4; * *
     * indicates whether the IDE thinks whether this plugin version supports IR
     * 
*/ boolean hasModelSupportsIr(); /** * optional bool model_supports_ir = 4; * *
     * indicates whether the IDE thinks whether this plugin version supports IR
     * 
*/ boolean getModelSupportsIr(); // optional bool variant_supports_ir = 5; /** * optional bool variant_supports_ir = 5; * *
     * indicates whether the current variant supports IR, but this can be changed
     *  without a notification
     * 
*/ boolean hasVariantSupportsIr(); /** * optional bool variant_supports_ir = 5; * *
     * indicates whether the current variant supports IR, but this can be changed
     *  without a notification
     * 
*/ boolean getVariantSupportsIr(); // repeated .android_studio.GradleLibrary libraries = 6; /** * repeated .android_studio.GradleLibrary libraries = 6; * *
     * per library metrics.
     * 
*/ java.util.List getLibrariesList(); /** * repeated .android_studio.GradleLibrary libraries = 6; * *
     * per library metrics.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary getLibraries(int index); /** * repeated .android_studio.GradleLibrary libraries = 6; * *
     * per library metrics.
     * 
*/ int getLibrariesCount(); /** * repeated .android_studio.GradleLibrary libraries = 6; * *
     * per library metrics.
     * 
*/ java.util.List getLibrariesOrBuilderList(); /** * repeated .android_studio.GradleLibrary libraries = 6; * *
     * per library metrics.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibraryOrBuilder getLibrariesOrBuilder( int index); // repeated .android_studio.GradleModule modules = 7; /** * repeated .android_studio.GradleModule modules = 7; * *
     * per module metrics.
     * 
*/ java.util.List getModulesList(); /** * repeated .android_studio.GradleModule modules = 7; * *
     * per module metrics.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule getModules(int index); /** * repeated .android_studio.GradleModule modules = 7; * *
     * per module metrics.
     * 
*/ int getModulesCount(); /** * repeated .android_studio.GradleModule modules = 7; * *
     * per module metrics.
     * 
*/ java.util.List getModulesOrBuilderList(); /** * repeated .android_studio.GradleModule modules = 7; * *
     * per module metrics.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModuleOrBuilder getModulesOrBuilder( int index); // repeated .android_studio.GradleAndroidModule android_modules = 8; /** * repeated .android_studio.GradleAndroidModule android_modules = 8; * *
     * per android module metrics.
     * 
*/ java.util.List getAndroidModulesList(); /** * repeated .android_studio.GradleAndroidModule android_modules = 8; * *
     * per android module metrics.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule getAndroidModules(int index); /** * repeated .android_studio.GradleAndroidModule android_modules = 8; * *
     * per android module metrics.
     * 
*/ int getAndroidModulesCount(); /** * repeated .android_studio.GradleAndroidModule android_modules = 8; * *
     * per android module metrics.
     * 
*/ java.util.List getAndroidModulesOrBuilderList(); /** * repeated .android_studio.GradleAndroidModule android_modules = 8; * *
     * per android module metrics.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModuleOrBuilder getAndroidModulesOrBuilder( int index); // repeated .android_studio.GradleNativeAndroidModule native_android_modules = 9; /** * repeated .android_studio.GradleNativeAndroidModule native_android_modules = 9; * *
     * per native android module metrics
     * 
*/ java.util.List getNativeAndroidModulesList(); /** * repeated .android_studio.GradleNativeAndroidModule native_android_modules = 9; * *
     * per native android module metrics
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule getNativeAndroidModules(int index); /** * repeated .android_studio.GradleNativeAndroidModule native_android_modules = 9; * *
     * per native android module metrics
     * 
*/ int getNativeAndroidModulesCount(); /** * repeated .android_studio.GradleNativeAndroidModule native_android_modules = 9; * *
     * per native android module metrics
     * 
*/ java.util.List getNativeAndroidModulesOrBuilderList(); /** * repeated .android_studio.GradleNativeAndroidModule native_android_modules = 9; * *
     * per native android module metrics
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModuleOrBuilder getNativeAndroidModulesOrBuilder( int index); } /** * Protobuf type {@code android_studio.GradleBuildDetails} * *
   * Details about a single Gradle run.
   * 
*/ public static final class GradleBuildDetails extends com.google.protobuf.GeneratedMessage implements GradleBuildDetailsOrBuilder { // Use GradleBuildDetails.newBuilder() to construct. private GradleBuildDetails(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private GradleBuildDetails(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final GradleBuildDetails defaultInstance; public static GradleBuildDetails getDefaultInstance() { return defaultInstance; } public GradleBuildDetails getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GradleBuildDetails( 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; androidPluginVersion_ = input.readBytes(); break; } case 18: { bitField0_ |= 0x00000002; gradleVersion_ = input.readBytes(); break; } case 24: { bitField0_ |= 0x00000004; userEnabledIr_ = input.readBool(); break; } case 32: { bitField0_ |= 0x00000008; modelSupportsIr_ = input.readBool(); break; } case 40: { bitField0_ |= 0x00000010; variantSupportsIr_ = input.readBool(); break; } case 50: { if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { libraries_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000020; } libraries_.add(input.readMessage(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary.PARSER, extensionRegistry)); break; } case 58: { if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) { modules_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000040; } modules_.add(input.readMessage(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule.PARSER, extensionRegistry)); break; } case 66: { if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) { androidModules_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000080; } androidModules_.add(input.readMessage(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule.PARSER, extensionRegistry)); break; } case 74: { if (!((mutable_bitField0_ & 0x00000100) == 0x00000100)) { nativeAndroidModules_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000100; } nativeAndroidModules_.add(input.readMessage(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule.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_ & 0x00000020) == 0x00000020)) { libraries_ = java.util.Collections.unmodifiableList(libraries_); } if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) { modules_ = java.util.Collections.unmodifiableList(modules_); } if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) { androidModules_ = java.util.Collections.unmodifiableList(androidModules_); } if (((mutable_bitField0_ & 0x00000100) == 0x00000100)) { nativeAndroidModules_ = java.util.Collections.unmodifiableList(nativeAndroidModules_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleBuildDetails_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleBuildDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public GradleBuildDetails parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GradleBuildDetails(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional string android_plugin_version = 1; public static final int ANDROID_PLUGIN_VERSION_FIELD_NUMBER = 1; private java.lang.Object androidPluginVersion_; /** * optional string android_plugin_version = 1; * *
     * Version of our Gradle plugin supporting android builds. e.g. '2.0-beta1'
     * 
*/ public boolean hasAndroidPluginVersion() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string android_plugin_version = 1; * *
     * Version of our Gradle plugin supporting android builds. e.g. '2.0-beta1'
     * 
*/ public java.lang.String getAndroidPluginVersion() { java.lang.Object ref = androidPluginVersion_; 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()) { androidPluginVersion_ = s; } return s; } } /** * optional string android_plugin_version = 1; * *
     * Version of our Gradle plugin supporting android builds. e.g. '2.0-beta1'
     * 
*/ public com.google.protobuf.ByteString getAndroidPluginVersionBytes() { java.lang.Object ref = androidPluginVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); androidPluginVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string gradle_version = 2; public static final int GRADLE_VERSION_FIELD_NUMBER = 2; private java.lang.Object gradleVersion_; /** * optional string gradle_version = 2; * *
     * Version of the open source Gradle application used.
     * 
*/ public boolean hasGradleVersion() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string gradle_version = 2; * *
     * Version of the open source Gradle application used.
     * 
*/ public java.lang.String getGradleVersion() { java.lang.Object ref = gradleVersion_; 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()) { gradleVersion_ = s; } return s; } } /** * optional string gradle_version = 2; * *
     * Version of the open source Gradle application used.
     * 
*/ public com.google.protobuf.ByteString getGradleVersionBytes() { java.lang.Object ref = gradleVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); gradleVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional bool user_enabled_ir = 3; public static final int USER_ENABLED_IR_FIELD_NUMBER = 3; private boolean userEnabledIr_; /** * optional bool user_enabled_ir = 3; * *
     * indicates whether the user has instant run enabled in settings
     * 
*/ public boolean hasUserEnabledIr() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional bool user_enabled_ir = 3; * *
     * indicates whether the user has instant run enabled in settings
     * 
*/ public boolean getUserEnabledIr() { return userEnabledIr_; } // optional bool model_supports_ir = 4; public static final int MODEL_SUPPORTS_IR_FIELD_NUMBER = 4; private boolean modelSupportsIr_; /** * optional bool model_supports_ir = 4; * *
     * indicates whether the IDE thinks whether this plugin version supports IR
     * 
*/ public boolean hasModelSupportsIr() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional bool model_supports_ir = 4; * *
     * indicates whether the IDE thinks whether this plugin version supports IR
     * 
*/ public boolean getModelSupportsIr() { return modelSupportsIr_; } // optional bool variant_supports_ir = 5; public static final int VARIANT_SUPPORTS_IR_FIELD_NUMBER = 5; private boolean variantSupportsIr_; /** * optional bool variant_supports_ir = 5; * *
     * indicates whether the current variant supports IR, but this can be changed
     *  without a notification
     * 
*/ public boolean hasVariantSupportsIr() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional bool variant_supports_ir = 5; * *
     * indicates whether the current variant supports IR, but this can be changed
     *  without a notification
     * 
*/ public boolean getVariantSupportsIr() { return variantSupportsIr_; } // repeated .android_studio.GradleLibrary libraries = 6; public static final int LIBRARIES_FIELD_NUMBER = 6; private java.util.List libraries_; /** * repeated .android_studio.GradleLibrary libraries = 6; * *
     * per library metrics.
     * 
*/ public java.util.List getLibrariesList() { return libraries_; } /** * repeated .android_studio.GradleLibrary libraries = 6; * *
     * per library metrics.
     * 
*/ public java.util.List getLibrariesOrBuilderList() { return libraries_; } /** * repeated .android_studio.GradleLibrary libraries = 6; * *
     * per library metrics.
     * 
*/ public int getLibrariesCount() { return libraries_.size(); } /** * repeated .android_studio.GradleLibrary libraries = 6; * *
     * per library metrics.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary getLibraries(int index) { return libraries_.get(index); } /** * repeated .android_studio.GradleLibrary libraries = 6; * *
     * per library metrics.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibraryOrBuilder getLibrariesOrBuilder( int index) { return libraries_.get(index); } // repeated .android_studio.GradleModule modules = 7; public static final int MODULES_FIELD_NUMBER = 7; private java.util.List modules_; /** * repeated .android_studio.GradleModule modules = 7; * *
     * per module metrics.
     * 
*/ public java.util.List getModulesList() { return modules_; } /** * repeated .android_studio.GradleModule modules = 7; * *
     * per module metrics.
     * 
*/ public java.util.List getModulesOrBuilderList() { return modules_; } /** * repeated .android_studio.GradleModule modules = 7; * *
     * per module metrics.
     * 
*/ public int getModulesCount() { return modules_.size(); } /** * repeated .android_studio.GradleModule modules = 7; * *
     * per module metrics.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule getModules(int index) { return modules_.get(index); } /** * repeated .android_studio.GradleModule modules = 7; * *
     * per module metrics.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModuleOrBuilder getModulesOrBuilder( int index) { return modules_.get(index); } // repeated .android_studio.GradleAndroidModule android_modules = 8; public static final int ANDROID_MODULES_FIELD_NUMBER = 8; private java.util.List androidModules_; /** * repeated .android_studio.GradleAndroidModule android_modules = 8; * *
     * per android module metrics.
     * 
*/ public java.util.List getAndroidModulesList() { return androidModules_; } /** * repeated .android_studio.GradleAndroidModule android_modules = 8; * *
     * per android module metrics.
     * 
*/ public java.util.List getAndroidModulesOrBuilderList() { return androidModules_; } /** * repeated .android_studio.GradleAndroidModule android_modules = 8; * *
     * per android module metrics.
     * 
*/ public int getAndroidModulesCount() { return androidModules_.size(); } /** * repeated .android_studio.GradleAndroidModule android_modules = 8; * *
     * per android module metrics.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule getAndroidModules(int index) { return androidModules_.get(index); } /** * repeated .android_studio.GradleAndroidModule android_modules = 8; * *
     * per android module metrics.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModuleOrBuilder getAndroidModulesOrBuilder( int index) { return androidModules_.get(index); } // repeated .android_studio.GradleNativeAndroidModule native_android_modules = 9; public static final int NATIVE_ANDROID_MODULES_FIELD_NUMBER = 9; private java.util.List nativeAndroidModules_; /** * repeated .android_studio.GradleNativeAndroidModule native_android_modules = 9; * *
     * per native android module metrics
     * 
*/ public java.util.List getNativeAndroidModulesList() { return nativeAndroidModules_; } /** * repeated .android_studio.GradleNativeAndroidModule native_android_modules = 9; * *
     * per native android module metrics
     * 
*/ public java.util.List getNativeAndroidModulesOrBuilderList() { return nativeAndroidModules_; } /** * repeated .android_studio.GradleNativeAndroidModule native_android_modules = 9; * *
     * per native android module metrics
     * 
*/ public int getNativeAndroidModulesCount() { return nativeAndroidModules_.size(); } /** * repeated .android_studio.GradleNativeAndroidModule native_android_modules = 9; * *
     * per native android module metrics
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule getNativeAndroidModules(int index) { return nativeAndroidModules_.get(index); } /** * repeated .android_studio.GradleNativeAndroidModule native_android_modules = 9; * *
     * per native android module metrics
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModuleOrBuilder getNativeAndroidModulesOrBuilder( int index) { return nativeAndroidModules_.get(index); } private void initFields() { androidPluginVersion_ = ""; gradleVersion_ = ""; userEnabledIr_ = false; modelSupportsIr_ = false; variantSupportsIr_ = false; libraries_ = java.util.Collections.emptyList(); modules_ = java.util.Collections.emptyList(); androidModules_ = java.util.Collections.emptyList(); nativeAndroidModules_ = 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(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getAndroidPluginVersionBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getGradleVersionBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(3, userEnabledIr_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBool(4, modelSupportsIr_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBool(5, variantSupportsIr_); } for (int i = 0; i < libraries_.size(); i++) { output.writeMessage(6, libraries_.get(i)); } for (int i = 0; i < modules_.size(); i++) { output.writeMessage(7, modules_.get(i)); } for (int i = 0; i < androidModules_.size(); i++) { output.writeMessage(8, androidModules_.get(i)); } for (int i = 0; i < nativeAndroidModules_.size(); i++) { output.writeMessage(9, nativeAndroidModules_.get(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getAndroidPluginVersionBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getGradleVersionBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, userEnabledIr_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, modelSupportsIr_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(5, variantSupportsIr_); } for (int i = 0; i < libraries_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, libraries_.get(i)); } for (int i = 0; i < modules_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, modules_.get(i)); } for (int i = 0; i < androidModules_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, androidModules_.get(i)); } for (int i = 0; i < nativeAndroidModules_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, nativeAndroidModules_.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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails 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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails 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 android_studio.GradleBuildDetails} * *
     * Details about a single Gradle run.
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetailsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleBuildDetails_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleBuildDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails.Builder.class); } // Construct using com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getLibrariesFieldBuilder(); getModulesFieldBuilder(); getAndroidModulesFieldBuilder(); getNativeAndroidModulesFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); androidPluginVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000001); gradleVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000002); userEnabledIr_ = false; bitField0_ = (bitField0_ & ~0x00000004); modelSupportsIr_ = false; bitField0_ = (bitField0_ & ~0x00000008); variantSupportsIr_ = false; bitField0_ = (bitField0_ & ~0x00000010); if (librariesBuilder_ == null) { libraries_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); } else { librariesBuilder_.clear(); } if (modulesBuilder_ == null) { modules_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); } else { modulesBuilder_.clear(); } if (androidModulesBuilder_ == null) { androidModules_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); } else { androidModulesBuilder_.clear(); } if (nativeAndroidModulesBuilder_ == null) { nativeAndroidModules_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000100); } else { nativeAndroidModulesBuilder_.clear(); } return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleBuildDetails_descriptor; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails getDefaultInstanceForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails.getDefaultInstance(); } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails build() { com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails buildPartial() { com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails result = new com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.androidPluginVersion_ = androidPluginVersion_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.gradleVersion_ = gradleVersion_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.userEnabledIr_ = userEnabledIr_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.modelSupportsIr_ = modelSupportsIr_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.variantSupportsIr_ = variantSupportsIr_; if (librariesBuilder_ == null) { if (((bitField0_ & 0x00000020) == 0x00000020)) { libraries_ = java.util.Collections.unmodifiableList(libraries_); bitField0_ = (bitField0_ & ~0x00000020); } result.libraries_ = libraries_; } else { result.libraries_ = librariesBuilder_.build(); } if (modulesBuilder_ == null) { if (((bitField0_ & 0x00000040) == 0x00000040)) { modules_ = java.util.Collections.unmodifiableList(modules_); bitField0_ = (bitField0_ & ~0x00000040); } result.modules_ = modules_; } else { result.modules_ = modulesBuilder_.build(); } if (androidModulesBuilder_ == null) { if (((bitField0_ & 0x00000080) == 0x00000080)) { androidModules_ = java.util.Collections.unmodifiableList(androidModules_); bitField0_ = (bitField0_ & ~0x00000080); } result.androidModules_ = androidModules_; } else { result.androidModules_ = androidModulesBuilder_.build(); } if (nativeAndroidModulesBuilder_ == null) { if (((bitField0_ & 0x00000100) == 0x00000100)) { nativeAndroidModules_ = java.util.Collections.unmodifiableList(nativeAndroidModules_); bitField0_ = (bitField0_ & ~0x00000100); } result.nativeAndroidModules_ = nativeAndroidModules_; } else { result.nativeAndroidModules_ = nativeAndroidModulesBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails) { return mergeFrom((com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails other) { if (other == com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails.getDefaultInstance()) return this; if (other.hasAndroidPluginVersion()) { bitField0_ |= 0x00000001; androidPluginVersion_ = other.androidPluginVersion_; onChanged(); } if (other.hasGradleVersion()) { bitField0_ |= 0x00000002; gradleVersion_ = other.gradleVersion_; onChanged(); } if (other.hasUserEnabledIr()) { setUserEnabledIr(other.getUserEnabledIr()); } if (other.hasModelSupportsIr()) { setModelSupportsIr(other.getModelSupportsIr()); } if (other.hasVariantSupportsIr()) { setVariantSupportsIr(other.getVariantSupportsIr()); } if (librariesBuilder_ == null) { if (!other.libraries_.isEmpty()) { if (libraries_.isEmpty()) { libraries_ = other.libraries_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureLibrariesIsMutable(); libraries_.addAll(other.libraries_); } onChanged(); } } else { if (!other.libraries_.isEmpty()) { if (librariesBuilder_.isEmpty()) { librariesBuilder_.dispose(); librariesBuilder_ = null; libraries_ = other.libraries_; bitField0_ = (bitField0_ & ~0x00000020); librariesBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getLibrariesFieldBuilder() : null; } else { librariesBuilder_.addAllMessages(other.libraries_); } } } if (modulesBuilder_ == null) { if (!other.modules_.isEmpty()) { if (modules_.isEmpty()) { modules_ = other.modules_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureModulesIsMutable(); modules_.addAll(other.modules_); } onChanged(); } } else { if (!other.modules_.isEmpty()) { if (modulesBuilder_.isEmpty()) { modulesBuilder_.dispose(); modulesBuilder_ = null; modules_ = other.modules_; bitField0_ = (bitField0_ & ~0x00000040); modulesBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getModulesFieldBuilder() : null; } else { modulesBuilder_.addAllMessages(other.modules_); } } } if (androidModulesBuilder_ == null) { if (!other.androidModules_.isEmpty()) { if (androidModules_.isEmpty()) { androidModules_ = other.androidModules_; bitField0_ = (bitField0_ & ~0x00000080); } else { ensureAndroidModulesIsMutable(); androidModules_.addAll(other.androidModules_); } onChanged(); } } else { if (!other.androidModules_.isEmpty()) { if (androidModulesBuilder_.isEmpty()) { androidModulesBuilder_.dispose(); androidModulesBuilder_ = null; androidModules_ = other.androidModules_; bitField0_ = (bitField0_ & ~0x00000080); androidModulesBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getAndroidModulesFieldBuilder() : null; } else { androidModulesBuilder_.addAllMessages(other.androidModules_); } } } if (nativeAndroidModulesBuilder_ == null) { if (!other.nativeAndroidModules_.isEmpty()) { if (nativeAndroidModules_.isEmpty()) { nativeAndroidModules_ = other.nativeAndroidModules_; bitField0_ = (bitField0_ & ~0x00000100); } else { ensureNativeAndroidModulesIsMutable(); nativeAndroidModules_.addAll(other.nativeAndroidModules_); } onChanged(); } } else { if (!other.nativeAndroidModules_.isEmpty()) { if (nativeAndroidModulesBuilder_.isEmpty()) { nativeAndroidModulesBuilder_.dispose(); nativeAndroidModulesBuilder_ = null; nativeAndroidModules_ = other.nativeAndroidModules_; bitField0_ = (bitField0_ & ~0x00000100); nativeAndroidModulesBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getNativeAndroidModulesFieldBuilder() : null; } else { nativeAndroidModulesBuilder_.addAllMessages(other.nativeAndroidModules_); } } } 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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildDetails) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional string android_plugin_version = 1; private java.lang.Object androidPluginVersion_ = ""; /** * optional string android_plugin_version = 1; * *
       * Version of our Gradle plugin supporting android builds. e.g. '2.0-beta1'
       * 
*/ public boolean hasAndroidPluginVersion() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string android_plugin_version = 1; * *
       * Version of our Gradle plugin supporting android builds. e.g. '2.0-beta1'
       * 
*/ public java.lang.String getAndroidPluginVersion() { java.lang.Object ref = androidPluginVersion_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); androidPluginVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string android_plugin_version = 1; * *
       * Version of our Gradle plugin supporting android builds. e.g. '2.0-beta1'
       * 
*/ public com.google.protobuf.ByteString getAndroidPluginVersionBytes() { java.lang.Object ref = androidPluginVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); androidPluginVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string android_plugin_version = 1; * *
       * Version of our Gradle plugin supporting android builds. e.g. '2.0-beta1'
       * 
*/ public Builder setAndroidPluginVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; androidPluginVersion_ = value; onChanged(); return this; } /** * optional string android_plugin_version = 1; * *
       * Version of our Gradle plugin supporting android builds. e.g. '2.0-beta1'
       * 
*/ public Builder clearAndroidPluginVersion() { bitField0_ = (bitField0_ & ~0x00000001); androidPluginVersion_ = getDefaultInstance().getAndroidPluginVersion(); onChanged(); return this; } /** * optional string android_plugin_version = 1; * *
       * Version of our Gradle plugin supporting android builds. e.g. '2.0-beta1'
       * 
*/ public Builder setAndroidPluginVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; androidPluginVersion_ = value; onChanged(); return this; } // optional string gradle_version = 2; private java.lang.Object gradleVersion_ = ""; /** * optional string gradle_version = 2; * *
       * Version of the open source Gradle application used.
       * 
*/ public boolean hasGradleVersion() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string gradle_version = 2; * *
       * Version of the open source Gradle application used.
       * 
*/ public java.lang.String getGradleVersion() { java.lang.Object ref = gradleVersion_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); gradleVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string gradle_version = 2; * *
       * Version of the open source Gradle application used.
       * 
*/ public com.google.protobuf.ByteString getGradleVersionBytes() { java.lang.Object ref = gradleVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); gradleVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string gradle_version = 2; * *
       * Version of the open source Gradle application used.
       * 
*/ public Builder setGradleVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; gradleVersion_ = value; onChanged(); return this; } /** * optional string gradle_version = 2; * *
       * Version of the open source Gradle application used.
       * 
*/ public Builder clearGradleVersion() { bitField0_ = (bitField0_ & ~0x00000002); gradleVersion_ = getDefaultInstance().getGradleVersion(); onChanged(); return this; } /** * optional string gradle_version = 2; * *
       * Version of the open source Gradle application used.
       * 
*/ public Builder setGradleVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; gradleVersion_ = value; onChanged(); return this; } // optional bool user_enabled_ir = 3; private boolean userEnabledIr_ ; /** * optional bool user_enabled_ir = 3; * *
       * indicates whether the user has instant run enabled in settings
       * 
*/ public boolean hasUserEnabledIr() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional bool user_enabled_ir = 3; * *
       * indicates whether the user has instant run enabled in settings
       * 
*/ public boolean getUserEnabledIr() { return userEnabledIr_; } /** * optional bool user_enabled_ir = 3; * *
       * indicates whether the user has instant run enabled in settings
       * 
*/ public Builder setUserEnabledIr(boolean value) { bitField0_ |= 0x00000004; userEnabledIr_ = value; onChanged(); return this; } /** * optional bool user_enabled_ir = 3; * *
       * indicates whether the user has instant run enabled in settings
       * 
*/ public Builder clearUserEnabledIr() { bitField0_ = (bitField0_ & ~0x00000004); userEnabledIr_ = false; onChanged(); return this; } // optional bool model_supports_ir = 4; private boolean modelSupportsIr_ ; /** * optional bool model_supports_ir = 4; * *
       * indicates whether the IDE thinks whether this plugin version supports IR
       * 
*/ public boolean hasModelSupportsIr() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional bool model_supports_ir = 4; * *
       * indicates whether the IDE thinks whether this plugin version supports IR
       * 
*/ public boolean getModelSupportsIr() { return modelSupportsIr_; } /** * optional bool model_supports_ir = 4; * *
       * indicates whether the IDE thinks whether this plugin version supports IR
       * 
*/ public Builder setModelSupportsIr(boolean value) { bitField0_ |= 0x00000008; modelSupportsIr_ = value; onChanged(); return this; } /** * optional bool model_supports_ir = 4; * *
       * indicates whether the IDE thinks whether this plugin version supports IR
       * 
*/ public Builder clearModelSupportsIr() { bitField0_ = (bitField0_ & ~0x00000008); modelSupportsIr_ = false; onChanged(); return this; } // optional bool variant_supports_ir = 5; private boolean variantSupportsIr_ ; /** * optional bool variant_supports_ir = 5; * *
       * indicates whether the current variant supports IR, but this can be changed
       *  without a notification
       * 
*/ public boolean hasVariantSupportsIr() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional bool variant_supports_ir = 5; * *
       * indicates whether the current variant supports IR, but this can be changed
       *  without a notification
       * 
*/ public boolean getVariantSupportsIr() { return variantSupportsIr_; } /** * optional bool variant_supports_ir = 5; * *
       * indicates whether the current variant supports IR, but this can be changed
       *  without a notification
       * 
*/ public Builder setVariantSupportsIr(boolean value) { bitField0_ |= 0x00000010; variantSupportsIr_ = value; onChanged(); return this; } /** * optional bool variant_supports_ir = 5; * *
       * indicates whether the current variant supports IR, but this can be changed
       *  without a notification
       * 
*/ public Builder clearVariantSupportsIr() { bitField0_ = (bitField0_ & ~0x00000010); variantSupportsIr_ = false; onChanged(); return this; } // repeated .android_studio.GradleLibrary libraries = 6; private java.util.List libraries_ = java.util.Collections.emptyList(); private void ensureLibrariesIsMutable() { if (!((bitField0_ & 0x00000020) == 0x00000020)) { libraries_ = new java.util.ArrayList(libraries_); bitField0_ |= 0x00000020; } } private com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibraryOrBuilder> librariesBuilder_; /** * repeated .android_studio.GradleLibrary libraries = 6; * *
       * per library metrics.
       * 
*/ public java.util.List getLibrariesList() { if (librariesBuilder_ == null) { return java.util.Collections.unmodifiableList(libraries_); } else { return librariesBuilder_.getMessageList(); } } /** * repeated .android_studio.GradleLibrary libraries = 6; * *
       * per library metrics.
       * 
*/ public int getLibrariesCount() { if (librariesBuilder_ == null) { return libraries_.size(); } else { return librariesBuilder_.getCount(); } } /** * repeated .android_studio.GradleLibrary libraries = 6; * *
       * per library metrics.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary getLibraries(int index) { if (librariesBuilder_ == null) { return libraries_.get(index); } else { return librariesBuilder_.getMessage(index); } } /** * repeated .android_studio.GradleLibrary libraries = 6; * *
       * per library metrics.
       * 
*/ public Builder setLibraries( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary value) { if (librariesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLibrariesIsMutable(); libraries_.set(index, value); onChanged(); } else { librariesBuilder_.setMessage(index, value); } return this; } /** * repeated .android_studio.GradleLibrary libraries = 6; * *
       * per library metrics.
       * 
*/ public Builder setLibraries( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary.Builder builderForValue) { if (librariesBuilder_ == null) { ensureLibrariesIsMutable(); libraries_.set(index, builderForValue.build()); onChanged(); } else { librariesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .android_studio.GradleLibrary libraries = 6; * *
       * per library metrics.
       * 
*/ public Builder addLibraries(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary value) { if (librariesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLibrariesIsMutable(); libraries_.add(value); onChanged(); } else { librariesBuilder_.addMessage(value); } return this; } /** * repeated .android_studio.GradleLibrary libraries = 6; * *
       * per library metrics.
       * 
*/ public Builder addLibraries( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary value) { if (librariesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLibrariesIsMutable(); libraries_.add(index, value); onChanged(); } else { librariesBuilder_.addMessage(index, value); } return this; } /** * repeated .android_studio.GradleLibrary libraries = 6; * *
       * per library metrics.
       * 
*/ public Builder addLibraries( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary.Builder builderForValue) { if (librariesBuilder_ == null) { ensureLibrariesIsMutable(); libraries_.add(builderForValue.build()); onChanged(); } else { librariesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .android_studio.GradleLibrary libraries = 6; * *
       * per library metrics.
       * 
*/ public Builder addLibraries( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary.Builder builderForValue) { if (librariesBuilder_ == null) { ensureLibrariesIsMutable(); libraries_.add(index, builderForValue.build()); onChanged(); } else { librariesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .android_studio.GradleLibrary libraries = 6; * *
       * per library metrics.
       * 
*/ public Builder addAllLibraries( java.lang.Iterable values) { if (librariesBuilder_ == null) { ensureLibrariesIsMutable(); super.addAll(values, libraries_); onChanged(); } else { librariesBuilder_.addAllMessages(values); } return this; } /** * repeated .android_studio.GradleLibrary libraries = 6; * *
       * per library metrics.
       * 
*/ public Builder clearLibraries() { if (librariesBuilder_ == null) { libraries_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); } else { librariesBuilder_.clear(); } return this; } /** * repeated .android_studio.GradleLibrary libraries = 6; * *
       * per library metrics.
       * 
*/ public Builder removeLibraries(int index) { if (librariesBuilder_ == null) { ensureLibrariesIsMutable(); libraries_.remove(index); onChanged(); } else { librariesBuilder_.remove(index); } return this; } /** * repeated .android_studio.GradleLibrary libraries = 6; * *
       * per library metrics.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary.Builder getLibrariesBuilder( int index) { return getLibrariesFieldBuilder().getBuilder(index); } /** * repeated .android_studio.GradleLibrary libraries = 6; * *
       * per library metrics.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibraryOrBuilder getLibrariesOrBuilder( int index) { if (librariesBuilder_ == null) { return libraries_.get(index); } else { return librariesBuilder_.getMessageOrBuilder(index); } } /** * repeated .android_studio.GradleLibrary libraries = 6; * *
       * per library metrics.
       * 
*/ public java.util.List getLibrariesOrBuilderList() { if (librariesBuilder_ != null) { return librariesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(libraries_); } } /** * repeated .android_studio.GradleLibrary libraries = 6; * *
       * per library metrics.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary.Builder addLibrariesBuilder() { return getLibrariesFieldBuilder().addBuilder( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary.getDefaultInstance()); } /** * repeated .android_studio.GradleLibrary libraries = 6; * *
       * per library metrics.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary.Builder addLibrariesBuilder( int index) { return getLibrariesFieldBuilder().addBuilder( index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary.getDefaultInstance()); } /** * repeated .android_studio.GradleLibrary libraries = 6; * *
       * per library metrics.
       * 
*/ public java.util.List getLibrariesBuilderList() { return getLibrariesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibraryOrBuilder> getLibrariesFieldBuilder() { if (librariesBuilder_ == null) { librariesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibraryOrBuilder>( libraries_, ((bitField0_ & 0x00000020) == 0x00000020), getParentForChildren(), isClean()); libraries_ = null; } return librariesBuilder_; } // repeated .android_studio.GradleModule modules = 7; private java.util.List modules_ = java.util.Collections.emptyList(); private void ensureModulesIsMutable() { if (!((bitField0_ & 0x00000040) == 0x00000040)) { modules_ = new java.util.ArrayList(modules_); bitField0_ |= 0x00000040; } } private com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModuleOrBuilder> modulesBuilder_; /** * repeated .android_studio.GradleModule modules = 7; * *
       * per module metrics.
       * 
*/ public java.util.List getModulesList() { if (modulesBuilder_ == null) { return java.util.Collections.unmodifiableList(modules_); } else { return modulesBuilder_.getMessageList(); } } /** * repeated .android_studio.GradleModule modules = 7; * *
       * per module metrics.
       * 
*/ public int getModulesCount() { if (modulesBuilder_ == null) { return modules_.size(); } else { return modulesBuilder_.getCount(); } } /** * repeated .android_studio.GradleModule modules = 7; * *
       * per module metrics.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule getModules(int index) { if (modulesBuilder_ == null) { return modules_.get(index); } else { return modulesBuilder_.getMessage(index); } } /** * repeated .android_studio.GradleModule modules = 7; * *
       * per module metrics.
       * 
*/ public Builder setModules( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule value) { if (modulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureModulesIsMutable(); modules_.set(index, value); onChanged(); } else { modulesBuilder_.setMessage(index, value); } return this; } /** * repeated .android_studio.GradleModule modules = 7; * *
       * per module metrics.
       * 
*/ public Builder setModules( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule.Builder builderForValue) { if (modulesBuilder_ == null) { ensureModulesIsMutable(); modules_.set(index, builderForValue.build()); onChanged(); } else { modulesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .android_studio.GradleModule modules = 7; * *
       * per module metrics.
       * 
*/ public Builder addModules(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule value) { if (modulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureModulesIsMutable(); modules_.add(value); onChanged(); } else { modulesBuilder_.addMessage(value); } return this; } /** * repeated .android_studio.GradleModule modules = 7; * *
       * per module metrics.
       * 
*/ public Builder addModules( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule value) { if (modulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureModulesIsMutable(); modules_.add(index, value); onChanged(); } else { modulesBuilder_.addMessage(index, value); } return this; } /** * repeated .android_studio.GradleModule modules = 7; * *
       * per module metrics.
       * 
*/ public Builder addModules( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule.Builder builderForValue) { if (modulesBuilder_ == null) { ensureModulesIsMutable(); modules_.add(builderForValue.build()); onChanged(); } else { modulesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .android_studio.GradleModule modules = 7; * *
       * per module metrics.
       * 
*/ public Builder addModules( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule.Builder builderForValue) { if (modulesBuilder_ == null) { ensureModulesIsMutable(); modules_.add(index, builderForValue.build()); onChanged(); } else { modulesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .android_studio.GradleModule modules = 7; * *
       * per module metrics.
       * 
*/ public Builder addAllModules( java.lang.Iterable values) { if (modulesBuilder_ == null) { ensureModulesIsMutable(); super.addAll(values, modules_); onChanged(); } else { modulesBuilder_.addAllMessages(values); } return this; } /** * repeated .android_studio.GradleModule modules = 7; * *
       * per module metrics.
       * 
*/ public Builder clearModules() { if (modulesBuilder_ == null) { modules_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); } else { modulesBuilder_.clear(); } return this; } /** * repeated .android_studio.GradleModule modules = 7; * *
       * per module metrics.
       * 
*/ public Builder removeModules(int index) { if (modulesBuilder_ == null) { ensureModulesIsMutable(); modules_.remove(index); onChanged(); } else { modulesBuilder_.remove(index); } return this; } /** * repeated .android_studio.GradleModule modules = 7; * *
       * per module metrics.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule.Builder getModulesBuilder( int index) { return getModulesFieldBuilder().getBuilder(index); } /** * repeated .android_studio.GradleModule modules = 7; * *
       * per module metrics.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModuleOrBuilder getModulesOrBuilder( int index) { if (modulesBuilder_ == null) { return modules_.get(index); } else { return modulesBuilder_.getMessageOrBuilder(index); } } /** * repeated .android_studio.GradleModule modules = 7; * *
       * per module metrics.
       * 
*/ public java.util.List getModulesOrBuilderList() { if (modulesBuilder_ != null) { return modulesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(modules_); } } /** * repeated .android_studio.GradleModule modules = 7; * *
       * per module metrics.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule.Builder addModulesBuilder() { return getModulesFieldBuilder().addBuilder( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule.getDefaultInstance()); } /** * repeated .android_studio.GradleModule modules = 7; * *
       * per module metrics.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule.Builder addModulesBuilder( int index) { return getModulesFieldBuilder().addBuilder( index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule.getDefaultInstance()); } /** * repeated .android_studio.GradleModule modules = 7; * *
       * per module metrics.
       * 
*/ public java.util.List getModulesBuilderList() { return getModulesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModuleOrBuilder> getModulesFieldBuilder() { if (modulesBuilder_ == null) { modulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModuleOrBuilder>( modules_, ((bitField0_ & 0x00000040) == 0x00000040), getParentForChildren(), isClean()); modules_ = null; } return modulesBuilder_; } // repeated .android_studio.GradleAndroidModule android_modules = 8; private java.util.List androidModules_ = java.util.Collections.emptyList(); private void ensureAndroidModulesIsMutable() { if (!((bitField0_ & 0x00000080) == 0x00000080)) { androidModules_ = new java.util.ArrayList(androidModules_); bitField0_ |= 0x00000080; } } private com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModuleOrBuilder> androidModulesBuilder_; /** * repeated .android_studio.GradleAndroidModule android_modules = 8; * *
       * per android module metrics.
       * 
*/ public java.util.List getAndroidModulesList() { if (androidModulesBuilder_ == null) { return java.util.Collections.unmodifiableList(androidModules_); } else { return androidModulesBuilder_.getMessageList(); } } /** * repeated .android_studio.GradleAndroidModule android_modules = 8; * *
       * per android module metrics.
       * 
*/ public int getAndroidModulesCount() { if (androidModulesBuilder_ == null) { return androidModules_.size(); } else { return androidModulesBuilder_.getCount(); } } /** * repeated .android_studio.GradleAndroidModule android_modules = 8; * *
       * per android module metrics.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule getAndroidModules(int index) { if (androidModulesBuilder_ == null) { return androidModules_.get(index); } else { return androidModulesBuilder_.getMessage(index); } } /** * repeated .android_studio.GradleAndroidModule android_modules = 8; * *
       * per android module metrics.
       * 
*/ public Builder setAndroidModules( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule value) { if (androidModulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAndroidModulesIsMutable(); androidModules_.set(index, value); onChanged(); } else { androidModulesBuilder_.setMessage(index, value); } return this; } /** * repeated .android_studio.GradleAndroidModule android_modules = 8; * *
       * per android module metrics.
       * 
*/ public Builder setAndroidModules( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule.Builder builderForValue) { if (androidModulesBuilder_ == null) { ensureAndroidModulesIsMutable(); androidModules_.set(index, builderForValue.build()); onChanged(); } else { androidModulesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .android_studio.GradleAndroidModule android_modules = 8; * *
       * per android module metrics.
       * 
*/ public Builder addAndroidModules(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule value) { if (androidModulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAndroidModulesIsMutable(); androidModules_.add(value); onChanged(); } else { androidModulesBuilder_.addMessage(value); } return this; } /** * repeated .android_studio.GradleAndroidModule android_modules = 8; * *
       * per android module metrics.
       * 
*/ public Builder addAndroidModules( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule value) { if (androidModulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAndroidModulesIsMutable(); androidModules_.add(index, value); onChanged(); } else { androidModulesBuilder_.addMessage(index, value); } return this; } /** * repeated .android_studio.GradleAndroidModule android_modules = 8; * *
       * per android module metrics.
       * 
*/ public Builder addAndroidModules( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule.Builder builderForValue) { if (androidModulesBuilder_ == null) { ensureAndroidModulesIsMutable(); androidModules_.add(builderForValue.build()); onChanged(); } else { androidModulesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .android_studio.GradleAndroidModule android_modules = 8; * *
       * per android module metrics.
       * 
*/ public Builder addAndroidModules( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule.Builder builderForValue) { if (androidModulesBuilder_ == null) { ensureAndroidModulesIsMutable(); androidModules_.add(index, builderForValue.build()); onChanged(); } else { androidModulesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .android_studio.GradleAndroidModule android_modules = 8; * *
       * per android module metrics.
       * 
*/ public Builder addAllAndroidModules( java.lang.Iterable values) { if (androidModulesBuilder_ == null) { ensureAndroidModulesIsMutable(); super.addAll(values, androidModules_); onChanged(); } else { androidModulesBuilder_.addAllMessages(values); } return this; } /** * repeated .android_studio.GradleAndroidModule android_modules = 8; * *
       * per android module metrics.
       * 
*/ public Builder clearAndroidModules() { if (androidModulesBuilder_ == null) { androidModules_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); onChanged(); } else { androidModulesBuilder_.clear(); } return this; } /** * repeated .android_studio.GradleAndroidModule android_modules = 8; * *
       * per android module metrics.
       * 
*/ public Builder removeAndroidModules(int index) { if (androidModulesBuilder_ == null) { ensureAndroidModulesIsMutable(); androidModules_.remove(index); onChanged(); } else { androidModulesBuilder_.remove(index); } return this; } /** * repeated .android_studio.GradleAndroidModule android_modules = 8; * *
       * per android module metrics.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule.Builder getAndroidModulesBuilder( int index) { return getAndroidModulesFieldBuilder().getBuilder(index); } /** * repeated .android_studio.GradleAndroidModule android_modules = 8; * *
       * per android module metrics.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModuleOrBuilder getAndroidModulesOrBuilder( int index) { if (androidModulesBuilder_ == null) { return androidModules_.get(index); } else { return androidModulesBuilder_.getMessageOrBuilder(index); } } /** * repeated .android_studio.GradleAndroidModule android_modules = 8; * *
       * per android module metrics.
       * 
*/ public java.util.List getAndroidModulesOrBuilderList() { if (androidModulesBuilder_ != null) { return androidModulesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(androidModules_); } } /** * repeated .android_studio.GradleAndroidModule android_modules = 8; * *
       * per android module metrics.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule.Builder addAndroidModulesBuilder() { return getAndroidModulesFieldBuilder().addBuilder( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule.getDefaultInstance()); } /** * repeated .android_studio.GradleAndroidModule android_modules = 8; * *
       * per android module metrics.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule.Builder addAndroidModulesBuilder( int index) { return getAndroidModulesFieldBuilder().addBuilder( index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule.getDefaultInstance()); } /** * repeated .android_studio.GradleAndroidModule android_modules = 8; * *
       * per android module metrics.
       * 
*/ public java.util.List getAndroidModulesBuilderList() { return getAndroidModulesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModuleOrBuilder> getAndroidModulesFieldBuilder() { if (androidModulesBuilder_ == null) { androidModulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModuleOrBuilder>( androidModules_, ((bitField0_ & 0x00000080) == 0x00000080), getParentForChildren(), isClean()); androidModules_ = null; } return androidModulesBuilder_; } // repeated .android_studio.GradleNativeAndroidModule native_android_modules = 9; private java.util.List nativeAndroidModules_ = java.util.Collections.emptyList(); private void ensureNativeAndroidModulesIsMutable() { if (!((bitField0_ & 0x00000100) == 0x00000100)) { nativeAndroidModules_ = new java.util.ArrayList(nativeAndroidModules_); bitField0_ |= 0x00000100; } } private com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModuleOrBuilder> nativeAndroidModulesBuilder_; /** * repeated .android_studio.GradleNativeAndroidModule native_android_modules = 9; * *
       * per native android module metrics
       * 
*/ public java.util.List getNativeAndroidModulesList() { if (nativeAndroidModulesBuilder_ == null) { return java.util.Collections.unmodifiableList(nativeAndroidModules_); } else { return nativeAndroidModulesBuilder_.getMessageList(); } } /** * repeated .android_studio.GradleNativeAndroidModule native_android_modules = 9; * *
       * per native android module metrics
       * 
*/ public int getNativeAndroidModulesCount() { if (nativeAndroidModulesBuilder_ == null) { return nativeAndroidModules_.size(); } else { return nativeAndroidModulesBuilder_.getCount(); } } /** * repeated .android_studio.GradleNativeAndroidModule native_android_modules = 9; * *
       * per native android module metrics
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule getNativeAndroidModules(int index) { if (nativeAndroidModulesBuilder_ == null) { return nativeAndroidModules_.get(index); } else { return nativeAndroidModulesBuilder_.getMessage(index); } } /** * repeated .android_studio.GradleNativeAndroidModule native_android_modules = 9; * *
       * per native android module metrics
       * 
*/ public Builder setNativeAndroidModules( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule value) { if (nativeAndroidModulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNativeAndroidModulesIsMutable(); nativeAndroidModules_.set(index, value); onChanged(); } else { nativeAndroidModulesBuilder_.setMessage(index, value); } return this; } /** * repeated .android_studio.GradleNativeAndroidModule native_android_modules = 9; * *
       * per native android module metrics
       * 
*/ public Builder setNativeAndroidModules( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule.Builder builderForValue) { if (nativeAndroidModulesBuilder_ == null) { ensureNativeAndroidModulesIsMutable(); nativeAndroidModules_.set(index, builderForValue.build()); onChanged(); } else { nativeAndroidModulesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .android_studio.GradleNativeAndroidModule native_android_modules = 9; * *
       * per native android module metrics
       * 
*/ public Builder addNativeAndroidModules(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule value) { if (nativeAndroidModulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNativeAndroidModulesIsMutable(); nativeAndroidModules_.add(value); onChanged(); } else { nativeAndroidModulesBuilder_.addMessage(value); } return this; } /** * repeated .android_studio.GradleNativeAndroidModule native_android_modules = 9; * *
       * per native android module metrics
       * 
*/ public Builder addNativeAndroidModules( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule value) { if (nativeAndroidModulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNativeAndroidModulesIsMutable(); nativeAndroidModules_.add(index, value); onChanged(); } else { nativeAndroidModulesBuilder_.addMessage(index, value); } return this; } /** * repeated .android_studio.GradleNativeAndroidModule native_android_modules = 9; * *
       * per native android module metrics
       * 
*/ public Builder addNativeAndroidModules( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule.Builder builderForValue) { if (nativeAndroidModulesBuilder_ == null) { ensureNativeAndroidModulesIsMutable(); nativeAndroidModules_.add(builderForValue.build()); onChanged(); } else { nativeAndroidModulesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .android_studio.GradleNativeAndroidModule native_android_modules = 9; * *
       * per native android module metrics
       * 
*/ public Builder addNativeAndroidModules( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule.Builder builderForValue) { if (nativeAndroidModulesBuilder_ == null) { ensureNativeAndroidModulesIsMutable(); nativeAndroidModules_.add(index, builderForValue.build()); onChanged(); } else { nativeAndroidModulesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .android_studio.GradleNativeAndroidModule native_android_modules = 9; * *
       * per native android module metrics
       * 
*/ public Builder addAllNativeAndroidModules( java.lang.Iterable values) { if (nativeAndroidModulesBuilder_ == null) { ensureNativeAndroidModulesIsMutable(); super.addAll(values, nativeAndroidModules_); onChanged(); } else { nativeAndroidModulesBuilder_.addAllMessages(values); } return this; } /** * repeated .android_studio.GradleNativeAndroidModule native_android_modules = 9; * *
       * per native android module metrics
       * 
*/ public Builder clearNativeAndroidModules() { if (nativeAndroidModulesBuilder_ == null) { nativeAndroidModules_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000100); onChanged(); } else { nativeAndroidModulesBuilder_.clear(); } return this; } /** * repeated .android_studio.GradleNativeAndroidModule native_android_modules = 9; * *
       * per native android module metrics
       * 
*/ public Builder removeNativeAndroidModules(int index) { if (nativeAndroidModulesBuilder_ == null) { ensureNativeAndroidModulesIsMutable(); nativeAndroidModules_.remove(index); onChanged(); } else { nativeAndroidModulesBuilder_.remove(index); } return this; } /** * repeated .android_studio.GradleNativeAndroidModule native_android_modules = 9; * *
       * per native android module metrics
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule.Builder getNativeAndroidModulesBuilder( int index) { return getNativeAndroidModulesFieldBuilder().getBuilder(index); } /** * repeated .android_studio.GradleNativeAndroidModule native_android_modules = 9; * *
       * per native android module metrics
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModuleOrBuilder getNativeAndroidModulesOrBuilder( int index) { if (nativeAndroidModulesBuilder_ == null) { return nativeAndroidModules_.get(index); } else { return nativeAndroidModulesBuilder_.getMessageOrBuilder(index); } } /** * repeated .android_studio.GradleNativeAndroidModule native_android_modules = 9; * *
       * per native android module metrics
       * 
*/ public java.util.List getNativeAndroidModulesOrBuilderList() { if (nativeAndroidModulesBuilder_ != null) { return nativeAndroidModulesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(nativeAndroidModules_); } } /** * repeated .android_studio.GradleNativeAndroidModule native_android_modules = 9; * *
       * per native android module metrics
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule.Builder addNativeAndroidModulesBuilder() { return getNativeAndroidModulesFieldBuilder().addBuilder( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule.getDefaultInstance()); } /** * repeated .android_studio.GradleNativeAndroidModule native_android_modules = 9; * *
       * per native android module metrics
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule.Builder addNativeAndroidModulesBuilder( int index) { return getNativeAndroidModulesFieldBuilder().addBuilder( index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule.getDefaultInstance()); } /** * repeated .android_studio.GradleNativeAndroidModule native_android_modules = 9; * *
       * per native android module metrics
       * 
*/ public java.util.List getNativeAndroidModulesBuilderList() { return getNativeAndroidModulesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModuleOrBuilder> getNativeAndroidModulesFieldBuilder() { if (nativeAndroidModulesBuilder_ == null) { nativeAndroidModulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModuleOrBuilder>( nativeAndroidModules_, ((bitField0_ & 0x00000100) == 0x00000100), getParentForChildren(), isClean()); nativeAndroidModules_ = null; } return nativeAndroidModulesBuilder_; } // @@protoc_insertion_point(builder_scope:android_studio.GradleBuildDetails) } static { defaultInstance = new GradleBuildDetails(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:android_studio.GradleBuildDetails) } public interface GradleLibraryOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional int64 jar_dependency_count = 1; /** * optional int64 jar_dependency_count = 1; * *
     * Number of jar dependencies in this library.
     * 
*/ boolean hasJarDependencyCount(); /** * optional int64 jar_dependency_count = 1; * *
     * Number of jar dependencies in this library.
     * 
*/ long getJarDependencyCount(); // optional int64 aar_dependency_count = 2; /** * optional int64 aar_dependency_count = 2; * *
     * Number of aar dependencies in this library.
     * 
*/ boolean hasAarDependencyCount(); /** * optional int64 aar_dependency_count = 2; * *
     * Number of aar dependencies in this library.
     * 
*/ long getAarDependencyCount(); } /** * Protobuf type {@code android_studio.GradleLibrary} * *
   * Per library Gradle metrics.
   * 
*/ public static final class GradleLibrary extends com.google.protobuf.GeneratedMessage implements GradleLibraryOrBuilder { // Use GradleLibrary.newBuilder() to construct. private GradleLibrary(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private GradleLibrary(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final GradleLibrary defaultInstance; public static GradleLibrary getDefaultInstance() { return defaultInstance; } public GradleLibrary getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GradleLibrary( 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; jarDependencyCount_ = input.readInt64(); break; } case 16: { bitField0_ |= 0x00000002; aarDependencyCount_ = input.readInt64(); 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.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleLibrary_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleLibrary_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public GradleLibrary parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GradleLibrary(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional int64 jar_dependency_count = 1; public static final int JAR_DEPENDENCY_COUNT_FIELD_NUMBER = 1; private long jarDependencyCount_; /** * optional int64 jar_dependency_count = 1; * *
     * Number of jar dependencies in this library.
     * 
*/ public boolean hasJarDependencyCount() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 jar_dependency_count = 1; * *
     * Number of jar dependencies in this library.
     * 
*/ public long getJarDependencyCount() { return jarDependencyCount_; } // optional int64 aar_dependency_count = 2; public static final int AAR_DEPENDENCY_COUNT_FIELD_NUMBER = 2; private long aarDependencyCount_; /** * optional int64 aar_dependency_count = 2; * *
     * Number of aar dependencies in this library.
     * 
*/ public boolean hasAarDependencyCount() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int64 aar_dependency_count = 2; * *
     * Number of aar dependencies in this library.
     * 
*/ public long getAarDependencyCount() { return aarDependencyCount_; } private void initFields() { jarDependencyCount_ = 0L; aarDependencyCount_ = 0L; } 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.writeInt64(1, jarDependencyCount_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt64(2, aarDependencyCount_); } 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 .computeInt64Size(1, jarDependencyCount_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, aarDependencyCount_); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary 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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary 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 android_studio.GradleLibrary} * *
     * Per library Gradle metrics.
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibraryOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleLibrary_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleLibrary_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary.Builder.class); } // Construct using com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary.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(); jarDependencyCount_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); aarDependencyCount_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleLibrary_descriptor; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary getDefaultInstanceForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary.getDefaultInstance(); } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary build() { com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary buildPartial() { com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary result = new com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.jarDependencyCount_ = jarDependencyCount_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.aarDependencyCount_ = aarDependencyCount_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary) { return mergeFrom((com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary other) { if (other == com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary.getDefaultInstance()) return this; if (other.hasJarDependencyCount()) { setJarDependencyCount(other.getJarDependencyCount()); } if (other.hasAarDependencyCount()) { setAarDependencyCount(other.getAarDependencyCount()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional int64 jar_dependency_count = 1; private long jarDependencyCount_ ; /** * optional int64 jar_dependency_count = 1; * *
       * Number of jar dependencies in this library.
       * 
*/ public boolean hasJarDependencyCount() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 jar_dependency_count = 1; * *
       * Number of jar dependencies in this library.
       * 
*/ public long getJarDependencyCount() { return jarDependencyCount_; } /** * optional int64 jar_dependency_count = 1; * *
       * Number of jar dependencies in this library.
       * 
*/ public Builder setJarDependencyCount(long value) { bitField0_ |= 0x00000001; jarDependencyCount_ = value; onChanged(); return this; } /** * optional int64 jar_dependency_count = 1; * *
       * Number of jar dependencies in this library.
       * 
*/ public Builder clearJarDependencyCount() { bitField0_ = (bitField0_ & ~0x00000001); jarDependencyCount_ = 0L; onChanged(); return this; } // optional int64 aar_dependency_count = 2; private long aarDependencyCount_ ; /** * optional int64 aar_dependency_count = 2; * *
       * Number of aar dependencies in this library.
       * 
*/ public boolean hasAarDependencyCount() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int64 aar_dependency_count = 2; * *
       * Number of aar dependencies in this library.
       * 
*/ public long getAarDependencyCount() { return aarDependencyCount_; } /** * optional int64 aar_dependency_count = 2; * *
       * Number of aar dependencies in this library.
       * 
*/ public Builder setAarDependencyCount(long value) { bitField0_ |= 0x00000002; aarDependencyCount_ = value; onChanged(); return this; } /** * optional int64 aar_dependency_count = 2; * *
       * Number of aar dependencies in this library.
       * 
*/ public Builder clearAarDependencyCount() { bitField0_ = (bitField0_ & ~0x00000002); aarDependencyCount_ = 0L; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:android_studio.GradleLibrary) } static { defaultInstance = new GradleLibrary(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:android_studio.GradleLibrary) } public interface GradleModuleOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional int64 total_module_count = 1; /** * optional int64 total_module_count = 1; * *
     * Total number of modules in this app.
     * 
*/ boolean hasTotalModuleCount(); /** * optional int64 total_module_count = 1; * *
     * Total number of modules in this app.
     * 
*/ long getTotalModuleCount(); // optional int64 app_module_count = 2; /** * optional int64 app_module_count = 2; * *
     * Number of aar modules in  this app.
     * 
*/ boolean hasAppModuleCount(); /** * optional int64 app_module_count = 2; * *
     * Number of aar modules in  this app.
     * 
*/ long getAppModuleCount(); // optional int64 lib_module_count = 3; /** * optional int64 lib_module_count = 3; * *
     * Number of library modules in this app..
     * 
*/ boolean hasLibModuleCount(); /** * optional int64 lib_module_count = 3; * *
     * Number of library modules in this app..
     * 
*/ long getLibModuleCount(); } /** * Protobuf type {@code android_studio.GradleModule} * *
   * Per module Gradle metrics.
   * 
*/ public static final class GradleModule extends com.google.protobuf.GeneratedMessage implements GradleModuleOrBuilder { // Use GradleModule.newBuilder() to construct. private GradleModule(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private GradleModule(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final GradleModule defaultInstance; public static GradleModule getDefaultInstance() { return defaultInstance; } public GradleModule getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GradleModule( 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; totalModuleCount_ = input.readInt64(); break; } case 16: { bitField0_ |= 0x00000002; appModuleCount_ = input.readInt64(); break; } case 24: { bitField0_ |= 0x00000004; libModuleCount_ = input.readInt64(); 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.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleModule_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleModule_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public GradleModule parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GradleModule(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional int64 total_module_count = 1; public static final int TOTAL_MODULE_COUNT_FIELD_NUMBER = 1; private long totalModuleCount_; /** * optional int64 total_module_count = 1; * *
     * Total number of modules in this app.
     * 
*/ public boolean hasTotalModuleCount() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 total_module_count = 1; * *
     * Total number of modules in this app.
     * 
*/ public long getTotalModuleCount() { return totalModuleCount_; } // optional int64 app_module_count = 2; public static final int APP_MODULE_COUNT_FIELD_NUMBER = 2; private long appModuleCount_; /** * optional int64 app_module_count = 2; * *
     * Number of aar modules in  this app.
     * 
*/ public boolean hasAppModuleCount() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int64 app_module_count = 2; * *
     * Number of aar modules in  this app.
     * 
*/ public long getAppModuleCount() { return appModuleCount_; } // optional int64 lib_module_count = 3; public static final int LIB_MODULE_COUNT_FIELD_NUMBER = 3; private long libModuleCount_; /** * optional int64 lib_module_count = 3; * *
     * Number of library modules in this app..
     * 
*/ public boolean hasLibModuleCount() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional int64 lib_module_count = 3; * *
     * Number of library modules in this app..
     * 
*/ public long getLibModuleCount() { return libModuleCount_; } private void initFields() { totalModuleCount_ = 0L; appModuleCount_ = 0L; libModuleCount_ = 0L; } 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.writeInt64(1, totalModuleCount_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt64(2, appModuleCount_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt64(3, libModuleCount_); } 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 .computeInt64Size(1, totalModuleCount_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, appModuleCount_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, libModuleCount_); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule 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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule 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 android_studio.GradleModule} * *
     * Per module Gradle metrics.
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModuleOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleModule_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleModule_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule.Builder.class); } // Construct using com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule.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(); totalModuleCount_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); appModuleCount_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); libModuleCount_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleModule_descriptor; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule getDefaultInstanceForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule.getDefaultInstance(); } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule build() { com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule buildPartial() { com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule result = new com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.totalModuleCount_ = totalModuleCount_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.appModuleCount_ = appModuleCount_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.libModuleCount_ = libModuleCount_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule) { return mergeFrom((com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule other) { if (other == com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule.getDefaultInstance()) return this; if (other.hasTotalModuleCount()) { setTotalModuleCount(other.getTotalModuleCount()); } if (other.hasAppModuleCount()) { setAppModuleCount(other.getAppModuleCount()); } if (other.hasLibModuleCount()) { setLibModuleCount(other.getLibModuleCount()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional int64 total_module_count = 1; private long totalModuleCount_ ; /** * optional int64 total_module_count = 1; * *
       * Total number of modules in this app.
       * 
*/ public boolean hasTotalModuleCount() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 total_module_count = 1; * *
       * Total number of modules in this app.
       * 
*/ public long getTotalModuleCount() { return totalModuleCount_; } /** * optional int64 total_module_count = 1; * *
       * Total number of modules in this app.
       * 
*/ public Builder setTotalModuleCount(long value) { bitField0_ |= 0x00000001; totalModuleCount_ = value; onChanged(); return this; } /** * optional int64 total_module_count = 1; * *
       * Total number of modules in this app.
       * 
*/ public Builder clearTotalModuleCount() { bitField0_ = (bitField0_ & ~0x00000001); totalModuleCount_ = 0L; onChanged(); return this; } // optional int64 app_module_count = 2; private long appModuleCount_ ; /** * optional int64 app_module_count = 2; * *
       * Number of aar modules in  this app.
       * 
*/ public boolean hasAppModuleCount() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int64 app_module_count = 2; * *
       * Number of aar modules in  this app.
       * 
*/ public long getAppModuleCount() { return appModuleCount_; } /** * optional int64 app_module_count = 2; * *
       * Number of aar modules in  this app.
       * 
*/ public Builder setAppModuleCount(long value) { bitField0_ |= 0x00000002; appModuleCount_ = value; onChanged(); return this; } /** * optional int64 app_module_count = 2; * *
       * Number of aar modules in  this app.
       * 
*/ public Builder clearAppModuleCount() { bitField0_ = (bitField0_ & ~0x00000002); appModuleCount_ = 0L; onChanged(); return this; } // optional int64 lib_module_count = 3; private long libModuleCount_ ; /** * optional int64 lib_module_count = 3; * *
       * Number of library modules in this app..
       * 
*/ public boolean hasLibModuleCount() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional int64 lib_module_count = 3; * *
       * Number of library modules in this app..
       * 
*/ public long getLibModuleCount() { return libModuleCount_; } /** * optional int64 lib_module_count = 3; * *
       * Number of library modules in this app..
       * 
*/ public Builder setLibModuleCount(long value) { bitField0_ |= 0x00000004; libModuleCount_ = value; onChanged(); return this; } /** * optional int64 lib_module_count = 3; * *
       * Number of library modules in this app..
       * 
*/ public Builder clearLibModuleCount() { bitField0_ = (bitField0_ & ~0x00000004); libModuleCount_ = 0L; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:android_studio.GradleModule) } static { defaultInstance = new GradleModule(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:android_studio.GradleModule) } public interface GradleAndroidModuleOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional string app_id = 1; /** * optional string app_id = 1; * *
     * Client-side salted, sha256 of the application id
     *  the app_id is the id for the user's android app
     *  which we salt with a client unique salt and then sha256
     *  so it is anonymized and is unique per user, but has a 1-N relation.
     * 
*/ boolean hasAppId(); /** * optional string app_id = 1; * *
     * Client-side salted, sha256 of the application id
     *  the app_id is the id for the user's android app
     *  which we salt with a client unique salt and then sha256
     *  so it is anonymized and is unique per user, but has a 1-N relation.
     * 
*/ java.lang.String getAppId(); /** * optional string app_id = 1; * *
     * Client-side salted, sha256 of the application id
     *  the app_id is the id for the user's android app
     *  which we salt with a client unique salt and then sha256
     *  so it is anonymized and is unique per user, but has a 1-N relation.
     * 
*/ com.google.protobuf.ByteString getAppIdBytes(); // optional string module_name = 2; /** * optional string module_name = 2; * *
     * Client-side salted, sha256 of the module name.
     * 
*/ boolean hasModuleName(); /** * optional string module_name = 2; * *
     * Client-side salted, sha256 of the module name.
     * 
*/ java.lang.String getModuleName(); /** * optional string module_name = 2; * *
     * Client-side salted, sha256 of the module name.
     * 
*/ com.google.protobuf.ByteString getModuleNameBytes(); // optional bool is_library = 3; /** * optional bool is_library = 3; * *
     * True if this module is a library.
     * 
*/ boolean hasIsLibrary(); /** * optional bool is_library = 3; * *
     * True if this module is a library.
     * 
*/ boolean getIsLibrary(); // optional int64 build_type_count = 4; /** * optional int64 build_type_count = 4; * *
     * Number of different build types for this module.
     * 
*/ boolean hasBuildTypeCount(); /** * optional int64 build_type_count = 4; * *
     * Number of different build types for this module.
     * 
*/ long getBuildTypeCount(); // optional int64 flavor_count = 5; /** * optional int64 flavor_count = 5; * *
     * Number of different flavor types for this module.
     * 
*/ boolean hasFlavorCount(); /** * optional int64 flavor_count = 5; * *
     * Number of different flavor types for this module.
     * 
*/ long getFlavorCount(); // optional int64 flavor_dimension = 6; /** * optional int64 flavor_dimension = 6; * *
     * Number of different flavor dimensions for this module.
     * 
*/ boolean hasFlavorDimension(); /** * optional int64 flavor_dimension = 6; * *
     * Number of different flavor dimensions for this module.
     * 
*/ long getFlavorDimension(); // optional int64 signing_config_count = 7; /** * optional int64 signing_config_count = 7; * *
     * Number of signing configurations for this module.
     * 
*/ boolean hasSigningConfigCount(); /** * optional int64 signing_config_count = 7; * *
     * Number of signing configurations for this module.
     * 
*/ long getSigningConfigCount(); } /** * Protobuf type {@code android_studio.GradleAndroidModule} * *
   * Per Android module Gradle metrics.
   * 
*/ public static final class GradleAndroidModule extends com.google.protobuf.GeneratedMessage implements GradleAndroidModuleOrBuilder { // Use GradleAndroidModule.newBuilder() to construct. private GradleAndroidModule(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private GradleAndroidModule(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final GradleAndroidModule defaultInstance; public static GradleAndroidModule getDefaultInstance() { return defaultInstance; } public GradleAndroidModule getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GradleAndroidModule( 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; appId_ = input.readBytes(); break; } case 18: { bitField0_ |= 0x00000002; moduleName_ = input.readBytes(); break; } case 24: { bitField0_ |= 0x00000004; isLibrary_ = input.readBool(); break; } case 32: { bitField0_ |= 0x00000008; buildTypeCount_ = input.readInt64(); break; } case 40: { bitField0_ |= 0x00000010; flavorCount_ = input.readInt64(); break; } case 48: { bitField0_ |= 0x00000020; flavorDimension_ = input.readInt64(); break; } case 56: { bitField0_ |= 0x00000040; signingConfigCount_ = input.readInt64(); 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.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleAndroidModule_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleAndroidModule_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public GradleAndroidModule parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GradleAndroidModule(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional string app_id = 1; public static final int APP_ID_FIELD_NUMBER = 1; private java.lang.Object appId_; /** * optional string app_id = 1; * *
     * Client-side salted, sha256 of the application id
     *  the app_id is the id for the user's android app
     *  which we salt with a client unique salt and then sha256
     *  so it is anonymized and is unique per user, but has a 1-N relation.
     * 
*/ public boolean hasAppId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string app_id = 1; * *
     * Client-side salted, sha256 of the application id
     *  the app_id is the id for the user's android app
     *  which we salt with a client unique salt and then sha256
     *  so it is anonymized and is unique per user, but has a 1-N relation.
     * 
*/ public java.lang.String getAppId() { java.lang.Object ref = appId_; 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()) { appId_ = s; } return s; } } /** * optional string app_id = 1; * *
     * Client-side salted, sha256 of the application id
     *  the app_id is the id for the user's android app
     *  which we salt with a client unique salt and then sha256
     *  so it is anonymized and is unique per user, but has a 1-N relation.
     * 
*/ public com.google.protobuf.ByteString getAppIdBytes() { java.lang.Object ref = appId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); appId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string module_name = 2; public static final int MODULE_NAME_FIELD_NUMBER = 2; private java.lang.Object moduleName_; /** * optional string module_name = 2; * *
     * Client-side salted, sha256 of the module name.
     * 
*/ public boolean hasModuleName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string module_name = 2; * *
     * Client-side salted, sha256 of the module name.
     * 
*/ public java.lang.String getModuleName() { java.lang.Object ref = moduleName_; 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()) { moduleName_ = s; } return s; } } /** * optional string module_name = 2; * *
     * Client-side salted, sha256 of the module name.
     * 
*/ public com.google.protobuf.ByteString getModuleNameBytes() { java.lang.Object ref = moduleName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); moduleName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional bool is_library = 3; public static final int IS_LIBRARY_FIELD_NUMBER = 3; private boolean isLibrary_; /** * optional bool is_library = 3; * *
     * True if this module is a library.
     * 
*/ public boolean hasIsLibrary() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional bool is_library = 3; * *
     * True if this module is a library.
     * 
*/ public boolean getIsLibrary() { return isLibrary_; } // optional int64 build_type_count = 4; public static final int BUILD_TYPE_COUNT_FIELD_NUMBER = 4; private long buildTypeCount_; /** * optional int64 build_type_count = 4; * *
     * Number of different build types for this module.
     * 
*/ public boolean hasBuildTypeCount() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional int64 build_type_count = 4; * *
     * Number of different build types for this module.
     * 
*/ public long getBuildTypeCount() { return buildTypeCount_; } // optional int64 flavor_count = 5; public static final int FLAVOR_COUNT_FIELD_NUMBER = 5; private long flavorCount_; /** * optional int64 flavor_count = 5; * *
     * Number of different flavor types for this module.
     * 
*/ public boolean hasFlavorCount() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional int64 flavor_count = 5; * *
     * Number of different flavor types for this module.
     * 
*/ public long getFlavorCount() { return flavorCount_; } // optional int64 flavor_dimension = 6; public static final int FLAVOR_DIMENSION_FIELD_NUMBER = 6; private long flavorDimension_; /** * optional int64 flavor_dimension = 6; * *
     * Number of different flavor dimensions for this module.
     * 
*/ public boolean hasFlavorDimension() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional int64 flavor_dimension = 6; * *
     * Number of different flavor dimensions for this module.
     * 
*/ public long getFlavorDimension() { return flavorDimension_; } // optional int64 signing_config_count = 7; public static final int SIGNING_CONFIG_COUNT_FIELD_NUMBER = 7; private long signingConfigCount_; /** * optional int64 signing_config_count = 7; * *
     * Number of signing configurations for this module.
     * 
*/ public boolean hasSigningConfigCount() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional int64 signing_config_count = 7; * *
     * Number of signing configurations for this module.
     * 
*/ public long getSigningConfigCount() { return signingConfigCount_; } private void initFields() { appId_ = ""; moduleName_ = ""; isLibrary_ = false; buildTypeCount_ = 0L; flavorCount_ = 0L; flavorDimension_ = 0L; signingConfigCount_ = 0L; } 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, getAppIdBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getModuleNameBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(3, isLibrary_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt64(4, buildTypeCount_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeInt64(5, flavorCount_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeInt64(6, flavorDimension_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeInt64(7, signingConfigCount_); } 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, getAppIdBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getModuleNameBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, isLibrary_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, buildTypeCount_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, flavorCount_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(6, flavorDimension_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(7, signingConfigCount_); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule 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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule 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 android_studio.GradleAndroidModule} * *
     * Per Android module Gradle metrics.
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModuleOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleAndroidModule_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleAndroidModule_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule.Builder.class); } // Construct using com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule.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(); appId_ = ""; bitField0_ = (bitField0_ & ~0x00000001); moduleName_ = ""; bitField0_ = (bitField0_ & ~0x00000002); isLibrary_ = false; bitField0_ = (bitField0_ & ~0x00000004); buildTypeCount_ = 0L; bitField0_ = (bitField0_ & ~0x00000008); flavorCount_ = 0L; bitField0_ = (bitField0_ & ~0x00000010); flavorDimension_ = 0L; bitField0_ = (bitField0_ & ~0x00000020); signingConfigCount_ = 0L; bitField0_ = (bitField0_ & ~0x00000040); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleAndroidModule_descriptor; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule getDefaultInstanceForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule.getDefaultInstance(); } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule build() { com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule buildPartial() { com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule result = new com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.appId_ = appId_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.moduleName_ = moduleName_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.isLibrary_ = isLibrary_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.buildTypeCount_ = buildTypeCount_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.flavorCount_ = flavorCount_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.flavorDimension_ = flavorDimension_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.signingConfigCount_ = signingConfigCount_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule) { return mergeFrom((com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule other) { if (other == com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule.getDefaultInstance()) return this; if (other.hasAppId()) { bitField0_ |= 0x00000001; appId_ = other.appId_; onChanged(); } if (other.hasModuleName()) { bitField0_ |= 0x00000002; moduleName_ = other.moduleName_; onChanged(); } if (other.hasIsLibrary()) { setIsLibrary(other.getIsLibrary()); } if (other.hasBuildTypeCount()) { setBuildTypeCount(other.getBuildTypeCount()); } if (other.hasFlavorCount()) { setFlavorCount(other.getFlavorCount()); } if (other.hasFlavorDimension()) { setFlavorDimension(other.getFlavorDimension()); } if (other.hasSigningConfigCount()) { setSigningConfigCount(other.getSigningConfigCount()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional string app_id = 1; private java.lang.Object appId_ = ""; /** * optional string app_id = 1; * *
       * Client-side salted, sha256 of the application id
       *  the app_id is the id for the user's android app
       *  which we salt with a client unique salt and then sha256
       *  so it is anonymized and is unique per user, but has a 1-N relation.
       * 
*/ public boolean hasAppId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string app_id = 1; * *
       * Client-side salted, sha256 of the application id
       *  the app_id is the id for the user's android app
       *  which we salt with a client unique salt and then sha256
       *  so it is anonymized and is unique per user, but has a 1-N relation.
       * 
*/ public java.lang.String getAppId() { java.lang.Object ref = appId_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); appId_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string app_id = 1; * *
       * Client-side salted, sha256 of the application id
       *  the app_id is the id for the user's android app
       *  which we salt with a client unique salt and then sha256
       *  so it is anonymized and is unique per user, but has a 1-N relation.
       * 
*/ public com.google.protobuf.ByteString getAppIdBytes() { java.lang.Object ref = appId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); appId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string app_id = 1; * *
       * Client-side salted, sha256 of the application id
       *  the app_id is the id for the user's android app
       *  which we salt with a client unique salt and then sha256
       *  so it is anonymized and is unique per user, but has a 1-N relation.
       * 
*/ public Builder setAppId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; appId_ = value; onChanged(); return this; } /** * optional string app_id = 1; * *
       * Client-side salted, sha256 of the application id
       *  the app_id is the id for the user's android app
       *  which we salt with a client unique salt and then sha256
       *  so it is anonymized and is unique per user, but has a 1-N relation.
       * 
*/ public Builder clearAppId() { bitField0_ = (bitField0_ & ~0x00000001); appId_ = getDefaultInstance().getAppId(); onChanged(); return this; } /** * optional string app_id = 1; * *
       * Client-side salted, sha256 of the application id
       *  the app_id is the id for the user's android app
       *  which we salt with a client unique salt and then sha256
       *  so it is anonymized and is unique per user, but has a 1-N relation.
       * 
*/ public Builder setAppIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; appId_ = value; onChanged(); return this; } // optional string module_name = 2; private java.lang.Object moduleName_ = ""; /** * optional string module_name = 2; * *
       * Client-side salted, sha256 of the module name.
       * 
*/ public boolean hasModuleName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string module_name = 2; * *
       * Client-side salted, sha256 of the module name.
       * 
*/ public java.lang.String getModuleName() { java.lang.Object ref = moduleName_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); moduleName_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string module_name = 2; * *
       * Client-side salted, sha256 of the module name.
       * 
*/ public com.google.protobuf.ByteString getModuleNameBytes() { java.lang.Object ref = moduleName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); moduleName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string module_name = 2; * *
       * Client-side salted, sha256 of the module name.
       * 
*/ public Builder setModuleName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; moduleName_ = value; onChanged(); return this; } /** * optional string module_name = 2; * *
       * Client-side salted, sha256 of the module name.
       * 
*/ public Builder clearModuleName() { bitField0_ = (bitField0_ & ~0x00000002); moduleName_ = getDefaultInstance().getModuleName(); onChanged(); return this; } /** * optional string module_name = 2; * *
       * Client-side salted, sha256 of the module name.
       * 
*/ public Builder setModuleNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; moduleName_ = value; onChanged(); return this; } // optional bool is_library = 3; private boolean isLibrary_ ; /** * optional bool is_library = 3; * *
       * True if this module is a library.
       * 
*/ public boolean hasIsLibrary() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional bool is_library = 3; * *
       * True if this module is a library.
       * 
*/ public boolean getIsLibrary() { return isLibrary_; } /** * optional bool is_library = 3; * *
       * True if this module is a library.
       * 
*/ public Builder setIsLibrary(boolean value) { bitField0_ |= 0x00000004; isLibrary_ = value; onChanged(); return this; } /** * optional bool is_library = 3; * *
       * True if this module is a library.
       * 
*/ public Builder clearIsLibrary() { bitField0_ = (bitField0_ & ~0x00000004); isLibrary_ = false; onChanged(); return this; } // optional int64 build_type_count = 4; private long buildTypeCount_ ; /** * optional int64 build_type_count = 4; * *
       * Number of different build types for this module.
       * 
*/ public boolean hasBuildTypeCount() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional int64 build_type_count = 4; * *
       * Number of different build types for this module.
       * 
*/ public long getBuildTypeCount() { return buildTypeCount_; } /** * optional int64 build_type_count = 4; * *
       * Number of different build types for this module.
       * 
*/ public Builder setBuildTypeCount(long value) { bitField0_ |= 0x00000008; buildTypeCount_ = value; onChanged(); return this; } /** * optional int64 build_type_count = 4; * *
       * Number of different build types for this module.
       * 
*/ public Builder clearBuildTypeCount() { bitField0_ = (bitField0_ & ~0x00000008); buildTypeCount_ = 0L; onChanged(); return this; } // optional int64 flavor_count = 5; private long flavorCount_ ; /** * optional int64 flavor_count = 5; * *
       * Number of different flavor types for this module.
       * 
*/ public boolean hasFlavorCount() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional int64 flavor_count = 5; * *
       * Number of different flavor types for this module.
       * 
*/ public long getFlavorCount() { return flavorCount_; } /** * optional int64 flavor_count = 5; * *
       * Number of different flavor types for this module.
       * 
*/ public Builder setFlavorCount(long value) { bitField0_ |= 0x00000010; flavorCount_ = value; onChanged(); return this; } /** * optional int64 flavor_count = 5; * *
       * Number of different flavor types for this module.
       * 
*/ public Builder clearFlavorCount() { bitField0_ = (bitField0_ & ~0x00000010); flavorCount_ = 0L; onChanged(); return this; } // optional int64 flavor_dimension = 6; private long flavorDimension_ ; /** * optional int64 flavor_dimension = 6; * *
       * Number of different flavor dimensions for this module.
       * 
*/ public boolean hasFlavorDimension() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional int64 flavor_dimension = 6; * *
       * Number of different flavor dimensions for this module.
       * 
*/ public long getFlavorDimension() { return flavorDimension_; } /** * optional int64 flavor_dimension = 6; * *
       * Number of different flavor dimensions for this module.
       * 
*/ public Builder setFlavorDimension(long value) { bitField0_ |= 0x00000020; flavorDimension_ = value; onChanged(); return this; } /** * optional int64 flavor_dimension = 6; * *
       * Number of different flavor dimensions for this module.
       * 
*/ public Builder clearFlavorDimension() { bitField0_ = (bitField0_ & ~0x00000020); flavorDimension_ = 0L; onChanged(); return this; } // optional int64 signing_config_count = 7; private long signingConfigCount_ ; /** * optional int64 signing_config_count = 7; * *
       * Number of signing configurations for this module.
       * 
*/ public boolean hasSigningConfigCount() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional int64 signing_config_count = 7; * *
       * Number of signing configurations for this module.
       * 
*/ public long getSigningConfigCount() { return signingConfigCount_; } /** * optional int64 signing_config_count = 7; * *
       * Number of signing configurations for this module.
       * 
*/ public Builder setSigningConfigCount(long value) { bitField0_ |= 0x00000040; signingConfigCount_ = value; onChanged(); return this; } /** * optional int64 signing_config_count = 7; * *
       * Number of signing configurations for this module.
       * 
*/ public Builder clearSigningConfigCount() { bitField0_ = (bitField0_ & ~0x00000040); signingConfigCount_ = 0L; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:android_studio.GradleAndroidModule) } static { defaultInstance = new GradleAndroidModule(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:android_studio.GradleAndroidModule) } public interface GradleNativeAndroidModuleOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional string app_id = 1; /** * optional string app_id = 1; * *
     * Client-side salted, sha256 of the application id
     *  the app_id is the id for the user's android app
     *  which we salt with a client unique salt and then sha256
     *  so it is anonymized and is unique per user, but has a 1-N relation.
     * 
*/ boolean hasAppId(); /** * optional string app_id = 1; * *
     * Client-side salted, sha256 of the application id
     *  the app_id is the id for the user's android app
     *  which we salt with a client unique salt and then sha256
     *  so it is anonymized and is unique per user, but has a 1-N relation.
     * 
*/ java.lang.String getAppId(); /** * optional string app_id = 1; * *
     * Client-side salted, sha256 of the application id
     *  the app_id is the id for the user's android app
     *  which we salt with a client unique salt and then sha256
     *  so it is anonymized and is unique per user, but has a 1-N relation.
     * 
*/ com.google.protobuf.ByteString getAppIdBytes(); // optional string module_name = 2; /** * optional string module_name = 2; * *
     * Client-side salted, sha256 of the module name.
     * 
*/ boolean hasModuleName(); /** * optional string module_name = 2; * *
     * Client-side salted, sha256 of the module name.
     * 
*/ java.lang.String getModuleName(); /** * optional string module_name = 2; * *
     * Client-side salted, sha256 of the module name.
     * 
*/ com.google.protobuf.ByteString getModuleNameBytes(); // optional .android_studio.GradleNativeAndroidModule.NativeBuildSystemType build_system_type = 3; /** * optional .android_studio.GradleNativeAndroidModule.NativeBuildSystemType build_system_type = 3; * *
     * True if this module is a library.
     * 
*/ boolean hasBuildSystemType(); /** * optional .android_studio.GradleNativeAndroidModule.NativeBuildSystemType build_system_type = 3; * *
     * True if this module is a library.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule.NativeBuildSystemType getBuildSystemType(); } /** * Protobuf type {@code android_studio.GradleNativeAndroidModule} * *
   * per "native" (C++) android module Gradle metrics.
   * 
*/ public static final class GradleNativeAndroidModule extends com.google.protobuf.GeneratedMessage implements GradleNativeAndroidModuleOrBuilder { // Use GradleNativeAndroidModule.newBuilder() to construct. private GradleNativeAndroidModule(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private GradleNativeAndroidModule(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final GradleNativeAndroidModule defaultInstance; public static GradleNativeAndroidModule getDefaultInstance() { return defaultInstance; } public GradleNativeAndroidModule getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GradleNativeAndroidModule( 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; appId_ = input.readBytes(); break; } case 18: { bitField0_ |= 0x00000002; moduleName_ = input.readBytes(); break; } case 24: { int rawValue = input.readEnum(); com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule.NativeBuildSystemType value = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule.NativeBuildSystemType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(3, rawValue); } else { bitField0_ |= 0x00000004; buildSystemType_ = value; } 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.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleNativeAndroidModule_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleNativeAndroidModule_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public GradleNativeAndroidModule parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GradleNativeAndroidModule(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } /** * Protobuf enum {@code android_studio.GradleNativeAndroidModule.NativeBuildSystemType} * *
     * The various native build systems we support to be used from Gradle.
     * 
*/ public enum NativeBuildSystemType implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN_NATIVE_BUILD_SYSTEM_TYPE = 0; */ UNKNOWN_NATIVE_BUILD_SYSTEM_TYPE(0, 0), /** * GRADLE_EXPERIMENTAL = 1; * *
       * The Gradle epxerimental plugin
       * 
*/ GRADLE_EXPERIMENTAL(1, 1), /** * NDK_COMPILE = 2; * *
       * The compilation part of NDK builds (Android's native build system).
       * 
*/ NDK_COMPILE(2, 2), /** * NDK_BUILD = 3; * *
       * full NDK builds (Android's native build system).
       * 
*/ NDK_BUILD(3, 3), /** * CMAKE = 4; * *
       * CMake is a very common C++ build system.
       * 
*/ CMAKE(4, 4), ; /** * UNKNOWN_NATIVE_BUILD_SYSTEM_TYPE = 0; */ public static final int UNKNOWN_NATIVE_BUILD_SYSTEM_TYPE_VALUE = 0; /** * GRADLE_EXPERIMENTAL = 1; * *
       * The Gradle epxerimental plugin
       * 
*/ public static final int GRADLE_EXPERIMENTAL_VALUE = 1; /** * NDK_COMPILE = 2; * *
       * The compilation part of NDK builds (Android's native build system).
       * 
*/ public static final int NDK_COMPILE_VALUE = 2; /** * NDK_BUILD = 3; * *
       * full NDK builds (Android's native build system).
       * 
*/ public static final int NDK_BUILD_VALUE = 3; /** * CMAKE = 4; * *
       * CMake is a very common C++ build system.
       * 
*/ public static final int CMAKE_VALUE = 4; public final int getNumber() { return value; } public static NativeBuildSystemType valueOf(int value) { switch (value) { case 0: return UNKNOWN_NATIVE_BUILD_SYSTEM_TYPE; case 1: return GRADLE_EXPERIMENTAL; case 2: return NDK_COMPILE; case 3: return NDK_BUILD; case 4: return CMAKE; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public NativeBuildSystemType findValueByNumber(int number) { return NativeBuildSystemType.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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule.getDescriptor().getEnumTypes().get(0); } private static final NativeBuildSystemType[] VALUES = values(); public static NativeBuildSystemType 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 NativeBuildSystemType(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:android_studio.GradleNativeAndroidModule.NativeBuildSystemType) } private int bitField0_; // optional string app_id = 1; public static final int APP_ID_FIELD_NUMBER = 1; private java.lang.Object appId_; /** * optional string app_id = 1; * *
     * Client-side salted, sha256 of the application id
     *  the app_id is the id for the user's android app
     *  which we salt with a client unique salt and then sha256
     *  so it is anonymized and is unique per user, but has a 1-N relation.
     * 
*/ public boolean hasAppId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string app_id = 1; * *
     * Client-side salted, sha256 of the application id
     *  the app_id is the id for the user's android app
     *  which we salt with a client unique salt and then sha256
     *  so it is anonymized and is unique per user, but has a 1-N relation.
     * 
*/ public java.lang.String getAppId() { java.lang.Object ref = appId_; 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()) { appId_ = s; } return s; } } /** * optional string app_id = 1; * *
     * Client-side salted, sha256 of the application id
     *  the app_id is the id for the user's android app
     *  which we salt with a client unique salt and then sha256
     *  so it is anonymized and is unique per user, but has a 1-N relation.
     * 
*/ public com.google.protobuf.ByteString getAppIdBytes() { java.lang.Object ref = appId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); appId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string module_name = 2; public static final int MODULE_NAME_FIELD_NUMBER = 2; private java.lang.Object moduleName_; /** * optional string module_name = 2; * *
     * Client-side salted, sha256 of the module name.
     * 
*/ public boolean hasModuleName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string module_name = 2; * *
     * Client-side salted, sha256 of the module name.
     * 
*/ public java.lang.String getModuleName() { java.lang.Object ref = moduleName_; 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()) { moduleName_ = s; } return s; } } /** * optional string module_name = 2; * *
     * Client-side salted, sha256 of the module name.
     * 
*/ public com.google.protobuf.ByteString getModuleNameBytes() { java.lang.Object ref = moduleName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); moduleName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional .android_studio.GradleNativeAndroidModule.NativeBuildSystemType build_system_type = 3; public static final int BUILD_SYSTEM_TYPE_FIELD_NUMBER = 3; private com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule.NativeBuildSystemType buildSystemType_; /** * optional .android_studio.GradleNativeAndroidModule.NativeBuildSystemType build_system_type = 3; * *
     * True if this module is a library.
     * 
*/ public boolean hasBuildSystemType() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .android_studio.GradleNativeAndroidModule.NativeBuildSystemType build_system_type = 3; * *
     * True if this module is a library.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule.NativeBuildSystemType getBuildSystemType() { return buildSystemType_; } private void initFields() { appId_ = ""; moduleName_ = ""; buildSystemType_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule.NativeBuildSystemType.UNKNOWN_NATIVE_BUILD_SYSTEM_TYPE; } 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, getAppIdBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getModuleNameBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeEnum(3, buildSystemType_.getNumber()); } 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, getAppIdBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getModuleNameBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, buildSystemType_.getNumber()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule 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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule 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 android_studio.GradleNativeAndroidModule} * *
     * per "native" (C++) android module Gradle metrics.
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModuleOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleNativeAndroidModule_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleNativeAndroidModule_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule.Builder.class); } // Construct using com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule.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(); appId_ = ""; bitField0_ = (bitField0_ & ~0x00000001); moduleName_ = ""; bitField0_ = (bitField0_ & ~0x00000002); buildSystemType_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule.NativeBuildSystemType.UNKNOWN_NATIVE_BUILD_SYSTEM_TYPE; bitField0_ = (bitField0_ & ~0x00000004); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleNativeAndroidModule_descriptor; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule getDefaultInstanceForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule.getDefaultInstance(); } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule build() { com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule buildPartial() { com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule result = new com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.appId_ = appId_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.moduleName_ = moduleName_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.buildSystemType_ = buildSystemType_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule) { return mergeFrom((com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule other) { if (other == com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule.getDefaultInstance()) return this; if (other.hasAppId()) { bitField0_ |= 0x00000001; appId_ = other.appId_; onChanged(); } if (other.hasModuleName()) { bitField0_ |= 0x00000002; moduleName_ = other.moduleName_; onChanged(); } if (other.hasBuildSystemType()) { setBuildSystemType(other.getBuildSystemType()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional string app_id = 1; private java.lang.Object appId_ = ""; /** * optional string app_id = 1; * *
       * Client-side salted, sha256 of the application id
       *  the app_id is the id for the user's android app
       *  which we salt with a client unique salt and then sha256
       *  so it is anonymized and is unique per user, but has a 1-N relation.
       * 
*/ public boolean hasAppId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string app_id = 1; * *
       * Client-side salted, sha256 of the application id
       *  the app_id is the id for the user's android app
       *  which we salt with a client unique salt and then sha256
       *  so it is anonymized and is unique per user, but has a 1-N relation.
       * 
*/ public java.lang.String getAppId() { java.lang.Object ref = appId_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); appId_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string app_id = 1; * *
       * Client-side salted, sha256 of the application id
       *  the app_id is the id for the user's android app
       *  which we salt with a client unique salt and then sha256
       *  so it is anonymized and is unique per user, but has a 1-N relation.
       * 
*/ public com.google.protobuf.ByteString getAppIdBytes() { java.lang.Object ref = appId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); appId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string app_id = 1; * *
       * Client-side salted, sha256 of the application id
       *  the app_id is the id for the user's android app
       *  which we salt with a client unique salt and then sha256
       *  so it is anonymized and is unique per user, but has a 1-N relation.
       * 
*/ public Builder setAppId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; appId_ = value; onChanged(); return this; } /** * optional string app_id = 1; * *
       * Client-side salted, sha256 of the application id
       *  the app_id is the id for the user's android app
       *  which we salt with a client unique salt and then sha256
       *  so it is anonymized and is unique per user, but has a 1-N relation.
       * 
*/ public Builder clearAppId() { bitField0_ = (bitField0_ & ~0x00000001); appId_ = getDefaultInstance().getAppId(); onChanged(); return this; } /** * optional string app_id = 1; * *
       * Client-side salted, sha256 of the application id
       *  the app_id is the id for the user's android app
       *  which we salt with a client unique salt and then sha256
       *  so it is anonymized and is unique per user, but has a 1-N relation.
       * 
*/ public Builder setAppIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; appId_ = value; onChanged(); return this; } // optional string module_name = 2; private java.lang.Object moduleName_ = ""; /** * optional string module_name = 2; * *
       * Client-side salted, sha256 of the module name.
       * 
*/ public boolean hasModuleName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string module_name = 2; * *
       * Client-side salted, sha256 of the module name.
       * 
*/ public java.lang.String getModuleName() { java.lang.Object ref = moduleName_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); moduleName_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string module_name = 2; * *
       * Client-side salted, sha256 of the module name.
       * 
*/ public com.google.protobuf.ByteString getModuleNameBytes() { java.lang.Object ref = moduleName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); moduleName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string module_name = 2; * *
       * Client-side salted, sha256 of the module name.
       * 
*/ public Builder setModuleName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; moduleName_ = value; onChanged(); return this; } /** * optional string module_name = 2; * *
       * Client-side salted, sha256 of the module name.
       * 
*/ public Builder clearModuleName() { bitField0_ = (bitField0_ & ~0x00000002); moduleName_ = getDefaultInstance().getModuleName(); onChanged(); return this; } /** * optional string module_name = 2; * *
       * Client-side salted, sha256 of the module name.
       * 
*/ public Builder setModuleNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; moduleName_ = value; onChanged(); return this; } // optional .android_studio.GradleNativeAndroidModule.NativeBuildSystemType build_system_type = 3; private com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule.NativeBuildSystemType buildSystemType_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule.NativeBuildSystemType.UNKNOWN_NATIVE_BUILD_SYSTEM_TYPE; /** * optional .android_studio.GradleNativeAndroidModule.NativeBuildSystemType build_system_type = 3; * *
       * True if this module is a library.
       * 
*/ public boolean hasBuildSystemType() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .android_studio.GradleNativeAndroidModule.NativeBuildSystemType build_system_type = 3; * *
       * True if this module is a library.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule.NativeBuildSystemType getBuildSystemType() { return buildSystemType_; } /** * optional .android_studio.GradleNativeAndroidModule.NativeBuildSystemType build_system_type = 3; * *
       * True if this module is a library.
       * 
*/ public Builder setBuildSystemType(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule.NativeBuildSystemType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; buildSystemType_ = value; onChanged(); return this; } /** * optional .android_studio.GradleNativeAndroidModule.NativeBuildSystemType build_system_type = 3; * *
       * True if this module is a library.
       * 
*/ public Builder clearBuildSystemType() { bitField0_ = (bitField0_ & ~0x00000004); buildSystemType_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule.NativeBuildSystemType.UNKNOWN_NATIVE_BUILD_SYSTEM_TYPE; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:android_studio.GradleNativeAndroidModule) } static { defaultInstance = new GradleNativeAndroidModule(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:android_studio.GradleNativeAndroidModule) } public interface InstantRunOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional .android_studio.InstantRun.InstantRunDeploymentKind deployment_kind = 1; /** * optional .android_studio.InstantRun.InstantRunDeploymentKind deployment_kind = 1; * *
     * What kind of Instant Run deployment was chosen.
     * 
*/ boolean hasDeploymentKind(); /** * optional .android_studio.InstantRun.InstantRunDeploymentKind deployment_kind = 1; * *
     * What kind of Instant Run deployment was chosen.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.InstantRunDeploymentKind getDeploymentKind(); // optional .android_studio.InstantRun.InstantRunBuildCause instant_run_build_cause = 3; /** * optional .android_studio.InstantRun.InstantRunBuildCause instant_run_build_cause = 3; * *
     * what was the reason for chosing that kind of deployment from the gradle
     *  side.
     * 
*/ boolean hasInstantRunBuildCause(); /** * optional .android_studio.InstantRun.InstantRunBuildCause instant_run_build_cause = 3; * *
     * what was the reason for chosing that kind of deployment from the gradle
     *  side.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.InstantRunBuildCause getInstantRunBuildCause(); // optional int64 build_time = 4; /** * optional int64 build_time = 4; * *
     * time the InstantRun enabled took in seconds.
     * 
*/ boolean hasBuildTime(); /** * optional int64 build_time = 4; * *
     * time the InstantRun enabled took in seconds.
     * 
*/ long getBuildTime(); // optional string session_id = 5; /** * optional string session_id = 5; * *
     * The session id is a UUID within a single run of Android Studio
     *  tracking multiple HOT_SWAP & DEX builds in the same
     *  IR session (starting at FULL_APK and ending before FULL_APK).
     * 
*/ boolean hasSessionId(); /** * optional string session_id = 5; * *
     * The session id is a UUID within a single run of Android Studio
     *  tracking multiple HOT_SWAP & DEX builds in the same
     *  IR session (starting at FULL_APK and ending before FULL_APK).
     * 
*/ java.lang.String getSessionId(); /** * optional string session_id = 5; * *
     * The session id is a UUID within a single run of Android Studio
     *  tracking multiple HOT_SWAP & DEX builds in the same
     *  IR session (starting at FULL_APK and ending before FULL_APK).
     * 
*/ com.google.protobuf.ByteString getSessionIdBytes(); // optional .android_studio.InstantRun.InstantRunIdeBuildCause ide_build_cause = 6; /** * optional .android_studio.InstantRun.InstantRunIdeBuildCause ide_build_cause = 6; * *
     * what was the reason for chosing that kind of deployment from the IDE
     *  side.
     * 
*/ boolean hasIdeBuildCause(); /** * optional .android_studio.InstantRun.InstantRunIdeBuildCause ide_build_cause = 6; * *
     * what was the reason for chosing that kind of deployment from the IDE
     *  side.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.InstantRunIdeBuildCause getIdeBuildCause(); } /** * Protobuf type {@code android_studio.InstantRun} * *
   * Metrics on InstantRun usage.
   * 
*/ public static final class InstantRun extends com.google.protobuf.GeneratedMessage implements InstantRunOrBuilder { // Use InstantRun.newBuilder() to construct. private InstantRun(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private InstantRun(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final InstantRun defaultInstance; public static InstantRun getDefaultInstance() { return defaultInstance; } public InstantRun getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private InstantRun( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { int rawValue = input.readEnum(); com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.InstantRunDeploymentKind value = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.InstantRunDeploymentKind.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { bitField0_ |= 0x00000001; deploymentKind_ = value; } break; } case 24: { int rawValue = input.readEnum(); com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.InstantRunBuildCause value = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.InstantRunBuildCause.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(3, rawValue); } else { bitField0_ |= 0x00000002; instantRunBuildCause_ = value; } break; } case 32: { bitField0_ |= 0x00000004; buildTime_ = input.readInt64(); break; } case 42: { bitField0_ |= 0x00000008; sessionId_ = input.readBytes(); break; } case 48: { int rawValue = input.readEnum(); com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.InstantRunIdeBuildCause value = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.InstantRunIdeBuildCause.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(6, rawValue); } else { bitField0_ |= 0x00000010; ideBuildCause_ = value; } 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.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_InstantRun_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_InstantRun_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public InstantRun parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new InstantRun(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } /** * Protobuf enum {@code android_studio.InstantRun.InstantRunDeploymentKind} * *
     * What Instant Run Deployment was used
     * 
*/ public enum InstantRunDeploymentKind implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN_INSTANT_RUN_DEPLOYMENT_KIND = 0; */ UNKNOWN_INSTANT_RUN_DEPLOYMENT_KIND(0, 0), /** * LEGACY = 1; */ LEGACY(1, 1), /** * FULL_APK = 2; */ FULL_APK(2, 2), /** * SPLIT_APK = 3; */ SPLIT_APK(3, 3), /** * DEX = 4; */ DEX(4, 4), /** * HOT_SWAP = 5; */ HOT_SWAP(5, 5), /** * WARM_SWAP = 6; */ WARM_SWAP(6, 6), /** * NO_CHANGES = 7; */ NO_CHANGES(7, 7), ; /** * UNKNOWN_INSTANT_RUN_DEPLOYMENT_KIND = 0; */ public static final int UNKNOWN_INSTANT_RUN_DEPLOYMENT_KIND_VALUE = 0; /** * LEGACY = 1; */ public static final int LEGACY_VALUE = 1; /** * FULL_APK = 2; */ public static final int FULL_APK_VALUE = 2; /** * SPLIT_APK = 3; */ public static final int SPLIT_APK_VALUE = 3; /** * DEX = 4; */ public static final int DEX_VALUE = 4; /** * HOT_SWAP = 5; */ public static final int HOT_SWAP_VALUE = 5; /** * WARM_SWAP = 6; */ public static final int WARM_SWAP_VALUE = 6; /** * NO_CHANGES = 7; */ public static final int NO_CHANGES_VALUE = 7; public final int getNumber() { return value; } public static InstantRunDeploymentKind valueOf(int value) { switch (value) { case 0: return UNKNOWN_INSTANT_RUN_DEPLOYMENT_KIND; case 1: return LEGACY; case 2: return FULL_APK; case 3: return SPLIT_APK; case 4: return DEX; case 5: return HOT_SWAP; case 6: return WARM_SWAP; case 7: return NO_CHANGES; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public InstantRunDeploymentKind findValueByNumber(int number) { return InstantRunDeploymentKind.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.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.getDescriptor().getEnumTypes().get(0); } private static final InstantRunDeploymentKind[] VALUES = values(); public static InstantRunDeploymentKind 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 InstantRunDeploymentKind(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:android_studio.InstantRun.InstantRunDeploymentKind) } /** * Protobuf enum {@code android_studio.InstantRun.InstantRunBuildCause} * *
     * The different reasons Instant Run had to do a full build.
     * 
*/ public enum InstantRunBuildCause implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN_INSTANT_RUN_BUILD_CAUSE = 0; */ UNKNOWN_INSTANT_RUN_BUILD_CAUSE(0, 0), /** * COMPATIBLE = 1; */ COMPATIBLE(1, 1), /** * MANIFEST_CHANGE = 2; */ MANIFEST_CHANGE(2, 2), /** * FIELD_TYPE_CHANGE = 3; */ FIELD_TYPE_CHANGE(3, 3), /** * FIELD_REMOVED = 4; */ FIELD_REMOVED(4, 4), /** * FIELD_ADDED = 5; */ FIELD_ADDED(5, 5), /** * METHOD_DELETED = 6; */ METHOD_DELETED(6, 6), /** * METHOD_ADDED = 7; */ METHOD_ADDED(7, 7), /** * CLASS_ADDED = 8; */ CLASS_ADDED(8, 8), /** * STATIC_INITIALIZER_CHANGE = 9; */ STATIC_INITIALIZER_CHANGE(9, 9), /** * CLASS_ANNOTATION_CHANGE = 10; */ CLASS_ANNOTATION_CHANGE(10, 10), /** * RESOURCE_CHANGE = 11; */ RESOURCE_CHANGE(11, 11), /** * IMPLEMENTS_INTERFACE_CHANGE = 12; */ IMPLEMENTS_INTERFACE_CHANGE(12, 12), /** * R_CLASS_CHANGE = 13; */ R_CLASS_CHANGE(13, 13), /** * PARENT_CLASS_CHANGE = 14; */ PARENT_CLASS_CHANGE(14, 14), /** * METHOD_ANNOTATION_CHANGE = 15; */ METHOD_ANNOTATION_CHANGE(15, 15), /** * API_LEVEL_UNSUPPORTED = 16; */ API_LEVEL_UNSUPPORTED(16, 16), /** * REFLECTION_USED = 17; */ REFLECTION_USED(17, 17), ; /** * UNKNOWN_INSTANT_RUN_BUILD_CAUSE = 0; */ public static final int UNKNOWN_INSTANT_RUN_BUILD_CAUSE_VALUE = 0; /** * COMPATIBLE = 1; */ public static final int COMPATIBLE_VALUE = 1; /** * MANIFEST_CHANGE = 2; */ public static final int MANIFEST_CHANGE_VALUE = 2; /** * FIELD_TYPE_CHANGE = 3; */ public static final int FIELD_TYPE_CHANGE_VALUE = 3; /** * FIELD_REMOVED = 4; */ public static final int FIELD_REMOVED_VALUE = 4; /** * FIELD_ADDED = 5; */ public static final int FIELD_ADDED_VALUE = 5; /** * METHOD_DELETED = 6; */ public static final int METHOD_DELETED_VALUE = 6; /** * METHOD_ADDED = 7; */ public static final int METHOD_ADDED_VALUE = 7; /** * CLASS_ADDED = 8; */ public static final int CLASS_ADDED_VALUE = 8; /** * STATIC_INITIALIZER_CHANGE = 9; */ public static final int STATIC_INITIALIZER_CHANGE_VALUE = 9; /** * CLASS_ANNOTATION_CHANGE = 10; */ public static final int CLASS_ANNOTATION_CHANGE_VALUE = 10; /** * RESOURCE_CHANGE = 11; */ public static final int RESOURCE_CHANGE_VALUE = 11; /** * IMPLEMENTS_INTERFACE_CHANGE = 12; */ public static final int IMPLEMENTS_INTERFACE_CHANGE_VALUE = 12; /** * R_CLASS_CHANGE = 13; */ public static final int R_CLASS_CHANGE_VALUE = 13; /** * PARENT_CLASS_CHANGE = 14; */ public static final int PARENT_CLASS_CHANGE_VALUE = 14; /** * METHOD_ANNOTATION_CHANGE = 15; */ public static final int METHOD_ANNOTATION_CHANGE_VALUE = 15; /** * API_LEVEL_UNSUPPORTED = 16; */ public static final int API_LEVEL_UNSUPPORTED_VALUE = 16; /** * REFLECTION_USED = 17; */ public static final int REFLECTION_USED_VALUE = 17; public final int getNumber() { return value; } public static InstantRunBuildCause valueOf(int value) { switch (value) { case 0: return UNKNOWN_INSTANT_RUN_BUILD_CAUSE; case 1: return COMPATIBLE; case 2: return MANIFEST_CHANGE; case 3: return FIELD_TYPE_CHANGE; case 4: return FIELD_REMOVED; case 5: return FIELD_ADDED; case 6: return METHOD_DELETED; case 7: return METHOD_ADDED; case 8: return CLASS_ADDED; case 9: return STATIC_INITIALIZER_CHANGE; case 10: return CLASS_ANNOTATION_CHANGE; case 11: return RESOURCE_CHANGE; case 12: return IMPLEMENTS_INTERFACE_CHANGE; case 13: return R_CLASS_CHANGE; case 14: return PARENT_CLASS_CHANGE; case 15: return METHOD_ANNOTATION_CHANGE; case 16: return API_LEVEL_UNSUPPORTED; case 17: return REFLECTION_USED; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public InstantRunBuildCause findValueByNumber(int number) { return InstantRunBuildCause.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.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.getDescriptor().getEnumTypes().get(1); } private static final InstantRunBuildCause[] VALUES = values(); public static InstantRunBuildCause 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 InstantRunBuildCause(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:android_studio.InstantRun.InstantRunBuildCause) } /** * Protobuf enum {@code android_studio.InstantRun.InstantRunIdeBuildCause} * *
     * The different reasons InstantRun chose the build mode it did from the IDE's
     *  perspective.
     * 
*/ public enum InstantRunIdeBuildCause implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN_INSTANT_RUN_IDE_BUILD_CAUSE = 0; * *
       * reasons for clean build
       * 
*/ UNKNOWN_INSTANT_RUN_IDE_BUILD_CAUSE(0, 0), /** * NO_DEVICE = 1; */ NO_DEVICE(1, 1), /** * APP_NOT_INSTALLED = 2; */ APP_NOT_INSTALLED(2, 2), /** * MISMATCHING_TIMESTAMPS = 3; */ MISMATCHING_TIMESTAMPS(3, 3), /** * USER_REQUESTED_CLEAN_BUILD = 4; */ USER_REQUESTED_CLEAN_BUILD(4, 4), /** * API_TOO_LOW_FOR_INSTANT_RUN = 5; * *
       * reasons for full build
       * 
*/ API_TOO_LOW_FOR_INSTANT_RUN(5, 5), /** * FIRST_INSTALLATION_TO_DEVICE = 6; * *
       * first installation in this Android Studio session
       * 
*/ FIRST_INSTALLATION_TO_DEVICE(6, 6), /** * MANIFEST_RESOURCE_CHANGED = 7; */ MANIFEST_RESOURCE_CHANGED(7, 7), /** * FREEZE_SWAP_REQUIRES_API21 = 8; */ FREEZE_SWAP_REQUIRES_API21(8, 8), /** * FREEZE_SWAP_REQUIRES_WORKING_RUN_AS = 9; */ FREEZE_SWAP_REQUIRES_WORKING_RUN_AS(9, 9), /** * APP_NOT_RUNNING = 10; * *
       * reasons for forced cold swap build
       * 
*/ APP_NOT_RUNNING(10, 10), /** * APP_USES_MULTIPLE_PROCESSES = 11; */ APP_USES_MULTIPLE_PROCESSES(11, 11), /** * INCREMENTAL_BUILD = 12; */ INCREMENTAL_BUILD(12, 12), /** * NO_INSTANT_RUN = 13; */ NO_INSTANT_RUN(13, 13), ; /** * UNKNOWN_INSTANT_RUN_IDE_BUILD_CAUSE = 0; * *
       * reasons for clean build
       * 
*/ public static final int UNKNOWN_INSTANT_RUN_IDE_BUILD_CAUSE_VALUE = 0; /** * NO_DEVICE = 1; */ public static final int NO_DEVICE_VALUE = 1; /** * APP_NOT_INSTALLED = 2; */ public static final int APP_NOT_INSTALLED_VALUE = 2; /** * MISMATCHING_TIMESTAMPS = 3; */ public static final int MISMATCHING_TIMESTAMPS_VALUE = 3; /** * USER_REQUESTED_CLEAN_BUILD = 4; */ public static final int USER_REQUESTED_CLEAN_BUILD_VALUE = 4; /** * API_TOO_LOW_FOR_INSTANT_RUN = 5; * *
       * reasons for full build
       * 
*/ public static final int API_TOO_LOW_FOR_INSTANT_RUN_VALUE = 5; /** * FIRST_INSTALLATION_TO_DEVICE = 6; * *
       * first installation in this Android Studio session
       * 
*/ public static final int FIRST_INSTALLATION_TO_DEVICE_VALUE = 6; /** * MANIFEST_RESOURCE_CHANGED = 7; */ public static final int MANIFEST_RESOURCE_CHANGED_VALUE = 7; /** * FREEZE_SWAP_REQUIRES_API21 = 8; */ public static final int FREEZE_SWAP_REQUIRES_API21_VALUE = 8; /** * FREEZE_SWAP_REQUIRES_WORKING_RUN_AS = 9; */ public static final int FREEZE_SWAP_REQUIRES_WORKING_RUN_AS_VALUE = 9; /** * APP_NOT_RUNNING = 10; * *
       * reasons for forced cold swap build
       * 
*/ public static final int APP_NOT_RUNNING_VALUE = 10; /** * APP_USES_MULTIPLE_PROCESSES = 11; */ public static final int APP_USES_MULTIPLE_PROCESSES_VALUE = 11; /** * INCREMENTAL_BUILD = 12; */ public static final int INCREMENTAL_BUILD_VALUE = 12; /** * NO_INSTANT_RUN = 13; */ public static final int NO_INSTANT_RUN_VALUE = 13; public final int getNumber() { return value; } public static InstantRunIdeBuildCause valueOf(int value) { switch (value) { case 0: return UNKNOWN_INSTANT_RUN_IDE_BUILD_CAUSE; case 1: return NO_DEVICE; case 2: return APP_NOT_INSTALLED; case 3: return MISMATCHING_TIMESTAMPS; case 4: return USER_REQUESTED_CLEAN_BUILD; case 5: return API_TOO_LOW_FOR_INSTANT_RUN; case 6: return FIRST_INSTALLATION_TO_DEVICE; case 7: return MANIFEST_RESOURCE_CHANGED; case 8: return FREEZE_SWAP_REQUIRES_API21; case 9: return FREEZE_SWAP_REQUIRES_WORKING_RUN_AS; case 10: return APP_NOT_RUNNING; case 11: return APP_USES_MULTIPLE_PROCESSES; case 12: return INCREMENTAL_BUILD; case 13: return NO_INSTANT_RUN; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public InstantRunIdeBuildCause findValueByNumber(int number) { return InstantRunIdeBuildCause.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.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.getDescriptor().getEnumTypes().get(2); } private static final InstantRunIdeBuildCause[] VALUES = values(); public static InstantRunIdeBuildCause 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 InstantRunIdeBuildCause(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:android_studio.InstantRun.InstantRunIdeBuildCause) } private int bitField0_; // optional .android_studio.InstantRun.InstantRunDeploymentKind deployment_kind = 1; public static final int DEPLOYMENT_KIND_FIELD_NUMBER = 1; private com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.InstantRunDeploymentKind deploymentKind_; /** * optional .android_studio.InstantRun.InstantRunDeploymentKind deployment_kind = 1; * *
     * What kind of Instant Run deployment was chosen.
     * 
*/ public boolean hasDeploymentKind() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .android_studio.InstantRun.InstantRunDeploymentKind deployment_kind = 1; * *
     * What kind of Instant Run deployment was chosen.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.InstantRunDeploymentKind getDeploymentKind() { return deploymentKind_; } // optional .android_studio.InstantRun.InstantRunBuildCause instant_run_build_cause = 3; public static final int INSTANT_RUN_BUILD_CAUSE_FIELD_NUMBER = 3; private com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.InstantRunBuildCause instantRunBuildCause_; /** * optional .android_studio.InstantRun.InstantRunBuildCause instant_run_build_cause = 3; * *
     * what was the reason for chosing that kind of deployment from the gradle
     *  side.
     * 
*/ public boolean hasInstantRunBuildCause() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .android_studio.InstantRun.InstantRunBuildCause instant_run_build_cause = 3; * *
     * what was the reason for chosing that kind of deployment from the gradle
     *  side.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.InstantRunBuildCause getInstantRunBuildCause() { return instantRunBuildCause_; } // optional int64 build_time = 4; public static final int BUILD_TIME_FIELD_NUMBER = 4; private long buildTime_; /** * optional int64 build_time = 4; * *
     * time the InstantRun enabled took in seconds.
     * 
*/ public boolean hasBuildTime() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional int64 build_time = 4; * *
     * time the InstantRun enabled took in seconds.
     * 
*/ public long getBuildTime() { return buildTime_; } // optional string session_id = 5; public static final int SESSION_ID_FIELD_NUMBER = 5; private java.lang.Object sessionId_; /** * optional string session_id = 5; * *
     * The session id is a UUID within a single run of Android Studio
     *  tracking multiple HOT_SWAP & DEX builds in the same
     *  IR session (starting at FULL_APK and ending before FULL_APK).
     * 
*/ public boolean hasSessionId() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string session_id = 5; * *
     * The session id is a UUID within a single run of Android Studio
     *  tracking multiple HOT_SWAP & DEX builds in the same
     *  IR session (starting at FULL_APK and ending before FULL_APK).
     * 
*/ public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; 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()) { sessionId_ = s; } return s; } } /** * optional string session_id = 5; * *
     * The session id is a UUID within a single run of Android Studio
     *  tracking multiple HOT_SWAP & DEX builds in the same
     *  IR session (starting at FULL_APK and ending before FULL_APK).
     * 
*/ public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional .android_studio.InstantRun.InstantRunIdeBuildCause ide_build_cause = 6; public static final int IDE_BUILD_CAUSE_FIELD_NUMBER = 6; private com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.InstantRunIdeBuildCause ideBuildCause_; /** * optional .android_studio.InstantRun.InstantRunIdeBuildCause ide_build_cause = 6; * *
     * what was the reason for chosing that kind of deployment from the IDE
     *  side.
     * 
*/ public boolean hasIdeBuildCause() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional .android_studio.InstantRun.InstantRunIdeBuildCause ide_build_cause = 6; * *
     * what was the reason for chosing that kind of deployment from the IDE
     *  side.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.InstantRunIdeBuildCause getIdeBuildCause() { return ideBuildCause_; } private void initFields() { deploymentKind_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.InstantRunDeploymentKind.UNKNOWN_INSTANT_RUN_DEPLOYMENT_KIND; instantRunBuildCause_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.InstantRunBuildCause.UNKNOWN_INSTANT_RUN_BUILD_CAUSE; buildTime_ = 0L; sessionId_ = ""; ideBuildCause_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.InstantRunIdeBuildCause.UNKNOWN_INSTANT_RUN_IDE_BUILD_CAUSE; } 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.writeEnum(1, deploymentKind_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(3, instantRunBuildCause_.getNumber()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt64(4, buildTime_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(5, getSessionIdBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeEnum(6, ideBuildCause_.getNumber()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, deploymentKind_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, instantRunBuildCause_.getNumber()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, buildTime_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, getSessionIdBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(6, ideBuildCause_.getNumber()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun 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.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun 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 android_studio.InstantRun} * *
     * Metrics on InstantRun usage.
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_InstantRun_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_InstantRun_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.Builder.class); } // Construct using com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.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(); deploymentKind_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.InstantRunDeploymentKind.UNKNOWN_INSTANT_RUN_DEPLOYMENT_KIND; bitField0_ = (bitField0_ & ~0x00000001); instantRunBuildCause_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.InstantRunBuildCause.UNKNOWN_INSTANT_RUN_BUILD_CAUSE; bitField0_ = (bitField0_ & ~0x00000002); buildTime_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); sessionId_ = ""; bitField0_ = (bitField0_ & ~0x00000008); ideBuildCause_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.InstantRunIdeBuildCause.UNKNOWN_INSTANT_RUN_IDE_BUILD_CAUSE; bitField0_ = (bitField0_ & ~0x00000010); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_InstantRun_descriptor; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun getDefaultInstanceForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.getDefaultInstance(); } public com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun build() { com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun buildPartial() { com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun result = new com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.deploymentKind_ = deploymentKind_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.instantRunBuildCause_ = instantRunBuildCause_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.buildTime_ = buildTime_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.sessionId_ = sessionId_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.ideBuildCause_ = ideBuildCause_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun) { return mergeFrom((com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun other) { if (other == com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.getDefaultInstance()) return this; if (other.hasDeploymentKind()) { setDeploymentKind(other.getDeploymentKind()); } if (other.hasInstantRunBuildCause()) { setInstantRunBuildCause(other.getInstantRunBuildCause()); } if (other.hasBuildTime()) { setBuildTime(other.getBuildTime()); } if (other.hasSessionId()) { bitField0_ |= 0x00000008; sessionId_ = other.sessionId_; onChanged(); } if (other.hasIdeBuildCause()) { setIdeBuildCause(other.getIdeBuildCause()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional .android_studio.InstantRun.InstantRunDeploymentKind deployment_kind = 1; private com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.InstantRunDeploymentKind deploymentKind_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.InstantRunDeploymentKind.UNKNOWN_INSTANT_RUN_DEPLOYMENT_KIND; /** * optional .android_studio.InstantRun.InstantRunDeploymentKind deployment_kind = 1; * *
       * What kind of Instant Run deployment was chosen.
       * 
*/ public boolean hasDeploymentKind() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .android_studio.InstantRun.InstantRunDeploymentKind deployment_kind = 1; * *
       * What kind of Instant Run deployment was chosen.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.InstantRunDeploymentKind getDeploymentKind() { return deploymentKind_; } /** * optional .android_studio.InstantRun.InstantRunDeploymentKind deployment_kind = 1; * *
       * What kind of Instant Run deployment was chosen.
       * 
*/ public Builder setDeploymentKind(com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.InstantRunDeploymentKind value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; deploymentKind_ = value; onChanged(); return this; } /** * optional .android_studio.InstantRun.InstantRunDeploymentKind deployment_kind = 1; * *
       * What kind of Instant Run deployment was chosen.
       * 
*/ public Builder clearDeploymentKind() { bitField0_ = (bitField0_ & ~0x00000001); deploymentKind_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.InstantRunDeploymentKind.UNKNOWN_INSTANT_RUN_DEPLOYMENT_KIND; onChanged(); return this; } // optional .android_studio.InstantRun.InstantRunBuildCause instant_run_build_cause = 3; private com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.InstantRunBuildCause instantRunBuildCause_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.InstantRunBuildCause.UNKNOWN_INSTANT_RUN_BUILD_CAUSE; /** * optional .android_studio.InstantRun.InstantRunBuildCause instant_run_build_cause = 3; * *
       * what was the reason for chosing that kind of deployment from the gradle
       *  side.
       * 
*/ public boolean hasInstantRunBuildCause() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .android_studio.InstantRun.InstantRunBuildCause instant_run_build_cause = 3; * *
       * what was the reason for chosing that kind of deployment from the gradle
       *  side.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.InstantRunBuildCause getInstantRunBuildCause() { return instantRunBuildCause_; } /** * optional .android_studio.InstantRun.InstantRunBuildCause instant_run_build_cause = 3; * *
       * what was the reason for chosing that kind of deployment from the gradle
       *  side.
       * 
*/ public Builder setInstantRunBuildCause(com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.InstantRunBuildCause value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; instantRunBuildCause_ = value; onChanged(); return this; } /** * optional .android_studio.InstantRun.InstantRunBuildCause instant_run_build_cause = 3; * *
       * what was the reason for chosing that kind of deployment from the gradle
       *  side.
       * 
*/ public Builder clearInstantRunBuildCause() { bitField0_ = (bitField0_ & ~0x00000002); instantRunBuildCause_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.InstantRunBuildCause.UNKNOWN_INSTANT_RUN_BUILD_CAUSE; onChanged(); return this; } // optional int64 build_time = 4; private long buildTime_ ; /** * optional int64 build_time = 4; * *
       * time the InstantRun enabled took in seconds.
       * 
*/ public boolean hasBuildTime() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional int64 build_time = 4; * *
       * time the InstantRun enabled took in seconds.
       * 
*/ public long getBuildTime() { return buildTime_; } /** * optional int64 build_time = 4; * *
       * time the InstantRun enabled took in seconds.
       * 
*/ public Builder setBuildTime(long value) { bitField0_ |= 0x00000004; buildTime_ = value; onChanged(); return this; } /** * optional int64 build_time = 4; * *
       * time the InstantRun enabled took in seconds.
       * 
*/ public Builder clearBuildTime() { bitField0_ = (bitField0_ & ~0x00000004); buildTime_ = 0L; onChanged(); return this; } // optional string session_id = 5; private java.lang.Object sessionId_ = ""; /** * optional string session_id = 5; * *
       * The session id is a UUID within a single run of Android Studio
       *  tracking multiple HOT_SWAP & DEX builds in the same
       *  IR session (starting at FULL_APK and ending before FULL_APK).
       * 
*/ public boolean hasSessionId() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string session_id = 5; * *
       * The session id is a UUID within a single run of Android Studio
       *  tracking multiple HOT_SWAP & DEX builds in the same
       *  IR session (starting at FULL_APK and ending before FULL_APK).
       * 
*/ public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); sessionId_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string session_id = 5; * *
       * The session id is a UUID within a single run of Android Studio
       *  tracking multiple HOT_SWAP & DEX builds in the same
       *  IR session (starting at FULL_APK and ending before FULL_APK).
       * 
*/ public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string session_id = 5; * *
       * The session id is a UUID within a single run of Android Studio
       *  tracking multiple HOT_SWAP & DEX builds in the same
       *  IR session (starting at FULL_APK and ending before FULL_APK).
       * 
*/ public Builder setSessionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; sessionId_ = value; onChanged(); return this; } /** * optional string session_id = 5; * *
       * The session id is a UUID within a single run of Android Studio
       *  tracking multiple HOT_SWAP & DEX builds in the same
       *  IR session (starting at FULL_APK and ending before FULL_APK).
       * 
*/ public Builder clearSessionId() { bitField0_ = (bitField0_ & ~0x00000008); sessionId_ = getDefaultInstance().getSessionId(); onChanged(); return this; } /** * optional string session_id = 5; * *
       * The session id is a UUID within a single run of Android Studio
       *  tracking multiple HOT_SWAP & DEX builds in the same
       *  IR session (starting at FULL_APK and ending before FULL_APK).
       * 
*/ public Builder setSessionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; sessionId_ = value; onChanged(); return this; } // optional .android_studio.InstantRun.InstantRunIdeBuildCause ide_build_cause = 6; private com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.InstantRunIdeBuildCause ideBuildCause_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.InstantRunIdeBuildCause.UNKNOWN_INSTANT_RUN_IDE_BUILD_CAUSE; /** * optional .android_studio.InstantRun.InstantRunIdeBuildCause ide_build_cause = 6; * *
       * what was the reason for chosing that kind of deployment from the IDE
       *  side.
       * 
*/ public boolean hasIdeBuildCause() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional .android_studio.InstantRun.InstantRunIdeBuildCause ide_build_cause = 6; * *
       * what was the reason for chosing that kind of deployment from the IDE
       *  side.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.InstantRunIdeBuildCause getIdeBuildCause() { return ideBuildCause_; } /** * optional .android_studio.InstantRun.InstantRunIdeBuildCause ide_build_cause = 6; * *
       * what was the reason for chosing that kind of deployment from the IDE
       *  side.
       * 
*/ public Builder setIdeBuildCause(com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.InstantRunIdeBuildCause value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; ideBuildCause_ = value; onChanged(); return this; } /** * optional .android_studio.InstantRun.InstantRunIdeBuildCause ide_build_cause = 6; * *
       * what was the reason for chosing that kind of deployment from the IDE
       *  side.
       * 
*/ public Builder clearIdeBuildCause() { bitField0_ = (bitField0_ & ~0x00000010); ideBuildCause_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRun.InstantRunIdeBuildCause.UNKNOWN_INSTANT_RUN_IDE_BUILD_CAUSE; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:android_studio.InstantRun) } static { defaultInstance = new InstantRun(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:android_studio.InstantRun) } public interface MetaMetricsOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional int32 failed_connections = 1; /** * optional int32 failed_connections = 1; * *
     * number of times connecting to the clearcut server failed since
     *  the last successful upload.
     * 
*/ boolean hasFailedConnections(); /** * optional int32 failed_connections = 1; * *
     * number of times connecting to the clearcut server failed since
     *  the last successful upload.
     * 
*/ int getFailedConnections(); // optional int64 bytes_sent_in_last_upload = 2; /** * optional int64 bytes_sent_in_last_upload = 2; * *
     * number of bytes used to send metrics in the last upload.
     * 
*/ boolean hasBytesSentInLastUpload(); /** * optional int64 bytes_sent_in_last_upload = 2; * *
     * number of bytes used to send metrics in the last upload.
     * 
*/ long getBytesSentInLastUpload(); // optional int32 failed_server_replies = 3; /** * optional int32 failed_server_replies = 3; * *
     * number of times the clearcut server failed with an http error since
     *  the last successful upload.
     * 
*/ boolean hasFailedServerReplies(); /** * optional int32 failed_server_replies = 3; * *
     * number of times the clearcut server failed with an http error since
     *  the last successful upload.
     * 
*/ int getFailedServerReplies(); } /** * Protobuf type {@code android_studio.MetaMetrics} * *
   * describes Metrics on Metrics.
   * 
*/ public static final class MetaMetrics extends com.google.protobuf.GeneratedMessage implements MetaMetricsOrBuilder { // Use MetaMetrics.newBuilder() to construct. private MetaMetrics(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private MetaMetrics(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final MetaMetrics defaultInstance; public static MetaMetrics getDefaultInstance() { return defaultInstance; } public MetaMetrics getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MetaMetrics( 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; failedConnections_ = input.readInt32(); break; } case 16: { bitField0_ |= 0x00000002; bytesSentInLastUpload_ = input.readInt64(); break; } case 24: { bitField0_ |= 0x00000004; failedServerReplies_ = 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.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_MetaMetrics_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_MetaMetrics_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public MetaMetrics parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MetaMetrics(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional int32 failed_connections = 1; public static final int FAILED_CONNECTIONS_FIELD_NUMBER = 1; private int failedConnections_; /** * optional int32 failed_connections = 1; * *
     * number of times connecting to the clearcut server failed since
     *  the last successful upload.
     * 
*/ public boolean hasFailedConnections() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int32 failed_connections = 1; * *
     * number of times connecting to the clearcut server failed since
     *  the last successful upload.
     * 
*/ public int getFailedConnections() { return failedConnections_; } // optional int64 bytes_sent_in_last_upload = 2; public static final int BYTES_SENT_IN_LAST_UPLOAD_FIELD_NUMBER = 2; private long bytesSentInLastUpload_; /** * optional int64 bytes_sent_in_last_upload = 2; * *
     * number of bytes used to send metrics in the last upload.
     * 
*/ public boolean hasBytesSentInLastUpload() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int64 bytes_sent_in_last_upload = 2; * *
     * number of bytes used to send metrics in the last upload.
     * 
*/ public long getBytesSentInLastUpload() { return bytesSentInLastUpload_; } // optional int32 failed_server_replies = 3; public static final int FAILED_SERVER_REPLIES_FIELD_NUMBER = 3; private int failedServerReplies_; /** * optional int32 failed_server_replies = 3; * *
     * number of times the clearcut server failed with an http error since
     *  the last successful upload.
     * 
*/ public boolean hasFailedServerReplies() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional int32 failed_server_replies = 3; * *
     * number of times the clearcut server failed with an http error since
     *  the last successful upload.
     * 
*/ public int getFailedServerReplies() { return failedServerReplies_; } private void initFields() { failedConnections_ = 0; bytesSentInLastUpload_ = 0L; failedServerReplies_ = 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.writeInt32(1, failedConnections_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt64(2, bytesSentInLastUpload_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt32(3, failedServerReplies_); } 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, failedConnections_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, bytesSentInLastUpload_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, failedServerReplies_); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics 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.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics 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 android_studio.MetaMetrics} * *
     * describes Metrics on Metrics.
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetricsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_MetaMetrics_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_MetaMetrics_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics.Builder.class); } // Construct using com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics.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(); failedConnections_ = 0; bitField0_ = (bitField0_ & ~0x00000001); bytesSentInLastUpload_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); failedServerReplies_ = 0; bitField0_ = (bitField0_ & ~0x00000004); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_MetaMetrics_descriptor; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics getDefaultInstanceForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics.getDefaultInstance(); } public com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics build() { com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics buildPartial() { com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics result = new com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.failedConnections_ = failedConnections_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.bytesSentInLastUpload_ = bytesSentInLastUpload_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.failedServerReplies_ = failedServerReplies_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics) { return mergeFrom((com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics other) { if (other == com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics.getDefaultInstance()) return this; if (other.hasFailedConnections()) { setFailedConnections(other.getFailedConnections()); } if (other.hasBytesSentInLastUpload()) { setBytesSentInLastUpload(other.getBytesSentInLastUpload()); } if (other.hasFailedServerReplies()) { setFailedServerReplies(other.getFailedServerReplies()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional int32 failed_connections = 1; private int failedConnections_ ; /** * optional int32 failed_connections = 1; * *
       * number of times connecting to the clearcut server failed since
       *  the last successful upload.
       * 
*/ public boolean hasFailedConnections() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int32 failed_connections = 1; * *
       * number of times connecting to the clearcut server failed since
       *  the last successful upload.
       * 
*/ public int getFailedConnections() { return failedConnections_; } /** * optional int32 failed_connections = 1; * *
       * number of times connecting to the clearcut server failed since
       *  the last successful upload.
       * 
*/ public Builder setFailedConnections(int value) { bitField0_ |= 0x00000001; failedConnections_ = value; onChanged(); return this; } /** * optional int32 failed_connections = 1; * *
       * number of times connecting to the clearcut server failed since
       *  the last successful upload.
       * 
*/ public Builder clearFailedConnections() { bitField0_ = (bitField0_ & ~0x00000001); failedConnections_ = 0; onChanged(); return this; } // optional int64 bytes_sent_in_last_upload = 2; private long bytesSentInLastUpload_ ; /** * optional int64 bytes_sent_in_last_upload = 2; * *
       * number of bytes used to send metrics in the last upload.
       * 
*/ public boolean hasBytesSentInLastUpload() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int64 bytes_sent_in_last_upload = 2; * *
       * number of bytes used to send metrics in the last upload.
       * 
*/ public long getBytesSentInLastUpload() { return bytesSentInLastUpload_; } /** * optional int64 bytes_sent_in_last_upload = 2; * *
       * number of bytes used to send metrics in the last upload.
       * 
*/ public Builder setBytesSentInLastUpload(long value) { bitField0_ |= 0x00000002; bytesSentInLastUpload_ = value; onChanged(); return this; } /** * optional int64 bytes_sent_in_last_upload = 2; * *
       * number of bytes used to send metrics in the last upload.
       * 
*/ public Builder clearBytesSentInLastUpload() { bitField0_ = (bitField0_ & ~0x00000002); bytesSentInLastUpload_ = 0L; onChanged(); return this; } // optional int32 failed_server_replies = 3; private int failedServerReplies_ ; /** * optional int32 failed_server_replies = 3; * *
       * number of times the clearcut server failed with an http error since
       *  the last successful upload.
       * 
*/ public boolean hasFailedServerReplies() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional int32 failed_server_replies = 3; * *
       * number of times the clearcut server failed with an http error since
       *  the last successful upload.
       * 
*/ public int getFailedServerReplies() { return failedServerReplies_; } /** * optional int32 failed_server_replies = 3; * *
       * number of times the clearcut server failed with an http error since
       *  the last successful upload.
       * 
*/ public Builder setFailedServerReplies(int value) { bitField0_ |= 0x00000004; failedServerReplies_ = value; onChanged(); return this; } /** * optional int32 failed_server_replies = 3; * *
       * number of times the clearcut server failed with an http error since
       *  the last successful upload.
       * 
*/ public Builder clearFailedServerReplies() { bitField0_ = (bitField0_ & ~0x00000004); failedServerReplies_ = 0; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:android_studio.MetaMetrics) } static { defaultInstance = new MetaMetrics(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:android_studio.MetaMetrics) } public interface TestRunOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional .android_studio.TestRun.TestInvocationType test_invocation_type = 1; /** * optional .android_studio.TestRun.TestInvocationType test_invocation_type = 1; * *
     * Describes how tests where invoked.
     * 
*/ boolean hasTestInvocationType(); /** * optional .android_studio.TestRun.TestInvocationType test_invocation_type = 1; * *
     * Describes how tests where invoked.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.TestInvocationType getTestInvocationType(); // optional int32 number_of_tests_executed = 2; /** * optional int32 number_of_tests_executed = 2; * *
     * Total number of tests that ran.
     * 
*/ boolean hasNumberOfTestsExecuted(); /** * optional int32 number_of_tests_executed = 2; * *
     * Total number of tests that ran.
     * 
*/ int getNumberOfTestsExecuted(); // optional .android_studio.TestRun.TestKind test_kind = 3; /** * optional .android_studio.TestRun.TestKind test_kind = 3; * *
     * What kind of test is run.
     * 
*/ boolean hasTestKind(); /** * optional .android_studio.TestRun.TestKind test_kind = 3; * *
     * What kind of test is run.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.TestKind getTestKind(); // optional bool crashed = 4; /** * optional bool crashed = 4; * *
     * Whether the test run finished successfully (regardless of results) or
     *  tooling error happened.
     * 
*/ boolean hasCrashed(); /** * optional bool crashed = 4; * *
     * Whether the test run finished successfully (regardless of results) or
     *  tooling error happened.
     * 
*/ boolean getCrashed(); // optional string gradle_version = 5; /** * optional string gradle_version = 5; * *
     * Set when test_invocation_type = GRADLE or ANDROID_STUDIO_THROUGH_GRADLE
     * 
*/ boolean hasGradleVersion(); /** * optional string gradle_version = 5; * *
     * Set when test_invocation_type = GRADLE or ANDROID_STUDIO_THROUGH_GRADLE
     * 
*/ java.lang.String getGradleVersion(); /** * optional string gradle_version = 5; * *
     * Set when test_invocation_type = GRADLE or ANDROID_STUDIO_THROUGH_GRADLE
     * 
*/ com.google.protobuf.ByteString getGradleVersionBytes(); // optional bool code_coverage_enabled = 6; /** * optional bool code_coverage_enabled = 6; * *
     * e.g. '2.10'
     * Did the user/project enable code coverage on this test run?
     * 
*/ boolean hasCodeCoverageEnabled(); /** * optional bool code_coverage_enabled = 6; * *
     * e.g. '2.10'
     * Did the user/project enable code coverage on this test run?
     * 
*/ boolean getCodeCoverageEnabled(); // optional .android_studio.TestLibraries test_libraries = 7; /** * optional .android_studio.TestLibraries test_libraries = 7; * *
     * Provides details on commonly used test libraries.
     * 
*/ boolean hasTestLibraries(); /** * optional .android_studio.TestLibraries test_libraries = 7; * *
     * Provides details on commonly used test libraries.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries getTestLibraries(); /** * optional .android_studio.TestLibraries test_libraries = 7; * *
     * Provides details on commonly used test libraries.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibrariesOrBuilder getTestLibrariesOrBuilder(); } /** * Protobuf type {@code android_studio.TestRun} * *
   * Describes a set of tests run.
   * 
*/ public static final class TestRun extends com.google.protobuf.GeneratedMessage implements TestRunOrBuilder { // Use TestRun.newBuilder() to construct. private TestRun(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private TestRun(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final TestRun defaultInstance; public static TestRun getDefaultInstance() { return defaultInstance; } public TestRun getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TestRun( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { int rawValue = input.readEnum(); com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.TestInvocationType value = com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.TestInvocationType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { bitField0_ |= 0x00000001; testInvocationType_ = value; } break; } case 16: { bitField0_ |= 0x00000002; numberOfTestsExecuted_ = input.readInt32(); break; } case 24: { int rawValue = input.readEnum(); com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.TestKind value = com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.TestKind.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(3, rawValue); } else { bitField0_ |= 0x00000004; testKind_ = value; } break; } case 32: { bitField0_ |= 0x00000008; crashed_ = input.readBool(); break; } case 42: { bitField0_ |= 0x00000010; gradleVersion_ = input.readBytes(); break; } case 48: { bitField0_ |= 0x00000020; codeCoverageEnabled_ = input.readBool(); break; } case 58: { com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries.Builder subBuilder = null; if (((bitField0_ & 0x00000040) == 0x00000040)) { subBuilder = testLibraries_.toBuilder(); } testLibraries_ = input.readMessage(com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(testLibraries_); testLibraries_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000040; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_TestRun_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_TestRun_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public TestRun parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TestRun(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } /** * Protobuf enum {@code android_studio.TestRun.TestInvocationType} * *
     * Describes how tests where invoked.
     * 
*/ public enum TestInvocationType implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN_TEST_INVOCATION_TYPE = 0; */ UNKNOWN_TEST_INVOCATION_TYPE(0, 0), /** * GRADLE_TEST = 1; * *
       * Tests were run from the command-line.
       * 
*/ GRADLE_TEST(1, 1), /** * ANDROID_STUDIO_TEST = 2; * *
       * Tests were run by Android Studio run configurations logic.
       * 
*/ ANDROID_STUDIO_TEST(2, 2), /** * ANDROID_STUDIO_THROUGH_GRADLE_TEST = 3; * *
       * Tests were run by Gradle, but invoked through AS UI.
       * 
*/ ANDROID_STUDIO_THROUGH_GRADLE_TEST(3, 3), ; /** * UNKNOWN_TEST_INVOCATION_TYPE = 0; */ public static final int UNKNOWN_TEST_INVOCATION_TYPE_VALUE = 0; /** * GRADLE_TEST = 1; * *
       * Tests were run from the command-line.
       * 
*/ public static final int GRADLE_TEST_VALUE = 1; /** * ANDROID_STUDIO_TEST = 2; * *
       * Tests were run by Android Studio run configurations logic.
       * 
*/ public static final int ANDROID_STUDIO_TEST_VALUE = 2; /** * ANDROID_STUDIO_THROUGH_GRADLE_TEST = 3; * *
       * Tests were run by Gradle, but invoked through AS UI.
       * 
*/ public static final int ANDROID_STUDIO_THROUGH_GRADLE_TEST_VALUE = 3; public final int getNumber() { return value; } public static TestInvocationType valueOf(int value) { switch (value) { case 0: return UNKNOWN_TEST_INVOCATION_TYPE; case 1: return GRADLE_TEST; case 2: return ANDROID_STUDIO_TEST; case 3: return ANDROID_STUDIO_THROUGH_GRADLE_TEST; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public TestInvocationType findValueByNumber(int number) { return TestInvocationType.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.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.getDescriptor().getEnumTypes().get(0); } private static final TestInvocationType[] VALUES = values(); public static TestInvocationType 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 TestInvocationType(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:android_studio.TestRun.TestInvocationType) } /** * Protobuf enum {@code android_studio.TestRun.TestKind} * *
     * What kind of test is run.
     * 
*/ public enum TestKind implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN_TEST_KIND = 0; */ UNKNOWN_TEST_KIND(0, 0), /** * UNIT_TEST = 1; */ UNIT_TEST(1, 1), /** * INSTRUMENTATION_TEST = 2; */ INSTRUMENTATION_TEST(2, 2), ; /** * UNKNOWN_TEST_KIND = 0; */ public static final int UNKNOWN_TEST_KIND_VALUE = 0; /** * UNIT_TEST = 1; */ public static final int UNIT_TEST_VALUE = 1; /** * INSTRUMENTATION_TEST = 2; */ public static final int INSTRUMENTATION_TEST_VALUE = 2; public final int getNumber() { return value; } public static TestKind valueOf(int value) { switch (value) { case 0: return UNKNOWN_TEST_KIND; case 1: return UNIT_TEST; case 2: return INSTRUMENTATION_TEST; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public TestKind findValueByNumber(int number) { return TestKind.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.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.getDescriptor().getEnumTypes().get(1); } private static final TestKind[] VALUES = values(); public static TestKind 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 TestKind(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:android_studio.TestRun.TestKind) } private int bitField0_; // optional .android_studio.TestRun.TestInvocationType test_invocation_type = 1; public static final int TEST_INVOCATION_TYPE_FIELD_NUMBER = 1; private com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.TestInvocationType testInvocationType_; /** * optional .android_studio.TestRun.TestInvocationType test_invocation_type = 1; * *
     * Describes how tests where invoked.
     * 
*/ public boolean hasTestInvocationType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .android_studio.TestRun.TestInvocationType test_invocation_type = 1; * *
     * Describes how tests where invoked.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.TestInvocationType getTestInvocationType() { return testInvocationType_; } // optional int32 number_of_tests_executed = 2; public static final int NUMBER_OF_TESTS_EXECUTED_FIELD_NUMBER = 2; private int numberOfTestsExecuted_; /** * optional int32 number_of_tests_executed = 2; * *
     * Total number of tests that ran.
     * 
*/ public boolean hasNumberOfTestsExecuted() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int32 number_of_tests_executed = 2; * *
     * Total number of tests that ran.
     * 
*/ public int getNumberOfTestsExecuted() { return numberOfTestsExecuted_; } // optional .android_studio.TestRun.TestKind test_kind = 3; public static final int TEST_KIND_FIELD_NUMBER = 3; private com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.TestKind testKind_; /** * optional .android_studio.TestRun.TestKind test_kind = 3; * *
     * What kind of test is run.
     * 
*/ public boolean hasTestKind() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .android_studio.TestRun.TestKind test_kind = 3; * *
     * What kind of test is run.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.TestKind getTestKind() { return testKind_; } // optional bool crashed = 4; public static final int CRASHED_FIELD_NUMBER = 4; private boolean crashed_; /** * optional bool crashed = 4; * *
     * Whether the test run finished successfully (regardless of results) or
     *  tooling error happened.
     * 
*/ public boolean hasCrashed() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional bool crashed = 4; * *
     * Whether the test run finished successfully (regardless of results) or
     *  tooling error happened.
     * 
*/ public boolean getCrashed() { return crashed_; } // optional string gradle_version = 5; public static final int GRADLE_VERSION_FIELD_NUMBER = 5; private java.lang.Object gradleVersion_; /** * optional string gradle_version = 5; * *
     * Set when test_invocation_type = GRADLE or ANDROID_STUDIO_THROUGH_GRADLE
     * 
*/ public boolean hasGradleVersion() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string gradle_version = 5; * *
     * Set when test_invocation_type = GRADLE or ANDROID_STUDIO_THROUGH_GRADLE
     * 
*/ public java.lang.String getGradleVersion() { java.lang.Object ref = gradleVersion_; 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()) { gradleVersion_ = s; } return s; } } /** * optional string gradle_version = 5; * *
     * Set when test_invocation_type = GRADLE or ANDROID_STUDIO_THROUGH_GRADLE
     * 
*/ public com.google.protobuf.ByteString getGradleVersionBytes() { java.lang.Object ref = gradleVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); gradleVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional bool code_coverage_enabled = 6; public static final int CODE_COVERAGE_ENABLED_FIELD_NUMBER = 6; private boolean codeCoverageEnabled_; /** * optional bool code_coverage_enabled = 6; * *
     * e.g. '2.10'
     * Did the user/project enable code coverage on this test run?
     * 
*/ public boolean hasCodeCoverageEnabled() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional bool code_coverage_enabled = 6; * *
     * e.g. '2.10'
     * Did the user/project enable code coverage on this test run?
     * 
*/ public boolean getCodeCoverageEnabled() { return codeCoverageEnabled_; } // optional .android_studio.TestLibraries test_libraries = 7; public static final int TEST_LIBRARIES_FIELD_NUMBER = 7; private com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries testLibraries_; /** * optional .android_studio.TestLibraries test_libraries = 7; * *
     * Provides details on commonly used test libraries.
     * 
*/ public boolean hasTestLibraries() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional .android_studio.TestLibraries test_libraries = 7; * *
     * Provides details on commonly used test libraries.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries getTestLibraries() { return testLibraries_; } /** * optional .android_studio.TestLibraries test_libraries = 7; * *
     * Provides details on commonly used test libraries.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibrariesOrBuilder getTestLibrariesOrBuilder() { return testLibraries_; } private void initFields() { testInvocationType_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.TestInvocationType.UNKNOWN_TEST_INVOCATION_TYPE; numberOfTestsExecuted_ = 0; testKind_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.TestKind.UNKNOWN_TEST_KIND; crashed_ = false; gradleVersion_ = ""; codeCoverageEnabled_ = false; testLibraries_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries.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.writeEnum(1, testInvocationType_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt32(2, numberOfTestsExecuted_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeEnum(3, testKind_.getNumber()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBool(4, crashed_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBytes(5, getGradleVersionBytes()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeBool(6, codeCoverageEnabled_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeMessage(7, testLibraries_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, testInvocationType_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, numberOfTestsExecuted_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, testKind_.getNumber()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, crashed_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, getGradleVersionBytes()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(6, codeCoverageEnabled_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, testLibraries_); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun 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.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun 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 android_studio.TestRun} * *
     * Describes a set of tests run.
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRunOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_TestRun_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_TestRun_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.Builder.class); } // Construct using com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getTestLibrariesFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); testInvocationType_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.TestInvocationType.UNKNOWN_TEST_INVOCATION_TYPE; bitField0_ = (bitField0_ & ~0x00000001); numberOfTestsExecuted_ = 0; bitField0_ = (bitField0_ & ~0x00000002); testKind_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.TestKind.UNKNOWN_TEST_KIND; bitField0_ = (bitField0_ & ~0x00000004); crashed_ = false; bitField0_ = (bitField0_ & ~0x00000008); gradleVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000010); codeCoverageEnabled_ = false; bitField0_ = (bitField0_ & ~0x00000020); if (testLibrariesBuilder_ == null) { testLibraries_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries.getDefaultInstance(); } else { testLibrariesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_TestRun_descriptor; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun getDefaultInstanceForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.getDefaultInstance(); } public com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun build() { com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun buildPartial() { com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun result = new com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.testInvocationType_ = testInvocationType_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.numberOfTestsExecuted_ = numberOfTestsExecuted_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.testKind_ = testKind_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.crashed_ = crashed_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.gradleVersion_ = gradleVersion_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.codeCoverageEnabled_ = codeCoverageEnabled_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } if (testLibrariesBuilder_ == null) { result.testLibraries_ = testLibraries_; } else { result.testLibraries_ = testLibrariesBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun) { return mergeFrom((com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun other) { if (other == com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.getDefaultInstance()) return this; if (other.hasTestInvocationType()) { setTestInvocationType(other.getTestInvocationType()); } if (other.hasNumberOfTestsExecuted()) { setNumberOfTestsExecuted(other.getNumberOfTestsExecuted()); } if (other.hasTestKind()) { setTestKind(other.getTestKind()); } if (other.hasCrashed()) { setCrashed(other.getCrashed()); } if (other.hasGradleVersion()) { bitField0_ |= 0x00000010; gradleVersion_ = other.gradleVersion_; onChanged(); } if (other.hasCodeCoverageEnabled()) { setCodeCoverageEnabled(other.getCodeCoverageEnabled()); } if (other.hasTestLibraries()) { mergeTestLibraries(other.getTestLibraries()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional .android_studio.TestRun.TestInvocationType test_invocation_type = 1; private com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.TestInvocationType testInvocationType_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.TestInvocationType.UNKNOWN_TEST_INVOCATION_TYPE; /** * optional .android_studio.TestRun.TestInvocationType test_invocation_type = 1; * *
       * Describes how tests where invoked.
       * 
*/ public boolean hasTestInvocationType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .android_studio.TestRun.TestInvocationType test_invocation_type = 1; * *
       * Describes how tests where invoked.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.TestInvocationType getTestInvocationType() { return testInvocationType_; } /** * optional .android_studio.TestRun.TestInvocationType test_invocation_type = 1; * *
       * Describes how tests where invoked.
       * 
*/ public Builder setTestInvocationType(com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.TestInvocationType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; testInvocationType_ = value; onChanged(); return this; } /** * optional .android_studio.TestRun.TestInvocationType test_invocation_type = 1; * *
       * Describes how tests where invoked.
       * 
*/ public Builder clearTestInvocationType() { bitField0_ = (bitField0_ & ~0x00000001); testInvocationType_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.TestInvocationType.UNKNOWN_TEST_INVOCATION_TYPE; onChanged(); return this; } // optional int32 number_of_tests_executed = 2; private int numberOfTestsExecuted_ ; /** * optional int32 number_of_tests_executed = 2; * *
       * Total number of tests that ran.
       * 
*/ public boolean hasNumberOfTestsExecuted() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int32 number_of_tests_executed = 2; * *
       * Total number of tests that ran.
       * 
*/ public int getNumberOfTestsExecuted() { return numberOfTestsExecuted_; } /** * optional int32 number_of_tests_executed = 2; * *
       * Total number of tests that ran.
       * 
*/ public Builder setNumberOfTestsExecuted(int value) { bitField0_ |= 0x00000002; numberOfTestsExecuted_ = value; onChanged(); return this; } /** * optional int32 number_of_tests_executed = 2; * *
       * Total number of tests that ran.
       * 
*/ public Builder clearNumberOfTestsExecuted() { bitField0_ = (bitField0_ & ~0x00000002); numberOfTestsExecuted_ = 0; onChanged(); return this; } // optional .android_studio.TestRun.TestKind test_kind = 3; private com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.TestKind testKind_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.TestKind.UNKNOWN_TEST_KIND; /** * optional .android_studio.TestRun.TestKind test_kind = 3; * *
       * What kind of test is run.
       * 
*/ public boolean hasTestKind() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .android_studio.TestRun.TestKind test_kind = 3; * *
       * What kind of test is run.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.TestKind getTestKind() { return testKind_; } /** * optional .android_studio.TestRun.TestKind test_kind = 3; * *
       * What kind of test is run.
       * 
*/ public Builder setTestKind(com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.TestKind value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; testKind_ = value; onChanged(); return this; } /** * optional .android_studio.TestRun.TestKind test_kind = 3; * *
       * What kind of test is run.
       * 
*/ public Builder clearTestKind() { bitField0_ = (bitField0_ & ~0x00000004); testKind_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRun.TestKind.UNKNOWN_TEST_KIND; onChanged(); return this; } // optional bool crashed = 4; private boolean crashed_ ; /** * optional bool crashed = 4; * *
       * Whether the test run finished successfully (regardless of results) or
       *  tooling error happened.
       * 
*/ public boolean hasCrashed() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional bool crashed = 4; * *
       * Whether the test run finished successfully (regardless of results) or
       *  tooling error happened.
       * 
*/ public boolean getCrashed() { return crashed_; } /** * optional bool crashed = 4; * *
       * Whether the test run finished successfully (regardless of results) or
       *  tooling error happened.
       * 
*/ public Builder setCrashed(boolean value) { bitField0_ |= 0x00000008; crashed_ = value; onChanged(); return this; } /** * optional bool crashed = 4; * *
       * Whether the test run finished successfully (regardless of results) or
       *  tooling error happened.
       * 
*/ public Builder clearCrashed() { bitField0_ = (bitField0_ & ~0x00000008); crashed_ = false; onChanged(); return this; } // optional string gradle_version = 5; private java.lang.Object gradleVersion_ = ""; /** * optional string gradle_version = 5; * *
       * Set when test_invocation_type = GRADLE or ANDROID_STUDIO_THROUGH_GRADLE
       * 
*/ public boolean hasGradleVersion() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string gradle_version = 5; * *
       * Set when test_invocation_type = GRADLE or ANDROID_STUDIO_THROUGH_GRADLE
       * 
*/ public java.lang.String getGradleVersion() { java.lang.Object ref = gradleVersion_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); gradleVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string gradle_version = 5; * *
       * Set when test_invocation_type = GRADLE or ANDROID_STUDIO_THROUGH_GRADLE
       * 
*/ public com.google.protobuf.ByteString getGradleVersionBytes() { java.lang.Object ref = gradleVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); gradleVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string gradle_version = 5; * *
       * Set when test_invocation_type = GRADLE or ANDROID_STUDIO_THROUGH_GRADLE
       * 
*/ public Builder setGradleVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; gradleVersion_ = value; onChanged(); return this; } /** * optional string gradle_version = 5; * *
       * Set when test_invocation_type = GRADLE or ANDROID_STUDIO_THROUGH_GRADLE
       * 
*/ public Builder clearGradleVersion() { bitField0_ = (bitField0_ & ~0x00000010); gradleVersion_ = getDefaultInstance().getGradleVersion(); onChanged(); return this; } /** * optional string gradle_version = 5; * *
       * Set when test_invocation_type = GRADLE or ANDROID_STUDIO_THROUGH_GRADLE
       * 
*/ public Builder setGradleVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; gradleVersion_ = value; onChanged(); return this; } // optional bool code_coverage_enabled = 6; private boolean codeCoverageEnabled_ ; /** * optional bool code_coverage_enabled = 6; * *
       * e.g. '2.10'
       * Did the user/project enable code coverage on this test run?
       * 
*/ public boolean hasCodeCoverageEnabled() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional bool code_coverage_enabled = 6; * *
       * e.g. '2.10'
       * Did the user/project enable code coverage on this test run?
       * 
*/ public boolean getCodeCoverageEnabled() { return codeCoverageEnabled_; } /** * optional bool code_coverage_enabled = 6; * *
       * e.g. '2.10'
       * Did the user/project enable code coverage on this test run?
       * 
*/ public Builder setCodeCoverageEnabled(boolean value) { bitField0_ |= 0x00000020; codeCoverageEnabled_ = value; onChanged(); return this; } /** * optional bool code_coverage_enabled = 6; * *
       * e.g. '2.10'
       * Did the user/project enable code coverage on this test run?
       * 
*/ public Builder clearCodeCoverageEnabled() { bitField0_ = (bitField0_ & ~0x00000020); codeCoverageEnabled_ = false; onChanged(); return this; } // optional .android_studio.TestLibraries test_libraries = 7; private com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries testLibraries_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries, com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibrariesOrBuilder> testLibrariesBuilder_; /** * optional .android_studio.TestLibraries test_libraries = 7; * *
       * Provides details on commonly used test libraries.
       * 
*/ public boolean hasTestLibraries() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional .android_studio.TestLibraries test_libraries = 7; * *
       * Provides details on commonly used test libraries.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries getTestLibraries() { if (testLibrariesBuilder_ == null) { return testLibraries_; } else { return testLibrariesBuilder_.getMessage(); } } /** * optional .android_studio.TestLibraries test_libraries = 7; * *
       * Provides details on commonly used test libraries.
       * 
*/ public Builder setTestLibraries(com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries value) { if (testLibrariesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } testLibraries_ = value; onChanged(); } else { testLibrariesBuilder_.setMessage(value); } bitField0_ |= 0x00000040; return this; } /** * optional .android_studio.TestLibraries test_libraries = 7; * *
       * Provides details on commonly used test libraries.
       * 
*/ public Builder setTestLibraries( com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries.Builder builderForValue) { if (testLibrariesBuilder_ == null) { testLibraries_ = builderForValue.build(); onChanged(); } else { testLibrariesBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000040; return this; } /** * optional .android_studio.TestLibraries test_libraries = 7; * *
       * Provides details on commonly used test libraries.
       * 
*/ public Builder mergeTestLibraries(com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries value) { if (testLibrariesBuilder_ == null) { if (((bitField0_ & 0x00000040) == 0x00000040) && testLibraries_ != com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries.getDefaultInstance()) { testLibraries_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries.newBuilder(testLibraries_).mergeFrom(value).buildPartial(); } else { testLibraries_ = value; } onChanged(); } else { testLibrariesBuilder_.mergeFrom(value); } bitField0_ |= 0x00000040; return this; } /** * optional .android_studio.TestLibraries test_libraries = 7; * *
       * Provides details on commonly used test libraries.
       * 
*/ public Builder clearTestLibraries() { if (testLibrariesBuilder_ == null) { testLibraries_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries.getDefaultInstance(); onChanged(); } else { testLibrariesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); return this; } /** * optional .android_studio.TestLibraries test_libraries = 7; * *
       * Provides details on commonly used test libraries.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries.Builder getTestLibrariesBuilder() { bitField0_ |= 0x00000040; onChanged(); return getTestLibrariesFieldBuilder().getBuilder(); } /** * optional .android_studio.TestLibraries test_libraries = 7; * *
       * Provides details on commonly used test libraries.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibrariesOrBuilder getTestLibrariesOrBuilder() { if (testLibrariesBuilder_ != null) { return testLibrariesBuilder_.getMessageOrBuilder(); } else { return testLibraries_; } } /** * optional .android_studio.TestLibraries test_libraries = 7; * *
       * Provides details on commonly used test libraries.
       * 
*/ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries, com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibrariesOrBuilder> getTestLibrariesFieldBuilder() { if (testLibrariesBuilder_ == null) { testLibrariesBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries, com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibrariesOrBuilder>( testLibraries_, getParentForChildren(), isClean()); testLibraries_ = null; } return testLibrariesBuilder_; } // @@protoc_insertion_point(builder_scope:android_studio.TestRun) } static { defaultInstance = new TestRun(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:android_studio.TestRun) } public interface TestLibrariesOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional string test_support_library_version = 1; /** * optional string test_support_library_version = 1; * *
     * The exact version of the given library that this project uses.
     *  Not present if project doesn't use a given library.
     * 
*/ boolean hasTestSupportLibraryVersion(); /** * optional string test_support_library_version = 1; * *
     * The exact version of the given library that this project uses.
     *  Not present if project doesn't use a given library.
     * 
*/ java.lang.String getTestSupportLibraryVersion(); /** * optional string test_support_library_version = 1; * *
     * The exact version of the given library that this project uses.
     *  Not present if project doesn't use a given library.
     * 
*/ com.google.protobuf.ByteString getTestSupportLibraryVersionBytes(); // optional string espresso_version = 2; /** * optional string espresso_version = 2; * *
     * e.g. '0.5'
     * 
*/ boolean hasEspressoVersion(); /** * optional string espresso_version = 2; * *
     * e.g. '0.5'
     * 
*/ java.lang.String getEspressoVersion(); /** * optional string espresso_version = 2; * *
     * e.g. '0.5'
     * 
*/ com.google.protobuf.ByteString getEspressoVersionBytes(); // optional string robolectric_version = 3; /** * optional string robolectric_version = 3; * *
     * e.g. '2.2.2'
     * 
*/ boolean hasRobolectricVersion(); /** * optional string robolectric_version = 3; * *
     * e.g. '2.2.2'
     * 
*/ java.lang.String getRobolectricVersion(); /** * optional string robolectric_version = 3; * *
     * e.g. '2.2.2'
     * 
*/ com.google.protobuf.ByteString getRobolectricVersionBytes(); // optional string mockito_version = 4; /** * optional string mockito_version = 4; * *
     * e.g. '3.0'
     * 
*/ boolean hasMockitoVersion(); /** * optional string mockito_version = 4; * *
     * e.g. '3.0'
     * 
*/ java.lang.String getMockitoVersion(); /** * optional string mockito_version = 4; * *
     * e.g. '3.0'
     * 
*/ com.google.protobuf.ByteString getMockitoVersionBytes(); } /** * Protobuf type {@code android_studio.TestLibraries} * *
   * Provides details on commonly used test libraries.
   * 
*/ public static final class TestLibraries extends com.google.protobuf.GeneratedMessage implements TestLibrariesOrBuilder { // Use TestLibraries.newBuilder() to construct. private TestLibraries(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private TestLibraries(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final TestLibraries defaultInstance; public static TestLibraries getDefaultInstance() { return defaultInstance; } public TestLibraries getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TestLibraries( 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; testSupportLibraryVersion_ = input.readBytes(); break; } case 18: { bitField0_ |= 0x00000002; espressoVersion_ = input.readBytes(); break; } case 26: { bitField0_ |= 0x00000004; robolectricVersion_ = input.readBytes(); break; } case 34: { bitField0_ |= 0x00000008; mockitoVersion_ = 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.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_TestLibraries_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_TestLibraries_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public TestLibraries parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TestLibraries(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional string test_support_library_version = 1; public static final int TEST_SUPPORT_LIBRARY_VERSION_FIELD_NUMBER = 1; private java.lang.Object testSupportLibraryVersion_; /** * optional string test_support_library_version = 1; * *
     * The exact version of the given library that this project uses.
     *  Not present if project doesn't use a given library.
     * 
*/ public boolean hasTestSupportLibraryVersion() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string test_support_library_version = 1; * *
     * The exact version of the given library that this project uses.
     *  Not present if project doesn't use a given library.
     * 
*/ public java.lang.String getTestSupportLibraryVersion() { java.lang.Object ref = testSupportLibraryVersion_; 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()) { testSupportLibraryVersion_ = s; } return s; } } /** * optional string test_support_library_version = 1; * *
     * The exact version of the given library that this project uses.
     *  Not present if project doesn't use a given library.
     * 
*/ public com.google.protobuf.ByteString getTestSupportLibraryVersionBytes() { java.lang.Object ref = testSupportLibraryVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); testSupportLibraryVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string espresso_version = 2; public static final int ESPRESSO_VERSION_FIELD_NUMBER = 2; private java.lang.Object espressoVersion_; /** * optional string espresso_version = 2; * *
     * e.g. '0.5'
     * 
*/ public boolean hasEspressoVersion() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string espresso_version = 2; * *
     * e.g. '0.5'
     * 
*/ public java.lang.String getEspressoVersion() { java.lang.Object ref = espressoVersion_; 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()) { espressoVersion_ = s; } return s; } } /** * optional string espresso_version = 2; * *
     * e.g. '0.5'
     * 
*/ public com.google.protobuf.ByteString getEspressoVersionBytes() { java.lang.Object ref = espressoVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); espressoVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string robolectric_version = 3; public static final int ROBOLECTRIC_VERSION_FIELD_NUMBER = 3; private java.lang.Object robolectricVersion_; /** * optional string robolectric_version = 3; * *
     * e.g. '2.2.2'
     * 
*/ public boolean hasRobolectricVersion() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string robolectric_version = 3; * *
     * e.g. '2.2.2'
     * 
*/ public java.lang.String getRobolectricVersion() { java.lang.Object ref = robolectricVersion_; 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()) { robolectricVersion_ = s; } return s; } } /** * optional string robolectric_version = 3; * *
     * e.g. '2.2.2'
     * 
*/ public com.google.protobuf.ByteString getRobolectricVersionBytes() { java.lang.Object ref = robolectricVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); robolectricVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string mockito_version = 4; public static final int MOCKITO_VERSION_FIELD_NUMBER = 4; private java.lang.Object mockitoVersion_; /** * optional string mockito_version = 4; * *
     * e.g. '3.0'
     * 
*/ public boolean hasMockitoVersion() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string mockito_version = 4; * *
     * e.g. '3.0'
     * 
*/ public java.lang.String getMockitoVersion() { java.lang.Object ref = mockitoVersion_; 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()) { mockitoVersion_ = s; } return s; } } /** * optional string mockito_version = 4; * *
     * e.g. '3.0'
     * 
*/ public com.google.protobuf.ByteString getMockitoVersionBytes() { java.lang.Object ref = mockitoVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); mockitoVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { testSupportLibraryVersion_ = ""; espressoVersion_ = ""; robolectricVersion_ = ""; mockitoVersion_ = ""; } 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, getTestSupportLibraryVersionBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getEspressoVersionBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getRobolectricVersionBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, getMockitoVersionBytes()); } 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, getTestSupportLibraryVersionBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getEspressoVersionBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getRobolectricVersionBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, getMockitoVersionBytes()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries 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.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries 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 android_studio.TestLibraries} * *
     * Provides details on commonly used test libraries.
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibrariesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_TestLibraries_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_TestLibraries_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries.Builder.class); } // Construct using com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries.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(); testSupportLibraryVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000001); espressoVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000002); robolectricVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000004); mockitoVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000008); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_TestLibraries_descriptor; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries getDefaultInstanceForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries.getDefaultInstance(); } public com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries build() { com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries buildPartial() { com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries result = new com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.testSupportLibraryVersion_ = testSupportLibraryVersion_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.espressoVersion_ = espressoVersion_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.robolectricVersion_ = robolectricVersion_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.mockitoVersion_ = mockitoVersion_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries) { return mergeFrom((com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries other) { if (other == com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries.getDefaultInstance()) return this; if (other.hasTestSupportLibraryVersion()) { bitField0_ |= 0x00000001; testSupportLibraryVersion_ = other.testSupportLibraryVersion_; onChanged(); } if (other.hasEspressoVersion()) { bitField0_ |= 0x00000002; espressoVersion_ = other.espressoVersion_; onChanged(); } if (other.hasRobolectricVersion()) { bitField0_ |= 0x00000004; robolectricVersion_ = other.robolectricVersion_; onChanged(); } if (other.hasMockitoVersion()) { bitField0_ |= 0x00000008; mockitoVersion_ = other.mockitoVersion_; 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.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.sdk.stats.AndroidStudioStats.TestLibraries) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional string test_support_library_version = 1; private java.lang.Object testSupportLibraryVersion_ = ""; /** * optional string test_support_library_version = 1; * *
       * The exact version of the given library that this project uses.
       *  Not present if project doesn't use a given library.
       * 
*/ public boolean hasTestSupportLibraryVersion() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string test_support_library_version = 1; * *
       * The exact version of the given library that this project uses.
       *  Not present if project doesn't use a given library.
       * 
*/ public java.lang.String getTestSupportLibraryVersion() { java.lang.Object ref = testSupportLibraryVersion_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); testSupportLibraryVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string test_support_library_version = 1; * *
       * The exact version of the given library that this project uses.
       *  Not present if project doesn't use a given library.
       * 
*/ public com.google.protobuf.ByteString getTestSupportLibraryVersionBytes() { java.lang.Object ref = testSupportLibraryVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); testSupportLibraryVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string test_support_library_version = 1; * *
       * The exact version of the given library that this project uses.
       *  Not present if project doesn't use a given library.
       * 
*/ public Builder setTestSupportLibraryVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; testSupportLibraryVersion_ = value; onChanged(); return this; } /** * optional string test_support_library_version = 1; * *
       * The exact version of the given library that this project uses.
       *  Not present if project doesn't use a given library.
       * 
*/ public Builder clearTestSupportLibraryVersion() { bitField0_ = (bitField0_ & ~0x00000001); testSupportLibraryVersion_ = getDefaultInstance().getTestSupportLibraryVersion(); onChanged(); return this; } /** * optional string test_support_library_version = 1; * *
       * The exact version of the given library that this project uses.
       *  Not present if project doesn't use a given library.
       * 
*/ public Builder setTestSupportLibraryVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; testSupportLibraryVersion_ = value; onChanged(); return this; } // optional string espresso_version = 2; private java.lang.Object espressoVersion_ = ""; /** * optional string espresso_version = 2; * *
       * e.g. '0.5'
       * 
*/ public boolean hasEspressoVersion() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string espresso_version = 2; * *
       * e.g. '0.5'
       * 
*/ public java.lang.String getEspressoVersion() { java.lang.Object ref = espressoVersion_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); espressoVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string espresso_version = 2; * *
       * e.g. '0.5'
       * 
*/ public com.google.protobuf.ByteString getEspressoVersionBytes() { java.lang.Object ref = espressoVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); espressoVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string espresso_version = 2; * *
       * e.g. '0.5'
       * 
*/ public Builder setEspressoVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; espressoVersion_ = value; onChanged(); return this; } /** * optional string espresso_version = 2; * *
       * e.g. '0.5'
       * 
*/ public Builder clearEspressoVersion() { bitField0_ = (bitField0_ & ~0x00000002); espressoVersion_ = getDefaultInstance().getEspressoVersion(); onChanged(); return this; } /** * optional string espresso_version = 2; * *
       * e.g. '0.5'
       * 
*/ public Builder setEspressoVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; espressoVersion_ = value; onChanged(); return this; } // optional string robolectric_version = 3; private java.lang.Object robolectricVersion_ = ""; /** * optional string robolectric_version = 3; * *
       * e.g. '2.2.2'
       * 
*/ public boolean hasRobolectricVersion() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string robolectric_version = 3; * *
       * e.g. '2.2.2'
       * 
*/ public java.lang.String getRobolectricVersion() { java.lang.Object ref = robolectricVersion_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); robolectricVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string robolectric_version = 3; * *
       * e.g. '2.2.2'
       * 
*/ public com.google.protobuf.ByteString getRobolectricVersionBytes() { java.lang.Object ref = robolectricVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); robolectricVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string robolectric_version = 3; * *
       * e.g. '2.2.2'
       * 
*/ public Builder setRobolectricVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; robolectricVersion_ = value; onChanged(); return this; } /** * optional string robolectric_version = 3; * *
       * e.g. '2.2.2'
       * 
*/ public Builder clearRobolectricVersion() { bitField0_ = (bitField0_ & ~0x00000004); robolectricVersion_ = getDefaultInstance().getRobolectricVersion(); onChanged(); return this; } /** * optional string robolectric_version = 3; * *
       * e.g. '2.2.2'
       * 
*/ public Builder setRobolectricVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; robolectricVersion_ = value; onChanged(); return this; } // optional string mockito_version = 4; private java.lang.Object mockitoVersion_ = ""; /** * optional string mockito_version = 4; * *
       * e.g. '3.0'
       * 
*/ public boolean hasMockitoVersion() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string mockito_version = 4; * *
       * e.g. '3.0'
       * 
*/ public java.lang.String getMockitoVersion() { java.lang.Object ref = mockitoVersion_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); mockitoVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string mockito_version = 4; * *
       * e.g. '3.0'
       * 
*/ public com.google.protobuf.ByteString getMockitoVersionBytes() { java.lang.Object ref = mockitoVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); mockitoVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string mockito_version = 4; * *
       * e.g. '3.0'
       * 
*/ public Builder setMockitoVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; mockitoVersion_ = value; onChanged(); return this; } /** * optional string mockito_version = 4; * *
       * e.g. '3.0'
       * 
*/ public Builder clearMockitoVersion() { bitField0_ = (bitField0_ & ~0x00000008); mockitoVersion_ = getDefaultInstance().getMockitoVersion(); onChanged(); return this; } /** * optional string mockito_version = 4; * *
       * e.g. '3.0'
       * 
*/ public Builder setMockitoVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; mockitoVersion_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:android_studio.TestLibraries) } static { defaultInstance = new TestLibraries(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:android_studio.TestLibraries) } public interface HypervisorOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional .android_studio.Hypervisor.HyperVState hyper_v_state = 1; /** * optional .android_studio.Hypervisor.HyperVState hyper_v_state = 1; */ boolean hasHyperVState(); /** * optional .android_studio.Hypervisor.HyperVState hyper_v_state = 1; */ com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor.HyperVState getHyperVState(); } /** * Protobuf type {@code android_studio.Hypervisor} * *
   * Describes the status of various Hypervisors
   * 
*/ public static final class Hypervisor extends com.google.protobuf.GeneratedMessage implements HypervisorOrBuilder { // Use Hypervisor.newBuilder() to construct. private Hypervisor(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private Hypervisor(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final Hypervisor defaultInstance; public static Hypervisor getDefaultInstance() { return defaultInstance; } public Hypervisor getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Hypervisor( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { int rawValue = input.readEnum(); com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor.HyperVState value = com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor.HyperVState.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { bitField0_ |= 0x00000001; hyperVState_ = value; } 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.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_Hypervisor_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_Hypervisor_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Hypervisor parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Hypervisor(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } /** * Protobuf enum {@code android_studio.Hypervisor.HyperVState} * *
     * Status of the Hyper-V hypervisor.
     * 
*/ public enum HyperVState implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN_HYPERV_STATE = 0; */ UNKNOWN_HYPERV_STATE(0, 0), /** * HYPERV_ABSENT = 1; * *
       * Have no idea
       * 
*/ HYPERV_ABSENT(1, 1), /** * HYPERV_INSTALLED = 2; * *
       * No hyper-V found
       * 
*/ HYPERV_INSTALLED(2, 2), /** * HYPERV_RUNNING = 3; * *
       * Hyper-V is installed but not running
       * 
*/ HYPERV_RUNNING(3, 3), /** * HYPERV_CHECK_ERROR = 4; * *
       * Hyper-V is up and running
       * 
*/ HYPERV_CHECK_ERROR(4, 4), ; /** * UNKNOWN_HYPERV_STATE = 0; */ public static final int UNKNOWN_HYPERV_STATE_VALUE = 0; /** * HYPERV_ABSENT = 1; * *
       * Have no idea
       * 
*/ public static final int HYPERV_ABSENT_VALUE = 1; /** * HYPERV_INSTALLED = 2; * *
       * No hyper-V found
       * 
*/ public static final int HYPERV_INSTALLED_VALUE = 2; /** * HYPERV_RUNNING = 3; * *
       * Hyper-V is installed but not running
       * 
*/ public static final int HYPERV_RUNNING_VALUE = 3; /** * HYPERV_CHECK_ERROR = 4; * *
       * Hyper-V is up and running
       * 
*/ public static final int HYPERV_CHECK_ERROR_VALUE = 4; public final int getNumber() { return value; } public static HyperVState valueOf(int value) { switch (value) { case 0: return UNKNOWN_HYPERV_STATE; case 1: return HYPERV_ABSENT; case 2: return HYPERV_INSTALLED; case 3: return HYPERV_RUNNING; case 4: return HYPERV_CHECK_ERROR; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public HyperVState findValueByNumber(int number) { return HyperVState.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.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor.getDescriptor().getEnumTypes().get(0); } private static final HyperVState[] VALUES = values(); public static HyperVState 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 HyperVState(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:android_studio.Hypervisor.HyperVState) } private int bitField0_; // optional .android_studio.Hypervisor.HyperVState hyper_v_state = 1; public static final int HYPER_V_STATE_FIELD_NUMBER = 1; private com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor.HyperVState hyperVState_; /** * optional .android_studio.Hypervisor.HyperVState hyper_v_state = 1; */ public boolean hasHyperVState() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .android_studio.Hypervisor.HyperVState hyper_v_state = 1; */ public com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor.HyperVState getHyperVState() { return hyperVState_; } private void initFields() { hyperVState_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor.HyperVState.UNKNOWN_HYPERV_STATE; } 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.writeEnum(1, hyperVState_.getNumber()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, hyperVState_.getNumber()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor 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.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor 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 android_studio.Hypervisor} * *
     * Describes the status of various Hypervisors
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.sdk.stats.AndroidStudioStats.HypervisorOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_Hypervisor_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_Hypervisor_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor.Builder.class); } // Construct using com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor.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(); hyperVState_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor.HyperVState.UNKNOWN_HYPERV_STATE; bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_Hypervisor_descriptor; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor getDefaultInstanceForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor.getDefaultInstance(); } public com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor build() { com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor buildPartial() { com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor result = new com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.hyperVState_ = hyperVState_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor) { return mergeFrom((com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor other) { if (other == com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor.getDefaultInstance()) return this; if (other.hasHyperVState()) { setHyperVState(other.getHyperVState()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional .android_studio.Hypervisor.HyperVState hyper_v_state = 1; private com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor.HyperVState hyperVState_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor.HyperVState.UNKNOWN_HYPERV_STATE; /** * optional .android_studio.Hypervisor.HyperVState hyper_v_state = 1; */ public boolean hasHyperVState() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .android_studio.Hypervisor.HyperVState hyper_v_state = 1; */ public com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor.HyperVState getHyperVState() { return hyperVState_; } /** * optional .android_studio.Hypervisor.HyperVState hyper_v_state = 1; */ public Builder setHyperVState(com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor.HyperVState value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; hyperVState_ = value; onChanged(); return this; } /** * optional .android_studio.Hypervisor.HyperVState hyper_v_state = 1; */ public Builder clearHyperVState() { bitField0_ = (bitField0_ & ~0x00000001); hyperVState_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.Hypervisor.HyperVState.UNKNOWN_HYPERV_STATE; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:android_studio.Hypervisor) } static { defaultInstance = new Hypervisor(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:android_studio.Hypervisor) } public interface EmulatorHostOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional string cpu_manufacturer = 1; /** * optional string cpu_manufacturer = 1; * *
     * CPU manufacturer of the host, used as certain hypervisors are limited
     *  to a certain manufacturer.
     * 
*/ boolean hasCpuManufacturer(); /** * optional string cpu_manufacturer = 1; * *
     * CPU manufacturer of the host, used as certain hypervisors are limited
     *  to a certain manufacturer.
     * 
*/ java.lang.String getCpuManufacturer(); /** * optional string cpu_manufacturer = 1; * *
     * CPU manufacturer of the host, used as certain hypervisors are limited
     *  to a certain manufacturer.
     * 
*/ com.google.protobuf.ByteString getCpuManufacturerBytes(); // optional bool virt_support = 2; /** * optional bool virt_support = 2; * *
     * AMD, INTEL, ...
     * Does the host support virtualization technology
     * 
*/ boolean hasVirtSupport(); /** * optional bool virt_support = 2; * *
     * AMD, INTEL, ...
     * Does the host support virtualization technology
     * 
*/ boolean getVirtSupport(); // optional bool running_in_vm = 3; /** * optional bool running_in_vm = 3; * *
     * Is the host itself running inside a virtual machine.
     * 
*/ boolean hasRunningInVm(); /** * optional bool running_in_vm = 3; * *
     * Is the host itself running inside a virtual machine.
     * 
*/ boolean getRunningInVm(); // optional int64 os_bit_count = 4; /** * optional int64 os_bit_count = 4; * *
     * May differ from os_architecture field as it is calculated differently,
     *  trying to compensate the JVM bittness.
     * 
*/ boolean hasOsBitCount(); /** * optional int64 os_bit_count = 4; * *
     * May differ from os_architecture field as it is calculated differently,
     *  trying to compensate the JVM bittness.
     * 
*/ long getOsBitCount(); } /** * Protobuf type {@code android_studio.EmulatorHost} * *
   * Describes the status of the machine running the emulator.
   * 
*/ public static final class EmulatorHost extends com.google.protobuf.GeneratedMessage implements EmulatorHostOrBuilder { // Use EmulatorHost.newBuilder() to construct. private EmulatorHost(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private EmulatorHost(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final EmulatorHost defaultInstance; public static EmulatorHost getDefaultInstance() { return defaultInstance; } public EmulatorHost getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private EmulatorHost( 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; cpuManufacturer_ = input.readBytes(); break; } case 16: { bitField0_ |= 0x00000002; virtSupport_ = input.readBool(); break; } case 24: { bitField0_ |= 0x00000004; runningInVm_ = input.readBool(); break; } case 32: { bitField0_ |= 0x00000008; osBitCount_ = input.readInt64(); 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.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_EmulatorHost_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_EmulatorHost_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public EmulatorHost parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new EmulatorHost(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional string cpu_manufacturer = 1; public static final int CPU_MANUFACTURER_FIELD_NUMBER = 1; private java.lang.Object cpuManufacturer_; /** * optional string cpu_manufacturer = 1; * *
     * CPU manufacturer of the host, used as certain hypervisors are limited
     *  to a certain manufacturer.
     * 
*/ public boolean hasCpuManufacturer() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string cpu_manufacturer = 1; * *
     * CPU manufacturer of the host, used as certain hypervisors are limited
     *  to a certain manufacturer.
     * 
*/ public java.lang.String getCpuManufacturer() { java.lang.Object ref = cpuManufacturer_; 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()) { cpuManufacturer_ = s; } return s; } } /** * optional string cpu_manufacturer = 1; * *
     * CPU manufacturer of the host, used as certain hypervisors are limited
     *  to a certain manufacturer.
     * 
*/ public com.google.protobuf.ByteString getCpuManufacturerBytes() { java.lang.Object ref = cpuManufacturer_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); cpuManufacturer_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional bool virt_support = 2; public static final int VIRT_SUPPORT_FIELD_NUMBER = 2; private boolean virtSupport_; /** * optional bool virt_support = 2; * *
     * AMD, INTEL, ...
     * Does the host support virtualization technology
     * 
*/ public boolean hasVirtSupport() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional bool virt_support = 2; * *
     * AMD, INTEL, ...
     * Does the host support virtualization technology
     * 
*/ public boolean getVirtSupport() { return virtSupport_; } // optional bool running_in_vm = 3; public static final int RUNNING_IN_VM_FIELD_NUMBER = 3; private boolean runningInVm_; /** * optional bool running_in_vm = 3; * *
     * Is the host itself running inside a virtual machine.
     * 
*/ public boolean hasRunningInVm() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional bool running_in_vm = 3; * *
     * Is the host itself running inside a virtual machine.
     * 
*/ public boolean getRunningInVm() { return runningInVm_; } // optional int64 os_bit_count = 4; public static final int OS_BIT_COUNT_FIELD_NUMBER = 4; private long osBitCount_; /** * optional int64 os_bit_count = 4; * *
     * May differ from os_architecture field as it is calculated differently,
     *  trying to compensate the JVM bittness.
     * 
*/ public boolean hasOsBitCount() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional int64 os_bit_count = 4; * *
     * May differ from os_architecture field as it is calculated differently,
     *  trying to compensate the JVM bittness.
     * 
*/ public long getOsBitCount() { return osBitCount_; } private void initFields() { cpuManufacturer_ = ""; virtSupport_ = false; runningInVm_ = false; osBitCount_ = 0L; } 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, getCpuManufacturerBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBool(2, virtSupport_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(3, runningInVm_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt64(4, osBitCount_); } 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, getCpuManufacturerBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, virtSupport_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, runningInVm_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, osBitCount_); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost 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.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost 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 android_studio.EmulatorHost} * *
     * Describes the status of the machine running the emulator.
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHostOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_EmulatorHost_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_EmulatorHost_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost.Builder.class); } // Construct using com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost.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(); cpuManufacturer_ = ""; bitField0_ = (bitField0_ & ~0x00000001); virtSupport_ = false; bitField0_ = (bitField0_ & ~0x00000002); runningInVm_ = false; bitField0_ = (bitField0_ & ~0x00000004); osBitCount_ = 0L; bitField0_ = (bitField0_ & ~0x00000008); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_EmulatorHost_descriptor; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost getDefaultInstanceForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost.getDefaultInstance(); } public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost build() { com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost buildPartial() { com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost result = new com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.cpuManufacturer_ = cpuManufacturer_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.virtSupport_ = virtSupport_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.runningInVm_ = runningInVm_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.osBitCount_ = osBitCount_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost) { return mergeFrom((com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost other) { if (other == com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost.getDefaultInstance()) return this; if (other.hasCpuManufacturer()) { bitField0_ |= 0x00000001; cpuManufacturer_ = other.cpuManufacturer_; onChanged(); } if (other.hasVirtSupport()) { setVirtSupport(other.getVirtSupport()); } if (other.hasRunningInVm()) { setRunningInVm(other.getRunningInVm()); } if (other.hasOsBitCount()) { setOsBitCount(other.getOsBitCount()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorHost) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional string cpu_manufacturer = 1; private java.lang.Object cpuManufacturer_ = ""; /** * optional string cpu_manufacturer = 1; * *
       * CPU manufacturer of the host, used as certain hypervisors are limited
       *  to a certain manufacturer.
       * 
*/ public boolean hasCpuManufacturer() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string cpu_manufacturer = 1; * *
       * CPU manufacturer of the host, used as certain hypervisors are limited
       *  to a certain manufacturer.
       * 
*/ public java.lang.String getCpuManufacturer() { java.lang.Object ref = cpuManufacturer_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); cpuManufacturer_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string cpu_manufacturer = 1; * *
       * CPU manufacturer of the host, used as certain hypervisors are limited
       *  to a certain manufacturer.
       * 
*/ public com.google.protobuf.ByteString getCpuManufacturerBytes() { java.lang.Object ref = cpuManufacturer_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); cpuManufacturer_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string cpu_manufacturer = 1; * *
       * CPU manufacturer of the host, used as certain hypervisors are limited
       *  to a certain manufacturer.
       * 
*/ public Builder setCpuManufacturer( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; cpuManufacturer_ = value; onChanged(); return this; } /** * optional string cpu_manufacturer = 1; * *
       * CPU manufacturer of the host, used as certain hypervisors are limited
       *  to a certain manufacturer.
       * 
*/ public Builder clearCpuManufacturer() { bitField0_ = (bitField0_ & ~0x00000001); cpuManufacturer_ = getDefaultInstance().getCpuManufacturer(); onChanged(); return this; } /** * optional string cpu_manufacturer = 1; * *
       * CPU manufacturer of the host, used as certain hypervisors are limited
       *  to a certain manufacturer.
       * 
*/ public Builder setCpuManufacturerBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; cpuManufacturer_ = value; onChanged(); return this; } // optional bool virt_support = 2; private boolean virtSupport_ ; /** * optional bool virt_support = 2; * *
       * AMD, INTEL, ...
       * Does the host support virtualization technology
       * 
*/ public boolean hasVirtSupport() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional bool virt_support = 2; * *
       * AMD, INTEL, ...
       * Does the host support virtualization technology
       * 
*/ public boolean getVirtSupport() { return virtSupport_; } /** * optional bool virt_support = 2; * *
       * AMD, INTEL, ...
       * Does the host support virtualization technology
       * 
*/ public Builder setVirtSupport(boolean value) { bitField0_ |= 0x00000002; virtSupport_ = value; onChanged(); return this; } /** * optional bool virt_support = 2; * *
       * AMD, INTEL, ...
       * Does the host support virtualization technology
       * 
*/ public Builder clearVirtSupport() { bitField0_ = (bitField0_ & ~0x00000002); virtSupport_ = false; onChanged(); return this; } // optional bool running_in_vm = 3; private boolean runningInVm_ ; /** * optional bool running_in_vm = 3; * *
       * Is the host itself running inside a virtual machine.
       * 
*/ public boolean hasRunningInVm() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional bool running_in_vm = 3; * *
       * Is the host itself running inside a virtual machine.
       * 
*/ public boolean getRunningInVm() { return runningInVm_; } /** * optional bool running_in_vm = 3; * *
       * Is the host itself running inside a virtual machine.
       * 
*/ public Builder setRunningInVm(boolean value) { bitField0_ |= 0x00000004; runningInVm_ = value; onChanged(); return this; } /** * optional bool running_in_vm = 3; * *
       * Is the host itself running inside a virtual machine.
       * 
*/ public Builder clearRunningInVm() { bitField0_ = (bitField0_ & ~0x00000004); runningInVm_ = false; onChanged(); return this; } // optional int64 os_bit_count = 4; private long osBitCount_ ; /** * optional int64 os_bit_count = 4; * *
       * May differ from os_architecture field as it is calculated differently,
       *  trying to compensate the JVM bittness.
       * 
*/ public boolean hasOsBitCount() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional int64 os_bit_count = 4; * *
       * May differ from os_architecture field as it is calculated differently,
       *  trying to compensate the JVM bittness.
       * 
*/ public long getOsBitCount() { return osBitCount_; } /** * optional int64 os_bit_count = 4; * *
       * May differ from os_architecture field as it is calculated differently,
       *  trying to compensate the JVM bittness.
       * 
*/ public Builder setOsBitCount(long value) { bitField0_ |= 0x00000008; osBitCount_ = value; onChanged(); return this; } /** * optional int64 os_bit_count = 4; * *
       * May differ from os_architecture field as it is calculated differently,
       *  trying to compensate the JVM bittness.
       * 
*/ public Builder clearOsBitCount() { bitField0_ = (bitField0_ & ~0x00000008); osBitCount_ = 0L; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:android_studio.EmulatorHost) } static { defaultInstance = new EmulatorHost(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:android_studio.EmulatorHost) } public interface GradleBuildProfileOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional string gradle_version = 2; /** * optional string gradle_version = 2; * *
     * Version of the open source Gradle application used.
     *  e.g. "2.14" or "3.0-20160617000025+0000"
     * 
*/ boolean hasGradleVersion(); /** * optional string gradle_version = 2; * *
     * Version of the open source Gradle application used.
     *  e.g. "2.14" or "3.0-20160617000025+0000"
     * 
*/ java.lang.String getGradleVersion(); /** * optional string gradle_version = 2; * *
     * Version of the open source Gradle application used.
     *  e.g. "2.14" or "3.0-20160617000025+0000"
     * 
*/ com.google.protobuf.ByteString getGradleVersionBytes(); // optional string os_name = 6; /** * optional string os_name = 6; * *
     * The value of the "os.name" system property.
     *  e.g. "Linux"
     * 
*/ boolean hasOsName(); /** * optional string os_name = 6; * *
     * The value of the "os.name" system property.
     *  e.g. "Linux"
     * 
*/ java.lang.String getOsName(); /** * optional string os_name = 6; * *
     * The value of the "os.name" system property.
     *  e.g. "Linux"
     * 
*/ com.google.protobuf.ByteString getOsNameBytes(); // optional string os_version = 7; /** * optional string os_version = 7; * *
     * The value of the "os.version" system property.
     *  e.g. "3.13.0-86-generic"
     * 
*/ boolean hasOsVersion(); /** * optional string os_version = 7; * *
     * The value of the "os.version" system property.
     *  e.g. "3.13.0-86-generic"
     * 
*/ java.lang.String getOsVersion(); /** * optional string os_version = 7; * *
     * The value of the "os.version" system property.
     *  e.g. "3.13.0-86-generic"
     * 
*/ com.google.protobuf.ByteString getOsVersionBytes(); // optional string java_version = 8; /** * optional string java_version = 8; * *
     * The value of the "java.version" system property.
     *  e.g. "1.8.0_40-ea"
     * 
*/ boolean hasJavaVersion(); /** * optional string java_version = 8; * *
     * The value of the "java.version" system property.
     *  e.g. "1.8.0_40-ea"
     * 
*/ java.lang.String getJavaVersion(); /** * optional string java_version = 8; * *
     * The value of the "java.version" system property.
     *  e.g. "1.8.0_40-ea"
     * 
*/ com.google.protobuf.ByteString getJavaVersionBytes(); // optional string java_vm_version = 9; /** * optional string java_vm_version = 9; * *
     * The value of the "java.vm.version" system property.
     *  e.g. "25.40-b25"
     * 
*/ boolean hasJavaVmVersion(); /** * optional string java_vm_version = 9; * *
     * The value of the "java.vm.version" system property.
     *  e.g. "25.40-b25"
     * 
*/ java.lang.String getJavaVmVersion(); /** * optional string java_vm_version = 9; * *
     * The value of the "java.vm.version" system property.
     *  e.g. "25.40-b25"
     * 
*/ com.google.protobuf.ByteString getJavaVmVersionBytes(); // optional int64 max_memory = 10; /** * optional int64 max_memory = 10; * *
     * The value of Runtime.getRuntime().maxMemory()
     * 
*/ boolean hasMaxMemory(); /** * optional int64 max_memory = 10; * *
     * The value of Runtime.getRuntime().maxMemory()
     * 
*/ long getMaxMemory(); // optional int64 build_time = 11; /** * optional int64 build_time = 11; * *
     * The total time taken for this build.
     *  This does not include Gradle's startup (before plugin apply) or shutdown
     *  (after BuildListener#buildFinished(BuildResult) called.
     * 
*/ boolean hasBuildTime(); /** * optional int64 build_time = 11; * *
     * The total time taken for this build.
     *  This does not include Gradle's startup (before plugin apply) or shutdown
     *  (after BuildListener#buildFinished(BuildResult) called.
     * 
*/ long getBuildTime(); // optional int64 gc_count = 12; /** * optional int64 gc_count = 12; * *
     * The number of garbage collections during this build
     * 
*/ boolean hasGcCount(); /** * optional int64 gc_count = 12; * *
     * The number of garbage collections during this build
     * 
*/ long getGcCount(); // optional int64 gc_time = 13; /** * optional int64 gc_time = 13; * *
     * The time spent garbage collecting during this build.
     * 
*/ boolean hasGcTime(); /** * optional int64 gc_time = 13; * *
     * The time spent garbage collecting during this build.
     * 
*/ long getGcTime(); // repeated .android_studio.GradleBuildProject project = 14; /** * repeated .android_studio.GradleBuildProject project = 14; * *
     * The projects that make up this multi-project build.
     * 
*/ java.util.List getProjectList(); /** * repeated .android_studio.GradleBuildProject project = 14; * *
     * The projects that make up this multi-project build.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject getProject(int index); /** * repeated .android_studio.GradleBuildProject project = 14; * *
     * The projects that make up this multi-project build.
     * 
*/ int getProjectCount(); /** * repeated .android_studio.GradleBuildProject project = 14; * *
     * The projects that make up this multi-project build.
     * 
*/ java.util.List getProjectOrBuilderList(); /** * repeated .android_studio.GradleBuildProject project = 14; * *
     * The projects that make up this multi-project build.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectOrBuilder getProjectOrBuilder( int index); // repeated .android_studio.GradleBuildMemorySample memory_sample = 15; /** * repeated .android_studio.GradleBuildMemorySample memory_sample = 15; * *
     * Samples of the memory state of the daemon during the build.
     * 
*/ java.util.List getMemorySampleList(); /** * repeated .android_studio.GradleBuildMemorySample memory_sample = 15; * *
     * Samples of the memory state of the daemon during the build.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample getMemorySample(int index); /** * repeated .android_studio.GradleBuildMemorySample memory_sample = 15; * *
     * Samples of the memory state of the daemon during the build.
     * 
*/ int getMemorySampleCount(); /** * repeated .android_studio.GradleBuildMemorySample memory_sample = 15; * *
     * Samples of the memory state of the daemon during the build.
     * 
*/ java.util.List getMemorySampleOrBuilderList(); /** * repeated .android_studio.GradleBuildMemorySample memory_sample = 15; * *
     * Samples of the memory state of the daemon during the build.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySampleOrBuilder getMemorySampleOrBuilder( int index); // repeated .android_studio.GradleBuildProfileSpan span = 16; /** * repeated .android_studio.GradleBuildProfileSpan span = 16; * *
     * The fine-grained execution spans which record granular timings.
     * 
*/ java.util.List getSpanList(); /** * repeated .android_studio.GradleBuildProfileSpan span = 16; * *
     * The fine-grained execution spans which record granular timings.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan getSpan(int index); /** * repeated .android_studio.GradleBuildProfileSpan span = 16; * *
     * The fine-grained execution spans which record granular timings.
     * 
*/ int getSpanCount(); /** * repeated .android_studio.GradleBuildProfileSpan span = 16; * *
     * The fine-grained execution spans which record granular timings.
     * 
*/ java.util.List getSpanOrBuilderList(); /** * repeated .android_studio.GradleBuildProfileSpan span = 16; * *
     * The fine-grained execution spans which record granular timings.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpanOrBuilder getSpanOrBuilder( int index); // optional .android_studio.InstantRunStatus instant_run_status = 17; /** * optional .android_studio.InstantRunStatus instant_run_status = 17; * *
     * For instant run builds: the resulting instant run build info.
     * 
*/ boolean hasInstantRunStatus(); /** * optional .android_studio.InstantRunStatus instant_run_status = 17; * *
     * For instant run builds: the resulting instant run build info.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus getInstantRunStatus(); /** * optional .android_studio.InstantRunStatus instant_run_status = 17; * *
     * For instant run builds: the resulting instant run build info.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatusOrBuilder getInstantRunStatusOrBuilder(); // optional string project_id = 18; /** * optional string project_id = 18; * *
     * Client-side salted, sha256 of the root project path.
     *  This exists to allow multiple instant run builds in one project by one
     *  user to be correlated.
     * 
     *  The salt is rotated every 28 days, so it is not a permenant pseudonymous
     *  identifier. It is anonymized and is unique per user, but has a 1-N
     *  relation.
     * 
*/ boolean hasProjectId(); /** * optional string project_id = 18; * *
     * Client-side salted, sha256 of the root project path.
     *  This exists to allow multiple instant run builds in one project by one
     *  user to be correlated.
     * 
     *  The salt is rotated every 28 days, so it is not a permenant pseudonymous
     *  identifier. It is anonymized and is unique per user, but has a 1-N
     *  relation.
     * 
*/ java.lang.String getProjectId(); /** * optional string project_id = 18; * *
     * Client-side salted, sha256 of the root project path.
     *  This exists to allow multiple instant run builds in one project by one
     *  user to be correlated.
     * 
     *  The salt is rotated every 28 days, so it is not a permenant pseudonymous
     *  identifier. It is anonymized and is unique per user, but has a 1-N
     *  relation.
     * 
*/ com.google.protobuf.ByteString getProjectIdBytes(); } /** * Protobuf type {@code android_studio.GradleBuildProfile} * *
   * Detailed profiling information for the gradle build.
   * 
*/ public static final class GradleBuildProfile extends com.google.protobuf.GeneratedMessage implements GradleBuildProfileOrBuilder { // Use GradleBuildProfile.newBuilder() to construct. private GradleBuildProfile(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private GradleBuildProfile(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final GradleBuildProfile defaultInstance; public static GradleBuildProfile getDefaultInstance() { return defaultInstance; } public GradleBuildProfile getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GradleBuildProfile( 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 18: { bitField0_ |= 0x00000001; gradleVersion_ = input.readBytes(); break; } case 50: { bitField0_ |= 0x00000002; osName_ = input.readBytes(); break; } case 58: { bitField0_ |= 0x00000004; osVersion_ = input.readBytes(); break; } case 66: { bitField0_ |= 0x00000008; javaVersion_ = input.readBytes(); break; } case 74: { bitField0_ |= 0x00000010; javaVmVersion_ = input.readBytes(); break; } case 80: { bitField0_ |= 0x00000020; maxMemory_ = input.readInt64(); break; } case 88: { bitField0_ |= 0x00000040; buildTime_ = input.readInt64(); break; } case 96: { bitField0_ |= 0x00000080; gcCount_ = input.readInt64(); break; } case 104: { bitField0_ |= 0x00000100; gcTime_ = input.readInt64(); break; } case 114: { if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) { project_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000200; } project_.add(input.readMessage(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.PARSER, extensionRegistry)); break; } case 122: { if (!((mutable_bitField0_ & 0x00000400) == 0x00000400)) { memorySample_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000400; } memorySample_.add(input.readMessage(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample.PARSER, extensionRegistry)); break; } case 130: { if (!((mutable_bitField0_ & 0x00000800) == 0x00000800)) { span_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000800; } span_.add(input.readMessage(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan.PARSER, extensionRegistry)); break; } case 138: { com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.Builder subBuilder = null; if (((bitField0_ & 0x00000200) == 0x00000200)) { subBuilder = instantRunStatus_.toBuilder(); } instantRunStatus_ = input.readMessage(com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(instantRunStatus_); instantRunStatus_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000200; break; } case 146: { bitField0_ |= 0x00000400; projectId_ = 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_ & 0x00000200) == 0x00000200)) { project_ = java.util.Collections.unmodifiableList(project_); } if (((mutable_bitField0_ & 0x00000400) == 0x00000400)) { memorySample_ = java.util.Collections.unmodifiableList(memorySample_); } if (((mutable_bitField0_ & 0x00000800) == 0x00000800)) { span_ = java.util.Collections.unmodifiableList(span_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleBuildProfile_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleBuildProfile_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public GradleBuildProfile parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GradleBuildProfile(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional string gradle_version = 2; public static final int GRADLE_VERSION_FIELD_NUMBER = 2; private java.lang.Object gradleVersion_; /** * optional string gradle_version = 2; * *
     * Version of the open source Gradle application used.
     *  e.g. "2.14" or "3.0-20160617000025+0000"
     * 
*/ public boolean hasGradleVersion() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string gradle_version = 2; * *
     * Version of the open source Gradle application used.
     *  e.g. "2.14" or "3.0-20160617000025+0000"
     * 
*/ public java.lang.String getGradleVersion() { java.lang.Object ref = gradleVersion_; 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()) { gradleVersion_ = s; } return s; } } /** * optional string gradle_version = 2; * *
     * Version of the open source Gradle application used.
     *  e.g. "2.14" or "3.0-20160617000025+0000"
     * 
*/ public com.google.protobuf.ByteString getGradleVersionBytes() { java.lang.Object ref = gradleVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); gradleVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string os_name = 6; public static final int OS_NAME_FIELD_NUMBER = 6; private java.lang.Object osName_; /** * optional string os_name = 6; * *
     * The value of the "os.name" system property.
     *  e.g. "Linux"
     * 
*/ public boolean hasOsName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string os_name = 6; * *
     * The value of the "os.name" system property.
     *  e.g. "Linux"
     * 
*/ public java.lang.String getOsName() { java.lang.Object ref = osName_; 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()) { osName_ = s; } return s; } } /** * optional string os_name = 6; * *
     * The value of the "os.name" system property.
     *  e.g. "Linux"
     * 
*/ public com.google.protobuf.ByteString getOsNameBytes() { java.lang.Object ref = osName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); osName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string os_version = 7; public static final int OS_VERSION_FIELD_NUMBER = 7; private java.lang.Object osVersion_; /** * optional string os_version = 7; * *
     * The value of the "os.version" system property.
     *  e.g. "3.13.0-86-generic"
     * 
*/ public boolean hasOsVersion() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string os_version = 7; * *
     * The value of the "os.version" system property.
     *  e.g. "3.13.0-86-generic"
     * 
*/ public java.lang.String getOsVersion() { java.lang.Object ref = osVersion_; 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()) { osVersion_ = s; } return s; } } /** * optional string os_version = 7; * *
     * The value of the "os.version" system property.
     *  e.g. "3.13.0-86-generic"
     * 
*/ public com.google.protobuf.ByteString getOsVersionBytes() { java.lang.Object ref = osVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); osVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string java_version = 8; public static final int JAVA_VERSION_FIELD_NUMBER = 8; private java.lang.Object javaVersion_; /** * optional string java_version = 8; * *
     * The value of the "java.version" system property.
     *  e.g. "1.8.0_40-ea"
     * 
*/ public boolean hasJavaVersion() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string java_version = 8; * *
     * The value of the "java.version" system property.
     *  e.g. "1.8.0_40-ea"
     * 
*/ public java.lang.String getJavaVersion() { java.lang.Object ref = javaVersion_; 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()) { javaVersion_ = s; } return s; } } /** * optional string java_version = 8; * *
     * The value of the "java.version" system property.
     *  e.g. "1.8.0_40-ea"
     * 
*/ public com.google.protobuf.ByteString getJavaVersionBytes() { java.lang.Object ref = javaVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); javaVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string java_vm_version = 9; public static final int JAVA_VM_VERSION_FIELD_NUMBER = 9; private java.lang.Object javaVmVersion_; /** * optional string java_vm_version = 9; * *
     * The value of the "java.vm.version" system property.
     *  e.g. "25.40-b25"
     * 
*/ public boolean hasJavaVmVersion() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string java_vm_version = 9; * *
     * The value of the "java.vm.version" system property.
     *  e.g. "25.40-b25"
     * 
*/ public java.lang.String getJavaVmVersion() { java.lang.Object ref = javaVmVersion_; 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()) { javaVmVersion_ = s; } return s; } } /** * optional string java_vm_version = 9; * *
     * The value of the "java.vm.version" system property.
     *  e.g. "25.40-b25"
     * 
*/ public com.google.protobuf.ByteString getJavaVmVersionBytes() { java.lang.Object ref = javaVmVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); javaVmVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional int64 max_memory = 10; public static final int MAX_MEMORY_FIELD_NUMBER = 10; private long maxMemory_; /** * optional int64 max_memory = 10; * *
     * The value of Runtime.getRuntime().maxMemory()
     * 
*/ public boolean hasMaxMemory() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional int64 max_memory = 10; * *
     * The value of Runtime.getRuntime().maxMemory()
     * 
*/ public long getMaxMemory() { return maxMemory_; } // optional int64 build_time = 11; public static final int BUILD_TIME_FIELD_NUMBER = 11; private long buildTime_; /** * optional int64 build_time = 11; * *
     * The total time taken for this build.
     *  This does not include Gradle's startup (before plugin apply) or shutdown
     *  (after BuildListener#buildFinished(BuildResult) called.
     * 
*/ public boolean hasBuildTime() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional int64 build_time = 11; * *
     * The total time taken for this build.
     *  This does not include Gradle's startup (before plugin apply) or shutdown
     *  (after BuildListener#buildFinished(BuildResult) called.
     * 
*/ public long getBuildTime() { return buildTime_; } // optional int64 gc_count = 12; public static final int GC_COUNT_FIELD_NUMBER = 12; private long gcCount_; /** * optional int64 gc_count = 12; * *
     * The number of garbage collections during this build
     * 
*/ public boolean hasGcCount() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional int64 gc_count = 12; * *
     * The number of garbage collections during this build
     * 
*/ public long getGcCount() { return gcCount_; } // optional int64 gc_time = 13; public static final int GC_TIME_FIELD_NUMBER = 13; private long gcTime_; /** * optional int64 gc_time = 13; * *
     * The time spent garbage collecting during this build.
     * 
*/ public boolean hasGcTime() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional int64 gc_time = 13; * *
     * The time spent garbage collecting during this build.
     * 
*/ public long getGcTime() { return gcTime_; } // repeated .android_studio.GradleBuildProject project = 14; public static final int PROJECT_FIELD_NUMBER = 14; private java.util.List project_; /** * repeated .android_studio.GradleBuildProject project = 14; * *
     * The projects that make up this multi-project build.
     * 
*/ public java.util.List getProjectList() { return project_; } /** * repeated .android_studio.GradleBuildProject project = 14; * *
     * The projects that make up this multi-project build.
     * 
*/ public java.util.List getProjectOrBuilderList() { return project_; } /** * repeated .android_studio.GradleBuildProject project = 14; * *
     * The projects that make up this multi-project build.
     * 
*/ public int getProjectCount() { return project_.size(); } /** * repeated .android_studio.GradleBuildProject project = 14; * *
     * The projects that make up this multi-project build.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject getProject(int index) { return project_.get(index); } /** * repeated .android_studio.GradleBuildProject project = 14; * *
     * The projects that make up this multi-project build.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectOrBuilder getProjectOrBuilder( int index) { return project_.get(index); } // repeated .android_studio.GradleBuildMemorySample memory_sample = 15; public static final int MEMORY_SAMPLE_FIELD_NUMBER = 15; private java.util.List memorySample_; /** * repeated .android_studio.GradleBuildMemorySample memory_sample = 15; * *
     * Samples of the memory state of the daemon during the build.
     * 
*/ public java.util.List getMemorySampleList() { return memorySample_; } /** * repeated .android_studio.GradleBuildMemorySample memory_sample = 15; * *
     * Samples of the memory state of the daemon during the build.
     * 
*/ public java.util.List getMemorySampleOrBuilderList() { return memorySample_; } /** * repeated .android_studio.GradleBuildMemorySample memory_sample = 15; * *
     * Samples of the memory state of the daemon during the build.
     * 
*/ public int getMemorySampleCount() { return memorySample_.size(); } /** * repeated .android_studio.GradleBuildMemorySample memory_sample = 15; * *
     * Samples of the memory state of the daemon during the build.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample getMemorySample(int index) { return memorySample_.get(index); } /** * repeated .android_studio.GradleBuildMemorySample memory_sample = 15; * *
     * Samples of the memory state of the daemon during the build.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySampleOrBuilder getMemorySampleOrBuilder( int index) { return memorySample_.get(index); } // repeated .android_studio.GradleBuildProfileSpan span = 16; public static final int SPAN_FIELD_NUMBER = 16; private java.util.List span_; /** * repeated .android_studio.GradleBuildProfileSpan span = 16; * *
     * The fine-grained execution spans which record granular timings.
     * 
*/ public java.util.List getSpanList() { return span_; } /** * repeated .android_studio.GradleBuildProfileSpan span = 16; * *
     * The fine-grained execution spans which record granular timings.
     * 
*/ public java.util.List getSpanOrBuilderList() { return span_; } /** * repeated .android_studio.GradleBuildProfileSpan span = 16; * *
     * The fine-grained execution spans which record granular timings.
     * 
*/ public int getSpanCount() { return span_.size(); } /** * repeated .android_studio.GradleBuildProfileSpan span = 16; * *
     * The fine-grained execution spans which record granular timings.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan getSpan(int index) { return span_.get(index); } /** * repeated .android_studio.GradleBuildProfileSpan span = 16; * *
     * The fine-grained execution spans which record granular timings.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpanOrBuilder getSpanOrBuilder( int index) { return span_.get(index); } // optional .android_studio.InstantRunStatus instant_run_status = 17; public static final int INSTANT_RUN_STATUS_FIELD_NUMBER = 17; private com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus instantRunStatus_; /** * optional .android_studio.InstantRunStatus instant_run_status = 17; * *
     * For instant run builds: the resulting instant run build info.
     * 
*/ public boolean hasInstantRunStatus() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * optional .android_studio.InstantRunStatus instant_run_status = 17; * *
     * For instant run builds: the resulting instant run build info.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus getInstantRunStatus() { return instantRunStatus_; } /** * optional .android_studio.InstantRunStatus instant_run_status = 17; * *
     * For instant run builds: the resulting instant run build info.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatusOrBuilder getInstantRunStatusOrBuilder() { return instantRunStatus_; } // optional string project_id = 18; public static final int PROJECT_ID_FIELD_NUMBER = 18; private java.lang.Object projectId_; /** * optional string project_id = 18; * *
     * Client-side salted, sha256 of the root project path.
     *  This exists to allow multiple instant run builds in one project by one
     *  user to be correlated.
     * 
     *  The salt is rotated every 28 days, so it is not a permenant pseudonymous
     *  identifier. It is anonymized and is unique per user, but has a 1-N
     *  relation.
     * 
*/ public boolean hasProjectId() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * optional string project_id = 18; * *
     * Client-side salted, sha256 of the root project path.
     *  This exists to allow multiple instant run builds in one project by one
     *  user to be correlated.
     * 
     *  The salt is rotated every 28 days, so it is not a permenant pseudonymous
     *  identifier. It is anonymized and is unique per user, but has a 1-N
     *  relation.
     * 
*/ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; 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()) { projectId_ = s; } return s; } } /** * optional string project_id = 18; * *
     * Client-side salted, sha256 of the root project path.
     *  This exists to allow multiple instant run builds in one project by one
     *  user to be correlated.
     * 
     *  The salt is rotated every 28 days, so it is not a permenant pseudonymous
     *  identifier. It is anonymized and is unique per user, but has a 1-N
     *  relation.
     * 
*/ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); projectId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { gradleVersion_ = ""; osName_ = ""; osVersion_ = ""; javaVersion_ = ""; javaVmVersion_ = ""; maxMemory_ = 0L; buildTime_ = 0L; gcCount_ = 0L; gcTime_ = 0L; project_ = java.util.Collections.emptyList(); memorySample_ = java.util.Collections.emptyList(); span_ = java.util.Collections.emptyList(); instantRunStatus_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.getDefaultInstance(); projectId_ = ""; } 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(2, getGradleVersionBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(6, getOsNameBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(7, getOsVersionBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(8, getJavaVersionBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBytes(9, getJavaVmVersionBytes()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeInt64(10, maxMemory_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeInt64(11, buildTime_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeInt64(12, gcCount_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeInt64(13, gcTime_); } for (int i = 0; i < project_.size(); i++) { output.writeMessage(14, project_.get(i)); } for (int i = 0; i < memorySample_.size(); i++) { output.writeMessage(15, memorySample_.get(i)); } for (int i = 0; i < span_.size(); i++) { output.writeMessage(16, span_.get(i)); } if (((bitField0_ & 0x00000200) == 0x00000200)) { output.writeMessage(17, instantRunStatus_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { output.writeBytes(18, getProjectIdBytes()); } 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(2, getGradleVersionBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(6, getOsNameBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(7, getOsVersionBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(8, getJavaVersionBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(9, getJavaVmVersionBytes()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(10, maxMemory_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(11, buildTime_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(12, gcCount_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(13, gcTime_); } for (int i = 0; i < project_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(14, project_.get(i)); } for (int i = 0; i < memorySample_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, memorySample_.get(i)); } for (int i = 0; i < span_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(16, span_.get(i)); } if (((bitField0_ & 0x00000200) == 0x00000200)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(17, instantRunStatus_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(18, getProjectIdBytes()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile 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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile 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 android_studio.GradleBuildProfile} * *
     * Detailed profiling information for the gradle build.
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleBuildProfile_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleBuildProfile_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile.Builder.class); } // Construct using com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getProjectFieldBuilder(); getMemorySampleFieldBuilder(); getSpanFieldBuilder(); getInstantRunStatusFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); gradleVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000001); osName_ = ""; bitField0_ = (bitField0_ & ~0x00000002); osVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000004); javaVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000008); javaVmVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000010); maxMemory_ = 0L; bitField0_ = (bitField0_ & ~0x00000020); buildTime_ = 0L; bitField0_ = (bitField0_ & ~0x00000040); gcCount_ = 0L; bitField0_ = (bitField0_ & ~0x00000080); gcTime_ = 0L; bitField0_ = (bitField0_ & ~0x00000100); if (projectBuilder_ == null) { project_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); } else { projectBuilder_.clear(); } if (memorySampleBuilder_ == null) { memorySample_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000400); } else { memorySampleBuilder_.clear(); } if (spanBuilder_ == null) { span_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000800); } else { spanBuilder_.clear(); } if (instantRunStatusBuilder_ == null) { instantRunStatus_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.getDefaultInstance(); } else { instantRunStatusBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00001000); projectId_ = ""; bitField0_ = (bitField0_ & ~0x00002000); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleBuildProfile_descriptor; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile getDefaultInstanceForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile.getDefaultInstance(); } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile build() { com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile buildPartial() { com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile result = new com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.gradleVersion_ = gradleVersion_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.osName_ = osName_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.osVersion_ = osVersion_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.javaVersion_ = javaVersion_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.javaVmVersion_ = javaVmVersion_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.maxMemory_ = maxMemory_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.buildTime_ = buildTime_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } result.gcCount_ = gcCount_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000100; } result.gcTime_ = gcTime_; if (projectBuilder_ == null) { if (((bitField0_ & 0x00000200) == 0x00000200)) { project_ = java.util.Collections.unmodifiableList(project_); bitField0_ = (bitField0_ & ~0x00000200); } result.project_ = project_; } else { result.project_ = projectBuilder_.build(); } if (memorySampleBuilder_ == null) { if (((bitField0_ & 0x00000400) == 0x00000400)) { memorySample_ = java.util.Collections.unmodifiableList(memorySample_); bitField0_ = (bitField0_ & ~0x00000400); } result.memorySample_ = memorySample_; } else { result.memorySample_ = memorySampleBuilder_.build(); } if (spanBuilder_ == null) { if (((bitField0_ & 0x00000800) == 0x00000800)) { span_ = java.util.Collections.unmodifiableList(span_); bitField0_ = (bitField0_ & ~0x00000800); } result.span_ = span_; } else { result.span_ = spanBuilder_.build(); } if (((from_bitField0_ & 0x00001000) == 0x00001000)) { to_bitField0_ |= 0x00000200; } if (instantRunStatusBuilder_ == null) { result.instantRunStatus_ = instantRunStatus_; } else { result.instantRunStatus_ = instantRunStatusBuilder_.build(); } if (((from_bitField0_ & 0x00002000) == 0x00002000)) { to_bitField0_ |= 0x00000400; } result.projectId_ = projectId_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile) { return mergeFrom((com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile other) { if (other == com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile.getDefaultInstance()) return this; if (other.hasGradleVersion()) { bitField0_ |= 0x00000001; gradleVersion_ = other.gradleVersion_; onChanged(); } if (other.hasOsName()) { bitField0_ |= 0x00000002; osName_ = other.osName_; onChanged(); } if (other.hasOsVersion()) { bitField0_ |= 0x00000004; osVersion_ = other.osVersion_; onChanged(); } if (other.hasJavaVersion()) { bitField0_ |= 0x00000008; javaVersion_ = other.javaVersion_; onChanged(); } if (other.hasJavaVmVersion()) { bitField0_ |= 0x00000010; javaVmVersion_ = other.javaVmVersion_; onChanged(); } if (other.hasMaxMemory()) { setMaxMemory(other.getMaxMemory()); } if (other.hasBuildTime()) { setBuildTime(other.getBuildTime()); } if (other.hasGcCount()) { setGcCount(other.getGcCount()); } if (other.hasGcTime()) { setGcTime(other.getGcTime()); } if (projectBuilder_ == null) { if (!other.project_.isEmpty()) { if (project_.isEmpty()) { project_ = other.project_; bitField0_ = (bitField0_ & ~0x00000200); } else { ensureProjectIsMutable(); project_.addAll(other.project_); } onChanged(); } } else { if (!other.project_.isEmpty()) { if (projectBuilder_.isEmpty()) { projectBuilder_.dispose(); projectBuilder_ = null; project_ = other.project_; bitField0_ = (bitField0_ & ~0x00000200); projectBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getProjectFieldBuilder() : null; } else { projectBuilder_.addAllMessages(other.project_); } } } if (memorySampleBuilder_ == null) { if (!other.memorySample_.isEmpty()) { if (memorySample_.isEmpty()) { memorySample_ = other.memorySample_; bitField0_ = (bitField0_ & ~0x00000400); } else { ensureMemorySampleIsMutable(); memorySample_.addAll(other.memorySample_); } onChanged(); } } else { if (!other.memorySample_.isEmpty()) { if (memorySampleBuilder_.isEmpty()) { memorySampleBuilder_.dispose(); memorySampleBuilder_ = null; memorySample_ = other.memorySample_; bitField0_ = (bitField0_ & ~0x00000400); memorySampleBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getMemorySampleFieldBuilder() : null; } else { memorySampleBuilder_.addAllMessages(other.memorySample_); } } } if (spanBuilder_ == null) { if (!other.span_.isEmpty()) { if (span_.isEmpty()) { span_ = other.span_; bitField0_ = (bitField0_ & ~0x00000800); } else { ensureSpanIsMutable(); span_.addAll(other.span_); } onChanged(); } } else { if (!other.span_.isEmpty()) { if (spanBuilder_.isEmpty()) { spanBuilder_.dispose(); spanBuilder_ = null; span_ = other.span_; bitField0_ = (bitField0_ & ~0x00000800); spanBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getSpanFieldBuilder() : null; } else { spanBuilder_.addAllMessages(other.span_); } } } if (other.hasInstantRunStatus()) { mergeInstantRunStatus(other.getInstantRunStatus()); } if (other.hasProjectId()) { bitField0_ |= 0x00002000; projectId_ = other.projectId_; 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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfile) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional string gradle_version = 2; private java.lang.Object gradleVersion_ = ""; /** * optional string gradle_version = 2; * *
       * Version of the open source Gradle application used.
       *  e.g. "2.14" or "3.0-20160617000025+0000"
       * 
*/ public boolean hasGradleVersion() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string gradle_version = 2; * *
       * Version of the open source Gradle application used.
       *  e.g. "2.14" or "3.0-20160617000025+0000"
       * 
*/ public java.lang.String getGradleVersion() { java.lang.Object ref = gradleVersion_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); gradleVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string gradle_version = 2; * *
       * Version of the open source Gradle application used.
       *  e.g. "2.14" or "3.0-20160617000025+0000"
       * 
*/ public com.google.protobuf.ByteString getGradleVersionBytes() { java.lang.Object ref = gradleVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); gradleVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string gradle_version = 2; * *
       * Version of the open source Gradle application used.
       *  e.g. "2.14" or "3.0-20160617000025+0000"
       * 
*/ public Builder setGradleVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; gradleVersion_ = value; onChanged(); return this; } /** * optional string gradle_version = 2; * *
       * Version of the open source Gradle application used.
       *  e.g. "2.14" or "3.0-20160617000025+0000"
       * 
*/ public Builder clearGradleVersion() { bitField0_ = (bitField0_ & ~0x00000001); gradleVersion_ = getDefaultInstance().getGradleVersion(); onChanged(); return this; } /** * optional string gradle_version = 2; * *
       * Version of the open source Gradle application used.
       *  e.g. "2.14" or "3.0-20160617000025+0000"
       * 
*/ public Builder setGradleVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; gradleVersion_ = value; onChanged(); return this; } // optional string os_name = 6; private java.lang.Object osName_ = ""; /** * optional string os_name = 6; * *
       * The value of the "os.name" system property.
       *  e.g. "Linux"
       * 
*/ public boolean hasOsName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string os_name = 6; * *
       * The value of the "os.name" system property.
       *  e.g. "Linux"
       * 
*/ public java.lang.String getOsName() { java.lang.Object ref = osName_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); osName_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string os_name = 6; * *
       * The value of the "os.name" system property.
       *  e.g. "Linux"
       * 
*/ public com.google.protobuf.ByteString getOsNameBytes() { java.lang.Object ref = osName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); osName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string os_name = 6; * *
       * The value of the "os.name" system property.
       *  e.g. "Linux"
       * 
*/ public Builder setOsName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; osName_ = value; onChanged(); return this; } /** * optional string os_name = 6; * *
       * The value of the "os.name" system property.
       *  e.g. "Linux"
       * 
*/ public Builder clearOsName() { bitField0_ = (bitField0_ & ~0x00000002); osName_ = getDefaultInstance().getOsName(); onChanged(); return this; } /** * optional string os_name = 6; * *
       * The value of the "os.name" system property.
       *  e.g. "Linux"
       * 
*/ public Builder setOsNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; osName_ = value; onChanged(); return this; } // optional string os_version = 7; private java.lang.Object osVersion_ = ""; /** * optional string os_version = 7; * *
       * The value of the "os.version" system property.
       *  e.g. "3.13.0-86-generic"
       * 
*/ public boolean hasOsVersion() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string os_version = 7; * *
       * The value of the "os.version" system property.
       *  e.g. "3.13.0-86-generic"
       * 
*/ public java.lang.String getOsVersion() { java.lang.Object ref = osVersion_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); osVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string os_version = 7; * *
       * The value of the "os.version" system property.
       *  e.g. "3.13.0-86-generic"
       * 
*/ public com.google.protobuf.ByteString getOsVersionBytes() { java.lang.Object ref = osVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); osVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string os_version = 7; * *
       * The value of the "os.version" system property.
       *  e.g. "3.13.0-86-generic"
       * 
*/ public Builder setOsVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; osVersion_ = value; onChanged(); return this; } /** * optional string os_version = 7; * *
       * The value of the "os.version" system property.
       *  e.g. "3.13.0-86-generic"
       * 
*/ public Builder clearOsVersion() { bitField0_ = (bitField0_ & ~0x00000004); osVersion_ = getDefaultInstance().getOsVersion(); onChanged(); return this; } /** * optional string os_version = 7; * *
       * The value of the "os.version" system property.
       *  e.g. "3.13.0-86-generic"
       * 
*/ public Builder setOsVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; osVersion_ = value; onChanged(); return this; } // optional string java_version = 8; private java.lang.Object javaVersion_ = ""; /** * optional string java_version = 8; * *
       * The value of the "java.version" system property.
       *  e.g. "1.8.0_40-ea"
       * 
*/ public boolean hasJavaVersion() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string java_version = 8; * *
       * The value of the "java.version" system property.
       *  e.g. "1.8.0_40-ea"
       * 
*/ public java.lang.String getJavaVersion() { java.lang.Object ref = javaVersion_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); javaVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string java_version = 8; * *
       * The value of the "java.version" system property.
       *  e.g. "1.8.0_40-ea"
       * 
*/ public com.google.protobuf.ByteString getJavaVersionBytes() { java.lang.Object ref = javaVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); javaVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string java_version = 8; * *
       * The value of the "java.version" system property.
       *  e.g. "1.8.0_40-ea"
       * 
*/ public Builder setJavaVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; javaVersion_ = value; onChanged(); return this; } /** * optional string java_version = 8; * *
       * The value of the "java.version" system property.
       *  e.g. "1.8.0_40-ea"
       * 
*/ public Builder clearJavaVersion() { bitField0_ = (bitField0_ & ~0x00000008); javaVersion_ = getDefaultInstance().getJavaVersion(); onChanged(); return this; } /** * optional string java_version = 8; * *
       * The value of the "java.version" system property.
       *  e.g. "1.8.0_40-ea"
       * 
*/ public Builder setJavaVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; javaVersion_ = value; onChanged(); return this; } // optional string java_vm_version = 9; private java.lang.Object javaVmVersion_ = ""; /** * optional string java_vm_version = 9; * *
       * The value of the "java.vm.version" system property.
       *  e.g. "25.40-b25"
       * 
*/ public boolean hasJavaVmVersion() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string java_vm_version = 9; * *
       * The value of the "java.vm.version" system property.
       *  e.g. "25.40-b25"
       * 
*/ public java.lang.String getJavaVmVersion() { java.lang.Object ref = javaVmVersion_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); javaVmVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string java_vm_version = 9; * *
       * The value of the "java.vm.version" system property.
       *  e.g. "25.40-b25"
       * 
*/ public com.google.protobuf.ByteString getJavaVmVersionBytes() { java.lang.Object ref = javaVmVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); javaVmVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string java_vm_version = 9; * *
       * The value of the "java.vm.version" system property.
       *  e.g. "25.40-b25"
       * 
*/ public Builder setJavaVmVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; javaVmVersion_ = value; onChanged(); return this; } /** * optional string java_vm_version = 9; * *
       * The value of the "java.vm.version" system property.
       *  e.g. "25.40-b25"
       * 
*/ public Builder clearJavaVmVersion() { bitField0_ = (bitField0_ & ~0x00000010); javaVmVersion_ = getDefaultInstance().getJavaVmVersion(); onChanged(); return this; } /** * optional string java_vm_version = 9; * *
       * The value of the "java.vm.version" system property.
       *  e.g. "25.40-b25"
       * 
*/ public Builder setJavaVmVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; javaVmVersion_ = value; onChanged(); return this; } // optional int64 max_memory = 10; private long maxMemory_ ; /** * optional int64 max_memory = 10; * *
       * The value of Runtime.getRuntime().maxMemory()
       * 
*/ public boolean hasMaxMemory() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional int64 max_memory = 10; * *
       * The value of Runtime.getRuntime().maxMemory()
       * 
*/ public long getMaxMemory() { return maxMemory_; } /** * optional int64 max_memory = 10; * *
       * The value of Runtime.getRuntime().maxMemory()
       * 
*/ public Builder setMaxMemory(long value) { bitField0_ |= 0x00000020; maxMemory_ = value; onChanged(); return this; } /** * optional int64 max_memory = 10; * *
       * The value of Runtime.getRuntime().maxMemory()
       * 
*/ public Builder clearMaxMemory() { bitField0_ = (bitField0_ & ~0x00000020); maxMemory_ = 0L; onChanged(); return this; } // optional int64 build_time = 11; private long buildTime_ ; /** * optional int64 build_time = 11; * *
       * The total time taken for this build.
       *  This does not include Gradle's startup (before plugin apply) or shutdown
       *  (after BuildListener#buildFinished(BuildResult) called.
       * 
*/ public boolean hasBuildTime() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional int64 build_time = 11; * *
       * The total time taken for this build.
       *  This does not include Gradle's startup (before plugin apply) or shutdown
       *  (after BuildListener#buildFinished(BuildResult) called.
       * 
*/ public long getBuildTime() { return buildTime_; } /** * optional int64 build_time = 11; * *
       * The total time taken for this build.
       *  This does not include Gradle's startup (before plugin apply) or shutdown
       *  (after BuildListener#buildFinished(BuildResult) called.
       * 
*/ public Builder setBuildTime(long value) { bitField0_ |= 0x00000040; buildTime_ = value; onChanged(); return this; } /** * optional int64 build_time = 11; * *
       * The total time taken for this build.
       *  This does not include Gradle's startup (before plugin apply) or shutdown
       *  (after BuildListener#buildFinished(BuildResult) called.
       * 
*/ public Builder clearBuildTime() { bitField0_ = (bitField0_ & ~0x00000040); buildTime_ = 0L; onChanged(); return this; } // optional int64 gc_count = 12; private long gcCount_ ; /** * optional int64 gc_count = 12; * *
       * The number of garbage collections during this build
       * 
*/ public boolean hasGcCount() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional int64 gc_count = 12; * *
       * The number of garbage collections during this build
       * 
*/ public long getGcCount() { return gcCount_; } /** * optional int64 gc_count = 12; * *
       * The number of garbage collections during this build
       * 
*/ public Builder setGcCount(long value) { bitField0_ |= 0x00000080; gcCount_ = value; onChanged(); return this; } /** * optional int64 gc_count = 12; * *
       * The number of garbage collections during this build
       * 
*/ public Builder clearGcCount() { bitField0_ = (bitField0_ & ~0x00000080); gcCount_ = 0L; onChanged(); return this; } // optional int64 gc_time = 13; private long gcTime_ ; /** * optional int64 gc_time = 13; * *
       * The time spent garbage collecting during this build.
       * 
*/ public boolean hasGcTime() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional int64 gc_time = 13; * *
       * The time spent garbage collecting during this build.
       * 
*/ public long getGcTime() { return gcTime_; } /** * optional int64 gc_time = 13; * *
       * The time spent garbage collecting during this build.
       * 
*/ public Builder setGcTime(long value) { bitField0_ |= 0x00000100; gcTime_ = value; onChanged(); return this; } /** * optional int64 gc_time = 13; * *
       * The time spent garbage collecting during this build.
       * 
*/ public Builder clearGcTime() { bitField0_ = (bitField0_ & ~0x00000100); gcTime_ = 0L; onChanged(); return this; } // repeated .android_studio.GradleBuildProject project = 14; private java.util.List project_ = java.util.Collections.emptyList(); private void ensureProjectIsMutable() { if (!((bitField0_ & 0x00000200) == 0x00000200)) { project_ = new java.util.ArrayList(project_); bitField0_ |= 0x00000200; } } private com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectOrBuilder> projectBuilder_; /** * repeated .android_studio.GradleBuildProject project = 14; * *
       * The projects that make up this multi-project build.
       * 
*/ public java.util.List getProjectList() { if (projectBuilder_ == null) { return java.util.Collections.unmodifiableList(project_); } else { return projectBuilder_.getMessageList(); } } /** * repeated .android_studio.GradleBuildProject project = 14; * *
       * The projects that make up this multi-project build.
       * 
*/ public int getProjectCount() { if (projectBuilder_ == null) { return project_.size(); } else { return projectBuilder_.getCount(); } } /** * repeated .android_studio.GradleBuildProject project = 14; * *
       * The projects that make up this multi-project build.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject getProject(int index) { if (projectBuilder_ == null) { return project_.get(index); } else { return projectBuilder_.getMessage(index); } } /** * repeated .android_studio.GradleBuildProject project = 14; * *
       * The projects that make up this multi-project build.
       * 
*/ public Builder setProject( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject value) { if (projectBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureProjectIsMutable(); project_.set(index, value); onChanged(); } else { projectBuilder_.setMessage(index, value); } return this; } /** * repeated .android_studio.GradleBuildProject project = 14; * *
       * The projects that make up this multi-project build.
       * 
*/ public Builder setProject( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.Builder builderForValue) { if (projectBuilder_ == null) { ensureProjectIsMutable(); project_.set(index, builderForValue.build()); onChanged(); } else { projectBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .android_studio.GradleBuildProject project = 14; * *
       * The projects that make up this multi-project build.
       * 
*/ public Builder addProject(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject value) { if (projectBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureProjectIsMutable(); project_.add(value); onChanged(); } else { projectBuilder_.addMessage(value); } return this; } /** * repeated .android_studio.GradleBuildProject project = 14; * *
       * The projects that make up this multi-project build.
       * 
*/ public Builder addProject( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject value) { if (projectBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureProjectIsMutable(); project_.add(index, value); onChanged(); } else { projectBuilder_.addMessage(index, value); } return this; } /** * repeated .android_studio.GradleBuildProject project = 14; * *
       * The projects that make up this multi-project build.
       * 
*/ public Builder addProject( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.Builder builderForValue) { if (projectBuilder_ == null) { ensureProjectIsMutable(); project_.add(builderForValue.build()); onChanged(); } else { projectBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .android_studio.GradleBuildProject project = 14; * *
       * The projects that make up this multi-project build.
       * 
*/ public Builder addProject( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.Builder builderForValue) { if (projectBuilder_ == null) { ensureProjectIsMutable(); project_.add(index, builderForValue.build()); onChanged(); } else { projectBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .android_studio.GradleBuildProject project = 14; * *
       * The projects that make up this multi-project build.
       * 
*/ public Builder addAllProject( java.lang.Iterable values) { if (projectBuilder_ == null) { ensureProjectIsMutable(); super.addAll(values, project_); onChanged(); } else { projectBuilder_.addAllMessages(values); } return this; } /** * repeated .android_studio.GradleBuildProject project = 14; * *
       * The projects that make up this multi-project build.
       * 
*/ public Builder clearProject() { if (projectBuilder_ == null) { project_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); onChanged(); } else { projectBuilder_.clear(); } return this; } /** * repeated .android_studio.GradleBuildProject project = 14; * *
       * The projects that make up this multi-project build.
       * 
*/ public Builder removeProject(int index) { if (projectBuilder_ == null) { ensureProjectIsMutable(); project_.remove(index); onChanged(); } else { projectBuilder_.remove(index); } return this; } /** * repeated .android_studio.GradleBuildProject project = 14; * *
       * The projects that make up this multi-project build.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.Builder getProjectBuilder( int index) { return getProjectFieldBuilder().getBuilder(index); } /** * repeated .android_studio.GradleBuildProject project = 14; * *
       * The projects that make up this multi-project build.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectOrBuilder getProjectOrBuilder( int index) { if (projectBuilder_ == null) { return project_.get(index); } else { return projectBuilder_.getMessageOrBuilder(index); } } /** * repeated .android_studio.GradleBuildProject project = 14; * *
       * The projects that make up this multi-project build.
       * 
*/ public java.util.List getProjectOrBuilderList() { if (projectBuilder_ != null) { return projectBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(project_); } } /** * repeated .android_studio.GradleBuildProject project = 14; * *
       * The projects that make up this multi-project build.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.Builder addProjectBuilder() { return getProjectFieldBuilder().addBuilder( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.getDefaultInstance()); } /** * repeated .android_studio.GradleBuildProject project = 14; * *
       * The projects that make up this multi-project build.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.Builder addProjectBuilder( int index) { return getProjectFieldBuilder().addBuilder( index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.getDefaultInstance()); } /** * repeated .android_studio.GradleBuildProject project = 14; * *
       * The projects that make up this multi-project build.
       * 
*/ public java.util.List getProjectBuilderList() { return getProjectFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectOrBuilder> getProjectFieldBuilder() { if (projectBuilder_ == null) { projectBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectOrBuilder>( project_, ((bitField0_ & 0x00000200) == 0x00000200), getParentForChildren(), isClean()); project_ = null; } return projectBuilder_; } // repeated .android_studio.GradleBuildMemorySample memory_sample = 15; private java.util.List memorySample_ = java.util.Collections.emptyList(); private void ensureMemorySampleIsMutable() { if (!((bitField0_ & 0x00000400) == 0x00000400)) { memorySample_ = new java.util.ArrayList(memorySample_); bitField0_ |= 0x00000400; } } private com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySampleOrBuilder> memorySampleBuilder_; /** * repeated .android_studio.GradleBuildMemorySample memory_sample = 15; * *
       * Samples of the memory state of the daemon during the build.
       * 
*/ public java.util.List getMemorySampleList() { if (memorySampleBuilder_ == null) { return java.util.Collections.unmodifiableList(memorySample_); } else { return memorySampleBuilder_.getMessageList(); } } /** * repeated .android_studio.GradleBuildMemorySample memory_sample = 15; * *
       * Samples of the memory state of the daemon during the build.
       * 
*/ public int getMemorySampleCount() { if (memorySampleBuilder_ == null) { return memorySample_.size(); } else { return memorySampleBuilder_.getCount(); } } /** * repeated .android_studio.GradleBuildMemorySample memory_sample = 15; * *
       * Samples of the memory state of the daemon during the build.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample getMemorySample(int index) { if (memorySampleBuilder_ == null) { return memorySample_.get(index); } else { return memorySampleBuilder_.getMessage(index); } } /** * repeated .android_studio.GradleBuildMemorySample memory_sample = 15; * *
       * Samples of the memory state of the daemon during the build.
       * 
*/ public Builder setMemorySample( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample value) { if (memorySampleBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMemorySampleIsMutable(); memorySample_.set(index, value); onChanged(); } else { memorySampleBuilder_.setMessage(index, value); } return this; } /** * repeated .android_studio.GradleBuildMemorySample memory_sample = 15; * *
       * Samples of the memory state of the daemon during the build.
       * 
*/ public Builder setMemorySample( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample.Builder builderForValue) { if (memorySampleBuilder_ == null) { ensureMemorySampleIsMutable(); memorySample_.set(index, builderForValue.build()); onChanged(); } else { memorySampleBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .android_studio.GradleBuildMemorySample memory_sample = 15; * *
       * Samples of the memory state of the daemon during the build.
       * 
*/ public Builder addMemorySample(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample value) { if (memorySampleBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMemorySampleIsMutable(); memorySample_.add(value); onChanged(); } else { memorySampleBuilder_.addMessage(value); } return this; } /** * repeated .android_studio.GradleBuildMemorySample memory_sample = 15; * *
       * Samples of the memory state of the daemon during the build.
       * 
*/ public Builder addMemorySample( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample value) { if (memorySampleBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMemorySampleIsMutable(); memorySample_.add(index, value); onChanged(); } else { memorySampleBuilder_.addMessage(index, value); } return this; } /** * repeated .android_studio.GradleBuildMemorySample memory_sample = 15; * *
       * Samples of the memory state of the daemon during the build.
       * 
*/ public Builder addMemorySample( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample.Builder builderForValue) { if (memorySampleBuilder_ == null) { ensureMemorySampleIsMutable(); memorySample_.add(builderForValue.build()); onChanged(); } else { memorySampleBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .android_studio.GradleBuildMemorySample memory_sample = 15; * *
       * Samples of the memory state of the daemon during the build.
       * 
*/ public Builder addMemorySample( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample.Builder builderForValue) { if (memorySampleBuilder_ == null) { ensureMemorySampleIsMutable(); memorySample_.add(index, builderForValue.build()); onChanged(); } else { memorySampleBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .android_studio.GradleBuildMemorySample memory_sample = 15; * *
       * Samples of the memory state of the daemon during the build.
       * 
*/ public Builder addAllMemorySample( java.lang.Iterable values) { if (memorySampleBuilder_ == null) { ensureMemorySampleIsMutable(); super.addAll(values, memorySample_); onChanged(); } else { memorySampleBuilder_.addAllMessages(values); } return this; } /** * repeated .android_studio.GradleBuildMemorySample memory_sample = 15; * *
       * Samples of the memory state of the daemon during the build.
       * 
*/ public Builder clearMemorySample() { if (memorySampleBuilder_ == null) { memorySample_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000400); onChanged(); } else { memorySampleBuilder_.clear(); } return this; } /** * repeated .android_studio.GradleBuildMemorySample memory_sample = 15; * *
       * Samples of the memory state of the daemon during the build.
       * 
*/ public Builder removeMemorySample(int index) { if (memorySampleBuilder_ == null) { ensureMemorySampleIsMutable(); memorySample_.remove(index); onChanged(); } else { memorySampleBuilder_.remove(index); } return this; } /** * repeated .android_studio.GradleBuildMemorySample memory_sample = 15; * *
       * Samples of the memory state of the daemon during the build.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample.Builder getMemorySampleBuilder( int index) { return getMemorySampleFieldBuilder().getBuilder(index); } /** * repeated .android_studio.GradleBuildMemorySample memory_sample = 15; * *
       * Samples of the memory state of the daemon during the build.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySampleOrBuilder getMemorySampleOrBuilder( int index) { if (memorySampleBuilder_ == null) { return memorySample_.get(index); } else { return memorySampleBuilder_.getMessageOrBuilder(index); } } /** * repeated .android_studio.GradleBuildMemorySample memory_sample = 15; * *
       * Samples of the memory state of the daemon during the build.
       * 
*/ public java.util.List getMemorySampleOrBuilderList() { if (memorySampleBuilder_ != null) { return memorySampleBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(memorySample_); } } /** * repeated .android_studio.GradleBuildMemorySample memory_sample = 15; * *
       * Samples of the memory state of the daemon during the build.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample.Builder addMemorySampleBuilder() { return getMemorySampleFieldBuilder().addBuilder( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample.getDefaultInstance()); } /** * repeated .android_studio.GradleBuildMemorySample memory_sample = 15; * *
       * Samples of the memory state of the daemon during the build.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample.Builder addMemorySampleBuilder( int index) { return getMemorySampleFieldBuilder().addBuilder( index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample.getDefaultInstance()); } /** * repeated .android_studio.GradleBuildMemorySample memory_sample = 15; * *
       * Samples of the memory state of the daemon during the build.
       * 
*/ public java.util.List getMemorySampleBuilderList() { return getMemorySampleFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySampleOrBuilder> getMemorySampleFieldBuilder() { if (memorySampleBuilder_ == null) { memorySampleBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySampleOrBuilder>( memorySample_, ((bitField0_ & 0x00000400) == 0x00000400), getParentForChildren(), isClean()); memorySample_ = null; } return memorySampleBuilder_; } // repeated .android_studio.GradleBuildProfileSpan span = 16; private java.util.List span_ = java.util.Collections.emptyList(); private void ensureSpanIsMutable() { if (!((bitField0_ & 0x00000800) == 0x00000800)) { span_ = new java.util.ArrayList(span_); bitField0_ |= 0x00000800; } } private com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpanOrBuilder> spanBuilder_; /** * repeated .android_studio.GradleBuildProfileSpan span = 16; * *
       * The fine-grained execution spans which record granular timings.
       * 
*/ public java.util.List getSpanList() { if (spanBuilder_ == null) { return java.util.Collections.unmodifiableList(span_); } else { return spanBuilder_.getMessageList(); } } /** * repeated .android_studio.GradleBuildProfileSpan span = 16; * *
       * The fine-grained execution spans which record granular timings.
       * 
*/ public int getSpanCount() { if (spanBuilder_ == null) { return span_.size(); } else { return spanBuilder_.getCount(); } } /** * repeated .android_studio.GradleBuildProfileSpan span = 16; * *
       * The fine-grained execution spans which record granular timings.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan getSpan(int index) { if (spanBuilder_ == null) { return span_.get(index); } else { return spanBuilder_.getMessage(index); } } /** * repeated .android_studio.GradleBuildProfileSpan span = 16; * *
       * The fine-grained execution spans which record granular timings.
       * 
*/ public Builder setSpan( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan value) { if (spanBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSpanIsMutable(); span_.set(index, value); onChanged(); } else { spanBuilder_.setMessage(index, value); } return this; } /** * repeated .android_studio.GradleBuildProfileSpan span = 16; * *
       * The fine-grained execution spans which record granular timings.
       * 
*/ public Builder setSpan( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan.Builder builderForValue) { if (spanBuilder_ == null) { ensureSpanIsMutable(); span_.set(index, builderForValue.build()); onChanged(); } else { spanBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .android_studio.GradleBuildProfileSpan span = 16; * *
       * The fine-grained execution spans which record granular timings.
       * 
*/ public Builder addSpan(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan value) { if (spanBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSpanIsMutable(); span_.add(value); onChanged(); } else { spanBuilder_.addMessage(value); } return this; } /** * repeated .android_studio.GradleBuildProfileSpan span = 16; * *
       * The fine-grained execution spans which record granular timings.
       * 
*/ public Builder addSpan( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan value) { if (spanBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSpanIsMutable(); span_.add(index, value); onChanged(); } else { spanBuilder_.addMessage(index, value); } return this; } /** * repeated .android_studio.GradleBuildProfileSpan span = 16; * *
       * The fine-grained execution spans which record granular timings.
       * 
*/ public Builder addSpan( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan.Builder builderForValue) { if (spanBuilder_ == null) { ensureSpanIsMutable(); span_.add(builderForValue.build()); onChanged(); } else { spanBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .android_studio.GradleBuildProfileSpan span = 16; * *
       * The fine-grained execution spans which record granular timings.
       * 
*/ public Builder addSpan( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan.Builder builderForValue) { if (spanBuilder_ == null) { ensureSpanIsMutable(); span_.add(index, builderForValue.build()); onChanged(); } else { spanBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .android_studio.GradleBuildProfileSpan span = 16; * *
       * The fine-grained execution spans which record granular timings.
       * 
*/ public Builder addAllSpan( java.lang.Iterable values) { if (spanBuilder_ == null) { ensureSpanIsMutable(); super.addAll(values, span_); onChanged(); } else { spanBuilder_.addAllMessages(values); } return this; } /** * repeated .android_studio.GradleBuildProfileSpan span = 16; * *
       * The fine-grained execution spans which record granular timings.
       * 
*/ public Builder clearSpan() { if (spanBuilder_ == null) { span_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000800); onChanged(); } else { spanBuilder_.clear(); } return this; } /** * repeated .android_studio.GradleBuildProfileSpan span = 16; * *
       * The fine-grained execution spans which record granular timings.
       * 
*/ public Builder removeSpan(int index) { if (spanBuilder_ == null) { ensureSpanIsMutable(); span_.remove(index); onChanged(); } else { spanBuilder_.remove(index); } return this; } /** * repeated .android_studio.GradleBuildProfileSpan span = 16; * *
       * The fine-grained execution spans which record granular timings.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan.Builder getSpanBuilder( int index) { return getSpanFieldBuilder().getBuilder(index); } /** * repeated .android_studio.GradleBuildProfileSpan span = 16; * *
       * The fine-grained execution spans which record granular timings.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpanOrBuilder getSpanOrBuilder( int index) { if (spanBuilder_ == null) { return span_.get(index); } else { return spanBuilder_.getMessageOrBuilder(index); } } /** * repeated .android_studio.GradleBuildProfileSpan span = 16; * *
       * The fine-grained execution spans which record granular timings.
       * 
*/ public java.util.List getSpanOrBuilderList() { if (spanBuilder_ != null) { return spanBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(span_); } } /** * repeated .android_studio.GradleBuildProfileSpan span = 16; * *
       * The fine-grained execution spans which record granular timings.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan.Builder addSpanBuilder() { return getSpanFieldBuilder().addBuilder( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan.getDefaultInstance()); } /** * repeated .android_studio.GradleBuildProfileSpan span = 16; * *
       * The fine-grained execution spans which record granular timings.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan.Builder addSpanBuilder( int index) { return getSpanFieldBuilder().addBuilder( index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan.getDefaultInstance()); } /** * repeated .android_studio.GradleBuildProfileSpan span = 16; * *
       * The fine-grained execution spans which record granular timings.
       * 
*/ public java.util.List getSpanBuilderList() { return getSpanFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpanOrBuilder> getSpanFieldBuilder() { if (spanBuilder_ == null) { spanBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpanOrBuilder>( span_, ((bitField0_ & 0x00000800) == 0x00000800), getParentForChildren(), isClean()); span_ = null; } return spanBuilder_; } // optional .android_studio.InstantRunStatus instant_run_status = 17; private com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus instantRunStatus_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus, com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatusOrBuilder> instantRunStatusBuilder_; /** * optional .android_studio.InstantRunStatus instant_run_status = 17; * *
       * For instant run builds: the resulting instant run build info.
       * 
*/ public boolean hasInstantRunStatus() { return ((bitField0_ & 0x00001000) == 0x00001000); } /** * optional .android_studio.InstantRunStatus instant_run_status = 17; * *
       * For instant run builds: the resulting instant run build info.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus getInstantRunStatus() { if (instantRunStatusBuilder_ == null) { return instantRunStatus_; } else { return instantRunStatusBuilder_.getMessage(); } } /** * optional .android_studio.InstantRunStatus instant_run_status = 17; * *
       * For instant run builds: the resulting instant run build info.
       * 
*/ public Builder setInstantRunStatus(com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus value) { if (instantRunStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } instantRunStatus_ = value; onChanged(); } else { instantRunStatusBuilder_.setMessage(value); } bitField0_ |= 0x00001000; return this; } /** * optional .android_studio.InstantRunStatus instant_run_status = 17; * *
       * For instant run builds: the resulting instant run build info.
       * 
*/ public Builder setInstantRunStatus( com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.Builder builderForValue) { if (instantRunStatusBuilder_ == null) { instantRunStatus_ = builderForValue.build(); onChanged(); } else { instantRunStatusBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00001000; return this; } /** * optional .android_studio.InstantRunStatus instant_run_status = 17; * *
       * For instant run builds: the resulting instant run build info.
       * 
*/ public Builder mergeInstantRunStatus(com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus value) { if (instantRunStatusBuilder_ == null) { if (((bitField0_ & 0x00001000) == 0x00001000) && instantRunStatus_ != com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.getDefaultInstance()) { instantRunStatus_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.newBuilder(instantRunStatus_).mergeFrom(value).buildPartial(); } else { instantRunStatus_ = value; } onChanged(); } else { instantRunStatusBuilder_.mergeFrom(value); } bitField0_ |= 0x00001000; return this; } /** * optional .android_studio.InstantRunStatus instant_run_status = 17; * *
       * For instant run builds: the resulting instant run build info.
       * 
*/ public Builder clearInstantRunStatus() { if (instantRunStatusBuilder_ == null) { instantRunStatus_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.getDefaultInstance(); onChanged(); } else { instantRunStatusBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00001000); return this; } /** * optional .android_studio.InstantRunStatus instant_run_status = 17; * *
       * For instant run builds: the resulting instant run build info.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.Builder getInstantRunStatusBuilder() { bitField0_ |= 0x00001000; onChanged(); return getInstantRunStatusFieldBuilder().getBuilder(); } /** * optional .android_studio.InstantRunStatus instant_run_status = 17; * *
       * For instant run builds: the resulting instant run build info.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatusOrBuilder getInstantRunStatusOrBuilder() { if (instantRunStatusBuilder_ != null) { return instantRunStatusBuilder_.getMessageOrBuilder(); } else { return instantRunStatus_; } } /** * optional .android_studio.InstantRunStatus instant_run_status = 17; * *
       * For instant run builds: the resulting instant run build info.
       * 
*/ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus, com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatusOrBuilder> getInstantRunStatusFieldBuilder() { if (instantRunStatusBuilder_ == null) { instantRunStatusBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus, com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatusOrBuilder>( instantRunStatus_, getParentForChildren(), isClean()); instantRunStatus_ = null; } return instantRunStatusBuilder_; } // optional string project_id = 18; private java.lang.Object projectId_ = ""; /** * optional string project_id = 18; * *
       * Client-side salted, sha256 of the root project path.
       *  This exists to allow multiple instant run builds in one project by one
       *  user to be correlated.
       * 
       *  The salt is rotated every 28 days, so it is not a permenant pseudonymous
       *  identifier. It is anonymized and is unique per user, but has a 1-N
       *  relation.
       * 
*/ public boolean hasProjectId() { return ((bitField0_ & 0x00002000) == 0x00002000); } /** * optional string project_id = 18; * *
       * Client-side salted, sha256 of the root project path.
       *  This exists to allow multiple instant run builds in one project by one
       *  user to be correlated.
       * 
       *  The salt is rotated every 28 days, so it is not a permenant pseudonymous
       *  identifier. It is anonymized and is unique per user, but has a 1-N
       *  relation.
       * 
*/ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); projectId_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string project_id = 18; * *
       * Client-side salted, sha256 of the root project path.
       *  This exists to allow multiple instant run builds in one project by one
       *  user to be correlated.
       * 
       *  The salt is rotated every 28 days, so it is not a permenant pseudonymous
       *  identifier. It is anonymized and is unique per user, but has a 1-N
       *  relation.
       * 
*/ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); projectId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string project_id = 18; * *
       * Client-side salted, sha256 of the root project path.
       *  This exists to allow multiple instant run builds in one project by one
       *  user to be correlated.
       * 
       *  The salt is rotated every 28 days, so it is not a permenant pseudonymous
       *  identifier. It is anonymized and is unique per user, but has a 1-N
       *  relation.
       * 
*/ public Builder setProjectId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00002000; projectId_ = value; onChanged(); return this; } /** * optional string project_id = 18; * *
       * Client-side salted, sha256 of the root project path.
       *  This exists to allow multiple instant run builds in one project by one
       *  user to be correlated.
       * 
       *  The salt is rotated every 28 days, so it is not a permenant pseudonymous
       *  identifier. It is anonymized and is unique per user, but has a 1-N
       *  relation.
       * 
*/ public Builder clearProjectId() { bitField0_ = (bitField0_ & ~0x00002000); projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** * optional string project_id = 18; * *
       * Client-side salted, sha256 of the root project path.
       *  This exists to allow multiple instant run builds in one project by one
       *  user to be correlated.
       * 
       *  The salt is rotated every 28 days, so it is not a permenant pseudonymous
       *  identifier. It is anonymized and is unique per user, but has a 1-N
       *  relation.
       * 
*/ public Builder setProjectIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00002000; projectId_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:android_studio.GradleBuildProfile) } static { defaultInstance = new GradleBuildProfile(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:android_studio.GradleBuildProfile) } public interface GradleBuildProjectOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional int64 id = 1; /** * optional int64 id = 1; * *
     * Identifier, local to the containing AndroidStudioEvent, for the project.
     *  Can be used to correlate spans (GradleBuildProfileSpan) with this
     *  project for this build only. Is created by sequentially
     *  numbering projects as they are encountered.
     *  Is not stable across build invocations.
     * 
*/ boolean hasId(); /** * optional int64 id = 1; * *
     * Identifier, local to the containing AndroidStudioEvent, for the project.
     *  Can be used to correlate spans (GradleBuildProfileSpan) with this
     *  project for this build only. Is created by sequentially
     *  numbering projects as they are encountered.
     *  Is not stable across build invocations.
     * 
*/ long getId(); // optional string android_plugin_version = 2; /** * optional string android_plugin_version = 2; * *
     * Version of our Android Gradle plugin supporting android builds.
     *  e.g. '2.0-beta1'
     *  For the experimental plugin this is the gradle-core version.
     * 
*/ boolean hasAndroidPluginVersion(); /** * optional string android_plugin_version = 2; * *
     * Version of our Android Gradle plugin supporting android builds.
     *  e.g. '2.0-beta1'
     *  For the experimental plugin this is the gradle-core version.
     * 
*/ java.lang.String getAndroidPluginVersion(); /** * optional string android_plugin_version = 2; * *
     * Version of our Android Gradle plugin supporting android builds.
     *  e.g. '2.0-beta1'
     *  For the experimental plugin this is the gradle-core version.
     * 
*/ com.google.protobuf.ByteString getAndroidPluginVersionBytes(); // optional .android_studio.GradleBuildProject.PluginType android_plugin = 3; /** * optional .android_studio.GradleBuildProject.PluginType android_plugin = 3; * *
     * Which Android Gradle plugin is used.
     * 
*/ boolean hasAndroidPlugin(); /** * optional .android_studio.GradleBuildProject.PluginType android_plugin = 3; * *
     * Which Android Gradle plugin is used.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.PluginType getAndroidPlugin(); // optional .android_studio.GradleBuildProject.PluginGeneration plugin_generation = 4; /** * optional .android_studio.GradleBuildProject.PluginGeneration plugin_generation = 4; * *
     * Which plugin generation is used.
     * 
*/ boolean hasPluginGeneration(); /** * optional .android_studio.GradleBuildProject.PluginGeneration plugin_generation = 4; * *
     * Which plugin generation is used.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.PluginGeneration getPluginGeneration(); // optional string build_tools_version = 5; /** * optional string build_tools_version = 5; * *
     * The build tools version used, e.g. '24.0.0 rc2'
     * 
*/ boolean hasBuildToolsVersion(); /** * optional string build_tools_version = 5; * *
     * The build tools version used, e.g. '24.0.0 rc2'
     * 
*/ java.lang.String getBuildToolsVersion(); /** * optional string build_tools_version = 5; * *
     * The build tools version used, e.g. '24.0.0 rc2'
     * 
*/ com.google.protobuf.ByteString getBuildToolsVersionBytes(); // optional .android_studio.GradleBuildProjectMetrics metrics = 6; /** * optional .android_studio.GradleBuildProjectMetrics metrics = 6; * *
     * Statistics about the project build.
     *  Will be used to characterize and bucket projects for subgroup analysis.
     * 
*/ boolean hasMetrics(); /** * optional .android_studio.GradleBuildProjectMetrics metrics = 6; * *
     * Statistics about the project build.
     *  Will be used to characterize and bucket projects for subgroup analysis.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics getMetrics(); /** * optional .android_studio.GradleBuildProjectMetrics metrics = 6; * *
     * Statistics about the project build.
     *  Will be used to characterize and bucket projects for subgroup analysis.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetricsOrBuilder getMetricsOrBuilder(); // repeated .android_studio.GradleBuildVariant variant = 7; /** * repeated .android_studio.GradleBuildVariant variant = 7; * *
     * The variants in this project
     * 
*/ java.util.List getVariantList(); /** * repeated .android_studio.GradleBuildVariant variant = 7; * *
     * The variants in this project
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant getVariant(int index); /** * repeated .android_studio.GradleBuildVariant variant = 7; * *
     * The variants in this project
     * 
*/ int getVariantCount(); /** * repeated .android_studio.GradleBuildVariant variant = 7; * *
     * The variants in this project
     * 
*/ java.util.List getVariantOrBuilderList(); /** * repeated .android_studio.GradleBuildVariant variant = 7; * *
     * The variants in this project
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariantOrBuilder getVariantOrBuilder( int index); } /** * Protobuf type {@code android_studio.GradleBuildProject} */ public static final class GradleBuildProject extends com.google.protobuf.GeneratedMessage implements GradleBuildProjectOrBuilder { // Use GradleBuildProject.newBuilder() to construct. private GradleBuildProject(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private GradleBuildProject(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final GradleBuildProject defaultInstance; public static GradleBuildProject getDefaultInstance() { return defaultInstance; } public GradleBuildProject getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GradleBuildProject( 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; id_ = input.readInt64(); break; } case 18: { bitField0_ |= 0x00000002; androidPluginVersion_ = input.readBytes(); break; } case 24: { int rawValue = input.readEnum(); com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.PluginType value = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.PluginType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(3, rawValue); } else { bitField0_ |= 0x00000004; androidPlugin_ = value; } break; } case 32: { int rawValue = input.readEnum(); com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.PluginGeneration value = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.PluginGeneration.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(4, rawValue); } else { bitField0_ |= 0x00000008; pluginGeneration_ = value; } break; } case 42: { bitField0_ |= 0x00000010; buildToolsVersion_ = input.readBytes(); break; } case 50: { com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics.Builder subBuilder = null; if (((bitField0_ & 0x00000020) == 0x00000020)) { subBuilder = metrics_.toBuilder(); } metrics_ = input.readMessage(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(metrics_); metrics_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000020; break; } case 58: { if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) { variant_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000040; } variant_.add(input.readMessage(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant.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_ & 0x00000040) == 0x00000040)) { variant_ = java.util.Collections.unmodifiableList(variant_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleBuildProject_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleBuildProject_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public GradleBuildProject parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GradleBuildProject(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } /** * Protobuf enum {@code android_studio.GradleBuildProject.PluginType} */ public enum PluginType implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN_PLUGIN_TYPE = 0; */ UNKNOWN_PLUGIN_TYPE(0, 0), /** * APPLICATION = 1; * *
       * The 'com.android.application' or 'com.android.model.application' plugins.
       * 
*/ APPLICATION(1, 1), /** * LIBRARY = 2; * *
       * The 'com.android.library' or 'com.android.model.library' plugins.
       * 
*/ LIBRARY(2, 2), /** * TEST = 3; * *
       * The 'com.android.test' plugin.
       * 
*/ TEST(3, 3), ; /** * UNKNOWN_PLUGIN_TYPE = 0; */ public static final int UNKNOWN_PLUGIN_TYPE_VALUE = 0; /** * APPLICATION = 1; * *
       * The 'com.android.application' or 'com.android.model.application' plugins.
       * 
*/ public static final int APPLICATION_VALUE = 1; /** * LIBRARY = 2; * *
       * The 'com.android.library' or 'com.android.model.library' plugins.
       * 
*/ public static final int LIBRARY_VALUE = 2; /** * TEST = 3; * *
       * The 'com.android.test' plugin.
       * 
*/ public static final int TEST_VALUE = 3; public final int getNumber() { return value; } public static PluginType valueOf(int value) { switch (value) { case 0: return UNKNOWN_PLUGIN_TYPE; case 1: return APPLICATION; case 2: return LIBRARY; case 3: return TEST; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public PluginType findValueByNumber(int number) { return PluginType.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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.getDescriptor().getEnumTypes().get(0); } private static final PluginType[] VALUES = values(); public static PluginType 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 PluginType(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:android_studio.GradleBuildProject.PluginType) } /** * Protobuf enum {@code android_studio.GradleBuildProject.PluginGeneration} */ public enum PluginGeneration implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN_PLUGIN_GENERATION = 0; */ UNKNOWN_PLUGIN_GENERATION(0, 0), /** * FIRST = 1; * *
       * The 'com.android.[application,library,test] plugins.
       * 
*/ FIRST(1, 1), /** * COMPONENT_MODEL = 2; * *
       * The 'com.android.model.[application,library]' plugins
       * 
*/ COMPONENT_MODEL(2, 2), ; /** * UNKNOWN_PLUGIN_GENERATION = 0; */ public static final int UNKNOWN_PLUGIN_GENERATION_VALUE = 0; /** * FIRST = 1; * *
       * The 'com.android.[application,library,test] plugins.
       * 
*/ public static final int FIRST_VALUE = 1; /** * COMPONENT_MODEL = 2; * *
       * The 'com.android.model.[application,library]' plugins
       * 
*/ public static final int COMPONENT_MODEL_VALUE = 2; public final int getNumber() { return value; } public static PluginGeneration valueOf(int value) { switch (value) { case 0: return UNKNOWN_PLUGIN_GENERATION; case 1: return FIRST; case 2: return COMPONENT_MODEL; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public PluginGeneration findValueByNumber(int number) { return PluginGeneration.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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.getDescriptor().getEnumTypes().get(1); } private static final PluginGeneration[] VALUES = values(); public static PluginGeneration 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 PluginGeneration(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:android_studio.GradleBuildProject.PluginGeneration) } private int bitField0_; // optional int64 id = 1; public static final int ID_FIELD_NUMBER = 1; private long id_; /** * optional int64 id = 1; * *
     * Identifier, local to the containing AndroidStudioEvent, for the project.
     *  Can be used to correlate spans (GradleBuildProfileSpan) with this
     *  project for this build only. Is created by sequentially
     *  numbering projects as they are encountered.
     *  Is not stable across build invocations.
     * 
*/ public boolean hasId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 id = 1; * *
     * Identifier, local to the containing AndroidStudioEvent, for the project.
     *  Can be used to correlate spans (GradleBuildProfileSpan) with this
     *  project for this build only. Is created by sequentially
     *  numbering projects as they are encountered.
     *  Is not stable across build invocations.
     * 
*/ public long getId() { return id_; } // optional string android_plugin_version = 2; public static final int ANDROID_PLUGIN_VERSION_FIELD_NUMBER = 2; private java.lang.Object androidPluginVersion_; /** * optional string android_plugin_version = 2; * *
     * Version of our Android Gradle plugin supporting android builds.
     *  e.g. '2.0-beta1'
     *  For the experimental plugin this is the gradle-core version.
     * 
*/ public boolean hasAndroidPluginVersion() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string android_plugin_version = 2; * *
     * Version of our Android Gradle plugin supporting android builds.
     *  e.g. '2.0-beta1'
     *  For the experimental plugin this is the gradle-core version.
     * 
*/ public java.lang.String getAndroidPluginVersion() { java.lang.Object ref = androidPluginVersion_; 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()) { androidPluginVersion_ = s; } return s; } } /** * optional string android_plugin_version = 2; * *
     * Version of our Android Gradle plugin supporting android builds.
     *  e.g. '2.0-beta1'
     *  For the experimental plugin this is the gradle-core version.
     * 
*/ public com.google.protobuf.ByteString getAndroidPluginVersionBytes() { java.lang.Object ref = androidPluginVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); androidPluginVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional .android_studio.GradleBuildProject.PluginType android_plugin = 3; public static final int ANDROID_PLUGIN_FIELD_NUMBER = 3; private com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.PluginType androidPlugin_; /** * optional .android_studio.GradleBuildProject.PluginType android_plugin = 3; * *
     * Which Android Gradle plugin is used.
     * 
*/ public boolean hasAndroidPlugin() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .android_studio.GradleBuildProject.PluginType android_plugin = 3; * *
     * Which Android Gradle plugin is used.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.PluginType getAndroidPlugin() { return androidPlugin_; } // optional .android_studio.GradleBuildProject.PluginGeneration plugin_generation = 4; public static final int PLUGIN_GENERATION_FIELD_NUMBER = 4; private com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.PluginGeneration pluginGeneration_; /** * optional .android_studio.GradleBuildProject.PluginGeneration plugin_generation = 4; * *
     * Which plugin generation is used.
     * 
*/ public boolean hasPluginGeneration() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .android_studio.GradleBuildProject.PluginGeneration plugin_generation = 4; * *
     * Which plugin generation is used.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.PluginGeneration getPluginGeneration() { return pluginGeneration_; } // optional string build_tools_version = 5; public static final int BUILD_TOOLS_VERSION_FIELD_NUMBER = 5; private java.lang.Object buildToolsVersion_; /** * optional string build_tools_version = 5; * *
     * The build tools version used, e.g. '24.0.0 rc2'
     * 
*/ public boolean hasBuildToolsVersion() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string build_tools_version = 5; * *
     * The build tools version used, e.g. '24.0.0 rc2'
     * 
*/ public java.lang.String getBuildToolsVersion() { java.lang.Object ref = buildToolsVersion_; 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()) { buildToolsVersion_ = s; } return s; } } /** * optional string build_tools_version = 5; * *
     * The build tools version used, e.g. '24.0.0 rc2'
     * 
*/ public com.google.protobuf.ByteString getBuildToolsVersionBytes() { java.lang.Object ref = buildToolsVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); buildToolsVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional .android_studio.GradleBuildProjectMetrics metrics = 6; public static final int METRICS_FIELD_NUMBER = 6; private com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics metrics_; /** * optional .android_studio.GradleBuildProjectMetrics metrics = 6; * *
     * Statistics about the project build.
     *  Will be used to characterize and bucket projects for subgroup analysis.
     * 
*/ public boolean hasMetrics() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional .android_studio.GradleBuildProjectMetrics metrics = 6; * *
     * Statistics about the project build.
     *  Will be used to characterize and bucket projects for subgroup analysis.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics getMetrics() { return metrics_; } /** * optional .android_studio.GradleBuildProjectMetrics metrics = 6; * *
     * Statistics about the project build.
     *  Will be used to characterize and bucket projects for subgroup analysis.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetricsOrBuilder getMetricsOrBuilder() { return metrics_; } // repeated .android_studio.GradleBuildVariant variant = 7; public static final int VARIANT_FIELD_NUMBER = 7; private java.util.List variant_; /** * repeated .android_studio.GradleBuildVariant variant = 7; * *
     * The variants in this project
     * 
*/ public java.util.List getVariantList() { return variant_; } /** * repeated .android_studio.GradleBuildVariant variant = 7; * *
     * The variants in this project
     * 
*/ public java.util.List getVariantOrBuilderList() { return variant_; } /** * repeated .android_studio.GradleBuildVariant variant = 7; * *
     * The variants in this project
     * 
*/ public int getVariantCount() { return variant_.size(); } /** * repeated .android_studio.GradleBuildVariant variant = 7; * *
     * The variants in this project
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant getVariant(int index) { return variant_.get(index); } /** * repeated .android_studio.GradleBuildVariant variant = 7; * *
     * The variants in this project
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariantOrBuilder getVariantOrBuilder( int index) { return variant_.get(index); } private void initFields() { id_ = 0L; androidPluginVersion_ = ""; androidPlugin_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.PluginType.UNKNOWN_PLUGIN_TYPE; pluginGeneration_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.PluginGeneration.UNKNOWN_PLUGIN_GENERATION; buildToolsVersion_ = ""; metrics_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics.getDefaultInstance(); variant_ = 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(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt64(1, id_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getAndroidPluginVersionBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeEnum(3, androidPlugin_.getNumber()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeEnum(4, pluginGeneration_.getNumber()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBytes(5, getBuildToolsVersionBytes()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeMessage(6, metrics_); } for (int i = 0; i < variant_.size(); i++) { output.writeMessage(7, variant_.get(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, id_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getAndroidPluginVersionBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, androidPlugin_.getNumber()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(4, pluginGeneration_.getNumber()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, getBuildToolsVersionBytes()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, metrics_); } for (int i = 0; i < variant_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, variant_.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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject 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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject 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 android_studio.GradleBuildProject} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleBuildProject_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleBuildProject_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.Builder.class); } // Construct using com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getMetricsFieldBuilder(); getVariantFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); id_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); androidPluginVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000002); androidPlugin_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.PluginType.UNKNOWN_PLUGIN_TYPE; bitField0_ = (bitField0_ & ~0x00000004); pluginGeneration_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.PluginGeneration.UNKNOWN_PLUGIN_GENERATION; bitField0_ = (bitField0_ & ~0x00000008); buildToolsVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000010); if (metricsBuilder_ == null) { metrics_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics.getDefaultInstance(); } else { metricsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); if (variantBuilder_ == null) { variant_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); } else { variantBuilder_.clear(); } return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleBuildProject_descriptor; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject getDefaultInstanceForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.getDefaultInstance(); } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject build() { com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject buildPartial() { com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject result = new com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.id_ = id_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.androidPluginVersion_ = androidPluginVersion_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.androidPlugin_ = androidPlugin_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.pluginGeneration_ = pluginGeneration_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.buildToolsVersion_ = buildToolsVersion_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } if (metricsBuilder_ == null) { result.metrics_ = metrics_; } else { result.metrics_ = metricsBuilder_.build(); } if (variantBuilder_ == null) { if (((bitField0_ & 0x00000040) == 0x00000040)) { variant_ = java.util.Collections.unmodifiableList(variant_); bitField0_ = (bitField0_ & ~0x00000040); } result.variant_ = variant_; } else { result.variant_ = variantBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject) { return mergeFrom((com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject other) { if (other == com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.getDefaultInstance()) return this; if (other.hasId()) { setId(other.getId()); } if (other.hasAndroidPluginVersion()) { bitField0_ |= 0x00000002; androidPluginVersion_ = other.androidPluginVersion_; onChanged(); } if (other.hasAndroidPlugin()) { setAndroidPlugin(other.getAndroidPlugin()); } if (other.hasPluginGeneration()) { setPluginGeneration(other.getPluginGeneration()); } if (other.hasBuildToolsVersion()) { bitField0_ |= 0x00000010; buildToolsVersion_ = other.buildToolsVersion_; onChanged(); } if (other.hasMetrics()) { mergeMetrics(other.getMetrics()); } if (variantBuilder_ == null) { if (!other.variant_.isEmpty()) { if (variant_.isEmpty()) { variant_ = other.variant_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureVariantIsMutable(); variant_.addAll(other.variant_); } onChanged(); } } else { if (!other.variant_.isEmpty()) { if (variantBuilder_.isEmpty()) { variantBuilder_.dispose(); variantBuilder_ = null; variant_ = other.variant_; bitField0_ = (bitField0_ & ~0x00000040); variantBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getVariantFieldBuilder() : null; } else { variantBuilder_.addAllMessages(other.variant_); } } } 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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional int64 id = 1; private long id_ ; /** * optional int64 id = 1; * *
       * Identifier, local to the containing AndroidStudioEvent, for the project.
       *  Can be used to correlate spans (GradleBuildProfileSpan) with this
       *  project for this build only. Is created by sequentially
       *  numbering projects as they are encountered.
       *  Is not stable across build invocations.
       * 
*/ public boolean hasId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 id = 1; * *
       * Identifier, local to the containing AndroidStudioEvent, for the project.
       *  Can be used to correlate spans (GradleBuildProfileSpan) with this
       *  project for this build only. Is created by sequentially
       *  numbering projects as they are encountered.
       *  Is not stable across build invocations.
       * 
*/ public long getId() { return id_; } /** * optional int64 id = 1; * *
       * Identifier, local to the containing AndroidStudioEvent, for the project.
       *  Can be used to correlate spans (GradleBuildProfileSpan) with this
       *  project for this build only. Is created by sequentially
       *  numbering projects as they are encountered.
       *  Is not stable across build invocations.
       * 
*/ public Builder setId(long value) { bitField0_ |= 0x00000001; id_ = value; onChanged(); return this; } /** * optional int64 id = 1; * *
       * Identifier, local to the containing AndroidStudioEvent, for the project.
       *  Can be used to correlate spans (GradleBuildProfileSpan) with this
       *  project for this build only. Is created by sequentially
       *  numbering projects as they are encountered.
       *  Is not stable across build invocations.
       * 
*/ public Builder clearId() { bitField0_ = (bitField0_ & ~0x00000001); id_ = 0L; onChanged(); return this; } // optional string android_plugin_version = 2; private java.lang.Object androidPluginVersion_ = ""; /** * optional string android_plugin_version = 2; * *
       * Version of our Android Gradle plugin supporting android builds.
       *  e.g. '2.0-beta1'
       *  For the experimental plugin this is the gradle-core version.
       * 
*/ public boolean hasAndroidPluginVersion() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string android_plugin_version = 2; * *
       * Version of our Android Gradle plugin supporting android builds.
       *  e.g. '2.0-beta1'
       *  For the experimental plugin this is the gradle-core version.
       * 
*/ public java.lang.String getAndroidPluginVersion() { java.lang.Object ref = androidPluginVersion_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); androidPluginVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string android_plugin_version = 2; * *
       * Version of our Android Gradle plugin supporting android builds.
       *  e.g. '2.0-beta1'
       *  For the experimental plugin this is the gradle-core version.
       * 
*/ public com.google.protobuf.ByteString getAndroidPluginVersionBytes() { java.lang.Object ref = androidPluginVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); androidPluginVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string android_plugin_version = 2; * *
       * Version of our Android Gradle plugin supporting android builds.
       *  e.g. '2.0-beta1'
       *  For the experimental plugin this is the gradle-core version.
       * 
*/ public Builder setAndroidPluginVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; androidPluginVersion_ = value; onChanged(); return this; } /** * optional string android_plugin_version = 2; * *
       * Version of our Android Gradle plugin supporting android builds.
       *  e.g. '2.0-beta1'
       *  For the experimental plugin this is the gradle-core version.
       * 
*/ public Builder clearAndroidPluginVersion() { bitField0_ = (bitField0_ & ~0x00000002); androidPluginVersion_ = getDefaultInstance().getAndroidPluginVersion(); onChanged(); return this; } /** * optional string android_plugin_version = 2; * *
       * Version of our Android Gradle plugin supporting android builds.
       *  e.g. '2.0-beta1'
       *  For the experimental plugin this is the gradle-core version.
       * 
*/ public Builder setAndroidPluginVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; androidPluginVersion_ = value; onChanged(); return this; } // optional .android_studio.GradleBuildProject.PluginType android_plugin = 3; private com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.PluginType androidPlugin_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.PluginType.UNKNOWN_PLUGIN_TYPE; /** * optional .android_studio.GradleBuildProject.PluginType android_plugin = 3; * *
       * Which Android Gradle plugin is used.
       * 
*/ public boolean hasAndroidPlugin() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .android_studio.GradleBuildProject.PluginType android_plugin = 3; * *
       * Which Android Gradle plugin is used.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.PluginType getAndroidPlugin() { return androidPlugin_; } /** * optional .android_studio.GradleBuildProject.PluginType android_plugin = 3; * *
       * Which Android Gradle plugin is used.
       * 
*/ public Builder setAndroidPlugin(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.PluginType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; androidPlugin_ = value; onChanged(); return this; } /** * optional .android_studio.GradleBuildProject.PluginType android_plugin = 3; * *
       * Which Android Gradle plugin is used.
       * 
*/ public Builder clearAndroidPlugin() { bitField0_ = (bitField0_ & ~0x00000004); androidPlugin_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.PluginType.UNKNOWN_PLUGIN_TYPE; onChanged(); return this; } // optional .android_studio.GradleBuildProject.PluginGeneration plugin_generation = 4; private com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.PluginGeneration pluginGeneration_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.PluginGeneration.UNKNOWN_PLUGIN_GENERATION; /** * optional .android_studio.GradleBuildProject.PluginGeneration plugin_generation = 4; * *
       * Which plugin generation is used.
       * 
*/ public boolean hasPluginGeneration() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .android_studio.GradleBuildProject.PluginGeneration plugin_generation = 4; * *
       * Which plugin generation is used.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.PluginGeneration getPluginGeneration() { return pluginGeneration_; } /** * optional .android_studio.GradleBuildProject.PluginGeneration plugin_generation = 4; * *
       * Which plugin generation is used.
       * 
*/ public Builder setPluginGeneration(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.PluginGeneration value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; pluginGeneration_ = value; onChanged(); return this; } /** * optional .android_studio.GradleBuildProject.PluginGeneration plugin_generation = 4; * *
       * Which plugin generation is used.
       * 
*/ public Builder clearPluginGeneration() { bitField0_ = (bitField0_ & ~0x00000008); pluginGeneration_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject.PluginGeneration.UNKNOWN_PLUGIN_GENERATION; onChanged(); return this; } // optional string build_tools_version = 5; private java.lang.Object buildToolsVersion_ = ""; /** * optional string build_tools_version = 5; * *
       * The build tools version used, e.g. '24.0.0 rc2'
       * 
*/ public boolean hasBuildToolsVersion() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string build_tools_version = 5; * *
       * The build tools version used, e.g. '24.0.0 rc2'
       * 
*/ public java.lang.String getBuildToolsVersion() { java.lang.Object ref = buildToolsVersion_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); buildToolsVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string build_tools_version = 5; * *
       * The build tools version used, e.g. '24.0.0 rc2'
       * 
*/ public com.google.protobuf.ByteString getBuildToolsVersionBytes() { java.lang.Object ref = buildToolsVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); buildToolsVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string build_tools_version = 5; * *
       * The build tools version used, e.g. '24.0.0 rc2'
       * 
*/ public Builder setBuildToolsVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; buildToolsVersion_ = value; onChanged(); return this; } /** * optional string build_tools_version = 5; * *
       * The build tools version used, e.g. '24.0.0 rc2'
       * 
*/ public Builder clearBuildToolsVersion() { bitField0_ = (bitField0_ & ~0x00000010); buildToolsVersion_ = getDefaultInstance().getBuildToolsVersion(); onChanged(); return this; } /** * optional string build_tools_version = 5; * *
       * The build tools version used, e.g. '24.0.0 rc2'
       * 
*/ public Builder setBuildToolsVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; buildToolsVersion_ = value; onChanged(); return this; } // optional .android_studio.GradleBuildProjectMetrics metrics = 6; private com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics metrics_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetricsOrBuilder> metricsBuilder_; /** * optional .android_studio.GradleBuildProjectMetrics metrics = 6; * *
       * Statistics about the project build.
       *  Will be used to characterize and bucket projects for subgroup analysis.
       * 
*/ public boolean hasMetrics() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional .android_studio.GradleBuildProjectMetrics metrics = 6; * *
       * Statistics about the project build.
       *  Will be used to characterize and bucket projects for subgroup analysis.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics getMetrics() { if (metricsBuilder_ == null) { return metrics_; } else { return metricsBuilder_.getMessage(); } } /** * optional .android_studio.GradleBuildProjectMetrics metrics = 6; * *
       * Statistics about the project build.
       *  Will be used to characterize and bucket projects for subgroup analysis.
       * 
*/ public Builder setMetrics(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics value) { if (metricsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } metrics_ = value; onChanged(); } else { metricsBuilder_.setMessage(value); } bitField0_ |= 0x00000020; return this; } /** * optional .android_studio.GradleBuildProjectMetrics metrics = 6; * *
       * Statistics about the project build.
       *  Will be used to characterize and bucket projects for subgroup analysis.
       * 
*/ public Builder setMetrics( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics.Builder builderForValue) { if (metricsBuilder_ == null) { metrics_ = builderForValue.build(); onChanged(); } else { metricsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; return this; } /** * optional .android_studio.GradleBuildProjectMetrics metrics = 6; * *
       * Statistics about the project build.
       *  Will be used to characterize and bucket projects for subgroup analysis.
       * 
*/ public Builder mergeMetrics(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics value) { if (metricsBuilder_ == null) { if (((bitField0_ & 0x00000020) == 0x00000020) && metrics_ != com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics.getDefaultInstance()) { metrics_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics.newBuilder(metrics_).mergeFrom(value).buildPartial(); } else { metrics_ = value; } onChanged(); } else { metricsBuilder_.mergeFrom(value); } bitField0_ |= 0x00000020; return this; } /** * optional .android_studio.GradleBuildProjectMetrics metrics = 6; * *
       * Statistics about the project build.
       *  Will be used to characterize and bucket projects for subgroup analysis.
       * 
*/ public Builder clearMetrics() { if (metricsBuilder_ == null) { metrics_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics.getDefaultInstance(); onChanged(); } else { metricsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); return this; } /** * optional .android_studio.GradleBuildProjectMetrics metrics = 6; * *
       * Statistics about the project build.
       *  Will be used to characterize and bucket projects for subgroup analysis.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics.Builder getMetricsBuilder() { bitField0_ |= 0x00000020; onChanged(); return getMetricsFieldBuilder().getBuilder(); } /** * optional .android_studio.GradleBuildProjectMetrics metrics = 6; * *
       * Statistics about the project build.
       *  Will be used to characterize and bucket projects for subgroup analysis.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetricsOrBuilder getMetricsOrBuilder() { if (metricsBuilder_ != null) { return metricsBuilder_.getMessageOrBuilder(); } else { return metrics_; } } /** * optional .android_studio.GradleBuildProjectMetrics metrics = 6; * *
       * Statistics about the project build.
       *  Will be used to characterize and bucket projects for subgroup analysis.
       * 
*/ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetricsOrBuilder> getMetricsFieldBuilder() { if (metricsBuilder_ == null) { metricsBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetricsOrBuilder>( metrics_, getParentForChildren(), isClean()); metrics_ = null; } return metricsBuilder_; } // repeated .android_studio.GradleBuildVariant variant = 7; private java.util.List variant_ = java.util.Collections.emptyList(); private void ensureVariantIsMutable() { if (!((bitField0_ & 0x00000040) == 0x00000040)) { variant_ = new java.util.ArrayList(variant_); bitField0_ |= 0x00000040; } } private com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariantOrBuilder> variantBuilder_; /** * repeated .android_studio.GradleBuildVariant variant = 7; * *
       * The variants in this project
       * 
*/ public java.util.List getVariantList() { if (variantBuilder_ == null) { return java.util.Collections.unmodifiableList(variant_); } else { return variantBuilder_.getMessageList(); } } /** * repeated .android_studio.GradleBuildVariant variant = 7; * *
       * The variants in this project
       * 
*/ public int getVariantCount() { if (variantBuilder_ == null) { return variant_.size(); } else { return variantBuilder_.getCount(); } } /** * repeated .android_studio.GradleBuildVariant variant = 7; * *
       * The variants in this project
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant getVariant(int index) { if (variantBuilder_ == null) { return variant_.get(index); } else { return variantBuilder_.getMessage(index); } } /** * repeated .android_studio.GradleBuildVariant variant = 7; * *
       * The variants in this project
       * 
*/ public Builder setVariant( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant value) { if (variantBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureVariantIsMutable(); variant_.set(index, value); onChanged(); } else { variantBuilder_.setMessage(index, value); } return this; } /** * repeated .android_studio.GradleBuildVariant variant = 7; * *
       * The variants in this project
       * 
*/ public Builder setVariant( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant.Builder builderForValue) { if (variantBuilder_ == null) { ensureVariantIsMutable(); variant_.set(index, builderForValue.build()); onChanged(); } else { variantBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .android_studio.GradleBuildVariant variant = 7; * *
       * The variants in this project
       * 
*/ public Builder addVariant(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant value) { if (variantBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureVariantIsMutable(); variant_.add(value); onChanged(); } else { variantBuilder_.addMessage(value); } return this; } /** * repeated .android_studio.GradleBuildVariant variant = 7; * *
       * The variants in this project
       * 
*/ public Builder addVariant( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant value) { if (variantBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureVariantIsMutable(); variant_.add(index, value); onChanged(); } else { variantBuilder_.addMessage(index, value); } return this; } /** * repeated .android_studio.GradleBuildVariant variant = 7; * *
       * The variants in this project
       * 
*/ public Builder addVariant( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant.Builder builderForValue) { if (variantBuilder_ == null) { ensureVariantIsMutable(); variant_.add(builderForValue.build()); onChanged(); } else { variantBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .android_studio.GradleBuildVariant variant = 7; * *
       * The variants in this project
       * 
*/ public Builder addVariant( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant.Builder builderForValue) { if (variantBuilder_ == null) { ensureVariantIsMutable(); variant_.add(index, builderForValue.build()); onChanged(); } else { variantBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .android_studio.GradleBuildVariant variant = 7; * *
       * The variants in this project
       * 
*/ public Builder addAllVariant( java.lang.Iterable values) { if (variantBuilder_ == null) { ensureVariantIsMutable(); super.addAll(values, variant_); onChanged(); } else { variantBuilder_.addAllMessages(values); } return this; } /** * repeated .android_studio.GradleBuildVariant variant = 7; * *
       * The variants in this project
       * 
*/ public Builder clearVariant() { if (variantBuilder_ == null) { variant_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); } else { variantBuilder_.clear(); } return this; } /** * repeated .android_studio.GradleBuildVariant variant = 7; * *
       * The variants in this project
       * 
*/ public Builder removeVariant(int index) { if (variantBuilder_ == null) { ensureVariantIsMutable(); variant_.remove(index); onChanged(); } else { variantBuilder_.remove(index); } return this; } /** * repeated .android_studio.GradleBuildVariant variant = 7; * *
       * The variants in this project
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant.Builder getVariantBuilder( int index) { return getVariantFieldBuilder().getBuilder(index); } /** * repeated .android_studio.GradleBuildVariant variant = 7; * *
       * The variants in this project
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariantOrBuilder getVariantOrBuilder( int index) { if (variantBuilder_ == null) { return variant_.get(index); } else { return variantBuilder_.getMessageOrBuilder(index); } } /** * repeated .android_studio.GradleBuildVariant variant = 7; * *
       * The variants in this project
       * 
*/ public java.util.List getVariantOrBuilderList() { if (variantBuilder_ != null) { return variantBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(variant_); } } /** * repeated .android_studio.GradleBuildVariant variant = 7; * *
       * The variants in this project
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant.Builder addVariantBuilder() { return getVariantFieldBuilder().addBuilder( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant.getDefaultInstance()); } /** * repeated .android_studio.GradleBuildVariant variant = 7; * *
       * The variants in this project
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant.Builder addVariantBuilder( int index) { return getVariantFieldBuilder().addBuilder( index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant.getDefaultInstance()); } /** * repeated .android_studio.GradleBuildVariant variant = 7; * *
       * The variants in this project
       * 
*/ public java.util.List getVariantBuilderList() { return getVariantFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariantOrBuilder> getVariantFieldBuilder() { if (variantBuilder_ == null) { variantBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariantOrBuilder>( variant_, ((bitField0_ & 0x00000040) == 0x00000040), getParentForChildren(), isClean()); variant_ = null; } return variantBuilder_; } // @@protoc_insertion_point(builder_scope:android_studio.GradleBuildProject) } static { defaultInstance = new GradleBuildProject(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:android_studio.GradleBuildProject) } public interface GradleBuildProjectMetricsOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional int64 metrics_time_ns = 1; /** * optional int64 metrics_time_ns = 1; * *
     * The time taken to collect these metrics
     * 
*/ boolean hasMetricsTimeNs(); /** * optional int64 metrics_time_ns = 1; * *
     * The time taken to collect these metrics
     * 
*/ long getMetricsTimeNs(); // optional int64 apk_size = 2; /** * optional int64 apk_size = 2; * *
     * The size of the APK built, if relevant.
     * 
*/ boolean hasApkSize(); /** * optional int64 apk_size = 2; * *
     * The size of the APK built, if relevant.
     * 
*/ long getApkSize(); // optional int64 resources_ap_size = 3; /** * optional int64 resources_ap_size = 3; * *
     * The size of the resources_ap included in that apk.
     * 
*/ boolean hasResourcesApSize(); /** * optional int64 resources_ap_size = 3; * *
     * The size of the resources_ap included in that apk.
     * 
*/ long getResourcesApSize(); } /** * Protobuf type {@code android_studio.GradleBuildProjectMetrics} */ public static final class GradleBuildProjectMetrics extends com.google.protobuf.GeneratedMessage implements GradleBuildProjectMetricsOrBuilder { // Use GradleBuildProjectMetrics.newBuilder() to construct. private GradleBuildProjectMetrics(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private GradleBuildProjectMetrics(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final GradleBuildProjectMetrics defaultInstance; public static GradleBuildProjectMetrics getDefaultInstance() { return defaultInstance; } public GradleBuildProjectMetrics getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GradleBuildProjectMetrics( 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; metricsTimeNs_ = input.readInt64(); break; } case 16: { bitField0_ |= 0x00000002; apkSize_ = input.readInt64(); break; } case 24: { bitField0_ |= 0x00000004; resourcesApSize_ = input.readInt64(); 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.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleBuildProjectMetrics_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleBuildProjectMetrics_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public GradleBuildProjectMetrics parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GradleBuildProjectMetrics(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional int64 metrics_time_ns = 1; public static final int METRICS_TIME_NS_FIELD_NUMBER = 1; private long metricsTimeNs_; /** * optional int64 metrics_time_ns = 1; * *
     * The time taken to collect these metrics
     * 
*/ public boolean hasMetricsTimeNs() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 metrics_time_ns = 1; * *
     * The time taken to collect these metrics
     * 
*/ public long getMetricsTimeNs() { return metricsTimeNs_; } // optional int64 apk_size = 2; public static final int APK_SIZE_FIELD_NUMBER = 2; private long apkSize_; /** * optional int64 apk_size = 2; * *
     * The size of the APK built, if relevant.
     * 
*/ public boolean hasApkSize() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int64 apk_size = 2; * *
     * The size of the APK built, if relevant.
     * 
*/ public long getApkSize() { return apkSize_; } // optional int64 resources_ap_size = 3; public static final int RESOURCES_AP_SIZE_FIELD_NUMBER = 3; private long resourcesApSize_; /** * optional int64 resources_ap_size = 3; * *
     * The size of the resources_ap included in that apk.
     * 
*/ public boolean hasResourcesApSize() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional int64 resources_ap_size = 3; * *
     * The size of the resources_ap included in that apk.
     * 
*/ public long getResourcesApSize() { return resourcesApSize_; } private void initFields() { metricsTimeNs_ = 0L; apkSize_ = 0L; resourcesApSize_ = 0L; } 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.writeInt64(1, metricsTimeNs_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt64(2, apkSize_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt64(3, resourcesApSize_); } 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 .computeInt64Size(1, metricsTimeNs_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, apkSize_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, resourcesApSize_); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics 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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics 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 android_studio.GradleBuildProjectMetrics} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetricsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleBuildProjectMetrics_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleBuildProjectMetrics_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics.Builder.class); } // Construct using com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics.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(); metricsTimeNs_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); apkSize_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); resourcesApSize_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleBuildProjectMetrics_descriptor; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics getDefaultInstanceForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics.getDefaultInstance(); } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics build() { com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics buildPartial() { com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics result = new com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.metricsTimeNs_ = metricsTimeNs_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.apkSize_ = apkSize_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.resourcesApSize_ = resourcesApSize_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics) { return mergeFrom((com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics other) { if (other == com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics.getDefaultInstance()) return this; if (other.hasMetricsTimeNs()) { setMetricsTimeNs(other.getMetricsTimeNs()); } if (other.hasApkSize()) { setApkSize(other.getApkSize()); } if (other.hasResourcesApSize()) { setResourcesApSize(other.getResourcesApSize()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectMetrics) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional int64 metrics_time_ns = 1; private long metricsTimeNs_ ; /** * optional int64 metrics_time_ns = 1; * *
       * The time taken to collect these metrics
       * 
*/ public boolean hasMetricsTimeNs() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 metrics_time_ns = 1; * *
       * The time taken to collect these metrics
       * 
*/ public long getMetricsTimeNs() { return metricsTimeNs_; } /** * optional int64 metrics_time_ns = 1; * *
       * The time taken to collect these metrics
       * 
*/ public Builder setMetricsTimeNs(long value) { bitField0_ |= 0x00000001; metricsTimeNs_ = value; onChanged(); return this; } /** * optional int64 metrics_time_ns = 1; * *
       * The time taken to collect these metrics
       * 
*/ public Builder clearMetricsTimeNs() { bitField0_ = (bitField0_ & ~0x00000001); metricsTimeNs_ = 0L; onChanged(); return this; } // optional int64 apk_size = 2; private long apkSize_ ; /** * optional int64 apk_size = 2; * *
       * The size of the APK built, if relevant.
       * 
*/ public boolean hasApkSize() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int64 apk_size = 2; * *
       * The size of the APK built, if relevant.
       * 
*/ public long getApkSize() { return apkSize_; } /** * optional int64 apk_size = 2; * *
       * The size of the APK built, if relevant.
       * 
*/ public Builder setApkSize(long value) { bitField0_ |= 0x00000002; apkSize_ = value; onChanged(); return this; } /** * optional int64 apk_size = 2; * *
       * The size of the APK built, if relevant.
       * 
*/ public Builder clearApkSize() { bitField0_ = (bitField0_ & ~0x00000002); apkSize_ = 0L; onChanged(); return this; } // optional int64 resources_ap_size = 3; private long resourcesApSize_ ; /** * optional int64 resources_ap_size = 3; * *
       * The size of the resources_ap included in that apk.
       * 
*/ public boolean hasResourcesApSize() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional int64 resources_ap_size = 3; * *
       * The size of the resources_ap included in that apk.
       * 
*/ public long getResourcesApSize() { return resourcesApSize_; } /** * optional int64 resources_ap_size = 3; * *
       * The size of the resources_ap included in that apk.
       * 
*/ public Builder setResourcesApSize(long value) { bitField0_ |= 0x00000004; resourcesApSize_ = value; onChanged(); return this; } /** * optional int64 resources_ap_size = 3; * *
       * The size of the resources_ap included in that apk.
       * 
*/ public Builder clearResourcesApSize() { bitField0_ = (bitField0_ & ~0x00000004); resourcesApSize_ = 0L; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:android_studio.GradleBuildProjectMetrics) } static { defaultInstance = new GradleBuildProjectMetrics(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:android_studio.GradleBuildProjectMetrics) } public interface GradleBuildVariantOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional int64 id = 1; /** * optional int64 id = 1; * *
     * Identifier, local to this AndroidStudioEvent, for the variant.
     *  Can be used to correlate spans (GradleBuildProfileSpan) with this
     *  project for this build only. Is created by sequentially
     *  numbering variants as they are created.
     *  Is not stable across build invocations.
     * 
*/ boolean hasId(); /** * optional int64 id = 1; * *
     * Identifier, local to this AndroidStudioEvent, for the variant.
     *  Can be used to correlate spans (GradleBuildProfileSpan) with this
     *  project for this build only. Is created by sequentially
     *  numbering variants as they are created.
     *  Is not stable across build invocations.
     * 
*/ long getId(); // optional bool is_debug = 2; /** * optional bool is_debug = 2; * *
     * Whether the variant is debuggable.
     * 
*/ boolean hasIsDebug(); /** * optional bool is_debug = 2; * *
     * Whether the variant is debuggable.
     * 
*/ boolean getIsDebug(); // optional bool use_jack = 3; /** * optional bool use_jack = 3; * *
     * Whether the variant is compiled using jack
     * 
*/ boolean hasUseJack(); /** * optional bool use_jack = 3; * *
     * Whether the variant is compiled using jack
     * 
*/ boolean getUseJack(); // optional bool minify_enabled = 4; /** * optional bool minify_enabled = 4; * *
     * Whether the variant is minified
     * 
*/ boolean hasMinifyEnabled(); /** * optional bool minify_enabled = 4; * *
     * Whether the variant is minified
     * 
*/ boolean getMinifyEnabled(); // optional bool use_multidex = 5; /** * optional bool use_multidex = 5; * *
     * Is multidex enabled for the variant
     * 
*/ boolean hasUseMultidex(); /** * optional bool use_multidex = 5; * *
     * Is multidex enabled for the variant
     * 
*/ boolean getUseMultidex(); // optional bool use_legacy_multidex = 6; /** * optional bool use_legacy_multidex = 6; * *
     * Is legacy (pre-api 19) multidex enabled for the variant.
     *  Only can true if use_multidex is also true.
     * 
*/ boolean hasUseLegacyMultidex(); /** * optional bool use_legacy_multidex = 6; * *
     * Is legacy (pre-api 19) multidex enabled for the variant.
     *  Only can true if use_multidex is also true.
     * 
*/ boolean getUseLegacyMultidex(); // optional .android_studio.GradleBuildVariant.VariantType variant_type = 7; /** * optional .android_studio.GradleBuildVariant.VariantType variant_type = 7; * *
     * The type of variant.
     * 
*/ boolean hasVariantType(); /** * optional .android_studio.GradleBuildVariant.VariantType variant_type = 7; * *
     * The type of variant.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant.VariantType getVariantType(); // optional int64 tested_id = 8; /** * optional int64 tested_id = 8; * *
     * For test variants, the tested variant id. (See GradleBuildVariant.id)
     * 
*/ boolean hasTestedId(); /** * optional int64 tested_id = 8; * *
     * For test variants, the tested variant id. (See GradleBuildVariant.id)
     * 
*/ long getTestedId(); } /** * Protobuf type {@code android_studio.GradleBuildVariant} */ public static final class GradleBuildVariant extends com.google.protobuf.GeneratedMessage implements GradleBuildVariantOrBuilder { // Use GradleBuildVariant.newBuilder() to construct. private GradleBuildVariant(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private GradleBuildVariant(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final GradleBuildVariant defaultInstance; public static GradleBuildVariant getDefaultInstance() { return defaultInstance; } public GradleBuildVariant getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GradleBuildVariant( 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; id_ = input.readInt64(); break; } case 16: { bitField0_ |= 0x00000002; isDebug_ = input.readBool(); break; } case 24: { bitField0_ |= 0x00000004; useJack_ = input.readBool(); break; } case 32: { bitField0_ |= 0x00000008; minifyEnabled_ = input.readBool(); break; } case 40: { bitField0_ |= 0x00000010; useMultidex_ = input.readBool(); break; } case 48: { bitField0_ |= 0x00000020; useLegacyMultidex_ = input.readBool(); break; } case 56: { int rawValue = input.readEnum(); com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant.VariantType value = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant.VariantType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(7, rawValue); } else { bitField0_ |= 0x00000040; variantType_ = value; } break; } case 64: { bitField0_ |= 0x00000080; testedId_ = input.readInt64(); 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.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleBuildVariant_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleBuildVariant_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public GradleBuildVariant parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GradleBuildVariant(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } /** * Protobuf enum {@code android_studio.GradleBuildVariant.VariantType} * *
     * The nature of this variant.
     *  The test variants have an associated tested variant.
     *  See com.android.builder.core.VariantType
     * 
*/ public enum VariantType implements com.google.protobuf.ProtocolMessageEnum { /** * APPLICATION = 0; * *
       * For building an APK.
       * 
*/ APPLICATION(0, 0), /** * LIBRARY = 1; * *
       * For building an AAR.
       * 
*/ LIBRARY(1, 1), /** * ANDROID_TEST = 2; * *
       * For building a test APK.
       * 
*/ ANDROID_TEST(2, 2), /** * UNIT_TEST = 3; * *
       * For building unit tests to run locally.
       * 
*/ UNIT_TEST(3, 3), ; /** * APPLICATION = 0; * *
       * For building an APK.
       * 
*/ public static final int APPLICATION_VALUE = 0; /** * LIBRARY = 1; * *
       * For building an AAR.
       * 
*/ public static final int LIBRARY_VALUE = 1; /** * ANDROID_TEST = 2; * *
       * For building a test APK.
       * 
*/ public static final int ANDROID_TEST_VALUE = 2; /** * UNIT_TEST = 3; * *
       * For building unit tests to run locally.
       * 
*/ public static final int UNIT_TEST_VALUE = 3; public final int getNumber() { return value; } public static VariantType valueOf(int value) { switch (value) { case 0: return APPLICATION; case 1: return LIBRARY; case 2: return ANDROID_TEST; case 3: return UNIT_TEST; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public VariantType findValueByNumber(int number) { return VariantType.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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant.getDescriptor().getEnumTypes().get(0); } private static final VariantType[] VALUES = values(); public static VariantType 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 VariantType(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:android_studio.GradleBuildVariant.VariantType) } private int bitField0_; // optional int64 id = 1; public static final int ID_FIELD_NUMBER = 1; private long id_; /** * optional int64 id = 1; * *
     * Identifier, local to this AndroidStudioEvent, for the variant.
     *  Can be used to correlate spans (GradleBuildProfileSpan) with this
     *  project for this build only. Is created by sequentially
     *  numbering variants as they are created.
     *  Is not stable across build invocations.
     * 
*/ public boolean hasId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 id = 1; * *
     * Identifier, local to this AndroidStudioEvent, for the variant.
     *  Can be used to correlate spans (GradleBuildProfileSpan) with this
     *  project for this build only. Is created by sequentially
     *  numbering variants as they are created.
     *  Is not stable across build invocations.
     * 
*/ public long getId() { return id_; } // optional bool is_debug = 2; public static final int IS_DEBUG_FIELD_NUMBER = 2; private boolean isDebug_; /** * optional bool is_debug = 2; * *
     * Whether the variant is debuggable.
     * 
*/ public boolean hasIsDebug() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional bool is_debug = 2; * *
     * Whether the variant is debuggable.
     * 
*/ public boolean getIsDebug() { return isDebug_; } // optional bool use_jack = 3; public static final int USE_JACK_FIELD_NUMBER = 3; private boolean useJack_; /** * optional bool use_jack = 3; * *
     * Whether the variant is compiled using jack
     * 
*/ public boolean hasUseJack() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional bool use_jack = 3; * *
     * Whether the variant is compiled using jack
     * 
*/ public boolean getUseJack() { return useJack_; } // optional bool minify_enabled = 4; public static final int MINIFY_ENABLED_FIELD_NUMBER = 4; private boolean minifyEnabled_; /** * optional bool minify_enabled = 4; * *
     * Whether the variant is minified
     * 
*/ public boolean hasMinifyEnabled() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional bool minify_enabled = 4; * *
     * Whether the variant is minified
     * 
*/ public boolean getMinifyEnabled() { return minifyEnabled_; } // optional bool use_multidex = 5; public static final int USE_MULTIDEX_FIELD_NUMBER = 5; private boolean useMultidex_; /** * optional bool use_multidex = 5; * *
     * Is multidex enabled for the variant
     * 
*/ public boolean hasUseMultidex() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional bool use_multidex = 5; * *
     * Is multidex enabled for the variant
     * 
*/ public boolean getUseMultidex() { return useMultidex_; } // optional bool use_legacy_multidex = 6; public static final int USE_LEGACY_MULTIDEX_FIELD_NUMBER = 6; private boolean useLegacyMultidex_; /** * optional bool use_legacy_multidex = 6; * *
     * Is legacy (pre-api 19) multidex enabled for the variant.
     *  Only can true if use_multidex is also true.
     * 
*/ public boolean hasUseLegacyMultidex() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional bool use_legacy_multidex = 6; * *
     * Is legacy (pre-api 19) multidex enabled for the variant.
     *  Only can true if use_multidex is also true.
     * 
*/ public boolean getUseLegacyMultidex() { return useLegacyMultidex_; } // optional .android_studio.GradleBuildVariant.VariantType variant_type = 7; public static final int VARIANT_TYPE_FIELD_NUMBER = 7; private com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant.VariantType variantType_; /** * optional .android_studio.GradleBuildVariant.VariantType variant_type = 7; * *
     * The type of variant.
     * 
*/ public boolean hasVariantType() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional .android_studio.GradleBuildVariant.VariantType variant_type = 7; * *
     * The type of variant.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant.VariantType getVariantType() { return variantType_; } // optional int64 tested_id = 8; public static final int TESTED_ID_FIELD_NUMBER = 8; private long testedId_; /** * optional int64 tested_id = 8; * *
     * For test variants, the tested variant id. (See GradleBuildVariant.id)
     * 
*/ public boolean hasTestedId() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional int64 tested_id = 8; * *
     * For test variants, the tested variant id. (See GradleBuildVariant.id)
     * 
*/ public long getTestedId() { return testedId_; } private void initFields() { id_ = 0L; isDebug_ = false; useJack_ = false; minifyEnabled_ = false; useMultidex_ = false; useLegacyMultidex_ = false; variantType_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant.VariantType.APPLICATION; testedId_ = 0L; } 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.writeInt64(1, id_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBool(2, isDebug_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(3, useJack_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBool(4, minifyEnabled_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBool(5, useMultidex_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeBool(6, useLegacyMultidex_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeEnum(7, variantType_.getNumber()); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeInt64(8, testedId_); } 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 .computeInt64Size(1, id_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, isDebug_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, useJack_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, minifyEnabled_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(5, useMultidex_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(6, useLegacyMultidex_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(7, variantType_.getNumber()); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(8, testedId_); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant 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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant 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 android_studio.GradleBuildVariant} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariantOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleBuildVariant_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleBuildVariant_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant.Builder.class); } // Construct using com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant.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(); id_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); isDebug_ = false; bitField0_ = (bitField0_ & ~0x00000002); useJack_ = false; bitField0_ = (bitField0_ & ~0x00000004); minifyEnabled_ = false; bitField0_ = (bitField0_ & ~0x00000008); useMultidex_ = false; bitField0_ = (bitField0_ & ~0x00000010); useLegacyMultidex_ = false; bitField0_ = (bitField0_ & ~0x00000020); variantType_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant.VariantType.APPLICATION; bitField0_ = (bitField0_ & ~0x00000040); testedId_ = 0L; bitField0_ = (bitField0_ & ~0x00000080); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleBuildVariant_descriptor; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant getDefaultInstanceForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant.getDefaultInstance(); } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant build() { com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant buildPartial() { com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant result = new com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.id_ = id_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.isDebug_ = isDebug_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.useJack_ = useJack_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.minifyEnabled_ = minifyEnabled_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.useMultidex_ = useMultidex_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.useLegacyMultidex_ = useLegacyMultidex_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.variantType_ = variantType_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } result.testedId_ = testedId_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant) { return mergeFrom((com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant other) { if (other == com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant.getDefaultInstance()) return this; if (other.hasId()) { setId(other.getId()); } if (other.hasIsDebug()) { setIsDebug(other.getIsDebug()); } if (other.hasUseJack()) { setUseJack(other.getUseJack()); } if (other.hasMinifyEnabled()) { setMinifyEnabled(other.getMinifyEnabled()); } if (other.hasUseMultidex()) { setUseMultidex(other.getUseMultidex()); } if (other.hasUseLegacyMultidex()) { setUseLegacyMultidex(other.getUseLegacyMultidex()); } if (other.hasVariantType()) { setVariantType(other.getVariantType()); } if (other.hasTestedId()) { setTestedId(other.getTestedId()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional int64 id = 1; private long id_ ; /** * optional int64 id = 1; * *
       * Identifier, local to this AndroidStudioEvent, for the variant.
       *  Can be used to correlate spans (GradleBuildProfileSpan) with this
       *  project for this build only. Is created by sequentially
       *  numbering variants as they are created.
       *  Is not stable across build invocations.
       * 
*/ public boolean hasId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 id = 1; * *
       * Identifier, local to this AndroidStudioEvent, for the variant.
       *  Can be used to correlate spans (GradleBuildProfileSpan) with this
       *  project for this build only. Is created by sequentially
       *  numbering variants as they are created.
       *  Is not stable across build invocations.
       * 
*/ public long getId() { return id_; } /** * optional int64 id = 1; * *
       * Identifier, local to this AndroidStudioEvent, for the variant.
       *  Can be used to correlate spans (GradleBuildProfileSpan) with this
       *  project for this build only. Is created by sequentially
       *  numbering variants as they are created.
       *  Is not stable across build invocations.
       * 
*/ public Builder setId(long value) { bitField0_ |= 0x00000001; id_ = value; onChanged(); return this; } /** * optional int64 id = 1; * *
       * Identifier, local to this AndroidStudioEvent, for the variant.
       *  Can be used to correlate spans (GradleBuildProfileSpan) with this
       *  project for this build only. Is created by sequentially
       *  numbering variants as they are created.
       *  Is not stable across build invocations.
       * 
*/ public Builder clearId() { bitField0_ = (bitField0_ & ~0x00000001); id_ = 0L; onChanged(); return this; } // optional bool is_debug = 2; private boolean isDebug_ ; /** * optional bool is_debug = 2; * *
       * Whether the variant is debuggable.
       * 
*/ public boolean hasIsDebug() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional bool is_debug = 2; * *
       * Whether the variant is debuggable.
       * 
*/ public boolean getIsDebug() { return isDebug_; } /** * optional bool is_debug = 2; * *
       * Whether the variant is debuggable.
       * 
*/ public Builder setIsDebug(boolean value) { bitField0_ |= 0x00000002; isDebug_ = value; onChanged(); return this; } /** * optional bool is_debug = 2; * *
       * Whether the variant is debuggable.
       * 
*/ public Builder clearIsDebug() { bitField0_ = (bitField0_ & ~0x00000002); isDebug_ = false; onChanged(); return this; } // optional bool use_jack = 3; private boolean useJack_ ; /** * optional bool use_jack = 3; * *
       * Whether the variant is compiled using jack
       * 
*/ public boolean hasUseJack() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional bool use_jack = 3; * *
       * Whether the variant is compiled using jack
       * 
*/ public boolean getUseJack() { return useJack_; } /** * optional bool use_jack = 3; * *
       * Whether the variant is compiled using jack
       * 
*/ public Builder setUseJack(boolean value) { bitField0_ |= 0x00000004; useJack_ = value; onChanged(); return this; } /** * optional bool use_jack = 3; * *
       * Whether the variant is compiled using jack
       * 
*/ public Builder clearUseJack() { bitField0_ = (bitField0_ & ~0x00000004); useJack_ = false; onChanged(); return this; } // optional bool minify_enabled = 4; private boolean minifyEnabled_ ; /** * optional bool minify_enabled = 4; * *
       * Whether the variant is minified
       * 
*/ public boolean hasMinifyEnabled() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional bool minify_enabled = 4; * *
       * Whether the variant is minified
       * 
*/ public boolean getMinifyEnabled() { return minifyEnabled_; } /** * optional bool minify_enabled = 4; * *
       * Whether the variant is minified
       * 
*/ public Builder setMinifyEnabled(boolean value) { bitField0_ |= 0x00000008; minifyEnabled_ = value; onChanged(); return this; } /** * optional bool minify_enabled = 4; * *
       * Whether the variant is minified
       * 
*/ public Builder clearMinifyEnabled() { bitField0_ = (bitField0_ & ~0x00000008); minifyEnabled_ = false; onChanged(); return this; } // optional bool use_multidex = 5; private boolean useMultidex_ ; /** * optional bool use_multidex = 5; * *
       * Is multidex enabled for the variant
       * 
*/ public boolean hasUseMultidex() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional bool use_multidex = 5; * *
       * Is multidex enabled for the variant
       * 
*/ public boolean getUseMultidex() { return useMultidex_; } /** * optional bool use_multidex = 5; * *
       * Is multidex enabled for the variant
       * 
*/ public Builder setUseMultidex(boolean value) { bitField0_ |= 0x00000010; useMultidex_ = value; onChanged(); return this; } /** * optional bool use_multidex = 5; * *
       * Is multidex enabled for the variant
       * 
*/ public Builder clearUseMultidex() { bitField0_ = (bitField0_ & ~0x00000010); useMultidex_ = false; onChanged(); return this; } // optional bool use_legacy_multidex = 6; private boolean useLegacyMultidex_ ; /** * optional bool use_legacy_multidex = 6; * *
       * Is legacy (pre-api 19) multidex enabled for the variant.
       *  Only can true if use_multidex is also true.
       * 
*/ public boolean hasUseLegacyMultidex() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional bool use_legacy_multidex = 6; * *
       * Is legacy (pre-api 19) multidex enabled for the variant.
       *  Only can true if use_multidex is also true.
       * 
*/ public boolean getUseLegacyMultidex() { return useLegacyMultidex_; } /** * optional bool use_legacy_multidex = 6; * *
       * Is legacy (pre-api 19) multidex enabled for the variant.
       *  Only can true if use_multidex is also true.
       * 
*/ public Builder setUseLegacyMultidex(boolean value) { bitField0_ |= 0x00000020; useLegacyMultidex_ = value; onChanged(); return this; } /** * optional bool use_legacy_multidex = 6; * *
       * Is legacy (pre-api 19) multidex enabled for the variant.
       *  Only can true if use_multidex is also true.
       * 
*/ public Builder clearUseLegacyMultidex() { bitField0_ = (bitField0_ & ~0x00000020); useLegacyMultidex_ = false; onChanged(); return this; } // optional .android_studio.GradleBuildVariant.VariantType variant_type = 7; private com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant.VariantType variantType_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant.VariantType.APPLICATION; /** * optional .android_studio.GradleBuildVariant.VariantType variant_type = 7; * *
       * The type of variant.
       * 
*/ public boolean hasVariantType() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional .android_studio.GradleBuildVariant.VariantType variant_type = 7; * *
       * The type of variant.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant.VariantType getVariantType() { return variantType_; } /** * optional .android_studio.GradleBuildVariant.VariantType variant_type = 7; * *
       * The type of variant.
       * 
*/ public Builder setVariantType(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant.VariantType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; variantType_ = value; onChanged(); return this; } /** * optional .android_studio.GradleBuildVariant.VariantType variant_type = 7; * *
       * The type of variant.
       * 
*/ public Builder clearVariantType() { bitField0_ = (bitField0_ & ~0x00000040); variantType_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant.VariantType.APPLICATION; onChanged(); return this; } // optional int64 tested_id = 8; private long testedId_ ; /** * optional int64 tested_id = 8; * *
       * For test variants, the tested variant id. (See GradleBuildVariant.id)
       * 
*/ public boolean hasTestedId() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional int64 tested_id = 8; * *
       * For test variants, the tested variant id. (See GradleBuildVariant.id)
       * 
*/ public long getTestedId() { return testedId_; } /** * optional int64 tested_id = 8; * *
       * For test variants, the tested variant id. (See GradleBuildVariant.id)
       * 
*/ public Builder setTestedId(long value) { bitField0_ |= 0x00000080; testedId_ = value; onChanged(); return this; } /** * optional int64 tested_id = 8; * *
       * For test variants, the tested variant id. (See GradleBuildVariant.id)
       * 
*/ public Builder clearTestedId() { bitField0_ = (bitField0_ & ~0x00000080); testedId_ = 0L; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:android_studio.GradleBuildVariant) } static { defaultInstance = new GradleBuildVariant(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:android_studio.GradleBuildVariant) } public interface GradleBuildMemorySampleOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional int64 gc_time_ms = 1; /** * optional int64 gc_time_ms = 1; * *
     * Garbage collection time since the current daemon started.
     * 
*/ boolean hasGcTimeMs(); /** * optional int64 gc_time_ms = 1; * *
     * Garbage collection time since the current daemon started.
     * 
*/ long getGcTimeMs(); // optional int64 gc_count = 2; /** * optional int64 gc_count = 2; * *
     * Garbage collection count since the current daemon started.
     * 
*/ boolean hasGcCount(); /** * optional int64 gc_count = 2; * *
     * Garbage collection count since the current daemon started.
     * 
*/ long getGcCount(); // optional int64 timestamp = 3; /** * optional int64 timestamp = 3; * *
     * Time that the memory stats were collected.
     * 
*/ boolean hasTimestamp(); /** * optional int64 timestamp = 3; * *
     * Time that the memory stats were collected.
     * 
*/ long getTimestamp(); } /** * Protobuf type {@code android_studio.GradleBuildMemorySample} */ public static final class GradleBuildMemorySample extends com.google.protobuf.GeneratedMessage implements GradleBuildMemorySampleOrBuilder { // Use GradleBuildMemorySample.newBuilder() to construct. private GradleBuildMemorySample(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private GradleBuildMemorySample(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final GradleBuildMemorySample defaultInstance; public static GradleBuildMemorySample getDefaultInstance() { return defaultInstance; } public GradleBuildMemorySample getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GradleBuildMemorySample( 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; gcTimeMs_ = input.readInt64(); break; } case 16: { bitField0_ |= 0x00000002; gcCount_ = input.readInt64(); break; } case 24: { bitField0_ |= 0x00000004; timestamp_ = input.readInt64(); 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.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleBuildMemorySample_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleBuildMemorySample_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public GradleBuildMemorySample parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GradleBuildMemorySample(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional int64 gc_time_ms = 1; public static final int GC_TIME_MS_FIELD_NUMBER = 1; private long gcTimeMs_; /** * optional int64 gc_time_ms = 1; * *
     * Garbage collection time since the current daemon started.
     * 
*/ public boolean hasGcTimeMs() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 gc_time_ms = 1; * *
     * Garbage collection time since the current daemon started.
     * 
*/ public long getGcTimeMs() { return gcTimeMs_; } // optional int64 gc_count = 2; public static final int GC_COUNT_FIELD_NUMBER = 2; private long gcCount_; /** * optional int64 gc_count = 2; * *
     * Garbage collection count since the current daemon started.
     * 
*/ public boolean hasGcCount() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int64 gc_count = 2; * *
     * Garbage collection count since the current daemon started.
     * 
*/ public long getGcCount() { return gcCount_; } // optional int64 timestamp = 3; public static final int TIMESTAMP_FIELD_NUMBER = 3; private long timestamp_; /** * optional int64 timestamp = 3; * *
     * Time that the memory stats were collected.
     * 
*/ public boolean hasTimestamp() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional int64 timestamp = 3; * *
     * Time that the memory stats were collected.
     * 
*/ public long getTimestamp() { return timestamp_; } private void initFields() { gcTimeMs_ = 0L; gcCount_ = 0L; timestamp_ = 0L; } 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.writeInt64(1, gcTimeMs_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt64(2, gcCount_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt64(3, timestamp_); } 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 .computeInt64Size(1, gcTimeMs_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, gcCount_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, timestamp_); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample 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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample 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 android_studio.GradleBuildMemorySample} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySampleOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleBuildMemorySample_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleBuildMemorySample_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample.Builder.class); } // Construct using com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample.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(); gcTimeMs_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); gcCount_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); timestamp_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleBuildMemorySample_descriptor; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample getDefaultInstanceForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample.getDefaultInstance(); } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample build() { com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample buildPartial() { com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample result = new com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.gcTimeMs_ = gcTimeMs_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.gcCount_ = gcCount_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.timestamp_ = timestamp_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample) { return mergeFrom((com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample other) { if (other == com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample.getDefaultInstance()) return this; if (other.hasGcTimeMs()) { setGcTimeMs(other.getGcTimeMs()); } if (other.hasGcCount()) { setGcCount(other.getGcCount()); } if (other.hasTimestamp()) { setTimestamp(other.getTimestamp()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional int64 gc_time_ms = 1; private long gcTimeMs_ ; /** * optional int64 gc_time_ms = 1; * *
       * Garbage collection time since the current daemon started.
       * 
*/ public boolean hasGcTimeMs() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 gc_time_ms = 1; * *
       * Garbage collection time since the current daemon started.
       * 
*/ public long getGcTimeMs() { return gcTimeMs_; } /** * optional int64 gc_time_ms = 1; * *
       * Garbage collection time since the current daemon started.
       * 
*/ public Builder setGcTimeMs(long value) { bitField0_ |= 0x00000001; gcTimeMs_ = value; onChanged(); return this; } /** * optional int64 gc_time_ms = 1; * *
       * Garbage collection time since the current daemon started.
       * 
*/ public Builder clearGcTimeMs() { bitField0_ = (bitField0_ & ~0x00000001); gcTimeMs_ = 0L; onChanged(); return this; } // optional int64 gc_count = 2; private long gcCount_ ; /** * optional int64 gc_count = 2; * *
       * Garbage collection count since the current daemon started.
       * 
*/ public boolean hasGcCount() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int64 gc_count = 2; * *
       * Garbage collection count since the current daemon started.
       * 
*/ public long getGcCount() { return gcCount_; } /** * optional int64 gc_count = 2; * *
       * Garbage collection count since the current daemon started.
       * 
*/ public Builder setGcCount(long value) { bitField0_ |= 0x00000002; gcCount_ = value; onChanged(); return this; } /** * optional int64 gc_count = 2; * *
       * Garbage collection count since the current daemon started.
       * 
*/ public Builder clearGcCount() { bitField0_ = (bitField0_ & ~0x00000002); gcCount_ = 0L; onChanged(); return this; } // optional int64 timestamp = 3; private long timestamp_ ; /** * optional int64 timestamp = 3; * *
       * Time that the memory stats were collected.
       * 
*/ public boolean hasTimestamp() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional int64 timestamp = 3; * *
       * Time that the memory stats were collected.
       * 
*/ public long getTimestamp() { return timestamp_; } /** * optional int64 timestamp = 3; * *
       * Time that the memory stats were collected.
       * 
*/ public Builder setTimestamp(long value) { bitField0_ |= 0x00000004; timestamp_ = value; onChanged(); return this; } /** * optional int64 timestamp = 3; * *
       * Time that the memory stats were collected.
       * 
*/ public Builder clearTimestamp() { bitField0_ = (bitField0_ & ~0x00000004); timestamp_ = 0L; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:android_studio.GradleBuildMemorySample) } static { defaultInstance = new GradleBuildMemorySample(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:android_studio.GradleBuildMemorySample) } public interface GradleBuildProfileSpanOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional int64 id = 1; /** * optional int64 id = 1; * *
     * Identifier for this span, created by sequentially allocating IDs to spans
     *  as they start. Used only for the parent-child relationship of spans, to
     *  show execution that is part of another span.
     *  Not stable or meaningful across builds.
     * 
*/ boolean hasId(); /** * optional int64 id = 1; * *
     * Identifier for this span, created by sequentially allocating IDs to spans
     *  as they start. Used only for the parent-child relationship of spans, to
     *  show execution that is part of another span.
     *  Not stable or meaningful across builds.
     * 
*/ long getId(); // optional int64 parent_id = 2; /** * optional int64 parent_id = 2; * *
     * For nested spans: the id for containing span.
     *  See GradleBuildProfileSpan.id.
     * 
*/ boolean hasParentId(); /** * optional int64 parent_id = 2; * *
     * For nested spans: the id for containing span.
     *  See GradleBuildProfileSpan.id.
     * 
*/ long getParentId(); // optional int64 start_time_in_ms = 3; /** * optional int64 start_time_in_ms = 3; * *
     * The start time of this event
     * 
*/ boolean hasStartTimeInMs(); /** * optional int64 start_time_in_ms = 3; * *
     * The start time of this event
     * 
*/ long getStartTimeInMs(); // optional int64 duration_in_ms = 4; /** * optional int64 duration_in_ms = 4; * *
     * The duration of this event. May be zero.
     * 
*/ boolean hasDurationInMs(); /** * optional int64 duration_in_ms = 4; * *
     * The duration of this event. May be zero.
     * 
*/ long getDurationInMs(); // optional .android_studio.GradleBuildProfileSpan.ExecutionType type = 5; /** * optional .android_studio.GradleBuildProfileSpan.ExecutionType type = 5; * *
     * The type of event recorded
     * 
*/ boolean hasType(); /** * optional .android_studio.GradleBuildProfileSpan.ExecutionType type = 5; * *
     * The type of event recorded
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan.ExecutionType getType(); // optional .android_studio.GradleTransformExecution transform = 6; /** * optional .android_studio.GradleTransformExecution transform = 6; * *
     * More informations about the execution of TransformTasks.
     *  Only used when executionType is TASK_TRANSFORM_PREPARATION or
     *  TASK_TRANSFORM.
     * 
*/ boolean hasTransform(); /** * optional .android_studio.GradleTransformExecution transform = 6; * *
     * More informations about the execution of TransformTasks.
     *  Only used when executionType is TASK_TRANSFORM_PREPARATION or
     *  TASK_TRANSFORM.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution getTransform(); /** * optional .android_studio.GradleTransformExecution transform = 6; * *
     * More informations about the execution of TransformTasks.
     *  Only used when executionType is TASK_TRANSFORM_PREPARATION or
     *  TASK_TRANSFORM.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecutionOrBuilder getTransformOrBuilder(); // optional .android_studio.GradleTaskExecution task = 9; /** * optional .android_studio.GradleTaskExecution task = 9; * *
     * More informations about the execution of Tasks.
     *  Only used when executionType is TASK_EXECUTION
     * 
*/ boolean hasTask(); /** * optional .android_studio.GradleTaskExecution task = 9; * *
     * More informations about the execution of Tasks.
     *  Only used when executionType is TASK_EXECUTION
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution getTask(); /** * optional .android_studio.GradleTaskExecution task = 9; * *
     * More informations about the execution of Tasks.
     *  Only used when executionType is TASK_EXECUTION
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecutionOrBuilder getTaskOrBuilder(); // optional int64 project = 7; /** * optional int64 project = 7; * *
     * Session id of the GradleBuildProject that this span is part of.
     *  The ID is not stable nor meaningful over multiple GradleBuildProfile.
     *  See GradleBuildProfile.id
     * 
*/ boolean hasProject(); /** * optional int64 project = 7; * *
     * Session id of the GradleBuildProject that this span is part of.
     *  The ID is not stable nor meaningful over multiple GradleBuildProfile.
     *  See GradleBuildProfile.id
     * 
*/ long getProject(); // optional int64 variant = 8; /** * optional int64 variant = 8; * *
     * Session id of the GradleBuildVariant that this span is part of.
     *  The ID is not stable nor meaningful over multiple GradleBuildProfile.
     *  See GradleBuildVariant.id
     * 
*/ boolean hasVariant(); /** * optional int64 variant = 8; * *
     * Session id of the GradleBuildVariant that this span is part of.
     *  The ID is not stable nor meaningful over multiple GradleBuildProfile.
     *  See GradleBuildVariant.id
     * 
*/ long getVariant(); } /** * Protobuf type {@code android_studio.GradleBuildProfileSpan} * *
   * A single execution span from a build.
   *  For example, a task execution or creation of some tasks for a variant.
   * 
*/ public static final class GradleBuildProfileSpan extends com.google.protobuf.GeneratedMessage implements GradleBuildProfileSpanOrBuilder { // Use GradleBuildProfileSpan.newBuilder() to construct. private GradleBuildProfileSpan(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private GradleBuildProfileSpan(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final GradleBuildProfileSpan defaultInstance; public static GradleBuildProfileSpan getDefaultInstance() { return defaultInstance; } public GradleBuildProfileSpan getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GradleBuildProfileSpan( 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; id_ = input.readInt64(); break; } case 16: { bitField0_ |= 0x00000002; parentId_ = input.readInt64(); break; } case 24: { bitField0_ |= 0x00000004; startTimeInMs_ = input.readInt64(); break; } case 32: { bitField0_ |= 0x00000008; durationInMs_ = input.readInt64(); break; } case 40: { int rawValue = input.readEnum(); com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan.ExecutionType value = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan.ExecutionType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(5, rawValue); } else { bitField0_ |= 0x00000010; type_ = value; } break; } case 50: { com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution.Builder subBuilder = null; if (((bitField0_ & 0x00000020) == 0x00000020)) { subBuilder = transform_.toBuilder(); } transform_ = input.readMessage(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(transform_); transform_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000020; break; } case 56: { bitField0_ |= 0x00000080; project_ = input.readInt64(); break; } case 64: { bitField0_ |= 0x00000100; variant_ = input.readInt64(); break; } case 74: { com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution.Builder subBuilder = null; if (((bitField0_ & 0x00000040) == 0x00000040)) { subBuilder = task_.toBuilder(); } task_ = input.readMessage(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(task_); task_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000040; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleBuildProfileSpan_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleBuildProfileSpan_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public GradleBuildProfileSpan parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GradleBuildProfileSpan(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } /** * Protobuf enum {@code android_studio.GradleBuildProfileSpan.ExecutionType} * *
     * The type of execution.
     *  This was originally com.android.builder.profile.ExecutionType.
     * 
*/ public enum ExecutionType implements com.google.protobuf.ProtocolMessageEnum { /** * SOME_RANDOM_PROCESSING = 1; */ SOME_RANDOM_PROCESSING(0, 1), /** * BASE_PLUGIN_PROJECT_CONFIGURE = 2; */ BASE_PLUGIN_PROJECT_CONFIGURE(1, 2), /** * BASE_PLUGIN_PROJECT_BASE_EXTENSION_CREATION = 3; */ BASE_PLUGIN_PROJECT_BASE_EXTENSION_CREATION(2, 3), /** * BASE_PLUGIN_PROJECT_TASKS_CREATION = 4; */ BASE_PLUGIN_PROJECT_TASKS_CREATION(3, 4), /** * BASE_PLUGIN_BUILD_FINISHED = 5; */ BASE_PLUGIN_BUILD_FINISHED(4, 5), /** * TASK_MANAGER_CREATE_TASKS = 6; */ TASK_MANAGER_CREATE_TASKS(5, 6), /** * BASE_PLUGIN_CREATE_ANDROID_TASKS = 7; */ BASE_PLUGIN_CREATE_ANDROID_TASKS(6, 7), /** * VARIANT_MANAGER_CREATE_ANDROID_TASKS = 8; */ VARIANT_MANAGER_CREATE_ANDROID_TASKS(7, 8), /** * VARIANT_MANAGER_CREATE_TASKS_FOR_VARIANT = 9; */ VARIANT_MANAGER_CREATE_TASKS_FOR_VARIANT(8, 9), /** * VARIANT_MANAGER_CREATE_LINT_TASKS = 10; */ VARIANT_MANAGER_CREATE_LINT_TASKS(9, 10), /** * VARIANT_MANAGER_CREATE_TESTS_TASKS = 11; */ VARIANT_MANAGER_CREATE_TESTS_TASKS(10, 11), /** * VARIANT_MANAGER_CREATE_VARIANTS = 12; */ VARIANT_MANAGER_CREATE_VARIANTS(11, 12), /** * RESOLVE_DEPENDENCIES = 13; */ RESOLVE_DEPENDENCIES(12, 13), /** * TASK_EXECUTION = 14; */ TASK_EXECUTION(13, 14), /** * INITIAL_METADATA = 100; */ INITIAL_METADATA(14, 100), /** * FINAL_METADATA = 101; */ FINAL_METADATA(15, 101), /** * GENERAL_CONFIG = 102; */ GENERAL_CONFIG(16, 102), /** * VARIANT_CONFIG = 103; */ VARIANT_CONFIG(17, 103), /** * VARIANT_MANAGER_EXTERNAL_NATIVE_CONFIG_VALUES = 104; */ VARIANT_MANAGER_EXTERNAL_NATIVE_CONFIG_VALUES(18, 104), /** * APK_METRICS = 105; */ APK_METRICS(19, 105), /** * APP_TASK_MANAGER_CREATE_MERGE_MANIFEST_TASK = 1000; * *
       * ApplicationTaskManager per variant tasks.
       * 
*/ APP_TASK_MANAGER_CREATE_MERGE_MANIFEST_TASK(20, 1000), /** * APP_TASK_MANAGER_CREATE_GENERATE_RES_VALUES_TASK = 1001; */ APP_TASK_MANAGER_CREATE_GENERATE_RES_VALUES_TASK(21, 1001), /** * APP_TASK_MANAGER_CREATE_CREATE_RENDERSCRIPT_TASK = 1002; */ APP_TASK_MANAGER_CREATE_CREATE_RENDERSCRIPT_TASK(22, 1002), /** * APP_TASK_MANAGER_CREATE_MERGE_RESOURCES_TASK = 1003; */ APP_TASK_MANAGER_CREATE_MERGE_RESOURCES_TASK(23, 1003), /** * APP_TASK_MANAGER_CREATE_MERGE_ASSETS_TASK = 1004; */ APP_TASK_MANAGER_CREATE_MERGE_ASSETS_TASK(24, 1004), /** * APP_TASK_MANAGER_CREATE_BUILD_CONFIG_TASK = 1005; */ APP_TASK_MANAGER_CREATE_BUILD_CONFIG_TASK(25, 1005), /** * APP_TASK_MANAGER_CREATE_PROCESS_RES_TASK = 1006; */ APP_TASK_MANAGER_CREATE_PROCESS_RES_TASK(26, 1006), /** * APP_TASK_MANAGER_CREATE_AIDL_TASK = 1007; */ APP_TASK_MANAGER_CREATE_AIDL_TASK(27, 1007), /** * APP_TASK_MANAGER_CREATE_COMPILE_TASK = 1008; */ APP_TASK_MANAGER_CREATE_COMPILE_TASK(28, 1008), /** * APP_TASK_MANAGER_CREATE_NDK_TASK = 1009; */ APP_TASK_MANAGER_CREATE_NDK_TASK(29, 1009), /** * APP_TASK_MANAGER_CREATE_SPLIT_TASK = 1010; */ APP_TASK_MANAGER_CREATE_SPLIT_TASK(30, 1010), /** * APP_TASK_MANAGER_CREATE_PACKAGING_TASK = 1011; */ APP_TASK_MANAGER_CREATE_PACKAGING_TASK(31, 1011), /** * APP_TASK_MANAGER_CREATE_PREPROCESS_RESOURCES_TASK = 1012; */ APP_TASK_MANAGER_CREATE_PREPROCESS_RESOURCES_TASK(32, 1012), /** * APP_TASK_MANAGER_CREATE_BACKPORT_RESOURCES_TASK = 1013; */ APP_TASK_MANAGER_CREATE_BACKPORT_RESOURCES_TASK(33, 1013), /** * APP_TASK_MANAGER_CREATE_LINT_TASK = 1014; */ APP_TASK_MANAGER_CREATE_LINT_TASK(34, 1014), /** * APP_TASK_MANAGER_CREATE_MERGE_JNILIBS_FOLDERS_TASK = 1015; */ APP_TASK_MANAGER_CREATE_MERGE_JNILIBS_FOLDERS_TASK(35, 1015), /** * APP_TASK_MANAGER_CREATE_SHADER_TASK = 1016; */ APP_TASK_MANAGER_CREATE_SHADER_TASK(36, 1016), /** * APP_TASK_MANAGER_CREATE_EXTERNAL_NATIVE_BUILD_TASK = 1017; */ APP_TASK_MANAGER_CREATE_EXTERNAL_NATIVE_BUILD_TASK(37, 1017), /** * APP_TASK_MANAGER_CREATE_STRIP_NATIVE_LIBRARY_TASK = 1018; */ APP_TASK_MANAGER_CREATE_STRIP_NATIVE_LIBRARY_TASK(38, 1018), /** * LIB_TASK_MANAGER_CREATE_MERGE_MANIFEST_TASK = 2000; * *
       * LibraryTaskManager per variant tasks.
       * 
*/ LIB_TASK_MANAGER_CREATE_MERGE_MANIFEST_TASK(39, 2000), /** * LIB_TASK_MANAGER_CREATE_GENERATE_RES_VALUES_TASK = 2001; */ LIB_TASK_MANAGER_CREATE_GENERATE_RES_VALUES_TASK(40, 2001), /** * LIB_TASK_MANAGER_CREATE_CREATE_RENDERSCRIPT_TASK = 2002; */ LIB_TASK_MANAGER_CREATE_CREATE_RENDERSCRIPT_TASK(41, 2002), /** * LIB_TASK_MANAGER_CREATE_MERGE_RESOURCES_TASK = 2003; */ LIB_TASK_MANAGER_CREATE_MERGE_RESOURCES_TASK(42, 2003), /** * LIB_TASK_MANAGER_CREATE_MERGE_ASSETS_TASK = 2004; */ LIB_TASK_MANAGER_CREATE_MERGE_ASSETS_TASK(43, 2004), /** * LIB_TASK_MANAGER_CREATE_BUILD_CONFIG_TASK = 2005; */ LIB_TASK_MANAGER_CREATE_BUILD_CONFIG_TASK(44, 2005), /** * LIB_TASK_MANAGER_CREATE_PROCESS_RES_TASK = 2006; */ LIB_TASK_MANAGER_CREATE_PROCESS_RES_TASK(45, 2006), /** * LIB_TASK_MANAGER_CREATE_AIDL_TASK = 2007; */ LIB_TASK_MANAGER_CREATE_AIDL_TASK(46, 2007), /** * LIB_TASK_MANAGER_CREATE_COMPILE_TASK = 2008; */ LIB_TASK_MANAGER_CREATE_COMPILE_TASK(47, 2008), /** * LIB_TASK_MANAGER_CREATE_NDK_TASK = 2009; */ LIB_TASK_MANAGER_CREATE_NDK_TASK(48, 2009), /** * LIB_TASK_MANAGER_CREATE_SPLIT_TASK = 2010; */ LIB_TASK_MANAGER_CREATE_SPLIT_TASK(49, 2010), /** * LIB_TASK_MANAGER_CREATE_PACKAGING_TASK = 2011; */ LIB_TASK_MANAGER_CREATE_PACKAGING_TASK(50, 2011), /** * LIB_TASK_MANAGER_CREATE_MERGE_PROGUARD_FILE_TASK = 2012; */ LIB_TASK_MANAGER_CREATE_MERGE_PROGUARD_FILE_TASK(51, 2012), /** * LIB_TASK_MANAGER_CREATE_POST_COMPILATION_TASK = 2013; */ LIB_TASK_MANAGER_CREATE_POST_COMPILATION_TASK(52, 2013), /** * LIB_TASK_MANAGER_CREATE_PROGUARD_TASK = 2014; */ LIB_TASK_MANAGER_CREATE_PROGUARD_TASK(53, 2014), /** * LIB_TASK_MANAGER_CREATE_PACKAGE_LOCAL_JAR = 2015; */ LIB_TASK_MANAGER_CREATE_PACKAGE_LOCAL_JAR(54, 2015), /** * LIB_TASK_MANAGER_CREATE_BACKPORT_RESOURCES_TASK = 2016; */ LIB_TASK_MANAGER_CREATE_BACKPORT_RESOURCES_TASK(55, 2016), /** * LIB_TASK_MANAGER_CREATE_LINT_TASK = 2017; */ LIB_TASK_MANAGER_CREATE_LINT_TASK(56, 2017), /** * LIB_TASK_MANAGER_CREATE_SHADER_TASK = 2018; */ LIB_TASK_MANAGER_CREATE_SHADER_TASK(57, 2018), /** * LIB_TASK_MANAGER_CREATE_EXTERNAL_NATIVE_BUILD_TASK = 2019; */ LIB_TASK_MANAGER_CREATE_EXTERNAL_NATIVE_BUILD_TASK(58, 2019), /** * GENERIC_TASK_EXECUTION = 3000; * *
       * Task execution: Deprecated, use TASK_EXECUTION and
       *  GradleTaskExecution#Type instead.
       *  Deprecated July 2016.
       * 
*/ GENERIC_TASK_EXECUTION(59, 3000), /** * TASK_AIDL_COMPILE = 3001; */ TASK_AIDL_COMPILE(60, 3001), /** * TASK_DELETE = 3002; */ TASK_DELETE(61, 3002), /** * TASK_CHECK_MANIFEST = 3003; */ TASK_CHECK_MANIFEST(62, 3003), /** * TASK_PREPARE_DEPENDENCIES_TASK = 3004; */ TASK_PREPARE_DEPENDENCIES_TASK(63, 3004), /** * TASK_RENDERSCRIPT_COMPILE = 3005; */ TASK_RENDERSCRIPT_COMPILE(64, 3005), /** * TASK_GENERATE_BUILD_CONFIG = 3006; */ TASK_GENERATE_BUILD_CONFIG(65, 3006), /** * TASK_MERGE_ASSETS = 3007; */ TASK_MERGE_ASSETS(66, 3007), /** * TASK_GENERATE_RES_VALUES = 3008; */ TASK_GENERATE_RES_VALUES(67, 3008), /** * TASK_MERGE_RESOURCES = 3009; */ TASK_MERGE_RESOURCES(68, 3009), /** * TASK_MERGE_MANIFESTS = 3010; */ TASK_MERGE_MANIFESTS(69, 3010), /** * TASK_PROCESS_ANDROID_RESOURCES = 3011; */ TASK_PROCESS_ANDROID_RESOURCES(70, 3011), /** * TASK_JAVA_COMPILE = 3012; */ TASK_JAVA_COMPILE(71, 3012), /** * TASK_NDK_COMPILE = 3013; */ TASK_NDK_COMPILE(72, 3013), /** * TASK_PRE_DEX = 3014; */ TASK_PRE_DEX(73, 3014), /** * TASK_DEX = 3015; */ TASK_DEX(74, 3015), /** * TASK_PACKAGE_SPLIT_RES = 3016; */ TASK_PACKAGE_SPLIT_RES(75, 3016), /** * TASK_PROCESS_RESOURCES = 3017; */ TASK_PROCESS_RESOURCES(76, 3017), /** * TASK_VALIDATE_SIGNING_TASK = 3018; */ TASK_VALIDATE_SIGNING_TASK(77, 3018), /** * TASK_PACKAGE_APPLICATION = 3019; */ TASK_PACKAGE_APPLICATION(78, 3019), /** * TASK_SPLIT_ZIP_ALIGN = 3020; */ TASK_SPLIT_ZIP_ALIGN(79, 3020), /** * TASK_ZIP_ALIGN = 3021; */ TASK_ZIP_ALIGN(80, 3021), /** * TASK_COPY = 3022; */ TASK_COPY(81, 3022), /** * TASK_LINT = 3023; */ TASK_LINT(82, 3023), /** * TASK_FILE_VERIFICATION = 3026; */ TASK_FILE_VERIFICATION(83, 3026), /** * TASK_EXTERNAL_NATIVE_BUILD_GENERATE_JSON_PROCESS_PER_ABI = 3027; */ TASK_EXTERNAL_NATIVE_BUILD_GENERATE_JSON_PROCESS_PER_ABI(84, 3027), /** * TASK_EXTERNAL_NATIVE_BUILD_GENERATE_JSON_PROCESS = 3028; */ TASK_EXTERNAL_NATIVE_BUILD_GENERATE_JSON_PROCESS(85, 3028), /** * TASK_TRANSFORM_PREPARATION = 3024; * *
       * Transform execution
       * 
*/ TASK_TRANSFORM_PREPARATION(86, 3024), /** * TASK_TRANSFORM = 3025; */ TASK_TRANSFORM(87, 3025), ; /** * SOME_RANDOM_PROCESSING = 1; */ public static final int SOME_RANDOM_PROCESSING_VALUE = 1; /** * BASE_PLUGIN_PROJECT_CONFIGURE = 2; */ public static final int BASE_PLUGIN_PROJECT_CONFIGURE_VALUE = 2; /** * BASE_PLUGIN_PROJECT_BASE_EXTENSION_CREATION = 3; */ public static final int BASE_PLUGIN_PROJECT_BASE_EXTENSION_CREATION_VALUE = 3; /** * BASE_PLUGIN_PROJECT_TASKS_CREATION = 4; */ public static final int BASE_PLUGIN_PROJECT_TASKS_CREATION_VALUE = 4; /** * BASE_PLUGIN_BUILD_FINISHED = 5; */ public static final int BASE_PLUGIN_BUILD_FINISHED_VALUE = 5; /** * TASK_MANAGER_CREATE_TASKS = 6; */ public static final int TASK_MANAGER_CREATE_TASKS_VALUE = 6; /** * BASE_PLUGIN_CREATE_ANDROID_TASKS = 7; */ public static final int BASE_PLUGIN_CREATE_ANDROID_TASKS_VALUE = 7; /** * VARIANT_MANAGER_CREATE_ANDROID_TASKS = 8; */ public static final int VARIANT_MANAGER_CREATE_ANDROID_TASKS_VALUE = 8; /** * VARIANT_MANAGER_CREATE_TASKS_FOR_VARIANT = 9; */ public static final int VARIANT_MANAGER_CREATE_TASKS_FOR_VARIANT_VALUE = 9; /** * VARIANT_MANAGER_CREATE_LINT_TASKS = 10; */ public static final int VARIANT_MANAGER_CREATE_LINT_TASKS_VALUE = 10; /** * VARIANT_MANAGER_CREATE_TESTS_TASKS = 11; */ public static final int VARIANT_MANAGER_CREATE_TESTS_TASKS_VALUE = 11; /** * VARIANT_MANAGER_CREATE_VARIANTS = 12; */ public static final int VARIANT_MANAGER_CREATE_VARIANTS_VALUE = 12; /** * RESOLVE_DEPENDENCIES = 13; */ public static final int RESOLVE_DEPENDENCIES_VALUE = 13; /** * TASK_EXECUTION = 14; */ public static final int TASK_EXECUTION_VALUE = 14; /** * INITIAL_METADATA = 100; */ public static final int INITIAL_METADATA_VALUE = 100; /** * FINAL_METADATA = 101; */ public static final int FINAL_METADATA_VALUE = 101; /** * GENERAL_CONFIG = 102; */ public static final int GENERAL_CONFIG_VALUE = 102; /** * VARIANT_CONFIG = 103; */ public static final int VARIANT_CONFIG_VALUE = 103; /** * VARIANT_MANAGER_EXTERNAL_NATIVE_CONFIG_VALUES = 104; */ public static final int VARIANT_MANAGER_EXTERNAL_NATIVE_CONFIG_VALUES_VALUE = 104; /** * APK_METRICS = 105; */ public static final int APK_METRICS_VALUE = 105; /** * APP_TASK_MANAGER_CREATE_MERGE_MANIFEST_TASK = 1000; * *
       * ApplicationTaskManager per variant tasks.
       * 
*/ public static final int APP_TASK_MANAGER_CREATE_MERGE_MANIFEST_TASK_VALUE = 1000; /** * APP_TASK_MANAGER_CREATE_GENERATE_RES_VALUES_TASK = 1001; */ public static final int APP_TASK_MANAGER_CREATE_GENERATE_RES_VALUES_TASK_VALUE = 1001; /** * APP_TASK_MANAGER_CREATE_CREATE_RENDERSCRIPT_TASK = 1002; */ public static final int APP_TASK_MANAGER_CREATE_CREATE_RENDERSCRIPT_TASK_VALUE = 1002; /** * APP_TASK_MANAGER_CREATE_MERGE_RESOURCES_TASK = 1003; */ public static final int APP_TASK_MANAGER_CREATE_MERGE_RESOURCES_TASK_VALUE = 1003; /** * APP_TASK_MANAGER_CREATE_MERGE_ASSETS_TASK = 1004; */ public static final int APP_TASK_MANAGER_CREATE_MERGE_ASSETS_TASK_VALUE = 1004; /** * APP_TASK_MANAGER_CREATE_BUILD_CONFIG_TASK = 1005; */ public static final int APP_TASK_MANAGER_CREATE_BUILD_CONFIG_TASK_VALUE = 1005; /** * APP_TASK_MANAGER_CREATE_PROCESS_RES_TASK = 1006; */ public static final int APP_TASK_MANAGER_CREATE_PROCESS_RES_TASK_VALUE = 1006; /** * APP_TASK_MANAGER_CREATE_AIDL_TASK = 1007; */ public static final int APP_TASK_MANAGER_CREATE_AIDL_TASK_VALUE = 1007; /** * APP_TASK_MANAGER_CREATE_COMPILE_TASK = 1008; */ public static final int APP_TASK_MANAGER_CREATE_COMPILE_TASK_VALUE = 1008; /** * APP_TASK_MANAGER_CREATE_NDK_TASK = 1009; */ public static final int APP_TASK_MANAGER_CREATE_NDK_TASK_VALUE = 1009; /** * APP_TASK_MANAGER_CREATE_SPLIT_TASK = 1010; */ public static final int APP_TASK_MANAGER_CREATE_SPLIT_TASK_VALUE = 1010; /** * APP_TASK_MANAGER_CREATE_PACKAGING_TASK = 1011; */ public static final int APP_TASK_MANAGER_CREATE_PACKAGING_TASK_VALUE = 1011; /** * APP_TASK_MANAGER_CREATE_PREPROCESS_RESOURCES_TASK = 1012; */ public static final int APP_TASK_MANAGER_CREATE_PREPROCESS_RESOURCES_TASK_VALUE = 1012; /** * APP_TASK_MANAGER_CREATE_BACKPORT_RESOURCES_TASK = 1013; */ public static final int APP_TASK_MANAGER_CREATE_BACKPORT_RESOURCES_TASK_VALUE = 1013; /** * APP_TASK_MANAGER_CREATE_LINT_TASK = 1014; */ public static final int APP_TASK_MANAGER_CREATE_LINT_TASK_VALUE = 1014; /** * APP_TASK_MANAGER_CREATE_MERGE_JNILIBS_FOLDERS_TASK = 1015; */ public static final int APP_TASK_MANAGER_CREATE_MERGE_JNILIBS_FOLDERS_TASK_VALUE = 1015; /** * APP_TASK_MANAGER_CREATE_SHADER_TASK = 1016; */ public static final int APP_TASK_MANAGER_CREATE_SHADER_TASK_VALUE = 1016; /** * APP_TASK_MANAGER_CREATE_EXTERNAL_NATIVE_BUILD_TASK = 1017; */ public static final int APP_TASK_MANAGER_CREATE_EXTERNAL_NATIVE_BUILD_TASK_VALUE = 1017; /** * APP_TASK_MANAGER_CREATE_STRIP_NATIVE_LIBRARY_TASK = 1018; */ public static final int APP_TASK_MANAGER_CREATE_STRIP_NATIVE_LIBRARY_TASK_VALUE = 1018; /** * LIB_TASK_MANAGER_CREATE_MERGE_MANIFEST_TASK = 2000; * *
       * LibraryTaskManager per variant tasks.
       * 
*/ public static final int LIB_TASK_MANAGER_CREATE_MERGE_MANIFEST_TASK_VALUE = 2000; /** * LIB_TASK_MANAGER_CREATE_GENERATE_RES_VALUES_TASK = 2001; */ public static final int LIB_TASK_MANAGER_CREATE_GENERATE_RES_VALUES_TASK_VALUE = 2001; /** * LIB_TASK_MANAGER_CREATE_CREATE_RENDERSCRIPT_TASK = 2002; */ public static final int LIB_TASK_MANAGER_CREATE_CREATE_RENDERSCRIPT_TASK_VALUE = 2002; /** * LIB_TASK_MANAGER_CREATE_MERGE_RESOURCES_TASK = 2003; */ public static final int LIB_TASK_MANAGER_CREATE_MERGE_RESOURCES_TASK_VALUE = 2003; /** * LIB_TASK_MANAGER_CREATE_MERGE_ASSETS_TASK = 2004; */ public static final int LIB_TASK_MANAGER_CREATE_MERGE_ASSETS_TASK_VALUE = 2004; /** * LIB_TASK_MANAGER_CREATE_BUILD_CONFIG_TASK = 2005; */ public static final int LIB_TASK_MANAGER_CREATE_BUILD_CONFIG_TASK_VALUE = 2005; /** * LIB_TASK_MANAGER_CREATE_PROCESS_RES_TASK = 2006; */ public static final int LIB_TASK_MANAGER_CREATE_PROCESS_RES_TASK_VALUE = 2006; /** * LIB_TASK_MANAGER_CREATE_AIDL_TASK = 2007; */ public static final int LIB_TASK_MANAGER_CREATE_AIDL_TASK_VALUE = 2007; /** * LIB_TASK_MANAGER_CREATE_COMPILE_TASK = 2008; */ public static final int LIB_TASK_MANAGER_CREATE_COMPILE_TASK_VALUE = 2008; /** * LIB_TASK_MANAGER_CREATE_NDK_TASK = 2009; */ public static final int LIB_TASK_MANAGER_CREATE_NDK_TASK_VALUE = 2009; /** * LIB_TASK_MANAGER_CREATE_SPLIT_TASK = 2010; */ public static final int LIB_TASK_MANAGER_CREATE_SPLIT_TASK_VALUE = 2010; /** * LIB_TASK_MANAGER_CREATE_PACKAGING_TASK = 2011; */ public static final int LIB_TASK_MANAGER_CREATE_PACKAGING_TASK_VALUE = 2011; /** * LIB_TASK_MANAGER_CREATE_MERGE_PROGUARD_FILE_TASK = 2012; */ public static final int LIB_TASK_MANAGER_CREATE_MERGE_PROGUARD_FILE_TASK_VALUE = 2012; /** * LIB_TASK_MANAGER_CREATE_POST_COMPILATION_TASK = 2013; */ public static final int LIB_TASK_MANAGER_CREATE_POST_COMPILATION_TASK_VALUE = 2013; /** * LIB_TASK_MANAGER_CREATE_PROGUARD_TASK = 2014; */ public static final int LIB_TASK_MANAGER_CREATE_PROGUARD_TASK_VALUE = 2014; /** * LIB_TASK_MANAGER_CREATE_PACKAGE_LOCAL_JAR = 2015; */ public static final int LIB_TASK_MANAGER_CREATE_PACKAGE_LOCAL_JAR_VALUE = 2015; /** * LIB_TASK_MANAGER_CREATE_BACKPORT_RESOURCES_TASK = 2016; */ public static final int LIB_TASK_MANAGER_CREATE_BACKPORT_RESOURCES_TASK_VALUE = 2016; /** * LIB_TASK_MANAGER_CREATE_LINT_TASK = 2017; */ public static final int LIB_TASK_MANAGER_CREATE_LINT_TASK_VALUE = 2017; /** * LIB_TASK_MANAGER_CREATE_SHADER_TASK = 2018; */ public static final int LIB_TASK_MANAGER_CREATE_SHADER_TASK_VALUE = 2018; /** * LIB_TASK_MANAGER_CREATE_EXTERNAL_NATIVE_BUILD_TASK = 2019; */ public static final int LIB_TASK_MANAGER_CREATE_EXTERNAL_NATIVE_BUILD_TASK_VALUE = 2019; /** * GENERIC_TASK_EXECUTION = 3000; * *
       * Task execution: Deprecated, use TASK_EXECUTION and
       *  GradleTaskExecution#Type instead.
       *  Deprecated July 2016.
       * 
*/ public static final int GENERIC_TASK_EXECUTION_VALUE = 3000; /** * TASK_AIDL_COMPILE = 3001; */ public static final int TASK_AIDL_COMPILE_VALUE = 3001; /** * TASK_DELETE = 3002; */ public static final int TASK_DELETE_VALUE = 3002; /** * TASK_CHECK_MANIFEST = 3003; */ public static final int TASK_CHECK_MANIFEST_VALUE = 3003; /** * TASK_PREPARE_DEPENDENCIES_TASK = 3004; */ public static final int TASK_PREPARE_DEPENDENCIES_TASK_VALUE = 3004; /** * TASK_RENDERSCRIPT_COMPILE = 3005; */ public static final int TASK_RENDERSCRIPT_COMPILE_VALUE = 3005; /** * TASK_GENERATE_BUILD_CONFIG = 3006; */ public static final int TASK_GENERATE_BUILD_CONFIG_VALUE = 3006; /** * TASK_MERGE_ASSETS = 3007; */ public static final int TASK_MERGE_ASSETS_VALUE = 3007; /** * TASK_GENERATE_RES_VALUES = 3008; */ public static final int TASK_GENERATE_RES_VALUES_VALUE = 3008; /** * TASK_MERGE_RESOURCES = 3009; */ public static final int TASK_MERGE_RESOURCES_VALUE = 3009; /** * TASK_MERGE_MANIFESTS = 3010; */ public static final int TASK_MERGE_MANIFESTS_VALUE = 3010; /** * TASK_PROCESS_ANDROID_RESOURCES = 3011; */ public static final int TASK_PROCESS_ANDROID_RESOURCES_VALUE = 3011; /** * TASK_JAVA_COMPILE = 3012; */ public static final int TASK_JAVA_COMPILE_VALUE = 3012; /** * TASK_NDK_COMPILE = 3013; */ public static final int TASK_NDK_COMPILE_VALUE = 3013; /** * TASK_PRE_DEX = 3014; */ public static final int TASK_PRE_DEX_VALUE = 3014; /** * TASK_DEX = 3015; */ public static final int TASK_DEX_VALUE = 3015; /** * TASK_PACKAGE_SPLIT_RES = 3016; */ public static final int TASK_PACKAGE_SPLIT_RES_VALUE = 3016; /** * TASK_PROCESS_RESOURCES = 3017; */ public static final int TASK_PROCESS_RESOURCES_VALUE = 3017; /** * TASK_VALIDATE_SIGNING_TASK = 3018; */ public static final int TASK_VALIDATE_SIGNING_TASK_VALUE = 3018; /** * TASK_PACKAGE_APPLICATION = 3019; */ public static final int TASK_PACKAGE_APPLICATION_VALUE = 3019; /** * TASK_SPLIT_ZIP_ALIGN = 3020; */ public static final int TASK_SPLIT_ZIP_ALIGN_VALUE = 3020; /** * TASK_ZIP_ALIGN = 3021; */ public static final int TASK_ZIP_ALIGN_VALUE = 3021; /** * TASK_COPY = 3022; */ public static final int TASK_COPY_VALUE = 3022; /** * TASK_LINT = 3023; */ public static final int TASK_LINT_VALUE = 3023; /** * TASK_FILE_VERIFICATION = 3026; */ public static final int TASK_FILE_VERIFICATION_VALUE = 3026; /** * TASK_EXTERNAL_NATIVE_BUILD_GENERATE_JSON_PROCESS_PER_ABI = 3027; */ public static final int TASK_EXTERNAL_NATIVE_BUILD_GENERATE_JSON_PROCESS_PER_ABI_VALUE = 3027; /** * TASK_EXTERNAL_NATIVE_BUILD_GENERATE_JSON_PROCESS = 3028; */ public static final int TASK_EXTERNAL_NATIVE_BUILD_GENERATE_JSON_PROCESS_VALUE = 3028; /** * TASK_TRANSFORM_PREPARATION = 3024; * *
       * Transform execution
       * 
*/ public static final int TASK_TRANSFORM_PREPARATION_VALUE = 3024; /** * TASK_TRANSFORM = 3025; */ public static final int TASK_TRANSFORM_VALUE = 3025; public final int getNumber() { return value; } public static ExecutionType valueOf(int value) { switch (value) { case 1: return SOME_RANDOM_PROCESSING; case 2: return BASE_PLUGIN_PROJECT_CONFIGURE; case 3: return BASE_PLUGIN_PROJECT_BASE_EXTENSION_CREATION; case 4: return BASE_PLUGIN_PROJECT_TASKS_CREATION; case 5: return BASE_PLUGIN_BUILD_FINISHED; case 6: return TASK_MANAGER_CREATE_TASKS; case 7: return BASE_PLUGIN_CREATE_ANDROID_TASKS; case 8: return VARIANT_MANAGER_CREATE_ANDROID_TASKS; case 9: return VARIANT_MANAGER_CREATE_TASKS_FOR_VARIANT; case 10: return VARIANT_MANAGER_CREATE_LINT_TASKS; case 11: return VARIANT_MANAGER_CREATE_TESTS_TASKS; case 12: return VARIANT_MANAGER_CREATE_VARIANTS; case 13: return RESOLVE_DEPENDENCIES; case 14: return TASK_EXECUTION; case 100: return INITIAL_METADATA; case 101: return FINAL_METADATA; case 102: return GENERAL_CONFIG; case 103: return VARIANT_CONFIG; case 104: return VARIANT_MANAGER_EXTERNAL_NATIVE_CONFIG_VALUES; case 105: return APK_METRICS; case 1000: return APP_TASK_MANAGER_CREATE_MERGE_MANIFEST_TASK; case 1001: return APP_TASK_MANAGER_CREATE_GENERATE_RES_VALUES_TASK; case 1002: return APP_TASK_MANAGER_CREATE_CREATE_RENDERSCRIPT_TASK; case 1003: return APP_TASK_MANAGER_CREATE_MERGE_RESOURCES_TASK; case 1004: return APP_TASK_MANAGER_CREATE_MERGE_ASSETS_TASK; case 1005: return APP_TASK_MANAGER_CREATE_BUILD_CONFIG_TASK; case 1006: return APP_TASK_MANAGER_CREATE_PROCESS_RES_TASK; case 1007: return APP_TASK_MANAGER_CREATE_AIDL_TASK; case 1008: return APP_TASK_MANAGER_CREATE_COMPILE_TASK; case 1009: return APP_TASK_MANAGER_CREATE_NDK_TASK; case 1010: return APP_TASK_MANAGER_CREATE_SPLIT_TASK; case 1011: return APP_TASK_MANAGER_CREATE_PACKAGING_TASK; case 1012: return APP_TASK_MANAGER_CREATE_PREPROCESS_RESOURCES_TASK; case 1013: return APP_TASK_MANAGER_CREATE_BACKPORT_RESOURCES_TASK; case 1014: return APP_TASK_MANAGER_CREATE_LINT_TASK; case 1015: return APP_TASK_MANAGER_CREATE_MERGE_JNILIBS_FOLDERS_TASK; case 1016: return APP_TASK_MANAGER_CREATE_SHADER_TASK; case 1017: return APP_TASK_MANAGER_CREATE_EXTERNAL_NATIVE_BUILD_TASK; case 1018: return APP_TASK_MANAGER_CREATE_STRIP_NATIVE_LIBRARY_TASK; case 2000: return LIB_TASK_MANAGER_CREATE_MERGE_MANIFEST_TASK; case 2001: return LIB_TASK_MANAGER_CREATE_GENERATE_RES_VALUES_TASK; case 2002: return LIB_TASK_MANAGER_CREATE_CREATE_RENDERSCRIPT_TASK; case 2003: return LIB_TASK_MANAGER_CREATE_MERGE_RESOURCES_TASK; case 2004: return LIB_TASK_MANAGER_CREATE_MERGE_ASSETS_TASK; case 2005: return LIB_TASK_MANAGER_CREATE_BUILD_CONFIG_TASK; case 2006: return LIB_TASK_MANAGER_CREATE_PROCESS_RES_TASK; case 2007: return LIB_TASK_MANAGER_CREATE_AIDL_TASK; case 2008: return LIB_TASK_MANAGER_CREATE_COMPILE_TASK; case 2009: return LIB_TASK_MANAGER_CREATE_NDK_TASK; case 2010: return LIB_TASK_MANAGER_CREATE_SPLIT_TASK; case 2011: return LIB_TASK_MANAGER_CREATE_PACKAGING_TASK; case 2012: return LIB_TASK_MANAGER_CREATE_MERGE_PROGUARD_FILE_TASK; case 2013: return LIB_TASK_MANAGER_CREATE_POST_COMPILATION_TASK; case 2014: return LIB_TASK_MANAGER_CREATE_PROGUARD_TASK; case 2015: return LIB_TASK_MANAGER_CREATE_PACKAGE_LOCAL_JAR; case 2016: return LIB_TASK_MANAGER_CREATE_BACKPORT_RESOURCES_TASK; case 2017: return LIB_TASK_MANAGER_CREATE_LINT_TASK; case 2018: return LIB_TASK_MANAGER_CREATE_SHADER_TASK; case 2019: return LIB_TASK_MANAGER_CREATE_EXTERNAL_NATIVE_BUILD_TASK; case 3000: return GENERIC_TASK_EXECUTION; case 3001: return TASK_AIDL_COMPILE; case 3002: return TASK_DELETE; case 3003: return TASK_CHECK_MANIFEST; case 3004: return TASK_PREPARE_DEPENDENCIES_TASK; case 3005: return TASK_RENDERSCRIPT_COMPILE; case 3006: return TASK_GENERATE_BUILD_CONFIG; case 3007: return TASK_MERGE_ASSETS; case 3008: return TASK_GENERATE_RES_VALUES; case 3009: return TASK_MERGE_RESOURCES; case 3010: return TASK_MERGE_MANIFESTS; case 3011: return TASK_PROCESS_ANDROID_RESOURCES; case 3012: return TASK_JAVA_COMPILE; case 3013: return TASK_NDK_COMPILE; case 3014: return TASK_PRE_DEX; case 3015: return TASK_DEX; case 3016: return TASK_PACKAGE_SPLIT_RES; case 3017: return TASK_PROCESS_RESOURCES; case 3018: return TASK_VALIDATE_SIGNING_TASK; case 3019: return TASK_PACKAGE_APPLICATION; case 3020: return TASK_SPLIT_ZIP_ALIGN; case 3021: return TASK_ZIP_ALIGN; case 3022: return TASK_COPY; case 3023: return TASK_LINT; case 3026: return TASK_FILE_VERIFICATION; case 3027: return TASK_EXTERNAL_NATIVE_BUILD_GENERATE_JSON_PROCESS_PER_ABI; case 3028: return TASK_EXTERNAL_NATIVE_BUILD_GENERATE_JSON_PROCESS; case 3024: return TASK_TRANSFORM_PREPARATION; case 3025: return TASK_TRANSFORM; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public ExecutionType findValueByNumber(int number) { return ExecutionType.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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan.getDescriptor().getEnumTypes().get(0); } private static final ExecutionType[] VALUES = values(); public static ExecutionType 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 ExecutionType(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:android_studio.GradleBuildProfileSpan.ExecutionType) } private int bitField0_; // optional int64 id = 1; public static final int ID_FIELD_NUMBER = 1; private long id_; /** * optional int64 id = 1; * *
     * Identifier for this span, created by sequentially allocating IDs to spans
     *  as they start. Used only for the parent-child relationship of spans, to
     *  show execution that is part of another span.
     *  Not stable or meaningful across builds.
     * 
*/ public boolean hasId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 id = 1; * *
     * Identifier for this span, created by sequentially allocating IDs to spans
     *  as they start. Used only for the parent-child relationship of spans, to
     *  show execution that is part of another span.
     *  Not stable or meaningful across builds.
     * 
*/ public long getId() { return id_; } // optional int64 parent_id = 2; public static final int PARENT_ID_FIELD_NUMBER = 2; private long parentId_; /** * optional int64 parent_id = 2; * *
     * For nested spans: the id for containing span.
     *  See GradleBuildProfileSpan.id.
     * 
*/ public boolean hasParentId() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int64 parent_id = 2; * *
     * For nested spans: the id for containing span.
     *  See GradleBuildProfileSpan.id.
     * 
*/ public long getParentId() { return parentId_; } // optional int64 start_time_in_ms = 3; public static final int START_TIME_IN_MS_FIELD_NUMBER = 3; private long startTimeInMs_; /** * optional int64 start_time_in_ms = 3; * *
     * The start time of this event
     * 
*/ public boolean hasStartTimeInMs() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional int64 start_time_in_ms = 3; * *
     * The start time of this event
     * 
*/ public long getStartTimeInMs() { return startTimeInMs_; } // optional int64 duration_in_ms = 4; public static final int DURATION_IN_MS_FIELD_NUMBER = 4; private long durationInMs_; /** * optional int64 duration_in_ms = 4; * *
     * The duration of this event. May be zero.
     * 
*/ public boolean hasDurationInMs() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional int64 duration_in_ms = 4; * *
     * The duration of this event. May be zero.
     * 
*/ public long getDurationInMs() { return durationInMs_; } // optional .android_studio.GradleBuildProfileSpan.ExecutionType type = 5; public static final int TYPE_FIELD_NUMBER = 5; private com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan.ExecutionType type_; /** * optional .android_studio.GradleBuildProfileSpan.ExecutionType type = 5; * *
     * The type of event recorded
     * 
*/ public boolean hasType() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional .android_studio.GradleBuildProfileSpan.ExecutionType type = 5; * *
     * The type of event recorded
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan.ExecutionType getType() { return type_; } // optional .android_studio.GradleTransformExecution transform = 6; public static final int TRANSFORM_FIELD_NUMBER = 6; private com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution transform_; /** * optional .android_studio.GradleTransformExecution transform = 6; * *
     * More informations about the execution of TransformTasks.
     *  Only used when executionType is TASK_TRANSFORM_PREPARATION or
     *  TASK_TRANSFORM.
     * 
*/ public boolean hasTransform() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional .android_studio.GradleTransformExecution transform = 6; * *
     * More informations about the execution of TransformTasks.
     *  Only used when executionType is TASK_TRANSFORM_PREPARATION or
     *  TASK_TRANSFORM.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution getTransform() { return transform_; } /** * optional .android_studio.GradleTransformExecution transform = 6; * *
     * More informations about the execution of TransformTasks.
     *  Only used when executionType is TASK_TRANSFORM_PREPARATION or
     *  TASK_TRANSFORM.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecutionOrBuilder getTransformOrBuilder() { return transform_; } // optional .android_studio.GradleTaskExecution task = 9; public static final int TASK_FIELD_NUMBER = 9; private com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution task_; /** * optional .android_studio.GradleTaskExecution task = 9; * *
     * More informations about the execution of Tasks.
     *  Only used when executionType is TASK_EXECUTION
     * 
*/ public boolean hasTask() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional .android_studio.GradleTaskExecution task = 9; * *
     * More informations about the execution of Tasks.
     *  Only used when executionType is TASK_EXECUTION
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution getTask() { return task_; } /** * optional .android_studio.GradleTaskExecution task = 9; * *
     * More informations about the execution of Tasks.
     *  Only used when executionType is TASK_EXECUTION
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecutionOrBuilder getTaskOrBuilder() { return task_; } // optional int64 project = 7; public static final int PROJECT_FIELD_NUMBER = 7; private long project_; /** * optional int64 project = 7; * *
     * Session id of the GradleBuildProject that this span is part of.
     *  The ID is not stable nor meaningful over multiple GradleBuildProfile.
     *  See GradleBuildProfile.id
     * 
*/ public boolean hasProject() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional int64 project = 7; * *
     * Session id of the GradleBuildProject that this span is part of.
     *  The ID is not stable nor meaningful over multiple GradleBuildProfile.
     *  See GradleBuildProfile.id
     * 
*/ public long getProject() { return project_; } // optional int64 variant = 8; public static final int VARIANT_FIELD_NUMBER = 8; private long variant_; /** * optional int64 variant = 8; * *
     * Session id of the GradleBuildVariant that this span is part of.
     *  The ID is not stable nor meaningful over multiple GradleBuildProfile.
     *  See GradleBuildVariant.id
     * 
*/ public boolean hasVariant() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional int64 variant = 8; * *
     * Session id of the GradleBuildVariant that this span is part of.
     *  The ID is not stable nor meaningful over multiple GradleBuildProfile.
     *  See GradleBuildVariant.id
     * 
*/ public long getVariant() { return variant_; } private void initFields() { id_ = 0L; parentId_ = 0L; startTimeInMs_ = 0L; durationInMs_ = 0L; type_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan.ExecutionType.SOME_RANDOM_PROCESSING; transform_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution.getDefaultInstance(); task_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution.getDefaultInstance(); project_ = 0L; variant_ = 0L; } 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.writeInt64(1, id_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt64(2, parentId_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt64(3, startTimeInMs_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt64(4, durationInMs_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeEnum(5, type_.getNumber()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeMessage(6, transform_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeInt64(7, project_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeInt64(8, variant_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeMessage(9, task_); } 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 .computeInt64Size(1, id_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, parentId_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, startTimeInMs_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, durationInMs_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(5, type_.getNumber()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, transform_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(7, project_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(8, variant_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, task_); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan 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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan 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 android_studio.GradleBuildProfileSpan} * *
     * A single execution span from a build.
     *  For example, a task execution or creation of some tasks for a variant.
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpanOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleBuildProfileSpan_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleBuildProfileSpan_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan.Builder.class); } // Construct using com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getTransformFieldBuilder(); getTaskFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); id_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); parentId_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); startTimeInMs_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); durationInMs_ = 0L; bitField0_ = (bitField0_ & ~0x00000008); type_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan.ExecutionType.SOME_RANDOM_PROCESSING; bitField0_ = (bitField0_ & ~0x00000010); if (transformBuilder_ == null) { transform_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution.getDefaultInstance(); } else { transformBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); if (taskBuilder_ == null) { task_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution.getDefaultInstance(); } else { taskBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); project_ = 0L; bitField0_ = (bitField0_ & ~0x00000080); variant_ = 0L; bitField0_ = (bitField0_ & ~0x00000100); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleBuildProfileSpan_descriptor; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan getDefaultInstanceForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan.getDefaultInstance(); } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan build() { com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan buildPartial() { com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan result = new com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.id_ = id_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.parentId_ = parentId_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.startTimeInMs_ = startTimeInMs_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.durationInMs_ = durationInMs_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.type_ = type_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } if (transformBuilder_ == null) { result.transform_ = transform_; } else { result.transform_ = transformBuilder_.build(); } if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } if (taskBuilder_ == null) { result.task_ = task_; } else { result.task_ = taskBuilder_.build(); } if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } result.project_ = project_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000100; } result.variant_ = variant_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan) { return mergeFrom((com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan other) { if (other == com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan.getDefaultInstance()) return this; if (other.hasId()) { setId(other.getId()); } if (other.hasParentId()) { setParentId(other.getParentId()); } if (other.hasStartTimeInMs()) { setStartTimeInMs(other.getStartTimeInMs()); } if (other.hasDurationInMs()) { setDurationInMs(other.getDurationInMs()); } if (other.hasType()) { setType(other.getType()); } if (other.hasTransform()) { mergeTransform(other.getTransform()); } if (other.hasTask()) { mergeTask(other.getTask()); } if (other.hasProject()) { setProject(other.getProject()); } if (other.hasVariant()) { setVariant(other.getVariant()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional int64 id = 1; private long id_ ; /** * optional int64 id = 1; * *
       * Identifier for this span, created by sequentially allocating IDs to spans
       *  as they start. Used only for the parent-child relationship of spans, to
       *  show execution that is part of another span.
       *  Not stable or meaningful across builds.
       * 
*/ public boolean hasId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 id = 1; * *
       * Identifier for this span, created by sequentially allocating IDs to spans
       *  as they start. Used only for the parent-child relationship of spans, to
       *  show execution that is part of another span.
       *  Not stable or meaningful across builds.
       * 
*/ public long getId() { return id_; } /** * optional int64 id = 1; * *
       * Identifier for this span, created by sequentially allocating IDs to spans
       *  as they start. Used only for the parent-child relationship of spans, to
       *  show execution that is part of another span.
       *  Not stable or meaningful across builds.
       * 
*/ public Builder setId(long value) { bitField0_ |= 0x00000001; id_ = value; onChanged(); return this; } /** * optional int64 id = 1; * *
       * Identifier for this span, created by sequentially allocating IDs to spans
       *  as they start. Used only for the parent-child relationship of spans, to
       *  show execution that is part of another span.
       *  Not stable or meaningful across builds.
       * 
*/ public Builder clearId() { bitField0_ = (bitField0_ & ~0x00000001); id_ = 0L; onChanged(); return this; } // optional int64 parent_id = 2; private long parentId_ ; /** * optional int64 parent_id = 2; * *
       * For nested spans: the id for containing span.
       *  See GradleBuildProfileSpan.id.
       * 
*/ public boolean hasParentId() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int64 parent_id = 2; * *
       * For nested spans: the id for containing span.
       *  See GradleBuildProfileSpan.id.
       * 
*/ public long getParentId() { return parentId_; } /** * optional int64 parent_id = 2; * *
       * For nested spans: the id for containing span.
       *  See GradleBuildProfileSpan.id.
       * 
*/ public Builder setParentId(long value) { bitField0_ |= 0x00000002; parentId_ = value; onChanged(); return this; } /** * optional int64 parent_id = 2; * *
       * For nested spans: the id for containing span.
       *  See GradleBuildProfileSpan.id.
       * 
*/ public Builder clearParentId() { bitField0_ = (bitField0_ & ~0x00000002); parentId_ = 0L; onChanged(); return this; } // optional int64 start_time_in_ms = 3; private long startTimeInMs_ ; /** * optional int64 start_time_in_ms = 3; * *
       * The start time of this event
       * 
*/ public boolean hasStartTimeInMs() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional int64 start_time_in_ms = 3; * *
       * The start time of this event
       * 
*/ public long getStartTimeInMs() { return startTimeInMs_; } /** * optional int64 start_time_in_ms = 3; * *
       * The start time of this event
       * 
*/ public Builder setStartTimeInMs(long value) { bitField0_ |= 0x00000004; startTimeInMs_ = value; onChanged(); return this; } /** * optional int64 start_time_in_ms = 3; * *
       * The start time of this event
       * 
*/ public Builder clearStartTimeInMs() { bitField0_ = (bitField0_ & ~0x00000004); startTimeInMs_ = 0L; onChanged(); return this; } // optional int64 duration_in_ms = 4; private long durationInMs_ ; /** * optional int64 duration_in_ms = 4; * *
       * The duration of this event. May be zero.
       * 
*/ public boolean hasDurationInMs() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional int64 duration_in_ms = 4; * *
       * The duration of this event. May be zero.
       * 
*/ public long getDurationInMs() { return durationInMs_; } /** * optional int64 duration_in_ms = 4; * *
       * The duration of this event. May be zero.
       * 
*/ public Builder setDurationInMs(long value) { bitField0_ |= 0x00000008; durationInMs_ = value; onChanged(); return this; } /** * optional int64 duration_in_ms = 4; * *
       * The duration of this event. May be zero.
       * 
*/ public Builder clearDurationInMs() { bitField0_ = (bitField0_ & ~0x00000008); durationInMs_ = 0L; onChanged(); return this; } // optional .android_studio.GradleBuildProfileSpan.ExecutionType type = 5; private com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan.ExecutionType type_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan.ExecutionType.SOME_RANDOM_PROCESSING; /** * optional .android_studio.GradleBuildProfileSpan.ExecutionType type = 5; * *
       * The type of event recorded
       * 
*/ public boolean hasType() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional .android_studio.GradleBuildProfileSpan.ExecutionType type = 5; * *
       * The type of event recorded
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan.ExecutionType getType() { return type_; } /** * optional .android_studio.GradleBuildProfileSpan.ExecutionType type = 5; * *
       * The type of event recorded
       * 
*/ public Builder setType(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan.ExecutionType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; type_ = value; onChanged(); return this; } /** * optional .android_studio.GradleBuildProfileSpan.ExecutionType type = 5; * *
       * The type of event recorded
       * 
*/ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000010); type_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan.ExecutionType.SOME_RANDOM_PROCESSING; onChanged(); return this; } // optional .android_studio.GradleTransformExecution transform = 6; private com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution transform_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecutionOrBuilder> transformBuilder_; /** * optional .android_studio.GradleTransformExecution transform = 6; * *
       * More informations about the execution of TransformTasks.
       *  Only used when executionType is TASK_TRANSFORM_PREPARATION or
       *  TASK_TRANSFORM.
       * 
*/ public boolean hasTransform() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional .android_studio.GradleTransformExecution transform = 6; * *
       * More informations about the execution of TransformTasks.
       *  Only used when executionType is TASK_TRANSFORM_PREPARATION or
       *  TASK_TRANSFORM.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution getTransform() { if (transformBuilder_ == null) { return transform_; } else { return transformBuilder_.getMessage(); } } /** * optional .android_studio.GradleTransformExecution transform = 6; * *
       * More informations about the execution of TransformTasks.
       *  Only used when executionType is TASK_TRANSFORM_PREPARATION or
       *  TASK_TRANSFORM.
       * 
*/ public Builder setTransform(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution value) { if (transformBuilder_ == null) { if (value == null) { throw new NullPointerException(); } transform_ = value; onChanged(); } else { transformBuilder_.setMessage(value); } bitField0_ |= 0x00000020; return this; } /** * optional .android_studio.GradleTransformExecution transform = 6; * *
       * More informations about the execution of TransformTasks.
       *  Only used when executionType is TASK_TRANSFORM_PREPARATION or
       *  TASK_TRANSFORM.
       * 
*/ public Builder setTransform( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution.Builder builderForValue) { if (transformBuilder_ == null) { transform_ = builderForValue.build(); onChanged(); } else { transformBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; return this; } /** * optional .android_studio.GradleTransformExecution transform = 6; * *
       * More informations about the execution of TransformTasks.
       *  Only used when executionType is TASK_TRANSFORM_PREPARATION or
       *  TASK_TRANSFORM.
       * 
*/ public Builder mergeTransform(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution value) { if (transformBuilder_ == null) { if (((bitField0_ & 0x00000020) == 0x00000020) && transform_ != com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution.getDefaultInstance()) { transform_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution.newBuilder(transform_).mergeFrom(value).buildPartial(); } else { transform_ = value; } onChanged(); } else { transformBuilder_.mergeFrom(value); } bitField0_ |= 0x00000020; return this; } /** * optional .android_studio.GradleTransformExecution transform = 6; * *
       * More informations about the execution of TransformTasks.
       *  Only used when executionType is TASK_TRANSFORM_PREPARATION or
       *  TASK_TRANSFORM.
       * 
*/ public Builder clearTransform() { if (transformBuilder_ == null) { transform_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution.getDefaultInstance(); onChanged(); } else { transformBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); return this; } /** * optional .android_studio.GradleTransformExecution transform = 6; * *
       * More informations about the execution of TransformTasks.
       *  Only used when executionType is TASK_TRANSFORM_PREPARATION or
       *  TASK_TRANSFORM.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution.Builder getTransformBuilder() { bitField0_ |= 0x00000020; onChanged(); return getTransformFieldBuilder().getBuilder(); } /** * optional .android_studio.GradleTransformExecution transform = 6; * *
       * More informations about the execution of TransformTasks.
       *  Only used when executionType is TASK_TRANSFORM_PREPARATION or
       *  TASK_TRANSFORM.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecutionOrBuilder getTransformOrBuilder() { if (transformBuilder_ != null) { return transformBuilder_.getMessageOrBuilder(); } else { return transform_; } } /** * optional .android_studio.GradleTransformExecution transform = 6; * *
       * More informations about the execution of TransformTasks.
       *  Only used when executionType is TASK_TRANSFORM_PREPARATION or
       *  TASK_TRANSFORM.
       * 
*/ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecutionOrBuilder> getTransformFieldBuilder() { if (transformBuilder_ == null) { transformBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecutionOrBuilder>( transform_, getParentForChildren(), isClean()); transform_ = null; } return transformBuilder_; } // optional .android_studio.GradleTaskExecution task = 9; private com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution task_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecutionOrBuilder> taskBuilder_; /** * optional .android_studio.GradleTaskExecution task = 9; * *
       * More informations about the execution of Tasks.
       *  Only used when executionType is TASK_EXECUTION
       * 
*/ public boolean hasTask() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional .android_studio.GradleTaskExecution task = 9; * *
       * More informations about the execution of Tasks.
       *  Only used when executionType is TASK_EXECUTION
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution getTask() { if (taskBuilder_ == null) { return task_; } else { return taskBuilder_.getMessage(); } } /** * optional .android_studio.GradleTaskExecution task = 9; * *
       * More informations about the execution of Tasks.
       *  Only used when executionType is TASK_EXECUTION
       * 
*/ public Builder setTask(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution value) { if (taskBuilder_ == null) { if (value == null) { throw new NullPointerException(); } task_ = value; onChanged(); } else { taskBuilder_.setMessage(value); } bitField0_ |= 0x00000040; return this; } /** * optional .android_studio.GradleTaskExecution task = 9; * *
       * More informations about the execution of Tasks.
       *  Only used when executionType is TASK_EXECUTION
       * 
*/ public Builder setTask( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution.Builder builderForValue) { if (taskBuilder_ == null) { task_ = builderForValue.build(); onChanged(); } else { taskBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000040; return this; } /** * optional .android_studio.GradleTaskExecution task = 9; * *
       * More informations about the execution of Tasks.
       *  Only used when executionType is TASK_EXECUTION
       * 
*/ public Builder mergeTask(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution value) { if (taskBuilder_ == null) { if (((bitField0_ & 0x00000040) == 0x00000040) && task_ != com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution.getDefaultInstance()) { task_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution.newBuilder(task_).mergeFrom(value).buildPartial(); } else { task_ = value; } onChanged(); } else { taskBuilder_.mergeFrom(value); } bitField0_ |= 0x00000040; return this; } /** * optional .android_studio.GradleTaskExecution task = 9; * *
       * More informations about the execution of Tasks.
       *  Only used when executionType is TASK_EXECUTION
       * 
*/ public Builder clearTask() { if (taskBuilder_ == null) { task_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution.getDefaultInstance(); onChanged(); } else { taskBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); return this; } /** * optional .android_studio.GradleTaskExecution task = 9; * *
       * More informations about the execution of Tasks.
       *  Only used when executionType is TASK_EXECUTION
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution.Builder getTaskBuilder() { bitField0_ |= 0x00000040; onChanged(); return getTaskFieldBuilder().getBuilder(); } /** * optional .android_studio.GradleTaskExecution task = 9; * *
       * More informations about the execution of Tasks.
       *  Only used when executionType is TASK_EXECUTION
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecutionOrBuilder getTaskOrBuilder() { if (taskBuilder_ != null) { return taskBuilder_.getMessageOrBuilder(); } else { return task_; } } /** * optional .android_studio.GradleTaskExecution task = 9; * *
       * More informations about the execution of Tasks.
       *  Only used when executionType is TASK_EXECUTION
       * 
*/ private com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecutionOrBuilder> getTaskFieldBuilder() { if (taskBuilder_ == null) { taskBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecutionOrBuilder>( task_, getParentForChildren(), isClean()); task_ = null; } return taskBuilder_; } // optional int64 project = 7; private long project_ ; /** * optional int64 project = 7; * *
       * Session id of the GradleBuildProject that this span is part of.
       *  The ID is not stable nor meaningful over multiple GradleBuildProfile.
       *  See GradleBuildProfile.id
       * 
*/ public boolean hasProject() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional int64 project = 7; * *
       * Session id of the GradleBuildProject that this span is part of.
       *  The ID is not stable nor meaningful over multiple GradleBuildProfile.
       *  See GradleBuildProfile.id
       * 
*/ public long getProject() { return project_; } /** * optional int64 project = 7; * *
       * Session id of the GradleBuildProject that this span is part of.
       *  The ID is not stable nor meaningful over multiple GradleBuildProfile.
       *  See GradleBuildProfile.id
       * 
*/ public Builder setProject(long value) { bitField0_ |= 0x00000080; project_ = value; onChanged(); return this; } /** * optional int64 project = 7; * *
       * Session id of the GradleBuildProject that this span is part of.
       *  The ID is not stable nor meaningful over multiple GradleBuildProfile.
       *  See GradleBuildProfile.id
       * 
*/ public Builder clearProject() { bitField0_ = (bitField0_ & ~0x00000080); project_ = 0L; onChanged(); return this; } // optional int64 variant = 8; private long variant_ ; /** * optional int64 variant = 8; * *
       * Session id of the GradleBuildVariant that this span is part of.
       *  The ID is not stable nor meaningful over multiple GradleBuildProfile.
       *  See GradleBuildVariant.id
       * 
*/ public boolean hasVariant() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional int64 variant = 8; * *
       * Session id of the GradleBuildVariant that this span is part of.
       *  The ID is not stable nor meaningful over multiple GradleBuildProfile.
       *  See GradleBuildVariant.id
       * 
*/ public long getVariant() { return variant_; } /** * optional int64 variant = 8; * *
       * Session id of the GradleBuildVariant that this span is part of.
       *  The ID is not stable nor meaningful over multiple GradleBuildProfile.
       *  See GradleBuildVariant.id
       * 
*/ public Builder setVariant(long value) { bitField0_ |= 0x00000100; variant_ = value; onChanged(); return this; } /** * optional int64 variant = 8; * *
       * Session id of the GradleBuildVariant that this span is part of.
       *  The ID is not stable nor meaningful over multiple GradleBuildProfile.
       *  See GradleBuildVariant.id
       * 
*/ public Builder clearVariant() { bitField0_ = (bitField0_ & ~0x00000100); variant_ = 0L; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:android_studio.GradleBuildProfileSpan) } static { defaultInstance = new GradleBuildProfileSpan(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:android_studio.GradleBuildProfileSpan) } public interface GradleTaskExecutionOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional .android_studio.GradleTaskExecution.Type type = 1; /** * optional .android_studio.GradleTaskExecution.Type type = 1; * *
     * The task implementing class.
     *  Custom tasks are recorded as UNKNOWN_TASK_TYPE.
     * 
*/ boolean hasType(); /** * optional .android_studio.GradleTaskExecution.Type type = 1; * *
     * The task implementing class.
     *  Custom tasks are recorded as UNKNOWN_TASK_TYPE.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution.Type getType(); // optional bool did_work = 2; /** * optional bool did_work = 2; * *
     * Whether the task did work (TaskState#getDidWork())
     *  This is not necessarily the inverse of up_to_date: see
     *  https://docs.gradle.org/current/javadoc/org/gradle/api/tasks/TaskState.html#getDidWork()
     * 
*/ boolean hasDidWork(); /** * optional bool did_work = 2; * *
     * Whether the task did work (TaskState#getDidWork())
     *  This is not necessarily the inverse of up_to_date: see
     *  https://docs.gradle.org/current/javadoc/org/gradle/api/tasks/TaskState.html#getDidWork()
     * 
*/ boolean getDidWork(); // optional bool skipped = 3; /** * optional bool skipped = 3; * *
     * Whether the task was skipped (TaskState#getSkipped())
     * 
*/ boolean hasSkipped(); /** * optional bool skipped = 3; * *
     * Whether the task was skipped (TaskState#getSkipped())
     * 
*/ boolean getSkipped(); // optional bool up_to_date = 4; /** * optional bool up_to_date = 4; * *
     * Whether the task was up to date (TaskState#getUpToDate())
     * 
*/ boolean hasUpToDate(); /** * optional bool up_to_date = 4; * *
     * Whether the task was up to date (TaskState#getUpToDate())
     * 
*/ boolean getUpToDate(); // optional bool failed = 5; /** * optional bool failed = 5; * *
     * Whether the task failed
     * 
*/ boolean hasFailed(); /** * optional bool failed = 5; * *
     * Whether the task failed
     * 
*/ boolean getFailed(); } /** * Protobuf type {@code android_studio.GradleTaskExecution} */ public static final class GradleTaskExecution extends com.google.protobuf.GeneratedMessage implements GradleTaskExecutionOrBuilder { // Use GradleTaskExecution.newBuilder() to construct. private GradleTaskExecution(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private GradleTaskExecution(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final GradleTaskExecution defaultInstance; public static GradleTaskExecution getDefaultInstance() { return defaultInstance; } public GradleTaskExecution getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GradleTaskExecution( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { int rawValue = input.readEnum(); com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution.Type value = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution.Type.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { bitField0_ |= 0x00000001; type_ = value; } break; } case 16: { bitField0_ |= 0x00000002; didWork_ = input.readBool(); break; } case 24: { bitField0_ |= 0x00000004; skipped_ = input.readBool(); break; } case 32: { bitField0_ |= 0x00000008; upToDate_ = input.readBool(); break; } case 40: { bitField0_ |= 0x00000010; failed_ = 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.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleTaskExecution_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleTaskExecution_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public GradleTaskExecution parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GradleTaskExecution(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } /** * Protobuf enum {@code android_studio.GradleTaskExecution.Type} */ public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN_TASK_TYPE = 0; */ UNKNOWN_TASK_TYPE(0, 0), /** * AIDL_COMPILE = 1; */ AIDL_COMPILE(1, 1), /** * ANDROID_JAR = 2; */ ANDROID_JAR(2, 2), /** * ANDROID_JAVA_COMPILE = 3; */ ANDROID_JAVA_COMPILE(3, 3), /** * ANDROID_REPORT = 4; */ ANDROID_REPORT(4, 4), /** * ANDROID_UNIT_TEST = 5; */ ANDROID_UNIT_TEST(5, 5), /** * BUILD_EMULATOR = 6; */ BUILD_EMULATOR(6, 6), /** * BUILD_INFO_LOADER = 7; */ BUILD_INFO_LOADER(7, 7), /** * CHECK_MANIFEST = 8; */ CHECK_MANIFEST(8, 8), /** * COMPATIBLE_SCREENS_MANIFEST = 9; */ COMPATIBLE_SCREENS_MANIFEST(9, 9), /** * CREATE_MANIFEST_KEEP_LIST = 10; */ CREATE_MANIFEST_KEEP_LIST(10, 10), /** * DATA_BINDING_EXPORT_BUILD_INFO = 11; */ DATA_BINDING_EXPORT_BUILD_INFO(11, 11), /** * DATA_BINDING_PROCESS_LAYOUTS = 12; */ DATA_BINDING_PROCESS_LAYOUTS(12, 12), /** * DEPENDENCY_REPORT = 13; */ DEPENDENCY_REPORT(13, 13), /** * DEVICE_PROVIDER_INSTRUMENT_TEST = 14; */ DEVICE_PROVIDER_INSTRUMENT_TEST(14, 14), /** * EXTERNAL_BUILD_ANCHOR = 15; */ EXTERNAL_BUILD_ANCHOR(15, 15), /** * EXTERNAL_NATIVE_BUILD_JSON = 16; */ EXTERNAL_NATIVE_BUILD_JSON(16, 16), /** * EXTERNAL_NATIVE_BUILD = 17; */ EXTERNAL_NATIVE_BUILD(17, 17), /** * EXTRACT_ANNOTATIONS = 18; */ EXTRACT_ANNOTATIONS(18, 18), /** * EXTRACT_JAVA_RESOURCES = 19; */ EXTRACT_JAVA_RESOURCES(19, 19), /** * EXTRACT_PROGUARD_FILES = 20; */ EXTRACT_PROGUARD_FILES(20, 20), /** * FAST_DEPLOY_RUNTIME_EXTRACTOR = 21; */ FAST_DEPLOY_RUNTIME_EXTRACTOR(21, 21), /** * FILTERED_JAR_COPY = 22; */ FILTERED_JAR_COPY(22, 22), /** * GENERATE_APK_DATA = 23; */ GENERATE_APK_DATA(23, 23), /** * GENERATE_BUILD_CONFIG = 24; */ GENERATE_BUILD_CONFIG(24, 24), /** * GENERATE_INSTANT_RUN_APP_INFO = 25; */ GENERATE_INSTANT_RUN_APP_INFO(25, 25), /** * GENERATE_RES_VALUES = 26; */ GENERATE_RES_VALUES(26, 26), /** * GENERATE_SPLIT_ABI_RES = 27; */ GENERATE_SPLIT_ABI_RES(27, 27), /** * GOOGLE_SERVICES = 28; */ GOOGLE_SERVICES(28, 28), /** * INCREMENTAL_SAFEGUARD = 29; */ INCREMENTAL_SAFEGUARD(29, 29), /** * INSTALL_VARIANT = 30; */ INSTALL_VARIANT(30, 30), /** * INSTANT_RUN_SPLIT_APK_BUILDER = 31; */ INSTANT_RUN_SPLIT_APK_BUILDER(31, 31), /** * INSTANT_RUN_WRAPPER = 32; */ INSTANT_RUN_WRAPPER(32, 32), /** * INVOKE_MANIFEST_MERGER = 33; */ INVOKE_MANIFEST_MERGER(33, 33), /** * JACK_JACOCO_REPORT = 34; */ JACK_JACOCO_REPORT(34, 34), /** * JACOCO_REPORT = 35; */ JACOCO_REPORT(35, 35), /** * LINT = 36; */ LINT(36, 36), /** * LINT_COMPILE = 37; */ LINT_COMPILE(37, 37), /** * MERGE_FILE = 38; */ MERGE_FILE(38, 38), /** * MERGE_MANIFESTS = 39; */ MERGE_MANIFESTS(39, 39), /** * MERGE_RESOURCES = 40; */ MERGE_RESOURCES(40, 40), /** * MERGE_SOURCE_SET_FOLDERS = 41; */ MERGE_SOURCE_SET_FOLDERS(41, 41), /** * MOCKABLE_ANDROID_JAR = 42; */ MOCKABLE_ANDROID_JAR(42, 42), /** * NDK_COMPILE = 43; */ NDK_COMPILE(43, 43), /** * NDK = 44; */ NDK(44, 44), /** * PACKAGE_APPLICATION = 45; */ PACKAGE_APPLICATION(45, 45), /** * PACKAGE_SPLIT_ABI = 46; */ PACKAGE_SPLIT_ABI(46, 46), /** * PACKAGE_SPLIT_RES = 47; */ PACKAGE_SPLIT_RES(47, 47), /** * PRE_COLD_SWAP = 48; */ PRE_COLD_SWAP(48, 48), /** * PREPARE_DEPENDENCIES = 49; */ PREPARE_DEPENDENCIES(49, 49), /** * PREPARE_LIBRARY = 50; */ PREPARE_LIBRARY(50, 50), /** * PROCESS_ANDROID_RESOURCES = 51; */ PROCESS_ANDROID_RESOURCES(51, 51), /** * PROCESS_MANIFEST = 52; */ PROCESS_MANIFEST(52, 52), /** * PROCESS_TEST_MANIFEST = 53; */ PROCESS_TEST_MANIFEST(53, 53), /** * RENDERSCRIPT_COMPILE = 54; */ RENDERSCRIPT_COMPILE(54, 54), /** * SHADER_COMPILE = 55; */ SHADER_COMPILE(55, 55), /** * SIGNING_REPORT = 56; */ SIGNING_REPORT(56, 56), /** * SINGLE_FILE_COPY = 57; */ SINGLE_FILE_COPY(57, 57), /** * SOURCE_SETS = 58; */ SOURCE_SETS(58, 58), /** * SPLIT_ZIP_ALIGN = 59; */ SPLIT_ZIP_ALIGN(59, 59), /** * STREAM_BASED = 60; */ STREAM_BASED(60, 60), /** * STRIP_DEBUG_SYMBOL = 61; */ STRIP_DEBUG_SYMBOL(61, 61), /** * STRIP_DEPENDENCIES = 62; */ STRIP_DEPENDENCIES(62, 62), /** * TEST_MODULE_PRO_GUARD = 63; */ TEST_MODULE_PRO_GUARD(63, 63), /** * TEST_SERVER = 64; */ TEST_SERVER(64, 64), /** * TRANSFORM = 65; */ TRANSFORM(65, 65), /** * UNINSTALL = 66; */ UNINSTALL(66, 66), /** * VALIDATE_SIGNING = 67; */ VALIDATE_SIGNING(67, 67), /** * ZIP_ALIGN = 68; */ ZIP_ALIGN(68, 68), /** * JAVA_COMPILE = 69; */ JAVA_COMPILE(69, 69), ; /** * UNKNOWN_TASK_TYPE = 0; */ public static final int UNKNOWN_TASK_TYPE_VALUE = 0; /** * AIDL_COMPILE = 1; */ public static final int AIDL_COMPILE_VALUE = 1; /** * ANDROID_JAR = 2; */ public static final int ANDROID_JAR_VALUE = 2; /** * ANDROID_JAVA_COMPILE = 3; */ public static final int ANDROID_JAVA_COMPILE_VALUE = 3; /** * ANDROID_REPORT = 4; */ public static final int ANDROID_REPORT_VALUE = 4; /** * ANDROID_UNIT_TEST = 5; */ public static final int ANDROID_UNIT_TEST_VALUE = 5; /** * BUILD_EMULATOR = 6; */ public static final int BUILD_EMULATOR_VALUE = 6; /** * BUILD_INFO_LOADER = 7; */ public static final int BUILD_INFO_LOADER_VALUE = 7; /** * CHECK_MANIFEST = 8; */ public static final int CHECK_MANIFEST_VALUE = 8; /** * COMPATIBLE_SCREENS_MANIFEST = 9; */ public static final int COMPATIBLE_SCREENS_MANIFEST_VALUE = 9; /** * CREATE_MANIFEST_KEEP_LIST = 10; */ public static final int CREATE_MANIFEST_KEEP_LIST_VALUE = 10; /** * DATA_BINDING_EXPORT_BUILD_INFO = 11; */ public static final int DATA_BINDING_EXPORT_BUILD_INFO_VALUE = 11; /** * DATA_BINDING_PROCESS_LAYOUTS = 12; */ public static final int DATA_BINDING_PROCESS_LAYOUTS_VALUE = 12; /** * DEPENDENCY_REPORT = 13; */ public static final int DEPENDENCY_REPORT_VALUE = 13; /** * DEVICE_PROVIDER_INSTRUMENT_TEST = 14; */ public static final int DEVICE_PROVIDER_INSTRUMENT_TEST_VALUE = 14; /** * EXTERNAL_BUILD_ANCHOR = 15; */ public static final int EXTERNAL_BUILD_ANCHOR_VALUE = 15; /** * EXTERNAL_NATIVE_BUILD_JSON = 16; */ public static final int EXTERNAL_NATIVE_BUILD_JSON_VALUE = 16; /** * EXTERNAL_NATIVE_BUILD = 17; */ public static final int EXTERNAL_NATIVE_BUILD_VALUE = 17; /** * EXTRACT_ANNOTATIONS = 18; */ public static final int EXTRACT_ANNOTATIONS_VALUE = 18; /** * EXTRACT_JAVA_RESOURCES = 19; */ public static final int EXTRACT_JAVA_RESOURCES_VALUE = 19; /** * EXTRACT_PROGUARD_FILES = 20; */ public static final int EXTRACT_PROGUARD_FILES_VALUE = 20; /** * FAST_DEPLOY_RUNTIME_EXTRACTOR = 21; */ public static final int FAST_DEPLOY_RUNTIME_EXTRACTOR_VALUE = 21; /** * FILTERED_JAR_COPY = 22; */ public static final int FILTERED_JAR_COPY_VALUE = 22; /** * GENERATE_APK_DATA = 23; */ public static final int GENERATE_APK_DATA_VALUE = 23; /** * GENERATE_BUILD_CONFIG = 24; */ public static final int GENERATE_BUILD_CONFIG_VALUE = 24; /** * GENERATE_INSTANT_RUN_APP_INFO = 25; */ public static final int GENERATE_INSTANT_RUN_APP_INFO_VALUE = 25; /** * GENERATE_RES_VALUES = 26; */ public static final int GENERATE_RES_VALUES_VALUE = 26; /** * GENERATE_SPLIT_ABI_RES = 27; */ public static final int GENERATE_SPLIT_ABI_RES_VALUE = 27; /** * GOOGLE_SERVICES = 28; */ public static final int GOOGLE_SERVICES_VALUE = 28; /** * INCREMENTAL_SAFEGUARD = 29; */ public static final int INCREMENTAL_SAFEGUARD_VALUE = 29; /** * INSTALL_VARIANT = 30; */ public static final int INSTALL_VARIANT_VALUE = 30; /** * INSTANT_RUN_SPLIT_APK_BUILDER = 31; */ public static final int INSTANT_RUN_SPLIT_APK_BUILDER_VALUE = 31; /** * INSTANT_RUN_WRAPPER = 32; */ public static final int INSTANT_RUN_WRAPPER_VALUE = 32; /** * INVOKE_MANIFEST_MERGER = 33; */ public static final int INVOKE_MANIFEST_MERGER_VALUE = 33; /** * JACK_JACOCO_REPORT = 34; */ public static final int JACK_JACOCO_REPORT_VALUE = 34; /** * JACOCO_REPORT = 35; */ public static final int JACOCO_REPORT_VALUE = 35; /** * LINT = 36; */ public static final int LINT_VALUE = 36; /** * LINT_COMPILE = 37; */ public static final int LINT_COMPILE_VALUE = 37; /** * MERGE_FILE = 38; */ public static final int MERGE_FILE_VALUE = 38; /** * MERGE_MANIFESTS = 39; */ public static final int MERGE_MANIFESTS_VALUE = 39; /** * MERGE_RESOURCES = 40; */ public static final int MERGE_RESOURCES_VALUE = 40; /** * MERGE_SOURCE_SET_FOLDERS = 41; */ public static final int MERGE_SOURCE_SET_FOLDERS_VALUE = 41; /** * MOCKABLE_ANDROID_JAR = 42; */ public static final int MOCKABLE_ANDROID_JAR_VALUE = 42; /** * NDK_COMPILE = 43; */ public static final int NDK_COMPILE_VALUE = 43; /** * NDK = 44; */ public static final int NDK_VALUE = 44; /** * PACKAGE_APPLICATION = 45; */ public static final int PACKAGE_APPLICATION_VALUE = 45; /** * PACKAGE_SPLIT_ABI = 46; */ public static final int PACKAGE_SPLIT_ABI_VALUE = 46; /** * PACKAGE_SPLIT_RES = 47; */ public static final int PACKAGE_SPLIT_RES_VALUE = 47; /** * PRE_COLD_SWAP = 48; */ public static final int PRE_COLD_SWAP_VALUE = 48; /** * PREPARE_DEPENDENCIES = 49; */ public static final int PREPARE_DEPENDENCIES_VALUE = 49; /** * PREPARE_LIBRARY = 50; */ public static final int PREPARE_LIBRARY_VALUE = 50; /** * PROCESS_ANDROID_RESOURCES = 51; */ public static final int PROCESS_ANDROID_RESOURCES_VALUE = 51; /** * PROCESS_MANIFEST = 52; */ public static final int PROCESS_MANIFEST_VALUE = 52; /** * PROCESS_TEST_MANIFEST = 53; */ public static final int PROCESS_TEST_MANIFEST_VALUE = 53; /** * RENDERSCRIPT_COMPILE = 54; */ public static final int RENDERSCRIPT_COMPILE_VALUE = 54; /** * SHADER_COMPILE = 55; */ public static final int SHADER_COMPILE_VALUE = 55; /** * SIGNING_REPORT = 56; */ public static final int SIGNING_REPORT_VALUE = 56; /** * SINGLE_FILE_COPY = 57; */ public static final int SINGLE_FILE_COPY_VALUE = 57; /** * SOURCE_SETS = 58; */ public static final int SOURCE_SETS_VALUE = 58; /** * SPLIT_ZIP_ALIGN = 59; */ public static final int SPLIT_ZIP_ALIGN_VALUE = 59; /** * STREAM_BASED = 60; */ public static final int STREAM_BASED_VALUE = 60; /** * STRIP_DEBUG_SYMBOL = 61; */ public static final int STRIP_DEBUG_SYMBOL_VALUE = 61; /** * STRIP_DEPENDENCIES = 62; */ public static final int STRIP_DEPENDENCIES_VALUE = 62; /** * TEST_MODULE_PRO_GUARD = 63; */ public static final int TEST_MODULE_PRO_GUARD_VALUE = 63; /** * TEST_SERVER = 64; */ public static final int TEST_SERVER_VALUE = 64; /** * TRANSFORM = 65; */ public static final int TRANSFORM_VALUE = 65; /** * UNINSTALL = 66; */ public static final int UNINSTALL_VALUE = 66; /** * VALIDATE_SIGNING = 67; */ public static final int VALIDATE_SIGNING_VALUE = 67; /** * ZIP_ALIGN = 68; */ public static final int ZIP_ALIGN_VALUE = 68; /** * JAVA_COMPILE = 69; */ public static final int JAVA_COMPILE_VALUE = 69; public final int getNumber() { return value; } public static Type valueOf(int value) { switch (value) { case 0: return UNKNOWN_TASK_TYPE; case 1: return AIDL_COMPILE; case 2: return ANDROID_JAR; case 3: return ANDROID_JAVA_COMPILE; case 4: return ANDROID_REPORT; case 5: return ANDROID_UNIT_TEST; case 6: return BUILD_EMULATOR; case 7: return BUILD_INFO_LOADER; case 8: return CHECK_MANIFEST; case 9: return COMPATIBLE_SCREENS_MANIFEST; case 10: return CREATE_MANIFEST_KEEP_LIST; case 11: return DATA_BINDING_EXPORT_BUILD_INFO; case 12: return DATA_BINDING_PROCESS_LAYOUTS; case 13: return DEPENDENCY_REPORT; case 14: return DEVICE_PROVIDER_INSTRUMENT_TEST; case 15: return EXTERNAL_BUILD_ANCHOR; case 16: return EXTERNAL_NATIVE_BUILD_JSON; case 17: return EXTERNAL_NATIVE_BUILD; case 18: return EXTRACT_ANNOTATIONS; case 19: return EXTRACT_JAVA_RESOURCES; case 20: return EXTRACT_PROGUARD_FILES; case 21: return FAST_DEPLOY_RUNTIME_EXTRACTOR; case 22: return FILTERED_JAR_COPY; case 23: return GENERATE_APK_DATA; case 24: return GENERATE_BUILD_CONFIG; case 25: return GENERATE_INSTANT_RUN_APP_INFO; case 26: return GENERATE_RES_VALUES; case 27: return GENERATE_SPLIT_ABI_RES; case 28: return GOOGLE_SERVICES; case 29: return INCREMENTAL_SAFEGUARD; case 30: return INSTALL_VARIANT; case 31: return INSTANT_RUN_SPLIT_APK_BUILDER; case 32: return INSTANT_RUN_WRAPPER; case 33: return INVOKE_MANIFEST_MERGER; case 34: return JACK_JACOCO_REPORT; case 35: return JACOCO_REPORT; case 36: return LINT; case 37: return LINT_COMPILE; case 38: return MERGE_FILE; case 39: return MERGE_MANIFESTS; case 40: return MERGE_RESOURCES; case 41: return MERGE_SOURCE_SET_FOLDERS; case 42: return MOCKABLE_ANDROID_JAR; case 43: return NDK_COMPILE; case 44: return NDK; case 45: return PACKAGE_APPLICATION; case 46: return PACKAGE_SPLIT_ABI; case 47: return PACKAGE_SPLIT_RES; case 48: return PRE_COLD_SWAP; case 49: return PREPARE_DEPENDENCIES; case 50: return PREPARE_LIBRARY; case 51: return PROCESS_ANDROID_RESOURCES; case 52: return PROCESS_MANIFEST; case 53: return PROCESS_TEST_MANIFEST; case 54: return RENDERSCRIPT_COMPILE; case 55: return SHADER_COMPILE; case 56: return SIGNING_REPORT; case 57: return SINGLE_FILE_COPY; case 58: return SOURCE_SETS; case 59: return SPLIT_ZIP_ALIGN; case 60: return STREAM_BASED; case 61: return STRIP_DEBUG_SYMBOL; case 62: return STRIP_DEPENDENCIES; case 63: return TEST_MODULE_PRO_GUARD; case 64: return TEST_SERVER; case 65: return TRANSFORM; case 66: return UNINSTALL; case 67: return VALIDATE_SIGNING; case 68: return ZIP_ALIGN; case 69: return JAVA_COMPILE; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Type findValueByNumber(int number) { return Type.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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); public static Type 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 Type(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:android_studio.GradleTaskExecution.Type) } private int bitField0_; // optional .android_studio.GradleTaskExecution.Type type = 1; public static final int TYPE_FIELD_NUMBER = 1; private com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution.Type type_; /** * optional .android_studio.GradleTaskExecution.Type type = 1; * *
     * The task implementing class.
     *  Custom tasks are recorded as UNKNOWN_TASK_TYPE.
     * 
*/ public boolean hasType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .android_studio.GradleTaskExecution.Type type = 1; * *
     * The task implementing class.
     *  Custom tasks are recorded as UNKNOWN_TASK_TYPE.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution.Type getType() { return type_; } // optional bool did_work = 2; public static final int DID_WORK_FIELD_NUMBER = 2; private boolean didWork_; /** * optional bool did_work = 2; * *
     * Whether the task did work (TaskState#getDidWork())
     *  This is not necessarily the inverse of up_to_date: see
     *  https://docs.gradle.org/current/javadoc/org/gradle/api/tasks/TaskState.html#getDidWork()
     * 
*/ public boolean hasDidWork() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional bool did_work = 2; * *
     * Whether the task did work (TaskState#getDidWork())
     *  This is not necessarily the inverse of up_to_date: see
     *  https://docs.gradle.org/current/javadoc/org/gradle/api/tasks/TaskState.html#getDidWork()
     * 
*/ public boolean getDidWork() { return didWork_; } // optional bool skipped = 3; public static final int SKIPPED_FIELD_NUMBER = 3; private boolean skipped_; /** * optional bool skipped = 3; * *
     * Whether the task was skipped (TaskState#getSkipped())
     * 
*/ public boolean hasSkipped() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional bool skipped = 3; * *
     * Whether the task was skipped (TaskState#getSkipped())
     * 
*/ public boolean getSkipped() { return skipped_; } // optional bool up_to_date = 4; public static final int UP_TO_DATE_FIELD_NUMBER = 4; private boolean upToDate_; /** * optional bool up_to_date = 4; * *
     * Whether the task was up to date (TaskState#getUpToDate())
     * 
*/ public boolean hasUpToDate() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional bool up_to_date = 4; * *
     * Whether the task was up to date (TaskState#getUpToDate())
     * 
*/ public boolean getUpToDate() { return upToDate_; } // optional bool failed = 5; public static final int FAILED_FIELD_NUMBER = 5; private boolean failed_; /** * optional bool failed = 5; * *
     * Whether the task failed
     * 
*/ public boolean hasFailed() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional bool failed = 5; * *
     * Whether the task failed
     * 
*/ public boolean getFailed() { return failed_; } private void initFields() { type_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution.Type.UNKNOWN_TASK_TYPE; didWork_ = false; skipped_ = false; upToDate_ = false; failed_ = false; } 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.writeEnum(1, type_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBool(2, didWork_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(3, skipped_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBool(4, upToDate_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBool(5, failed_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, type_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, didWork_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, skipped_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, upToDate_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(5, failed_); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution 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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution 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 android_studio.GradleTaskExecution} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecutionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleTaskExecution_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleTaskExecution_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution.Builder.class); } // Construct using com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution.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(); type_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution.Type.UNKNOWN_TASK_TYPE; bitField0_ = (bitField0_ & ~0x00000001); didWork_ = false; bitField0_ = (bitField0_ & ~0x00000002); skipped_ = false; bitField0_ = (bitField0_ & ~0x00000004); upToDate_ = false; bitField0_ = (bitField0_ & ~0x00000008); failed_ = false; bitField0_ = (bitField0_ & ~0x00000010); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleTaskExecution_descriptor; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution getDefaultInstanceForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution.getDefaultInstance(); } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution build() { com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution buildPartial() { com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution result = new com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.type_ = type_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.didWork_ = didWork_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.skipped_ = skipped_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.upToDate_ = upToDate_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.failed_ = failed_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution) { return mergeFrom((com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution other) { if (other == com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution.getDefaultInstance()) return this; if (other.hasType()) { setType(other.getType()); } if (other.hasDidWork()) { setDidWork(other.getDidWork()); } if (other.hasSkipped()) { setSkipped(other.getSkipped()); } if (other.hasUpToDate()) { setUpToDate(other.getUpToDate()); } if (other.hasFailed()) { setFailed(other.getFailed()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional .android_studio.GradleTaskExecution.Type type = 1; private com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution.Type type_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution.Type.UNKNOWN_TASK_TYPE; /** * optional .android_studio.GradleTaskExecution.Type type = 1; * *
       * The task implementing class.
       *  Custom tasks are recorded as UNKNOWN_TASK_TYPE.
       * 
*/ public boolean hasType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .android_studio.GradleTaskExecution.Type type = 1; * *
       * The task implementing class.
       *  Custom tasks are recorded as UNKNOWN_TASK_TYPE.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution.Type getType() { return type_; } /** * optional .android_studio.GradleTaskExecution.Type type = 1; * *
       * The task implementing class.
       *  Custom tasks are recorded as UNKNOWN_TASK_TYPE.
       * 
*/ public Builder setType(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution.Type value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; type_ = value; onChanged(); return this; } /** * optional .android_studio.GradleTaskExecution.Type type = 1; * *
       * The task implementing class.
       *  Custom tasks are recorded as UNKNOWN_TASK_TYPE.
       * 
*/ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000001); type_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTaskExecution.Type.UNKNOWN_TASK_TYPE; onChanged(); return this; } // optional bool did_work = 2; private boolean didWork_ ; /** * optional bool did_work = 2; * *
       * Whether the task did work (TaskState#getDidWork())
       *  This is not necessarily the inverse of up_to_date: see
       *  https://docs.gradle.org/current/javadoc/org/gradle/api/tasks/TaskState.html#getDidWork()
       * 
*/ public boolean hasDidWork() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional bool did_work = 2; * *
       * Whether the task did work (TaskState#getDidWork())
       *  This is not necessarily the inverse of up_to_date: see
       *  https://docs.gradle.org/current/javadoc/org/gradle/api/tasks/TaskState.html#getDidWork()
       * 
*/ public boolean getDidWork() { return didWork_; } /** * optional bool did_work = 2; * *
       * Whether the task did work (TaskState#getDidWork())
       *  This is not necessarily the inverse of up_to_date: see
       *  https://docs.gradle.org/current/javadoc/org/gradle/api/tasks/TaskState.html#getDidWork()
       * 
*/ public Builder setDidWork(boolean value) { bitField0_ |= 0x00000002; didWork_ = value; onChanged(); return this; } /** * optional bool did_work = 2; * *
       * Whether the task did work (TaskState#getDidWork())
       *  This is not necessarily the inverse of up_to_date: see
       *  https://docs.gradle.org/current/javadoc/org/gradle/api/tasks/TaskState.html#getDidWork()
       * 
*/ public Builder clearDidWork() { bitField0_ = (bitField0_ & ~0x00000002); didWork_ = false; onChanged(); return this; } // optional bool skipped = 3; private boolean skipped_ ; /** * optional bool skipped = 3; * *
       * Whether the task was skipped (TaskState#getSkipped())
       * 
*/ public boolean hasSkipped() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional bool skipped = 3; * *
       * Whether the task was skipped (TaskState#getSkipped())
       * 
*/ public boolean getSkipped() { return skipped_; } /** * optional bool skipped = 3; * *
       * Whether the task was skipped (TaskState#getSkipped())
       * 
*/ public Builder setSkipped(boolean value) { bitField0_ |= 0x00000004; skipped_ = value; onChanged(); return this; } /** * optional bool skipped = 3; * *
       * Whether the task was skipped (TaskState#getSkipped())
       * 
*/ public Builder clearSkipped() { bitField0_ = (bitField0_ & ~0x00000004); skipped_ = false; onChanged(); return this; } // optional bool up_to_date = 4; private boolean upToDate_ ; /** * optional bool up_to_date = 4; * *
       * Whether the task was up to date (TaskState#getUpToDate())
       * 
*/ public boolean hasUpToDate() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional bool up_to_date = 4; * *
       * Whether the task was up to date (TaskState#getUpToDate())
       * 
*/ public boolean getUpToDate() { return upToDate_; } /** * optional bool up_to_date = 4; * *
       * Whether the task was up to date (TaskState#getUpToDate())
       * 
*/ public Builder setUpToDate(boolean value) { bitField0_ |= 0x00000008; upToDate_ = value; onChanged(); return this; } /** * optional bool up_to_date = 4; * *
       * Whether the task was up to date (TaskState#getUpToDate())
       * 
*/ public Builder clearUpToDate() { bitField0_ = (bitField0_ & ~0x00000008); upToDate_ = false; onChanged(); return this; } // optional bool failed = 5; private boolean failed_ ; /** * optional bool failed = 5; * *
       * Whether the task failed
       * 
*/ public boolean hasFailed() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional bool failed = 5; * *
       * Whether the task failed
       * 
*/ public boolean getFailed() { return failed_; } /** * optional bool failed = 5; * *
       * Whether the task failed
       * 
*/ public Builder setFailed(boolean value) { bitField0_ |= 0x00000010; failed_ = value; onChanged(); return this; } /** * optional bool failed = 5; * *
       * Whether the task failed
       * 
*/ public Builder clearFailed() { bitField0_ = (bitField0_ & ~0x00000010); failed_ = false; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:android_studio.GradleTaskExecution) } static { defaultInstance = new GradleTaskExecution(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:android_studio.GradleTaskExecution) } public interface GradleTransformExecutionOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional .android_studio.GradleTransformExecution.Type type = 1; /** * optional .android_studio.GradleTransformExecution.Type type = 1; * *
     * The transform implementing class.
     *  Custom transforms are recorded as UNKNOWN_TRANSFORM_TYPE.
     * 
*/ boolean hasType(); /** * optional .android_studio.GradleTransformExecution.Type type = 1; * *
     * The transform implementing class.
     *  Custom transforms are recorded as UNKNOWN_TRANSFORM_TYPE.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution.Type getType(); // optional bool is_incremental = 2; /** * optional bool is_incremental = 2; * *
     * Whether the transform could be (in the case of TASK_TRANSFORM_PREPARATION)
     *  or was (in the case of TASK_TRANSFORM) incremental.
     * 
*/ boolean hasIsIncremental(); /** * optional bool is_incremental = 2; * *
     * Whether the transform could be (in the case of TASK_TRANSFORM_PREPARATION)
     *  or was (in the case of TASK_TRANSFORM) incremental.
     * 
*/ boolean getIsIncremental(); } /** * Protobuf type {@code android_studio.GradleTransformExecution} */ public static final class GradleTransformExecution extends com.google.protobuf.GeneratedMessage implements GradleTransformExecutionOrBuilder { // Use GradleTransformExecution.newBuilder() to construct. private GradleTransformExecution(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private GradleTransformExecution(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final GradleTransformExecution defaultInstance; public static GradleTransformExecution getDefaultInstance() { return defaultInstance; } public GradleTransformExecution getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GradleTransformExecution( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { int rawValue = input.readEnum(); com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution.Type value = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution.Type.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { bitField0_ |= 0x00000001; type_ = value; } break; } case 16: { bitField0_ |= 0x00000002; isIncremental_ = 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.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleTransformExecution_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleTransformExecution_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public GradleTransformExecution parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GradleTransformExecution(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } /** * Protobuf enum {@code android_studio.GradleTransformExecution.Type} * *
     * The transform class.
     * 
*/ public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN_TRANSFORM_TYPE = 0; */ UNKNOWN_TRANSFORM_TYPE(0, 0), /** * DEX = 1; */ DEX(1, 1), /** * EXTRACT_JARS = 2; */ EXTRACT_JARS(2, 2), /** * INSTANT_RUN_DEX = 3; */ INSTANT_RUN_DEX(3, 3), /** * INSTANT_RUN_SLICER = 4; */ INSTANT_RUN_SLICER(4, 4), /** * INSTANT_RUN = 5; */ INSTANT_RUN(5, 5), /** * INSTANT_RUN_VERIFER = 6; */ INSTANT_RUN_VERIFER(6, 6), /** * JACK_PRE_DEX = 7; */ JACK_PRE_DEX(7, 7), /** * JACK = 8; */ JACK(8, 8), /** * JACOCO = 9; */ JACOCO(9, 9), /** * JAR_MERGING = 10; */ JAR_MERGING(10, 10), /** * LIBRARY_JAR = 11; */ LIBRARY_JAR(11, 11), /** * LIBRARY_JNI_LIBS = 12; */ LIBRARY_JNI_LIBS(12, 12), /** * MERGE_JAVA_RESOURCES = 13; */ MERGE_JAVA_RESOURCES(13, 13), /** * MULTI_DEX = 14; */ MULTI_DEX(14, 14), /** * NEW_SHRINKER = 15; */ NEW_SHRINKER(15, 15), /** * NO_CHANGES_VERIFIER = 16; */ NO_CHANGES_VERIFIER(16, 16), /** * PRO_GUARD = 17; */ PRO_GUARD(17, 17), /** * SHRINK_RESOURCES = 18; */ SHRINK_RESOURCES(18, 18), ; /** * UNKNOWN_TRANSFORM_TYPE = 0; */ public static final int UNKNOWN_TRANSFORM_TYPE_VALUE = 0; /** * DEX = 1; */ public static final int DEX_VALUE = 1; /** * EXTRACT_JARS = 2; */ public static final int EXTRACT_JARS_VALUE = 2; /** * INSTANT_RUN_DEX = 3; */ public static final int INSTANT_RUN_DEX_VALUE = 3; /** * INSTANT_RUN_SLICER = 4; */ public static final int INSTANT_RUN_SLICER_VALUE = 4; /** * INSTANT_RUN = 5; */ public static final int INSTANT_RUN_VALUE = 5; /** * INSTANT_RUN_VERIFER = 6; */ public static final int INSTANT_RUN_VERIFER_VALUE = 6; /** * JACK_PRE_DEX = 7; */ public static final int JACK_PRE_DEX_VALUE = 7; /** * JACK = 8; */ public static final int JACK_VALUE = 8; /** * JACOCO = 9; */ public static final int JACOCO_VALUE = 9; /** * JAR_MERGING = 10; */ public static final int JAR_MERGING_VALUE = 10; /** * LIBRARY_JAR = 11; */ public static final int LIBRARY_JAR_VALUE = 11; /** * LIBRARY_JNI_LIBS = 12; */ public static final int LIBRARY_JNI_LIBS_VALUE = 12; /** * MERGE_JAVA_RESOURCES = 13; */ public static final int MERGE_JAVA_RESOURCES_VALUE = 13; /** * MULTI_DEX = 14; */ public static final int MULTI_DEX_VALUE = 14; /** * NEW_SHRINKER = 15; */ public static final int NEW_SHRINKER_VALUE = 15; /** * NO_CHANGES_VERIFIER = 16; */ public static final int NO_CHANGES_VERIFIER_VALUE = 16; /** * PRO_GUARD = 17; */ public static final int PRO_GUARD_VALUE = 17; /** * SHRINK_RESOURCES = 18; */ public static final int SHRINK_RESOURCES_VALUE = 18; public final int getNumber() { return value; } public static Type valueOf(int value) { switch (value) { case 0: return UNKNOWN_TRANSFORM_TYPE; case 1: return DEX; case 2: return EXTRACT_JARS; case 3: return INSTANT_RUN_DEX; case 4: return INSTANT_RUN_SLICER; case 5: return INSTANT_RUN; case 6: return INSTANT_RUN_VERIFER; case 7: return JACK_PRE_DEX; case 8: return JACK; case 9: return JACOCO; case 10: return JAR_MERGING; case 11: return LIBRARY_JAR; case 12: return LIBRARY_JNI_LIBS; case 13: return MERGE_JAVA_RESOURCES; case 14: return MULTI_DEX; case 15: return NEW_SHRINKER; case 16: return NO_CHANGES_VERIFIER; case 17: return PRO_GUARD; case 18: return SHRINK_RESOURCES; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Type findValueByNumber(int number) { return Type.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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); public static Type 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 Type(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:android_studio.GradleTransformExecution.Type) } private int bitField0_; // optional .android_studio.GradleTransformExecution.Type type = 1; public static final int TYPE_FIELD_NUMBER = 1; private com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution.Type type_; /** * optional .android_studio.GradleTransformExecution.Type type = 1; * *
     * The transform implementing class.
     *  Custom transforms are recorded as UNKNOWN_TRANSFORM_TYPE.
     * 
*/ public boolean hasType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .android_studio.GradleTransformExecution.Type type = 1; * *
     * The transform implementing class.
     *  Custom transforms are recorded as UNKNOWN_TRANSFORM_TYPE.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution.Type getType() { return type_; } // optional bool is_incremental = 2; public static final int IS_INCREMENTAL_FIELD_NUMBER = 2; private boolean isIncremental_; /** * optional bool is_incremental = 2; * *
     * Whether the transform could be (in the case of TASK_TRANSFORM_PREPARATION)
     *  or was (in the case of TASK_TRANSFORM) incremental.
     * 
*/ public boolean hasIsIncremental() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional bool is_incremental = 2; * *
     * Whether the transform could be (in the case of TASK_TRANSFORM_PREPARATION)
     *  or was (in the case of TASK_TRANSFORM) incremental.
     * 
*/ public boolean getIsIncremental() { return isIncremental_; } private void initFields() { type_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution.Type.UNKNOWN_TRANSFORM_TYPE; isIncremental_ = false; } 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.writeEnum(1, type_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBool(2, isIncremental_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, type_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, isIncremental_); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution 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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution 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 android_studio.GradleTransformExecution} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecutionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleTransformExecution_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleTransformExecution_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution.Builder.class); } // Construct using com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution.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(); type_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution.Type.UNKNOWN_TRANSFORM_TYPE; bitField0_ = (bitField0_ & ~0x00000001); isIncremental_ = false; bitField0_ = (bitField0_ & ~0x00000002); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GradleTransformExecution_descriptor; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution getDefaultInstanceForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution.getDefaultInstance(); } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution build() { com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution buildPartial() { com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution result = new com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.type_ = type_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.isIncremental_ = isIncremental_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution) { return mergeFrom((com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution other) { if (other == com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution.getDefaultInstance()) return this; if (other.hasType()) { setType(other.getType()); } if (other.hasIsIncremental()) { setIsIncremental(other.getIsIncremental()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional .android_studio.GradleTransformExecution.Type type = 1; private com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution.Type type_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution.Type.UNKNOWN_TRANSFORM_TYPE; /** * optional .android_studio.GradleTransformExecution.Type type = 1; * *
       * The transform implementing class.
       *  Custom transforms are recorded as UNKNOWN_TRANSFORM_TYPE.
       * 
*/ public boolean hasType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .android_studio.GradleTransformExecution.Type type = 1; * *
       * The transform implementing class.
       *  Custom transforms are recorded as UNKNOWN_TRANSFORM_TYPE.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution.Type getType() { return type_; } /** * optional .android_studio.GradleTransformExecution.Type type = 1; * *
       * The transform implementing class.
       *  Custom transforms are recorded as UNKNOWN_TRANSFORM_TYPE.
       * 
*/ public Builder setType(com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution.Type value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; type_ = value; onChanged(); return this; } /** * optional .android_studio.GradleTransformExecution.Type type = 1; * *
       * The transform implementing class.
       *  Custom transforms are recorded as UNKNOWN_TRANSFORM_TYPE.
       * 
*/ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000001); type_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleTransformExecution.Type.UNKNOWN_TRANSFORM_TYPE; onChanged(); return this; } // optional bool is_incremental = 2; private boolean isIncremental_ ; /** * optional bool is_incremental = 2; * *
       * Whether the transform could be (in the case of TASK_TRANSFORM_PREPARATION)
       *  or was (in the case of TASK_TRANSFORM) incremental.
       * 
*/ public boolean hasIsIncremental() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional bool is_incremental = 2; * *
       * Whether the transform could be (in the case of TASK_TRANSFORM_PREPARATION)
       *  or was (in the case of TASK_TRANSFORM) incremental.
       * 
*/ public boolean getIsIncremental() { return isIncremental_; } /** * optional bool is_incremental = 2; * *
       * Whether the transform could be (in the case of TASK_TRANSFORM_PREPARATION)
       *  or was (in the case of TASK_TRANSFORM) incremental.
       * 
*/ public Builder setIsIncremental(boolean value) { bitField0_ |= 0x00000002; isIncremental_ = value; onChanged(); return this; } /** * optional bool is_incremental = 2; * *
       * Whether the transform could be (in the case of TASK_TRANSFORM_PREPARATION)
       *  or was (in the case of TASK_TRANSFORM) incremental.
       * 
*/ public Builder clearIsIncremental() { bitField0_ = (bitField0_ & ~0x00000002); isIncremental_ = false; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:android_studio.GradleTransformExecution) } static { defaultInstance = new GradleTransformExecution(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:android_studio.GradleTransformExecution) } public interface InstantRunStatusOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional .android_studio.InstantRunStatus.BuildMode build_mode = 1; /** * optional .android_studio.InstantRunStatus.BuildMode build_mode = 1; * *
     * The type of artifacts built in this invocation.
     *  e.g. COLD for when the changes cannot be hot-swapped, either due to the
     *  app not running on the users device or the changes cannot be hot swapped.
     * 
*/ boolean hasBuildMode(); /** * optional .android_studio.InstantRunStatus.BuildMode build_mode = 1; * *
     * The type of artifacts built in this invocation.
     *  e.g. COLD for when the changes cannot be hot-swapped, either due to the
     *  app not running on the users device or the changes cannot be hot swapped.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.BuildMode getBuildMode(); // optional .android_studio.InstantRunStatus.PatchingPolicy patching_policy = 2; /** * optional .android_studio.InstantRunStatus.PatchingPolicy patching_policy = 2; * *
     * The type of deploy that the build can generate artifacts for.
     * 
*/ boolean hasPatchingPolicy(); /** * optional .android_studio.InstantRunStatus.PatchingPolicy patching_policy = 2; * *
     * The type of deploy that the build can generate artifacts for.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.PatchingPolicy getPatchingPolicy(); // optional .android_studio.InstantRunStatus.VerifierStatus verifier_status = 3; /** * optional .android_studio.InstantRunStatus.VerifierStatus verifier_status = 3; * *
     * The result of the verifier run, whether the users change can be hot-swapped
     *  or requires a cold swap or full build is determined by the verifier.
     * 
*/ boolean hasVerifierStatus(); /** * optional .android_studio.InstantRunStatus.VerifierStatus verifier_status = 3; * *
     * The result of the verifier run, whether the users change can be hot-swapped
     *  or requires a cold swap or full build is determined by the verifier.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.VerifierStatus getVerifierStatus(); // repeated .android_studio.InstantRunArtifact artifact = 4; /** * repeated .android_studio.InstantRunArtifact artifact = 4; * *
     * The built artifacts stored in the build info.
     *  Artifacts that were built, but superseeded (e.g. a main APK contains
     *  resources, so the resources do not need to be reported separately) are
     *  not included.
     * 
*/ java.util.List getArtifactList(); /** * repeated .android_studio.InstantRunArtifact artifact = 4; * *
     * The built artifacts stored in the build info.
     *  Artifacts that were built, but superseeded (e.g. a main APK contains
     *  resources, so the resources do not need to be reported separately) are
     *  not included.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact getArtifact(int index); /** * repeated .android_studio.InstantRunArtifact artifact = 4; * *
     * The built artifacts stored in the build info.
     *  Artifacts that were built, but superseeded (e.g. a main APK contains
     *  resources, so the resources do not need to be reported separately) are
     *  not included.
     * 
*/ int getArtifactCount(); /** * repeated .android_studio.InstantRunArtifact artifact = 4; * *
     * The built artifacts stored in the build info.
     *  Artifacts that were built, but superseeded (e.g. a main APK contains
     *  resources, so the resources do not need to be reported separately) are
     *  not included.
     * 
*/ java.util.List getArtifactOrBuilderList(); /** * repeated .android_studio.InstantRunArtifact artifact = 4; * *
     * The built artifacts stored in the build info.
     *  Artifacts that were built, but superseeded (e.g. a main APK contains
     *  resources, so the resources do not need to be reported separately) are
     *  not included.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifactOrBuilder getArtifactOrBuilder( int index); } /** * Protobuf type {@code android_studio.InstantRunStatus} */ public static final class InstantRunStatus extends com.google.protobuf.GeneratedMessage implements InstantRunStatusOrBuilder { // Use InstantRunStatus.newBuilder() to construct. private InstantRunStatus(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private InstantRunStatus(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final InstantRunStatus defaultInstance; public static InstantRunStatus getDefaultInstance() { return defaultInstance; } public InstantRunStatus getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private InstantRunStatus( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { int rawValue = input.readEnum(); com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.BuildMode value = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.BuildMode.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { bitField0_ |= 0x00000001; buildMode_ = value; } break; } case 16: { int rawValue = input.readEnum(); com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.PatchingPolicy value = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.PatchingPolicy.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(2, rawValue); } else { bitField0_ |= 0x00000002; patchingPolicy_ = value; } break; } case 24: { int rawValue = input.readEnum(); com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.VerifierStatus value = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.VerifierStatus.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(3, rawValue); } else { bitField0_ |= 0x00000004; verifierStatus_ = value; } break; } case 34: { if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { artifact_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } artifact_.add(input.readMessage(com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact.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_ & 0x00000008) == 0x00000008)) { artifact_ = java.util.Collections.unmodifiableList(artifact_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_InstantRunStatus_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_InstantRunStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public InstantRunStatus parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new InstantRunStatus(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } /** * Protobuf enum {@code android_studio.InstantRunStatus.BuildMode} */ public enum BuildMode implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN_BUILD_MODE = 0; */ UNKNOWN_BUILD_MODE(0, 0), /** * HOT_WARM = 1; */ HOT_WARM(1, 1), /** * COLD = 2; */ COLD(2, 2), /** * FULL = 3; */ FULL(3, 3), ; /** * UNKNOWN_BUILD_MODE = 0; */ public static final int UNKNOWN_BUILD_MODE_VALUE = 0; /** * HOT_WARM = 1; */ public static final int HOT_WARM_VALUE = 1; /** * COLD = 2; */ public static final int COLD_VALUE = 2; /** * FULL = 3; */ public static final int FULL_VALUE = 3; public final int getNumber() { return value; } public static BuildMode valueOf(int value) { switch (value) { case 0: return UNKNOWN_BUILD_MODE; case 1: return HOT_WARM; case 2: return COLD; case 3: return FULL; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public BuildMode findValueByNumber(int number) { return BuildMode.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.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.getDescriptor().getEnumTypes().get(0); } private static final BuildMode[] VALUES = values(); public static BuildMode 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 BuildMode(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:android_studio.InstantRunStatus.BuildMode) } /** * Protobuf enum {@code android_studio.InstantRunStatus.PatchingPolicy} */ public enum PatchingPolicy implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN_PATCHING_POLICY = 0; */ UNKNOWN_PATCHING_POLICY(0, 0), /** * PRE_LOLLIPOP = 1; * *
       * No Cold swap is possible
       * 
*/ PRE_LOLLIPOP(1, 1), /** * MULTI_DEX = 2; * *
       * Cold swap done by shipping dex classes to the Instant Run runtime
       * 
*/ MULTI_DEX(2, 2), /** * MULTI_APK = 3; * *
       * Cold swap done by reinstalling APK splits.
       * 
*/ MULTI_APK(3, 3), ; /** * UNKNOWN_PATCHING_POLICY = 0; */ public static final int UNKNOWN_PATCHING_POLICY_VALUE = 0; /** * PRE_LOLLIPOP = 1; * *
       * No Cold swap is possible
       * 
*/ public static final int PRE_LOLLIPOP_VALUE = 1; /** * MULTI_DEX = 2; * *
       * Cold swap done by shipping dex classes to the Instant Run runtime
       * 
*/ public static final int MULTI_DEX_VALUE = 2; /** * MULTI_APK = 3; * *
       * Cold swap done by reinstalling APK splits.
       * 
*/ public static final int MULTI_APK_VALUE = 3; public final int getNumber() { return value; } public static PatchingPolicy valueOf(int value) { switch (value) { case 0: return UNKNOWN_PATCHING_POLICY; case 1: return PRE_LOLLIPOP; case 2: return MULTI_DEX; case 3: return MULTI_APK; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public PatchingPolicy findValueByNumber(int number) { return PatchingPolicy.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.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.getDescriptor().getEnumTypes().get(1); } private static final PatchingPolicy[] VALUES = values(); public static PatchingPolicy 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 PatchingPolicy(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:android_studio.InstantRunStatus.PatchingPolicy) } /** * Protobuf enum {@code android_studio.InstantRunStatus.VerifierStatus} */ public enum VerifierStatus implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN_VERIFIER_STATUS = 0; */ UNKNOWN_VERIFIER_STATUS(0, 0), /** * COMPATIBLE = 1; */ COMPATIBLE(1, 1), /** * NOT_RUN = 2; * *
       * the verifier did not run successfully.
       * 
*/ NOT_RUN(2, 2), /** * INSTANT_RUN_DISABLED = 3; * *
       * InstantRun disabled on element like a method, class or package.
       * 
*/ INSTANT_RUN_DISABLED(3, 3), /** * INSTANT_RUN_FAILURE = 4; * *
       * Any inability to run the verifier on a file will be tagged as such
       * 
*/ INSTANT_RUN_FAILURE(4, 4), /** * CLASS_ADDED = 5; * *
       * A new class was added.
       * 
*/ CLASS_ADDED(5, 5), /** * PARENT_CLASS_CHANGED = 6; * *
       * changes in the hierarchy
       * 
*/ PARENT_CLASS_CHANGED(6, 6), /** * IMPLEMENTED_INTERFACES_CHANGE = 7; */ IMPLEMENTED_INTERFACES_CHANGE(7, 7), /** * CLASS_ANNOTATION_CHANGE = 8; * *
       * class related changes.
       * 
*/ CLASS_ANNOTATION_CHANGE(8, 8), /** * STATIC_INITIALIZER_CHANGE = 9; */ STATIC_INITIALIZER_CHANGE(9, 9), /** * CONSTRUCTOR_SIGNATURE_CHANGE = 10; * *
       * changes in constructors,
       * 
*/ CONSTRUCTOR_SIGNATURE_CHANGE(10, 10), /** * METHOD_SIGNATURE_CHANGE = 11; * *
       * changes in method
       * 
*/ METHOD_SIGNATURE_CHANGE(11, 11), /** * METHOD_ANNOTATION_CHANGE = 12; */ METHOD_ANNOTATION_CHANGE(12, 12), /** * METHOD_DELETED = 13; */ METHOD_DELETED(13, 13), /** * METHOD_ADDED = 14; */ METHOD_ADDED(14, 14), /** * FIELD_ADDED = 15; * *
       * changes in fields.
       * 
*/ FIELD_ADDED(15, 15), /** * FIELD_REMOVED = 16; */ FIELD_REMOVED(16, 16), /** * FIELD_TYPE_CHANGE = 17; * *
       * change of field type or kind (static | instance)
       * 
*/ FIELD_TYPE_CHANGE(17, 17), /** * R_CLASS_CHANGE = 18; */ R_CLASS_CHANGE(18, 18), /** * REFLECTION_USED = 19; * *
       * reflection use
       * 
*/ REFLECTION_USED(19, 19), /** * JAVA_RESOURCES_CHANGED = 20; */ JAVA_RESOURCES_CHANGED(20, 20), /** * DEPENDENCY_CHANGED = 21; */ DEPENDENCY_CHANGED(21, 21), /** * MANIFEST_FILE_CHANGE = 22; */ MANIFEST_FILE_CHANGE(22, 22), /** * BINARY_MANIFEST_FILE_CHANGE = 23; * *
       * the binary manifest file changed, probably due to references to resources which ID changed
       *  since last build.
       * 
*/ BINARY_MANIFEST_FILE_CHANGE(23, 23), /** * COLD_SWAP_REQUESTED = 24; */ COLD_SWAP_REQUESTED(24, 24), /** * FULL_BUILD_REQUESTED = 25; */ FULL_BUILD_REQUESTED(25, 25), /** * INITIAL_BUILD = 26; */ INITIAL_BUILD(26, 26), /** * NO_CHANGES = 27; */ NO_CHANGES(27, 27), /** * CHANGE_IN_SERIALIZABLE_CLASS_WITHOUT_VERSION_UID = 28; */ CHANGE_IN_SERIALIZABLE_CLASS_WITHOUT_VERSION_UID(28, 28), ; /** * UNKNOWN_VERIFIER_STATUS = 0; */ public static final int UNKNOWN_VERIFIER_STATUS_VALUE = 0; /** * COMPATIBLE = 1; */ public static final int COMPATIBLE_VALUE = 1; /** * NOT_RUN = 2; * *
       * the verifier did not run successfully.
       * 
*/ public static final int NOT_RUN_VALUE = 2; /** * INSTANT_RUN_DISABLED = 3; * *
       * InstantRun disabled on element like a method, class or package.
       * 
*/ public static final int INSTANT_RUN_DISABLED_VALUE = 3; /** * INSTANT_RUN_FAILURE = 4; * *
       * Any inability to run the verifier on a file will be tagged as such
       * 
*/ public static final int INSTANT_RUN_FAILURE_VALUE = 4; /** * CLASS_ADDED = 5; * *
       * A new class was added.
       * 
*/ public static final int CLASS_ADDED_VALUE = 5; /** * PARENT_CLASS_CHANGED = 6; * *
       * changes in the hierarchy
       * 
*/ public static final int PARENT_CLASS_CHANGED_VALUE = 6; /** * IMPLEMENTED_INTERFACES_CHANGE = 7; */ public static final int IMPLEMENTED_INTERFACES_CHANGE_VALUE = 7; /** * CLASS_ANNOTATION_CHANGE = 8; * *
       * class related changes.
       * 
*/ public static final int CLASS_ANNOTATION_CHANGE_VALUE = 8; /** * STATIC_INITIALIZER_CHANGE = 9; */ public static final int STATIC_INITIALIZER_CHANGE_VALUE = 9; /** * CONSTRUCTOR_SIGNATURE_CHANGE = 10; * *
       * changes in constructors,
       * 
*/ public static final int CONSTRUCTOR_SIGNATURE_CHANGE_VALUE = 10; /** * METHOD_SIGNATURE_CHANGE = 11; * *
       * changes in method
       * 
*/ public static final int METHOD_SIGNATURE_CHANGE_VALUE = 11; /** * METHOD_ANNOTATION_CHANGE = 12; */ public static final int METHOD_ANNOTATION_CHANGE_VALUE = 12; /** * METHOD_DELETED = 13; */ public static final int METHOD_DELETED_VALUE = 13; /** * METHOD_ADDED = 14; */ public static final int METHOD_ADDED_VALUE = 14; /** * FIELD_ADDED = 15; * *
       * changes in fields.
       * 
*/ public static final int FIELD_ADDED_VALUE = 15; /** * FIELD_REMOVED = 16; */ public static final int FIELD_REMOVED_VALUE = 16; /** * FIELD_TYPE_CHANGE = 17; * *
       * change of field type or kind (static | instance)
       * 
*/ public static final int FIELD_TYPE_CHANGE_VALUE = 17; /** * R_CLASS_CHANGE = 18; */ public static final int R_CLASS_CHANGE_VALUE = 18; /** * REFLECTION_USED = 19; * *
       * reflection use
       * 
*/ public static final int REFLECTION_USED_VALUE = 19; /** * JAVA_RESOURCES_CHANGED = 20; */ public static final int JAVA_RESOURCES_CHANGED_VALUE = 20; /** * DEPENDENCY_CHANGED = 21; */ public static final int DEPENDENCY_CHANGED_VALUE = 21; /** * MANIFEST_FILE_CHANGE = 22; */ public static final int MANIFEST_FILE_CHANGE_VALUE = 22; /** * BINARY_MANIFEST_FILE_CHANGE = 23; * *
       * the binary manifest file changed, probably due to references to resources which ID changed
       *  since last build.
       * 
*/ public static final int BINARY_MANIFEST_FILE_CHANGE_VALUE = 23; /** * COLD_SWAP_REQUESTED = 24; */ public static final int COLD_SWAP_REQUESTED_VALUE = 24; /** * FULL_BUILD_REQUESTED = 25; */ public static final int FULL_BUILD_REQUESTED_VALUE = 25; /** * INITIAL_BUILD = 26; */ public static final int INITIAL_BUILD_VALUE = 26; /** * NO_CHANGES = 27; */ public static final int NO_CHANGES_VALUE = 27; /** * CHANGE_IN_SERIALIZABLE_CLASS_WITHOUT_VERSION_UID = 28; */ public static final int CHANGE_IN_SERIALIZABLE_CLASS_WITHOUT_VERSION_UID_VALUE = 28; public final int getNumber() { return value; } public static VerifierStatus valueOf(int value) { switch (value) { case 0: return UNKNOWN_VERIFIER_STATUS; case 1: return COMPATIBLE; case 2: return NOT_RUN; case 3: return INSTANT_RUN_DISABLED; case 4: return INSTANT_RUN_FAILURE; case 5: return CLASS_ADDED; case 6: return PARENT_CLASS_CHANGED; case 7: return IMPLEMENTED_INTERFACES_CHANGE; case 8: return CLASS_ANNOTATION_CHANGE; case 9: return STATIC_INITIALIZER_CHANGE; case 10: return CONSTRUCTOR_SIGNATURE_CHANGE; case 11: return METHOD_SIGNATURE_CHANGE; case 12: return METHOD_ANNOTATION_CHANGE; case 13: return METHOD_DELETED; case 14: return METHOD_ADDED; case 15: return FIELD_ADDED; case 16: return FIELD_REMOVED; case 17: return FIELD_TYPE_CHANGE; case 18: return R_CLASS_CHANGE; case 19: return REFLECTION_USED; case 20: return JAVA_RESOURCES_CHANGED; case 21: return DEPENDENCY_CHANGED; case 22: return MANIFEST_FILE_CHANGE; case 23: return BINARY_MANIFEST_FILE_CHANGE; case 24: return COLD_SWAP_REQUESTED; case 25: return FULL_BUILD_REQUESTED; case 26: return INITIAL_BUILD; case 27: return NO_CHANGES; case 28: return CHANGE_IN_SERIALIZABLE_CLASS_WITHOUT_VERSION_UID; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public VerifierStatus findValueByNumber(int number) { return VerifierStatus.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.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.getDescriptor().getEnumTypes().get(2); } private static final VerifierStatus[] VALUES = values(); public static VerifierStatus 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 VerifierStatus(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:android_studio.InstantRunStatus.VerifierStatus) } private int bitField0_; // optional .android_studio.InstantRunStatus.BuildMode build_mode = 1; public static final int BUILD_MODE_FIELD_NUMBER = 1; private com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.BuildMode buildMode_; /** * optional .android_studio.InstantRunStatus.BuildMode build_mode = 1; * *
     * The type of artifacts built in this invocation.
     *  e.g. COLD for when the changes cannot be hot-swapped, either due to the
     *  app not running on the users device or the changes cannot be hot swapped.
     * 
*/ public boolean hasBuildMode() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .android_studio.InstantRunStatus.BuildMode build_mode = 1; * *
     * The type of artifacts built in this invocation.
     *  e.g. COLD for when the changes cannot be hot-swapped, either due to the
     *  app not running on the users device or the changes cannot be hot swapped.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.BuildMode getBuildMode() { return buildMode_; } // optional .android_studio.InstantRunStatus.PatchingPolicy patching_policy = 2; public static final int PATCHING_POLICY_FIELD_NUMBER = 2; private com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.PatchingPolicy patchingPolicy_; /** * optional .android_studio.InstantRunStatus.PatchingPolicy patching_policy = 2; * *
     * The type of deploy that the build can generate artifacts for.
     * 
*/ public boolean hasPatchingPolicy() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .android_studio.InstantRunStatus.PatchingPolicy patching_policy = 2; * *
     * The type of deploy that the build can generate artifacts for.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.PatchingPolicy getPatchingPolicy() { return patchingPolicy_; } // optional .android_studio.InstantRunStatus.VerifierStatus verifier_status = 3; public static final int VERIFIER_STATUS_FIELD_NUMBER = 3; private com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.VerifierStatus verifierStatus_; /** * optional .android_studio.InstantRunStatus.VerifierStatus verifier_status = 3; * *
     * The result of the verifier run, whether the users change can be hot-swapped
     *  or requires a cold swap or full build is determined by the verifier.
     * 
*/ public boolean hasVerifierStatus() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .android_studio.InstantRunStatus.VerifierStatus verifier_status = 3; * *
     * The result of the verifier run, whether the users change can be hot-swapped
     *  or requires a cold swap or full build is determined by the verifier.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.VerifierStatus getVerifierStatus() { return verifierStatus_; } // repeated .android_studio.InstantRunArtifact artifact = 4; public static final int ARTIFACT_FIELD_NUMBER = 4; private java.util.List artifact_; /** * repeated .android_studio.InstantRunArtifact artifact = 4; * *
     * The built artifacts stored in the build info.
     *  Artifacts that were built, but superseeded (e.g. a main APK contains
     *  resources, so the resources do not need to be reported separately) are
     *  not included.
     * 
*/ public java.util.List getArtifactList() { return artifact_; } /** * repeated .android_studio.InstantRunArtifact artifact = 4; * *
     * The built artifacts stored in the build info.
     *  Artifacts that were built, but superseeded (e.g. a main APK contains
     *  resources, so the resources do not need to be reported separately) are
     *  not included.
     * 
*/ public java.util.List getArtifactOrBuilderList() { return artifact_; } /** * repeated .android_studio.InstantRunArtifact artifact = 4; * *
     * The built artifacts stored in the build info.
     *  Artifacts that were built, but superseeded (e.g. a main APK contains
     *  resources, so the resources do not need to be reported separately) are
     *  not included.
     * 
*/ public int getArtifactCount() { return artifact_.size(); } /** * repeated .android_studio.InstantRunArtifact artifact = 4; * *
     * The built artifacts stored in the build info.
     *  Artifacts that were built, but superseeded (e.g. a main APK contains
     *  resources, so the resources do not need to be reported separately) are
     *  not included.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact getArtifact(int index) { return artifact_.get(index); } /** * repeated .android_studio.InstantRunArtifact artifact = 4; * *
     * The built artifacts stored in the build info.
     *  Artifacts that were built, but superseeded (e.g. a main APK contains
     *  resources, so the resources do not need to be reported separately) are
     *  not included.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifactOrBuilder getArtifactOrBuilder( int index) { return artifact_.get(index); } private void initFields() { buildMode_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.BuildMode.UNKNOWN_BUILD_MODE; patchingPolicy_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.PatchingPolicy.UNKNOWN_PATCHING_POLICY; verifierStatus_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.VerifierStatus.UNKNOWN_VERIFIER_STATUS; artifact_ = 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(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeEnum(1, buildMode_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, patchingPolicy_.getNumber()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeEnum(3, verifierStatus_.getNumber()); } for (int i = 0; i < artifact_.size(); i++) { output.writeMessage(4, artifact_.get(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, buildMode_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, patchingPolicy_.getNumber()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, verifierStatus_.getNumber()); } for (int i = 0; i < artifact_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, artifact_.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.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus 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.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus 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 android_studio.InstantRunStatus} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatusOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_InstantRunStatus_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_InstantRunStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.Builder.class); } // Construct using com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getArtifactFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); buildMode_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.BuildMode.UNKNOWN_BUILD_MODE; bitField0_ = (bitField0_ & ~0x00000001); patchingPolicy_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.PatchingPolicy.UNKNOWN_PATCHING_POLICY; bitField0_ = (bitField0_ & ~0x00000002); verifierStatus_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.VerifierStatus.UNKNOWN_VERIFIER_STATUS; bitField0_ = (bitField0_ & ~0x00000004); if (artifactBuilder_ == null) { artifact_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); } else { artifactBuilder_.clear(); } return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_InstantRunStatus_descriptor; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus getDefaultInstanceForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.getDefaultInstance(); } public com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus build() { com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus buildPartial() { com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus result = new com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.buildMode_ = buildMode_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.patchingPolicy_ = patchingPolicy_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.verifierStatus_ = verifierStatus_; if (artifactBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008)) { artifact_ = java.util.Collections.unmodifiableList(artifact_); bitField0_ = (bitField0_ & ~0x00000008); } result.artifact_ = artifact_; } else { result.artifact_ = artifactBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus) { return mergeFrom((com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus other) { if (other == com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.getDefaultInstance()) return this; if (other.hasBuildMode()) { setBuildMode(other.getBuildMode()); } if (other.hasPatchingPolicy()) { setPatchingPolicy(other.getPatchingPolicy()); } if (other.hasVerifierStatus()) { setVerifierStatus(other.getVerifierStatus()); } if (artifactBuilder_ == null) { if (!other.artifact_.isEmpty()) { if (artifact_.isEmpty()) { artifact_ = other.artifact_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureArtifactIsMutable(); artifact_.addAll(other.artifact_); } onChanged(); } } else { if (!other.artifact_.isEmpty()) { if (artifactBuilder_.isEmpty()) { artifactBuilder_.dispose(); artifactBuilder_ = null; artifact_ = other.artifact_; bitField0_ = (bitField0_ & ~0x00000008); artifactBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getArtifactFieldBuilder() : null; } else { artifactBuilder_.addAllMessages(other.artifact_); } } } 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.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional .android_studio.InstantRunStatus.BuildMode build_mode = 1; private com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.BuildMode buildMode_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.BuildMode.UNKNOWN_BUILD_MODE; /** * optional .android_studio.InstantRunStatus.BuildMode build_mode = 1; * *
       * The type of artifacts built in this invocation.
       *  e.g. COLD for when the changes cannot be hot-swapped, either due to the
       *  app not running on the users device or the changes cannot be hot swapped.
       * 
*/ public boolean hasBuildMode() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .android_studio.InstantRunStatus.BuildMode build_mode = 1; * *
       * The type of artifacts built in this invocation.
       *  e.g. COLD for when the changes cannot be hot-swapped, either due to the
       *  app not running on the users device or the changes cannot be hot swapped.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.BuildMode getBuildMode() { return buildMode_; } /** * optional .android_studio.InstantRunStatus.BuildMode build_mode = 1; * *
       * The type of artifacts built in this invocation.
       *  e.g. COLD for when the changes cannot be hot-swapped, either due to the
       *  app not running on the users device or the changes cannot be hot swapped.
       * 
*/ public Builder setBuildMode(com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.BuildMode value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; buildMode_ = value; onChanged(); return this; } /** * optional .android_studio.InstantRunStatus.BuildMode build_mode = 1; * *
       * The type of artifacts built in this invocation.
       *  e.g. COLD for when the changes cannot be hot-swapped, either due to the
       *  app not running on the users device or the changes cannot be hot swapped.
       * 
*/ public Builder clearBuildMode() { bitField0_ = (bitField0_ & ~0x00000001); buildMode_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.BuildMode.UNKNOWN_BUILD_MODE; onChanged(); return this; } // optional .android_studio.InstantRunStatus.PatchingPolicy patching_policy = 2; private com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.PatchingPolicy patchingPolicy_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.PatchingPolicy.UNKNOWN_PATCHING_POLICY; /** * optional .android_studio.InstantRunStatus.PatchingPolicy patching_policy = 2; * *
       * The type of deploy that the build can generate artifacts for.
       * 
*/ public boolean hasPatchingPolicy() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .android_studio.InstantRunStatus.PatchingPolicy patching_policy = 2; * *
       * The type of deploy that the build can generate artifacts for.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.PatchingPolicy getPatchingPolicy() { return patchingPolicy_; } /** * optional .android_studio.InstantRunStatus.PatchingPolicy patching_policy = 2; * *
       * The type of deploy that the build can generate artifacts for.
       * 
*/ public Builder setPatchingPolicy(com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.PatchingPolicy value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; patchingPolicy_ = value; onChanged(); return this; } /** * optional .android_studio.InstantRunStatus.PatchingPolicy patching_policy = 2; * *
       * The type of deploy that the build can generate artifacts for.
       * 
*/ public Builder clearPatchingPolicy() { bitField0_ = (bitField0_ & ~0x00000002); patchingPolicy_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.PatchingPolicy.UNKNOWN_PATCHING_POLICY; onChanged(); return this; } // optional .android_studio.InstantRunStatus.VerifierStatus verifier_status = 3; private com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.VerifierStatus verifierStatus_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.VerifierStatus.UNKNOWN_VERIFIER_STATUS; /** * optional .android_studio.InstantRunStatus.VerifierStatus verifier_status = 3; * *
       * The result of the verifier run, whether the users change can be hot-swapped
       *  or requires a cold swap or full build is determined by the verifier.
       * 
*/ public boolean hasVerifierStatus() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .android_studio.InstantRunStatus.VerifierStatus verifier_status = 3; * *
       * The result of the verifier run, whether the users change can be hot-swapped
       *  or requires a cold swap or full build is determined by the verifier.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.VerifierStatus getVerifierStatus() { return verifierStatus_; } /** * optional .android_studio.InstantRunStatus.VerifierStatus verifier_status = 3; * *
       * The result of the verifier run, whether the users change can be hot-swapped
       *  or requires a cold swap or full build is determined by the verifier.
       * 
*/ public Builder setVerifierStatus(com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.VerifierStatus value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; verifierStatus_ = value; onChanged(); return this; } /** * optional .android_studio.InstantRunStatus.VerifierStatus verifier_status = 3; * *
       * The result of the verifier run, whether the users change can be hot-swapped
       *  or requires a cold swap or full build is determined by the verifier.
       * 
*/ public Builder clearVerifierStatus() { bitField0_ = (bitField0_ & ~0x00000004); verifierStatus_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunStatus.VerifierStatus.UNKNOWN_VERIFIER_STATUS; onChanged(); return this; } // repeated .android_studio.InstantRunArtifact artifact = 4; private java.util.List artifact_ = java.util.Collections.emptyList(); private void ensureArtifactIsMutable() { if (!((bitField0_ & 0x00000008) == 0x00000008)) { artifact_ = new java.util.ArrayList(artifact_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact, com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifactOrBuilder> artifactBuilder_; /** * repeated .android_studio.InstantRunArtifact artifact = 4; * *
       * The built artifacts stored in the build info.
       *  Artifacts that were built, but superseeded (e.g. a main APK contains
       *  resources, so the resources do not need to be reported separately) are
       *  not included.
       * 
*/ public java.util.List getArtifactList() { if (artifactBuilder_ == null) { return java.util.Collections.unmodifiableList(artifact_); } else { return artifactBuilder_.getMessageList(); } } /** * repeated .android_studio.InstantRunArtifact artifact = 4; * *
       * The built artifacts stored in the build info.
       *  Artifacts that were built, but superseeded (e.g. a main APK contains
       *  resources, so the resources do not need to be reported separately) are
       *  not included.
       * 
*/ public int getArtifactCount() { if (artifactBuilder_ == null) { return artifact_.size(); } else { return artifactBuilder_.getCount(); } } /** * repeated .android_studio.InstantRunArtifact artifact = 4; * *
       * The built artifacts stored in the build info.
       *  Artifacts that were built, but superseeded (e.g. a main APK contains
       *  resources, so the resources do not need to be reported separately) are
       *  not included.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact getArtifact(int index) { if (artifactBuilder_ == null) { return artifact_.get(index); } else { return artifactBuilder_.getMessage(index); } } /** * repeated .android_studio.InstantRunArtifact artifact = 4; * *
       * The built artifacts stored in the build info.
       *  Artifacts that were built, but superseeded (e.g. a main APK contains
       *  resources, so the resources do not need to be reported separately) are
       *  not included.
       * 
*/ public Builder setArtifact( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact value) { if (artifactBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureArtifactIsMutable(); artifact_.set(index, value); onChanged(); } else { artifactBuilder_.setMessage(index, value); } return this; } /** * repeated .android_studio.InstantRunArtifact artifact = 4; * *
       * The built artifacts stored in the build info.
       *  Artifacts that were built, but superseeded (e.g. a main APK contains
       *  resources, so the resources do not need to be reported separately) are
       *  not included.
       * 
*/ public Builder setArtifact( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact.Builder builderForValue) { if (artifactBuilder_ == null) { ensureArtifactIsMutable(); artifact_.set(index, builderForValue.build()); onChanged(); } else { artifactBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .android_studio.InstantRunArtifact artifact = 4; * *
       * The built artifacts stored in the build info.
       *  Artifacts that were built, but superseeded (e.g. a main APK contains
       *  resources, so the resources do not need to be reported separately) are
       *  not included.
       * 
*/ public Builder addArtifact(com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact value) { if (artifactBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureArtifactIsMutable(); artifact_.add(value); onChanged(); } else { artifactBuilder_.addMessage(value); } return this; } /** * repeated .android_studio.InstantRunArtifact artifact = 4; * *
       * The built artifacts stored in the build info.
       *  Artifacts that were built, but superseeded (e.g. a main APK contains
       *  resources, so the resources do not need to be reported separately) are
       *  not included.
       * 
*/ public Builder addArtifact( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact value) { if (artifactBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureArtifactIsMutable(); artifact_.add(index, value); onChanged(); } else { artifactBuilder_.addMessage(index, value); } return this; } /** * repeated .android_studio.InstantRunArtifact artifact = 4; * *
       * The built artifacts stored in the build info.
       *  Artifacts that were built, but superseeded (e.g. a main APK contains
       *  resources, so the resources do not need to be reported separately) are
       *  not included.
       * 
*/ public Builder addArtifact( com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact.Builder builderForValue) { if (artifactBuilder_ == null) { ensureArtifactIsMutable(); artifact_.add(builderForValue.build()); onChanged(); } else { artifactBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .android_studio.InstantRunArtifact artifact = 4; * *
       * The built artifacts stored in the build info.
       *  Artifacts that were built, but superseeded (e.g. a main APK contains
       *  resources, so the resources do not need to be reported separately) are
       *  not included.
       * 
*/ public Builder addArtifact( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact.Builder builderForValue) { if (artifactBuilder_ == null) { ensureArtifactIsMutable(); artifact_.add(index, builderForValue.build()); onChanged(); } else { artifactBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .android_studio.InstantRunArtifact artifact = 4; * *
       * The built artifacts stored in the build info.
       *  Artifacts that were built, but superseeded (e.g. a main APK contains
       *  resources, so the resources do not need to be reported separately) are
       *  not included.
       * 
*/ public Builder addAllArtifact( java.lang.Iterable values) { if (artifactBuilder_ == null) { ensureArtifactIsMutable(); super.addAll(values, artifact_); onChanged(); } else { artifactBuilder_.addAllMessages(values); } return this; } /** * repeated .android_studio.InstantRunArtifact artifact = 4; * *
       * The built artifacts stored in the build info.
       *  Artifacts that were built, but superseeded (e.g. a main APK contains
       *  resources, so the resources do not need to be reported separately) are
       *  not included.
       * 
*/ public Builder clearArtifact() { if (artifactBuilder_ == null) { artifact_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { artifactBuilder_.clear(); } return this; } /** * repeated .android_studio.InstantRunArtifact artifact = 4; * *
       * The built artifacts stored in the build info.
       *  Artifacts that were built, but superseeded (e.g. a main APK contains
       *  resources, so the resources do not need to be reported separately) are
       *  not included.
       * 
*/ public Builder removeArtifact(int index) { if (artifactBuilder_ == null) { ensureArtifactIsMutable(); artifact_.remove(index); onChanged(); } else { artifactBuilder_.remove(index); } return this; } /** * repeated .android_studio.InstantRunArtifact artifact = 4; * *
       * The built artifacts stored in the build info.
       *  Artifacts that were built, but superseeded (e.g. a main APK contains
       *  resources, so the resources do not need to be reported separately) are
       *  not included.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact.Builder getArtifactBuilder( int index) { return getArtifactFieldBuilder().getBuilder(index); } /** * repeated .android_studio.InstantRunArtifact artifact = 4; * *
       * The built artifacts stored in the build info.
       *  Artifacts that were built, but superseeded (e.g. a main APK contains
       *  resources, so the resources do not need to be reported separately) are
       *  not included.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifactOrBuilder getArtifactOrBuilder( int index) { if (artifactBuilder_ == null) { return artifact_.get(index); } else { return artifactBuilder_.getMessageOrBuilder(index); } } /** * repeated .android_studio.InstantRunArtifact artifact = 4; * *
       * The built artifacts stored in the build info.
       *  Artifacts that were built, but superseeded (e.g. a main APK contains
       *  resources, so the resources do not need to be reported separately) are
       *  not included.
       * 
*/ public java.util.List getArtifactOrBuilderList() { if (artifactBuilder_ != null) { return artifactBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(artifact_); } } /** * repeated .android_studio.InstantRunArtifact artifact = 4; * *
       * The built artifacts stored in the build info.
       *  Artifacts that were built, but superseeded (e.g. a main APK contains
       *  resources, so the resources do not need to be reported separately) are
       *  not included.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact.Builder addArtifactBuilder() { return getArtifactFieldBuilder().addBuilder( com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact.getDefaultInstance()); } /** * repeated .android_studio.InstantRunArtifact artifact = 4; * *
       * The built artifacts stored in the build info.
       *  Artifacts that were built, but superseeded (e.g. a main APK contains
       *  resources, so the resources do not need to be reported separately) are
       *  not included.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact.Builder addArtifactBuilder( int index) { return getArtifactFieldBuilder().addBuilder( index, com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact.getDefaultInstance()); } /** * repeated .android_studio.InstantRunArtifact artifact = 4; * *
       * The built artifacts stored in the build info.
       *  Artifacts that were built, but superseeded (e.g. a main APK contains
       *  resources, so the resources do not need to be reported separately) are
       *  not included.
       * 
*/ public java.util.List getArtifactBuilderList() { return getArtifactFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact, com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifactOrBuilder> getArtifactFieldBuilder() { if (artifactBuilder_ == null) { artifactBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact, com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifactOrBuilder>( artifact_, ((bitField0_ & 0x00000008) == 0x00000008), getParentForChildren(), isClean()); artifact_ = null; } return artifactBuilder_; } // @@protoc_insertion_point(builder_scope:android_studio.InstantRunStatus) } static { defaultInstance = new InstantRunStatus(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:android_studio.InstantRunStatus) } public interface InstantRunArtifactOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional .android_studio.InstantRunArtifact.Type type = 1; /** * optional .android_studio.InstantRunArtifact.Type type = 1; */ boolean hasType(); /** * optional .android_studio.InstantRunArtifact.Type type = 1; */ com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact.Type getType(); } /** * Protobuf type {@code android_studio.InstantRunArtifact} */ public static final class InstantRunArtifact extends com.google.protobuf.GeneratedMessage implements InstantRunArtifactOrBuilder { // Use InstantRunArtifact.newBuilder() to construct. private InstantRunArtifact(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private InstantRunArtifact(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final InstantRunArtifact defaultInstance; public static InstantRunArtifact getDefaultInstance() { return defaultInstance; } public InstantRunArtifact getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private InstantRunArtifact( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { int rawValue = input.readEnum(); com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact.Type value = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact.Type.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { bitField0_ |= 0x00000001; type_ = value; } 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.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_InstantRunArtifact_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_InstantRunArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public InstantRunArtifact parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new InstantRunArtifact(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } /** * Protobuf enum {@code android_studio.InstantRunArtifact.Type} */ public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** * MAIN = 1; * *
       * Main APK file for 19, and 21 platforms when using
       *  PatchingPolicy.MULTI_DEX.
       * 
*/ MAIN(0, 1), /** * SPLIT_MAIN = 2; * *
       * Main APK file when application is using PatchingPolicy.MULTI_DEX.
       * 
*/ SPLIT_MAIN(1, 2), /** * RELOAD_DEX = 3; * *
       * Reload dex file that can be used to patch application live.
       * 
*/ RELOAD_DEX(2, 3), /** * RESTART_DEX = 4; * *
       * Restart.dex file that can be used for Dalvik to restart applications
       *  with minimum set of changes delivered.
       * 
*/ RESTART_DEX(3, 4), /** * DEX = 5; * *
       * Shard dex file that can be used to replace originally installed
       *  multi-dex shard.
       * 
*/ DEX(4, 5), /** * SPLIT = 6; * *
       * Pure split (code only) that can be installed individually on M+ devices.
       * 
*/ SPLIT(5, 6), /** * RESOURCES = 7; * *
       * Resources: res.ap_ file
       * 
*/ RESOURCES(6, 7), ; /** * MAIN = 1; * *
       * Main APK file for 19, and 21 platforms when using
       *  PatchingPolicy.MULTI_DEX.
       * 
*/ public static final int MAIN_VALUE = 1; /** * SPLIT_MAIN = 2; * *
       * Main APK file when application is using PatchingPolicy.MULTI_DEX.
       * 
*/ public static final int SPLIT_MAIN_VALUE = 2; /** * RELOAD_DEX = 3; * *
       * Reload dex file that can be used to patch application live.
       * 
*/ public static final int RELOAD_DEX_VALUE = 3; /** * RESTART_DEX = 4; * *
       * Restart.dex file that can be used for Dalvik to restart applications
       *  with minimum set of changes delivered.
       * 
*/ public static final int RESTART_DEX_VALUE = 4; /** * DEX = 5; * *
       * Shard dex file that can be used to replace originally installed
       *  multi-dex shard.
       * 
*/ public static final int DEX_VALUE = 5; /** * SPLIT = 6; * *
       * Pure split (code only) that can be installed individually on M+ devices.
       * 
*/ public static final int SPLIT_VALUE = 6; /** * RESOURCES = 7; * *
       * Resources: res.ap_ file
       * 
*/ public static final int RESOURCES_VALUE = 7; public final int getNumber() { return value; } public static Type valueOf(int value) { switch (value) { case 1: return MAIN; case 2: return SPLIT_MAIN; case 3: return RELOAD_DEX; case 4: return RESTART_DEX; case 5: return DEX; case 6: return SPLIT; case 7: return RESOURCES; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Type findValueByNumber(int number) { return Type.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.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); public static Type 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 Type(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:android_studio.InstantRunArtifact.Type) } private int bitField0_; // optional .android_studio.InstantRunArtifact.Type type = 1; public static final int TYPE_FIELD_NUMBER = 1; private com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact.Type type_; /** * optional .android_studio.InstantRunArtifact.Type type = 1; */ public boolean hasType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .android_studio.InstantRunArtifact.Type type = 1; */ public com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact.Type getType() { return type_; } private void initFields() { type_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact.Type.MAIN; } 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.writeEnum(1, type_.getNumber()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, type_.getNumber()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact 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.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact 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 android_studio.InstantRunArtifact} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifactOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_InstantRunArtifact_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_InstantRunArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact.Builder.class); } // Construct using com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact.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(); type_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact.Type.MAIN; bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_InstantRunArtifact_descriptor; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact getDefaultInstanceForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact.getDefaultInstance(); } public com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact build() { com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact buildPartial() { com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact result = new com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.type_ = type_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact) { return mergeFrom((com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact other) { if (other == com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact.getDefaultInstance()) return this; if (other.hasType()) { setType(other.getType()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional .android_studio.InstantRunArtifact.Type type = 1; private com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact.Type type_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact.Type.MAIN; /** * optional .android_studio.InstantRunArtifact.Type type = 1; */ public boolean hasType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .android_studio.InstantRunArtifact.Type type = 1; */ public com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact.Type getType() { return type_; } /** * optional .android_studio.InstantRunArtifact.Type type = 1; */ public Builder setType(com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact.Type value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; type_ = value; onChanged(); return this; } /** * optional .android_studio.InstantRunArtifact.Type type = 1; */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000001); type_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.InstantRunArtifact.Type.MAIN; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:android_studio.InstantRunArtifact) } static { defaultInstance = new InstantRunArtifact(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:android_studio.InstantRunArtifact) } public interface LLDBFrontendDetailsOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional int32 exit_code = 1; /** * optional int32 exit_code = 1; * *
     * the value returned when the LLDB Frontend process exited.
     * 
*/ boolean hasExitCode(); /** * optional int32 exit_code = 1; * *
     * the value returned when the LLDB Frontend process exited.
     * 
*/ int getExitCode(); } /** * Protobuf type {@code android_studio.LLDBFrontendDetails} * *
   * Details about the LLDB Frontend process
   * 
*/ public static final class LLDBFrontendDetails extends com.google.protobuf.GeneratedMessage implements LLDBFrontendDetailsOrBuilder { // Use LLDBFrontendDetails.newBuilder() to construct. private LLDBFrontendDetails(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private LLDBFrontendDetails(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final LLDBFrontendDetails defaultInstance; public static LLDBFrontendDetails getDefaultInstance() { return defaultInstance; } public LLDBFrontendDetails getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private LLDBFrontendDetails( 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; exitCode_ = 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.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_LLDBFrontendDetails_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_LLDBFrontendDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public LLDBFrontendDetails parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new LLDBFrontendDetails(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional int32 exit_code = 1; public static final int EXIT_CODE_FIELD_NUMBER = 1; private int exitCode_; /** * optional int32 exit_code = 1; * *
     * the value returned when the LLDB Frontend process exited.
     * 
*/ public boolean hasExitCode() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int32 exit_code = 1; * *
     * the value returned when the LLDB Frontend process exited.
     * 
*/ public int getExitCode() { return exitCode_; } private void initFields() { exitCode_ = 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.writeInt32(1, exitCode_); } 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, exitCode_); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails 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.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails 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 android_studio.LLDBFrontendDetails} * *
     * Details about the LLDB Frontend process
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetailsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_LLDBFrontendDetails_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_LLDBFrontendDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails.Builder.class); } // Construct using com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails.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(); exitCode_ = 0; bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_LLDBFrontendDetails_descriptor; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails getDefaultInstanceForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails.getDefaultInstance(); } public com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails build() { com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails buildPartial() { com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails result = new com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.exitCode_ = exitCode_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails) { return mergeFrom((com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails other) { if (other == com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails.getDefaultInstance()) return this; if (other.hasExitCode()) { setExitCode(other.getExitCode()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.sdk.stats.AndroidStudioStats.LLDBFrontendDetails) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional int32 exit_code = 1; private int exitCode_ ; /** * optional int32 exit_code = 1; * *
       * the value returned when the LLDB Frontend process exited.
       * 
*/ public boolean hasExitCode() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int32 exit_code = 1; * *
       * the value returned when the LLDB Frontend process exited.
       * 
*/ public int getExitCode() { return exitCode_; } /** * optional int32 exit_code = 1; * *
       * the value returned when the LLDB Frontend process exited.
       * 
*/ public Builder setExitCode(int value) { bitField0_ |= 0x00000001; exitCode_ = value; onChanged(); return this; } /** * optional int32 exit_code = 1; * *
       * the value returned when the LLDB Frontend process exited.
       * 
*/ public Builder clearExitCode() { bitField0_ = (bitField0_ & ~0x00000001); exitCode_ = 0; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:android_studio.LLDBFrontendDetails) } static { defaultInstance = new LLDBFrontendDetails(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:android_studio.LLDBFrontendDetails) } public interface FirebaseErrorDetailsOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional string error_message = 1; /** * optional string error_message = 1; * *
     * The error message presented to the user upon Firebase errors.
     * 
*/ boolean hasErrorMessage(); /** * optional string error_message = 1; * *
     * The error message presented to the user upon Firebase errors.
     * 
*/ java.lang.String getErrorMessage(); /** * optional string error_message = 1; * *
     * The error message presented to the user upon Firebase errors.
     * 
*/ com.google.protobuf.ByteString getErrorMessageBytes(); } /** * Protobuf type {@code android_studio.FirebaseErrorDetails} * *
   * Error details from the Firebase Assistant.
   * 
*/ public static final class FirebaseErrorDetails extends com.google.protobuf.GeneratedMessage implements FirebaseErrorDetailsOrBuilder { // Use FirebaseErrorDetails.newBuilder() to construct. private FirebaseErrorDetails(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private FirebaseErrorDetails(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final FirebaseErrorDetails defaultInstance; public static FirebaseErrorDetails getDefaultInstance() { return defaultInstance; } public FirebaseErrorDetails getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private FirebaseErrorDetails( 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; errorMessage_ = 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.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_FirebaseErrorDetails_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_FirebaseErrorDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public FirebaseErrorDetails parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new FirebaseErrorDetails(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional string error_message = 1; public static final int ERROR_MESSAGE_FIELD_NUMBER = 1; private java.lang.Object errorMessage_; /** * optional string error_message = 1; * *
     * The error message presented to the user upon Firebase errors.
     * 
*/ public boolean hasErrorMessage() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string error_message = 1; * *
     * The error message presented to the user upon Firebase errors.
     * 
*/ public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; 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()) { errorMessage_ = s; } return s; } } /** * optional string error_message = 1; * *
     * The error message presented to the user upon Firebase errors.
     * 
*/ public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); errorMessage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { errorMessage_ = ""; } 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, getErrorMessageBytes()); } 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, getErrorMessageBytes()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails 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.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails 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 android_studio.FirebaseErrorDetails} * *
     * Error details from the Firebase Assistant.
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetailsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_FirebaseErrorDetails_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_FirebaseErrorDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails.Builder.class); } // Construct using com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails.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(); errorMessage_ = ""; bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_FirebaseErrorDetails_descriptor; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails getDefaultInstanceForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails.getDefaultInstance(); } public com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails build() { com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails buildPartial() { com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails result = new com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.errorMessage_ = errorMessage_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails) { return mergeFrom((com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails other) { if (other == com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails.getDefaultInstance()) return this; if (other.hasErrorMessage()) { bitField0_ |= 0x00000001; errorMessage_ = other.errorMessage_; 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.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.sdk.stats.AndroidStudioStats.FirebaseErrorDetails) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional string error_message = 1; private java.lang.Object errorMessage_ = ""; /** * optional string error_message = 1; * *
       * The error message presented to the user upon Firebase errors.
       * 
*/ public boolean hasErrorMessage() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string error_message = 1; * *
       * The error message presented to the user upon Firebase errors.
       * 
*/ public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); errorMessage_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string error_message = 1; * *
       * The error message presented to the user upon Firebase errors.
       * 
*/ public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); errorMessage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string error_message = 1; * *
       * The error message presented to the user upon Firebase errors.
       * 
*/ public Builder setErrorMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; errorMessage_ = value; onChanged(); return this; } /** * optional string error_message = 1; * *
       * The error message presented to the user upon Firebase errors.
       * 
*/ public Builder clearErrorMessage() { bitField0_ = (bitField0_ & ~0x00000001); errorMessage_ = getDefaultInstance().getErrorMessage(); onChanged(); return this; } /** * optional string error_message = 1; * *
       * The error message presented to the user upon Firebase errors.
       * 
*/ public Builder setErrorMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; errorMessage_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:android_studio.FirebaseErrorDetails) } static { defaultInstance = new FirebaseErrorDetails(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:android_studio.FirebaseErrorDetails) } public interface GfxTracingDetailsOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional int64 total_time = 1; /** * optional int64 total_time = 1; * *
     * total time the trace took
     * 
*/ boolean hasTotalTime(); /** * optional int64 total_time = 1; * *
     * total time the trace took
     * 
*/ long getTotalTime(); // optional string command = 2; /** * optional string command = 2; * *
     * class name of the UI command selected to affect the tracing.
     * 
*/ boolean hasCommand(); /** * optional string command = 2; * *
     * class name of the UI command selected to affect the tracing.
     * 
*/ java.lang.String getCommand(); /** * optional string command = 2; * *
     * class name of the UI command selected to affect the tracing.
     * 
*/ com.google.protobuf.ByteString getCommandBytes(); // optional string error_message = 3; /** * optional string error_message = 3; * *
     * Error message when tracing fails.
     * 
*/ boolean hasErrorMessage(); /** * optional string error_message = 3; * *
     * Error message when tracing fails.
     * 
*/ java.lang.String getErrorMessage(); /** * optional string error_message = 3; * *
     * Error message when tracing fails.
     * 
*/ com.google.protobuf.ByteString getErrorMessageBytes(); // optional string trace_path = 4; /** * optional string trace_path = 4; * *
     * A path describing the kind of details from the trace. This is a mix
     *  of class names (of our code) and random ids generated for the trace.
     *  e.g. 'Capture(7c6e72eebe2e6d76751b0328971e7fb29ceed82b).Atoms[6307].' +
     *       'Resource<e1b2a028ce62a97b235172963ddee35f386c6940>.' +
     *       'Thumbnail<RGBA,100x100>.As<RGBA>'
     * 
*/ boolean hasTracePath(); /** * optional string trace_path = 4; * *
     * A path describing the kind of details from the trace. This is a mix
     *  of class names (of our code) and random ids generated for the trace.
     *  e.g. 'Capture(7c6e72eebe2e6d76751b0328971e7fb29ceed82b).Atoms[6307].' +
     *       'Resource<e1b2a028ce62a97b235172963ddee35f386c6940>.' +
     *       'Thumbnail<RGBA,100x100>.As<RGBA>'
     * 
*/ java.lang.String getTracePath(); /** * optional string trace_path = 4; * *
     * A path describing the kind of details from the trace. This is a mix
     *  of class names (of our code) and random ids generated for the trace.
     *  e.g. 'Capture(7c6e72eebe2e6d76751b0328971e7fb29ceed82b).Atoms[6307].' +
     *       'Resource<e1b2a028ce62a97b235172963ddee35f386c6940>.' +
     *       'Thumbnail<RGBA,100x100>.As<RGBA>'
     * 
*/ com.google.protobuf.ByteString getTracePathBytes(); // optional string image_format = 5; /** * optional string image_format = 5; * *
     * the image format of the gpu image being traced. e.g. 'image/png'
     * 
*/ boolean hasImageFormat(); /** * optional string image_format = 5; * *
     * the image format of the gpu image being traced. e.g. 'image/png'
     * 
*/ java.lang.String getImageFormat(); /** * optional string image_format = 5; * *
     * the image format of the gpu image being traced. e.g. 'image/png'
     * 
*/ com.google.protobuf.ByteString getImageFormatBytes(); // optional int64 image_width = 6; /** * optional int64 image_width = 6; * *
     * the width of the image being traced.
     * 
*/ boolean hasImageWidth(); /** * optional int64 image_width = 6; * *
     * the width of the image being traced.
     * 
*/ long getImageWidth(); // optional int64 image_height = 7; /** * optional int64 image_height = 7; * *
     * the height of the image being traced.
     * 
*/ boolean hasImageHeight(); /** * optional int64 image_height = 7; * *
     * the height of the image being traced.
     * 
*/ long getImageHeight(); } /** * Protobuf type {@code android_studio.GfxTracingDetails} * *
   * Details on the GPU Debugger tracing run
   * 
*/ public static final class GfxTracingDetails extends com.google.protobuf.GeneratedMessage implements GfxTracingDetailsOrBuilder { // Use GfxTracingDetails.newBuilder() to construct. private GfxTracingDetails(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private GfxTracingDetails(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final GfxTracingDetails defaultInstance; public static GfxTracingDetails getDefaultInstance() { return defaultInstance; } public GfxTracingDetails getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GfxTracingDetails( 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; totalTime_ = input.readInt64(); break; } case 18: { bitField0_ |= 0x00000002; command_ = input.readBytes(); break; } case 26: { bitField0_ |= 0x00000004; errorMessage_ = input.readBytes(); break; } case 34: { bitField0_ |= 0x00000008; tracePath_ = input.readBytes(); break; } case 42: { bitField0_ |= 0x00000010; imageFormat_ = input.readBytes(); break; } case 48: { bitField0_ |= 0x00000020; imageWidth_ = input.readInt64(); break; } case 56: { bitField0_ |= 0x00000040; imageHeight_ = input.readInt64(); 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.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GfxTracingDetails_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GfxTracingDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public GfxTracingDetails parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GfxTracingDetails(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional int64 total_time = 1; public static final int TOTAL_TIME_FIELD_NUMBER = 1; private long totalTime_; /** * optional int64 total_time = 1; * *
     * total time the trace took
     * 
*/ public boolean hasTotalTime() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 total_time = 1; * *
     * total time the trace took
     * 
*/ public long getTotalTime() { return totalTime_; } // optional string command = 2; public static final int COMMAND_FIELD_NUMBER = 2; private java.lang.Object command_; /** * optional string command = 2; * *
     * class name of the UI command selected to affect the tracing.
     * 
*/ public boolean hasCommand() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string command = 2; * *
     * class name of the UI command selected to affect the tracing.
     * 
*/ public java.lang.String getCommand() { java.lang.Object ref = command_; 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()) { command_ = s; } return s; } } /** * optional string command = 2; * *
     * class name of the UI command selected to affect the tracing.
     * 
*/ public com.google.protobuf.ByteString getCommandBytes() { java.lang.Object ref = command_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); command_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string error_message = 3; public static final int ERROR_MESSAGE_FIELD_NUMBER = 3; private java.lang.Object errorMessage_; /** * optional string error_message = 3; * *
     * Error message when tracing fails.
     * 
*/ public boolean hasErrorMessage() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string error_message = 3; * *
     * Error message when tracing fails.
     * 
*/ public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; 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()) { errorMessage_ = s; } return s; } } /** * optional string error_message = 3; * *
     * Error message when tracing fails.
     * 
*/ public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); errorMessage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string trace_path = 4; public static final int TRACE_PATH_FIELD_NUMBER = 4; private java.lang.Object tracePath_; /** * optional string trace_path = 4; * *
     * A path describing the kind of details from the trace. This is a mix
     *  of class names (of our code) and random ids generated for the trace.
     *  e.g. 'Capture(7c6e72eebe2e6d76751b0328971e7fb29ceed82b).Atoms[6307].' +
     *       'Resource<e1b2a028ce62a97b235172963ddee35f386c6940>.' +
     *       'Thumbnail<RGBA,100x100>.As<RGBA>'
     * 
*/ public boolean hasTracePath() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string trace_path = 4; * *
     * A path describing the kind of details from the trace. This is a mix
     *  of class names (of our code) and random ids generated for the trace.
     *  e.g. 'Capture(7c6e72eebe2e6d76751b0328971e7fb29ceed82b).Atoms[6307].' +
     *       'Resource<e1b2a028ce62a97b235172963ddee35f386c6940>.' +
     *       'Thumbnail<RGBA,100x100>.As<RGBA>'
     * 
*/ public java.lang.String getTracePath() { java.lang.Object ref = tracePath_; 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()) { tracePath_ = s; } return s; } } /** * optional string trace_path = 4; * *
     * A path describing the kind of details from the trace. This is a mix
     *  of class names (of our code) and random ids generated for the trace.
     *  e.g. 'Capture(7c6e72eebe2e6d76751b0328971e7fb29ceed82b).Atoms[6307].' +
     *       'Resource<e1b2a028ce62a97b235172963ddee35f386c6940>.' +
     *       'Thumbnail<RGBA,100x100>.As<RGBA>'
     * 
*/ public com.google.protobuf.ByteString getTracePathBytes() { java.lang.Object ref = tracePath_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tracePath_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string image_format = 5; public static final int IMAGE_FORMAT_FIELD_NUMBER = 5; private java.lang.Object imageFormat_; /** * optional string image_format = 5; * *
     * the image format of the gpu image being traced. e.g. 'image/png'
     * 
*/ public boolean hasImageFormat() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string image_format = 5; * *
     * the image format of the gpu image being traced. e.g. 'image/png'
     * 
*/ public java.lang.String getImageFormat() { java.lang.Object ref = imageFormat_; 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()) { imageFormat_ = s; } return s; } } /** * optional string image_format = 5; * *
     * the image format of the gpu image being traced. e.g. 'image/png'
     * 
*/ public com.google.protobuf.ByteString getImageFormatBytes() { java.lang.Object ref = imageFormat_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); imageFormat_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional int64 image_width = 6; public static final int IMAGE_WIDTH_FIELD_NUMBER = 6; private long imageWidth_; /** * optional int64 image_width = 6; * *
     * the width of the image being traced.
     * 
*/ public boolean hasImageWidth() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional int64 image_width = 6; * *
     * the width of the image being traced.
     * 
*/ public long getImageWidth() { return imageWidth_; } // optional int64 image_height = 7; public static final int IMAGE_HEIGHT_FIELD_NUMBER = 7; private long imageHeight_; /** * optional int64 image_height = 7; * *
     * the height of the image being traced.
     * 
*/ public boolean hasImageHeight() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional int64 image_height = 7; * *
     * the height of the image being traced.
     * 
*/ public long getImageHeight() { return imageHeight_; } private void initFields() { totalTime_ = 0L; command_ = ""; errorMessage_ = ""; tracePath_ = ""; imageFormat_ = ""; imageWidth_ = 0L; imageHeight_ = 0L; } 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.writeInt64(1, totalTime_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getCommandBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getErrorMessageBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, getTracePathBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBytes(5, getImageFormatBytes()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeInt64(6, imageWidth_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeInt64(7, imageHeight_); } 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 .computeInt64Size(1, totalTime_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getCommandBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getErrorMessageBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, getTracePathBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, getImageFormatBytes()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(6, imageWidth_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(7, imageHeight_); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails 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.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails 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 android_studio.GfxTracingDetails} * *
     * Details on the GPU Debugger tracing run
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetailsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GfxTracingDetails_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GfxTracingDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails.Builder.class); } // Construct using com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails.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(); totalTime_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); command_ = ""; bitField0_ = (bitField0_ & ~0x00000002); errorMessage_ = ""; bitField0_ = (bitField0_ & ~0x00000004); tracePath_ = ""; bitField0_ = (bitField0_ & ~0x00000008); imageFormat_ = ""; bitField0_ = (bitField0_ & ~0x00000010); imageWidth_ = 0L; bitField0_ = (bitField0_ & ~0x00000020); imageHeight_ = 0L; bitField0_ = (bitField0_ & ~0x00000040); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GfxTracingDetails_descriptor; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails getDefaultInstanceForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails.getDefaultInstance(); } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails build() { com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails buildPartial() { com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails result = new com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.totalTime_ = totalTime_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.command_ = command_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.errorMessage_ = errorMessage_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.tracePath_ = tracePath_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.imageFormat_ = imageFormat_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.imageWidth_ = imageWidth_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.imageHeight_ = imageHeight_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails) { return mergeFrom((com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails other) { if (other == com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails.getDefaultInstance()) return this; if (other.hasTotalTime()) { setTotalTime(other.getTotalTime()); } if (other.hasCommand()) { bitField0_ |= 0x00000002; command_ = other.command_; onChanged(); } if (other.hasErrorMessage()) { bitField0_ |= 0x00000004; errorMessage_ = other.errorMessage_; onChanged(); } if (other.hasTracePath()) { bitField0_ |= 0x00000008; tracePath_ = other.tracePath_; onChanged(); } if (other.hasImageFormat()) { bitField0_ |= 0x00000010; imageFormat_ = other.imageFormat_; onChanged(); } if (other.hasImageWidth()) { setImageWidth(other.getImageWidth()); } if (other.hasImageHeight()) { setImageHeight(other.getImageHeight()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.sdk.stats.AndroidStudioStats.GfxTracingDetails) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional int64 total_time = 1; private long totalTime_ ; /** * optional int64 total_time = 1; * *
       * total time the trace took
       * 
*/ public boolean hasTotalTime() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 total_time = 1; * *
       * total time the trace took
       * 
*/ public long getTotalTime() { return totalTime_; } /** * optional int64 total_time = 1; * *
       * total time the trace took
       * 
*/ public Builder setTotalTime(long value) { bitField0_ |= 0x00000001; totalTime_ = value; onChanged(); return this; } /** * optional int64 total_time = 1; * *
       * total time the trace took
       * 
*/ public Builder clearTotalTime() { bitField0_ = (bitField0_ & ~0x00000001); totalTime_ = 0L; onChanged(); return this; } // optional string command = 2; private java.lang.Object command_ = ""; /** * optional string command = 2; * *
       * class name of the UI command selected to affect the tracing.
       * 
*/ public boolean hasCommand() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string command = 2; * *
       * class name of the UI command selected to affect the tracing.
       * 
*/ public java.lang.String getCommand() { java.lang.Object ref = command_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); command_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string command = 2; * *
       * class name of the UI command selected to affect the tracing.
       * 
*/ public com.google.protobuf.ByteString getCommandBytes() { java.lang.Object ref = command_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); command_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string command = 2; * *
       * class name of the UI command selected to affect the tracing.
       * 
*/ public Builder setCommand( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; command_ = value; onChanged(); return this; } /** * optional string command = 2; * *
       * class name of the UI command selected to affect the tracing.
       * 
*/ public Builder clearCommand() { bitField0_ = (bitField0_ & ~0x00000002); command_ = getDefaultInstance().getCommand(); onChanged(); return this; } /** * optional string command = 2; * *
       * class name of the UI command selected to affect the tracing.
       * 
*/ public Builder setCommandBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; command_ = value; onChanged(); return this; } // optional string error_message = 3; private java.lang.Object errorMessage_ = ""; /** * optional string error_message = 3; * *
       * Error message when tracing fails.
       * 
*/ public boolean hasErrorMessage() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string error_message = 3; * *
       * Error message when tracing fails.
       * 
*/ public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); errorMessage_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string error_message = 3; * *
       * Error message when tracing fails.
       * 
*/ public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); errorMessage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string error_message = 3; * *
       * Error message when tracing fails.
       * 
*/ public Builder setErrorMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; errorMessage_ = value; onChanged(); return this; } /** * optional string error_message = 3; * *
       * Error message when tracing fails.
       * 
*/ public Builder clearErrorMessage() { bitField0_ = (bitField0_ & ~0x00000004); errorMessage_ = getDefaultInstance().getErrorMessage(); onChanged(); return this; } /** * optional string error_message = 3; * *
       * Error message when tracing fails.
       * 
*/ public Builder setErrorMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; errorMessage_ = value; onChanged(); return this; } // optional string trace_path = 4; private java.lang.Object tracePath_ = ""; /** * optional string trace_path = 4; * *
       * A path describing the kind of details from the trace. This is a mix
       *  of class names (of our code) and random ids generated for the trace.
       *  e.g. 'Capture(7c6e72eebe2e6d76751b0328971e7fb29ceed82b).Atoms[6307].' +
       *       'Resource<e1b2a028ce62a97b235172963ddee35f386c6940>.' +
       *       'Thumbnail<RGBA,100x100>.As<RGBA>'
       * 
*/ public boolean hasTracePath() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string trace_path = 4; * *
       * A path describing the kind of details from the trace. This is a mix
       *  of class names (of our code) and random ids generated for the trace.
       *  e.g. 'Capture(7c6e72eebe2e6d76751b0328971e7fb29ceed82b).Atoms[6307].' +
       *       'Resource<e1b2a028ce62a97b235172963ddee35f386c6940>.' +
       *       'Thumbnail<RGBA,100x100>.As<RGBA>'
       * 
*/ public java.lang.String getTracePath() { java.lang.Object ref = tracePath_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); tracePath_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string trace_path = 4; * *
       * A path describing the kind of details from the trace. This is a mix
       *  of class names (of our code) and random ids generated for the trace.
       *  e.g. 'Capture(7c6e72eebe2e6d76751b0328971e7fb29ceed82b).Atoms[6307].' +
       *       'Resource<e1b2a028ce62a97b235172963ddee35f386c6940>.' +
       *       'Thumbnail<RGBA,100x100>.As<RGBA>'
       * 
*/ public com.google.protobuf.ByteString getTracePathBytes() { java.lang.Object ref = tracePath_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tracePath_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string trace_path = 4; * *
       * A path describing the kind of details from the trace. This is a mix
       *  of class names (of our code) and random ids generated for the trace.
       *  e.g. 'Capture(7c6e72eebe2e6d76751b0328971e7fb29ceed82b).Atoms[6307].' +
       *       'Resource<e1b2a028ce62a97b235172963ddee35f386c6940>.' +
       *       'Thumbnail<RGBA,100x100>.As<RGBA>'
       * 
*/ public Builder setTracePath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; tracePath_ = value; onChanged(); return this; } /** * optional string trace_path = 4; * *
       * A path describing the kind of details from the trace. This is a mix
       *  of class names (of our code) and random ids generated for the trace.
       *  e.g. 'Capture(7c6e72eebe2e6d76751b0328971e7fb29ceed82b).Atoms[6307].' +
       *       'Resource<e1b2a028ce62a97b235172963ddee35f386c6940>.' +
       *       'Thumbnail<RGBA,100x100>.As<RGBA>'
       * 
*/ public Builder clearTracePath() { bitField0_ = (bitField0_ & ~0x00000008); tracePath_ = getDefaultInstance().getTracePath(); onChanged(); return this; } /** * optional string trace_path = 4; * *
       * A path describing the kind of details from the trace. This is a mix
       *  of class names (of our code) and random ids generated for the trace.
       *  e.g. 'Capture(7c6e72eebe2e6d76751b0328971e7fb29ceed82b).Atoms[6307].' +
       *       'Resource<e1b2a028ce62a97b235172963ddee35f386c6940>.' +
       *       'Thumbnail<RGBA,100x100>.As<RGBA>'
       * 
*/ public Builder setTracePathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; tracePath_ = value; onChanged(); return this; } // optional string image_format = 5; private java.lang.Object imageFormat_ = ""; /** * optional string image_format = 5; * *
       * the image format of the gpu image being traced. e.g. 'image/png'
       * 
*/ public boolean hasImageFormat() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string image_format = 5; * *
       * the image format of the gpu image being traced. e.g. 'image/png'
       * 
*/ public java.lang.String getImageFormat() { java.lang.Object ref = imageFormat_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); imageFormat_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string image_format = 5; * *
       * the image format of the gpu image being traced. e.g. 'image/png'
       * 
*/ public com.google.protobuf.ByteString getImageFormatBytes() { java.lang.Object ref = imageFormat_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); imageFormat_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string image_format = 5; * *
       * the image format of the gpu image being traced. e.g. 'image/png'
       * 
*/ public Builder setImageFormat( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; imageFormat_ = value; onChanged(); return this; } /** * optional string image_format = 5; * *
       * the image format of the gpu image being traced. e.g. 'image/png'
       * 
*/ public Builder clearImageFormat() { bitField0_ = (bitField0_ & ~0x00000010); imageFormat_ = getDefaultInstance().getImageFormat(); onChanged(); return this; } /** * optional string image_format = 5; * *
       * the image format of the gpu image being traced. e.g. 'image/png'
       * 
*/ public Builder setImageFormatBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; imageFormat_ = value; onChanged(); return this; } // optional int64 image_width = 6; private long imageWidth_ ; /** * optional int64 image_width = 6; * *
       * the width of the image being traced.
       * 
*/ public boolean hasImageWidth() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional int64 image_width = 6; * *
       * the width of the image being traced.
       * 
*/ public long getImageWidth() { return imageWidth_; } /** * optional int64 image_width = 6; * *
       * the width of the image being traced.
       * 
*/ public Builder setImageWidth(long value) { bitField0_ |= 0x00000020; imageWidth_ = value; onChanged(); return this; } /** * optional int64 image_width = 6; * *
       * the width of the image being traced.
       * 
*/ public Builder clearImageWidth() { bitField0_ = (bitField0_ & ~0x00000020); imageWidth_ = 0L; onChanged(); return this; } // optional int64 image_height = 7; private long imageHeight_ ; /** * optional int64 image_height = 7; * *
       * the height of the image being traced.
       * 
*/ public boolean hasImageHeight() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional int64 image_height = 7; * *
       * the height of the image being traced.
       * 
*/ public long getImageHeight() { return imageHeight_; } /** * optional int64 image_height = 7; * *
       * the height of the image being traced.
       * 
*/ public Builder setImageHeight(long value) { bitField0_ |= 0x00000040; imageHeight_ = value; onChanged(); return this; } /** * optional int64 image_height = 7; * *
       * the height of the image being traced.
       * 
*/ public Builder clearImageHeight() { bitField0_ = (bitField0_ & ~0x00000040); imageHeight_ = 0L; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:android_studio.GfxTracingDetails) } static { defaultInstance = new GfxTracingDetails(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:android_studio.GfxTracingDetails) } public interface TestRecorderDetailsOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional int64 event_count = 1; /** * optional int64 event_count = 1; * *
     * The number of events in the test generated by the test recorder.
     * 
*/ boolean hasEventCount(); /** * optional int64 event_count = 1; * *
     * The number of events in the test generated by the test recorder.
     * 
*/ long getEventCount(); // optional int64 assertion_count = 2; /** * optional int64 assertion_count = 2; * *
     * The number of assertions in the test generated by the test recorder.
     * 
*/ boolean hasAssertionCount(); /** * optional int64 assertion_count = 2; * *
     * The number of assertions in the test generated by the test recorder.
     * 
*/ long getAssertionCount(); } /** * Protobuf type {@code android_studio.TestRecorderDetails} * *
   * Details of an invocation of the TestRecorder to generate tests.
   * 
*/ public static final class TestRecorderDetails extends com.google.protobuf.GeneratedMessage implements TestRecorderDetailsOrBuilder { // Use TestRecorderDetails.newBuilder() to construct. private TestRecorderDetails(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private TestRecorderDetails(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final TestRecorderDetails defaultInstance; public static TestRecorderDetails getDefaultInstance() { return defaultInstance; } public TestRecorderDetails getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TestRecorderDetails( 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; eventCount_ = input.readInt64(); break; } case 16: { bitField0_ |= 0x00000002; assertionCount_ = input.readInt64(); 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.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_TestRecorderDetails_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_TestRecorderDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public TestRecorderDetails parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TestRecorderDetails(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional int64 event_count = 1; public static final int EVENT_COUNT_FIELD_NUMBER = 1; private long eventCount_; /** * optional int64 event_count = 1; * *
     * The number of events in the test generated by the test recorder.
     * 
*/ public boolean hasEventCount() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 event_count = 1; * *
     * The number of events in the test generated by the test recorder.
     * 
*/ public long getEventCount() { return eventCount_; } // optional int64 assertion_count = 2; public static final int ASSERTION_COUNT_FIELD_NUMBER = 2; private long assertionCount_; /** * optional int64 assertion_count = 2; * *
     * The number of assertions in the test generated by the test recorder.
     * 
*/ public boolean hasAssertionCount() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int64 assertion_count = 2; * *
     * The number of assertions in the test generated by the test recorder.
     * 
*/ public long getAssertionCount() { return assertionCount_; } private void initFields() { eventCount_ = 0L; assertionCount_ = 0L; } 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.writeInt64(1, eventCount_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt64(2, assertionCount_); } 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 .computeInt64Size(1, eventCount_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, assertionCount_); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails 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.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails 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 android_studio.TestRecorderDetails} * *
     * Details of an invocation of the TestRecorder to generate tests.
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetailsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_TestRecorderDetails_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_TestRecorderDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails.Builder.class); } // Construct using com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails.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(); eventCount_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); assertionCount_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_TestRecorderDetails_descriptor; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails getDefaultInstanceForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails.getDefaultInstance(); } public com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails build() { com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails buildPartial() { com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails result = new com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.eventCount_ = eventCount_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.assertionCount_ = assertionCount_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails) { return mergeFrom((com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails other) { if (other == com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails.getDefaultInstance()) return this; if (other.hasEventCount()) { setEventCount(other.getEventCount()); } if (other.hasAssertionCount()) { setAssertionCount(other.getAssertionCount()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.sdk.stats.AndroidStudioStats.TestRecorderDetails) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional int64 event_count = 1; private long eventCount_ ; /** * optional int64 event_count = 1; * *
       * The number of events in the test generated by the test recorder.
       * 
*/ public boolean hasEventCount() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 event_count = 1; * *
       * The number of events in the test generated by the test recorder.
       * 
*/ public long getEventCount() { return eventCount_; } /** * optional int64 event_count = 1; * *
       * The number of events in the test generated by the test recorder.
       * 
*/ public Builder setEventCount(long value) { bitField0_ |= 0x00000001; eventCount_ = value; onChanged(); return this; } /** * optional int64 event_count = 1; * *
       * The number of events in the test generated by the test recorder.
       * 
*/ public Builder clearEventCount() { bitField0_ = (bitField0_ & ~0x00000001); eventCount_ = 0L; onChanged(); return this; } // optional int64 assertion_count = 2; private long assertionCount_ ; /** * optional int64 assertion_count = 2; * *
       * The number of assertions in the test generated by the test recorder.
       * 
*/ public boolean hasAssertionCount() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int64 assertion_count = 2; * *
       * The number of assertions in the test generated by the test recorder.
       * 
*/ public long getAssertionCount() { return assertionCount_; } /** * optional int64 assertion_count = 2; * *
       * The number of assertions in the test generated by the test recorder.
       * 
*/ public Builder setAssertionCount(long value) { bitField0_ |= 0x00000002; assertionCount_ = value; onChanged(); return this; } /** * optional int64 assertion_count = 2; * *
       * The number of assertions in the test generated by the test recorder.
       * 
*/ public Builder clearAssertionCount() { bitField0_ = (bitField0_ & ~0x00000002); assertionCount_ = 0L; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:android_studio.TestRecorderDetails) } static { defaultInstance = new TestRecorderDetails(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:android_studio.TestRecorderDetails) } public interface UIActionStatsOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional string action_class_name = 1; /** * optional string action_class_name = 1; * *
     * java class name (our code, not customer) of the UI Action reported on
     *  e.g. 'com.android.build.instant_run.HotSwapBuildAction'
     * 
*/ boolean hasActionClassName(); /** * optional string action_class_name = 1; * *
     * java class name (our code, not customer) of the UI Action reported on
     *  e.g. 'com.android.build.instant_run.HotSwapBuildAction'
     * 
*/ java.lang.String getActionClassName(); /** * optional string action_class_name = 1; * *
     * java class name (our code, not customer) of the UI Action reported on
     *  e.g. 'com.android.build.instant_run.HotSwapBuildAction'
     * 
*/ com.google.protobuf.ByteString getActionClassNameBytes(); // optional int64 invocations = 2; /** * optional int64 invocations = 2; * *
     * How often since the last report this action was invoked.
     * 
*/ boolean hasInvocations(); /** * optional int64 invocations = 2; * *
     * How often since the last report this action was invoked.
     * 
*/ long getInvocations(); // optional .android_studio.UIActionStats.InvocationKind invocation_kind = 3; /** * optional .android_studio.UIActionStats.InvocationKind invocation_kind = 3; * *
     * The way this action was invocated by the user.
     * 
*/ boolean hasInvocationKind(); /** * optional .android_studio.UIActionStats.InvocationKind invocation_kind = 3; * *
     * The way this action was invocated by the user.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats.InvocationKind getInvocationKind(); } /** * Protobuf type {@code android_studio.UIActionStats} * *
   * Reports aggregated information about how users invoke available UI actions.
   * 
*/ public static final class UIActionStats extends com.google.protobuf.GeneratedMessage implements UIActionStatsOrBuilder { // Use UIActionStats.newBuilder() to construct. private UIActionStats(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private UIActionStats(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final UIActionStats defaultInstance; public static UIActionStats getDefaultInstance() { return defaultInstance; } public UIActionStats getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UIActionStats( 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; actionClassName_ = input.readBytes(); break; } case 16: { bitField0_ |= 0x00000002; invocations_ = input.readInt64(); break; } case 24: { int rawValue = input.readEnum(); com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats.InvocationKind value = com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats.InvocationKind.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(3, rawValue); } else { bitField0_ |= 0x00000004; invocationKind_ = value; } 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.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_UIActionStats_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_UIActionStats_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public UIActionStats parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new UIActionStats(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } /** * Protobuf enum {@code android_studio.UIActionStats.InvocationKind} * *
     * The way an UI action was invocated by the user.
     * 
*/ public enum InvocationKind implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN_INVOCATION_KIND = 0; */ UNKNOWN_INVOCATION_KIND(0, 0), /** * TOOLBAR = 1; */ TOOLBAR(1, 1), /** * MENU = 2; */ MENU(2, 2), /** * KEYBOARD_SHORTCUT = 3; */ KEYBOARD_SHORTCUT(3, 3), /** * MACRO = 4; */ MACRO(4, 4), ; /** * UNKNOWN_INVOCATION_KIND = 0; */ public static final int UNKNOWN_INVOCATION_KIND_VALUE = 0; /** * TOOLBAR = 1; */ public static final int TOOLBAR_VALUE = 1; /** * MENU = 2; */ public static final int MENU_VALUE = 2; /** * KEYBOARD_SHORTCUT = 3; */ public static final int KEYBOARD_SHORTCUT_VALUE = 3; /** * MACRO = 4; */ public static final int MACRO_VALUE = 4; public final int getNumber() { return value; } public static InvocationKind valueOf(int value) { switch (value) { case 0: return UNKNOWN_INVOCATION_KIND; case 1: return TOOLBAR; case 2: return MENU; case 3: return KEYBOARD_SHORTCUT; case 4: return MACRO; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public InvocationKind findValueByNumber(int number) { return InvocationKind.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.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats.getDescriptor().getEnumTypes().get(0); } private static final InvocationKind[] VALUES = values(); public static InvocationKind 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 InvocationKind(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:android_studio.UIActionStats.InvocationKind) } private int bitField0_; // optional string action_class_name = 1; public static final int ACTION_CLASS_NAME_FIELD_NUMBER = 1; private java.lang.Object actionClassName_; /** * optional string action_class_name = 1; * *
     * java class name (our code, not customer) of the UI Action reported on
     *  e.g. 'com.android.build.instant_run.HotSwapBuildAction'
     * 
*/ public boolean hasActionClassName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string action_class_name = 1; * *
     * java class name (our code, not customer) of the UI Action reported on
     *  e.g. 'com.android.build.instant_run.HotSwapBuildAction'
     * 
*/ public java.lang.String getActionClassName() { java.lang.Object ref = actionClassName_; 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()) { actionClassName_ = s; } return s; } } /** * optional string action_class_name = 1; * *
     * java class name (our code, not customer) of the UI Action reported on
     *  e.g. 'com.android.build.instant_run.HotSwapBuildAction'
     * 
*/ public com.google.protobuf.ByteString getActionClassNameBytes() { java.lang.Object ref = actionClassName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); actionClassName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional int64 invocations = 2; public static final int INVOCATIONS_FIELD_NUMBER = 2; private long invocations_; /** * optional int64 invocations = 2; * *
     * How often since the last report this action was invoked.
     * 
*/ public boolean hasInvocations() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int64 invocations = 2; * *
     * How often since the last report this action was invoked.
     * 
*/ public long getInvocations() { return invocations_; } // optional .android_studio.UIActionStats.InvocationKind invocation_kind = 3; public static final int INVOCATION_KIND_FIELD_NUMBER = 3; private com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats.InvocationKind invocationKind_; /** * optional .android_studio.UIActionStats.InvocationKind invocation_kind = 3; * *
     * The way this action was invocated by the user.
     * 
*/ public boolean hasInvocationKind() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .android_studio.UIActionStats.InvocationKind invocation_kind = 3; * *
     * The way this action was invocated by the user.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats.InvocationKind getInvocationKind() { return invocationKind_; } private void initFields() { actionClassName_ = ""; invocations_ = 0L; invocationKind_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats.InvocationKind.UNKNOWN_INVOCATION_KIND; } 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, getActionClassNameBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt64(2, invocations_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeEnum(3, invocationKind_.getNumber()); } 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, getActionClassNameBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, invocations_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, invocationKind_.getNumber()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats 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.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats 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 android_studio.UIActionStats} * *
     * Reports aggregated information about how users invoke available UI actions.
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStatsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_UIActionStats_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_UIActionStats_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats.Builder.class); } // Construct using com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats.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(); actionClassName_ = ""; bitField0_ = (bitField0_ & ~0x00000001); invocations_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); invocationKind_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats.InvocationKind.UNKNOWN_INVOCATION_KIND; bitField0_ = (bitField0_ & ~0x00000004); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_UIActionStats_descriptor; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats getDefaultInstanceForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats.getDefaultInstance(); } public com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats build() { com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats buildPartial() { com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats result = new com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.actionClassName_ = actionClassName_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.invocations_ = invocations_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.invocationKind_ = invocationKind_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats) { return mergeFrom((com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats other) { if (other == com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats.getDefaultInstance()) return this; if (other.hasActionClassName()) { bitField0_ |= 0x00000001; actionClassName_ = other.actionClassName_; onChanged(); } if (other.hasInvocations()) { setInvocations(other.getInvocations()); } if (other.hasInvocationKind()) { setInvocationKind(other.getInvocationKind()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional string action_class_name = 1; private java.lang.Object actionClassName_ = ""; /** * optional string action_class_name = 1; * *
       * java class name (our code, not customer) of the UI Action reported on
       *  e.g. 'com.android.build.instant_run.HotSwapBuildAction'
       * 
*/ public boolean hasActionClassName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string action_class_name = 1; * *
       * java class name (our code, not customer) of the UI Action reported on
       *  e.g. 'com.android.build.instant_run.HotSwapBuildAction'
       * 
*/ public java.lang.String getActionClassName() { java.lang.Object ref = actionClassName_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); actionClassName_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string action_class_name = 1; * *
       * java class name (our code, not customer) of the UI Action reported on
       *  e.g. 'com.android.build.instant_run.HotSwapBuildAction'
       * 
*/ public com.google.protobuf.ByteString getActionClassNameBytes() { java.lang.Object ref = actionClassName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); actionClassName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string action_class_name = 1; * *
       * java class name (our code, not customer) of the UI Action reported on
       *  e.g. 'com.android.build.instant_run.HotSwapBuildAction'
       * 
*/ public Builder setActionClassName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; actionClassName_ = value; onChanged(); return this; } /** * optional string action_class_name = 1; * *
       * java class name (our code, not customer) of the UI Action reported on
       *  e.g. 'com.android.build.instant_run.HotSwapBuildAction'
       * 
*/ public Builder clearActionClassName() { bitField0_ = (bitField0_ & ~0x00000001); actionClassName_ = getDefaultInstance().getActionClassName(); onChanged(); return this; } /** * optional string action_class_name = 1; * *
       * java class name (our code, not customer) of the UI Action reported on
       *  e.g. 'com.android.build.instant_run.HotSwapBuildAction'
       * 
*/ public Builder setActionClassNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; actionClassName_ = value; onChanged(); return this; } // optional int64 invocations = 2; private long invocations_ ; /** * optional int64 invocations = 2; * *
       * How often since the last report this action was invoked.
       * 
*/ public boolean hasInvocations() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int64 invocations = 2; * *
       * How often since the last report this action was invoked.
       * 
*/ public long getInvocations() { return invocations_; } /** * optional int64 invocations = 2; * *
       * How often since the last report this action was invoked.
       * 
*/ public Builder setInvocations(long value) { bitField0_ |= 0x00000002; invocations_ = value; onChanged(); return this; } /** * optional int64 invocations = 2; * *
       * How often since the last report this action was invoked.
       * 
*/ public Builder clearInvocations() { bitField0_ = (bitField0_ & ~0x00000002); invocations_ = 0L; onChanged(); return this; } // optional .android_studio.UIActionStats.InvocationKind invocation_kind = 3; private com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats.InvocationKind invocationKind_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats.InvocationKind.UNKNOWN_INVOCATION_KIND; /** * optional .android_studio.UIActionStats.InvocationKind invocation_kind = 3; * *
       * The way this action was invocated by the user.
       * 
*/ public boolean hasInvocationKind() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .android_studio.UIActionStats.InvocationKind invocation_kind = 3; * *
       * The way this action was invocated by the user.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats.InvocationKind getInvocationKind() { return invocationKind_; } /** * optional .android_studio.UIActionStats.InvocationKind invocation_kind = 3; * *
       * The way this action was invocated by the user.
       * 
*/ public Builder setInvocationKind(com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats.InvocationKind value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; invocationKind_ = value; onChanged(); return this; } /** * optional .android_studio.UIActionStats.InvocationKind invocation_kind = 3; * *
       * The way this action was invocated by the user.
       * 
*/ public Builder clearInvocationKind() { bitField0_ = (bitField0_ & ~0x00000004); invocationKind_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.UIActionStats.InvocationKind.UNKNOWN_INVOCATION_KIND; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:android_studio.UIActionStats) } static { defaultInstance = new UIActionStats(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:android_studio.UIActionStats) } public interface MachineDetailsOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional int64 total_ram = 1; /** * optional int64 total_ram = 1; * *
     * Amount of total memory available in megabytes.
     * 
*/ boolean hasTotalRam(); /** * optional int64 total_ram = 1; * *
     * Amount of total memory available in megabytes.
     * 
*/ long getTotalRam(); // optional int64 total_disk = 2; /** * optional int64 total_disk = 2; * *
     * Amount of total disk available in megabytes.
     * 
*/ boolean hasTotalDisk(); /** * optional int64 total_disk = 2; * *
     * Amount of total disk available in megabytes.
     * 
*/ long getTotalDisk(); // repeated .android_studio.DisplayDetails display = 3; /** * repeated .android_studio.DisplayDetails display = 3; * *
     * Information about the display screens on the machine (resolution etc..)
     * 
*/ java.util.List getDisplayList(); /** * repeated .android_studio.DisplayDetails display = 3; * *
     * Information about the display screens on the machine (resolution etc..)
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails getDisplay(int index); /** * repeated .android_studio.DisplayDetails display = 3; * *
     * Information about the display screens on the machine (resolution etc..)
     * 
*/ int getDisplayCount(); /** * repeated .android_studio.DisplayDetails display = 3; * *
     * Information about the display screens on the machine (resolution etc..)
     * 
*/ java.util.List getDisplayOrBuilderList(); /** * repeated .android_studio.DisplayDetails display = 3; * *
     * Information about the display screens on the machine (resolution etc..)
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetailsOrBuilder getDisplayOrBuilder( int index); // optional int32 available_processors = 4; /** * optional int32 available_processors = 4; * *
     * Number of processors on the machine.
     * 
*/ boolean hasAvailableProcessors(); /** * optional int32 available_processors = 4; * *
     * Number of processors on the machine.
     * 
*/ int getAvailableProcessors(); } /** * Protobuf type {@code android_studio.MachineDetails} * *
   * Details about the machine this process is running on.
   * 
*/ public static final class MachineDetails extends com.google.protobuf.GeneratedMessage implements MachineDetailsOrBuilder { // Use MachineDetails.newBuilder() to construct. private MachineDetails(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private MachineDetails(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final MachineDetails defaultInstance; public static MachineDetails getDefaultInstance() { return defaultInstance; } public MachineDetails getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MachineDetails( 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; totalRam_ = input.readInt64(); break; } case 16: { bitField0_ |= 0x00000002; totalDisk_ = input.readInt64(); break; } case 26: { if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { display_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } display_.add(input.readMessage(com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails.PARSER, extensionRegistry)); break; } case 32: { bitField0_ |= 0x00000004; availableProcessors_ = 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_ & 0x00000004) == 0x00000004)) { display_ = java.util.Collections.unmodifiableList(display_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_MachineDetails_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_MachineDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public MachineDetails parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MachineDetails(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional int64 total_ram = 1; public static final int TOTAL_RAM_FIELD_NUMBER = 1; private long totalRam_; /** * optional int64 total_ram = 1; * *
     * Amount of total memory available in megabytes.
     * 
*/ public boolean hasTotalRam() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 total_ram = 1; * *
     * Amount of total memory available in megabytes.
     * 
*/ public long getTotalRam() { return totalRam_; } // optional int64 total_disk = 2; public static final int TOTAL_DISK_FIELD_NUMBER = 2; private long totalDisk_; /** * optional int64 total_disk = 2; * *
     * Amount of total disk available in megabytes.
     * 
*/ public boolean hasTotalDisk() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int64 total_disk = 2; * *
     * Amount of total disk available in megabytes.
     * 
*/ public long getTotalDisk() { return totalDisk_; } // repeated .android_studio.DisplayDetails display = 3; public static final int DISPLAY_FIELD_NUMBER = 3; private java.util.List display_; /** * repeated .android_studio.DisplayDetails display = 3; * *
     * Information about the display screens on the machine (resolution etc..)
     * 
*/ public java.util.List getDisplayList() { return display_; } /** * repeated .android_studio.DisplayDetails display = 3; * *
     * Information about the display screens on the machine (resolution etc..)
     * 
*/ public java.util.List getDisplayOrBuilderList() { return display_; } /** * repeated .android_studio.DisplayDetails display = 3; * *
     * Information about the display screens on the machine (resolution etc..)
     * 
*/ public int getDisplayCount() { return display_.size(); } /** * repeated .android_studio.DisplayDetails display = 3; * *
     * Information about the display screens on the machine (resolution etc..)
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails getDisplay(int index) { return display_.get(index); } /** * repeated .android_studio.DisplayDetails display = 3; * *
     * Information about the display screens on the machine (resolution etc..)
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetailsOrBuilder getDisplayOrBuilder( int index) { return display_.get(index); } // optional int32 available_processors = 4; public static final int AVAILABLE_PROCESSORS_FIELD_NUMBER = 4; private int availableProcessors_; /** * optional int32 available_processors = 4; * *
     * Number of processors on the machine.
     * 
*/ public boolean hasAvailableProcessors() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional int32 available_processors = 4; * *
     * Number of processors on the machine.
     * 
*/ public int getAvailableProcessors() { return availableProcessors_; } private void initFields() { totalRam_ = 0L; totalDisk_ = 0L; display_ = java.util.Collections.emptyList(); availableProcessors_ = 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.writeInt64(1, totalRam_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt64(2, totalDisk_); } for (int i = 0; i < display_.size(); i++) { output.writeMessage(3, display_.get(i)); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt32(4, availableProcessors_); } 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 .computeInt64Size(1, totalRam_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, totalDisk_); } for (int i = 0; i < display_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, display_.get(i)); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, availableProcessors_); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails 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.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails 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 android_studio.MachineDetails} * *
     * Details about the machine this process is running on.
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetailsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_MachineDetails_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_MachineDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails.Builder.class); } // Construct using com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getDisplayFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); totalRam_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); totalDisk_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); if (displayBuilder_ == null) { display_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { displayBuilder_.clear(); } availableProcessors_ = 0; bitField0_ = (bitField0_ & ~0x00000008); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_MachineDetails_descriptor; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails getDefaultInstanceForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails.getDefaultInstance(); } public com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails build() { com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails buildPartial() { com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails result = new com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.totalRam_ = totalRam_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.totalDisk_ = totalDisk_; if (displayBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004)) { display_ = java.util.Collections.unmodifiableList(display_); bitField0_ = (bitField0_ & ~0x00000004); } result.display_ = display_; } else { result.display_ = displayBuilder_.build(); } if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000004; } result.availableProcessors_ = availableProcessors_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails) { return mergeFrom((com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails other) { if (other == com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails.getDefaultInstance()) return this; if (other.hasTotalRam()) { setTotalRam(other.getTotalRam()); } if (other.hasTotalDisk()) { setTotalDisk(other.getTotalDisk()); } if (displayBuilder_ == null) { if (!other.display_.isEmpty()) { if (display_.isEmpty()) { display_ = other.display_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureDisplayIsMutable(); display_.addAll(other.display_); } onChanged(); } } else { if (!other.display_.isEmpty()) { if (displayBuilder_.isEmpty()) { displayBuilder_.dispose(); displayBuilder_ = null; display_ = other.display_; bitField0_ = (bitField0_ & ~0x00000004); displayBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getDisplayFieldBuilder() : null; } else { displayBuilder_.addAllMessages(other.display_); } } } if (other.hasAvailableProcessors()) { setAvailableProcessors(other.getAvailableProcessors()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.sdk.stats.AndroidStudioStats.MachineDetails) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional int64 total_ram = 1; private long totalRam_ ; /** * optional int64 total_ram = 1; * *
       * Amount of total memory available in megabytes.
       * 
*/ public boolean hasTotalRam() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 total_ram = 1; * *
       * Amount of total memory available in megabytes.
       * 
*/ public long getTotalRam() { return totalRam_; } /** * optional int64 total_ram = 1; * *
       * Amount of total memory available in megabytes.
       * 
*/ public Builder setTotalRam(long value) { bitField0_ |= 0x00000001; totalRam_ = value; onChanged(); return this; } /** * optional int64 total_ram = 1; * *
       * Amount of total memory available in megabytes.
       * 
*/ public Builder clearTotalRam() { bitField0_ = (bitField0_ & ~0x00000001); totalRam_ = 0L; onChanged(); return this; } // optional int64 total_disk = 2; private long totalDisk_ ; /** * optional int64 total_disk = 2; * *
       * Amount of total disk available in megabytes.
       * 
*/ public boolean hasTotalDisk() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int64 total_disk = 2; * *
       * Amount of total disk available in megabytes.
       * 
*/ public long getTotalDisk() { return totalDisk_; } /** * optional int64 total_disk = 2; * *
       * Amount of total disk available in megabytes.
       * 
*/ public Builder setTotalDisk(long value) { bitField0_ |= 0x00000002; totalDisk_ = value; onChanged(); return this; } /** * optional int64 total_disk = 2; * *
       * Amount of total disk available in megabytes.
       * 
*/ public Builder clearTotalDisk() { bitField0_ = (bitField0_ & ~0x00000002); totalDisk_ = 0L; onChanged(); return this; } // repeated .android_studio.DisplayDetails display = 3; private java.util.List display_ = java.util.Collections.emptyList(); private void ensureDisplayIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { display_ = new java.util.ArrayList(display_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails, com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetailsOrBuilder> displayBuilder_; /** * repeated .android_studio.DisplayDetails display = 3; * *
       * Information about the display screens on the machine (resolution etc..)
       * 
*/ public java.util.List getDisplayList() { if (displayBuilder_ == null) { return java.util.Collections.unmodifiableList(display_); } else { return displayBuilder_.getMessageList(); } } /** * repeated .android_studio.DisplayDetails display = 3; * *
       * Information about the display screens on the machine (resolution etc..)
       * 
*/ public int getDisplayCount() { if (displayBuilder_ == null) { return display_.size(); } else { return displayBuilder_.getCount(); } } /** * repeated .android_studio.DisplayDetails display = 3; * *
       * Information about the display screens on the machine (resolution etc..)
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails getDisplay(int index) { if (displayBuilder_ == null) { return display_.get(index); } else { return displayBuilder_.getMessage(index); } } /** * repeated .android_studio.DisplayDetails display = 3; * *
       * Information about the display screens on the machine (resolution etc..)
       * 
*/ public Builder setDisplay( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails value) { if (displayBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDisplayIsMutable(); display_.set(index, value); onChanged(); } else { displayBuilder_.setMessage(index, value); } return this; } /** * repeated .android_studio.DisplayDetails display = 3; * *
       * Information about the display screens on the machine (resolution etc..)
       * 
*/ public Builder setDisplay( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails.Builder builderForValue) { if (displayBuilder_ == null) { ensureDisplayIsMutable(); display_.set(index, builderForValue.build()); onChanged(); } else { displayBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .android_studio.DisplayDetails display = 3; * *
       * Information about the display screens on the machine (resolution etc..)
       * 
*/ public Builder addDisplay(com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails value) { if (displayBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDisplayIsMutable(); display_.add(value); onChanged(); } else { displayBuilder_.addMessage(value); } return this; } /** * repeated .android_studio.DisplayDetails display = 3; * *
       * Information about the display screens on the machine (resolution etc..)
       * 
*/ public Builder addDisplay( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails value) { if (displayBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDisplayIsMutable(); display_.add(index, value); onChanged(); } else { displayBuilder_.addMessage(index, value); } return this; } /** * repeated .android_studio.DisplayDetails display = 3; * *
       * Information about the display screens on the machine (resolution etc..)
       * 
*/ public Builder addDisplay( com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails.Builder builderForValue) { if (displayBuilder_ == null) { ensureDisplayIsMutable(); display_.add(builderForValue.build()); onChanged(); } else { displayBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .android_studio.DisplayDetails display = 3; * *
       * Information about the display screens on the machine (resolution etc..)
       * 
*/ public Builder addDisplay( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails.Builder builderForValue) { if (displayBuilder_ == null) { ensureDisplayIsMutable(); display_.add(index, builderForValue.build()); onChanged(); } else { displayBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .android_studio.DisplayDetails display = 3; * *
       * Information about the display screens on the machine (resolution etc..)
       * 
*/ public Builder addAllDisplay( java.lang.Iterable values) { if (displayBuilder_ == null) { ensureDisplayIsMutable(); super.addAll(values, display_); onChanged(); } else { displayBuilder_.addAllMessages(values); } return this; } /** * repeated .android_studio.DisplayDetails display = 3; * *
       * Information about the display screens on the machine (resolution etc..)
       * 
*/ public Builder clearDisplay() { if (displayBuilder_ == null) { display_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { displayBuilder_.clear(); } return this; } /** * repeated .android_studio.DisplayDetails display = 3; * *
       * Information about the display screens on the machine (resolution etc..)
       * 
*/ public Builder removeDisplay(int index) { if (displayBuilder_ == null) { ensureDisplayIsMutable(); display_.remove(index); onChanged(); } else { displayBuilder_.remove(index); } return this; } /** * repeated .android_studio.DisplayDetails display = 3; * *
       * Information about the display screens on the machine (resolution etc..)
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails.Builder getDisplayBuilder( int index) { return getDisplayFieldBuilder().getBuilder(index); } /** * repeated .android_studio.DisplayDetails display = 3; * *
       * Information about the display screens on the machine (resolution etc..)
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetailsOrBuilder getDisplayOrBuilder( int index) { if (displayBuilder_ == null) { return display_.get(index); } else { return displayBuilder_.getMessageOrBuilder(index); } } /** * repeated .android_studio.DisplayDetails display = 3; * *
       * Information about the display screens on the machine (resolution etc..)
       * 
*/ public java.util.List getDisplayOrBuilderList() { if (displayBuilder_ != null) { return displayBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(display_); } } /** * repeated .android_studio.DisplayDetails display = 3; * *
       * Information about the display screens on the machine (resolution etc..)
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails.Builder addDisplayBuilder() { return getDisplayFieldBuilder().addBuilder( com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails.getDefaultInstance()); } /** * repeated .android_studio.DisplayDetails display = 3; * *
       * Information about the display screens on the machine (resolution etc..)
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails.Builder addDisplayBuilder( int index) { return getDisplayFieldBuilder().addBuilder( index, com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails.getDefaultInstance()); } /** * repeated .android_studio.DisplayDetails display = 3; * *
       * Information about the display screens on the machine (resolution etc..)
       * 
*/ public java.util.List getDisplayBuilderList() { return getDisplayFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails, com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetailsOrBuilder> getDisplayFieldBuilder() { if (displayBuilder_ == null) { displayBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails, com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetailsOrBuilder>( display_, ((bitField0_ & 0x00000004) == 0x00000004), getParentForChildren(), isClean()); display_ = null; } return displayBuilder_; } // optional int32 available_processors = 4; private int availableProcessors_ ; /** * optional int32 available_processors = 4; * *
       * Number of processors on the machine.
       * 
*/ public boolean hasAvailableProcessors() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional int32 available_processors = 4; * *
       * Number of processors on the machine.
       * 
*/ public int getAvailableProcessors() { return availableProcessors_; } /** * optional int32 available_processors = 4; * *
       * Number of processors on the machine.
       * 
*/ public Builder setAvailableProcessors(int value) { bitField0_ |= 0x00000008; availableProcessors_ = value; onChanged(); return this; } /** * optional int32 available_processors = 4; * *
       * Number of processors on the machine.
       * 
*/ public Builder clearAvailableProcessors() { bitField0_ = (bitField0_ & ~0x00000008); availableProcessors_ = 0; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:android_studio.MachineDetails) } static { defaultInstance = new MachineDetails(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:android_studio.MachineDetails) } public interface DisplayDetailsOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional int64 width = 1; /** * optional int64 width = 1; * *
     * Width of the display screen in pixels.
     * 
*/ boolean hasWidth(); /** * optional int64 width = 1; * *
     * Width of the display screen in pixels.
     * 
*/ long getWidth(); // optional int64 height = 2; /** * optional int64 height = 2; * *
     * Height of the display screen in pixels.
     * 
*/ boolean hasHeight(); /** * optional int64 height = 2; * *
     * Height of the display screen in pixels.
     * 
*/ long getHeight(); // optional int32 dots_per_inch_horizontal = 3; /** * optional int32 dots_per_inch_horizontal = 3; * *
     * Densitiy of the pixels on the screen horiziontally.
     * 
*/ boolean hasDotsPerInchHorizontal(); /** * optional int32 dots_per_inch_horizontal = 3; * *
     * Densitiy of the pixels on the screen horiziontally.
     * 
*/ int getDotsPerInchHorizontal(); // optional int32 dots_per_inch_vertical = 4; /** * optional int32 dots_per_inch_vertical = 4; * *
     * Densitiy of the pixels on the screen vertically.
     * 
*/ boolean hasDotsPerInchVertical(); /** * optional int32 dots_per_inch_vertical = 4; * *
     * Densitiy of the pixels on the screen vertically.
     * 
*/ int getDotsPerInchVertical(); } /** * Protobuf type {@code android_studio.DisplayDetails} * *
   * Details of a display screen.
   * 
*/ public static final class DisplayDetails extends com.google.protobuf.GeneratedMessage implements DisplayDetailsOrBuilder { // Use DisplayDetails.newBuilder() to construct. private DisplayDetails(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private DisplayDetails(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final DisplayDetails defaultInstance; public static DisplayDetails getDefaultInstance() { return defaultInstance; } public DisplayDetails getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DisplayDetails( 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; width_ = input.readInt64(); break; } case 16: { bitField0_ |= 0x00000002; height_ = input.readInt64(); break; } case 24: { bitField0_ |= 0x00000004; dotsPerInchHorizontal_ = input.readInt32(); break; } case 32: { bitField0_ |= 0x00000008; dotsPerInchVertical_ = 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.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_DisplayDetails_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_DisplayDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public DisplayDetails parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DisplayDetails(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional int64 width = 1; public static final int WIDTH_FIELD_NUMBER = 1; private long width_; /** * optional int64 width = 1; * *
     * Width of the display screen in pixels.
     * 
*/ public boolean hasWidth() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 width = 1; * *
     * Width of the display screen in pixels.
     * 
*/ public long getWidth() { return width_; } // optional int64 height = 2; public static final int HEIGHT_FIELD_NUMBER = 2; private long height_; /** * optional int64 height = 2; * *
     * Height of the display screen in pixels.
     * 
*/ public boolean hasHeight() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int64 height = 2; * *
     * Height of the display screen in pixels.
     * 
*/ public long getHeight() { return height_; } // optional int32 dots_per_inch_horizontal = 3; public static final int DOTS_PER_INCH_HORIZONTAL_FIELD_NUMBER = 3; private int dotsPerInchHorizontal_; /** * optional int32 dots_per_inch_horizontal = 3; * *
     * Densitiy of the pixels on the screen horiziontally.
     * 
*/ public boolean hasDotsPerInchHorizontal() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional int32 dots_per_inch_horizontal = 3; * *
     * Densitiy of the pixels on the screen horiziontally.
     * 
*/ public int getDotsPerInchHorizontal() { return dotsPerInchHorizontal_; } // optional int32 dots_per_inch_vertical = 4; public static final int DOTS_PER_INCH_VERTICAL_FIELD_NUMBER = 4; private int dotsPerInchVertical_; /** * optional int32 dots_per_inch_vertical = 4; * *
     * Densitiy of the pixels on the screen vertically.
     * 
*/ public boolean hasDotsPerInchVertical() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional int32 dots_per_inch_vertical = 4; * *
     * Densitiy of the pixels on the screen vertically.
     * 
*/ public int getDotsPerInchVertical() { return dotsPerInchVertical_; } private void initFields() { width_ = 0L; height_ = 0L; dotsPerInchHorizontal_ = 0; dotsPerInchVertical_ = 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.writeInt64(1, width_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt64(2, height_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt32(3, dotsPerInchHorizontal_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt32(4, dotsPerInchVertical_); } 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 .computeInt64Size(1, width_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, height_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, dotsPerInchHorizontal_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, dotsPerInchVertical_); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails 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.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails 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 android_studio.DisplayDetails} * *
     * Details of a display screen.
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetailsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_DisplayDetails_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_DisplayDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails.Builder.class); } // Construct using com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails.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(); width_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); height_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); dotsPerInchHorizontal_ = 0; bitField0_ = (bitField0_ & ~0x00000004); dotsPerInchVertical_ = 0; bitField0_ = (bitField0_ & ~0x00000008); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_DisplayDetails_descriptor; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails getDefaultInstanceForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails.getDefaultInstance(); } public com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails build() { com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails buildPartial() { com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails result = new com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.width_ = width_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.height_ = height_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.dotsPerInchHorizontal_ = dotsPerInchHorizontal_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.dotsPerInchVertical_ = dotsPerInchVertical_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails) { return mergeFrom((com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails other) { if (other == com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails.getDefaultInstance()) return this; if (other.hasWidth()) { setWidth(other.getWidth()); } if (other.hasHeight()) { setHeight(other.getHeight()); } if (other.hasDotsPerInchHorizontal()) { setDotsPerInchHorizontal(other.getDotsPerInchHorizontal()); } if (other.hasDotsPerInchVertical()) { setDotsPerInchVertical(other.getDotsPerInchVertical()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.sdk.stats.AndroidStudioStats.DisplayDetails) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional int64 width = 1; private long width_ ; /** * optional int64 width = 1; * *
       * Width of the display screen in pixels.
       * 
*/ public boolean hasWidth() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 width = 1; * *
       * Width of the display screen in pixels.
       * 
*/ public long getWidth() { return width_; } /** * optional int64 width = 1; * *
       * Width of the display screen in pixels.
       * 
*/ public Builder setWidth(long value) { bitField0_ |= 0x00000001; width_ = value; onChanged(); return this; } /** * optional int64 width = 1; * *
       * Width of the display screen in pixels.
       * 
*/ public Builder clearWidth() { bitField0_ = (bitField0_ & ~0x00000001); width_ = 0L; onChanged(); return this; } // optional int64 height = 2; private long height_ ; /** * optional int64 height = 2; * *
       * Height of the display screen in pixels.
       * 
*/ public boolean hasHeight() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int64 height = 2; * *
       * Height of the display screen in pixels.
       * 
*/ public long getHeight() { return height_; } /** * optional int64 height = 2; * *
       * Height of the display screen in pixels.
       * 
*/ public Builder setHeight(long value) { bitField0_ |= 0x00000002; height_ = value; onChanged(); return this; } /** * optional int64 height = 2; * *
       * Height of the display screen in pixels.
       * 
*/ public Builder clearHeight() { bitField0_ = (bitField0_ & ~0x00000002); height_ = 0L; onChanged(); return this; } // optional int32 dots_per_inch_horizontal = 3; private int dotsPerInchHorizontal_ ; /** * optional int32 dots_per_inch_horizontal = 3; * *
       * Densitiy of the pixels on the screen horiziontally.
       * 
*/ public boolean hasDotsPerInchHorizontal() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional int32 dots_per_inch_horizontal = 3; * *
       * Densitiy of the pixels on the screen horiziontally.
       * 
*/ public int getDotsPerInchHorizontal() { return dotsPerInchHorizontal_; } /** * optional int32 dots_per_inch_horizontal = 3; * *
       * Densitiy of the pixels on the screen horiziontally.
       * 
*/ public Builder setDotsPerInchHorizontal(int value) { bitField0_ |= 0x00000004; dotsPerInchHorizontal_ = value; onChanged(); return this; } /** * optional int32 dots_per_inch_horizontal = 3; * *
       * Densitiy of the pixels on the screen horiziontally.
       * 
*/ public Builder clearDotsPerInchHorizontal() { bitField0_ = (bitField0_ & ~0x00000004); dotsPerInchHorizontal_ = 0; onChanged(); return this; } // optional int32 dots_per_inch_vertical = 4; private int dotsPerInchVertical_ ; /** * optional int32 dots_per_inch_vertical = 4; * *
       * Densitiy of the pixels on the screen vertically.
       * 
*/ public boolean hasDotsPerInchVertical() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional int32 dots_per_inch_vertical = 4; * *
       * Densitiy of the pixels on the screen vertically.
       * 
*/ public int getDotsPerInchVertical() { return dotsPerInchVertical_; } /** * optional int32 dots_per_inch_vertical = 4; * *
       * Densitiy of the pixels on the screen vertically.
       * 
*/ public Builder setDotsPerInchVertical(int value) { bitField0_ |= 0x00000008; dotsPerInchVertical_ = value; onChanged(); return this; } /** * optional int32 dots_per_inch_vertical = 4; * *
       * Densitiy of the pixels on the screen vertically.
       * 
*/ public Builder clearDotsPerInchVertical() { bitField0_ = (bitField0_ & ~0x00000008); dotsPerInchVertical_ = 0; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:android_studio.DisplayDetails) } static { defaultInstance = new DisplayDetails(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:android_studio.DisplayDetails) } public interface JavaProcessStatsOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional int64 heap_memory_usage = 1; /** * optional int64 heap_memory_usage = 1; * *
     * Number of bytes of memory in use as heap memory.
     * 
*/ boolean hasHeapMemoryUsage(); /** * optional int64 heap_memory_usage = 1; * *
     * Number of bytes of memory in use as heap memory.
     * 
*/ long getHeapMemoryUsage(); // optional int64 non_heap_memory_usage = 2; /** * optional int64 non_heap_memory_usage = 2; * *
     * Number of bytes of memory in use as non heap memory.
     * 
*/ boolean hasNonHeapMemoryUsage(); /** * optional int64 non_heap_memory_usage = 2; * *
     * Number of bytes of memory in use as non heap memory.
     * 
*/ long getNonHeapMemoryUsage(); // optional int32 loaded_class_count = 3; /** * optional int32 loaded_class_count = 3; * *
     * Current amount of java classes loaded.
     * 
*/ boolean hasLoadedClassCount(); /** * optional int32 loaded_class_count = 3; * *
     * Current amount of java classes loaded.
     * 
*/ int getLoadedClassCount(); // optional int32 thread_count = 4; /** * optional int32 thread_count = 4; * *
     * Current amount of threads.
     * 
*/ boolean hasThreadCount(); /** * optional int32 thread_count = 4; * *
     * Current amount of threads.
     * 
*/ int getThreadCount(); // repeated .android_studio.GarbageCollectionStats garbage_collection_stats = 5; /** * repeated .android_studio.GarbageCollectionStats garbage_collection_stats = 5; * *
     * Statistics about the garbage collectors used in this process.
     * 
*/ java.util.List getGarbageCollectionStatsList(); /** * repeated .android_studio.GarbageCollectionStats garbage_collection_stats = 5; * *
     * Statistics about the garbage collectors used in this process.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats getGarbageCollectionStats(int index); /** * repeated .android_studio.GarbageCollectionStats garbage_collection_stats = 5; * *
     * Statistics about the garbage collectors used in this process.
     * 
*/ int getGarbageCollectionStatsCount(); /** * repeated .android_studio.GarbageCollectionStats garbage_collection_stats = 5; * *
     * Statistics about the garbage collectors used in this process.
     * 
*/ java.util.List getGarbageCollectionStatsOrBuilderList(); /** * repeated .android_studio.GarbageCollectionStats garbage_collection_stats = 5; * *
     * Statistics about the garbage collectors used in this process.
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStatsOrBuilder getGarbageCollectionStatsOrBuilder( int index); } /** * Protobuf type {@code android_studio.JavaProcessStats} * *
   * Stats on the current running java process.
   * 
*/ public static final class JavaProcessStats extends com.google.protobuf.GeneratedMessage implements JavaProcessStatsOrBuilder { // Use JavaProcessStats.newBuilder() to construct. private JavaProcessStats(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private JavaProcessStats(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final JavaProcessStats defaultInstance; public static JavaProcessStats getDefaultInstance() { return defaultInstance; } public JavaProcessStats getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private JavaProcessStats( 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; heapMemoryUsage_ = input.readInt64(); break; } case 16: { bitField0_ |= 0x00000002; nonHeapMemoryUsage_ = input.readInt64(); break; } case 24: { bitField0_ |= 0x00000004; loadedClassCount_ = input.readInt32(); break; } case 32: { bitField0_ |= 0x00000008; threadCount_ = input.readInt32(); break; } case 42: { if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { garbageCollectionStats_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } garbageCollectionStats_.add(input.readMessage(com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats.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_ & 0x00000010) == 0x00000010)) { garbageCollectionStats_ = java.util.Collections.unmodifiableList(garbageCollectionStats_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_JavaProcessStats_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_JavaProcessStats_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public JavaProcessStats parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new JavaProcessStats(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional int64 heap_memory_usage = 1; public static final int HEAP_MEMORY_USAGE_FIELD_NUMBER = 1; private long heapMemoryUsage_; /** * optional int64 heap_memory_usage = 1; * *
     * Number of bytes of memory in use as heap memory.
     * 
*/ public boolean hasHeapMemoryUsage() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 heap_memory_usage = 1; * *
     * Number of bytes of memory in use as heap memory.
     * 
*/ public long getHeapMemoryUsage() { return heapMemoryUsage_; } // optional int64 non_heap_memory_usage = 2; public static final int NON_HEAP_MEMORY_USAGE_FIELD_NUMBER = 2; private long nonHeapMemoryUsage_; /** * optional int64 non_heap_memory_usage = 2; * *
     * Number of bytes of memory in use as non heap memory.
     * 
*/ public boolean hasNonHeapMemoryUsage() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int64 non_heap_memory_usage = 2; * *
     * Number of bytes of memory in use as non heap memory.
     * 
*/ public long getNonHeapMemoryUsage() { return nonHeapMemoryUsage_; } // optional int32 loaded_class_count = 3; public static final int LOADED_CLASS_COUNT_FIELD_NUMBER = 3; private int loadedClassCount_; /** * optional int32 loaded_class_count = 3; * *
     * Current amount of java classes loaded.
     * 
*/ public boolean hasLoadedClassCount() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional int32 loaded_class_count = 3; * *
     * Current amount of java classes loaded.
     * 
*/ public int getLoadedClassCount() { return loadedClassCount_; } // optional int32 thread_count = 4; public static final int THREAD_COUNT_FIELD_NUMBER = 4; private int threadCount_; /** * optional int32 thread_count = 4; * *
     * Current amount of threads.
     * 
*/ public boolean hasThreadCount() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional int32 thread_count = 4; * *
     * Current amount of threads.
     * 
*/ public int getThreadCount() { return threadCount_; } // repeated .android_studio.GarbageCollectionStats garbage_collection_stats = 5; public static final int GARBAGE_COLLECTION_STATS_FIELD_NUMBER = 5; private java.util.List garbageCollectionStats_; /** * repeated .android_studio.GarbageCollectionStats garbage_collection_stats = 5; * *
     * Statistics about the garbage collectors used in this process.
     * 
*/ public java.util.List getGarbageCollectionStatsList() { return garbageCollectionStats_; } /** * repeated .android_studio.GarbageCollectionStats garbage_collection_stats = 5; * *
     * Statistics about the garbage collectors used in this process.
     * 
*/ public java.util.List getGarbageCollectionStatsOrBuilderList() { return garbageCollectionStats_; } /** * repeated .android_studio.GarbageCollectionStats garbage_collection_stats = 5; * *
     * Statistics about the garbage collectors used in this process.
     * 
*/ public int getGarbageCollectionStatsCount() { return garbageCollectionStats_.size(); } /** * repeated .android_studio.GarbageCollectionStats garbage_collection_stats = 5; * *
     * Statistics about the garbage collectors used in this process.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats getGarbageCollectionStats(int index) { return garbageCollectionStats_.get(index); } /** * repeated .android_studio.GarbageCollectionStats garbage_collection_stats = 5; * *
     * Statistics about the garbage collectors used in this process.
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStatsOrBuilder getGarbageCollectionStatsOrBuilder( int index) { return garbageCollectionStats_.get(index); } private void initFields() { heapMemoryUsage_ = 0L; nonHeapMemoryUsage_ = 0L; loadedClassCount_ = 0; threadCount_ = 0; garbageCollectionStats_ = 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(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt64(1, heapMemoryUsage_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt64(2, nonHeapMemoryUsage_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt32(3, loadedClassCount_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt32(4, threadCount_); } for (int i = 0; i < garbageCollectionStats_.size(); i++) { output.writeMessage(5, garbageCollectionStats_.get(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, heapMemoryUsage_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, nonHeapMemoryUsage_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, loadedClassCount_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, threadCount_); } for (int i = 0; i < garbageCollectionStats_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, garbageCollectionStats_.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.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats 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.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats 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 android_studio.JavaProcessStats} * *
     * Stats on the current running java process.
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStatsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_JavaProcessStats_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_JavaProcessStats_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats.Builder.class); } // Construct using com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getGarbageCollectionStatsFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); heapMemoryUsage_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); nonHeapMemoryUsage_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); loadedClassCount_ = 0; bitField0_ = (bitField0_ & ~0x00000004); threadCount_ = 0; bitField0_ = (bitField0_ & ~0x00000008); if (garbageCollectionStatsBuilder_ == null) { garbageCollectionStats_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); } else { garbageCollectionStatsBuilder_.clear(); } return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_JavaProcessStats_descriptor; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats getDefaultInstanceForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats.getDefaultInstance(); } public com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats build() { com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats buildPartial() { com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats result = new com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.heapMemoryUsage_ = heapMemoryUsage_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.nonHeapMemoryUsage_ = nonHeapMemoryUsage_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.loadedClassCount_ = loadedClassCount_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.threadCount_ = threadCount_; if (garbageCollectionStatsBuilder_ == null) { if (((bitField0_ & 0x00000010) == 0x00000010)) { garbageCollectionStats_ = java.util.Collections.unmodifiableList(garbageCollectionStats_); bitField0_ = (bitField0_ & ~0x00000010); } result.garbageCollectionStats_ = garbageCollectionStats_; } else { result.garbageCollectionStats_ = garbageCollectionStatsBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats) { return mergeFrom((com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats other) { if (other == com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats.getDefaultInstance()) return this; if (other.hasHeapMemoryUsage()) { setHeapMemoryUsage(other.getHeapMemoryUsage()); } if (other.hasNonHeapMemoryUsage()) { setNonHeapMemoryUsage(other.getNonHeapMemoryUsage()); } if (other.hasLoadedClassCount()) { setLoadedClassCount(other.getLoadedClassCount()); } if (other.hasThreadCount()) { setThreadCount(other.getThreadCount()); } if (garbageCollectionStatsBuilder_ == null) { if (!other.garbageCollectionStats_.isEmpty()) { if (garbageCollectionStats_.isEmpty()) { garbageCollectionStats_ = other.garbageCollectionStats_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureGarbageCollectionStatsIsMutable(); garbageCollectionStats_.addAll(other.garbageCollectionStats_); } onChanged(); } } else { if (!other.garbageCollectionStats_.isEmpty()) { if (garbageCollectionStatsBuilder_.isEmpty()) { garbageCollectionStatsBuilder_.dispose(); garbageCollectionStatsBuilder_ = null; garbageCollectionStats_ = other.garbageCollectionStats_; bitField0_ = (bitField0_ & ~0x00000010); garbageCollectionStatsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getGarbageCollectionStatsFieldBuilder() : null; } else { garbageCollectionStatsBuilder_.addAllMessages(other.garbageCollectionStats_); } } } 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.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.sdk.stats.AndroidStudioStats.JavaProcessStats) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional int64 heap_memory_usage = 1; private long heapMemoryUsage_ ; /** * optional int64 heap_memory_usage = 1; * *
       * Number of bytes of memory in use as heap memory.
       * 
*/ public boolean hasHeapMemoryUsage() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 heap_memory_usage = 1; * *
       * Number of bytes of memory in use as heap memory.
       * 
*/ public long getHeapMemoryUsage() { return heapMemoryUsage_; } /** * optional int64 heap_memory_usage = 1; * *
       * Number of bytes of memory in use as heap memory.
       * 
*/ public Builder setHeapMemoryUsage(long value) { bitField0_ |= 0x00000001; heapMemoryUsage_ = value; onChanged(); return this; } /** * optional int64 heap_memory_usage = 1; * *
       * Number of bytes of memory in use as heap memory.
       * 
*/ public Builder clearHeapMemoryUsage() { bitField0_ = (bitField0_ & ~0x00000001); heapMemoryUsage_ = 0L; onChanged(); return this; } // optional int64 non_heap_memory_usage = 2; private long nonHeapMemoryUsage_ ; /** * optional int64 non_heap_memory_usage = 2; * *
       * Number of bytes of memory in use as non heap memory.
       * 
*/ public boolean hasNonHeapMemoryUsage() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int64 non_heap_memory_usage = 2; * *
       * Number of bytes of memory in use as non heap memory.
       * 
*/ public long getNonHeapMemoryUsage() { return nonHeapMemoryUsage_; } /** * optional int64 non_heap_memory_usage = 2; * *
       * Number of bytes of memory in use as non heap memory.
       * 
*/ public Builder setNonHeapMemoryUsage(long value) { bitField0_ |= 0x00000002; nonHeapMemoryUsage_ = value; onChanged(); return this; } /** * optional int64 non_heap_memory_usage = 2; * *
       * Number of bytes of memory in use as non heap memory.
       * 
*/ public Builder clearNonHeapMemoryUsage() { bitField0_ = (bitField0_ & ~0x00000002); nonHeapMemoryUsage_ = 0L; onChanged(); return this; } // optional int32 loaded_class_count = 3; private int loadedClassCount_ ; /** * optional int32 loaded_class_count = 3; * *
       * Current amount of java classes loaded.
       * 
*/ public boolean hasLoadedClassCount() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional int32 loaded_class_count = 3; * *
       * Current amount of java classes loaded.
       * 
*/ public int getLoadedClassCount() { return loadedClassCount_; } /** * optional int32 loaded_class_count = 3; * *
       * Current amount of java classes loaded.
       * 
*/ public Builder setLoadedClassCount(int value) { bitField0_ |= 0x00000004; loadedClassCount_ = value; onChanged(); return this; } /** * optional int32 loaded_class_count = 3; * *
       * Current amount of java classes loaded.
       * 
*/ public Builder clearLoadedClassCount() { bitField0_ = (bitField0_ & ~0x00000004); loadedClassCount_ = 0; onChanged(); return this; } // optional int32 thread_count = 4; private int threadCount_ ; /** * optional int32 thread_count = 4; * *
       * Current amount of threads.
       * 
*/ public boolean hasThreadCount() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional int32 thread_count = 4; * *
       * Current amount of threads.
       * 
*/ public int getThreadCount() { return threadCount_; } /** * optional int32 thread_count = 4; * *
       * Current amount of threads.
       * 
*/ public Builder setThreadCount(int value) { bitField0_ |= 0x00000008; threadCount_ = value; onChanged(); return this; } /** * optional int32 thread_count = 4; * *
       * Current amount of threads.
       * 
*/ public Builder clearThreadCount() { bitField0_ = (bitField0_ & ~0x00000008); threadCount_ = 0; onChanged(); return this; } // repeated .android_studio.GarbageCollectionStats garbage_collection_stats = 5; private java.util.List garbageCollectionStats_ = java.util.Collections.emptyList(); private void ensureGarbageCollectionStatsIsMutable() { if (!((bitField0_ & 0x00000010) == 0x00000010)) { garbageCollectionStats_ = new java.util.ArrayList(garbageCollectionStats_); bitField0_ |= 0x00000010; } } private com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats, com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStatsOrBuilder> garbageCollectionStatsBuilder_; /** * repeated .android_studio.GarbageCollectionStats garbage_collection_stats = 5; * *
       * Statistics about the garbage collectors used in this process.
       * 
*/ public java.util.List getGarbageCollectionStatsList() { if (garbageCollectionStatsBuilder_ == null) { return java.util.Collections.unmodifiableList(garbageCollectionStats_); } else { return garbageCollectionStatsBuilder_.getMessageList(); } } /** * repeated .android_studio.GarbageCollectionStats garbage_collection_stats = 5; * *
       * Statistics about the garbage collectors used in this process.
       * 
*/ public int getGarbageCollectionStatsCount() { if (garbageCollectionStatsBuilder_ == null) { return garbageCollectionStats_.size(); } else { return garbageCollectionStatsBuilder_.getCount(); } } /** * repeated .android_studio.GarbageCollectionStats garbage_collection_stats = 5; * *
       * Statistics about the garbage collectors used in this process.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats getGarbageCollectionStats(int index) { if (garbageCollectionStatsBuilder_ == null) { return garbageCollectionStats_.get(index); } else { return garbageCollectionStatsBuilder_.getMessage(index); } } /** * repeated .android_studio.GarbageCollectionStats garbage_collection_stats = 5; * *
       * Statistics about the garbage collectors used in this process.
       * 
*/ public Builder setGarbageCollectionStats( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats value) { if (garbageCollectionStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGarbageCollectionStatsIsMutable(); garbageCollectionStats_.set(index, value); onChanged(); } else { garbageCollectionStatsBuilder_.setMessage(index, value); } return this; } /** * repeated .android_studio.GarbageCollectionStats garbage_collection_stats = 5; * *
       * Statistics about the garbage collectors used in this process.
       * 
*/ public Builder setGarbageCollectionStats( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats.Builder builderForValue) { if (garbageCollectionStatsBuilder_ == null) { ensureGarbageCollectionStatsIsMutable(); garbageCollectionStats_.set(index, builderForValue.build()); onChanged(); } else { garbageCollectionStatsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .android_studio.GarbageCollectionStats garbage_collection_stats = 5; * *
       * Statistics about the garbage collectors used in this process.
       * 
*/ public Builder addGarbageCollectionStats(com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats value) { if (garbageCollectionStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGarbageCollectionStatsIsMutable(); garbageCollectionStats_.add(value); onChanged(); } else { garbageCollectionStatsBuilder_.addMessage(value); } return this; } /** * repeated .android_studio.GarbageCollectionStats garbage_collection_stats = 5; * *
       * Statistics about the garbage collectors used in this process.
       * 
*/ public Builder addGarbageCollectionStats( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats value) { if (garbageCollectionStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGarbageCollectionStatsIsMutable(); garbageCollectionStats_.add(index, value); onChanged(); } else { garbageCollectionStatsBuilder_.addMessage(index, value); } return this; } /** * repeated .android_studio.GarbageCollectionStats garbage_collection_stats = 5; * *
       * Statistics about the garbage collectors used in this process.
       * 
*/ public Builder addGarbageCollectionStats( com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats.Builder builderForValue) { if (garbageCollectionStatsBuilder_ == null) { ensureGarbageCollectionStatsIsMutable(); garbageCollectionStats_.add(builderForValue.build()); onChanged(); } else { garbageCollectionStatsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .android_studio.GarbageCollectionStats garbage_collection_stats = 5; * *
       * Statistics about the garbage collectors used in this process.
       * 
*/ public Builder addGarbageCollectionStats( int index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats.Builder builderForValue) { if (garbageCollectionStatsBuilder_ == null) { ensureGarbageCollectionStatsIsMutable(); garbageCollectionStats_.add(index, builderForValue.build()); onChanged(); } else { garbageCollectionStatsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .android_studio.GarbageCollectionStats garbage_collection_stats = 5; * *
       * Statistics about the garbage collectors used in this process.
       * 
*/ public Builder addAllGarbageCollectionStats( java.lang.Iterable values) { if (garbageCollectionStatsBuilder_ == null) { ensureGarbageCollectionStatsIsMutable(); super.addAll(values, garbageCollectionStats_); onChanged(); } else { garbageCollectionStatsBuilder_.addAllMessages(values); } return this; } /** * repeated .android_studio.GarbageCollectionStats garbage_collection_stats = 5; * *
       * Statistics about the garbage collectors used in this process.
       * 
*/ public Builder clearGarbageCollectionStats() { if (garbageCollectionStatsBuilder_ == null) { garbageCollectionStats_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { garbageCollectionStatsBuilder_.clear(); } return this; } /** * repeated .android_studio.GarbageCollectionStats garbage_collection_stats = 5; * *
       * Statistics about the garbage collectors used in this process.
       * 
*/ public Builder removeGarbageCollectionStats(int index) { if (garbageCollectionStatsBuilder_ == null) { ensureGarbageCollectionStatsIsMutable(); garbageCollectionStats_.remove(index); onChanged(); } else { garbageCollectionStatsBuilder_.remove(index); } return this; } /** * repeated .android_studio.GarbageCollectionStats garbage_collection_stats = 5; * *
       * Statistics about the garbage collectors used in this process.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats.Builder getGarbageCollectionStatsBuilder( int index) { return getGarbageCollectionStatsFieldBuilder().getBuilder(index); } /** * repeated .android_studio.GarbageCollectionStats garbage_collection_stats = 5; * *
       * Statistics about the garbage collectors used in this process.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStatsOrBuilder getGarbageCollectionStatsOrBuilder( int index) { if (garbageCollectionStatsBuilder_ == null) { return garbageCollectionStats_.get(index); } else { return garbageCollectionStatsBuilder_.getMessageOrBuilder(index); } } /** * repeated .android_studio.GarbageCollectionStats garbage_collection_stats = 5; * *
       * Statistics about the garbage collectors used in this process.
       * 
*/ public java.util.List getGarbageCollectionStatsOrBuilderList() { if (garbageCollectionStatsBuilder_ != null) { return garbageCollectionStatsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(garbageCollectionStats_); } } /** * repeated .android_studio.GarbageCollectionStats garbage_collection_stats = 5; * *
       * Statistics about the garbage collectors used in this process.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats.Builder addGarbageCollectionStatsBuilder() { return getGarbageCollectionStatsFieldBuilder().addBuilder( com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats.getDefaultInstance()); } /** * repeated .android_studio.GarbageCollectionStats garbage_collection_stats = 5; * *
       * Statistics about the garbage collectors used in this process.
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats.Builder addGarbageCollectionStatsBuilder( int index) { return getGarbageCollectionStatsFieldBuilder().addBuilder( index, com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats.getDefaultInstance()); } /** * repeated .android_studio.GarbageCollectionStats garbage_collection_stats = 5; * *
       * Statistics about the garbage collectors used in this process.
       * 
*/ public java.util.List getGarbageCollectionStatsBuilderList() { return getGarbageCollectionStatsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats, com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStatsOrBuilder> getGarbageCollectionStatsFieldBuilder() { if (garbageCollectionStatsBuilder_ == null) { garbageCollectionStatsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats, com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats.Builder, com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStatsOrBuilder>( garbageCollectionStats_, ((bitField0_ & 0x00000010) == 0x00000010), getParentForChildren(), isClean()); garbageCollectionStats_ = null; } return garbageCollectionStatsBuilder_; } // @@protoc_insertion_point(builder_scope:android_studio.JavaProcessStats) } static { defaultInstance = new JavaProcessStats(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:android_studio.JavaProcessStats) } public interface GarbageCollectionStatsOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional string name = 1; /** * optional string name = 1; * *
     * Name of the garbage collector (e.g. 'ConcurrentMarkSweep')
     * 
*/ boolean hasName(); /** * optional string name = 1; * *
     * Name of the garbage collector (e.g. 'ConcurrentMarkSweep')
     * 
*/ java.lang.String getName(); /** * optional string name = 1; * *
     * Name of the garbage collector (e.g. 'ConcurrentMarkSweep')
     * 
*/ com.google.protobuf.ByteString getNameBytes(); // optional int64 gc_collections = 2; /** * optional int64 gc_collections = 2; * *
     * Number of garbage collector invocations since last report.
     * 
*/ boolean hasGcCollections(); /** * optional int64 gc_collections = 2; * *
     * Number of garbage collector invocations since last report.
     * 
*/ long getGcCollections(); // optional int64 gc_time = 3; /** * optional int64 gc_time = 3; * *
     * Time spent garbage collecting since last report in milliseconds.
     * 
*/ boolean hasGcTime(); /** * optional int64 gc_time = 3; * *
     * Time spent garbage collecting since last report in milliseconds.
     * 
*/ long getGcTime(); } /** * Protobuf type {@code android_studio.GarbageCollectionStats} * *
   * Statistics about the garbage collector.
   * 
*/ public static final class GarbageCollectionStats extends com.google.protobuf.GeneratedMessage implements GarbageCollectionStatsOrBuilder { // Use GarbageCollectionStats.newBuilder() to construct. private GarbageCollectionStats(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private GarbageCollectionStats(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final GarbageCollectionStats defaultInstance; public static GarbageCollectionStats getDefaultInstance() { return defaultInstance; } public GarbageCollectionStats getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GarbageCollectionStats( 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; name_ = input.readBytes(); break; } case 16: { bitField0_ |= 0x00000002; gcCollections_ = input.readInt64(); break; } case 24: { bitField0_ |= 0x00000004; gcTime_ = input.readInt64(); 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.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GarbageCollectionStats_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GarbageCollectionStats_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public GarbageCollectionStats parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GarbageCollectionStats(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional string name = 1; public static final int NAME_FIELD_NUMBER = 1; private java.lang.Object name_; /** * optional string name = 1; * *
     * Name of the garbage collector (e.g. 'ConcurrentMarkSweep')
     * 
*/ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string name = 1; * *
     * Name of the garbage collector (e.g. 'ConcurrentMarkSweep')
     * 
*/ public java.lang.String getName() { java.lang.Object ref = name_; 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()) { name_ = s; } return s; } } /** * optional string name = 1; * *
     * Name of the garbage collector (e.g. 'ConcurrentMarkSweep')
     * 
*/ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional int64 gc_collections = 2; public static final int GC_COLLECTIONS_FIELD_NUMBER = 2; private long gcCollections_; /** * optional int64 gc_collections = 2; * *
     * Number of garbage collector invocations since last report.
     * 
*/ public boolean hasGcCollections() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int64 gc_collections = 2; * *
     * Number of garbage collector invocations since last report.
     * 
*/ public long getGcCollections() { return gcCollections_; } // optional int64 gc_time = 3; public static final int GC_TIME_FIELD_NUMBER = 3; private long gcTime_; /** * optional int64 gc_time = 3; * *
     * Time spent garbage collecting since last report in milliseconds.
     * 
*/ public boolean hasGcTime() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional int64 gc_time = 3; * *
     * Time spent garbage collecting since last report in milliseconds.
     * 
*/ public long getGcTime() { return gcTime_; } private void initFields() { name_ = ""; gcCollections_ = 0L; gcTime_ = 0L; } 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, getNameBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt64(2, gcCollections_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt64(3, gcTime_); } 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, getNameBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, gcCollections_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, gcTime_); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats 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.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats 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 android_studio.GarbageCollectionStats} * *
     * Statistics about the garbage collector.
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStatsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GarbageCollectionStats_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GarbageCollectionStats_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats.Builder.class); } // Construct using com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats.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(); name_ = ""; bitField0_ = (bitField0_ & ~0x00000001); gcCollections_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); gcTime_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_GarbageCollectionStats_descriptor; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats getDefaultInstanceForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats.getDefaultInstance(); } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats build() { com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats buildPartial() { com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats result = new com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.name_ = name_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.gcCollections_ = gcCollections_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.gcTime_ = gcTime_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats) { return mergeFrom((com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats other) { if (other == com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats.getDefaultInstance()) return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; onChanged(); } if (other.hasGcCollections()) { setGcCollections(other.getGcCollections()); } if (other.hasGcTime()) { setGcTime(other.getGcTime()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.sdk.stats.AndroidStudioStats.GarbageCollectionStats) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional string name = 1; private java.lang.Object name_ = ""; /** * optional string name = 1; * *
       * Name of the garbage collector (e.g. 'ConcurrentMarkSweep')
       * 
*/ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string name = 1; * *
       * Name of the garbage collector (e.g. 'ConcurrentMarkSweep')
       * 
*/ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string name = 1; * *
       * Name of the garbage collector (e.g. 'ConcurrentMarkSweep')
       * 
*/ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string name = 1; * *
       * Name of the garbage collector (e.g. 'ConcurrentMarkSweep')
       * 
*/ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** * optional string name = 1; * *
       * Name of the garbage collector (e.g. 'ConcurrentMarkSweep')
       * 
*/ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 1; * *
       * Name of the garbage collector (e.g. 'ConcurrentMarkSweep')
       * 
*/ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } // optional int64 gc_collections = 2; private long gcCollections_ ; /** * optional int64 gc_collections = 2; * *
       * Number of garbage collector invocations since last report.
       * 
*/ public boolean hasGcCollections() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int64 gc_collections = 2; * *
       * Number of garbage collector invocations since last report.
       * 
*/ public long getGcCollections() { return gcCollections_; } /** * optional int64 gc_collections = 2; * *
       * Number of garbage collector invocations since last report.
       * 
*/ public Builder setGcCollections(long value) { bitField0_ |= 0x00000002; gcCollections_ = value; onChanged(); return this; } /** * optional int64 gc_collections = 2; * *
       * Number of garbage collector invocations since last report.
       * 
*/ public Builder clearGcCollections() { bitField0_ = (bitField0_ & ~0x00000002); gcCollections_ = 0L; onChanged(); return this; } // optional int64 gc_time = 3; private long gcTime_ ; /** * optional int64 gc_time = 3; * *
       * Time spent garbage collecting since last report in milliseconds.
       * 
*/ public boolean hasGcTime() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional int64 gc_time = 3; * *
       * Time spent garbage collecting since last report in milliseconds.
       * 
*/ public long getGcTime() { return gcTime_; } /** * optional int64 gc_time = 3; * *
       * Time spent garbage collecting since last report in milliseconds.
       * 
*/ public Builder setGcTime(long value) { bitField0_ |= 0x00000004; gcTime_ = value; onChanged(); return this; } /** * optional int64 gc_time = 3; * *
       * Time spent garbage collecting since last report in milliseconds.
       * 
*/ public Builder clearGcTime() { bitField0_ = (bitField0_ & ~0x00000004); gcTime_ = 0L; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:android_studio.GarbageCollectionStats) } static { defaultInstance = new GarbageCollectionStats(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:android_studio.GarbageCollectionStats) } public interface JvmDetailsOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional string name = 1; /** * optional string name = 1; * *
     * Name of the JVM (e.g. "OpenJDK 64-Bit Server by JetBrains s.r.o").
     * 
*/ boolean hasName(); /** * optional string name = 1; * *
     * Name of the JVM (e.g. "OpenJDK 64-Bit Server by JetBrains s.r.o").
     * 
*/ java.lang.String getName(); /** * optional string name = 1; * *
     * Name of the JVM (e.g. "OpenJDK 64-Bit Server by JetBrains s.r.o").
     * 
*/ com.google.protobuf.ByteString getNameBytes(); // optional string version = 2; /** * optional string version = 2; * *
     * Version of the JVM (e.g. "1.8.0_76-release-b198 amd")
     * 
*/ boolean hasVersion(); /** * optional string version = 2; * *
     * Version of the JVM (e.g. "1.8.0_76-release-b198 amd")
     * 
*/ java.lang.String getVersion(); /** * optional string version = 2; * *
     * Version of the JVM (e.g. "1.8.0_76-release-b198 amd")
     * 
*/ com.google.protobuf.ByteString getVersionBytes(); // optional string vendor = 3; /** * optional string vendor = 3; * *
     * Vendor of the JVM (e.g. "JetBrains s.r.o.")
     * 
*/ boolean hasVendor(); /** * optional string vendor = 3; * *
     * Vendor of the JVM (e.g. "JetBrains s.r.o.")
     * 
*/ java.lang.String getVendor(); /** * optional string vendor = 3; * *
     * Vendor of the JVM (e.g. "JetBrains s.r.o.")
     * 
*/ com.google.protobuf.ByteString getVendorBytes(); // optional int64 minimum_heap_size = 4; /** * optional int64 minimum_heap_size = 4; * *
     * VM Option specified to set minimum heap_size in bytes ("-Xms" flag).
     * 
*/ boolean hasMinimumHeapSize(); /** * optional int64 minimum_heap_size = 4; * *
     * VM Option specified to set minimum heap_size in bytes ("-Xms" flag).
     * 
*/ long getMinimumHeapSize(); // optional int64 maximum_heap_size = 5; /** * optional int64 maximum_heap_size = 5; * *
     * VM Option specified to set maximum heap_size in bytes ("-Xmx" flag).
     * 
*/ boolean hasMaximumHeapSize(); /** * optional int64 maximum_heap_size = 5; * *
     * VM Option specified to set maximum heap_size in bytes ("-Xmx" flag).
     * 
*/ long getMaximumHeapSize(); // optional int64 maximum_permanent_space_size = 6; /** * optional int64 maximum_permanent_space_size = 6; * *
     * VM Option specified to set maximum permanent space size in bytes.
     *  ("-XX:MaxPermSize" flag)
     * 
*/ boolean hasMaximumPermanentSpaceSize(); /** * optional int64 maximum_permanent_space_size = 6; * *
     * VM Option specified to set maximum permanent space size in bytes.
     *  ("-XX:MaxPermSize" flag)
     * 
*/ long getMaximumPermanentSpaceSize(); // optional int64 maximum_code_cache_size = 7; /** * optional int64 maximum_code_cache_size = 7; * *
     * VM Option specified to set maximum permanent space size in bytes.
     *  ("-XX:ReservedCodeCacheSize" flag)
     * 
*/ boolean hasMaximumCodeCacheSize(); /** * optional int64 maximum_code_cache_size = 7; * *
     * VM Option specified to set maximum permanent space size in bytes.
     *  ("-XX:ReservedCodeCacheSize" flag)
     * 
*/ long getMaximumCodeCacheSize(); // optional int64 soft_reference_lru_policy = 8; /** * optional int64 soft_reference_lru_policy = 8; * *
     * VM Option specified to set time soft referenced objects remain alive in ms.
     *  ("-XX:SoftRefLRUPolicyMSPerMB" flag)
     * 
*/ boolean hasSoftReferenceLruPolicy(); /** * optional int64 soft_reference_lru_policy = 8; * *
     * VM Option specified to set time soft referenced objects remain alive in ms.
     *  ("-XX:SoftRefLRUPolicyMSPerMB" flag)
     * 
*/ long getSoftReferenceLruPolicy(); // optional .android_studio.JvmDetails.GarbageCollector garbage_collector = 9; /** * optional .android_studio.JvmDetails.GarbageCollector garbage_collector = 9; * *
     * Type of Garbage Collector to use (various VM Option flags).
     * 
*/ boolean hasGarbageCollector(); /** * optional .android_studio.JvmDetails.GarbageCollector garbage_collector = 9; * *
     * Type of Garbage Collector to use (various VM Option flags).
     * 
*/ com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails.GarbageCollector getGarbageCollector(); } /** * Protobuf type {@code android_studio.JvmDetails} * *
   * Details about the JVM used in this process.
   * 
*/ public static final class JvmDetails extends com.google.protobuf.GeneratedMessage implements JvmDetailsOrBuilder { // Use JvmDetails.newBuilder() to construct. private JvmDetails(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private JvmDetails(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final JvmDetails defaultInstance; public static JvmDetails getDefaultInstance() { return defaultInstance; } public JvmDetails getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private JvmDetails( 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; name_ = input.readBytes(); break; } case 18: { bitField0_ |= 0x00000002; version_ = input.readBytes(); break; } case 26: { bitField0_ |= 0x00000004; vendor_ = input.readBytes(); break; } case 32: { bitField0_ |= 0x00000008; minimumHeapSize_ = input.readInt64(); break; } case 40: { bitField0_ |= 0x00000010; maximumHeapSize_ = input.readInt64(); break; } case 48: { bitField0_ |= 0x00000020; maximumPermanentSpaceSize_ = input.readInt64(); break; } case 56: { bitField0_ |= 0x00000040; maximumCodeCacheSize_ = input.readInt64(); break; } case 64: { bitField0_ |= 0x00000080; softReferenceLruPolicy_ = input.readInt64(); break; } case 72: { int rawValue = input.readEnum(); com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails.GarbageCollector value = com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails.GarbageCollector.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(9, rawValue); } else { bitField0_ |= 0x00000100; garbageCollector_ = value; } 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.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_JvmDetails_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_JvmDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public JvmDetails parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new JvmDetails(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } /** * Protobuf enum {@code android_studio.JvmDetails.GarbageCollector} * *
     * Various garbage collectors that could be chosen through VM Options.
     * 
*/ public enum GarbageCollector implements com.google.protobuf.ProtocolMessageEnum { /** * UNSPECIFIED_GC = 0; */ UNSPECIFIED_GC(0, 0), /** * CONCURRENT_MARK_SWEEP_GC = 1; */ CONCURRENT_MARK_SWEEP_GC(1, 1), /** * GARBAGE_FIRST_GC = 2; */ GARBAGE_FIRST_GC(2, 2), /** * PARALLEL_GC = 3; */ PARALLEL_GC(3, 3), /** * PARALLEL_OLD_GC = 4; */ PARALLEL_OLD_GC(4, 4), /** * SERIAL_GC = 5; */ SERIAL_GC(5, 5), ; /** * UNSPECIFIED_GC = 0; */ public static final int UNSPECIFIED_GC_VALUE = 0; /** * CONCURRENT_MARK_SWEEP_GC = 1; */ public static final int CONCURRENT_MARK_SWEEP_GC_VALUE = 1; /** * GARBAGE_FIRST_GC = 2; */ public static final int GARBAGE_FIRST_GC_VALUE = 2; /** * PARALLEL_GC = 3; */ public static final int PARALLEL_GC_VALUE = 3; /** * PARALLEL_OLD_GC = 4; */ public static final int PARALLEL_OLD_GC_VALUE = 4; /** * SERIAL_GC = 5; */ public static final int SERIAL_GC_VALUE = 5; public final int getNumber() { return value; } public static GarbageCollector valueOf(int value) { switch (value) { case 0: return UNSPECIFIED_GC; case 1: return CONCURRENT_MARK_SWEEP_GC; case 2: return GARBAGE_FIRST_GC; case 3: return PARALLEL_GC; case 4: return PARALLEL_OLD_GC; case 5: return SERIAL_GC; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public GarbageCollector findValueByNumber(int number) { return GarbageCollector.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.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails.getDescriptor().getEnumTypes().get(0); } private static final GarbageCollector[] VALUES = values(); public static GarbageCollector 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 GarbageCollector(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:android_studio.JvmDetails.GarbageCollector) } private int bitField0_; // optional string name = 1; public static final int NAME_FIELD_NUMBER = 1; private java.lang.Object name_; /** * optional string name = 1; * *
     * Name of the JVM (e.g. "OpenJDK 64-Bit Server by JetBrains s.r.o").
     * 
*/ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string name = 1; * *
     * Name of the JVM (e.g. "OpenJDK 64-Bit Server by JetBrains s.r.o").
     * 
*/ public java.lang.String getName() { java.lang.Object ref = name_; 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()) { name_ = s; } return s; } } /** * optional string name = 1; * *
     * Name of the JVM (e.g. "OpenJDK 64-Bit Server by JetBrains s.r.o").
     * 
*/ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string version = 2; public static final int VERSION_FIELD_NUMBER = 2; private java.lang.Object version_; /** * optional string version = 2; * *
     * Version of the JVM (e.g. "1.8.0_76-release-b198 amd")
     * 
*/ public boolean hasVersion() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string version = 2; * *
     * Version of the JVM (e.g. "1.8.0_76-release-b198 amd")
     * 
*/ public java.lang.String getVersion() { java.lang.Object ref = version_; 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()) { version_ = s; } return s; } } /** * optional string version = 2; * *
     * Version of the JVM (e.g. "1.8.0_76-release-b198 amd")
     * 
*/ public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); version_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string vendor = 3; public static final int VENDOR_FIELD_NUMBER = 3; private java.lang.Object vendor_; /** * optional string vendor = 3; * *
     * Vendor of the JVM (e.g. "JetBrains s.r.o.")
     * 
*/ public boolean hasVendor() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string vendor = 3; * *
     * Vendor of the JVM (e.g. "JetBrains s.r.o.")
     * 
*/ public java.lang.String getVendor() { java.lang.Object ref = vendor_; 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()) { vendor_ = s; } return s; } } /** * optional string vendor = 3; * *
     * Vendor of the JVM (e.g. "JetBrains s.r.o.")
     * 
*/ public com.google.protobuf.ByteString getVendorBytes() { java.lang.Object ref = vendor_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); vendor_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional int64 minimum_heap_size = 4; public static final int MINIMUM_HEAP_SIZE_FIELD_NUMBER = 4; private long minimumHeapSize_; /** * optional int64 minimum_heap_size = 4; * *
     * VM Option specified to set minimum heap_size in bytes ("-Xms" flag).
     * 
*/ public boolean hasMinimumHeapSize() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional int64 minimum_heap_size = 4; * *
     * VM Option specified to set minimum heap_size in bytes ("-Xms" flag).
     * 
*/ public long getMinimumHeapSize() { return minimumHeapSize_; } // optional int64 maximum_heap_size = 5; public static final int MAXIMUM_HEAP_SIZE_FIELD_NUMBER = 5; private long maximumHeapSize_; /** * optional int64 maximum_heap_size = 5; * *
     * VM Option specified to set maximum heap_size in bytes ("-Xmx" flag).
     * 
*/ public boolean hasMaximumHeapSize() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional int64 maximum_heap_size = 5; * *
     * VM Option specified to set maximum heap_size in bytes ("-Xmx" flag).
     * 
*/ public long getMaximumHeapSize() { return maximumHeapSize_; } // optional int64 maximum_permanent_space_size = 6; public static final int MAXIMUM_PERMANENT_SPACE_SIZE_FIELD_NUMBER = 6; private long maximumPermanentSpaceSize_; /** * optional int64 maximum_permanent_space_size = 6; * *
     * VM Option specified to set maximum permanent space size in bytes.
     *  ("-XX:MaxPermSize" flag)
     * 
*/ public boolean hasMaximumPermanentSpaceSize() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional int64 maximum_permanent_space_size = 6; * *
     * VM Option specified to set maximum permanent space size in bytes.
     *  ("-XX:MaxPermSize" flag)
     * 
*/ public long getMaximumPermanentSpaceSize() { return maximumPermanentSpaceSize_; } // optional int64 maximum_code_cache_size = 7; public static final int MAXIMUM_CODE_CACHE_SIZE_FIELD_NUMBER = 7; private long maximumCodeCacheSize_; /** * optional int64 maximum_code_cache_size = 7; * *
     * VM Option specified to set maximum permanent space size in bytes.
     *  ("-XX:ReservedCodeCacheSize" flag)
     * 
*/ public boolean hasMaximumCodeCacheSize() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional int64 maximum_code_cache_size = 7; * *
     * VM Option specified to set maximum permanent space size in bytes.
     *  ("-XX:ReservedCodeCacheSize" flag)
     * 
*/ public long getMaximumCodeCacheSize() { return maximumCodeCacheSize_; } // optional int64 soft_reference_lru_policy = 8; public static final int SOFT_REFERENCE_LRU_POLICY_FIELD_NUMBER = 8; private long softReferenceLruPolicy_; /** * optional int64 soft_reference_lru_policy = 8; * *
     * VM Option specified to set time soft referenced objects remain alive in ms.
     *  ("-XX:SoftRefLRUPolicyMSPerMB" flag)
     * 
*/ public boolean hasSoftReferenceLruPolicy() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional int64 soft_reference_lru_policy = 8; * *
     * VM Option specified to set time soft referenced objects remain alive in ms.
     *  ("-XX:SoftRefLRUPolicyMSPerMB" flag)
     * 
*/ public long getSoftReferenceLruPolicy() { return softReferenceLruPolicy_; } // optional .android_studio.JvmDetails.GarbageCollector garbage_collector = 9; public static final int GARBAGE_COLLECTOR_FIELD_NUMBER = 9; private com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails.GarbageCollector garbageCollector_; /** * optional .android_studio.JvmDetails.GarbageCollector garbage_collector = 9; * *
     * Type of Garbage Collector to use (various VM Option flags).
     * 
*/ public boolean hasGarbageCollector() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional .android_studio.JvmDetails.GarbageCollector garbage_collector = 9; * *
     * Type of Garbage Collector to use (various VM Option flags).
     * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails.GarbageCollector getGarbageCollector() { return garbageCollector_; } private void initFields() { name_ = ""; version_ = ""; vendor_ = ""; minimumHeapSize_ = 0L; maximumHeapSize_ = 0L; maximumPermanentSpaceSize_ = 0L; maximumCodeCacheSize_ = 0L; softReferenceLruPolicy_ = 0L; garbageCollector_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails.GarbageCollector.UNSPECIFIED_GC; } 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, getNameBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getVersionBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getVendorBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt64(4, minimumHeapSize_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeInt64(5, maximumHeapSize_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeInt64(6, maximumPermanentSpaceSize_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeInt64(7, maximumCodeCacheSize_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeInt64(8, softReferenceLruPolicy_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeEnum(9, garbageCollector_.getNumber()); } 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, getNameBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getVersionBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getVendorBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, minimumHeapSize_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, maximumHeapSize_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(6, maximumPermanentSpaceSize_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(7, maximumCodeCacheSize_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(8, softReferenceLruPolicy_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(9, garbageCollector_.getNumber()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails 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.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails 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 android_studio.JvmDetails} * *
     * Details about the JVM used in this process.
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetailsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_JvmDetails_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_JvmDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails.class, com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails.Builder.class); } // Construct using com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails.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(); name_ = ""; bitField0_ = (bitField0_ & ~0x00000001); version_ = ""; bitField0_ = (bitField0_ & ~0x00000002); vendor_ = ""; bitField0_ = (bitField0_ & ~0x00000004); minimumHeapSize_ = 0L; bitField0_ = (bitField0_ & ~0x00000008); maximumHeapSize_ = 0L; bitField0_ = (bitField0_ & ~0x00000010); maximumPermanentSpaceSize_ = 0L; bitField0_ = (bitField0_ & ~0x00000020); maximumCodeCacheSize_ = 0L; bitField0_ = (bitField0_ & ~0x00000040); softReferenceLruPolicy_ = 0L; bitField0_ = (bitField0_ & ~0x00000080); garbageCollector_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails.GarbageCollector.UNSPECIFIED_GC; bitField0_ = (bitField0_ & ~0x00000100); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.internal_static_android_studio_JvmDetails_descriptor; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails getDefaultInstanceForType() { return com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails.getDefaultInstance(); } public com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails build() { com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails buildPartial() { com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails result = new com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.name_ = name_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.version_ = version_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.vendor_ = vendor_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.minimumHeapSize_ = minimumHeapSize_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.maximumHeapSize_ = maximumHeapSize_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.maximumPermanentSpaceSize_ = maximumPermanentSpaceSize_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.maximumCodeCacheSize_ = maximumCodeCacheSize_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } result.softReferenceLruPolicy_ = softReferenceLruPolicy_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000100; } result.garbageCollector_ = garbageCollector_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails) { return mergeFrom((com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails other) { if (other == com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails.getDefaultInstance()) return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; onChanged(); } if (other.hasVersion()) { bitField0_ |= 0x00000002; version_ = other.version_; onChanged(); } if (other.hasVendor()) { bitField0_ |= 0x00000004; vendor_ = other.vendor_; onChanged(); } if (other.hasMinimumHeapSize()) { setMinimumHeapSize(other.getMinimumHeapSize()); } if (other.hasMaximumHeapSize()) { setMaximumHeapSize(other.getMaximumHeapSize()); } if (other.hasMaximumPermanentSpaceSize()) { setMaximumPermanentSpaceSize(other.getMaximumPermanentSpaceSize()); } if (other.hasMaximumCodeCacheSize()) { setMaximumCodeCacheSize(other.getMaximumCodeCacheSize()); } if (other.hasSoftReferenceLruPolicy()) { setSoftReferenceLruPolicy(other.getSoftReferenceLruPolicy()); } if (other.hasGarbageCollector()) { setGarbageCollector(other.getGarbageCollector()); } 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.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional string name = 1; private java.lang.Object name_ = ""; /** * optional string name = 1; * *
       * Name of the JVM (e.g. "OpenJDK 64-Bit Server by JetBrains s.r.o").
       * 
*/ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string name = 1; * *
       * Name of the JVM (e.g. "OpenJDK 64-Bit Server by JetBrains s.r.o").
       * 
*/ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string name = 1; * *
       * Name of the JVM (e.g. "OpenJDK 64-Bit Server by JetBrains s.r.o").
       * 
*/ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string name = 1; * *
       * Name of the JVM (e.g. "OpenJDK 64-Bit Server by JetBrains s.r.o").
       * 
*/ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** * optional string name = 1; * *
       * Name of the JVM (e.g. "OpenJDK 64-Bit Server by JetBrains s.r.o").
       * 
*/ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 1; * *
       * Name of the JVM (e.g. "OpenJDK 64-Bit Server by JetBrains s.r.o").
       * 
*/ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } // optional string version = 2; private java.lang.Object version_ = ""; /** * optional string version = 2; * *
       * Version of the JVM (e.g. "1.8.0_76-release-b198 amd")
       * 
*/ public boolean hasVersion() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string version = 2; * *
       * Version of the JVM (e.g. "1.8.0_76-release-b198 amd")
       * 
*/ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); version_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string version = 2; * *
       * Version of the JVM (e.g. "1.8.0_76-release-b198 amd")
       * 
*/ public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); version_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string version = 2; * *
       * Version of the JVM (e.g. "1.8.0_76-release-b198 amd")
       * 
*/ public Builder setVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; version_ = value; onChanged(); return this; } /** * optional string version = 2; * *
       * Version of the JVM (e.g. "1.8.0_76-release-b198 amd")
       * 
*/ public Builder clearVersion() { bitField0_ = (bitField0_ & ~0x00000002); version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** * optional string version = 2; * *
       * Version of the JVM (e.g. "1.8.0_76-release-b198 amd")
       * 
*/ public Builder setVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; version_ = value; onChanged(); return this; } // optional string vendor = 3; private java.lang.Object vendor_ = ""; /** * optional string vendor = 3; * *
       * Vendor of the JVM (e.g. "JetBrains s.r.o.")
       * 
*/ public boolean hasVendor() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string vendor = 3; * *
       * Vendor of the JVM (e.g. "JetBrains s.r.o.")
       * 
*/ public java.lang.String getVendor() { java.lang.Object ref = vendor_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); vendor_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string vendor = 3; * *
       * Vendor of the JVM (e.g. "JetBrains s.r.o.")
       * 
*/ public com.google.protobuf.ByteString getVendorBytes() { java.lang.Object ref = vendor_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); vendor_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string vendor = 3; * *
       * Vendor of the JVM (e.g. "JetBrains s.r.o.")
       * 
*/ public Builder setVendor( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; vendor_ = value; onChanged(); return this; } /** * optional string vendor = 3; * *
       * Vendor of the JVM (e.g. "JetBrains s.r.o.")
       * 
*/ public Builder clearVendor() { bitField0_ = (bitField0_ & ~0x00000004); vendor_ = getDefaultInstance().getVendor(); onChanged(); return this; } /** * optional string vendor = 3; * *
       * Vendor of the JVM (e.g. "JetBrains s.r.o.")
       * 
*/ public Builder setVendorBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; vendor_ = value; onChanged(); return this; } // optional int64 minimum_heap_size = 4; private long minimumHeapSize_ ; /** * optional int64 minimum_heap_size = 4; * *
       * VM Option specified to set minimum heap_size in bytes ("-Xms" flag).
       * 
*/ public boolean hasMinimumHeapSize() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional int64 minimum_heap_size = 4; * *
       * VM Option specified to set minimum heap_size in bytes ("-Xms" flag).
       * 
*/ public long getMinimumHeapSize() { return minimumHeapSize_; } /** * optional int64 minimum_heap_size = 4; * *
       * VM Option specified to set minimum heap_size in bytes ("-Xms" flag).
       * 
*/ public Builder setMinimumHeapSize(long value) { bitField0_ |= 0x00000008; minimumHeapSize_ = value; onChanged(); return this; } /** * optional int64 minimum_heap_size = 4; * *
       * VM Option specified to set minimum heap_size in bytes ("-Xms" flag).
       * 
*/ public Builder clearMinimumHeapSize() { bitField0_ = (bitField0_ & ~0x00000008); minimumHeapSize_ = 0L; onChanged(); return this; } // optional int64 maximum_heap_size = 5; private long maximumHeapSize_ ; /** * optional int64 maximum_heap_size = 5; * *
       * VM Option specified to set maximum heap_size in bytes ("-Xmx" flag).
       * 
*/ public boolean hasMaximumHeapSize() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional int64 maximum_heap_size = 5; * *
       * VM Option specified to set maximum heap_size in bytes ("-Xmx" flag).
       * 
*/ public long getMaximumHeapSize() { return maximumHeapSize_; } /** * optional int64 maximum_heap_size = 5; * *
       * VM Option specified to set maximum heap_size in bytes ("-Xmx" flag).
       * 
*/ public Builder setMaximumHeapSize(long value) { bitField0_ |= 0x00000010; maximumHeapSize_ = value; onChanged(); return this; } /** * optional int64 maximum_heap_size = 5; * *
       * VM Option specified to set maximum heap_size in bytes ("-Xmx" flag).
       * 
*/ public Builder clearMaximumHeapSize() { bitField0_ = (bitField0_ & ~0x00000010); maximumHeapSize_ = 0L; onChanged(); return this; } // optional int64 maximum_permanent_space_size = 6; private long maximumPermanentSpaceSize_ ; /** * optional int64 maximum_permanent_space_size = 6; * *
       * VM Option specified to set maximum permanent space size in bytes.
       *  ("-XX:MaxPermSize" flag)
       * 
*/ public boolean hasMaximumPermanentSpaceSize() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional int64 maximum_permanent_space_size = 6; * *
       * VM Option specified to set maximum permanent space size in bytes.
       *  ("-XX:MaxPermSize" flag)
       * 
*/ public long getMaximumPermanentSpaceSize() { return maximumPermanentSpaceSize_; } /** * optional int64 maximum_permanent_space_size = 6; * *
       * VM Option specified to set maximum permanent space size in bytes.
       *  ("-XX:MaxPermSize" flag)
       * 
*/ public Builder setMaximumPermanentSpaceSize(long value) { bitField0_ |= 0x00000020; maximumPermanentSpaceSize_ = value; onChanged(); return this; } /** * optional int64 maximum_permanent_space_size = 6; * *
       * VM Option specified to set maximum permanent space size in bytes.
       *  ("-XX:MaxPermSize" flag)
       * 
*/ public Builder clearMaximumPermanentSpaceSize() { bitField0_ = (bitField0_ & ~0x00000020); maximumPermanentSpaceSize_ = 0L; onChanged(); return this; } // optional int64 maximum_code_cache_size = 7; private long maximumCodeCacheSize_ ; /** * optional int64 maximum_code_cache_size = 7; * *
       * VM Option specified to set maximum permanent space size in bytes.
       *  ("-XX:ReservedCodeCacheSize" flag)
       * 
*/ public boolean hasMaximumCodeCacheSize() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional int64 maximum_code_cache_size = 7; * *
       * VM Option specified to set maximum permanent space size in bytes.
       *  ("-XX:ReservedCodeCacheSize" flag)
       * 
*/ public long getMaximumCodeCacheSize() { return maximumCodeCacheSize_; } /** * optional int64 maximum_code_cache_size = 7; * *
       * VM Option specified to set maximum permanent space size in bytes.
       *  ("-XX:ReservedCodeCacheSize" flag)
       * 
*/ public Builder setMaximumCodeCacheSize(long value) { bitField0_ |= 0x00000040; maximumCodeCacheSize_ = value; onChanged(); return this; } /** * optional int64 maximum_code_cache_size = 7; * *
       * VM Option specified to set maximum permanent space size in bytes.
       *  ("-XX:ReservedCodeCacheSize" flag)
       * 
*/ public Builder clearMaximumCodeCacheSize() { bitField0_ = (bitField0_ & ~0x00000040); maximumCodeCacheSize_ = 0L; onChanged(); return this; } // optional int64 soft_reference_lru_policy = 8; private long softReferenceLruPolicy_ ; /** * optional int64 soft_reference_lru_policy = 8; * *
       * VM Option specified to set time soft referenced objects remain alive in ms.
       *  ("-XX:SoftRefLRUPolicyMSPerMB" flag)
       * 
*/ public boolean hasSoftReferenceLruPolicy() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional int64 soft_reference_lru_policy = 8; * *
       * VM Option specified to set time soft referenced objects remain alive in ms.
       *  ("-XX:SoftRefLRUPolicyMSPerMB" flag)
       * 
*/ public long getSoftReferenceLruPolicy() { return softReferenceLruPolicy_; } /** * optional int64 soft_reference_lru_policy = 8; * *
       * VM Option specified to set time soft referenced objects remain alive in ms.
       *  ("-XX:SoftRefLRUPolicyMSPerMB" flag)
       * 
*/ public Builder setSoftReferenceLruPolicy(long value) { bitField0_ |= 0x00000080; softReferenceLruPolicy_ = value; onChanged(); return this; } /** * optional int64 soft_reference_lru_policy = 8; * *
       * VM Option specified to set time soft referenced objects remain alive in ms.
       *  ("-XX:SoftRefLRUPolicyMSPerMB" flag)
       * 
*/ public Builder clearSoftReferenceLruPolicy() { bitField0_ = (bitField0_ & ~0x00000080); softReferenceLruPolicy_ = 0L; onChanged(); return this; } // optional .android_studio.JvmDetails.GarbageCollector garbage_collector = 9; private com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails.GarbageCollector garbageCollector_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails.GarbageCollector.UNSPECIFIED_GC; /** * optional .android_studio.JvmDetails.GarbageCollector garbage_collector = 9; * *
       * Type of Garbage Collector to use (various VM Option flags).
       * 
*/ public boolean hasGarbageCollector() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional .android_studio.JvmDetails.GarbageCollector garbage_collector = 9; * *
       * Type of Garbage Collector to use (various VM Option flags).
       * 
*/ public com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails.GarbageCollector getGarbageCollector() { return garbageCollector_; } /** * optional .android_studio.JvmDetails.GarbageCollector garbage_collector = 9; * *
       * Type of Garbage Collector to use (various VM Option flags).
       * 
*/ public Builder setGarbageCollector(com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails.GarbageCollector value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; garbageCollector_ = value; onChanged(); return this; } /** * optional .android_studio.JvmDetails.GarbageCollector garbage_collector = 9; * *
       * Type of Garbage Collector to use (various VM Option flags).
       * 
*/ public Builder clearGarbageCollector() { bitField0_ = (bitField0_ & ~0x00000100); garbageCollector_ = com.google.wireless.android.sdk.stats.AndroidStudioStats.JvmDetails.GarbageCollector.UNSPECIFIED_GC; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:android_studio.JvmDetails) } static { defaultInstance = new JvmDetails(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:android_studio.JvmDetails) } private static com.google.protobuf.Descriptors.Descriptor internal_static_android_studio_AndroidStudioEvent_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_android_studio_AndroidStudioEvent_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_android_studio_ProductDetails_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_android_studio_ProductDetails_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_android_studio_DeviceInfo_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_android_studio_DeviceInfo_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_android_studio_StudioCrash_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_android_studio_StudioCrash_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_android_studio_EmulatorGuestGlInfo_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_android_studio_EmulatorGuestGlInfo_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_android_studio_EmulatorGpuInfo_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_android_studio_EmulatorGpuInfo_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_android_studio_EmulatorDetails_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_android_studio_EmulatorDetails_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_android_studio_EmulatorUiEvent_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_android_studio_EmulatorUiEvent_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_android_studio_GradleBuildDetails_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_android_studio_GradleBuildDetails_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_android_studio_GradleLibrary_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_android_studio_GradleLibrary_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_android_studio_GradleModule_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_android_studio_GradleModule_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_android_studio_GradleAndroidModule_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_android_studio_GradleAndroidModule_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_android_studio_GradleNativeAndroidModule_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_android_studio_GradleNativeAndroidModule_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_android_studio_InstantRun_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_android_studio_InstantRun_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_android_studio_MetaMetrics_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_android_studio_MetaMetrics_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_android_studio_TestRun_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_android_studio_TestRun_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_android_studio_TestLibraries_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_android_studio_TestLibraries_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_android_studio_Hypervisor_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_android_studio_Hypervisor_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_android_studio_EmulatorHost_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_android_studio_EmulatorHost_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_android_studio_GradleBuildProfile_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_android_studio_GradleBuildProfile_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_android_studio_GradleBuildProject_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_android_studio_GradleBuildProject_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_android_studio_GradleBuildProjectMetrics_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_android_studio_GradleBuildProjectMetrics_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_android_studio_GradleBuildVariant_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_android_studio_GradleBuildVariant_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_android_studio_GradleBuildMemorySample_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_android_studio_GradleBuildMemorySample_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_android_studio_GradleBuildProfileSpan_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_android_studio_GradleBuildProfileSpan_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_android_studio_GradleTaskExecution_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_android_studio_GradleTaskExecution_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_android_studio_GradleTransformExecution_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_android_studio_GradleTransformExecution_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_android_studio_InstantRunStatus_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_android_studio_InstantRunStatus_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_android_studio_InstantRunArtifact_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_android_studio_InstantRunArtifact_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_android_studio_LLDBFrontendDetails_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_android_studio_LLDBFrontendDetails_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_android_studio_FirebaseErrorDetails_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_android_studio_FirebaseErrorDetails_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_android_studio_GfxTracingDetails_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_android_studio_GfxTracingDetails_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_android_studio_TestRecorderDetails_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_android_studio_TestRecorderDetails_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_android_studio_UIActionStats_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_android_studio_UIActionStats_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_android_studio_MachineDetails_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_android_studio_MachineDetails_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_android_studio_DisplayDetails_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_android_studio_DisplayDetails_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_android_studio_JavaProcessStats_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_android_studio_JavaProcessStats_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_android_studio_GarbageCollectionStats_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_android_studio_GarbageCollectionStats_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_android_studio_JvmDetails_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_android_studio_JvmDetails_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\022studio_stats.proto\022\016android_studio\"\261;\n" + "\022AndroidStudioEvent\022B\n\010category\030\001 \001(\01620." + "android_studio.AndroidStudioEvent.EventC" + "ategory\022:\n\004kind\030\002 \001(\0162,.android_studio.A" + "ndroidStudioEvent.EventKind\022\031\n\021studio_se" + "ssion_id\030\003 \001(\t\0227\n\017product_details\030\004 \001(\0132" + "\036.android_studio.ProductDetails\022D\n\014monit" + "or_type\030\005 \001(\0162..android_studio.AndroidSt" + "udioEvent.MonitorType\022\026\n\016monitor_paused\030" + "\006 \001(\010\022U\n\025profiler_capture_type\030\007 \001(\01626.a", "ndroid_studio.AndroidStudioEvent.Profile" + "rCaptureType\022#\n\033cloud_testing_error_mess" + "age\030\010 \001(\t\022.\n&cloud_testing_loaded_screen" + "shots_count\030\t \001(\005\022W\n\026run_configuration_t" + "ype\030\n \001(\01627.android_studio.AndroidStudio" + "Event.RunConfigurationType\022F\n\rdebugger_t" + "ype\030\013 \001(\0162/.android_studio.AndroidStudio" + "Event.DebuggerType\022/\n\013device_info\030\014 \001(\0132" + "\032.android_studio.DeviceInfo\022$\n\034lldb_sess" + "ion_failure_message\030\r \001(\t\022W\n\026developer_s", "ervice_kind\030\016 \001(\01627.android_studio.Andro" + "idStudioEvent.DeveloperServiceKind\022\026\n\016gr" + "adle_version\030\017 \001(\t\022Q\n\023gradle_sync_failur" + "e\030\020 \001(\01624.android_studio.AndroidStudioEv" + "ent.GradleSyncFailure\022 \n\030gradle_missing_" + "signature\030\021 \001(\t\022N\n\021template_renderer\030\022 \001" + "(\01623.android_studio.AndroidStudioEvent.T" + "emplateRenderer\0221\n\014studio_crash\030\023 \001(\0132\033." + "android_studio.StudioCrash\022@\n\024gradle_bui" + "ld_details\030\024 \001(\0132\".android_studio.Gradle", "BuildDetails\022/\n\013instant_run\030\025 \001(\0132\032.andr" + "oid_studio.InstantRun\0221\n\014meta_metrics\030\026 " + "\001(\0132\033.android_studio.MetaMetrics\0229\n\020emul" + "ator_details\030\027 \001(\0132\037.android_studio.Emul" + "atorDetails\022)\n\010test_run\030\030 \001(\0132\027.android_" + "studio.TestRun\022:\n\021emulator_ui_event\030\031 \001(" + "\0132\037.android_studio.EmulatorUiEvent\022.\n\nhy" + "pervisor\030\032 \001(\0132\032.android_studio.Hypervis" + "or\0223\n\remulator_host\030\033 \001(\0132\034.android_stud" + "io.EmulatorHost\022@\n\024gradle_build_profile\030", "\034 \001(\0132\".android_studio.GradleBuildProfil" + "e\022B\n\025lldb_frontend_details\030\035 \001(\0132#.andro" + "id_studio.LLDBFrontendDetails\022D\n\026firebas" + "e_error_details\030\036 \001(\0132$.android_studio.F" + "irebaseErrorDetails\022\022\n\nproject_id\030\037 \001(\t\022" + ">\n\023gfx_tracing_details\030 \001(\0132!.android_s" + "tudio.GfxTracingDetails\022B\n\025test_recorder" + "_details\030! \001(\0132#.android_studio.TestReco" + "rderDetails\0226\n\017ui_action_stats\030\" \001(\0132\035.a" + "ndroid_studio.UIActionStats\0227\n\017machine_d", "etails\030# \001(\0132\036.android_studio.MachineDet" + "ails\022/\n\013jvm_details\030$ \001(\0132\032.android_stud" + "io.JvmDetails\022<\n\022java_process_stats\030% \001(" + "\0132 .android_studio.JavaProcessStats\"\237\003\n\r" + "EventCategory\022\025\n\021NO_EVENT_CATEGORY\020\000\022\016\n\n" + "DEPLOYMENT\020\001\022\020\n\014STUDIO_BUILD\020\002\022\026\n\022DEVELO" + "PER_SERVICES\020\003\022\017\n\013GRADLE_SYNC\020\004\022\r\n\tPROFI" + "LING\020\005\022\013\n\007MONITOR\020\006\022\017\n\013SDK_MANAGER\020\007\022\014\n\010" + "TEMPLATE\020\010\022\020\n\014THEME_EDITOR\020\t\022\020\n\014APP_INDE" + "XING\020\n\022\010\n\004LLDB\020\013\022\021\n\rCLOUD_TESTING\020\014\022\010\n\004P", "ING\020\r\022\t\n\005TESTS\020\016\022\010\n\004META\020\017\022\017\n\013EMULATOR_U" + "I\020\020\022\n\n\006SYSTEM\020\021\022\034\n\030PROJECT_STRUCTURE_DIA" + "LOG\020\022\022\n\n\006GRADLE\020\023\022\026\n\022FIREBASE_ASSISTANT\020" + "\024\022\020\n\014GPU_PROFILER\020\025\022\021\n\rTEST_RECORDER\020\026\022\r" + "\n\tSTUDIO_UI\020\027\"\207\030\n\tEventKind\022\026\n\022UNKNOWN_E" + "VENT_KIND\020\000\022\022\n\016DEPLOYMENT_APK\020\001\022\032\n\026DEPLO" + "YMENT_TO_EMULATOR\020\002\022 \n\034DEVELOPER_SERVICE" + "S_INSTALLED\020\003\022\036\n\032DEVELOPER_SERVICES_REMO" + "VED\020\004\022\027\n\023GRADLE_SYNC_STARTED\020\005\022\025\n\021GRADLE" + "_SYNC_ENDED\020\006\022\027\n\023GRADLE_SYNC_SKIPPED\020\007\022\027", "\n\023GRADLE_SYNC_FAILURE\020\010\022\035\n\031GRADLE_CPP_SY" + "NC_COMPLETED\020\t\022\025\n\021PROFILING_CAPTURE\020\n\022\022\n" + "\016PROFILING_OPEN\020\013\022\033\n\027PROFILING_CONVERT_H" + "PROF\020\014\022\032\n\026PROFILING_ANALYSIS_RUN\020\r\022\025\n\021MO" + "NITOR_ACTIVATED\020\016\022\023\n\017MONITOR_RUNNING\020\017\022\037" + "\n\033SDK_MANAGER_TOOLBAR_CLICKED\020\020\022#\n\037SDK_M" + "ANAGER_STANDALONE_LAUNCHED\020\021\022\026\n\022SDK_MANA" + "GER_LOADED\020\022\022\023\n\017TEMPLATE_RENDER\020\023\022\025\n\021THE" + "ME_EDITOR_OPEN\020\024\022\"\n\036APP_INDEXING_DEEP_LI" + "NK_CREATED\020\025\022!\n\035APP_INDEXING_API_CODE_CR", "EATED\020\026\022#\n\037APP_INDEXING_DEEP_LINK_LAUNCH" + "ED\020\027\022!\n\035APP_INDEXING_TRIGGER_QUICKFIX\020\030\022" + "!\n\035APP_INDEXING_SHOW_FEAG_DIALOG\020\031\022 \n\034AP" + "P_INDEXING_START_FEAG_TASK\020\032\022\021\n\rLLDB_LAU" + "NCHED\020\033\022\030\n\024LLDB_SESSION_STARTED\020\034\022\027\n\023LLD" + "B_SESSION_FAILED\020\035\022\032\n\026LLDB_SESSION_COMPL" + "ETED\020\036\022\030\n\024LLDB_INSTALL_STARTED\020\037\022\027\n\023LLDB" + "_INSTALL_FAILED\020 \022\032\n\026LLDB_INSTALL_COMPLE" + "TED\020!\022!\n\035LLDB_SESSION_USED_WATCHPOINTS\020\"" + "\022(\n$CLOUD_TESTING_CONFIGURE_CLOUD_DEVICE", "\020#\022\"\n\036CLOUD_TESTING_CONFIGURE_MATRIX\020$\022%" + "\n!CLOUD_TESTING_LAUNCH_CLOUD_DEVICE\020%\022!\n" + "\035CLOUD_TESTING_RUN_TEST_MATRIX\020&\022\037\n\033CLOU" + "D_TESTING_BACKEND_ERROR\020\'\022$\n CLOUD_TESTI" + "NG_DEBUG_FROM_RESULTS\020(\022,\n(CLOUD_TESTING" + "_COMPARE_SCREENSHOTS_OPENED\020)\022\020\n\014STUDIO_" + "CRASH\020*\022\030\n\024GRADLE_BUILD_DETAILS\020,\022\017\n\013INS" + "TANT_RUN\020-\022\017\n\013STUDIO_PING\020.\022\021\n\rEMULATOR_" + "PING\020/\022\020\n\014META_METRICS\0200\022\014\n\010TEST_RUN\0202\022\025" + "\n\021EMULATOR_UI_EVENT\0203\022\016\n\nHYPERVISOR\0204\022\021\n", "\rEMULATOR_HOST\0205\022!\n\035PROJECT_STRUCTURE_DI" + "ALOG_OPEN\0206\022!\n\035PROJECT_STRUCTURE_DIALOG_" + "SAVE\0207\022*\n&PROJECT_STRUCTURE_DIALOG_TOP_T" + "AB_CLICK\0208\022)\n%PROJECT_STRUCTURE_DIALOG_T" + "OP_TAB_SAVE\0209\022+\n\'PROJECT_STRUCTURE_DIALO" + "G_LEFT_NAV_CLICK\020:\022*\n&PROJECT_STRUCTURE_" + "DIALOG_LEFT_NAV_SAVE\020;\022\030\n\024GRADLE_BUILD_P" + "ROFILE\020<\022\030\n\024LLDB_FRONTEND_EXITED\020=\022&\n\"FI" + "REBASE_ASSISTANT_PROJECT_CREATED\020>\022,\n(FI" + "REBASE_ASSISTANT_PROJECT_CREATE_FAILED\020?", "\022\'\n#FIREBASE_ASSISTANT_PROJECT_UPGRADED\020" + "@\022-\n)FIREBASE_ASSISTANT_PROJECT_UPGRADE_" + "FAILED\020B\0223\n/FIREBASE_ASSISTANT_PROJECT_C" + "ONFIG_CREATE_FAILED\020C\022&\n\"FIREBASE_ASSIST" + "ANT_PROJECT_UPDATED\020D\022,\n(FIREBASE_ASSIST" + "ANT_PROJECT_UPDATE_FAILED\020E\0222\n.FIREBASE_" + "ASSISTANT_PROJECT_CONFIG_WRITE_FAILED\020F\022" + "!\n\035FIREBASE_ASSISTANT_TOS_FAILED\020G\022$\n FI" + "REBASE_ASSISTANT_ATTEMPT_LOGIN\020H\022$\n FIRE" + "BASE_ASSISTANT_LOGIN_SUCCESS\020I\022,\n(FIREBA", "SE_ASSISTANT_RECONNECT_DIALOG_SYNC\020J\022(\n$" + "FIREBASE_ASSISTANT_CONNECT_REQUESTED\020K\022\033" + "\n\027FIREBASE_ASSISTANT_OPEN\020L\022,\n(FIREBASE_" + "ASSISTANT_CONNECT_DIALOG_OPENED\020M\022*\n&FIR" + "EBASE_ASSISTANT_CONNECT_DIALOG_SYNC\020N\022&\n" + "\"FIREBASE_ASSISTANT_ERROR_PRESENTED\020O\022#\n" + "\037FIREBASE_ASSISTANT_SILENT_ERROR\020P\022.\n*FI" + "REBASE_ASSISTANT_RECONNECT_DIALOG_OPENED" + "\020Q\022\030\n\024GFX_TRACE_INIT_ERROR\020R\022\024\n\020GFX_TRAC" + "E_CLOSED\020S\022\036\n\032GFX_TRACE_PARAMETER_EDITED", "\020T\022\033\n\027GFX_TRACE_TRACE_STARTED\020U\022\033\n\027GFX_T" + "RACE_TRACE_STOPPED\020V\022\036\n\032GFX_TRACE_COMMAN" + "D_SELECTED\020W\022\032\n\026GFX_TRACE_LINK_CLICKED\020X" + "\022\033\n\027GFX_TRACE_MEMORY_VIEWED\020Y\022\034\n\030GFX_TRA" + "CE_TEXTURE_VIEWED\020Z\022\037\n\033LEGACY_IDEA_ANDRO" + "ID_PROJECT\020[\022%\n!TEST_RECORDER_GENERATE_T" + "EST_CLASS\020\\\022/\n+TEST_RECORDER_MISSING_ESP" + "RESSO_DEPENDENCIES\020]\0225\n1TEST_RECORDER_MI" + "SSING_INSTRUMENTATION_TEST_FOLDER\020^\022\030\n\024T" + "EST_RECORDER_LAUNCH\020_\022\022\n\016GFX_TRACE_OPEN\020", "`\022\032\n\026STUDIO_UI_ACTION_STATS\020a\022\030\n\024STUDIO_" + "PROCESS_STATS\020b\"R\n\013MonitorType\022\030\n\024UNKNOW" + "N_MONITOR_TYPE\020\000\022\007\n\003CPU\020\001\022\007\n\003GPU\020\002\022\n\n\006ME" + "MORY\020\003\022\013\n\007NETWORK\020\004\"\321\001\n\023ProfilerCaptureT" + "ype\022!\n\035UNKNOWN_PROFILER_CAPTURE_TYPE\020\000\022\016" + "\n\nALLOCATION\020\001\022\010\n\004FILE\020\002\022\r\n\tGFX_TRACE\020\003\022" + "\010\n\004HEAP\020\004\022\017\n\013SYSTEM_INFO\020\005\022\014\n\010VM_TRACE\020\006" + "\022\022\n\016METHOD_TRACING\020\007\022\035\n\031LAYOUT_INSPECTOR" + "_SNAPSHOT\020\010\022\022\n\016HIERARCHY_VIEW\020\t\"m\n\024RunCo" + "nfigurationType\022\"\n\036UNKNOWN_RUN_CONFIGURA", "TION_TYPE\020\000\022\013\n\007ANDROID\020\001\022\022\n\016ANDROID_NATI" + "VE\020\002\022\020\n\014ANDROID_TEST\020\003\"K\n\014DebuggerType\022\031" + "\n\025UNKNOWN_DEBUGGER_TYPE\020\000\022\010\n\004JAVA\020\001\022\n\n\006H" + "YBRID\020\002\022\n\n\006NATIVE\020\003\"\261\002\n\024DeveloperService" + "Kind\022\"\n\036UNKNOWN_DEVELOPER_SERVICE_KIND\020\000" + "\022\032\n\026GOOGLE_CLOUD_MESSAGING\020\001\022\n\n\006AD_MOB\020\002" + "\022\022\n\016GOOGLE_SIGN_IN\020\003\022\024\n\020GOOGLE_ANALYTICS" + "\020\004\022\014\n\010FIREBASE\020\005\022\025\n\021REALTIME_DATABASE\020\006\022" + "\022\n\016AUTHENTICATION\020\007\022\023\n\017CRASH_REPORTING\020\010" + "\022\021\n\rNOTIFICATIONS\020\t\022\021\n\rREMOTE_CONFIG\020\n\022\013", "\n\007STORAGE\020\013\022\017\n\013APP_INVITES\020\014\022\021\n\rDYNAMIC_" + "LINKS\020\r\"\247\006\n\020TemplateRenderer\022\035\n\031UNKNOWN_" + "TEMPLATE_RENDERER\020\000\022\034\n\030CUSTOM_TEMPLATE_R" + "ENDERER\020\001\022\022\n\016ANDROID_MODULE\020\002\022\023\n\017ANDROID" + "_PROJECT\020\003\022\022\n\016EMPTY_ACTIVITY\020\004\022\022\n\016BLANK_" + "ACTIVITY\020\005\022\023\n\017LAYOUT_XML_FILE\020\006\022\022\n\016FRAGM" + "ENT_BLANK\020\007\022\036\n\032NAVIGATION_DRAWER_ACTIVIT" + "Y\020\010\022\023\n\017VALUES_XML_FILE\020\t\022\030\n\024GOOGLE_MAPS_" + "ACTIVITY\020\n\022\022\n\016LOGIN_ACTIVITY\020\013\022\021\n\rASSETS" + "_FOLDER\020\014\022\023\n\017TABBED_ACTIVITY\020\r\022\026\n\022SCROLL", "ING_ACTIVITY\020\016\022\027\n\023FULLSCREEN_ACTIVITY\020\017\022" + "\013\n\007SERVICE\020\020\022\020\n\014JAVA_LIBRARY\020\021\022\025\n\021SETTIN" + "GS_ACTIVITY\020\022\022\021\n\rFRAGMENT_LIST\020\023\022\026\n\022MAST" + "ER_DETAIL_FLOW\020\024\022\027\n\023ANDROID_WEAR_MODULE\020" + "\025\022\026\n\022BROADCAST_RECEIVER\020\026\022\r\n\tAIDL_FILE\020\027" + "\022\022\n\016INTENT_SERVICE\020\030\022\016\n\nJNI_FOLDER\020\031\022\017\n\013" + "JAVA_FOLDER\020\032\022\017\n\013CUSTOM_VIEW\020\033\022\025\n\021ANDROI" + "D_TV_MODULE\020\034\022\036\n\032GOOGLE_ADMOBS_ADS_ACTIV" + "ITY\020\035\022\033\n\027ALWAYS_ON_WEAR_ACTIVITY\020\036\022\016\n\nRE" + "S_FOLDER\020\037\022\027\n\023ANDROID_TV_ACTIVITY\020 \022\027\n\023B", "LANK_WEAR_ACTIVITY\020!\022\023\n\017BASIC_ACTIVITIY\020" + "\"\022\016\n\nAPP_WIDGET\020#\"\374\002\n\021GradleSyncFailure\022" + "\032\n\026UNKNOWN_GRADLE_FAILURE\020\000\022\025\n\021CONNECTIO" + "N_DENIED\020\001\022\023\n\017CLASS_NOT_FOUND\020\002\022\030\n\024DSL_M" + "ETHOD_NOT_FOUND\020\003\022\027\n\023FAILED_TO_PARSE_SDK" + "\020\004\022\024\n\020METHOD_NOT_FOUND\020\005\022\034\n\030MISSING_ANDR" + "OID_PLATFORM\020\006\022 \n\034MISSING_ANDROID_SUPPOR" + "T_REPO\020\007\022\027\n\023MISSING_BUILD_TOOLS\020\010\022\021\n\rOUT" + "_OF_MEMORY\020\t\022\021\n\rSDK_NOT_FOUND\020\n\022\020\n\014UNKNO" + "WN_HOST\020\013\022%\n!UNSUPPORTED_ANDROID_MODEL_V", "ERSION\020\014\022\036\n\032UNSUPPORTED_GRADLE_VERSION\020\r" + "\"\362\004\n\016ProductDetails\022;\n\007product\030\001 \001(\0162*.a" + "ndroid_studio.ProductDetails.ProductKind" + "\022\r\n\005build\030\002 \001(\t\022\017\n\007version\030\003 \001(\t\022\017\n\007prev" + "iew\030\004 \001(\010\022G\n\017os_architecture\030\005 \001(\0162..and" + "roid_studio.ProductDetails.CpuArchitectu" + "re\022H\n\007channel\030\006 \001(\01627.android_studio.Pro" + "ductDetails.SoftwareLifeCycleChannel\"e\n\030" + "SoftwareLifeCycleChannel\022\036\n\032UNKNOWN_LIFE" + "_CYCLE_CHANNEL\020\000\022\n\n\006CANARY\020\001\022\007\n\003DEV\020\002\022\010\n", "\004BETA\020\003\022\n\n\006STABLE\020\004\"R\n\013ProductKind\022\023\n\017UN" + "KNOWN_PRODUCT\020\000\022\n\n\006STUDIO\020\001\022\014\n\010EMULATOR\020" + "\002\022\n\n\006GRADLE\020\003\022\010\n\004DDMS\020\004\"^\n\006OSKind\022\023\n\017UNK" + "NOWN_OS_KIND\020\000\022\014\n\010OTHER_OS\020\001\022\013\n\007WINDOWS\020" + "\002\022\013\n\007MAC_OSX\020\003\022\t\n\005LINUX\020\004\022\014\n\010FREE_BSD\020\005\"" + "D\n\017CpuArchitecture\022\034\n\030UNKNOWN_CPU_ARCHIT" + "ECTURE\020\000\022\007\n\003X86\020\001\022\n\n\006X86_64\020\002\"\217\005\n\nDevice" + "Info\022 \n\030anonymized_serial_number\030\001 \001(\t\022\022" + "\n\nbuild_tags\030\002 \001(\t\022\022\n\nbuild_type\030\003 \001(\t\022\035" + "\n\025build_version_release\030\004 \001(\t\022\027\n\017build_a", "pi_level\030\005 \001(\005\022F\n\007cpu_abi\030\006 \001(\01625.androi" + "d_studio.DeviceInfo.ApplicationBinaryInt" + "erface\022\024\n\014manufacturer\030\007 \001(\t\022\r\n\005model\030\010 " + "\001(\t\022:\n\013device_type\030\t \001(\0162%.android_studi" + "o.DeviceInfo.DeviceType\022\034\n\024build_api_lev" + "el_full\030\n \001(\t\"\300\001\n\032ApplicationBinaryInter" + "face\022\017\n\013UNKNOWN_ABI\020\000\022\020\n\014ARME_ABI_V7A\020\001\022" + "\013\n\007X86_ABI\020\002\022\021\n\rARM64_V8A_ABI\020\003\022\016\n\nX86_6" + "4_ABI\020\004\022\014\n\010ARME_ABI\020\005\022\014\n\010MIPS_ABI\020\006\022\017\n\013M" + "IPS_R2_ABI\020\007\022\020\n\014ARME_ABI_V6L\020\010\022\020\n\014ARME_A", "BI_V6J\020\t\"u\n\nDeviceType\022\027\n\023UNKNOWN_DEVICE" + "_TYPE\020\000\022\022\n\016LOCAL_PHYSICAL\020\001\022\022\n\016LOCAL_EMU" + "LATOR\020\002\022\022\n\016CLOUD_EMULATOR\020\003\022\022\n\016CLOUD_PHY" + "SICAL\020\004\"\215\001\n\013StudioCrash\022\017\n\007actions\030\001 \001(\003" + "\022\022\n\nexceptions\030\002 \001(\003\022\017\n\007crashes\030\003 \001(\003\022!\n" + "\031bundled_plugin_exceptions\030\004 \001(\003\022%\n\035non_" + "bundled_plugin_exceptions\030\005 \001(\003\"H\n\023Emula" + "torGuestGlInfo\022\016\n\006vendor\030\001 \001(\t\022\020\n\010render" + "er\030\002 \001(\t\022\017\n\007version\030\003 \001(\t\"y\n\017EmulatorGpu" + "Info\022\014\n\004make\030\001 \001(\t\022\r\n\005model\030\002 \001(\t\022\021\n\tdev", "ice_id\030\003 \001(\t\022\023\n\013revision_id\030\004 \001(\t\022\017\n\007ver" + "sion\030\005 \001(\t\022\020\n\010renderer\030\006 \001(\t\"\325\007\n\017Emulato" + "rDetails\022H\n\nguest_arch\030\001 \001(\01624.android_s" + "tudio.EmulatorDetails.GuestCpuArchitectu" + "re\022\023\n\013system_time\030\002 \001(\003\022\021\n\tuser_time\030\003 \001" + "(\003\022\017\n\007crashes\030\004 \001(\003\022\021\n\twall_time\030\005 \001(\003\022\024" + "\n\014exit_started\030\006 \001(\010\022\027\n\017guest_api_level\030" + "\007 \001(\003\022\031\n\021guest_gpu_enabled\030\010 \001(\010\022\027\n\017is_o" + "pengl_alive\030\n \001(\010\022I\n\014adb_liveness\030\013 \001(\0162" + "3.android_studio.EmulatorDetails.Emulato", "rAdbLiveness\0225\n\010guest_gl\030\014 \001(\0132#.android" + "_studio.EmulatorGuestGlInfo\0221\n\010host_gpu\030" + "\r \003(\0132\037.android_studio.EmulatorGpuInfo\022K" + "\n\rsession_phase\030\016 \001(\01624.android_studio.E" + "mulatorDetails.EmulatorSessionPhase\"\224\001\n\023" + "EmulatorAdbLiveness\022!\n\035UNKNOWN_EMULATOR_" + "ADB_LIVENESS\020\000\022\022\n\016FAILURE_NO_ADB\020\001\022\016\n\nAD" + "B_ONLINE\020\002\022\033\n\027FAILURE_ADB_SERVER_DEAD\020\003\022" + "\031\n\025FAILURE_EMULATOR_DEAD\020\004\"\262\001\n\024EmulatorS" + "essionPhase\022\"\n\036UNKNOWN_EMULATOR_SESSION_", "PHASE\020\000\022\014\n\010LAUNCHER\020\001\022\021\n\rPARSE_OPTIONS\020\002" + "\022\020\n\014INIT_GENERAL\020\003\022\014\n\010INIT_GPU\020\004\022\016\n\nINIT" + "_ACCEL\020\005\022\023\n\017RUNNING_GENERAL\020\006\022\020\n\014EXIT_GE" + "NERAL\020\007\"{\n\024GuestCpuArchitecture\022\"\n\036UNKNO" + "WN_GUEST_CPU_ARCHITECTURE\020\000\022\007\n\003X86\020\001\022\n\n\006" + "X86_64\020\002\022\007\n\003ARM\020\003\022\n\n\006ARM_64\020\004\022\010\n\004MIPS\020\005\022" + "\013\n\007MIPS_64\020\006\"\234\003\n\017EmulatorUiEvent\022\022\n\nelem" + "ent_id\030\001 \001(\t\022A\n\004type\030\002 \001(\01623.android_stu" + "dio.EmulatorUiEvent.EmulatorUiEventType\022" + "G\n\007context\030\003 \001(\01626.android_studio.Emulat", "orUiEvent.EmulatorUiEventContext\022\r\n\005valu" + "e\030\004 \001(\003\"\177\n\023EmulatorUiEventType\022\"\n\036UNKONW" + "N_EMULATOR_UI_EVENT_TYPE\020\000\022\020\n\014BUTTON_PRE" + "SS\020\001\022\035\n\031OPTION_SET_TO_NON_DEFAULT\020\002\022\023\n\017O" + "PTION_SELECTED\020\003\"Y\n\026EmulatorUiEventConte" + "xt\022%\n!UNKNOWN_EMULATOR_UI_EVENT_CONTEXT\020" + "\000\022\030\n\024EXTENDED_WINDOW_OPEN\020\001\"\207\003\n\022GradleBu" + "ildDetails\022\036\n\026android_plugin_version\030\001 \001" + "(\t\022\026\n\016gradle_version\030\002 \001(\t\022\027\n\017user_enabl" + "ed_ir\030\003 \001(\010\022\031\n\021model_supports_ir\030\004 \001(\010\022\033", "\n\023variant_supports_ir\030\005 \001(\010\0220\n\tlibraries" + "\030\006 \003(\0132\035.android_studio.GradleLibrary\022-\n" + "\007modules\030\007 \003(\0132\034.android_studio.GradleMo" + "dule\022<\n\017android_modules\030\010 \003(\0132#.android_" + "studio.GradleAndroidModule\022I\n\026native_and" + "roid_modules\030\t \003(\0132).android_studio.Grad" + "leNativeAndroidModule\"K\n\rGradleLibrary\022\034" + "\n\024jar_dependency_count\030\001 \001(\003\022\034\n\024aar_depe" + "ndency_count\030\002 \001(\003\"^\n\014GradleModule\022\032\n\022to" + "tal_module_count\030\001 \001(\003\022\030\n\020app_module_cou", "nt\030\002 \001(\003\022\030\n\020lib_module_count\030\003 \001(\003\"\266\001\n\023G" + "radleAndroidModule\022\016\n\006app_id\030\001 \001(\t\022\023\n\013mo" + "dule_name\030\002 \001(\t\022\022\n\nis_library\030\003 \001(\010\022\030\n\020b" + "uild_type_count\030\004 \001(\003\022\024\n\014flavor_count\030\005 " + "\001(\003\022\030\n\020flavor_dimension\030\006 \001(\003\022\034\n\024signing" + "_config_count\030\007 \001(\003\"\240\002\n\031GradleNativeAndr" + "oidModule\022\016\n\006app_id\030\001 \001(\t\022\023\n\013module_name" + "\030\002 \001(\t\022Z\n\021build_system_type\030\003 \001(\0162?.andr" + "oid_studio.GradleNativeAndroidModule.Nat" + "iveBuildSystemType\"\201\001\n\025NativeBuildSystem", "Type\022$\n UNKNOWN_NATIVE_BUILD_SYSTEM_TYPE" + "\020\000\022\027\n\023GRADLE_EXPERIMENTAL\020\001\022\017\n\013NDK_COMPI" + "LE\020\002\022\r\n\tNDK_BUILD\020\003\022\t\n\005CMAKE\020\004\"\273\n\n\nInsta" + "ntRun\022L\n\017deployment_kind\030\001 \001(\01623.android" + "_studio.InstantRun.InstantRunDeploymentK" + "ind\022P\n\027instant_run_build_cause\030\003 \001(\0162/.a" + "ndroid_studio.InstantRun.InstantRunBuild" + "Cause\022\022\n\nbuild_time\030\004 \001(\003\022\022\n\nsession_id\030" + "\005 \001(\t\022K\n\017ide_build_cause\030\006 \001(\01622.android" + "_studio.InstantRun.InstantRunIdeBuildCau", "se\"\242\001\n\030InstantRunDeploymentKind\022\'\n#UNKNO" + "WN_INSTANT_RUN_DEPLOYMENT_KIND\020\000\022\n\n\006LEGA" + "CY\020\001\022\014\n\010FULL_APK\020\002\022\r\n\tSPLIT_APK\020\003\022\007\n\003DEX" + "\020\004\022\014\n\010HOT_SWAP\020\005\022\r\n\tWARM_SWAP\020\006\022\016\n\nNO_CH" + "ANGES\020\007\"\277\003\n\024InstantRunBuildCause\022#\n\037UNKN" + "OWN_INSTANT_RUN_BUILD_CAUSE\020\000\022\016\n\nCOMPATI" + "BLE\020\001\022\023\n\017MANIFEST_CHANGE\020\002\022\025\n\021FIELD_TYPE" + "_CHANGE\020\003\022\021\n\rFIELD_REMOVED\020\004\022\017\n\013FIELD_AD" + "DED\020\005\022\022\n\016METHOD_DELETED\020\006\022\020\n\014METHOD_ADDE" + "D\020\007\022\017\n\013CLASS_ADDED\020\010\022\035\n\031STATIC_INITIALIZ", "ER_CHANGE\020\t\022\033\n\027CLASS_ANNOTATION_CHANGE\020\n" + "\022\023\n\017RESOURCE_CHANGE\020\013\022\037\n\033IMPLEMENTS_INTE" + "RFACE_CHANGE\020\014\022\022\n\016R_CLASS_CHANGE\020\r\022\027\n\023PA" + "RENT_CLASS_CHANGE\020\016\022\034\n\030METHOD_ANNOTATION" + "_CHANGE\020\017\022\031\n\025API_LEVEL_UNSUPPORTED\020\020\022\023\n\017" + "REFLECTION_USED\020\021\"\260\003\n\027InstantRunIdeBuild" + "Cause\022\'\n#UNKNOWN_INSTANT_RUN_IDE_BUILD_C" + "AUSE\020\000\022\r\n\tNO_DEVICE\020\001\022\025\n\021APP_NOT_INSTALL" + "ED\020\002\022\032\n\026MISMATCHING_TIMESTAMPS\020\003\022\036\n\032USER" + "_REQUESTED_CLEAN_BUILD\020\004\022\037\n\033API_TOO_LOW_", "FOR_INSTANT_RUN\020\005\022 \n\034FIRST_INSTALLATION_" + "TO_DEVICE\020\006\022\035\n\031MANIFEST_RESOURCE_CHANGED" + "\020\007\022\036\n\032FREEZE_SWAP_REQUIRES_API21\020\010\022\'\n#FR" + "EEZE_SWAP_REQUIRES_WORKING_RUN_AS\020\t\022\023\n\017A" + "PP_NOT_RUNNING\020\n\022\037\n\033APP_USES_MULTIPLE_PR" + "OCESSES\020\013\022\025\n\021INCREMENTAL_BUILD\020\014\022\022\n\016NO_I" + "NSTANT_RUN\020\r\"k\n\013MetaMetrics\022\032\n\022failed_co" + "nnections\030\001 \001(\005\022!\n\031bytes_sent_in_last_up" + "load\030\002 \001(\003\022\035\n\025failed_server_replies\030\003 \001(" + "\005\"\200\004\n\007TestRun\022H\n\024test_invocation_type\030\001 ", "\001(\0162*.android_studio.TestRun.TestInvocat" + "ionType\022 \n\030number_of_tests_executed\030\002 \001(" + "\005\0223\n\ttest_kind\030\003 \001(\0162 .android_studio.Te" + "stRun.TestKind\022\017\n\007crashed\030\004 \001(\010\022\026\n\016gradl" + "e_version\030\005 \001(\t\022\035\n\025code_coverage_enabled" + "\030\006 \001(\010\0225\n\016test_libraries\030\007 \001(\0132\035.android" + "_studio.TestLibraries\"\210\001\n\022TestInvocation" + "Type\022 \n\034UNKNOWN_TEST_INVOCATION_TYPE\020\000\022\017" + "\n\013GRADLE_TEST\020\001\022\027\n\023ANDROID_STUDIO_TEST\020\002" + "\022&\n\"ANDROID_STUDIO_THROUGH_GRADLE_TEST\020\003", "\"J\n\010TestKind\022\025\n\021UNKNOWN_TEST_KIND\020\000\022\r\n\tU" + "NIT_TEST\020\001\022\030\n\024INSTRUMENTATION_TEST\020\002\"\205\001\n" + "\rTestLibraries\022$\n\034test_support_library_v" + "ersion\030\001 \001(\t\022\030\n\020espresso_version\030\002 \001(\t\022\033" + "\n\023robolectric_version\030\003 \001(\t\022\027\n\017mockito_v" + "ersion\030\004 \001(\t\"\311\001\n\nHypervisor\022=\n\rhyper_v_s" + "tate\030\001 \001(\0162&.android_studio.Hypervisor.H" + "yperVState\"|\n\013HyperVState\022\030\n\024UNKNOWN_HYP" + "ERV_STATE\020\000\022\021\n\rHYPERV_ABSENT\020\001\022\024\n\020HYPERV" + "_INSTALLED\020\002\022\022\n\016HYPERV_RUNNING\020\003\022\026\n\022HYPE", "RV_CHECK_ERROR\020\004\"k\n\014EmulatorHost\022\030\n\020cpu_" + "manufacturer\030\001 \001(\t\022\024\n\014virt_support\030\002 \001(\010" + "\022\025\n\rrunning_in_vm\030\003 \001(\010\022\024\n\014os_bit_count\030" + "\004 \001(\003\"\310\003\n\022GradleBuildProfile\022\026\n\016gradle_v" + "ersion\030\002 \001(\t\022\017\n\007os_name\030\006 \001(\t\022\022\n\nos_vers" + "ion\030\007 \001(\t\022\024\n\014java_version\030\010 \001(\t\022\027\n\017java_" + "vm_version\030\t \001(\t\022\022\n\nmax_memory\030\n \001(\003\022\022\n\n" + "build_time\030\013 \001(\003\022\020\n\010gc_count\030\014 \001(\003\022\017\n\007gc" + "_time\030\r \001(\003\0223\n\007project\030\016 \003(\0132\".android_s" + "tudio.GradleBuildProject\022>\n\rmemory_sampl", "e\030\017 \003(\0132\'.android_studio.GradleBuildMemo" + "rySample\0224\n\004span\030\020 \003(\0132&.android_studio." + "GradleBuildProfileSpan\022<\n\022instant_run_st" + "atus\030\021 \001(\0132 .android_studio.InstantRunSt" + "atus\022\022\n\nproject_id\030\022 \001(\t\"\207\004\n\022GradleBuild" + "Project\022\n\n\002id\030\001 \001(\003\022\036\n\026android_plugin_ve" + "rsion\030\002 \001(\t\022E\n\016android_plugin\030\003 \001(\0162-.an" + "droid_studio.GradleBuildProject.PluginTy" + "pe\022N\n\021plugin_generation\030\004 \001(\01623.android_" + "studio.GradleBuildProject.PluginGenerati", "on\022\033\n\023build_tools_version\030\005 \001(\t\022:\n\007metri" + "cs\030\006 \001(\0132).android_studio.GradleBuildPro" + "jectMetrics\0223\n\007variant\030\007 \003(\0132\".android_s" + "tudio.GradleBuildVariant\"M\n\nPluginType\022\027" + "\n\023UNKNOWN_PLUGIN_TYPE\020\000\022\017\n\013APPLICATION\020\001" + "\022\013\n\007LIBRARY\020\002\022\010\n\004TEST\020\003\"Q\n\020PluginGenerat" + "ion\022\035\n\031UNKNOWN_PLUGIN_GENERATION\020\000\022\t\n\005FI" + "RST\020\001\022\023\n\017COMPONENT_MODEL\020\002\"a\n\031GradleBuil" + "dProjectMetrics\022\027\n\017metrics_time_ns\030\001 \001(\003" + "\022\020\n\010apk_size\030\002 \001(\003\022\031\n\021resources_ap_size\030", "\003 \001(\003\"\266\002\n\022GradleBuildVariant\022\n\n\002id\030\001 \001(\003" + "\022\020\n\010is_debug\030\002 \001(\010\022\020\n\010use_jack\030\003 \001(\010\022\026\n\016" + "minify_enabled\030\004 \001(\010\022\024\n\014use_multidex\030\005 \001" + "(\010\022\033\n\023use_legacy_multidex\030\006 \001(\010\022D\n\014varia" + "nt_type\030\007 \001(\0162..android_studio.GradleBui" + "ldVariant.VariantType\022\021\n\ttested_id\030\010 \001(\003" + "\"L\n\013VariantType\022\017\n\013APPLICATION\020\000\022\013\n\007LIBR" + "ARY\020\001\022\020\n\014ANDROID_TEST\020\002\022\r\n\tUNIT_TEST\020\003\"R" + "\n\027GradleBuildMemorySample\022\022\n\ngc_time_ms\030" + "\001 \001(\003\022\020\n\010gc_count\030\002 \001(\003\022\021\n\ttimestamp\030\003 \001", "(\003\"\361\034\n\026GradleBuildProfileSpan\022\n\n\002id\030\001 \001(" + "\003\022\021\n\tparent_id\030\002 \001(\003\022\030\n\020start_time_in_ms" + "\030\003 \001(\003\022\026\n\016duration_in_ms\030\004 \001(\003\022B\n\004type\030\005" + " \001(\01624.android_studio.GradleBuildProfile" + "Span.ExecutionType\022;\n\ttransform\030\006 \001(\0132(." + "android_studio.GradleTransformExecution\022" + "1\n\004task\030\t \001(\0132#.android_studio.GradleTas" + "kExecution\022\017\n\007project\030\007 \001(\003\022\017\n\007variant\030\010" + " \001(\003\"\257\032\n\rExecutionType\022\032\n\026SOME_RANDOM_PR" + "OCESSING\020\001\022!\n\035BASE_PLUGIN_PROJECT_CONFIG", "URE\020\002\022/\n+BASE_PLUGIN_PROJECT_BASE_EXTENS" + "ION_CREATION\020\003\022&\n\"BASE_PLUGIN_PROJECT_TA" + "SKS_CREATION\020\004\022\036\n\032BASE_PLUGIN_BUILD_FINI" + "SHED\020\005\022\035\n\031TASK_MANAGER_CREATE_TASKS\020\006\022$\n" + " BASE_PLUGIN_CREATE_ANDROID_TASKS\020\007\022(\n$V" + "ARIANT_MANAGER_CREATE_ANDROID_TASKS\020\010\022,\n" + "(VARIANT_MANAGER_CREATE_TASKS_FOR_VARIAN" + "T\020\t\022%\n!VARIANT_MANAGER_CREATE_LINT_TASKS" + "\020\n\022&\n\"VARIANT_MANAGER_CREATE_TESTS_TASKS" + "\020\013\022#\n\037VARIANT_MANAGER_CREATE_VARIANTS\020\014\022", "\030\n\024RESOLVE_DEPENDENCIES\020\r\022\022\n\016TASK_EXECUT" + "ION\020\016\022\024\n\020INITIAL_METADATA\020d\022\022\n\016FINAL_MET" + "ADATA\020e\022\022\n\016GENERAL_CONFIG\020f\022\022\n\016VARIANT_C" + "ONFIG\020g\0221\n-VARIANT_MANAGER_EXTERNAL_NATI" + "VE_CONFIG_VALUES\020h\022\017\n\013APK_METRICS\020i\0220\n+A" + "PP_TASK_MANAGER_CREATE_MERGE_MANIFEST_TA" + "SK\020\350\007\0225\n0APP_TASK_MANAGER_CREATE_GENERAT" + "E_RES_VALUES_TASK\020\351\007\0225\n0APP_TASK_MANAGER" + "_CREATE_CREATE_RENDERSCRIPT_TASK\020\352\007\0221\n,A" + "PP_TASK_MANAGER_CREATE_MERGE_RESOURCES_T", "ASK\020\353\007\022.\n)APP_TASK_MANAGER_CREATE_MERGE_" + "ASSETS_TASK\020\354\007\022.\n)APP_TASK_MANAGER_CREAT" + "E_BUILD_CONFIG_TASK\020\355\007\022-\n(APP_TASK_MANAG" + "ER_CREATE_PROCESS_RES_TASK\020\356\007\022&\n!APP_TAS" + "K_MANAGER_CREATE_AIDL_TASK\020\357\007\022)\n$APP_TAS" + "K_MANAGER_CREATE_COMPILE_TASK\020\360\007\022%\n APP_" + "TASK_MANAGER_CREATE_NDK_TASK\020\361\007\022\'\n\"APP_T" + "ASK_MANAGER_CREATE_SPLIT_TASK\020\362\007\022+\n&APP_" + "TASK_MANAGER_CREATE_PACKAGING_TASK\020\363\007\0226\n" + "1APP_TASK_MANAGER_CREATE_PREPROCESS_RESO", "URCES_TASK\020\364\007\0224\n/APP_TASK_MANAGER_CREATE" + "_BACKPORT_RESOURCES_TASK\020\365\007\022&\n!APP_TASK_" + "MANAGER_CREATE_LINT_TASK\020\366\007\0227\n2APP_TASK_" + "MANAGER_CREATE_MERGE_JNILIBS_FOLDERS_TAS" + "K\020\367\007\022(\n#APP_TASK_MANAGER_CREATE_SHADER_T" + "ASK\020\370\007\0227\n2APP_TASK_MANAGER_CREATE_EXTERN" + "AL_NATIVE_BUILD_TASK\020\371\007\0226\n1APP_TASK_MANA" + "GER_CREATE_STRIP_NATIVE_LIBRARY_TASK\020\372\007\022" + "0\n+LIB_TASK_MANAGER_CREATE_MERGE_MANIFES" + "T_TASK\020\320\017\0225\n0LIB_TASK_MANAGER_CREATE_GEN", "ERATE_RES_VALUES_TASK\020\321\017\0225\n0LIB_TASK_MAN" + "AGER_CREATE_CREATE_RENDERSCRIPT_TASK\020\322\017\022" + "1\n,LIB_TASK_MANAGER_CREATE_MERGE_RESOURC" + "ES_TASK\020\323\017\022.\n)LIB_TASK_MANAGER_CREATE_ME" + "RGE_ASSETS_TASK\020\324\017\022.\n)LIB_TASK_MANAGER_C" + "REATE_BUILD_CONFIG_TASK\020\325\017\022-\n(LIB_TASK_M" + "ANAGER_CREATE_PROCESS_RES_TASK\020\326\017\022&\n!LIB" + "_TASK_MANAGER_CREATE_AIDL_TASK\020\327\017\022)\n$LIB" + "_TASK_MANAGER_CREATE_COMPILE_TASK\020\330\017\022%\n " + "LIB_TASK_MANAGER_CREATE_NDK_TASK\020\331\017\022\'\n\"L", "IB_TASK_MANAGER_CREATE_SPLIT_TASK\020\332\017\022+\n&" + "LIB_TASK_MANAGER_CREATE_PACKAGING_TASK\020\333" + "\017\0225\n0LIB_TASK_MANAGER_CREATE_MERGE_PROGU" + "ARD_FILE_TASK\020\334\017\0222\n-LIB_TASK_MANAGER_CRE" + "ATE_POST_COMPILATION_TASK\020\335\017\022*\n%LIB_TASK" + "_MANAGER_CREATE_PROGUARD_TASK\020\336\017\022.\n)LIB_" + "TASK_MANAGER_CREATE_PACKAGE_LOCAL_JAR\020\337\017" + "\0224\n/LIB_TASK_MANAGER_CREATE_BACKPORT_RES" + "OURCES_TASK\020\340\017\022&\n!LIB_TASK_MANAGER_CREAT" + "E_LINT_TASK\020\341\017\022(\n#LIB_TASK_MANAGER_CREAT", "E_SHADER_TASK\020\342\017\0227\n2LIB_TASK_MANAGER_CRE" + "ATE_EXTERNAL_NATIVE_BUILD_TASK\020\343\017\022\033\n\026GEN" + "ERIC_TASK_EXECUTION\020\270\027\022\026\n\021TASK_AIDL_COMP" + "ILE\020\271\027\022\020\n\013TASK_DELETE\020\272\027\022\030\n\023TASK_CHECK_M" + "ANIFEST\020\273\027\022#\n\036TASK_PREPARE_DEPENDENCIES_" + "TASK\020\274\027\022\036\n\031TASK_RENDERSCRIPT_COMPILE\020\275\027\022" + "\037\n\032TASK_GENERATE_BUILD_CONFIG\020\276\027\022\026\n\021TASK" + "_MERGE_ASSETS\020\277\027\022\035\n\030TASK_GENERATE_RES_VA" + "LUES\020\300\027\022\031\n\024TASK_MERGE_RESOURCES\020\301\027\022\031\n\024TA" + "SK_MERGE_MANIFESTS\020\302\027\022#\n\036TASK_PROCESS_AN", "DROID_RESOURCES\020\303\027\022\026\n\021TASK_JAVA_COMPILE\020" + "\304\027\022\025\n\020TASK_NDK_COMPILE\020\305\027\022\021\n\014TASK_PRE_DE" + "X\020\306\027\022\r\n\010TASK_DEX\020\307\027\022\033\n\026TASK_PACKAGE_SPLI" + "T_RES\020\310\027\022\033\n\026TASK_PROCESS_RESOURCES\020\311\027\022\037\n" + "\032TASK_VALIDATE_SIGNING_TASK\020\312\027\022\035\n\030TASK_P" + "ACKAGE_APPLICATION\020\313\027\022\031\n\024TASK_SPLIT_ZIP_" + "ALIGN\020\314\027\022\023\n\016TASK_ZIP_ALIGN\020\315\027\022\016\n\tTASK_CO" + "PY\020\316\027\022\016\n\tTASK_LINT\020\317\027\022\033\n\026TASK_FILE_VERIF" + "ICATION\020\322\027\022=\n8TASK_EXTERNAL_NATIVE_BUILD" + "_GENERATE_JSON_PROCESS_PER_ABI\020\323\027\0225\n0TAS", "K_EXTERNAL_NATIVE_BUILD_GENERATE_JSON_PR" + "OCESS\020\324\027\022\037\n\032TASK_TRANSFORM_PREPARATION\020\320" + "\027\022\023\n\016TASK_TRANSFORM\020\321\027\"\222\016\n\023GradleTaskExe" + "cution\0226\n\004type\030\001 \001(\0162(.android_studio.Gr" + "adleTaskExecution.Type\022\020\n\010did_work\030\002 \001(\010" + "\022\017\n\007skipped\030\003 \001(\010\022\022\n\nup_to_date\030\004 \001(\010\022\016\n" + "\006failed\030\005 \001(\010\"\373\014\n\004Type\022\025\n\021UNKNOWN_TASK_T" + "YPE\020\000\022\020\n\014AIDL_COMPILE\020\001\022\017\n\013ANDROID_JAR\020\002" + "\022\030\n\024ANDROID_JAVA_COMPILE\020\003\022\022\n\016ANDROID_RE" + "PORT\020\004\022\025\n\021ANDROID_UNIT_TEST\020\005\022\022\n\016BUILD_E", "MULATOR\020\006\022\025\n\021BUILD_INFO_LOADER\020\007\022\022\n\016CHEC" + "K_MANIFEST\020\010\022\037\n\033COMPATIBLE_SCREENS_MANIF" + "EST\020\t\022\035\n\031CREATE_MANIFEST_KEEP_LIST\020\n\022\"\n\036" + "DATA_BINDING_EXPORT_BUILD_INFO\020\013\022 \n\034DATA" + "_BINDING_PROCESS_LAYOUTS\020\014\022\025\n\021DEPENDENCY" + "_REPORT\020\r\022#\n\037DEVICE_PROVIDER_INSTRUMENT_" + "TEST\020\016\022\031\n\025EXTERNAL_BUILD_ANCHOR\020\017\022\036\n\032EXT" + "ERNAL_NATIVE_BUILD_JSON\020\020\022\031\n\025EXTERNAL_NA" + "TIVE_BUILD\020\021\022\027\n\023EXTRACT_ANNOTATIONS\020\022\022\032\n" + "\026EXTRACT_JAVA_RESOURCES\020\023\022\032\n\026EXTRACT_PRO", "GUARD_FILES\020\024\022!\n\035FAST_DEPLOY_RUNTIME_EXT" + "RACTOR\020\025\022\025\n\021FILTERED_JAR_COPY\020\026\022\025\n\021GENER" + "ATE_APK_DATA\020\027\022\031\n\025GENERATE_BUILD_CONFIG\020" + "\030\022!\n\035GENERATE_INSTANT_RUN_APP_INFO\020\031\022\027\n\023" + "GENERATE_RES_VALUES\020\032\022\032\n\026GENERATE_SPLIT_" + "ABI_RES\020\033\022\023\n\017GOOGLE_SERVICES\020\034\022\031\n\025INCREM" + "ENTAL_SAFEGUARD\020\035\022\023\n\017INSTALL_VARIANT\020\036\022!" + "\n\035INSTANT_RUN_SPLIT_APK_BUILDER\020\037\022\027\n\023INS" + "TANT_RUN_WRAPPER\020 \022\032\n\026INVOKE_MANIFEST_ME" + "RGER\020!\022\026\n\022JACK_JACOCO_REPORT\020\"\022\021\n\rJACOCO", "_REPORT\020#\022\010\n\004LINT\020$\022\020\n\014LINT_COMPILE\020%\022\016\n" + "\nMERGE_FILE\020&\022\023\n\017MERGE_MANIFESTS\020\'\022\023\n\017ME" + "RGE_RESOURCES\020(\022\034\n\030MERGE_SOURCE_SET_FOLD" + "ERS\020)\022\030\n\024MOCKABLE_ANDROID_JAR\020*\022\017\n\013NDK_C" + "OMPILE\020+\022\007\n\003NDK\020,\022\027\n\023PACKAGE_APPLICATION" + "\020-\022\025\n\021PACKAGE_SPLIT_ABI\020.\022\025\n\021PACKAGE_SPL" + "IT_RES\020/\022\021\n\rPRE_COLD_SWAP\0200\022\030\n\024PREPARE_D" + "EPENDENCIES\0201\022\023\n\017PREPARE_LIBRARY\0202\022\035\n\031PR" + "OCESS_ANDROID_RESOURCES\0203\022\024\n\020PROCESS_MAN" + "IFEST\0204\022\031\n\025PROCESS_TEST_MANIFEST\0205\022\030\n\024RE", "NDERSCRIPT_COMPILE\0206\022\022\n\016SHADER_COMPILE\0207" + "\022\022\n\016SIGNING_REPORT\0208\022\024\n\020SINGLE_FILE_COPY" + "\0209\022\017\n\013SOURCE_SETS\020:\022\023\n\017SPLIT_ZIP_ALIGN\020;" + "\022\020\n\014STREAM_BASED\020<\022\026\n\022STRIP_DEBUG_SYMBOL" + "\020=\022\026\n\022STRIP_DEPENDENCIES\020>\022\031\n\025TEST_MODUL" + "E_PRO_GUARD\020?\022\017\n\013TEST_SERVER\020@\022\r\n\tTRANSF" + "ORM\020A\022\r\n\tUNINSTALL\020B\022\024\n\020VALIDATE_SIGNING" + "\020C\022\r\n\tZIP_ALIGN\020D\022\020\n\014JAVA_COMPILE\020E\"\337\003\n\030" + "GradleTransformExecution\022;\n\004type\030\001 \001(\0162-" + ".android_studio.GradleTransformExecution", ".Type\022\026\n\016is_incremental\030\002 \001(\010\"\355\002\n\004Type\022\032" + "\n\026UNKNOWN_TRANSFORM_TYPE\020\000\022\007\n\003DEX\020\001\022\020\n\014E" + "XTRACT_JARS\020\002\022\023\n\017INSTANT_RUN_DEX\020\003\022\026\n\022IN" + "STANT_RUN_SLICER\020\004\022\017\n\013INSTANT_RUN\020\005\022\027\n\023I" + "NSTANT_RUN_VERIFER\020\006\022\020\n\014JACK_PRE_DEX\020\007\022\010" + "\n\004JACK\020\010\022\n\n\006JACOCO\020\t\022\017\n\013JAR_MERGING\020\n\022\017\n" + "\013LIBRARY_JAR\020\013\022\024\n\020LIBRARY_JNI_LIBS\020\014\022\030\n\024" + "MERGE_JAVA_RESOURCES\020\r\022\r\n\tMULTI_DEX\020\016\022\020\n" + "\014NEW_SHRINKER\020\017\022\027\n\023NO_CHANGES_VERIFIER\020\020" + "\022\r\n\tPRO_GUARD\020\021\022\024\n\020SHRINK_RESOURCES\020\022\"\256\t", "\n\020InstantRunStatus\022>\n\nbuild_mode\030\001 \001(\0162*" + ".android_studio.InstantRunStatus.BuildMo" + "de\022H\n\017patching_policy\030\002 \001(\0162/.android_st" + "udio.InstantRunStatus.PatchingPolicy\022H\n\017" + "verifier_status\030\003 \001(\0162/.android_studio.I" + "nstantRunStatus.VerifierStatus\0224\n\010artifa" + "ct\030\004 \003(\0132\".android_studio.InstantRunArti" + "fact\"E\n\tBuildMode\022\026\n\022UNKNOWN_BUILD_MODE\020" + "\000\022\014\n\010HOT_WARM\020\001\022\010\n\004COLD\020\002\022\010\n\004FULL\020\003\"]\n\016P" + "atchingPolicy\022\033\n\027UNKNOWN_PATCHING_POLICY", "\020\000\022\020\n\014PRE_LOLLIPOP\020\001\022\r\n\tMULTI_DEX\020\002\022\r\n\tM" + "ULTI_APK\020\003\"\351\005\n\016VerifierStatus\022\033\n\027UNKNOWN" + "_VERIFIER_STATUS\020\000\022\016\n\nCOMPATIBLE\020\001\022\013\n\007NO" + "T_RUN\020\002\022\030\n\024INSTANT_RUN_DISABLED\020\003\022\027\n\023INS" + "TANT_RUN_FAILURE\020\004\022\017\n\013CLASS_ADDED\020\005\022\030\n\024P" + "ARENT_CLASS_CHANGED\020\006\022!\n\035IMPLEMENTED_INT" + "ERFACES_CHANGE\020\007\022\033\n\027CLASS_ANNOTATION_CHA" + "NGE\020\010\022\035\n\031STATIC_INITIALIZER_CHANGE\020\t\022 \n\034" + "CONSTRUCTOR_SIGNATURE_CHANGE\020\n\022\033\n\027METHOD" + "_SIGNATURE_CHANGE\020\013\022\034\n\030METHOD_ANNOTATION", "_CHANGE\020\014\022\022\n\016METHOD_DELETED\020\r\022\020\n\014METHOD_" + "ADDED\020\016\022\017\n\013FIELD_ADDED\020\017\022\021\n\rFIELD_REMOVE" + "D\020\020\022\025\n\021FIELD_TYPE_CHANGE\020\021\022\022\n\016R_CLASS_CH" + "ANGE\020\022\022\023\n\017REFLECTION_USED\020\023\022\032\n\026JAVA_RESO" + "URCES_CHANGED\020\024\022\026\n\022DEPENDENCY_CHANGED\020\025\022" + "\030\n\024MANIFEST_FILE_CHANGE\020\026\022\037\n\033BINARY_MANI" + "FEST_FILE_CHANGE\020\027\022\027\n\023COLD_SWAP_REQUESTE" + "D\020\030\022\030\n\024FULL_BUILD_REQUESTED\020\031\022\021\n\rINITIAL" + "_BUILD\020\032\022\016\n\nNO_CHANGES\020\033\0224\n0CHANGE_IN_SE" + "RIALIZABLE_CLASS_WITHOUT_VERSION_UID\020\034\"\261", "\001\n\022InstantRunArtifact\0225\n\004type\030\001 \001(\0162\'.an" + "droid_studio.InstantRunArtifact.Type\"d\n\004" + "Type\022\010\n\004MAIN\020\001\022\016\n\nSPLIT_MAIN\020\002\022\016\n\nRELOAD" + "_DEX\020\003\022\017\n\013RESTART_DEX\020\004\022\007\n\003DEX\020\005\022\t\n\005SPLI" + "T\020\006\022\r\n\tRESOURCES\020\007\"(\n\023LLDBFrontendDetail" + "s\022\021\n\texit_code\030\001 \001(\005\"-\n\024FirebaseErrorDet" + "ails\022\025\n\rerror_message\030\001 \001(\t\"\244\001\n\021GfxTraci" + "ngDetails\022\022\n\ntotal_time\030\001 \001(\003\022\017\n\007command" + "\030\002 \001(\t\022\025\n\rerror_message\030\003 \001(\t\022\022\n\ntrace_p" + "ath\030\004 \001(\t\022\024\n\014image_format\030\005 \001(\t\022\023\n\013image", "_width\030\006 \001(\003\022\024\n\014image_height\030\007 \001(\003\"C\n\023Te" + "stRecorderDetails\022\023\n\013event_count\030\001 \001(\003\022\027" + "\n\017assertion_count\030\002 \001(\003\"\356\001\n\rUIActionStat" + "s\022\031\n\021action_class_name\030\001 \001(\t\022\023\n\013invocati" + "ons\030\002 \001(\003\022E\n\017invocation_kind\030\003 \001(\0162,.and" + "roid_studio.UIActionStats.InvocationKind" + "\"f\n\016InvocationKind\022\033\n\027UNKNOWN_INVOCATION" + "_KIND\020\000\022\013\n\007TOOLBAR\020\001\022\010\n\004MENU\020\002\022\025\n\021KEYBOA" + "RD_SHORTCUT\020\003\022\t\n\005MACRO\020\004\"\206\001\n\016MachineDeta" + "ils\022\021\n\ttotal_ram\030\001 \001(\003\022\022\n\ntotal_disk\030\002 \001", "(\003\022/\n\007display\030\003 \003(\0132\036.android_studio.Dis" + "playDetails\022\034\n\024available_processors\030\004 \001(" + "\005\"q\n\016DisplayDetails\022\r\n\005width\030\001 \001(\003\022\016\n\006he" + "ight\030\002 \001(\003\022 \n\030dots_per_inch_horizontal\030\003" + " \001(\005\022\036\n\026dots_per_inch_vertical\030\004 \001(\005\"\310\001\n" + "\020JavaProcessStats\022\031\n\021heap_memory_usage\030\001" + " \001(\003\022\035\n\025non_heap_memory_usage\030\002 \001(\003\022\032\n\022l" + "oaded_class_count\030\003 \001(\005\022\024\n\014thread_count\030" + "\004 \001(\005\022H\n\030garbage_collection_stats\030\005 \003(\0132" + "&.android_studio.GarbageCollectionStats\"", "O\n\026GarbageCollectionStats\022\014\n\004name\030\001 \001(\t\022" + "\026\n\016gc_collections\030\002 \001(\003\022\017\n\007gc_time\030\003 \001(\003" + "\"\265\003\n\nJvmDetails\022\014\n\004name\030\001 \001(\t\022\017\n\007version" + "\030\002 \001(\t\022\016\n\006vendor\030\003 \001(\t\022\031\n\021minimum_heap_s" + "ize\030\004 \001(\003\022\031\n\021maximum_heap_size\030\005 \001(\003\022$\n\034" + "maximum_permanent_space_size\030\006 \001(\003\022\037\n\027ma" + "ximum_code_cache_size\030\007 \001(\003\022!\n\031soft_refe" + "rence_lru_policy\030\010 \001(\003\022F\n\021garbage_collec" + "tor\030\t \001(\0162+.android_studio.JvmDetails.Ga" + "rbageCollector\"\217\001\n\020GarbageCollector\022\022\n\016U", "NSPECIFIED_GC\020\000\022\034\n\030CONCURRENT_MARK_SWEEP" + "_GC\020\001\022\024\n\020GARBAGE_FIRST_GC\020\002\022\017\n\013PARALLEL_" + "GC\020\003\022\023\n\017PARALLEL_OLD_GC\020\004\022\r\n\tSERIAL_GC\020\005" + "B;\n%com.google.wireless.android.sdk.stat" + "sB\022AndroidStudioStats" }; 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_android_studio_AndroidStudioEvent_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_android_studio_AndroidStudioEvent_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_android_studio_AndroidStudioEvent_descriptor, new java.lang.String[] { "Category", "Kind", "StudioSessionId", "ProductDetails", "MonitorType", "MonitorPaused", "ProfilerCaptureType", "CloudTestingErrorMessage", "CloudTestingLoadedScreenshotsCount", "RunConfigurationType", "DebuggerType", "DeviceInfo", "LldbSessionFailureMessage", "DeveloperServiceKind", "GradleVersion", "GradleSyncFailure", "GradleMissingSignature", "TemplateRenderer", "StudioCrash", "GradleBuildDetails", "InstantRun", "MetaMetrics", "EmulatorDetails", "TestRun", "EmulatorUiEvent", "Hypervisor", "EmulatorHost", "GradleBuildProfile", "LldbFrontendDetails", "FirebaseErrorDetails", "ProjectId", "GfxTracingDetails", "TestRecorderDetails", "UiActionStats", "MachineDetails", "JvmDetails", "JavaProcessStats", }); internal_static_android_studio_ProductDetails_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_android_studio_ProductDetails_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_android_studio_ProductDetails_descriptor, new java.lang.String[] { "Product", "Build", "Version", "Preview", "OsArchitecture", "Channel", }); internal_static_android_studio_DeviceInfo_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_android_studio_DeviceInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_android_studio_DeviceInfo_descriptor, new java.lang.String[] { "AnonymizedSerialNumber", "BuildTags", "BuildType", "BuildVersionRelease", "BuildApiLevel", "CpuAbi", "Manufacturer", "Model", "DeviceType", "BuildApiLevelFull", }); internal_static_android_studio_StudioCrash_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_android_studio_StudioCrash_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_android_studio_StudioCrash_descriptor, new java.lang.String[] { "Actions", "Exceptions", "Crashes", "BundledPluginExceptions", "NonBundledPluginExceptions", }); internal_static_android_studio_EmulatorGuestGlInfo_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_android_studio_EmulatorGuestGlInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_android_studio_EmulatorGuestGlInfo_descriptor, new java.lang.String[] { "Vendor", "Renderer", "Version", }); internal_static_android_studio_EmulatorGpuInfo_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_android_studio_EmulatorGpuInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_android_studio_EmulatorGpuInfo_descriptor, new java.lang.String[] { "Make", "Model", "DeviceId", "RevisionId", "Version", "Renderer", }); internal_static_android_studio_EmulatorDetails_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_android_studio_EmulatorDetails_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_android_studio_EmulatorDetails_descriptor, new java.lang.String[] { "GuestArch", "SystemTime", "UserTime", "Crashes", "WallTime", "ExitStarted", "GuestApiLevel", "GuestGpuEnabled", "IsOpenglAlive", "AdbLiveness", "GuestGl", "HostGpu", "SessionPhase", }); internal_static_android_studio_EmulatorUiEvent_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_android_studio_EmulatorUiEvent_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_android_studio_EmulatorUiEvent_descriptor, new java.lang.String[] { "ElementId", "Type", "Context", "Value", }); internal_static_android_studio_GradleBuildDetails_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_android_studio_GradleBuildDetails_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_android_studio_GradleBuildDetails_descriptor, new java.lang.String[] { "AndroidPluginVersion", "GradleVersion", "UserEnabledIr", "ModelSupportsIr", "VariantSupportsIr", "Libraries", "Modules", "AndroidModules", "NativeAndroidModules", }); internal_static_android_studio_GradleLibrary_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_android_studio_GradleLibrary_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_android_studio_GradleLibrary_descriptor, new java.lang.String[] { "JarDependencyCount", "AarDependencyCount", }); internal_static_android_studio_GradleModule_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_android_studio_GradleModule_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_android_studio_GradleModule_descriptor, new java.lang.String[] { "TotalModuleCount", "AppModuleCount", "LibModuleCount", }); internal_static_android_studio_GradleAndroidModule_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_android_studio_GradleAndroidModule_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_android_studio_GradleAndroidModule_descriptor, new java.lang.String[] { "AppId", "ModuleName", "IsLibrary", "BuildTypeCount", "FlavorCount", "FlavorDimension", "SigningConfigCount", }); internal_static_android_studio_GradleNativeAndroidModule_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_android_studio_GradleNativeAndroidModule_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_android_studio_GradleNativeAndroidModule_descriptor, new java.lang.String[] { "AppId", "ModuleName", "BuildSystemType", }); internal_static_android_studio_InstantRun_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_android_studio_InstantRun_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_android_studio_InstantRun_descriptor, new java.lang.String[] { "DeploymentKind", "InstantRunBuildCause", "BuildTime", "SessionId", "IdeBuildCause", }); internal_static_android_studio_MetaMetrics_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_android_studio_MetaMetrics_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_android_studio_MetaMetrics_descriptor, new java.lang.String[] { "FailedConnections", "BytesSentInLastUpload", "FailedServerReplies", }); internal_static_android_studio_TestRun_descriptor = getDescriptor().getMessageTypes().get(15); internal_static_android_studio_TestRun_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_android_studio_TestRun_descriptor, new java.lang.String[] { "TestInvocationType", "NumberOfTestsExecuted", "TestKind", "Crashed", "GradleVersion", "CodeCoverageEnabled", "TestLibraries", }); internal_static_android_studio_TestLibraries_descriptor = getDescriptor().getMessageTypes().get(16); internal_static_android_studio_TestLibraries_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_android_studio_TestLibraries_descriptor, new java.lang.String[] { "TestSupportLibraryVersion", "EspressoVersion", "RobolectricVersion", "MockitoVersion", }); internal_static_android_studio_Hypervisor_descriptor = getDescriptor().getMessageTypes().get(17); internal_static_android_studio_Hypervisor_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_android_studio_Hypervisor_descriptor, new java.lang.String[] { "HyperVState", }); internal_static_android_studio_EmulatorHost_descriptor = getDescriptor().getMessageTypes().get(18); internal_static_android_studio_EmulatorHost_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_android_studio_EmulatorHost_descriptor, new java.lang.String[] { "CpuManufacturer", "VirtSupport", "RunningInVm", "OsBitCount", }); internal_static_android_studio_GradleBuildProfile_descriptor = getDescriptor().getMessageTypes().get(19); internal_static_android_studio_GradleBuildProfile_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_android_studio_GradleBuildProfile_descriptor, new java.lang.String[] { "GradleVersion", "OsName", "OsVersion", "JavaVersion", "JavaVmVersion", "MaxMemory", "BuildTime", "GcCount", "GcTime", "Project", "MemorySample", "Span", "InstantRunStatus", "ProjectId", }); internal_static_android_studio_GradleBuildProject_descriptor = getDescriptor().getMessageTypes().get(20); internal_static_android_studio_GradleBuildProject_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_android_studio_GradleBuildProject_descriptor, new java.lang.String[] { "Id", "AndroidPluginVersion", "AndroidPlugin", "PluginGeneration", "BuildToolsVersion", "Metrics", "Variant", }); internal_static_android_studio_GradleBuildProjectMetrics_descriptor = getDescriptor().getMessageTypes().get(21); internal_static_android_studio_GradleBuildProjectMetrics_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_android_studio_GradleBuildProjectMetrics_descriptor, new java.lang.String[] { "MetricsTimeNs", "ApkSize", "ResourcesApSize", }); internal_static_android_studio_GradleBuildVariant_descriptor = getDescriptor().getMessageTypes().get(22); internal_static_android_studio_GradleBuildVariant_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_android_studio_GradleBuildVariant_descriptor, new java.lang.String[] { "Id", "IsDebug", "UseJack", "MinifyEnabled", "UseMultidex", "UseLegacyMultidex", "VariantType", "TestedId", }); internal_static_android_studio_GradleBuildMemorySample_descriptor = getDescriptor().getMessageTypes().get(23); internal_static_android_studio_GradleBuildMemorySample_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_android_studio_GradleBuildMemorySample_descriptor, new java.lang.String[] { "GcTimeMs", "GcCount", "Timestamp", }); internal_static_android_studio_GradleBuildProfileSpan_descriptor = getDescriptor().getMessageTypes().get(24); internal_static_android_studio_GradleBuildProfileSpan_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_android_studio_GradleBuildProfileSpan_descriptor, new java.lang.String[] { "Id", "ParentId", "StartTimeInMs", "DurationInMs", "Type", "Transform", "Task", "Project", "Variant", }); internal_static_android_studio_GradleTaskExecution_descriptor = getDescriptor().getMessageTypes().get(25); internal_static_android_studio_GradleTaskExecution_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_android_studio_GradleTaskExecution_descriptor, new java.lang.String[] { "Type", "DidWork", "Skipped", "UpToDate", "Failed", }); internal_static_android_studio_GradleTransformExecution_descriptor = getDescriptor().getMessageTypes().get(26); internal_static_android_studio_GradleTransformExecution_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_android_studio_GradleTransformExecution_descriptor, new java.lang.String[] { "Type", "IsIncremental", }); internal_static_android_studio_InstantRunStatus_descriptor = getDescriptor().getMessageTypes().get(27); internal_static_android_studio_InstantRunStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_android_studio_InstantRunStatus_descriptor, new java.lang.String[] { "BuildMode", "PatchingPolicy", "VerifierStatus", "Artifact", }); internal_static_android_studio_InstantRunArtifact_descriptor = getDescriptor().getMessageTypes().get(28); internal_static_android_studio_InstantRunArtifact_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_android_studio_InstantRunArtifact_descriptor, new java.lang.String[] { "Type", }); internal_static_android_studio_LLDBFrontendDetails_descriptor = getDescriptor().getMessageTypes().get(29); internal_static_android_studio_LLDBFrontendDetails_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_android_studio_LLDBFrontendDetails_descriptor, new java.lang.String[] { "ExitCode", }); internal_static_android_studio_FirebaseErrorDetails_descriptor = getDescriptor().getMessageTypes().get(30); internal_static_android_studio_FirebaseErrorDetails_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_android_studio_FirebaseErrorDetails_descriptor, new java.lang.String[] { "ErrorMessage", }); internal_static_android_studio_GfxTracingDetails_descriptor = getDescriptor().getMessageTypes().get(31); internal_static_android_studio_GfxTracingDetails_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_android_studio_GfxTracingDetails_descriptor, new java.lang.String[] { "TotalTime", "Command", "ErrorMessage", "TracePath", "ImageFormat", "ImageWidth", "ImageHeight", }); internal_static_android_studio_TestRecorderDetails_descriptor = getDescriptor().getMessageTypes().get(32); internal_static_android_studio_TestRecorderDetails_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_android_studio_TestRecorderDetails_descriptor, new java.lang.String[] { "EventCount", "AssertionCount", }); internal_static_android_studio_UIActionStats_descriptor = getDescriptor().getMessageTypes().get(33); internal_static_android_studio_UIActionStats_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_android_studio_UIActionStats_descriptor, new java.lang.String[] { "ActionClassName", "Invocations", "InvocationKind", }); internal_static_android_studio_MachineDetails_descriptor = getDescriptor().getMessageTypes().get(34); internal_static_android_studio_MachineDetails_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_android_studio_MachineDetails_descriptor, new java.lang.String[] { "TotalRam", "TotalDisk", "Display", "AvailableProcessors", }); internal_static_android_studio_DisplayDetails_descriptor = getDescriptor().getMessageTypes().get(35); internal_static_android_studio_DisplayDetails_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_android_studio_DisplayDetails_descriptor, new java.lang.String[] { "Width", "Height", "DotsPerInchHorizontal", "DotsPerInchVertical", }); internal_static_android_studio_JavaProcessStats_descriptor = getDescriptor().getMessageTypes().get(36); internal_static_android_studio_JavaProcessStats_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_android_studio_JavaProcessStats_descriptor, new java.lang.String[] { "HeapMemoryUsage", "NonHeapMemoryUsage", "LoadedClassCount", "ThreadCount", "GarbageCollectionStats", }); internal_static_android_studio_GarbageCollectionStats_descriptor = getDescriptor().getMessageTypes().get(37); internal_static_android_studio_GarbageCollectionStats_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_android_studio_GarbageCollectionStats_descriptor, new java.lang.String[] { "Name", "GcCollections", "GcTime", }); internal_static_android_studio_JvmDetails_descriptor = getDescriptor().getMessageTypes().get(38); internal_static_android_studio_JvmDetails_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_android_studio_JvmDetails_descriptor, new java.lang.String[] { "Name", "Version", "Vendor", "MinimumHeapSize", "MaximumHeapSize", "MaximumPermanentSpaceSize", "MaximumCodeCacheSize", "SoftReferenceLruPolicy", "GarbageCollector", }); return null; } }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }, assigner); } // @@protoc_insertion_point(outer_class_scope) } protos/src/main/proto/0040755 0000000 0000000 00000000000 13017773346 014027 5ustar000000000 0000000 protos/src/main/proto/clientanalytics.proto0100755 0000000 0000000 00000164131 13017773346 020310 0ustar000000000 0000000 // THIS IS A GENERATED FILE. DO NOT EDIT DIRECTLY. // Generated by //wireless/android/play/playlog/tools:strip_proto_file // from wireless/android/play/playlog/proto/clientanalytics.proto // Regenerate by running // blaze build //wireless/android/play/playlog/proto:clientanalytics_stripped // Protos defining the communication protocol between Clearcut client libraries // and the Clearcut server. // // LogRequest is what a client library sends to the server. // LogResponse is what the server sends back. // // The LogRequest.LogSource enum defines the list of datatypes understood by // Clearcut. // // Play Odyssey shares some of these protos. syntax = "proto2"; package wireless_android_play_playlog; option java_package = "com.google.wireless.android.play.playlog.proto"; option java_outer_classname = "ClientAnalytics"; // Semi-arbitrary key-value pairs describing the event. Common entries // will be extracted into strongly typed fields in the GWS log records. message LogEventKeyValues { optional string key = 1; optional string value = 2; } // The set of currently active experiments for a given LogEvent. // // Next tag: 6 message ActiveExperiments { // The list of IDs of client-behavior-altering experiments that are on. repeated string client_altering_experiment = 1; // The list of IDs of other experiments that are on. The client must not // change its behavior in response to these experiments. repeated string other_experiment = 2; // The list of GWS experiments that are on. These are not targeted by Playlog. repeated int32 gws_experiment = 3; // The list of Play experiments that are enabled for this LogEvent. // Includes both client-side and server-side experiments. repeated int64 play_experiment = 4; // The list of Play experiments that were sent to the client for this LogEvent // but is not recognized by the client. May include server-side experiments // that were active, so correct this list in the logging service. repeated int64 unsupported_play_experiment = 5; } // Next tag: 25 message LogEvent { enum InternalEvent { NONE = 0; WALL_CLOCK_SET = 1; DEVICE_BOOT = 2; } // Epoch time in milliseconds, according to the wall clock. // See http://go/clearcut-timestamps for details on how this value is used. // This field is required for Odyssey. Otherwise, events will be silently // dropped. optional int64 event_time_ms = 1; // Time in milliseconds since the device was booted. (On Android this // is the result of SystemClock.elapsedRealtime(), not // SystemClock.uptimeMillis() which does not increment when the device is in // deep sleep.) // // See http://go/clearcut-timestamps for details on how this value is used for // timestamp corrections. It is also copied to // PlayExtension.client_elapsed_realtime_millis if the routing option // "include_client_elapsed_realtime_millis" is set to true. optional int64 event_uptime_ms = 17; // Client generated sequence position for this event - defines a total order // for events from a given device. If event A's sequence position is less than // event B's sequence position, then event A happened before event B. optional int64 sequence_position = 21; // Type of event, could be "CLICK" or "PAGE_VIEW" or "DOWNLOAD_STATUS". // There will be a common repository of cross-vertical events that should be // used, but any individual app would be free to define their own tags. // // STRONGLY DISCOURAGED: use event_code instead. optional string tag = 2; // Type of event. Different kinds of events inside a client app should have // different values of 'event_code'. Different client apps may have // overlapping sets of 'event_code' values; these values are only meant to // make sense within the context of a single client app, as identified by // the 'log_source' field of LogRequest. // // A typical way to use 'event_code' is to define the enum of possible values // inside of the custom logging extension proto. // TODO(abednego): add an example CL. // // This enum type should be annotated with a LogEventRoutingConfig proto. optional int32 event_code = 11; // Identifies a group of events that belong to the same flow or session of // user interaction, which is a client-specific concept. // // These IDs are used in the Clearcut/UMA pipeline for computing latencies // between pairs of events, where it is necessary to ensure that both events // belong to the same flow. // // For example, the Google Play team may want to give a unique ID to each // purchase session, including all of the events starting from the initial // search for an app to the eventual purchase and installation of the app. // Another example would be the Search app wanting to tie together search // query events and clicks on search results, especially if several instances // of the app may be active at the same time. optional int32 event_flow_id = 12; // Whether this event was initiated by the user at the time of the event or // shortly before (vs. a background event like upgrading a database after the // app was automatically updated). optional bool is_user_initiated = 10; // These might contain PII and will not be stored for more than 8 days. // If possible, please create a named field in the protos below instead. repeated .wireless_android_play_playlog.LogEventKeyValues value = 3; // TODO(jsw): Remove. We can't do that as of 2015/08/13 because we still get // several thousand QPS from ancient Play Store clients who use this field. // // Extension for Play Store app logs. Real type is PlayStoreLogEvent. This // exists to support legacy clients. Use source_extension instead. optional bytes store = 4; // WAS optional PlaylogGamesExtension games = 5; // First-party app usage tracking. Used only when log_source = APP_USAGE_1P. optional .wireless_android_play_playlog.AppUsage1pLogEvent app_usage_1p = 9; // A source specific extension (typically a serialized proto). The type of // this data is determined by the log_source of the enclosing LogRequest. // The proto is derived by calling ParseFromString method in // net/proto2/public/message_lite.h. optional bytes source_extension = 6; // A jspb version of source_extension, using array serialization format. // More info on JSPB at go/jspb. optional string source_extension_js = 8; // A stringified json proto version of source_extension. The json string is // converted back to proto using the json_format utility at // net/proto2/util/public/json_format.h, without any flags. optional string source_extension_json = 13; // The set of currently active experiments. If missing, then the server will // assume that experiment on/off status has not changed since the previous // LogEvent message in the same LogRequest proto. If missing in the very first // LogEvent of a LogRequest, then the server will assume that all experiments // are off. optional .wireless_android_play_playlog.ActiveExperiments exp = 7; // A string for identifying a test run. You may use this string to group log // data coming from a test run. Usually logs from test apps or from normal // apps running on test devices will have this field set. optional string test_id = 14; // User's timezone offset from UTC in seconds. If the user's UTC time // is X millis then the on-device clock time would be // X + timezone_offset_seconds * 1000. // The default value is non-sensical, mainly so that 0 can be distinguished // from "not specified" using proto nano (and without changing our build // options to use reference types for primitives). optional sint64 timezone_offset_seconds = 15 [default = 180000]; // serialized DeviceExperimentIds; the experiment ids are propagated // to GWSLog experiment ids optional .wireless_android_play_playlog.ExperimentIds experiment_ids = 16; // Serialized proto message of ClientVisualElementsProto as defined in // logs/proto/visual_element/client_visual_elements.proto. The client can // optionally send a log event with this field set. In this case, clearcut // server needs to deserialize the bytes as a ClientVisualElementsProto and // sets appropriate fields in the output GWSLogEntryProto. // // See http://go/NativeVeLogging for more information. optional bytes client_ve = 18; // Alternative serialized field for the client_ve field defined in 18. // Serialize using array serialization format. More info at go/jspb. optional string client_ve_js = 24; optional .wireless_android_play_playlog.LogEvent.InternalEvent internal_event = 19; // Indicates that an interesting thing has occurred. Used to narrow the set // of samples to consider in analysis. Test codes are copied to // GwsLogEntryProto.TestCode. // // See google3/ads/base/test_codes/test_codes.proto // for Ads' use of test codes. repeated int32 test_code = 20; // Number of times the device is known to have booted. Taken together, // {boot-count, uptime} pairs are a monotonically increasing counter which // can be used to order events accross log sources. optional int64 boot_count = 22; // The current network connectivity info when the event was logged in the // client optional .wireless_android_play_playlog.NetworkConnectionInfo network_connection_info = 23; extensions 1000 to 536870911; } // To describe the network connectivity of the client. // Next tag: 2 message NetworkConnectionInfo { // From android/frameworks/base/core/java/android/net/ConnectivityManager.java // Note: data will only be recorded for internet connections. This means // BLUETOOTH corresponds to when bluetooth was used for reverse tethering // (i.e. using a computer's internet connection on the phone) and NOT for // general device pairing via bluetooth, such as clockwork. enum NetworkType { NONE = -1; MOBILE = 0; WIFI = 1; MOBILE_MMS = 2; MOBILE_SUPL = 3; MOBILE_DUN = 4; MOBILE_HIPRI = 5; WIMAX = 6; BLUETOOTH = 7; DUMMY = 8; ETHERNET = 9; MOBILE_FOTA = 10; MOBILE_IMS = 11; MOBILE_CBS = 12; WIFI_P2P = 13; MOBILE_IA = 14; MOBILE_EMERGENCY = 15; PROXY = 16; VPN = 17; } // The current network connectivity type when the event was logged in the // client optional .wireless_android_play_playlog.NetworkConnectionInfo.NetworkType network_type = 1 [default = NONE]; } // The experiment ids, both in the clear and encrypted. message ExperimentIds { // The client selected experiment ids in the clear (e.g. from Chrome). // serialized experiments.heterodyne.DeviceExperimentIds optional bytes clear_blob = 1; // A jspb version of clear_blob, using array serialization format. // More info on JSPB at go/jspb. optional string clear_blob_js = 4; // encrypted serialized experiments.heterodyne.DeviceExperimentIds repeated bytes encrypted_blob = 2; // indicates whether the Phenotype committed user matches the upload account optional bool users_match = 3; } // Attributes specific to Android clients. // // Next tag: 23 message AndroidClientInfo { // "Gservices" android ID. Considered PII. Never logged in archival logs. optional int64 android_id = 1; // Pseudonymous, random id (sticky) per device. May only be logged in temp // logs if GWSLogEntryProto.UserInfo.UserId is not set. optional string logging_id = 2; // Device ID referenced by android.provider.Settings.Secure.ANDROID_ID. // Considered PII. Never logged in archival logs. optional int64 device_id = 18; // This comes from android.os.Build.VERSION.SDK_INT. optional int32 sdk_version = 3; // Textual description of the client platform. e.g., "Nexus 4". // This comes from android.os.Build.MODEL. optional string model = 4; // The name of the overall product. e.g., "occam". // This comes from android.os.Build.Product. optional string product = 5; // The name of the hardware (from the kernel command line or /proc). // This comes from android.os.Build.Hardware. e.g., "mako". optional string hardware = 8; // The name of the industrial design. e.g., "mako". // This comes from android.os.Build.Device. optional string device = 9; // This comes from android.os.Build.ID. e.g., something like "JRN54F". optional string os_build = 6; // The client application version. The java int version in the android package // converted to string. optional string application_build = 7; // The mobile country code / mobile network code (MCC/MNC). // e.g., 310004 for Verizon USA. optional string mcc_mnc = 10; // The chosen locale from the client. e.g., "en_US", "ko_KR", "en_GB". optional string locale = 11; // The chosen country from the client. e.g., "US", "KR", "JP". optional string country = 12; // The manufacturer of the hardware. // This comes from android.os.Build.MANUFACTURER optional string manufacturer = 13; // The brand the software is customized for, if any. Often a carrier name. // e.g. "google" // from http://developer.android.com/reference/android/os/Build.html#BRAND optional string brand = 14; // The name of the underlying board // e.g. "tuna" // from http://developer.android.com/reference/android/os/Build.html#BOARD optional string board = 15; // Radio version as reported by device, if available at reporting time // e.g. "I9250XXLJ1" // from http://developer.android.com/reference/android/os/Build.html#getRadioVersion() optional string radio_version = 16; // Device model/build fingerprint. // This comes from android.os.Build.FINGERPRINT. optional string fingerprint = 17; // android.content.pm.PackageInfo.versionCode of com.google.android.gms. // e.g., 6031030 optional int32 gms_core_version_code = 19; // Whether the device is a Sidewinder device. See go/sidewinder-summary. optional bool is_sidewinder_device = 20; // The Chimera module config info describing the module sets on the device // when the event is logged in the client. // This is a proto of ChimeraConfigInfo residing in // google3/logs/proto/wireless/android/play/playlog/chimera_modules.proto. optional bytes chimera_config_info = 21; // Indicates if the device is passing in the LogRequest.LogSource integer // value instead of passing in a string for log_source_name. // This field is not set by the client, but by the server after parsing the // request. optional bool using_log_source_int = 22; } // Attributes specific to web/mobile browsers. // // Next tag: 5 message BrowserInfo { // Locale of the browser. Usually the same as the Accept-Language header but // can be overridden by the hl query-string parameter. optional string locale = 1; // Name of the browser. This comes from analytics.browserInfo.NAME. optional string browser = 2; // Version of the browser. This comes from goog.userAgent.product.VERSION. optional string browser_version = 3; // Version of flash the browser is using. // This comes from goog.userAgent.flash.VERSION. Should not be included if // goog.userAgent.flash.HAS_FLASH is false. optional string flash_version = 4; } // Attributes specific to desktop clients. // // Next tag: 8 message DesktopClientInfo { // Sticky ID that should be considered PII. optional string client_id = 1; // Pseudonymous, random id (sticky) per device. May only be logged in temp // logs if GWSLogEntryProto.UserInfo.UserId is not set. optional string logging_id = 2; // e.g., "mac", "windows", "linux" optional string os = 3; // e.g., "10.7", "Vista", "Win7" optional string os_major_version = 4; // e.g., "10.7.3", "Win7 SP1" optional string os_full_version = 5; // The client application version. optional string application_build = 6; // The chosen country from the client. e.g., "US", "KR", "JP". // Where this comes from is currently app-specific optional string country = 7; } // Attributes specific to iOS clients. // // NOTE(vjalan): Fields of this proto are made available as conditions for iOS // client-side experimentation in Heterodyne. Fields which contain PII should be // annotated with experiments.heterodyne.ignore_for_application_properties to // ensure that they cannot be used as conditions. // // Next tag: 9 message IosClientInfo { // Sticky ID that should be considered PII. optional string client_id = 1; // Pseudonymous, random id (sticky) per device. May only be logged in temp // logs if GWSLogEntryProto.UserInfo.UserId is not set. optional string logging_id = 2; // The major OS version of an iOS client. optional string os_major_version = 3; // The minor OS version of an iOS client. optional string os_full_version = 4; // The client application version. optional string application_build = 5; // The chosen country from the client. e.g., "US", "KR", "JP". // This is typically populated based on the value of: // [[NSLocale currentLocale] objectForKey:NSLocaleCountryCode] optional string country = 6; // The unix name (uname) for the model from an iOS client. e.g., "iPhone6,1" // for iPhone 5s. optional string model = 7; // The current language displayed to user. e.g., "en", "fr", "en-AU", or "de" // This comes from [[NSBundle mainBundle] preferredLocalizations]; and is: // "[language designator]" or "[language designator]-[region designator]" // format based off of what localization is available and displayed to user. optional string language_code = 8; } // Attributes specific to Pancetta Chrome app clients. Pancetta clients will be // Chrome apps running on desktops or a headless network access point. The apps // are used to upload data from wearables to Pancetta servers. // // Next tag: 6 message PancettaClientInfo { // Operating system. // Next tag: 7 enum OsType { OS_TYPE_UNKNOWN = 0; OS_TYPE_MAC = 1; OS_TYPE_WINDOWS = 2; OS_TYPE_ANDROID = 3; OS_TYPE_CROS = 4; OS_TYPE_LINUX = 5; OS_TYPE_OPENBSD = 6; } // Device ID that should be considered PII. This should only be filled by // Pancetta's headless network access point which is manufactured and // distributed by Google. optional string device_id = 1; // The OS that Chrome is running on. optional .wireless_android_play_playlog.PancettaClientInfo.OsType os = 2; // The Chrome app id. optional string app_id = 3; // The Chrome app version. optional string app_version = 4; // Optional. Mobile Country Code and Mobile Network Code if possible. // This is for the headless network access point. optional string mcc_mnc = 5; } // Attributes specific to third-party CE devices. // CE devices scope // - Roku // - Smart TV (Non Android-TV) // - PlayStation 3/4 // - XBox 360/One // // We do not specify types of devices since it is defined by the pair of // device_make and device_model (e.g.: make=roku + model=2500X = streaming box, // make=lge + model=42LN5700 = Smart TV, make=tivo + model=roamio = Set Top Box) // Next tag: 9 message PlayCeClientInfo { // Sticky ID that should be considered PII. This is the device serial number // or another device identifier that, together with make and model, uniquely // identifies the device. optional string client_id = 1; // Pseudonymous, random id (sticky) per device. May only be logged in temp // logs if GWSLogEntryProto.UserInfo.UserId is not set. optional string logging_id = 7; // Device make. E.g.: samsung, lge, google, sony, microsoft. // Case insensitive. RoKu==roku. optional string make = 3; // Device model. E.g.: 2500X. Case insensitive. 2500X==2500x. optional string model = 4; // App version/build. Each application defines it for itself. // E.g.: GPM20140708-171921 on make=roku and model=2500X corresponds to a // combination of BrightScript and C++ code compiled for mips // from the git snapshot of the GPM app at the given time (20140708-171921). optional string application_build = 5; // Platform version. E.g.: 5.5. (Roku FW version for Play Movies launch). Can // include letters (e.g.: 5.5.3254b for a beta build #3254 of the FW release // 5.5). optional string platform_version = 6; // The chosen country from the client. e.g., "US", "KR", "JP". // Where this comes from is currently app-specific optional string country = 8; } // Attributes specific to VR clients. These are applications built on top of // the cross-platform Google Virtual Reality Toolkit (aka GVR). They run on a // variety of platforms including Android Cardboard, IOS Cardboard, Oculus, etc // // This may be an Android phone for Cardboard, or may be a full VR headset. // // Next tag: 11 message VrClientInfo { // The type of VR client that made this request. // Next enum tag: 6 enum VrClientType { // VR client type is unknown. UNKNOWN = 0; // Client type is an Android device using the Cardboard SDK. ANDROID_CARDBOARD_SDK = 1; // Client type is an iOS device using the Cardboard SDK. IOS_CARDBOARD_SDK = 2; // Client type is an Android device using Unity SDK. ANDROID_UNITY_SDK = 3; // Client type is an iOS device using Unity SDK. IOS_UNITY_SDK = 4; // Client type is a Windows machine (e.g. VrApp running Oculus or Valve). WINDOWS = 5; } // The VR client type for this client. One of the enum values defined above. optional .wireless_android_play_playlog.VrClientInfo.VrClientType vr_client_type = 1; // The VR client OS SDK version, in a format appropriate for the platform. optional string sdk_version = 2; // The VR device build fingerprint, in a format appropriate for the platform. optional string fingerprint = 3; // Version of the Google VR Toolkit (aka GVR). optional string gvr_version = 4; // The manufacturer of the client, for example Samsung. optional string manufacturer = 5; // The model of the client, for example Nexus 6. optional string model = 6; // The chosen language from the client. e.g., "en", "ko". We originally // logged locale, but after a privacy review switched to only log language. optional string language = 7; // The chosen country from the client. e.g., "US", "KR", "JP". optional string country = 8; // The version of the Unity runtime. optional string unity_version = 9; // The version of Google's VR Unity SDK. optional string unity_sdk_version = 10; } // Note: we don't store any user identifiers here. // All VR clients use Zweiback. // Attributes specific to JavaScript clients. // // Next tag: 7 message JsClientInfo { enum OsType { OS_UNKNOWN = 0; MAC = 1; WINDOWS = 2; ANDROID = 3; LINUX = 4; CHROME_OS = 5; IPAD = 6; IPHONE = 7; IPOD = 8; } enum DeviceType { UNKNOWN = 0; MOBILE = 1; TABLET = 2; DESKTOP = 3; } // e.g., "mac", "windows", "linux" optional string os = 1; // The OS version (not available for everything). optional string os_version = 2; optional .wireless_android_play_playlog.JsClientInfo.DeviceType device_type = 3; // The country from the client. e.g., "US", "KR", "JP". // Only populated if the client explicitly sets it. optional string country = 4; // The locale used to display the page, e.g., "de_DE", "en", "en_US"; this may // differ from the browser's locale if the user overrode the language // settings. // Only populated if the client explicitly sets it. optional string locale = 5; // e.g., MAC, WINDOWS, ANDROID etc. optional .wireless_android_play_playlog.JsClientInfo.OsType os_type = 6; } // Next tag: 12 message ClientInfo { // The type of client that made this request. // Next enum tag: 10 enum ClientType { // Client type is unknown. UNKNOWN = 0; // Client type is Javascript. JS = 1; // Desktop client type. DESKTOP = 2; // iOS client type. IOS = 3; // Android client type. ANDROID = 4; // This is to be used by third party consumer electronics devices // with GooglePlay apps, e.g.: Roku, Smart TVs etc. PLAY_CE = 5; // Python client type. PYTHON = 6; // VR client type. VR = 7; // Pancetta client type. go/pancetta PANCETTA = 8; // DriveFS client type. go/drive-fs DRIVE_FS = 9; } // The client type for this client. One of the enum values defined above. optional .wireless_android_play_playlog.ClientInfo.ClientType client_type = 1; // Identical to GWSLogEntryProto.RemoteHost. // Set by the Clearcut server when ClientInfo is written to Footprints. // Do not set this value in client code; the server will ignore it. optional string remote_host = 6; // Identical to GWSLogEntryProto.RemoteHost6. // Set by the Clearcut server when ClientInfo is written to Footprints. // Do not set this value in client code; the server will ignore it. optional string remote_host6 = 7; // Only one of the following *_client_info fields will exist in any request. optional .wireless_android_play_playlog.AndroidClientInfo android_client_info = 2; optional .wireless_android_play_playlog.DesktopClientInfo desktop_client_info = 3; optional .wireless_android_play_playlog.IosClientInfo ios_client_info = 4; optional .wireless_android_play_playlog.PlayCeClientInfo play_ce_client_info = 5; optional .wireless_android_play_playlog.VrClientInfo vr_client_info = 8; // Pancetta contact: pancetta-cloud-eng@. optional .wireless_android_play_playlog.PancettaClientInfo pancetta_client_info = 10; // The browser used to make the request, if accessing through any web client. optional .wireless_android_play_playlog.BrowserInfo browser_info = 9; optional .wireless_android_play_playlog.JsClientInfo js_client_info = 11; } // The list of IDs of experiments that are currently on for this client. All // other experiments are off. // // Next tag: 2 message ExperimentIdList { // IDs are sorted and do not contain duplicates. repeated string id = 1; } // First party app usage log event extension. // Used only when log_source = APP_USAGE_1P. // // TODO(jsw): Investigate whether anyone is actually using this, and if not, // remove it. // // Next tag: 4 message AppUsage1pLogEvent { // A wireless.android.stats.playlog.activeusers.AppType.Id value. See // google3/wireless/android/stats/playlog/activeusers/apptype.proto. optional int32 app_type = 1; // Package name of the app (on Android). optional string android_package_name = 2; // Version of the app. optional string version = 3; } // A BatchedLogRequest represents a batched collection of log requests. // // Next tag: 2 message BatchedLogRequest { repeated .wireless_android_play_playlog.LogRequest log_request = 1; } // A LogRequest represents a batched collection of loggable events, each event // to be processed and sent to zero or more destinations (e.g. Sawmill log types // or Footprints) by the Clearcut server. // // Next tag: 13 message LogRequest { enum LogSource { option allow_alias = true; UNKNOWN = -1; STORE = 0; // Google Play Store Android App WEB_STORE = 65; // Google Play Web Store (https://play.google.com/store) WORK_STORE = 132; // Play for Work on the web client (Worksky) WORK_STORE_APP = 261; // Play for Work on the Google Play Store Android App EDU_STORE = 15; // for collecting stats on Play for Education MUSIC = 1; BOOKS = 2; VIDEO = 3; // Android Video (go/avi, android-video-oncall@) MOVIES = 74; MAGAZINES = 4; GAMES = 5; LB_A = 6; // for collecting app usage stats (Lockbox project) ANDROID_IDE = 7; // Android IDE (deprecated, see ANDROID_STUDIO below) LB_P = 8; // for collecting phone call events and stats (Lockbox project) LB_S = 9; // for collecting SMS events and stats (Lockbox project) GMS_CORE = 10; // Usage of GMS Core itself and its internal stats APP_USAGE_1P = 11; // First-party app usage tracking. ICING = 12; // Icing stats (AppDataSearch go/icing) HERREVAD = 13; // for collecting Nova Network quality data GOOGLE_TV = 14; // Google TV, not Eureka. GMS_CORE_PEOPLE = 16; // GMS core people (aka menagerie, zhengfu@, android-contacts@) LE = 17; // Location Engine statistics GOOGLE_ANALYTICS = 18; // Google Analytics SDK health monitoring LB_D = 19; // for collecting device state changes (Lockbox project) ANDROID_GSA = 20; // Android GSA (Google Search App) stats LB_T = 21; // for collecting Android RunningTaskInfo (Lockbox project) PERSONAL_LOGGER = 22; // PixelPerfect activity logger PERSONAL_BROWSER_LOGGER = 37; // PixelPerfect Chrome extension logger GMS_CORE_WALLET_MERCHANT_ERROR = 23; // GMS core wallet merchant errors LB_C = 24; // Android contacts going from Now to HappyHour.log_event_extension_test LB_IA = 52; // Android installed apps going from Now to HappyHour. LB_CB = 237; // Android contacts for backup/restore purpose. LB_DM = 268; // Android device metadata used for contacts backup/restore // purpose. ANDROID_AUTH = 25; // for collecting GMS core android auth data ANDROID_CAMERA = 26; // Android camera usage statistics CW = 27; // Clockwork interaction logs CW_COUNTERS = 243; // Clockwork counters GEL = 28; // Google experience launcher logs (http://go/signac). DNA_PROBER = 29; // DNA logger (for internal research), go/dna2014. UDR = 30; // For collecting Android app usage data. GMS_CORE_WALLET = 31; // GMS core wallet analytics SOCIAL = 32; // Traffic from Social clients: gplus-log-quality@ INSTORE_WALLET = 33; // Instore play payments NOVA = 34; // Nova client logs. LB_CA = 35; // DEPRECATED: Android contact account data going from Now to Footprints. LATIN_IME = 36; // Google Keyboard (http://go/google-keyboard) NEWS_WEATHER = 38; // News & Weather Android/iOS apps HANGOUT = 39; // Deprecated source for HangoutLogEntry (rtc-analytics-eng@) HANGOUT_LOG_REQUEST = 50; // Hangouts data using HangoutLogRequest (rtc-analytics-eng@) COPRESENCE = 40; // Copresence (http://go/whisper) SOCIAL_AFFINITY = 41; // Social Affinity logs (go/disco-logging-v2). PHOTOS = 42; // Google Photos (go/photos). GCM = 43; // Google Cloud Messaging logs (go/gcm). GOKART = 44; // GoKart (go/gokart, Drive Android API) FINDR = 45; // Findr app (go/findr). ANDROID_MESSAGING = 46; // Android messenger(Bugle). SOCIAL_WEB = 47; // Traffic from Social clients: gplus-log-quality@. BACKDROP = 48; // Backdrop device logs (go/tv-imax). TELEMATICS = 49; // Telematics app (go/telematics). GVC_HARVESTER = 51; // GVC Harvester (go/harvesterdesigndoc) CAR = 53; // Android Automotive (go/gearhead). PIXEL_PERFECT = 54; // PixelPerfect app client log (go/pixelperfect-analytics) DRIVE = 55; // Google Drive (go/cakemix, nickread@, cakemix-drive@) DOCS = 56; // Google Docs (go/cakemix, haluk@, bulach@, tstrauss@) SHEETS = 57; // Google Sheets (go/cakemix, tgleason@, bulach@, tstrauss@) SLIDES = 58; // Google Slides (go/cakemix, yugacohler@, bulach@, tstrauss@) IME = 59; // Google Android IME logs (go/goopy). WARP = 60; // Warp (go/warp-project) NFC_PROGRAMMER = 61; // NfcProgrammer (go/aedu-platform-overview) NETSTATS = 62; // Collection of Network Statistics (go/n-s). NEWSSTAND = 63; // Google Play Newsstand. KIDS_COMMUNICATOR = 64; // Kids Communicator (http://goto/kidscommunicator_dd) WIFI_ASSISTANT = 66; // WiFi Assistant client logs. CAST_SENDER_SDK = 67; // Cast Sender SDK (go/dongle) CRONET_SOCIAL = 68; // Social cronet metrics. PHENOTYPE = 69; // The client side of experiment framework (go/ph, peiling@, phenotype-eng@). PHENOTYPE_COUNTERS = 70; // The counters for Phenotype (go/ph, peiling@, phenotype-eng@). CHROME_INFRA = 71; // Chrome Infrastructure events JUSTSPEAK = 72; // JustSpeak (go/justspeak) PERF_PROFILE = 73; // Android Wide Profiling (go/android-wide-profiling) KATNISS = 75; // Android TV search (go/atv-search) SOCIAL_APPINVITE = 76; // Google Plus Platform App Invite (go/appinvite) GMM_COUNTERS = 77; // Google Maps Mobile (go/gmm). BOND_ONEGOOGLE = 78; // Bond OneGoogleBar integration (go/bond-ogb) MAPS_API = 79; // Android and iOS Maps API (go/mapview & go/meridian) CRONET_ANDROID_YT = 196; // Cronet UMA logs from Android YT (go/cronet-uma) CRONET_ANDROID_GSA = 80; // Cronet UMA logs from Android GSA (go/cronet-uma) GOOGLE_FIT_WEARABLE = 81; // Google Fit Wearable App (go/heart) FITNESS_ANDROID = 169; // Google Fit Android App (go/heart) FITNESS_GMS_CORE = 170; // Google Fit GMSCore (go/heart) GOOGLE_EXPRESS = 82; // Google Express (go/gsx) GOOGLE_EXPRESS_DEV = 215; // Google Express (go/gsx) For DEV mall server GOOGLE_EXPRESS_COURIER_ANDROID_PRIMES = 228; // Google Express (go/gsx) Courier App metric logging (go/primes) GOOGLE_EXPRESS_ANDROID_PRIMES = 229; // Google Express (go/gsx) App metric logging (go/primes) GOOGLE_EXPRESS_STOREOMS_ANDROID_PRIMES = 240; // Google Express (go/gsx) Store OMS App metric logging (go/primes) SENSE = 83; // Sense (go/sense) ANDROID_BACKUP = 84; // Android Backup Service. VR = 85; // Virtual Reality and Google Cardboard (go/vr-team) IME_COUNTERS = 86; // The counters for Google Android IME (go/goopy). SETUP_WIZARD = 87; // Setup Wizard (go/suw) EMERGENCY_ASSIST = 88; // Barton (go/barton-deprecation) TRON = 89; // The event logs for Android Framework (go/tron, cwren@, khigaki@, tron-eng@). TRON_COUNTERS = 90; // The counters for Android Framework (go/tron, cwren@, khigaki@, tron-eng@). BATTERY_STATS = 91; // For collecting battery performance data from Android clients. (go/androidplatformstats, belland@, clearcut-eng@) DISK_STATS = 92; // For collecting disk utilization stats from Android clients. (go/androidplatformstats, belland@, clearcut-eng@) GRAPHICS_STATS = 107; // For collecting rendering performance stats from Android clients. (go/androidplatformstats, belland@, clearcut-eng@) PROC_STATS = 93; // For collecting memory utilization stats from Android clients. (go/androidplatformstats, belland@, clearcut-eng@) DROP_BOX = 131; // For collecting DropBox logs from Android clients. FINGERPRINT_STATS = 181; // For collecting fingerprint stats from Android clients. (go/android-fingerprintstats) NOTIFICATION_STATS = 182; // For collecting notification stats from Android clients. (go/android-notificationstats) TAP_AND_PAY_GCORE = 94; // Tap and Pay client service layer (go/tp2-eng) A11YLOGGER = 95; // Accessibility Settings Logger (go/a11ylogger) GCM_COUNTERS = 96; // Google Cloud Messaging counters (go/gcm). PLACES_NO_GLS_CONSENT = 97; // Mobile Places API logs without GLS consent (go/ios-places-api). TACHYON_LOG_REQUEST = 98; // WebRTC Tachyon (go/tachyon) TACHYON_COUNTERS = 99; // WebRTC Tachyon (go/tachyon) VISION = 100; // Vision (go/mobile-vision) SOCIAL_USER_LOCATION = 101; // Location Sharing (go/location-sharing) LAUNCHPAD_TOYS = 102; // Launchpad Toys (go/launchpadtoys) METALOG_COUNTERS = 103; // Counters for metalog (go/clearcut-metalog, iamawong@, clearcut-eng@) MOBILESDK_CLIENT = 104; // go/greenhouse ANDROID_VERIFY_APPS = 105; // go/safety-net ADSHIELD = 106; // go/adshield SHERLOG = 108; // Sherlog data (go/sherlog) LE_ULR_COUNTERS = 109; // Counters for ULR (go/gcore-ulr). Location custom events use LE. GMM_UE3 = 110; // Logs for GMM analytics and sessions (go/gca-analytics) CALENDAR = 111; // Google Android Calendar ENDER = 112; // Logs for Ender (go/ender) FAMILY_COMPASS = 113; // go/familycompass TRANSOM = 114; // Transom client-side metrics (go/transom) TRANSOM_COUNTERS = 115; // Counters for transom metrics LB_AS = 116; // App usage collected by the new UsageStats API (Lockbox project). LB_CFG = 117; // Device config collected by the new UsageStats API (Lockbox project). IOS_GSA = 118; // iOS GSA (Google Search App) stats TAP_AND_PAY_APP = 119; // Tap and Pay android app, aka Android pay app (go/tp2) TAP_AND_PAY_APP_COUNTERS = 265; // Tap and Pay android app counters FLYDROID = 120; // Logs for Flydroid (go/flydroid). CPANEL_APP = 121; // CPanel latency on mobile. ANDROID_SNET_GCORE = 122; // go/safety-net ANDROID_SNET_IDLE = 123; // go/safety-net ANDROID_SNET_JAR = 124; // go/safety-net CONTEXT_MANAGER = 125; // Logs for Context Manager (go/context-manager) CLASSROOM = 126; // App usage of the go/classroom app. TAILORMADE = 127; // Logs for Tailormade app (go/a1-tm) KEEP = 128; // Logs for Keep (go/keep). GMM_BRIIM_COUNTERS = 129; // GMM BRIIM counters (go/gmm-briim) CHROMECAST_APP_LOG = 130; // Logs for chromecast app (go/chromecastapplogs) ADWORDS_MOBILE = 133; // Logs for AdWords mobile app (go/awm) LEANBACK_EVENT = 134; // Logs for Android TV Leanback Launcher (go/android-tv) ANDROID_GMAIL = 135; // Logs for Gmail (go/android-gmail-clearcut, shahrk@, android-mail-team@) SAMPLE_SHM = 136; // Logs for system health metric and memory metric sample app (go/primes) GPLUS_ANDROID_PRIMES = 140; // Logs for system health metric for Gplus (go/primes) GPLUS_ANDROID_SYSTEM_HEALTH = 140; GMAIL_ANDROID_PRIMES = 150; // Logs for system health metric for GMail (go/primes) GMAIL_ANDROID_SYSTEM_HEALTH = 150; CALENDAR_ANDROID_PRIMES = 151; // Logs for system health metric for Calendar (go/primes) CALENDAR_ANDROID_SYSTEM_HEALTH = 151; DOCS_ANDROID_PRIMES = 152; // Logs for system health metric for Docs (go/primes) DOCS_ANDROID_SYSTEM_HEALTH = 152; YT_MAIN_APP_ANDROID_PRIMES = 154; // Logs for system health metric for the YouTube main app (go/primes) YT_KIDS_ANDROID_PRIMES = 155; // Logs for system health metric for the YouTube kids app (go/primes) YT_GAMING_ANDROID_PRIMES = 156; // Logs for system health metric for the YouTube gaming app (go/primes) YT_MUSIC_ANDROID_PRIMES = 157; // Logs for system health metric for the YouTube music app (go/primes) YT_LITE_ANDROID_PRIMES = 158; // Logs for system health metric for the YouTube lite app (go/primes) YT_CREATOR_ANDROID_PRIMES = 171; // Logs for system health metric for the YouTube Creator Studio app (go/primes) JAM_ANDROID_PRIMES = 159; // Logs for system health metric for Jam (go/jam, go/primes) JAM_KIOSK_ANDROID_PRIMES = 160; // Logs for system health metric for Jam Kiosk (go/jam, go/primes) PHOTOS_ANDROID_PRIMES = 165; // Logs for system health metric for Photos (go/primes) DRIVE_ANDROID_PRIMES = 166; // Logs for system health metric for Drive (go/primes) SHEETS_ANDROID_PRIMES = 167; // Logs for system health metric for Sheets (go/primes) SLIDES_ANDROID_PRIMES = 168; // Logs for system health metric for Slides (go/primes) SNAPSEED_ANDROID_PRIMES = 178; // Logs for system health metric for Snapseed (go/primes, go/snapseed). HANGOUTS_ANDROID_PRIMES = 179; // Logs for system health metric for Shem (go/primes, go/rtc-shem). INBOX_ANDROID_PRIMES = 180; // Logs for system health metric for Inbox (go/primes, go/bt-speed) INBOX_IOS_PRIMES = 262; // Logs for ios system health metric for Inbox (go/primes-ios, go/bt-speed) SDP_IOS_PRIMES = 287; // Logs for ios system health metric for sdp (go/primes-ios, go/bt-speed) GMSCORE_ANDROID_PRIMES = 193; // Logs for system health metric for GmsCore (go/primes) PLAY_MUSIC_ANDROID_WEAR_PRIMES = 200; // Logs for system health metric for Play Music for Android Wear (music-android-wear@, go/wear-play-music, go/primes) GEARHEAD_ANDROID_PRIMES = 201; // Logs for system health metric for the Android Auto (GearHead) app (go/primes, go/gearhead) INSTORE_CONSUMER_PRIMES = 207; // Logs for system health metric for Hands Free (go/primes, go/instore-wallet) SAMPLE_IOS_PRIMES = 202; // Logs for ios system health metric and memory metric sample app (go/primes-ios) CPANEL_ANDROID_PRIMES = 213; // Logs for android system health metric (go/cpanel-mobile) HUDDLE_ANDROID_PRIMES = 214; // Primes for Huddle (go/huddle) AWX_ANDROID_PRIMES = 222; // Primes for Google AdWords Express android app (go/primes, go/awx-android) GHS_ANDROID_PRIMES = 223; // Primes for Google Home Services android app (go/primes, go/sab-awx-android) ADWORDS_MOBILE_ANDROID_PRIMES = 224; // AdWords system health (go/awm, go/primes) TAP_AND_PAY_ANDROID_PRIMES = 227; // Primes for Tap and Pay android app, aka Android pay app (go/tp2) WALLET_APP_ANDROID_PRIMES = 232; // Primes for Wallet android app (go/gmoney) WALLET_APP_IOS_PRIMES = 233; // Primes for Wallet iOS app (go/gmoney) ANALYTICS_ANDROID_PRIMES = 235; // Logs for system health metric for Analytics Android app (go/primes) SPACES_ANDROID_PRIMES = 236; // Logs for the Spaces Android App (go/spaces) SPACES_IOS_PRIMES = 276; // Logs for the Spaces iOS App (go/spaces) SOCIETY_ANDROID_PRIMES = 238; // Logs for system health metric for Society (go/primes, go/society) GMM_BRIIM_PRIMES = 239; // Logs for system health metric for GMM BRIIM (go/gmm-briim) CW_PRIMES = 242; // Clockwork go/primes logs FAMILYLINK_ANDROID_PRIMES = 244; // Logs for system health metric for FamilyLink (go/primes) FAMILYLINK_IOS_PRIMES = 291; // Logs for ios system health metric for FamilyLink (go/primes-ios, go/familylink-ios-app) WH_PRIMES = 248; // Primes for Westinghouse (go/westinghouse, go/primes) NOVA_ANDROID_PRIMES = 249; // Nova client app system health metrics (go/primes) PHOTOS_DRAPER_ANDROID_PRIMES = 253; // Logs for system health metric for Photos Draper (go/primes, go/photos-draper) GMM_PRIMES = 254; // Logs for system health metric for aGMM (go/gmm) TRANSLATE_ANDROID_PRIMES = 255; // Logs for system health metric for Translate on Android (go/primes) TRANSLATE_IOS_PRIMES = 256; // Logs for system health metric for Translate on iOS (go/primes) FLYDROID_ANDROID_PRIMES = 259; // Log for system health metric for Freighter (go/freighter) CONSUMERIQ_PRIMES = 260; // Log for system health metric for Consumer IQ (go/primes) GMB_ANDROID_PRIMES = 263; // Primes for Google My Business android app (go/gmb-android, go/primes). CLOUDDPC_PRIMES = 304; // Primes for CloudDpc (go/clouddpc) CLOUDDPC_ARC_PRIMES = 305; // Primes for CloudDpc for ARC (go/clouddpc) ICORE = 137; // iOS logging (go/ios-logging) PANCETTA_MOBILE_HOST = 138; // Logs for Pancetta mobile hosts (go/pancetta) PANCETTA_MOBILE_HOST_COUNTERS = 139; // Counters for Pancetta mobile hosts (go/pancetta) CROSSDEVICENOTIFICATION = 141; // Logs for cross device notification service (go/hotpocket) CROSSDEVICENOTIFICATION_DEV = 142; // Dev logs for cross device notification service (go/hotpocket) MAPS_API_COUNTERS = 143; // Android and iOS Maps API (go/mapview & go/meridian) GPU = 144; // Logs for Geo Photo Uploader (go/gpu-site) ON_THE_GO = 145; // Logs for OnTheGo (go/onthego) ON_THE_GO_COUNTERS = 146; // Counters for OnTheGo (go/onthego) GMS_CORE_PEOPLE_AUTOCOMPLETE = 147; // Logs for Gcore People Autocomplete (go/yenta) FLYDROID_COUNTERS = 148; // Logs for Flydroid (go/flydroid). FIREBALL = 149; // Logs for Fireball (go/fireballdev) FIREBALL_COUNTERS = 257; // Fireball counters (go/fireballdev) CRONET_FIREBALL = 303; // Fireball cronet (go/fireballdev) FIREBALL_PRIMES = 266; // Logs for system health for Fireball (go/fireball-systemhealth-plan) FIREBALL_IOS_PRIMES = 313; // Logs for system health for Fireball iOS (go/fireball-systemhealth-plan) GOOGLE_HANDWRITING_INPUT_ANDROID_PRIMES = 314; // Primes for Google Handwriting Input (go/hwrime) PYROCLASM = 153; // Logs for Pyroclasm (go/pyroclasm) ANDROID_GSA_COUNTERS = 161; // Logs for AGSA counters. JAM_IMPRESSIONS = 162; // Impressions logs for Jam (go/jam). JAM_KIOSK_IMPRESSIONS = 163; // Impressions logs for Jam Kiosk (go/jam). PAYMENTS_OCR = 164; // Logs for payments ocr (go/cc-ocr-metrics). UNICORN_FAMILY_MANAGEMENT = 172; // Logs for Family management (and onboarding) go/familymanagement AUDITOR = 173; // Logs for Accesssibility Auditor (go/a11y-checker) NQLOOKUP = 174; // Logs for NQLookup (go/nqlookup, contact herrevad@google.com) ANDROID_GSA_HIGH_PRIORITY_EVENTS = 175; // Logs for high priority events in AGSA (go/click-tracking-agsa). ANDROID_DIALER = 176; // Logs for Android Dialer (go/android-dialer) CLEARCUT_DEMO = 177; // Logs for Clearcut's demo application APPMANAGER = 183; // Logs for Firebase App Manager (go/appmanager) SMARTLOCK_COUNTERS = 184; // Counters for Smart Lock (go/smartlock) EXPEDITIONS_GUIDE = 185; // Guide-aggregated logs for go/expeditions . FUSE = 186; // Logs for Fuse (go/fuse). PIXEL_PERFECT_CLIENT_STATE_LOGGER = 187; // Logs for PixelPerfect client app (go/pxp-client) PLATFORM_STATS_COUNTERS = 188; // Counters for platform stats.(go/androidplatformstats, clearcut-eng@) DRIVE_VIEWER = 189; // Google Drive Viewer Android and iOS apps (go/picoprojector) PDF_VIEWER = 190; // Google PDF Viewer Android app (go/picoprojector) BIGTOP = 191; // Logs for Bigtop (externally known as Inbox, go/bigtop). VOICE = 192; // Logs for Google Voice (go/googlevoice). MYFIBER = 194; // Logs for My Fiber mobile applications (go/myfibernative) RECORDED_PAGES = 195; // Logs for RecordedPages (go/recorded-pages) MOB_DOG = 197; // Logs for MobDog (go/mobdog) WALLET_APP = 198; // Logs for the Wallet app (go/gmoney) GBOARD = 199; // Logs for GBoard (go/gboard) CRONET_GMM = 203; // Cronet UMA logs from GMM (go/cronet-uma) TRUSTED_FACE = 204; // Logs for Trusted Face (go/smartlock) MATCHSTICK = 205; // Logs for Matchstick library (go/matchstick) APP_CATALOG = 206; // Logs for AppCatalog aka "Get My Google Apps" (go/growth) BLUETOOTH = 208; // Logs for Bluetooth (go/fluoride) WIFI = 209; // Logs for WiFi (go/connectivity-site) TELECOM = 210; // Logs for Telcom (go/connectivity-site) TELEPHONY = 211; // Logs for Telephony (go/connectivity-site) IDENTITY_FRONTEND = 212; // Logs for the Identity frontend (go/ifus-readme) SESAME = 216; // Logs for Sesame (go/sesame-logging) GOOGLE_KEYBOARD_CONTENT = 217; // Google Keyboard's Latin IME content logs (go/google-keyboard) MADDEN = 218; // Logs for Madden (go/madden) INK = 219; // Logs for Ink (go/ink) ANDROID_CONTACTS = 220; // Logs for Android Contacts (go/android-contacts) GOOGLE_KEYBOARD_COUNTERS = 221; // Google Keyboard histogram counters (go/google-keyboard) CLEARCUT_PROBER = 225; // Clearcut prober (go/clearcut-prober) PLAY_CONSOLE_APP = 226; // Logs for the Google Play Developer Console app PLAY_CONSOLE_APP_PRIMES = 264; // Log for system health metrics for the Google Play Developer Console app SPECTRUM = 230; // Spectrum (go/spectrum-site) SPECTRUM_COUNTERS = 231; // Spectrum (go/spectrum-site) SPECTRUM_ANDROID_PRIMES = 267; // Spectrum (go/spectrum-site) IOS_SPOTLIGHT_SEARCH_LIBRARY = 234; // Logs for the iOS Spotlight Search Library (go/tempeh-dd) BOQ_WEB = 241; // Logs for client-side analytics of Boq Web (go/boq-web) ORCHESTRATION_CLIENT = 245; // Orchestration client logs for prod environment (go/megalogs-design) ORCHESTRATION_CLIENT_DEV = 246; // Orchestration client logs for dev environment (go/megalogs-design) GOOGLE_NOW_LAUNCHER = 247; // Logs for Google Now Launcher (go/gnl-logging) SCOOBY_SPAM_REPORT_LOG = 250; // Logs of spam reports by scooby clients. (go/scooby) IOS_GROWTH = 251; // go/growthkit-metrics APPS_NOTIFY = 252; // Drive web push notifications (go/apps-notify) SMARTKEY_APP = 269; // Smart Key App for project Bolt (go/smartlock) CLINICAL_STUDIES = 270; // Lifescience Clinical Studies logs (go/apollox) FITNESS_ANDROID_PRIMES = 271; // System health metric for Google Fit Android App (go/heart, go/primes) IMPROV_APPS = 272; // Logs for Improv apps (go/improvlogging) FAMILYLINK = 273; // Family Link (go/familylink-dd) FAMILYLINK_COUNTERS = 274; // Family Link counters (go/familylink-dd) SOCIETY = 275; // NBU Society app (go/society) DIALER_ANDROID_PRIMES = 277; // Android Dialer Primes (go/dialer) YOUTUBE_DIRECTOR_APP = 278; // YouTube Director App (go/youtube-director) TACHYON_ANDROID_PRIMES = 279; // Android Tachyon Client DRIVE_FS = 280; // DriveFS (go/drive-fs) YT_MAIN = 281; // Logs for YT's main application WING_MARKETPLACE_ANDROID_PRIMES = 282; // Primes for Wing Marketplace Android app (go/wing-marketplace-android, go/primes) DYNAMITE = 283; // Logs for Dynamite (go/dynamite) CORP_ANDROID_FOOD = 284; // Logs for the internal Android Food app (g3doc/java/com/google/corp/bizapps/rews/food/android) ANDROID_MESSAGING_PRIMES = 285; // Primes for Android Messenger (go/bugledev, go/primes) GPLUS_IOS_PRIMES = 286; // Primes for Google+ iOS app (go/gplus-ios, go/primes) CHROMECAST_ANDROID_PRIMES = 288; // Primes for Chromecast Android app (go/cast-apps) APPSTREAMING = 289; // Logs for AppStreaming Client Framework Side (go/piccard) GMB_ANDROID = 290; // Logs for GMB Android app (go/gmb-android). VOICE_IOS_PRIMES = 292; // Primes for iOS Google Voice (go/googlevoice). VOICE_ANDROID_PRIMES = 293; // Primes for Android Google Voice (go/googlevoice). PAISA = 294; // NBU Paisa app (go/paisa) GMB_IOS = 295; // Logs for GMB iOS App (go/gmb-ios). SCOOBY_EVENTS = 296; // Call logs events by scooby clients. (go/scooby) SNAPSEED_IOS_PRIMES = 297; // Primes for Snapseed IOS (go/Snapseed) YOUTUBE_DIRECTOR_IOS_PRIMES = 298; // YouTube Director App (go/youtube-director) WALLPAPER_PICKER = 299; // Android wallpaper picker (go/magic-wallpapers) CHIME = 300; // Chime (go/chime) BEACON_GCORE = 301; // Logs for debugging beacon module (go/beacons) ANDROID_STUDIO = 302; // Android Studio (go/android-studio) DOCS_OFFLINE = 306; // Logs for Docs Offline on Desktop (go/jetpax) FREIGHTER = 307; // Logs for Freighter (http://go/freighter) DOCS_IOS_PRIMES = 308; // Logs for the Google Docs iOS application SLIDES_IOS_PRIMES = 309; // Logs for the Google Docs iOS application SHEETS_IOS_PRIMES = 310; // Logs for the Google Docs iOS application IPCONNECTIVITY = 311; // Logs for Networking (go/connectivity-site) CURATOR = 312; // Logs for curator app (go/curator) } // Different types schedulers for log upload. enum SchedulerType { UNKNOWN_SCHEDULER = 0; ASAP = 1; // As soon as possible used when log store is full. DEFAULT_PERIODIC = 2; QOS_FAST_ONEOFF = 3; QOS_DEFAULT_PERIODIC = 4; QOS_UNMETERED_PERIODIC = 5; } // "Now", in milliseconds, according to the same clock as the one used to set // the 'event_time_ms' values in the LogEvent protos above. optional int64 request_time_ms = 4; // Current time since boot in milliseconds, including time spent in sleep, // according to the same clock as the one used to set // the 'event_uptime_ms' values in the LogEvent protos above. optional int64 request_uptime_ms = 8; optional .wireless_android_play_playlog.ClientInfo client_info = 1; optional .wireless_android_play_playlog.LogRequest.LogSource log_source = 2 [default = UNKNOWN]; // If log_source is not present and log_source_name is present, the value of // log_source_name is parsed as a LogSource value and set to log_source. optional string log_source_name = 6; // cookie from pseudonymous id service at the time the event was posted optional string zwieback_cookie = 7; repeated .wireless_android_play_playlog.LogEvent log_event = 3; // Can be used instead of 'log_event' in order to save battery in cases where // LogEvent protos are already serialized, and deserializing is undesirable. // If used, this is a collection of byte streams each produced using a // CodedOutputStream. repeated bytes serialized_log_events = 5; // Quality of Service tier for log upload. optional .wireless_android_play_playlog.QosTierConfiguration.QosTier qos_tier = 9 [default = DEFAULT]; // The type of log upload scheduler. optional .wireless_android_play_playlog.LogRequest.SchedulerType scheduler = 10; // Device status. optional .wireless_android_play_playlog.DeviceStatus device_status = 11; // A timestamp taken from a source external to the device. For example, a GPS // timestamp. This can be more accurate than the device wall clock, but is not // guaranteed to be. That will depend on the source, and on the device // hardware and software that obtains the timestamp. optional .wireless_android_play_playlog.ExternalTimestamp external_timestamp = 12; extensions 1000 to 536870911; } // DeviceStatus captures device status including network connection status, // battery status, and etc. // Next tag: 5 message DeviceStatus { // Status of automatic date and time setting. enum AutomaticTime { // Device is using an older version of GmsCore (before U), or there was a // problem getting the setting. UNKNOWN = 0; // Automatic date and time was not enabled. AUTO_TIME_OFF = 1; // Automatic date and time was enabled. AUTO_TIME_ON = 2; } // Whether device network connection is unmetered. optional bool is_unmetered = 1; // Whether device is under charge. See link // http://developer.android.com/training/monitoring-device-state/battery-monitoring.html // This boolean returns true when status equals to // BatteryManager.BATTERY_STATUS_CHARGING || BatteryManager.BATTERY_STATUS_FULL optional bool is_charging = 2; // Whether automatic date and time is enabled on the device. See link // http://developer.android.com/reference/android/provider/Settings.Global.html#AUTO_TIME // Note, this does not guarantee correct device clock if NTP clock sync has // not occurred. optional .wireless_android_play_playlog.DeviceStatus.AutomaticTime auto_time_status = 3; // Is true if the device contains an account that has the @google.com domain. optional bool is_googler_device = 4; } // ExternalTimestamp captures a timestamp obtained by an external source. This // can be GPS or clock sync over the network. The timestamp is typically old, so // the device uptime when the timestamp was obtained is also included. The // source of this timestamp must guarantee that the timestamp is not older than // the most recent device boot. // Next tag: 4 message ExternalTimestamp { // A timestamp given by an external source. optional int64 time_ms = 1; // The device uptime when the timestamp was recorded. optional int64 uptime_ms = 2; // The name of the source that provided the timestamp. optional string source = 3; } // QosTierConfiguration configures what Quality of Service tier should be // applied to a given log source. // // Next tag: 3 message QosTierConfiguration { // Quality of Service tiers for Clearcut log upload. enum QosTier { // Use GcmNetworkManager to schedule logs upload every hour. DEFAULT = 0; // Log will be uploaded when the device is on an unmetered network. // Note that devices that rarely or never connect to unmetered networks // will end up losing many or all of these messages. UNMETERED_ONLY = 1; // Similar to the previous one, but if an upload opportunity does not arise // near to the end of the day, Clearcut will upload the data as soon as // the device is online (even if on a metered network). UNMETERED_OR_DAILY = 2; // Log will be uploaded as soon as the device is using the radio. // If not, log will be uploaded at the next DEFAULT-tier upload time. FAST_IF_RADIO_AWAKE = 3; // This is for server to override client QosTier setting. // If a certain log source's QosTier is set to NEVER, then Clearcut will // drop log events of that log source immediately and won't save them in // log store. NEVER = 4; } optional string log_source_name = 1; optional .wireless_android_play_playlog.QosTierConfiguration.QosTier qos_tier = 2; } // Next tag: 3 message QosTiersOverride { // Quality of Service tiers enforced by server for overriding client // qos_tier setting in event logging. // This usually happens when server is burdened with fast qos tiers. repeated .wireless_android_play_playlog.QosTierConfiguration qos_tier_configuration = 1; // The fingerprint of the qos_tier_configuration field. optional int64 qos_tier_fingerprint = 2; } // Next tag: 2 message LogSourceBatchingBlacklist { repeated string log_source_name = 1; } // Next tag: 5 message LogResponse { // Client should wait for next_request_wait_millis before sending the next // log request. optional int64 next_request_wait_millis = 1 [default = -1]; // If present, this is the new set of enabled experiments for this client. // Otherwise, the client should assume that there has been no change in the // set of enabled experiments. optional .wireless_android_play_playlog.ExperimentIdList experiments = 2; // Quality of Service tiers enforced by server for overriding client // qos_tier setting in event logging. optional .wireless_android_play_playlog.QosTiersOverride qos_tier = 3; // Enforced by server for telling Clearcut uploader not to group log events // from certain log sources. If it is not set, client will try to group log // events together with the same upload context without considering log // sources restrictions. Upload context includes following info. // 1. PlayLoggerContext.isAnonymous // 2. PlayLoggerContext.uploadAccountName // 3. PlayLoggerContext.zwiebackCookie // 4. PlayLoggerContext.qosTier optional .wireless_android_play_playlog.LogSourceBatchingBlacklist log_source_batching_blacklist = 4; } protos/src/main/proto/studio_stats.proto0100644 0000000 0000000 00000155353 13017773346 017652 0ustar000000000 0000000 // THIS IS A GENERATED FILE. DO NOT EDIT DIRECTLY. // Generated by //wireless/android/play/playlog/tools:strip_proto_file // from logs/proto/wireless/android/sdk/stats/studio_stats.proto // Regenerate by running // blaze build //logs/proto/wireless/android/sdk/stats:studio_stats_stripped // NOTE: Do not use oneof in this proto as we need to compile it with the // open source 2.5 version of the protobuf compiler for Android Studio which // does not support the oneof feature. syntax = "proto2"; package android_studio; option java_package = "com.google.wireless.android.sdk.stats"; option java_outer_classname = "AndroidStudioStats"; message AndroidStudioEvent { // Describes a group of event kinds related to each other. enum EventCategory { // The event was not grouped into any specific category (default). NO_EVENT_CATEGORY = 0; // The event is related to deployment to a device or emulator. DEPLOYMENT = 1; // Stats on builds from Studio. STUDIO_BUILD = 2; // The event is related to usage of 'Google Developer Services' // inside Android Studio. DEVELOPER_SERVICES = 3; // The event is related to interaction between Android Studio and Gradle. GRADLE_SYNC = 4; // The event is related to Performance Profiling. PROFILING = 5; // The event is related to Performance Monitoring. MONITOR = 6; // The event is related to the SDK Manager. SDK_MANAGER = 7; // The event is related to project/file templates. TEMPLATE = 8; // The event is related to Theme Editor. THEME_EDITOR = 9; // The event is related to App Indexing integration. // (http://go/studio-app-indexing) APP_INDEXING = 10; // The event is related to C++ debugging. LLDB = 11; // The event is related to Google Cloud Test Lab integration. CLOUD_TESTING = 12; // The event is a regular ping from the application. PING = 13; // The event is related to running tests. TESTS = 14; // The event is a meta event reporting metrics on metrics. META = 15; // The event is related to the Emulator UI EMULATOR_UI = 16; // The event describes System Info SYSTEM = 17; // The event is related to the Project Structure Dialog. PROJECT_STRUCTURE_DIALOG = 18; // The event is from the Android Gradle plugin. GRADLE = 19; // The event is related to the Firebase assistant. FIREBASE_ASSISTANT = 20; // The event is related to the GPU Profiler. GPU_PROFILER = 21; // the event is related to the test recorder (Cassette) TEST_RECORDER = 22; } // Specific kind of event, primary separation key of all Android Studio // related events. enum EventKind { UNKNOWN_EVENT_KIND = 0; // An APK (android application) is deployed. DEPLOYMENT_APK = 1; // A deployment to the emulator. DEPLOYMENT_TO_EMULATOR = 2; // The developer added a Google Developer Service to their app. DEVELOPER_SERVICES_INSTALLED = 3; // The developer removed a Google Developer Service from their app. DEVELOPER_SERVICES_REMOVED = 4; // A sync between Android Studio and Gradle started. GRADLE_SYNC_STARTED = 5; // A sync between Android Studio and Gradle ended. GRADLE_SYNC_ENDED = 6; // A sync between Android Studio and Gradle was skipped. GRADLE_SYNC_SKIPPED = 7; // A sync between Android Studio and Gradle failed. GRADLE_SYNC_FAILURE = 8; // A sync between Android Studio and Gradle C++ support completed. GRADLE_CPP_SYNC_COMPLETED = 9; // Performance profiling capture started. PROFILING_CAPTURE = 10; // Performance profiling capture opened in the IDE. PROFILING_OPEN = 11; // Conversion of hprof profiling data in progress. PROFILING_CONVERT_HPROF = 12; // Analysis of the profiling data in progress. PROFILING_ANALYSIS_RUN = 13; // Performance monitoring has been activated. MONITOR_ACTIVATED = 14; // Performance monitoring is running. MONITOR_RUNNING = 15; // The user selected an action from the SDK Manager Toolbar. SDK_MANAGER_TOOLBAR_CLICKED = 16; // The standalone SDK Manager was launched. SDK_MANAGER_STANDALONE_LAUNCHED = 17; // The built-in SDK Manager was launched. SDK_MANAGER_LOADED = 18; // A new file/project is created based on a template. TEMPLATE_RENDER = 19; // User opened the Theme Editor. THEME_EDITOR_OPEN = 20; // A deep link was created for app indexing. APP_INDEXING_DEEP_LINK_CREATED = 21; // An api code was created for app indexing. APP_INDEXING_API_CODE_CREATED = 22; // An app indexing deep link was launched. APP_INDEXING_DEEP_LINK_LAUNCHED = 23; // An app indexing quick fix was applied. APP_INDEXING_TRIGGER_QUICKFIX = 24; // App Indexing Fetch As Google dialog is shown. APP_INDEXING_SHOW_FEAG_DIALOG = 25; // App Indexing Fetch As Google task has started. APP_INDEXING_START_FEAG_TASK = 26; // Native debugger is launched. LLDB_LAUNCHED = 27; // Native debugger session has started. LLDB_SESSION_STARTED = 28; // Native debugger session has failed. LLDB_SESSION_FAILED = 29; // Native debugger session has completed successfully. LLDB_SESSION_COMPLETED = 30; // SDK Manager QuickFix Wizard is invoked to install LLDB package. LLDB_INSTALL_STARTED = 31; // SDK Manager QuickFix Wizard invocation to install LLDB package failed. LLDB_INSTALL_FAILED = 32; // SDK Manager QuickFix Wizard invocation to install LLDB package completed // successfully. LLDB_INSTALL_COMPLETED = 33; // A watchpoint was added to native code. LLDB_SESSION_USED_WATCHPOINTS = 34; // A Cloud Device was configured for Cloud Testing. CLOUD_TESTING_CONFIGURE_CLOUD_DEVICE = 35; // A Matrix of Cloud Devices was configured for Cloud Testing. CLOUD_TESTING_CONFIGURE_MATRIX = 36; // A Cloud Devices was launched for Cloud Testing. CLOUD_TESTING_LAUNCH_CLOUD_DEVICE = 37; // A Matrix of Cloud Devices was run for Cloud Testing. CLOUD_TESTING_RUN_TEST_MATRIX = 38; // Cloud Testing reported a backend error. CLOUD_TESTING_BACKEND_ERROR = 39; // A Debug session was launched from Cloud Testing results. CLOUD_TESTING_DEBUG_FROM_RESULTS = 40; // The compare screenshots window was opened from a Cloud Testing run. CLOUD_TESTING_COMPARE_SCREENSHOTS_OPENED = 41; // Studio crash statistics were sent. STUDIO_CRASH = 42; // A Gradle Build was run and statistics are available. GRADLE_BUILD_DETAILS = 44; // Stats on Instant Run. INSTANT_RUN = 45; // Daily Android Studio ping with version & os details. STUDIO_PING = 46; // Daily emulator ping with version & os details. EMULATOR_PING = 47; // Metrics on Metrics. META_METRICS = 48; // User ran tests. TEST_RUN = 50; // User clicked something in the Emulator UI. EMULATOR_UI_EVENT = 51; // Information on the host OS's hypervisor support. HYPERVISOR = 52; // Provides info on the Emulator Host EMULATOR_HOST = 53; // Various UI events in the Project Structure Dialog. PROJECT_STRUCTURE_DIALOG_OPEN = 54; PROJECT_STRUCTURE_DIALOG_SAVE = 55; PROJECT_STRUCTURE_DIALOG_TOP_TAB_CLICK = 56; PROJECT_STRUCTURE_DIALOG_TOP_TAB_SAVE = 57; PROJECT_STRUCTURE_DIALOG_LEFT_NAV_CLICK = 58; PROJECT_STRUCTURE_DIALOG_LEFT_NAV_SAVE = 59; // A gradle build profile GRADLE_BUILD_PROFILE = 60; // The LLDB Frontend has unexpectedly exited LLDB_FRONTEND_EXITED = 61; // The Firebase assistant created a project. FIREBASE_ASSISTANT_PROJECT_CREATED = 62; // The Firebase assistant failed to create a project. FIREBASE_ASSISTANT_PROJECT_CREATE_FAILED = 63; // The Firebase assistant upgraded a project. FIREBASE_ASSISTANT_PROJECT_UPGRADED = 64; // The Firebase assistant failed to upgrade a project. FIREBASE_ASSISTANT_PROJECT_UPGRADE_FAILED = 66; // The Firebase assistant failed to create a config. FIREBASE_ASSISTANT_PROJECT_CONFIG_CREATE_FAILED = 67; // The Firebase assistant updated a project. FIREBASE_ASSISTANT_PROJECT_UPDATED = 68; // The Firebase assistant failed to update a project. FIREBASE_ASSISTANT_PROJECT_UPDATE_FAILED = 69; // The Firebase assistant failed to write the project config. FIREBASE_ASSISTANT_PROJECT_CONFIG_WRITE_FAILED = 70; // The Firebase assistant failed as the user did not accept the TOS. FIREBASE_ASSISTANT_TOS_FAILED = 71; // The Firebase assistant is trying to login. FIREBASE_ASSISTANT_ATTEMPT_LOGIN = 72; // The Firebase assistant successfully logged in. FIREBASE_ASSISTANT_LOGIN_SUCCESS = 73; // The Firebase assistant showed the dialog to offer to reconnect. FIREBASE_ASSISTANT_RECONNECT_DIALOG_SYNC = 74; // The Firebase assistant was requested to connect to the server. FIREBASE_ASSISTANT_CONNECT_REQUESTED = 75; // The Firebase assistant panel was opened. FIREBASE_ASSISTANT_OPEN = 76; // The Firebase assistant connect dialog was opened. FIREBASE_ASSISTANT_CONNECT_DIALOG_OPENED = 77; // The Firebase assistant connect dialog was asked to connect. FIREBASE_ASSISTANT_CONNECT_DIALOG_SYNC = 78; // The Firebase assistant presented an error to the user. FIREBASE_ASSISTANT_ERROR_PRESENTED = 79; // The Firebase assistant encounted an error but didn't inform the user. FIREBASE_ASSISTANT_SILENT_ERROR = 80; // The Firebase assistant reconnect dialog was opened. FIREBASE_ASSISTANT_RECONNECT_DIALOG_OPENED = 81; // The GPU Debugger tracing had an initialization failure. GFX_TRACE_INIT_ERROR = 82; // The GPU Debugger tracing was closed. GFX_TRACE_CLOSED = 83; // The GPU Debugger tracing had a parameter edited. GFX_TRACE_PARAMETER_EDITED = 84; // The GPU Debugger tracing was started. GFX_TRACE_TRACE_STARTED = 85; // The GPU Debugger tracing was stopped. GFX_TRACE_TRACE_STOPPED = 86; // A UI command influencing the the GPU Debugger was selected. GFX_TRACE_COMMAND_SELECTED = 87; // A link from the GPU Debugger tracing results was clicked. GFX_TRACE_LINK_CLICKED = 88; // A memory snapshot from the GPU Debugger tracing results was clicked. GFX_TRACE_MEMORY_VIEWED = 89; // A texture from the GPU Debugger tracing results was viewed. GFX_TRACE_TEXTURE_VIEWED = 90; // A "legacy" IntelliJ style project was loaded. LEGACY_IDEA_ANDROID_PROJECT = 91; // The user requested the test recorder to generate a test class. TEST_RECORDER_GENERATE_TEST_CLASS = 92; // The test recorder failed as the project is missing espresso dependencies. TEST_RECORDER_MISSING_ESPRESSO_DEPENDENCIES = 93; // The test recorder failed as the instrumentation test folder is missing. TEST_RECORDER_MISSING_INSTRUMENTATION_TEST_FOLDER = 94; // The test recorder was launched. TEST_RECORDER_LAUNCH = 95; } // Represents different Performance Monitoring types. enum MonitorType { UNKNOWN_MONITOR_TYPE = 0; CPU = 1; GPU = 2; MEMORY = 3; NETWORK = 4; } // Represents different Performance Profiler Capture types. enum ProfilerCaptureType { UNKNOWN_PROFILER_CAPTURE_TYPE = 0; ALLOCATION = 1; FILE = 2; GFX_TRACE = 3; HEAP = 4; SYSTEM_INFO = 5; VM_TRACE = 6; METHOD_TRACING = 7; LAYOUT_INSPECTOR_SNAPSHOT = 8; } // Represents the different Run Configurations the debugger supports. enum RunConfigurationType { UNKNOWN_RUN_CONFIGURATION_TYPE = 0; ANDROID = 1; ANDROID_NATIVE = 2; ANDROID_TEST = 3; } // Represents the different debugger types supported. enum DebuggerType { UNKNOWN_DEBUGGER_TYPE = 0; JAVA = 1; HYBRID = 2; NATIVE = 3; } // Represents the different Google Developer Services that can be // (semi-)automatically integrated into Android Applications. enum DeveloperServiceKind { UNKNOWN_DEVELOPER_SERVICE_KIND = 0; GOOGLE_CLOUD_MESSAGING = 1; AD_MOB = 2; GOOGLE_SIGN_IN = 3; GOOGLE_ANALYTICS = 4; FIREBASE = 5; REALTIME_DATABASE = 6; AUTHENTICATION = 7; CRASH_REPORTING = 8; NOTIFICATIONS = 9; REMOTE_CONFIG = 10; STORAGE = 11; APP_INVITES = 12; DYNAMIC_LINKS = 13; } // The various templates the template engine could be asked to render. enum TemplateRenderer { UNKNOWN_TEMPLATE_RENDERER = 0; CUSTOM_TEMPLATE_RENDERER = 1; ANDROID_MODULE = 2; ANDROID_PROJECT = 3; EMPTY_ACTIVITY = 4; BLANK_ACTIVITY = 5; LAYOUT_XML_FILE = 6; FRAGMENT_BLANK = 7; NAVIGATION_DRAWER_ACTIVITY = 8; VALUES_XML_FILE = 9; GOOGLE_MAPS_ACTIVITY = 10; LOGIN_ACTIVITY = 11; ASSETS_FOLDER = 12; TABBED_ACTIVITY = 13; SCROLLING_ACTIVITY = 14; FULLSCREEN_ACTIVITY = 15; SERVICE = 16; JAVA_LIBRARY = 17; SETTINGS_ACTIVITY = 18; FRAGMENT_LIST = 19; MASTER_DETAIL_FLOW = 20; ANDROID_WEAR_MODULE = 21; BROADCAST_RECEIVER = 22; AIDL_FILE = 23; INTENT_SERVICE = 24; JNI_FOLDER = 25; JAVA_FOLDER = 26; CUSTOM_VIEW = 27; ANDROID_TV_MODULE = 28; GOOGLE_ADMOBS_ADS_ACTIVITY = 29; ALWAYS_ON_WEAR_ACTIVITY = 30; RES_FOLDER = 31; ANDROID_TV_ACTIVITY = 32; BLANK_WEAR_ACTIVITY = 33; BASIC_ACTIVITIY = 34; APP_WIDGET = 35; } // Reasons Gradle sync failed. enum GradleSyncFailure { UNKNOWN_GRADLE_FAILURE = 0; CONNECTION_DENIED = 1; CLASS_NOT_FOUND = 2; DSL_METHOD_NOT_FOUND = 3; FAILED_TO_PARSE_SDK = 4; METHOD_NOT_FOUND = 5; MISSING_ANDROID_PLATFORM = 6; MISSING_ANDROID_SUPPORT_REPO = 7; MISSING_BUILD_TOOLS = 8; OUT_OF_MEMORY = 9; SDK_NOT_FOUND = 10; UNKNOWN_HOST = 11; UNSUPPORTED_ANDROID_MODEL_VERSION = 12; UNSUPPORTED_GRADLE_VERSION = 13; } // Describes a group of event kinds related to each other. optional .android_studio.AndroidStudioEvent.EventCategory category = 1; // Specific kind of event, primary separation key of all Android Studio // related events. optional .android_studio.AndroidStudioEvent.EventKind kind = 2; // The session id is a UUID tracking a single instance of Android Studio // to associate events together such as kind = TEST_RUN optional string studio_session_id = 3; // set when kind = STUDIO_PING // or kind = EMULATOR_PING // or ANDROID_STUDIO_TEST // or ANDROID_STUDIO_THROUGH_GRADLE optional .android_studio.ProductDetails product_details = 4; // set when kind = MONITOR_ACTIVATED or kind = MONITOR_RUNNING optional .android_studio.AndroidStudioEvent.MonitorType monitor_type = 5; // set when kind = MONITOR_RUNNING optional bool monitor_paused = 6; // set when kind = PROFILING_OPEN or PROFILING_CAPTURE optional .android_studio.AndroidStudioEvent.ProfilerCaptureType profiler_capture_type = 7; // set when kind = CLOUD_TESTING_BACKEND_ERROR optional string cloud_testing_error_message = 8; // set when kind = CLOUD_TESTING_COMPARE_SCREENSHOTS_OPENED optional int32 cloud_testing_loaded_screenshots_count = 9; // set when kind = LLDB_SESSION_STARTED optional .android_studio.AndroidStudioEvent.RunConfigurationType run_configuration_type = 10; // set when kind = LLDB_SESSION_STARTED optional .android_studio.AndroidStudioEvent.DebuggerType debugger_type = 11; // set when kind = LLDB_LAUNCHED // or kind = DEPLOYMENT_APK // or kind = DEPLOYMENT_EMULATOR // or kind = CLOUD_TESTING_CONFIGURE_CLOUD_DEVICE // or kind = CLOUD_TESTING_LAUNCH_CLOUD_DEVICE // or kind = CLOUD_TESTING_DEBUG_FROM_RESULTS // or kind = TEST_RUN optional .android_studio.DeviceInfo device_info = 12; // set when kind = LLDB_SESSION_FAILED or kind = LLDB_INSTALL_FAILED // e.g. 'failed to get reply to handshake packet' optional string lldb_session_failure_message = 13; // set when kind = DEVELOPER_SERVICES_INSTALLED // or kind = DEVELOPER_SERVICES_REMOVED optional .android_studio.AndroidStudioEvent.DeveloperServiceKind developer_service_kind = 14; // set when category = GRADLE_SYNC optional string gradle_version = 15; // e.g. '2.10' // set when kind = GRADLE_SYNC_FAILURE optional .android_studio.AndroidStudioEvent.GradleSyncFailure gradle_sync_failure = 16; // set when kind = GRADLE_SYNC_FAILURE and gradle_sync_failure = *_NOT_FOUND // e.g. 'org.gradle.api.internal.DemoClass.demoMethod' optional string gradle_missing_signature = 17; // set when kind = TEMPLATE_RENDERER optional .android_studio.AndroidStudioEvent.TemplateRenderer template_renderer = 18; // set when kind = STUDIO_CRASH optional .android_studio.StudioCrash studio_crash = 19; // set when kind = GRADLE_BUILD_DETAILS optional .android_studio.GradleBuildDetails gradle_build_details = 20; // set when kind = INSTANT_RUN optional .android_studio.InstantRun instant_run = 21; // set when kind = META_METRICS optional .android_studio.MetaMetrics meta_metrics = 22; // set when kind = EMULATOR_PING optional .android_studio.EmulatorDetails emulator_details = 23; // set when kind = TEST_RUN optional .android_studio.TestRun test_run = 24; // set when kind = EMULATOR_UI_EVENT optional .android_studio.EmulatorUiEvent emulator_ui_event = 25; // set when kind = HYPERVISOR optional .android_studio.Hypervisor hypervisor = 26; // set when kind = EMULATOR_HOST optional .android_studio.EmulatorHost emulator_host = 27; // set when kind = GRADLE_BUILD_PROFILE optional .android_studio.GradleBuildProfile gradle_build_profile = 28; // set when kind = LLDB_FRONTEND_EXITED optional .android_studio.LLDBFrontendDetails lldb_frontend_details = 29; // set when kind = FIREBASE_ASSISTANT_ERROR_PRESENTED or // kind FIREBASE_ASSISTANT_SILENT_ERROR optional .android_studio.FirebaseErrorDetails firebase_error_details = 30; // Client-side salted (rotating every 28 days), sha256 of the project id. // set when kind = PROJECT_STRUCTURE_*. optional string project_id = 31; // set when kind = GFX_TRACE_* optional .android_studio.GfxTracingDetails gfx_tracing_details = 32; // set when kind = TEST_RECORDER_GENERATE_TEST_CLASS optional .android_studio.TestRecorderDetails test_recorder_details = 33; } // Describes a product, e.g. Android Studio or Emulator. message ProductDetails { // Describes the various Products related to Android Studio. enum ProductKind { UNKNOWN_PRODUCT = 0; STUDIO = 1; EMULATOR = 2; GRADLE = 3; DDMS = 4; } // Describes the various OS platforms our products run on. enum OSKind { UNKNOWN_OS_KIND = 0; OTHER_OS = 1; // Known but not in our list. WINDOWS = 2; MAC_OSX = 3; LINUX = 4; FREE_BSD = 5; } // Chip the software is running on. enum CpuArchitecture { UNKNOWN_CPU_ARCHITECTURE = 0; X86 = 1; X86_64 = 2; } // The product this event relates to. optional .android_studio.ProductDetails.ProductKind product = 1; // The build ID of Android Studio. optional string build = 2; // e.g. AI-141.2178183 // The version of the product. optional string version = 3; // e.g. 2.0.0.11 // Whether this product is a preview version. optional bool preview = 4; // The CPU archtecture the product is running on. optional .android_studio.ProductDetails.CpuArchitecture os_architecture = 5; } // Describes a emulator or physical Android Device. message DeviceInfo { // Describes tthe ABI of the device/emulator. enum ApplicationBinaryInterface { UNKNOWN_ABI = 0; ARME_ABI_V7A = 1; X86_ABI = 2; ARM64_V8A_ABI = 3; X86_64_ABI = 4; ARME_ABI = 5; MIPS_ABI = 6; MIPS_R2_ABI = 7; ARME_ABI_V6L = 8; ARME_ABI_V6J = 9; } // Describes the kind of device being deployed/tested on. enum DeviceType { UNKNOWN_DEVICE_TYPE = 0; LOCAL_PHYSICAL = 1; LOCAL_EMULATOR = 2; CLOUD_EMULATOR = 3; CLOUD_PHYSICAL = 4; } // serial number of the device, salted & sha256ed on the client. optional string anonymized_serial_number = 1; // Tags used to build the android version on this device. // e.g. 'release-keys' or 'test-keys' or 'A100_V001' // TODO(jvg): ask loglaunch folks: ST_SOFTWARE_ID datapol? optional string build_tags = 2; // Type of build this device is running. // e.g. 'user' or 'userdebug' or 'eng' or 'alphabuild' // TODO(jvg): ask loglaunch folks: ST_SOFTWARE_ID datapol? optional string build_type = 3; // Android version e.g. '5.1.1' optional string build_version_release = 4; // Historic: doesn't support api levels for code names such as 'N'. optional int32 build_api_level = 5; // ABI of the device, e.g. 'armeabi-v7a' or 'x86' optional .android_studio.DeviceInfo.ApplicationBinaryInterface cpu_abi = 6; // Device manufacturer, e.g. 'Motorola' or 'Samsung' optional string manufacturer = 7; // Device model, e.g. 'Nexus 5' or 'GT-I9500'. optional string model = 8; // What kind of device is this? Physicial/Emulator/Cloud etc... optional .android_studio.DeviceInfo.DeviceType device_type = 9; // android api level e.g. '23' or 'N' optional string build_api_level_full = 10; } // Metrics on crashes in Android Studio. message StudioCrash { // number of actions since last crash report. optional int64 actions = 1; // number of exceptions since last crash report. optional int64 exceptions = 2; // number of crashes since last crash report. optional int64 crashes = 3; // number of exceptions from plugins bundled with Android Studio. optional int64 bundled_plugin_exceptions = 4; // number of exceptions from plugins not bundled with Android Studio. optional int64 non_bundled_plugin_exceptions = 5; } // Emulator guest image's GL info. message EmulatorGuestGlInfo { // GL Driver vendor. optional string vendor = 1; // GL Driver name. optional string renderer = 2; // GL Driver version number. optional string version = 3; } // Emulator: Host GPU info. message EmulatorGpuInfo { // Make of the Graphics card. optional string make = 1; // Model of the Graphics card. optional string model = 2; // Device id of the Graphics card. optional string device_id = 3; // Revision of the graphics card. optional string revision_id = 4; // Version of the graphics card driver. optional string version = 5; // Name of the graphics card driver. optional string renderer = 6; } // Metrics related to the Emulator. message EmulatorDetails { // Emulator instance liveness as determined via adb connectivity. enum EmulatorAdbLiveness { UNKNOWN_EMULATOR_ADB_LIVENESS = 0; FAILURE_NO_ADB = 1; ADB_ONLINE = 2; FAILURE_ADB_SERVER_DEAD = 3; FAILURE_EMULATOR_DEAD = 4; } // In What phase of the lifetime of the Emulator were the metrics reported. enum EmulatorSessionPhase { UNKNOWN_EMULATOR_SESSION_PHASE = 0; // The custom emulator launcher is running. LAUNCHER = 1; // Final emulator target is parsing command line arguments. PARSE_OPTIONS = 2; // Initialization - general. INIT_GENERAL = 3; // Initializing GPU INIT_GPU = 4; // Initializing hardware acceleration. INIT_ACCEL = 5; // Main use case -- init done, emulator is up. RUNNING_GENERAL = 6; // Exiting EXIT_GENERAL = 7; } // Chip the emulator is emulating for. enum GuestCpuArchitecture { UNKNOWN_GUEST_CPU_ARCHITECTURE = 0; X86 = 1; X86_64 = 2; ARM = 3; ARM_64 = 4; MIPS = 5; MIPS_64 = 6; } // Cpu architecture of the guest. optional .android_studio.EmulatorDetails.GuestCpuArchitecture guest_arch = 1; // cpu time spent in kernel mode in milliseconds since last metrics report. optional int64 system_time = 2; // cpu time spent in user mode in milliseconds since last metrics report. optional int64 user_time = 3; // number of crashes since last metrics report. optional int64 crashes = 4; // real time in milliseconds since last metrics report. optional int64 wall_time = 5; // True iff a crash occurred while process started its exit routines. optional bool exit_started = 6; // The API level of the running guest image. optional int64 guest_api_level = 7; // The value of guest gpu option (ro.kernel.qemu.gles) optional bool guest_gpu_enabled = 8; // True if we were able to correctly initialize opengl on the host. optional bool is_opengl_alive = 10; // Connectivity from adb of the running emulator instance. optional .android_studio.EmulatorDetails.EmulatorAdbLiveness adb_liveness = 11; // Information about the gl implementation in the guest image. optional .android_studio.EmulatorGuestGlInfo guest_gl = 12; // Information about the host GPUs (one per GPU). repeated .android_studio.EmulatorGpuInfo host_gpu = 13; // The "phase" of an emulator session where crash happened. optional .android_studio.EmulatorDetails.EmulatorSessionPhase session_phase = 14; } // Describes a user clicking on some part of the Emulator UI. message EmulatorUiEvent { // Tracks the type of the emulator UI Event. enum EmulatorUiEventType { UNKONWN_EMULATOR_UI_EVENT_TYPE = 0; BUTTON_PRESS = 1; // Generated when a user action changes the value of certain field from // its default value. OPTION_SET_TO_NON_DEFAULT = 2; // Generated to report the index of an option selected by the user in a // drop-down menu / radio button etc. OPTION_SELECTED = 3; } // Tracks the context of the Emulator UI. enum EmulatorUiEventContext { UNKNOWN_EMULATOR_UI_EVENT_CONTEXT = 0; EXTENDED_WINDOW_OPEN = 1; } // Id of the UI element, baked in the emulator binary. // TODO(jvg): ask logs ticket folks what kind of datapol annotation // it is not freeform, but we cannot make this an enum optional string element_id = 1; // The type of UI event optional .android_studio.EmulatorUiEvent.EmulatorUiEventType type = 2; // The current context of the event. optional .android_studio.EmulatorUiEvent.EmulatorUiEventContext context = 3; // This value is an opaque numeric type. The exact schema of the UI metrics // is not specific here. e.g., |value| may represent a boolean, a "count", or // an index into the list of items in a drop down menu. optional int64 value = 4; } // Details about a single Gradle run. message GradleBuildDetails { // Version of our Gradle plugin supporting android builds. e.g. '2.0-beta1' optional string android_plugin_version = 1; // Version of the open source Gradle application used. optional string gradle_version = 2; // indicates whether the user has instant run enabled in settings optional bool user_enabled_ir = 3; // indicates whether the IDE thinks whether this plugin version supports IR optional bool model_supports_ir = 4; // indicates whether the current variant supports IR, but this can be changed // without a notification optional bool variant_supports_ir = 5; // per library metrics. repeated .android_studio.GradleLibrary libraries = 6; // per module metrics. repeated .android_studio.GradleModule modules = 7; // per android module metrics. repeated .android_studio.GradleAndroidModule android_modules = 8; // per native android module metrics repeated .android_studio.GradleNativeAndroidModule native_android_modules = 9; } // Per library Gradle metrics. message GradleLibrary { // Number of jar dependencies in this library. optional int64 jar_dependency_count = 1; // Number of aar dependencies in this library. optional int64 aar_dependency_count = 2; } // Per module Gradle metrics. message GradleModule { // Total number of modules in this app. optional int64 total_module_count = 1; // Number of aar modules in this app. optional int64 app_module_count = 2; // Number of library modules in this app.. optional int64 lib_module_count = 3; } // Per Android module Gradle metrics. message GradleAndroidModule { // Client-side salted, sha256 of the application id // the app_id is the id for the user's android app // which we salt with a client unique salt and then sha256 // so it is anonymized and is unique per user, but has a 1-N relation. optional string app_id = 1; // Client-side salted, sha256 of the module name. optional string module_name = 2; // True if this module is a library. optional bool is_library = 3; // Number of different build types for this module. optional int64 build_type_count = 4; // Number of different flavor types for this module. optional int64 flavor_count = 5; // Number of different flavor dimensions for this module. optional int64 flavor_dimension = 6; // Number of signing configurations for this module. optional int64 signing_config_count = 7; } // per "native" (C++) android module Gradle metrics. message GradleNativeAndroidModule { // The various native build systems we support to be used from Gradle. enum NativeBuildSystemType { UNKNOWN_NATIVE_BUILD_SYSTEM_TYPE = 0; // The Gradle epxerimental plugin GRADLE_EXPERIMENTAL = 1; // The compilation part of NDK builds (Android's native build system). NDK_COMPILE = 2; // full NDK builds (Android's native build system). NDK_BUILD = 3; // CMake is a very common C++ build system. CMAKE = 4; } // Client-side salted, sha256 of the application id // the app_id is the id for the user's android app // which we salt with a client unique salt and then sha256 // so it is anonymized and is unique per user, but has a 1-N relation. optional string app_id = 1; // Client-side salted, sha256 of the module name. optional string module_name = 2; // True if this module is a library. optional .android_studio.GradleNativeAndroidModule.NativeBuildSystemType build_system_type = 3; } // Metrics on InstantRun usage. message InstantRun { // What Instant Run Deployment was used enum InstantRunDeploymentKind { UNKNOWN_INSTANT_RUN_DEPLOYMENT_KIND = 0; LEGACY = 1; FULL_APK = 2; SPLIT_APK = 3; DEX = 4; HOT_SWAP = 5; WARM_SWAP = 6; NO_CHANGES = 7; } // The different reasons Instant Run had to do a full build. enum InstantRunBuildCause { UNKNOWN_INSTANT_RUN_BUILD_CAUSE = 0; COMPATIBLE = 1; MANIFEST_CHANGE = 2; FIELD_TYPE_CHANGE = 3; FIELD_REMOVED = 4; FIELD_ADDED = 5; METHOD_DELETED = 6; METHOD_ADDED = 7; CLASS_ADDED = 8; STATIC_INITIALIZER_CHANGE = 9; CLASS_ANNOTATION_CHANGE = 10; RESOURCE_CHANGE = 11; IMPLEMENTS_INTERFACE_CHANGE = 12; R_CLASS_CHANGE = 13; PARENT_CLASS_CHANGE = 14; METHOD_ANNOTATION_CHANGE = 15; API_LEVEL_UNSUPPORTED = 16; REFLECTION_USED = 17; } // The different reasons InstantRun chose the build mode it did from the IDE's // perspective. enum InstantRunIdeBuildCause { // reasons for clean build UNKNOWN_INSTANT_RUN_IDE_BUILD_CAUSE = 0; NO_DEVICE = 1; APP_NOT_INSTALLED = 2; MISMATCHING_TIMESTAMPS = 3; USER_REQUESTED_CLEAN_BUILD = 4; // reasons for full build API_TOO_LOW_FOR_INSTANT_RUN = 5; // first installation in this Android Studio session FIRST_INSTALLATION_TO_DEVICE = 6; MANIFEST_RESOURCE_CHANGED = 7; FREEZE_SWAP_REQUIRES_API21 = 8; FREEZE_SWAP_REQUIRES_WORKING_RUN_AS = 9; // reasons for forced cold swap build APP_NOT_RUNNING = 10; APP_USES_MULTIPLE_PROCESSES = 11; INCREMENTAL_BUILD = 12; NO_INSTANT_RUN = 13; } // What kind of Instant Run deployment was chosen. optional .android_studio.InstantRun.InstantRunDeploymentKind deployment_kind = 1; // what was the reason for chosing that kind of deployment from the gradle // side. optional .android_studio.InstantRun.InstantRunBuildCause instant_run_build_cause = 3; // time the InstantRun enabled took in seconds. optional int64 build_time = 4; // The session id is a UUID within a single run of Android Studio // tracking multiple HOT_SWAP & DEX builds in the same // IR session (starting at FULL_APK and ending before FULL_APK). optional string session_id = 5; // what was the reason for chosing that kind of deployment from the IDE // side. optional .android_studio.InstantRun.InstantRunIdeBuildCause ide_build_cause = 6; } // describes Metrics on Metrics. message MetaMetrics { // number of times connecting to the clearcut server failed since // the last successful upload. optional int32 failed_connections = 1; // number of bytes used to send metrics in the last upload. optional int64 bytes_sent_in_last_upload = 2; // number of times the clearcut server failed with an http error since // the last successful upload. optional int32 failed_server_replies = 3; } // Describes a set of tests run. message TestRun { // Describes how tests where invoked. enum TestInvocationType { UNKNOWN_TEST_INVOCATION_TYPE = 0; // Tests were run from the command-line. GRADLE_TEST = 1; // Tests were run by Android Studio run configurations logic. ANDROID_STUDIO_TEST = 2; // Tests were run by Gradle, but invoked through AS UI. ANDROID_STUDIO_THROUGH_GRADLE_TEST = 3; } // What kind of test is run. enum TestKind { UNKNOWN_TEST_KIND = 0; UNIT_TEST = 1; INSTRUMENTATION_TEST = 2; } // Describes how tests where invoked. optional .android_studio.TestRun.TestInvocationType test_invocation_type = 1; // Total number of tests that ran. optional int32 number_of_tests_executed = 2; // What kind of test is run. optional .android_studio.TestRun.TestKind test_kind = 3; // Whether the test run finished successfully (regardless of results) or // tooling error happened. optional bool crashed = 4; // Set when test_invocation_type = GRADLE or ANDROID_STUDIO_THROUGH_GRADLE optional string gradle_version = 5; // e.g. '2.10' // Did the user/project enable code coverage on this test run? optional bool code_coverage_enabled = 6; // Provides details on commonly used test libraries. optional .android_studio.TestLibraries test_libraries = 7; } // Provides details on commonly used test libraries. message TestLibraries { // The exact version of the given library that this project uses. // Not present if project doesn't use a given library. optional string test_support_library_version = 1; // e.g. '0.5' optional string espresso_version = 2; // e.g. '2.2.2' optional string robolectric_version = 3; // e.g. '3.0' optional string mockito_version = 4; // e.g. '1.10.19' } // Describes the status of various Hypervisors message Hypervisor { // Status of the Hyper-V hypervisor. enum HyperVState { UNKNOWN_HYPERV_STATE = 0; // Have no idea HYPERV_ABSENT = 1; // No hyper-V found HYPERV_INSTALLED = 2; // Hyper-V is installed but not running HYPERV_RUNNING = 3; // Hyper-V is up and running HYPERV_CHECK_ERROR = 4; // Failed to detect status (emulator-check error) } optional .android_studio.Hypervisor.HyperVState hyper_v_state = 1; } // Describes the status of the machine running the emulator. message EmulatorHost { // CPU manufacturer of the host, used as certain hypervisors are limited // to a certain manufacturer. optional string cpu_manufacturer = 1; // AMD, INTEL, ... // Does the host support virtualization technology optional bool virt_support = 2; // Is the host itself running inside a virtual machine. optional bool running_in_vm = 3; // May differ from os_architecture field as it is calculated differently, // trying to compensate the JVM bittness. optional int64 os_bit_count = 4; } // Detailed profiling information for the gradle build. message GradleBuildProfile { // Version of the open source Gradle application used. // e.g. "2.14" or "3.0-20160617000025+0000" optional string gradle_version = 2; // The value of the "os.name" system property. // e.g. "Linux" optional string os_name = 6; // The value of the "os.version" system property. // e.g. "3.13.0-86-generic" optional string os_version = 7; // The value of the "java.version" system property. // e.g. "1.8.0_40-ea" optional string java_version = 8; // The value of the "java.vm.version" system property. // e.g. "25.40-b25" optional string java_vm_version = 9; // The value of Runtime.getRuntime().maxMemory() optional int64 max_memory = 10; // The total time taken for this build. // This does not include Gradle's startup (before plugin apply) or shutdown // (after BuildListener#buildFinished(BuildResult) called. optional int64 build_time = 11; // The number of garbage collections during this build optional int64 gc_count = 12; // The time spent garbage collecting during this build. optional int64 gc_time = 13; // The projects that make up this multi-project build. repeated .android_studio.GradleBuildProject project = 14; // Samples of the memory state of the daemon during the build. repeated .android_studio.GradleBuildMemorySample memory_sample = 15; // The fine-grained execution spans which record granular timings. repeated .android_studio.GradleBuildProfileSpan span = 16; // For instant run builds: the resulting instant run build info. optional .android_studio.InstantRunStatus instant_run_status = 17; // Client-side salted, sha256 of the root project path. // This exists to allow multiple instant run builds in one project by one // user to be correlated. // // The salt is rotated every 28 days, so it is not a permenant pseudonymous // identifier. It is anonymized and is unique per user, but has a 1-N // relation. optional string project_id = 18; } message GradleBuildProject { enum PluginType { UNKNOWN_PLUGIN_TYPE = 0; // The 'com.android.application' or 'com.android.model.application' plugins. APPLICATION = 1; // The 'com.android.library' or 'com.android.model.library' plugins. LIBRARY = 2; // The 'com.android.test' plugin. TEST = 3; } enum PluginGeneration { UNKNOWN_PLUGIN_GENERATION = 0; // The 'com.android.[application,library,test] plugins. FIRST = 1; // The 'com.android.model.[application,library]' plugins COMPONENT_MODEL = 2; } // Identifier, local to the containing AndroidStudioEvent, for the project. // Can be used to correlate spans (GradleBuildProfileSpan) with this // project for this build only. Is created by sequentially // numbering projects as they are encountered. // Is not stable across build invocations. optional int64 id = 1; // Version of our Android Gradle plugin supporting android builds. // e.g. '2.0-beta1' // For the experimental plugin this is the gradle-core version. optional string android_plugin_version = 2; // Which Android Gradle plugin is used. optional .android_studio.GradleBuildProject.PluginType android_plugin = 3; // Which plugin generation is used. optional .android_studio.GradleBuildProject.PluginGeneration plugin_generation = 4; // The build tools version used, e.g. '24.0.0 rc2' optional string build_tools_version = 5; // Statistics about the project build. // Will be used to characterize and bucket projects for subgroup analysis. optional .android_studio.GradleBuildProjectMetrics metrics = 6; // The variants in this project repeated .android_studio.GradleBuildVariant variant = 7; } message GradleBuildProjectMetrics { // The time taken to collect these metrics optional int64 metrics_time_ns = 1; // The size of the APK built, if relevant. optional int64 apk_size = 2; // The size of the resources_ap included in that apk. optional int64 resources_ap_size = 3; } message GradleBuildVariant { // The nature of this variant. // The test variants have an associated tested variant. // See com.android.builder.core.VariantType enum VariantType { // For building an APK. APPLICATION = 0; // For building an AAR. LIBRARY = 1; // For building a test APK. ANDROID_TEST = 2; // For building unit tests to run locally. UNIT_TEST = 3; } // Identifier, local to this AndroidStudioEvent, for the variant. // Can be used to correlate spans (GradleBuildProfileSpan) with this // project for this build only. Is created by sequentially // numbering variants as they are created. // Is not stable across build invocations. optional int64 id = 1; // Whether the variant is debuggable. optional bool is_debug = 2; // Whether the variant is compiled using jack optional bool use_jack = 3; // Whether the variant is minified optional bool minify_enabled = 4; // Is multidex enabled for the variant optional bool use_multidex = 5; // Is legacy (pre-api 19) multidex enabled for the variant. // Only can true if use_multidex is also true. optional bool use_legacy_multidex = 6; // The type of variant. optional .android_studio.GradleBuildVariant.VariantType variant_type = 7; // For test variants, the tested variant id. (See GradleBuildVariant.id) optional int64 tested_id = 8; } message GradleBuildMemorySample { // Garbage collection time since the current daemon started. optional int64 gc_time_ms = 1; // Garbage collection count since the current daemon started. optional int64 gc_count = 2; // Time that the memory stats were collected. optional int64 timestamp = 3; } // A single execution span from a build. // For example, a task execution or creation of some tasks for a variant. message GradleBuildProfileSpan { // The type of execution. // This was originally com.android.builder.profile.ExecutionType. enum ExecutionType { SOME_RANDOM_PROCESSING = 1; BASE_PLUGIN_PROJECT_CONFIGURE = 2; BASE_PLUGIN_PROJECT_BASE_EXTENSION_CREATION = 3; BASE_PLUGIN_PROJECT_TASKS_CREATION = 4; BASE_PLUGIN_BUILD_FINISHED = 5; TASK_MANAGER_CREATE_TASKS = 6; BASE_PLUGIN_CREATE_ANDROID_TASKS = 7; VARIANT_MANAGER_CREATE_ANDROID_TASKS = 8; VARIANT_MANAGER_CREATE_TASKS_FOR_VARIANT = 9; VARIANT_MANAGER_CREATE_LINT_TASKS = 10; VARIANT_MANAGER_CREATE_TESTS_TASKS = 11; VARIANT_MANAGER_CREATE_VARIANTS = 12; RESOLVE_DEPENDENCIES = 13; TASK_EXECUTION = 14; INITIAL_METADATA = 100; FINAL_METADATA = 101; GENERAL_CONFIG = 102; VARIANT_CONFIG = 103; VARIANT_MANAGER_EXTERNAL_NATIVE_CONFIG_VALUES = 104; APK_METRICS = 105; // ApplicationTaskManager per variant tasks. APP_TASK_MANAGER_CREATE_MERGE_MANIFEST_TASK = 1000; APP_TASK_MANAGER_CREATE_GENERATE_RES_VALUES_TASK = 1001; APP_TASK_MANAGER_CREATE_CREATE_RENDERSCRIPT_TASK = 1002; APP_TASK_MANAGER_CREATE_MERGE_RESOURCES_TASK = 1003; APP_TASK_MANAGER_CREATE_MERGE_ASSETS_TASK = 1004; APP_TASK_MANAGER_CREATE_BUILD_CONFIG_TASK = 1005; APP_TASK_MANAGER_CREATE_PROCESS_RES_TASK = 1006; APP_TASK_MANAGER_CREATE_AIDL_TASK = 1007; APP_TASK_MANAGER_CREATE_COMPILE_TASK = 1008; APP_TASK_MANAGER_CREATE_NDK_TASK = 1009; APP_TASK_MANAGER_CREATE_SPLIT_TASK = 1010; APP_TASK_MANAGER_CREATE_PACKAGING_TASK = 1011; APP_TASK_MANAGER_CREATE_PREPROCESS_RESOURCES_TASK = 1012; APP_TASK_MANAGER_CREATE_BACKPORT_RESOURCES_TASK = 1013; APP_TASK_MANAGER_CREATE_LINT_TASK = 1014; APP_TASK_MANAGER_CREATE_MERGE_JNILIBS_FOLDERS_TASK = 1015; APP_TASK_MANAGER_CREATE_SHADER_TASK = 1016; APP_TASK_MANAGER_CREATE_EXTERNAL_NATIVE_BUILD_TASK = 1017; APP_TASK_MANAGER_CREATE_STRIP_NATIVE_LIBRARY_TASK = 1018; // LibraryTaskManager per variant tasks. LIB_TASK_MANAGER_CREATE_MERGE_MANIFEST_TASK = 2000; LIB_TASK_MANAGER_CREATE_GENERATE_RES_VALUES_TASK = 2001; LIB_TASK_MANAGER_CREATE_CREATE_RENDERSCRIPT_TASK = 2002; LIB_TASK_MANAGER_CREATE_MERGE_RESOURCES_TASK = 2003; LIB_TASK_MANAGER_CREATE_MERGE_ASSETS_TASK = 2004; LIB_TASK_MANAGER_CREATE_BUILD_CONFIG_TASK = 2005; LIB_TASK_MANAGER_CREATE_PROCESS_RES_TASK = 2006; LIB_TASK_MANAGER_CREATE_AIDL_TASK = 2007; LIB_TASK_MANAGER_CREATE_COMPILE_TASK = 2008; LIB_TASK_MANAGER_CREATE_NDK_TASK = 2009; LIB_TASK_MANAGER_CREATE_SPLIT_TASK = 2010; LIB_TASK_MANAGER_CREATE_PACKAGING_TASK = 2011; LIB_TASK_MANAGER_CREATE_MERGE_PROGUARD_FILE_TASK = 2012; LIB_TASK_MANAGER_CREATE_POST_COMPILATION_TASK = 2013; LIB_TASK_MANAGER_CREATE_PROGUARD_TASK = 2014; LIB_TASK_MANAGER_CREATE_PACKAGE_LOCAL_JAR = 2015; LIB_TASK_MANAGER_CREATE_BACKPORT_RESOURCES_TASK = 2016; LIB_TASK_MANAGER_CREATE_LINT_TASK = 2017; LIB_TASK_MANAGER_CREATE_SHADER_TASK = 2018; LIB_TASK_MANAGER_CREATE_EXTERNAL_NATIVE_BUILD_TASK = 2019; // Task execution: Deprecated, use TASK_EXECUTION and // GradleTaskExecution#Type instead. // Deprecated July 2016. GENERIC_TASK_EXECUTION = 3000; TASK_AIDL_COMPILE = 3001; TASK_DELETE = 3002; TASK_CHECK_MANIFEST = 3003; TASK_PREPARE_DEPENDENCIES_TASK = 3004; TASK_RENDERSCRIPT_COMPILE = 3005; TASK_GENERATE_BUILD_CONFIG = 3006; TASK_MERGE_ASSETS = 3007; TASK_GENERATE_RES_VALUES = 3008; TASK_MERGE_RESOURCES = 3009; TASK_MERGE_MANIFESTS = 3010; TASK_PROCESS_ANDROID_RESOURCES = 3011; TASK_JAVA_COMPILE = 3012; TASK_NDK_COMPILE = 3013; TASK_PRE_DEX = 3014; TASK_DEX = 3015; TASK_PACKAGE_SPLIT_RES = 3016; TASK_PROCESS_RESOURCES = 3017; TASK_VALIDATE_SIGNING_TASK = 3018; TASK_PACKAGE_APPLICATION = 3019; TASK_SPLIT_ZIP_ALIGN = 3020; TASK_ZIP_ALIGN = 3021; TASK_COPY = 3022; TASK_LINT = 3023; TASK_FILE_VERIFICATION = 3026; TASK_EXTERNAL_NATIVE_BUILD_GENERATE_JSON_PROCESS_PER_ABI = 3027; TASK_EXTERNAL_NATIVE_BUILD_GENERATE_JSON_PROCESS = 3028; // Transform execution TASK_TRANSFORM_PREPARATION = 3024; TASK_TRANSFORM = 3025; } // Identifier for this span, created by sequentially allocating IDs to spans // as they start. Used only for the parent-child relationship of spans, to // show execution that is part of another span. // Not stable or meaningful across builds. optional int64 id = 1; // For nested spans: the id for containing span. // See GradleBuildProfileSpan.id. optional int64 parent_id = 2; // The start time of this event optional int64 start_time_in_ms = 3; // The duration of this event. May be zero. optional int64 duration_in_ms = 4; // The type of event recorded optional .android_studio.GradleBuildProfileSpan.ExecutionType type = 5; // More informations about the execution of TransformTasks. // Only used when executionType is TASK_TRANSFORM_PREPARATION or // TASK_TRANSFORM. optional .android_studio.GradleTransformExecution transform = 6; // More informations about the execution of Tasks. // Only used when executionType is TASK_EXECUTION optional .android_studio.GradleTaskExecution task = 9; // Session id of the GradleBuildProject that this span is part of. // The ID is not stable nor meaningful over multiple GradleBuildProfile. // See GradleBuildProfile.id optional int64 project = 7; // Session id of the GradleBuildVariant that this span is part of. // The ID is not stable nor meaningful over multiple GradleBuildProfile. // See GradleBuildVariant.id optional int64 variant = 8; } message GradleTaskExecution { enum Type { UNKNOWN_TASK_TYPE = 0; AIDL_COMPILE = 1; ANDROID_JAR = 2; ANDROID_JAVA_COMPILE = 3; ANDROID_REPORT = 4; ANDROID_UNIT_TEST = 5; BUILD_EMULATOR = 6; BUILD_INFO_LOADER = 7; CHECK_MANIFEST = 8; COMPATIBLE_SCREENS_MANIFEST = 9; CREATE_MANIFEST_KEEP_LIST = 10; DATA_BINDING_EXPORT_BUILD_INFO = 11; DATA_BINDING_PROCESS_LAYOUTS = 12; DEPENDENCY_REPORT = 13; DEVICE_PROVIDER_INSTRUMENT_TEST = 14; EXTERNAL_BUILD_ANCHOR = 15; EXTERNAL_NATIVE_BUILD_JSON = 16; EXTERNAL_NATIVE_BUILD = 17; EXTRACT_ANNOTATIONS = 18; EXTRACT_JAVA_RESOURCES = 19; EXTRACT_PROGUARD_FILES = 20; FAST_DEPLOY_RUNTIME_EXTRACTOR = 21; FILTERED_JAR_COPY = 22; GENERATE_APK_DATA = 23; GENERATE_BUILD_CONFIG = 24; GENERATE_INSTANT_RUN_APP_INFO = 25; GENERATE_RES_VALUES = 26; GENERATE_SPLIT_ABI_RES = 27; GOOGLE_SERVICES = 28; INCREMENTAL_SAFEGUARD = 29; INSTALL_VARIANT = 30; INSTANT_RUN_SPLIT_APK_BUILDER = 31; INSTANT_RUN_WRAPPER = 32; INVOKE_MANIFEST_MERGER = 33; JACK_JACOCO_REPORT = 34; JACOCO_REPORT = 35; LINT = 36; LINT_COMPILE = 37; MERGE_FILE = 38; MERGE_MANIFESTS = 39; MERGE_RESOURCES = 40; MERGE_SOURCE_SET_FOLDERS = 41; MOCKABLE_ANDROID_JAR = 42; NDK_COMPILE = 43; NDK = 44; PACKAGE_APPLICATION = 45; PACKAGE_SPLIT_ABI = 46; PACKAGE_SPLIT_RES = 47; PRE_COLD_SWAP = 48; PREPARE_DEPENDENCIES = 49; PREPARE_LIBRARY = 50; PROCESS_ANDROID_RESOURCES = 51; PROCESS_MANIFEST = 52; PROCESS_TEST_MANIFEST = 53; RENDERSCRIPT_COMPILE = 54; SHADER_COMPILE = 55; SIGNING_REPORT = 56; SINGLE_FILE_COPY = 57; SOURCE_SETS = 58; SPLIT_ZIP_ALIGN = 59; STREAM_BASED = 60; STRIP_DEBUG_SYMBOL = 61; STRIP_DEPENDENCIES = 62; TEST_MODULE_PRO_GUARD = 63; TEST_SERVER = 64; TRANSFORM = 65; UNINSTALL = 66; VALIDATE_SIGNING = 67; ZIP_ALIGN = 68; JAVA_COMPILE = 69; } // The task implementing class. // Custom tasks are recorded as UNKNOWN_TASK_TYPE. optional .android_studio.GradleTaskExecution.Type type = 1; // Whether the task did work (TaskState#getDidWork()) // This is not necessarily the inverse of up_to_date: see // https://docs.gradle.org/current/javadoc/org/gradle/api/tasks/TaskState.html#getDidWork() optional bool did_work = 2; // Whether the task was skipped (TaskState#getSkipped()) optional bool skipped = 3; // Whether the task was up to date (TaskState#getUpToDate()) optional bool up_to_date = 4; // Whether the task failed optional bool failed = 5; } message GradleTransformExecution { // The transform class. enum Type { UNKNOWN_TRANSFORM_TYPE = 0; DEX = 1; EXTRACT_JARS = 2; INSTANT_RUN_DEX = 3; INSTANT_RUN_SLICER = 4; INSTANT_RUN = 5; INSTANT_RUN_VERIFER = 6; JACK_PRE_DEX = 7; JACK = 8; JACOCO = 9; JAR_MERGING = 10; LIBRARY_JAR = 11; LIBRARY_JNI_LIBS = 12; MERGE_JAVA_RESOURCES = 13; MULTI_DEX = 14; NEW_SHRINKER = 15; NO_CHANGES_VERIFIER = 16; PRO_GUARD = 17; SHRINK_RESOURCES = 18; } // The transform implementing class. // Custom transforms are recorded as UNKNOWN_TRANSFORM_TYPE. optional .android_studio.GradleTransformExecution.Type type = 1; // Whether the transform could be (in the case of TASK_TRANSFORM_PREPARATION) // or was (in the case of TASK_TRANSFORM) incremental. optional bool is_incremental = 2; } message InstantRunStatus { enum BuildMode { UNKNOWN_BUILD_MODE = 0; HOT_WARM = 1; COLD = 2; FULL = 3; } enum PatchingPolicy { UNKNOWN_PATCHING_POLICY = 0; // No Cold swap is possible PRE_LOLLIPOP = 1; // Cold swap done by shipping dex classes to the Instant Run runtime MULTI_DEX = 2; // Cold swap done by reinstalling APK splits. MULTI_APK = 3; } enum VerifierStatus { UNKNOWN_VERIFIER_STATUS = 0; COMPATIBLE = 1; // the verifier did not run successfully. NOT_RUN = 2; // InstantRun disabled on element like a method, class or package. INSTANT_RUN_DISABLED = 3; // Any inability to run the verifier on a file will be tagged as such INSTANT_RUN_FAILURE = 4; // A new class was added. CLASS_ADDED = 5; // changes in the hierarchy PARENT_CLASS_CHANGED = 6; IMPLEMENTED_INTERFACES_CHANGE = 7; // class related changes. CLASS_ANNOTATION_CHANGE = 8; STATIC_INITIALIZER_CHANGE = 9; // changes in constructors, CONSTRUCTOR_SIGNATURE_CHANGE = 10; // changes in method METHOD_SIGNATURE_CHANGE = 11; METHOD_ANNOTATION_CHANGE = 12; METHOD_DELETED = 13; METHOD_ADDED = 14; // changes in fields. FIELD_ADDED = 15; FIELD_REMOVED = 16; // change of field type or kind (static | instance) FIELD_TYPE_CHANGE = 17; R_CLASS_CHANGE = 18; // reflection use REFLECTION_USED = 19; JAVA_RESOURCES_CHANGED = 20; DEPENDENCY_CHANGED = 21; MANIFEST_FILE_CHANGE = 22; // the binary manifest file changed, probably due to references to resources which ID changed // since last build. BINARY_MANIFEST_FILE_CHANGE = 23; COLD_SWAP_REQUESTED = 24; FULL_BUILD_REQUESTED = 25; INITIAL_BUILD = 26; NO_CHANGES = 27; CHANGE_IN_SERIALIZABLE_CLASS_WITHOUT_VERSION_UID = 28; } // The type of artifacts built in this invocation. // e.g. COLD for when the changes cannot be hot-swapped, either due to the // app not running on the users device or the changes cannot be hot swapped. optional .android_studio.InstantRunStatus.BuildMode build_mode = 1; // The type of deploy that the build can generate artifacts for. optional .android_studio.InstantRunStatus.PatchingPolicy patching_policy = 2; // The result of the verifier run, whether the users change can be hot-swapped // or requires a cold swap or full build is determined by the verifier. optional .android_studio.InstantRunStatus.VerifierStatus verifier_status = 3; // The built artifacts stored in the build info. // Artifacts that were built, but superseeded (e.g. a main APK contains // resources, so the resources do not need to be reported separately) are // not included. repeated .android_studio.InstantRunArtifact artifact = 4; } message InstantRunArtifact { enum Type { // Main APK file for 19, and 21 platforms when using // PatchingPolicy.MULTI_DEX. MAIN = 1; // Main APK file when application is using PatchingPolicy.MULTI_DEX. SPLIT_MAIN = 2; // Reload dex file that can be used to patch application live. RELOAD_DEX = 3; // Restart.dex file that can be used for Dalvik to restart applications // with minimum set of changes delivered. RESTART_DEX = 4; // Shard dex file that can be used to replace originally installed // multi-dex shard. DEX = 5; // Pure split (code only) that can be installed individually on M+ devices. SPLIT = 6; // Resources: res.ap_ file RESOURCES = 7; } optional .android_studio.InstantRunArtifact.Type type = 1; } // Details about the LLDB Frontend process message LLDBFrontendDetails { // the value returned when the LLDB Frontend process exited. optional int32 exit_code = 1; } // Error details from the Firebase Assistant. message FirebaseErrorDetails { // The error message presented to the user upon Firebase errors. optional string error_message = 1; } // Details on the GPU Debugger tracing run message GfxTracingDetails { // total time the trace took optional int64 total_time = 1; // class name of the UI command selected to affect the tracing. optional string command = 2; // Error message when tracing fails. optional string error_message = 3; // A path describing the kind of details from the trace. This is a mix // of class names (of our code) and random ids generated for the trace. // e.g. 'Capture(7c6e72eebe2e6d76751b0328971e7fb29ceed82b).Atoms[6307].' + // 'Resource.' + // 'Thumbnail.As' optional string trace_path = 4; // the image format of the gpu image being traced. e.g. 'image/png' optional string image_format = 5; // the width of the image being traced. optional int64 image_width = 6; // the height of the image being traced. optional int64 image_height = 7; } // Details of an invocation of the TestRecorder to generate tests. message TestRecorderDetails { // The number of events in the test generated by the test recorder. optional int64 event_count = 1; // The number of assertions in the test generated by the test recorder. optional int64 assertion_count = 2; } publisher/0040755 0000000 0000000 00000000000 13017773346 011620 5ustar000000000 0000000 publisher/NOTICE0100644 0000000 0000000 00000024707 13017773346 012533 0ustar000000000 0000000 Copyright (c) 2005-2016, The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS publisher/README.txt0100644 0000000 0000000 00000000120 13017773346 013304 0ustar000000000 0000000 publisher.jar contains tools for publishing usage tracking analytics to Google. publisher/analytics-publisher.iml0100644 0000000 0000000 00000002374 13017773346 016310 0ustar000000000 0000000 publisher/build.gradle0100644 0000000 0000000 00000001614 13017773346 014076 0ustar000000000 0000000 apply plugin: 'java' apply plugin: 'jacoco' dependencies { compile project(':base:annotations') compile project(':base:common') compile project(':analytics-library:protos') compile project(':analytics-library:shared') compile 'com.google.protobuf:protobuf-java:2.5.0' compile 'com.google.guava:guava:17.0' testCompile project(':base:testutils') testCompile 'junit:junit:4.12' testCompile 'com.google.truth:truth:0.28' testCompile project(':analytics-library:tracker') } group = 'com.android.tools.analytics-library' archivesBaseName = 'publisher' version = rootProject.ext.baseVersion project.ext.pomName = 'Android Tools Analytics Publisher' project.ext.pomDesc = 'Library for publishing usage analytics.' apply from: "$rootDir/buildSrc/base/publish.gradle" apply from: "$rootDir/buildSrc/base/bintray.gradle" apply from: "$rootDir/buildSrc/base/javadoc.gradle" publisher/src/0040755 0000000 0000000 00000000000 13017773346 012407 5ustar000000000 0000000 publisher/src/main/0040755 0000000 0000000 00000000000 13017773346 013333 5ustar000000000 0000000 publisher/src/main/java/0040755 0000000 0000000 00000000000 13017773346 014254 5ustar000000000 0000000 publisher/src/main/java/com/0040755 0000000 0000000 00000000000 13017773346 015032 5ustar000000000 0000000 publisher/src/main/java/com/android/0040755 0000000 0000000 00000000000 13017773346 016452 5ustar000000000 0000000 publisher/src/main/java/com/android/tools/0040755 0000000 0000000 00000000000 13017773346 017612 5ustar000000000 0000000 publisher/src/main/java/com/android/tools/analytics/0040755 0000000 0000000 00000000000 13017773346 021601 5ustar000000000 0000000 publisher/src/main/java/com/android/tools/analytics/AnalyticsPublisher.java0100644 0000000 0000000 00000010063 13017773346 026246 0ustar000000000 0000000 /* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Eclipse Public License, Version 1.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.eclipse.org/org/documents/epl-v10.php * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.tools.analytics; import com.android.annotations.NonNull; import com.android.utils.ILogger; import java.nio.file.Paths; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; /* * Base class for publishing analytics. This class has two subclasses, one that publishes * analytics to Google's servers for users who opted in to metrics and one that is a Noop to ensure * metrics never get published for users who opt out. */ public abstract class AnalyticsPublisher implements AutoCloseable { private static final Object sGate = new Object(); private static AnalyticsPublisher sInstance; private long mPublishIntervalNanos = TimeUnit.MINUTES.toNanos(10); private final AnalyticsSettings mAnalyticsSettings; private final ScheduledExecutorService mScheduler; protected AnalyticsPublisher( AnalyticsSettings analyticsSettings, ScheduledExecutorService scheduler) { this.mAnalyticsSettings = analyticsSettings; this.mScheduler = scheduler; } /** * Initializes the publisher retrieved by {@link #getInstance()} * * @param analyticsSettings used to check opt-in vs opt-out status. * @param scheduler used to schedule jobs for publishing. */ public static AnalyticsPublisher initialize( @NonNull AnalyticsSettings analyticsSettings, @NonNull ScheduledExecutorService scheduler) { synchronized (sGate) { if (analyticsSettings.hasOptedIn() && !analyticsSettings.hasDebugDisablePublishing()) { sInstance = new GoogleAnalyticsPublisher( analyticsSettings, scheduler, Paths.get(AnalyticsPaths.getSpoolDirectory())); } else { sInstance = new NullAnalyticsPublisher(analyticsSettings, scheduler); } return sInstance; } } /** * Retrieved the configured publisher based on a call to * {@link #initialize(AnalyticsSettings, ScheduledExecutorService)} */ @NonNull public static AnalyticsPublisher getInstance() { synchronized (sGate) { return sInstance; } } /** * Sets the interval used for scheduling jobs to publish metrics. */ public void setPublishInterval(long interval, TimeUnit unit) { mPublishIntervalNanos = unit.toNanos(interval); } /** Gets the analytics settings used by this tracker. */ public AnalyticsSettings getAnalyticsSettings() { return mAnalyticsSettings; } /** Gets the interval in nano-seconds used for scheduling jobs to publish metrics. */ public long getPublishInterval() { return mPublishIntervalNanos; } /** Gets the scheduler used by this publisher. */ public ScheduledExecutorService getScheduler() { return mScheduler; } /** Closes the current publisher and creates a new instance. */ public static void updatePublisher( ILogger logger, AnalyticsSettings settings, ScheduledExecutorService scheduler) { AnalyticsPublisher current = getInstance(); if (current != null) { try { current.close(); } catch (Exception e) { logger.error(e, "Unable to close existing analytics publisher"); } } initialize(settings, scheduler); } } publisher/src/main/java/com/android/tools/analytics/GoogleAnalyticsPublisher.java0100644 0000000 0000000 00000040654 13017773346 027414 0ustar000000000 0000000 /* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Eclipse Public License, Version 1.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.eclipse.org/org/documents/epl-v10.php * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.tools.analytics; import com.android.annotations.VisibleForTesting; import com.android.utils.DateProvider; import com.android.utils.ILogger; import com.android.utils.StdLogger; import com.google.wireless.android.play.playlog.proto.ClientAnalytics; import com.google.wireless.android.sdk.stats.AndroidStudioStats; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.RandomAccessFile; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import java.net.URLConnection; import java.nio.channels.Channels; import java.nio.channels.FileChannel; import java.nio.channels.FileLock; import java.nio.channels.OverlappingFileLockException; import java.nio.file.DirectoryStream; import java.nio.file.Files; import java.nio.file.Path; import java.util.ArrayList; import java.util.List; import java.util.concurrent.Callable; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.ScheduledFuture; import java.util.concurrent.TimeUnit; /* * Publish collected analytics to Google's servers. * Uses the provided {@link ScheduleExecutorService} to periodically (10 mins by default), * scan the provided spool location for new .trk files. If it finds any it parses the .trk files * and upload the parsed events to Google's servers along with additional metadata such as meta * metrics, client info and timing information.. */ public class GoogleAnalyticsPublisher extends AnalyticsPublisher { // While access to fields is atomic (due to volatile on long & doubles), this code has many // methods that operate on various variables at once. We synchronize any method that operates // on multiple variables or access members of those variables (e.g. method calls). private static final Object mGate = new Object(); @VisibleForTesting static DateProvider sDateProvider = DateProvider.SYSTEM; private final Path mSpoolLocation; private final ClientAnalytics.LogRequest mBaseLogRequest; private ScheduledFuture mPublishJob; private int mScheduleVersion = 0; private URL mServerUrl = getDefaultServerUrl(); private volatile long mStartTime = sDateProvider.now().getTime(); private volatile long mBytesSentInLastPublish = 0; private int mFailedConnections = 0; private int mFailedServerReplies = 0; private int mBackoffRatio = 1; Callable mCreateConnection = this::defaultCreateConnection; private ILogger mLogger = new StdLogger(StdLogger.Level.WARNING); /** * Creates a new instance for publishing metrics * * @param analyticsSettings used for sending pseudoanonymous ID along with the analytics. * @param spoolLocation location to look for .trk files to upload. * @param scheduler used for scheduling periodic checks of the spool location. */ GoogleAnalyticsPublisher( AnalyticsSettings analyticsSettings, ScheduledExecutorService scheduler, Path spoolLocation) { super(analyticsSettings, scheduler); this.mSpoolLocation = spoolLocation; // Create a LogRequest to use as a template for all LogRequest objects. this.mBaseLogRequest = ClientAnalytics.LogRequest.newBuilder() .setClientInfo( ClientAnalytics.ClientInfo.newBuilder() .setClientType( ClientAnalytics.ClientInfo.ClientType.DESKTOP) .setDesktopClientInfo( ClientAnalytics.DesktopClientInfo.newBuilder() .setLoggingId(analyticsSettings.getUserId()) .setOs(CommonMetricsData.getOsName()) .setOsMajorVersion( CommonMetricsData .getMajorOsVersion()) .setOsFullVersion( System.getProperty("os.version")))) // Set the log source for the Clearcut service. This will be always the // same no matter what Android devtool we're logging from. .setLogSource(ClientAnalytics.LogRequest.LogSource.ANDROID_STUDIO) .build(); // Schedule the first publish of logs from the spool directory. schedulePublish(getPublishInterval()); } @Override public void close() throws Exception { synchronized (mGate) { mScheduleVersion++; mPublishJob.cancel(false); } } @Override public void setPublishInterval(long interval, TimeUnit unit) { synchronized (mGate) { super.setPublishInterval(interval, unit); schedulePublish(getPublishInterval()); } } /** * Changes the logger used by this publisher. */ public void setLogger(ILogger logger) { mLogger = logger; } /** * Looks for any .trk files queued up in the spool directory and if so tries to publish * them to Google's servers. */ private void publishQueuedAnalytics() { try (DirectoryStream stream = Files.newDirectoryStream(mSpoolLocation, "*.trk")) { for (Path file : stream) { // TODO: consider maintaining a list of failed .trk files and skip them after n // failures. // if publishing any file fails, we stop processing for this cycle and try again // in the next cycle. if (!tryPublishAnalytics(file)) { return; } } } catch (Exception e) { mLogger.error(e, "Failure reading analytics spool directory."); } } /** * Tries to publish analytics for the specified track file. * @return true if file was uploaded successfully, skipped as it was locked or had zero events, * false if uploading failed (connection or server error). */ private boolean tryPublishAnalytics(Path trackFile) { File file = trackFile.toFile(); boolean success = false; try (FileChannel channel = new RandomAccessFile(file, "rw").getChannel(); FileLock lock = channel.tryLock()) { if (lock == null) { // Another process has the file open (e.g. a command-line tool writing analytics). // skip for now but continue publishing other track files. return true; } List entries = new ArrayList<>(); // Try to lock the file, this ensures no other code (e.g. the usage tracker) // has a lock on the file. InputStream inputStream = Channels.newInputStream(channel); ClientAnalytics.LogEvent event = null; // read all LogEvents from the trackFile. while ((event = ClientAnalytics.LogEvent.parseDelimitedFrom(inputStream)) != null) { entries.add(event); } if (entries.isEmpty()) { // if this is an empty file, no need to publish, just delete the file and continue. success = true; } else { // Add the meta metric log and build a LogRequest. long now = sDateProvider.now().getTime(); entries.add(0, getMetaMetric(now)); ClientAnalytics.LogRequest request = buildLogRequest(entries, now); // Send the analytics to the specified server. int responseCode = trySendToServer(request); success = isSuccess(responseCode); if (success) { // only if publishing succeeded, delete the file, otherwise we'll try again. // successful publishing means we do no longer need to backoff. mBackoffRatio = 1; mFailedConnections = 0; mFailedServerReplies = 0; } else { // publishing failed with a server error, track and increase our backoff ratio. mFailedServerReplies++; mBackoffRatio *= 2; } } } catch (IOException e) { mLogger.error(e, "Failure publishing analytics, unable to connect to server"); // publishing failed with a network error, track and increase our backoff ratio. mFailedConnections++; mBackoffRatio *= 2; // stop this publishing cycle, try again later. return false; } catch (OverlappingFileLockException e) { // Current process has the file open (e.g. JournalingUsageTracker). // skip for now but continue publishing other track files. return true; } // We need to delete the file outside of the lock as deleting inside the lock doesn't // work on Windows. if (success) { file.delete(); } return success; } /** * Default value of mCreateConnection. Uses current url to create a connection. */ private HttpURLConnection defaultCreateConnection() throws IOException { URLConnection connection = mServerUrl.openConnection(); if (connection instanceof HttpURLConnection) { return (HttpURLConnection) connection; } else { mLogger.error(null, "Unexpected connection type %s", connection.getClass().getName()); return null; } } /** * Allows hosts of the publisher to plug in custom connections. E.g. to configure the connection * to go over a proxy server specified in the host of the publisher. */ public void setCreateConnection(Callable createConnection) { mCreateConnection = createConnection; } /** * Tries to upload metrics to the specified server using HTTP Post. * @return http status code from the request. */ private int trySendToServer(ClientAnalytics.LogRequest request) throws IOException { HttpURLConnection connection = null; try { connection = mCreateConnection.call(); } catch (Exception e) { throw new RuntimeException(e); } if (connection == null) { // 'Method not allowed' as we don't have a valid connection. return 405; } connection.setRequestMethod("POST"); connection.setDoOutput(true); OutputStream body = connection.getOutputStream(); byte[] requestBytes = request.toByteArray(); body.write(requestBytes); mBytesSentInLastPublish = requestBytes.length; body.close(); connection.connect(); int responseCode = connection.getResponseCode(); if (!isSuccess(responseCode)) { mLogger.error( null, "Failure publishing metrics. Server responded with status code " + "'%d' and message '%s'", responseCode, connection.getResponseMessage()); } return responseCode; } /** Builds a {@link ClientAnalytics.LogRequest} proto based on the provided entries and time. */ private ClientAnalytics.LogRequest buildLogRequest( List entries, long time) { return ClientAnalytics.LogRequest.newBuilder(mBaseLogRequest) .setRequestTimeMs(time) .setRequestUptimeMs(time - mStartTime) .addAllLogEvent(entries) .build(); } /** * Creates {@link ClientAnalytics.LogEvent} with meta metrics, used to measure the health * of our metrics reporting system. */ private ClientAnalytics.LogEvent getMetaMetric(long time) { return ClientAnalytics.LogEvent.newBuilder() .setEventTimeMs(time) .setSourceExtension( AndroidStudioStats.AndroidStudioEvent.newBuilder() .setCategory( AndroidStudioStats.AndroidStudioEvent.EventCategory.META) .setKind( AndroidStudioStats.AndroidStudioEvent.EventKind .META_METRICS) .setMetaMetrics( AndroidStudioStats.MetaMetrics.newBuilder() .setBytesSentInLastUpload(mBytesSentInLastPublish) .setFailedConnections(mFailedConnections) .setFailedServerReplies(mFailedServerReplies)) .build() .toByteString()) .build(); } /** * Schedules the job that looks for .trk files and publishes them to Google's servers. * Needs to be called while locked on {@link #mGate}. * NOTE: this method is self-rescheduling. */ private void schedulePublish(long publishIntervalNanoSeconds) { final int currentScheduleVersion = ++mScheduleVersion; // if any existing publish is pending and it hasn't started yet, cancel it as we've been // provided a new interval to schedule on and it would be odd if the a job still got run // at the old schedule. if (mPublishJob != null) { mPublishJob.cancel(false); } mPublishJob = getScheduler() .schedule( () -> { synchronized (mGate) { publishQueuedAnalytics(); // only schedule next beat if we're still the authority. if (mScheduleVersion == currentScheduleVersion) { schedulePublish(publishIntervalNanoSeconds); } } }, // Next job is scheduled with exponential backoff with a max of 1 day. // this is reset to 1 when the job successfully completes. Math.min( publishIntervalNanoSeconds * mBackoffRatio, TimeUnit.DAYS.toNanos(1)), TimeUnit.NANOSECONDS); } /** * A helper to set the default server URL in the constructor, removes exception from the * signature that we know cannot be thrown. */ private static URL getDefaultServerUrl() { try { return new URL("https://play.google.com/log?format=raw"); } catch (MalformedURLException e) { // NoOp, url is well-formed. throw new RuntimeException(e); } } /** * Gets the address of the server currently used to publish to. */ public URL getServerUrl() { return mServerUrl; } /** * Updates the server used to publish analytics to. */ public GoogleAnalyticsPublisher setServerUrl(URL serverUrl) { synchronized (mGate) { this.mServerUrl = serverUrl; } return this; } /** * Checks if the http status code indicates success or not. */ private static boolean isSuccess(int statusCode) { return (200 <= statusCode && statusCode < 300); } } publisher/src/main/java/com/android/tools/analytics/NullAnalyticsPublisher.java0100644 0000000 0000000 00000002154 13017773346 027103 0ustar000000000 0000000 /* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Eclipse Public License, Version 1.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.eclipse.org/org/documents/epl-v10.php * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.tools.analytics; import java.util.concurrent.ScheduledExecutorService; /** * A publisher that never publishes metrics. Used to ensure opt-out users never publish metrics. */ public class NullAnalyticsPublisher extends AnalyticsPublisher { public NullAnalyticsPublisher( AnalyticsSettings analyticsSettings, ScheduledExecutorService scheduler) { super(analyticsSettings, scheduler); } @Override public void close() throws Exception {} } publisher/src/test/0040755 0000000 0000000 00000000000 13017773346 013366 5ustar000000000 0000000 publisher/src/test/java/0040755 0000000 0000000 00000000000 13017773346 014307 5ustar000000000 0000000 publisher/src/test/java/com/0040755 0000000 0000000 00000000000 13017773346 015065 5ustar000000000 0000000 publisher/src/test/java/com/android/0040755 0000000 0000000 00000000000 13017773346 016505 5ustar000000000 0000000 publisher/src/test/java/com/android/tools/0040755 0000000 0000000 00000000000 13017773346 017645 5ustar000000000 0000000 publisher/src/test/java/com/android/tools/analytics/0040755 0000000 0000000 00000000000 13017773346 021634 5ustar000000000 0000000 publisher/src/test/java/com/android/tools/analytics/AnalyticsPublisherTest.java0100644 0000000 0000000 00000076411 13017773346 027152 0ustar000000000 0000000 /* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Eclipse Public License, Version 1.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.eclipse.org/org/documents/epl-v10.php * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.tools.analytics; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import com.android.testutils.SystemPropertyOverrides; import com.android.testutils.VirtualTimeDateProvider; import com.android.testutils.VirtualTimeFuture; import com.android.testutils.VirtualTimeScheduler; import com.android.utils.DateProvider; import com.android.utils.StdLogger; import com.google.wireless.android.play.playlog.proto.ClientAnalytics; import com.google.wireless.android.sdk.stats.AndroidStudioStats.AndroidStudioEvent; import com.google.wireless.android.sdk.stats.AndroidStudioStats.MetaMetrics; import com.google.wireless.android.sdk.stats.AndroidStudioStats.StudioCrash; import java.net.HttpURLConnection; import java.net.URL; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.UUID; import java.util.concurrent.Future; import java.util.concurrent.TimeUnit; import org.junit.Rule; import org.junit.Test; import org.junit.rules.TemporaryFolder; /** * Tests for {@link AnalyticsPublisher} and {@link GoogleAnalyticsPublisher}. */ public class AnalyticsPublisherTest { @Rule public final TemporaryFolder testSpoolDir = new TemporaryFolder(); @Rule public final TemporaryFolder testConfigDir = new TemporaryFolder(); @Test public void testInitialValues() throws Exception { // Configure the paths to use a temp directory for reading from and writing to. EnvironmentFakes.setCustomAndroidSdkHomeEnvironment( testConfigDir.getRoot().toPath().toString()); // Start a stub webserver to publish to. try (ServerStub stub = new ServerStub()) { // Create helpers used to instantiate the publisher. VirtualTimeScheduler vs = new VirtualTimeScheduler(); AnalyticsSettings analyticsSettings = getTestAnalyticsSettings(); // Instantiate the publisher GoogleAnalyticsPublisher googleAnalyticsPublisher = new GoogleAnalyticsPublisher( analyticsSettings, vs, testSpoolDir.getRoot().toPath()); googleAnalyticsPublisher.setServerUrl(stub.getUrl()); // Ensure the publisher's initial values are as expected. assertEquals(stub.getUrl(), googleAnalyticsPublisher.getServerUrl()); assertEquals( TimeUnit.MINUTES.toNanos(10), googleAnalyticsPublisher.getPublishInterval()); // Ensure that the first publish job has been scheduled. assertEquals(1, vs.getQueue().size()); assertEquals(TimeUnit.MINUTES.toNanos(10), vs.getQueue().peek().getTick()); } finally { EnvironmentFakes.setSystemEnvironment(); } } /** * Creates an instance of {@link AnalyticsSettings} for use in tests. */ private static AnalyticsSettings getTestAnalyticsSettings() { AnalyticsSettings analyticsSettings = new AnalyticsSettings(); analyticsSettings.setHasOptedIn(true); String uid = UUID.randomUUID().toString(); analyticsSettings.setUserId(uid); return analyticsSettings; } @Test public void testBasics() throws Exception { // Configure the paths to use a temp directory for reading from and writing to. EnvironmentFakes.setCustomAndroidSdkHomeEnvironment( testConfigDir.getRoot().toPath().toString()); try (ServerStub stub = new ServerStub(); SystemPropertyOverrides systemPropertyOverrides = new SystemPropertyOverrides()) { // Create an event to log. AndroidStudioEvent.Builder logged = createAndroidStudioEvent(5); // Use the JournalingUsageTracker to place some .trk files with events in the spool // directory. VirtualTimeScheduler vs = new VirtualTimeScheduler(); JournalingUsageTracker journalingUsageTracker = new JournalingUsageTracker( new AnalyticsSettings(), vs, testSpoolDir.getRoot().toPath()); journalingUsageTracker.log(logged); vs.advanceBy(0); journalingUsageTracker.close(); // Create helpers used to instantiate the publisher. AnalyticsSettings analyticsSettings = getTestAnalyticsSettings(); // Override the date provider to the publisher so we can reliably check if date based // properties are set correctly. VirtualTimeDateProvider dateProvider = new VirtualTimeDateProvider(vs); GoogleAnalyticsPublisher.sDateProvider = dateProvider; // move the scheduler ahead so we get non zero values for the date provider. vs.advanceBy(1, TimeUnit.MINUTES); // override the os.* system properties so the test runs reliably no matter which // it is run on. systemPropertyOverrides.setProperty("os.name", "Linux"); systemPropertyOverrides.setProperty("os.version", "3.13.0-85-generic"); GoogleAnalyticsPublisher googleAnalyticsPublisher = new GoogleAnalyticsPublisher( analyticsSettings, vs, testSpoolDir.getRoot().toPath()); googleAnalyticsPublisher.setServerUrl(stub.getUrl()); // advance time to make the publisher run its first publishing job. vs.advanceBy(10, TimeUnit.MINUTES); googleAnalyticsPublisher.close(); // retrieve results from the webserver stub. List> results = stub.getResults(); assertEquals(1, results.size()); Future result = results.get(0); assertEquals(true, result.isDone()); ClientAnalytics.LogRequest request = result.get(); // verify the retrieved proto is shaped as expected. assertEquals(660000, request.getRequestTimeMs()); assertEquals(600000, request.getRequestUptimeMs()); assertEquals( ClientAnalytics.LogRequest.LogSource.ANDROID_STUDIO, request.getLogSource()); assertEquals( ClientAnalytics.ClientInfo.ClientType.DESKTOP, request.getClientInfo().getClientType()); ClientAnalytics.DesktopClientInfo cdi = request.getClientInfo().getDesktopClientInfo(); assertEquals(analyticsSettings.getUserId(), cdi.getLoggingId()); assertEquals("linux", cdi.getOs()); assertEquals("3.13", cdi.getOsMajorVersion()); assertEquals("3.13.0-85-generic", cdi.getOsFullVersion()); assertEquals(2, request.getLogEventCount()); ClientAnalytics.LogEvent metaEvent = request.getLogEvent(0); AndroidStudioEvent metaStudioEvent = AndroidStudioEvent.parseFrom(metaEvent.getSourceExtension()); assertEquals( AndroidStudioEvent.newBuilder() .setCategory(AndroidStudioEvent.EventCategory.META) .setKind(AndroidStudioEvent.EventKind.META_METRICS) .setMetaMetrics( MetaMetrics.newBuilder() .setFailedConnections(0) .setFailedServerReplies(0) .setBytesSentInLastUpload(0) .build()) .build(), metaStudioEvent); ClientAnalytics.LogEvent userEvent = request.getLogEvent(1); AndroidStudioEvent retrieved = AndroidStudioEvent.parseFrom(userEvent.getSourceExtension()); assertEquals(logged.build(), retrieved); } finally { GoogleAnalyticsPublisher.sDateProvider = DateProvider.SYSTEM; EnvironmentFakes.setSystemEnvironment(); } // ensure the spool directory is empty after succesfully publishing the analytics. assertEquals(0, testSpoolDir.getRoot().listFiles().length); } /** * Helper that builds a {@link AndroidStudioEvent} with a marker to * distinguish this message. */ private static AndroidStudioEvent.Builder createAndroidStudioEvent(long marker) { return AndroidStudioEvent.newBuilder() .setStudioSessionId(UsageTracker.sSessionId) .setCategory(AndroidStudioEvent.EventCategory.PING) .setKind(AndroidStudioEvent.EventKind.STUDIO_PING) .setStudioCrash(StudioCrash.newBuilder().setActions(marker)); } @Test public void testBadConnection() throws Exception { // Configure the paths to use a temp directory for reading from and writing to. EnvironmentFakes.setCustomAndroidSdkHomeEnvironment( testConfigDir.getRoot().toPath().toString()); // Create a server try (ServerStub stub = new ServerStub()) { // Create an event to log. AndroidStudioEvent.Builder logged = createAndroidStudioEvent(3); // Use the JournalingUsageTracker to place some .trk files with events in the spool // directory. VirtualTimeScheduler vs = new VirtualTimeScheduler(); JournalingUsageTracker journalingUsageTracker = new JournalingUsageTracker( new AnalyticsSettings(), vs, testSpoolDir.getRoot().toPath()); journalingUsageTracker.log(logged); vs.advanceBy(0); journalingUsageTracker.close(); // Create helpers used to instantiate the publisher. AnalyticsSettings analyticsSettings = getTestAnalyticsSettings(); GoogleAnalyticsPublisher googleAnalyticsPublisher = new GoogleAnalyticsPublisher( analyticsSettings, vs, testSpoolDir.getRoot().toPath()); // set the url to publish to to a reserved port which we know the server cannot connect to. // https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.txt googleAnalyticsPublisher.setServerUrl(new URL("http://localhost:1023/")); // Execute the first publish job. vs.advanceBy(10, TimeUnit.MINUTES); // Ensure no files were published. assertEquals(1, testSpoolDir.getRoot().listFiles().length); // Ensure that the next job is scheduled at 20 mins // (2 * the normal time because of backoff). assertEquals(1, vs.getQueue().size()); assertEquals(20, vs.getQueue().peek().getDelay(TimeUnit.MINUTES)); // Configure the publisher to use our stub server instead. googleAnalyticsPublisher.setServerUrl(stub.getUrl()); // Move scheduler to run to the delayed job vs.advanceBy(20, TimeUnit.MINUTES); googleAnalyticsPublisher.close(); // Ensure that the results do come in now. List> results = stub.getResults(); assertEquals(1, results.size()); Future result = results.get(0); assertEquals(true, result.isDone()); ClientAnalytics.LogRequest request = result.get(); assertEquals(2, request.getLogEventCount()); ClientAnalytics.LogEvent metaEvent = request.getLogEvent(0); AndroidStudioEvent metaStudioEvent = AndroidStudioEvent.parseFrom(metaEvent.getSourceExtension()); assertEquals( AndroidStudioEvent.newBuilder() .setCategory(AndroidStudioEvent.EventCategory.META) .setKind(AndroidStudioEvent.EventKind.META_METRICS) .setMetaMetrics( MetaMetrics.newBuilder() // ensure that the previous failure is reported in the // meta metrics. .setFailedConnections(1) .setFailedServerReplies(0) .setBytesSentInLastUpload(0) .build()) .build(), metaStudioEvent); } finally { EnvironmentFakes.setSystemEnvironment(); } } @Test public void testBadServer() throws Exception { // Configure the paths to use a temp directory for reading from and writing to. EnvironmentFakes.setCustomAndroidSdkHomeEnvironment( testConfigDir.getRoot().toPath().toString()); try (ServerStub stub = new ServerStub(); SystemPropertyOverrides systemPropertyOverrides = new SystemPropertyOverrides()) { // Create an event to log. AndroidStudioEvent.Builder logged = createAndroidStudioEvent(3); // Use the JournalingUsageTracker to place some .trk files with events in the spool // directory. VirtualTimeScheduler vs = new VirtualTimeScheduler(); JournalingUsageTracker journalingUsageTracker = new JournalingUsageTracker( new AnalyticsSettings(), vs, testSpoolDir.getRoot().toPath()); journalingUsageTracker.log(logged); vs.advanceBy(0); journalingUsageTracker.close(); // Create helpers used to instantiate the publisher. AnalyticsSettings analyticsSettings = getTestAnalyticsSettings(); // As we're checking upload byte sizes and the size varies by the value for // time, we need to fix the time in this test. VirtualTimeDateProvider dateProvider = new VirtualTimeDateProvider(vs); GoogleAnalyticsPublisher.sDateProvider = dateProvider; // override the os.* system properties so the test runs reliably no matter which // it is run on. systemPropertyOverrides.setProperty("os.name", "Linux"); systemPropertyOverrides.setProperty("os.version", "3.13.0-85-generic"); GoogleAnalyticsPublisher googleAnalyticsPublisher = new GoogleAnalyticsPublisher( analyticsSettings, vs, testSpoolDir.getRoot().toPath()); googleAnalyticsPublisher.setServerUrl(stub.getUrl()); // Instruct to make the server stub fail the http request in the next call. stub.makeNextResponseServerError(true); // Execute the first publish job. vs.advanceBy(10, TimeUnit.MINUTES); // Ensure no files were published. assertEquals(1, testSpoolDir.getRoot().listFiles().length); // Ensure that the next job is scheduled at 20 mins // (2 * the normal time because of backoff). assertEquals(1, vs.getQueue().size()); assertEquals(20, vs.getQueue().peek().getDelay(TimeUnit.MINUTES)); // Move scheduler to run to the delayed job vs.advanceBy(20, TimeUnit.MINUTES); // Ensure that the results do come in now. List> results = stub.getResults(); assertEquals(1, results.size()); Future result = results.get(0); assertEquals(true, result.isDone()); ClientAnalytics.LogRequest request = result.get(); assertEquals(2, request.getLogEventCount()); ClientAnalytics.LogEvent metaEvent = request.getLogEvent(0); AndroidStudioEvent metaStudioEvent = AndroidStudioEvent.parseFrom(metaEvent.getSourceExtension()); assertEquals( AndroidStudioEvent.newBuilder() .setCategory(AndroidStudioEvent.EventCategory.META) .setKind(AndroidStudioEvent.EventKind.META_METRICS) .setMetaMetrics( MetaMetrics.newBuilder() .setFailedConnections(0) // ensure that the previous failure is reported in the // meta metrics. .setFailedServerReplies(1) .setBytesSentInLastUpload(166) .build()) .build(), metaStudioEvent); // Send more metrics to test behavior after successful upload journalingUsageTracker = new JournalingUsageTracker( new AnalyticsSettings(), vs, testSpoolDir.getRoot().toPath()); journalingUsageTracker.log(logged); vs.advanceBy(0); journalingUsageTracker.close(); // Next publishing should be back at 10 minutes as last job vs.advanceBy(10, TimeUnit.MINUTES); // Metrics should be published results = stub.getResults(); assertEquals(2, results.size()); result = results.get(1); assertEquals(true, result.isDone()); request = result.get(); assertEquals(2, request.getLogEventCount()); // Another metric event should be present and it should have no failures counted. metaEvent = request.getLogEvent(0); metaStudioEvent = AndroidStudioEvent.parseFrom(metaEvent.getSourceExtension()); assertEquals( AndroidStudioEvent.newBuilder() .setCategory(AndroidStudioEvent.EventCategory.META) .setKind(AndroidStudioEvent.EventKind.META_METRICS) .setMetaMetrics( MetaMetrics.newBuilder() .setFailedConnections(0) .setFailedServerReplies(0) .setBytesSentInLastUpload(167) .build()) .build(), metaStudioEvent); googleAnalyticsPublisher.close(); } finally { GoogleAnalyticsPublisher.sDateProvider = DateProvider.SYSTEM; EnvironmentFakes.setSystemEnvironment(); } } @Test public void testEmptySpoolFile() throws Exception { // Configure the paths to use a temp directory for reading from and writing to. EnvironmentFakes.setCustomAndroidSdkHomeEnvironment( testConfigDir.getRoot().toPath().toString()); try (ServerStub stub = new ServerStub()) { // Use the JournalingUsageTracker to place an empty .trk file in the spool directory. VirtualTimeScheduler vs = new VirtualTimeScheduler(); JournalingUsageTracker journalingUsageTracker = new JournalingUsageTracker( new AnalyticsSettings(), vs, testSpoolDir.getRoot().toPath()); journalingUsageTracker.close(); // Create helpers used to instantiate the publisher. AnalyticsSettings analyticsSettings = getTestAnalyticsSettings(); GoogleAnalyticsPublisher googleAnalyticsPublisher = new GoogleAnalyticsPublisher( analyticsSettings, vs, testSpoolDir.getRoot().toPath()); googleAnalyticsPublisher.setServerUrl(stub.getUrl()); // Execute the first publish job. vs.advanceBy(10, TimeUnit.MINUTES); // Ensure the .trk file got removed. assertEquals(0, testSpoolDir.getRoot().listFiles().length); googleAnalyticsPublisher.close(); // Ensure no events were published. List> results = stub.getResults(); assertEquals(0, results.size()); } finally { EnvironmentFakes.setSystemEnvironment(); } } @Test public void testMultipleEvents() throws Exception { // Configure the paths to use a temp directory for reading from and writing to. EnvironmentFakes.setCustomAndroidSdkHomeEnvironment( testConfigDir.getRoot().toPath().toString()); try { // Create a few events to log. AndroidStudioEvent.Builder logged1 = createAndroidStudioEvent(1); AndroidStudioEvent.Builder logged2 = createAndroidStudioEvent(2); AndroidStudioEvent.Builder logged3 = createAndroidStudioEvent(3); AndroidStudioEvent.Builder logged4 = createAndroidStudioEvent(4); Set expected = new HashSet<>(); expected.add(logged1.build()); expected.add(logged2.build()); expected.add(logged3.build()); expected.add(logged4.build()); // Use the JournalingUsageTracker to place several .trk files with events in the spool // directory. VirtualTimeScheduler vs = new VirtualTimeScheduler(); JournalingUsageTracker journalingUsageTracker = new JournalingUsageTracker( new AnalyticsSettings(), vs, testSpoolDir.getRoot().toPath()); journalingUsageTracker.setMaxJournalSize(2); journalingUsageTracker.log(logged1); journalingUsageTracker.log(logged2); vs.advanceBy(0); journalingUsageTracker.log(logged3); journalingUsageTracker.log(logged4); vs.advanceBy(0); journalingUsageTracker.close(); // Create helpers used to instantiate the publisher. AnalyticsSettings analyticsSettings = getTestAnalyticsSettings(); try (ServerStub stub = new ServerStub()) { GoogleAnalyticsPublisher googleAnalyticsPublisher = new GoogleAnalyticsPublisher( analyticsSettings, vs, testSpoolDir.getRoot().toPath()); googleAnalyticsPublisher.setServerUrl(stub.getUrl()); // Execute the first publish job. vs.advanceBy(10, TimeUnit.MINUTES); googleAnalyticsPublisher.close(); // check that two requests were made List> results = stub.getResults(); assertEquals(2, results.size()); Set actual = new HashSet<>(); // each request contains 3 events (1 meta and two data events). Future result1 = results.get(0); ClientAnalytics.LogRequest request1 = result1.get(); assertEquals(3, request1.getLogEventCount()); AndroidStudioEvent received1 = AndroidStudioEvent.parseFrom(request1.getLogEvent(1).getSourceExtension()); actual.add(received1); AndroidStudioEvent received2 = AndroidStudioEvent.parseFrom(request1.getLogEvent(2).getSourceExtension()); actual.add(received2); Future result2 = results.get(1); ClientAnalytics.LogRequest request2 = result2.get(); assertEquals(3, request2.getLogEventCount()); AndroidStudioEvent received3 = AndroidStudioEvent.parseFrom(request2.getLogEvent(1).getSourceExtension()); actual.add(received3); AndroidStudioEvent received4 = AndroidStudioEvent.parseFrom(request2.getLogEvent(2).getSourceExtension()); actual.add(received4); // ensure all events that were sent are received, but don't care about the order. assertEquals(expected, actual); } } finally { EnvironmentFakes.setSystemEnvironment(); } } @Test public void testUpdateInterval() throws Exception { // Configure the paths to use a temp directory for reading from and writing to. EnvironmentFakes.setCustomAndroidSdkHomeEnvironment( testConfigDir.getRoot().toPath().toString()); try (ServerStub stub = new ServerStub()) { // Create an event to log. AndroidStudioEvent.Builder logged = createAndroidStudioEvent(5); // Use the JournalingUsageTracker to place some .trk files with events in the spool // directory. VirtualTimeScheduler vs = new VirtualTimeScheduler(); JournalingUsageTracker journalingUsageTracker = new JournalingUsageTracker( new AnalyticsSettings(), vs, testSpoolDir.getRoot().toPath()); journalingUsageTracker.log(logged); vs.advanceBy(0); journalingUsageTracker.close(); // Create helpers used to instantiate the publisher. AnalyticsSettings analyticsSettings = getTestAnalyticsSettings(); GoogleAnalyticsPublisher googleAnalyticsPublisher = new GoogleAnalyticsPublisher( analyticsSettings, vs, testSpoolDir.getRoot().toPath()); googleAnalyticsPublisher.setServerUrl(stub.getUrl()); // Ensure a job is queued to publish analytics. assertEquals(1, vs.getQueue().size()); assertEquals(10, vs.getQueue().peek().getDelay(TimeUnit.MINUTES)); // Move time but not enough to trigger the job vs.advanceBy(5, TimeUnit.MINUTES); assertEquals(1, vs.getQueue().size()); assertEquals(5, vs.getQueue().peek().getDelay(TimeUnit.MINUTES)); // Update the publish interval googleAnalyticsPublisher.setPublishInterval(12, TimeUnit.MINUTES); // Ensure that the publish job has been updated to match the new interval. assertEquals(1, vs.getQueue().size()); assertEquals(12, vs.getQueue().peek().getDelay(TimeUnit.MINUTES)); // Move time forward by new interval vs.advanceBy(12, TimeUnit.MINUTES); googleAnalyticsPublisher.close(); // Ensure that analytics are published after the interval. List> results = stub.getResults(); assertEquals(1, results.size()); } finally { EnvironmentFakes.setSystemEnvironment(); } } @Test public void testCustomConnection() throws Exception { // Configure the paths to use a temp directory for reading from and writing to. EnvironmentFakes.setCustomAndroidSdkHomeEnvironment( testConfigDir.getRoot().toPath().toString()); try (ServerStub stub = new ServerStub()) { // Create an event to log. AndroidStudioEvent.Builder logged = createAndroidStudioEvent(5); // Use the JournalingUsageTracker to place some .trk files with events in the spool // directory. VirtualTimeScheduler vs = new VirtualTimeScheduler(); JournalingUsageTracker journalingUsageTracker = new JournalingUsageTracker( new AnalyticsSettings(), vs, testSpoolDir.getRoot().toPath()); journalingUsageTracker.log(logged); vs.advanceBy(0); journalingUsageTracker.close(); // Create helpers used to instantiate the publisher. AnalyticsSettings analyticsSettings = getTestAnalyticsSettings(); // Create an instance of the publisher with a customized connection creation function. GoogleAnalyticsPublisher googleAnalyticsPublisher = new GoogleAnalyticsPublisher( analyticsSettings, vs, testSpoolDir.getRoot().toPath()); googleAnalyticsPublisher.setCreateConnection( () -> (HttpURLConnection) stub.getUrl().openConnection()); // set the url to publish to to a reserved port which we know the server cannot connect // to. // https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.txt googleAnalyticsPublisher.setServerUrl(new URL("http://localhost:1023/bad")); // Move time forward to schedule the upload. vs.advanceBy(10, TimeUnit.MINUTES); googleAnalyticsPublisher.close(); // Ensure that analytics are published after the interval. List> results = stub.getResults(); assertEquals(1, results.size()); } finally { EnvironmentFakes.setSystemEnvironment(); } } @Test public void testUpdatePublisher() { // Configure the paths to use a temp directory for reading from and writing to. EnvironmentFakes.setCustomAndroidSdkHomeEnvironment( testConfigDir.getRoot().toPath().toString()); try { // Create helpers used to instantiate the publisher. VirtualTimeScheduler vs = new VirtualTimeScheduler(); assertNull(AnalyticsPublisher.getInstance()); AnalyticsSettings settings = getTestAnalyticsSettings(); // update the publisher, first call will initialize. AnalyticsPublisher.updatePublisher(new StdLogger(StdLogger.Level.ERROR), settings, vs); AnalyticsPublisher afterFirstUpdate = AnalyticsPublisher.getInstance(); assertTrue(afterFirstUpdate instanceof GoogleAnalyticsPublisher); assertEquals(settings, afterFirstUpdate.getAnalyticsSettings()); assertEquals(vs, afterFirstUpdate.getScheduler()); // ensure a job is scheduled for the first publisher. VirtualTimeFuture job = vs.getQueue().peek(); assertNotNull(job); // update again, but now opt-ed out. settings.setHasOptedIn(false); AnalyticsPublisher.updatePublisher(new StdLogger(StdLogger.Level.ERROR), settings, vs); AnalyticsPublisher afterSecondUpdate = AnalyticsPublisher.getInstance(); assertTrue(afterSecondUpdate instanceof NullAnalyticsPublisher); assertEquals(settings, afterFirstUpdate.getAnalyticsSettings()); assertEquals(vs, afterFirstUpdate.getScheduler()); // ensure job from first publisher has been canceled as part of update. assertTrue(job.isCancelled()); } finally { EnvironmentFakes.setSystemEnvironment(); } } } publisher/src/test/java/com/android/tools/analytics/ServerStub.java0100644 0000000 0000000 00000011143 13017773346 024600 0ustar000000000 0000000 /* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Eclipse Public License, Version 1.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.eclipse.org/org/documents/epl-v10.php * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.tools.analytics; import com.google.common.base.Charsets; import com.google.common.util.concurrent.SettableFuture; import com.google.wireless.android.play.playlog.proto.ClientAnalytics; import com.sun.net.httpserver.HttpExchange; import com.sun.net.httpserver.HttpHandler; import com.sun.net.httpserver.HttpServer; import java.io.IOException; import java.io.OutputStream; import java.net.InetSocketAddress; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; import java.util.List; import java.util.concurrent.Executors; import java.util.concurrent.Future; import java.util.concurrent.atomic.AtomicBoolean; /** * A tiny webserver used to stub out the Google Analytics server in tests. */ public class ServerStub implements HttpHandler, AutoCloseable { private final List> mResults = new ArrayList<>(); private final InetSocketAddress mAddress; private final HttpServer mServer; public static final int HTTP_OK = 200; public static final int HTTP_BAD_REQUEST = 404; public static final int HTTP_INTERNAL_SERVER_ERROR = 500; private final AtomicBoolean mNextResponseServerError = new AtomicBoolean(false); /** * Creates an instance of the webserver and starts listening on an unused port in the ephemeral * range. */ public ServerStub() throws IOException { mServer = HttpServer.create(new InetSocketAddress(0), 0); mServer.createContext("/log", this); mServer.setExecutor(Executors.newSingleThreadExecutor()); mServer.start(); this.mAddress = mServer.getAddress(); } /** * Builds a url for the server stub that can be used in testing {@link AnalyticsPublisher}. */ public URL getUrl() throws MalformedURLException { return new URL(String.format("http://localhost:%d/log?format=raw", mAddress.getPort())); } /** * Gets results for calls to this webserver since it was started. * The future represents successful (a {@link ClientAnalytics.LogRequest}) and failed * (an exception) requests. */ public List> getResults() { // Synchronized to ensure no results are in flight to avoid test flakeyness. synchronized (mServer) { return mResults; } } /** * iff true, instructs the webserver to send an internal server error as the response to the * next request made to this server. */ public void makeNextResponseServerError(boolean nextRequestBad) { this.mNextResponseServerError.set(nextRequestBad); } @Override public void close() { mServer.stop(0); } @Override public void handle(HttpExchange httpExchange) throws IOException { // Synchronized to ensure no results are in flight to avoid test flakeyness. synchronized (mServer) { if (mNextResponseServerError.get()) { byte[] response = "Internal Server Error".getBytes(Charsets.UTF_8); httpExchange.sendResponseHeaders(HTTP_INTERNAL_SERVER_ERROR, response.length); OutputStream body = httpExchange.getResponseBody(); body.write(response); mNextResponseServerError.set(false); } else { SettableFuture data = SettableFuture.create(); try { data.set(ClientAnalytics.LogRequest.parseFrom(httpExchange.getRequestBody())); httpExchange.sendResponseHeaders(HTTP_OK, 0); } catch (IOException e) { byte[] response = "Bad Request".getBytes(Charsets.UTF_8); httpExchange.sendResponseHeaders(HTTP_BAD_REQUEST, response.length); OutputStream body = httpExchange.getResponseBody(); body.write(response); data.setException(e); } mResults.add(data); } } } } shared/0040755 0000000 0000000 00000000000 13017773346 011071 5ustar000000000 0000000 shared/NOTICE0100644 0000000 0000000 00000024707 13017773346 012004 0ustar000000000 0000000 Copyright (c) 2005-2016, The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS shared/README.txt0100644 0000000 0000000 00000000113 13017773346 012557 0ustar000000000 0000000 analytics-shared.jar contains helper code for the analytics-library tools. shared/analytics-shared.iml0100644 0000000 0000000 00000002254 13017773346 015027 0ustar000000000 0000000 shared/build.gradle0100644 0000000 0000000 00000001444 13017773346 013350 0ustar000000000 0000000 apply plugin: 'java' apply plugin: 'jacoco' dependencies { compile project(':analytics-library:protos') compile project(':base:annotations') compile project(':base:common') compile 'com.google.guava:guava:17.0' compile 'com.google.code.gson:gson:2.2.4' testCompile 'junit:junit:4.12' testCompile 'com.google.truth:truth:0.28' testCompile project(':base:testutils') } group = 'com.android.tools.analytics-library' archivesBaseName = 'shared' version = rootProject.ext.baseVersion project.ext.pomName = 'Android Tools Analytics Shared Library' project.ext.pomDesc = 'Helper Library for tracking usage analytics.' apply from: "$rootDir/buildSrc/base/publish.gradle" apply from: "$rootDir/buildSrc/base/bintray.gradle" apply from: "$rootDir/buildSrc/base/javadoc.gradle" shared/src/0040755 0000000 0000000 00000000000 13017773346 011660 5ustar000000000 0000000 shared/src/main/0040755 0000000 0000000 00000000000 13017773346 012604 5ustar000000000 0000000 shared/src/main/java/0040755 0000000 0000000 00000000000 13017773346 013525 5ustar000000000 0000000 shared/src/main/java/com/0040755 0000000 0000000 00000000000 13017773346 014303 5ustar000000000 0000000 shared/src/main/java/com/android/0040755 0000000 0000000 00000000000 13017773346 015723 5ustar000000000 0000000 shared/src/main/java/com/android/tools/0040755 0000000 0000000 00000000000 13017773346 017063 5ustar000000000 0000000 shared/src/main/java/com/android/tools/analytics/0040755 0000000 0000000 00000000000 13017773346 021052 5ustar000000000 0000000 shared/src/main/java/com/android/tools/analytics/AnalyticsPaths.java0100644 0000000 0000000 00000002707 13017773346 024647 0ustar000000000 0000000 /* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Eclipse Public License, Version 1.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.eclipse.org/org/documents/epl-v10.php * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.tools.analytics; import com.google.common.base.Strings; import java.nio.file.Paths; /** * Helpers to get paths used to configure analytics reporting. */ public class AnalyticsPaths { /** * Gets the spooling directory used for temporary storage of analytics data. */ public static String getSpoolDirectory() { return Paths.get(getAndroidSettingsHome(), "metrics", "spool").toString(); } /** * Gets the directory used to store android related settings (usually ~/.android). */ public static String getAndroidSettingsHome() { String env = Environment.getInstance().getVariable("ANDROID_SDK_HOME"); if (!Strings.isNullOrEmpty(env)) { return env; } return Paths.get(System.getProperty("user.home"), ".android").toString(); } } shared/src/main/java/com/android/tools/analytics/AnalyticsSettings.java0100644 0000000 0000000 00000023724 13017773346 025372 0ustar000000000 0000000 /* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Eclipse Public License, Version 1.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.eclipse.org/org/documents/epl-v10.php * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.tools.analytics; import com.android.annotations.NonNull; import com.android.annotations.Nullable; import com.android.annotations.VisibleForTesting; import com.android.utils.DateProvider; import com.android.utils.ILogger; import com.google.common.base.Charsets; import com.google.common.io.Files; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.JsonParseException; import com.google.gson.annotations.SerializedName; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.RandomAccessFile; import java.math.BigInteger; import java.nio.channels.Channels; import java.nio.channels.FileChannel; import java.nio.channels.FileLock; import java.nio.channels.OverlappingFileLockException; import java.nio.file.Paths; import java.security.SecureRandom; import java.time.Instant; import java.time.LocalDate; import java.time.ZoneOffset; import java.time.temporal.ChronoUnit; import java.util.UUID; /** * Settings related to analytics reporting. These settings are stored in * ~/.android/analytics.settings as a json file. */ public class AnalyticsSettings { private static final LocalDate EPOCH = LocalDate.ofEpochDay(0); // the gate is used to ensure settings are only in process of loading once. private static final transient Object sGate = new Object(); @VisibleForTesting static AnalyticsSettings sInstance; @VisibleForTesting static DateProvider sDateProvider = DateProvider.SYSTEM; @SerializedName("userId") private String mUserId; @SerializedName("hasOptedIn") private boolean mHasOptedIn; @SerializedName("debugDisablePublishing") private boolean mDebugDisablePublishing; @SerializedName("saltValue") private BigInteger mSaltValue; @SerializedName("saltSkew") private int mSaltSkew; /** * Gets a user id used for reporting analytics. This id is pseudo-anonymous. */ public String getUserId() { return mUserId; } /** * Indicates whether the user has opted in to sending analytics reporting to Google. */ public boolean hasOptedIn() { return mHasOptedIn; } /** * Sets a new user id to be used for reporting analytics. This id should be pseudo-anonymous. */ public void setUserId(String userId) { this.mUserId = userId; } /** * Sets the user's choice for opting in to sending analytics reporting to Google or not. */ public void setHasOptedIn(boolean mHasOptedIn) { this.mHasOptedIn = mHasOptedIn; } /** Indicates whether the user has disabled publishing for debugging purposes. */ public boolean hasDebugDisablePublishing() { return mDebugDisablePublishing; } /** * Gets a binary blob to ensure per user anonymization. Gets automatically rotated every 28 * days. Primarily used by {@link Anonymizer}. */ public byte[] getSalt() throws IOException { synchronized (sGate) { int currentSaltSkew = currentSaltSkew(); if (mSaltSkew != currentSaltSkew) { mSaltSkew = currentSaltSkew; SecureRandom random = new SecureRandom(); byte[] data = new byte[24]; random.nextBytes(data); mSaltValue = new BigInteger(data); saveSettings(); } byte[] blob = mSaltValue.toByteArray(); byte[] fullBlob = blob; if (blob.length < 24) { fullBlob = new byte[24]; System.arraycopy(blob, 0, fullBlob, 0, blob.length); } return fullBlob; } } /** * Gets the current salt skew, this is used by {@link #getSalt()} to update the salt every 28 * days with a consistent window. This window size allows 4 week and 1 week analyses. */ @VisibleForTesting static int currentSaltSkew() { LocalDate now = LocalDate.from( Instant.ofEpochMilli(sDateProvider.now().getTime()).atZone(ZoneOffset.UTC)); // Unix epoch was on a Thursday, but we want Monday to be the day the salt is refreshed. long days = ChronoUnit.DAYS.between(EPOCH, now) + 3; return (int) (days / 28); } /** * Loads an existing settings file from disk, or creates a new valid settings object if none * exists. In case of the latter, will try to load uid.txt for maintaining the same uid with * previous metrics reporting. * * @throws IOException if there are any issues reading the settings file. */ @VisibleForTesting @Nullable public static AnalyticsSettings loadSettings() throws IOException { File file = getSettingsFile(); if (!file.exists()) { return null; } FileChannel channel = new RandomAccessFile(file, "rw").getChannel(); try (FileLock ignored = channel.tryLock()) { InputStream inputStream = Channels.newInputStream(channel); Gson gson = new GsonBuilder().create(); AnalyticsSettings settings = gson.fromJson(new InputStreamReader(inputStream), AnalyticsSettings.class); sInstance = settings; return settings; } catch (OverlappingFileLockException e) { throw new IOException("Unable to lock settings file " + file.toString(), e); } catch (JsonParseException e) { throw new IOException("Unable to parse settings file " + file.toString(), e); } } /** * Creates a new settings object and writes it to disk. Will try to load uid.txt for maintaining * the same uid with previous metrics reporting. * * @throws IOException if there are any issues writing the settings file. */ @VisibleForTesting @NonNull public static AnalyticsSettings createNewAnalyticsSettings() throws IOException { AnalyticsSettings settings = new AnalyticsSettings(); File uidFile = Paths.get(AnalyticsPaths.getAndroidSettingsHome(), "uid.txt").toFile(); if (uidFile.exists()) { try { String uid = Files.readFirstLine(uidFile, Charsets.UTF_8); settings.setUserId(uid); } catch (IOException e) { // Ignore and set new UID. } } if (settings.getUserId() == null) { settings.setUserId(UUID.randomUUID().toString()); } settings.saveSettings(); return settings; } /** * Get or creates an instance of the settings. Uses the following strategies in order: * *
    *
  • Use existing instance *
  • Load existing 'analytics.settings' file from disk *
  • Create new 'analytics.settings' file *
  • Create instance without persistence *
* * Any issues reading/writing the config file will be logged to the logger. */ public static AnalyticsSettings getInstance(ILogger logger) { synchronized (sGate) { if (sInstance != null) { return sInstance; } try { sInstance = loadSettings(); } catch (IOException e) { logger.error(e, "Unable to load analytics settings."); } if (sInstance == null) { try { sInstance = createNewAnalyticsSettings(); } catch (IOException e) { logger.error(e, "Unable to create new analytics settings."); } } if (sInstance == null) { sInstance = new AnalyticsSettings(); sInstance.setUserId(UUID.randomUUID().toString()); } return sInstance; } } /** * Allows test to set a custom version of the AnalyticsSettings to test different setting * states. */ @VisibleForTesting public static void setInstanceForTest(@Nullable AnalyticsSettings settings) { sInstance = settings; } /** * Helper to get the file to read/write settings from based on the configured android settings * home. */ private static File getSettingsFile() { return Paths.get(AnalyticsPaths.getAndroidSettingsHome(), "analytics.settings").toFile(); } /** * Writes this settings object to disk. * @throws IOException if there are any issues writing the settings file. */ public void saveSettings() throws IOException { File file = getSettingsFile(); try (RandomAccessFile settingsFile = new RandomAccessFile(file, "rw"); FileChannel channel = settingsFile.getChannel(); FileLock lock = channel.tryLock()) { if (lock == null) { throw new IOException("Unable to lock settings file " + file.toString()); } channel.truncate(0); OutputStream outputStream = Channels.newOutputStream(channel); Gson gson = new GsonBuilder().create(); OutputStreamWriter writer = new OutputStreamWriter(outputStream); gson.toJson(this, writer); writer.flush(); outputStream.flush(); } catch (OverlappingFileLockException e) { throw new IOException("Unable to lock settings file " + file.toString(), e); } } } shared/src/main/java/com/android/tools/analytics/Anonymizer.java0100644 0000000 0000000 00000003774 13017773346 024060 0ustar000000000 0000000 /* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.tools.analytics; import com.android.annotations.NonNull; import com.android.annotations.Nullable; import com.android.utils.ILogger; import com.google.common.base.Charsets; import com.google.common.base.Strings; import com.google.common.hash.Hasher; import com.google.common.hash.Hashing; import java.io.IOException; import java.nio.charset.Charset; /** * Anonymizes strings for analytics reporting. Each string is sha256 encoded with a salt that is * unique per user and rotated every 28 days with a predictable time window. */ public class Anonymizer { /** Anonymizes a utf8 string. Logs any issues reading the salt for anonymizing. */ public static String anonymizeUtf8(@NonNull ILogger logger, @NonNull String data) throws IOException { return anonymize(logger, data, Charsets.UTF_8); } /** * Anonymizes a string based on provided charset. Logs any issues reading the salt for * anonymizing. */ public static String anonymize( @NonNull ILogger logger, @NonNull String data, @NonNull Charset charset) throws IOException { if (Strings.isNullOrEmpty(data)) { return ""; } Hasher hasher = Hashing.sha256().newHasher(); hasher.putBytes(AnalyticsSettings.getInstance(logger).getSalt()); hasher.putString(data, charset); return hasher.hash().toString(); } } shared/src/main/java/com/android/tools/analytics/CommonMetricsData.java0100644 0000000 0000000 00000015117 13017773346 025270 0ustar000000000 0000000 /* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.tools.analytics; import com.android.annotations.VisibleForTesting; import com.google.wireless.android.sdk.stats.AndroidStudioStats; import com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.ApplicationBinaryInterface; import com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails; import java.util.Locale; import java.util.regex.Matcher; import java.util.regex.Pattern; /** Calculates common pieces of metrics data, used in various Android DevTools. */ public class CommonMetricsData { @VisibleForTesting /** * Detects and returns the OS architecture: x86, x86_64, ppc. This may differ or be equal to the * JVM architecture in the sense that a 64-bit OS can run a 32-bit JVM. */ public static ProductDetails.CpuArchitecture getOsArchitecture() { ProductDetails.CpuArchitecture jvmArchitecture = getJvmArchitecture(); if (jvmArchitecture == ProductDetails.CpuArchitecture.X86) { // This is the misleading case: the JVM is 32-bit but the OS // might be either 32 or 64. We can't tell just from this // property. // Macs are always on 64-bit, so we just need to figure it // out for Windows and Linux. String os = System.getProperty("os.name").toLowerCase(); if (os.startsWith("win")) { //$NON-NLS-1$ // When WOW64 emulates a 32-bit environment under a 64-bit OS, // it sets PROCESSOR_ARCHITEW6432 to AMD64 or IA64 accordingly. // Ref: http://msdn.microsoft.com/en-us/library/aa384274(v=vs.85).aspx String w6432 = Environment.getInstance().getVariable("PROCESSOR_ARCHITEW6432"); if (w6432 != null && w6432.contains("64")) { return ProductDetails.CpuArchitecture.X86_64; } } else if (os.startsWith("linux")) { // Let's try the obvious. This works in Ubuntu and Debian String s = Environment.getInstance().getVariable("HOSTTYPE"); return cpuArchitectureFromString(s); } } return jvmArchitecture; } /** * Gets the JVM Architecture, NOTE this might not be the same as OS architecture. See {@link * #getOsArchitecture()} if OS architecture is needed. */ public static ProductDetails.CpuArchitecture getJvmArchitecture() { String arch = System.getProperty("os.arch"); return cpuArchitectureFromString(arch); } /** * Builds a {@link ProductDetails.CpuArchitecture} instance based on the provided string (e.g. * "x86_64"). */ public static ProductDetails.CpuArchitecture cpuArchitectureFromString(String cpuArchitecture) { if (cpuArchitecture == null || cpuArchitecture.length() == 0) { return ProductDetails.CpuArchitecture.UNKNOWN_CPU_ARCHITECTURE; } if (cpuArchitecture.equalsIgnoreCase("x86_64") || cpuArchitecture.equalsIgnoreCase("ia64") || cpuArchitecture.equalsIgnoreCase("amd64")) { return ProductDetails.CpuArchitecture.X86_64; } if (cpuArchitecture.equalsIgnoreCase("x86")) { return ProductDetails.CpuArchitecture.X86; } if (cpuArchitecture.length() == 4 && cpuArchitecture.charAt(0) == 'i' && cpuArchitecture.indexOf("86") == 2) { // Any variation of iX86 counts as x86 (i386, i486, i686). return ProductDetails.CpuArchitecture.X86; } return ProductDetails.CpuArchitecture.UNKNOWN_CPU_ARCHITECTURE; } /** Gets a normalized version of the os name that this code is running on. */ public static String getOsName() { String os = System.getProperty("os.name"); if (os == null || os.length() == 0) { return "unknown"; } String osLower = os.toLowerCase(Locale.US); if (osLower.startsWith("mac")) { os = "macosx"; } else if (osLower.startsWith("win")) { //$NON-NLS-1$ os = "windows"; } else if (osLower.startsWith("linux")) { //$NON-NLS-1$ os = "linux"; } else if (os.length() > 32) { // Unknown -- send it verbatim so we can see it // but protect against arbitrarily long values os = os.substring(0, 32); } return os; } /** * Extracts the major os version that this code is running on in the form of '[0-9]+\.[0-9]+' */ public static String getMajorOsVersion() { Pattern p = Pattern.compile("(\\d+)\\.(\\d+).*"); String osVers = System.getProperty("os.version"); if (osVers != null && osVers.length() > 0) { Matcher m = p.matcher(osVers); if (m.matches()) { return m.group(1) + '.' + m.group(2); } } return null; } public static ApplicationBinaryInterface applicationBinaryInterfaceFromString(String value) { if (value == null) { return ApplicationBinaryInterface.UNKNOWN_ABI; } switch (value) { case "armeabi-v6j": return ApplicationBinaryInterface.ARME_ABI_V6J; case "armeabi-v6l": return ApplicationBinaryInterface.ARME_ABI_V6L; case "armeabi-v7a": return ApplicationBinaryInterface.ARME_ABI_V7A; case "armeabi": return ApplicationBinaryInterface.ARME_ABI; case "arm64-v8a": return ApplicationBinaryInterface.ARM64_V8A_ABI; case "mips": return ApplicationBinaryInterface.MIPS_ABI; case "mips-r2": return ApplicationBinaryInterface.MIPS_R2_ABI; case "x86": return ApplicationBinaryInterface.X86_ABI; case "x86_64": return ApplicationBinaryInterface.X86_64_ABI; default: return ApplicationBinaryInterface.UNKNOWN_ABI; } } } shared/src/main/java/com/android/tools/analytics/Environment.java0100644 0000000 0000000 00000002626 13017773346 024224 0ustar000000000 0000000 /* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Eclipse Public License, Version 1.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.eclipse.org/org/documents/epl-v10.php * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.tools.analytics; /** * Helper class to create indirection reading environment variables * as Java doesn't allow overwriting environment variables for the current process. * This is needed to allow overriding the environment variables in tests. */ abstract class Environment { abstract String getVariable(String name); static final Environment SYSTEM = new Environment() { @Override public String getVariable(String name) { return System.getenv(name); } }; static Environment sInstance = SYSTEM; static Environment getInstance() { return sInstance; } static void setInstance(Environment environment) { sInstance = environment; } } shared/src/main/java/com/android/tools/analytics/EnvironmentFakes.java0100644 0000000 0000000 00000004537 13017773346 025201 0ustar000000000 0000000 /* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Eclipse Public License, Version 1.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.eclipse.org/org/documents/epl-v10.php * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.tools.analytics; import java.util.Map; /** * Used in tests to fake out the Environment code used in production to allow injecting custom * environment variable values. */ class EnvironmentFakes { /** * Helper to fake the ANDROID_SDK_HOME environment variable to be set to {@code path}. */ public static void setCustomAndroidSdkHomeEnvironment(String path) { setSingleProperty("ANDROID_SDK_HOME", path); } public static void setMap(Map map) { Environment.setInstance( new Environment() { @Override public String getVariable(String name) { return map.get(name); } }); } public static void setSingleProperty(String key, String value) { Environment.setInstance( new Environment() { @Override public String getVariable(String name) { if (key.equals(name)) { return value; } return null; } }); } /** Helper to fake the ANDROID_SDK_HOME environment variable to be unset. */ public static void setNoEnvironmentVariable() { Environment.setInstance( new Environment() { @Override String getVariable(String name) { return null; } }); } /** * Helper to undo faking the environment variable reading. */ public static void setSystemEnvironment() { Environment.setInstance(Environment.SYSTEM); } } shared/src/test/0040755 0000000 0000000 00000000000 13017773346 012637 5ustar000000000 0000000 shared/src/test/java/0040755 0000000 0000000 00000000000 13017773346 013560 5ustar000000000 0000000 shared/src/test/java/com/0040755 0000000 0000000 00000000000 13017773346 014336 5ustar000000000 0000000 shared/src/test/java/com/android/0040755 0000000 0000000 00000000000 13017773346 015756 5ustar000000000 0000000 shared/src/test/java/com/android/tools/0040755 0000000 0000000 00000000000 13017773346 017116 5ustar000000000 0000000 shared/src/test/java/com/android/tools/analytics/0040755 0000000 0000000 00000000000 13017773346 021105 5ustar000000000 0000000 shared/src/test/java/com/android/tools/analytics/AnalyticsPathsTest.java0100644 0000000 0000000 00000004273 13017773346 025542 0ustar000000000 0000000 /* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Eclipse Public License, Version 1.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.eclipse.org/org/documents/epl-v10.php * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.tools.analytics; import static org.junit.Assert.assertEquals; import org.junit.After; import org.junit.Test; /** * Tests for {@link AnalyticsPaths}. */ public class AnalyticsPathsTest { @After public void setSystemEnvironment() throws Exception { EnvironmentFakes.setSystemEnvironment(); } @Test public void getAndroidSettingsHomeTest() throws Exception { // Test picking the default path ~/.android/ when no environment variable exists. EnvironmentFakes.setNoEnvironmentVariable(); assertEquals( System.getProperty("user.home") + "/.android", AnalyticsPaths.getAndroidSettingsHome()); // Test using the ANDROID_SDK_HOME environment variable. String customRoot = "/a/b/c"; EnvironmentFakes.setCustomAndroidSdkHomeEnvironment(customRoot); assertEquals(customRoot, AnalyticsPaths.getAndroidSettingsHome()); } @Test public void getSpoolDirectoryTest() throws Exception { // Test picking the default path under ~/.android/ when no environment variable exists. EnvironmentFakes.setNoEnvironmentVariable(); assertEquals( System.getProperty("user.home") + "/.android/metrics/spool", AnalyticsPaths.getSpoolDirectory()); // Test using the ANDROID_SDK_HOME environment variable. String customRoot = "/a/b/c"; EnvironmentFakes.setCustomAndroidSdkHomeEnvironment(customRoot); assertEquals(customRoot + "/metrics/spool", AnalyticsPaths.getSpoolDirectory()); } } shared/src/test/java/com/android/tools/analytics/AnalyticsSettingsTest.java0100644 0000000 0000000 00000033143 13017773346 026261 0ustar000000000 0000000 /* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Eclipse Public License, Version 1.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.eclipse.org/org/documents/epl-v10.php * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.tools.analytics; import com.android.annotations.NonNull; import com.android.annotations.Nullable; import com.android.utils.DateProvider; import com.android.utils.ILogger; import com.google.common.base.Charsets; import com.google.gson.JsonParseException; import org.hamcrest.core.IsInstanceOf; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; import org.junit.rules.TemporaryFolder; import java.io.IOException; import java.nio.file.Files; import java.util.Arrays; import java.util.UUID; import static org.junit.Assert.*; /** * Tests for {@link AnalyticsSettings}. */ public class AnalyticsSettingsTest { @Rule public TemporaryFolder testConfigDir = new TemporaryFolder(); @Rule public ExpectedException thrown = ExpectedException.none(); @Test public void loadExistingSettingsTest() throws Exception { // Configure the paths to use a temp directory for reading from and writing to. EnvironmentFakes.setCustomAndroidSdkHomeEnvironment(testConfigDir.getRoot().toString()); try { // Write a json settings file. String json = "{ userId: \"a4d47d92-8d4c-44bb-a8a4-d2483b6e0c16\", hasOptedIn: true }"; Files.write( testConfigDir.getRoot().toPath().resolve("analytics.settings"), json.getBytes(Charsets.UTF_8)); // read settings just written. AnalyticsSettings settings = AnalyticsSettings.loadSettings(); assertNotNull(settings); // verify read settings. assertEquals("a4d47d92-8d4c-44bb-a8a4-d2483b6e0c16", settings.getUserId()); assertTrue(settings.hasOptedIn()); // Write another json settings file String json2 = "{ userId: \"06120264-c9e7-492f-a39c-89c3cbee57c5\", hasOptedIn: false }"; Files.write( testConfigDir.getRoot().toPath().resolve("analytics.settings"), json2.getBytes(Charsets.UTF_8)); AnalyticsSettings settings2 = AnalyticsSettings.loadSettings(); assertNotNull(settings2); // verify read settings are updated. assertEquals("06120264-c9e7-492f-a39c-89c3cbee57c5", settings2.getUserId()); assertFalse(settings2.hasOptedIn()); } finally { EnvironmentFakes.setSystemEnvironment(); } } @Test public void loadBadSettingsTest() throws Exception { // Configure the paths to use a temp directory for reading from and writing to. EnvironmentFakes.setCustomAndroidSdkHomeEnvironment( testConfigDir.getRoot().toPath().toString()); try { // Write non-valid json file content. String json = "BADFILE"; Files.write( testConfigDir.getRoot().toPath().resolve("analytics.settings"), json.getBytes(Charsets.UTF_8)); // try reading the settings file and verify that it fails. thrown.expect(IOException.class); thrown.expectCause(IsInstanceOf.instanceOf(JsonParseException.class)); AnalyticsSettings.loadSettings(); } finally { EnvironmentFakes.setSystemEnvironment(); } } @Test public void newSettingsTest() throws Exception { // Configure the paths to use a temp directory for reading from and writing to. EnvironmentFakes.setCustomAndroidSdkHomeEnvironment( testConfigDir.getRoot().toPath().toString()); try { // load settings while there is no settings file present. AnalyticsSettings settings = AnalyticsSettings.loadSettings(); assertNull(settings); settings = AnalyticsSettings.createNewAnalyticsSettings(); // The generated user id should be a valid UUID. //noinspection ResultOfMethodCallIgnored UUID.fromString(settings.getUserId()); // Default setting should be to not be opted in. assertFalse(settings.hasOptedIn()); // The settings file should now be created. assertTrue( testConfigDir .getRoot() .toPath() .resolve("analytics.settings") .toFile() .exists()); settings.saveSettings(); // The settings file should still exist. assertTrue( testConfigDir .getRoot() .toPath() .resolve("analytics.settings") .toFile() .exists()); // Reading the settings again should lead to the same data being read. AnalyticsSettings settings2 = AnalyticsSettings.loadSettings(); assertNotNull(settings2); assertEquals(settings.getUserId(), settings2.getUserId()); assertFalse(settings2.hasOptedIn()); } finally { EnvironmentFakes.setSystemEnvironment(); } } @Test public void loadNewSettingsWithExistingUserIdTest() throws Exception { // Configure the paths to use a temp directory for reading from and writing to. EnvironmentFakes.setCustomAndroidSdkHomeEnvironment( testConfigDir.getRoot().toPath().toString()); try { // create a 'uid.txt' file, used by previous metrics reporting systems. String uid = "db3dd15b-053a-4066-ac93-04c50585edc2"; Files.write( testConfigDir.getRoot().toPath().resolve("uid.txt"), uid.getBytes(Charsets.UTF_8)); // create new settings. AnalyticsSettings settings = AnalyticsSettings.createNewAnalyticsSettings(); assertNotNull(settings); // Ensure the settings are using the user id from the 'uid.txt' file. assertEquals(uid, settings.getUserId()); // Default setting should be to not be opted in. assertFalse(settings.hasOptedIn()); } finally { EnvironmentFakes.setSystemEnvironment(); } } @Test public void changeSettingsTest() throws Exception { // Configure the paths to use a temp directory for reading from and writing to. EnvironmentFakes.setCustomAndroidSdkHomeEnvironment( testConfigDir.getRoot().toPath().toString()); try { // Start with an existing config on disk. String json = "{ userId: \"a4d47d92-8d4c-44bb-a8a4-d2483b6e0c16\", hasOptedIn: true }"; Files.write( testConfigDir.getRoot().toPath().resolve("analytics.settings"), json.getBytes(Charsets.UTF_8)); AnalyticsSettings settings = AnalyticsSettings.loadSettings(); assertNotNull(settings); assertEquals("a4d47d92-8d4c-44bb-a8a4-d2483b6e0c16", settings.getUserId()); assertTrue(settings.hasOptedIn()); // Update properties in the settings. String newUserId = "79d30adf-c901-4608-83ca-6dc850068316"; settings.setUserId(newUserId); settings.setHasOptedIn(false); // Write updated settings to disk settings.saveSettings(); // Read settings and verify that changes have persisted. AnalyticsSettings settings2 = AnalyticsSettings.loadSettings(); assertNotNull(settings2); assertEquals(newUserId, settings2.getUserId()); assertFalse(settings2.hasOptedIn()); } finally { EnvironmentFakes.setSystemEnvironment(); } } @Test public void saltSkewTest() { // Configure the paths to use a temp directory for reading from and writing to. EnvironmentFakes.setCustomAndroidSdkHomeEnvironment( testConfigDir.getRoot().toPath().toString()); try { // Stub dates to specific dates around boundaries when we expect the salt skew to change. AnalyticsSettings.sDateProvider = new StubDateProvider(2016, 3, 17); assertEquals(603, AnalyticsSettings.currentSaltSkew()); AnalyticsSettings.sDateProvider = new StubDateProvider(2016, 3, 18); assertEquals(604, AnalyticsSettings.currentSaltSkew()); AnalyticsSettings.sDateProvider = new StubDateProvider(2016, 4, 15); assertEquals(604, AnalyticsSettings.currentSaltSkew()); AnalyticsSettings.sDateProvider = new StubDateProvider(2016, 4, 16); assertEquals(605, AnalyticsSettings.currentSaltSkew()); AnalyticsSettings.sDateProvider = new StubDateProvider(2016, 5, 12); assertEquals(605, AnalyticsSettings.currentSaltSkew()); AnalyticsSettings.sDateProvider = new StubDateProvider(2016, 5, 13); assertEquals(606, AnalyticsSettings.currentSaltSkew()); AnalyticsSettings.sDateProvider = new StubDateProvider(2016, 6, 10); assertEquals(606, AnalyticsSettings.currentSaltSkew()); AnalyticsSettings.sDateProvider = new StubDateProvider(2016, 6, 11); assertEquals(607, AnalyticsSettings.currentSaltSkew()); } finally { // undo stubbing of dates. AnalyticsSettings.sDateProvider = DateProvider.SYSTEM; EnvironmentFakes.setSystemEnvironment(); } } @Test public void saltStickinessTest() throws IOException { EnvironmentFakes.setCustomAndroidSdkHomeEnvironment(testConfigDir.getRoot().toString()); try { AnalyticsSettings settings = new AnalyticsSettings(); // Stub dates to be at specific skew AnalyticsSettings.sDateProvider = new StubDateProvider(2016, 3, 18); // get the salt and ensure it is initialized. byte[] initialSalt = settings.getSalt(); assertNotNull(initialSalt); assertEquals(24, initialSalt.length); // Ensure the salt is still the same at the end of the skew date range. AnalyticsSettings.sDateProvider = new StubDateProvider(2016, 4, 15); assertArrayEquals(initialSalt, settings.getSalt()); // Ensure the salt is different in the next skew date range. AnalyticsSettings.sDateProvider = new StubDateProvider(2016, 4, 16); byte[] newSalt = settings.getSalt(); assertNotNull(newSalt); assertEquals(24, newSalt.length); assertFalse(Arrays.equals(initialSalt, newSalt)); settings.saveSettings(); settings = AnalyticsSettings.loadSettings(); byte[] loadedSalt = settings.getSalt(); assertArrayEquals(newSalt, loadedSalt); } finally { EnvironmentFakes.setSystemEnvironment(); } } @Test public void getInstanceTest() throws IOException { // Configure the paths to use a temp directory for reading from and writing to. EnvironmentFakes.setCustomAndroidSdkHomeEnvironment( testConfigDir.getRoot().toPath().toString()); ILogger logger = new ILogger() { @Override public void error( @Nullable Throwable t, @Nullable String msgFormat, Object... args) { fail(); } @Override public void warning(@NonNull String msgFormat, Object... args) { fail(); } @Override public void info(@NonNull String msgFormat, Object... args) { fail(); } @Override public void verbose(@NonNull String msgFormat, Object... args) { fail(); } }; try { // create a 'uid.txt' file, used by previous metrics reporting systems. String uid = "db3dd15b-053a-4066-ac93-04c50585edc2"; Files.write( testConfigDir.getRoot().toPath().resolve("uid.txt"), uid.getBytes(Charsets.UTF_8)); AnalyticsSettings.sInstance = null; AnalyticsSettings settings = AnalyticsSettings.getInstance(logger); assertNotNull(settings); assertEquals(uid, settings.getUserId()); assertFalse(settings.hasOptedIn()); settings.setHasOptedIn(true); // Write updated settings to disk settings.saveSettings(); // Read settings and verify that changes have persisted. AnalyticsSettings.sInstance = null; AnalyticsSettings settings2 = AnalyticsSettings.loadSettings(); assertNotNull(settings2); assertEquals(uid, settings2.getUserId()); assertTrue(settings2.hasOptedIn()); } finally { EnvironmentFakes.setSystemEnvironment(); } } } shared/src/test/java/com/android/tools/analytics/AnonymizerTest.java0100644 0000000 0000000 00000010637 13017773346 024747 0ustar000000000 0000000 /* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.tools.analytics; import com.android.annotations.NonNull; import com.android.annotations.Nullable; import com.android.utils.DateProvider; import com.android.utils.ILogger; import org.junit.Rule; import org.junit.Test; import org.junit.rules.TemporaryFolder; import java.io.IOException; import static org.junit.Assert.*; /** Tests for @{link Anonymizer}. */ public class AnonymizerTest { private static final String MY_RANDOM_TEXT1 = "My random text"; private static final String MY_RANDOM_TEXT2 = "More random text"; // In our case we already create an instance of AnalysisSettings so no logging should occur. private static final ILogger DO_NOT_LOG = new ILogger() { @Override public void error( @Nullable Throwable t, @Nullable String msgFormat, Object... args) { fail(String.format(msgFormat, args)); } @Override public void warning(@NonNull String msgFormat, Object... args) { fail(String.format(msgFormat, args)); } @Override public void info(@NonNull String msgFormat, Object... args) { fail(String.format(msgFormat, args)); } @Override public void verbose(@NonNull String msgFormat, Object... args) { fail(String.format(msgFormat, args)); } }; @Rule public final TemporaryFolder testConfigDir = new TemporaryFolder(); @Test public void anonymizerTest() throws IOException { // Configure the paths to use a temp directory for reading from and writing to. EnvironmentFakes.setCustomAndroidSdkHomeEnvironment( testConfigDir.getRoot().toPath().toString()); try { // Prepopulate AnalysisSettings. AnalyticsSettings.setInstanceForTest(new AnalyticsSettings()); // Set date to a specific skew range. AnalyticsSettings.sDateProvider = new StubDateProvider(2016, 3, 18); // Ensure we get some form of anonymization. String data1 = Anonymizer.anonymizeUtf8(DO_NOT_LOG, MY_RANDOM_TEXT1); assertNotNull(data1); assertNotEquals(MY_RANDOM_TEXT1, data1); // Ensure different input gives different output. String other = Anonymizer.anonymizeUtf8(DO_NOT_LOG, MY_RANDOM_TEXT2); assertNotEquals(data1, other); // Ensure that anonymizing is stable with time stable. String data2 = Anonymizer.anonymizeUtf8(DO_NOT_LOG, MY_RANDOM_TEXT1); assertEquals(data1, data2); // Set date to different date in same skew range. AnalyticsSettings.sDateProvider = new StubDateProvider(2016, 4, 15); String data3 = Anonymizer.anonymizeUtf8(DO_NOT_LOG, MY_RANDOM_TEXT1); // Ensure that same input is stable for dates in same skew range. assertEquals(data1, data3); // Set date to new skew range AnalyticsSettings.sDateProvider = new StubDateProvider(2016, 4, 16); // Ensure that same input is different for different skew range. String data4 = Anonymizer.anonymizeUtf8(DO_NOT_LOG, MY_RANDOM_TEXT1); assertNotEquals(data1, data4); // Ensure that null and empty are reported as empty. String data6 = Anonymizer.anonymizeUtf8(DO_NOT_LOG, null); assertEquals("", data6); String data7 = Anonymizer.anonymizeUtf8(DO_NOT_LOG, ""); assertEquals("", data7); } finally { // Undo stub of DateProvider. AnalyticsSettings.sDateProvider = DateProvider.SYSTEM; EnvironmentFakes.setSystemEnvironment(); } } } shared/src/test/java/com/android/tools/analytics/CommonMetricsDataTest.java0100644 0000000 0000000 00000025211 13017773346 026157 0ustar000000000 0000000 /* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.tools.analytics; import com.android.testutils.SystemPropertyOverrides; import com.google.wireless.android.sdk.stats.AndroidStudioStats; import com.google.wireless.android.sdk.stats.AndroidStudioStats.DeviceInfo.ApplicationBinaryInterface; import com.google.wireless.android.sdk.stats.AndroidStudioStats.ProductDetails.CpuArchitecture; import org.junit.Test; import java.util.HashMap; import java.util.Map; import static junit.framework.TestCase.assertEquals; /** Tests for {@link CommonMetricsData}. */ public class CommonMetricsDataTest { @Test public void cpuArchitectureFromStringTest() { assertEquals( CpuArchitecture.UNKNOWN_CPU_ARCHITECTURE, CommonMetricsData.cpuArchitectureFromString(null)); assertEquals( CpuArchitecture.UNKNOWN_CPU_ARCHITECTURE, CommonMetricsData.cpuArchitectureFromString("")); assertEquals(CpuArchitecture.X86_64, CommonMetricsData.cpuArchitectureFromString("x86_64")); assertEquals(CpuArchitecture.X86_64, CommonMetricsData.cpuArchitectureFromString("ia64")); assertEquals(CpuArchitecture.X86_64, CommonMetricsData.cpuArchitectureFromString("amd64")); assertEquals(CpuArchitecture.X86, CommonMetricsData.cpuArchitectureFromString("i486")); assertEquals(CpuArchitecture.X86, CommonMetricsData.cpuArchitectureFromString("i586")); assertEquals(CpuArchitecture.X86, CommonMetricsData.cpuArchitectureFromString("i686")); assertEquals(CpuArchitecture.X86, CommonMetricsData.cpuArchitectureFromString("x86")); assertEquals( CpuArchitecture.UNKNOWN_CPU_ARCHITECTURE, CommonMetricsData.cpuArchitectureFromString("x96")); assertEquals( CpuArchitecture.UNKNOWN_CPU_ARCHITECTURE, CommonMetricsData.cpuArchitectureFromString("i6869")); } @Test public void getJvmArchitectureTest() throws Exception { try (SystemPropertyOverrides systemPropertyOverrides = new SystemPropertyOverrides()) { systemPropertyOverrides.setProperty("os.arch", null); assertEquals( CpuArchitecture.UNKNOWN_CPU_ARCHITECTURE, CommonMetricsData.getJvmArchitecture()); systemPropertyOverrides.setProperty("os.arch", ""); assertEquals( CpuArchitecture.UNKNOWN_CPU_ARCHITECTURE, CommonMetricsData.getJvmArchitecture()); systemPropertyOverrides.setProperty("os.arch", "x86_64"); assertEquals(CpuArchitecture.X86_64, CommonMetricsData.getJvmArchitecture()); systemPropertyOverrides.setProperty("os.arch", "ia64"); assertEquals(CpuArchitecture.X86_64, CommonMetricsData.getJvmArchitecture()); systemPropertyOverrides.setProperty("os.arch", "amd64"); assertEquals(CpuArchitecture.X86_64, CommonMetricsData.getJvmArchitecture()); systemPropertyOverrides.setProperty("os.arch", "i486"); assertEquals(CpuArchitecture.X86, CommonMetricsData.getJvmArchitecture()); systemPropertyOverrides.setProperty("os.arch", "i586"); assertEquals(CpuArchitecture.X86, CommonMetricsData.getJvmArchitecture()); systemPropertyOverrides.setProperty("os.arch", "i686"); assertEquals(CpuArchitecture.X86, CommonMetricsData.getJvmArchitecture()); systemPropertyOverrides.setProperty("os.arch", "x86"); assertEquals(CpuArchitecture.X86, CommonMetricsData.getJvmArchitecture()); systemPropertyOverrides.setProperty("os.arch", "x96"); assertEquals( CpuArchitecture.UNKNOWN_CPU_ARCHITECTURE, CommonMetricsData.getJvmArchitecture()); systemPropertyOverrides.setProperty("os.arch", "i6869"); assertEquals( CpuArchitecture.UNKNOWN_CPU_ARCHITECTURE, CommonMetricsData.getJvmArchitecture()); } } @Test public void getOsArchitectureTest() throws Exception { // Override system properties for 'os.arch' and 'os.name'. try (SystemPropertyOverrides systemPropertyOverrides = new SystemPropertyOverrides()) { systemPropertyOverrides.setProperty("os.arch", null); assertEquals( CpuArchitecture.UNKNOWN_CPU_ARCHITECTURE, CommonMetricsData.getJvmArchitecture()); systemPropertyOverrides.setProperty("os.arch", ""); assertEquals( CpuArchitecture.UNKNOWN_CPU_ARCHITECTURE, CommonMetricsData.getJvmArchitecture()); systemPropertyOverrides.setProperty("os.arch", "x86_64"); assertEquals(CpuArchitecture.X86_64, CommonMetricsData.getJvmArchitecture()); systemPropertyOverrides.setProperty("os.arch", "i6869"); assertEquals( CpuArchitecture.UNKNOWN_CPU_ARCHITECTURE, CommonMetricsData.getJvmArchitecture()); systemPropertyOverrides.setProperty("os.arch", "x86"); systemPropertyOverrides.setProperty("os.name", "Windows 10"); EnvironmentFakes.setSingleProperty("PROCESSOR_ARCHITEW6432", "AMD64"); assertEquals(CpuArchitecture.X86_64, CommonMetricsData.getOsArchitecture()); systemPropertyOverrides.setProperty("os.name", "Linux"); EnvironmentFakes.setSingleProperty("HOSTTYPE", "x86_64"); assertEquals(CpuArchitecture.X86_64, CommonMetricsData.getOsArchitecture()); } finally { Environment.setInstance(Environment.SYSTEM); } } @Test public void getOsNameTest() throws Exception { // Override system properties for 'os.name'. try (SystemPropertyOverrides systemPropertyOverrides = new SystemPropertyOverrides()) { // Test no os specified. systemPropertyOverrides.setProperty("os.name", ""); assertEquals("unknown", CommonMetricsData.getOsName()); // Test our supported OSes. systemPropertyOverrides.setProperty("os.name", "Linux"); assertEquals("linux", CommonMetricsData.getOsName()); systemPropertyOverrides.setProperty("os.name", "Windows 10"); assertEquals("windows", CommonMetricsData.getOsName()); systemPropertyOverrides.setProperty("os.name", "Windows Vista"); assertEquals("windows", CommonMetricsData.getOsName()); systemPropertyOverrides.setProperty("os.name", "Mac OS X"); assertEquals("macosx", CommonMetricsData.getOsName()); // Test unknown Oses. systemPropertyOverrides.setProperty("os.name", "My Custom OS"); assertEquals("My Custom OS", CommonMetricsData.getOsName()); String customLong = "My Custom OS With a really realy long name"; systemPropertyOverrides.setProperty("os.name", customLong); assertEquals(customLong.substring(0, 32), CommonMetricsData.getOsName()); } } @Test public void getMajorOsVersionTest() throws Exception { // Override system properties for 'os.version'. try (SystemPropertyOverrides systemPropertyOverrides = new SystemPropertyOverrides()) { // Test no version specified. systemPropertyOverrides.setProperty("os.version", "3"); assertEquals(null, CommonMetricsData.getMajorOsVersion()); // Test supported os version numbers. systemPropertyOverrides.setProperty("os.version", "3.13.0-85-generic"); assertEquals("3.13", CommonMetricsData.getMajorOsVersion()); systemPropertyOverrides.setProperty("os.version", "10.7.4"); assertEquals("10.7", CommonMetricsData.getMajorOsVersion()); systemPropertyOverrides.setProperty("os.version", "10.0"); assertEquals("10.0", CommonMetricsData.getMajorOsVersion()); // Test unsupported os version numbers. systemPropertyOverrides.setProperty("os.version", "a.b.c"); assertEquals(null, CommonMetricsData.getMajorOsVersion()); } } @Test public void applicationBinaryInterfaceFromStringTest() { assertEquals( ApplicationBinaryInterface.ARME_ABI, CommonMetricsData.applicationBinaryInterfaceFromString("armeabi")); assertEquals( ApplicationBinaryInterface.ARME_ABI_V6J, CommonMetricsData.applicationBinaryInterfaceFromString("armeabi-v6j")); assertEquals( ApplicationBinaryInterface.ARME_ABI_V6L, CommonMetricsData.applicationBinaryInterfaceFromString("armeabi-v6l")); assertEquals( ApplicationBinaryInterface.ARME_ABI_V7A, CommonMetricsData.applicationBinaryInterfaceFromString("armeabi-v7a")); assertEquals( ApplicationBinaryInterface.ARM64_V8A_ABI, CommonMetricsData.applicationBinaryInterfaceFromString("arm64-v8a")); assertEquals( ApplicationBinaryInterface.MIPS_ABI, CommonMetricsData.applicationBinaryInterfaceFromString("mips")); assertEquals( ApplicationBinaryInterface.MIPS_R2_ABI, CommonMetricsData.applicationBinaryInterfaceFromString("mips-r2")); assertEquals( ApplicationBinaryInterface.X86_ABI, CommonMetricsData.applicationBinaryInterfaceFromString("x86")); assertEquals( ApplicationBinaryInterface.X86_64_ABI, CommonMetricsData.applicationBinaryInterfaceFromString("x86_64")); assertEquals( ApplicationBinaryInterface.UNKNOWN_ABI, CommonMetricsData.applicationBinaryInterfaceFromString(null)); assertEquals( ApplicationBinaryInterface.UNKNOWN_ABI, CommonMetricsData.applicationBinaryInterfaceFromString("")); assertEquals( ApplicationBinaryInterface.UNKNOWN_ABI, CommonMetricsData.applicationBinaryInterfaceFromString("my_custom_abi")); } } shared/src/test/java/com/android/tools/analytics/StubDateProvider.java0100644 0000000 0000000 00000002751 13017773346 025200 0ustar000000000 0000000 /* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.tools.analytics; import com.android.utils.DateProvider; import java.time.ZoneOffset; import java.util.Calendar; import java.util.Date; import java.util.GregorianCalendar; import java.util.TimeZone; /** * A {@link DateProvider} that can be set to a specific date for use in tests. NOTE: months are 0-11 * while days are 1-31 range. * * Uses UTC as time zone. */ public class StubDateProvider implements DateProvider { private final int year; private final int month; private final int day; public StubDateProvider(int year, int month, int day) { this.year = year; this.month = month; this.day = day; } @Override public Date now() { Calendar calendar = new GregorianCalendar(year, month, day); calendar.setTimeZone(TimeZone.getTimeZone(ZoneOffset.UTC)); return calendar.getTime(); } } tracker/0040755 0000000 0000000 00000000000 13017773346 011256 5ustar000000000 0000000 tracker/NOTICE0100644 0000000 0000000 00000024707 13017773346 012171 0ustar000000000 0000000 Copyright (c) 2005-2016, The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS tracker/README.txt0100644 0000000 0000000 00000000115 13017773346 012746 0ustar000000000 0000000 tracker.jar contains tools for reporting usage tracking analytics to Google. tracker/analytics-tracker.iml0100644 0000000 0000000 00000002256 13017773346 015403 0ustar000000000 0000000 tracker/build.gradle0100644 0000000 0000000 00000001520 13017773346 013530 0ustar000000000 0000000 apply plugin: 'java' apply plugin: 'jacoco' dependencies { compile project(':base:annotations') compile project(':base:common') compile project(':analytics-library:protos') compile project(':analytics-library:shared') compile 'com.google.protobuf:protobuf-java:2.5.0' compile 'com.google.guava:guava:17.0' testCompile project(':base:testutils') testCompile 'junit:junit:4.12' testCompile 'com.google.truth:truth:0.28' } group = 'com.android.tools.analytics-library' archivesBaseName = 'tracker' version = rootProject.ext.baseVersion project.ext.pomName = 'Android Tools Analytics Tracker' project.ext.pomDesc = 'Library for tracking usage analytics.' apply from: "$rootDir/buildSrc/base/publish.gradle" apply from: "$rootDir/buildSrc/base/bintray.gradle" apply from: "$rootDir/buildSrc/base/javadoc.gradle" tracker/src/0040755 0000000 0000000 00000000000 13017773346 012045 5ustar000000000 0000000 tracker/src/main/0040755 0000000 0000000 00000000000 13017773346 012771 5ustar000000000 0000000 tracker/src/main/java/0040755 0000000 0000000 00000000000 13017773346 013712 5ustar000000000 0000000 tracker/src/main/java/com/0040755 0000000 0000000 00000000000 13017773346 014470 5ustar000000000 0000000 tracker/src/main/java/com/android/0040755 0000000 0000000 00000000000 13017773346 016110 5ustar000000000 0000000 tracker/src/main/java/com/android/tools/0040755 0000000 0000000 00000000000 13017773346 017250 5ustar000000000 0000000 tracker/src/main/java/com/android/tools/analytics/0040755 0000000 0000000 00000000000 13017773346 021237 5ustar000000000 0000000 tracker/src/main/java/com/android/tools/analytics/JournalingUsageTracker.java0100755 0000000 0000000 00000020323 13017773346 026513 0ustar000000000 0000000 /* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Eclipse Public License, Version 1.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.eclipse.org/org/documents/epl-v10.php * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.tools.analytics; import com.android.annotations.NonNull; import com.google.wireless.android.play.playlog.proto.ClientAnalytics; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; import java.nio.channels.Channels; import java.nio.channels.FileChannel; import java.nio.channels.FileLock; import java.nio.channels.OverlappingFileLockException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.UUID; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.ScheduledFuture; import java.util.concurrent.TimeUnit; /** * a UsageTracker that uses a spool to journal the logs tracked. This tracker can be used in both * long-running as well as short-lived command-line tooling to track usage analytics. All * analytics get written out to a well-known spool location and will be processed by a separate * service in Android Studio for publication. Normal usage calls {@link UsageTracker#getInstance()} * to get access to the UsageTracker. This will automatically be set to the correct instance based * on the user choosing to opt-in to reporting usage analytics to Google or not. *

* Spool files are binary files protobuf using delimited streams * https://developers.google.com/protocol-buffers/docs/techniques#streaming */ public class JournalingUsageTracker extends UsageTracker { private final Path mSpoolLocation; private final Object mGate = new Object(); private FileLock mLock = null; private FileChannel mChannel = null; private OutputStream mOutputStream = null; private int mCurrentLogCount = 0; private ScheduledFuture mJournalTimeout; private int mScheduleVersion = 0; private boolean mClosed; /** * Creates an instance of JournalingUsageTracker. Ensures spool location is available and locks * the first journaling file. * * @param spoolLocation location to use for spool files. * @param scheduler used for scheduling writing logs and closing & starting new files on * timeout/size limits. */ JournalingUsageTracker( AnalyticsSettings analyticsSettings, ScheduledExecutorService scheduler, Path spoolLocation) { super(analyticsSettings, scheduler); this.mSpoolLocation = spoolLocation; try { newTrackFile(); } catch (IOException e) { throw new RuntimeException("Unable to initialize first usage tracking spool file", e); } } /** * Creates a new track file with a guid name (for uniqueness) and locks it for writing. */ private void newTrackFile() throws IOException { Path spoolFile = Paths.get(mSpoolLocation.toString(), UUID.randomUUID().toString() + ".trk"); Files.createDirectories(spoolFile.getParent()); FileOutputStream fileOutputStream = new FileOutputStream(spoolFile.toFile()); mChannel = fileOutputStream.getChannel(); try { mLock = mChannel.tryLock(); mOutputStream = Channels.newOutputStream(mChannel); } catch (OverlappingFileLockException e) { throw new IOException("Unable to lock usage tracking spool file", e); } if (mLock == null) { throw new IOException("Unable to lock usage tracking spool file, file already locked"); } mCurrentLogCount = 0; } /** * Closes the track file currently open for writing. */ private void closeTrackFile() throws IOException { if (mLock != null) { mLock.release(); mLock = null; } if (mChannel != null) { mChannel.close(); mChannel = null; } } @Override public void logDetails(@NonNull ClientAnalytics.LogEvent.Builder logEvent) { if (mClosed) { throw new RuntimeException("UsageTracker already closed."); } getScheduler() .execute( new Runnable() { @Override public void run() { synchronized (mGate) { try { logEvent.build().writeDelimitedTo(mOutputStream); mOutputStream.flush(); mChannel.force(false); } catch (IOException e) { throw new RuntimeException( "Failure writing logDetails to usage tracking spool file", e); } mCurrentLogCount++; if (getMaxJournalSize() > 0 && mCurrentLogCount >= getMaxJournalSize()) { switchTrackFile(); if (mJournalTimeout != null) { // Reset the max journal time as we just reset the logs. scheduleJournalTimeout(getMaxJournalTime()); } } } } }); } /** * Closes the trackfile currently used for writing and creates a brand new one and opens that * one for writing. */ private void switchTrackFile() { try { closeTrackFile(); newTrackFile(); } catch (IOException e) { throw new RuntimeException("Failure switching to new usage tracking spool file", e); } } /** * * Closes the UsageTracker (closes current tracker file, disables scheduling of timeout & * disables new logs from * being posted). */ @Override public void close() throws Exception { synchronized (mGate) { mClosed = true; closeTrackFile(); if (this.mJournalTimeout != null) { this.mJournalTimeout.cancel(false); } } } @Override public void setMaxJournalTime(long duration, TimeUnit unit) { synchronized (mGate) { super.setMaxJournalTime(duration, unit); scheduleJournalTimeout(getMaxJournalTime()); } } /** Schedules a timeout at which point the journal will be */ private void scheduleJournalTimeout(long maxJournalTime) { final int currentScheduleVersion = ++mScheduleVersion; if (mJournalTimeout != null) { mJournalTimeout.cancel(false); } mJournalTimeout = getScheduler() .schedule( () -> { synchronized (mGate) { if (mCurrentLogCount > 0) { switchTrackFile(); } // only schedule next beat if we're still the authority. if (mScheduleVersion == currentScheduleVersion) { scheduleJournalTimeout(maxJournalTime); } } }, maxJournalTime, TimeUnit.NANOSECONDS); } } tracker/src/main/java/com/android/tools/analytics/NullUsageTracker.java0100755 0000000 0000000 00000002474 13017773346 025324 0ustar000000000 0000000 /* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Eclipse Public License, Version 1.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.eclipse.org/org/documents/epl-v10.php * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.tools.analytics; import com.android.annotations.NonNull; import com.google.wireless.android.play.playlog.proto.ClientAnalytics; import java.util.concurrent.ScheduledExecutorService; /** * A {@link UsageTracker} that does not report any logs. Used when the user opts-out of reporting * usage analytics to Google. */ public class NullUsageTracker extends UsageTracker { public NullUsageTracker( AnalyticsSettings analyticsSettings, ScheduledExecutorService scheduler) { super(analyticsSettings, scheduler); } @Override public void logDetails(@NonNull ClientAnalytics.LogEvent.Builder studioEvent) {} @Override public void close() {} } tracker/src/main/java/com/android/tools/analytics/UsageTracker.java0100755 0000000 0000000 00000014007 13017773346 024464 0ustar000000000 0000000 /* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Eclipse Public License, Version 1.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.eclipse.org/org/documents/epl-v10.php * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.tools.analytics; import com.android.annotations.NonNull; import com.android.annotations.VisibleForTesting; import com.android.utils.ILogger; import com.google.wireless.android.sdk.stats.AndroidStudioStats; import com.google.wireless.android.play.playlog.proto.ClientAnalytics; import java.io.IOException; import java.nio.file.Paths; import java.util.Date; import java.util.UUID; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; /** * UsageTracker is an api to report usage of features. This data is used to improve * future versions of Android Studio and related tools. * * The tracker has an API to logDetails usage (in the form of protobuf messages). * A separate system called the Analytics Publisher takes the logs and sends them * to Google's servers for analysis. */ public abstract class UsageTracker implements AutoCloseable { private static final Object sGate = new Object(); @VisibleForTesting static final String sSessionId = UUID.randomUUID().toString(); private static UsageTracker sInstance = new NullUsageTracker(new AnalyticsSettings(), null); private final AnalyticsSettings mAnalyticsSettings; private final ScheduledExecutorService mScheduler; private int mMaxJournalSize; private long mMaxJournalTime; protected UsageTracker( AnalyticsSettings analyticsSettings, ScheduledExecutorService scheduler) { this.mAnalyticsSettings = analyticsSettings; this.mScheduler = scheduler; } /** * Indicates whether this UsageTracker has a maximum size at which point logs need to be flushed. * Zero or less indicates no maximum size at which to flush. */ public int getMaxJournalSize() { return mMaxJournalSize; } /* * Sets a maximum size at which point logs need to be flushed. Zero or less indicates no * flushing until @{link #close()} is called. */ public void setMaxJournalSize(int maxJournalSize) { this.mMaxJournalSize = maxJournalSize; } /** * Indicates whether this UsageTracker has a timeout at which point logs need to be flushed. * Zero or less indicates no timeout is set. * * @return timeout in nano-seconds. */ public long getMaxJournalTime() { return mMaxJournalTime; } /** * Sets a timeout at which point logs need to be flushed. Zero or less indicates no timeout * should be used. */ public void setMaxJournalTime(long duration, TimeUnit unit) { this.mMaxJournalTime = unit.toNanos(duration); } /** Gets the analytics settings used by this tracker. */ public AnalyticsSettings getAnalyticsSettings() { return mAnalyticsSettings; } /** Gets the scheduler used by this tracker. */ public ScheduledExecutorService getScheduler() { return mScheduler; } /** Logs usage data provided in the @{link AndroidStudioStats.AndroidStudioEvent}. */ public void log(@NonNull AndroidStudioStats.AndroidStudioEvent.Builder studioEvent) { studioEvent.setStudioSessionId(sSessionId); logDetails( ClientAnalytics.LogEvent.newBuilder() .setEventTimeMs(new Date().getTime()) .setSourceExtension(studioEvent.build().toByteString())); } /** * Logs usage data provided in the @{link ClientAnalytics.LogEvent}. Normally using {#log} is * preferred please talk to this code's author if you need {@link #logDetails} instead. */ public abstract void logDetails(@NonNull ClientAnalytics.LogEvent.Builder logEvent); /** * Gets an instance of the {@link UsageTracker} that has been initialized correctly for this process. */ @NonNull public static UsageTracker getInstance() { synchronized (sGate) { return sInstance; } } /** * Initializes a {@link UsageTracker} for use throughout this process based on user opt-in and * other settings. */ public static UsageTracker initialize( @NonNull AnalyticsSettings analyticsSettings, @NonNull ScheduledExecutorService scheduler) { synchronized (sGate) { if (analyticsSettings.hasOptedIn()) { sInstance = new JournalingUsageTracker( analyticsSettings, scheduler, Paths.get(AnalyticsPaths.getSpoolDirectory())); } else { sInstance = new NullUsageTracker(analyticsSettings, scheduler); } return sInstance; } } public static AnalyticsSettings updateSettingsAndTracker( boolean optIn, @NonNull ILogger logger, @NonNull ScheduledExecutorService scheduler) { UsageTracker current = getInstance(); AnalyticsSettings settings = AnalyticsSettings.getInstance(logger); if (optIn != settings.hasOptedIn()) { settings.setHasOptedIn(optIn); try { settings.saveSettings(); } catch (IOException e) { logger.error(e, "Unable to save analytics settings"); } } try { current.close(); } catch (Exception e) { logger.error(e, "Unable to close existing analytics tracker"); } initialize(settings, scheduler); return settings; } } tracker/src/test/0040755 0000000 0000000 00000000000 13017773346 013024 5ustar000000000 0000000 tracker/src/test/java/0040755 0000000 0000000 00000000000 13017773346 013745 5ustar000000000 0000000 tracker/src/test/java/com/0040755 0000000 0000000 00000000000 13017773346 014523 5ustar000000000 0000000 tracker/src/test/java/com/android/0040755 0000000 0000000 00000000000 13017773346 016143 5ustar000000000 0000000 tracker/src/test/java/com/android/tools/0040755 0000000 0000000 00000000000 13017773346 017303 5ustar000000000 0000000 tracker/src/test/java/com/android/tools/analytics/0040755 0000000 0000000 00000000000 13017773346 021272 5ustar000000000 0000000 tracker/src/test/java/com/android/tools/analytics/JournalingUsageTrackerTest.java0100644 0000000 0000000 00000061772 13017773346 027420 0ustar000000000 0000000 /* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Eclipse Public License, Version 1.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.eclipse.org/org/documents/epl-v10.php * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.tools.analytics; import com.android.testutils.VirtualTimeScheduler; import com.android.utils.StdLogger; import com.google.protobuf.InvalidProtocolBufferException; import com.google.wireless.android.play.playlog.proto.ClientAnalytics; import com.google.wireless.android.sdk.stats.AndroidStudioStats; import org.junit.Rule; import org.junit.Test; import org.junit.rules.TemporaryFolder; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.RandomAccessFile; import java.nio.channels.Channels; import java.nio.channels.FileChannel; import java.nio.channels.FileLock; import java.nio.channels.OverlappingFileLockException; import java.nio.file.DirectoryStream; import java.nio.file.Files; import java.nio.file.Path; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.concurrent.TimeUnit; import static org.junit.Assert.*; /** * Tests for {@link JournalingUsageTracker}. */ public class JournalingUsageTrackerTest { @Rule public TemporaryFolder testConfigDir = new TemporaryFolder(); @Rule public TemporaryFolder testSpoolDir = new TemporaryFolder(); @Test public void trackerBasicTest() throws Exception { // Configure the paths to use a temp directory for reading from and writing to. EnvironmentFakes.setCustomAndroidSdkHomeEnvironment( testConfigDir.getRoot().toPath().toString()); try { // Setup up an instance of the JournalingUsageTracker using a temp spool directory and // virtual time scheduler. VirtualTimeScheduler virtualTimeScheduler = new VirtualTimeScheduler(); JournalingUsageTracker journalingUsageTracker = new JournalingUsageTracker( new AnalyticsSettings(), virtualTimeScheduler, testSpoolDir.getRoot().toPath()); // Create a log entry and log it. AndroidStudioStats.AndroidStudioEvent.Builder logEntry = createAndroidStudioEvent(42); journalingUsageTracker.log(logEntry); // Ensure this triggers an action on the scheduler and run the action assertEquals(1, virtualTimeScheduler.getActionsQueued()); virtualTimeScheduler.advanceBy(0); assertEquals(0, virtualTimeScheduler.getActionsQueued()); // The action should have written to the still locked spool file. SpoolDetails beforeClose = getSpoolDetails(testSpoolDir.getRoot().toPath()); assertEquals(1, beforeClose.getLockedFiles().size()); assertEquals(0, beforeClose.getCompletedLogs().size()); // Close the usage tracker journalingUsageTracker.close(); // Ensure that closing the usage tracker released the spool file, and doesn't open a new // one. SpoolDetails afterClose = getSpoolDetails(testSpoolDir.getRoot().toPath()); assertEquals(0, afterClose.getLockedFiles().size()); assertEquals(1, afterClose.getCompletedLogs().size()); // Check that there is exactly one spool file with one event logged that equals the event // we logged. for (Map.Entry> entry : afterClose.getCompletedLogs().entrySet()) { assertEquals(1, entry.getValue().size()); ClientAnalytics.LogEvent logEvent = entry.getValue().get(0); AndroidStudioStats.AndroidStudioEvent actualEvent = studioEventFromLogEvent(logEvent); assertEquals(logEntry.build(), actualEvent); } } finally { EnvironmentFakes.setSystemEnvironment(); } } @Test public void trackerTimeoutTest() throws Exception { // Configure the paths to use a temp directory for reading from and writing to. EnvironmentFakes.setCustomAndroidSdkHomeEnvironment( testConfigDir.getRoot().toPath().toString()); try { // Setup up an instance of the JournalingUsageTracker using a temp spool directory and // virtual time scheduler. VirtualTimeScheduler virtualTimeScheduler = new VirtualTimeScheduler(); JournalingUsageTracker journalingUsageTracker = new JournalingUsageTracker( new AnalyticsSettings(), virtualTimeScheduler, testSpoolDir.getRoot().toPath()); // Set a timeout of 1 minute for closing the current spool file. journalingUsageTracker.setMaxJournalTime(1, TimeUnit.MINUTES); assertEquals(1, virtualTimeScheduler.getActionsQueued()); // Write an event to the usage tracker AndroidStudioStats.AndroidStudioEvent.Builder logEntry1 = createAndroidStudioEvent(22); journalingUsageTracker.log(logEntry1); // Run the scheduler to write the log to the journal file virtualTimeScheduler.advanceBy(0); // Before the timeout there should be one spool file and it should be locked. SpoolDetails beforeTimeout = getSpoolDetails(testSpoolDir.getRoot().toPath()); assertEquals(1, beforeTimeout.getLockedFiles().size()); assertEquals(0, beforeTimeout.getCompletedLogs().size()); // Advance the scheduler for the timeout to occur. long actionsExecuted = virtualTimeScheduler.advanceBy(1, TimeUnit.MINUTES); assertEquals(1, actionsExecuted); assertEquals(1, virtualTimeScheduler.getActionsQueued()); // After the timeout there should be one spool file that is locked and one that is ready for reading. // the latter should contain the event logged before the timeout. SpoolDetails afterTimeout = getSpoolDetails(testSpoolDir.getRoot().toPath()); assertEquals(1, afterTimeout.getLockedFiles().size()); assertEquals(1, afterTimeout.getCompletedLogs().size()); for (Map.Entry> entry : afterTimeout.getCompletedLogs().entrySet()) { assertEquals(1, entry.getValue().size()); ClientAnalytics.LogEvent logEvent = entry.getValue().get(0); AndroidStudioStats.AndroidStudioEvent actualEvent = studioEventFromLogEvent(logEvent); assertEquals(logEntry1.build(), actualEvent); } // Log another event. AndroidStudioStats.AndroidStudioEvent.Builder logEntry2 = createAndroidStudioEvent(33); journalingUsageTracker.log(logEntry2); virtualTimeScheduler.advanceBy(0); // Close the scheduler for flushing any outstanding spool files. journalingUsageTracker.close(); // Check that the expected jobs have been executed. assertEquals(3, virtualTimeScheduler.getActionsExecuted()); assertEquals(0, virtualTimeScheduler.getActionsQueued()); // After close we expect two seperate spool files, each containing one of the events. SpoolDetails afterClose = getSpoolDetails(testSpoolDir.getRoot().toPath()); assertEquals(0, afterClose.getLockedFiles().size()); assertEquals(2, afterClose.getCompletedLogs().size()); for (Map.Entry> afterTimeoutEntry : afterTimeout.getCompletedLogs().entrySet()) { List existingAfterClose = afterClose.getCompletedLogs().get(afterTimeoutEntry.getKey()); assertEquals(existingAfterClose, afterTimeoutEntry.getValue()); afterClose.getCompletedLogs().remove(afterTimeoutEntry.getKey()); } for (Map.Entry> afterCloseEntry : afterClose.getCompletedLogs().entrySet()) { assertEquals(1, afterCloseEntry.getValue().size()); ClientAnalytics.LogEvent logEvent = afterCloseEntry.getValue().get(0); AndroidStudioStats.AndroidStudioEvent actualEvent = studioEventFromLogEvent(logEvent); assertEquals(logEntry2.build(), actualEvent); } // Closing again should be a noop. journalingUsageTracker.close(); } finally { EnvironmentFakes.setSystemEnvironment(); } } @Test public void trackerTimeoutNoLogsTest() throws Exception { // Configure the paths to use a temp directory for reading from and writing to. EnvironmentFakes.setCustomAndroidSdkHomeEnvironment( testConfigDir.getRoot().toPath().toString()); try { // Setup up an instance of the JournalingUsageTracker using a temp spool directory and // virtual time scheduler. VirtualTimeScheduler virtualTimeScheduler = new VirtualTimeScheduler(); JournalingUsageTracker journalingUsageTracker = new JournalingUsageTracker( new AnalyticsSettings(), virtualTimeScheduler, testSpoolDir.getRoot().toPath()); // Set a timeout of 1 minute for closing the current spool file. journalingUsageTracker.setMaxJournalTime(1, TimeUnit.MINUTES); assertEquals(1, virtualTimeScheduler.getActionsQueued()); // Before the timeout there should be one spool file and it should be locked. SpoolDetails beforeTimeout = getSpoolDetails(testSpoolDir.getRoot().toPath()); assertEquals(1, beforeTimeout.getLockedFiles().size()); assertEquals(0, beforeTimeout.getCompletedLogs().size()); // Advance the scheduler for the timeout to occur. long actionsExecuted = virtualTimeScheduler.advanceBy(1, TimeUnit.MINUTES); assertEquals(1, actionsExecuted); assertEquals(1, virtualTimeScheduler.getActionsQueued()); // After the timeout there should not be any changes to the spool files as // there was nothing to log. SpoolDetails afterTimeout = getSpoolDetails(testSpoolDir.getRoot().toPath()); assertEquals(1, afterTimeout.getLockedFiles().size()); assertEquals(0, afterTimeout.getCompletedLogs().size()); journalingUsageTracker.close(); } finally { EnvironmentFakes.setSystemEnvironment(); } } @Test public void trackerMaxLogsTest() throws Exception { // Configure the paths to use a temp directory for reading from and writing to. EnvironmentFakes.setCustomAndroidSdkHomeEnvironment( testConfigDir.getRoot().toPath().toString()); try { // Setup up an instance of the JournalingUsageTracker using a temp spool directory and // virtual time scheduler. VirtualTimeScheduler virtualTimeScheduler = new VirtualTimeScheduler(); JournalingUsageTracker journalingUsageTracker = new JournalingUsageTracker( new AnalyticsSettings(), virtualTimeScheduler, testSpoolDir.getRoot().toPath()); // Restrict the max amount of logs per spool file to 3. journalingUsageTracker.setMaxJournalSize(3); assertEquals(0, virtualTimeScheduler.getActionsQueued()); // Write two events. AndroidStudioStats.AndroidStudioEvent.Builder event1 = createAndroidStudioEvent(1); journalingUsageTracker.log(event1); virtualTimeScheduler.advanceBy(0); AndroidStudioStats.AndroidStudioEvent.Builder event2 = createAndroidStudioEvent(2); journalingUsageTracker.log(event2); virtualTimeScheduler.advanceBy(0); // Ensure that given we haven't reach max, there is only one spool file and it is locked. SpoolDetails beforeMax = getSpoolDetails(testSpoolDir.getRoot().toPath()); assertEquals(1, beforeMax.getLockedFiles().size()); assertEquals(0, beforeMax.getCompletedLogs().size()); // Write another event AndroidStudioStats.AndroidStudioEvent.Builder event3 = createAndroidStudioEvent(3); journalingUsageTracker.log(event3); virtualTimeScheduler.advanceBy(0); // Ensure we hit max that the original spool file has completed and a new one created and // locked. SpoolDetails afterMax = getSpoolDetails(testSpoolDir.getRoot().toPath()); assertEquals(1, afterMax.getLockedFiles().size()); assertEquals(1, afterMax.getCompletedLogs().size()); for (Map.Entry> entry : afterMax.getCompletedLogs().entrySet()) { assertEquals(3, entry.getValue().size()); AndroidStudioStats.AndroidStudioEvent actualEvent1 = studioEventFromLogEvent(entry.getValue().get(0)); assertEquals(event1.build(), actualEvent1); AndroidStudioStats.AndroidStudioEvent actualEvent2 = studioEventFromLogEvent(entry.getValue().get(1)); assertEquals(event2.build(), actualEvent2); AndroidStudioStats.AndroidStudioEvent actualEvent3 = studioEventFromLogEvent(entry.getValue().get(2)); assertEquals(event3.build(), actualEvent3); } // Write two more events. AndroidStudioStats.AndroidStudioEvent.Builder event4 = createAndroidStudioEvent(4); journalingUsageTracker.log(event4); virtualTimeScheduler.advanceBy(0); AndroidStudioStats.AndroidStudioEvent.Builder event5 = createAndroidStudioEvent(5); journalingUsageTracker.log(event5); virtualTimeScheduler.advanceBy(0); // Close the usage tracker. journalingUsageTracker.close(); // After close we expect two spool files, the first with the first 3 events and the second // file the last 2 events. SpoolDetails afterClose = getSpoolDetails(testSpoolDir.getRoot().toPath()); assertEquals(0, afterClose.getLockedFiles().size()); assertEquals(2, afterClose.getCompletedLogs().size()); for (Map.Entry> afterMaxEntry : afterMax.getCompletedLogs().entrySet()) { List existingAfterClose = afterClose.getCompletedLogs().get(afterMaxEntry.getKey()); assertEquals(existingAfterClose, afterMaxEntry.getValue()); afterClose.getCompletedLogs().remove(afterMaxEntry.getKey()); } for (Map.Entry> afterCloseEntry : afterClose.getCompletedLogs().entrySet()) { assertEquals(2, afterCloseEntry.getValue().size()); AndroidStudioStats.AndroidStudioEvent actualEvent4 = studioEventFromLogEvent(afterCloseEntry.getValue().get(0)); assertEquals(event4.build(), actualEvent4); AndroidStudioStats.AndroidStudioEvent actualEvent5 = studioEventFromLogEvent(afterCloseEntry.getValue().get(1)); assertEquals(event5.build(), actualEvent5); } } finally { EnvironmentFakes.setSystemEnvironment(); } } @Test public void trackerUpdateTimeoutTest() throws Exception { // Configure the paths to use a temp directory for reading from and writing to. EnvironmentFakes.setCustomAndroidSdkHomeEnvironment( testConfigDir.getRoot().toPath().toString()); try { // Setup up an instance of the JournalingUsageTracker using a temp spool directory and // virtual time scheduler. VirtualTimeScheduler virtualTimeScheduler = new VirtualTimeScheduler(); JournalingUsageTracker journalingUsageTracker = new JournalingUsageTracker( new AnalyticsSettings(), virtualTimeScheduler, testSpoolDir.getRoot().toPath()); // Write an event to ensure track file switch is triggered. AndroidStudioStats.AndroidStudioEvent.Builder event = createAndroidStudioEvent(1); journalingUsageTracker.log(event); virtualTimeScheduler.advanceBy(0); // Set a timeout of 1 minute for closing the current spool file. journalingUsageTracker.setMaxJournalTime(1, TimeUnit.MINUTES); assertEquals(1, virtualTimeScheduler.getActionsExecuted()); assertEquals(1, virtualTimeScheduler.getActionsQueued()); // Move time forward but not enough to trigger the timeout. virtualTimeScheduler.advanceBy(30, TimeUnit.SECONDS); assertEquals(1, virtualTimeScheduler.getActionsExecuted()); assertEquals(1, virtualTimeScheduler.getActionsQueued()); // Update the timeout journalingUsageTracker.setMaxJournalTime(1, TimeUnit.MINUTES); assertEquals(1, virtualTimeScheduler.getActionsExecuted()); assertEquals(1, virtualTimeScheduler.getActionsQueued()); // Move to the time of the original timeout virtualTimeScheduler.advanceBy(30, TimeUnit.SECONDS); // Ensure the original timeout is not triggered. assertEquals(1, virtualTimeScheduler.getActionsExecuted()); assertEquals(1, virtualTimeScheduler.getActionsQueued()); // Move to the time of the new timeout virtualTimeScheduler.advanceBy(30, TimeUnit.SECONDS); // Ensure the new timeout is triggered. assertEquals(2, virtualTimeScheduler.getActionsExecuted()); assertEquals(1, virtualTimeScheduler.getActionsQueued()); // Ensure that the first spool file was closed and a new one created. SpoolDetails afterTimeout = getSpoolDetails(testSpoolDir.getRoot().toPath()); assertEquals(1, afterTimeout.getLockedFiles().size()); assertEquals(1, afterTimeout.getCompletedLogs().size()); } finally { EnvironmentFakes.setSystemEnvironment(); } } @Test public void updateSettingsAndTrackerTest() throws IOException { UsageTracker beforeUpdate = UsageTracker.getInstance(); assertTrue(beforeUpdate instanceof NullUsageTracker); // Configure the paths to use a temp directory for reading from and writing to. EnvironmentFakes.setCustomAndroidSdkHomeEnvironment( testConfigDir.getRoot().toPath().toString()); try { File settingsFile = testConfigDir.getRoot().toPath().resolve("analytics.settings").toFile(); assertFalse(settingsFile.exists()); // Setup up an instance of the JournalingUsageTracker using a temp spool directory and // virtual time scheduler. VirtualTimeScheduler virtualTimeScheduler = new VirtualTimeScheduler(); // updating to opt-in false from scratch should set NullUsageTracker // and initialize settings. AnalyticsSettings settings1 = UsageTracker.updateSettingsAndTracker( false, new StdLogger(StdLogger.Level.INFO), virtualTimeScheduler); assertNotNull(settings1); assertTrue(settingsFile.exists()); UsageTracker afterFirstUpdate = UsageTracker.getInstance(); assertTrue(afterFirstUpdate instanceof NullUsageTracker); assertNotEquals(beforeUpdate, afterFirstUpdate); assertEquals(settings1, afterFirstUpdate.getAnalyticsSettings()); assertFalse(settings1.hasOptedIn()); assertEquals(virtualTimeScheduler, UsageTracker.getInstance().getScheduler()); // updating to opt-in true should update settings and initialize JournalingUsageTracker. AnalyticsSettings settings2 = UsageTracker.updateSettingsAndTracker( true, new StdLogger(StdLogger.Level.INFO), virtualTimeScheduler); assertNotNull(settings2); UsageTracker afterSecondUpdate = UsageTracker.getInstance(); assertTrue(afterSecondUpdate instanceof JournalingUsageTracker); assertEquals(settings2, afterSecondUpdate.getAnalyticsSettings()); assertTrue(settings2.hasOptedIn()); assertEquals(virtualTimeScheduler, UsageTracker.getInstance().getScheduler()); // updating to opt-in false should update settings and initialize NullUsageTracker. AnalyticsSettings settings3 = UsageTracker.updateSettingsAndTracker( false, new StdLogger(StdLogger.Level.INFO), virtualTimeScheduler); assertNotNull(settings3); UsageTracker afterThirdUpdate = UsageTracker.getInstance(); assertTrue(afterThirdUpdate instanceof NullUsageTracker); assertEquals(settings3, afterThirdUpdate.getAnalyticsSettings()); assertFalse(settings3.hasOptedIn()); assertEquals(virtualTimeScheduler, UsageTracker.getInstance().getScheduler()); // now that we have a NullTracker, no spool files should be locked. assertTrue(getSpoolDetails(testSpoolDir.getRoot().toPath()).getLockedFiles().isEmpty()); } finally { EnvironmentFakes.setSystemEnvironment(); } } /** * Helper that builds a {@link AndroidStudioStats.AndroidStudioEvent} with a marker to * distinguish this message. */ private AndroidStudioStats.AndroidStudioEvent.Builder createAndroidStudioEvent(long marker) { return AndroidStudioStats.AndroidStudioEvent.newBuilder() .setCategory(AndroidStudioStats.AndroidStudioEvent.EventCategory.META) .setKind(AndroidStudioStats.AndroidStudioEvent.EventKind.META_METRICS) .setMetaMetrics( AndroidStudioStats.MetaMetrics.newBuilder() .setBytesSentInLastUpload(marker) .setFailedConnections(0) .setFailedServerReplies(0)); } /** * Helper that examins the provided spool directory and reports on locked vs completed spool * files. For completed spool files, it parses the contents and provides the protobuf messages * in that spool file. */ private SpoolDetails getSpoolDetails(Path testSpoolDir) throws IOException { SpoolDetails spoolDetails = new SpoolDetails(); DirectoryStream stream = Files.newDirectoryStream(testSpoolDir, "*.trk"); for (Path trackFile : stream) { FileChannel channel = new RandomAccessFile(trackFile.toFile(), "rw").getChannel(); try { FileLock lock = channel.tryLock(); if (lock != null) { InputStream inputStream = Channels.newInputStream(channel); ClientAnalytics.LogEvent event = null; List entries = new ArrayList<>(); while ((event = ClientAnalytics.LogEvent.parseDelimitedFrom(inputStream)) != null) { entries.add(event); } spoolDetails.getCompletedLogs().put(trackFile, entries); lock.close(); channel.close(); } else { spoolDetails.getLockedFiles().add(trackFile); } } catch (OverlappingFileLockException e) { spoolDetails.getLockedFiles().add(trackFile); } } return spoolDetails; } /** * Helper that parses the binary blob of a {@link ClientAnalytics.LogEvent} into an * {@link AndroidStudioStats.AndroidStudioEvent}. */ private AndroidStudioStats.AndroidStudioEvent studioEventFromLogEvent( ClientAnalytics.LogEvent logEvent) throws InvalidProtocolBufferException { return AndroidStudioStats.AndroidStudioEvent.parseFrom(logEvent.getSourceExtension()); } } tracker/src/test/java/com/android/tools/analytics/SpoolDetails.java0100644 0000000 0000000 00000002424 13017773346 024536 0ustar000000000 0000000 /* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Eclipse Public License, Version 1.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.eclipse.org/org/documents/epl-v10.php * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.tools.analytics; import com.google.wireless.android.play.playlog.proto.ClientAnalytics; import java.nio.file.Path; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; /** * Describes a usage tracking spool directory's state. */ class SpoolDetails { private final List lockedFiles = new ArrayList<>(); private final Map> completedLogs = new HashMap<>(); public List getLockedFiles() { return lockedFiles; } public Map> getCompletedLogs() { return completedLogs; } }