| // Generated by the protocol buffer compiler. DO NOT EDIT! |
| // source: proto/VtsReportMessage.proto |
| |
| package com.android.vts.proto; |
| |
| public final class VtsReportMessage { |
| private VtsReportMessage() {} |
| public static void registerAllExtensions( |
| com.google.protobuf.ExtensionRegistry registry) { |
| } |
| /** |
| * Protobuf enum {@code android.vts.TestCaseResult} |
| * |
| * <pre> |
| * To specify test case execution result. |
| * </pre> |
| */ |
| public enum TestCaseResult |
| implements com.google.protobuf.ProtocolMessageEnum { |
| /** |
| * <code>UNKNOWN_RESULT = 0;</code> |
| */ |
| UNKNOWN_RESULT(0, 0), |
| /** |
| * <code>TEST_CASE_RESULT_PASS = 1;</code> |
| */ |
| TEST_CASE_RESULT_PASS(1, 1), |
| /** |
| * <code>TEST_CASE_RESULT_FAIL = 2;</code> |
| */ |
| TEST_CASE_RESULT_FAIL(2, 2), |
| /** |
| * <code>TEST_CASE_RESULT_SKIP = 3;</code> |
| */ |
| TEST_CASE_RESULT_SKIP(3, 3), |
| /** |
| * <code>TEST_CASE_RESULT_EXCEPTION = 4;</code> |
| */ |
| TEST_CASE_RESULT_EXCEPTION(4, 4), |
| /** |
| * <code>TEST_CASE_RESULT_TIMEOUT = 5;</code> |
| */ |
| TEST_CASE_RESULT_TIMEOUT(5, 5), |
| ; |
| |
| /** |
| * <code>UNKNOWN_RESULT = 0;</code> |
| */ |
| public static final int UNKNOWN_RESULT_VALUE = 0; |
| /** |
| * <code>TEST_CASE_RESULT_PASS = 1;</code> |
| */ |
| public static final int TEST_CASE_RESULT_PASS_VALUE = 1; |
| /** |
| * <code>TEST_CASE_RESULT_FAIL = 2;</code> |
| */ |
| public static final int TEST_CASE_RESULT_FAIL_VALUE = 2; |
| /** |
| * <code>TEST_CASE_RESULT_SKIP = 3;</code> |
| */ |
| public static final int TEST_CASE_RESULT_SKIP_VALUE = 3; |
| /** |
| * <code>TEST_CASE_RESULT_EXCEPTION = 4;</code> |
| */ |
| public static final int TEST_CASE_RESULT_EXCEPTION_VALUE = 4; |
| /** |
| * <code>TEST_CASE_RESULT_TIMEOUT = 5;</code> |
| */ |
| public static final int TEST_CASE_RESULT_TIMEOUT_VALUE = 5; |
| |
| |
| public final int getNumber() { return value; } |
| |
| public static TestCaseResult valueOf(int value) { |
| switch (value) { |
| case 0: return UNKNOWN_RESULT; |
| case 1: return TEST_CASE_RESULT_PASS; |
| case 2: return TEST_CASE_RESULT_FAIL; |
| case 3: return TEST_CASE_RESULT_SKIP; |
| case 4: return TEST_CASE_RESULT_EXCEPTION; |
| case 5: return TEST_CASE_RESULT_TIMEOUT; |
| default: return null; |
| } |
| } |
| |
| public static com.google.protobuf.Internal.EnumLiteMap<TestCaseResult> |
| internalGetValueMap() { |
| return internalValueMap; |
| } |
| private static com.google.protobuf.Internal.EnumLiteMap<TestCaseResult> |
| internalValueMap = |
| new com.google.protobuf.Internal.EnumLiteMap<TestCaseResult>() { |
| public TestCaseResult findValueByNumber(int number) { |
| return TestCaseResult.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.android.vts.proto.VtsReportMessage.getDescriptor().getEnumTypes().get(0); |
| } |
| |
| private static final TestCaseResult[] VALUES = values(); |
| |
| public static TestCaseResult 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 TestCaseResult(int index, int value) { |
| this.index = index; |
| this.value = value; |
| } |
| |
| // @@protoc_insertion_point(enum_scope:android.vts.TestCaseResult) |
| } |
| |
| /** |
| * Protobuf enum {@code android.vts.VtsTestType} |
| * |
| * <pre> |
| * To specify the VTS test type. |
| * </pre> |
| */ |
| public enum VtsTestType |
| implements com.google.protobuf.ProtocolMessageEnum { |
| /** |
| * <code>UNKNOWN_VTS_TESTTYPE = 0;</code> |
| */ |
| UNKNOWN_VTS_TESTTYPE(0, 0), |
| /** |
| * <code>VTS_HOST_DRIVEN_STRUCTURAL = 1;</code> |
| */ |
| VTS_HOST_DRIVEN_STRUCTURAL(1, 1), |
| /** |
| * <code>VTS_HOST_DRIVEN_FUZZING = 2;</code> |
| */ |
| VTS_HOST_DRIVEN_FUZZING(2, 2), |
| /** |
| * <code>VTS_TARGET_SIDE_GTEST = 3;</code> |
| */ |
| VTS_TARGET_SIDE_GTEST(3, 3), |
| /** |
| * <code>VTS_TARGET_SIDE_FUZZING = 4;</code> |
| */ |
| VTS_TARGET_SIDE_FUZZING(4, 4), |
| ; |
| |
| /** |
| * <code>UNKNOWN_VTS_TESTTYPE = 0;</code> |
| */ |
| public static final int UNKNOWN_VTS_TESTTYPE_VALUE = 0; |
| /** |
| * <code>VTS_HOST_DRIVEN_STRUCTURAL = 1;</code> |
| */ |
| public static final int VTS_HOST_DRIVEN_STRUCTURAL_VALUE = 1; |
| /** |
| * <code>VTS_HOST_DRIVEN_FUZZING = 2;</code> |
| */ |
| public static final int VTS_HOST_DRIVEN_FUZZING_VALUE = 2; |
| /** |
| * <code>VTS_TARGET_SIDE_GTEST = 3;</code> |
| */ |
| public static final int VTS_TARGET_SIDE_GTEST_VALUE = 3; |
| /** |
| * <code>VTS_TARGET_SIDE_FUZZING = 4;</code> |
| */ |
| public static final int VTS_TARGET_SIDE_FUZZING_VALUE = 4; |
| |
| |
| public final int getNumber() { return value; } |
| |
| public static VtsTestType valueOf(int value) { |
| switch (value) { |
| case 0: return UNKNOWN_VTS_TESTTYPE; |
| case 1: return VTS_HOST_DRIVEN_STRUCTURAL; |
| case 2: return VTS_HOST_DRIVEN_FUZZING; |
| case 3: return VTS_TARGET_SIDE_GTEST; |
| case 4: return VTS_TARGET_SIDE_FUZZING; |
| default: return null; |
| } |
| } |
| |
| public static com.google.protobuf.Internal.EnumLiteMap<VtsTestType> |
| internalGetValueMap() { |
| return internalValueMap; |
| } |
| private static com.google.protobuf.Internal.EnumLiteMap<VtsTestType> |
| internalValueMap = |
| new com.google.protobuf.Internal.EnumLiteMap<VtsTestType>() { |
| public VtsTestType findValueByNumber(int number) { |
| return VtsTestType.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.android.vts.proto.VtsReportMessage.getDescriptor().getEnumTypes().get(1); |
| } |
| |
| private static final VtsTestType[] VALUES = values(); |
| |
| public static VtsTestType 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 VtsTestType(int index, int value) { |
| this.index = index; |
| this.value = value; |
| } |
| |
| // @@protoc_insertion_point(enum_scope:android.vts.VtsTestType) |
| } |
| |
| /** |
| * Protobuf enum {@code android.vts.VtsProfilingRegressionMode} |
| */ |
| public enum VtsProfilingRegressionMode |
| implements com.google.protobuf.ProtocolMessageEnum { |
| /** |
| * <code>UNKNOWN_REGRESSION_MODE = 0;</code> |
| */ |
| UNKNOWN_REGRESSION_MODE(0, 0), |
| /** |
| * <code>VTS_REGRESSION_MODE_DISABLED = 1;</code> |
| * |
| * <pre> |
| * disable analysis |
| * </pre> |
| */ |
| VTS_REGRESSION_MODE_DISABLED(1, 1), |
| /** |
| * <code>VTS_REGRESSION_MODE_INCREASING = 2;</code> |
| * |
| * <pre> |
| * interpret increases in values as regression |
| * </pre> |
| */ |
| VTS_REGRESSION_MODE_INCREASING(2, 2), |
| /** |
| * <code>VTS_REGRESSION_MODE_DECREASING = 3;</code> |
| * |
| * <pre> |
| * interpret decreases in values as regression |
| * </pre> |
| */ |
| VTS_REGRESSION_MODE_DECREASING(3, 3), |
| ; |
| |
| /** |
| * <code>UNKNOWN_REGRESSION_MODE = 0;</code> |
| */ |
| public static final int UNKNOWN_REGRESSION_MODE_VALUE = 0; |
| /** |
| * <code>VTS_REGRESSION_MODE_DISABLED = 1;</code> |
| * |
| * <pre> |
| * disable analysis |
| * </pre> |
| */ |
| public static final int VTS_REGRESSION_MODE_DISABLED_VALUE = 1; |
| /** |
| * <code>VTS_REGRESSION_MODE_INCREASING = 2;</code> |
| * |
| * <pre> |
| * interpret increases in values as regression |
| * </pre> |
| */ |
| public static final int VTS_REGRESSION_MODE_INCREASING_VALUE = 2; |
| /** |
| * <code>VTS_REGRESSION_MODE_DECREASING = 3;</code> |
| * |
| * <pre> |
| * interpret decreases in values as regression |
| * </pre> |
| */ |
| public static final int VTS_REGRESSION_MODE_DECREASING_VALUE = 3; |
| |
| |
| public final int getNumber() { return value; } |
| |
| public static VtsProfilingRegressionMode valueOf(int value) { |
| switch (value) { |
| case 0: return UNKNOWN_REGRESSION_MODE; |
| case 1: return VTS_REGRESSION_MODE_DISABLED; |
| case 2: return VTS_REGRESSION_MODE_INCREASING; |
| case 3: return VTS_REGRESSION_MODE_DECREASING; |
| default: return null; |
| } |
| } |
| |
| public static com.google.protobuf.Internal.EnumLiteMap<VtsProfilingRegressionMode> |
| internalGetValueMap() { |
| return internalValueMap; |
| } |
| private static com.google.protobuf.Internal.EnumLiteMap<VtsProfilingRegressionMode> |
| internalValueMap = |
| new com.google.protobuf.Internal.EnumLiteMap<VtsProfilingRegressionMode>() { |
| public VtsProfilingRegressionMode findValueByNumber(int number) { |
| return VtsProfilingRegressionMode.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.android.vts.proto.VtsReportMessage.getDescriptor().getEnumTypes().get(2); |
| } |
| |
| private static final VtsProfilingRegressionMode[] VALUES = values(); |
| |
| public static VtsProfilingRegressionMode 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 VtsProfilingRegressionMode(int index, int value) { |
| this.index = index; |
| this.value = value; |
| } |
| |
| // @@protoc_insertion_point(enum_scope:android.vts.VtsProfilingRegressionMode) |
| } |
| |
| /** |
| * Protobuf enum {@code android.vts.VtsProfilingType} |
| */ |
| public enum VtsProfilingType |
| implements com.google.protobuf.ProtocolMessageEnum { |
| /** |
| * <code>UNKNOWN_VTS_PROFILING_TYPE = 0;</code> |
| */ |
| UNKNOWN_VTS_PROFILING_TYPE(0, 0), |
| /** |
| * <code>VTS_PROFILING_TYPE_TIMESTAMP = 1;</code> |
| * |
| * <pre> |
| * for one sample which measures the time between two profiling points. |
| * </pre> |
| */ |
| VTS_PROFILING_TYPE_TIMESTAMP(1, 1), |
| /** |
| * <code>VTS_PROFILING_TYPE_LABELED_VECTOR = 2;</code> |
| * |
| * <pre> |
| * for multiple single-type samples with labels. |
| * </pre> |
| */ |
| VTS_PROFILING_TYPE_LABELED_VECTOR(2, 2), |
| /** |
| * <code>VTS_PROFILING_TYPE_UNLABELED_VECTOR = 3;</code> |
| * |
| * <pre> |
| * for multiple single-type samples without labels. |
| * </pre> |
| */ |
| VTS_PROFILING_TYPE_UNLABELED_VECTOR(3, 3), |
| ; |
| |
| /** |
| * <code>UNKNOWN_VTS_PROFILING_TYPE = 0;</code> |
| */ |
| public static final int UNKNOWN_VTS_PROFILING_TYPE_VALUE = 0; |
| /** |
| * <code>VTS_PROFILING_TYPE_TIMESTAMP = 1;</code> |
| * |
| * <pre> |
| * for one sample which measures the time between two profiling points. |
| * </pre> |
| */ |
| public static final int VTS_PROFILING_TYPE_TIMESTAMP_VALUE = 1; |
| /** |
| * <code>VTS_PROFILING_TYPE_LABELED_VECTOR = 2;</code> |
| * |
| * <pre> |
| * for multiple single-type samples with labels. |
| * </pre> |
| */ |
| public static final int VTS_PROFILING_TYPE_LABELED_VECTOR_VALUE = 2; |
| /** |
| * <code>VTS_PROFILING_TYPE_UNLABELED_VECTOR = 3;</code> |
| * |
| * <pre> |
| * for multiple single-type samples without labels. |
| * </pre> |
| */ |
| public static final int VTS_PROFILING_TYPE_UNLABELED_VECTOR_VALUE = 3; |
| |
| |
| public final int getNumber() { return value; } |
| |
| public static VtsProfilingType valueOf(int value) { |
| switch (value) { |
| case 0: return UNKNOWN_VTS_PROFILING_TYPE; |
| case 1: return VTS_PROFILING_TYPE_TIMESTAMP; |
| case 2: return VTS_PROFILING_TYPE_LABELED_VECTOR; |
| case 3: return VTS_PROFILING_TYPE_UNLABELED_VECTOR; |
| default: return null; |
| } |
| } |
| |
| public static com.google.protobuf.Internal.EnumLiteMap<VtsProfilingType> |
| internalGetValueMap() { |
| return internalValueMap; |
| } |
| private static com.google.protobuf.Internal.EnumLiteMap<VtsProfilingType> |
| internalValueMap = |
| new com.google.protobuf.Internal.EnumLiteMap<VtsProfilingType>() { |
| public VtsProfilingType findValueByNumber(int number) { |
| return VtsProfilingType.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.android.vts.proto.VtsReportMessage.getDescriptor().getEnumTypes().get(3); |
| } |
| |
| private static final VtsProfilingType[] VALUES = values(); |
| |
| public static VtsProfilingType 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 VtsProfilingType(int index, int value) { |
| this.index = index; |
| this.value = value; |
| } |
| |
| // @@protoc_insertion_point(enum_scope:android.vts.VtsProfilingType) |
| } |
| |
| public interface AndroidDeviceInfoMessageOrBuilder |
| extends com.google.protobuf.MessageOrBuilder { |
| |
| // optional bytes product_type = 1; |
| /** |
| * <code>optional bytes product_type = 1;</code> |
| * |
| * <pre> |
| * product type (e.g., bullhead). |
| * </pre> |
| */ |
| boolean hasProductType(); |
| /** |
| * <code>optional bytes product_type = 1;</code> |
| * |
| * <pre> |
| * product type (e.g., bullhead). |
| * </pre> |
| */ |
| com.google.protobuf.ByteString getProductType(); |
| |
| // optional bytes product_variant = 2; |
| /** |
| * <code>optional bytes product_variant = 2;</code> |
| * |
| * <pre> |
| * product type variant (e.g., still bullhead or another name). |
| * </pre> |
| */ |
| boolean hasProductVariant(); |
| /** |
| * <code>optional bytes product_variant = 2;</code> |
| * |
| * <pre> |
| * product type variant (e.g., still bullhead or another name). |
| * </pre> |
| */ |
| com.google.protobuf.ByteString getProductVariant(); |
| |
| // optional bytes build_flavor = 11; |
| /** |
| * <code>optional bytes build_flavor = 11;</code> |
| * |
| * <pre> |
| * build type (e.g., userdebug). |
| * </pre> |
| */ |
| boolean hasBuildFlavor(); |
| /** |
| * <code>optional bytes build_flavor = 11;</code> |
| * |
| * <pre> |
| * build type (e.g., userdebug). |
| * </pre> |
| */ |
| com.google.protobuf.ByteString getBuildFlavor(); |
| |
| // optional bytes build_id = 12; |
| /** |
| * <code>optional bytes build_id = 12;</code> |
| * |
| * <pre> |
| * Android Build ID. |
| * </pre> |
| */ |
| boolean hasBuildId(); |
| /** |
| * <code>optional bytes build_id = 12;</code> |
| * |
| * <pre> |
| * Android Build ID. |
| * </pre> |
| */ |
| com.google.protobuf.ByteString getBuildId(); |
| |
| // optional bytes branch = 21; |
| /** |
| * <code>optional bytes branch = 21;</code> |
| * |
| * <pre> |
| * branch name (e.g., master or nyc-dev). |
| * </pre> |
| */ |
| boolean hasBranch(); |
| /** |
| * <code>optional bytes branch = 21;</code> |
| * |
| * <pre> |
| * branch name (e.g., master or nyc-dev). |
| * </pre> |
| */ |
| com.google.protobuf.ByteString getBranch(); |
| |
| // optional bytes build_alias = 22; |
| /** |
| * <code>optional bytes build_alias = 22;</code> |
| * |
| * <pre> |
| * build alias implies the branch name. |
| * </pre> |
| */ |
| boolean hasBuildAlias(); |
| /** |
| * <code>optional bytes build_alias = 22;</code> |
| * |
| * <pre> |
| * build alias implies the branch name. |
| * </pre> |
| */ |
| com.google.protobuf.ByteString getBuildAlias(); |
| |
| // optional bytes api_level = 31; |
| /** |
| * <code>optional bytes api_level = 31;</code> |
| * |
| * <pre> |
| * API level |
| * </pre> |
| */ |
| boolean hasApiLevel(); |
| /** |
| * <code>optional bytes api_level = 31;</code> |
| * |
| * <pre> |
| * API level |
| * </pre> |
| */ |
| com.google.protobuf.ByteString getApiLevel(); |
| |
| // optional bytes abi_name = 51; |
| /** |
| * <code>optional bytes abi_name = 51;</code> |
| * |
| * <pre> |
| * ABI name that is current in use for the test |
| * </pre> |
| */ |
| boolean hasAbiName(); |
| /** |
| * <code>optional bytes abi_name = 51;</code> |
| * |
| * <pre> |
| * ABI name that is current in use for the test |
| * </pre> |
| */ |
| com.google.protobuf.ByteString getAbiName(); |
| |
| // optional bytes abi_bitness = 52; |
| /** |
| * <code>optional bytes abi_bitness = 52;</code> |
| * |
| * <pre> |
| * ABI bitness that is current in use for the test. Example: '32', '64', |
| * </pre> |
| */ |
| boolean hasAbiBitness(); |
| /** |
| * <code>optional bytes abi_bitness = 52;</code> |
| * |
| * <pre> |
| * ABI bitness that is current in use for the test. Example: '32', '64', |
| * </pre> |
| */ |
| com.google.protobuf.ByteString getAbiBitness(); |
| |
| // optional bytes serial = 101; |
| /** |
| * <code>optional bytes serial = 101;</code> |
| * |
| * <pre> |
| * Device USB serial number |
| * </pre> |
| */ |
| boolean hasSerial(); |
| /** |
| * <code>optional bytes serial = 101;</code> |
| * |
| * <pre> |
| * Device USB serial number |
| * </pre> |
| */ |
| com.google.protobuf.ByteString getSerial(); |
| } |
| /** |
| * Protobuf type {@code android.vts.AndroidDeviceInfoMessage} |
| * |
| * <pre> |
| * To specify a call flow event. |
| * </pre> |
| */ |
| public static final class AndroidDeviceInfoMessage extends |
| com.google.protobuf.GeneratedMessage |
| implements AndroidDeviceInfoMessageOrBuilder { |
| // Use AndroidDeviceInfoMessage.newBuilder() to construct. |
| private AndroidDeviceInfoMessage(com.google.protobuf.GeneratedMessage.Builder<?> builder) { |
| super(builder); |
| this.unknownFields = builder.getUnknownFields(); |
| } |
| private AndroidDeviceInfoMessage(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } |
| |
| private static final AndroidDeviceInfoMessage defaultInstance; |
| public static AndroidDeviceInfoMessage getDefaultInstance() { |
| return defaultInstance; |
| } |
| |
| public AndroidDeviceInfoMessage getDefaultInstanceForType() { |
| return defaultInstance; |
| } |
| |
| private final com.google.protobuf.UnknownFieldSet unknownFields; |
| @java.lang.Override |
| public final com.google.protobuf.UnknownFieldSet |
| getUnknownFields() { |
| return this.unknownFields; |
| } |
| private AndroidDeviceInfoMessage( |
| 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; |
| productType_ = input.readBytes(); |
| break; |
| } |
| case 18: { |
| bitField0_ |= 0x00000002; |
| productVariant_ = input.readBytes(); |
| break; |
| } |
| case 90: { |
| bitField0_ |= 0x00000004; |
| buildFlavor_ = input.readBytes(); |
| break; |
| } |
| case 98: { |
| bitField0_ |= 0x00000008; |
| buildId_ = input.readBytes(); |
| break; |
| } |
| case 170: { |
| bitField0_ |= 0x00000010; |
| branch_ = input.readBytes(); |
| break; |
| } |
| case 178: { |
| bitField0_ |= 0x00000020; |
| buildAlias_ = input.readBytes(); |
| break; |
| } |
| case 250: { |
| bitField0_ |= 0x00000040; |
| apiLevel_ = input.readBytes(); |
| break; |
| } |
| case 410: { |
| bitField0_ |= 0x00000080; |
| abiName_ = input.readBytes(); |
| break; |
| } |
| case 418: { |
| bitField0_ |= 0x00000100; |
| abiBitness_ = input.readBytes(); |
| break; |
| } |
| case 810: { |
| bitField0_ |= 0x00000200; |
| serial_ = 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.android.vts.proto.VtsReportMessage.internal_static_android_vts_AndroidDeviceInfoMessage_descriptor; |
| } |
| |
| protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internalGetFieldAccessorTable() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_AndroidDeviceInfoMessage_fieldAccessorTable |
| .ensureFieldAccessorsInitialized( |
| com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage.class, com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage.Builder.class); |
| } |
| |
| public static com.google.protobuf.Parser<AndroidDeviceInfoMessage> PARSER = |
| new com.google.protobuf.AbstractParser<AndroidDeviceInfoMessage>() { |
| public AndroidDeviceInfoMessage parsePartialFrom( |
| com.google.protobuf.CodedInputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return new AndroidDeviceInfoMessage(input, extensionRegistry); |
| } |
| }; |
| |
| @java.lang.Override |
| public com.google.protobuf.Parser<AndroidDeviceInfoMessage> getParserForType() { |
| return PARSER; |
| } |
| |
| private int bitField0_; |
| // optional bytes product_type = 1; |
| public static final int PRODUCT_TYPE_FIELD_NUMBER = 1; |
| private com.google.protobuf.ByteString productType_; |
| /** |
| * <code>optional bytes product_type = 1;</code> |
| * |
| * <pre> |
| * product type (e.g., bullhead). |
| * </pre> |
| */ |
| public boolean hasProductType() { |
| return ((bitField0_ & 0x00000001) == 0x00000001); |
| } |
| /** |
| * <code>optional bytes product_type = 1;</code> |
| * |
| * <pre> |
| * product type (e.g., bullhead). |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getProductType() { |
| return productType_; |
| } |
| |
| // optional bytes product_variant = 2; |
| public static final int PRODUCT_VARIANT_FIELD_NUMBER = 2; |
| private com.google.protobuf.ByteString productVariant_; |
| /** |
| * <code>optional bytes product_variant = 2;</code> |
| * |
| * <pre> |
| * product type variant (e.g., still bullhead or another name). |
| * </pre> |
| */ |
| public boolean hasProductVariant() { |
| return ((bitField0_ & 0x00000002) == 0x00000002); |
| } |
| /** |
| * <code>optional bytes product_variant = 2;</code> |
| * |
| * <pre> |
| * product type variant (e.g., still bullhead or another name). |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getProductVariant() { |
| return productVariant_; |
| } |
| |
| // optional bytes build_flavor = 11; |
| public static final int BUILD_FLAVOR_FIELD_NUMBER = 11; |
| private com.google.protobuf.ByteString buildFlavor_; |
| /** |
| * <code>optional bytes build_flavor = 11;</code> |
| * |
| * <pre> |
| * build type (e.g., userdebug). |
| * </pre> |
| */ |
| public boolean hasBuildFlavor() { |
| return ((bitField0_ & 0x00000004) == 0x00000004); |
| } |
| /** |
| * <code>optional bytes build_flavor = 11;</code> |
| * |
| * <pre> |
| * build type (e.g., userdebug). |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getBuildFlavor() { |
| return buildFlavor_; |
| } |
| |
| // optional bytes build_id = 12; |
| public static final int BUILD_ID_FIELD_NUMBER = 12; |
| private com.google.protobuf.ByteString buildId_; |
| /** |
| * <code>optional bytes build_id = 12;</code> |
| * |
| * <pre> |
| * Android Build ID. |
| * </pre> |
| */ |
| public boolean hasBuildId() { |
| return ((bitField0_ & 0x00000008) == 0x00000008); |
| } |
| /** |
| * <code>optional bytes build_id = 12;</code> |
| * |
| * <pre> |
| * Android Build ID. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getBuildId() { |
| return buildId_; |
| } |
| |
| // optional bytes branch = 21; |
| public static final int BRANCH_FIELD_NUMBER = 21; |
| private com.google.protobuf.ByteString branch_; |
| /** |
| * <code>optional bytes branch = 21;</code> |
| * |
| * <pre> |
| * branch name (e.g., master or nyc-dev). |
| * </pre> |
| */ |
| public boolean hasBranch() { |
| return ((bitField0_ & 0x00000010) == 0x00000010); |
| } |
| /** |
| * <code>optional bytes branch = 21;</code> |
| * |
| * <pre> |
| * branch name (e.g., master or nyc-dev). |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getBranch() { |
| return branch_; |
| } |
| |
| // optional bytes build_alias = 22; |
| public static final int BUILD_ALIAS_FIELD_NUMBER = 22; |
| private com.google.protobuf.ByteString buildAlias_; |
| /** |
| * <code>optional bytes build_alias = 22;</code> |
| * |
| * <pre> |
| * build alias implies the branch name. |
| * </pre> |
| */ |
| public boolean hasBuildAlias() { |
| return ((bitField0_ & 0x00000020) == 0x00000020); |
| } |
| /** |
| * <code>optional bytes build_alias = 22;</code> |
| * |
| * <pre> |
| * build alias implies the branch name. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getBuildAlias() { |
| return buildAlias_; |
| } |
| |
| // optional bytes api_level = 31; |
| public static final int API_LEVEL_FIELD_NUMBER = 31; |
| private com.google.protobuf.ByteString apiLevel_; |
| /** |
| * <code>optional bytes api_level = 31;</code> |
| * |
| * <pre> |
| * API level |
| * </pre> |
| */ |
| public boolean hasApiLevel() { |
| return ((bitField0_ & 0x00000040) == 0x00000040); |
| } |
| /** |
| * <code>optional bytes api_level = 31;</code> |
| * |
| * <pre> |
| * API level |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getApiLevel() { |
| return apiLevel_; |
| } |
| |
| // optional bytes abi_name = 51; |
| public static final int ABI_NAME_FIELD_NUMBER = 51; |
| private com.google.protobuf.ByteString abiName_; |
| /** |
| * <code>optional bytes abi_name = 51;</code> |
| * |
| * <pre> |
| * ABI name that is current in use for the test |
| * </pre> |
| */ |
| public boolean hasAbiName() { |
| return ((bitField0_ & 0x00000080) == 0x00000080); |
| } |
| /** |
| * <code>optional bytes abi_name = 51;</code> |
| * |
| * <pre> |
| * ABI name that is current in use for the test |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getAbiName() { |
| return abiName_; |
| } |
| |
| // optional bytes abi_bitness = 52; |
| public static final int ABI_BITNESS_FIELD_NUMBER = 52; |
| private com.google.protobuf.ByteString abiBitness_; |
| /** |
| * <code>optional bytes abi_bitness = 52;</code> |
| * |
| * <pre> |
| * ABI bitness that is current in use for the test. Example: '32', '64', |
| * </pre> |
| */ |
| public boolean hasAbiBitness() { |
| return ((bitField0_ & 0x00000100) == 0x00000100); |
| } |
| /** |
| * <code>optional bytes abi_bitness = 52;</code> |
| * |
| * <pre> |
| * ABI bitness that is current in use for the test. Example: '32', '64', |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getAbiBitness() { |
| return abiBitness_; |
| } |
| |
| // optional bytes serial = 101; |
| public static final int SERIAL_FIELD_NUMBER = 101; |
| private com.google.protobuf.ByteString serial_; |
| /** |
| * <code>optional bytes serial = 101;</code> |
| * |
| * <pre> |
| * Device USB serial number |
| * </pre> |
| */ |
| public boolean hasSerial() { |
| return ((bitField0_ & 0x00000200) == 0x00000200); |
| } |
| /** |
| * <code>optional bytes serial = 101;</code> |
| * |
| * <pre> |
| * Device USB serial number |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getSerial() { |
| return serial_; |
| } |
| |
| private void initFields() { |
| productType_ = com.google.protobuf.ByteString.EMPTY; |
| productVariant_ = com.google.protobuf.ByteString.EMPTY; |
| buildFlavor_ = com.google.protobuf.ByteString.EMPTY; |
| buildId_ = com.google.protobuf.ByteString.EMPTY; |
| branch_ = com.google.protobuf.ByteString.EMPTY; |
| buildAlias_ = com.google.protobuf.ByteString.EMPTY; |
| apiLevel_ = com.google.protobuf.ByteString.EMPTY; |
| abiName_ = com.google.protobuf.ByteString.EMPTY; |
| abiBitness_ = com.google.protobuf.ByteString.EMPTY; |
| serial_ = com.google.protobuf.ByteString.EMPTY; |
| } |
| private byte memoizedIsInitialized = -1; |
| public final boolean isInitialized() { |
| byte isInitialized = memoizedIsInitialized; |
| if (isInitialized != -1) return isInitialized == 1; |
| |
| memoizedIsInitialized = 1; |
| return true; |
| } |
| |
| public void writeTo(com.google.protobuf.CodedOutputStream output) |
| throws java.io.IOException { |
| getSerializedSize(); |
| if (((bitField0_ & 0x00000001) == 0x00000001)) { |
| output.writeBytes(1, productType_); |
| } |
| if (((bitField0_ & 0x00000002) == 0x00000002)) { |
| output.writeBytes(2, productVariant_); |
| } |
| if (((bitField0_ & 0x00000004) == 0x00000004)) { |
| output.writeBytes(11, buildFlavor_); |
| } |
| if (((bitField0_ & 0x00000008) == 0x00000008)) { |
| output.writeBytes(12, buildId_); |
| } |
| if (((bitField0_ & 0x00000010) == 0x00000010)) { |
| output.writeBytes(21, branch_); |
| } |
| if (((bitField0_ & 0x00000020) == 0x00000020)) { |
| output.writeBytes(22, buildAlias_); |
| } |
| if (((bitField0_ & 0x00000040) == 0x00000040)) { |
| output.writeBytes(31, apiLevel_); |
| } |
| if (((bitField0_ & 0x00000080) == 0x00000080)) { |
| output.writeBytes(51, abiName_); |
| } |
| if (((bitField0_ & 0x00000100) == 0x00000100)) { |
| output.writeBytes(52, abiBitness_); |
| } |
| if (((bitField0_ & 0x00000200) == 0x00000200)) { |
| output.writeBytes(101, serial_); |
| } |
| 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, productType_); |
| } |
| if (((bitField0_ & 0x00000002) == 0x00000002)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(2, productVariant_); |
| } |
| if (((bitField0_ & 0x00000004) == 0x00000004)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(11, buildFlavor_); |
| } |
| if (((bitField0_ & 0x00000008) == 0x00000008)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(12, buildId_); |
| } |
| if (((bitField0_ & 0x00000010) == 0x00000010)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(21, branch_); |
| } |
| if (((bitField0_ & 0x00000020) == 0x00000020)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(22, buildAlias_); |
| } |
| if (((bitField0_ & 0x00000040) == 0x00000040)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(31, apiLevel_); |
| } |
| if (((bitField0_ & 0x00000080) == 0x00000080)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(51, abiName_); |
| } |
| if (((bitField0_ & 0x00000100) == 0x00000100)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(52, abiBitness_); |
| } |
| if (((bitField0_ & 0x00000200) == 0x00000200)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(101, serial_); |
| } |
| 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.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage parseFrom( |
| com.google.protobuf.ByteString data) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data); |
| } |
| public static com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage parseFrom( |
| com.google.protobuf.ByteString data, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage parseFrom(byte[] data) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data); |
| } |
| public static com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage parseFrom( |
| byte[] data, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage parseFrom(java.io.InputStream input) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input); |
| } |
| public static com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage parseFrom( |
| java.io.InputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage parseDelimitedFrom(java.io.InputStream input) |
| throws java.io.IOException { |
| return PARSER.parseDelimitedFrom(input); |
| } |
| public static com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage parseDelimitedFrom( |
| java.io.InputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| return PARSER.parseDelimitedFrom(input, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage parseFrom( |
| com.google.protobuf.CodedInputStream input) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input); |
| } |
| public static com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage 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.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage 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.vts.AndroidDeviceInfoMessage} |
| * |
| * <pre> |
| * To specify a call flow event. |
| * </pre> |
| */ |
| public static final class Builder extends |
| com.google.protobuf.GeneratedMessage.Builder<Builder> |
| implements com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessageOrBuilder { |
| public static final com.google.protobuf.Descriptors.Descriptor |
| getDescriptor() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_AndroidDeviceInfoMessage_descriptor; |
| } |
| |
| protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internalGetFieldAccessorTable() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_AndroidDeviceInfoMessage_fieldAccessorTable |
| .ensureFieldAccessorsInitialized( |
| com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage.class, com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage.Builder.class); |
| } |
| |
| // Construct using com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage.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(); |
| productType_ = com.google.protobuf.ByteString.EMPTY; |
| bitField0_ = (bitField0_ & ~0x00000001); |
| productVariant_ = com.google.protobuf.ByteString.EMPTY; |
| bitField0_ = (bitField0_ & ~0x00000002); |
| buildFlavor_ = com.google.protobuf.ByteString.EMPTY; |
| bitField0_ = (bitField0_ & ~0x00000004); |
| buildId_ = com.google.protobuf.ByteString.EMPTY; |
| bitField0_ = (bitField0_ & ~0x00000008); |
| branch_ = com.google.protobuf.ByteString.EMPTY; |
| bitField0_ = (bitField0_ & ~0x00000010); |
| buildAlias_ = com.google.protobuf.ByteString.EMPTY; |
| bitField0_ = (bitField0_ & ~0x00000020); |
| apiLevel_ = com.google.protobuf.ByteString.EMPTY; |
| bitField0_ = (bitField0_ & ~0x00000040); |
| abiName_ = com.google.protobuf.ByteString.EMPTY; |
| bitField0_ = (bitField0_ & ~0x00000080); |
| abiBitness_ = com.google.protobuf.ByteString.EMPTY; |
| bitField0_ = (bitField0_ & ~0x00000100); |
| serial_ = com.google.protobuf.ByteString.EMPTY; |
| bitField0_ = (bitField0_ & ~0x00000200); |
| return this; |
| } |
| |
| public Builder clone() { |
| return create().mergeFrom(buildPartial()); |
| } |
| |
| public com.google.protobuf.Descriptors.Descriptor |
| getDescriptorForType() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_AndroidDeviceInfoMessage_descriptor; |
| } |
| |
| public com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage getDefaultInstanceForType() { |
| return com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage.getDefaultInstance(); |
| } |
| |
| public com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage build() { |
| com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage result = buildPartial(); |
| if (!result.isInitialized()) { |
| throw newUninitializedMessageException(result); |
| } |
| return result; |
| } |
| |
| public com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage buildPartial() { |
| com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage result = new com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage(this); |
| int from_bitField0_ = bitField0_; |
| int to_bitField0_ = 0; |
| if (((from_bitField0_ & 0x00000001) == 0x00000001)) { |
| to_bitField0_ |= 0x00000001; |
| } |
| result.productType_ = productType_; |
| if (((from_bitField0_ & 0x00000002) == 0x00000002)) { |
| to_bitField0_ |= 0x00000002; |
| } |
| result.productVariant_ = productVariant_; |
| if (((from_bitField0_ & 0x00000004) == 0x00000004)) { |
| to_bitField0_ |= 0x00000004; |
| } |
| result.buildFlavor_ = buildFlavor_; |
| if (((from_bitField0_ & 0x00000008) == 0x00000008)) { |
| to_bitField0_ |= 0x00000008; |
| } |
| result.buildId_ = buildId_; |
| if (((from_bitField0_ & 0x00000010) == 0x00000010)) { |
| to_bitField0_ |= 0x00000010; |
| } |
| result.branch_ = branch_; |
| if (((from_bitField0_ & 0x00000020) == 0x00000020)) { |
| to_bitField0_ |= 0x00000020; |
| } |
| result.buildAlias_ = buildAlias_; |
| if (((from_bitField0_ & 0x00000040) == 0x00000040)) { |
| to_bitField0_ |= 0x00000040; |
| } |
| result.apiLevel_ = apiLevel_; |
| if (((from_bitField0_ & 0x00000080) == 0x00000080)) { |
| to_bitField0_ |= 0x00000080; |
| } |
| result.abiName_ = abiName_; |
| if (((from_bitField0_ & 0x00000100) == 0x00000100)) { |
| to_bitField0_ |= 0x00000100; |
| } |
| result.abiBitness_ = abiBitness_; |
| if (((from_bitField0_ & 0x00000200) == 0x00000200)) { |
| to_bitField0_ |= 0x00000200; |
| } |
| result.serial_ = serial_; |
| result.bitField0_ = to_bitField0_; |
| onBuilt(); |
| return result; |
| } |
| |
| public Builder mergeFrom(com.google.protobuf.Message other) { |
| if (other instanceof com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage) { |
| return mergeFrom((com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage)other); |
| } else { |
| super.mergeFrom(other); |
| return this; |
| } |
| } |
| |
| public Builder mergeFrom(com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage other) { |
| if (other == com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage.getDefaultInstance()) return this; |
| if (other.hasProductType()) { |
| setProductType(other.getProductType()); |
| } |
| if (other.hasProductVariant()) { |
| setProductVariant(other.getProductVariant()); |
| } |
| if (other.hasBuildFlavor()) { |
| setBuildFlavor(other.getBuildFlavor()); |
| } |
| if (other.hasBuildId()) { |
| setBuildId(other.getBuildId()); |
| } |
| if (other.hasBranch()) { |
| setBranch(other.getBranch()); |
| } |
| if (other.hasBuildAlias()) { |
| setBuildAlias(other.getBuildAlias()); |
| } |
| if (other.hasApiLevel()) { |
| setApiLevel(other.getApiLevel()); |
| } |
| if (other.hasAbiName()) { |
| setAbiName(other.getAbiName()); |
| } |
| if (other.hasAbiBitness()) { |
| setAbiBitness(other.getAbiBitness()); |
| } |
| if (other.hasSerial()) { |
| setSerial(other.getSerial()); |
| } |
| 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.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage parsedMessage = null; |
| try { |
| parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); |
| } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| parsedMessage = (com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage) e.getUnfinishedMessage(); |
| throw e; |
| } finally { |
| if (parsedMessage != null) { |
| mergeFrom(parsedMessage); |
| } |
| } |
| return this; |
| } |
| private int bitField0_; |
| |
| // optional bytes product_type = 1; |
| private com.google.protobuf.ByteString productType_ = com.google.protobuf.ByteString.EMPTY; |
| /** |
| * <code>optional bytes product_type = 1;</code> |
| * |
| * <pre> |
| * product type (e.g., bullhead). |
| * </pre> |
| */ |
| public boolean hasProductType() { |
| return ((bitField0_ & 0x00000001) == 0x00000001); |
| } |
| /** |
| * <code>optional bytes product_type = 1;</code> |
| * |
| * <pre> |
| * product type (e.g., bullhead). |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getProductType() { |
| return productType_; |
| } |
| /** |
| * <code>optional bytes product_type = 1;</code> |
| * |
| * <pre> |
| * product type (e.g., bullhead). |
| * </pre> |
| */ |
| public Builder setProductType(com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000001; |
| productType_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional bytes product_type = 1;</code> |
| * |
| * <pre> |
| * product type (e.g., bullhead). |
| * </pre> |
| */ |
| public Builder clearProductType() { |
| bitField0_ = (bitField0_ & ~0x00000001); |
| productType_ = getDefaultInstance().getProductType(); |
| onChanged(); |
| return this; |
| } |
| |
| // optional bytes product_variant = 2; |
| private com.google.protobuf.ByteString productVariant_ = com.google.protobuf.ByteString.EMPTY; |
| /** |
| * <code>optional bytes product_variant = 2;</code> |
| * |
| * <pre> |
| * product type variant (e.g., still bullhead or another name). |
| * </pre> |
| */ |
| public boolean hasProductVariant() { |
| return ((bitField0_ & 0x00000002) == 0x00000002); |
| } |
| /** |
| * <code>optional bytes product_variant = 2;</code> |
| * |
| * <pre> |
| * product type variant (e.g., still bullhead or another name). |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getProductVariant() { |
| return productVariant_; |
| } |
| /** |
| * <code>optional bytes product_variant = 2;</code> |
| * |
| * <pre> |
| * product type variant (e.g., still bullhead or another name). |
| * </pre> |
| */ |
| public Builder setProductVariant(com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000002; |
| productVariant_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional bytes product_variant = 2;</code> |
| * |
| * <pre> |
| * product type variant (e.g., still bullhead or another name). |
| * </pre> |
| */ |
| public Builder clearProductVariant() { |
| bitField0_ = (bitField0_ & ~0x00000002); |
| productVariant_ = getDefaultInstance().getProductVariant(); |
| onChanged(); |
| return this; |
| } |
| |
| // optional bytes build_flavor = 11; |
| private com.google.protobuf.ByteString buildFlavor_ = com.google.protobuf.ByteString.EMPTY; |
| /** |
| * <code>optional bytes build_flavor = 11;</code> |
| * |
| * <pre> |
| * build type (e.g., userdebug). |
| * </pre> |
| */ |
| public boolean hasBuildFlavor() { |
| return ((bitField0_ & 0x00000004) == 0x00000004); |
| } |
| /** |
| * <code>optional bytes build_flavor = 11;</code> |
| * |
| * <pre> |
| * build type (e.g., userdebug). |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getBuildFlavor() { |
| return buildFlavor_; |
| } |
| /** |
| * <code>optional bytes build_flavor = 11;</code> |
| * |
| * <pre> |
| * build type (e.g., userdebug). |
| * </pre> |
| */ |
| public Builder setBuildFlavor(com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000004; |
| buildFlavor_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional bytes build_flavor = 11;</code> |
| * |
| * <pre> |
| * build type (e.g., userdebug). |
| * </pre> |
| */ |
| public Builder clearBuildFlavor() { |
| bitField0_ = (bitField0_ & ~0x00000004); |
| buildFlavor_ = getDefaultInstance().getBuildFlavor(); |
| onChanged(); |
| return this; |
| } |
| |
| // optional bytes build_id = 12; |
| private com.google.protobuf.ByteString buildId_ = com.google.protobuf.ByteString.EMPTY; |
| /** |
| * <code>optional bytes build_id = 12;</code> |
| * |
| * <pre> |
| * Android Build ID. |
| * </pre> |
| */ |
| public boolean hasBuildId() { |
| return ((bitField0_ & 0x00000008) == 0x00000008); |
| } |
| /** |
| * <code>optional bytes build_id = 12;</code> |
| * |
| * <pre> |
| * Android Build ID. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getBuildId() { |
| return buildId_; |
| } |
| /** |
| * <code>optional bytes build_id = 12;</code> |
| * |
| * <pre> |
| * Android Build ID. |
| * </pre> |
| */ |
| public Builder setBuildId(com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000008; |
| buildId_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional bytes build_id = 12;</code> |
| * |
| * <pre> |
| * Android Build ID. |
| * </pre> |
| */ |
| public Builder clearBuildId() { |
| bitField0_ = (bitField0_ & ~0x00000008); |
| buildId_ = getDefaultInstance().getBuildId(); |
| onChanged(); |
| return this; |
| } |
| |
| // optional bytes branch = 21; |
| private com.google.protobuf.ByteString branch_ = com.google.protobuf.ByteString.EMPTY; |
| /** |
| * <code>optional bytes branch = 21;</code> |
| * |
| * <pre> |
| * branch name (e.g., master or nyc-dev). |
| * </pre> |
| */ |
| public boolean hasBranch() { |
| return ((bitField0_ & 0x00000010) == 0x00000010); |
| } |
| /** |
| * <code>optional bytes branch = 21;</code> |
| * |
| * <pre> |
| * branch name (e.g., master or nyc-dev). |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getBranch() { |
| return branch_; |
| } |
| /** |
| * <code>optional bytes branch = 21;</code> |
| * |
| * <pre> |
| * branch name (e.g., master or nyc-dev). |
| * </pre> |
| */ |
| public Builder setBranch(com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000010; |
| branch_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional bytes branch = 21;</code> |
| * |
| * <pre> |
| * branch name (e.g., master or nyc-dev). |
| * </pre> |
| */ |
| public Builder clearBranch() { |
| bitField0_ = (bitField0_ & ~0x00000010); |
| branch_ = getDefaultInstance().getBranch(); |
| onChanged(); |
| return this; |
| } |
| |
| // optional bytes build_alias = 22; |
| private com.google.protobuf.ByteString buildAlias_ = com.google.protobuf.ByteString.EMPTY; |
| /** |
| * <code>optional bytes build_alias = 22;</code> |
| * |
| * <pre> |
| * build alias implies the branch name. |
| * </pre> |
| */ |
| public boolean hasBuildAlias() { |
| return ((bitField0_ & 0x00000020) == 0x00000020); |
| } |
| /** |
| * <code>optional bytes build_alias = 22;</code> |
| * |
| * <pre> |
| * build alias implies the branch name. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getBuildAlias() { |
| return buildAlias_; |
| } |
| /** |
| * <code>optional bytes build_alias = 22;</code> |
| * |
| * <pre> |
| * build alias implies the branch name. |
| * </pre> |
| */ |
| public Builder setBuildAlias(com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000020; |
| buildAlias_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional bytes build_alias = 22;</code> |
| * |
| * <pre> |
| * build alias implies the branch name. |
| * </pre> |
| */ |
| public Builder clearBuildAlias() { |
| bitField0_ = (bitField0_ & ~0x00000020); |
| buildAlias_ = getDefaultInstance().getBuildAlias(); |
| onChanged(); |
| return this; |
| } |
| |
| // optional bytes api_level = 31; |
| private com.google.protobuf.ByteString apiLevel_ = com.google.protobuf.ByteString.EMPTY; |
| /** |
| * <code>optional bytes api_level = 31;</code> |
| * |
| * <pre> |
| * API level |
| * </pre> |
| */ |
| public boolean hasApiLevel() { |
| return ((bitField0_ & 0x00000040) == 0x00000040); |
| } |
| /** |
| * <code>optional bytes api_level = 31;</code> |
| * |
| * <pre> |
| * API level |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getApiLevel() { |
| return apiLevel_; |
| } |
| /** |
| * <code>optional bytes api_level = 31;</code> |
| * |
| * <pre> |
| * API level |
| * </pre> |
| */ |
| public Builder setApiLevel(com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000040; |
| apiLevel_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional bytes api_level = 31;</code> |
| * |
| * <pre> |
| * API level |
| * </pre> |
| */ |
| public Builder clearApiLevel() { |
| bitField0_ = (bitField0_ & ~0x00000040); |
| apiLevel_ = getDefaultInstance().getApiLevel(); |
| onChanged(); |
| return this; |
| } |
| |
| // optional bytes abi_name = 51; |
| private com.google.protobuf.ByteString abiName_ = com.google.protobuf.ByteString.EMPTY; |
| /** |
| * <code>optional bytes abi_name = 51;</code> |
| * |
| * <pre> |
| * ABI name that is current in use for the test |
| * </pre> |
| */ |
| public boolean hasAbiName() { |
| return ((bitField0_ & 0x00000080) == 0x00000080); |
| } |
| /** |
| * <code>optional bytes abi_name = 51;</code> |
| * |
| * <pre> |
| * ABI name that is current in use for the test |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getAbiName() { |
| return abiName_; |
| } |
| /** |
| * <code>optional bytes abi_name = 51;</code> |
| * |
| * <pre> |
| * ABI name that is current in use for the test |
| * </pre> |
| */ |
| public Builder setAbiName(com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000080; |
| abiName_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional bytes abi_name = 51;</code> |
| * |
| * <pre> |
| * ABI name that is current in use for the test |
| * </pre> |
| */ |
| public Builder clearAbiName() { |
| bitField0_ = (bitField0_ & ~0x00000080); |
| abiName_ = getDefaultInstance().getAbiName(); |
| onChanged(); |
| return this; |
| } |
| |
| // optional bytes abi_bitness = 52; |
| private com.google.protobuf.ByteString abiBitness_ = com.google.protobuf.ByteString.EMPTY; |
| /** |
| * <code>optional bytes abi_bitness = 52;</code> |
| * |
| * <pre> |
| * ABI bitness that is current in use for the test. Example: '32', '64', |
| * </pre> |
| */ |
| public boolean hasAbiBitness() { |
| return ((bitField0_ & 0x00000100) == 0x00000100); |
| } |
| /** |
| * <code>optional bytes abi_bitness = 52;</code> |
| * |
| * <pre> |
| * ABI bitness that is current in use for the test. Example: '32', '64', |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getAbiBitness() { |
| return abiBitness_; |
| } |
| /** |
| * <code>optional bytes abi_bitness = 52;</code> |
| * |
| * <pre> |
| * ABI bitness that is current in use for the test. Example: '32', '64', |
| * </pre> |
| */ |
| public Builder setAbiBitness(com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000100; |
| abiBitness_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional bytes abi_bitness = 52;</code> |
| * |
| * <pre> |
| * ABI bitness that is current in use for the test. Example: '32', '64', |
| * </pre> |
| */ |
| public Builder clearAbiBitness() { |
| bitField0_ = (bitField0_ & ~0x00000100); |
| abiBitness_ = getDefaultInstance().getAbiBitness(); |
| onChanged(); |
| return this; |
| } |
| |
| // optional bytes serial = 101; |
| private com.google.protobuf.ByteString serial_ = com.google.protobuf.ByteString.EMPTY; |
| /** |
| * <code>optional bytes serial = 101;</code> |
| * |
| * <pre> |
| * Device USB serial number |
| * </pre> |
| */ |
| public boolean hasSerial() { |
| return ((bitField0_ & 0x00000200) == 0x00000200); |
| } |
| /** |
| * <code>optional bytes serial = 101;</code> |
| * |
| * <pre> |
| * Device USB serial number |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getSerial() { |
| return serial_; |
| } |
| /** |
| * <code>optional bytes serial = 101;</code> |
| * |
| * <pre> |
| * Device USB serial number |
| * </pre> |
| */ |
| public Builder setSerial(com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000200; |
| serial_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional bytes serial = 101;</code> |
| * |
| * <pre> |
| * Device USB serial number |
| * </pre> |
| */ |
| public Builder clearSerial() { |
| bitField0_ = (bitField0_ & ~0x00000200); |
| serial_ = getDefaultInstance().getSerial(); |
| onChanged(); |
| return this; |
| } |
| |
| // @@protoc_insertion_point(builder_scope:android.vts.AndroidDeviceInfoMessage) |
| } |
| |
| static { |
| defaultInstance = new AndroidDeviceInfoMessage(true); |
| defaultInstance.initFields(); |
| } |
| |
| // @@protoc_insertion_point(class_scope:android.vts.AndroidDeviceInfoMessage) |
| } |
| |
| public interface AndroidBuildInfoOrBuilder |
| extends com.google.protobuf.MessageOrBuilder { |
| |
| // optional bytes id = 1; |
| /** |
| * <code>optional bytes id = 1;</code> |
| * |
| * <pre> |
| * build ID. |
| * </pre> |
| */ |
| boolean hasId(); |
| /** |
| * <code>optional bytes id = 1;</code> |
| * |
| * <pre> |
| * build ID. |
| * </pre> |
| */ |
| com.google.protobuf.ByteString getId(); |
| |
| // optional bytes name = 11; |
| /** |
| * <code>optional bytes name = 11;</code> |
| * |
| * <pre> |
| * device name (e.g., bullhead). |
| * </pre> |
| */ |
| boolean hasName(); |
| /** |
| * <code>optional bytes name = 11;</code> |
| * |
| * <pre> |
| * device name (e.g., bullhead). |
| * </pre> |
| */ |
| com.google.protobuf.ByteString getName(); |
| |
| // optional bytes build_type = 12; |
| /** |
| * <code>optional bytes build_type = 12;</code> |
| * |
| * <pre> |
| * build type (e.g., userdebug) |
| * </pre> |
| */ |
| boolean hasBuildType(); |
| /** |
| * <code>optional bytes build_type = 12;</code> |
| * |
| * <pre> |
| * build type (e.g., userdebug) |
| * </pre> |
| */ |
| com.google.protobuf.ByteString getBuildType(); |
| |
| // optional bytes branch = 13; |
| /** |
| * <code>optional bytes branch = 13;</code> |
| * |
| * <pre> |
| * branch name (e.g., master or nyc-dev) |
| * </pre> |
| */ |
| boolean hasBranch(); |
| /** |
| * <code>optional bytes branch = 13;</code> |
| * |
| * <pre> |
| * branch name (e.g., master or nyc-dev) |
| * </pre> |
| */ |
| com.google.protobuf.ByteString getBranch(); |
| |
| // optional bytes build_summary = 21; |
| /** |
| * <code>optional bytes build_summary = 21;</code> |
| * |
| * <pre> |
| * indicates the latest commit information of each branch (e.g., xml format). |
| * </pre> |
| */ |
| boolean hasBuildSummary(); |
| /** |
| * <code>optional bytes build_summary = 21;</code> |
| * |
| * <pre> |
| * indicates the latest commit information of each branch (e.g., xml format). |
| * </pre> |
| */ |
| com.google.protobuf.ByteString getBuildSummary(); |
| } |
| /** |
| * Protobuf type {@code android.vts.AndroidBuildInfo} |
| * |
| * <pre> |
| * To specify build info. |
| * </pre> |
| */ |
| public static final class AndroidBuildInfo extends |
| com.google.protobuf.GeneratedMessage |
| implements AndroidBuildInfoOrBuilder { |
| // Use AndroidBuildInfo.newBuilder() to construct. |
| private AndroidBuildInfo(com.google.protobuf.GeneratedMessage.Builder<?> builder) { |
| super(builder); |
| this.unknownFields = builder.getUnknownFields(); |
| } |
| private AndroidBuildInfo(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } |
| |
| private static final AndroidBuildInfo defaultInstance; |
| public static AndroidBuildInfo getDefaultInstance() { |
| return defaultInstance; |
| } |
| |
| public AndroidBuildInfo getDefaultInstanceForType() { |
| return defaultInstance; |
| } |
| |
| private final com.google.protobuf.UnknownFieldSet unknownFields; |
| @java.lang.Override |
| public final com.google.protobuf.UnknownFieldSet |
| getUnknownFields() { |
| return this.unknownFields; |
| } |
| private AndroidBuildInfo( |
| 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; |
| id_ = input.readBytes(); |
| break; |
| } |
| case 90: { |
| bitField0_ |= 0x00000002; |
| name_ = input.readBytes(); |
| break; |
| } |
| case 98: { |
| bitField0_ |= 0x00000004; |
| buildType_ = input.readBytes(); |
| break; |
| } |
| case 106: { |
| bitField0_ |= 0x00000008; |
| branch_ = input.readBytes(); |
| break; |
| } |
| case 170: { |
| bitField0_ |= 0x00000010; |
| buildSummary_ = 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.android.vts.proto.VtsReportMessage.internal_static_android_vts_AndroidBuildInfo_descriptor; |
| } |
| |
| protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internalGetFieldAccessorTable() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_AndroidBuildInfo_fieldAccessorTable |
| .ensureFieldAccessorsInitialized( |
| com.android.vts.proto.VtsReportMessage.AndroidBuildInfo.class, com.android.vts.proto.VtsReportMessage.AndroidBuildInfo.Builder.class); |
| } |
| |
| public static com.google.protobuf.Parser<AndroidBuildInfo> PARSER = |
| new com.google.protobuf.AbstractParser<AndroidBuildInfo>() { |
| public AndroidBuildInfo parsePartialFrom( |
| com.google.protobuf.CodedInputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return new AndroidBuildInfo(input, extensionRegistry); |
| } |
| }; |
| |
| @java.lang.Override |
| public com.google.protobuf.Parser<AndroidBuildInfo> getParserForType() { |
| return PARSER; |
| } |
| |
| private int bitField0_; |
| // optional bytes id = 1; |
| public static final int ID_FIELD_NUMBER = 1; |
| private com.google.protobuf.ByteString id_; |
| /** |
| * <code>optional bytes id = 1;</code> |
| * |
| * <pre> |
| * build ID. |
| * </pre> |
| */ |
| public boolean hasId() { |
| return ((bitField0_ & 0x00000001) == 0x00000001); |
| } |
| /** |
| * <code>optional bytes id = 1;</code> |
| * |
| * <pre> |
| * build ID. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getId() { |
| return id_; |
| } |
| |
| // optional bytes name = 11; |
| public static final int NAME_FIELD_NUMBER = 11; |
| private com.google.protobuf.ByteString name_; |
| /** |
| * <code>optional bytes name = 11;</code> |
| * |
| * <pre> |
| * device name (e.g., bullhead). |
| * </pre> |
| */ |
| public boolean hasName() { |
| return ((bitField0_ & 0x00000002) == 0x00000002); |
| } |
| /** |
| * <code>optional bytes name = 11;</code> |
| * |
| * <pre> |
| * device name (e.g., bullhead). |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getName() { |
| return name_; |
| } |
| |
| // optional bytes build_type = 12; |
| public static final int BUILD_TYPE_FIELD_NUMBER = 12; |
| private com.google.protobuf.ByteString buildType_; |
| /** |
| * <code>optional bytes build_type = 12;</code> |
| * |
| * <pre> |
| * build type (e.g., userdebug) |
| * </pre> |
| */ |
| public boolean hasBuildType() { |
| return ((bitField0_ & 0x00000004) == 0x00000004); |
| } |
| /** |
| * <code>optional bytes build_type = 12;</code> |
| * |
| * <pre> |
| * build type (e.g., userdebug) |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getBuildType() { |
| return buildType_; |
| } |
| |
| // optional bytes branch = 13; |
| public static final int BRANCH_FIELD_NUMBER = 13; |
| private com.google.protobuf.ByteString branch_; |
| /** |
| * <code>optional bytes branch = 13;</code> |
| * |
| * <pre> |
| * branch name (e.g., master or nyc-dev) |
| * </pre> |
| */ |
| public boolean hasBranch() { |
| return ((bitField0_ & 0x00000008) == 0x00000008); |
| } |
| /** |
| * <code>optional bytes branch = 13;</code> |
| * |
| * <pre> |
| * branch name (e.g., master or nyc-dev) |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getBranch() { |
| return branch_; |
| } |
| |
| // optional bytes build_summary = 21; |
| public static final int BUILD_SUMMARY_FIELD_NUMBER = 21; |
| private com.google.protobuf.ByteString buildSummary_; |
| /** |
| * <code>optional bytes build_summary = 21;</code> |
| * |
| * <pre> |
| * indicates the latest commit information of each branch (e.g., xml format). |
| * </pre> |
| */ |
| public boolean hasBuildSummary() { |
| return ((bitField0_ & 0x00000010) == 0x00000010); |
| } |
| /** |
| * <code>optional bytes build_summary = 21;</code> |
| * |
| * <pre> |
| * indicates the latest commit information of each branch (e.g., xml format). |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getBuildSummary() { |
| return buildSummary_; |
| } |
| |
| private void initFields() { |
| id_ = com.google.protobuf.ByteString.EMPTY; |
| name_ = com.google.protobuf.ByteString.EMPTY; |
| buildType_ = com.google.protobuf.ByteString.EMPTY; |
| branch_ = com.google.protobuf.ByteString.EMPTY; |
| buildSummary_ = com.google.protobuf.ByteString.EMPTY; |
| } |
| private byte memoizedIsInitialized = -1; |
| public final boolean isInitialized() { |
| byte isInitialized = memoizedIsInitialized; |
| if (isInitialized != -1) return isInitialized == 1; |
| |
| memoizedIsInitialized = 1; |
| return true; |
| } |
| |
| public void writeTo(com.google.protobuf.CodedOutputStream output) |
| throws java.io.IOException { |
| getSerializedSize(); |
| if (((bitField0_ & 0x00000001) == 0x00000001)) { |
| output.writeBytes(1, id_); |
| } |
| if (((bitField0_ & 0x00000002) == 0x00000002)) { |
| output.writeBytes(11, name_); |
| } |
| if (((bitField0_ & 0x00000004) == 0x00000004)) { |
| output.writeBytes(12, buildType_); |
| } |
| if (((bitField0_ & 0x00000008) == 0x00000008)) { |
| output.writeBytes(13, branch_); |
| } |
| if (((bitField0_ & 0x00000010) == 0x00000010)) { |
| output.writeBytes(21, buildSummary_); |
| } |
| 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, id_); |
| } |
| if (((bitField0_ & 0x00000002) == 0x00000002)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(11, name_); |
| } |
| if (((bitField0_ & 0x00000004) == 0x00000004)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(12, buildType_); |
| } |
| if (((bitField0_ & 0x00000008) == 0x00000008)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(13, branch_); |
| } |
| if (((bitField0_ & 0x00000010) == 0x00000010)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(21, buildSummary_); |
| } |
| 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.android.vts.proto.VtsReportMessage.AndroidBuildInfo parseFrom( |
| com.google.protobuf.ByteString data) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data); |
| } |
| public static com.android.vts.proto.VtsReportMessage.AndroidBuildInfo parseFrom( |
| com.google.protobuf.ByteString data, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.AndroidBuildInfo parseFrom(byte[] data) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data); |
| } |
| public static com.android.vts.proto.VtsReportMessage.AndroidBuildInfo parseFrom( |
| byte[] data, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.AndroidBuildInfo parseFrom(java.io.InputStream input) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input); |
| } |
| public static com.android.vts.proto.VtsReportMessage.AndroidBuildInfo parseFrom( |
| java.io.InputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.AndroidBuildInfo parseDelimitedFrom(java.io.InputStream input) |
| throws java.io.IOException { |
| return PARSER.parseDelimitedFrom(input); |
| } |
| public static com.android.vts.proto.VtsReportMessage.AndroidBuildInfo parseDelimitedFrom( |
| java.io.InputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| return PARSER.parseDelimitedFrom(input, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.AndroidBuildInfo parseFrom( |
| com.google.protobuf.CodedInputStream input) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input); |
| } |
| public static com.android.vts.proto.VtsReportMessage.AndroidBuildInfo 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.android.vts.proto.VtsReportMessage.AndroidBuildInfo 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.vts.AndroidBuildInfo} |
| * |
| * <pre> |
| * To specify build info. |
| * </pre> |
| */ |
| public static final class Builder extends |
| com.google.protobuf.GeneratedMessage.Builder<Builder> |
| implements com.android.vts.proto.VtsReportMessage.AndroidBuildInfoOrBuilder { |
| public static final com.google.protobuf.Descriptors.Descriptor |
| getDescriptor() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_AndroidBuildInfo_descriptor; |
| } |
| |
| protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internalGetFieldAccessorTable() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_AndroidBuildInfo_fieldAccessorTable |
| .ensureFieldAccessorsInitialized( |
| com.android.vts.proto.VtsReportMessage.AndroidBuildInfo.class, com.android.vts.proto.VtsReportMessage.AndroidBuildInfo.Builder.class); |
| } |
| |
| // Construct using com.android.vts.proto.VtsReportMessage.AndroidBuildInfo.newBuilder() |
| private Builder() { |
| maybeForceBuilderInitialization(); |
| } |
| |
| private Builder( |
| com.google.protobuf.GeneratedMessage.BuilderParent parent) { |
| super(parent); |
| maybeForceBuilderInitialization(); |
| } |
| private void maybeForceBuilderInitialization() { |
| if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { |
| } |
| } |
| private static Builder create() { |
| return new Builder(); |
| } |
| |
| public Builder clear() { |
| super.clear(); |
| id_ = com.google.protobuf.ByteString.EMPTY; |
| bitField0_ = (bitField0_ & ~0x00000001); |
| name_ = com.google.protobuf.ByteString.EMPTY; |
| bitField0_ = (bitField0_ & ~0x00000002); |
| buildType_ = com.google.protobuf.ByteString.EMPTY; |
| bitField0_ = (bitField0_ & ~0x00000004); |
| branch_ = com.google.protobuf.ByteString.EMPTY; |
| bitField0_ = (bitField0_ & ~0x00000008); |
| buildSummary_ = com.google.protobuf.ByteString.EMPTY; |
| bitField0_ = (bitField0_ & ~0x00000010); |
| return this; |
| } |
| |
| public Builder clone() { |
| return create().mergeFrom(buildPartial()); |
| } |
| |
| public com.google.protobuf.Descriptors.Descriptor |
| getDescriptorForType() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_AndroidBuildInfo_descriptor; |
| } |
| |
| public com.android.vts.proto.VtsReportMessage.AndroidBuildInfo getDefaultInstanceForType() { |
| return com.android.vts.proto.VtsReportMessage.AndroidBuildInfo.getDefaultInstance(); |
| } |
| |
| public com.android.vts.proto.VtsReportMessage.AndroidBuildInfo build() { |
| com.android.vts.proto.VtsReportMessage.AndroidBuildInfo result = buildPartial(); |
| if (!result.isInitialized()) { |
| throw newUninitializedMessageException(result); |
| } |
| return result; |
| } |
| |
| public com.android.vts.proto.VtsReportMessage.AndroidBuildInfo buildPartial() { |
| com.android.vts.proto.VtsReportMessage.AndroidBuildInfo result = new com.android.vts.proto.VtsReportMessage.AndroidBuildInfo(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.name_ = name_; |
| if (((from_bitField0_ & 0x00000004) == 0x00000004)) { |
| to_bitField0_ |= 0x00000004; |
| } |
| result.buildType_ = buildType_; |
| if (((from_bitField0_ & 0x00000008) == 0x00000008)) { |
| to_bitField0_ |= 0x00000008; |
| } |
| result.branch_ = branch_; |
| if (((from_bitField0_ & 0x00000010) == 0x00000010)) { |
| to_bitField0_ |= 0x00000010; |
| } |
| result.buildSummary_ = buildSummary_; |
| result.bitField0_ = to_bitField0_; |
| onBuilt(); |
| return result; |
| } |
| |
| public Builder mergeFrom(com.google.protobuf.Message other) { |
| if (other instanceof com.android.vts.proto.VtsReportMessage.AndroidBuildInfo) { |
| return mergeFrom((com.android.vts.proto.VtsReportMessage.AndroidBuildInfo)other); |
| } else { |
| super.mergeFrom(other); |
| return this; |
| } |
| } |
| |
| public Builder mergeFrom(com.android.vts.proto.VtsReportMessage.AndroidBuildInfo other) { |
| if (other == com.android.vts.proto.VtsReportMessage.AndroidBuildInfo.getDefaultInstance()) return this; |
| if (other.hasId()) { |
| setId(other.getId()); |
| } |
| if (other.hasName()) { |
| setName(other.getName()); |
| } |
| if (other.hasBuildType()) { |
| setBuildType(other.getBuildType()); |
| } |
| if (other.hasBranch()) { |
| setBranch(other.getBranch()); |
| } |
| if (other.hasBuildSummary()) { |
| setBuildSummary(other.getBuildSummary()); |
| } |
| 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.android.vts.proto.VtsReportMessage.AndroidBuildInfo parsedMessage = null; |
| try { |
| parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); |
| } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| parsedMessage = (com.android.vts.proto.VtsReportMessage.AndroidBuildInfo) e.getUnfinishedMessage(); |
| throw e; |
| } finally { |
| if (parsedMessage != null) { |
| mergeFrom(parsedMessage); |
| } |
| } |
| return this; |
| } |
| private int bitField0_; |
| |
| // optional bytes id = 1; |
| private com.google.protobuf.ByteString id_ = com.google.protobuf.ByteString.EMPTY; |
| /** |
| * <code>optional bytes id = 1;</code> |
| * |
| * <pre> |
| * build ID. |
| * </pre> |
| */ |
| public boolean hasId() { |
| return ((bitField0_ & 0x00000001) == 0x00000001); |
| } |
| /** |
| * <code>optional bytes id = 1;</code> |
| * |
| * <pre> |
| * build ID. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getId() { |
| return id_; |
| } |
| /** |
| * <code>optional bytes id = 1;</code> |
| * |
| * <pre> |
| * build ID. |
| * </pre> |
| */ |
| public Builder setId(com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000001; |
| id_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional bytes id = 1;</code> |
| * |
| * <pre> |
| * build ID. |
| * </pre> |
| */ |
| public Builder clearId() { |
| bitField0_ = (bitField0_ & ~0x00000001); |
| id_ = getDefaultInstance().getId(); |
| onChanged(); |
| return this; |
| } |
| |
| // optional bytes name = 11; |
| private com.google.protobuf.ByteString name_ = com.google.protobuf.ByteString.EMPTY; |
| /** |
| * <code>optional bytes name = 11;</code> |
| * |
| * <pre> |
| * device name (e.g., bullhead). |
| * </pre> |
| */ |
| public boolean hasName() { |
| return ((bitField0_ & 0x00000002) == 0x00000002); |
| } |
| /** |
| * <code>optional bytes name = 11;</code> |
| * |
| * <pre> |
| * device name (e.g., bullhead). |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getName() { |
| return name_; |
| } |
| /** |
| * <code>optional bytes name = 11;</code> |
| * |
| * <pre> |
| * device name (e.g., bullhead). |
| * </pre> |
| */ |
| public Builder setName(com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000002; |
| name_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional bytes name = 11;</code> |
| * |
| * <pre> |
| * device name (e.g., bullhead). |
| * </pre> |
| */ |
| public Builder clearName() { |
| bitField0_ = (bitField0_ & ~0x00000002); |
| name_ = getDefaultInstance().getName(); |
| onChanged(); |
| return this; |
| } |
| |
| // optional bytes build_type = 12; |
| private com.google.protobuf.ByteString buildType_ = com.google.protobuf.ByteString.EMPTY; |
| /** |
| * <code>optional bytes build_type = 12;</code> |
| * |
| * <pre> |
| * build type (e.g., userdebug) |
| * </pre> |
| */ |
| public boolean hasBuildType() { |
| return ((bitField0_ & 0x00000004) == 0x00000004); |
| } |
| /** |
| * <code>optional bytes build_type = 12;</code> |
| * |
| * <pre> |
| * build type (e.g., userdebug) |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getBuildType() { |
| return buildType_; |
| } |
| /** |
| * <code>optional bytes build_type = 12;</code> |
| * |
| * <pre> |
| * build type (e.g., userdebug) |
| * </pre> |
| */ |
| public Builder setBuildType(com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000004; |
| buildType_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional bytes build_type = 12;</code> |
| * |
| * <pre> |
| * build type (e.g., userdebug) |
| * </pre> |
| */ |
| public Builder clearBuildType() { |
| bitField0_ = (bitField0_ & ~0x00000004); |
| buildType_ = getDefaultInstance().getBuildType(); |
| onChanged(); |
| return this; |
| } |
| |
| // optional bytes branch = 13; |
| private com.google.protobuf.ByteString branch_ = com.google.protobuf.ByteString.EMPTY; |
| /** |
| * <code>optional bytes branch = 13;</code> |
| * |
| * <pre> |
| * branch name (e.g., master or nyc-dev) |
| * </pre> |
| */ |
| public boolean hasBranch() { |
| return ((bitField0_ & 0x00000008) == 0x00000008); |
| } |
| /** |
| * <code>optional bytes branch = 13;</code> |
| * |
| * <pre> |
| * branch name (e.g., master or nyc-dev) |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getBranch() { |
| return branch_; |
| } |
| /** |
| * <code>optional bytes branch = 13;</code> |
| * |
| * <pre> |
| * branch name (e.g., master or nyc-dev) |
| * </pre> |
| */ |
| public Builder setBranch(com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000008; |
| branch_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional bytes branch = 13;</code> |
| * |
| * <pre> |
| * branch name (e.g., master or nyc-dev) |
| * </pre> |
| */ |
| public Builder clearBranch() { |
| bitField0_ = (bitField0_ & ~0x00000008); |
| branch_ = getDefaultInstance().getBranch(); |
| onChanged(); |
| return this; |
| } |
| |
| // optional bytes build_summary = 21; |
| private com.google.protobuf.ByteString buildSummary_ = com.google.protobuf.ByteString.EMPTY; |
| /** |
| * <code>optional bytes build_summary = 21;</code> |
| * |
| * <pre> |
| * indicates the latest commit information of each branch (e.g., xml format). |
| * </pre> |
| */ |
| public boolean hasBuildSummary() { |
| return ((bitField0_ & 0x00000010) == 0x00000010); |
| } |
| /** |
| * <code>optional bytes build_summary = 21;</code> |
| * |
| * <pre> |
| * indicates the latest commit information of each branch (e.g., xml format). |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getBuildSummary() { |
| return buildSummary_; |
| } |
| /** |
| * <code>optional bytes build_summary = 21;</code> |
| * |
| * <pre> |
| * indicates the latest commit information of each branch (e.g., xml format). |
| * </pre> |
| */ |
| public Builder setBuildSummary(com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000010; |
| buildSummary_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional bytes build_summary = 21;</code> |
| * |
| * <pre> |
| * indicates the latest commit information of each branch (e.g., xml format). |
| * </pre> |
| */ |
| public Builder clearBuildSummary() { |
| bitField0_ = (bitField0_ & ~0x00000010); |
| buildSummary_ = getDefaultInstance().getBuildSummary(); |
| onChanged(); |
| return this; |
| } |
| |
| // @@protoc_insertion_point(builder_scope:android.vts.AndroidBuildInfo) |
| } |
| |
| static { |
| defaultInstance = new AndroidBuildInfo(true); |
| defaultInstance.initFields(); |
| } |
| |
| // @@protoc_insertion_point(class_scope:android.vts.AndroidBuildInfo) |
| } |
| |
| public interface VtsHostInfoOrBuilder |
| extends com.google.protobuf.MessageOrBuilder { |
| |
| // optional bytes hostname = 1; |
| /** |
| * <code>optional bytes hostname = 1;</code> |
| * |
| * <pre> |
| * the host name (i.e., full domain name). |
| * </pre> |
| */ |
| boolean hasHostname(); |
| /** |
| * <code>optional bytes hostname = 1;</code> |
| * |
| * <pre> |
| * the host name (i.e., full domain name). |
| * </pre> |
| */ |
| com.google.protobuf.ByteString getHostname(); |
| } |
| /** |
| * Protobuf type {@code android.vts.VtsHostInfo} |
| * |
| * <pre> |
| * To specify the information about a host node. |
| * </pre> |
| */ |
| public static final class VtsHostInfo extends |
| com.google.protobuf.GeneratedMessage |
| implements VtsHostInfoOrBuilder { |
| // Use VtsHostInfo.newBuilder() to construct. |
| private VtsHostInfo(com.google.protobuf.GeneratedMessage.Builder<?> builder) { |
| super(builder); |
| this.unknownFields = builder.getUnknownFields(); |
| } |
| private VtsHostInfo(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } |
| |
| private static final VtsHostInfo defaultInstance; |
| public static VtsHostInfo getDefaultInstance() { |
| return defaultInstance; |
| } |
| |
| public VtsHostInfo getDefaultInstanceForType() { |
| return defaultInstance; |
| } |
| |
| private final com.google.protobuf.UnknownFieldSet unknownFields; |
| @java.lang.Override |
| public final com.google.protobuf.UnknownFieldSet |
| getUnknownFields() { |
| return this.unknownFields; |
| } |
| private VtsHostInfo( |
| 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; |
| hostname_ = 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.android.vts.proto.VtsReportMessage.internal_static_android_vts_VtsHostInfo_descriptor; |
| } |
| |
| protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internalGetFieldAccessorTable() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_VtsHostInfo_fieldAccessorTable |
| .ensureFieldAccessorsInitialized( |
| com.android.vts.proto.VtsReportMessage.VtsHostInfo.class, com.android.vts.proto.VtsReportMessage.VtsHostInfo.Builder.class); |
| } |
| |
| public static com.google.protobuf.Parser<VtsHostInfo> PARSER = |
| new com.google.protobuf.AbstractParser<VtsHostInfo>() { |
| public VtsHostInfo parsePartialFrom( |
| com.google.protobuf.CodedInputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return new VtsHostInfo(input, extensionRegistry); |
| } |
| }; |
| |
| @java.lang.Override |
| public com.google.protobuf.Parser<VtsHostInfo> getParserForType() { |
| return PARSER; |
| } |
| |
| private int bitField0_; |
| // optional bytes hostname = 1; |
| public static final int HOSTNAME_FIELD_NUMBER = 1; |
| private com.google.protobuf.ByteString hostname_; |
| /** |
| * <code>optional bytes hostname = 1;</code> |
| * |
| * <pre> |
| * the host name (i.e., full domain name). |
| * </pre> |
| */ |
| public boolean hasHostname() { |
| return ((bitField0_ & 0x00000001) == 0x00000001); |
| } |
| /** |
| * <code>optional bytes hostname = 1;</code> |
| * |
| * <pre> |
| * the host name (i.e., full domain name). |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getHostname() { |
| return hostname_; |
| } |
| |
| private void initFields() { |
| hostname_ = com.google.protobuf.ByteString.EMPTY; |
| } |
| private byte memoizedIsInitialized = -1; |
| public final boolean isInitialized() { |
| byte isInitialized = memoizedIsInitialized; |
| if (isInitialized != -1) return isInitialized == 1; |
| |
| memoizedIsInitialized = 1; |
| return true; |
| } |
| |
| public void writeTo(com.google.protobuf.CodedOutputStream output) |
| throws java.io.IOException { |
| getSerializedSize(); |
| if (((bitField0_ & 0x00000001) == 0x00000001)) { |
| output.writeBytes(1, hostname_); |
| } |
| 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, hostname_); |
| } |
| 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.android.vts.proto.VtsReportMessage.VtsHostInfo parseFrom( |
| com.google.protobuf.ByteString data) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data); |
| } |
| public static com.android.vts.proto.VtsReportMessage.VtsHostInfo parseFrom( |
| com.google.protobuf.ByteString data, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.VtsHostInfo parseFrom(byte[] data) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data); |
| } |
| public static com.android.vts.proto.VtsReportMessage.VtsHostInfo parseFrom( |
| byte[] data, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.VtsHostInfo parseFrom(java.io.InputStream input) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input); |
| } |
| public static com.android.vts.proto.VtsReportMessage.VtsHostInfo parseFrom( |
| java.io.InputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.VtsHostInfo parseDelimitedFrom(java.io.InputStream input) |
| throws java.io.IOException { |
| return PARSER.parseDelimitedFrom(input); |
| } |
| public static com.android.vts.proto.VtsReportMessage.VtsHostInfo parseDelimitedFrom( |
| java.io.InputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| return PARSER.parseDelimitedFrom(input, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.VtsHostInfo parseFrom( |
| com.google.protobuf.CodedInputStream input) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input); |
| } |
| public static com.android.vts.proto.VtsReportMessage.VtsHostInfo 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.android.vts.proto.VtsReportMessage.VtsHostInfo 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.vts.VtsHostInfo} |
| * |
| * <pre> |
| * To specify the information about a host node. |
| * </pre> |
| */ |
| public static final class Builder extends |
| com.google.protobuf.GeneratedMessage.Builder<Builder> |
| implements com.android.vts.proto.VtsReportMessage.VtsHostInfoOrBuilder { |
| public static final com.google.protobuf.Descriptors.Descriptor |
| getDescriptor() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_VtsHostInfo_descriptor; |
| } |
| |
| protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internalGetFieldAccessorTable() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_VtsHostInfo_fieldAccessorTable |
| .ensureFieldAccessorsInitialized( |
| com.android.vts.proto.VtsReportMessage.VtsHostInfo.class, com.android.vts.proto.VtsReportMessage.VtsHostInfo.Builder.class); |
| } |
| |
| // Construct using com.android.vts.proto.VtsReportMessage.VtsHostInfo.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(); |
| hostname_ = com.google.protobuf.ByteString.EMPTY; |
| bitField0_ = (bitField0_ & ~0x00000001); |
| return this; |
| } |
| |
| public Builder clone() { |
| return create().mergeFrom(buildPartial()); |
| } |
| |
| public com.google.protobuf.Descriptors.Descriptor |
| getDescriptorForType() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_VtsHostInfo_descriptor; |
| } |
| |
| public com.android.vts.proto.VtsReportMessage.VtsHostInfo getDefaultInstanceForType() { |
| return com.android.vts.proto.VtsReportMessage.VtsHostInfo.getDefaultInstance(); |
| } |
| |
| public com.android.vts.proto.VtsReportMessage.VtsHostInfo build() { |
| com.android.vts.proto.VtsReportMessage.VtsHostInfo result = buildPartial(); |
| if (!result.isInitialized()) { |
| throw newUninitializedMessageException(result); |
| } |
| return result; |
| } |
| |
| public com.android.vts.proto.VtsReportMessage.VtsHostInfo buildPartial() { |
| com.android.vts.proto.VtsReportMessage.VtsHostInfo result = new com.android.vts.proto.VtsReportMessage.VtsHostInfo(this); |
| int from_bitField0_ = bitField0_; |
| int to_bitField0_ = 0; |
| if (((from_bitField0_ & 0x00000001) == 0x00000001)) { |
| to_bitField0_ |= 0x00000001; |
| } |
| result.hostname_ = hostname_; |
| result.bitField0_ = to_bitField0_; |
| onBuilt(); |
| return result; |
| } |
| |
| public Builder mergeFrom(com.google.protobuf.Message other) { |
| if (other instanceof com.android.vts.proto.VtsReportMessage.VtsHostInfo) { |
| return mergeFrom((com.android.vts.proto.VtsReportMessage.VtsHostInfo)other); |
| } else { |
| super.mergeFrom(other); |
| return this; |
| } |
| } |
| |
| public Builder mergeFrom(com.android.vts.proto.VtsReportMessage.VtsHostInfo other) { |
| if (other == com.android.vts.proto.VtsReportMessage.VtsHostInfo.getDefaultInstance()) return this; |
| if (other.hasHostname()) { |
| setHostname(other.getHostname()); |
| } |
| 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.android.vts.proto.VtsReportMessage.VtsHostInfo parsedMessage = null; |
| try { |
| parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); |
| } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| parsedMessage = (com.android.vts.proto.VtsReportMessage.VtsHostInfo) e.getUnfinishedMessage(); |
| throw e; |
| } finally { |
| if (parsedMessage != null) { |
| mergeFrom(parsedMessage); |
| } |
| } |
| return this; |
| } |
| private int bitField0_; |
| |
| // optional bytes hostname = 1; |
| private com.google.protobuf.ByteString hostname_ = com.google.protobuf.ByteString.EMPTY; |
| /** |
| * <code>optional bytes hostname = 1;</code> |
| * |
| * <pre> |
| * the host name (i.e., full domain name). |
| * </pre> |
| */ |
| public boolean hasHostname() { |
| return ((bitField0_ & 0x00000001) == 0x00000001); |
| } |
| /** |
| * <code>optional bytes hostname = 1;</code> |
| * |
| * <pre> |
| * the host name (i.e., full domain name). |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getHostname() { |
| return hostname_; |
| } |
| /** |
| * <code>optional bytes hostname = 1;</code> |
| * |
| * <pre> |
| * the host name (i.e., full domain name). |
| * </pre> |
| */ |
| public Builder setHostname(com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000001; |
| hostname_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional bytes hostname = 1;</code> |
| * |
| * <pre> |
| * the host name (i.e., full domain name). |
| * </pre> |
| */ |
| public Builder clearHostname() { |
| bitField0_ = (bitField0_ & ~0x00000001); |
| hostname_ = getDefaultInstance().getHostname(); |
| onChanged(); |
| return this; |
| } |
| |
| // @@protoc_insertion_point(builder_scope:android.vts.VtsHostInfo) |
| } |
| |
| static { |
| defaultInstance = new VtsHostInfo(true); |
| defaultInstance.initFields(); |
| } |
| |
| // @@protoc_insertion_point(class_scope:android.vts.VtsHostInfo) |
| } |
| |
| public interface TestCaseReportMessageOrBuilder |
| extends com.google.protobuf.MessageOrBuilder { |
| |
| // optional bytes name = 1; |
| /** |
| * <code>optional bytes name = 1;</code> |
| * |
| * <pre> |
| * the test case name. |
| * </pre> |
| */ |
| boolean hasName(); |
| /** |
| * <code>optional bytes name = 1;</code> |
| * |
| * <pre> |
| * the test case name. |
| * </pre> |
| */ |
| com.google.protobuf.ByteString getName(); |
| |
| // optional .android.vts.TestCaseResult test_result = 11; |
| /** |
| * <code>optional .android.vts.TestCaseResult test_result = 11;</code> |
| * |
| * <pre> |
| * the test result. |
| * </pre> |
| */ |
| boolean hasTestResult(); |
| /** |
| * <code>optional .android.vts.TestCaseResult test_result = 11;</code> |
| * |
| * <pre> |
| * the test result. |
| * </pre> |
| */ |
| com.android.vts.proto.VtsReportMessage.TestCaseResult getTestResult(); |
| |
| // optional int64 start_timestamp = 21; |
| /** |
| * <code>optional int64 start_timestamp = 21;</code> |
| * |
| * <pre> |
| * execution start and end time stamp. |
| * </pre> |
| */ |
| boolean hasStartTimestamp(); |
| /** |
| * <code>optional int64 start_timestamp = 21;</code> |
| * |
| * <pre> |
| * execution start and end time stamp. |
| * </pre> |
| */ |
| long getStartTimestamp(); |
| |
| // optional int64 end_timestamp = 22; |
| /** |
| * <code>optional int64 end_timestamp = 22;</code> |
| */ |
| boolean hasEndTimestamp(); |
| /** |
| * <code>optional int64 end_timestamp = 22;</code> |
| */ |
| long getEndTimestamp(); |
| |
| // repeated .android.vts.CoverageReportMessage coverage = 31; |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> |
| * |
| * <pre> |
| * coverage report per file |
| * </pre> |
| */ |
| java.util.List<com.android.vts.proto.VtsReportMessage.CoverageReportMessage> |
| getCoverageList(); |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> |
| * |
| * <pre> |
| * coverage report per file |
| * </pre> |
| */ |
| com.android.vts.proto.VtsReportMessage.CoverageReportMessage getCoverage(int index); |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> |
| * |
| * <pre> |
| * coverage report per file |
| * </pre> |
| */ |
| int getCoverageCount(); |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> |
| * |
| * <pre> |
| * coverage report per file |
| * </pre> |
| */ |
| java.util.List<? extends com.android.vts.proto.VtsReportMessage.CoverageReportMessageOrBuilder> |
| getCoverageOrBuilderList(); |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> |
| * |
| * <pre> |
| * coverage report per file |
| * </pre> |
| */ |
| com.android.vts.proto.VtsReportMessage.CoverageReportMessageOrBuilder getCoverageOrBuilder( |
| int index); |
| |
| // repeated .android.vts.ProfilingReportMessage profiling = 41; |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> |
| * |
| * <pre> |
| * profiling reports |
| * </pre> |
| */ |
| java.util.List<com.android.vts.proto.VtsReportMessage.ProfilingReportMessage> |
| getProfilingList(); |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> |
| * |
| * <pre> |
| * profiling reports |
| * </pre> |
| */ |
| com.android.vts.proto.VtsReportMessage.ProfilingReportMessage getProfiling(int index); |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> |
| * |
| * <pre> |
| * profiling reports |
| * </pre> |
| */ |
| int getProfilingCount(); |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> |
| * |
| * <pre> |
| * profiling reports |
| * </pre> |
| */ |
| java.util.List<? extends com.android.vts.proto.VtsReportMessage.ProfilingReportMessageOrBuilder> |
| getProfilingOrBuilderList(); |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> |
| * |
| * <pre> |
| * profiling reports |
| * </pre> |
| */ |
| com.android.vts.proto.VtsReportMessage.ProfilingReportMessageOrBuilder getProfilingOrBuilder( |
| int index); |
| |
| // repeated .android.vts.SystraceReportMessage systrace = 42; |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 42;</code> |
| * |
| * <pre> |
| * systrace report message per file |
| * </pre> |
| */ |
| java.util.List<com.android.vts.proto.VtsReportMessage.SystraceReportMessage> |
| getSystraceList(); |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 42;</code> |
| * |
| * <pre> |
| * systrace report message per file |
| * </pre> |
| */ |
| com.android.vts.proto.VtsReportMessage.SystraceReportMessage getSystrace(int index); |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 42;</code> |
| * |
| * <pre> |
| * systrace report message per file |
| * </pre> |
| */ |
| int getSystraceCount(); |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 42;</code> |
| * |
| * <pre> |
| * systrace report message per file |
| * </pre> |
| */ |
| java.util.List<? extends com.android.vts.proto.VtsReportMessage.SystraceReportMessageOrBuilder> |
| getSystraceOrBuilderList(); |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 42;</code> |
| * |
| * <pre> |
| * systrace report message per file |
| * </pre> |
| */ |
| com.android.vts.proto.VtsReportMessage.SystraceReportMessageOrBuilder getSystraceOrBuilder( |
| int index); |
| |
| // repeated .android.vts.LogMessage log = 101; |
| /** |
| * <code>repeated .android.vts.LogMessage log = 101;</code> |
| * |
| * <pre> |
| * log for each test case. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| java.util.List<com.android.vts.proto.VtsReportMessage.LogMessage> |
| getLogList(); |
| /** |
| * <code>repeated .android.vts.LogMessage log = 101;</code> |
| * |
| * <pre> |
| * log for each test case. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| com.android.vts.proto.VtsReportMessage.LogMessage getLog(int index); |
| /** |
| * <code>repeated .android.vts.LogMessage log = 101;</code> |
| * |
| * <pre> |
| * log for each test case. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| int getLogCount(); |
| /** |
| * <code>repeated .android.vts.LogMessage log = 101;</code> |
| * |
| * <pre> |
| * log for each test case. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| java.util.List<? extends com.android.vts.proto.VtsReportMessage.LogMessageOrBuilder> |
| getLogOrBuilderList(); |
| /** |
| * <code>repeated .android.vts.LogMessage log = 101;</code> |
| * |
| * <pre> |
| * log for each test case. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| com.android.vts.proto.VtsReportMessage.LogMessageOrBuilder getLogOrBuilder( |
| int index); |
| } |
| /** |
| * Protobuf type {@code android.vts.TestCaseReportMessage} |
| * |
| * <pre> |
| * To specify a test case execution report. |
| * </pre> |
| */ |
| public static final class TestCaseReportMessage extends |
| com.google.protobuf.GeneratedMessage |
| implements TestCaseReportMessageOrBuilder { |
| // Use TestCaseReportMessage.newBuilder() to construct. |
| private TestCaseReportMessage(com.google.protobuf.GeneratedMessage.Builder<?> builder) { |
| super(builder); |
| this.unknownFields = builder.getUnknownFields(); |
| } |
| private TestCaseReportMessage(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } |
| |
| private static final TestCaseReportMessage defaultInstance; |
| public static TestCaseReportMessage getDefaultInstance() { |
| return defaultInstance; |
| } |
| |
| public TestCaseReportMessage getDefaultInstanceForType() { |
| return defaultInstance; |
| } |
| |
| private final com.google.protobuf.UnknownFieldSet unknownFields; |
| @java.lang.Override |
| public final com.google.protobuf.UnknownFieldSet |
| getUnknownFields() { |
| return this.unknownFields; |
| } |
| private TestCaseReportMessage( |
| com.google.protobuf.CodedInputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| initFields(); |
| int mutable_bitField0_ = 0; |
| com.google.protobuf.UnknownFieldSet.Builder unknownFields = |
| com.google.protobuf.UnknownFieldSet.newBuilder(); |
| try { |
| boolean done = false; |
| while (!done) { |
| int tag = input.readTag(); |
| switch (tag) { |
| case 0: |
| done = true; |
| break; |
| default: { |
| if (!parseUnknownField(input, unknownFields, |
| extensionRegistry, tag)) { |
| done = true; |
| } |
| break; |
| } |
| case 10: { |
| bitField0_ |= 0x00000001; |
| name_ = input.readBytes(); |
| break; |
| } |
| case 88: { |
| int rawValue = input.readEnum(); |
| com.android.vts.proto.VtsReportMessage.TestCaseResult value = com.android.vts.proto.VtsReportMessage.TestCaseResult.valueOf(rawValue); |
| if (value == null) { |
| unknownFields.mergeVarintField(11, rawValue); |
| } else { |
| bitField0_ |= 0x00000002; |
| testResult_ = value; |
| } |
| break; |
| } |
| case 168: { |
| bitField0_ |= 0x00000004; |
| startTimestamp_ = input.readInt64(); |
| break; |
| } |
| case 176: { |
| bitField0_ |= 0x00000008; |
| endTimestamp_ = input.readInt64(); |
| break; |
| } |
| case 250: { |
| if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { |
| coverage_ = new java.util.ArrayList<com.android.vts.proto.VtsReportMessage.CoverageReportMessage>(); |
| mutable_bitField0_ |= 0x00000010; |
| } |
| coverage_.add(input.readMessage(com.android.vts.proto.VtsReportMessage.CoverageReportMessage.PARSER, extensionRegistry)); |
| break; |
| } |
| case 330: { |
| if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { |
| profiling_ = new java.util.ArrayList<com.android.vts.proto.VtsReportMessage.ProfilingReportMessage>(); |
| mutable_bitField0_ |= 0x00000020; |
| } |
| profiling_.add(input.readMessage(com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.PARSER, extensionRegistry)); |
| break; |
| } |
| case 338: { |
| if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) { |
| systrace_ = new java.util.ArrayList<com.android.vts.proto.VtsReportMessage.SystraceReportMessage>(); |
| mutable_bitField0_ |= 0x00000040; |
| } |
| systrace_.add(input.readMessage(com.android.vts.proto.VtsReportMessage.SystraceReportMessage.PARSER, extensionRegistry)); |
| break; |
| } |
| case 810: { |
| if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) { |
| log_ = new java.util.ArrayList<com.android.vts.proto.VtsReportMessage.LogMessage>(); |
| mutable_bitField0_ |= 0x00000080; |
| } |
| log_.add(input.readMessage(com.android.vts.proto.VtsReportMessage.LogMessage.PARSER, extensionRegistry)); |
| break; |
| } |
| } |
| } |
| } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| throw e.setUnfinishedMessage(this); |
| } catch (java.io.IOException e) { |
| throw new com.google.protobuf.InvalidProtocolBufferException( |
| e.getMessage()).setUnfinishedMessage(this); |
| } finally { |
| if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) { |
| coverage_ = java.util.Collections.unmodifiableList(coverage_); |
| } |
| if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) { |
| profiling_ = java.util.Collections.unmodifiableList(profiling_); |
| } |
| if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) { |
| systrace_ = java.util.Collections.unmodifiableList(systrace_); |
| } |
| if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) { |
| log_ = java.util.Collections.unmodifiableList(log_); |
| } |
| this.unknownFields = unknownFields.build(); |
| makeExtensionsImmutable(); |
| } |
| } |
| public static final com.google.protobuf.Descriptors.Descriptor |
| getDescriptor() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_TestCaseReportMessage_descriptor; |
| } |
| |
| protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internalGetFieldAccessorTable() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_TestCaseReportMessage_fieldAccessorTable |
| .ensureFieldAccessorsInitialized( |
| com.android.vts.proto.VtsReportMessage.TestCaseReportMessage.class, com.android.vts.proto.VtsReportMessage.TestCaseReportMessage.Builder.class); |
| } |
| |
| public static com.google.protobuf.Parser<TestCaseReportMessage> PARSER = |
| new com.google.protobuf.AbstractParser<TestCaseReportMessage>() { |
| public TestCaseReportMessage parsePartialFrom( |
| com.google.protobuf.CodedInputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return new TestCaseReportMessage(input, extensionRegistry); |
| } |
| }; |
| |
| @java.lang.Override |
| public com.google.protobuf.Parser<TestCaseReportMessage> getParserForType() { |
| return PARSER; |
| } |
| |
| private int bitField0_; |
| // optional bytes name = 1; |
| public static final int NAME_FIELD_NUMBER = 1; |
| private com.google.protobuf.ByteString name_; |
| /** |
| * <code>optional bytes name = 1;</code> |
| * |
| * <pre> |
| * the test case name. |
| * </pre> |
| */ |
| public boolean hasName() { |
| return ((bitField0_ & 0x00000001) == 0x00000001); |
| } |
| /** |
| * <code>optional bytes name = 1;</code> |
| * |
| * <pre> |
| * the test case name. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getName() { |
| return name_; |
| } |
| |
| // optional .android.vts.TestCaseResult test_result = 11; |
| public static final int TEST_RESULT_FIELD_NUMBER = 11; |
| private com.android.vts.proto.VtsReportMessage.TestCaseResult testResult_; |
| /** |
| * <code>optional .android.vts.TestCaseResult test_result = 11;</code> |
| * |
| * <pre> |
| * the test result. |
| * </pre> |
| */ |
| public boolean hasTestResult() { |
| return ((bitField0_ & 0x00000002) == 0x00000002); |
| } |
| /** |
| * <code>optional .android.vts.TestCaseResult test_result = 11;</code> |
| * |
| * <pre> |
| * the test result. |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.TestCaseResult getTestResult() { |
| return testResult_; |
| } |
| |
| // optional int64 start_timestamp = 21; |
| public static final int START_TIMESTAMP_FIELD_NUMBER = 21; |
| private long startTimestamp_; |
| /** |
| * <code>optional int64 start_timestamp = 21;</code> |
| * |
| * <pre> |
| * execution start and end time stamp. |
| * </pre> |
| */ |
| public boolean hasStartTimestamp() { |
| return ((bitField0_ & 0x00000004) == 0x00000004); |
| } |
| /** |
| * <code>optional int64 start_timestamp = 21;</code> |
| * |
| * <pre> |
| * execution start and end time stamp. |
| * </pre> |
| */ |
| public long getStartTimestamp() { |
| return startTimestamp_; |
| } |
| |
| // optional int64 end_timestamp = 22; |
| public static final int END_TIMESTAMP_FIELD_NUMBER = 22; |
| private long endTimestamp_; |
| /** |
| * <code>optional int64 end_timestamp = 22;</code> |
| */ |
| public boolean hasEndTimestamp() { |
| return ((bitField0_ & 0x00000008) == 0x00000008); |
| } |
| /** |
| * <code>optional int64 end_timestamp = 22;</code> |
| */ |
| public long getEndTimestamp() { |
| return endTimestamp_; |
| } |
| |
| // repeated .android.vts.CoverageReportMessage coverage = 31; |
| public static final int COVERAGE_FIELD_NUMBER = 31; |
| private java.util.List<com.android.vts.proto.VtsReportMessage.CoverageReportMessage> coverage_; |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> |
| * |
| * <pre> |
| * coverage report per file |
| * </pre> |
| */ |
| public java.util.List<com.android.vts.proto.VtsReportMessage.CoverageReportMessage> getCoverageList() { |
| return coverage_; |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> |
| * |
| * <pre> |
| * coverage report per file |
| * </pre> |
| */ |
| public java.util.List<? extends com.android.vts.proto.VtsReportMessage.CoverageReportMessageOrBuilder> |
| getCoverageOrBuilderList() { |
| return coverage_; |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> |
| * |
| * <pre> |
| * coverage report per file |
| * </pre> |
| */ |
| public int getCoverageCount() { |
| return coverage_.size(); |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> |
| * |
| * <pre> |
| * coverage report per file |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.CoverageReportMessage getCoverage(int index) { |
| return coverage_.get(index); |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> |
| * |
| * <pre> |
| * coverage report per file |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.CoverageReportMessageOrBuilder getCoverageOrBuilder( |
| int index) { |
| return coverage_.get(index); |
| } |
| |
| // repeated .android.vts.ProfilingReportMessage profiling = 41; |
| public static final int PROFILING_FIELD_NUMBER = 41; |
| private java.util.List<com.android.vts.proto.VtsReportMessage.ProfilingReportMessage> profiling_; |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> |
| * |
| * <pre> |
| * profiling reports |
| * </pre> |
| */ |
| public java.util.List<com.android.vts.proto.VtsReportMessage.ProfilingReportMessage> getProfilingList() { |
| return profiling_; |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> |
| * |
| * <pre> |
| * profiling reports |
| * </pre> |
| */ |
| public java.util.List<? extends com.android.vts.proto.VtsReportMessage.ProfilingReportMessageOrBuilder> |
| getProfilingOrBuilderList() { |
| return profiling_; |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> |
| * |
| * <pre> |
| * profiling reports |
| * </pre> |
| */ |
| public int getProfilingCount() { |
| return profiling_.size(); |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> |
| * |
| * <pre> |
| * profiling reports |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.ProfilingReportMessage getProfiling(int index) { |
| return profiling_.get(index); |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> |
| * |
| * <pre> |
| * profiling reports |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.ProfilingReportMessageOrBuilder getProfilingOrBuilder( |
| int index) { |
| return profiling_.get(index); |
| } |
| |
| // repeated .android.vts.SystraceReportMessage systrace = 42; |
| public static final int SYSTRACE_FIELD_NUMBER = 42; |
| private java.util.List<com.android.vts.proto.VtsReportMessage.SystraceReportMessage> systrace_; |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 42;</code> |
| * |
| * <pre> |
| * systrace report message per file |
| * </pre> |
| */ |
| public java.util.List<com.android.vts.proto.VtsReportMessage.SystraceReportMessage> getSystraceList() { |
| return systrace_; |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 42;</code> |
| * |
| * <pre> |
| * systrace report message per file |
| * </pre> |
| */ |
| public java.util.List<? extends com.android.vts.proto.VtsReportMessage.SystraceReportMessageOrBuilder> |
| getSystraceOrBuilderList() { |
| return systrace_; |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 42;</code> |
| * |
| * <pre> |
| * systrace report message per file |
| * </pre> |
| */ |
| public int getSystraceCount() { |
| return systrace_.size(); |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 42;</code> |
| * |
| * <pre> |
| * systrace report message per file |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.SystraceReportMessage getSystrace(int index) { |
| return systrace_.get(index); |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 42;</code> |
| * |
| * <pre> |
| * systrace report message per file |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.SystraceReportMessageOrBuilder getSystraceOrBuilder( |
| int index) { |
| return systrace_.get(index); |
| } |
| |
| // repeated .android.vts.LogMessage log = 101; |
| public static final int LOG_FIELD_NUMBER = 101; |
| private java.util.List<com.android.vts.proto.VtsReportMessage.LogMessage> log_; |
| /** |
| * <code>repeated .android.vts.LogMessage log = 101;</code> |
| * |
| * <pre> |
| * log for each test case. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public java.util.List<com.android.vts.proto.VtsReportMessage.LogMessage> getLogList() { |
| return log_; |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 101;</code> |
| * |
| * <pre> |
| * log for each test case. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public java.util.List<? extends com.android.vts.proto.VtsReportMessage.LogMessageOrBuilder> |
| getLogOrBuilderList() { |
| return log_; |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 101;</code> |
| * |
| * <pre> |
| * log for each test case. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public int getLogCount() { |
| return log_.size(); |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 101;</code> |
| * |
| * <pre> |
| * log for each test case. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.LogMessage getLog(int index) { |
| return log_.get(index); |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 101;</code> |
| * |
| * <pre> |
| * log for each test case. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.LogMessageOrBuilder getLogOrBuilder( |
| int index) { |
| return log_.get(index); |
| } |
| |
| private void initFields() { |
| name_ = com.google.protobuf.ByteString.EMPTY; |
| testResult_ = com.android.vts.proto.VtsReportMessage.TestCaseResult.UNKNOWN_RESULT; |
| startTimestamp_ = 0L; |
| endTimestamp_ = 0L; |
| coverage_ = java.util.Collections.emptyList(); |
| profiling_ = java.util.Collections.emptyList(); |
| systrace_ = java.util.Collections.emptyList(); |
| log_ = 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, name_); |
| } |
| if (((bitField0_ & 0x00000002) == 0x00000002)) { |
| output.writeEnum(11, testResult_.getNumber()); |
| } |
| if (((bitField0_ & 0x00000004) == 0x00000004)) { |
| output.writeInt64(21, startTimestamp_); |
| } |
| if (((bitField0_ & 0x00000008) == 0x00000008)) { |
| output.writeInt64(22, endTimestamp_); |
| } |
| for (int i = 0; i < coverage_.size(); i++) { |
| output.writeMessage(31, coverage_.get(i)); |
| } |
| for (int i = 0; i < profiling_.size(); i++) { |
| output.writeMessage(41, profiling_.get(i)); |
| } |
| for (int i = 0; i < systrace_.size(); i++) { |
| output.writeMessage(42, systrace_.get(i)); |
| } |
| for (int i = 0; i < log_.size(); i++) { |
| output.writeMessage(101, log_.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, name_); |
| } |
| if (((bitField0_ & 0x00000002) == 0x00000002)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeEnumSize(11, testResult_.getNumber()); |
| } |
| if (((bitField0_ & 0x00000004) == 0x00000004)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeInt64Size(21, startTimestamp_); |
| } |
| if (((bitField0_ & 0x00000008) == 0x00000008)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeInt64Size(22, endTimestamp_); |
| } |
| for (int i = 0; i < coverage_.size(); i++) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeMessageSize(31, coverage_.get(i)); |
| } |
| for (int i = 0; i < profiling_.size(); i++) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeMessageSize(41, profiling_.get(i)); |
| } |
| for (int i = 0; i < systrace_.size(); i++) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeMessageSize(42, systrace_.get(i)); |
| } |
| for (int i = 0; i < log_.size(); i++) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeMessageSize(101, log_.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.android.vts.proto.VtsReportMessage.TestCaseReportMessage parseFrom( |
| com.google.protobuf.ByteString data) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data); |
| } |
| public static com.android.vts.proto.VtsReportMessage.TestCaseReportMessage parseFrom( |
| com.google.protobuf.ByteString data, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.TestCaseReportMessage parseFrom(byte[] data) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data); |
| } |
| public static com.android.vts.proto.VtsReportMessage.TestCaseReportMessage parseFrom( |
| byte[] data, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.TestCaseReportMessage parseFrom(java.io.InputStream input) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input); |
| } |
| public static com.android.vts.proto.VtsReportMessage.TestCaseReportMessage parseFrom( |
| java.io.InputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.TestCaseReportMessage parseDelimitedFrom(java.io.InputStream input) |
| throws java.io.IOException { |
| return PARSER.parseDelimitedFrom(input); |
| } |
| public static com.android.vts.proto.VtsReportMessage.TestCaseReportMessage parseDelimitedFrom( |
| java.io.InputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| return PARSER.parseDelimitedFrom(input, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.TestCaseReportMessage parseFrom( |
| com.google.protobuf.CodedInputStream input) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input); |
| } |
| public static com.android.vts.proto.VtsReportMessage.TestCaseReportMessage 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.android.vts.proto.VtsReportMessage.TestCaseReportMessage 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.vts.TestCaseReportMessage} |
| * |
| * <pre> |
| * To specify a test case execution report. |
| * </pre> |
| */ |
| public static final class Builder extends |
| com.google.protobuf.GeneratedMessage.Builder<Builder> |
| implements com.android.vts.proto.VtsReportMessage.TestCaseReportMessageOrBuilder { |
| public static final com.google.protobuf.Descriptors.Descriptor |
| getDescriptor() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_TestCaseReportMessage_descriptor; |
| } |
| |
| protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internalGetFieldAccessorTable() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_TestCaseReportMessage_fieldAccessorTable |
| .ensureFieldAccessorsInitialized( |
| com.android.vts.proto.VtsReportMessage.TestCaseReportMessage.class, com.android.vts.proto.VtsReportMessage.TestCaseReportMessage.Builder.class); |
| } |
| |
| // Construct using com.android.vts.proto.VtsReportMessage.TestCaseReportMessage.newBuilder() |
| private Builder() { |
| maybeForceBuilderInitialization(); |
| } |
| |
| private Builder( |
| com.google.protobuf.GeneratedMessage.BuilderParent parent) { |
| super(parent); |
| maybeForceBuilderInitialization(); |
| } |
| private void maybeForceBuilderInitialization() { |
| if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { |
| getCoverageFieldBuilder(); |
| getProfilingFieldBuilder(); |
| getSystraceFieldBuilder(); |
| getLogFieldBuilder(); |
| } |
| } |
| private static Builder create() { |
| return new Builder(); |
| } |
| |
| public Builder clear() { |
| super.clear(); |
| name_ = com.google.protobuf.ByteString.EMPTY; |
| bitField0_ = (bitField0_ & ~0x00000001); |
| testResult_ = com.android.vts.proto.VtsReportMessage.TestCaseResult.UNKNOWN_RESULT; |
| bitField0_ = (bitField0_ & ~0x00000002); |
| startTimestamp_ = 0L; |
| bitField0_ = (bitField0_ & ~0x00000004); |
| endTimestamp_ = 0L; |
| bitField0_ = (bitField0_ & ~0x00000008); |
| if (coverageBuilder_ == null) { |
| coverage_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000010); |
| } else { |
| coverageBuilder_.clear(); |
| } |
| if (profilingBuilder_ == null) { |
| profiling_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000020); |
| } else { |
| profilingBuilder_.clear(); |
| } |
| if (systraceBuilder_ == null) { |
| systrace_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000040); |
| } else { |
| systraceBuilder_.clear(); |
| } |
| if (logBuilder_ == null) { |
| log_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000080); |
| } else { |
| logBuilder_.clear(); |
| } |
| return this; |
| } |
| |
| public Builder clone() { |
| return create().mergeFrom(buildPartial()); |
| } |
| |
| public com.google.protobuf.Descriptors.Descriptor |
| getDescriptorForType() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_TestCaseReportMessage_descriptor; |
| } |
| |
| public com.android.vts.proto.VtsReportMessage.TestCaseReportMessage getDefaultInstanceForType() { |
| return com.android.vts.proto.VtsReportMessage.TestCaseReportMessage.getDefaultInstance(); |
| } |
| |
| public com.android.vts.proto.VtsReportMessage.TestCaseReportMessage build() { |
| com.android.vts.proto.VtsReportMessage.TestCaseReportMessage result = buildPartial(); |
| if (!result.isInitialized()) { |
| throw newUninitializedMessageException(result); |
| } |
| return result; |
| } |
| |
| public com.android.vts.proto.VtsReportMessage.TestCaseReportMessage buildPartial() { |
| com.android.vts.proto.VtsReportMessage.TestCaseReportMessage result = new com.android.vts.proto.VtsReportMessage.TestCaseReportMessage(this); |
| int from_bitField0_ = bitField0_; |
| int to_bitField0_ = 0; |
| if (((from_bitField0_ & 0x00000001) == 0x00000001)) { |
| to_bitField0_ |= 0x00000001; |
| } |
| result.name_ = name_; |
| if (((from_bitField0_ & 0x00000002) == 0x00000002)) { |
| to_bitField0_ |= 0x00000002; |
| } |
| result.testResult_ = testResult_; |
| if (((from_bitField0_ & 0x00000004) == 0x00000004)) { |
| to_bitField0_ |= 0x00000004; |
| } |
| result.startTimestamp_ = startTimestamp_; |
| if (((from_bitField0_ & 0x00000008) == 0x00000008)) { |
| to_bitField0_ |= 0x00000008; |
| } |
| result.endTimestamp_ = endTimestamp_; |
| if (coverageBuilder_ == null) { |
| if (((bitField0_ & 0x00000010) == 0x00000010)) { |
| coverage_ = java.util.Collections.unmodifiableList(coverage_); |
| bitField0_ = (bitField0_ & ~0x00000010); |
| } |
| result.coverage_ = coverage_; |
| } else { |
| result.coverage_ = coverageBuilder_.build(); |
| } |
| if (profilingBuilder_ == null) { |
| if (((bitField0_ & 0x00000020) == 0x00000020)) { |
| profiling_ = java.util.Collections.unmodifiableList(profiling_); |
| bitField0_ = (bitField0_ & ~0x00000020); |
| } |
| result.profiling_ = profiling_; |
| } else { |
| result.profiling_ = profilingBuilder_.build(); |
| } |
| if (systraceBuilder_ == null) { |
| if (((bitField0_ & 0x00000040) == 0x00000040)) { |
| systrace_ = java.util.Collections.unmodifiableList(systrace_); |
| bitField0_ = (bitField0_ & ~0x00000040); |
| } |
| result.systrace_ = systrace_; |
| } else { |
| result.systrace_ = systraceBuilder_.build(); |
| } |
| if (logBuilder_ == null) { |
| if (((bitField0_ & 0x00000080) == 0x00000080)) { |
| log_ = java.util.Collections.unmodifiableList(log_); |
| bitField0_ = (bitField0_ & ~0x00000080); |
| } |
| result.log_ = log_; |
| } else { |
| result.log_ = logBuilder_.build(); |
| } |
| result.bitField0_ = to_bitField0_; |
| onBuilt(); |
| return result; |
| } |
| |
| public Builder mergeFrom(com.google.protobuf.Message other) { |
| if (other instanceof com.android.vts.proto.VtsReportMessage.TestCaseReportMessage) { |
| return mergeFrom((com.android.vts.proto.VtsReportMessage.TestCaseReportMessage)other); |
| } else { |
| super.mergeFrom(other); |
| return this; |
| } |
| } |
| |
| public Builder mergeFrom(com.android.vts.proto.VtsReportMessage.TestCaseReportMessage other) { |
| if (other == com.android.vts.proto.VtsReportMessage.TestCaseReportMessage.getDefaultInstance()) return this; |
| if (other.hasName()) { |
| setName(other.getName()); |
| } |
| if (other.hasTestResult()) { |
| setTestResult(other.getTestResult()); |
| } |
| if (other.hasStartTimestamp()) { |
| setStartTimestamp(other.getStartTimestamp()); |
| } |
| if (other.hasEndTimestamp()) { |
| setEndTimestamp(other.getEndTimestamp()); |
| } |
| if (coverageBuilder_ == null) { |
| if (!other.coverage_.isEmpty()) { |
| if (coverage_.isEmpty()) { |
| coverage_ = other.coverage_; |
| bitField0_ = (bitField0_ & ~0x00000010); |
| } else { |
| ensureCoverageIsMutable(); |
| coverage_.addAll(other.coverage_); |
| } |
| onChanged(); |
| } |
| } else { |
| if (!other.coverage_.isEmpty()) { |
| if (coverageBuilder_.isEmpty()) { |
| coverageBuilder_.dispose(); |
| coverageBuilder_ = null; |
| coverage_ = other.coverage_; |
| bitField0_ = (bitField0_ & ~0x00000010); |
| coverageBuilder_ = |
| com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? |
| getCoverageFieldBuilder() : null; |
| } else { |
| coverageBuilder_.addAllMessages(other.coverage_); |
| } |
| } |
| } |
| if (profilingBuilder_ == null) { |
| if (!other.profiling_.isEmpty()) { |
| if (profiling_.isEmpty()) { |
| profiling_ = other.profiling_; |
| bitField0_ = (bitField0_ & ~0x00000020); |
| } else { |
| ensureProfilingIsMutable(); |
| profiling_.addAll(other.profiling_); |
| } |
| onChanged(); |
| } |
| } else { |
| if (!other.profiling_.isEmpty()) { |
| if (profilingBuilder_.isEmpty()) { |
| profilingBuilder_.dispose(); |
| profilingBuilder_ = null; |
| profiling_ = other.profiling_; |
| bitField0_ = (bitField0_ & ~0x00000020); |
| profilingBuilder_ = |
| com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? |
| getProfilingFieldBuilder() : null; |
| } else { |
| profilingBuilder_.addAllMessages(other.profiling_); |
| } |
| } |
| } |
| if (systraceBuilder_ == null) { |
| if (!other.systrace_.isEmpty()) { |
| if (systrace_.isEmpty()) { |
| systrace_ = other.systrace_; |
| bitField0_ = (bitField0_ & ~0x00000040); |
| } else { |
| ensureSystraceIsMutable(); |
| systrace_.addAll(other.systrace_); |
| } |
| onChanged(); |
| } |
| } else { |
| if (!other.systrace_.isEmpty()) { |
| if (systraceBuilder_.isEmpty()) { |
| systraceBuilder_.dispose(); |
| systraceBuilder_ = null; |
| systrace_ = other.systrace_; |
| bitField0_ = (bitField0_ & ~0x00000040); |
| systraceBuilder_ = |
| com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? |
| getSystraceFieldBuilder() : null; |
| } else { |
| systraceBuilder_.addAllMessages(other.systrace_); |
| } |
| } |
| } |
| if (logBuilder_ == null) { |
| if (!other.log_.isEmpty()) { |
| if (log_.isEmpty()) { |
| log_ = other.log_; |
| bitField0_ = (bitField0_ & ~0x00000080); |
| } else { |
| ensureLogIsMutable(); |
| log_.addAll(other.log_); |
| } |
| onChanged(); |
| } |
| } else { |
| if (!other.log_.isEmpty()) { |
| if (logBuilder_.isEmpty()) { |
| logBuilder_.dispose(); |
| logBuilder_ = null; |
| log_ = other.log_; |
| bitField0_ = (bitField0_ & ~0x00000080); |
| logBuilder_ = |
| com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? |
| getLogFieldBuilder() : null; |
| } else { |
| logBuilder_.addAllMessages(other.log_); |
| } |
| } |
| } |
| 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.android.vts.proto.VtsReportMessage.TestCaseReportMessage parsedMessage = null; |
| try { |
| parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); |
| } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| parsedMessage = (com.android.vts.proto.VtsReportMessage.TestCaseReportMessage) e.getUnfinishedMessage(); |
| throw e; |
| } finally { |
| if (parsedMessage != null) { |
| mergeFrom(parsedMessage); |
| } |
| } |
| return this; |
| } |
| private int bitField0_; |
| |
| // optional bytes name = 1; |
| private com.google.protobuf.ByteString name_ = com.google.protobuf.ByteString.EMPTY; |
| /** |
| * <code>optional bytes name = 1;</code> |
| * |
| * <pre> |
| * the test case name. |
| * </pre> |
| */ |
| public boolean hasName() { |
| return ((bitField0_ & 0x00000001) == 0x00000001); |
| } |
| /** |
| * <code>optional bytes name = 1;</code> |
| * |
| * <pre> |
| * the test case name. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getName() { |
| return name_; |
| } |
| /** |
| * <code>optional bytes name = 1;</code> |
| * |
| * <pre> |
| * the test case name. |
| * </pre> |
| */ |
| public Builder setName(com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000001; |
| name_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional bytes name = 1;</code> |
| * |
| * <pre> |
| * the test case name. |
| * </pre> |
| */ |
| public Builder clearName() { |
| bitField0_ = (bitField0_ & ~0x00000001); |
| name_ = getDefaultInstance().getName(); |
| onChanged(); |
| return this; |
| } |
| |
| // optional .android.vts.TestCaseResult test_result = 11; |
| private com.android.vts.proto.VtsReportMessage.TestCaseResult testResult_ = com.android.vts.proto.VtsReportMessage.TestCaseResult.UNKNOWN_RESULT; |
| /** |
| * <code>optional .android.vts.TestCaseResult test_result = 11;</code> |
| * |
| * <pre> |
| * the test result. |
| * </pre> |
| */ |
| public boolean hasTestResult() { |
| return ((bitField0_ & 0x00000002) == 0x00000002); |
| } |
| /** |
| * <code>optional .android.vts.TestCaseResult test_result = 11;</code> |
| * |
| * <pre> |
| * the test result. |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.TestCaseResult getTestResult() { |
| return testResult_; |
| } |
| /** |
| * <code>optional .android.vts.TestCaseResult test_result = 11;</code> |
| * |
| * <pre> |
| * the test result. |
| * </pre> |
| */ |
| public Builder setTestResult(com.android.vts.proto.VtsReportMessage.TestCaseResult value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000002; |
| testResult_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional .android.vts.TestCaseResult test_result = 11;</code> |
| * |
| * <pre> |
| * the test result. |
| * </pre> |
| */ |
| public Builder clearTestResult() { |
| bitField0_ = (bitField0_ & ~0x00000002); |
| testResult_ = com.android.vts.proto.VtsReportMessage.TestCaseResult.UNKNOWN_RESULT; |
| onChanged(); |
| return this; |
| } |
| |
| // optional int64 start_timestamp = 21; |
| private long startTimestamp_ ; |
| /** |
| * <code>optional int64 start_timestamp = 21;</code> |
| * |
| * <pre> |
| * execution start and end time stamp. |
| * </pre> |
| */ |
| public boolean hasStartTimestamp() { |
| return ((bitField0_ & 0x00000004) == 0x00000004); |
| } |
| /** |
| * <code>optional int64 start_timestamp = 21;</code> |
| * |
| * <pre> |
| * execution start and end time stamp. |
| * </pre> |
| */ |
| public long getStartTimestamp() { |
| return startTimestamp_; |
| } |
| /** |
| * <code>optional int64 start_timestamp = 21;</code> |
| * |
| * <pre> |
| * execution start and end time stamp. |
| * </pre> |
| */ |
| public Builder setStartTimestamp(long value) { |
| bitField0_ |= 0x00000004; |
| startTimestamp_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional int64 start_timestamp = 21;</code> |
| * |
| * <pre> |
| * execution start and end time stamp. |
| * </pre> |
| */ |
| public Builder clearStartTimestamp() { |
| bitField0_ = (bitField0_ & ~0x00000004); |
| startTimestamp_ = 0L; |
| onChanged(); |
| return this; |
| } |
| |
| // optional int64 end_timestamp = 22; |
| private long endTimestamp_ ; |
| /** |
| * <code>optional int64 end_timestamp = 22;</code> |
| */ |
| public boolean hasEndTimestamp() { |
| return ((bitField0_ & 0x00000008) == 0x00000008); |
| } |
| /** |
| * <code>optional int64 end_timestamp = 22;</code> |
| */ |
| public long getEndTimestamp() { |
| return endTimestamp_; |
| } |
| /** |
| * <code>optional int64 end_timestamp = 22;</code> |
| */ |
| public Builder setEndTimestamp(long value) { |
| bitField0_ |= 0x00000008; |
| endTimestamp_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional int64 end_timestamp = 22;</code> |
| */ |
| public Builder clearEndTimestamp() { |
| bitField0_ = (bitField0_ & ~0x00000008); |
| endTimestamp_ = 0L; |
| onChanged(); |
| return this; |
| } |
| |
| // repeated .android.vts.CoverageReportMessage coverage = 31; |
| private java.util.List<com.android.vts.proto.VtsReportMessage.CoverageReportMessage> coverage_ = |
| java.util.Collections.emptyList(); |
| private void ensureCoverageIsMutable() { |
| if (!((bitField0_ & 0x00000010) == 0x00000010)) { |
| coverage_ = new java.util.ArrayList<com.android.vts.proto.VtsReportMessage.CoverageReportMessage>(coverage_); |
| bitField0_ |= 0x00000010; |
| } |
| } |
| |
| private com.google.protobuf.RepeatedFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.CoverageReportMessage, com.android.vts.proto.VtsReportMessage.CoverageReportMessage.Builder, com.android.vts.proto.VtsReportMessage.CoverageReportMessageOrBuilder> coverageBuilder_; |
| |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> |
| * |
| * <pre> |
| * coverage report per file |
| * </pre> |
| */ |
| public java.util.List<com.android.vts.proto.VtsReportMessage.CoverageReportMessage> getCoverageList() { |
| if (coverageBuilder_ == null) { |
| return java.util.Collections.unmodifiableList(coverage_); |
| } else { |
| return coverageBuilder_.getMessageList(); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> |
| * |
| * <pre> |
| * coverage report per file |
| * </pre> |
| */ |
| public int getCoverageCount() { |
| if (coverageBuilder_ == null) { |
| return coverage_.size(); |
| } else { |
| return coverageBuilder_.getCount(); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> |
| * |
| * <pre> |
| * coverage report per file |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.CoverageReportMessage getCoverage(int index) { |
| if (coverageBuilder_ == null) { |
| return coverage_.get(index); |
| } else { |
| return coverageBuilder_.getMessage(index); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> |
| * |
| * <pre> |
| * coverage report per file |
| * </pre> |
| */ |
| public Builder setCoverage( |
| int index, com.android.vts.proto.VtsReportMessage.CoverageReportMessage value) { |
| if (coverageBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureCoverageIsMutable(); |
| coverage_.set(index, value); |
| onChanged(); |
| } else { |
| coverageBuilder_.setMessage(index, value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> |
| * |
| * <pre> |
| * coverage report per file |
| * </pre> |
| */ |
| public Builder setCoverage( |
| int index, com.android.vts.proto.VtsReportMessage.CoverageReportMessage.Builder builderForValue) { |
| if (coverageBuilder_ == null) { |
| ensureCoverageIsMutable(); |
| coverage_.set(index, builderForValue.build()); |
| onChanged(); |
| } else { |
| coverageBuilder_.setMessage(index, builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> |
| * |
| * <pre> |
| * coverage report per file |
| * </pre> |
| */ |
| public Builder addCoverage(com.android.vts.proto.VtsReportMessage.CoverageReportMessage value) { |
| if (coverageBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureCoverageIsMutable(); |
| coverage_.add(value); |
| onChanged(); |
| } else { |
| coverageBuilder_.addMessage(value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> |
| * |
| * <pre> |
| * coverage report per file |
| * </pre> |
| */ |
| public Builder addCoverage( |
| int index, com.android.vts.proto.VtsReportMessage.CoverageReportMessage value) { |
| if (coverageBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureCoverageIsMutable(); |
| coverage_.add(index, value); |
| onChanged(); |
| } else { |
| coverageBuilder_.addMessage(index, value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> |
| * |
| * <pre> |
| * coverage report per file |
| * </pre> |
| */ |
| public Builder addCoverage( |
| com.android.vts.proto.VtsReportMessage.CoverageReportMessage.Builder builderForValue) { |
| if (coverageBuilder_ == null) { |
| ensureCoverageIsMutable(); |
| coverage_.add(builderForValue.build()); |
| onChanged(); |
| } else { |
| coverageBuilder_.addMessage(builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> |
| * |
| * <pre> |
| * coverage report per file |
| * </pre> |
| */ |
| public Builder addCoverage( |
| int index, com.android.vts.proto.VtsReportMessage.CoverageReportMessage.Builder builderForValue) { |
| if (coverageBuilder_ == null) { |
| ensureCoverageIsMutable(); |
| coverage_.add(index, builderForValue.build()); |
| onChanged(); |
| } else { |
| coverageBuilder_.addMessage(index, builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> |
| * |
| * <pre> |
| * coverage report per file |
| * </pre> |
| */ |
| public Builder addAllCoverage( |
| java.lang.Iterable<? extends com.android.vts.proto.VtsReportMessage.CoverageReportMessage> values) { |
| if (coverageBuilder_ == null) { |
| ensureCoverageIsMutable(); |
| super.addAll(values, coverage_); |
| onChanged(); |
| } else { |
| coverageBuilder_.addAllMessages(values); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> |
| * |
| * <pre> |
| * coverage report per file |
| * </pre> |
| */ |
| public Builder clearCoverage() { |
| if (coverageBuilder_ == null) { |
| coverage_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000010); |
| onChanged(); |
| } else { |
| coverageBuilder_.clear(); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> |
| * |
| * <pre> |
| * coverage report per file |
| * </pre> |
| */ |
| public Builder removeCoverage(int index) { |
| if (coverageBuilder_ == null) { |
| ensureCoverageIsMutable(); |
| coverage_.remove(index); |
| onChanged(); |
| } else { |
| coverageBuilder_.remove(index); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> |
| * |
| * <pre> |
| * coverage report per file |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.CoverageReportMessage.Builder getCoverageBuilder( |
| int index) { |
| return getCoverageFieldBuilder().getBuilder(index); |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> |
| * |
| * <pre> |
| * coverage report per file |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.CoverageReportMessageOrBuilder getCoverageOrBuilder( |
| int index) { |
| if (coverageBuilder_ == null) { |
| return coverage_.get(index); } else { |
| return coverageBuilder_.getMessageOrBuilder(index); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> |
| * |
| * <pre> |
| * coverage report per file |
| * </pre> |
| */ |
| public java.util.List<? extends com.android.vts.proto.VtsReportMessage.CoverageReportMessageOrBuilder> |
| getCoverageOrBuilderList() { |
| if (coverageBuilder_ != null) { |
| return coverageBuilder_.getMessageOrBuilderList(); |
| } else { |
| return java.util.Collections.unmodifiableList(coverage_); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> |
| * |
| * <pre> |
| * coverage report per file |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.CoverageReportMessage.Builder addCoverageBuilder() { |
| return getCoverageFieldBuilder().addBuilder( |
| com.android.vts.proto.VtsReportMessage.CoverageReportMessage.getDefaultInstance()); |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> |
| * |
| * <pre> |
| * coverage report per file |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.CoverageReportMessage.Builder addCoverageBuilder( |
| int index) { |
| return getCoverageFieldBuilder().addBuilder( |
| index, com.android.vts.proto.VtsReportMessage.CoverageReportMessage.getDefaultInstance()); |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> |
| * |
| * <pre> |
| * coverage report per file |
| * </pre> |
| */ |
| public java.util.List<com.android.vts.proto.VtsReportMessage.CoverageReportMessage.Builder> |
| getCoverageBuilderList() { |
| return getCoverageFieldBuilder().getBuilderList(); |
| } |
| private com.google.protobuf.RepeatedFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.CoverageReportMessage, com.android.vts.proto.VtsReportMessage.CoverageReportMessage.Builder, com.android.vts.proto.VtsReportMessage.CoverageReportMessageOrBuilder> |
| getCoverageFieldBuilder() { |
| if (coverageBuilder_ == null) { |
| coverageBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.CoverageReportMessage, com.android.vts.proto.VtsReportMessage.CoverageReportMessage.Builder, com.android.vts.proto.VtsReportMessage.CoverageReportMessageOrBuilder>( |
| coverage_, |
| ((bitField0_ & 0x00000010) == 0x00000010), |
| getParentForChildren(), |
| isClean()); |
| coverage_ = null; |
| } |
| return coverageBuilder_; |
| } |
| |
| // repeated .android.vts.ProfilingReportMessage profiling = 41; |
| private java.util.List<com.android.vts.proto.VtsReportMessage.ProfilingReportMessage> profiling_ = |
| java.util.Collections.emptyList(); |
| private void ensureProfilingIsMutable() { |
| if (!((bitField0_ & 0x00000020) == 0x00000020)) { |
| profiling_ = new java.util.ArrayList<com.android.vts.proto.VtsReportMessage.ProfilingReportMessage>(profiling_); |
| bitField0_ |= 0x00000020; |
| } |
| } |
| |
| private com.google.protobuf.RepeatedFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.ProfilingReportMessage, com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.Builder, com.android.vts.proto.VtsReportMessage.ProfilingReportMessageOrBuilder> profilingBuilder_; |
| |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> |
| * |
| * <pre> |
| * profiling reports |
| * </pre> |
| */ |
| public java.util.List<com.android.vts.proto.VtsReportMessage.ProfilingReportMessage> getProfilingList() { |
| if (profilingBuilder_ == null) { |
| return java.util.Collections.unmodifiableList(profiling_); |
| } else { |
| return profilingBuilder_.getMessageList(); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> |
| * |
| * <pre> |
| * profiling reports |
| * </pre> |
| */ |
| public int getProfilingCount() { |
| if (profilingBuilder_ == null) { |
| return profiling_.size(); |
| } else { |
| return profilingBuilder_.getCount(); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> |
| * |
| * <pre> |
| * profiling reports |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.ProfilingReportMessage getProfiling(int index) { |
| if (profilingBuilder_ == null) { |
| return profiling_.get(index); |
| } else { |
| return profilingBuilder_.getMessage(index); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> |
| * |
| * <pre> |
| * profiling reports |
| * </pre> |
| */ |
| public Builder setProfiling( |
| int index, com.android.vts.proto.VtsReportMessage.ProfilingReportMessage value) { |
| if (profilingBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureProfilingIsMutable(); |
| profiling_.set(index, value); |
| onChanged(); |
| } else { |
| profilingBuilder_.setMessage(index, value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> |
| * |
| * <pre> |
| * profiling reports |
| * </pre> |
| */ |
| public Builder setProfiling( |
| int index, com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.Builder builderForValue) { |
| if (profilingBuilder_ == null) { |
| ensureProfilingIsMutable(); |
| profiling_.set(index, builderForValue.build()); |
| onChanged(); |
| } else { |
| profilingBuilder_.setMessage(index, builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> |
| * |
| * <pre> |
| * profiling reports |
| * </pre> |
| */ |
| public Builder addProfiling(com.android.vts.proto.VtsReportMessage.ProfilingReportMessage value) { |
| if (profilingBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureProfilingIsMutable(); |
| profiling_.add(value); |
| onChanged(); |
| } else { |
| profilingBuilder_.addMessage(value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> |
| * |
| * <pre> |
| * profiling reports |
| * </pre> |
| */ |
| public Builder addProfiling( |
| int index, com.android.vts.proto.VtsReportMessage.ProfilingReportMessage value) { |
| if (profilingBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureProfilingIsMutable(); |
| profiling_.add(index, value); |
| onChanged(); |
| } else { |
| profilingBuilder_.addMessage(index, value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> |
| * |
| * <pre> |
| * profiling reports |
| * </pre> |
| */ |
| public Builder addProfiling( |
| com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.Builder builderForValue) { |
| if (profilingBuilder_ == null) { |
| ensureProfilingIsMutable(); |
| profiling_.add(builderForValue.build()); |
| onChanged(); |
| } else { |
| profilingBuilder_.addMessage(builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> |
| * |
| * <pre> |
| * profiling reports |
| * </pre> |
| */ |
| public Builder addProfiling( |
| int index, com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.Builder builderForValue) { |
| if (profilingBuilder_ == null) { |
| ensureProfilingIsMutable(); |
| profiling_.add(index, builderForValue.build()); |
| onChanged(); |
| } else { |
| profilingBuilder_.addMessage(index, builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> |
| * |
| * <pre> |
| * profiling reports |
| * </pre> |
| */ |
| public Builder addAllProfiling( |
| java.lang.Iterable<? extends com.android.vts.proto.VtsReportMessage.ProfilingReportMessage> values) { |
| if (profilingBuilder_ == null) { |
| ensureProfilingIsMutable(); |
| super.addAll(values, profiling_); |
| onChanged(); |
| } else { |
| profilingBuilder_.addAllMessages(values); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> |
| * |
| * <pre> |
| * profiling reports |
| * </pre> |
| */ |
| public Builder clearProfiling() { |
| if (profilingBuilder_ == null) { |
| profiling_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000020); |
| onChanged(); |
| } else { |
| profilingBuilder_.clear(); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> |
| * |
| * <pre> |
| * profiling reports |
| * </pre> |
| */ |
| public Builder removeProfiling(int index) { |
| if (profilingBuilder_ == null) { |
| ensureProfilingIsMutable(); |
| profiling_.remove(index); |
| onChanged(); |
| } else { |
| profilingBuilder_.remove(index); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> |
| * |
| * <pre> |
| * profiling reports |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.Builder getProfilingBuilder( |
| int index) { |
| return getProfilingFieldBuilder().getBuilder(index); |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> |
| * |
| * <pre> |
| * profiling reports |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.ProfilingReportMessageOrBuilder getProfilingOrBuilder( |
| int index) { |
| if (profilingBuilder_ == null) { |
| return profiling_.get(index); } else { |
| return profilingBuilder_.getMessageOrBuilder(index); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> |
| * |
| * <pre> |
| * profiling reports |
| * </pre> |
| */ |
| public java.util.List<? extends com.android.vts.proto.VtsReportMessage.ProfilingReportMessageOrBuilder> |
| getProfilingOrBuilderList() { |
| if (profilingBuilder_ != null) { |
| return profilingBuilder_.getMessageOrBuilderList(); |
| } else { |
| return java.util.Collections.unmodifiableList(profiling_); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> |
| * |
| * <pre> |
| * profiling reports |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.Builder addProfilingBuilder() { |
| return getProfilingFieldBuilder().addBuilder( |
| com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.getDefaultInstance()); |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> |
| * |
| * <pre> |
| * profiling reports |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.Builder addProfilingBuilder( |
| int index) { |
| return getProfilingFieldBuilder().addBuilder( |
| index, com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.getDefaultInstance()); |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> |
| * |
| * <pre> |
| * profiling reports |
| * </pre> |
| */ |
| public java.util.List<com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.Builder> |
| getProfilingBuilderList() { |
| return getProfilingFieldBuilder().getBuilderList(); |
| } |
| private com.google.protobuf.RepeatedFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.ProfilingReportMessage, com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.Builder, com.android.vts.proto.VtsReportMessage.ProfilingReportMessageOrBuilder> |
| getProfilingFieldBuilder() { |
| if (profilingBuilder_ == null) { |
| profilingBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.ProfilingReportMessage, com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.Builder, com.android.vts.proto.VtsReportMessage.ProfilingReportMessageOrBuilder>( |
| profiling_, |
| ((bitField0_ & 0x00000020) == 0x00000020), |
| getParentForChildren(), |
| isClean()); |
| profiling_ = null; |
| } |
| return profilingBuilder_; |
| } |
| |
| // repeated .android.vts.SystraceReportMessage systrace = 42; |
| private java.util.List<com.android.vts.proto.VtsReportMessage.SystraceReportMessage> systrace_ = |
| java.util.Collections.emptyList(); |
| private void ensureSystraceIsMutable() { |
| if (!((bitField0_ & 0x00000040) == 0x00000040)) { |
| systrace_ = new java.util.ArrayList<com.android.vts.proto.VtsReportMessage.SystraceReportMessage>(systrace_); |
| bitField0_ |= 0x00000040; |
| } |
| } |
| |
| private com.google.protobuf.RepeatedFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.SystraceReportMessage, com.android.vts.proto.VtsReportMessage.SystraceReportMessage.Builder, com.android.vts.proto.VtsReportMessage.SystraceReportMessageOrBuilder> systraceBuilder_; |
| |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 42;</code> |
| * |
| * <pre> |
| * systrace report message per file |
| * </pre> |
| */ |
| public java.util.List<com.android.vts.proto.VtsReportMessage.SystraceReportMessage> getSystraceList() { |
| if (systraceBuilder_ == null) { |
| return java.util.Collections.unmodifiableList(systrace_); |
| } else { |
| return systraceBuilder_.getMessageList(); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 42;</code> |
| * |
| * <pre> |
| * systrace report message per file |
| * </pre> |
| */ |
| public int getSystraceCount() { |
| if (systraceBuilder_ == null) { |
| return systrace_.size(); |
| } else { |
| return systraceBuilder_.getCount(); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 42;</code> |
| * |
| * <pre> |
| * systrace report message per file |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.SystraceReportMessage getSystrace(int index) { |
| if (systraceBuilder_ == null) { |
| return systrace_.get(index); |
| } else { |
| return systraceBuilder_.getMessage(index); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 42;</code> |
| * |
| * <pre> |
| * systrace report message per file |
| * </pre> |
| */ |
| public Builder setSystrace( |
| int index, com.android.vts.proto.VtsReportMessage.SystraceReportMessage value) { |
| if (systraceBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureSystraceIsMutable(); |
| systrace_.set(index, value); |
| onChanged(); |
| } else { |
| systraceBuilder_.setMessage(index, value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 42;</code> |
| * |
| * <pre> |
| * systrace report message per file |
| * </pre> |
| */ |
| public Builder setSystrace( |
| int index, com.android.vts.proto.VtsReportMessage.SystraceReportMessage.Builder builderForValue) { |
| if (systraceBuilder_ == null) { |
| ensureSystraceIsMutable(); |
| systrace_.set(index, builderForValue.build()); |
| onChanged(); |
| } else { |
| systraceBuilder_.setMessage(index, builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 42;</code> |
| * |
| * <pre> |
| * systrace report message per file |
| * </pre> |
| */ |
| public Builder addSystrace(com.android.vts.proto.VtsReportMessage.SystraceReportMessage value) { |
| if (systraceBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureSystraceIsMutable(); |
| systrace_.add(value); |
| onChanged(); |
| } else { |
| systraceBuilder_.addMessage(value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 42;</code> |
| * |
| * <pre> |
| * systrace report message per file |
| * </pre> |
| */ |
| public Builder addSystrace( |
| int index, com.android.vts.proto.VtsReportMessage.SystraceReportMessage value) { |
| if (systraceBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureSystraceIsMutable(); |
| systrace_.add(index, value); |
| onChanged(); |
| } else { |
| systraceBuilder_.addMessage(index, value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 42;</code> |
| * |
| * <pre> |
| * systrace report message per file |
| * </pre> |
| */ |
| public Builder addSystrace( |
| com.android.vts.proto.VtsReportMessage.SystraceReportMessage.Builder builderForValue) { |
| if (systraceBuilder_ == null) { |
| ensureSystraceIsMutable(); |
| systrace_.add(builderForValue.build()); |
| onChanged(); |
| } else { |
| systraceBuilder_.addMessage(builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 42;</code> |
| * |
| * <pre> |
| * systrace report message per file |
| * </pre> |
| */ |
| public Builder addSystrace( |
| int index, com.android.vts.proto.VtsReportMessage.SystraceReportMessage.Builder builderForValue) { |
| if (systraceBuilder_ == null) { |
| ensureSystraceIsMutable(); |
| systrace_.add(index, builderForValue.build()); |
| onChanged(); |
| } else { |
| systraceBuilder_.addMessage(index, builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 42;</code> |
| * |
| * <pre> |
| * systrace report message per file |
| * </pre> |
| */ |
| public Builder addAllSystrace( |
| java.lang.Iterable<? extends com.android.vts.proto.VtsReportMessage.SystraceReportMessage> values) { |
| if (systraceBuilder_ == null) { |
| ensureSystraceIsMutable(); |
| super.addAll(values, systrace_); |
| onChanged(); |
| } else { |
| systraceBuilder_.addAllMessages(values); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 42;</code> |
| * |
| * <pre> |
| * systrace report message per file |
| * </pre> |
| */ |
| public Builder clearSystrace() { |
| if (systraceBuilder_ == null) { |
| systrace_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000040); |
| onChanged(); |
| } else { |
| systraceBuilder_.clear(); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 42;</code> |
| * |
| * <pre> |
| * systrace report message per file |
| * </pre> |
| */ |
| public Builder removeSystrace(int index) { |
| if (systraceBuilder_ == null) { |
| ensureSystraceIsMutable(); |
| systrace_.remove(index); |
| onChanged(); |
| } else { |
| systraceBuilder_.remove(index); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 42;</code> |
| * |
| * <pre> |
| * systrace report message per file |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.SystraceReportMessage.Builder getSystraceBuilder( |
| int index) { |
| return getSystraceFieldBuilder().getBuilder(index); |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 42;</code> |
| * |
| * <pre> |
| * systrace report message per file |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.SystraceReportMessageOrBuilder getSystraceOrBuilder( |
| int index) { |
| if (systraceBuilder_ == null) { |
| return systrace_.get(index); } else { |
| return systraceBuilder_.getMessageOrBuilder(index); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 42;</code> |
| * |
| * <pre> |
| * systrace report message per file |
| * </pre> |
| */ |
| public java.util.List<? extends com.android.vts.proto.VtsReportMessage.SystraceReportMessageOrBuilder> |
| getSystraceOrBuilderList() { |
| if (systraceBuilder_ != null) { |
| return systraceBuilder_.getMessageOrBuilderList(); |
| } else { |
| return java.util.Collections.unmodifiableList(systrace_); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 42;</code> |
| * |
| * <pre> |
| * systrace report message per file |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.SystraceReportMessage.Builder addSystraceBuilder() { |
| return getSystraceFieldBuilder().addBuilder( |
| com.android.vts.proto.VtsReportMessage.SystraceReportMessage.getDefaultInstance()); |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 42;</code> |
| * |
| * <pre> |
| * systrace report message per file |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.SystraceReportMessage.Builder addSystraceBuilder( |
| int index) { |
| return getSystraceFieldBuilder().addBuilder( |
| index, com.android.vts.proto.VtsReportMessage.SystraceReportMessage.getDefaultInstance()); |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 42;</code> |
| * |
| * <pre> |
| * systrace report message per file |
| * </pre> |
| */ |
| public java.util.List<com.android.vts.proto.VtsReportMessage.SystraceReportMessage.Builder> |
| getSystraceBuilderList() { |
| return getSystraceFieldBuilder().getBuilderList(); |
| } |
| private com.google.protobuf.RepeatedFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.SystraceReportMessage, com.android.vts.proto.VtsReportMessage.SystraceReportMessage.Builder, com.android.vts.proto.VtsReportMessage.SystraceReportMessageOrBuilder> |
| getSystraceFieldBuilder() { |
| if (systraceBuilder_ == null) { |
| systraceBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.SystraceReportMessage, com.android.vts.proto.VtsReportMessage.SystraceReportMessage.Builder, com.android.vts.proto.VtsReportMessage.SystraceReportMessageOrBuilder>( |
| systrace_, |
| ((bitField0_ & 0x00000040) == 0x00000040), |
| getParentForChildren(), |
| isClean()); |
| systrace_ = null; |
| } |
| return systraceBuilder_; |
| } |
| |
| // repeated .android.vts.LogMessage log = 101; |
| private java.util.List<com.android.vts.proto.VtsReportMessage.LogMessage> log_ = |
| java.util.Collections.emptyList(); |
| private void ensureLogIsMutable() { |
| if (!((bitField0_ & 0x00000080) == 0x00000080)) { |
| log_ = new java.util.ArrayList<com.android.vts.proto.VtsReportMessage.LogMessage>(log_); |
| bitField0_ |= 0x00000080; |
| } |
| } |
| |
| private com.google.protobuf.RepeatedFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.LogMessage, com.android.vts.proto.VtsReportMessage.LogMessage.Builder, com.android.vts.proto.VtsReportMessage.LogMessageOrBuilder> logBuilder_; |
| |
| /** |
| * <code>repeated .android.vts.LogMessage log = 101;</code> |
| * |
| * <pre> |
| * log for each test case. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public java.util.List<com.android.vts.proto.VtsReportMessage.LogMessage> getLogList() { |
| if (logBuilder_ == null) { |
| return java.util.Collections.unmodifiableList(log_); |
| } else { |
| return logBuilder_.getMessageList(); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 101;</code> |
| * |
| * <pre> |
| * log for each test case. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public int getLogCount() { |
| if (logBuilder_ == null) { |
| return log_.size(); |
| } else { |
| return logBuilder_.getCount(); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 101;</code> |
| * |
| * <pre> |
| * log for each test case. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.LogMessage getLog(int index) { |
| if (logBuilder_ == null) { |
| return log_.get(index); |
| } else { |
| return logBuilder_.getMessage(index); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 101;</code> |
| * |
| * <pre> |
| * log for each test case. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public Builder setLog( |
| int index, com.android.vts.proto.VtsReportMessage.LogMessage value) { |
| if (logBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureLogIsMutable(); |
| log_.set(index, value); |
| onChanged(); |
| } else { |
| logBuilder_.setMessage(index, value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 101;</code> |
| * |
| * <pre> |
| * log for each test case. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public Builder setLog( |
| int index, com.android.vts.proto.VtsReportMessage.LogMessage.Builder builderForValue) { |
| if (logBuilder_ == null) { |
| ensureLogIsMutable(); |
| log_.set(index, builderForValue.build()); |
| onChanged(); |
| } else { |
| logBuilder_.setMessage(index, builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 101;</code> |
| * |
| * <pre> |
| * log for each test case. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public Builder addLog(com.android.vts.proto.VtsReportMessage.LogMessage value) { |
| if (logBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureLogIsMutable(); |
| log_.add(value); |
| onChanged(); |
| } else { |
| logBuilder_.addMessage(value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 101;</code> |
| * |
| * <pre> |
| * log for each test case. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public Builder addLog( |
| int index, com.android.vts.proto.VtsReportMessage.LogMessage value) { |
| if (logBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureLogIsMutable(); |
| log_.add(index, value); |
| onChanged(); |
| } else { |
| logBuilder_.addMessage(index, value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 101;</code> |
| * |
| * <pre> |
| * log for each test case. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public Builder addLog( |
| com.android.vts.proto.VtsReportMessage.LogMessage.Builder builderForValue) { |
| if (logBuilder_ == null) { |
| ensureLogIsMutable(); |
| log_.add(builderForValue.build()); |
| onChanged(); |
| } else { |
| logBuilder_.addMessage(builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 101;</code> |
| * |
| * <pre> |
| * log for each test case. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public Builder addLog( |
| int index, com.android.vts.proto.VtsReportMessage.LogMessage.Builder builderForValue) { |
| if (logBuilder_ == null) { |
| ensureLogIsMutable(); |
| log_.add(index, builderForValue.build()); |
| onChanged(); |
| } else { |
| logBuilder_.addMessage(index, builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 101;</code> |
| * |
| * <pre> |
| * log for each test case. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public Builder addAllLog( |
| java.lang.Iterable<? extends com.android.vts.proto.VtsReportMessage.LogMessage> values) { |
| if (logBuilder_ == null) { |
| ensureLogIsMutable(); |
| super.addAll(values, log_); |
| onChanged(); |
| } else { |
| logBuilder_.addAllMessages(values); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 101;</code> |
| * |
| * <pre> |
| * log for each test case. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public Builder clearLog() { |
| if (logBuilder_ == null) { |
| log_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000080); |
| onChanged(); |
| } else { |
| logBuilder_.clear(); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 101;</code> |
| * |
| * <pre> |
| * log for each test case. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public Builder removeLog(int index) { |
| if (logBuilder_ == null) { |
| ensureLogIsMutable(); |
| log_.remove(index); |
| onChanged(); |
| } else { |
| logBuilder_.remove(index); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 101;</code> |
| * |
| * <pre> |
| * log for each test case. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.LogMessage.Builder getLogBuilder( |
| int index) { |
| return getLogFieldBuilder().getBuilder(index); |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 101;</code> |
| * |
| * <pre> |
| * log for each test case. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.LogMessageOrBuilder getLogOrBuilder( |
| int index) { |
| if (logBuilder_ == null) { |
| return log_.get(index); } else { |
| return logBuilder_.getMessageOrBuilder(index); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 101;</code> |
| * |
| * <pre> |
| * log for each test case. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public java.util.List<? extends com.android.vts.proto.VtsReportMessage.LogMessageOrBuilder> |
| getLogOrBuilderList() { |
| if (logBuilder_ != null) { |
| return logBuilder_.getMessageOrBuilderList(); |
| } else { |
| return java.util.Collections.unmodifiableList(log_); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 101;</code> |
| * |
| * <pre> |
| * log for each test case. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.LogMessage.Builder addLogBuilder() { |
| return getLogFieldBuilder().addBuilder( |
| com.android.vts.proto.VtsReportMessage.LogMessage.getDefaultInstance()); |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 101;</code> |
| * |
| * <pre> |
| * log for each test case. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.LogMessage.Builder addLogBuilder( |
| int index) { |
| return getLogFieldBuilder().addBuilder( |
| index, com.android.vts.proto.VtsReportMessage.LogMessage.getDefaultInstance()); |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 101;</code> |
| * |
| * <pre> |
| * log for each test case. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public java.util.List<com.android.vts.proto.VtsReportMessage.LogMessage.Builder> |
| getLogBuilderList() { |
| return getLogFieldBuilder().getBuilderList(); |
| } |
| private com.google.protobuf.RepeatedFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.LogMessage, com.android.vts.proto.VtsReportMessage.LogMessage.Builder, com.android.vts.proto.VtsReportMessage.LogMessageOrBuilder> |
| getLogFieldBuilder() { |
| if (logBuilder_ == null) { |
| logBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.LogMessage, com.android.vts.proto.VtsReportMessage.LogMessage.Builder, com.android.vts.proto.VtsReportMessage.LogMessageOrBuilder>( |
| log_, |
| ((bitField0_ & 0x00000080) == 0x00000080), |
| getParentForChildren(), |
| isClean()); |
| log_ = null; |
| } |
| return logBuilder_; |
| } |
| |
| // @@protoc_insertion_point(builder_scope:android.vts.TestCaseReportMessage) |
| } |
| |
| static { |
| defaultInstance = new TestCaseReportMessage(true); |
| defaultInstance.initFields(); |
| } |
| |
| // @@protoc_insertion_point(class_scope:android.vts.TestCaseReportMessage) |
| } |
| |
| public interface ProfilingReportMessageOrBuilder |
| extends com.google.protobuf.MessageOrBuilder { |
| |
| // optional bytes name = 1; |
| /** |
| * <code>optional bytes name = 1;</code> |
| * |
| * <pre> |
| * the instrumentation point name. |
| * </pre> |
| */ |
| boolean hasName(); |
| /** |
| * <code>optional bytes name = 1;</code> |
| * |
| * <pre> |
| * the instrumentation point name. |
| * </pre> |
| */ |
| com.google.protobuf.ByteString getName(); |
| |
| // optional .android.vts.VtsProfilingType type = 2; |
| /** |
| * <code>optional .android.vts.VtsProfilingType type = 2;</code> |
| */ |
| boolean hasType(); |
| /** |
| * <code>optional .android.vts.VtsProfilingType type = 2;</code> |
| */ |
| com.android.vts.proto.VtsReportMessage.VtsProfilingType getType(); |
| |
| // optional .android.vts.VtsProfilingRegressionMode regression_mode = 3; |
| /** |
| * <code>optional .android.vts.VtsProfilingRegressionMode regression_mode = 3;</code> |
| */ |
| boolean hasRegressionMode(); |
| /** |
| * <code>optional .android.vts.VtsProfilingRegressionMode regression_mode = 3;</code> |
| */ |
| com.android.vts.proto.VtsReportMessage.VtsProfilingRegressionMode getRegressionMode(); |
| |
| // optional int64 start_timestamp = 11; |
| /** |
| * <code>optional int64 start_timestamp = 11;</code> |
| * |
| * <pre> |
| * profiling start and end time stamp (for performance). |
| * </pre> |
| */ |
| boolean hasStartTimestamp(); |
| /** |
| * <code>optional int64 start_timestamp = 11;</code> |
| * |
| * <pre> |
| * profiling start and end time stamp (for performance). |
| * </pre> |
| */ |
| long getStartTimestamp(); |
| |
| // optional int64 end_timestamp = 12; |
| /** |
| * <code>optional int64 end_timestamp = 12;</code> |
| */ |
| boolean hasEndTimestamp(); |
| /** |
| * <code>optional int64 end_timestamp = 12;</code> |
| */ |
| long getEndTimestamp(); |
| |
| // repeated bytes label = 21; |
| /** |
| * <code>repeated bytes label = 21;</code> |
| */ |
| java.util.List<com.google.protobuf.ByteString> getLabelList(); |
| /** |
| * <code>repeated bytes label = 21;</code> |
| */ |
| int getLabelCount(); |
| /** |
| * <code>repeated bytes label = 21;</code> |
| */ |
| com.google.protobuf.ByteString getLabel(int index); |
| |
| // repeated int64 value = 22; |
| /** |
| * <code>repeated int64 value = 22;</code> |
| */ |
| java.util.List<java.lang.Long> getValueList(); |
| /** |
| * <code>repeated int64 value = 22;</code> |
| */ |
| int getValueCount(); |
| /** |
| * <code>repeated int64 value = 22;</code> |
| */ |
| long getValue(int index); |
| |
| // optional bytes x_axis_label = 31; |
| /** |
| * <code>optional bytes x_axis_label = 31;</code> |
| * |
| * <pre> |
| * x-axis and y-axis title labels when displaying the data as a graph |
| * </pre> |
| */ |
| boolean hasXAxisLabel(); |
| /** |
| * <code>optional bytes x_axis_label = 31;</code> |
| * |
| * <pre> |
| * x-axis and y-axis title labels when displaying the data as a graph |
| * </pre> |
| */ |
| com.google.protobuf.ByteString getXAxisLabel(); |
| |
| // optional bytes y_axis_label = 32; |
| /** |
| * <code>optional bytes y_axis_label = 32;</code> |
| */ |
| boolean hasYAxisLabel(); |
| /** |
| * <code>optional bytes y_axis_label = 32;</code> |
| */ |
| com.google.protobuf.ByteString getYAxisLabel(); |
| |
| // repeated bytes options = 41; |
| /** |
| * <code>repeated bytes options = 41;</code> |
| * |
| * <pre> |
| * a list of strings where each string has the form of 'key=value'. |
| * used to tell certain properties of the data (e.g., passthrough vs. |
| * binderized). |
| * </pre> |
| */ |
| java.util.List<com.google.protobuf.ByteString> getOptionsList(); |
| /** |
| * <code>repeated bytes options = 41;</code> |
| * |
| * <pre> |
| * a list of strings where each string has the form of 'key=value'. |
| * used to tell certain properties of the data (e.g., passthrough vs. |
| * binderized). |
| * </pre> |
| */ |
| int getOptionsCount(); |
| /** |
| * <code>repeated bytes options = 41;</code> |
| * |
| * <pre> |
| * a list of strings where each string has the form of 'key=value'. |
| * used to tell certain properties of the data (e.g., passthrough vs. |
| * binderized). |
| * </pre> |
| */ |
| com.google.protobuf.ByteString getOptions(int index); |
| } |
| /** |
| * Protobuf type {@code android.vts.ProfilingReportMessage} |
| * |
| * <pre> |
| * To specify a profiling report. |
| * </pre> |
| */ |
| public static final class ProfilingReportMessage extends |
| com.google.protobuf.GeneratedMessage |
| implements ProfilingReportMessageOrBuilder { |
| // Use ProfilingReportMessage.newBuilder() to construct. |
| private ProfilingReportMessage(com.google.protobuf.GeneratedMessage.Builder<?> builder) { |
| super(builder); |
| this.unknownFields = builder.getUnknownFields(); |
| } |
| private ProfilingReportMessage(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } |
| |
| private static final ProfilingReportMessage defaultInstance; |
| public static ProfilingReportMessage getDefaultInstance() { |
| return defaultInstance; |
| } |
| |
| public ProfilingReportMessage getDefaultInstanceForType() { |
| return defaultInstance; |
| } |
| |
| private final com.google.protobuf.UnknownFieldSet unknownFields; |
| @java.lang.Override |
| public final com.google.protobuf.UnknownFieldSet |
| getUnknownFields() { |
| return this.unknownFields; |
| } |
| private ProfilingReportMessage( |
| com.google.protobuf.CodedInputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| initFields(); |
| int mutable_bitField0_ = 0; |
| com.google.protobuf.UnknownFieldSet.Builder unknownFields = |
| com.google.protobuf.UnknownFieldSet.newBuilder(); |
| try { |
| boolean done = false; |
| while (!done) { |
| int tag = input.readTag(); |
| switch (tag) { |
| case 0: |
| done = true; |
| break; |
| default: { |
| if (!parseUnknownField(input, unknownFields, |
| extensionRegistry, tag)) { |
| done = true; |
| } |
| break; |
| } |
| case 10: { |
| bitField0_ |= 0x00000001; |
| name_ = input.readBytes(); |
| break; |
| } |
| case 16: { |
| int rawValue = input.readEnum(); |
| com.android.vts.proto.VtsReportMessage.VtsProfilingType value = com.android.vts.proto.VtsReportMessage.VtsProfilingType.valueOf(rawValue); |
| if (value == null) { |
| unknownFields.mergeVarintField(2, rawValue); |
| } else { |
| bitField0_ |= 0x00000002; |
| type_ = value; |
| } |
| break; |
| } |
| case 24: { |
| int rawValue = input.readEnum(); |
| com.android.vts.proto.VtsReportMessage.VtsProfilingRegressionMode value = com.android.vts.proto.VtsReportMessage.VtsProfilingRegressionMode.valueOf(rawValue); |
| if (value == null) { |
| unknownFields.mergeVarintField(3, rawValue); |
| } else { |
| bitField0_ |= 0x00000004; |
| regressionMode_ = value; |
| } |
| break; |
| } |
| case 88: { |
| bitField0_ |= 0x00000008; |
| startTimestamp_ = input.readInt64(); |
| break; |
| } |
| case 96: { |
| bitField0_ |= 0x00000010; |
| endTimestamp_ = input.readInt64(); |
| break; |
| } |
| case 170: { |
| if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { |
| label_ = new java.util.ArrayList<com.google.protobuf.ByteString>(); |
| mutable_bitField0_ |= 0x00000020; |
| } |
| label_.add(input.readBytes()); |
| break; |
| } |
| case 176: { |
| if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) { |
| value_ = new java.util.ArrayList<java.lang.Long>(); |
| mutable_bitField0_ |= 0x00000040; |
| } |
| value_.add(input.readInt64()); |
| break; |
| } |
| case 178: { |
| int length = input.readRawVarint32(); |
| int limit = input.pushLimit(length); |
| if (!((mutable_bitField0_ & 0x00000040) == 0x00000040) && input.getBytesUntilLimit() > 0) { |
| value_ = new java.util.ArrayList<java.lang.Long>(); |
| mutable_bitField0_ |= 0x00000040; |
| } |
| while (input.getBytesUntilLimit() > 0) { |
| value_.add(input.readInt64()); |
| } |
| input.popLimit(limit); |
| break; |
| } |
| case 250: { |
| bitField0_ |= 0x00000020; |
| xAxisLabel_ = input.readBytes(); |
| break; |
| } |
| case 258: { |
| bitField0_ |= 0x00000040; |
| yAxisLabel_ = input.readBytes(); |
| break; |
| } |
| case 330: { |
| if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) { |
| options_ = new java.util.ArrayList<com.google.protobuf.ByteString>(); |
| mutable_bitField0_ |= 0x00000200; |
| } |
| options_.add(input.readBytes()); |
| break; |
| } |
| } |
| } |
| } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| throw e.setUnfinishedMessage(this); |
| } catch (java.io.IOException e) { |
| throw new com.google.protobuf.InvalidProtocolBufferException( |
| e.getMessage()).setUnfinishedMessage(this); |
| } finally { |
| if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) { |
| label_ = java.util.Collections.unmodifiableList(label_); |
| } |
| if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) { |
| value_ = java.util.Collections.unmodifiableList(value_); |
| } |
| if (((mutable_bitField0_ & 0x00000200) == 0x00000200)) { |
| options_ = java.util.Collections.unmodifiableList(options_); |
| } |
| this.unknownFields = unknownFields.build(); |
| makeExtensionsImmutable(); |
| } |
| } |
| public static final com.google.protobuf.Descriptors.Descriptor |
| getDescriptor() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_ProfilingReportMessage_descriptor; |
| } |
| |
| protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internalGetFieldAccessorTable() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_ProfilingReportMessage_fieldAccessorTable |
| .ensureFieldAccessorsInitialized( |
| com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.class, com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.Builder.class); |
| } |
| |
| public static com.google.protobuf.Parser<ProfilingReportMessage> PARSER = |
| new com.google.protobuf.AbstractParser<ProfilingReportMessage>() { |
| public ProfilingReportMessage parsePartialFrom( |
| com.google.protobuf.CodedInputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return new ProfilingReportMessage(input, extensionRegistry); |
| } |
| }; |
| |
| @java.lang.Override |
| public com.google.protobuf.Parser<ProfilingReportMessage> getParserForType() { |
| return PARSER; |
| } |
| |
| private int bitField0_; |
| // optional bytes name = 1; |
| public static final int NAME_FIELD_NUMBER = 1; |
| private com.google.protobuf.ByteString name_; |
| /** |
| * <code>optional bytes name = 1;</code> |
| * |
| * <pre> |
| * the instrumentation point name. |
| * </pre> |
| */ |
| public boolean hasName() { |
| return ((bitField0_ & 0x00000001) == 0x00000001); |
| } |
| /** |
| * <code>optional bytes name = 1;</code> |
| * |
| * <pre> |
| * the instrumentation point name. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getName() { |
| return name_; |
| } |
| |
| // optional .android.vts.VtsProfilingType type = 2; |
| public static final int TYPE_FIELD_NUMBER = 2; |
| private com.android.vts.proto.VtsReportMessage.VtsProfilingType type_; |
| /** |
| * <code>optional .android.vts.VtsProfilingType type = 2;</code> |
| */ |
| public boolean hasType() { |
| return ((bitField0_ & 0x00000002) == 0x00000002); |
| } |
| /** |
| * <code>optional .android.vts.VtsProfilingType type = 2;</code> |
| */ |
| public com.android.vts.proto.VtsReportMessage.VtsProfilingType getType() { |
| return type_; |
| } |
| |
| // optional .android.vts.VtsProfilingRegressionMode regression_mode = 3; |
| public static final int REGRESSION_MODE_FIELD_NUMBER = 3; |
| private com.android.vts.proto.VtsReportMessage.VtsProfilingRegressionMode regressionMode_; |
| /** |
| * <code>optional .android.vts.VtsProfilingRegressionMode regression_mode = 3;</code> |
| */ |
| public boolean hasRegressionMode() { |
| return ((bitField0_ & 0x00000004) == 0x00000004); |
| } |
| /** |
| * <code>optional .android.vts.VtsProfilingRegressionMode regression_mode = 3;</code> |
| */ |
| public com.android.vts.proto.VtsReportMessage.VtsProfilingRegressionMode getRegressionMode() { |
| return regressionMode_; |
| } |
| |
| // optional int64 start_timestamp = 11; |
| public static final int START_TIMESTAMP_FIELD_NUMBER = 11; |
| private long startTimestamp_; |
| /** |
| * <code>optional int64 start_timestamp = 11;</code> |
| * |
| * <pre> |
| * profiling start and end time stamp (for performance). |
| * </pre> |
| */ |
| public boolean hasStartTimestamp() { |
| return ((bitField0_ & 0x00000008) == 0x00000008); |
| } |
| /** |
| * <code>optional int64 start_timestamp = 11;</code> |
| * |
| * <pre> |
| * profiling start and end time stamp (for performance). |
| * </pre> |
| */ |
| public long getStartTimestamp() { |
| return startTimestamp_; |
| } |
| |
| // optional int64 end_timestamp = 12; |
| public static final int END_TIMESTAMP_FIELD_NUMBER = 12; |
| private long endTimestamp_; |
| /** |
| * <code>optional int64 end_timestamp = 12;</code> |
| */ |
| public boolean hasEndTimestamp() { |
| return ((bitField0_ & 0x00000010) == 0x00000010); |
| } |
| /** |
| * <code>optional int64 end_timestamp = 12;</code> |
| */ |
| public long getEndTimestamp() { |
| return endTimestamp_; |
| } |
| |
| // repeated bytes label = 21; |
| public static final int LABEL_FIELD_NUMBER = 21; |
| private java.util.List<com.google.protobuf.ByteString> label_; |
| /** |
| * <code>repeated bytes label = 21;</code> |
| */ |
| public java.util.List<com.google.protobuf.ByteString> |
| getLabelList() { |
| return label_; |
| } |
| /** |
| * <code>repeated bytes label = 21;</code> |
| */ |
| public int getLabelCount() { |
| return label_.size(); |
| } |
| /** |
| * <code>repeated bytes label = 21;</code> |
| */ |
| public com.google.protobuf.ByteString getLabel(int index) { |
| return label_.get(index); |
| } |
| |
| // repeated int64 value = 22; |
| public static final int VALUE_FIELD_NUMBER = 22; |
| private java.util.List<java.lang.Long> value_; |
| /** |
| * <code>repeated int64 value = 22;</code> |
| */ |
| public java.util.List<java.lang.Long> |
| getValueList() { |
| return value_; |
| } |
| /** |
| * <code>repeated int64 value = 22;</code> |
| */ |
| public int getValueCount() { |
| return value_.size(); |
| } |
| /** |
| * <code>repeated int64 value = 22;</code> |
| */ |
| public long getValue(int index) { |
| return value_.get(index); |
| } |
| |
| // optional bytes x_axis_label = 31; |
| public static final int X_AXIS_LABEL_FIELD_NUMBER = 31; |
| private com.google.protobuf.ByteString xAxisLabel_; |
| /** |
| * <code>optional bytes x_axis_label = 31;</code> |
| * |
| * <pre> |
| * x-axis and y-axis title labels when displaying the data as a graph |
| * </pre> |
| */ |
| public boolean hasXAxisLabel() { |
| return ((bitField0_ & 0x00000020) == 0x00000020); |
| } |
| /** |
| * <code>optional bytes x_axis_label = 31;</code> |
| * |
| * <pre> |
| * x-axis and y-axis title labels when displaying the data as a graph |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getXAxisLabel() { |
| return xAxisLabel_; |
| } |
| |
| // optional bytes y_axis_label = 32; |
| public static final int Y_AXIS_LABEL_FIELD_NUMBER = 32; |
| private com.google.protobuf.ByteString yAxisLabel_; |
| /** |
| * <code>optional bytes y_axis_label = 32;</code> |
| */ |
| public boolean hasYAxisLabel() { |
| return ((bitField0_ & 0x00000040) == 0x00000040); |
| } |
| /** |
| * <code>optional bytes y_axis_label = 32;</code> |
| */ |
| public com.google.protobuf.ByteString getYAxisLabel() { |
| return yAxisLabel_; |
| } |
| |
| // repeated bytes options = 41; |
| public static final int OPTIONS_FIELD_NUMBER = 41; |
| private java.util.List<com.google.protobuf.ByteString> options_; |
| /** |
| * <code>repeated bytes options = 41;</code> |
| * |
| * <pre> |
| * a list of strings where each string has the form of 'key=value'. |
| * used to tell certain properties of the data (e.g., passthrough vs. |
| * binderized). |
| * </pre> |
| */ |
| public java.util.List<com.google.protobuf.ByteString> |
| getOptionsList() { |
| return options_; |
| } |
| /** |
| * <code>repeated bytes options = 41;</code> |
| * |
| * <pre> |
| * a list of strings where each string has the form of 'key=value'. |
| * used to tell certain properties of the data (e.g., passthrough vs. |
| * binderized). |
| * </pre> |
| */ |
| public int getOptionsCount() { |
| return options_.size(); |
| } |
| /** |
| * <code>repeated bytes options = 41;</code> |
| * |
| * <pre> |
| * a list of strings where each string has the form of 'key=value'. |
| * used to tell certain properties of the data (e.g., passthrough vs. |
| * binderized). |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getOptions(int index) { |
| return options_.get(index); |
| } |
| |
| private void initFields() { |
| name_ = com.google.protobuf.ByteString.EMPTY; |
| type_ = com.android.vts.proto.VtsReportMessage.VtsProfilingType.UNKNOWN_VTS_PROFILING_TYPE; |
| regressionMode_ = com.android.vts.proto.VtsReportMessage.VtsProfilingRegressionMode.UNKNOWN_REGRESSION_MODE; |
| startTimestamp_ = 0L; |
| endTimestamp_ = 0L; |
| label_ = java.util.Collections.emptyList(); |
| value_ = java.util.Collections.emptyList(); |
| xAxisLabel_ = com.google.protobuf.ByteString.EMPTY; |
| yAxisLabel_ = com.google.protobuf.ByteString.EMPTY; |
| options_ = 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, name_); |
| } |
| if (((bitField0_ & 0x00000002) == 0x00000002)) { |
| output.writeEnum(2, type_.getNumber()); |
| } |
| if (((bitField0_ & 0x00000004) == 0x00000004)) { |
| output.writeEnum(3, regressionMode_.getNumber()); |
| } |
| if (((bitField0_ & 0x00000008) == 0x00000008)) { |
| output.writeInt64(11, startTimestamp_); |
| } |
| if (((bitField0_ & 0x00000010) == 0x00000010)) { |
| output.writeInt64(12, endTimestamp_); |
| } |
| for (int i = 0; i < label_.size(); i++) { |
| output.writeBytes(21, label_.get(i)); |
| } |
| for (int i = 0; i < value_.size(); i++) { |
| output.writeInt64(22, value_.get(i)); |
| } |
| if (((bitField0_ & 0x00000020) == 0x00000020)) { |
| output.writeBytes(31, xAxisLabel_); |
| } |
| if (((bitField0_ & 0x00000040) == 0x00000040)) { |
| output.writeBytes(32, yAxisLabel_); |
| } |
| for (int i = 0; i < options_.size(); i++) { |
| output.writeBytes(41, options_.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, name_); |
| } |
| if (((bitField0_ & 0x00000002) == 0x00000002)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeEnumSize(2, type_.getNumber()); |
| } |
| if (((bitField0_ & 0x00000004) == 0x00000004)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeEnumSize(3, regressionMode_.getNumber()); |
| } |
| if (((bitField0_ & 0x00000008) == 0x00000008)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeInt64Size(11, startTimestamp_); |
| } |
| if (((bitField0_ & 0x00000010) == 0x00000010)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeInt64Size(12, endTimestamp_); |
| } |
| { |
| int dataSize = 0; |
| for (int i = 0; i < label_.size(); i++) { |
| dataSize += com.google.protobuf.CodedOutputStream |
| .computeBytesSizeNoTag(label_.get(i)); |
| } |
| size += dataSize; |
| size += 2 * getLabelList().size(); |
| } |
| { |
| int dataSize = 0; |
| for (int i = 0; i < value_.size(); i++) { |
| dataSize += com.google.protobuf.CodedOutputStream |
| .computeInt64SizeNoTag(value_.get(i)); |
| } |
| size += dataSize; |
| size += 2 * getValueList().size(); |
| } |
| if (((bitField0_ & 0x00000020) == 0x00000020)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(31, xAxisLabel_); |
| } |
| if (((bitField0_ & 0x00000040) == 0x00000040)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(32, yAxisLabel_); |
| } |
| { |
| int dataSize = 0; |
| for (int i = 0; i < options_.size(); i++) { |
| dataSize += com.google.protobuf.CodedOutputStream |
| .computeBytesSizeNoTag(options_.get(i)); |
| } |
| size += dataSize; |
| size += 2 * getOptionsList().size(); |
| } |
| size += getUnknownFields().getSerializedSize(); |
| memoizedSerializedSize = size; |
| return size; |
| } |
| |
| private static final long serialVersionUID = 0L; |
| @java.lang.Override |
| protected java.lang.Object writeReplace() |
| throws java.io.ObjectStreamException { |
| return super.writeReplace(); |
| } |
| |
| public static com.android.vts.proto.VtsReportMessage.ProfilingReportMessage parseFrom( |
| com.google.protobuf.ByteString data) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data); |
| } |
| public static com.android.vts.proto.VtsReportMessage.ProfilingReportMessage parseFrom( |
| com.google.protobuf.ByteString data, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.ProfilingReportMessage parseFrom(byte[] data) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data); |
| } |
| public static com.android.vts.proto.VtsReportMessage.ProfilingReportMessage parseFrom( |
| byte[] data, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.ProfilingReportMessage parseFrom(java.io.InputStream input) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input); |
| } |
| public static com.android.vts.proto.VtsReportMessage.ProfilingReportMessage parseFrom( |
| java.io.InputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.ProfilingReportMessage parseDelimitedFrom(java.io.InputStream input) |
| throws java.io.IOException { |
| return PARSER.parseDelimitedFrom(input); |
| } |
| public static com.android.vts.proto.VtsReportMessage.ProfilingReportMessage parseDelimitedFrom( |
| java.io.InputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| return PARSER.parseDelimitedFrom(input, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.ProfilingReportMessage parseFrom( |
| com.google.protobuf.CodedInputStream input) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input); |
| } |
| public static com.android.vts.proto.VtsReportMessage.ProfilingReportMessage 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.android.vts.proto.VtsReportMessage.ProfilingReportMessage 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.vts.ProfilingReportMessage} |
| * |
| * <pre> |
| * To specify a profiling report. |
| * </pre> |
| */ |
| public static final class Builder extends |
| com.google.protobuf.GeneratedMessage.Builder<Builder> |
| implements com.android.vts.proto.VtsReportMessage.ProfilingReportMessageOrBuilder { |
| public static final com.google.protobuf.Descriptors.Descriptor |
| getDescriptor() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_ProfilingReportMessage_descriptor; |
| } |
| |
| protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internalGetFieldAccessorTable() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_ProfilingReportMessage_fieldAccessorTable |
| .ensureFieldAccessorsInitialized( |
| com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.class, com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.Builder.class); |
| } |
| |
| // Construct using com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.newBuilder() |
| private Builder() { |
| maybeForceBuilderInitialization(); |
| } |
| |
| private Builder( |
| com.google.protobuf.GeneratedMessage.BuilderParent parent) { |
| super(parent); |
| maybeForceBuilderInitialization(); |
| } |
| private void maybeForceBuilderInitialization() { |
| if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { |
| } |
| } |
| private static Builder create() { |
| return new Builder(); |
| } |
| |
| public Builder clear() { |
| super.clear(); |
| name_ = com.google.protobuf.ByteString.EMPTY; |
| bitField0_ = (bitField0_ & ~0x00000001); |
| type_ = com.android.vts.proto.VtsReportMessage.VtsProfilingType.UNKNOWN_VTS_PROFILING_TYPE; |
| bitField0_ = (bitField0_ & ~0x00000002); |
| regressionMode_ = com.android.vts.proto.VtsReportMessage.VtsProfilingRegressionMode.UNKNOWN_REGRESSION_MODE; |
| bitField0_ = (bitField0_ & ~0x00000004); |
| startTimestamp_ = 0L; |
| bitField0_ = (bitField0_ & ~0x00000008); |
| endTimestamp_ = 0L; |
| bitField0_ = (bitField0_ & ~0x00000010); |
| label_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000020); |
| value_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000040); |
| xAxisLabel_ = com.google.protobuf.ByteString.EMPTY; |
| bitField0_ = (bitField0_ & ~0x00000080); |
| yAxisLabel_ = com.google.protobuf.ByteString.EMPTY; |
| bitField0_ = (bitField0_ & ~0x00000100); |
| options_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000200); |
| return this; |
| } |
| |
| public Builder clone() { |
| return create().mergeFrom(buildPartial()); |
| } |
| |
| public com.google.protobuf.Descriptors.Descriptor |
| getDescriptorForType() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_ProfilingReportMessage_descriptor; |
| } |
| |
| public com.android.vts.proto.VtsReportMessage.ProfilingReportMessage getDefaultInstanceForType() { |
| return com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.getDefaultInstance(); |
| } |
| |
| public com.android.vts.proto.VtsReportMessage.ProfilingReportMessage build() { |
| com.android.vts.proto.VtsReportMessage.ProfilingReportMessage result = buildPartial(); |
| if (!result.isInitialized()) { |
| throw newUninitializedMessageException(result); |
| } |
| return result; |
| } |
| |
| public com.android.vts.proto.VtsReportMessage.ProfilingReportMessage buildPartial() { |
| com.android.vts.proto.VtsReportMessage.ProfilingReportMessage result = new com.android.vts.proto.VtsReportMessage.ProfilingReportMessage(this); |
| int from_bitField0_ = bitField0_; |
| int to_bitField0_ = 0; |
| if (((from_bitField0_ & 0x00000001) == 0x00000001)) { |
| to_bitField0_ |= 0x00000001; |
| } |
| result.name_ = name_; |
| if (((from_bitField0_ & 0x00000002) == 0x00000002)) { |
| to_bitField0_ |= 0x00000002; |
| } |
| result.type_ = type_; |
| if (((from_bitField0_ & 0x00000004) == 0x00000004)) { |
| to_bitField0_ |= 0x00000004; |
| } |
| result.regressionMode_ = regressionMode_; |
| if (((from_bitField0_ & 0x00000008) == 0x00000008)) { |
| to_bitField0_ |= 0x00000008; |
| } |
| result.startTimestamp_ = startTimestamp_; |
| if (((from_bitField0_ & 0x00000010) == 0x00000010)) { |
| to_bitField0_ |= 0x00000010; |
| } |
| result.endTimestamp_ = endTimestamp_; |
| if (((bitField0_ & 0x00000020) == 0x00000020)) { |
| label_ = java.util.Collections.unmodifiableList(label_); |
| bitField0_ = (bitField0_ & ~0x00000020); |
| } |
| result.label_ = label_; |
| if (((bitField0_ & 0x00000040) == 0x00000040)) { |
| value_ = java.util.Collections.unmodifiableList(value_); |
| bitField0_ = (bitField0_ & ~0x00000040); |
| } |
| result.value_ = value_; |
| if (((from_bitField0_ & 0x00000080) == 0x00000080)) { |
| to_bitField0_ |= 0x00000020; |
| } |
| result.xAxisLabel_ = xAxisLabel_; |
| if (((from_bitField0_ & 0x00000100) == 0x00000100)) { |
| to_bitField0_ |= 0x00000040; |
| } |
| result.yAxisLabel_ = yAxisLabel_; |
| if (((bitField0_ & 0x00000200) == 0x00000200)) { |
| options_ = java.util.Collections.unmodifiableList(options_); |
| bitField0_ = (bitField0_ & ~0x00000200); |
| } |
| result.options_ = options_; |
| result.bitField0_ = to_bitField0_; |
| onBuilt(); |
| return result; |
| } |
| |
| public Builder mergeFrom(com.google.protobuf.Message other) { |
| if (other instanceof com.android.vts.proto.VtsReportMessage.ProfilingReportMessage) { |
| return mergeFrom((com.android.vts.proto.VtsReportMessage.ProfilingReportMessage)other); |
| } else { |
| super.mergeFrom(other); |
| return this; |
| } |
| } |
| |
| public Builder mergeFrom(com.android.vts.proto.VtsReportMessage.ProfilingReportMessage other) { |
| if (other == com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.getDefaultInstance()) return this; |
| if (other.hasName()) { |
| setName(other.getName()); |
| } |
| if (other.hasType()) { |
| setType(other.getType()); |
| } |
| if (other.hasRegressionMode()) { |
| setRegressionMode(other.getRegressionMode()); |
| } |
| if (other.hasStartTimestamp()) { |
| setStartTimestamp(other.getStartTimestamp()); |
| } |
| if (other.hasEndTimestamp()) { |
| setEndTimestamp(other.getEndTimestamp()); |
| } |
| if (!other.label_.isEmpty()) { |
| if (label_.isEmpty()) { |
| label_ = other.label_; |
| bitField0_ = (bitField0_ & ~0x00000020); |
| } else { |
| ensureLabelIsMutable(); |
| label_.addAll(other.label_); |
| } |
| onChanged(); |
| } |
| if (!other.value_.isEmpty()) { |
| if (value_.isEmpty()) { |
| value_ = other.value_; |
| bitField0_ = (bitField0_ & ~0x00000040); |
| } else { |
| ensureValueIsMutable(); |
| value_.addAll(other.value_); |
| } |
| onChanged(); |
| } |
| if (other.hasXAxisLabel()) { |
| setXAxisLabel(other.getXAxisLabel()); |
| } |
| if (other.hasYAxisLabel()) { |
| setYAxisLabel(other.getYAxisLabel()); |
| } |
| if (!other.options_.isEmpty()) { |
| if (options_.isEmpty()) { |
| options_ = other.options_; |
| bitField0_ = (bitField0_ & ~0x00000200); |
| } else { |
| ensureOptionsIsMutable(); |
| options_.addAll(other.options_); |
| } |
| 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.android.vts.proto.VtsReportMessage.ProfilingReportMessage parsedMessage = null; |
| try { |
| parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); |
| } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| parsedMessage = (com.android.vts.proto.VtsReportMessage.ProfilingReportMessage) e.getUnfinishedMessage(); |
| throw e; |
| } finally { |
| if (parsedMessage != null) { |
| mergeFrom(parsedMessage); |
| } |
| } |
| return this; |
| } |
| private int bitField0_; |
| |
| // optional bytes name = 1; |
| private com.google.protobuf.ByteString name_ = com.google.protobuf.ByteString.EMPTY; |
| /** |
| * <code>optional bytes name = 1;</code> |
| * |
| * <pre> |
| * the instrumentation point name. |
| * </pre> |
| */ |
| public boolean hasName() { |
| return ((bitField0_ & 0x00000001) == 0x00000001); |
| } |
| /** |
| * <code>optional bytes name = 1;</code> |
| * |
| * <pre> |
| * the instrumentation point name. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getName() { |
| return name_; |
| } |
| /** |
| * <code>optional bytes name = 1;</code> |
| * |
| * <pre> |
| * the instrumentation point name. |
| * </pre> |
| */ |
| public Builder setName(com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000001; |
| name_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional bytes name = 1;</code> |
| * |
| * <pre> |
| * the instrumentation point name. |
| * </pre> |
| */ |
| public Builder clearName() { |
| bitField0_ = (bitField0_ & ~0x00000001); |
| name_ = getDefaultInstance().getName(); |
| onChanged(); |
| return this; |
| } |
| |
| // optional .android.vts.VtsProfilingType type = 2; |
| private com.android.vts.proto.VtsReportMessage.VtsProfilingType type_ = com.android.vts.proto.VtsReportMessage.VtsProfilingType.UNKNOWN_VTS_PROFILING_TYPE; |
| /** |
| * <code>optional .android.vts.VtsProfilingType type = 2;</code> |
| */ |
| public boolean hasType() { |
| return ((bitField0_ & 0x00000002) == 0x00000002); |
| } |
| /** |
| * <code>optional .android.vts.VtsProfilingType type = 2;</code> |
| */ |
| public com.android.vts.proto.VtsReportMessage.VtsProfilingType getType() { |
| return type_; |
| } |
| /** |
| * <code>optional .android.vts.VtsProfilingType type = 2;</code> |
| */ |
| public Builder setType(com.android.vts.proto.VtsReportMessage.VtsProfilingType value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000002; |
| type_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional .android.vts.VtsProfilingType type = 2;</code> |
| */ |
| public Builder clearType() { |
| bitField0_ = (bitField0_ & ~0x00000002); |
| type_ = com.android.vts.proto.VtsReportMessage.VtsProfilingType.UNKNOWN_VTS_PROFILING_TYPE; |
| onChanged(); |
| return this; |
| } |
| |
| // optional .android.vts.VtsProfilingRegressionMode regression_mode = 3; |
| private com.android.vts.proto.VtsReportMessage.VtsProfilingRegressionMode regressionMode_ = com.android.vts.proto.VtsReportMessage.VtsProfilingRegressionMode.UNKNOWN_REGRESSION_MODE; |
| /** |
| * <code>optional .android.vts.VtsProfilingRegressionMode regression_mode = 3;</code> |
| */ |
| public boolean hasRegressionMode() { |
| return ((bitField0_ & 0x00000004) == 0x00000004); |
| } |
| /** |
| * <code>optional .android.vts.VtsProfilingRegressionMode regression_mode = 3;</code> |
| */ |
| public com.android.vts.proto.VtsReportMessage.VtsProfilingRegressionMode getRegressionMode() { |
| return regressionMode_; |
| } |
| /** |
| * <code>optional .android.vts.VtsProfilingRegressionMode regression_mode = 3;</code> |
| */ |
| public Builder setRegressionMode(com.android.vts.proto.VtsReportMessage.VtsProfilingRegressionMode value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000004; |
| regressionMode_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional .android.vts.VtsProfilingRegressionMode regression_mode = 3;</code> |
| */ |
| public Builder clearRegressionMode() { |
| bitField0_ = (bitField0_ & ~0x00000004); |
| regressionMode_ = com.android.vts.proto.VtsReportMessage.VtsProfilingRegressionMode.UNKNOWN_REGRESSION_MODE; |
| onChanged(); |
| return this; |
| } |
| |
| // optional int64 start_timestamp = 11; |
| private long startTimestamp_ ; |
| /** |
| * <code>optional int64 start_timestamp = 11;</code> |
| * |
| * <pre> |
| * profiling start and end time stamp (for performance). |
| * </pre> |
| */ |
| public boolean hasStartTimestamp() { |
| return ((bitField0_ & 0x00000008) == 0x00000008); |
| } |
| /** |
| * <code>optional int64 start_timestamp = 11;</code> |
| * |
| * <pre> |
| * profiling start and end time stamp (for performance). |
| * </pre> |
| */ |
| public long getStartTimestamp() { |
| return startTimestamp_; |
| } |
| /** |
| * <code>optional int64 start_timestamp = 11;</code> |
| * |
| * <pre> |
| * profiling start and end time stamp (for performance). |
| * </pre> |
| */ |
| public Builder setStartTimestamp(long value) { |
| bitField0_ |= 0x00000008; |
| startTimestamp_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional int64 start_timestamp = 11;</code> |
| * |
| * <pre> |
| * profiling start and end time stamp (for performance). |
| * </pre> |
| */ |
| public Builder clearStartTimestamp() { |
| bitField0_ = (bitField0_ & ~0x00000008); |
| startTimestamp_ = 0L; |
| onChanged(); |
| return this; |
| } |
| |
| // optional int64 end_timestamp = 12; |
| private long endTimestamp_ ; |
| /** |
| * <code>optional int64 end_timestamp = 12;</code> |
| */ |
| public boolean hasEndTimestamp() { |
| return ((bitField0_ & 0x00000010) == 0x00000010); |
| } |
| /** |
| * <code>optional int64 end_timestamp = 12;</code> |
| */ |
| public long getEndTimestamp() { |
| return endTimestamp_; |
| } |
| /** |
| * <code>optional int64 end_timestamp = 12;</code> |
| */ |
| public Builder setEndTimestamp(long value) { |
| bitField0_ |= 0x00000010; |
| endTimestamp_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional int64 end_timestamp = 12;</code> |
| */ |
| public Builder clearEndTimestamp() { |
| bitField0_ = (bitField0_ & ~0x00000010); |
| endTimestamp_ = 0L; |
| onChanged(); |
| return this; |
| } |
| |
| // repeated bytes label = 21; |
| private java.util.List<com.google.protobuf.ByteString> label_ = java.util.Collections.emptyList(); |
| private void ensureLabelIsMutable() { |
| if (!((bitField0_ & 0x00000020) == 0x00000020)) { |
| label_ = new java.util.ArrayList<com.google.protobuf.ByteString>(label_); |
| bitField0_ |= 0x00000020; |
| } |
| } |
| /** |
| * <code>repeated bytes label = 21;</code> |
| */ |
| public java.util.List<com.google.protobuf.ByteString> |
| getLabelList() { |
| return java.util.Collections.unmodifiableList(label_); |
| } |
| /** |
| * <code>repeated bytes label = 21;</code> |
| */ |
| public int getLabelCount() { |
| return label_.size(); |
| } |
| /** |
| * <code>repeated bytes label = 21;</code> |
| */ |
| public com.google.protobuf.ByteString getLabel(int index) { |
| return label_.get(index); |
| } |
| /** |
| * <code>repeated bytes label = 21;</code> |
| */ |
| public Builder setLabel( |
| int index, com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureLabelIsMutable(); |
| label_.set(index, value); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>repeated bytes label = 21;</code> |
| */ |
| public Builder addLabel(com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureLabelIsMutable(); |
| label_.add(value); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>repeated bytes label = 21;</code> |
| */ |
| public Builder addAllLabel( |
| java.lang.Iterable<? extends com.google.protobuf.ByteString> values) { |
| ensureLabelIsMutable(); |
| super.addAll(values, label_); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>repeated bytes label = 21;</code> |
| */ |
| public Builder clearLabel() { |
| label_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000020); |
| onChanged(); |
| return this; |
| } |
| |
| // repeated int64 value = 22; |
| private java.util.List<java.lang.Long> value_ = java.util.Collections.emptyList(); |
| private void ensureValueIsMutable() { |
| if (!((bitField0_ & 0x00000040) == 0x00000040)) { |
| value_ = new java.util.ArrayList<java.lang.Long>(value_); |
| bitField0_ |= 0x00000040; |
| } |
| } |
| /** |
| * <code>repeated int64 value = 22;</code> |
| */ |
| public java.util.List<java.lang.Long> |
| getValueList() { |
| return java.util.Collections.unmodifiableList(value_); |
| } |
| /** |
| * <code>repeated int64 value = 22;</code> |
| */ |
| public int getValueCount() { |
| return value_.size(); |
| } |
| /** |
| * <code>repeated int64 value = 22;</code> |
| */ |
| public long getValue(int index) { |
| return value_.get(index); |
| } |
| /** |
| * <code>repeated int64 value = 22;</code> |
| */ |
| public Builder setValue( |
| int index, long value) { |
| ensureValueIsMutable(); |
| value_.set(index, value); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>repeated int64 value = 22;</code> |
| */ |
| public Builder addValue(long value) { |
| ensureValueIsMutable(); |
| value_.add(value); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>repeated int64 value = 22;</code> |
| */ |
| public Builder addAllValue( |
| java.lang.Iterable<? extends java.lang.Long> values) { |
| ensureValueIsMutable(); |
| super.addAll(values, value_); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>repeated int64 value = 22;</code> |
| */ |
| public Builder clearValue() { |
| value_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000040); |
| onChanged(); |
| return this; |
| } |
| |
| // optional bytes x_axis_label = 31; |
| private com.google.protobuf.ByteString xAxisLabel_ = com.google.protobuf.ByteString.EMPTY; |
| /** |
| * <code>optional bytes x_axis_label = 31;</code> |
| * |
| * <pre> |
| * x-axis and y-axis title labels when displaying the data as a graph |
| * </pre> |
| */ |
| public boolean hasXAxisLabel() { |
| return ((bitField0_ & 0x00000080) == 0x00000080); |
| } |
| /** |
| * <code>optional bytes x_axis_label = 31;</code> |
| * |
| * <pre> |
| * x-axis and y-axis title labels when displaying the data as a graph |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getXAxisLabel() { |
| return xAxisLabel_; |
| } |
| /** |
| * <code>optional bytes x_axis_label = 31;</code> |
| * |
| * <pre> |
| * x-axis and y-axis title labels when displaying the data as a graph |
| * </pre> |
| */ |
| public Builder setXAxisLabel(com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000080; |
| xAxisLabel_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional bytes x_axis_label = 31;</code> |
| * |
| * <pre> |
| * x-axis and y-axis title labels when displaying the data as a graph |
| * </pre> |
| */ |
| public Builder clearXAxisLabel() { |
| bitField0_ = (bitField0_ & ~0x00000080); |
| xAxisLabel_ = getDefaultInstance().getXAxisLabel(); |
| onChanged(); |
| return this; |
| } |
| |
| // optional bytes y_axis_label = 32; |
| private com.google.protobuf.ByteString yAxisLabel_ = com.google.protobuf.ByteString.EMPTY; |
| /** |
| * <code>optional bytes y_axis_label = 32;</code> |
| */ |
| public boolean hasYAxisLabel() { |
| return ((bitField0_ & 0x00000100) == 0x00000100); |
| } |
| /** |
| * <code>optional bytes y_axis_label = 32;</code> |
| */ |
| public com.google.protobuf.ByteString getYAxisLabel() { |
| return yAxisLabel_; |
| } |
| /** |
| * <code>optional bytes y_axis_label = 32;</code> |
| */ |
| public Builder setYAxisLabel(com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000100; |
| yAxisLabel_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional bytes y_axis_label = 32;</code> |
| */ |
| public Builder clearYAxisLabel() { |
| bitField0_ = (bitField0_ & ~0x00000100); |
| yAxisLabel_ = getDefaultInstance().getYAxisLabel(); |
| onChanged(); |
| return this; |
| } |
| |
| // repeated bytes options = 41; |
| private java.util.List<com.google.protobuf.ByteString> options_ = java.util.Collections.emptyList(); |
| private void ensureOptionsIsMutable() { |
| if (!((bitField0_ & 0x00000200) == 0x00000200)) { |
| options_ = new java.util.ArrayList<com.google.protobuf.ByteString>(options_); |
| bitField0_ |= 0x00000200; |
| } |
| } |
| /** |
| * <code>repeated bytes options = 41;</code> |
| * |
| * <pre> |
| * a list of strings where each string has the form of 'key=value'. |
| * used to tell certain properties of the data (e.g., passthrough vs. |
| * binderized). |
| * </pre> |
| */ |
| public java.util.List<com.google.protobuf.ByteString> |
| getOptionsList() { |
| return java.util.Collections.unmodifiableList(options_); |
| } |
| /** |
| * <code>repeated bytes options = 41;</code> |
| * |
| * <pre> |
| * a list of strings where each string has the form of 'key=value'. |
| * used to tell certain properties of the data (e.g., passthrough vs. |
| * binderized). |
| * </pre> |
| */ |
| public int getOptionsCount() { |
| return options_.size(); |
| } |
| /** |
| * <code>repeated bytes options = 41;</code> |
| * |
| * <pre> |
| * a list of strings where each string has the form of 'key=value'. |
| * used to tell certain properties of the data (e.g., passthrough vs. |
| * binderized). |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getOptions(int index) { |
| return options_.get(index); |
| } |
| /** |
| * <code>repeated bytes options = 41;</code> |
| * |
| * <pre> |
| * a list of strings where each string has the form of 'key=value'. |
| * used to tell certain properties of the data (e.g., passthrough vs. |
| * binderized). |
| * </pre> |
| */ |
| public Builder setOptions( |
| int index, com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureOptionsIsMutable(); |
| options_.set(index, value); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>repeated bytes options = 41;</code> |
| * |
| * <pre> |
| * a list of strings where each string has the form of 'key=value'. |
| * used to tell certain properties of the data (e.g., passthrough vs. |
| * binderized). |
| * </pre> |
| */ |
| public Builder addOptions(com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureOptionsIsMutable(); |
| options_.add(value); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>repeated bytes options = 41;</code> |
| * |
| * <pre> |
| * a list of strings where each string has the form of 'key=value'. |
| * used to tell certain properties of the data (e.g., passthrough vs. |
| * binderized). |
| * </pre> |
| */ |
| public Builder addAllOptions( |
| java.lang.Iterable<? extends com.google.protobuf.ByteString> values) { |
| ensureOptionsIsMutable(); |
| super.addAll(values, options_); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>repeated bytes options = 41;</code> |
| * |
| * <pre> |
| * a list of strings where each string has the form of 'key=value'. |
| * used to tell certain properties of the data (e.g., passthrough vs. |
| * binderized). |
| * </pre> |
| */ |
| public Builder clearOptions() { |
| options_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000200); |
| onChanged(); |
| return this; |
| } |
| |
| // @@protoc_insertion_point(builder_scope:android.vts.ProfilingReportMessage) |
| } |
| |
| static { |
| defaultInstance = new ProfilingReportMessage(true); |
| defaultInstance.initFields(); |
| } |
| |
| // @@protoc_insertion_point(class_scope:android.vts.ProfilingReportMessage) |
| } |
| |
| public interface SystraceReportMessageOrBuilder |
| extends com.google.protobuf.MessageOrBuilder { |
| |
| // optional bytes process_name = 1; |
| /** |
| * <code>optional bytes process_name = 1;</code> |
| * |
| * <pre> |
| * the target process name used by systrace |
| * </pre> |
| */ |
| boolean hasProcessName(); |
| /** |
| * <code>optional bytes process_name = 1;</code> |
| * |
| * <pre> |
| * the target process name used by systrace |
| * </pre> |
| */ |
| com.google.protobuf.ByteString getProcessName(); |
| |
| // repeated bytes html = 11; |
| /** |
| * <code>repeated bytes html = 11;</code> |
| * |
| * <pre> |
| * the produced html report |
| * </pre> |
| */ |
| java.util.List<com.google.protobuf.ByteString> getHtmlList(); |
| /** |
| * <code>repeated bytes html = 11;</code> |
| * |
| * <pre> |
| * the produced html report |
| * </pre> |
| */ |
| int getHtmlCount(); |
| /** |
| * <code>repeated bytes html = 11;</code> |
| * |
| * <pre> |
| * the produced html report |
| * </pre> |
| */ |
| com.google.protobuf.ByteString getHtml(int index); |
| |
| // repeated bytes url = 21; |
| /** |
| * <code>repeated bytes url = 21;</code> |
| * |
| * <pre> |
| * URLs of the produced html reports |
| * </pre> |
| */ |
| java.util.List<com.google.protobuf.ByteString> getUrlList(); |
| /** |
| * <code>repeated bytes url = 21;</code> |
| * |
| * <pre> |
| * URLs of the produced html reports |
| * </pre> |
| */ |
| int getUrlCount(); |
| /** |
| * <code>repeated bytes url = 21;</code> |
| * |
| * <pre> |
| * URLs of the produced html reports |
| * </pre> |
| */ |
| com.google.protobuf.ByteString getUrl(int index); |
| } |
| /** |
| * Protobuf type {@code android.vts.SystraceReportMessage} |
| * |
| * <pre> |
| * To specify a systrace report. |
| * </pre> |
| */ |
| public static final class SystraceReportMessage extends |
| com.google.protobuf.GeneratedMessage |
| implements SystraceReportMessageOrBuilder { |
| // Use SystraceReportMessage.newBuilder() to construct. |
| private SystraceReportMessage(com.google.protobuf.GeneratedMessage.Builder<?> builder) { |
| super(builder); |
| this.unknownFields = builder.getUnknownFields(); |
| } |
| private SystraceReportMessage(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } |
| |
| private static final SystraceReportMessage defaultInstance; |
| public static SystraceReportMessage getDefaultInstance() { |
| return defaultInstance; |
| } |
| |
| public SystraceReportMessage getDefaultInstanceForType() { |
| return defaultInstance; |
| } |
| |
| private final com.google.protobuf.UnknownFieldSet unknownFields; |
| @java.lang.Override |
| public final com.google.protobuf.UnknownFieldSet |
| getUnknownFields() { |
| return this.unknownFields; |
| } |
| private SystraceReportMessage( |
| 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; |
| processName_ = input.readBytes(); |
| break; |
| } |
| case 90: { |
| if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { |
| html_ = new java.util.ArrayList<com.google.protobuf.ByteString>(); |
| mutable_bitField0_ |= 0x00000002; |
| } |
| html_.add(input.readBytes()); |
| break; |
| } |
| case 170: { |
| if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { |
| url_ = new java.util.ArrayList<com.google.protobuf.ByteString>(); |
| mutable_bitField0_ |= 0x00000004; |
| } |
| url_.add(input.readBytes()); |
| break; |
| } |
| } |
| } |
| } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| throw e.setUnfinishedMessage(this); |
| } catch (java.io.IOException e) { |
| throw new com.google.protobuf.InvalidProtocolBufferException( |
| e.getMessage()).setUnfinishedMessage(this); |
| } finally { |
| if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { |
| html_ = java.util.Collections.unmodifiableList(html_); |
| } |
| if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { |
| url_ = java.util.Collections.unmodifiableList(url_); |
| } |
| this.unknownFields = unknownFields.build(); |
| makeExtensionsImmutable(); |
| } |
| } |
| public static final com.google.protobuf.Descriptors.Descriptor |
| getDescriptor() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_SystraceReportMessage_descriptor; |
| } |
| |
| protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internalGetFieldAccessorTable() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_SystraceReportMessage_fieldAccessorTable |
| .ensureFieldAccessorsInitialized( |
| com.android.vts.proto.VtsReportMessage.SystraceReportMessage.class, com.android.vts.proto.VtsReportMessage.SystraceReportMessage.Builder.class); |
| } |
| |
| public static com.google.protobuf.Parser<SystraceReportMessage> PARSER = |
| new com.google.protobuf.AbstractParser<SystraceReportMessage>() { |
| public SystraceReportMessage parsePartialFrom( |
| com.google.protobuf.CodedInputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return new SystraceReportMessage(input, extensionRegistry); |
| } |
| }; |
| |
| @java.lang.Override |
| public com.google.protobuf.Parser<SystraceReportMessage> getParserForType() { |
| return PARSER; |
| } |
| |
| private int bitField0_; |
| // optional bytes process_name = 1; |
| public static final int PROCESS_NAME_FIELD_NUMBER = 1; |
| private com.google.protobuf.ByteString processName_; |
| /** |
| * <code>optional bytes process_name = 1;</code> |
| * |
| * <pre> |
| * the target process name used by systrace |
| * </pre> |
| */ |
| public boolean hasProcessName() { |
| return ((bitField0_ & 0x00000001) == 0x00000001); |
| } |
| /** |
| * <code>optional bytes process_name = 1;</code> |
| * |
| * <pre> |
| * the target process name used by systrace |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getProcessName() { |
| return processName_; |
| } |
| |
| // repeated bytes html = 11; |
| public static final int HTML_FIELD_NUMBER = 11; |
| private java.util.List<com.google.protobuf.ByteString> html_; |
| /** |
| * <code>repeated bytes html = 11;</code> |
| * |
| * <pre> |
| * the produced html report |
| * </pre> |
| */ |
| public java.util.List<com.google.protobuf.ByteString> |
| getHtmlList() { |
| return html_; |
| } |
| /** |
| * <code>repeated bytes html = 11;</code> |
| * |
| * <pre> |
| * the produced html report |
| * </pre> |
| */ |
| public int getHtmlCount() { |
| return html_.size(); |
| } |
| /** |
| * <code>repeated bytes html = 11;</code> |
| * |
| * <pre> |
| * the produced html report |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getHtml(int index) { |
| return html_.get(index); |
| } |
| |
| // repeated bytes url = 21; |
| public static final int URL_FIELD_NUMBER = 21; |
| private java.util.List<com.google.protobuf.ByteString> url_; |
| /** |
| * <code>repeated bytes url = 21;</code> |
| * |
| * <pre> |
| * URLs of the produced html reports |
| * </pre> |
| */ |
| public java.util.List<com.google.protobuf.ByteString> |
| getUrlList() { |
| return url_; |
| } |
| /** |
| * <code>repeated bytes url = 21;</code> |
| * |
| * <pre> |
| * URLs of the produced html reports |
| * </pre> |
| */ |
| public int getUrlCount() { |
| return url_.size(); |
| } |
| /** |
| * <code>repeated bytes url = 21;</code> |
| * |
| * <pre> |
| * URLs of the produced html reports |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getUrl(int index) { |
| return url_.get(index); |
| } |
| |
| private void initFields() { |
| processName_ = com.google.protobuf.ByteString.EMPTY; |
| html_ = java.util.Collections.emptyList(); |
| url_ = 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, processName_); |
| } |
| for (int i = 0; i < html_.size(); i++) { |
| output.writeBytes(11, html_.get(i)); |
| } |
| for (int i = 0; i < url_.size(); i++) { |
| output.writeBytes(21, url_.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, processName_); |
| } |
| { |
| int dataSize = 0; |
| for (int i = 0; i < html_.size(); i++) { |
| dataSize += com.google.protobuf.CodedOutputStream |
| .computeBytesSizeNoTag(html_.get(i)); |
| } |
| size += dataSize; |
| size += 1 * getHtmlList().size(); |
| } |
| { |
| int dataSize = 0; |
| for (int i = 0; i < url_.size(); i++) { |
| dataSize += com.google.protobuf.CodedOutputStream |
| .computeBytesSizeNoTag(url_.get(i)); |
| } |
| size += dataSize; |
| size += 2 * getUrlList().size(); |
| } |
| size += getUnknownFields().getSerializedSize(); |
| memoizedSerializedSize = size; |
| return size; |
| } |
| |
| private static final long serialVersionUID = 0L; |
| @java.lang.Override |
| protected java.lang.Object writeReplace() |
| throws java.io.ObjectStreamException { |
| return super.writeReplace(); |
| } |
| |
| public static com.android.vts.proto.VtsReportMessage.SystraceReportMessage parseFrom( |
| com.google.protobuf.ByteString data) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data); |
| } |
| public static com.android.vts.proto.VtsReportMessage.SystraceReportMessage parseFrom( |
| com.google.protobuf.ByteString data, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.SystraceReportMessage parseFrom(byte[] data) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data); |
| } |
| public static com.android.vts.proto.VtsReportMessage.SystraceReportMessage parseFrom( |
| byte[] data, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.SystraceReportMessage parseFrom(java.io.InputStream input) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input); |
| } |
| public static com.android.vts.proto.VtsReportMessage.SystraceReportMessage parseFrom( |
| java.io.InputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.SystraceReportMessage parseDelimitedFrom(java.io.InputStream input) |
| throws java.io.IOException { |
| return PARSER.parseDelimitedFrom(input); |
| } |
| public static com.android.vts.proto.VtsReportMessage.SystraceReportMessage parseDelimitedFrom( |
| java.io.InputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| return PARSER.parseDelimitedFrom(input, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.SystraceReportMessage parseFrom( |
| com.google.protobuf.CodedInputStream input) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input); |
| } |
| public static com.android.vts.proto.VtsReportMessage.SystraceReportMessage 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.android.vts.proto.VtsReportMessage.SystraceReportMessage 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.vts.SystraceReportMessage} |
| * |
| * <pre> |
| * To specify a systrace report. |
| * </pre> |
| */ |
| public static final class Builder extends |
| com.google.protobuf.GeneratedMessage.Builder<Builder> |
| implements com.android.vts.proto.VtsReportMessage.SystraceReportMessageOrBuilder { |
| public static final com.google.protobuf.Descriptors.Descriptor |
| getDescriptor() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_SystraceReportMessage_descriptor; |
| } |
| |
| protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internalGetFieldAccessorTable() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_SystraceReportMessage_fieldAccessorTable |
| .ensureFieldAccessorsInitialized( |
| com.android.vts.proto.VtsReportMessage.SystraceReportMessage.class, com.android.vts.proto.VtsReportMessage.SystraceReportMessage.Builder.class); |
| } |
| |
| // Construct using com.android.vts.proto.VtsReportMessage.SystraceReportMessage.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(); |
| processName_ = com.google.protobuf.ByteString.EMPTY; |
| bitField0_ = (bitField0_ & ~0x00000001); |
| html_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000002); |
| url_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000004); |
| return this; |
| } |
| |
| public Builder clone() { |
| return create().mergeFrom(buildPartial()); |
| } |
| |
| public com.google.protobuf.Descriptors.Descriptor |
| getDescriptorForType() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_SystraceReportMessage_descriptor; |
| } |
| |
| public com.android.vts.proto.VtsReportMessage.SystraceReportMessage getDefaultInstanceForType() { |
| return com.android.vts.proto.VtsReportMessage.SystraceReportMessage.getDefaultInstance(); |
| } |
| |
| public com.android.vts.proto.VtsReportMessage.SystraceReportMessage build() { |
| com.android.vts.proto.VtsReportMessage.SystraceReportMessage result = buildPartial(); |
| if (!result.isInitialized()) { |
| throw newUninitializedMessageException(result); |
| } |
| return result; |
| } |
| |
| public com.android.vts.proto.VtsReportMessage.SystraceReportMessage buildPartial() { |
| com.android.vts.proto.VtsReportMessage.SystraceReportMessage result = new com.android.vts.proto.VtsReportMessage.SystraceReportMessage(this); |
| int from_bitField0_ = bitField0_; |
| int to_bitField0_ = 0; |
| if (((from_bitField0_ & 0x00000001) == 0x00000001)) { |
| to_bitField0_ |= 0x00000001; |
| } |
| result.processName_ = processName_; |
| if (((bitField0_ & 0x00000002) == 0x00000002)) { |
| html_ = java.util.Collections.unmodifiableList(html_); |
| bitField0_ = (bitField0_ & ~0x00000002); |
| } |
| result.html_ = html_; |
| if (((bitField0_ & 0x00000004) == 0x00000004)) { |
| url_ = java.util.Collections.unmodifiableList(url_); |
| bitField0_ = (bitField0_ & ~0x00000004); |
| } |
| result.url_ = url_; |
| result.bitField0_ = to_bitField0_; |
| onBuilt(); |
| return result; |
| } |
| |
| public Builder mergeFrom(com.google.protobuf.Message other) { |
| if (other instanceof com.android.vts.proto.VtsReportMessage.SystraceReportMessage) { |
| return mergeFrom((com.android.vts.proto.VtsReportMessage.SystraceReportMessage)other); |
| } else { |
| super.mergeFrom(other); |
| return this; |
| } |
| } |
| |
| public Builder mergeFrom(com.android.vts.proto.VtsReportMessage.SystraceReportMessage other) { |
| if (other == com.android.vts.proto.VtsReportMessage.SystraceReportMessage.getDefaultInstance()) return this; |
| if (other.hasProcessName()) { |
| setProcessName(other.getProcessName()); |
| } |
| if (!other.html_.isEmpty()) { |
| if (html_.isEmpty()) { |
| html_ = other.html_; |
| bitField0_ = (bitField0_ & ~0x00000002); |
| } else { |
| ensureHtmlIsMutable(); |
| html_.addAll(other.html_); |
| } |
| onChanged(); |
| } |
| if (!other.url_.isEmpty()) { |
| if (url_.isEmpty()) { |
| url_ = other.url_; |
| bitField0_ = (bitField0_ & ~0x00000004); |
| } else { |
| ensureUrlIsMutable(); |
| url_.addAll(other.url_); |
| } |
| 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.android.vts.proto.VtsReportMessage.SystraceReportMessage parsedMessage = null; |
| try { |
| parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); |
| } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| parsedMessage = (com.android.vts.proto.VtsReportMessage.SystraceReportMessage) e.getUnfinishedMessage(); |
| throw e; |
| } finally { |
| if (parsedMessage != null) { |
| mergeFrom(parsedMessage); |
| } |
| } |
| return this; |
| } |
| private int bitField0_; |
| |
| // optional bytes process_name = 1; |
| private com.google.protobuf.ByteString processName_ = com.google.protobuf.ByteString.EMPTY; |
| /** |
| * <code>optional bytes process_name = 1;</code> |
| * |
| * <pre> |
| * the target process name used by systrace |
| * </pre> |
| */ |
| public boolean hasProcessName() { |
| return ((bitField0_ & 0x00000001) == 0x00000001); |
| } |
| /** |
| * <code>optional bytes process_name = 1;</code> |
| * |
| * <pre> |
| * the target process name used by systrace |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getProcessName() { |
| return processName_; |
| } |
| /** |
| * <code>optional bytes process_name = 1;</code> |
| * |
| * <pre> |
| * the target process name used by systrace |
| * </pre> |
| */ |
| public Builder setProcessName(com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000001; |
| processName_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional bytes process_name = 1;</code> |
| * |
| * <pre> |
| * the target process name used by systrace |
| * </pre> |
| */ |
| public Builder clearProcessName() { |
| bitField0_ = (bitField0_ & ~0x00000001); |
| processName_ = getDefaultInstance().getProcessName(); |
| onChanged(); |
| return this; |
| } |
| |
| // repeated bytes html = 11; |
| private java.util.List<com.google.protobuf.ByteString> html_ = java.util.Collections.emptyList(); |
| private void ensureHtmlIsMutable() { |
| if (!((bitField0_ & 0x00000002) == 0x00000002)) { |
| html_ = new java.util.ArrayList<com.google.protobuf.ByteString>(html_); |
| bitField0_ |= 0x00000002; |
| } |
| } |
| /** |
| * <code>repeated bytes html = 11;</code> |
| * |
| * <pre> |
| * the produced html report |
| * </pre> |
| */ |
| public java.util.List<com.google.protobuf.ByteString> |
| getHtmlList() { |
| return java.util.Collections.unmodifiableList(html_); |
| } |
| /** |
| * <code>repeated bytes html = 11;</code> |
| * |
| * <pre> |
| * the produced html report |
| * </pre> |
| */ |
| public int getHtmlCount() { |
| return html_.size(); |
| } |
| /** |
| * <code>repeated bytes html = 11;</code> |
| * |
| * <pre> |
| * the produced html report |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getHtml(int index) { |
| return html_.get(index); |
| } |
| /** |
| * <code>repeated bytes html = 11;</code> |
| * |
| * <pre> |
| * the produced html report |
| * </pre> |
| */ |
| public Builder setHtml( |
| int index, com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureHtmlIsMutable(); |
| html_.set(index, value); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>repeated bytes html = 11;</code> |
| * |
| * <pre> |
| * the produced html report |
| * </pre> |
| */ |
| public Builder addHtml(com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureHtmlIsMutable(); |
| html_.add(value); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>repeated bytes html = 11;</code> |
| * |
| * <pre> |
| * the produced html report |
| * </pre> |
| */ |
| public Builder addAllHtml( |
| java.lang.Iterable<? extends com.google.protobuf.ByteString> values) { |
| ensureHtmlIsMutable(); |
| super.addAll(values, html_); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>repeated bytes html = 11;</code> |
| * |
| * <pre> |
| * the produced html report |
| * </pre> |
| */ |
| public Builder clearHtml() { |
| html_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000002); |
| onChanged(); |
| return this; |
| } |
| |
| // repeated bytes url = 21; |
| private java.util.List<com.google.protobuf.ByteString> url_ = java.util.Collections.emptyList(); |
| private void ensureUrlIsMutable() { |
| if (!((bitField0_ & 0x00000004) == 0x00000004)) { |
| url_ = new java.util.ArrayList<com.google.protobuf.ByteString>(url_); |
| bitField0_ |= 0x00000004; |
| } |
| } |
| /** |
| * <code>repeated bytes url = 21;</code> |
| * |
| * <pre> |
| * URLs of the produced html reports |
| * </pre> |
| */ |
| public java.util.List<com.google.protobuf.ByteString> |
| getUrlList() { |
| return java.util.Collections.unmodifiableList(url_); |
| } |
| /** |
| * <code>repeated bytes url = 21;</code> |
| * |
| * <pre> |
| * URLs of the produced html reports |
| * </pre> |
| */ |
| public int getUrlCount() { |
| return url_.size(); |
| } |
| /** |
| * <code>repeated bytes url = 21;</code> |
| * |
| * <pre> |
| * URLs of the produced html reports |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getUrl(int index) { |
| return url_.get(index); |
| } |
| /** |
| * <code>repeated bytes url = 21;</code> |
| * |
| * <pre> |
| * URLs of the produced html reports |
| * </pre> |
| */ |
| public Builder setUrl( |
| int index, com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureUrlIsMutable(); |
| url_.set(index, value); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>repeated bytes url = 21;</code> |
| * |
| * <pre> |
| * URLs of the produced html reports |
| * </pre> |
| */ |
| public Builder addUrl(com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureUrlIsMutable(); |
| url_.add(value); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>repeated bytes url = 21;</code> |
| * |
| * <pre> |
| * URLs of the produced html reports |
| * </pre> |
| */ |
| public Builder addAllUrl( |
| java.lang.Iterable<? extends com.google.protobuf.ByteString> values) { |
| ensureUrlIsMutable(); |
| super.addAll(values, url_); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>repeated bytes url = 21;</code> |
| * |
| * <pre> |
| * URLs of the produced html reports |
| * </pre> |
| */ |
| public Builder clearUrl() { |
| url_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000004); |
| onChanged(); |
| return this; |
| } |
| |
| // @@protoc_insertion_point(builder_scope:android.vts.SystraceReportMessage) |
| } |
| |
| static { |
| defaultInstance = new SystraceReportMessage(true); |
| defaultInstance.initFields(); |
| } |
| |
| // @@protoc_insertion_point(class_scope:android.vts.SystraceReportMessage) |
| } |
| |
| public interface CoverageReportMessageOrBuilder |
| extends com.google.protobuf.MessageOrBuilder { |
| |
| // optional bytes file_path = 11; |
| /** |
| * <code>optional bytes file_path = 11;</code> |
| * |
| * <pre> |
| * the path to the source file from the project root. |
| * </pre> |
| */ |
| boolean hasFilePath(); |
| /** |
| * <code>optional bytes file_path = 11;</code> |
| * |
| * <pre> |
| * the path to the source file from the project root. |
| * </pre> |
| */ |
| com.google.protobuf.ByteString getFilePath(); |
| |
| // optional bytes project_name = 12; |
| /** |
| * <code>optional bytes project_name = 12;</code> |
| * |
| * <pre> |
| * the name of the project where the file can be found |
| * </pre> |
| */ |
| boolean hasProjectName(); |
| /** |
| * <code>optional bytes project_name = 12;</code> |
| * |
| * <pre> |
| * the name of the project where the file can be found |
| * </pre> |
| */ |
| com.google.protobuf.ByteString getProjectName(); |
| |
| // optional bytes revision = 13; |
| /** |
| * <code>optional bytes revision = 13;</code> |
| * |
| * <pre> |
| * the commit ID identifying the code revision |
| * </pre> |
| */ |
| boolean hasRevision(); |
| /** |
| * <code>optional bytes revision = 13;</code> |
| * |
| * <pre> |
| * the commit ID identifying the code revision |
| * </pre> |
| */ |
| com.google.protobuf.ByteString getRevision(); |
| |
| // repeated int32 line_coverage_vector = 23; |
| /** |
| * <code>repeated int32 line_coverage_vector = 23;</code> |
| * |
| * <pre> |
| * i-th element gives the number of times i-th line is executed. |
| * </pre> |
| */ |
| java.util.List<java.lang.Integer> getLineCoverageVectorList(); |
| /** |
| * <code>repeated int32 line_coverage_vector = 23;</code> |
| * |
| * <pre> |
| * i-th element gives the number of times i-th line is executed. |
| * </pre> |
| */ |
| int getLineCoverageVectorCount(); |
| /** |
| * <code>repeated int32 line_coverage_vector = 23;</code> |
| * |
| * <pre> |
| * i-th element gives the number of times i-th line is executed. |
| * </pre> |
| */ |
| int getLineCoverageVector(int index); |
| |
| // optional int32 total_line_count = 101; |
| /** |
| * <code>optional int32 total_line_count = 101;</code> |
| * |
| * <pre> |
| * the number of source code lines that are instrumented for code coverage |
| * measurement. |
| * </pre> |
| */ |
| boolean hasTotalLineCount(); |
| /** |
| * <code>optional int32 total_line_count = 101;</code> |
| * |
| * <pre> |
| * the number of source code lines that are instrumented for code coverage |
| * measurement. |
| * </pre> |
| */ |
| int getTotalLineCount(); |
| |
| // optional int32 covered_line_count = 102; |
| /** |
| * <code>optional int32 covered_line_count = 102;</code> |
| * |
| * <pre> |
| * the number of source code lines that are executed. |
| * </pre> |
| */ |
| boolean hasCoveredLineCount(); |
| /** |
| * <code>optional int32 covered_line_count = 102;</code> |
| * |
| * <pre> |
| * the number of source code lines that are executed. |
| * </pre> |
| */ |
| int getCoveredLineCount(); |
| |
| // optional bytes dir_path = 1 [deprecated = true]; |
| /** |
| * <code>optional bytes dir_path = 1 [deprecated = true];</code> |
| * |
| * <pre> |
| * TODO(ryanjcampbell@) delete deprecated field |
| * the directory path of a source file. |
| * </pre> |
| */ |
| @java.lang.Deprecated boolean hasDirPath(); |
| /** |
| * <code>optional bytes dir_path = 1 [deprecated = true];</code> |
| * |
| * <pre> |
| * TODO(ryanjcampbell@) delete deprecated field |
| * the directory path of a source file. |
| * </pre> |
| */ |
| @java.lang.Deprecated com.google.protobuf.ByteString getDirPath(); |
| |
| // optional bytes file_name = 2 [deprecated = true]; |
| /** |
| * <code>optional bytes file_name = 2 [deprecated = true];</code> |
| * |
| * <pre> |
| * TODO(ryanjcampbell@) delete deprecated field |
| * the name of the source file. |
| * </pre> |
| */ |
| @java.lang.Deprecated boolean hasFileName(); |
| /** |
| * <code>optional bytes file_name = 2 [deprecated = true];</code> |
| * |
| * <pre> |
| * TODO(ryanjcampbell@) delete deprecated field |
| * the name of the source file. |
| * </pre> |
| */ |
| @java.lang.Deprecated com.google.protobuf.ByteString getFileName(); |
| |
| // optional bytes html = 3 [deprecated = true]; |
| /** |
| * <code>optional bytes html = 3 [deprecated = true];</code> |
| * |
| * <pre> |
| * TODO(ryanjcampbell@) delete deprecated field |
| * produced html report. |
| * </pre> |
| */ |
| @java.lang.Deprecated boolean hasHtml(); |
| /** |
| * <code>optional bytes html = 3 [deprecated = true];</code> |
| * |
| * <pre> |
| * TODO(ryanjcampbell@) delete deprecated field |
| * produced html report. |
| * </pre> |
| */ |
| @java.lang.Deprecated com.google.protobuf.ByteString getHtml(); |
| } |
| /** |
| * Protobuf type {@code android.vts.CoverageReportMessage} |
| * |
| * <pre> |
| * To specify a coverage report. |
| * </pre> |
| */ |
| public static final class CoverageReportMessage extends |
| com.google.protobuf.GeneratedMessage |
| implements CoverageReportMessageOrBuilder { |
| // Use CoverageReportMessage.newBuilder() to construct. |
| private CoverageReportMessage(com.google.protobuf.GeneratedMessage.Builder<?> builder) { |
| super(builder); |
| this.unknownFields = builder.getUnknownFields(); |
| } |
| private CoverageReportMessage(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } |
| |
| private static final CoverageReportMessage defaultInstance; |
| public static CoverageReportMessage getDefaultInstance() { |
| return defaultInstance; |
| } |
| |
| public CoverageReportMessage getDefaultInstanceForType() { |
| return defaultInstance; |
| } |
| |
| private final com.google.protobuf.UnknownFieldSet unknownFields; |
| @java.lang.Override |
| public final com.google.protobuf.UnknownFieldSet |
| getUnknownFields() { |
| return this.unknownFields; |
| } |
| private CoverageReportMessage( |
| 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_ |= 0x00000020; |
| dirPath_ = input.readBytes(); |
| break; |
| } |
| case 18: { |
| bitField0_ |= 0x00000040; |
| fileName_ = input.readBytes(); |
| break; |
| } |
| case 26: { |
| bitField0_ |= 0x00000080; |
| html_ = input.readBytes(); |
| break; |
| } |
| case 90: { |
| bitField0_ |= 0x00000001; |
| filePath_ = input.readBytes(); |
| break; |
| } |
| case 98: { |
| bitField0_ |= 0x00000002; |
| projectName_ = input.readBytes(); |
| break; |
| } |
| case 106: { |
| bitField0_ |= 0x00000004; |
| revision_ = input.readBytes(); |
| break; |
| } |
| case 184: { |
| if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { |
| lineCoverageVector_ = new java.util.ArrayList<java.lang.Integer>(); |
| mutable_bitField0_ |= 0x00000008; |
| } |
| lineCoverageVector_.add(input.readInt32()); |
| break; |
| } |
| case 186: { |
| int length = input.readRawVarint32(); |
| int limit = input.pushLimit(length); |
| if (!((mutable_bitField0_ & 0x00000008) == 0x00000008) && input.getBytesUntilLimit() > 0) { |
| lineCoverageVector_ = new java.util.ArrayList<java.lang.Integer>(); |
| mutable_bitField0_ |= 0x00000008; |
| } |
| while (input.getBytesUntilLimit() > 0) { |
| lineCoverageVector_.add(input.readInt32()); |
| } |
| input.popLimit(limit); |
| break; |
| } |
| case 808: { |
| bitField0_ |= 0x00000008; |
| totalLineCount_ = input.readInt32(); |
| break; |
| } |
| case 816: { |
| bitField0_ |= 0x00000010; |
| coveredLineCount_ = input.readInt32(); |
| break; |
| } |
| } |
| } |
| } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| throw e.setUnfinishedMessage(this); |
| } catch (java.io.IOException e) { |
| throw new com.google.protobuf.InvalidProtocolBufferException( |
| e.getMessage()).setUnfinishedMessage(this); |
| } finally { |
| if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { |
| lineCoverageVector_ = java.util.Collections.unmodifiableList(lineCoverageVector_); |
| } |
| this.unknownFields = unknownFields.build(); |
| makeExtensionsImmutable(); |
| } |
| } |
| public static final com.google.protobuf.Descriptors.Descriptor |
| getDescriptor() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_CoverageReportMessage_descriptor; |
| } |
| |
| protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internalGetFieldAccessorTable() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_CoverageReportMessage_fieldAccessorTable |
| .ensureFieldAccessorsInitialized( |
| com.android.vts.proto.VtsReportMessage.CoverageReportMessage.class, com.android.vts.proto.VtsReportMessage.CoverageReportMessage.Builder.class); |
| } |
| |
| public static com.google.protobuf.Parser<CoverageReportMessage> PARSER = |
| new com.google.protobuf.AbstractParser<CoverageReportMessage>() { |
| public CoverageReportMessage parsePartialFrom( |
| com.google.protobuf.CodedInputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return new CoverageReportMessage(input, extensionRegistry); |
| } |
| }; |
| |
| @java.lang.Override |
| public com.google.protobuf.Parser<CoverageReportMessage> getParserForType() { |
| return PARSER; |
| } |
| |
| private int bitField0_; |
| // optional bytes file_path = 11; |
| public static final int FILE_PATH_FIELD_NUMBER = 11; |
| private com.google.protobuf.ByteString filePath_; |
| /** |
| * <code>optional bytes file_path = 11;</code> |
| * |
| * <pre> |
| * the path to the source file from the project root. |
| * </pre> |
| */ |
| public boolean hasFilePath() { |
| return ((bitField0_ & 0x00000001) == 0x00000001); |
| } |
| /** |
| * <code>optional bytes file_path = 11;</code> |
| * |
| * <pre> |
| * the path to the source file from the project root. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getFilePath() { |
| return filePath_; |
| } |
| |
| // optional bytes project_name = 12; |
| public static final int PROJECT_NAME_FIELD_NUMBER = 12; |
| private com.google.protobuf.ByteString projectName_; |
| /** |
| * <code>optional bytes project_name = 12;</code> |
| * |
| * <pre> |
| * the name of the project where the file can be found |
| * </pre> |
| */ |
| public boolean hasProjectName() { |
| return ((bitField0_ & 0x00000002) == 0x00000002); |
| } |
| /** |
| * <code>optional bytes project_name = 12;</code> |
| * |
| * <pre> |
| * the name of the project where the file can be found |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getProjectName() { |
| return projectName_; |
| } |
| |
| // optional bytes revision = 13; |
| public static final int REVISION_FIELD_NUMBER = 13; |
| private com.google.protobuf.ByteString revision_; |
| /** |
| * <code>optional bytes revision = 13;</code> |
| * |
| * <pre> |
| * the commit ID identifying the code revision |
| * </pre> |
| */ |
| public boolean hasRevision() { |
| return ((bitField0_ & 0x00000004) == 0x00000004); |
| } |
| /** |
| * <code>optional bytes revision = 13;</code> |
| * |
| * <pre> |
| * the commit ID identifying the code revision |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getRevision() { |
| return revision_; |
| } |
| |
| // repeated int32 line_coverage_vector = 23; |
| public static final int LINE_COVERAGE_VECTOR_FIELD_NUMBER = 23; |
| private java.util.List<java.lang.Integer> lineCoverageVector_; |
| /** |
| * <code>repeated int32 line_coverage_vector = 23;</code> |
| * |
| * <pre> |
| * i-th element gives the number of times i-th line is executed. |
| * </pre> |
| */ |
| public java.util.List<java.lang.Integer> |
| getLineCoverageVectorList() { |
| return lineCoverageVector_; |
| } |
| /** |
| * <code>repeated int32 line_coverage_vector = 23;</code> |
| * |
| * <pre> |
| * i-th element gives the number of times i-th line is executed. |
| * </pre> |
| */ |
| public int getLineCoverageVectorCount() { |
| return lineCoverageVector_.size(); |
| } |
| /** |
| * <code>repeated int32 line_coverage_vector = 23;</code> |
| * |
| * <pre> |
| * i-th element gives the number of times i-th line is executed. |
| * </pre> |
| */ |
| public int getLineCoverageVector(int index) { |
| return lineCoverageVector_.get(index); |
| } |
| |
| // optional int32 total_line_count = 101; |
| public static final int TOTAL_LINE_COUNT_FIELD_NUMBER = 101; |
| private int totalLineCount_; |
| /** |
| * <code>optional int32 total_line_count = 101;</code> |
| * |
| * <pre> |
| * the number of source code lines that are instrumented for code coverage |
| * measurement. |
| * </pre> |
| */ |
| public boolean hasTotalLineCount() { |
| return ((bitField0_ & 0x00000008) == 0x00000008); |
| } |
| /** |
| * <code>optional int32 total_line_count = 101;</code> |
| * |
| * <pre> |
| * the number of source code lines that are instrumented for code coverage |
| * measurement. |
| * </pre> |
| */ |
| public int getTotalLineCount() { |
| return totalLineCount_; |
| } |
| |
| // optional int32 covered_line_count = 102; |
| public static final int COVERED_LINE_COUNT_FIELD_NUMBER = 102; |
| private int coveredLineCount_; |
| /** |
| * <code>optional int32 covered_line_count = 102;</code> |
| * |
| * <pre> |
| * the number of source code lines that are executed. |
| * </pre> |
| */ |
| public boolean hasCoveredLineCount() { |
| return ((bitField0_ & 0x00000010) == 0x00000010); |
| } |
| /** |
| * <code>optional int32 covered_line_count = 102;</code> |
| * |
| * <pre> |
| * the number of source code lines that are executed. |
| * </pre> |
| */ |
| public int getCoveredLineCount() { |
| return coveredLineCount_; |
| } |
| |
| // optional bytes dir_path = 1 [deprecated = true]; |
| public static final int DIR_PATH_FIELD_NUMBER = 1; |
| private com.google.protobuf.ByteString dirPath_; |
| /** |
| * <code>optional bytes dir_path = 1 [deprecated = true];</code> |
| * |
| * <pre> |
| * TODO(ryanjcampbell@) delete deprecated field |
| * the directory path of a source file. |
| * </pre> |
| */ |
| @java.lang.Deprecated public boolean hasDirPath() { |
| return ((bitField0_ & 0x00000020) == 0x00000020); |
| } |
| /** |
| * <code>optional bytes dir_path = 1 [deprecated = true];</code> |
| * |
| * <pre> |
| * TODO(ryanjcampbell@) delete deprecated field |
| * the directory path of a source file. |
| * </pre> |
| */ |
| @java.lang.Deprecated public com.google.protobuf.ByteString getDirPath() { |
| return dirPath_; |
| } |
| |
| // optional bytes file_name = 2 [deprecated = true]; |
| public static final int FILE_NAME_FIELD_NUMBER = 2; |
| private com.google.protobuf.ByteString fileName_; |
| /** |
| * <code>optional bytes file_name = 2 [deprecated = true];</code> |
| * |
| * <pre> |
| * TODO(ryanjcampbell@) delete deprecated field |
| * the name of the source file. |
| * </pre> |
| */ |
| @java.lang.Deprecated public boolean hasFileName() { |
| return ((bitField0_ & 0x00000040) == 0x00000040); |
| } |
| /** |
| * <code>optional bytes file_name = 2 [deprecated = true];</code> |
| * |
| * <pre> |
| * TODO(ryanjcampbell@) delete deprecated field |
| * the name of the source file. |
| * </pre> |
| */ |
| @java.lang.Deprecated public com.google.protobuf.ByteString getFileName() { |
| return fileName_; |
| } |
| |
| // optional bytes html = 3 [deprecated = true]; |
| public static final int HTML_FIELD_NUMBER = 3; |
| private com.google.protobuf.ByteString html_; |
| /** |
| * <code>optional bytes html = 3 [deprecated = true];</code> |
| * |
| * <pre> |
| * TODO(ryanjcampbell@) delete deprecated field |
| * produced html report. |
| * </pre> |
| */ |
| @java.lang.Deprecated public boolean hasHtml() { |
| return ((bitField0_ & 0x00000080) == 0x00000080); |
| } |
| /** |
| * <code>optional bytes html = 3 [deprecated = true];</code> |
| * |
| * <pre> |
| * TODO(ryanjcampbell@) delete deprecated field |
| * produced html report. |
| * </pre> |
| */ |
| @java.lang.Deprecated public com.google.protobuf.ByteString getHtml() { |
| return html_; |
| } |
| |
| private void initFields() { |
| filePath_ = com.google.protobuf.ByteString.EMPTY; |
| projectName_ = com.google.protobuf.ByteString.EMPTY; |
| revision_ = com.google.protobuf.ByteString.EMPTY; |
| lineCoverageVector_ = java.util.Collections.emptyList(); |
| totalLineCount_ = 0; |
| coveredLineCount_ = 0; |
| dirPath_ = com.google.protobuf.ByteString.EMPTY; |
| fileName_ = com.google.protobuf.ByteString.EMPTY; |
| html_ = com.google.protobuf.ByteString.EMPTY; |
| } |
| private byte memoizedIsInitialized = -1; |
| public final boolean isInitialized() { |
| byte isInitialized = memoizedIsInitialized; |
| if (isInitialized != -1) return isInitialized == 1; |
| |
| memoizedIsInitialized = 1; |
| return true; |
| } |
| |
| public void writeTo(com.google.protobuf.CodedOutputStream output) |
| throws java.io.IOException { |
| getSerializedSize(); |
| if (((bitField0_ & 0x00000020) == 0x00000020)) { |
| output.writeBytes(1, dirPath_); |
| } |
| if (((bitField0_ & 0x00000040) == 0x00000040)) { |
| output.writeBytes(2, fileName_); |
| } |
| if (((bitField0_ & 0x00000080) == 0x00000080)) { |
| output.writeBytes(3, html_); |
| } |
| if (((bitField0_ & 0x00000001) == 0x00000001)) { |
| output.writeBytes(11, filePath_); |
| } |
| if (((bitField0_ & 0x00000002) == 0x00000002)) { |
| output.writeBytes(12, projectName_); |
| } |
| if (((bitField0_ & 0x00000004) == 0x00000004)) { |
| output.writeBytes(13, revision_); |
| } |
| for (int i = 0; i < lineCoverageVector_.size(); i++) { |
| output.writeInt32(23, lineCoverageVector_.get(i)); |
| } |
| if (((bitField0_ & 0x00000008) == 0x00000008)) { |
| output.writeInt32(101, totalLineCount_); |
| } |
| if (((bitField0_ & 0x00000010) == 0x00000010)) { |
| output.writeInt32(102, coveredLineCount_); |
| } |
| getUnknownFields().writeTo(output); |
| } |
| |
| private int memoizedSerializedSize = -1; |
| public int getSerializedSize() { |
| int size = memoizedSerializedSize; |
| if (size != -1) return size; |
| |
| size = 0; |
| if (((bitField0_ & 0x00000020) == 0x00000020)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(1, dirPath_); |
| } |
| if (((bitField0_ & 0x00000040) == 0x00000040)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(2, fileName_); |
| } |
| if (((bitField0_ & 0x00000080) == 0x00000080)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(3, html_); |
| } |
| if (((bitField0_ & 0x00000001) == 0x00000001)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(11, filePath_); |
| } |
| if (((bitField0_ & 0x00000002) == 0x00000002)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(12, projectName_); |
| } |
| if (((bitField0_ & 0x00000004) == 0x00000004)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(13, revision_); |
| } |
| { |
| int dataSize = 0; |
| for (int i = 0; i < lineCoverageVector_.size(); i++) { |
| dataSize += com.google.protobuf.CodedOutputStream |
| .computeInt32SizeNoTag(lineCoverageVector_.get(i)); |
| } |
| size += dataSize; |
| size += 2 * getLineCoverageVectorList().size(); |
| } |
| if (((bitField0_ & 0x00000008) == 0x00000008)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeInt32Size(101, totalLineCount_); |
| } |
| if (((bitField0_ & 0x00000010) == 0x00000010)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeInt32Size(102, coveredLineCount_); |
| } |
| 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.android.vts.proto.VtsReportMessage.CoverageReportMessage parseFrom( |
| com.google.protobuf.ByteString data) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data); |
| } |
| public static com.android.vts.proto.VtsReportMessage.CoverageReportMessage parseFrom( |
| com.google.protobuf.ByteString data, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.CoverageReportMessage parseFrom(byte[] data) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data); |
| } |
| public static com.android.vts.proto.VtsReportMessage.CoverageReportMessage parseFrom( |
| byte[] data, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.CoverageReportMessage parseFrom(java.io.InputStream input) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input); |
| } |
| public static com.android.vts.proto.VtsReportMessage.CoverageReportMessage parseFrom( |
| java.io.InputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.CoverageReportMessage parseDelimitedFrom(java.io.InputStream input) |
| throws java.io.IOException { |
| return PARSER.parseDelimitedFrom(input); |
| } |
| public static com.android.vts.proto.VtsReportMessage.CoverageReportMessage parseDelimitedFrom( |
| java.io.InputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| return PARSER.parseDelimitedFrom(input, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.CoverageReportMessage parseFrom( |
| com.google.protobuf.CodedInputStream input) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input); |
| } |
| public static com.android.vts.proto.VtsReportMessage.CoverageReportMessage 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.android.vts.proto.VtsReportMessage.CoverageReportMessage 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.vts.CoverageReportMessage} |
| * |
| * <pre> |
| * To specify a coverage report. |
| * </pre> |
| */ |
| public static final class Builder extends |
| com.google.protobuf.GeneratedMessage.Builder<Builder> |
| implements com.android.vts.proto.VtsReportMessage.CoverageReportMessageOrBuilder { |
| public static final com.google.protobuf.Descriptors.Descriptor |
| getDescriptor() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_CoverageReportMessage_descriptor; |
| } |
| |
| protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internalGetFieldAccessorTable() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_CoverageReportMessage_fieldAccessorTable |
| .ensureFieldAccessorsInitialized( |
| com.android.vts.proto.VtsReportMessage.CoverageReportMessage.class, com.android.vts.proto.VtsReportMessage.CoverageReportMessage.Builder.class); |
| } |
| |
| // Construct using com.android.vts.proto.VtsReportMessage.CoverageReportMessage.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(); |
| filePath_ = com.google.protobuf.ByteString.EMPTY; |
| bitField0_ = (bitField0_ & ~0x00000001); |
| projectName_ = com.google.protobuf.ByteString.EMPTY; |
| bitField0_ = (bitField0_ & ~0x00000002); |
| revision_ = com.google.protobuf.ByteString.EMPTY; |
| bitField0_ = (bitField0_ & ~0x00000004); |
| lineCoverageVector_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000008); |
| totalLineCount_ = 0; |
| bitField0_ = (bitField0_ & ~0x00000010); |
| coveredLineCount_ = 0; |
| bitField0_ = (bitField0_ & ~0x00000020); |
| dirPath_ = com.google.protobuf.ByteString.EMPTY; |
| bitField0_ = (bitField0_ & ~0x00000040); |
| fileName_ = com.google.protobuf.ByteString.EMPTY; |
| bitField0_ = (bitField0_ & ~0x00000080); |
| html_ = com.google.protobuf.ByteString.EMPTY; |
| bitField0_ = (bitField0_ & ~0x00000100); |
| return this; |
| } |
| |
| public Builder clone() { |
| return create().mergeFrom(buildPartial()); |
| } |
| |
| public com.google.protobuf.Descriptors.Descriptor |
| getDescriptorForType() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_CoverageReportMessage_descriptor; |
| } |
| |
| public com.android.vts.proto.VtsReportMessage.CoverageReportMessage getDefaultInstanceForType() { |
| return com.android.vts.proto.VtsReportMessage.CoverageReportMessage.getDefaultInstance(); |
| } |
| |
| public com.android.vts.proto.VtsReportMessage.CoverageReportMessage build() { |
| com.android.vts.proto.VtsReportMessage.CoverageReportMessage result = buildPartial(); |
| if (!result.isInitialized()) { |
| throw newUninitializedMessageException(result); |
| } |
| return result; |
| } |
| |
| public com.android.vts.proto.VtsReportMessage.CoverageReportMessage buildPartial() { |
| com.android.vts.proto.VtsReportMessage.CoverageReportMessage result = new com.android.vts.proto.VtsReportMessage.CoverageReportMessage(this); |
| int from_bitField0_ = bitField0_; |
| int to_bitField0_ = 0; |
| if (((from_bitField0_ & 0x00000001) == 0x00000001)) { |
| to_bitField0_ |= 0x00000001; |
| } |
| result.filePath_ = filePath_; |
| if (((from_bitField0_ & 0x00000002) == 0x00000002)) { |
| to_bitField0_ |= 0x00000002; |
| } |
| result.projectName_ = projectName_; |
| if (((from_bitField0_ & 0x00000004) == 0x00000004)) { |
| to_bitField0_ |= 0x00000004; |
| } |
| result.revision_ = revision_; |
| if (((bitField0_ & 0x00000008) == 0x00000008)) { |
| lineCoverageVector_ = java.util.Collections.unmodifiableList(lineCoverageVector_); |
| bitField0_ = (bitField0_ & ~0x00000008); |
| } |
| result.lineCoverageVector_ = lineCoverageVector_; |
| if (((from_bitField0_ & 0x00000010) == 0x00000010)) { |
| to_bitField0_ |= 0x00000008; |
| } |
| result.totalLineCount_ = totalLineCount_; |
| if (((from_bitField0_ & 0x00000020) == 0x00000020)) { |
| to_bitField0_ |= 0x00000010; |
| } |
| result.coveredLineCount_ = coveredLineCount_; |
| if (((from_bitField0_ & 0x00000040) == 0x00000040)) { |
| to_bitField0_ |= 0x00000020; |
| } |
| result.dirPath_ = dirPath_; |
| if (((from_bitField0_ & 0x00000080) == 0x00000080)) { |
| to_bitField0_ |= 0x00000040; |
| } |
| result.fileName_ = fileName_; |
| if (((from_bitField0_ & 0x00000100) == 0x00000100)) { |
| to_bitField0_ |= 0x00000080; |
| } |
| result.html_ = html_; |
| result.bitField0_ = to_bitField0_; |
| onBuilt(); |
| return result; |
| } |
| |
| public Builder mergeFrom(com.google.protobuf.Message other) { |
| if (other instanceof com.android.vts.proto.VtsReportMessage.CoverageReportMessage) { |
| return mergeFrom((com.android.vts.proto.VtsReportMessage.CoverageReportMessage)other); |
| } else { |
| super.mergeFrom(other); |
| return this; |
| } |
| } |
| |
| public Builder mergeFrom(com.android.vts.proto.VtsReportMessage.CoverageReportMessage other) { |
| if (other == com.android.vts.proto.VtsReportMessage.CoverageReportMessage.getDefaultInstance()) return this; |
| if (other.hasFilePath()) { |
| setFilePath(other.getFilePath()); |
| } |
| if (other.hasProjectName()) { |
| setProjectName(other.getProjectName()); |
| } |
| if (other.hasRevision()) { |
| setRevision(other.getRevision()); |
| } |
| if (!other.lineCoverageVector_.isEmpty()) { |
| if (lineCoverageVector_.isEmpty()) { |
| lineCoverageVector_ = other.lineCoverageVector_; |
| bitField0_ = (bitField0_ & ~0x00000008); |
| } else { |
| ensureLineCoverageVectorIsMutable(); |
| lineCoverageVector_.addAll(other.lineCoverageVector_); |
| } |
| onChanged(); |
| } |
| if (other.hasTotalLineCount()) { |
| setTotalLineCount(other.getTotalLineCount()); |
| } |
| if (other.hasCoveredLineCount()) { |
| setCoveredLineCount(other.getCoveredLineCount()); |
| } |
| if (other.hasDirPath()) { |
| setDirPath(other.getDirPath()); |
| } |
| if (other.hasFileName()) { |
| setFileName(other.getFileName()); |
| } |
| if (other.hasHtml()) { |
| setHtml(other.getHtml()); |
| } |
| 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.android.vts.proto.VtsReportMessage.CoverageReportMessage parsedMessage = null; |
| try { |
| parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); |
| } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| parsedMessage = (com.android.vts.proto.VtsReportMessage.CoverageReportMessage) e.getUnfinishedMessage(); |
| throw e; |
| } finally { |
| if (parsedMessage != null) { |
| mergeFrom(parsedMessage); |
| } |
| } |
| return this; |
| } |
| private int bitField0_; |
| |
| // optional bytes file_path = 11; |
| private com.google.protobuf.ByteString filePath_ = com.google.protobuf.ByteString.EMPTY; |
| /** |
| * <code>optional bytes file_path = 11;</code> |
| * |
| * <pre> |
| * the path to the source file from the project root. |
| * </pre> |
| */ |
| public boolean hasFilePath() { |
| return ((bitField0_ & 0x00000001) == 0x00000001); |
| } |
| /** |
| * <code>optional bytes file_path = 11;</code> |
| * |
| * <pre> |
| * the path to the source file from the project root. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getFilePath() { |
| return filePath_; |
| } |
| /** |
| * <code>optional bytes file_path = 11;</code> |
| * |
| * <pre> |
| * the path to the source file from the project root. |
| * </pre> |
| */ |
| public Builder setFilePath(com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000001; |
| filePath_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional bytes file_path = 11;</code> |
| * |
| * <pre> |
| * the path to the source file from the project root. |
| * </pre> |
| */ |
| public Builder clearFilePath() { |
| bitField0_ = (bitField0_ & ~0x00000001); |
| filePath_ = getDefaultInstance().getFilePath(); |
| onChanged(); |
| return this; |
| } |
| |
| // optional bytes project_name = 12; |
| private com.google.protobuf.ByteString projectName_ = com.google.protobuf.ByteString.EMPTY; |
| /** |
| * <code>optional bytes project_name = 12;</code> |
| * |
| * <pre> |
| * the name of the project where the file can be found |
| * </pre> |
| */ |
| public boolean hasProjectName() { |
| return ((bitField0_ & 0x00000002) == 0x00000002); |
| } |
| /** |
| * <code>optional bytes project_name = 12;</code> |
| * |
| * <pre> |
| * the name of the project where the file can be found |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getProjectName() { |
| return projectName_; |
| } |
| /** |
| * <code>optional bytes project_name = 12;</code> |
| * |
| * <pre> |
| * the name of the project where the file can be found |
| * </pre> |
| */ |
| public Builder setProjectName(com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000002; |
| projectName_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional bytes project_name = 12;</code> |
| * |
| * <pre> |
| * the name of the project where the file can be found |
| * </pre> |
| */ |
| public Builder clearProjectName() { |
| bitField0_ = (bitField0_ & ~0x00000002); |
| projectName_ = getDefaultInstance().getProjectName(); |
| onChanged(); |
| return this; |
| } |
| |
| // optional bytes revision = 13; |
| private com.google.protobuf.ByteString revision_ = com.google.protobuf.ByteString.EMPTY; |
| /** |
| * <code>optional bytes revision = 13;</code> |
| * |
| * <pre> |
| * the commit ID identifying the code revision |
| * </pre> |
| */ |
| public boolean hasRevision() { |
| return ((bitField0_ & 0x00000004) == 0x00000004); |
| } |
| /** |
| * <code>optional bytes revision = 13;</code> |
| * |
| * <pre> |
| * the commit ID identifying the code revision |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getRevision() { |
| return revision_; |
| } |
| /** |
| * <code>optional bytes revision = 13;</code> |
| * |
| * <pre> |
| * the commit ID identifying the code revision |
| * </pre> |
| */ |
| public Builder setRevision(com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000004; |
| revision_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional bytes revision = 13;</code> |
| * |
| * <pre> |
| * the commit ID identifying the code revision |
| * </pre> |
| */ |
| public Builder clearRevision() { |
| bitField0_ = (bitField0_ & ~0x00000004); |
| revision_ = getDefaultInstance().getRevision(); |
| onChanged(); |
| return this; |
| } |
| |
| // repeated int32 line_coverage_vector = 23; |
| private java.util.List<java.lang.Integer> lineCoverageVector_ = java.util.Collections.emptyList(); |
| private void ensureLineCoverageVectorIsMutable() { |
| if (!((bitField0_ & 0x00000008) == 0x00000008)) { |
| lineCoverageVector_ = new java.util.ArrayList<java.lang.Integer>(lineCoverageVector_); |
| bitField0_ |= 0x00000008; |
| } |
| } |
| /** |
| * <code>repeated int32 line_coverage_vector = 23;</code> |
| * |
| * <pre> |
| * i-th element gives the number of times i-th line is executed. |
| * </pre> |
| */ |
| public java.util.List<java.lang.Integer> |
| getLineCoverageVectorList() { |
| return java.util.Collections.unmodifiableList(lineCoverageVector_); |
| } |
| /** |
| * <code>repeated int32 line_coverage_vector = 23;</code> |
| * |
| * <pre> |
| * i-th element gives the number of times i-th line is executed. |
| * </pre> |
| */ |
| public int getLineCoverageVectorCount() { |
| return lineCoverageVector_.size(); |
| } |
| /** |
| * <code>repeated int32 line_coverage_vector = 23;</code> |
| * |
| * <pre> |
| * i-th element gives the number of times i-th line is executed. |
| * </pre> |
| */ |
| public int getLineCoverageVector(int index) { |
| return lineCoverageVector_.get(index); |
| } |
| /** |
| * <code>repeated int32 line_coverage_vector = 23;</code> |
| * |
| * <pre> |
| * i-th element gives the number of times i-th line is executed. |
| * </pre> |
| */ |
| public Builder setLineCoverageVector( |
| int index, int value) { |
| ensureLineCoverageVectorIsMutable(); |
| lineCoverageVector_.set(index, value); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>repeated int32 line_coverage_vector = 23;</code> |
| * |
| * <pre> |
| * i-th element gives the number of times i-th line is executed. |
| * </pre> |
| */ |
| public Builder addLineCoverageVector(int value) { |
| ensureLineCoverageVectorIsMutable(); |
| lineCoverageVector_.add(value); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>repeated int32 line_coverage_vector = 23;</code> |
| * |
| * <pre> |
| * i-th element gives the number of times i-th line is executed. |
| * </pre> |
| */ |
| public Builder addAllLineCoverageVector( |
| java.lang.Iterable<? extends java.lang.Integer> values) { |
| ensureLineCoverageVectorIsMutable(); |
| super.addAll(values, lineCoverageVector_); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>repeated int32 line_coverage_vector = 23;</code> |
| * |
| * <pre> |
| * i-th element gives the number of times i-th line is executed. |
| * </pre> |
| */ |
| public Builder clearLineCoverageVector() { |
| lineCoverageVector_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000008); |
| onChanged(); |
| return this; |
| } |
| |
| // optional int32 total_line_count = 101; |
| private int totalLineCount_ ; |
| /** |
| * <code>optional int32 total_line_count = 101;</code> |
| * |
| * <pre> |
| * the number of source code lines that are instrumented for code coverage |
| * measurement. |
| * </pre> |
| */ |
| public boolean hasTotalLineCount() { |
| return ((bitField0_ & 0x00000010) == 0x00000010); |
| } |
| /** |
| * <code>optional int32 total_line_count = 101;</code> |
| * |
| * <pre> |
| * the number of source code lines that are instrumented for code coverage |
| * measurement. |
| * </pre> |
| */ |
| public int getTotalLineCount() { |
| return totalLineCount_; |
| } |
| /** |
| * <code>optional int32 total_line_count = 101;</code> |
| * |
| * <pre> |
| * the number of source code lines that are instrumented for code coverage |
| * measurement. |
| * </pre> |
| */ |
| public Builder setTotalLineCount(int value) { |
| bitField0_ |= 0x00000010; |
| totalLineCount_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional int32 total_line_count = 101;</code> |
| * |
| * <pre> |
| * the number of source code lines that are instrumented for code coverage |
| * measurement. |
| * </pre> |
| */ |
| public Builder clearTotalLineCount() { |
| bitField0_ = (bitField0_ & ~0x00000010); |
| totalLineCount_ = 0; |
| onChanged(); |
| return this; |
| } |
| |
| // optional int32 covered_line_count = 102; |
| private int coveredLineCount_ ; |
| /** |
| * <code>optional int32 covered_line_count = 102;</code> |
| * |
| * <pre> |
| * the number of source code lines that are executed. |
| * </pre> |
| */ |
| public boolean hasCoveredLineCount() { |
| return ((bitField0_ & 0x00000020) == 0x00000020); |
| } |
| /** |
| * <code>optional int32 covered_line_count = 102;</code> |
| * |
| * <pre> |
| * the number of source code lines that are executed. |
| * </pre> |
| */ |
| public int getCoveredLineCount() { |
| return coveredLineCount_; |
| } |
| /** |
| * <code>optional int32 covered_line_count = 102;</code> |
| * |
| * <pre> |
| * the number of source code lines that are executed. |
| * </pre> |
| */ |
| public Builder setCoveredLineCount(int value) { |
| bitField0_ |= 0x00000020; |
| coveredLineCount_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional int32 covered_line_count = 102;</code> |
| * |
| * <pre> |
| * the number of source code lines that are executed. |
| * </pre> |
| */ |
| public Builder clearCoveredLineCount() { |
| bitField0_ = (bitField0_ & ~0x00000020); |
| coveredLineCount_ = 0; |
| onChanged(); |
| return this; |
| } |
| |
| // optional bytes dir_path = 1 [deprecated = true]; |
| private com.google.protobuf.ByteString dirPath_ = com.google.protobuf.ByteString.EMPTY; |
| /** |
| * <code>optional bytes dir_path = 1 [deprecated = true];</code> |
| * |
| * <pre> |
| * TODO(ryanjcampbell@) delete deprecated field |
| * the directory path of a source file. |
| * </pre> |
| */ |
| @java.lang.Deprecated public boolean hasDirPath() { |
| return ((bitField0_ & 0x00000040) == 0x00000040); |
| } |
| /** |
| * <code>optional bytes dir_path = 1 [deprecated = true];</code> |
| * |
| * <pre> |
| * TODO(ryanjcampbell@) delete deprecated field |
| * the directory path of a source file. |
| * </pre> |
| */ |
| @java.lang.Deprecated public com.google.protobuf.ByteString getDirPath() { |
| return dirPath_; |
| } |
| /** |
| * <code>optional bytes dir_path = 1 [deprecated = true];</code> |
| * |
| * <pre> |
| * TODO(ryanjcampbell@) delete deprecated field |
| * the directory path of a source file. |
| * </pre> |
| */ |
| @java.lang.Deprecated public Builder setDirPath(com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000040; |
| dirPath_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional bytes dir_path = 1 [deprecated = true];</code> |
| * |
| * <pre> |
| * TODO(ryanjcampbell@) delete deprecated field |
| * the directory path of a source file. |
| * </pre> |
| */ |
| @java.lang.Deprecated public Builder clearDirPath() { |
| bitField0_ = (bitField0_ & ~0x00000040); |
| dirPath_ = getDefaultInstance().getDirPath(); |
| onChanged(); |
| return this; |
| } |
| |
| // optional bytes file_name = 2 [deprecated = true]; |
| private com.google.protobuf.ByteString fileName_ = com.google.protobuf.ByteString.EMPTY; |
| /** |
| * <code>optional bytes file_name = 2 [deprecated = true];</code> |
| * |
| * <pre> |
| * TODO(ryanjcampbell@) delete deprecated field |
| * the name of the source file. |
| * </pre> |
| */ |
| @java.lang.Deprecated public boolean hasFileName() { |
| return ((bitField0_ & 0x00000080) == 0x00000080); |
| } |
| /** |
| * <code>optional bytes file_name = 2 [deprecated = true];</code> |
| * |
| * <pre> |
| * TODO(ryanjcampbell@) delete deprecated field |
| * the name of the source file. |
| * </pre> |
| */ |
| @java.lang.Deprecated public com.google.protobuf.ByteString getFileName() { |
| return fileName_; |
| } |
| /** |
| * <code>optional bytes file_name = 2 [deprecated = true];</code> |
| * |
| * <pre> |
| * TODO(ryanjcampbell@) delete deprecated field |
| * the name of the source file. |
| * </pre> |
| */ |
| @java.lang.Deprecated public Builder setFileName(com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000080; |
| fileName_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional bytes file_name = 2 [deprecated = true];</code> |
| * |
| * <pre> |
| * TODO(ryanjcampbell@) delete deprecated field |
| * the name of the source file. |
| * </pre> |
| */ |
| @java.lang.Deprecated public Builder clearFileName() { |
| bitField0_ = (bitField0_ & ~0x00000080); |
| fileName_ = getDefaultInstance().getFileName(); |
| onChanged(); |
| return this; |
| } |
| |
| // optional bytes html = 3 [deprecated = true]; |
| private com.google.protobuf.ByteString html_ = com.google.protobuf.ByteString.EMPTY; |
| /** |
| * <code>optional bytes html = 3 [deprecated = true];</code> |
| * |
| * <pre> |
| * TODO(ryanjcampbell@) delete deprecated field |
| * produced html report. |
| * </pre> |
| */ |
| @java.lang.Deprecated public boolean hasHtml() { |
| return ((bitField0_ & 0x00000100) == 0x00000100); |
| } |
| /** |
| * <code>optional bytes html = 3 [deprecated = true];</code> |
| * |
| * <pre> |
| * TODO(ryanjcampbell@) delete deprecated field |
| * produced html report. |
| * </pre> |
| */ |
| @java.lang.Deprecated public com.google.protobuf.ByteString getHtml() { |
| return html_; |
| } |
| /** |
| * <code>optional bytes html = 3 [deprecated = true];</code> |
| * |
| * <pre> |
| * TODO(ryanjcampbell@) delete deprecated field |
| * produced html report. |
| * </pre> |
| */ |
| @java.lang.Deprecated public Builder setHtml(com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000100; |
| html_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional bytes html = 3 [deprecated = true];</code> |
| * |
| * <pre> |
| * TODO(ryanjcampbell@) delete deprecated field |
| * produced html report. |
| * </pre> |
| */ |
| @java.lang.Deprecated public Builder clearHtml() { |
| bitField0_ = (bitField0_ & ~0x00000100); |
| html_ = getDefaultInstance().getHtml(); |
| onChanged(); |
| return this; |
| } |
| |
| // @@protoc_insertion_point(builder_scope:android.vts.CoverageReportMessage) |
| } |
| |
| static { |
| defaultInstance = new CoverageReportMessage(true); |
| defaultInstance.initFields(); |
| } |
| |
| // @@protoc_insertion_point(class_scope:android.vts.CoverageReportMessage) |
| } |
| |
| public interface LogMessageOrBuilder |
| extends com.google.protobuf.MessageOrBuilder { |
| |
| // optional bytes url = 1; |
| /** |
| * <code>optional bytes url = 1;</code> |
| * |
| * <pre> |
| * URL of a produced log file (e.g., stdout, stderr). |
| * </pre> |
| */ |
| boolean hasUrl(); |
| /** |
| * <code>optional bytes url = 1;</code> |
| * |
| * <pre> |
| * URL of a produced log file (e.g., stdout, stderr). |
| * </pre> |
| */ |
| com.google.protobuf.ByteString getUrl(); |
| |
| // optional bytes name = 2; |
| /** |
| * <code>optional bytes name = 2;</code> |
| * |
| * <pre> |
| * Name of a log file. |
| * </pre> |
| */ |
| boolean hasName(); |
| /** |
| * <code>optional bytes name = 2;</code> |
| * |
| * <pre> |
| * Name of a log file. |
| * </pre> |
| */ |
| com.google.protobuf.ByteString getName(); |
| |
| // optional bytes content = 3; |
| /** |
| * <code>optional bytes content = 3;</code> |
| * |
| * <pre> |
| * Content of log. Caution: do not put too much log in protobuf message, |
| * as BigTable for example recommends < 10 MB for each record cell. |
| * </pre> |
| */ |
| boolean hasContent(); |
| /** |
| * <code>optional bytes content = 3;</code> |
| * |
| * <pre> |
| * Content of log. Caution: do not put too much log in protobuf message, |
| * as BigTable for example recommends < 10 MB for each record cell. |
| * </pre> |
| */ |
| com.google.protobuf.ByteString getContent(); |
| } |
| /** |
| * Protobuf type {@code android.vts.LogMessage} |
| * |
| * <pre> |
| * To specify log report. This can be used either for per-test-module |
| * log message or per-test-case log message. |
| * </pre> |
| */ |
| public static final class LogMessage extends |
| com.google.protobuf.GeneratedMessage |
| implements LogMessageOrBuilder { |
| // Use LogMessage.newBuilder() to construct. |
| private LogMessage(com.google.protobuf.GeneratedMessage.Builder<?> builder) { |
| super(builder); |
| this.unknownFields = builder.getUnknownFields(); |
| } |
| private LogMessage(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } |
| |
| private static final LogMessage defaultInstance; |
| public static LogMessage getDefaultInstance() { |
| return defaultInstance; |
| } |
| |
| public LogMessage getDefaultInstanceForType() { |
| return defaultInstance; |
| } |
| |
| private final com.google.protobuf.UnknownFieldSet unknownFields; |
| @java.lang.Override |
| public final com.google.protobuf.UnknownFieldSet |
| getUnknownFields() { |
| return this.unknownFields; |
| } |
| private LogMessage( |
| 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; |
| url_ = input.readBytes(); |
| break; |
| } |
| case 18: { |
| bitField0_ |= 0x00000002; |
| name_ = input.readBytes(); |
| break; |
| } |
| case 26: { |
| bitField0_ |= 0x00000004; |
| content_ = 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.android.vts.proto.VtsReportMessage.internal_static_android_vts_LogMessage_descriptor; |
| } |
| |
| protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internalGetFieldAccessorTable() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_LogMessage_fieldAccessorTable |
| .ensureFieldAccessorsInitialized( |
| com.android.vts.proto.VtsReportMessage.LogMessage.class, com.android.vts.proto.VtsReportMessage.LogMessage.Builder.class); |
| } |
| |
| public static com.google.protobuf.Parser<LogMessage> PARSER = |
| new com.google.protobuf.AbstractParser<LogMessage>() { |
| public LogMessage parsePartialFrom( |
| com.google.protobuf.CodedInputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return new LogMessage(input, extensionRegistry); |
| } |
| }; |
| |
| @java.lang.Override |
| public com.google.protobuf.Parser<LogMessage> getParserForType() { |
| return PARSER; |
| } |
| |
| private int bitField0_; |
| // optional bytes url = 1; |
| public static final int URL_FIELD_NUMBER = 1; |
| private com.google.protobuf.ByteString url_; |
| /** |
| * <code>optional bytes url = 1;</code> |
| * |
| * <pre> |
| * URL of a produced log file (e.g., stdout, stderr). |
| * </pre> |
| */ |
| public boolean hasUrl() { |
| return ((bitField0_ & 0x00000001) == 0x00000001); |
| } |
| /** |
| * <code>optional bytes url = 1;</code> |
| * |
| * <pre> |
| * URL of a produced log file (e.g., stdout, stderr). |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getUrl() { |
| return url_; |
| } |
| |
| // optional bytes name = 2; |
| public static final int NAME_FIELD_NUMBER = 2; |
| private com.google.protobuf.ByteString name_; |
| /** |
| * <code>optional bytes name = 2;</code> |
| * |
| * <pre> |
| * Name of a log file. |
| * </pre> |
| */ |
| public boolean hasName() { |
| return ((bitField0_ & 0x00000002) == 0x00000002); |
| } |
| /** |
| * <code>optional bytes name = 2;</code> |
| * |
| * <pre> |
| * Name of a log file. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getName() { |
| return name_; |
| } |
| |
| // optional bytes content = 3; |
| public static final int CONTENT_FIELD_NUMBER = 3; |
| private com.google.protobuf.ByteString content_; |
| /** |
| * <code>optional bytes content = 3;</code> |
| * |
| * <pre> |
| * Content of log. Caution: do not put too much log in protobuf message, |
| * as BigTable for example recommends < 10 MB for each record cell. |
| * </pre> |
| */ |
| public boolean hasContent() { |
| return ((bitField0_ & 0x00000004) == 0x00000004); |
| } |
| /** |
| * <code>optional bytes content = 3;</code> |
| * |
| * <pre> |
| * Content of log. Caution: do not put too much log in protobuf message, |
| * as BigTable for example recommends < 10 MB for each record cell. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getContent() { |
| return content_; |
| } |
| |
| private void initFields() { |
| url_ = com.google.protobuf.ByteString.EMPTY; |
| name_ = com.google.protobuf.ByteString.EMPTY; |
| content_ = com.google.protobuf.ByteString.EMPTY; |
| } |
| private byte memoizedIsInitialized = -1; |
| public final boolean isInitialized() { |
| byte isInitialized = memoizedIsInitialized; |
| if (isInitialized != -1) return isInitialized == 1; |
| |
| memoizedIsInitialized = 1; |
| return true; |
| } |
| |
| public void writeTo(com.google.protobuf.CodedOutputStream output) |
| throws java.io.IOException { |
| getSerializedSize(); |
| if (((bitField0_ & 0x00000001) == 0x00000001)) { |
| output.writeBytes(1, url_); |
| } |
| if (((bitField0_ & 0x00000002) == 0x00000002)) { |
| output.writeBytes(2, name_); |
| } |
| if (((bitField0_ & 0x00000004) == 0x00000004)) { |
| output.writeBytes(3, content_); |
| } |
| 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, url_); |
| } |
| if (((bitField0_ & 0x00000002) == 0x00000002)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(2, name_); |
| } |
| if (((bitField0_ & 0x00000004) == 0x00000004)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(3, content_); |
| } |
| 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.android.vts.proto.VtsReportMessage.LogMessage parseFrom( |
| com.google.protobuf.ByteString data) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data); |
| } |
| public static com.android.vts.proto.VtsReportMessage.LogMessage parseFrom( |
| com.google.protobuf.ByteString data, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.LogMessage parseFrom(byte[] data) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data); |
| } |
| public static com.android.vts.proto.VtsReportMessage.LogMessage parseFrom( |
| byte[] data, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.LogMessage parseFrom(java.io.InputStream input) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input); |
| } |
| public static com.android.vts.proto.VtsReportMessage.LogMessage parseFrom( |
| java.io.InputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.LogMessage parseDelimitedFrom(java.io.InputStream input) |
| throws java.io.IOException { |
| return PARSER.parseDelimitedFrom(input); |
| } |
| public static com.android.vts.proto.VtsReportMessage.LogMessage parseDelimitedFrom( |
| java.io.InputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| return PARSER.parseDelimitedFrom(input, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.LogMessage parseFrom( |
| com.google.protobuf.CodedInputStream input) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input); |
| } |
| public static com.android.vts.proto.VtsReportMessage.LogMessage 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.android.vts.proto.VtsReportMessage.LogMessage 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.vts.LogMessage} |
| * |
| * <pre> |
| * To specify log report. This can be used either for per-test-module |
| * log message or per-test-case log message. |
| * </pre> |
| */ |
| public static final class Builder extends |
| com.google.protobuf.GeneratedMessage.Builder<Builder> |
| implements com.android.vts.proto.VtsReportMessage.LogMessageOrBuilder { |
| public static final com.google.protobuf.Descriptors.Descriptor |
| getDescriptor() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_LogMessage_descriptor; |
| } |
| |
| protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internalGetFieldAccessorTable() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_LogMessage_fieldAccessorTable |
| .ensureFieldAccessorsInitialized( |
| com.android.vts.proto.VtsReportMessage.LogMessage.class, com.android.vts.proto.VtsReportMessage.LogMessage.Builder.class); |
| } |
| |
| // Construct using com.android.vts.proto.VtsReportMessage.LogMessage.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(); |
| url_ = com.google.protobuf.ByteString.EMPTY; |
| bitField0_ = (bitField0_ & ~0x00000001); |
| name_ = com.google.protobuf.ByteString.EMPTY; |
| bitField0_ = (bitField0_ & ~0x00000002); |
| content_ = com.google.protobuf.ByteString.EMPTY; |
| bitField0_ = (bitField0_ & ~0x00000004); |
| return this; |
| } |
| |
| public Builder clone() { |
| return create().mergeFrom(buildPartial()); |
| } |
| |
| public com.google.protobuf.Descriptors.Descriptor |
| getDescriptorForType() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_LogMessage_descriptor; |
| } |
| |
| public com.android.vts.proto.VtsReportMessage.LogMessage getDefaultInstanceForType() { |
| return com.android.vts.proto.VtsReportMessage.LogMessage.getDefaultInstance(); |
| } |
| |
| public com.android.vts.proto.VtsReportMessage.LogMessage build() { |
| com.android.vts.proto.VtsReportMessage.LogMessage result = buildPartial(); |
| if (!result.isInitialized()) { |
| throw newUninitializedMessageException(result); |
| } |
| return result; |
| } |
| |
| public com.android.vts.proto.VtsReportMessage.LogMessage buildPartial() { |
| com.android.vts.proto.VtsReportMessage.LogMessage result = new com.android.vts.proto.VtsReportMessage.LogMessage(this); |
| int from_bitField0_ = bitField0_; |
| int to_bitField0_ = 0; |
| if (((from_bitField0_ & 0x00000001) == 0x00000001)) { |
| to_bitField0_ |= 0x00000001; |
| } |
| result.url_ = url_; |
| if (((from_bitField0_ & 0x00000002) == 0x00000002)) { |
| to_bitField0_ |= 0x00000002; |
| } |
| result.name_ = name_; |
| if (((from_bitField0_ & 0x00000004) == 0x00000004)) { |
| to_bitField0_ |= 0x00000004; |
| } |
| result.content_ = content_; |
| result.bitField0_ = to_bitField0_; |
| onBuilt(); |
| return result; |
| } |
| |
| public Builder mergeFrom(com.google.protobuf.Message other) { |
| if (other instanceof com.android.vts.proto.VtsReportMessage.LogMessage) { |
| return mergeFrom((com.android.vts.proto.VtsReportMessage.LogMessage)other); |
| } else { |
| super.mergeFrom(other); |
| return this; |
| } |
| } |
| |
| public Builder mergeFrom(com.android.vts.proto.VtsReportMessage.LogMessage other) { |
| if (other == com.android.vts.proto.VtsReportMessage.LogMessage.getDefaultInstance()) return this; |
| if (other.hasUrl()) { |
| setUrl(other.getUrl()); |
| } |
| if (other.hasName()) { |
| setName(other.getName()); |
| } |
| if (other.hasContent()) { |
| setContent(other.getContent()); |
| } |
| 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.android.vts.proto.VtsReportMessage.LogMessage parsedMessage = null; |
| try { |
| parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); |
| } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| parsedMessage = (com.android.vts.proto.VtsReportMessage.LogMessage) e.getUnfinishedMessage(); |
| throw e; |
| } finally { |
| if (parsedMessage != null) { |
| mergeFrom(parsedMessage); |
| } |
| } |
| return this; |
| } |
| private int bitField0_; |
| |
| // optional bytes url = 1; |
| private com.google.protobuf.ByteString url_ = com.google.protobuf.ByteString.EMPTY; |
| /** |
| * <code>optional bytes url = 1;</code> |
| * |
| * <pre> |
| * URL of a produced log file (e.g., stdout, stderr). |
| * </pre> |
| */ |
| public boolean hasUrl() { |
| return ((bitField0_ & 0x00000001) == 0x00000001); |
| } |
| /** |
| * <code>optional bytes url = 1;</code> |
| * |
| * <pre> |
| * URL of a produced log file (e.g., stdout, stderr). |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getUrl() { |
| return url_; |
| } |
| /** |
| * <code>optional bytes url = 1;</code> |
| * |
| * <pre> |
| * URL of a produced log file (e.g., stdout, stderr). |
| * </pre> |
| */ |
| public Builder setUrl(com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000001; |
| url_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional bytes url = 1;</code> |
| * |
| * <pre> |
| * URL of a produced log file (e.g., stdout, stderr). |
| * </pre> |
| */ |
| public Builder clearUrl() { |
| bitField0_ = (bitField0_ & ~0x00000001); |
| url_ = getDefaultInstance().getUrl(); |
| onChanged(); |
| return this; |
| } |
| |
| // optional bytes name = 2; |
| private com.google.protobuf.ByteString name_ = com.google.protobuf.ByteString.EMPTY; |
| /** |
| * <code>optional bytes name = 2;</code> |
| * |
| * <pre> |
| * Name of a log file. |
| * </pre> |
| */ |
| public boolean hasName() { |
| return ((bitField0_ & 0x00000002) == 0x00000002); |
| } |
| /** |
| * <code>optional bytes name = 2;</code> |
| * |
| * <pre> |
| * Name of a log file. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getName() { |
| return name_; |
| } |
| /** |
| * <code>optional bytes name = 2;</code> |
| * |
| * <pre> |
| * Name of a log file. |
| * </pre> |
| */ |
| public Builder setName(com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000002; |
| name_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional bytes name = 2;</code> |
| * |
| * <pre> |
| * Name of a log file. |
| * </pre> |
| */ |
| public Builder clearName() { |
| bitField0_ = (bitField0_ & ~0x00000002); |
| name_ = getDefaultInstance().getName(); |
| onChanged(); |
| return this; |
| } |
| |
| // optional bytes content = 3; |
| private com.google.protobuf.ByteString content_ = com.google.protobuf.ByteString.EMPTY; |
| /** |
| * <code>optional bytes content = 3;</code> |
| * |
| * <pre> |
| * Content of log. Caution: do not put too much log in protobuf message, |
| * as BigTable for example recommends < 10 MB for each record cell. |
| * </pre> |
| */ |
| public boolean hasContent() { |
| return ((bitField0_ & 0x00000004) == 0x00000004); |
| } |
| /** |
| * <code>optional bytes content = 3;</code> |
| * |
| * <pre> |
| * Content of log. Caution: do not put too much log in protobuf message, |
| * as BigTable for example recommends < 10 MB for each record cell. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getContent() { |
| return content_; |
| } |
| /** |
| * <code>optional bytes content = 3;</code> |
| * |
| * <pre> |
| * Content of log. Caution: do not put too much log in protobuf message, |
| * as BigTable for example recommends < 10 MB for each record cell. |
| * </pre> |
| */ |
| public Builder setContent(com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000004; |
| content_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional bytes content = 3;</code> |
| * |
| * <pre> |
| * Content of log. Caution: do not put too much log in protobuf message, |
| * as BigTable for example recommends < 10 MB for each record cell. |
| * </pre> |
| */ |
| public Builder clearContent() { |
| bitField0_ = (bitField0_ & ~0x00000004); |
| content_ = getDefaultInstance().getContent(); |
| onChanged(); |
| return this; |
| } |
| |
| // @@protoc_insertion_point(builder_scope:android.vts.LogMessage) |
| } |
| |
| static { |
| defaultInstance = new LogMessage(true); |
| defaultInstance.initFields(); |
| } |
| |
| // @@protoc_insertion_point(class_scope:android.vts.LogMessage) |
| } |
| |
| public interface UrlResourceMessageOrBuilder |
| extends com.google.protobuf.MessageOrBuilder { |
| |
| // optional bytes url = 1; |
| /** |
| * <code>optional bytes url = 1;</code> |
| * |
| * <pre> |
| * URL of a resource file. |
| * </pre> |
| */ |
| boolean hasUrl(); |
| /** |
| * <code>optional bytes url = 1;</code> |
| * |
| * <pre> |
| * URL of a resource file. |
| * </pre> |
| */ |
| com.google.protobuf.ByteString getUrl(); |
| |
| // optional bytes name = 2; |
| /** |
| * <code>optional bytes name = 2;</code> |
| * |
| * <pre> |
| * Name of a resource file representing its type and does not have to be |
| * the same as the exact file name. |
| * </pre> |
| */ |
| boolean hasName(); |
| /** |
| * <code>optional bytes name = 2;</code> |
| * |
| * <pre> |
| * Name of a resource file representing its type and does not have to be |
| * the same as the exact file name. |
| * </pre> |
| */ |
| com.google.protobuf.ByteString getName(); |
| |
| // optional bytes content = 3; |
| /** |
| * <code>optional bytes content = 3;</code> |
| * |
| * <pre> |
| * Raw content of a resource file. Used if the file is small. |
| * </pre> |
| */ |
| boolean hasContent(); |
| /** |
| * <code>optional bytes content = 3;</code> |
| * |
| * <pre> |
| * Raw content of a resource file. Used if the file is small. |
| * </pre> |
| */ |
| com.google.protobuf.ByteString getContent(); |
| } |
| /** |
| * Protobuf type {@code android.vts.UrlResourceMessage} |
| * |
| * <pre> |
| * To specify a resource object (reachable via a URL or contained in the |
| * message). This can be used to store a log file or an XML (or HTML) report |
| * file kept in a Google Cloud Storage (GCS) bucket or partner's network file |
| * system, or hosted by a HTTP server. |
| * </pre> |
| */ |
| public static final class UrlResourceMessage extends |
| com.google.protobuf.GeneratedMessage |
| implements UrlResourceMessageOrBuilder { |
| // Use UrlResourceMessage.newBuilder() to construct. |
| private UrlResourceMessage(com.google.protobuf.GeneratedMessage.Builder<?> builder) { |
| super(builder); |
| this.unknownFields = builder.getUnknownFields(); |
| } |
| private UrlResourceMessage(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } |
| |
| private static final UrlResourceMessage defaultInstance; |
| public static UrlResourceMessage getDefaultInstance() { |
| return defaultInstance; |
| } |
| |
| public UrlResourceMessage getDefaultInstanceForType() { |
| return defaultInstance; |
| } |
| |
| private final com.google.protobuf.UnknownFieldSet unknownFields; |
| @java.lang.Override |
| public final com.google.protobuf.UnknownFieldSet |
| getUnknownFields() { |
| return this.unknownFields; |
| } |
| private UrlResourceMessage( |
| 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; |
| url_ = input.readBytes(); |
| break; |
| } |
| case 18: { |
| bitField0_ |= 0x00000002; |
| name_ = input.readBytes(); |
| break; |
| } |
| case 26: { |
| bitField0_ |= 0x00000004; |
| content_ = 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.android.vts.proto.VtsReportMessage.internal_static_android_vts_UrlResourceMessage_descriptor; |
| } |
| |
| protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internalGetFieldAccessorTable() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_UrlResourceMessage_fieldAccessorTable |
| .ensureFieldAccessorsInitialized( |
| com.android.vts.proto.VtsReportMessage.UrlResourceMessage.class, com.android.vts.proto.VtsReportMessage.UrlResourceMessage.Builder.class); |
| } |
| |
| public static com.google.protobuf.Parser<UrlResourceMessage> PARSER = |
| new com.google.protobuf.AbstractParser<UrlResourceMessage>() { |
| public UrlResourceMessage parsePartialFrom( |
| com.google.protobuf.CodedInputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return new UrlResourceMessage(input, extensionRegistry); |
| } |
| }; |
| |
| @java.lang.Override |
| public com.google.protobuf.Parser<UrlResourceMessage> getParserForType() { |
| return PARSER; |
| } |
| |
| private int bitField0_; |
| // optional bytes url = 1; |
| public static final int URL_FIELD_NUMBER = 1; |
| private com.google.protobuf.ByteString url_; |
| /** |
| * <code>optional bytes url = 1;</code> |
| * |
| * <pre> |
| * URL of a resource file. |
| * </pre> |
| */ |
| public boolean hasUrl() { |
| return ((bitField0_ & 0x00000001) == 0x00000001); |
| } |
| /** |
| * <code>optional bytes url = 1;</code> |
| * |
| * <pre> |
| * URL of a resource file. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getUrl() { |
| return url_; |
| } |
| |
| // optional bytes name = 2; |
| public static final int NAME_FIELD_NUMBER = 2; |
| private com.google.protobuf.ByteString name_; |
| /** |
| * <code>optional bytes name = 2;</code> |
| * |
| * <pre> |
| * Name of a resource file representing its type and does not have to be |
| * the same as the exact file name. |
| * </pre> |
| */ |
| public boolean hasName() { |
| return ((bitField0_ & 0x00000002) == 0x00000002); |
| } |
| /** |
| * <code>optional bytes name = 2;</code> |
| * |
| * <pre> |
| * Name of a resource file representing its type and does not have to be |
| * the same as the exact file name. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getName() { |
| return name_; |
| } |
| |
| // optional bytes content = 3; |
| public static final int CONTENT_FIELD_NUMBER = 3; |
| private com.google.protobuf.ByteString content_; |
| /** |
| * <code>optional bytes content = 3;</code> |
| * |
| * <pre> |
| * Raw content of a resource file. Used if the file is small. |
| * </pre> |
| */ |
| public boolean hasContent() { |
| return ((bitField0_ & 0x00000004) == 0x00000004); |
| } |
| /** |
| * <code>optional bytes content = 3;</code> |
| * |
| * <pre> |
| * Raw content of a resource file. Used if the file is small. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getContent() { |
| return content_; |
| } |
| |
| private void initFields() { |
| url_ = com.google.protobuf.ByteString.EMPTY; |
| name_ = com.google.protobuf.ByteString.EMPTY; |
| content_ = com.google.protobuf.ByteString.EMPTY; |
| } |
| private byte memoizedIsInitialized = -1; |
| public final boolean isInitialized() { |
| byte isInitialized = memoizedIsInitialized; |
| if (isInitialized != -1) return isInitialized == 1; |
| |
| memoizedIsInitialized = 1; |
| return true; |
| } |
| |
| public void writeTo(com.google.protobuf.CodedOutputStream output) |
| throws java.io.IOException { |
| getSerializedSize(); |
| if (((bitField0_ & 0x00000001) == 0x00000001)) { |
| output.writeBytes(1, url_); |
| } |
| if (((bitField0_ & 0x00000002) == 0x00000002)) { |
| output.writeBytes(2, name_); |
| } |
| if (((bitField0_ & 0x00000004) == 0x00000004)) { |
| output.writeBytes(3, content_); |
| } |
| 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, url_); |
| } |
| if (((bitField0_ & 0x00000002) == 0x00000002)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(2, name_); |
| } |
| if (((bitField0_ & 0x00000004) == 0x00000004)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(3, content_); |
| } |
| 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.android.vts.proto.VtsReportMessage.UrlResourceMessage parseFrom( |
| com.google.protobuf.ByteString data) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data); |
| } |
| public static com.android.vts.proto.VtsReportMessage.UrlResourceMessage parseFrom( |
| com.google.protobuf.ByteString data, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.UrlResourceMessage parseFrom(byte[] data) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data); |
| } |
| public static com.android.vts.proto.VtsReportMessage.UrlResourceMessage parseFrom( |
| byte[] data, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.UrlResourceMessage parseFrom(java.io.InputStream input) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input); |
| } |
| public static com.android.vts.proto.VtsReportMessage.UrlResourceMessage parseFrom( |
| java.io.InputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.UrlResourceMessage parseDelimitedFrom(java.io.InputStream input) |
| throws java.io.IOException { |
| return PARSER.parseDelimitedFrom(input); |
| } |
| public static com.android.vts.proto.VtsReportMessage.UrlResourceMessage parseDelimitedFrom( |
| java.io.InputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| return PARSER.parseDelimitedFrom(input, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.UrlResourceMessage parseFrom( |
| com.google.protobuf.CodedInputStream input) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input); |
| } |
| public static com.android.vts.proto.VtsReportMessage.UrlResourceMessage 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.android.vts.proto.VtsReportMessage.UrlResourceMessage 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.vts.UrlResourceMessage} |
| * |
| * <pre> |
| * To specify a resource object (reachable via a URL or contained in the |
| * message). This can be used to store a log file or an XML (or HTML) report |
| * file kept in a Google Cloud Storage (GCS) bucket or partner's network file |
| * system, or hosted by a HTTP server. |
| * </pre> |
| */ |
| public static final class Builder extends |
| com.google.protobuf.GeneratedMessage.Builder<Builder> |
| implements com.android.vts.proto.VtsReportMessage.UrlResourceMessageOrBuilder { |
| public static final com.google.protobuf.Descriptors.Descriptor |
| getDescriptor() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_UrlResourceMessage_descriptor; |
| } |
| |
| protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internalGetFieldAccessorTable() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_UrlResourceMessage_fieldAccessorTable |
| .ensureFieldAccessorsInitialized( |
| com.android.vts.proto.VtsReportMessage.UrlResourceMessage.class, com.android.vts.proto.VtsReportMessage.UrlResourceMessage.Builder.class); |
| } |
| |
| // Construct using com.android.vts.proto.VtsReportMessage.UrlResourceMessage.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(); |
| url_ = com.google.protobuf.ByteString.EMPTY; |
| bitField0_ = (bitField0_ & ~0x00000001); |
| name_ = com.google.protobuf.ByteString.EMPTY; |
| bitField0_ = (bitField0_ & ~0x00000002); |
| content_ = com.google.protobuf.ByteString.EMPTY; |
| bitField0_ = (bitField0_ & ~0x00000004); |
| return this; |
| } |
| |
| public Builder clone() { |
| return create().mergeFrom(buildPartial()); |
| } |
| |
| public com.google.protobuf.Descriptors.Descriptor |
| getDescriptorForType() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_UrlResourceMessage_descriptor; |
| } |
| |
| public com.android.vts.proto.VtsReportMessage.UrlResourceMessage getDefaultInstanceForType() { |
| return com.android.vts.proto.VtsReportMessage.UrlResourceMessage.getDefaultInstance(); |
| } |
| |
| public com.android.vts.proto.VtsReportMessage.UrlResourceMessage build() { |
| com.android.vts.proto.VtsReportMessage.UrlResourceMessage result = buildPartial(); |
| if (!result.isInitialized()) { |
| throw newUninitializedMessageException(result); |
| } |
| return result; |
| } |
| |
| public com.android.vts.proto.VtsReportMessage.UrlResourceMessage buildPartial() { |
| com.android.vts.proto.VtsReportMessage.UrlResourceMessage result = new com.android.vts.proto.VtsReportMessage.UrlResourceMessage(this); |
| int from_bitField0_ = bitField0_; |
| int to_bitField0_ = 0; |
| if (((from_bitField0_ & 0x00000001) == 0x00000001)) { |
| to_bitField0_ |= 0x00000001; |
| } |
| result.url_ = url_; |
| if (((from_bitField0_ & 0x00000002) == 0x00000002)) { |
| to_bitField0_ |= 0x00000002; |
| } |
| result.name_ = name_; |
| if (((from_bitField0_ & 0x00000004) == 0x00000004)) { |
| to_bitField0_ |= 0x00000004; |
| } |
| result.content_ = content_; |
| result.bitField0_ = to_bitField0_; |
| onBuilt(); |
| return result; |
| } |
| |
| public Builder mergeFrom(com.google.protobuf.Message other) { |
| if (other instanceof com.android.vts.proto.VtsReportMessage.UrlResourceMessage) { |
| return mergeFrom((com.android.vts.proto.VtsReportMessage.UrlResourceMessage)other); |
| } else { |
| super.mergeFrom(other); |
| return this; |
| } |
| } |
| |
| public Builder mergeFrom(com.android.vts.proto.VtsReportMessage.UrlResourceMessage other) { |
| if (other == com.android.vts.proto.VtsReportMessage.UrlResourceMessage.getDefaultInstance()) return this; |
| if (other.hasUrl()) { |
| setUrl(other.getUrl()); |
| } |
| if (other.hasName()) { |
| setName(other.getName()); |
| } |
| if (other.hasContent()) { |
| setContent(other.getContent()); |
| } |
| 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.android.vts.proto.VtsReportMessage.UrlResourceMessage parsedMessage = null; |
| try { |
| parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); |
| } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| parsedMessage = (com.android.vts.proto.VtsReportMessage.UrlResourceMessage) e.getUnfinishedMessage(); |
| throw e; |
| } finally { |
| if (parsedMessage != null) { |
| mergeFrom(parsedMessage); |
| } |
| } |
| return this; |
| } |
| private int bitField0_; |
| |
| // optional bytes url = 1; |
| private com.google.protobuf.ByteString url_ = com.google.protobuf.ByteString.EMPTY; |
| /** |
| * <code>optional bytes url = 1;</code> |
| * |
| * <pre> |
| * URL of a resource file. |
| * </pre> |
| */ |
| public boolean hasUrl() { |
| return ((bitField0_ & 0x00000001) == 0x00000001); |
| } |
| /** |
| * <code>optional bytes url = 1;</code> |
| * |
| * <pre> |
| * URL of a resource file. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getUrl() { |
| return url_; |
| } |
| /** |
| * <code>optional bytes url = 1;</code> |
| * |
| * <pre> |
| * URL of a resource file. |
| * </pre> |
| */ |
| public Builder setUrl(com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000001; |
| url_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional bytes url = 1;</code> |
| * |
| * <pre> |
| * URL of a resource file. |
| * </pre> |
| */ |
| public Builder clearUrl() { |
| bitField0_ = (bitField0_ & ~0x00000001); |
| url_ = getDefaultInstance().getUrl(); |
| onChanged(); |
| return this; |
| } |
| |
| // optional bytes name = 2; |
| private com.google.protobuf.ByteString name_ = com.google.protobuf.ByteString.EMPTY; |
| /** |
| * <code>optional bytes name = 2;</code> |
| * |
| * <pre> |
| * Name of a resource file representing its type and does not have to be |
| * the same as the exact file name. |
| * </pre> |
| */ |
| public boolean hasName() { |
| return ((bitField0_ & 0x00000002) == 0x00000002); |
| } |
| /** |
| * <code>optional bytes name = 2;</code> |
| * |
| * <pre> |
| * Name of a resource file representing its type and does not have to be |
| * the same as the exact file name. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getName() { |
| return name_; |
| } |
| /** |
| * <code>optional bytes name = 2;</code> |
| * |
| * <pre> |
| * Name of a resource file representing its type and does not have to be |
| * the same as the exact file name. |
| * </pre> |
| */ |
| public Builder setName(com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000002; |
| name_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional bytes name = 2;</code> |
| * |
| * <pre> |
| * Name of a resource file representing its type and does not have to be |
| * the same as the exact file name. |
| * </pre> |
| */ |
| public Builder clearName() { |
| bitField0_ = (bitField0_ & ~0x00000002); |
| name_ = getDefaultInstance().getName(); |
| onChanged(); |
| return this; |
| } |
| |
| // optional bytes content = 3; |
| private com.google.protobuf.ByteString content_ = com.google.protobuf.ByteString.EMPTY; |
| /** |
| * <code>optional bytes content = 3;</code> |
| * |
| * <pre> |
| * Raw content of a resource file. Used if the file is small. |
| * </pre> |
| */ |
| public boolean hasContent() { |
| return ((bitField0_ & 0x00000004) == 0x00000004); |
| } |
| /** |
| * <code>optional bytes content = 3;</code> |
| * |
| * <pre> |
| * Raw content of a resource file. Used if the file is small. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getContent() { |
| return content_; |
| } |
| /** |
| * <code>optional bytes content = 3;</code> |
| * |
| * <pre> |
| * Raw content of a resource file. Used if the file is small. |
| * </pre> |
| */ |
| public Builder setContent(com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000004; |
| content_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional bytes content = 3;</code> |
| * |
| * <pre> |
| * Raw content of a resource file. Used if the file is small. |
| * </pre> |
| */ |
| public Builder clearContent() { |
| bitField0_ = (bitField0_ & ~0x00000004); |
| content_ = getDefaultInstance().getContent(); |
| onChanged(); |
| return this; |
| } |
| |
| // @@protoc_insertion_point(builder_scope:android.vts.UrlResourceMessage) |
| } |
| |
| static { |
| defaultInstance = new UrlResourceMessage(true); |
| defaultInstance.initFields(); |
| } |
| |
| // @@protoc_insertion_point(class_scope:android.vts.UrlResourceMessage) |
| } |
| |
| public interface TestReportMessageOrBuilder |
| extends com.google.protobuf.MessageOrBuilder { |
| |
| // optional bytes test_suite = 1 [deprecated = true]; |
| /** |
| * <code>optional bytes test_suite = 1 [deprecated = true];</code> |
| * |
| * <pre> |
| * The test suite name.. |
| * </pre> |
| */ |
| @java.lang.Deprecated boolean hasTestSuite(); |
| /** |
| * <code>optional bytes test_suite = 1 [deprecated = true];</code> |
| * |
| * <pre> |
| * The test suite name.. |
| * </pre> |
| */ |
| @java.lang.Deprecated com.google.protobuf.ByteString getTestSuite(); |
| |
| // optional bytes test = 2; |
| /** |
| * <code>optional bytes test = 2;</code> |
| * |
| * <pre> |
| * The test name. |
| * </pre> |
| */ |
| boolean hasTest(); |
| /** |
| * <code>optional bytes test = 2;</code> |
| * |
| * <pre> |
| * The test name. |
| * </pre> |
| */ |
| com.google.protobuf.ByteString getTest(); |
| |
| // optional .android.vts.VtsTestType test_type = 3; |
| /** |
| * <code>optional .android.vts.VtsTestType test_type = 3;</code> |
| * |
| * <pre> |
| * The test type |
| * </pre> |
| */ |
| boolean hasTestType(); |
| /** |
| * <code>optional .android.vts.VtsTestType test_type = 3;</code> |
| * |
| * <pre> |
| * The test type |
| * </pre> |
| */ |
| com.android.vts.proto.VtsReportMessage.VtsTestType getTestType(); |
| |
| // repeated .android.vts.AndroidDeviceInfoMessage device_info = 4; |
| /** |
| * <code>repeated .android.vts.AndroidDeviceInfoMessage device_info = 4;</code> |
| * |
| * <pre> |
| * Target device info |
| * </pre> |
| */ |
| java.util.List<com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage> |
| getDeviceInfoList(); |
| /** |
| * <code>repeated .android.vts.AndroidDeviceInfoMessage device_info = 4;</code> |
| * |
| * <pre> |
| * Target device info |
| * </pre> |
| */ |
| com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage getDeviceInfo(int index); |
| /** |
| * <code>repeated .android.vts.AndroidDeviceInfoMessage device_info = 4;</code> |
| * |
| * <pre> |
| * Target device info |
| * </pre> |
| */ |
| int getDeviceInfoCount(); |
| /** |
| * <code>repeated .android.vts.AndroidDeviceInfoMessage device_info = 4;</code> |
| * |
| * <pre> |
| * Target device info |
| * </pre> |
| */ |
| java.util.List<? extends com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessageOrBuilder> |
| getDeviceInfoOrBuilderList(); |
| /** |
| * <code>repeated .android.vts.AndroidDeviceInfoMessage device_info = 4;</code> |
| * |
| * <pre> |
| * Target device info |
| * </pre> |
| */ |
| com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessageOrBuilder getDeviceInfoOrBuilder( |
| int index); |
| |
| // optional .android.vts.AndroidBuildInfo build_info = 5; |
| /** |
| * <code>optional .android.vts.AndroidBuildInfo build_info = 5;</code> |
| * |
| * <pre> |
| * Build info |
| * </pre> |
| */ |
| boolean hasBuildInfo(); |
| /** |
| * <code>optional .android.vts.AndroidBuildInfo build_info = 5;</code> |
| * |
| * <pre> |
| * Build info |
| * </pre> |
| */ |
| com.android.vts.proto.VtsReportMessage.AndroidBuildInfo getBuildInfo(); |
| /** |
| * <code>optional .android.vts.AndroidBuildInfo build_info = 5;</code> |
| * |
| * <pre> |
| * Build info |
| * </pre> |
| */ |
| com.android.vts.proto.VtsReportMessage.AndroidBuildInfoOrBuilder getBuildInfoOrBuilder(); |
| |
| // repeated bytes subscriber_email = 6; |
| /** |
| * <code>repeated bytes subscriber_email = 6;</code> |
| * |
| * <pre> |
| * Email addresses of subscribers to the test results |
| * </pre> |
| */ |
| java.util.List<com.google.protobuf.ByteString> getSubscriberEmailList(); |
| /** |
| * <code>repeated bytes subscriber_email = 6;</code> |
| * |
| * <pre> |
| * Email addresses of subscribers to the test results |
| * </pre> |
| */ |
| int getSubscriberEmailCount(); |
| /** |
| * <code>repeated bytes subscriber_email = 6;</code> |
| * |
| * <pre> |
| * Email addresses of subscribers to the test results |
| * </pre> |
| */ |
| com.google.protobuf.ByteString getSubscriberEmail(int index); |
| |
| // optional .android.vts.VtsHostInfo host_info = 7; |
| /** |
| * <code>optional .android.vts.VtsHostInfo host_info = 7;</code> |
| * |
| * <pre> |
| * Info about the host computer |
| * </pre> |
| */ |
| boolean hasHostInfo(); |
| /** |
| * <code>optional .android.vts.VtsHostInfo host_info = 7;</code> |
| * |
| * <pre> |
| * Info about the host computer |
| * </pre> |
| */ |
| com.android.vts.proto.VtsReportMessage.VtsHostInfo getHostInfo(); |
| /** |
| * <code>optional .android.vts.VtsHostInfo host_info = 7;</code> |
| * |
| * <pre> |
| * Info about the host computer |
| * </pre> |
| */ |
| com.android.vts.proto.VtsReportMessage.VtsHostInfoOrBuilder getHostInfoOrBuilder(); |
| |
| // repeated .android.vts.TestCaseReportMessage test_case = 11; |
| /** |
| * <code>repeated .android.vts.TestCaseReportMessage test_case = 11;</code> |
| * |
| * <pre> |
| * Test case reports |
| * </pre> |
| */ |
| java.util.List<com.android.vts.proto.VtsReportMessage.TestCaseReportMessage> |
| getTestCaseList(); |
| /** |
| * <code>repeated .android.vts.TestCaseReportMessage test_case = 11;</code> |
| * |
| * <pre> |
| * Test case reports |
| * </pre> |
| */ |
| com.android.vts.proto.VtsReportMessage.TestCaseReportMessage getTestCase(int index); |
| /** |
| * <code>repeated .android.vts.TestCaseReportMessage test_case = 11;</code> |
| * |
| * <pre> |
| * Test case reports |
| * </pre> |
| */ |
| int getTestCaseCount(); |
| /** |
| * <code>repeated .android.vts.TestCaseReportMessage test_case = 11;</code> |
| * |
| * <pre> |
| * Test case reports |
| * </pre> |
| */ |
| java.util.List<? extends com.android.vts.proto.VtsReportMessage.TestCaseReportMessageOrBuilder> |
| getTestCaseOrBuilderList(); |
| /** |
| * <code>repeated .android.vts.TestCaseReportMessage test_case = 11;</code> |
| * |
| * <pre> |
| * Test case reports |
| * </pre> |
| */ |
| com.android.vts.proto.VtsReportMessage.TestCaseReportMessageOrBuilder getTestCaseOrBuilder( |
| int index); |
| |
| // repeated .android.vts.ProfilingReportMessage profiling = 21; |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 21;</code> |
| * |
| * <pre> |
| * Profiling reports |
| * </pre> |
| */ |
| java.util.List<com.android.vts.proto.VtsReportMessage.ProfilingReportMessage> |
| getProfilingList(); |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 21;</code> |
| * |
| * <pre> |
| * Profiling reports |
| * </pre> |
| */ |
| com.android.vts.proto.VtsReportMessage.ProfilingReportMessage getProfiling(int index); |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 21;</code> |
| * |
| * <pre> |
| * Profiling reports |
| * </pre> |
| */ |
| int getProfilingCount(); |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 21;</code> |
| * |
| * <pre> |
| * Profiling reports |
| * </pre> |
| */ |
| java.util.List<? extends com.android.vts.proto.VtsReportMessage.ProfilingReportMessageOrBuilder> |
| getProfilingOrBuilderList(); |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 21;</code> |
| * |
| * <pre> |
| * Profiling reports |
| * </pre> |
| */ |
| com.android.vts.proto.VtsReportMessage.ProfilingReportMessageOrBuilder getProfilingOrBuilder( |
| int index); |
| |
| // repeated .android.vts.SystraceReportMessage systrace = 22; |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 22;</code> |
| * |
| * <pre> |
| * Systrace report per file |
| * </pre> |
| */ |
| java.util.List<com.android.vts.proto.VtsReportMessage.SystraceReportMessage> |
| getSystraceList(); |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 22;</code> |
| * |
| * <pre> |
| * Systrace report per file |
| * </pre> |
| */ |
| com.android.vts.proto.VtsReportMessage.SystraceReportMessage getSystrace(int index); |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 22;</code> |
| * |
| * <pre> |
| * Systrace report per file |
| * </pre> |
| */ |
| int getSystraceCount(); |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 22;</code> |
| * |
| * <pre> |
| * Systrace report per file |
| * </pre> |
| */ |
| java.util.List<? extends com.android.vts.proto.VtsReportMessage.SystraceReportMessageOrBuilder> |
| getSystraceOrBuilderList(); |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 22;</code> |
| * |
| * <pre> |
| * Systrace report per file |
| * </pre> |
| */ |
| com.android.vts.proto.VtsReportMessage.SystraceReportMessageOrBuilder getSystraceOrBuilder( |
| int index); |
| |
| // optional int64 start_timestamp = 101; |
| /** |
| * <code>optional int64 start_timestamp = 101;</code> |
| * |
| * <pre> |
| * Execution start and end time stamp. |
| * </pre> |
| */ |
| boolean hasStartTimestamp(); |
| /** |
| * <code>optional int64 start_timestamp = 101;</code> |
| * |
| * <pre> |
| * Execution start and end time stamp. |
| * </pre> |
| */ |
| long getStartTimestamp(); |
| |
| // optional int64 end_timestamp = 102; |
| /** |
| * <code>optional int64 end_timestamp = 102;</code> |
| */ |
| boolean hasEndTimestamp(); |
| /** |
| * <code>optional int64 end_timestamp = 102;</code> |
| */ |
| long getEndTimestamp(); |
| |
| // repeated .android.vts.CoverageReportMessage coverage = 103; |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 103;</code> |
| * |
| * <pre> |
| * Coverage report per file |
| * </pre> |
| */ |
| java.util.List<com.android.vts.proto.VtsReportMessage.CoverageReportMessage> |
| getCoverageList(); |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 103;</code> |
| * |
| * <pre> |
| * Coverage report per file |
| * </pre> |
| */ |
| com.android.vts.proto.VtsReportMessage.CoverageReportMessage getCoverage(int index); |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 103;</code> |
| * |
| * <pre> |
| * Coverage report per file |
| * </pre> |
| */ |
| int getCoverageCount(); |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 103;</code> |
| * |
| * <pre> |
| * Coverage report per file |
| * </pre> |
| */ |
| java.util.List<? extends com.android.vts.proto.VtsReportMessage.CoverageReportMessageOrBuilder> |
| getCoverageOrBuilderList(); |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 103;</code> |
| * |
| * <pre> |
| * Coverage report per file |
| * </pre> |
| */ |
| com.android.vts.proto.VtsReportMessage.CoverageReportMessageOrBuilder getCoverageOrBuilder( |
| int index); |
| |
| // repeated .android.vts.LogMessage log = 1001; |
| /** |
| * <code>repeated .android.vts.LogMessage log = 1001;</code> |
| * |
| * <pre> |
| * Log for a test module. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| java.util.List<com.android.vts.proto.VtsReportMessage.LogMessage> |
| getLogList(); |
| /** |
| * <code>repeated .android.vts.LogMessage log = 1001;</code> |
| * |
| * <pre> |
| * Log for a test module. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| com.android.vts.proto.VtsReportMessage.LogMessage getLog(int index); |
| /** |
| * <code>repeated .android.vts.LogMessage log = 1001;</code> |
| * |
| * <pre> |
| * Log for a test module. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| int getLogCount(); |
| /** |
| * <code>repeated .android.vts.LogMessage log = 1001;</code> |
| * |
| * <pre> |
| * Log for a test module. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| java.util.List<? extends com.android.vts.proto.VtsReportMessage.LogMessageOrBuilder> |
| getLogOrBuilderList(); |
| /** |
| * <code>repeated .android.vts.LogMessage log = 1001;</code> |
| * |
| * <pre> |
| * Log for a test module. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| com.android.vts.proto.VtsReportMessage.LogMessageOrBuilder getLogOrBuilder( |
| int index); |
| } |
| /** |
| * Protobuf type {@code android.vts.TestReportMessage} |
| * |
| * <pre> |
| * To specify a test execution report. |
| * </pre> |
| */ |
| public static final class TestReportMessage extends |
| com.google.protobuf.GeneratedMessage |
| implements TestReportMessageOrBuilder { |
| // Use TestReportMessage.newBuilder() to construct. |
| private TestReportMessage(com.google.protobuf.GeneratedMessage.Builder<?> builder) { |
| super(builder); |
| this.unknownFields = builder.getUnknownFields(); |
| } |
| private TestReportMessage(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } |
| |
| private static final TestReportMessage defaultInstance; |
| public static TestReportMessage getDefaultInstance() { |
| return defaultInstance; |
| } |
| |
| public TestReportMessage getDefaultInstanceForType() { |
| return defaultInstance; |
| } |
| |
| private final com.google.protobuf.UnknownFieldSet unknownFields; |
| @java.lang.Override |
| public final com.google.protobuf.UnknownFieldSet |
| getUnknownFields() { |
| return this.unknownFields; |
| } |
| private TestReportMessage( |
| 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; |
| testSuite_ = input.readBytes(); |
| break; |
| } |
| case 18: { |
| bitField0_ |= 0x00000002; |
| test_ = input.readBytes(); |
| break; |
| } |
| case 24: { |
| int rawValue = input.readEnum(); |
| com.android.vts.proto.VtsReportMessage.VtsTestType value = com.android.vts.proto.VtsReportMessage.VtsTestType.valueOf(rawValue); |
| if (value == null) { |
| unknownFields.mergeVarintField(3, rawValue); |
| } else { |
| bitField0_ |= 0x00000004; |
| testType_ = value; |
| } |
| break; |
| } |
| case 34: { |
| if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { |
| deviceInfo_ = new java.util.ArrayList<com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage>(); |
| mutable_bitField0_ |= 0x00000008; |
| } |
| deviceInfo_.add(input.readMessage(com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage.PARSER, extensionRegistry)); |
| break; |
| } |
| case 42: { |
| com.android.vts.proto.VtsReportMessage.AndroidBuildInfo.Builder subBuilder = null; |
| if (((bitField0_ & 0x00000008) == 0x00000008)) { |
| subBuilder = buildInfo_.toBuilder(); |
| } |
| buildInfo_ = input.readMessage(com.android.vts.proto.VtsReportMessage.AndroidBuildInfo.PARSER, extensionRegistry); |
| if (subBuilder != null) { |
| subBuilder.mergeFrom(buildInfo_); |
| buildInfo_ = subBuilder.buildPartial(); |
| } |
| bitField0_ |= 0x00000008; |
| break; |
| } |
| case 50: { |
| if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { |
| subscriberEmail_ = new java.util.ArrayList<com.google.protobuf.ByteString>(); |
| mutable_bitField0_ |= 0x00000020; |
| } |
| subscriberEmail_.add(input.readBytes()); |
| break; |
| } |
| case 58: { |
| com.android.vts.proto.VtsReportMessage.VtsHostInfo.Builder subBuilder = null; |
| if (((bitField0_ & 0x00000010) == 0x00000010)) { |
| subBuilder = hostInfo_.toBuilder(); |
| } |
| hostInfo_ = input.readMessage(com.android.vts.proto.VtsReportMessage.VtsHostInfo.PARSER, extensionRegistry); |
| if (subBuilder != null) { |
| subBuilder.mergeFrom(hostInfo_); |
| hostInfo_ = subBuilder.buildPartial(); |
| } |
| bitField0_ |= 0x00000010; |
| break; |
| } |
| case 90: { |
| if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) { |
| testCase_ = new java.util.ArrayList<com.android.vts.proto.VtsReportMessage.TestCaseReportMessage>(); |
| mutable_bitField0_ |= 0x00000080; |
| } |
| testCase_.add(input.readMessage(com.android.vts.proto.VtsReportMessage.TestCaseReportMessage.PARSER, extensionRegistry)); |
| break; |
| } |
| case 170: { |
| if (!((mutable_bitField0_ & 0x00000100) == 0x00000100)) { |
| profiling_ = new java.util.ArrayList<com.android.vts.proto.VtsReportMessage.ProfilingReportMessage>(); |
| mutable_bitField0_ |= 0x00000100; |
| } |
| profiling_.add(input.readMessage(com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.PARSER, extensionRegistry)); |
| break; |
| } |
| case 178: { |
| if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) { |
| systrace_ = new java.util.ArrayList<com.android.vts.proto.VtsReportMessage.SystraceReportMessage>(); |
| mutable_bitField0_ |= 0x00000200; |
| } |
| systrace_.add(input.readMessage(com.android.vts.proto.VtsReportMessage.SystraceReportMessage.PARSER, extensionRegistry)); |
| break; |
| } |
| case 808: { |
| bitField0_ |= 0x00000020; |
| startTimestamp_ = input.readInt64(); |
| break; |
| } |
| case 816: { |
| bitField0_ |= 0x00000040; |
| endTimestamp_ = input.readInt64(); |
| break; |
| } |
| case 826: { |
| if (!((mutable_bitField0_ & 0x00001000) == 0x00001000)) { |
| coverage_ = new java.util.ArrayList<com.android.vts.proto.VtsReportMessage.CoverageReportMessage>(); |
| mutable_bitField0_ |= 0x00001000; |
| } |
| coverage_.add(input.readMessage(com.android.vts.proto.VtsReportMessage.CoverageReportMessage.PARSER, extensionRegistry)); |
| break; |
| } |
| case 8010: { |
| if (!((mutable_bitField0_ & 0x00002000) == 0x00002000)) { |
| log_ = new java.util.ArrayList<com.android.vts.proto.VtsReportMessage.LogMessage>(); |
| mutable_bitField0_ |= 0x00002000; |
| } |
| log_.add(input.readMessage(com.android.vts.proto.VtsReportMessage.LogMessage.PARSER, extensionRegistry)); |
| break; |
| } |
| } |
| } |
| } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| throw e.setUnfinishedMessage(this); |
| } catch (java.io.IOException e) { |
| throw new com.google.protobuf.InvalidProtocolBufferException( |
| e.getMessage()).setUnfinishedMessage(this); |
| } finally { |
| if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { |
| deviceInfo_ = java.util.Collections.unmodifiableList(deviceInfo_); |
| } |
| if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) { |
| subscriberEmail_ = java.util.Collections.unmodifiableList(subscriberEmail_); |
| } |
| if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) { |
| testCase_ = java.util.Collections.unmodifiableList(testCase_); |
| } |
| if (((mutable_bitField0_ & 0x00000100) == 0x00000100)) { |
| profiling_ = java.util.Collections.unmodifiableList(profiling_); |
| } |
| if (((mutable_bitField0_ & 0x00000200) == 0x00000200)) { |
| systrace_ = java.util.Collections.unmodifiableList(systrace_); |
| } |
| if (((mutable_bitField0_ & 0x00001000) == 0x00001000)) { |
| coverage_ = java.util.Collections.unmodifiableList(coverage_); |
| } |
| if (((mutable_bitField0_ & 0x00002000) == 0x00002000)) { |
| log_ = java.util.Collections.unmodifiableList(log_); |
| } |
| this.unknownFields = unknownFields.build(); |
| makeExtensionsImmutable(); |
| } |
| } |
| public static final com.google.protobuf.Descriptors.Descriptor |
| getDescriptor() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_TestReportMessage_descriptor; |
| } |
| |
| protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internalGetFieldAccessorTable() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_TestReportMessage_fieldAccessorTable |
| .ensureFieldAccessorsInitialized( |
| com.android.vts.proto.VtsReportMessage.TestReportMessage.class, com.android.vts.proto.VtsReportMessage.TestReportMessage.Builder.class); |
| } |
| |
| public static com.google.protobuf.Parser<TestReportMessage> PARSER = |
| new com.google.protobuf.AbstractParser<TestReportMessage>() { |
| public TestReportMessage parsePartialFrom( |
| com.google.protobuf.CodedInputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return new TestReportMessage(input, extensionRegistry); |
| } |
| }; |
| |
| @java.lang.Override |
| public com.google.protobuf.Parser<TestReportMessage> getParserForType() { |
| return PARSER; |
| } |
| |
| private int bitField0_; |
| // optional bytes test_suite = 1 [deprecated = true]; |
| public static final int TEST_SUITE_FIELD_NUMBER = 1; |
| private com.google.protobuf.ByteString testSuite_; |
| /** |
| * <code>optional bytes test_suite = 1 [deprecated = true];</code> |
| * |
| * <pre> |
| * The test suite name.. |
| * </pre> |
| */ |
| @java.lang.Deprecated public boolean hasTestSuite() { |
| return ((bitField0_ & 0x00000001) == 0x00000001); |
| } |
| /** |
| * <code>optional bytes test_suite = 1 [deprecated = true];</code> |
| * |
| * <pre> |
| * The test suite name.. |
| * </pre> |
| */ |
| @java.lang.Deprecated public com.google.protobuf.ByteString getTestSuite() { |
| return testSuite_; |
| } |
| |
| // optional bytes test = 2; |
| public static final int TEST_FIELD_NUMBER = 2; |
| private com.google.protobuf.ByteString test_; |
| /** |
| * <code>optional bytes test = 2;</code> |
| * |
| * <pre> |
| * The test name. |
| * </pre> |
| */ |
| public boolean hasTest() { |
| return ((bitField0_ & 0x00000002) == 0x00000002); |
| } |
| /** |
| * <code>optional bytes test = 2;</code> |
| * |
| * <pre> |
| * The test name. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getTest() { |
| return test_; |
| } |
| |
| // optional .android.vts.VtsTestType test_type = 3; |
| public static final int TEST_TYPE_FIELD_NUMBER = 3; |
| private com.android.vts.proto.VtsReportMessage.VtsTestType testType_; |
| /** |
| * <code>optional .android.vts.VtsTestType test_type = 3;</code> |
| * |
| * <pre> |
| * The test type |
| * </pre> |
| */ |
| public boolean hasTestType() { |
| return ((bitField0_ & 0x00000004) == 0x00000004); |
| } |
| /** |
| * <code>optional .android.vts.VtsTestType test_type = 3;</code> |
| * |
| * <pre> |
| * The test type |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.VtsTestType getTestType() { |
| return testType_; |
| } |
| |
| // repeated .android.vts.AndroidDeviceInfoMessage device_info = 4; |
| public static final int DEVICE_INFO_FIELD_NUMBER = 4; |
| private java.util.List<com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage> deviceInfo_; |
| /** |
| * <code>repeated .android.vts.AndroidDeviceInfoMessage device_info = 4;</code> |
| * |
| * <pre> |
| * Target device info |
| * </pre> |
| */ |
| public java.util.List<com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage> getDeviceInfoList() { |
| return deviceInfo_; |
| } |
| /** |
| * <code>repeated .android.vts.AndroidDeviceInfoMessage device_info = 4;</code> |
| * |
| * <pre> |
| * Target device info |
| * </pre> |
| */ |
| public java.util.List<? extends com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessageOrBuilder> |
| getDeviceInfoOrBuilderList() { |
| return deviceInfo_; |
| } |
| /** |
| * <code>repeated .android.vts.AndroidDeviceInfoMessage device_info = 4;</code> |
| * |
| * <pre> |
| * Target device info |
| * </pre> |
| */ |
| public int getDeviceInfoCount() { |
| return deviceInfo_.size(); |
| } |
| /** |
| * <code>repeated .android.vts.AndroidDeviceInfoMessage device_info = 4;</code> |
| * |
| * <pre> |
| * Target device info |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage getDeviceInfo(int index) { |
| return deviceInfo_.get(index); |
| } |
| /** |
| * <code>repeated .android.vts.AndroidDeviceInfoMessage device_info = 4;</code> |
| * |
| * <pre> |
| * Target device info |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessageOrBuilder getDeviceInfoOrBuilder( |
| int index) { |
| return deviceInfo_.get(index); |
| } |
| |
| // optional .android.vts.AndroidBuildInfo build_info = 5; |
| public static final int BUILD_INFO_FIELD_NUMBER = 5; |
| private com.android.vts.proto.VtsReportMessage.AndroidBuildInfo buildInfo_; |
| /** |
| * <code>optional .android.vts.AndroidBuildInfo build_info = 5;</code> |
| * |
| * <pre> |
| * Build info |
| * </pre> |
| */ |
| public boolean hasBuildInfo() { |
| return ((bitField0_ & 0x00000008) == 0x00000008); |
| } |
| /** |
| * <code>optional .android.vts.AndroidBuildInfo build_info = 5;</code> |
| * |
| * <pre> |
| * Build info |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.AndroidBuildInfo getBuildInfo() { |
| return buildInfo_; |
| } |
| /** |
| * <code>optional .android.vts.AndroidBuildInfo build_info = 5;</code> |
| * |
| * <pre> |
| * Build info |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.AndroidBuildInfoOrBuilder getBuildInfoOrBuilder() { |
| return buildInfo_; |
| } |
| |
| // repeated bytes subscriber_email = 6; |
| public static final int SUBSCRIBER_EMAIL_FIELD_NUMBER = 6; |
| private java.util.List<com.google.protobuf.ByteString> subscriberEmail_; |
| /** |
| * <code>repeated bytes subscriber_email = 6;</code> |
| * |
| * <pre> |
| * Email addresses of subscribers to the test results |
| * </pre> |
| */ |
| public java.util.List<com.google.protobuf.ByteString> |
| getSubscriberEmailList() { |
| return subscriberEmail_; |
| } |
| /** |
| * <code>repeated bytes subscriber_email = 6;</code> |
| * |
| * <pre> |
| * Email addresses of subscribers to the test results |
| * </pre> |
| */ |
| public int getSubscriberEmailCount() { |
| return subscriberEmail_.size(); |
| } |
| /** |
| * <code>repeated bytes subscriber_email = 6;</code> |
| * |
| * <pre> |
| * Email addresses of subscribers to the test results |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getSubscriberEmail(int index) { |
| return subscriberEmail_.get(index); |
| } |
| |
| // optional .android.vts.VtsHostInfo host_info = 7; |
| public static final int HOST_INFO_FIELD_NUMBER = 7; |
| private com.android.vts.proto.VtsReportMessage.VtsHostInfo hostInfo_; |
| /** |
| * <code>optional .android.vts.VtsHostInfo host_info = 7;</code> |
| * |
| * <pre> |
| * Info about the host computer |
| * </pre> |
| */ |
| public boolean hasHostInfo() { |
| return ((bitField0_ & 0x00000010) == 0x00000010); |
| } |
| /** |
| * <code>optional .android.vts.VtsHostInfo host_info = 7;</code> |
| * |
| * <pre> |
| * Info about the host computer |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.VtsHostInfo getHostInfo() { |
| return hostInfo_; |
| } |
| /** |
| * <code>optional .android.vts.VtsHostInfo host_info = 7;</code> |
| * |
| * <pre> |
| * Info about the host computer |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.VtsHostInfoOrBuilder getHostInfoOrBuilder() { |
| return hostInfo_; |
| } |
| |
| // repeated .android.vts.TestCaseReportMessage test_case = 11; |
| public static final int TEST_CASE_FIELD_NUMBER = 11; |
| private java.util.List<com.android.vts.proto.VtsReportMessage.TestCaseReportMessage> testCase_; |
| /** |
| * <code>repeated .android.vts.TestCaseReportMessage test_case = 11;</code> |
| * |
| * <pre> |
| * Test case reports |
| * </pre> |
| */ |
| public java.util.List<com.android.vts.proto.VtsReportMessage.TestCaseReportMessage> getTestCaseList() { |
| return testCase_; |
| } |
| /** |
| * <code>repeated .android.vts.TestCaseReportMessage test_case = 11;</code> |
| * |
| * <pre> |
| * Test case reports |
| * </pre> |
| */ |
| public java.util.List<? extends com.android.vts.proto.VtsReportMessage.TestCaseReportMessageOrBuilder> |
| getTestCaseOrBuilderList() { |
| return testCase_; |
| } |
| /** |
| * <code>repeated .android.vts.TestCaseReportMessage test_case = 11;</code> |
| * |
| * <pre> |
| * Test case reports |
| * </pre> |
| */ |
| public int getTestCaseCount() { |
| return testCase_.size(); |
| } |
| /** |
| * <code>repeated .android.vts.TestCaseReportMessage test_case = 11;</code> |
| * |
| * <pre> |
| * Test case reports |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.TestCaseReportMessage getTestCase(int index) { |
| return testCase_.get(index); |
| } |
| /** |
| * <code>repeated .android.vts.TestCaseReportMessage test_case = 11;</code> |
| * |
| * <pre> |
| * Test case reports |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.TestCaseReportMessageOrBuilder getTestCaseOrBuilder( |
| int index) { |
| return testCase_.get(index); |
| } |
| |
| // repeated .android.vts.ProfilingReportMessage profiling = 21; |
| public static final int PROFILING_FIELD_NUMBER = 21; |
| private java.util.List<com.android.vts.proto.VtsReportMessage.ProfilingReportMessage> profiling_; |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 21;</code> |
| * |
| * <pre> |
| * Profiling reports |
| * </pre> |
| */ |
| public java.util.List<com.android.vts.proto.VtsReportMessage.ProfilingReportMessage> getProfilingList() { |
| return profiling_; |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 21;</code> |
| * |
| * <pre> |
| * Profiling reports |
| * </pre> |
| */ |
| public java.util.List<? extends com.android.vts.proto.VtsReportMessage.ProfilingReportMessageOrBuilder> |
| getProfilingOrBuilderList() { |
| return profiling_; |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 21;</code> |
| * |
| * <pre> |
| * Profiling reports |
| * </pre> |
| */ |
| public int getProfilingCount() { |
| return profiling_.size(); |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 21;</code> |
| * |
| * <pre> |
| * Profiling reports |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.ProfilingReportMessage getProfiling(int index) { |
| return profiling_.get(index); |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 21;</code> |
| * |
| * <pre> |
| * Profiling reports |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.ProfilingReportMessageOrBuilder getProfilingOrBuilder( |
| int index) { |
| return profiling_.get(index); |
| } |
| |
| // repeated .android.vts.SystraceReportMessage systrace = 22; |
| public static final int SYSTRACE_FIELD_NUMBER = 22; |
| private java.util.List<com.android.vts.proto.VtsReportMessage.SystraceReportMessage> systrace_; |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 22;</code> |
| * |
| * <pre> |
| * Systrace report per file |
| * </pre> |
| */ |
| public java.util.List<com.android.vts.proto.VtsReportMessage.SystraceReportMessage> getSystraceList() { |
| return systrace_; |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 22;</code> |
| * |
| * <pre> |
| * Systrace report per file |
| * </pre> |
| */ |
| public java.util.List<? extends com.android.vts.proto.VtsReportMessage.SystraceReportMessageOrBuilder> |
| getSystraceOrBuilderList() { |
| return systrace_; |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 22;</code> |
| * |
| * <pre> |
| * Systrace report per file |
| * </pre> |
| */ |
| public int getSystraceCount() { |
| return systrace_.size(); |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 22;</code> |
| * |
| * <pre> |
| * Systrace report per file |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.SystraceReportMessage getSystrace(int index) { |
| return systrace_.get(index); |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 22;</code> |
| * |
| * <pre> |
| * Systrace report per file |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.SystraceReportMessageOrBuilder getSystraceOrBuilder( |
| int index) { |
| return systrace_.get(index); |
| } |
| |
| // optional int64 start_timestamp = 101; |
| public static final int START_TIMESTAMP_FIELD_NUMBER = 101; |
| private long startTimestamp_; |
| /** |
| * <code>optional int64 start_timestamp = 101;</code> |
| * |
| * <pre> |
| * Execution start and end time stamp. |
| * </pre> |
| */ |
| public boolean hasStartTimestamp() { |
| return ((bitField0_ & 0x00000020) == 0x00000020); |
| } |
| /** |
| * <code>optional int64 start_timestamp = 101;</code> |
| * |
| * <pre> |
| * Execution start and end time stamp. |
| * </pre> |
| */ |
| public long getStartTimestamp() { |
| return startTimestamp_; |
| } |
| |
| // optional int64 end_timestamp = 102; |
| public static final int END_TIMESTAMP_FIELD_NUMBER = 102; |
| private long endTimestamp_; |
| /** |
| * <code>optional int64 end_timestamp = 102;</code> |
| */ |
| public boolean hasEndTimestamp() { |
| return ((bitField0_ & 0x00000040) == 0x00000040); |
| } |
| /** |
| * <code>optional int64 end_timestamp = 102;</code> |
| */ |
| public long getEndTimestamp() { |
| return endTimestamp_; |
| } |
| |
| // repeated .android.vts.CoverageReportMessage coverage = 103; |
| public static final int COVERAGE_FIELD_NUMBER = 103; |
| private java.util.List<com.android.vts.proto.VtsReportMessage.CoverageReportMessage> coverage_; |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 103;</code> |
| * |
| * <pre> |
| * Coverage report per file |
| * </pre> |
| */ |
| public java.util.List<com.android.vts.proto.VtsReportMessage.CoverageReportMessage> getCoverageList() { |
| return coverage_; |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 103;</code> |
| * |
| * <pre> |
| * Coverage report per file |
| * </pre> |
| */ |
| public java.util.List<? extends com.android.vts.proto.VtsReportMessage.CoverageReportMessageOrBuilder> |
| getCoverageOrBuilderList() { |
| return coverage_; |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 103;</code> |
| * |
| * <pre> |
| * Coverage report per file |
| * </pre> |
| */ |
| public int getCoverageCount() { |
| return coverage_.size(); |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 103;</code> |
| * |
| * <pre> |
| * Coverage report per file |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.CoverageReportMessage getCoverage(int index) { |
| return coverage_.get(index); |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 103;</code> |
| * |
| * <pre> |
| * Coverage report per file |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.CoverageReportMessageOrBuilder getCoverageOrBuilder( |
| int index) { |
| return coverage_.get(index); |
| } |
| |
| // repeated .android.vts.LogMessage log = 1001; |
| public static final int LOG_FIELD_NUMBER = 1001; |
| private java.util.List<com.android.vts.proto.VtsReportMessage.LogMessage> log_; |
| /** |
| * <code>repeated .android.vts.LogMessage log = 1001;</code> |
| * |
| * <pre> |
| * Log for a test module. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public java.util.List<com.android.vts.proto.VtsReportMessage.LogMessage> getLogList() { |
| return log_; |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 1001;</code> |
| * |
| * <pre> |
| * Log for a test module. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public java.util.List<? extends com.android.vts.proto.VtsReportMessage.LogMessageOrBuilder> |
| getLogOrBuilderList() { |
| return log_; |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 1001;</code> |
| * |
| * <pre> |
| * Log for a test module. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public int getLogCount() { |
| return log_.size(); |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 1001;</code> |
| * |
| * <pre> |
| * Log for a test module. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.LogMessage getLog(int index) { |
| return log_.get(index); |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 1001;</code> |
| * |
| * <pre> |
| * Log for a test module. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.LogMessageOrBuilder getLogOrBuilder( |
| int index) { |
| return log_.get(index); |
| } |
| |
| private void initFields() { |
| testSuite_ = com.google.protobuf.ByteString.EMPTY; |
| test_ = com.google.protobuf.ByteString.EMPTY; |
| testType_ = com.android.vts.proto.VtsReportMessage.VtsTestType.UNKNOWN_VTS_TESTTYPE; |
| deviceInfo_ = java.util.Collections.emptyList(); |
| buildInfo_ = com.android.vts.proto.VtsReportMessage.AndroidBuildInfo.getDefaultInstance(); |
| subscriberEmail_ = java.util.Collections.emptyList(); |
| hostInfo_ = com.android.vts.proto.VtsReportMessage.VtsHostInfo.getDefaultInstance(); |
| testCase_ = java.util.Collections.emptyList(); |
| profiling_ = java.util.Collections.emptyList(); |
| systrace_ = java.util.Collections.emptyList(); |
| startTimestamp_ = 0L; |
| endTimestamp_ = 0L; |
| coverage_ = java.util.Collections.emptyList(); |
| log_ = 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, testSuite_); |
| } |
| if (((bitField0_ & 0x00000002) == 0x00000002)) { |
| output.writeBytes(2, test_); |
| } |
| if (((bitField0_ & 0x00000004) == 0x00000004)) { |
| output.writeEnum(3, testType_.getNumber()); |
| } |
| for (int i = 0; i < deviceInfo_.size(); i++) { |
| output.writeMessage(4, deviceInfo_.get(i)); |
| } |
| if (((bitField0_ & 0x00000008) == 0x00000008)) { |
| output.writeMessage(5, buildInfo_); |
| } |
| for (int i = 0; i < subscriberEmail_.size(); i++) { |
| output.writeBytes(6, subscriberEmail_.get(i)); |
| } |
| if (((bitField0_ & 0x00000010) == 0x00000010)) { |
| output.writeMessage(7, hostInfo_); |
| } |
| for (int i = 0; i < testCase_.size(); i++) { |
| output.writeMessage(11, testCase_.get(i)); |
| } |
| for (int i = 0; i < profiling_.size(); i++) { |
| output.writeMessage(21, profiling_.get(i)); |
| } |
| for (int i = 0; i < systrace_.size(); i++) { |
| output.writeMessage(22, systrace_.get(i)); |
| } |
| if (((bitField0_ & 0x00000020) == 0x00000020)) { |
| output.writeInt64(101, startTimestamp_); |
| } |
| if (((bitField0_ & 0x00000040) == 0x00000040)) { |
| output.writeInt64(102, endTimestamp_); |
| } |
| for (int i = 0; i < coverage_.size(); i++) { |
| output.writeMessage(103, coverage_.get(i)); |
| } |
| for (int i = 0; i < log_.size(); i++) { |
| output.writeMessage(1001, log_.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, testSuite_); |
| } |
| if (((bitField0_ & 0x00000002) == 0x00000002)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(2, test_); |
| } |
| if (((bitField0_ & 0x00000004) == 0x00000004)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeEnumSize(3, testType_.getNumber()); |
| } |
| for (int i = 0; i < deviceInfo_.size(); i++) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeMessageSize(4, deviceInfo_.get(i)); |
| } |
| if (((bitField0_ & 0x00000008) == 0x00000008)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeMessageSize(5, buildInfo_); |
| } |
| { |
| int dataSize = 0; |
| for (int i = 0; i < subscriberEmail_.size(); i++) { |
| dataSize += com.google.protobuf.CodedOutputStream |
| .computeBytesSizeNoTag(subscriberEmail_.get(i)); |
| } |
| size += dataSize; |
| size += 1 * getSubscriberEmailList().size(); |
| } |
| if (((bitField0_ & 0x00000010) == 0x00000010)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeMessageSize(7, hostInfo_); |
| } |
| for (int i = 0; i < testCase_.size(); i++) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeMessageSize(11, testCase_.get(i)); |
| } |
| for (int i = 0; i < profiling_.size(); i++) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeMessageSize(21, profiling_.get(i)); |
| } |
| for (int i = 0; i < systrace_.size(); i++) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeMessageSize(22, systrace_.get(i)); |
| } |
| if (((bitField0_ & 0x00000020) == 0x00000020)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeInt64Size(101, startTimestamp_); |
| } |
| if (((bitField0_ & 0x00000040) == 0x00000040)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeInt64Size(102, endTimestamp_); |
| } |
| for (int i = 0; i < coverage_.size(); i++) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeMessageSize(103, coverage_.get(i)); |
| } |
| for (int i = 0; i < log_.size(); i++) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeMessageSize(1001, log_.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.android.vts.proto.VtsReportMessage.TestReportMessage parseFrom( |
| com.google.protobuf.ByteString data) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data); |
| } |
| public static com.android.vts.proto.VtsReportMessage.TestReportMessage parseFrom( |
| com.google.protobuf.ByteString data, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.TestReportMessage parseFrom(byte[] data) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data); |
| } |
| public static com.android.vts.proto.VtsReportMessage.TestReportMessage parseFrom( |
| byte[] data, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.TestReportMessage parseFrom(java.io.InputStream input) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input); |
| } |
| public static com.android.vts.proto.VtsReportMessage.TestReportMessage parseFrom( |
| java.io.InputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.TestReportMessage parseDelimitedFrom(java.io.InputStream input) |
| throws java.io.IOException { |
| return PARSER.parseDelimitedFrom(input); |
| } |
| public static com.android.vts.proto.VtsReportMessage.TestReportMessage parseDelimitedFrom( |
| java.io.InputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| return PARSER.parseDelimitedFrom(input, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.TestReportMessage parseFrom( |
| com.google.protobuf.CodedInputStream input) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input); |
| } |
| public static com.android.vts.proto.VtsReportMessage.TestReportMessage 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.android.vts.proto.VtsReportMessage.TestReportMessage 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.vts.TestReportMessage} |
| * |
| * <pre> |
| * To specify a test execution report. |
| * </pre> |
| */ |
| public static final class Builder extends |
| com.google.protobuf.GeneratedMessage.Builder<Builder> |
| implements com.android.vts.proto.VtsReportMessage.TestReportMessageOrBuilder { |
| public static final com.google.protobuf.Descriptors.Descriptor |
| getDescriptor() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_TestReportMessage_descriptor; |
| } |
| |
| protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internalGetFieldAccessorTable() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_TestReportMessage_fieldAccessorTable |
| .ensureFieldAccessorsInitialized( |
| com.android.vts.proto.VtsReportMessage.TestReportMessage.class, com.android.vts.proto.VtsReportMessage.TestReportMessage.Builder.class); |
| } |
| |
| // Construct using com.android.vts.proto.VtsReportMessage.TestReportMessage.newBuilder() |
| private Builder() { |
| maybeForceBuilderInitialization(); |
| } |
| |
| private Builder( |
| com.google.protobuf.GeneratedMessage.BuilderParent parent) { |
| super(parent); |
| maybeForceBuilderInitialization(); |
| } |
| private void maybeForceBuilderInitialization() { |
| if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { |
| getDeviceInfoFieldBuilder(); |
| getBuildInfoFieldBuilder(); |
| getHostInfoFieldBuilder(); |
| getTestCaseFieldBuilder(); |
| getProfilingFieldBuilder(); |
| getSystraceFieldBuilder(); |
| getCoverageFieldBuilder(); |
| getLogFieldBuilder(); |
| } |
| } |
| private static Builder create() { |
| return new Builder(); |
| } |
| |
| public Builder clear() { |
| super.clear(); |
| testSuite_ = com.google.protobuf.ByteString.EMPTY; |
| bitField0_ = (bitField0_ & ~0x00000001); |
| test_ = com.google.protobuf.ByteString.EMPTY; |
| bitField0_ = (bitField0_ & ~0x00000002); |
| testType_ = com.android.vts.proto.VtsReportMessage.VtsTestType.UNKNOWN_VTS_TESTTYPE; |
| bitField0_ = (bitField0_ & ~0x00000004); |
| if (deviceInfoBuilder_ == null) { |
| deviceInfo_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000008); |
| } else { |
| deviceInfoBuilder_.clear(); |
| } |
| if (buildInfoBuilder_ == null) { |
| buildInfo_ = com.android.vts.proto.VtsReportMessage.AndroidBuildInfo.getDefaultInstance(); |
| } else { |
| buildInfoBuilder_.clear(); |
| } |
| bitField0_ = (bitField0_ & ~0x00000010); |
| subscriberEmail_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000020); |
| if (hostInfoBuilder_ == null) { |
| hostInfo_ = com.android.vts.proto.VtsReportMessage.VtsHostInfo.getDefaultInstance(); |
| } else { |
| hostInfoBuilder_.clear(); |
| } |
| bitField0_ = (bitField0_ & ~0x00000040); |
| if (testCaseBuilder_ == null) { |
| testCase_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000080); |
| } else { |
| testCaseBuilder_.clear(); |
| } |
| if (profilingBuilder_ == null) { |
| profiling_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000100); |
| } else { |
| profilingBuilder_.clear(); |
| } |
| if (systraceBuilder_ == null) { |
| systrace_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000200); |
| } else { |
| systraceBuilder_.clear(); |
| } |
| startTimestamp_ = 0L; |
| bitField0_ = (bitField0_ & ~0x00000400); |
| endTimestamp_ = 0L; |
| bitField0_ = (bitField0_ & ~0x00000800); |
| if (coverageBuilder_ == null) { |
| coverage_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00001000); |
| } else { |
| coverageBuilder_.clear(); |
| } |
| if (logBuilder_ == null) { |
| log_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00002000); |
| } else { |
| logBuilder_.clear(); |
| } |
| return this; |
| } |
| |
| public Builder clone() { |
| return create().mergeFrom(buildPartial()); |
| } |
| |
| public com.google.protobuf.Descriptors.Descriptor |
| getDescriptorForType() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_TestReportMessage_descriptor; |
| } |
| |
| public com.android.vts.proto.VtsReportMessage.TestReportMessage getDefaultInstanceForType() { |
| return com.android.vts.proto.VtsReportMessage.TestReportMessage.getDefaultInstance(); |
| } |
| |
| public com.android.vts.proto.VtsReportMessage.TestReportMessage build() { |
| com.android.vts.proto.VtsReportMessage.TestReportMessage result = buildPartial(); |
| if (!result.isInitialized()) { |
| throw newUninitializedMessageException(result); |
| } |
| return result; |
| } |
| |
| public com.android.vts.proto.VtsReportMessage.TestReportMessage buildPartial() { |
| com.android.vts.proto.VtsReportMessage.TestReportMessage result = new com.android.vts.proto.VtsReportMessage.TestReportMessage(this); |
| int from_bitField0_ = bitField0_; |
| int to_bitField0_ = 0; |
| if (((from_bitField0_ & 0x00000001) == 0x00000001)) { |
| to_bitField0_ |= 0x00000001; |
| } |
| result.testSuite_ = testSuite_; |
| if (((from_bitField0_ & 0x00000002) == 0x00000002)) { |
| to_bitField0_ |= 0x00000002; |
| } |
| result.test_ = test_; |
| if (((from_bitField0_ & 0x00000004) == 0x00000004)) { |
| to_bitField0_ |= 0x00000004; |
| } |
| result.testType_ = testType_; |
| if (deviceInfoBuilder_ == null) { |
| if (((bitField0_ & 0x00000008) == 0x00000008)) { |
| deviceInfo_ = java.util.Collections.unmodifiableList(deviceInfo_); |
| bitField0_ = (bitField0_ & ~0x00000008); |
| } |
| result.deviceInfo_ = deviceInfo_; |
| } else { |
| result.deviceInfo_ = deviceInfoBuilder_.build(); |
| } |
| if (((from_bitField0_ & 0x00000010) == 0x00000010)) { |
| to_bitField0_ |= 0x00000008; |
| } |
| if (buildInfoBuilder_ == null) { |
| result.buildInfo_ = buildInfo_; |
| } else { |
| result.buildInfo_ = buildInfoBuilder_.build(); |
| } |
| if (((bitField0_ & 0x00000020) == 0x00000020)) { |
| subscriberEmail_ = java.util.Collections.unmodifiableList(subscriberEmail_); |
| bitField0_ = (bitField0_ & ~0x00000020); |
| } |
| result.subscriberEmail_ = subscriberEmail_; |
| if (((from_bitField0_ & 0x00000040) == 0x00000040)) { |
| to_bitField0_ |= 0x00000010; |
| } |
| if (hostInfoBuilder_ == null) { |
| result.hostInfo_ = hostInfo_; |
| } else { |
| result.hostInfo_ = hostInfoBuilder_.build(); |
| } |
| if (testCaseBuilder_ == null) { |
| if (((bitField0_ & 0x00000080) == 0x00000080)) { |
| testCase_ = java.util.Collections.unmodifiableList(testCase_); |
| bitField0_ = (bitField0_ & ~0x00000080); |
| } |
| result.testCase_ = testCase_; |
| } else { |
| result.testCase_ = testCaseBuilder_.build(); |
| } |
| if (profilingBuilder_ == null) { |
| if (((bitField0_ & 0x00000100) == 0x00000100)) { |
| profiling_ = java.util.Collections.unmodifiableList(profiling_); |
| bitField0_ = (bitField0_ & ~0x00000100); |
| } |
| result.profiling_ = profiling_; |
| } else { |
| result.profiling_ = profilingBuilder_.build(); |
| } |
| if (systraceBuilder_ == null) { |
| if (((bitField0_ & 0x00000200) == 0x00000200)) { |
| systrace_ = java.util.Collections.unmodifiableList(systrace_); |
| bitField0_ = (bitField0_ & ~0x00000200); |
| } |
| result.systrace_ = systrace_; |
| } else { |
| result.systrace_ = systraceBuilder_.build(); |
| } |
| if (((from_bitField0_ & 0x00000400) == 0x00000400)) { |
| to_bitField0_ |= 0x00000020; |
| } |
| result.startTimestamp_ = startTimestamp_; |
| if (((from_bitField0_ & 0x00000800) == 0x00000800)) { |
| to_bitField0_ |= 0x00000040; |
| } |
| result.endTimestamp_ = endTimestamp_; |
| if (coverageBuilder_ == null) { |
| if (((bitField0_ & 0x00001000) == 0x00001000)) { |
| coverage_ = java.util.Collections.unmodifiableList(coverage_); |
| bitField0_ = (bitField0_ & ~0x00001000); |
| } |
| result.coverage_ = coverage_; |
| } else { |
| result.coverage_ = coverageBuilder_.build(); |
| } |
| if (logBuilder_ == null) { |
| if (((bitField0_ & 0x00002000) == 0x00002000)) { |
| log_ = java.util.Collections.unmodifiableList(log_); |
| bitField0_ = (bitField0_ & ~0x00002000); |
| } |
| result.log_ = log_; |
| } else { |
| result.log_ = logBuilder_.build(); |
| } |
| result.bitField0_ = to_bitField0_; |
| onBuilt(); |
| return result; |
| } |
| |
| public Builder mergeFrom(com.google.protobuf.Message other) { |
| if (other instanceof com.android.vts.proto.VtsReportMessage.TestReportMessage) { |
| return mergeFrom((com.android.vts.proto.VtsReportMessage.TestReportMessage)other); |
| } else { |
| super.mergeFrom(other); |
| return this; |
| } |
| } |
| |
| public Builder mergeFrom(com.android.vts.proto.VtsReportMessage.TestReportMessage other) { |
| if (other == com.android.vts.proto.VtsReportMessage.TestReportMessage.getDefaultInstance()) return this; |
| if (other.hasTestSuite()) { |
| setTestSuite(other.getTestSuite()); |
| } |
| if (other.hasTest()) { |
| setTest(other.getTest()); |
| } |
| if (other.hasTestType()) { |
| setTestType(other.getTestType()); |
| } |
| if (deviceInfoBuilder_ == null) { |
| if (!other.deviceInfo_.isEmpty()) { |
| if (deviceInfo_.isEmpty()) { |
| deviceInfo_ = other.deviceInfo_; |
| bitField0_ = (bitField0_ & ~0x00000008); |
| } else { |
| ensureDeviceInfoIsMutable(); |
| deviceInfo_.addAll(other.deviceInfo_); |
| } |
| onChanged(); |
| } |
| } else { |
| if (!other.deviceInfo_.isEmpty()) { |
| if (deviceInfoBuilder_.isEmpty()) { |
| deviceInfoBuilder_.dispose(); |
| deviceInfoBuilder_ = null; |
| deviceInfo_ = other.deviceInfo_; |
| bitField0_ = (bitField0_ & ~0x00000008); |
| deviceInfoBuilder_ = |
| com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? |
| getDeviceInfoFieldBuilder() : null; |
| } else { |
| deviceInfoBuilder_.addAllMessages(other.deviceInfo_); |
| } |
| } |
| } |
| if (other.hasBuildInfo()) { |
| mergeBuildInfo(other.getBuildInfo()); |
| } |
| if (!other.subscriberEmail_.isEmpty()) { |
| if (subscriberEmail_.isEmpty()) { |
| subscriberEmail_ = other.subscriberEmail_; |
| bitField0_ = (bitField0_ & ~0x00000020); |
| } else { |
| ensureSubscriberEmailIsMutable(); |
| subscriberEmail_.addAll(other.subscriberEmail_); |
| } |
| onChanged(); |
| } |
| if (other.hasHostInfo()) { |
| mergeHostInfo(other.getHostInfo()); |
| } |
| if (testCaseBuilder_ == null) { |
| if (!other.testCase_.isEmpty()) { |
| if (testCase_.isEmpty()) { |
| testCase_ = other.testCase_; |
| bitField0_ = (bitField0_ & ~0x00000080); |
| } else { |
| ensureTestCaseIsMutable(); |
| testCase_.addAll(other.testCase_); |
| } |
| onChanged(); |
| } |
| } else { |
| if (!other.testCase_.isEmpty()) { |
| if (testCaseBuilder_.isEmpty()) { |
| testCaseBuilder_.dispose(); |
| testCaseBuilder_ = null; |
| testCase_ = other.testCase_; |
| bitField0_ = (bitField0_ & ~0x00000080); |
| testCaseBuilder_ = |
| com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? |
| getTestCaseFieldBuilder() : null; |
| } else { |
| testCaseBuilder_.addAllMessages(other.testCase_); |
| } |
| } |
| } |
| if (profilingBuilder_ == null) { |
| if (!other.profiling_.isEmpty()) { |
| if (profiling_.isEmpty()) { |
| profiling_ = other.profiling_; |
| bitField0_ = (bitField0_ & ~0x00000100); |
| } else { |
| ensureProfilingIsMutable(); |
| profiling_.addAll(other.profiling_); |
| } |
| onChanged(); |
| } |
| } else { |
| if (!other.profiling_.isEmpty()) { |
| if (profilingBuilder_.isEmpty()) { |
| profilingBuilder_.dispose(); |
| profilingBuilder_ = null; |
| profiling_ = other.profiling_; |
| bitField0_ = (bitField0_ & ~0x00000100); |
| profilingBuilder_ = |
| com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? |
| getProfilingFieldBuilder() : null; |
| } else { |
| profilingBuilder_.addAllMessages(other.profiling_); |
| } |
| } |
| } |
| if (systraceBuilder_ == null) { |
| if (!other.systrace_.isEmpty()) { |
| if (systrace_.isEmpty()) { |
| systrace_ = other.systrace_; |
| bitField0_ = (bitField0_ & ~0x00000200); |
| } else { |
| ensureSystraceIsMutable(); |
| systrace_.addAll(other.systrace_); |
| } |
| onChanged(); |
| } |
| } else { |
| if (!other.systrace_.isEmpty()) { |
| if (systraceBuilder_.isEmpty()) { |
| systraceBuilder_.dispose(); |
| systraceBuilder_ = null; |
| systrace_ = other.systrace_; |
| bitField0_ = (bitField0_ & ~0x00000200); |
| systraceBuilder_ = |
| com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? |
| getSystraceFieldBuilder() : null; |
| } else { |
| systraceBuilder_.addAllMessages(other.systrace_); |
| } |
| } |
| } |
| if (other.hasStartTimestamp()) { |
| setStartTimestamp(other.getStartTimestamp()); |
| } |
| if (other.hasEndTimestamp()) { |
| setEndTimestamp(other.getEndTimestamp()); |
| } |
| if (coverageBuilder_ == null) { |
| if (!other.coverage_.isEmpty()) { |
| if (coverage_.isEmpty()) { |
| coverage_ = other.coverage_; |
| bitField0_ = (bitField0_ & ~0x00001000); |
| } else { |
| ensureCoverageIsMutable(); |
| coverage_.addAll(other.coverage_); |
| } |
| onChanged(); |
| } |
| } else { |
| if (!other.coverage_.isEmpty()) { |
| if (coverageBuilder_.isEmpty()) { |
| coverageBuilder_.dispose(); |
| coverageBuilder_ = null; |
| coverage_ = other.coverage_; |
| bitField0_ = (bitField0_ & ~0x00001000); |
| coverageBuilder_ = |
| com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? |
| getCoverageFieldBuilder() : null; |
| } else { |
| coverageBuilder_.addAllMessages(other.coverage_); |
| } |
| } |
| } |
| if (logBuilder_ == null) { |
| if (!other.log_.isEmpty()) { |
| if (log_.isEmpty()) { |
| log_ = other.log_; |
| bitField0_ = (bitField0_ & ~0x00002000); |
| } else { |
| ensureLogIsMutable(); |
| log_.addAll(other.log_); |
| } |
| onChanged(); |
| } |
| } else { |
| if (!other.log_.isEmpty()) { |
| if (logBuilder_.isEmpty()) { |
| logBuilder_.dispose(); |
| logBuilder_ = null; |
| log_ = other.log_; |
| bitField0_ = (bitField0_ & ~0x00002000); |
| logBuilder_ = |
| com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? |
| getLogFieldBuilder() : null; |
| } else { |
| logBuilder_.addAllMessages(other.log_); |
| } |
| } |
| } |
| 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.android.vts.proto.VtsReportMessage.TestReportMessage parsedMessage = null; |
| try { |
| parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); |
| } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| parsedMessage = (com.android.vts.proto.VtsReportMessage.TestReportMessage) e.getUnfinishedMessage(); |
| throw e; |
| } finally { |
| if (parsedMessage != null) { |
| mergeFrom(parsedMessage); |
| } |
| } |
| return this; |
| } |
| private int bitField0_; |
| |
| // optional bytes test_suite = 1 [deprecated = true]; |
| private com.google.protobuf.ByteString testSuite_ = com.google.protobuf.ByteString.EMPTY; |
| /** |
| * <code>optional bytes test_suite = 1 [deprecated = true];</code> |
| * |
| * <pre> |
| * The test suite name.. |
| * </pre> |
| */ |
| @java.lang.Deprecated public boolean hasTestSuite() { |
| return ((bitField0_ & 0x00000001) == 0x00000001); |
| } |
| /** |
| * <code>optional bytes test_suite = 1 [deprecated = true];</code> |
| * |
| * <pre> |
| * The test suite name.. |
| * </pre> |
| */ |
| @java.lang.Deprecated public com.google.protobuf.ByteString getTestSuite() { |
| return testSuite_; |
| } |
| /** |
| * <code>optional bytes test_suite = 1 [deprecated = true];</code> |
| * |
| * <pre> |
| * The test suite name.. |
| * </pre> |
| */ |
| @java.lang.Deprecated public Builder setTestSuite(com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000001; |
| testSuite_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional bytes test_suite = 1 [deprecated = true];</code> |
| * |
| * <pre> |
| * The test suite name.. |
| * </pre> |
| */ |
| @java.lang.Deprecated public Builder clearTestSuite() { |
| bitField0_ = (bitField0_ & ~0x00000001); |
| testSuite_ = getDefaultInstance().getTestSuite(); |
| onChanged(); |
| return this; |
| } |
| |
| // optional bytes test = 2; |
| private com.google.protobuf.ByteString test_ = com.google.protobuf.ByteString.EMPTY; |
| /** |
| * <code>optional bytes test = 2;</code> |
| * |
| * <pre> |
| * The test name. |
| * </pre> |
| */ |
| public boolean hasTest() { |
| return ((bitField0_ & 0x00000002) == 0x00000002); |
| } |
| /** |
| * <code>optional bytes test = 2;</code> |
| * |
| * <pre> |
| * The test name. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getTest() { |
| return test_; |
| } |
| /** |
| * <code>optional bytes test = 2;</code> |
| * |
| * <pre> |
| * The test name. |
| * </pre> |
| */ |
| public Builder setTest(com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000002; |
| test_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional bytes test = 2;</code> |
| * |
| * <pre> |
| * The test name. |
| * </pre> |
| */ |
| public Builder clearTest() { |
| bitField0_ = (bitField0_ & ~0x00000002); |
| test_ = getDefaultInstance().getTest(); |
| onChanged(); |
| return this; |
| } |
| |
| // optional .android.vts.VtsTestType test_type = 3; |
| private com.android.vts.proto.VtsReportMessage.VtsTestType testType_ = com.android.vts.proto.VtsReportMessage.VtsTestType.UNKNOWN_VTS_TESTTYPE; |
| /** |
| * <code>optional .android.vts.VtsTestType test_type = 3;</code> |
| * |
| * <pre> |
| * The test type |
| * </pre> |
| */ |
| public boolean hasTestType() { |
| return ((bitField0_ & 0x00000004) == 0x00000004); |
| } |
| /** |
| * <code>optional .android.vts.VtsTestType test_type = 3;</code> |
| * |
| * <pre> |
| * The test type |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.VtsTestType getTestType() { |
| return testType_; |
| } |
| /** |
| * <code>optional .android.vts.VtsTestType test_type = 3;</code> |
| * |
| * <pre> |
| * The test type |
| * </pre> |
| */ |
| public Builder setTestType(com.android.vts.proto.VtsReportMessage.VtsTestType value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000004; |
| testType_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional .android.vts.VtsTestType test_type = 3;</code> |
| * |
| * <pre> |
| * The test type |
| * </pre> |
| */ |
| public Builder clearTestType() { |
| bitField0_ = (bitField0_ & ~0x00000004); |
| testType_ = com.android.vts.proto.VtsReportMessage.VtsTestType.UNKNOWN_VTS_TESTTYPE; |
| onChanged(); |
| return this; |
| } |
| |
| // repeated .android.vts.AndroidDeviceInfoMessage device_info = 4; |
| private java.util.List<com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage> deviceInfo_ = |
| java.util.Collections.emptyList(); |
| private void ensureDeviceInfoIsMutable() { |
| if (!((bitField0_ & 0x00000008) == 0x00000008)) { |
| deviceInfo_ = new java.util.ArrayList<com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage>(deviceInfo_); |
| bitField0_ |= 0x00000008; |
| } |
| } |
| |
| private com.google.protobuf.RepeatedFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage, com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage.Builder, com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessageOrBuilder> deviceInfoBuilder_; |
| |
| /** |
| * <code>repeated .android.vts.AndroidDeviceInfoMessage device_info = 4;</code> |
| * |
| * <pre> |
| * Target device info |
| * </pre> |
| */ |
| public java.util.List<com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage> getDeviceInfoList() { |
| if (deviceInfoBuilder_ == null) { |
| return java.util.Collections.unmodifiableList(deviceInfo_); |
| } else { |
| return deviceInfoBuilder_.getMessageList(); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.AndroidDeviceInfoMessage device_info = 4;</code> |
| * |
| * <pre> |
| * Target device info |
| * </pre> |
| */ |
| public int getDeviceInfoCount() { |
| if (deviceInfoBuilder_ == null) { |
| return deviceInfo_.size(); |
| } else { |
| return deviceInfoBuilder_.getCount(); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.AndroidDeviceInfoMessage device_info = 4;</code> |
| * |
| * <pre> |
| * Target device info |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage getDeviceInfo(int index) { |
| if (deviceInfoBuilder_ == null) { |
| return deviceInfo_.get(index); |
| } else { |
| return deviceInfoBuilder_.getMessage(index); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.AndroidDeviceInfoMessage device_info = 4;</code> |
| * |
| * <pre> |
| * Target device info |
| * </pre> |
| */ |
| public Builder setDeviceInfo( |
| int index, com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage value) { |
| if (deviceInfoBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureDeviceInfoIsMutable(); |
| deviceInfo_.set(index, value); |
| onChanged(); |
| } else { |
| deviceInfoBuilder_.setMessage(index, value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.AndroidDeviceInfoMessage device_info = 4;</code> |
| * |
| * <pre> |
| * Target device info |
| * </pre> |
| */ |
| public Builder setDeviceInfo( |
| int index, com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage.Builder builderForValue) { |
| if (deviceInfoBuilder_ == null) { |
| ensureDeviceInfoIsMutable(); |
| deviceInfo_.set(index, builderForValue.build()); |
| onChanged(); |
| } else { |
| deviceInfoBuilder_.setMessage(index, builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.AndroidDeviceInfoMessage device_info = 4;</code> |
| * |
| * <pre> |
| * Target device info |
| * </pre> |
| */ |
| public Builder addDeviceInfo(com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage value) { |
| if (deviceInfoBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureDeviceInfoIsMutable(); |
| deviceInfo_.add(value); |
| onChanged(); |
| } else { |
| deviceInfoBuilder_.addMessage(value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.AndroidDeviceInfoMessage device_info = 4;</code> |
| * |
| * <pre> |
| * Target device info |
| * </pre> |
| */ |
| public Builder addDeviceInfo( |
| int index, com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage value) { |
| if (deviceInfoBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureDeviceInfoIsMutable(); |
| deviceInfo_.add(index, value); |
| onChanged(); |
| } else { |
| deviceInfoBuilder_.addMessage(index, value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.AndroidDeviceInfoMessage device_info = 4;</code> |
| * |
| * <pre> |
| * Target device info |
| * </pre> |
| */ |
| public Builder addDeviceInfo( |
| com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage.Builder builderForValue) { |
| if (deviceInfoBuilder_ == null) { |
| ensureDeviceInfoIsMutable(); |
| deviceInfo_.add(builderForValue.build()); |
| onChanged(); |
| } else { |
| deviceInfoBuilder_.addMessage(builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.AndroidDeviceInfoMessage device_info = 4;</code> |
| * |
| * <pre> |
| * Target device info |
| * </pre> |
| */ |
| public Builder addDeviceInfo( |
| int index, com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage.Builder builderForValue) { |
| if (deviceInfoBuilder_ == null) { |
| ensureDeviceInfoIsMutable(); |
| deviceInfo_.add(index, builderForValue.build()); |
| onChanged(); |
| } else { |
| deviceInfoBuilder_.addMessage(index, builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.AndroidDeviceInfoMessage device_info = 4;</code> |
| * |
| * <pre> |
| * Target device info |
| * </pre> |
| */ |
| public Builder addAllDeviceInfo( |
| java.lang.Iterable<? extends com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage> values) { |
| if (deviceInfoBuilder_ == null) { |
| ensureDeviceInfoIsMutable(); |
| super.addAll(values, deviceInfo_); |
| onChanged(); |
| } else { |
| deviceInfoBuilder_.addAllMessages(values); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.AndroidDeviceInfoMessage device_info = 4;</code> |
| * |
| * <pre> |
| * Target device info |
| * </pre> |
| */ |
| public Builder clearDeviceInfo() { |
| if (deviceInfoBuilder_ == null) { |
| deviceInfo_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000008); |
| onChanged(); |
| } else { |
| deviceInfoBuilder_.clear(); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.AndroidDeviceInfoMessage device_info = 4;</code> |
| * |
| * <pre> |
| * Target device info |
| * </pre> |
| */ |
| public Builder removeDeviceInfo(int index) { |
| if (deviceInfoBuilder_ == null) { |
| ensureDeviceInfoIsMutable(); |
| deviceInfo_.remove(index); |
| onChanged(); |
| } else { |
| deviceInfoBuilder_.remove(index); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.AndroidDeviceInfoMessage device_info = 4;</code> |
| * |
| * <pre> |
| * Target device info |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage.Builder getDeviceInfoBuilder( |
| int index) { |
| return getDeviceInfoFieldBuilder().getBuilder(index); |
| } |
| /** |
| * <code>repeated .android.vts.AndroidDeviceInfoMessage device_info = 4;</code> |
| * |
| * <pre> |
| * Target device info |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessageOrBuilder getDeviceInfoOrBuilder( |
| int index) { |
| if (deviceInfoBuilder_ == null) { |
| return deviceInfo_.get(index); } else { |
| return deviceInfoBuilder_.getMessageOrBuilder(index); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.AndroidDeviceInfoMessage device_info = 4;</code> |
| * |
| * <pre> |
| * Target device info |
| * </pre> |
| */ |
| public java.util.List<? extends com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessageOrBuilder> |
| getDeviceInfoOrBuilderList() { |
| if (deviceInfoBuilder_ != null) { |
| return deviceInfoBuilder_.getMessageOrBuilderList(); |
| } else { |
| return java.util.Collections.unmodifiableList(deviceInfo_); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.AndroidDeviceInfoMessage device_info = 4;</code> |
| * |
| * <pre> |
| * Target device info |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage.Builder addDeviceInfoBuilder() { |
| return getDeviceInfoFieldBuilder().addBuilder( |
| com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage.getDefaultInstance()); |
| } |
| /** |
| * <code>repeated .android.vts.AndroidDeviceInfoMessage device_info = 4;</code> |
| * |
| * <pre> |
| * Target device info |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage.Builder addDeviceInfoBuilder( |
| int index) { |
| return getDeviceInfoFieldBuilder().addBuilder( |
| index, com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage.getDefaultInstance()); |
| } |
| /** |
| * <code>repeated .android.vts.AndroidDeviceInfoMessage device_info = 4;</code> |
| * |
| * <pre> |
| * Target device info |
| * </pre> |
| */ |
| public java.util.List<com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage.Builder> |
| getDeviceInfoBuilderList() { |
| return getDeviceInfoFieldBuilder().getBuilderList(); |
| } |
| private com.google.protobuf.RepeatedFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage, com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage.Builder, com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessageOrBuilder> |
| getDeviceInfoFieldBuilder() { |
| if (deviceInfoBuilder_ == null) { |
| deviceInfoBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage, com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage.Builder, com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessageOrBuilder>( |
| deviceInfo_, |
| ((bitField0_ & 0x00000008) == 0x00000008), |
| getParentForChildren(), |
| isClean()); |
| deviceInfo_ = null; |
| } |
| return deviceInfoBuilder_; |
| } |
| |
| // optional .android.vts.AndroidBuildInfo build_info = 5; |
| private com.android.vts.proto.VtsReportMessage.AndroidBuildInfo buildInfo_ = com.android.vts.proto.VtsReportMessage.AndroidBuildInfo.getDefaultInstance(); |
| private com.google.protobuf.SingleFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.AndroidBuildInfo, com.android.vts.proto.VtsReportMessage.AndroidBuildInfo.Builder, com.android.vts.proto.VtsReportMessage.AndroidBuildInfoOrBuilder> buildInfoBuilder_; |
| /** |
| * <code>optional .android.vts.AndroidBuildInfo build_info = 5;</code> |
| * |
| * <pre> |
| * Build info |
| * </pre> |
| */ |
| public boolean hasBuildInfo() { |
| return ((bitField0_ & 0x00000010) == 0x00000010); |
| } |
| /** |
| * <code>optional .android.vts.AndroidBuildInfo build_info = 5;</code> |
| * |
| * <pre> |
| * Build info |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.AndroidBuildInfo getBuildInfo() { |
| if (buildInfoBuilder_ == null) { |
| return buildInfo_; |
| } else { |
| return buildInfoBuilder_.getMessage(); |
| } |
| } |
| /** |
| * <code>optional .android.vts.AndroidBuildInfo build_info = 5;</code> |
| * |
| * <pre> |
| * Build info |
| * </pre> |
| */ |
| public Builder setBuildInfo(com.android.vts.proto.VtsReportMessage.AndroidBuildInfo value) { |
| if (buildInfoBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| buildInfo_ = value; |
| onChanged(); |
| } else { |
| buildInfoBuilder_.setMessage(value); |
| } |
| bitField0_ |= 0x00000010; |
| return this; |
| } |
| /** |
| * <code>optional .android.vts.AndroidBuildInfo build_info = 5;</code> |
| * |
| * <pre> |
| * Build info |
| * </pre> |
| */ |
| public Builder setBuildInfo( |
| com.android.vts.proto.VtsReportMessage.AndroidBuildInfo.Builder builderForValue) { |
| if (buildInfoBuilder_ == null) { |
| buildInfo_ = builderForValue.build(); |
| onChanged(); |
| } else { |
| buildInfoBuilder_.setMessage(builderForValue.build()); |
| } |
| bitField0_ |= 0x00000010; |
| return this; |
| } |
| /** |
| * <code>optional .android.vts.AndroidBuildInfo build_info = 5;</code> |
| * |
| * <pre> |
| * Build info |
| * </pre> |
| */ |
| public Builder mergeBuildInfo(com.android.vts.proto.VtsReportMessage.AndroidBuildInfo value) { |
| if (buildInfoBuilder_ == null) { |
| if (((bitField0_ & 0x00000010) == 0x00000010) && |
| buildInfo_ != com.android.vts.proto.VtsReportMessage.AndroidBuildInfo.getDefaultInstance()) { |
| buildInfo_ = |
| com.android.vts.proto.VtsReportMessage.AndroidBuildInfo.newBuilder(buildInfo_).mergeFrom(value).buildPartial(); |
| } else { |
| buildInfo_ = value; |
| } |
| onChanged(); |
| } else { |
| buildInfoBuilder_.mergeFrom(value); |
| } |
| bitField0_ |= 0x00000010; |
| return this; |
| } |
| /** |
| * <code>optional .android.vts.AndroidBuildInfo build_info = 5;</code> |
| * |
| * <pre> |
| * Build info |
| * </pre> |
| */ |
| public Builder clearBuildInfo() { |
| if (buildInfoBuilder_ == null) { |
| buildInfo_ = com.android.vts.proto.VtsReportMessage.AndroidBuildInfo.getDefaultInstance(); |
| onChanged(); |
| } else { |
| buildInfoBuilder_.clear(); |
| } |
| bitField0_ = (bitField0_ & ~0x00000010); |
| return this; |
| } |
| /** |
| * <code>optional .android.vts.AndroidBuildInfo build_info = 5;</code> |
| * |
| * <pre> |
| * Build info |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.AndroidBuildInfo.Builder getBuildInfoBuilder() { |
| bitField0_ |= 0x00000010; |
| onChanged(); |
| return getBuildInfoFieldBuilder().getBuilder(); |
| } |
| /** |
| * <code>optional .android.vts.AndroidBuildInfo build_info = 5;</code> |
| * |
| * <pre> |
| * Build info |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.AndroidBuildInfoOrBuilder getBuildInfoOrBuilder() { |
| if (buildInfoBuilder_ != null) { |
| return buildInfoBuilder_.getMessageOrBuilder(); |
| } else { |
| return buildInfo_; |
| } |
| } |
| /** |
| * <code>optional .android.vts.AndroidBuildInfo build_info = 5;</code> |
| * |
| * <pre> |
| * Build info |
| * </pre> |
| */ |
| private com.google.protobuf.SingleFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.AndroidBuildInfo, com.android.vts.proto.VtsReportMessage.AndroidBuildInfo.Builder, com.android.vts.proto.VtsReportMessage.AndroidBuildInfoOrBuilder> |
| getBuildInfoFieldBuilder() { |
| if (buildInfoBuilder_ == null) { |
| buildInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.AndroidBuildInfo, com.android.vts.proto.VtsReportMessage.AndroidBuildInfo.Builder, com.android.vts.proto.VtsReportMessage.AndroidBuildInfoOrBuilder>( |
| buildInfo_, |
| getParentForChildren(), |
| isClean()); |
| buildInfo_ = null; |
| } |
| return buildInfoBuilder_; |
| } |
| |
| // repeated bytes subscriber_email = 6; |
| private java.util.List<com.google.protobuf.ByteString> subscriberEmail_ = java.util.Collections.emptyList(); |
| private void ensureSubscriberEmailIsMutable() { |
| if (!((bitField0_ & 0x00000020) == 0x00000020)) { |
| subscriberEmail_ = new java.util.ArrayList<com.google.protobuf.ByteString>(subscriberEmail_); |
| bitField0_ |= 0x00000020; |
| } |
| } |
| /** |
| * <code>repeated bytes subscriber_email = 6;</code> |
| * |
| * <pre> |
| * Email addresses of subscribers to the test results |
| * </pre> |
| */ |
| public java.util.List<com.google.protobuf.ByteString> |
| getSubscriberEmailList() { |
| return java.util.Collections.unmodifiableList(subscriberEmail_); |
| } |
| /** |
| * <code>repeated bytes subscriber_email = 6;</code> |
| * |
| * <pre> |
| * Email addresses of subscribers to the test results |
| * </pre> |
| */ |
| public int getSubscriberEmailCount() { |
| return subscriberEmail_.size(); |
| } |
| /** |
| * <code>repeated bytes subscriber_email = 6;</code> |
| * |
| * <pre> |
| * Email addresses of subscribers to the test results |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString getSubscriberEmail(int index) { |
| return subscriberEmail_.get(index); |
| } |
| /** |
| * <code>repeated bytes subscriber_email = 6;</code> |
| * |
| * <pre> |
| * Email addresses of subscribers to the test results |
| * </pre> |
| */ |
| public Builder setSubscriberEmail( |
| int index, com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureSubscriberEmailIsMutable(); |
| subscriberEmail_.set(index, value); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>repeated bytes subscriber_email = 6;</code> |
| * |
| * <pre> |
| * Email addresses of subscribers to the test results |
| * </pre> |
| */ |
| public Builder addSubscriberEmail(com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureSubscriberEmailIsMutable(); |
| subscriberEmail_.add(value); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>repeated bytes subscriber_email = 6;</code> |
| * |
| * <pre> |
| * Email addresses of subscribers to the test results |
| * </pre> |
| */ |
| public Builder addAllSubscriberEmail( |
| java.lang.Iterable<? extends com.google.protobuf.ByteString> values) { |
| ensureSubscriberEmailIsMutable(); |
| super.addAll(values, subscriberEmail_); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>repeated bytes subscriber_email = 6;</code> |
| * |
| * <pre> |
| * Email addresses of subscribers to the test results |
| * </pre> |
| */ |
| public Builder clearSubscriberEmail() { |
| subscriberEmail_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000020); |
| onChanged(); |
| return this; |
| } |
| |
| // optional .android.vts.VtsHostInfo host_info = 7; |
| private com.android.vts.proto.VtsReportMessage.VtsHostInfo hostInfo_ = com.android.vts.proto.VtsReportMessage.VtsHostInfo.getDefaultInstance(); |
| private com.google.protobuf.SingleFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.VtsHostInfo, com.android.vts.proto.VtsReportMessage.VtsHostInfo.Builder, com.android.vts.proto.VtsReportMessage.VtsHostInfoOrBuilder> hostInfoBuilder_; |
| /** |
| * <code>optional .android.vts.VtsHostInfo host_info = 7;</code> |
| * |
| * <pre> |
| * Info about the host computer |
| * </pre> |
| */ |
| public boolean hasHostInfo() { |
| return ((bitField0_ & 0x00000040) == 0x00000040); |
| } |
| /** |
| * <code>optional .android.vts.VtsHostInfo host_info = 7;</code> |
| * |
| * <pre> |
| * Info about the host computer |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.VtsHostInfo getHostInfo() { |
| if (hostInfoBuilder_ == null) { |
| return hostInfo_; |
| } else { |
| return hostInfoBuilder_.getMessage(); |
| } |
| } |
| /** |
| * <code>optional .android.vts.VtsHostInfo host_info = 7;</code> |
| * |
| * <pre> |
| * Info about the host computer |
| * </pre> |
| */ |
| public Builder setHostInfo(com.android.vts.proto.VtsReportMessage.VtsHostInfo value) { |
| if (hostInfoBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| hostInfo_ = value; |
| onChanged(); |
| } else { |
| hostInfoBuilder_.setMessage(value); |
| } |
| bitField0_ |= 0x00000040; |
| return this; |
| } |
| /** |
| * <code>optional .android.vts.VtsHostInfo host_info = 7;</code> |
| * |
| * <pre> |
| * Info about the host computer |
| * </pre> |
| */ |
| public Builder setHostInfo( |
| com.android.vts.proto.VtsReportMessage.VtsHostInfo.Builder builderForValue) { |
| if (hostInfoBuilder_ == null) { |
| hostInfo_ = builderForValue.build(); |
| onChanged(); |
| } else { |
| hostInfoBuilder_.setMessage(builderForValue.build()); |
| } |
| bitField0_ |= 0x00000040; |
| return this; |
| } |
| /** |
| * <code>optional .android.vts.VtsHostInfo host_info = 7;</code> |
| * |
| * <pre> |
| * Info about the host computer |
| * </pre> |
| */ |
| public Builder mergeHostInfo(com.android.vts.proto.VtsReportMessage.VtsHostInfo value) { |
| if (hostInfoBuilder_ == null) { |
| if (((bitField0_ & 0x00000040) == 0x00000040) && |
| hostInfo_ != com.android.vts.proto.VtsReportMessage.VtsHostInfo.getDefaultInstance()) { |
| hostInfo_ = |
| com.android.vts.proto.VtsReportMessage.VtsHostInfo.newBuilder(hostInfo_).mergeFrom(value).buildPartial(); |
| } else { |
| hostInfo_ = value; |
| } |
| onChanged(); |
| } else { |
| hostInfoBuilder_.mergeFrom(value); |
| } |
| bitField0_ |= 0x00000040; |
| return this; |
| } |
| /** |
| * <code>optional .android.vts.VtsHostInfo host_info = 7;</code> |
| * |
| * <pre> |
| * Info about the host computer |
| * </pre> |
| */ |
| public Builder clearHostInfo() { |
| if (hostInfoBuilder_ == null) { |
| hostInfo_ = com.android.vts.proto.VtsReportMessage.VtsHostInfo.getDefaultInstance(); |
| onChanged(); |
| } else { |
| hostInfoBuilder_.clear(); |
| } |
| bitField0_ = (bitField0_ & ~0x00000040); |
| return this; |
| } |
| /** |
| * <code>optional .android.vts.VtsHostInfo host_info = 7;</code> |
| * |
| * <pre> |
| * Info about the host computer |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.VtsHostInfo.Builder getHostInfoBuilder() { |
| bitField0_ |= 0x00000040; |
| onChanged(); |
| return getHostInfoFieldBuilder().getBuilder(); |
| } |
| /** |
| * <code>optional .android.vts.VtsHostInfo host_info = 7;</code> |
| * |
| * <pre> |
| * Info about the host computer |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.VtsHostInfoOrBuilder getHostInfoOrBuilder() { |
| if (hostInfoBuilder_ != null) { |
| return hostInfoBuilder_.getMessageOrBuilder(); |
| } else { |
| return hostInfo_; |
| } |
| } |
| /** |
| * <code>optional .android.vts.VtsHostInfo host_info = 7;</code> |
| * |
| * <pre> |
| * Info about the host computer |
| * </pre> |
| */ |
| private com.google.protobuf.SingleFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.VtsHostInfo, com.android.vts.proto.VtsReportMessage.VtsHostInfo.Builder, com.android.vts.proto.VtsReportMessage.VtsHostInfoOrBuilder> |
| getHostInfoFieldBuilder() { |
| if (hostInfoBuilder_ == null) { |
| hostInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.VtsHostInfo, com.android.vts.proto.VtsReportMessage.VtsHostInfo.Builder, com.android.vts.proto.VtsReportMessage.VtsHostInfoOrBuilder>( |
| hostInfo_, |
| getParentForChildren(), |
| isClean()); |
| hostInfo_ = null; |
| } |
| return hostInfoBuilder_; |
| } |
| |
| // repeated .android.vts.TestCaseReportMessage test_case = 11; |
| private java.util.List<com.android.vts.proto.VtsReportMessage.TestCaseReportMessage> testCase_ = |
| java.util.Collections.emptyList(); |
| private void ensureTestCaseIsMutable() { |
| if (!((bitField0_ & 0x00000080) == 0x00000080)) { |
| testCase_ = new java.util.ArrayList<com.android.vts.proto.VtsReportMessage.TestCaseReportMessage>(testCase_); |
| bitField0_ |= 0x00000080; |
| } |
| } |
| |
| private com.google.protobuf.RepeatedFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.TestCaseReportMessage, com.android.vts.proto.VtsReportMessage.TestCaseReportMessage.Builder, com.android.vts.proto.VtsReportMessage.TestCaseReportMessageOrBuilder> testCaseBuilder_; |
| |
| /** |
| * <code>repeated .android.vts.TestCaseReportMessage test_case = 11;</code> |
| * |
| * <pre> |
| * Test case reports |
| * </pre> |
| */ |
| public java.util.List<com.android.vts.proto.VtsReportMessage.TestCaseReportMessage> getTestCaseList() { |
| if (testCaseBuilder_ == null) { |
| return java.util.Collections.unmodifiableList(testCase_); |
| } else { |
| return testCaseBuilder_.getMessageList(); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.TestCaseReportMessage test_case = 11;</code> |
| * |
| * <pre> |
| * Test case reports |
| * </pre> |
| */ |
| public int getTestCaseCount() { |
| if (testCaseBuilder_ == null) { |
| return testCase_.size(); |
| } else { |
| return testCaseBuilder_.getCount(); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.TestCaseReportMessage test_case = 11;</code> |
| * |
| * <pre> |
| * Test case reports |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.TestCaseReportMessage getTestCase(int index) { |
| if (testCaseBuilder_ == null) { |
| return testCase_.get(index); |
| } else { |
| return testCaseBuilder_.getMessage(index); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.TestCaseReportMessage test_case = 11;</code> |
| * |
| * <pre> |
| * Test case reports |
| * </pre> |
| */ |
| public Builder setTestCase( |
| int index, com.android.vts.proto.VtsReportMessage.TestCaseReportMessage value) { |
| if (testCaseBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureTestCaseIsMutable(); |
| testCase_.set(index, value); |
| onChanged(); |
| } else { |
| testCaseBuilder_.setMessage(index, value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.TestCaseReportMessage test_case = 11;</code> |
| * |
| * <pre> |
| * Test case reports |
| * </pre> |
| */ |
| public Builder setTestCase( |
| int index, com.android.vts.proto.VtsReportMessage.TestCaseReportMessage.Builder builderForValue) { |
| if (testCaseBuilder_ == null) { |
| ensureTestCaseIsMutable(); |
| testCase_.set(index, builderForValue.build()); |
| onChanged(); |
| } else { |
| testCaseBuilder_.setMessage(index, builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.TestCaseReportMessage test_case = 11;</code> |
| * |
| * <pre> |
| * Test case reports |
| * </pre> |
| */ |
| public Builder addTestCase(com.android.vts.proto.VtsReportMessage.TestCaseReportMessage value) { |
| if (testCaseBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureTestCaseIsMutable(); |
| testCase_.add(value); |
| onChanged(); |
| } else { |
| testCaseBuilder_.addMessage(value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.TestCaseReportMessage test_case = 11;</code> |
| * |
| * <pre> |
| * Test case reports |
| * </pre> |
| */ |
| public Builder addTestCase( |
| int index, com.android.vts.proto.VtsReportMessage.TestCaseReportMessage value) { |
| if (testCaseBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureTestCaseIsMutable(); |
| testCase_.add(index, value); |
| onChanged(); |
| } else { |
| testCaseBuilder_.addMessage(index, value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.TestCaseReportMessage test_case = 11;</code> |
| * |
| * <pre> |
| * Test case reports |
| * </pre> |
| */ |
| public Builder addTestCase( |
| com.android.vts.proto.VtsReportMessage.TestCaseReportMessage.Builder builderForValue) { |
| if (testCaseBuilder_ == null) { |
| ensureTestCaseIsMutable(); |
| testCase_.add(builderForValue.build()); |
| onChanged(); |
| } else { |
| testCaseBuilder_.addMessage(builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.TestCaseReportMessage test_case = 11;</code> |
| * |
| * <pre> |
| * Test case reports |
| * </pre> |
| */ |
| public Builder addTestCase( |
| int index, com.android.vts.proto.VtsReportMessage.TestCaseReportMessage.Builder builderForValue) { |
| if (testCaseBuilder_ == null) { |
| ensureTestCaseIsMutable(); |
| testCase_.add(index, builderForValue.build()); |
| onChanged(); |
| } else { |
| testCaseBuilder_.addMessage(index, builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.TestCaseReportMessage test_case = 11;</code> |
| * |
| * <pre> |
| * Test case reports |
| * </pre> |
| */ |
| public Builder addAllTestCase( |
| java.lang.Iterable<? extends com.android.vts.proto.VtsReportMessage.TestCaseReportMessage> values) { |
| if (testCaseBuilder_ == null) { |
| ensureTestCaseIsMutable(); |
| super.addAll(values, testCase_); |
| onChanged(); |
| } else { |
| testCaseBuilder_.addAllMessages(values); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.TestCaseReportMessage test_case = 11;</code> |
| * |
| * <pre> |
| * Test case reports |
| * </pre> |
| */ |
| public Builder clearTestCase() { |
| if (testCaseBuilder_ == null) { |
| testCase_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000080); |
| onChanged(); |
| } else { |
| testCaseBuilder_.clear(); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.TestCaseReportMessage test_case = 11;</code> |
| * |
| * <pre> |
| * Test case reports |
| * </pre> |
| */ |
| public Builder removeTestCase(int index) { |
| if (testCaseBuilder_ == null) { |
| ensureTestCaseIsMutable(); |
| testCase_.remove(index); |
| onChanged(); |
| } else { |
| testCaseBuilder_.remove(index); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.TestCaseReportMessage test_case = 11;</code> |
| * |
| * <pre> |
| * Test case reports |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.TestCaseReportMessage.Builder getTestCaseBuilder( |
| int index) { |
| return getTestCaseFieldBuilder().getBuilder(index); |
| } |
| /** |
| * <code>repeated .android.vts.TestCaseReportMessage test_case = 11;</code> |
| * |
| * <pre> |
| * Test case reports |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.TestCaseReportMessageOrBuilder getTestCaseOrBuilder( |
| int index) { |
| if (testCaseBuilder_ == null) { |
| return testCase_.get(index); } else { |
| return testCaseBuilder_.getMessageOrBuilder(index); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.TestCaseReportMessage test_case = 11;</code> |
| * |
| * <pre> |
| * Test case reports |
| * </pre> |
| */ |
| public java.util.List<? extends com.android.vts.proto.VtsReportMessage.TestCaseReportMessageOrBuilder> |
| getTestCaseOrBuilderList() { |
| if (testCaseBuilder_ != null) { |
| return testCaseBuilder_.getMessageOrBuilderList(); |
| } else { |
| return java.util.Collections.unmodifiableList(testCase_); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.TestCaseReportMessage test_case = 11;</code> |
| * |
| * <pre> |
| * Test case reports |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.TestCaseReportMessage.Builder addTestCaseBuilder() { |
| return getTestCaseFieldBuilder().addBuilder( |
| com.android.vts.proto.VtsReportMessage.TestCaseReportMessage.getDefaultInstance()); |
| } |
| /** |
| * <code>repeated .android.vts.TestCaseReportMessage test_case = 11;</code> |
| * |
| * <pre> |
| * Test case reports |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.TestCaseReportMessage.Builder addTestCaseBuilder( |
| int index) { |
| return getTestCaseFieldBuilder().addBuilder( |
| index, com.android.vts.proto.VtsReportMessage.TestCaseReportMessage.getDefaultInstance()); |
| } |
| /** |
| * <code>repeated .android.vts.TestCaseReportMessage test_case = 11;</code> |
| * |
| * <pre> |
| * Test case reports |
| * </pre> |
| */ |
| public java.util.List<com.android.vts.proto.VtsReportMessage.TestCaseReportMessage.Builder> |
| getTestCaseBuilderList() { |
| return getTestCaseFieldBuilder().getBuilderList(); |
| } |
| private com.google.protobuf.RepeatedFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.TestCaseReportMessage, com.android.vts.proto.VtsReportMessage.TestCaseReportMessage.Builder, com.android.vts.proto.VtsReportMessage.TestCaseReportMessageOrBuilder> |
| getTestCaseFieldBuilder() { |
| if (testCaseBuilder_ == null) { |
| testCaseBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.TestCaseReportMessage, com.android.vts.proto.VtsReportMessage.TestCaseReportMessage.Builder, com.android.vts.proto.VtsReportMessage.TestCaseReportMessageOrBuilder>( |
| testCase_, |
| ((bitField0_ & 0x00000080) == 0x00000080), |
| getParentForChildren(), |
| isClean()); |
| testCase_ = null; |
| } |
| return testCaseBuilder_; |
| } |
| |
| // repeated .android.vts.ProfilingReportMessage profiling = 21; |
| private java.util.List<com.android.vts.proto.VtsReportMessage.ProfilingReportMessage> profiling_ = |
| java.util.Collections.emptyList(); |
| private void ensureProfilingIsMutable() { |
| if (!((bitField0_ & 0x00000100) == 0x00000100)) { |
| profiling_ = new java.util.ArrayList<com.android.vts.proto.VtsReportMessage.ProfilingReportMessage>(profiling_); |
| bitField0_ |= 0x00000100; |
| } |
| } |
| |
| private com.google.protobuf.RepeatedFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.ProfilingReportMessage, com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.Builder, com.android.vts.proto.VtsReportMessage.ProfilingReportMessageOrBuilder> profilingBuilder_; |
| |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 21;</code> |
| * |
| * <pre> |
| * Profiling reports |
| * </pre> |
| */ |
| public java.util.List<com.android.vts.proto.VtsReportMessage.ProfilingReportMessage> getProfilingList() { |
| if (profilingBuilder_ == null) { |
| return java.util.Collections.unmodifiableList(profiling_); |
| } else { |
| return profilingBuilder_.getMessageList(); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 21;</code> |
| * |
| * <pre> |
| * Profiling reports |
| * </pre> |
| */ |
| public int getProfilingCount() { |
| if (profilingBuilder_ == null) { |
| return profiling_.size(); |
| } else { |
| return profilingBuilder_.getCount(); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 21;</code> |
| * |
| * <pre> |
| * Profiling reports |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.ProfilingReportMessage getProfiling(int index) { |
| if (profilingBuilder_ == null) { |
| return profiling_.get(index); |
| } else { |
| return profilingBuilder_.getMessage(index); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 21;</code> |
| * |
| * <pre> |
| * Profiling reports |
| * </pre> |
| */ |
| public Builder setProfiling( |
| int index, com.android.vts.proto.VtsReportMessage.ProfilingReportMessage value) { |
| if (profilingBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureProfilingIsMutable(); |
| profiling_.set(index, value); |
| onChanged(); |
| } else { |
| profilingBuilder_.setMessage(index, value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 21;</code> |
| * |
| * <pre> |
| * Profiling reports |
| * </pre> |
| */ |
| public Builder setProfiling( |
| int index, com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.Builder builderForValue) { |
| if (profilingBuilder_ == null) { |
| ensureProfilingIsMutable(); |
| profiling_.set(index, builderForValue.build()); |
| onChanged(); |
| } else { |
| profilingBuilder_.setMessage(index, builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 21;</code> |
| * |
| * <pre> |
| * Profiling reports |
| * </pre> |
| */ |
| public Builder addProfiling(com.android.vts.proto.VtsReportMessage.ProfilingReportMessage value) { |
| if (profilingBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureProfilingIsMutable(); |
| profiling_.add(value); |
| onChanged(); |
| } else { |
| profilingBuilder_.addMessage(value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 21;</code> |
| * |
| * <pre> |
| * Profiling reports |
| * </pre> |
| */ |
| public Builder addProfiling( |
| int index, com.android.vts.proto.VtsReportMessage.ProfilingReportMessage value) { |
| if (profilingBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureProfilingIsMutable(); |
| profiling_.add(index, value); |
| onChanged(); |
| } else { |
| profilingBuilder_.addMessage(index, value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 21;</code> |
| * |
| * <pre> |
| * Profiling reports |
| * </pre> |
| */ |
| public Builder addProfiling( |
| com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.Builder builderForValue) { |
| if (profilingBuilder_ == null) { |
| ensureProfilingIsMutable(); |
| profiling_.add(builderForValue.build()); |
| onChanged(); |
| } else { |
| profilingBuilder_.addMessage(builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 21;</code> |
| * |
| * <pre> |
| * Profiling reports |
| * </pre> |
| */ |
| public Builder addProfiling( |
| int index, com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.Builder builderForValue) { |
| if (profilingBuilder_ == null) { |
| ensureProfilingIsMutable(); |
| profiling_.add(index, builderForValue.build()); |
| onChanged(); |
| } else { |
| profilingBuilder_.addMessage(index, builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 21;</code> |
| * |
| * <pre> |
| * Profiling reports |
| * </pre> |
| */ |
| public Builder addAllProfiling( |
| java.lang.Iterable<? extends com.android.vts.proto.VtsReportMessage.ProfilingReportMessage> values) { |
| if (profilingBuilder_ == null) { |
| ensureProfilingIsMutable(); |
| super.addAll(values, profiling_); |
| onChanged(); |
| } else { |
| profilingBuilder_.addAllMessages(values); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 21;</code> |
| * |
| * <pre> |
| * Profiling reports |
| * </pre> |
| */ |
| public Builder clearProfiling() { |
| if (profilingBuilder_ == null) { |
| profiling_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000100); |
| onChanged(); |
| } else { |
| profilingBuilder_.clear(); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 21;</code> |
| * |
| * <pre> |
| * Profiling reports |
| * </pre> |
| */ |
| public Builder removeProfiling(int index) { |
| if (profilingBuilder_ == null) { |
| ensureProfilingIsMutable(); |
| profiling_.remove(index); |
| onChanged(); |
| } else { |
| profilingBuilder_.remove(index); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 21;</code> |
| * |
| * <pre> |
| * Profiling reports |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.Builder getProfilingBuilder( |
| int index) { |
| return getProfilingFieldBuilder().getBuilder(index); |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 21;</code> |
| * |
| * <pre> |
| * Profiling reports |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.ProfilingReportMessageOrBuilder getProfilingOrBuilder( |
| int index) { |
| if (profilingBuilder_ == null) { |
| return profiling_.get(index); } else { |
| return profilingBuilder_.getMessageOrBuilder(index); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 21;</code> |
| * |
| * <pre> |
| * Profiling reports |
| * </pre> |
| */ |
| public java.util.List<? extends com.android.vts.proto.VtsReportMessage.ProfilingReportMessageOrBuilder> |
| getProfilingOrBuilderList() { |
| if (profilingBuilder_ != null) { |
| return profilingBuilder_.getMessageOrBuilderList(); |
| } else { |
| return java.util.Collections.unmodifiableList(profiling_); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 21;</code> |
| * |
| * <pre> |
| * Profiling reports |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.Builder addProfilingBuilder() { |
| return getProfilingFieldBuilder().addBuilder( |
| com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.getDefaultInstance()); |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 21;</code> |
| * |
| * <pre> |
| * Profiling reports |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.Builder addProfilingBuilder( |
| int index) { |
| return getProfilingFieldBuilder().addBuilder( |
| index, com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.getDefaultInstance()); |
| } |
| /** |
| * <code>repeated .android.vts.ProfilingReportMessage profiling = 21;</code> |
| * |
| * <pre> |
| * Profiling reports |
| * </pre> |
| */ |
| public java.util.List<com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.Builder> |
| getProfilingBuilderList() { |
| return getProfilingFieldBuilder().getBuilderList(); |
| } |
| private com.google.protobuf.RepeatedFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.ProfilingReportMessage, com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.Builder, com.android.vts.proto.VtsReportMessage.ProfilingReportMessageOrBuilder> |
| getProfilingFieldBuilder() { |
| if (profilingBuilder_ == null) { |
| profilingBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.ProfilingReportMessage, com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.Builder, com.android.vts.proto.VtsReportMessage.ProfilingReportMessageOrBuilder>( |
| profiling_, |
| ((bitField0_ & 0x00000100) == 0x00000100), |
| getParentForChildren(), |
| isClean()); |
| profiling_ = null; |
| } |
| return profilingBuilder_; |
| } |
| |
| // repeated .android.vts.SystraceReportMessage systrace = 22; |
| private java.util.List<com.android.vts.proto.VtsReportMessage.SystraceReportMessage> systrace_ = |
| java.util.Collections.emptyList(); |
| private void ensureSystraceIsMutable() { |
| if (!((bitField0_ & 0x00000200) == 0x00000200)) { |
| systrace_ = new java.util.ArrayList<com.android.vts.proto.VtsReportMessage.SystraceReportMessage>(systrace_); |
| bitField0_ |= 0x00000200; |
| } |
| } |
| |
| private com.google.protobuf.RepeatedFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.SystraceReportMessage, com.android.vts.proto.VtsReportMessage.SystraceReportMessage.Builder, com.android.vts.proto.VtsReportMessage.SystraceReportMessageOrBuilder> systraceBuilder_; |
| |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 22;</code> |
| * |
| * <pre> |
| * Systrace report per file |
| * </pre> |
| */ |
| public java.util.List<com.android.vts.proto.VtsReportMessage.SystraceReportMessage> getSystraceList() { |
| if (systraceBuilder_ == null) { |
| return java.util.Collections.unmodifiableList(systrace_); |
| } else { |
| return systraceBuilder_.getMessageList(); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 22;</code> |
| * |
| * <pre> |
| * Systrace report per file |
| * </pre> |
| */ |
| public int getSystraceCount() { |
| if (systraceBuilder_ == null) { |
| return systrace_.size(); |
| } else { |
| return systraceBuilder_.getCount(); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 22;</code> |
| * |
| * <pre> |
| * Systrace report per file |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.SystraceReportMessage getSystrace(int index) { |
| if (systraceBuilder_ == null) { |
| return systrace_.get(index); |
| } else { |
| return systraceBuilder_.getMessage(index); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 22;</code> |
| * |
| * <pre> |
| * Systrace report per file |
| * </pre> |
| */ |
| public Builder setSystrace( |
| int index, com.android.vts.proto.VtsReportMessage.SystraceReportMessage value) { |
| if (systraceBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureSystraceIsMutable(); |
| systrace_.set(index, value); |
| onChanged(); |
| } else { |
| systraceBuilder_.setMessage(index, value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 22;</code> |
| * |
| * <pre> |
| * Systrace report per file |
| * </pre> |
| */ |
| public Builder setSystrace( |
| int index, com.android.vts.proto.VtsReportMessage.SystraceReportMessage.Builder builderForValue) { |
| if (systraceBuilder_ == null) { |
| ensureSystraceIsMutable(); |
| systrace_.set(index, builderForValue.build()); |
| onChanged(); |
| } else { |
| systraceBuilder_.setMessage(index, builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 22;</code> |
| * |
| * <pre> |
| * Systrace report per file |
| * </pre> |
| */ |
| public Builder addSystrace(com.android.vts.proto.VtsReportMessage.SystraceReportMessage value) { |
| if (systraceBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureSystraceIsMutable(); |
| systrace_.add(value); |
| onChanged(); |
| } else { |
| systraceBuilder_.addMessage(value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 22;</code> |
| * |
| * <pre> |
| * Systrace report per file |
| * </pre> |
| */ |
| public Builder addSystrace( |
| int index, com.android.vts.proto.VtsReportMessage.SystraceReportMessage value) { |
| if (systraceBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureSystraceIsMutable(); |
| systrace_.add(index, value); |
| onChanged(); |
| } else { |
| systraceBuilder_.addMessage(index, value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 22;</code> |
| * |
| * <pre> |
| * Systrace report per file |
| * </pre> |
| */ |
| public Builder addSystrace( |
| com.android.vts.proto.VtsReportMessage.SystraceReportMessage.Builder builderForValue) { |
| if (systraceBuilder_ == null) { |
| ensureSystraceIsMutable(); |
| systrace_.add(builderForValue.build()); |
| onChanged(); |
| } else { |
| systraceBuilder_.addMessage(builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 22;</code> |
| * |
| * <pre> |
| * Systrace report per file |
| * </pre> |
| */ |
| public Builder addSystrace( |
| int index, com.android.vts.proto.VtsReportMessage.SystraceReportMessage.Builder builderForValue) { |
| if (systraceBuilder_ == null) { |
| ensureSystraceIsMutable(); |
| systrace_.add(index, builderForValue.build()); |
| onChanged(); |
| } else { |
| systraceBuilder_.addMessage(index, builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 22;</code> |
| * |
| * <pre> |
| * Systrace report per file |
| * </pre> |
| */ |
| public Builder addAllSystrace( |
| java.lang.Iterable<? extends com.android.vts.proto.VtsReportMessage.SystraceReportMessage> values) { |
| if (systraceBuilder_ == null) { |
| ensureSystraceIsMutable(); |
| super.addAll(values, systrace_); |
| onChanged(); |
| } else { |
| systraceBuilder_.addAllMessages(values); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 22;</code> |
| * |
| * <pre> |
| * Systrace report per file |
| * </pre> |
| */ |
| public Builder clearSystrace() { |
| if (systraceBuilder_ == null) { |
| systrace_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000200); |
| onChanged(); |
| } else { |
| systraceBuilder_.clear(); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 22;</code> |
| * |
| * <pre> |
| * Systrace report per file |
| * </pre> |
| */ |
| public Builder removeSystrace(int index) { |
| if (systraceBuilder_ == null) { |
| ensureSystraceIsMutable(); |
| systrace_.remove(index); |
| onChanged(); |
| } else { |
| systraceBuilder_.remove(index); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 22;</code> |
| * |
| * <pre> |
| * Systrace report per file |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.SystraceReportMessage.Builder getSystraceBuilder( |
| int index) { |
| return getSystraceFieldBuilder().getBuilder(index); |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 22;</code> |
| * |
| * <pre> |
| * Systrace report per file |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.SystraceReportMessageOrBuilder getSystraceOrBuilder( |
| int index) { |
| if (systraceBuilder_ == null) { |
| return systrace_.get(index); } else { |
| return systraceBuilder_.getMessageOrBuilder(index); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 22;</code> |
| * |
| * <pre> |
| * Systrace report per file |
| * </pre> |
| */ |
| public java.util.List<? extends com.android.vts.proto.VtsReportMessage.SystraceReportMessageOrBuilder> |
| getSystraceOrBuilderList() { |
| if (systraceBuilder_ != null) { |
| return systraceBuilder_.getMessageOrBuilderList(); |
| } else { |
| return java.util.Collections.unmodifiableList(systrace_); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 22;</code> |
| * |
| * <pre> |
| * Systrace report per file |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.SystraceReportMessage.Builder addSystraceBuilder() { |
| return getSystraceFieldBuilder().addBuilder( |
| com.android.vts.proto.VtsReportMessage.SystraceReportMessage.getDefaultInstance()); |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 22;</code> |
| * |
| * <pre> |
| * Systrace report per file |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.SystraceReportMessage.Builder addSystraceBuilder( |
| int index) { |
| return getSystraceFieldBuilder().addBuilder( |
| index, com.android.vts.proto.VtsReportMessage.SystraceReportMessage.getDefaultInstance()); |
| } |
| /** |
| * <code>repeated .android.vts.SystraceReportMessage systrace = 22;</code> |
| * |
| * <pre> |
| * Systrace report per file |
| * </pre> |
| */ |
| public java.util.List<com.android.vts.proto.VtsReportMessage.SystraceReportMessage.Builder> |
| getSystraceBuilderList() { |
| return getSystraceFieldBuilder().getBuilderList(); |
| } |
| private com.google.protobuf.RepeatedFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.SystraceReportMessage, com.android.vts.proto.VtsReportMessage.SystraceReportMessage.Builder, com.android.vts.proto.VtsReportMessage.SystraceReportMessageOrBuilder> |
| getSystraceFieldBuilder() { |
| if (systraceBuilder_ == null) { |
| systraceBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.SystraceReportMessage, com.android.vts.proto.VtsReportMessage.SystraceReportMessage.Builder, com.android.vts.proto.VtsReportMessage.SystraceReportMessageOrBuilder>( |
| systrace_, |
| ((bitField0_ & 0x00000200) == 0x00000200), |
| getParentForChildren(), |
| isClean()); |
| systrace_ = null; |
| } |
| return systraceBuilder_; |
| } |
| |
| // optional int64 start_timestamp = 101; |
| private long startTimestamp_ ; |
| /** |
| * <code>optional int64 start_timestamp = 101;</code> |
| * |
| * <pre> |
| * Execution start and end time stamp. |
| * </pre> |
| */ |
| public boolean hasStartTimestamp() { |
| return ((bitField0_ & 0x00000400) == 0x00000400); |
| } |
| /** |
| * <code>optional int64 start_timestamp = 101;</code> |
| * |
| * <pre> |
| * Execution start and end time stamp. |
| * </pre> |
| */ |
| public long getStartTimestamp() { |
| return startTimestamp_; |
| } |
| /** |
| * <code>optional int64 start_timestamp = 101;</code> |
| * |
| * <pre> |
| * Execution start and end time stamp. |
| * </pre> |
| */ |
| public Builder setStartTimestamp(long value) { |
| bitField0_ |= 0x00000400; |
| startTimestamp_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional int64 start_timestamp = 101;</code> |
| * |
| * <pre> |
| * Execution start and end time stamp. |
| * </pre> |
| */ |
| public Builder clearStartTimestamp() { |
| bitField0_ = (bitField0_ & ~0x00000400); |
| startTimestamp_ = 0L; |
| onChanged(); |
| return this; |
| } |
| |
| // optional int64 end_timestamp = 102; |
| private long endTimestamp_ ; |
| /** |
| * <code>optional int64 end_timestamp = 102;</code> |
| */ |
| public boolean hasEndTimestamp() { |
| return ((bitField0_ & 0x00000800) == 0x00000800); |
| } |
| /** |
| * <code>optional int64 end_timestamp = 102;</code> |
| */ |
| public long getEndTimestamp() { |
| return endTimestamp_; |
| } |
| /** |
| * <code>optional int64 end_timestamp = 102;</code> |
| */ |
| public Builder setEndTimestamp(long value) { |
| bitField0_ |= 0x00000800; |
| endTimestamp_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional int64 end_timestamp = 102;</code> |
| */ |
| public Builder clearEndTimestamp() { |
| bitField0_ = (bitField0_ & ~0x00000800); |
| endTimestamp_ = 0L; |
| onChanged(); |
| return this; |
| } |
| |
| // repeated .android.vts.CoverageReportMessage coverage = 103; |
| private java.util.List<com.android.vts.proto.VtsReportMessage.CoverageReportMessage> coverage_ = |
| java.util.Collections.emptyList(); |
| private void ensureCoverageIsMutable() { |
| if (!((bitField0_ & 0x00001000) == 0x00001000)) { |
| coverage_ = new java.util.ArrayList<com.android.vts.proto.VtsReportMessage.CoverageReportMessage>(coverage_); |
| bitField0_ |= 0x00001000; |
| } |
| } |
| |
| private com.google.protobuf.RepeatedFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.CoverageReportMessage, com.android.vts.proto.VtsReportMessage.CoverageReportMessage.Builder, com.android.vts.proto.VtsReportMessage.CoverageReportMessageOrBuilder> coverageBuilder_; |
| |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 103;</code> |
| * |
| * <pre> |
| * Coverage report per file |
| * </pre> |
| */ |
| public java.util.List<com.android.vts.proto.VtsReportMessage.CoverageReportMessage> getCoverageList() { |
| if (coverageBuilder_ == null) { |
| return java.util.Collections.unmodifiableList(coverage_); |
| } else { |
| return coverageBuilder_.getMessageList(); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 103;</code> |
| * |
| * <pre> |
| * Coverage report per file |
| * </pre> |
| */ |
| public int getCoverageCount() { |
| if (coverageBuilder_ == null) { |
| return coverage_.size(); |
| } else { |
| return coverageBuilder_.getCount(); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 103;</code> |
| * |
| * <pre> |
| * Coverage report per file |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.CoverageReportMessage getCoverage(int index) { |
| if (coverageBuilder_ == null) { |
| return coverage_.get(index); |
| } else { |
| return coverageBuilder_.getMessage(index); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 103;</code> |
| * |
| * <pre> |
| * Coverage report per file |
| * </pre> |
| */ |
| public Builder setCoverage( |
| int index, com.android.vts.proto.VtsReportMessage.CoverageReportMessage value) { |
| if (coverageBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureCoverageIsMutable(); |
| coverage_.set(index, value); |
| onChanged(); |
| } else { |
| coverageBuilder_.setMessage(index, value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 103;</code> |
| * |
| * <pre> |
| * Coverage report per file |
| * </pre> |
| */ |
| public Builder setCoverage( |
| int index, com.android.vts.proto.VtsReportMessage.CoverageReportMessage.Builder builderForValue) { |
| if (coverageBuilder_ == null) { |
| ensureCoverageIsMutable(); |
| coverage_.set(index, builderForValue.build()); |
| onChanged(); |
| } else { |
| coverageBuilder_.setMessage(index, builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 103;</code> |
| * |
| * <pre> |
| * Coverage report per file |
| * </pre> |
| */ |
| public Builder addCoverage(com.android.vts.proto.VtsReportMessage.CoverageReportMessage value) { |
| if (coverageBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureCoverageIsMutable(); |
| coverage_.add(value); |
| onChanged(); |
| } else { |
| coverageBuilder_.addMessage(value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 103;</code> |
| * |
| * <pre> |
| * Coverage report per file |
| * </pre> |
| */ |
| public Builder addCoverage( |
| int index, com.android.vts.proto.VtsReportMessage.CoverageReportMessage value) { |
| if (coverageBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureCoverageIsMutable(); |
| coverage_.add(index, value); |
| onChanged(); |
| } else { |
| coverageBuilder_.addMessage(index, value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 103;</code> |
| * |
| * <pre> |
| * Coverage report per file |
| * </pre> |
| */ |
| public Builder addCoverage( |
| com.android.vts.proto.VtsReportMessage.CoverageReportMessage.Builder builderForValue) { |
| if (coverageBuilder_ == null) { |
| ensureCoverageIsMutable(); |
| coverage_.add(builderForValue.build()); |
| onChanged(); |
| } else { |
| coverageBuilder_.addMessage(builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 103;</code> |
| * |
| * <pre> |
| * Coverage report per file |
| * </pre> |
| */ |
| public Builder addCoverage( |
| int index, com.android.vts.proto.VtsReportMessage.CoverageReportMessage.Builder builderForValue) { |
| if (coverageBuilder_ == null) { |
| ensureCoverageIsMutable(); |
| coverage_.add(index, builderForValue.build()); |
| onChanged(); |
| } else { |
| coverageBuilder_.addMessage(index, builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 103;</code> |
| * |
| * <pre> |
| * Coverage report per file |
| * </pre> |
| */ |
| public Builder addAllCoverage( |
| java.lang.Iterable<? extends com.android.vts.proto.VtsReportMessage.CoverageReportMessage> values) { |
| if (coverageBuilder_ == null) { |
| ensureCoverageIsMutable(); |
| super.addAll(values, coverage_); |
| onChanged(); |
| } else { |
| coverageBuilder_.addAllMessages(values); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 103;</code> |
| * |
| * <pre> |
| * Coverage report per file |
| * </pre> |
| */ |
| public Builder clearCoverage() { |
| if (coverageBuilder_ == null) { |
| coverage_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00001000); |
| onChanged(); |
| } else { |
| coverageBuilder_.clear(); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 103;</code> |
| * |
| * <pre> |
| * Coverage report per file |
| * </pre> |
| */ |
| public Builder removeCoverage(int index) { |
| if (coverageBuilder_ == null) { |
| ensureCoverageIsMutable(); |
| coverage_.remove(index); |
| onChanged(); |
| } else { |
| coverageBuilder_.remove(index); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 103;</code> |
| * |
| * <pre> |
| * Coverage report per file |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.CoverageReportMessage.Builder getCoverageBuilder( |
| int index) { |
| return getCoverageFieldBuilder().getBuilder(index); |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 103;</code> |
| * |
| * <pre> |
| * Coverage report per file |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.CoverageReportMessageOrBuilder getCoverageOrBuilder( |
| int index) { |
| if (coverageBuilder_ == null) { |
| return coverage_.get(index); } else { |
| return coverageBuilder_.getMessageOrBuilder(index); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 103;</code> |
| * |
| * <pre> |
| * Coverage report per file |
| * </pre> |
| */ |
| public java.util.List<? extends com.android.vts.proto.VtsReportMessage.CoverageReportMessageOrBuilder> |
| getCoverageOrBuilderList() { |
| if (coverageBuilder_ != null) { |
| return coverageBuilder_.getMessageOrBuilderList(); |
| } else { |
| return java.util.Collections.unmodifiableList(coverage_); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 103;</code> |
| * |
| * <pre> |
| * Coverage report per file |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.CoverageReportMessage.Builder addCoverageBuilder() { |
| return getCoverageFieldBuilder().addBuilder( |
| com.android.vts.proto.VtsReportMessage.CoverageReportMessage.getDefaultInstance()); |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 103;</code> |
| * |
| * <pre> |
| * Coverage report per file |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.CoverageReportMessage.Builder addCoverageBuilder( |
| int index) { |
| return getCoverageFieldBuilder().addBuilder( |
| index, com.android.vts.proto.VtsReportMessage.CoverageReportMessage.getDefaultInstance()); |
| } |
| /** |
| * <code>repeated .android.vts.CoverageReportMessage coverage = 103;</code> |
| * |
| * <pre> |
| * Coverage report per file |
| * </pre> |
| */ |
| public java.util.List<com.android.vts.proto.VtsReportMessage.CoverageReportMessage.Builder> |
| getCoverageBuilderList() { |
| return getCoverageFieldBuilder().getBuilderList(); |
| } |
| private com.google.protobuf.RepeatedFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.CoverageReportMessage, com.android.vts.proto.VtsReportMessage.CoverageReportMessage.Builder, com.android.vts.proto.VtsReportMessage.CoverageReportMessageOrBuilder> |
| getCoverageFieldBuilder() { |
| if (coverageBuilder_ == null) { |
| coverageBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.CoverageReportMessage, com.android.vts.proto.VtsReportMessage.CoverageReportMessage.Builder, com.android.vts.proto.VtsReportMessage.CoverageReportMessageOrBuilder>( |
| coverage_, |
| ((bitField0_ & 0x00001000) == 0x00001000), |
| getParentForChildren(), |
| isClean()); |
| coverage_ = null; |
| } |
| return coverageBuilder_; |
| } |
| |
| // repeated .android.vts.LogMessage log = 1001; |
| private java.util.List<com.android.vts.proto.VtsReportMessage.LogMessage> log_ = |
| java.util.Collections.emptyList(); |
| private void ensureLogIsMutable() { |
| if (!((bitField0_ & 0x00002000) == 0x00002000)) { |
| log_ = new java.util.ArrayList<com.android.vts.proto.VtsReportMessage.LogMessage>(log_); |
| bitField0_ |= 0x00002000; |
| } |
| } |
| |
| private com.google.protobuf.RepeatedFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.LogMessage, com.android.vts.proto.VtsReportMessage.LogMessage.Builder, com.android.vts.proto.VtsReportMessage.LogMessageOrBuilder> logBuilder_; |
| |
| /** |
| * <code>repeated .android.vts.LogMessage log = 1001;</code> |
| * |
| * <pre> |
| * Log for a test module. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public java.util.List<com.android.vts.proto.VtsReportMessage.LogMessage> getLogList() { |
| if (logBuilder_ == null) { |
| return java.util.Collections.unmodifiableList(log_); |
| } else { |
| return logBuilder_.getMessageList(); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 1001;</code> |
| * |
| * <pre> |
| * Log for a test module. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public int getLogCount() { |
| if (logBuilder_ == null) { |
| return log_.size(); |
| } else { |
| return logBuilder_.getCount(); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 1001;</code> |
| * |
| * <pre> |
| * Log for a test module. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.LogMessage getLog(int index) { |
| if (logBuilder_ == null) { |
| return log_.get(index); |
| } else { |
| return logBuilder_.getMessage(index); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 1001;</code> |
| * |
| * <pre> |
| * Log for a test module. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public Builder setLog( |
| int index, com.android.vts.proto.VtsReportMessage.LogMessage value) { |
| if (logBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureLogIsMutable(); |
| log_.set(index, value); |
| onChanged(); |
| } else { |
| logBuilder_.setMessage(index, value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 1001;</code> |
| * |
| * <pre> |
| * Log for a test module. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public Builder setLog( |
| int index, com.android.vts.proto.VtsReportMessage.LogMessage.Builder builderForValue) { |
| if (logBuilder_ == null) { |
| ensureLogIsMutable(); |
| log_.set(index, builderForValue.build()); |
| onChanged(); |
| } else { |
| logBuilder_.setMessage(index, builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 1001;</code> |
| * |
| * <pre> |
| * Log for a test module. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public Builder addLog(com.android.vts.proto.VtsReportMessage.LogMessage value) { |
| if (logBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureLogIsMutable(); |
| log_.add(value); |
| onChanged(); |
| } else { |
| logBuilder_.addMessage(value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 1001;</code> |
| * |
| * <pre> |
| * Log for a test module. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public Builder addLog( |
| int index, com.android.vts.proto.VtsReportMessage.LogMessage value) { |
| if (logBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureLogIsMutable(); |
| log_.add(index, value); |
| onChanged(); |
| } else { |
| logBuilder_.addMessage(index, value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 1001;</code> |
| * |
| * <pre> |
| * Log for a test module. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public Builder addLog( |
| com.android.vts.proto.VtsReportMessage.LogMessage.Builder builderForValue) { |
| if (logBuilder_ == null) { |
| ensureLogIsMutable(); |
| log_.add(builderForValue.build()); |
| onChanged(); |
| } else { |
| logBuilder_.addMessage(builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 1001;</code> |
| * |
| * <pre> |
| * Log for a test module. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public Builder addLog( |
| int index, com.android.vts.proto.VtsReportMessage.LogMessage.Builder builderForValue) { |
| if (logBuilder_ == null) { |
| ensureLogIsMutable(); |
| log_.add(index, builderForValue.build()); |
| onChanged(); |
| } else { |
| logBuilder_.addMessage(index, builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 1001;</code> |
| * |
| * <pre> |
| * Log for a test module. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public Builder addAllLog( |
| java.lang.Iterable<? extends com.android.vts.proto.VtsReportMessage.LogMessage> values) { |
| if (logBuilder_ == null) { |
| ensureLogIsMutable(); |
| super.addAll(values, log_); |
| onChanged(); |
| } else { |
| logBuilder_.addAllMessages(values); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 1001;</code> |
| * |
| * <pre> |
| * Log for a test module. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public Builder clearLog() { |
| if (logBuilder_ == null) { |
| log_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00002000); |
| onChanged(); |
| } else { |
| logBuilder_.clear(); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 1001;</code> |
| * |
| * <pre> |
| * Log for a test module. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public Builder removeLog(int index) { |
| if (logBuilder_ == null) { |
| ensureLogIsMutable(); |
| log_.remove(index); |
| onChanged(); |
| } else { |
| logBuilder_.remove(index); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 1001;</code> |
| * |
| * <pre> |
| * Log for a test module. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.LogMessage.Builder getLogBuilder( |
| int index) { |
| return getLogFieldBuilder().getBuilder(index); |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 1001;</code> |
| * |
| * <pre> |
| * Log for a test module. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.LogMessageOrBuilder getLogOrBuilder( |
| int index) { |
| if (logBuilder_ == null) { |
| return log_.get(index); } else { |
| return logBuilder_.getMessageOrBuilder(index); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 1001;</code> |
| * |
| * <pre> |
| * Log for a test module. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public java.util.List<? extends com.android.vts.proto.VtsReportMessage.LogMessageOrBuilder> |
| getLogOrBuilderList() { |
| if (logBuilder_ != null) { |
| return logBuilder_.getMessageOrBuilderList(); |
| } else { |
| return java.util.Collections.unmodifiableList(log_); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 1001;</code> |
| * |
| * <pre> |
| * Log for a test module. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.LogMessage.Builder addLogBuilder() { |
| return getLogFieldBuilder().addBuilder( |
| com.android.vts.proto.VtsReportMessage.LogMessage.getDefaultInstance()); |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 1001;</code> |
| * |
| * <pre> |
| * Log for a test module. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.LogMessage.Builder addLogBuilder( |
| int index) { |
| return getLogFieldBuilder().addBuilder( |
| index, com.android.vts.proto.VtsReportMessage.LogMessage.getDefaultInstance()); |
| } |
| /** |
| * <code>repeated .android.vts.LogMessage log = 1001;</code> |
| * |
| * <pre> |
| * Log for a test module. May contain multiple logs such as logcat, host log, |
| * etc. |
| * </pre> |
| */ |
| public java.util.List<com.android.vts.proto.VtsReportMessage.LogMessage.Builder> |
| getLogBuilderList() { |
| return getLogFieldBuilder().getBuilderList(); |
| } |
| private com.google.protobuf.RepeatedFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.LogMessage, com.android.vts.proto.VtsReportMessage.LogMessage.Builder, com.android.vts.proto.VtsReportMessage.LogMessageOrBuilder> |
| getLogFieldBuilder() { |
| if (logBuilder_ == null) { |
| logBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.LogMessage, com.android.vts.proto.VtsReportMessage.LogMessage.Builder, com.android.vts.proto.VtsReportMessage.LogMessageOrBuilder>( |
| log_, |
| ((bitField0_ & 0x00002000) == 0x00002000), |
| getParentForChildren(), |
| isClean()); |
| log_ = null; |
| } |
| return logBuilder_; |
| } |
| |
| // @@protoc_insertion_point(builder_scope:android.vts.TestReportMessage) |
| } |
| |
| static { |
| defaultInstance = new TestReportMessage(true); |
| defaultInstance.initFields(); |
| } |
| |
| // @@protoc_insertion_point(class_scope:android.vts.TestReportMessage) |
| } |
| |
| public interface TestPlanReportMessageOrBuilder |
| extends com.google.protobuf.MessageOrBuilder { |
| |
| // repeated string test_module_name = 11; |
| /** |
| * <code>repeated string test_module_name = 11;</code> |
| * |
| * <pre> |
| * Keys used to find all TestReportMessage messages of test modules in |
| * this plan. |
| * </pre> |
| */ |
| java.util.List<java.lang.String> |
| getTestModuleNameList(); |
| /** |
| * <code>repeated string test_module_name = 11;</code> |
| * |
| * <pre> |
| * Keys used to find all TestReportMessage messages of test modules in |
| * this plan. |
| * </pre> |
| */ |
| int getTestModuleNameCount(); |
| /** |
| * <code>repeated string test_module_name = 11;</code> |
| * |
| * <pre> |
| * Keys used to find all TestReportMessage messages of test modules in |
| * this plan. |
| * </pre> |
| */ |
| java.lang.String getTestModuleName(int index); |
| /** |
| * <code>repeated string test_module_name = 11;</code> |
| * |
| * <pre> |
| * Keys used to find all TestReportMessage messages of test modules in |
| * this plan. |
| * </pre> |
| */ |
| com.google.protobuf.ByteString |
| getTestModuleNameBytes(int index); |
| |
| // repeated int64 test_module_start_timestamp = 12; |
| /** |
| * <code>repeated int64 test_module_start_timestamp = 12;</code> |
| */ |
| java.util.List<java.lang.Long> getTestModuleStartTimestampList(); |
| /** |
| * <code>repeated int64 test_module_start_timestamp = 12;</code> |
| */ |
| int getTestModuleStartTimestampCount(); |
| /** |
| * <code>repeated int64 test_module_start_timestamp = 12;</code> |
| */ |
| long getTestModuleStartTimestamp(int index); |
| |
| // optional string test_plan_name = 21; |
| /** |
| * <code>optional string test_plan_name = 21;</code> |
| * |
| * <pre> |
| * The test plan name. |
| * </pre> |
| */ |
| boolean hasTestPlanName(); |
| /** |
| * <code>optional string test_plan_name = 21;</code> |
| * |
| * <pre> |
| * The test plan name. |
| * </pre> |
| */ |
| java.lang.String getTestPlanName(); |
| /** |
| * <code>optional string test_plan_name = 21;</code> |
| * |
| * <pre> |
| * The test plan name. |
| * </pre> |
| */ |
| com.google.protobuf.ByteString |
| getTestPlanNameBytes(); |
| |
| // repeated .android.vts.UrlResourceMessage partner_report = 31; |
| /** |
| * <code>repeated .android.vts.UrlResourceMessage partner_report = 31;</code> |
| * |
| * <pre> |
| * Report resource flies. |
| * </pre> |
| */ |
| java.util.List<com.android.vts.proto.VtsReportMessage.UrlResourceMessage> |
| getPartnerReportList(); |
| /** |
| * <code>repeated .android.vts.UrlResourceMessage partner_report = 31;</code> |
| * |
| * <pre> |
| * Report resource flies. |
| * </pre> |
| */ |
| com.android.vts.proto.VtsReportMessage.UrlResourceMessage getPartnerReport(int index); |
| /** |
| * <code>repeated .android.vts.UrlResourceMessage partner_report = 31;</code> |
| * |
| * <pre> |
| * Report resource flies. |
| * </pre> |
| */ |
| int getPartnerReportCount(); |
| /** |
| * <code>repeated .android.vts.UrlResourceMessage partner_report = 31;</code> |
| * |
| * <pre> |
| * Report resource flies. |
| * </pre> |
| */ |
| java.util.List<? extends com.android.vts.proto.VtsReportMessage.UrlResourceMessageOrBuilder> |
| getPartnerReportOrBuilderList(); |
| /** |
| * <code>repeated .android.vts.UrlResourceMessage partner_report = 31;</code> |
| * |
| * <pre> |
| * Report resource flies. |
| * </pre> |
| */ |
| com.android.vts.proto.VtsReportMessage.UrlResourceMessageOrBuilder getPartnerReportOrBuilder( |
| int index); |
| } |
| /** |
| * Protobuf type {@code android.vts.TestPlanReportMessage} |
| * |
| * <pre> |
| * To specify a test execution report. |
| * </pre> |
| */ |
| public static final class TestPlanReportMessage extends |
| com.google.protobuf.GeneratedMessage |
| implements TestPlanReportMessageOrBuilder { |
| // Use TestPlanReportMessage.newBuilder() to construct. |
| private TestPlanReportMessage(com.google.protobuf.GeneratedMessage.Builder<?> builder) { |
| super(builder); |
| this.unknownFields = builder.getUnknownFields(); |
| } |
| private TestPlanReportMessage(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } |
| |
| private static final TestPlanReportMessage defaultInstance; |
| public static TestPlanReportMessage getDefaultInstance() { |
| return defaultInstance; |
| } |
| |
| public TestPlanReportMessage getDefaultInstanceForType() { |
| return defaultInstance; |
| } |
| |
| private final com.google.protobuf.UnknownFieldSet unknownFields; |
| @java.lang.Override |
| public final com.google.protobuf.UnknownFieldSet |
| getUnknownFields() { |
| return this.unknownFields; |
| } |
| private TestPlanReportMessage( |
| 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 90: { |
| if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { |
| testModuleName_ = new com.google.protobuf.LazyStringArrayList(); |
| mutable_bitField0_ |= 0x00000001; |
| } |
| testModuleName_.add(input.readBytes()); |
| break; |
| } |
| case 96: { |
| if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { |
| testModuleStartTimestamp_ = new java.util.ArrayList<java.lang.Long>(); |
| mutable_bitField0_ |= 0x00000002; |
| } |
| testModuleStartTimestamp_.add(input.readInt64()); |
| break; |
| } |
| case 98: { |
| int length = input.readRawVarint32(); |
| int limit = input.pushLimit(length); |
| if (!((mutable_bitField0_ & 0x00000002) == 0x00000002) && input.getBytesUntilLimit() > 0) { |
| testModuleStartTimestamp_ = new java.util.ArrayList<java.lang.Long>(); |
| mutable_bitField0_ |= 0x00000002; |
| } |
| while (input.getBytesUntilLimit() > 0) { |
| testModuleStartTimestamp_.add(input.readInt64()); |
| } |
| input.popLimit(limit); |
| break; |
| } |
| case 170: { |
| bitField0_ |= 0x00000001; |
| testPlanName_ = input.readBytes(); |
| break; |
| } |
| case 250: { |
| if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { |
| partnerReport_ = new java.util.ArrayList<com.android.vts.proto.VtsReportMessage.UrlResourceMessage>(); |
| mutable_bitField0_ |= 0x00000008; |
| } |
| partnerReport_.add(input.readMessage(com.android.vts.proto.VtsReportMessage.UrlResourceMessage.PARSER, extensionRegistry)); |
| break; |
| } |
| } |
| } |
| } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| throw e.setUnfinishedMessage(this); |
| } catch (java.io.IOException e) { |
| throw new com.google.protobuf.InvalidProtocolBufferException( |
| e.getMessage()).setUnfinishedMessage(this); |
| } finally { |
| if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { |
| testModuleName_ = new com.google.protobuf.UnmodifiableLazyStringList(testModuleName_); |
| } |
| if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { |
| testModuleStartTimestamp_ = java.util.Collections.unmodifiableList(testModuleStartTimestamp_); |
| } |
| if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { |
| partnerReport_ = java.util.Collections.unmodifiableList(partnerReport_); |
| } |
| this.unknownFields = unknownFields.build(); |
| makeExtensionsImmutable(); |
| } |
| } |
| public static final com.google.protobuf.Descriptors.Descriptor |
| getDescriptor() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_TestPlanReportMessage_descriptor; |
| } |
| |
| protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internalGetFieldAccessorTable() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_TestPlanReportMessage_fieldAccessorTable |
| .ensureFieldAccessorsInitialized( |
| com.android.vts.proto.VtsReportMessage.TestPlanReportMessage.class, com.android.vts.proto.VtsReportMessage.TestPlanReportMessage.Builder.class); |
| } |
| |
| public static com.google.protobuf.Parser<TestPlanReportMessage> PARSER = |
| new com.google.protobuf.AbstractParser<TestPlanReportMessage>() { |
| public TestPlanReportMessage parsePartialFrom( |
| com.google.protobuf.CodedInputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return new TestPlanReportMessage(input, extensionRegistry); |
| } |
| }; |
| |
| @java.lang.Override |
| public com.google.protobuf.Parser<TestPlanReportMessage> getParserForType() { |
| return PARSER; |
| } |
| |
| private int bitField0_; |
| // repeated string test_module_name = 11; |
| public static final int TEST_MODULE_NAME_FIELD_NUMBER = 11; |
| private com.google.protobuf.LazyStringList testModuleName_; |
| /** |
| * <code>repeated string test_module_name = 11;</code> |
| * |
| * <pre> |
| * Keys used to find all TestReportMessage messages of test modules in |
| * this plan. |
| * </pre> |
| */ |
| public java.util.List<java.lang.String> |
| getTestModuleNameList() { |
| return testModuleName_; |
| } |
| /** |
| * <code>repeated string test_module_name = 11;</code> |
| * |
| * <pre> |
| * Keys used to find all TestReportMessage messages of test modules in |
| * this plan. |
| * </pre> |
| */ |
| public int getTestModuleNameCount() { |
| return testModuleName_.size(); |
| } |
| /** |
| * <code>repeated string test_module_name = 11;</code> |
| * |
| * <pre> |
| * Keys used to find all TestReportMessage messages of test modules in |
| * this plan. |
| * </pre> |
| */ |
| public java.lang.String getTestModuleName(int index) { |
| return testModuleName_.get(index); |
| } |
| /** |
| * <code>repeated string test_module_name = 11;</code> |
| * |
| * <pre> |
| * Keys used to find all TestReportMessage messages of test modules in |
| * this plan. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString |
| getTestModuleNameBytes(int index) { |
| return testModuleName_.getByteString(index); |
| } |
| |
| // repeated int64 test_module_start_timestamp = 12; |
| public static final int TEST_MODULE_START_TIMESTAMP_FIELD_NUMBER = 12; |
| private java.util.List<java.lang.Long> testModuleStartTimestamp_; |
| /** |
| * <code>repeated int64 test_module_start_timestamp = 12;</code> |
| */ |
| public java.util.List<java.lang.Long> |
| getTestModuleStartTimestampList() { |
| return testModuleStartTimestamp_; |
| } |
| /** |
| * <code>repeated int64 test_module_start_timestamp = 12;</code> |
| */ |
| public int getTestModuleStartTimestampCount() { |
| return testModuleStartTimestamp_.size(); |
| } |
| /** |
| * <code>repeated int64 test_module_start_timestamp = 12;</code> |
| */ |
| public long getTestModuleStartTimestamp(int index) { |
| return testModuleStartTimestamp_.get(index); |
| } |
| |
| // optional string test_plan_name = 21; |
| public static final int TEST_PLAN_NAME_FIELD_NUMBER = 21; |
| private java.lang.Object testPlanName_; |
| /** |
| * <code>optional string test_plan_name = 21;</code> |
| * |
| * <pre> |
| * The test plan name. |
| * </pre> |
| */ |
| public boolean hasTestPlanName() { |
| return ((bitField0_ & 0x00000001) == 0x00000001); |
| } |
| /** |
| * <code>optional string test_plan_name = 21;</code> |
| * |
| * <pre> |
| * The test plan name. |
| * </pre> |
| */ |
| public java.lang.String getTestPlanName() { |
| java.lang.Object ref = testPlanName_; |
| 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()) { |
| testPlanName_ = s; |
| } |
| return s; |
| } |
| } |
| /** |
| * <code>optional string test_plan_name = 21;</code> |
| * |
| * <pre> |
| * The test plan name. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString |
| getTestPlanNameBytes() { |
| java.lang.Object ref = testPlanName_; |
| if (ref instanceof java.lang.String) { |
| com.google.protobuf.ByteString b = |
| com.google.protobuf.ByteString.copyFromUtf8( |
| (java.lang.String) ref); |
| testPlanName_ = b; |
| return b; |
| } else { |
| return (com.google.protobuf.ByteString) ref; |
| } |
| } |
| |
| // repeated .android.vts.UrlResourceMessage partner_report = 31; |
| public static final int PARTNER_REPORT_FIELD_NUMBER = 31; |
| private java.util.List<com.android.vts.proto.VtsReportMessage.UrlResourceMessage> partnerReport_; |
| /** |
| * <code>repeated .android.vts.UrlResourceMessage partner_report = 31;</code> |
| * |
| * <pre> |
| * Report resource flies. |
| * </pre> |
| */ |
| public java.util.List<com.android.vts.proto.VtsReportMessage.UrlResourceMessage> getPartnerReportList() { |
| return partnerReport_; |
| } |
| /** |
| * <code>repeated .android.vts.UrlResourceMessage partner_report = 31;</code> |
| * |
| * <pre> |
| * Report resource flies. |
| * </pre> |
| */ |
| public java.util.List<? extends com.android.vts.proto.VtsReportMessage.UrlResourceMessageOrBuilder> |
| getPartnerReportOrBuilderList() { |
| return partnerReport_; |
| } |
| /** |
| * <code>repeated .android.vts.UrlResourceMessage partner_report = 31;</code> |
| * |
| * <pre> |
| * Report resource flies. |
| * </pre> |
| */ |
| public int getPartnerReportCount() { |
| return partnerReport_.size(); |
| } |
| /** |
| * <code>repeated .android.vts.UrlResourceMessage partner_report = 31;</code> |
| * |
| * <pre> |
| * Report resource flies. |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.UrlResourceMessage getPartnerReport(int index) { |
| return partnerReport_.get(index); |
| } |
| /** |
| * <code>repeated .android.vts.UrlResourceMessage partner_report = 31;</code> |
| * |
| * <pre> |
| * Report resource flies. |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.UrlResourceMessageOrBuilder getPartnerReportOrBuilder( |
| int index) { |
| return partnerReport_.get(index); |
| } |
| |
| private void initFields() { |
| testModuleName_ = com.google.protobuf.LazyStringArrayList.EMPTY; |
| testModuleStartTimestamp_ = java.util.Collections.emptyList(); |
| testPlanName_ = ""; |
| partnerReport_ = java.util.Collections.emptyList(); |
| } |
| private byte memoizedIsInitialized = -1; |
| public final boolean isInitialized() { |
| byte isInitialized = memoizedIsInitialized; |
| if (isInitialized != -1) return isInitialized == 1; |
| |
| memoizedIsInitialized = 1; |
| return true; |
| } |
| |
| public void writeTo(com.google.protobuf.CodedOutputStream output) |
| throws java.io.IOException { |
| getSerializedSize(); |
| for (int i = 0; i < testModuleName_.size(); i++) { |
| output.writeBytes(11, testModuleName_.getByteString(i)); |
| } |
| for (int i = 0; i < testModuleStartTimestamp_.size(); i++) { |
| output.writeInt64(12, testModuleStartTimestamp_.get(i)); |
| } |
| if (((bitField0_ & 0x00000001) == 0x00000001)) { |
| output.writeBytes(21, getTestPlanNameBytes()); |
| } |
| for (int i = 0; i < partnerReport_.size(); i++) { |
| output.writeMessage(31, partnerReport_.get(i)); |
| } |
| getUnknownFields().writeTo(output); |
| } |
| |
| private int memoizedSerializedSize = -1; |
| public int getSerializedSize() { |
| int size = memoizedSerializedSize; |
| if (size != -1) return size; |
| |
| size = 0; |
| { |
| int dataSize = 0; |
| for (int i = 0; i < testModuleName_.size(); i++) { |
| dataSize += com.google.protobuf.CodedOutputStream |
| .computeBytesSizeNoTag(testModuleName_.getByteString(i)); |
| } |
| size += dataSize; |
| size += 1 * getTestModuleNameList().size(); |
| } |
| { |
| int dataSize = 0; |
| for (int i = 0; i < testModuleStartTimestamp_.size(); i++) { |
| dataSize += com.google.protobuf.CodedOutputStream |
| .computeInt64SizeNoTag(testModuleStartTimestamp_.get(i)); |
| } |
| size += dataSize; |
| size += 1 * getTestModuleStartTimestampList().size(); |
| } |
| if (((bitField0_ & 0x00000001) == 0x00000001)) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeBytesSize(21, getTestPlanNameBytes()); |
| } |
| for (int i = 0; i < partnerReport_.size(); i++) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeMessageSize(31, partnerReport_.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.android.vts.proto.VtsReportMessage.TestPlanReportMessage parseFrom( |
| com.google.protobuf.ByteString data) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data); |
| } |
| public static com.android.vts.proto.VtsReportMessage.TestPlanReportMessage parseFrom( |
| com.google.protobuf.ByteString data, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.TestPlanReportMessage parseFrom(byte[] data) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data); |
| } |
| public static com.android.vts.proto.VtsReportMessage.TestPlanReportMessage parseFrom( |
| byte[] data, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.TestPlanReportMessage parseFrom(java.io.InputStream input) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input); |
| } |
| public static com.android.vts.proto.VtsReportMessage.TestPlanReportMessage parseFrom( |
| java.io.InputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.TestPlanReportMessage parseDelimitedFrom(java.io.InputStream input) |
| throws java.io.IOException { |
| return PARSER.parseDelimitedFrom(input); |
| } |
| public static com.android.vts.proto.VtsReportMessage.TestPlanReportMessage parseDelimitedFrom( |
| java.io.InputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| return PARSER.parseDelimitedFrom(input, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.TestPlanReportMessage parseFrom( |
| com.google.protobuf.CodedInputStream input) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input); |
| } |
| public static com.android.vts.proto.VtsReportMessage.TestPlanReportMessage 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.android.vts.proto.VtsReportMessage.TestPlanReportMessage 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.vts.TestPlanReportMessage} |
| * |
| * <pre> |
| * To specify a test execution report. |
| * </pre> |
| */ |
| public static final class Builder extends |
| com.google.protobuf.GeneratedMessage.Builder<Builder> |
| implements com.android.vts.proto.VtsReportMessage.TestPlanReportMessageOrBuilder { |
| public static final com.google.protobuf.Descriptors.Descriptor |
| getDescriptor() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_TestPlanReportMessage_descriptor; |
| } |
| |
| protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internalGetFieldAccessorTable() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_TestPlanReportMessage_fieldAccessorTable |
| .ensureFieldAccessorsInitialized( |
| com.android.vts.proto.VtsReportMessage.TestPlanReportMessage.class, com.android.vts.proto.VtsReportMessage.TestPlanReportMessage.Builder.class); |
| } |
| |
| // Construct using com.android.vts.proto.VtsReportMessage.TestPlanReportMessage.newBuilder() |
| private Builder() { |
| maybeForceBuilderInitialization(); |
| } |
| |
| private Builder( |
| com.google.protobuf.GeneratedMessage.BuilderParent parent) { |
| super(parent); |
| maybeForceBuilderInitialization(); |
| } |
| private void maybeForceBuilderInitialization() { |
| if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { |
| getPartnerReportFieldBuilder(); |
| } |
| } |
| private static Builder create() { |
| return new Builder(); |
| } |
| |
| public Builder clear() { |
| super.clear(); |
| testModuleName_ = com.google.protobuf.LazyStringArrayList.EMPTY; |
| bitField0_ = (bitField0_ & ~0x00000001); |
| testModuleStartTimestamp_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000002); |
| testPlanName_ = ""; |
| bitField0_ = (bitField0_ & ~0x00000004); |
| if (partnerReportBuilder_ == null) { |
| partnerReport_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000008); |
| } else { |
| partnerReportBuilder_.clear(); |
| } |
| return this; |
| } |
| |
| public Builder clone() { |
| return create().mergeFrom(buildPartial()); |
| } |
| |
| public com.google.protobuf.Descriptors.Descriptor |
| getDescriptorForType() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_TestPlanReportMessage_descriptor; |
| } |
| |
| public com.android.vts.proto.VtsReportMessage.TestPlanReportMessage getDefaultInstanceForType() { |
| return com.android.vts.proto.VtsReportMessage.TestPlanReportMessage.getDefaultInstance(); |
| } |
| |
| public com.android.vts.proto.VtsReportMessage.TestPlanReportMessage build() { |
| com.android.vts.proto.VtsReportMessage.TestPlanReportMessage result = buildPartial(); |
| if (!result.isInitialized()) { |
| throw newUninitializedMessageException(result); |
| } |
| return result; |
| } |
| |
| public com.android.vts.proto.VtsReportMessage.TestPlanReportMessage buildPartial() { |
| com.android.vts.proto.VtsReportMessage.TestPlanReportMessage result = new com.android.vts.proto.VtsReportMessage.TestPlanReportMessage(this); |
| int from_bitField0_ = bitField0_; |
| int to_bitField0_ = 0; |
| if (((bitField0_ & 0x00000001) == 0x00000001)) { |
| testModuleName_ = new com.google.protobuf.UnmodifiableLazyStringList( |
| testModuleName_); |
| bitField0_ = (bitField0_ & ~0x00000001); |
| } |
| result.testModuleName_ = testModuleName_; |
| if (((bitField0_ & 0x00000002) == 0x00000002)) { |
| testModuleStartTimestamp_ = java.util.Collections.unmodifiableList(testModuleStartTimestamp_); |
| bitField0_ = (bitField0_ & ~0x00000002); |
| } |
| result.testModuleStartTimestamp_ = testModuleStartTimestamp_; |
| if (((from_bitField0_ & 0x00000004) == 0x00000004)) { |
| to_bitField0_ |= 0x00000001; |
| } |
| result.testPlanName_ = testPlanName_; |
| if (partnerReportBuilder_ == null) { |
| if (((bitField0_ & 0x00000008) == 0x00000008)) { |
| partnerReport_ = java.util.Collections.unmodifiableList(partnerReport_); |
| bitField0_ = (bitField0_ & ~0x00000008); |
| } |
| result.partnerReport_ = partnerReport_; |
| } else { |
| result.partnerReport_ = partnerReportBuilder_.build(); |
| } |
| result.bitField0_ = to_bitField0_; |
| onBuilt(); |
| return result; |
| } |
| |
| public Builder mergeFrom(com.google.protobuf.Message other) { |
| if (other instanceof com.android.vts.proto.VtsReportMessage.TestPlanReportMessage) { |
| return mergeFrom((com.android.vts.proto.VtsReportMessage.TestPlanReportMessage)other); |
| } else { |
| super.mergeFrom(other); |
| return this; |
| } |
| } |
| |
| public Builder mergeFrom(com.android.vts.proto.VtsReportMessage.TestPlanReportMessage other) { |
| if (other == com.android.vts.proto.VtsReportMessage.TestPlanReportMessage.getDefaultInstance()) return this; |
| if (!other.testModuleName_.isEmpty()) { |
| if (testModuleName_.isEmpty()) { |
| testModuleName_ = other.testModuleName_; |
| bitField0_ = (bitField0_ & ~0x00000001); |
| } else { |
| ensureTestModuleNameIsMutable(); |
| testModuleName_.addAll(other.testModuleName_); |
| } |
| onChanged(); |
| } |
| if (!other.testModuleStartTimestamp_.isEmpty()) { |
| if (testModuleStartTimestamp_.isEmpty()) { |
| testModuleStartTimestamp_ = other.testModuleStartTimestamp_; |
| bitField0_ = (bitField0_ & ~0x00000002); |
| } else { |
| ensureTestModuleStartTimestampIsMutable(); |
| testModuleStartTimestamp_.addAll(other.testModuleStartTimestamp_); |
| } |
| onChanged(); |
| } |
| if (other.hasTestPlanName()) { |
| bitField0_ |= 0x00000004; |
| testPlanName_ = other.testPlanName_; |
| onChanged(); |
| } |
| if (partnerReportBuilder_ == null) { |
| if (!other.partnerReport_.isEmpty()) { |
| if (partnerReport_.isEmpty()) { |
| partnerReport_ = other.partnerReport_; |
| bitField0_ = (bitField0_ & ~0x00000008); |
| } else { |
| ensurePartnerReportIsMutable(); |
| partnerReport_.addAll(other.partnerReport_); |
| } |
| onChanged(); |
| } |
| } else { |
| if (!other.partnerReport_.isEmpty()) { |
| if (partnerReportBuilder_.isEmpty()) { |
| partnerReportBuilder_.dispose(); |
| partnerReportBuilder_ = null; |
| partnerReport_ = other.partnerReport_; |
| bitField0_ = (bitField0_ & ~0x00000008); |
| partnerReportBuilder_ = |
| com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? |
| getPartnerReportFieldBuilder() : null; |
| } else { |
| partnerReportBuilder_.addAllMessages(other.partnerReport_); |
| } |
| } |
| } |
| 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.android.vts.proto.VtsReportMessage.TestPlanReportMessage parsedMessage = null; |
| try { |
| parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); |
| } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| parsedMessage = (com.android.vts.proto.VtsReportMessage.TestPlanReportMessage) e.getUnfinishedMessage(); |
| throw e; |
| } finally { |
| if (parsedMessage != null) { |
| mergeFrom(parsedMessage); |
| } |
| } |
| return this; |
| } |
| private int bitField0_; |
| |
| // repeated string test_module_name = 11; |
| private com.google.protobuf.LazyStringList testModuleName_ = com.google.protobuf.LazyStringArrayList.EMPTY; |
| private void ensureTestModuleNameIsMutable() { |
| if (!((bitField0_ & 0x00000001) == 0x00000001)) { |
| testModuleName_ = new com.google.protobuf.LazyStringArrayList(testModuleName_); |
| bitField0_ |= 0x00000001; |
| } |
| } |
| /** |
| * <code>repeated string test_module_name = 11;</code> |
| * |
| * <pre> |
| * Keys used to find all TestReportMessage messages of test modules in |
| * this plan. |
| * </pre> |
| */ |
| public java.util.List<java.lang.String> |
| getTestModuleNameList() { |
| return java.util.Collections.unmodifiableList(testModuleName_); |
| } |
| /** |
| * <code>repeated string test_module_name = 11;</code> |
| * |
| * <pre> |
| * Keys used to find all TestReportMessage messages of test modules in |
| * this plan. |
| * </pre> |
| */ |
| public int getTestModuleNameCount() { |
| return testModuleName_.size(); |
| } |
| /** |
| * <code>repeated string test_module_name = 11;</code> |
| * |
| * <pre> |
| * Keys used to find all TestReportMessage messages of test modules in |
| * this plan. |
| * </pre> |
| */ |
| public java.lang.String getTestModuleName(int index) { |
| return testModuleName_.get(index); |
| } |
| /** |
| * <code>repeated string test_module_name = 11;</code> |
| * |
| * <pre> |
| * Keys used to find all TestReportMessage messages of test modules in |
| * this plan. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString |
| getTestModuleNameBytes(int index) { |
| return testModuleName_.getByteString(index); |
| } |
| /** |
| * <code>repeated string test_module_name = 11;</code> |
| * |
| * <pre> |
| * Keys used to find all TestReportMessage messages of test modules in |
| * this plan. |
| * </pre> |
| */ |
| public Builder setTestModuleName( |
| int index, java.lang.String value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureTestModuleNameIsMutable(); |
| testModuleName_.set(index, value); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>repeated string test_module_name = 11;</code> |
| * |
| * <pre> |
| * Keys used to find all TestReportMessage messages of test modules in |
| * this plan. |
| * </pre> |
| */ |
| public Builder addTestModuleName( |
| java.lang.String value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureTestModuleNameIsMutable(); |
| testModuleName_.add(value); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>repeated string test_module_name = 11;</code> |
| * |
| * <pre> |
| * Keys used to find all TestReportMessage messages of test modules in |
| * this plan. |
| * </pre> |
| */ |
| public Builder addAllTestModuleName( |
| java.lang.Iterable<java.lang.String> values) { |
| ensureTestModuleNameIsMutable(); |
| super.addAll(values, testModuleName_); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>repeated string test_module_name = 11;</code> |
| * |
| * <pre> |
| * Keys used to find all TestReportMessage messages of test modules in |
| * this plan. |
| * </pre> |
| */ |
| public Builder clearTestModuleName() { |
| testModuleName_ = com.google.protobuf.LazyStringArrayList.EMPTY; |
| bitField0_ = (bitField0_ & ~0x00000001); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>repeated string test_module_name = 11;</code> |
| * |
| * <pre> |
| * Keys used to find all TestReportMessage messages of test modules in |
| * this plan. |
| * </pre> |
| */ |
| public Builder addTestModuleNameBytes( |
| com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureTestModuleNameIsMutable(); |
| testModuleName_.add(value); |
| onChanged(); |
| return this; |
| } |
| |
| // repeated int64 test_module_start_timestamp = 12; |
| private java.util.List<java.lang.Long> testModuleStartTimestamp_ = java.util.Collections.emptyList(); |
| private void ensureTestModuleStartTimestampIsMutable() { |
| if (!((bitField0_ & 0x00000002) == 0x00000002)) { |
| testModuleStartTimestamp_ = new java.util.ArrayList<java.lang.Long>(testModuleStartTimestamp_); |
| bitField0_ |= 0x00000002; |
| } |
| } |
| /** |
| * <code>repeated int64 test_module_start_timestamp = 12;</code> |
| */ |
| public java.util.List<java.lang.Long> |
| getTestModuleStartTimestampList() { |
| return java.util.Collections.unmodifiableList(testModuleStartTimestamp_); |
| } |
| /** |
| * <code>repeated int64 test_module_start_timestamp = 12;</code> |
| */ |
| public int getTestModuleStartTimestampCount() { |
| return testModuleStartTimestamp_.size(); |
| } |
| /** |
| * <code>repeated int64 test_module_start_timestamp = 12;</code> |
| */ |
| public long getTestModuleStartTimestamp(int index) { |
| return testModuleStartTimestamp_.get(index); |
| } |
| /** |
| * <code>repeated int64 test_module_start_timestamp = 12;</code> |
| */ |
| public Builder setTestModuleStartTimestamp( |
| int index, long value) { |
| ensureTestModuleStartTimestampIsMutable(); |
| testModuleStartTimestamp_.set(index, value); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>repeated int64 test_module_start_timestamp = 12;</code> |
| */ |
| public Builder addTestModuleStartTimestamp(long value) { |
| ensureTestModuleStartTimestampIsMutable(); |
| testModuleStartTimestamp_.add(value); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>repeated int64 test_module_start_timestamp = 12;</code> |
| */ |
| public Builder addAllTestModuleStartTimestamp( |
| java.lang.Iterable<? extends java.lang.Long> values) { |
| ensureTestModuleStartTimestampIsMutable(); |
| super.addAll(values, testModuleStartTimestamp_); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>repeated int64 test_module_start_timestamp = 12;</code> |
| */ |
| public Builder clearTestModuleStartTimestamp() { |
| testModuleStartTimestamp_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000002); |
| onChanged(); |
| return this; |
| } |
| |
| // optional string test_plan_name = 21; |
| private java.lang.Object testPlanName_ = ""; |
| /** |
| * <code>optional string test_plan_name = 21;</code> |
| * |
| * <pre> |
| * The test plan name. |
| * </pre> |
| */ |
| public boolean hasTestPlanName() { |
| return ((bitField0_ & 0x00000004) == 0x00000004); |
| } |
| /** |
| * <code>optional string test_plan_name = 21;</code> |
| * |
| * <pre> |
| * The test plan name. |
| * </pre> |
| */ |
| public java.lang.String getTestPlanName() { |
| java.lang.Object ref = testPlanName_; |
| if (!(ref instanceof java.lang.String)) { |
| java.lang.String s = ((com.google.protobuf.ByteString) ref) |
| .toStringUtf8(); |
| testPlanName_ = s; |
| return s; |
| } else { |
| return (java.lang.String) ref; |
| } |
| } |
| /** |
| * <code>optional string test_plan_name = 21;</code> |
| * |
| * <pre> |
| * The test plan name. |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString |
| getTestPlanNameBytes() { |
| java.lang.Object ref = testPlanName_; |
| if (ref instanceof String) { |
| com.google.protobuf.ByteString b = |
| com.google.protobuf.ByteString.copyFromUtf8( |
| (java.lang.String) ref); |
| testPlanName_ = b; |
| return b; |
| } else { |
| return (com.google.protobuf.ByteString) ref; |
| } |
| } |
| /** |
| * <code>optional string test_plan_name = 21;</code> |
| * |
| * <pre> |
| * The test plan name. |
| * </pre> |
| */ |
| public Builder setTestPlanName( |
| java.lang.String value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000004; |
| testPlanName_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional string test_plan_name = 21;</code> |
| * |
| * <pre> |
| * The test plan name. |
| * </pre> |
| */ |
| public Builder clearTestPlanName() { |
| bitField0_ = (bitField0_ & ~0x00000004); |
| testPlanName_ = getDefaultInstance().getTestPlanName(); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional string test_plan_name = 21;</code> |
| * |
| * <pre> |
| * The test plan name. |
| * </pre> |
| */ |
| public Builder setTestPlanNameBytes( |
| com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000004; |
| testPlanName_ = value; |
| onChanged(); |
| return this; |
| } |
| |
| // repeated .android.vts.UrlResourceMessage partner_report = 31; |
| private java.util.List<com.android.vts.proto.VtsReportMessage.UrlResourceMessage> partnerReport_ = |
| java.util.Collections.emptyList(); |
| private void ensurePartnerReportIsMutable() { |
| if (!((bitField0_ & 0x00000008) == 0x00000008)) { |
| partnerReport_ = new java.util.ArrayList<com.android.vts.proto.VtsReportMessage.UrlResourceMessage>(partnerReport_); |
| bitField0_ |= 0x00000008; |
| } |
| } |
| |
| private com.google.protobuf.RepeatedFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.UrlResourceMessage, com.android.vts.proto.VtsReportMessage.UrlResourceMessage.Builder, com.android.vts.proto.VtsReportMessage.UrlResourceMessageOrBuilder> partnerReportBuilder_; |
| |
| /** |
| * <code>repeated .android.vts.UrlResourceMessage partner_report = 31;</code> |
| * |
| * <pre> |
| * Report resource flies. |
| * </pre> |
| */ |
| public java.util.List<com.android.vts.proto.VtsReportMessage.UrlResourceMessage> getPartnerReportList() { |
| if (partnerReportBuilder_ == null) { |
| return java.util.Collections.unmodifiableList(partnerReport_); |
| } else { |
| return partnerReportBuilder_.getMessageList(); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.UrlResourceMessage partner_report = 31;</code> |
| * |
| * <pre> |
| * Report resource flies. |
| * </pre> |
| */ |
| public int getPartnerReportCount() { |
| if (partnerReportBuilder_ == null) { |
| return partnerReport_.size(); |
| } else { |
| return partnerReportBuilder_.getCount(); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.UrlResourceMessage partner_report = 31;</code> |
| * |
| * <pre> |
| * Report resource flies. |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.UrlResourceMessage getPartnerReport(int index) { |
| if (partnerReportBuilder_ == null) { |
| return partnerReport_.get(index); |
| } else { |
| return partnerReportBuilder_.getMessage(index); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.UrlResourceMessage partner_report = 31;</code> |
| * |
| * <pre> |
| * Report resource flies. |
| * </pre> |
| */ |
| public Builder setPartnerReport( |
| int index, com.android.vts.proto.VtsReportMessage.UrlResourceMessage value) { |
| if (partnerReportBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensurePartnerReportIsMutable(); |
| partnerReport_.set(index, value); |
| onChanged(); |
| } else { |
| partnerReportBuilder_.setMessage(index, value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.UrlResourceMessage partner_report = 31;</code> |
| * |
| * <pre> |
| * Report resource flies. |
| * </pre> |
| */ |
| public Builder setPartnerReport( |
| int index, com.android.vts.proto.VtsReportMessage.UrlResourceMessage.Builder builderForValue) { |
| if (partnerReportBuilder_ == null) { |
| ensurePartnerReportIsMutable(); |
| partnerReport_.set(index, builderForValue.build()); |
| onChanged(); |
| } else { |
| partnerReportBuilder_.setMessage(index, builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.UrlResourceMessage partner_report = 31;</code> |
| * |
| * <pre> |
| * Report resource flies. |
| * </pre> |
| */ |
| public Builder addPartnerReport(com.android.vts.proto.VtsReportMessage.UrlResourceMessage value) { |
| if (partnerReportBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensurePartnerReportIsMutable(); |
| partnerReport_.add(value); |
| onChanged(); |
| } else { |
| partnerReportBuilder_.addMessage(value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.UrlResourceMessage partner_report = 31;</code> |
| * |
| * <pre> |
| * Report resource flies. |
| * </pre> |
| */ |
| public Builder addPartnerReport( |
| int index, com.android.vts.proto.VtsReportMessage.UrlResourceMessage value) { |
| if (partnerReportBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensurePartnerReportIsMutable(); |
| partnerReport_.add(index, value); |
| onChanged(); |
| } else { |
| partnerReportBuilder_.addMessage(index, value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.UrlResourceMessage partner_report = 31;</code> |
| * |
| * <pre> |
| * Report resource flies. |
| * </pre> |
| */ |
| public Builder addPartnerReport( |
| com.android.vts.proto.VtsReportMessage.UrlResourceMessage.Builder builderForValue) { |
| if (partnerReportBuilder_ == null) { |
| ensurePartnerReportIsMutable(); |
| partnerReport_.add(builderForValue.build()); |
| onChanged(); |
| } else { |
| partnerReportBuilder_.addMessage(builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.UrlResourceMessage partner_report = 31;</code> |
| * |
| * <pre> |
| * Report resource flies. |
| * </pre> |
| */ |
| public Builder addPartnerReport( |
| int index, com.android.vts.proto.VtsReportMessage.UrlResourceMessage.Builder builderForValue) { |
| if (partnerReportBuilder_ == null) { |
| ensurePartnerReportIsMutable(); |
| partnerReport_.add(index, builderForValue.build()); |
| onChanged(); |
| } else { |
| partnerReportBuilder_.addMessage(index, builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.UrlResourceMessage partner_report = 31;</code> |
| * |
| * <pre> |
| * Report resource flies. |
| * </pre> |
| */ |
| public Builder addAllPartnerReport( |
| java.lang.Iterable<? extends com.android.vts.proto.VtsReportMessage.UrlResourceMessage> values) { |
| if (partnerReportBuilder_ == null) { |
| ensurePartnerReportIsMutable(); |
| super.addAll(values, partnerReport_); |
| onChanged(); |
| } else { |
| partnerReportBuilder_.addAllMessages(values); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.UrlResourceMessage partner_report = 31;</code> |
| * |
| * <pre> |
| * Report resource flies. |
| * </pre> |
| */ |
| public Builder clearPartnerReport() { |
| if (partnerReportBuilder_ == null) { |
| partnerReport_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000008); |
| onChanged(); |
| } else { |
| partnerReportBuilder_.clear(); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.UrlResourceMessage partner_report = 31;</code> |
| * |
| * <pre> |
| * Report resource flies. |
| * </pre> |
| */ |
| public Builder removePartnerReport(int index) { |
| if (partnerReportBuilder_ == null) { |
| ensurePartnerReportIsMutable(); |
| partnerReport_.remove(index); |
| onChanged(); |
| } else { |
| partnerReportBuilder_.remove(index); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.UrlResourceMessage partner_report = 31;</code> |
| * |
| * <pre> |
| * Report resource flies. |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.UrlResourceMessage.Builder getPartnerReportBuilder( |
| int index) { |
| return getPartnerReportFieldBuilder().getBuilder(index); |
| } |
| /** |
| * <code>repeated .android.vts.UrlResourceMessage partner_report = 31;</code> |
| * |
| * <pre> |
| * Report resource flies. |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.UrlResourceMessageOrBuilder getPartnerReportOrBuilder( |
| int index) { |
| if (partnerReportBuilder_ == null) { |
| return partnerReport_.get(index); } else { |
| return partnerReportBuilder_.getMessageOrBuilder(index); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.UrlResourceMessage partner_report = 31;</code> |
| * |
| * <pre> |
| * Report resource flies. |
| * </pre> |
| */ |
| public java.util.List<? extends com.android.vts.proto.VtsReportMessage.UrlResourceMessageOrBuilder> |
| getPartnerReportOrBuilderList() { |
| if (partnerReportBuilder_ != null) { |
| return partnerReportBuilder_.getMessageOrBuilderList(); |
| } else { |
| return java.util.Collections.unmodifiableList(partnerReport_); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.UrlResourceMessage partner_report = 31;</code> |
| * |
| * <pre> |
| * Report resource flies. |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.UrlResourceMessage.Builder addPartnerReportBuilder() { |
| return getPartnerReportFieldBuilder().addBuilder( |
| com.android.vts.proto.VtsReportMessage.UrlResourceMessage.getDefaultInstance()); |
| } |
| /** |
| * <code>repeated .android.vts.UrlResourceMessage partner_report = 31;</code> |
| * |
| * <pre> |
| * Report resource flies. |
| * </pre> |
| */ |
| public com.android.vts.proto.VtsReportMessage.UrlResourceMessage.Builder addPartnerReportBuilder( |
| int index) { |
| return getPartnerReportFieldBuilder().addBuilder( |
| index, com.android.vts.proto.VtsReportMessage.UrlResourceMessage.getDefaultInstance()); |
| } |
| /** |
| * <code>repeated .android.vts.UrlResourceMessage partner_report = 31;</code> |
| * |
| * <pre> |
| * Report resource flies. |
| * </pre> |
| */ |
| public java.util.List<com.android.vts.proto.VtsReportMessage.UrlResourceMessage.Builder> |
| getPartnerReportBuilderList() { |
| return getPartnerReportFieldBuilder().getBuilderList(); |
| } |
| private com.google.protobuf.RepeatedFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.UrlResourceMessage, com.android.vts.proto.VtsReportMessage.UrlResourceMessage.Builder, com.android.vts.proto.VtsReportMessage.UrlResourceMessageOrBuilder> |
| getPartnerReportFieldBuilder() { |
| if (partnerReportBuilder_ == null) { |
| partnerReportBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.UrlResourceMessage, com.android.vts.proto.VtsReportMessage.UrlResourceMessage.Builder, com.android.vts.proto.VtsReportMessage.UrlResourceMessageOrBuilder>( |
| partnerReport_, |
| ((bitField0_ & 0x00000008) == 0x00000008), |
| getParentForChildren(), |
| isClean()); |
| partnerReport_ = null; |
| } |
| return partnerReportBuilder_; |
| } |
| |
| // @@protoc_insertion_point(builder_scope:android.vts.TestPlanReportMessage) |
| } |
| |
| static { |
| defaultInstance = new TestPlanReportMessage(true); |
| defaultInstance.initFields(); |
| } |
| |
| // @@protoc_insertion_point(class_scope:android.vts.TestPlanReportMessage) |
| } |
| |
| public interface DashboardPostMessageOrBuilder |
| extends com.google.protobuf.MessageOrBuilder { |
| |
| // optional string access_token = 1; |
| /** |
| * <code>optional string access_token = 1;</code> |
| * |
| * <pre> |
| * oauth2.0 access token |
| * </pre> |
| */ |
| boolean hasAccessToken(); |
| /** |
| * <code>optional string access_token = 1;</code> |
| * |
| * <pre> |
| * oauth2.0 access token |
| * </pre> |
| */ |
| java.lang.String getAccessToken(); |
| /** |
| * <code>optional string access_token = 1;</code> |
| * |
| * <pre> |
| * oauth2.0 access token |
| * </pre> |
| */ |
| com.google.protobuf.ByteString |
| getAccessTokenBytes(); |
| |
| // repeated .android.vts.TestReportMessage test_report = 2; |
| /** |
| * <code>repeated .android.vts.TestReportMessage test_report = 2;</code> |
| */ |
| java.util.List<com.android.vts.proto.VtsReportMessage.TestReportMessage> |
| getTestReportList(); |
| /** |
| * <code>repeated .android.vts.TestReportMessage test_report = 2;</code> |
| */ |
| com.android.vts.proto.VtsReportMessage.TestReportMessage getTestReport(int index); |
| /** |
| * <code>repeated .android.vts.TestReportMessage test_report = 2;</code> |
| */ |
| int getTestReportCount(); |
| /** |
| * <code>repeated .android.vts.TestReportMessage test_report = 2;</code> |
| */ |
| java.util.List<? extends com.android.vts.proto.VtsReportMessage.TestReportMessageOrBuilder> |
| getTestReportOrBuilderList(); |
| /** |
| * <code>repeated .android.vts.TestReportMessage test_report = 2;</code> |
| */ |
| com.android.vts.proto.VtsReportMessage.TestReportMessageOrBuilder getTestReportOrBuilder( |
| int index); |
| |
| // repeated .android.vts.TestPlanReportMessage test_plan_report = 3; |
| /** |
| * <code>repeated .android.vts.TestPlanReportMessage test_plan_report = 3;</code> |
| */ |
| java.util.List<com.android.vts.proto.VtsReportMessage.TestPlanReportMessage> |
| getTestPlanReportList(); |
| /** |
| * <code>repeated .android.vts.TestPlanReportMessage test_plan_report = 3;</code> |
| */ |
| com.android.vts.proto.VtsReportMessage.TestPlanReportMessage getTestPlanReport(int index); |
| /** |
| * <code>repeated .android.vts.TestPlanReportMessage test_plan_report = 3;</code> |
| */ |
| int getTestPlanReportCount(); |
| /** |
| * <code>repeated .android.vts.TestPlanReportMessage test_plan_report = 3;</code> |
| */ |
| java.util.List<? extends com.android.vts.proto.VtsReportMessage.TestPlanReportMessageOrBuilder> |
| getTestPlanReportOrBuilderList(); |
| /** |
| * <code>repeated .android.vts.TestPlanReportMessage test_plan_report = 3;</code> |
| */ |
| com.android.vts.proto.VtsReportMessage.TestPlanReportMessageOrBuilder getTestPlanReportOrBuilder( |
| int index); |
| } |
| /** |
| * Protobuf type {@code android.vts.DashboardPostMessage} |
| * |
| * <pre> |
| * Proto wrapper for posting data to the VTS Dashboard |
| * </pre> |
| */ |
| public static final class DashboardPostMessage extends |
| com.google.protobuf.GeneratedMessage |
| implements DashboardPostMessageOrBuilder { |
| // Use DashboardPostMessage.newBuilder() to construct. |
| private DashboardPostMessage(com.google.protobuf.GeneratedMessage.Builder<?> builder) { |
| super(builder); |
| this.unknownFields = builder.getUnknownFields(); |
| } |
| private DashboardPostMessage(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } |
| |
| private static final DashboardPostMessage defaultInstance; |
| public static DashboardPostMessage getDefaultInstance() { |
| return defaultInstance; |
| } |
| |
| public DashboardPostMessage getDefaultInstanceForType() { |
| return defaultInstance; |
| } |
| |
| private final com.google.protobuf.UnknownFieldSet unknownFields; |
| @java.lang.Override |
| public final com.google.protobuf.UnknownFieldSet |
| getUnknownFields() { |
| return this.unknownFields; |
| } |
| private DashboardPostMessage( |
| 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; |
| accessToken_ = input.readBytes(); |
| break; |
| } |
| case 18: { |
| if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { |
| testReport_ = new java.util.ArrayList<com.android.vts.proto.VtsReportMessage.TestReportMessage>(); |
| mutable_bitField0_ |= 0x00000002; |
| } |
| testReport_.add(input.readMessage(com.android.vts.proto.VtsReportMessage.TestReportMessage.PARSER, extensionRegistry)); |
| break; |
| } |
| case 26: { |
| if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { |
| testPlanReport_ = new java.util.ArrayList<com.android.vts.proto.VtsReportMessage.TestPlanReportMessage>(); |
| mutable_bitField0_ |= 0x00000004; |
| } |
| testPlanReport_.add(input.readMessage(com.android.vts.proto.VtsReportMessage.TestPlanReportMessage.PARSER, extensionRegistry)); |
| break; |
| } |
| } |
| } |
| } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| throw e.setUnfinishedMessage(this); |
| } catch (java.io.IOException e) { |
| throw new com.google.protobuf.InvalidProtocolBufferException( |
| e.getMessage()).setUnfinishedMessage(this); |
| } finally { |
| if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { |
| testReport_ = java.util.Collections.unmodifiableList(testReport_); |
| } |
| if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { |
| testPlanReport_ = java.util.Collections.unmodifiableList(testPlanReport_); |
| } |
| this.unknownFields = unknownFields.build(); |
| makeExtensionsImmutable(); |
| } |
| } |
| public static final com.google.protobuf.Descriptors.Descriptor |
| getDescriptor() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_DashboardPostMessage_descriptor; |
| } |
| |
| protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internalGetFieldAccessorTable() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_DashboardPostMessage_fieldAccessorTable |
| .ensureFieldAccessorsInitialized( |
| com.android.vts.proto.VtsReportMessage.DashboardPostMessage.class, com.android.vts.proto.VtsReportMessage.DashboardPostMessage.Builder.class); |
| } |
| |
| public static com.google.protobuf.Parser<DashboardPostMessage> PARSER = |
| new com.google.protobuf.AbstractParser<DashboardPostMessage>() { |
| public DashboardPostMessage parsePartialFrom( |
| com.google.protobuf.CodedInputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return new DashboardPostMessage(input, extensionRegistry); |
| } |
| }; |
| |
| @java.lang.Override |
| public com.google.protobuf.Parser<DashboardPostMessage> getParserForType() { |
| return PARSER; |
| } |
| |
| private int bitField0_; |
| // optional string access_token = 1; |
| public static final int ACCESS_TOKEN_FIELD_NUMBER = 1; |
| private java.lang.Object accessToken_; |
| /** |
| * <code>optional string access_token = 1;</code> |
| * |
| * <pre> |
| * oauth2.0 access token |
| * </pre> |
| */ |
| public boolean hasAccessToken() { |
| return ((bitField0_ & 0x00000001) == 0x00000001); |
| } |
| /** |
| * <code>optional string access_token = 1;</code> |
| * |
| * <pre> |
| * oauth2.0 access token |
| * </pre> |
| */ |
| public java.lang.String getAccessToken() { |
| java.lang.Object ref = accessToken_; |
| 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()) { |
| accessToken_ = s; |
| } |
| return s; |
| } |
| } |
| /** |
| * <code>optional string access_token = 1;</code> |
| * |
| * <pre> |
| * oauth2.0 access token |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString |
| getAccessTokenBytes() { |
| java.lang.Object ref = accessToken_; |
| if (ref instanceof java.lang.String) { |
| com.google.protobuf.ByteString b = |
| com.google.protobuf.ByteString.copyFromUtf8( |
| (java.lang.String) ref); |
| accessToken_ = b; |
| return b; |
| } else { |
| return (com.google.protobuf.ByteString) ref; |
| } |
| } |
| |
| // repeated .android.vts.TestReportMessage test_report = 2; |
| public static final int TEST_REPORT_FIELD_NUMBER = 2; |
| private java.util.List<com.android.vts.proto.VtsReportMessage.TestReportMessage> testReport_; |
| /** |
| * <code>repeated .android.vts.TestReportMessage test_report = 2;</code> |
| */ |
| public java.util.List<com.android.vts.proto.VtsReportMessage.TestReportMessage> getTestReportList() { |
| return testReport_; |
| } |
| /** |
| * <code>repeated .android.vts.TestReportMessage test_report = 2;</code> |
| */ |
| public java.util.List<? extends com.android.vts.proto.VtsReportMessage.TestReportMessageOrBuilder> |
| getTestReportOrBuilderList() { |
| return testReport_; |
| } |
| /** |
| * <code>repeated .android.vts.TestReportMessage test_report = 2;</code> |
| */ |
| public int getTestReportCount() { |
| return testReport_.size(); |
| } |
| /** |
| * <code>repeated .android.vts.TestReportMessage test_report = 2;</code> |
| */ |
| public com.android.vts.proto.VtsReportMessage.TestReportMessage getTestReport(int index) { |
| return testReport_.get(index); |
| } |
| /** |
| * <code>repeated .android.vts.TestReportMessage test_report = 2;</code> |
| */ |
| public com.android.vts.proto.VtsReportMessage.TestReportMessageOrBuilder getTestReportOrBuilder( |
| int index) { |
| return testReport_.get(index); |
| } |
| |
| // repeated .android.vts.TestPlanReportMessage test_plan_report = 3; |
| public static final int TEST_PLAN_REPORT_FIELD_NUMBER = 3; |
| private java.util.List<com.android.vts.proto.VtsReportMessage.TestPlanReportMessage> testPlanReport_; |
| /** |
| * <code>repeated .android.vts.TestPlanReportMessage test_plan_report = 3;</code> |
| */ |
| public java.util.List<com.android.vts.proto.VtsReportMessage.TestPlanReportMessage> getTestPlanReportList() { |
| return testPlanReport_; |
| } |
| /** |
| * <code>repeated .android.vts.TestPlanReportMessage test_plan_report = 3;</code> |
| */ |
| public java.util.List<? extends com.android.vts.proto.VtsReportMessage.TestPlanReportMessageOrBuilder> |
| getTestPlanReportOrBuilderList() { |
| return testPlanReport_; |
| } |
| /** |
| * <code>repeated .android.vts.TestPlanReportMessage test_plan_report = 3;</code> |
| */ |
| public int getTestPlanReportCount() { |
| return testPlanReport_.size(); |
| } |
| /** |
| * <code>repeated .android.vts.TestPlanReportMessage test_plan_report = 3;</code> |
| */ |
| public com.android.vts.proto.VtsReportMessage.TestPlanReportMessage getTestPlanReport(int index) { |
| return testPlanReport_.get(index); |
| } |
| /** |
| * <code>repeated .android.vts.TestPlanReportMessage test_plan_report = 3;</code> |
| */ |
| public com.android.vts.proto.VtsReportMessage.TestPlanReportMessageOrBuilder getTestPlanReportOrBuilder( |
| int index) { |
| return testPlanReport_.get(index); |
| } |
| |
| private void initFields() { |
| accessToken_ = ""; |
| testReport_ = java.util.Collections.emptyList(); |
| testPlanReport_ = 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, getAccessTokenBytes()); |
| } |
| for (int i = 0; i < testReport_.size(); i++) { |
| output.writeMessage(2, testReport_.get(i)); |
| } |
| for (int i = 0; i < testPlanReport_.size(); i++) { |
| output.writeMessage(3, testPlanReport_.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, getAccessTokenBytes()); |
| } |
| for (int i = 0; i < testReport_.size(); i++) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeMessageSize(2, testReport_.get(i)); |
| } |
| for (int i = 0; i < testPlanReport_.size(); i++) { |
| size += com.google.protobuf.CodedOutputStream |
| .computeMessageSize(3, testPlanReport_.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.android.vts.proto.VtsReportMessage.DashboardPostMessage parseFrom( |
| com.google.protobuf.ByteString data) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data); |
| } |
| public static com.android.vts.proto.VtsReportMessage.DashboardPostMessage parseFrom( |
| com.google.protobuf.ByteString data, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.DashboardPostMessage parseFrom(byte[] data) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data); |
| } |
| public static com.android.vts.proto.VtsReportMessage.DashboardPostMessage parseFrom( |
| byte[] data, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws com.google.protobuf.InvalidProtocolBufferException { |
| return PARSER.parseFrom(data, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.DashboardPostMessage parseFrom(java.io.InputStream input) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input); |
| } |
| public static com.android.vts.proto.VtsReportMessage.DashboardPostMessage parseFrom( |
| java.io.InputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.DashboardPostMessage parseDelimitedFrom(java.io.InputStream input) |
| throws java.io.IOException { |
| return PARSER.parseDelimitedFrom(input); |
| } |
| public static com.android.vts.proto.VtsReportMessage.DashboardPostMessage parseDelimitedFrom( |
| java.io.InputStream input, |
| com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| throws java.io.IOException { |
| return PARSER.parseDelimitedFrom(input, extensionRegistry); |
| } |
| public static com.android.vts.proto.VtsReportMessage.DashboardPostMessage parseFrom( |
| com.google.protobuf.CodedInputStream input) |
| throws java.io.IOException { |
| return PARSER.parseFrom(input); |
| } |
| public static com.android.vts.proto.VtsReportMessage.DashboardPostMessage 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.android.vts.proto.VtsReportMessage.DashboardPostMessage 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.vts.DashboardPostMessage} |
| * |
| * <pre> |
| * Proto wrapper for posting data to the VTS Dashboard |
| * </pre> |
| */ |
| public static final class Builder extends |
| com.google.protobuf.GeneratedMessage.Builder<Builder> |
| implements com.android.vts.proto.VtsReportMessage.DashboardPostMessageOrBuilder { |
| public static final com.google.protobuf.Descriptors.Descriptor |
| getDescriptor() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_DashboardPostMessage_descriptor; |
| } |
| |
| protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internalGetFieldAccessorTable() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_DashboardPostMessage_fieldAccessorTable |
| .ensureFieldAccessorsInitialized( |
| com.android.vts.proto.VtsReportMessage.DashboardPostMessage.class, com.android.vts.proto.VtsReportMessage.DashboardPostMessage.Builder.class); |
| } |
| |
| // Construct using com.android.vts.proto.VtsReportMessage.DashboardPostMessage.newBuilder() |
| private Builder() { |
| maybeForceBuilderInitialization(); |
| } |
| |
| private Builder( |
| com.google.protobuf.GeneratedMessage.BuilderParent parent) { |
| super(parent); |
| maybeForceBuilderInitialization(); |
| } |
| private void maybeForceBuilderInitialization() { |
| if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { |
| getTestReportFieldBuilder(); |
| getTestPlanReportFieldBuilder(); |
| } |
| } |
| private static Builder create() { |
| return new Builder(); |
| } |
| |
| public Builder clear() { |
| super.clear(); |
| accessToken_ = ""; |
| bitField0_ = (bitField0_ & ~0x00000001); |
| if (testReportBuilder_ == null) { |
| testReport_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000002); |
| } else { |
| testReportBuilder_.clear(); |
| } |
| if (testPlanReportBuilder_ == null) { |
| testPlanReport_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000004); |
| } else { |
| testPlanReportBuilder_.clear(); |
| } |
| return this; |
| } |
| |
| public Builder clone() { |
| return create().mergeFrom(buildPartial()); |
| } |
| |
| public com.google.protobuf.Descriptors.Descriptor |
| getDescriptorForType() { |
| return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_DashboardPostMessage_descriptor; |
| } |
| |
| public com.android.vts.proto.VtsReportMessage.DashboardPostMessage getDefaultInstanceForType() { |
| return com.android.vts.proto.VtsReportMessage.DashboardPostMessage.getDefaultInstance(); |
| } |
| |
| public com.android.vts.proto.VtsReportMessage.DashboardPostMessage build() { |
| com.android.vts.proto.VtsReportMessage.DashboardPostMessage result = buildPartial(); |
| if (!result.isInitialized()) { |
| throw newUninitializedMessageException(result); |
| } |
| return result; |
| } |
| |
| public com.android.vts.proto.VtsReportMessage.DashboardPostMessage buildPartial() { |
| com.android.vts.proto.VtsReportMessage.DashboardPostMessage result = new com.android.vts.proto.VtsReportMessage.DashboardPostMessage(this); |
| int from_bitField0_ = bitField0_; |
| int to_bitField0_ = 0; |
| if (((from_bitField0_ & 0x00000001) == 0x00000001)) { |
| to_bitField0_ |= 0x00000001; |
| } |
| result.accessToken_ = accessToken_; |
| if (testReportBuilder_ == null) { |
| if (((bitField0_ & 0x00000002) == 0x00000002)) { |
| testReport_ = java.util.Collections.unmodifiableList(testReport_); |
| bitField0_ = (bitField0_ & ~0x00000002); |
| } |
| result.testReport_ = testReport_; |
| } else { |
| result.testReport_ = testReportBuilder_.build(); |
| } |
| if (testPlanReportBuilder_ == null) { |
| if (((bitField0_ & 0x00000004) == 0x00000004)) { |
| testPlanReport_ = java.util.Collections.unmodifiableList(testPlanReport_); |
| bitField0_ = (bitField0_ & ~0x00000004); |
| } |
| result.testPlanReport_ = testPlanReport_; |
| } else { |
| result.testPlanReport_ = testPlanReportBuilder_.build(); |
| } |
| result.bitField0_ = to_bitField0_; |
| onBuilt(); |
| return result; |
| } |
| |
| public Builder mergeFrom(com.google.protobuf.Message other) { |
| if (other instanceof com.android.vts.proto.VtsReportMessage.DashboardPostMessage) { |
| return mergeFrom((com.android.vts.proto.VtsReportMessage.DashboardPostMessage)other); |
| } else { |
| super.mergeFrom(other); |
| return this; |
| } |
| } |
| |
| public Builder mergeFrom(com.android.vts.proto.VtsReportMessage.DashboardPostMessage other) { |
| if (other == com.android.vts.proto.VtsReportMessage.DashboardPostMessage.getDefaultInstance()) return this; |
| if (other.hasAccessToken()) { |
| bitField0_ |= 0x00000001; |
| accessToken_ = other.accessToken_; |
| onChanged(); |
| } |
| if (testReportBuilder_ == null) { |
| if (!other.testReport_.isEmpty()) { |
| if (testReport_.isEmpty()) { |
| testReport_ = other.testReport_; |
| bitField0_ = (bitField0_ & ~0x00000002); |
| } else { |
| ensureTestReportIsMutable(); |
| testReport_.addAll(other.testReport_); |
| } |
| onChanged(); |
| } |
| } else { |
| if (!other.testReport_.isEmpty()) { |
| if (testReportBuilder_.isEmpty()) { |
| testReportBuilder_.dispose(); |
| testReportBuilder_ = null; |
| testReport_ = other.testReport_; |
| bitField0_ = (bitField0_ & ~0x00000002); |
| testReportBuilder_ = |
| com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? |
| getTestReportFieldBuilder() : null; |
| } else { |
| testReportBuilder_.addAllMessages(other.testReport_); |
| } |
| } |
| } |
| if (testPlanReportBuilder_ == null) { |
| if (!other.testPlanReport_.isEmpty()) { |
| if (testPlanReport_.isEmpty()) { |
| testPlanReport_ = other.testPlanReport_; |
| bitField0_ = (bitField0_ & ~0x00000004); |
| } else { |
| ensureTestPlanReportIsMutable(); |
| testPlanReport_.addAll(other.testPlanReport_); |
| } |
| onChanged(); |
| } |
| } else { |
| if (!other.testPlanReport_.isEmpty()) { |
| if (testPlanReportBuilder_.isEmpty()) { |
| testPlanReportBuilder_.dispose(); |
| testPlanReportBuilder_ = null; |
| testPlanReport_ = other.testPlanReport_; |
| bitField0_ = (bitField0_ & ~0x00000004); |
| testPlanReportBuilder_ = |
| com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? |
| getTestPlanReportFieldBuilder() : null; |
| } else { |
| testPlanReportBuilder_.addAllMessages(other.testPlanReport_); |
| } |
| } |
| } |
| 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.android.vts.proto.VtsReportMessage.DashboardPostMessage parsedMessage = null; |
| try { |
| parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); |
| } catch (com.google.protobuf.InvalidProtocolBufferException e) { |
| parsedMessage = (com.android.vts.proto.VtsReportMessage.DashboardPostMessage) e.getUnfinishedMessage(); |
| throw e; |
| } finally { |
| if (parsedMessage != null) { |
| mergeFrom(parsedMessage); |
| } |
| } |
| return this; |
| } |
| private int bitField0_; |
| |
| // optional string access_token = 1; |
| private java.lang.Object accessToken_ = ""; |
| /** |
| * <code>optional string access_token = 1;</code> |
| * |
| * <pre> |
| * oauth2.0 access token |
| * </pre> |
| */ |
| public boolean hasAccessToken() { |
| return ((bitField0_ & 0x00000001) == 0x00000001); |
| } |
| /** |
| * <code>optional string access_token = 1;</code> |
| * |
| * <pre> |
| * oauth2.0 access token |
| * </pre> |
| */ |
| public java.lang.String getAccessToken() { |
| java.lang.Object ref = accessToken_; |
| if (!(ref instanceof java.lang.String)) { |
| java.lang.String s = ((com.google.protobuf.ByteString) ref) |
| .toStringUtf8(); |
| accessToken_ = s; |
| return s; |
| } else { |
| return (java.lang.String) ref; |
| } |
| } |
| /** |
| * <code>optional string access_token = 1;</code> |
| * |
| * <pre> |
| * oauth2.0 access token |
| * </pre> |
| */ |
| public com.google.protobuf.ByteString |
| getAccessTokenBytes() { |
| java.lang.Object ref = accessToken_; |
| if (ref instanceof String) { |
| com.google.protobuf.ByteString b = |
| com.google.protobuf.ByteString.copyFromUtf8( |
| (java.lang.String) ref); |
| accessToken_ = b; |
| return b; |
| } else { |
| return (com.google.protobuf.ByteString) ref; |
| } |
| } |
| /** |
| * <code>optional string access_token = 1;</code> |
| * |
| * <pre> |
| * oauth2.0 access token |
| * </pre> |
| */ |
| public Builder setAccessToken( |
| java.lang.String value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000001; |
| accessToken_ = value; |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional string access_token = 1;</code> |
| * |
| * <pre> |
| * oauth2.0 access token |
| * </pre> |
| */ |
| public Builder clearAccessToken() { |
| bitField0_ = (bitField0_ & ~0x00000001); |
| accessToken_ = getDefaultInstance().getAccessToken(); |
| onChanged(); |
| return this; |
| } |
| /** |
| * <code>optional string access_token = 1;</code> |
| * |
| * <pre> |
| * oauth2.0 access token |
| * </pre> |
| */ |
| public Builder setAccessTokenBytes( |
| com.google.protobuf.ByteString value) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| bitField0_ |= 0x00000001; |
| accessToken_ = value; |
| onChanged(); |
| return this; |
| } |
| |
| // repeated .android.vts.TestReportMessage test_report = 2; |
| private java.util.List<com.android.vts.proto.VtsReportMessage.TestReportMessage> testReport_ = |
| java.util.Collections.emptyList(); |
| private void ensureTestReportIsMutable() { |
| if (!((bitField0_ & 0x00000002) == 0x00000002)) { |
| testReport_ = new java.util.ArrayList<com.android.vts.proto.VtsReportMessage.TestReportMessage>(testReport_); |
| bitField0_ |= 0x00000002; |
| } |
| } |
| |
| private com.google.protobuf.RepeatedFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.TestReportMessage, com.android.vts.proto.VtsReportMessage.TestReportMessage.Builder, com.android.vts.proto.VtsReportMessage.TestReportMessageOrBuilder> testReportBuilder_; |
| |
| /** |
| * <code>repeated .android.vts.TestReportMessage test_report = 2;</code> |
| */ |
| public java.util.List<com.android.vts.proto.VtsReportMessage.TestReportMessage> getTestReportList() { |
| if (testReportBuilder_ == null) { |
| return java.util.Collections.unmodifiableList(testReport_); |
| } else { |
| return testReportBuilder_.getMessageList(); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.TestReportMessage test_report = 2;</code> |
| */ |
| public int getTestReportCount() { |
| if (testReportBuilder_ == null) { |
| return testReport_.size(); |
| } else { |
| return testReportBuilder_.getCount(); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.TestReportMessage test_report = 2;</code> |
| */ |
| public com.android.vts.proto.VtsReportMessage.TestReportMessage getTestReport(int index) { |
| if (testReportBuilder_ == null) { |
| return testReport_.get(index); |
| } else { |
| return testReportBuilder_.getMessage(index); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.TestReportMessage test_report = 2;</code> |
| */ |
| public Builder setTestReport( |
| int index, com.android.vts.proto.VtsReportMessage.TestReportMessage value) { |
| if (testReportBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureTestReportIsMutable(); |
| testReport_.set(index, value); |
| onChanged(); |
| } else { |
| testReportBuilder_.setMessage(index, value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.TestReportMessage test_report = 2;</code> |
| */ |
| public Builder setTestReport( |
| int index, com.android.vts.proto.VtsReportMessage.TestReportMessage.Builder builderForValue) { |
| if (testReportBuilder_ == null) { |
| ensureTestReportIsMutable(); |
| testReport_.set(index, builderForValue.build()); |
| onChanged(); |
| } else { |
| testReportBuilder_.setMessage(index, builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.TestReportMessage test_report = 2;</code> |
| */ |
| public Builder addTestReport(com.android.vts.proto.VtsReportMessage.TestReportMessage value) { |
| if (testReportBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureTestReportIsMutable(); |
| testReport_.add(value); |
| onChanged(); |
| } else { |
| testReportBuilder_.addMessage(value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.TestReportMessage test_report = 2;</code> |
| */ |
| public Builder addTestReport( |
| int index, com.android.vts.proto.VtsReportMessage.TestReportMessage value) { |
| if (testReportBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureTestReportIsMutable(); |
| testReport_.add(index, value); |
| onChanged(); |
| } else { |
| testReportBuilder_.addMessage(index, value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.TestReportMessage test_report = 2;</code> |
| */ |
| public Builder addTestReport( |
| com.android.vts.proto.VtsReportMessage.TestReportMessage.Builder builderForValue) { |
| if (testReportBuilder_ == null) { |
| ensureTestReportIsMutable(); |
| testReport_.add(builderForValue.build()); |
| onChanged(); |
| } else { |
| testReportBuilder_.addMessage(builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.TestReportMessage test_report = 2;</code> |
| */ |
| public Builder addTestReport( |
| int index, com.android.vts.proto.VtsReportMessage.TestReportMessage.Builder builderForValue) { |
| if (testReportBuilder_ == null) { |
| ensureTestReportIsMutable(); |
| testReport_.add(index, builderForValue.build()); |
| onChanged(); |
| } else { |
| testReportBuilder_.addMessage(index, builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.TestReportMessage test_report = 2;</code> |
| */ |
| public Builder addAllTestReport( |
| java.lang.Iterable<? extends com.android.vts.proto.VtsReportMessage.TestReportMessage> values) { |
| if (testReportBuilder_ == null) { |
| ensureTestReportIsMutable(); |
| super.addAll(values, testReport_); |
| onChanged(); |
| } else { |
| testReportBuilder_.addAllMessages(values); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.TestReportMessage test_report = 2;</code> |
| */ |
| public Builder clearTestReport() { |
| if (testReportBuilder_ == null) { |
| testReport_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000002); |
| onChanged(); |
| } else { |
| testReportBuilder_.clear(); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.TestReportMessage test_report = 2;</code> |
| */ |
| public Builder removeTestReport(int index) { |
| if (testReportBuilder_ == null) { |
| ensureTestReportIsMutable(); |
| testReport_.remove(index); |
| onChanged(); |
| } else { |
| testReportBuilder_.remove(index); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.TestReportMessage test_report = 2;</code> |
| */ |
| public com.android.vts.proto.VtsReportMessage.TestReportMessage.Builder getTestReportBuilder( |
| int index) { |
| return getTestReportFieldBuilder().getBuilder(index); |
| } |
| /** |
| * <code>repeated .android.vts.TestReportMessage test_report = 2;</code> |
| */ |
| public com.android.vts.proto.VtsReportMessage.TestReportMessageOrBuilder getTestReportOrBuilder( |
| int index) { |
| if (testReportBuilder_ == null) { |
| return testReport_.get(index); } else { |
| return testReportBuilder_.getMessageOrBuilder(index); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.TestReportMessage test_report = 2;</code> |
| */ |
| public java.util.List<? extends com.android.vts.proto.VtsReportMessage.TestReportMessageOrBuilder> |
| getTestReportOrBuilderList() { |
| if (testReportBuilder_ != null) { |
| return testReportBuilder_.getMessageOrBuilderList(); |
| } else { |
| return java.util.Collections.unmodifiableList(testReport_); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.TestReportMessage test_report = 2;</code> |
| */ |
| public com.android.vts.proto.VtsReportMessage.TestReportMessage.Builder addTestReportBuilder() { |
| return getTestReportFieldBuilder().addBuilder( |
| com.android.vts.proto.VtsReportMessage.TestReportMessage.getDefaultInstance()); |
| } |
| /** |
| * <code>repeated .android.vts.TestReportMessage test_report = 2;</code> |
| */ |
| public com.android.vts.proto.VtsReportMessage.TestReportMessage.Builder addTestReportBuilder( |
| int index) { |
| return getTestReportFieldBuilder().addBuilder( |
| index, com.android.vts.proto.VtsReportMessage.TestReportMessage.getDefaultInstance()); |
| } |
| /** |
| * <code>repeated .android.vts.TestReportMessage test_report = 2;</code> |
| */ |
| public java.util.List<com.android.vts.proto.VtsReportMessage.TestReportMessage.Builder> |
| getTestReportBuilderList() { |
| return getTestReportFieldBuilder().getBuilderList(); |
| } |
| private com.google.protobuf.RepeatedFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.TestReportMessage, com.android.vts.proto.VtsReportMessage.TestReportMessage.Builder, com.android.vts.proto.VtsReportMessage.TestReportMessageOrBuilder> |
| getTestReportFieldBuilder() { |
| if (testReportBuilder_ == null) { |
| testReportBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.TestReportMessage, com.android.vts.proto.VtsReportMessage.TestReportMessage.Builder, com.android.vts.proto.VtsReportMessage.TestReportMessageOrBuilder>( |
| testReport_, |
| ((bitField0_ & 0x00000002) == 0x00000002), |
| getParentForChildren(), |
| isClean()); |
| testReport_ = null; |
| } |
| return testReportBuilder_; |
| } |
| |
| // repeated .android.vts.TestPlanReportMessage test_plan_report = 3; |
| private java.util.List<com.android.vts.proto.VtsReportMessage.TestPlanReportMessage> testPlanReport_ = |
| java.util.Collections.emptyList(); |
| private void ensureTestPlanReportIsMutable() { |
| if (!((bitField0_ & 0x00000004) == 0x00000004)) { |
| testPlanReport_ = new java.util.ArrayList<com.android.vts.proto.VtsReportMessage.TestPlanReportMessage>(testPlanReport_); |
| bitField0_ |= 0x00000004; |
| } |
| } |
| |
| private com.google.protobuf.RepeatedFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.TestPlanReportMessage, com.android.vts.proto.VtsReportMessage.TestPlanReportMessage.Builder, com.android.vts.proto.VtsReportMessage.TestPlanReportMessageOrBuilder> testPlanReportBuilder_; |
| |
| /** |
| * <code>repeated .android.vts.TestPlanReportMessage test_plan_report = 3;</code> |
| */ |
| public java.util.List<com.android.vts.proto.VtsReportMessage.TestPlanReportMessage> getTestPlanReportList() { |
| if (testPlanReportBuilder_ == null) { |
| return java.util.Collections.unmodifiableList(testPlanReport_); |
| } else { |
| return testPlanReportBuilder_.getMessageList(); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.TestPlanReportMessage test_plan_report = 3;</code> |
| */ |
| public int getTestPlanReportCount() { |
| if (testPlanReportBuilder_ == null) { |
| return testPlanReport_.size(); |
| } else { |
| return testPlanReportBuilder_.getCount(); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.TestPlanReportMessage test_plan_report = 3;</code> |
| */ |
| public com.android.vts.proto.VtsReportMessage.TestPlanReportMessage getTestPlanReport(int index) { |
| if (testPlanReportBuilder_ == null) { |
| return testPlanReport_.get(index); |
| } else { |
| return testPlanReportBuilder_.getMessage(index); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.TestPlanReportMessage test_plan_report = 3;</code> |
| */ |
| public Builder setTestPlanReport( |
| int index, com.android.vts.proto.VtsReportMessage.TestPlanReportMessage value) { |
| if (testPlanReportBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureTestPlanReportIsMutable(); |
| testPlanReport_.set(index, value); |
| onChanged(); |
| } else { |
| testPlanReportBuilder_.setMessage(index, value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.TestPlanReportMessage test_plan_report = 3;</code> |
| */ |
| public Builder setTestPlanReport( |
| int index, com.android.vts.proto.VtsReportMessage.TestPlanReportMessage.Builder builderForValue) { |
| if (testPlanReportBuilder_ == null) { |
| ensureTestPlanReportIsMutable(); |
| testPlanReport_.set(index, builderForValue.build()); |
| onChanged(); |
| } else { |
| testPlanReportBuilder_.setMessage(index, builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.TestPlanReportMessage test_plan_report = 3;</code> |
| */ |
| public Builder addTestPlanReport(com.android.vts.proto.VtsReportMessage.TestPlanReportMessage value) { |
| if (testPlanReportBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureTestPlanReportIsMutable(); |
| testPlanReport_.add(value); |
| onChanged(); |
| } else { |
| testPlanReportBuilder_.addMessage(value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.TestPlanReportMessage test_plan_report = 3;</code> |
| */ |
| public Builder addTestPlanReport( |
| int index, com.android.vts.proto.VtsReportMessage.TestPlanReportMessage value) { |
| if (testPlanReportBuilder_ == null) { |
| if (value == null) { |
| throw new NullPointerException(); |
| } |
| ensureTestPlanReportIsMutable(); |
| testPlanReport_.add(index, value); |
| onChanged(); |
| } else { |
| testPlanReportBuilder_.addMessage(index, value); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.TestPlanReportMessage test_plan_report = 3;</code> |
| */ |
| public Builder addTestPlanReport( |
| com.android.vts.proto.VtsReportMessage.TestPlanReportMessage.Builder builderForValue) { |
| if (testPlanReportBuilder_ == null) { |
| ensureTestPlanReportIsMutable(); |
| testPlanReport_.add(builderForValue.build()); |
| onChanged(); |
| } else { |
| testPlanReportBuilder_.addMessage(builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.TestPlanReportMessage test_plan_report = 3;</code> |
| */ |
| public Builder addTestPlanReport( |
| int index, com.android.vts.proto.VtsReportMessage.TestPlanReportMessage.Builder builderForValue) { |
| if (testPlanReportBuilder_ == null) { |
| ensureTestPlanReportIsMutable(); |
| testPlanReport_.add(index, builderForValue.build()); |
| onChanged(); |
| } else { |
| testPlanReportBuilder_.addMessage(index, builderForValue.build()); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.TestPlanReportMessage test_plan_report = 3;</code> |
| */ |
| public Builder addAllTestPlanReport( |
| java.lang.Iterable<? extends com.android.vts.proto.VtsReportMessage.TestPlanReportMessage> values) { |
| if (testPlanReportBuilder_ == null) { |
| ensureTestPlanReportIsMutable(); |
| super.addAll(values, testPlanReport_); |
| onChanged(); |
| } else { |
| testPlanReportBuilder_.addAllMessages(values); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.TestPlanReportMessage test_plan_report = 3;</code> |
| */ |
| public Builder clearTestPlanReport() { |
| if (testPlanReportBuilder_ == null) { |
| testPlanReport_ = java.util.Collections.emptyList(); |
| bitField0_ = (bitField0_ & ~0x00000004); |
| onChanged(); |
| } else { |
| testPlanReportBuilder_.clear(); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.TestPlanReportMessage test_plan_report = 3;</code> |
| */ |
| public Builder removeTestPlanReport(int index) { |
| if (testPlanReportBuilder_ == null) { |
| ensureTestPlanReportIsMutable(); |
| testPlanReport_.remove(index); |
| onChanged(); |
| } else { |
| testPlanReportBuilder_.remove(index); |
| } |
| return this; |
| } |
| /** |
| * <code>repeated .android.vts.TestPlanReportMessage test_plan_report = 3;</code> |
| */ |
| public com.android.vts.proto.VtsReportMessage.TestPlanReportMessage.Builder getTestPlanReportBuilder( |
| int index) { |
| return getTestPlanReportFieldBuilder().getBuilder(index); |
| } |
| /** |
| * <code>repeated .android.vts.TestPlanReportMessage test_plan_report = 3;</code> |
| */ |
| public com.android.vts.proto.VtsReportMessage.TestPlanReportMessageOrBuilder getTestPlanReportOrBuilder( |
| int index) { |
| if (testPlanReportBuilder_ == null) { |
| return testPlanReport_.get(index); } else { |
| return testPlanReportBuilder_.getMessageOrBuilder(index); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.TestPlanReportMessage test_plan_report = 3;</code> |
| */ |
| public java.util.List<? extends com.android.vts.proto.VtsReportMessage.TestPlanReportMessageOrBuilder> |
| getTestPlanReportOrBuilderList() { |
| if (testPlanReportBuilder_ != null) { |
| return testPlanReportBuilder_.getMessageOrBuilderList(); |
| } else { |
| return java.util.Collections.unmodifiableList(testPlanReport_); |
| } |
| } |
| /** |
| * <code>repeated .android.vts.TestPlanReportMessage test_plan_report = 3;</code> |
| */ |
| public com.android.vts.proto.VtsReportMessage.TestPlanReportMessage.Builder addTestPlanReportBuilder() { |
| return getTestPlanReportFieldBuilder().addBuilder( |
| com.android.vts.proto.VtsReportMessage.TestPlanReportMessage.getDefaultInstance()); |
| } |
| /** |
| * <code>repeated .android.vts.TestPlanReportMessage test_plan_report = 3;</code> |
| */ |
| public com.android.vts.proto.VtsReportMessage.TestPlanReportMessage.Builder addTestPlanReportBuilder( |
| int index) { |
| return getTestPlanReportFieldBuilder().addBuilder( |
| index, com.android.vts.proto.VtsReportMessage.TestPlanReportMessage.getDefaultInstance()); |
| } |
| /** |
| * <code>repeated .android.vts.TestPlanReportMessage test_plan_report = 3;</code> |
| */ |
| public java.util.List<com.android.vts.proto.VtsReportMessage.TestPlanReportMessage.Builder> |
| getTestPlanReportBuilderList() { |
| return getTestPlanReportFieldBuilder().getBuilderList(); |
| } |
| private com.google.protobuf.RepeatedFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.TestPlanReportMessage, com.android.vts.proto.VtsReportMessage.TestPlanReportMessage.Builder, com.android.vts.proto.VtsReportMessage.TestPlanReportMessageOrBuilder> |
| getTestPlanReportFieldBuilder() { |
| if (testPlanReportBuilder_ == null) { |
| testPlanReportBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< |
| com.android.vts.proto.VtsReportMessage.TestPlanReportMessage, com.android.vts.proto.VtsReportMessage.TestPlanReportMessage.Builder, com.android.vts.proto.VtsReportMessage.TestPlanReportMessageOrBuilder>( |
| testPlanReport_, |
| ((bitField0_ & 0x00000004) == 0x00000004), |
| getParentForChildren(), |
| isClean()); |
| testPlanReport_ = null; |
| } |
| return testPlanReportBuilder_; |
| } |
| |
| // @@protoc_insertion_point(builder_scope:android.vts.DashboardPostMessage) |
| } |
| |
| static { |
| defaultInstance = new DashboardPostMessage(true); |
| defaultInstance.initFields(); |
| } |
| |
| // @@protoc_insertion_point(class_scope:android.vts.DashboardPostMessage) |
| } |
| |
| private static com.google.protobuf.Descriptors.Descriptor |
| internal_static_android_vts_AndroidDeviceInfoMessage_descriptor; |
| private static |
| com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internal_static_android_vts_AndroidDeviceInfoMessage_fieldAccessorTable; |
| private static com.google.protobuf.Descriptors.Descriptor |
| internal_static_android_vts_AndroidBuildInfo_descriptor; |
| private static |
| com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internal_static_android_vts_AndroidBuildInfo_fieldAccessorTable; |
| private static com.google.protobuf.Descriptors.Descriptor |
| internal_static_android_vts_VtsHostInfo_descriptor; |
| private static |
| com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internal_static_android_vts_VtsHostInfo_fieldAccessorTable; |
| private static com.google.protobuf.Descriptors.Descriptor |
| internal_static_android_vts_TestCaseReportMessage_descriptor; |
| private static |
| com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internal_static_android_vts_TestCaseReportMessage_fieldAccessorTable; |
| private static com.google.protobuf.Descriptors.Descriptor |
| internal_static_android_vts_ProfilingReportMessage_descriptor; |
| private static |
| com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internal_static_android_vts_ProfilingReportMessage_fieldAccessorTable; |
| private static com.google.protobuf.Descriptors.Descriptor |
| internal_static_android_vts_SystraceReportMessage_descriptor; |
| private static |
| com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internal_static_android_vts_SystraceReportMessage_fieldAccessorTable; |
| private static com.google.protobuf.Descriptors.Descriptor |
| internal_static_android_vts_CoverageReportMessage_descriptor; |
| private static |
| com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internal_static_android_vts_CoverageReportMessage_fieldAccessorTable; |
| private static com.google.protobuf.Descriptors.Descriptor |
| internal_static_android_vts_LogMessage_descriptor; |
| private static |
| com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internal_static_android_vts_LogMessage_fieldAccessorTable; |
| private static com.google.protobuf.Descriptors.Descriptor |
| internal_static_android_vts_UrlResourceMessage_descriptor; |
| private static |
| com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internal_static_android_vts_UrlResourceMessage_fieldAccessorTable; |
| private static com.google.protobuf.Descriptors.Descriptor |
| internal_static_android_vts_TestReportMessage_descriptor; |
| private static |
| com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internal_static_android_vts_TestReportMessage_fieldAccessorTable; |
| private static com.google.protobuf.Descriptors.Descriptor |
| internal_static_android_vts_TestPlanReportMessage_descriptor; |
| private static |
| com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internal_static_android_vts_TestPlanReportMessage_fieldAccessorTable; |
| private static com.google.protobuf.Descriptors.Descriptor |
| internal_static_android_vts_DashboardPostMessage_descriptor; |
| private static |
| com.google.protobuf.GeneratedMessage.FieldAccessorTable |
| internal_static_android_vts_DashboardPostMessage_fieldAccessorTable; |
| |
| public static com.google.protobuf.Descriptors.FileDescriptor |
| getDescriptor() { |
| return descriptor; |
| } |
| private static com.google.protobuf.Descriptors.FileDescriptor |
| descriptor; |
| static { |
| java.lang.String[] descriptorData = { |
| "\n\034proto/VtsReportMessage.proto\022\013android." + |
| "vts\"\340\001\n\030AndroidDeviceInfoMessage\022\024\n\014prod" + |
| "uct_type\030\001 \001(\014\022\027\n\017product_variant\030\002 \001(\014\022" + |
| "\024\n\014build_flavor\030\013 \001(\014\022\020\n\010build_id\030\014 \001(\014\022" + |
| "\016\n\006branch\030\025 \001(\014\022\023\n\013build_alias\030\026 \001(\014\022\021\n\t" + |
| "api_level\030\037 \001(\014\022\020\n\010abi_name\0303 \001(\014\022\023\n\013abi" + |
| "_bitness\0304 \001(\014\022\016\n\006serial\030e \001(\014\"g\n\020Androi" + |
| "dBuildInfo\022\n\n\002id\030\001 \001(\014\022\014\n\004name\030\013 \001(\014\022\022\n\n" + |
| "build_type\030\014 \001(\014\022\016\n\006branch\030\r \001(\014\022\025\n\rbuil" + |
| "d_summary\030\025 \001(\014\"\037\n\013VtsHostInfo\022\020\n\010hostna", |
| "me\030\001 \001(\014\"\321\002\n\025TestCaseReportMessage\022\014\n\004na" + |
| "me\030\001 \001(\014\0220\n\013test_result\030\013 \001(\0162\033.android." + |
| "vts.TestCaseResult\022\027\n\017start_timestamp\030\025 " + |
| "\001(\003\022\025\n\rend_timestamp\030\026 \001(\003\0224\n\010coverage\030\037" + |
| " \003(\0132\".android.vts.CoverageReportMessage" + |
| "\0226\n\tprofiling\030) \003(\0132#.android.vts.Profil" + |
| "ingReportMessage\0224\n\010systrace\030* \003(\0132\".and" + |
| "roid.vts.SystraceReportMessage\022$\n\003log\030e " + |
| "\003(\0132\027.android.vts.LogMessage\"\240\002\n\026Profili" + |
| "ngReportMessage\022\014\n\004name\030\001 \001(\014\022+\n\004type\030\002 ", |
| "\001(\0162\035.android.vts.VtsProfilingType\022@\n\017re" + |
| "gression_mode\030\003 \001(\0162\'.android.vts.VtsPro" + |
| "filingRegressionMode\022\027\n\017start_timestamp\030" + |
| "\013 \001(\003\022\025\n\rend_timestamp\030\014 \001(\003\022\r\n\005label\030\025 " + |
| "\003(\014\022\r\n\005value\030\026 \003(\003\022\024\n\014x_axis_label\030\037 \001(\014" + |
| "\022\024\n\014y_axis_label\030 \001(\014\022\017\n\007options\030) \003(\014\"" + |
| "H\n\025SystraceReportMessage\022\024\n\014process_name" + |
| "\030\001 \001(\014\022\014\n\004html\030\013 \003(\014\022\013\n\003url\030\025 \003(\014\"\345\001\n\025Co" + |
| "verageReportMessage\022\021\n\tfile_path\030\013 \001(\014\022\024" + |
| "\n\014project_name\030\014 \001(\014\022\020\n\010revision\030\r \001(\014\022\034", |
| "\n\024line_coverage_vector\030\027 \003(\005\022\030\n\020total_li" + |
| "ne_count\030e \001(\005\022\032\n\022covered_line_count\030f \001" + |
| "(\005\022\024\n\010dir_path\030\001 \001(\014B\002\030\001\022\025\n\tfile_name\030\002 " + |
| "\001(\014B\002\030\001\022\020\n\004html\030\003 \001(\014B\002\030\001\"8\n\nLogMessage\022" + |
| "\013\n\003url\030\001 \001(\014\022\014\n\004name\030\002 \001(\014\022\017\n\007content\030\003 " + |
| "\001(\014\"@\n\022UrlResourceMessage\022\013\n\003url\030\001 \001(\014\022\014" + |
| "\n\004name\030\002 \001(\014\022\017\n\007content\030\003 \001(\014\"\316\004\n\021TestRe" + |
| "portMessage\022\026\n\ntest_suite\030\001 \001(\014B\002\030\001\022\014\n\004t" + |
| "est\030\002 \001(\014\022+\n\ttest_type\030\003 \001(\0162\030.android.v" + |
| "ts.VtsTestType\022:\n\013device_info\030\004 \003(\0132%.an", |
| "droid.vts.AndroidDeviceInfoMessage\0221\n\nbu" + |
| "ild_info\030\005 \001(\0132\035.android.vts.AndroidBuil" + |
| "dInfo\022\030\n\020subscriber_email\030\006 \003(\014\022+\n\thost_" + |
| "info\030\007 \001(\0132\030.android.vts.VtsHostInfo\0225\n\t" + |
| "test_case\030\013 \003(\0132\".android.vts.TestCaseRe" + |
| "portMessage\0226\n\tprofiling\030\025 \003(\0132#.android" + |
| ".vts.ProfilingReportMessage\0224\n\010systrace\030" + |
| "\026 \003(\0132\".android.vts.SystraceReportMessag" + |
| "e\022\027\n\017start_timestamp\030e \001(\003\022\025\n\rend_timest" + |
| "amp\030f \001(\003\0224\n\010coverage\030g \003(\0132\".android.vt", |
| "s.CoverageReportMessage\022%\n\003log\030\351\007 \003(\0132\027." + |
| "android.vts.LogMessage\"\247\001\n\025TestPlanRepor" + |
| "tMessage\022\030\n\020test_module_name\030\013 \003(\t\022#\n\033te" + |
| "st_module_start_timestamp\030\014 \003(\003\022\026\n\016test_" + |
| "plan_name\030\025 \001(\t\0227\n\016partner_report\030\037 \003(\0132" + |
| "\037.android.vts.UrlResourceMessage\"\237\001\n\024Das" + |
| "hboardPostMessage\022\024\n\014access_token\030\001 \001(\t\022" + |
| "3\n\013test_report\030\002 \003(\0132\036.android.vts.TestR" + |
| "eportMessage\022<\n\020test_plan_report\030\003 \003(\0132\"" + |
| ".android.vts.TestPlanReportMessage*\263\001\n\016T", |
| "estCaseResult\022\022\n\016UNKNOWN_RESULT\020\000\022\031\n\025TES" + |
| "T_CASE_RESULT_PASS\020\001\022\031\n\025TEST_CASE_RESULT" + |
| "_FAIL\020\002\022\031\n\025TEST_CASE_RESULT_SKIP\020\003\022\036\n\032TE" + |
| "ST_CASE_RESULT_EXCEPTION\020\004\022\034\n\030TEST_CASE_" + |
| "RESULT_TIMEOUT\020\005*\234\001\n\013VtsTestType\022\030\n\024UNKN" + |
| "OWN_VTS_TESTTYPE\020\000\022\036\n\032VTS_HOST_DRIVEN_ST" + |
| "RUCTURAL\020\001\022\033\n\027VTS_HOST_DRIVEN_FUZZING\020\002\022" + |
| "\031\n\025VTS_TARGET_SIDE_GTEST\020\003\022\033\n\027VTS_TARGET" + |
| "_SIDE_FUZZING\020\004*\243\001\n\032VtsProfilingRegressi" + |
| "onMode\022\033\n\027UNKNOWN_REGRESSION_MODE\020\000\022 \n\034V", |
| "TS_REGRESSION_MODE_DISABLED\020\001\022\"\n\036VTS_REG" + |
| "RESSION_MODE_INCREASING\020\002\022\"\n\036VTS_REGRESS" + |
| "ION_MODE_DECREASING\020\003*\244\001\n\020VtsProfilingTy" + |
| "pe\022\036\n\032UNKNOWN_VTS_PROFILING_TYPE\020\000\022 \n\034VT" + |
| "S_PROFILING_TYPE_TIMESTAMP\020\001\022%\n!VTS_PROF" + |
| "ILING_TYPE_LABELED_VECTOR\020\002\022\'\n#VTS_PROFI" + |
| "LING_TYPE_UNLABELED_VECTOR\020\003B+\n\025com.andr" + |
| "oid.vts.protoB\020VtsReportMessageP\000" |
| }; |
| com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = |
| new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { |
| public com.google.protobuf.ExtensionRegistry assignDescriptors( |
| com.google.protobuf.Descriptors.FileDescriptor root) { |
| descriptor = root; |
| internal_static_android_vts_AndroidDeviceInfoMessage_descriptor = |
| getDescriptor().getMessageTypes().get(0); |
| internal_static_android_vts_AndroidDeviceInfoMessage_fieldAccessorTable = new |
| com.google.protobuf.GeneratedMessage.FieldAccessorTable( |
| internal_static_android_vts_AndroidDeviceInfoMessage_descriptor, |
| new java.lang.String[] { "ProductType", "ProductVariant", "BuildFlavor", "BuildId", "Branch", "BuildAlias", "ApiLevel", "AbiName", "AbiBitness", "Serial", }); |
| internal_static_android_vts_AndroidBuildInfo_descriptor = |
| getDescriptor().getMessageTypes().get(1); |
| internal_static_android_vts_AndroidBuildInfo_fieldAccessorTable = new |
| com.google.protobuf.GeneratedMessage.FieldAccessorTable( |
| internal_static_android_vts_AndroidBuildInfo_descriptor, |
| new java.lang.String[] { "Id", "Name", "BuildType", "Branch", "BuildSummary", }); |
| internal_static_android_vts_VtsHostInfo_descriptor = |
| getDescriptor().getMessageTypes().get(2); |
| internal_static_android_vts_VtsHostInfo_fieldAccessorTable = new |
| com.google.protobuf.GeneratedMessage.FieldAccessorTable( |
| internal_static_android_vts_VtsHostInfo_descriptor, |
| new java.lang.String[] { "Hostname", }); |
| internal_static_android_vts_TestCaseReportMessage_descriptor = |
| getDescriptor().getMessageTypes().get(3); |
| internal_static_android_vts_TestCaseReportMessage_fieldAccessorTable = new |
| com.google.protobuf.GeneratedMessage.FieldAccessorTable( |
| internal_static_android_vts_TestCaseReportMessage_descriptor, |
| new java.lang.String[] { "Name", "TestResult", "StartTimestamp", "EndTimestamp", "Coverage", "Profiling", "Systrace", "Log", }); |
| internal_static_android_vts_ProfilingReportMessage_descriptor = |
| getDescriptor().getMessageTypes().get(4); |
| internal_static_android_vts_ProfilingReportMessage_fieldAccessorTable = new |
| com.google.protobuf.GeneratedMessage.FieldAccessorTable( |
| internal_static_android_vts_ProfilingReportMessage_descriptor, |
| new java.lang.String[] { "Name", "Type", "RegressionMode", "StartTimestamp", "EndTimestamp", "Label", "Value", "XAxisLabel", "YAxisLabel", "Options", }); |
| internal_static_android_vts_SystraceReportMessage_descriptor = |
| getDescriptor().getMessageTypes().get(5); |
| internal_static_android_vts_SystraceReportMessage_fieldAccessorTable = new |
| com.google.protobuf.GeneratedMessage.FieldAccessorTable( |
| internal_static_android_vts_SystraceReportMessage_descriptor, |
| new java.lang.String[] { "ProcessName", "Html", "Url", }); |
| internal_static_android_vts_CoverageReportMessage_descriptor = |
| getDescriptor().getMessageTypes().get(6); |
| internal_static_android_vts_CoverageReportMessage_fieldAccessorTable = new |
| com.google.protobuf.GeneratedMessage.FieldAccessorTable( |
| internal_static_android_vts_CoverageReportMessage_descriptor, |
| new java.lang.String[] { "FilePath", "ProjectName", "Revision", "LineCoverageVector", "TotalLineCount", "CoveredLineCount", "DirPath", "FileName", "Html", }); |
| internal_static_android_vts_LogMessage_descriptor = |
| getDescriptor().getMessageTypes().get(7); |
| internal_static_android_vts_LogMessage_fieldAccessorTable = new |
| com.google.protobuf.GeneratedMessage.FieldAccessorTable( |
| internal_static_android_vts_LogMessage_descriptor, |
| new java.lang.String[] { "Url", "Name", "Content", }); |
| internal_static_android_vts_UrlResourceMessage_descriptor = |
| getDescriptor().getMessageTypes().get(8); |
| internal_static_android_vts_UrlResourceMessage_fieldAccessorTable = new |
| com.google.protobuf.GeneratedMessage.FieldAccessorTable( |
| internal_static_android_vts_UrlResourceMessage_descriptor, |
| new java.lang.String[] { "Url", "Name", "Content", }); |
| internal_static_android_vts_TestReportMessage_descriptor = |
| getDescriptor().getMessageTypes().get(9); |
| internal_static_android_vts_TestReportMessage_fieldAccessorTable = new |
| com.google.protobuf.GeneratedMessage.FieldAccessorTable( |
| internal_static_android_vts_TestReportMessage_descriptor, |
| new java.lang.String[] { "TestSuite", "Test", "TestType", "DeviceInfo", "BuildInfo", "SubscriberEmail", "HostInfo", "TestCase", "Profiling", "Systrace", "StartTimestamp", "EndTimestamp", "Coverage", "Log", }); |
| internal_static_android_vts_TestPlanReportMessage_descriptor = |
| getDescriptor().getMessageTypes().get(10); |
| internal_static_android_vts_TestPlanReportMessage_fieldAccessorTable = new |
| com.google.protobuf.GeneratedMessage.FieldAccessorTable( |
| internal_static_android_vts_TestPlanReportMessage_descriptor, |
| new java.lang.String[] { "TestModuleName", "TestModuleStartTimestamp", "TestPlanName", "PartnerReport", }); |
| internal_static_android_vts_DashboardPostMessage_descriptor = |
| getDescriptor().getMessageTypes().get(11); |
| internal_static_android_vts_DashboardPostMessage_fieldAccessorTable = new |
| com.google.protobuf.GeneratedMessage.FieldAccessorTable( |
| internal_static_android_vts_DashboardPostMessage_descriptor, |
| new java.lang.String[] { "AccessToken", "TestReport", "TestPlanReport", }); |
| return null; |
| } |
| }; |
| com.google.protobuf.Descriptors.FileDescriptor |
| .internalBuildGeneratedFileFrom(descriptorData, |
| new com.google.protobuf.Descriptors.FileDescriptor[] { |
| }, assigner); |
| } |
| |
| // @@protoc_insertion_point(outer_class_scope) |
| } |