com.google.wireless.android.sdk.stats.AndroidStudioStats Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of protos Show documentation
Show all versions of protos Show documentation
Library containing protobufs for usage analytics.
// 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 extends com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfoOrBuilder>
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 extends com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfoOrBuilder>
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 extends com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfo> 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 extends com.google.wireless.android.sdk.stats.AndroidStudioStats.EmulatorGpuInfoOrBuilder>
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 extends com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibraryOrBuilder>
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 extends com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModuleOrBuilder>
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 extends com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModuleOrBuilder>
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 extends com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModuleOrBuilder>
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 extends com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibraryOrBuilder>
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 extends com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModuleOrBuilder>
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 extends com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModuleOrBuilder>
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 extends com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModuleOrBuilder>
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 extends com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibrary> 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 extends com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleLibraryOrBuilder>
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 extends com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModule> 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 extends com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleModuleOrBuilder>
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 extends com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModule> 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 extends com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleAndroidModuleOrBuilder>
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 extends com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModule> 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 extends com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleNativeAndroidModuleOrBuilder>
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 extends com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectOrBuilder>
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 extends com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySampleOrBuilder>
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 extends com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpanOrBuilder>
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 extends com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectOrBuilder>
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 extends com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySampleOrBuilder>
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 extends com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpanOrBuilder>
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 extends com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProject> 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 extends com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProjectOrBuilder>
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 extends com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySample> 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 extends com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildMemorySampleOrBuilder>
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 extends com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpan> 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 extends com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildProfileSpanOrBuilder>
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 extends com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariantOrBuilder>
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 extends com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariantOrBuilder>
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 extends com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariant> 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 extends com.google.wireless.android.sdk.stats.AndroidStudioStats.GradleBuildVariantOrBuilder>
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}
*
*