All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.android.commands.am.InstrumentationData Maven / Gradle / Ivy

There is a newer version: 0.5.8
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: instrumentation-data.proto

// Protobuf Java Version: 3.25.0
package com.android.commands.am;

public final class InstrumentationData {
  private InstrumentationData() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }
  /**
   * Protobuf enum {@code android.am.SessionStatusCode}
   */
  public enum SessionStatusCode
      implements com.google.protobuf.Internal.EnumLite {
    /**
     * 
     **
     * The command ran successfully. This does not imply that the tests passed.
     * 
* * SESSION_FINISHED = 0; */ SESSION_FINISHED(0), /** *
     **
     * There was an unrecoverable error running the tests.
     * 
* * SESSION_ABORTED = 1; */ SESSION_ABORTED(1), ; /** *
     **
     * The command ran successfully. This does not imply that the tests passed.
     * 
* * SESSION_FINISHED = 0; */ public static final int SESSION_FINISHED_VALUE = 0; /** *
     **
     * There was an unrecoverable error running the tests.
     * 
* * SESSION_ABORTED = 1; */ public static final int SESSION_ABORTED_VALUE = 1; @java.lang.Override public final int getNumber() { return value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static SessionStatusCode valueOf(int value) { return forNumber(value); } public static SessionStatusCode forNumber(int value) { switch (value) { case 0: return SESSION_FINISHED; case 1: return SESSION_ABORTED; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< SessionStatusCode> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { @java.lang.Override public SessionStatusCode findValueByNumber(int number) { return SessionStatusCode.forNumber(number); } }; public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier() { return SessionStatusCodeVerifier.INSTANCE; } private static final class SessionStatusCodeVerifier implements com.google.protobuf.Internal.EnumVerifier { static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new SessionStatusCodeVerifier(); @java.lang.Override public boolean isInRange(int number) { return SessionStatusCode.forNumber(number) != null; } }; private final int value; private SessionStatusCode(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:android.am.SessionStatusCode) } public interface ResultsBundleEntryOrBuilder extends // @@protoc_insertion_point(interface_extends:android.am.ResultsBundleEntry) com.google.protobuf.MessageLiteOrBuilder { /** * optional string key = 1; * @return Whether the key field is set. */ boolean hasKey(); /** * optional string key = 1; * @return The key. */ java.lang.String getKey(); /** * optional string key = 1; * @return The bytes for key. */ com.google.protobuf.ByteString getKeyBytes(); /** * optional string value_string = 2; * @return Whether the valueString field is set. */ boolean hasValueString(); /** * optional string value_string = 2; * @return The valueString. */ java.lang.String getValueString(); /** * optional string value_string = 2; * @return The bytes for valueString. */ com.google.protobuf.ByteString getValueStringBytes(); /** * optional sint32 value_int = 3; * @return Whether the valueInt field is set. */ boolean hasValueInt(); /** * optional sint32 value_int = 3; * @return The valueInt. */ int getValueInt(); /** * optional float value_float = 4; * @return Whether the valueFloat field is set. */ boolean hasValueFloat(); /** * optional float value_float = 4; * @return The valueFloat. */ float getValueFloat(); /** * optional double value_double = 5; * @return Whether the valueDouble field is set. */ boolean hasValueDouble(); /** * optional double value_double = 5; * @return The valueDouble. */ double getValueDouble(); /** * optional sint64 value_long = 6; * @return Whether the valueLong field is set. */ boolean hasValueLong(); /** * optional sint64 value_long = 6; * @return The valueLong. */ long getValueLong(); /** * optional .android.am.ResultsBundle value_bundle = 7; * @return Whether the valueBundle field is set. */ boolean hasValueBundle(); /** * optional .android.am.ResultsBundle value_bundle = 7; * @return The valueBundle. */ com.android.commands.am.InstrumentationData.ResultsBundle getValueBundle(); /** * optional bytes value_bytes = 8; * @return Whether the valueBytes field is set. */ boolean hasValueBytes(); /** * optional bytes value_bytes = 8; * @return The valueBytes. */ com.google.protobuf.ByteString getValueBytes(); } /** * Protobuf type {@code android.am.ResultsBundleEntry} */ public static final class ResultsBundleEntry extends com.google.protobuf.GeneratedMessageLite< ResultsBundleEntry, ResultsBundleEntry.Builder> implements // @@protoc_insertion_point(message_implements:android.am.ResultsBundleEntry) ResultsBundleEntryOrBuilder { private ResultsBundleEntry() { key_ = ""; valueString_ = ""; valueBytes_ = com.google.protobuf.ByteString.EMPTY; } private int bitField0_; public static final int KEY_FIELD_NUMBER = 1; private java.lang.String key_; /** * optional string key = 1; * @return Whether the key field is set. */ @java.lang.Override public boolean hasKey() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string key = 1; * @return The key. */ @java.lang.Override public java.lang.String getKey() { return key_; } /** * optional string key = 1; * @return The bytes for key. */ @java.lang.Override public com.google.protobuf.ByteString getKeyBytes() { return com.google.protobuf.ByteString.copyFromUtf8(key_); } /** * optional string key = 1; * @param value The key to set. */ private void setKey( java.lang.String value) { java.lang.Class valueClass = value.getClass(); bitField0_ |= 0x00000001; key_ = value; } /** * optional string key = 1; */ private void clearKey() { bitField0_ = (bitField0_ & ~0x00000001); key_ = getDefaultInstance().getKey(); } /** * optional string key = 1; * @param value The bytes for key to set. */ private void setKeyBytes( com.google.protobuf.ByteString value) { key_ = value.toStringUtf8(); bitField0_ |= 0x00000001; } public static final int VALUE_STRING_FIELD_NUMBER = 2; private java.lang.String valueString_; /** * optional string value_string = 2; * @return Whether the valueString field is set. */ @java.lang.Override public boolean hasValueString() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string value_string = 2; * @return The valueString. */ @java.lang.Override public java.lang.String getValueString() { return valueString_; } /** * optional string value_string = 2; * @return The bytes for valueString. */ @java.lang.Override public com.google.protobuf.ByteString getValueStringBytes() { return com.google.protobuf.ByteString.copyFromUtf8(valueString_); } /** * optional string value_string = 2; * @param value The valueString to set. */ private void setValueString( java.lang.String value) { java.lang.Class valueClass = value.getClass(); bitField0_ |= 0x00000002; valueString_ = value; } /** * optional string value_string = 2; */ private void clearValueString() { bitField0_ = (bitField0_ & ~0x00000002); valueString_ = getDefaultInstance().getValueString(); } /** * optional string value_string = 2; * @param value The bytes for valueString to set. */ private void setValueStringBytes( com.google.protobuf.ByteString value) { valueString_ = value.toStringUtf8(); bitField0_ |= 0x00000002; } public static final int VALUE_INT_FIELD_NUMBER = 3; private int valueInt_; /** * optional sint32 value_int = 3; * @return Whether the valueInt field is set. */ @java.lang.Override public boolean hasValueInt() { return ((bitField0_ & 0x00000004) != 0); } /** * optional sint32 value_int = 3; * @return The valueInt. */ @java.lang.Override public int getValueInt() { return valueInt_; } /** * optional sint32 value_int = 3; * @param value The valueInt to set. */ private void setValueInt(int value) { bitField0_ |= 0x00000004; valueInt_ = value; } /** * optional sint32 value_int = 3; */ private void clearValueInt() { bitField0_ = (bitField0_ & ~0x00000004); valueInt_ = 0; } public static final int VALUE_FLOAT_FIELD_NUMBER = 4; private float valueFloat_; /** * optional float value_float = 4; * @return Whether the valueFloat field is set. */ @java.lang.Override public boolean hasValueFloat() { return ((bitField0_ & 0x00000008) != 0); } /** * optional float value_float = 4; * @return The valueFloat. */ @java.lang.Override public float getValueFloat() { return valueFloat_; } /** * optional float value_float = 4; * @param value The valueFloat to set. */ private void setValueFloat(float value) { bitField0_ |= 0x00000008; valueFloat_ = value; } /** * optional float value_float = 4; */ private void clearValueFloat() { bitField0_ = (bitField0_ & ~0x00000008); valueFloat_ = 0F; } public static final int VALUE_DOUBLE_FIELD_NUMBER = 5; private double valueDouble_; /** * optional double value_double = 5; * @return Whether the valueDouble field is set. */ @java.lang.Override public boolean hasValueDouble() { return ((bitField0_ & 0x00000010) != 0); } /** * optional double value_double = 5; * @return The valueDouble. */ @java.lang.Override public double getValueDouble() { return valueDouble_; } /** * optional double value_double = 5; * @param value The valueDouble to set. */ private void setValueDouble(double value) { bitField0_ |= 0x00000010; valueDouble_ = value; } /** * optional double value_double = 5; */ private void clearValueDouble() { bitField0_ = (bitField0_ & ~0x00000010); valueDouble_ = 0D; } public static final int VALUE_LONG_FIELD_NUMBER = 6; private long valueLong_; /** * optional sint64 value_long = 6; * @return Whether the valueLong field is set. */ @java.lang.Override public boolean hasValueLong() { return ((bitField0_ & 0x00000020) != 0); } /** * optional sint64 value_long = 6; * @return The valueLong. */ @java.lang.Override public long getValueLong() { return valueLong_; } /** * optional sint64 value_long = 6; * @param value The valueLong to set. */ private void setValueLong(long value) { bitField0_ |= 0x00000020; valueLong_ = value; } /** * optional sint64 value_long = 6; */ private void clearValueLong() { bitField0_ = (bitField0_ & ~0x00000020); valueLong_ = 0L; } public static final int VALUE_BUNDLE_FIELD_NUMBER = 7; private com.android.commands.am.InstrumentationData.ResultsBundle valueBundle_; /** * optional .android.am.ResultsBundle value_bundle = 7; */ @java.lang.Override public boolean hasValueBundle() { return ((bitField0_ & 0x00000040) != 0); } /** * optional .android.am.ResultsBundle value_bundle = 7; */ @java.lang.Override public com.android.commands.am.InstrumentationData.ResultsBundle getValueBundle() { return valueBundle_ == null ? com.android.commands.am.InstrumentationData.ResultsBundle.getDefaultInstance() : valueBundle_; } /** * optional .android.am.ResultsBundle value_bundle = 7; */ private void setValueBundle(com.android.commands.am.InstrumentationData.ResultsBundle value) { value.getClass(); valueBundle_ = value; bitField0_ |= 0x00000040; } /** * optional .android.am.ResultsBundle value_bundle = 7; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeValueBundle(com.android.commands.am.InstrumentationData.ResultsBundle value) { value.getClass(); if (valueBundle_ != null && valueBundle_ != com.android.commands.am.InstrumentationData.ResultsBundle.getDefaultInstance()) { valueBundle_ = com.android.commands.am.InstrumentationData.ResultsBundle.newBuilder(valueBundle_).mergeFrom(value).buildPartial(); } else { valueBundle_ = value; } bitField0_ |= 0x00000040; } /** * optional .android.am.ResultsBundle value_bundle = 7; */ private void clearValueBundle() { valueBundle_ = null; bitField0_ = (bitField0_ & ~0x00000040); } public static final int VALUE_BYTES_FIELD_NUMBER = 8; private com.google.protobuf.ByteString valueBytes_; /** * optional bytes value_bytes = 8; * @return Whether the valueBytes field is set. */ @java.lang.Override public boolean hasValueBytes() { return ((bitField0_ & 0x00000080) != 0); } /** * optional bytes value_bytes = 8; * @return The valueBytes. */ @java.lang.Override public com.google.protobuf.ByteString getValueBytes() { return valueBytes_; } /** * optional bytes value_bytes = 8; * @param value The valueBytes to set. */ private void setValueBytes(com.google.protobuf.ByteString value) { java.lang.Class valueClass = value.getClass(); bitField0_ |= 0x00000080; valueBytes_ = value; } /** * optional bytes value_bytes = 8; */ private void clearValueBytes() { bitField0_ = (bitField0_ & ~0x00000080); valueBytes_ = getDefaultInstance().getValueBytes(); } public static com.android.commands.am.InstrumentationData.ResultsBundleEntry parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.android.commands.am.InstrumentationData.ResultsBundleEntry parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.android.commands.am.InstrumentationData.ResultsBundleEntry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.android.commands.am.InstrumentationData.ResultsBundleEntry parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.android.commands.am.InstrumentationData.ResultsBundleEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.android.commands.am.InstrumentationData.ResultsBundleEntry parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.android.commands.am.InstrumentationData.ResultsBundleEntry parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.android.commands.am.InstrumentationData.ResultsBundleEntry parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static com.android.commands.am.InstrumentationData.ResultsBundleEntry parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.android.commands.am.InstrumentationData.ResultsBundleEntry parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.android.commands.am.InstrumentationData.ResultsBundleEntry parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.android.commands.am.InstrumentationData.ResultsBundleEntry parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return (Builder) DEFAULT_INSTANCE.createBuilder(); } public static Builder newBuilder(com.android.commands.am.InstrumentationData.ResultsBundleEntry prototype) { return DEFAULT_INSTANCE.createBuilder(prototype); } /** * Protobuf type {@code android.am.ResultsBundleEntry} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.android.commands.am.InstrumentationData.ResultsBundleEntry, Builder> implements // @@protoc_insertion_point(builder_implements:android.am.ResultsBundleEntry) com.android.commands.am.InstrumentationData.ResultsBundleEntryOrBuilder { // Construct using com.android.commands.am.InstrumentationData.ResultsBundleEntry.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * optional string key = 1; * @return Whether the key field is set. */ @java.lang.Override public boolean hasKey() { return instance.hasKey(); } /** * optional string key = 1; * @return The key. */ @java.lang.Override public java.lang.String getKey() { return instance.getKey(); } /** * optional string key = 1; * @return The bytes for key. */ @java.lang.Override public com.google.protobuf.ByteString getKeyBytes() { return instance.getKeyBytes(); } /** * optional string key = 1; * @param value The key to set. * @return This builder for chaining. */ public Builder setKey( java.lang.String value) { copyOnWrite(); instance.setKey(value); return this; } /** * optional string key = 1; * @return This builder for chaining. */ public Builder clearKey() { copyOnWrite(); instance.clearKey(); return this; } /** * optional string key = 1; * @param value The bytes for key to set. * @return This builder for chaining. */ public Builder setKeyBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setKeyBytes(value); return this; } /** * optional string value_string = 2; * @return Whether the valueString field is set. */ @java.lang.Override public boolean hasValueString() { return instance.hasValueString(); } /** * optional string value_string = 2; * @return The valueString. */ @java.lang.Override public java.lang.String getValueString() { return instance.getValueString(); } /** * optional string value_string = 2; * @return The bytes for valueString. */ @java.lang.Override public com.google.protobuf.ByteString getValueStringBytes() { return instance.getValueStringBytes(); } /** * optional string value_string = 2; * @param value The valueString to set. * @return This builder for chaining. */ public Builder setValueString( java.lang.String value) { copyOnWrite(); instance.setValueString(value); return this; } /** * optional string value_string = 2; * @return This builder for chaining. */ public Builder clearValueString() { copyOnWrite(); instance.clearValueString(); return this; } /** * optional string value_string = 2; * @param value The bytes for valueString to set. * @return This builder for chaining. */ public Builder setValueStringBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setValueStringBytes(value); return this; } /** * optional sint32 value_int = 3; * @return Whether the valueInt field is set. */ @java.lang.Override public boolean hasValueInt() { return instance.hasValueInt(); } /** * optional sint32 value_int = 3; * @return The valueInt. */ @java.lang.Override public int getValueInt() { return instance.getValueInt(); } /** * optional sint32 value_int = 3; * @param value The valueInt to set. * @return This builder for chaining. */ public Builder setValueInt(int value) { copyOnWrite(); instance.setValueInt(value); return this; } /** * optional sint32 value_int = 3; * @return This builder for chaining. */ public Builder clearValueInt() { copyOnWrite(); instance.clearValueInt(); return this; } /** * optional float value_float = 4; * @return Whether the valueFloat field is set. */ @java.lang.Override public boolean hasValueFloat() { return instance.hasValueFloat(); } /** * optional float value_float = 4; * @return The valueFloat. */ @java.lang.Override public float getValueFloat() { return instance.getValueFloat(); } /** * optional float value_float = 4; * @param value The valueFloat to set. * @return This builder for chaining. */ public Builder setValueFloat(float value) { copyOnWrite(); instance.setValueFloat(value); return this; } /** * optional float value_float = 4; * @return This builder for chaining. */ public Builder clearValueFloat() { copyOnWrite(); instance.clearValueFloat(); return this; } /** * optional double value_double = 5; * @return Whether the valueDouble field is set. */ @java.lang.Override public boolean hasValueDouble() { return instance.hasValueDouble(); } /** * optional double value_double = 5; * @return The valueDouble. */ @java.lang.Override public double getValueDouble() { return instance.getValueDouble(); } /** * optional double value_double = 5; * @param value The valueDouble to set. * @return This builder for chaining. */ public Builder setValueDouble(double value) { copyOnWrite(); instance.setValueDouble(value); return this; } /** * optional double value_double = 5; * @return This builder for chaining. */ public Builder clearValueDouble() { copyOnWrite(); instance.clearValueDouble(); return this; } /** * optional sint64 value_long = 6; * @return Whether the valueLong field is set. */ @java.lang.Override public boolean hasValueLong() { return instance.hasValueLong(); } /** * optional sint64 value_long = 6; * @return The valueLong. */ @java.lang.Override public long getValueLong() { return instance.getValueLong(); } /** * optional sint64 value_long = 6; * @param value The valueLong to set. * @return This builder for chaining. */ public Builder setValueLong(long value) { copyOnWrite(); instance.setValueLong(value); return this; } /** * optional sint64 value_long = 6; * @return This builder for chaining. */ public Builder clearValueLong() { copyOnWrite(); instance.clearValueLong(); return this; } /** * optional .android.am.ResultsBundle value_bundle = 7; */ @java.lang.Override public boolean hasValueBundle() { return instance.hasValueBundle(); } /** * optional .android.am.ResultsBundle value_bundle = 7; */ @java.lang.Override public com.android.commands.am.InstrumentationData.ResultsBundle getValueBundle() { return instance.getValueBundle(); } /** * optional .android.am.ResultsBundle value_bundle = 7; */ public Builder setValueBundle(com.android.commands.am.InstrumentationData.ResultsBundle value) { copyOnWrite(); instance.setValueBundle(value); return this; } /** * optional .android.am.ResultsBundle value_bundle = 7; */ public Builder setValueBundle( com.android.commands.am.InstrumentationData.ResultsBundle.Builder builderForValue) { copyOnWrite(); instance.setValueBundle(builderForValue.build()); return this; } /** * optional .android.am.ResultsBundle value_bundle = 7; */ public Builder mergeValueBundle(com.android.commands.am.InstrumentationData.ResultsBundle value) { copyOnWrite(); instance.mergeValueBundle(value); return this; } /** * optional .android.am.ResultsBundle value_bundle = 7; */ public Builder clearValueBundle() { copyOnWrite(); instance.clearValueBundle(); return this; } /** * optional bytes value_bytes = 8; * @return Whether the valueBytes field is set. */ @java.lang.Override public boolean hasValueBytes() { return instance.hasValueBytes(); } /** * optional bytes value_bytes = 8; * @return The valueBytes. */ @java.lang.Override public com.google.protobuf.ByteString getValueBytes() { return instance.getValueBytes(); } /** * optional bytes value_bytes = 8; * @param value The valueBytes to set. * @return This builder for chaining. */ public Builder setValueBytes(com.google.protobuf.ByteString value) { copyOnWrite(); instance.setValueBytes(value); return this; } /** * optional bytes value_bytes = 8; * @return This builder for chaining. */ public Builder clearValueBytes() { copyOnWrite(); instance.clearValueBytes(); return this; } // @@protoc_insertion_point(builder_scope:android.am.ResultsBundleEntry) } @java.lang.Override @java.lang.SuppressWarnings({"unchecked", "fallthrough"}) protected final java.lang.Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new com.android.commands.am.InstrumentationData.ResultsBundleEntry(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "bitField0_", "key_", "valueString_", "valueInt_", "valueFloat_", "valueDouble_", "valueLong_", "valueBundle_", "valueBytes_", }; java.lang.String info = "\u0001\b\u0000\u0001\u0001\b\b\u0000\u0000\u0000\u0001\u1008\u0000\u0002\u1008\u0001" + "\u0003\u100f\u0002\u0004\u1001\u0003\u0005\u1000\u0004\u0006\u1010\u0005\u0007\u1009" + "\u0006\b\u100a\u0007"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { com.google.protobuf.Parser parser = PARSER; if (parser == null) { synchronized (com.android.commands.am.InstrumentationData.ResultsBundleEntry.class) { parser = PARSER; if (parser == null) { parser = new DefaultInstanceBasedParser( DEFAULT_INSTANCE); PARSER = parser; } } } return parser; } case GET_MEMOIZED_IS_INITIALIZED: { return (byte) 1; } case SET_MEMOIZED_IS_INITIALIZED: { return null; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:android.am.ResultsBundleEntry) private static final com.android.commands.am.InstrumentationData.ResultsBundleEntry DEFAULT_INSTANCE; static { ResultsBundleEntry defaultInstance = new ResultsBundleEntry(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( ResultsBundleEntry.class, defaultInstance); } public static com.android.commands.am.InstrumentationData.ResultsBundleEntry getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } } public interface ResultsBundleOrBuilder extends // @@protoc_insertion_point(interface_extends:android.am.ResultsBundle) com.google.protobuf.MessageLiteOrBuilder { /** * repeated .android.am.ResultsBundleEntry entries = 1; */ java.util.List getEntriesList(); /** * repeated .android.am.ResultsBundleEntry entries = 1; */ com.android.commands.am.InstrumentationData.ResultsBundleEntry getEntries(int index); /** * repeated .android.am.ResultsBundleEntry entries = 1; */ int getEntriesCount(); } /** * Protobuf type {@code android.am.ResultsBundle} */ public static final class ResultsBundle extends com.google.protobuf.GeneratedMessageLite< ResultsBundle, ResultsBundle.Builder> implements // @@protoc_insertion_point(message_implements:android.am.ResultsBundle) ResultsBundleOrBuilder { private ResultsBundle() { entries_ = emptyProtobufList(); } public static final int ENTRIES_FIELD_NUMBER = 1; private com.google.protobuf.Internal.ProtobufList entries_; /** * repeated .android.am.ResultsBundleEntry entries = 1; */ @java.lang.Override public java.util.List getEntriesList() { return entries_; } /** * repeated .android.am.ResultsBundleEntry entries = 1; */ public java.util.List getEntriesOrBuilderList() { return entries_; } /** * repeated .android.am.ResultsBundleEntry entries = 1; */ @java.lang.Override public int getEntriesCount() { return entries_.size(); } /** * repeated .android.am.ResultsBundleEntry entries = 1; */ @java.lang.Override public com.android.commands.am.InstrumentationData.ResultsBundleEntry getEntries(int index) { return entries_.get(index); } /** * repeated .android.am.ResultsBundleEntry entries = 1; */ public com.android.commands.am.InstrumentationData.ResultsBundleEntryOrBuilder getEntriesOrBuilder( int index) { return entries_.get(index); } private void ensureEntriesIsMutable() { com.google.protobuf.Internal.ProtobufList tmp = entries_; if (!tmp.isModifiable()) { entries_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); } } /** * repeated .android.am.ResultsBundleEntry entries = 1; */ private void setEntries( int index, com.android.commands.am.InstrumentationData.ResultsBundleEntry value) { value.getClass(); ensureEntriesIsMutable(); entries_.set(index, value); } /** * repeated .android.am.ResultsBundleEntry entries = 1; */ private void addEntries(com.android.commands.am.InstrumentationData.ResultsBundleEntry value) { value.getClass(); ensureEntriesIsMutable(); entries_.add(value); } /** * repeated .android.am.ResultsBundleEntry entries = 1; */ private void addEntries( int index, com.android.commands.am.InstrumentationData.ResultsBundleEntry value) { value.getClass(); ensureEntriesIsMutable(); entries_.add(index, value); } /** * repeated .android.am.ResultsBundleEntry entries = 1; */ private void addAllEntries( java.lang.Iterable values) { ensureEntriesIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, entries_); } /** * repeated .android.am.ResultsBundleEntry entries = 1; */ private void clearEntries() { entries_ = emptyProtobufList(); } /** * repeated .android.am.ResultsBundleEntry entries = 1; */ private void removeEntries(int index) { ensureEntriesIsMutable(); entries_.remove(index); } public static com.android.commands.am.InstrumentationData.ResultsBundle parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.android.commands.am.InstrumentationData.ResultsBundle parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.android.commands.am.InstrumentationData.ResultsBundle parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.android.commands.am.InstrumentationData.ResultsBundle parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.android.commands.am.InstrumentationData.ResultsBundle parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.android.commands.am.InstrumentationData.ResultsBundle parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.android.commands.am.InstrumentationData.ResultsBundle parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.android.commands.am.InstrumentationData.ResultsBundle parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static com.android.commands.am.InstrumentationData.ResultsBundle parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.android.commands.am.InstrumentationData.ResultsBundle parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.android.commands.am.InstrumentationData.ResultsBundle parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.android.commands.am.InstrumentationData.ResultsBundle parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return (Builder) DEFAULT_INSTANCE.createBuilder(); } public static Builder newBuilder(com.android.commands.am.InstrumentationData.ResultsBundle prototype) { return DEFAULT_INSTANCE.createBuilder(prototype); } /** * Protobuf type {@code android.am.ResultsBundle} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.android.commands.am.InstrumentationData.ResultsBundle, Builder> implements // @@protoc_insertion_point(builder_implements:android.am.ResultsBundle) com.android.commands.am.InstrumentationData.ResultsBundleOrBuilder { // Construct using com.android.commands.am.InstrumentationData.ResultsBundle.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * repeated .android.am.ResultsBundleEntry entries = 1; */ @java.lang.Override public java.util.List getEntriesList() { return java.util.Collections.unmodifiableList( instance.getEntriesList()); } /** * repeated .android.am.ResultsBundleEntry entries = 1; */ @java.lang.Override public int getEntriesCount() { return instance.getEntriesCount(); }/** * repeated .android.am.ResultsBundleEntry entries = 1; */ @java.lang.Override public com.android.commands.am.InstrumentationData.ResultsBundleEntry getEntries(int index) { return instance.getEntries(index); } /** * repeated .android.am.ResultsBundleEntry entries = 1; */ public Builder setEntries( int index, com.android.commands.am.InstrumentationData.ResultsBundleEntry value) { copyOnWrite(); instance.setEntries(index, value); return this; } /** * repeated .android.am.ResultsBundleEntry entries = 1; */ public Builder setEntries( int index, com.android.commands.am.InstrumentationData.ResultsBundleEntry.Builder builderForValue) { copyOnWrite(); instance.setEntries(index, builderForValue.build()); return this; } /** * repeated .android.am.ResultsBundleEntry entries = 1; */ public Builder addEntries(com.android.commands.am.InstrumentationData.ResultsBundleEntry value) { copyOnWrite(); instance.addEntries(value); return this; } /** * repeated .android.am.ResultsBundleEntry entries = 1; */ public Builder addEntries( int index, com.android.commands.am.InstrumentationData.ResultsBundleEntry value) { copyOnWrite(); instance.addEntries(index, value); return this; } /** * repeated .android.am.ResultsBundleEntry entries = 1; */ public Builder addEntries( com.android.commands.am.InstrumentationData.ResultsBundleEntry.Builder builderForValue) { copyOnWrite(); instance.addEntries(builderForValue.build()); return this; } /** * repeated .android.am.ResultsBundleEntry entries = 1; */ public Builder addEntries( int index, com.android.commands.am.InstrumentationData.ResultsBundleEntry.Builder builderForValue) { copyOnWrite(); instance.addEntries(index, builderForValue.build()); return this; } /** * repeated .android.am.ResultsBundleEntry entries = 1; */ public Builder addAllEntries( java.lang.Iterable values) { copyOnWrite(); instance.addAllEntries(values); return this; } /** * repeated .android.am.ResultsBundleEntry entries = 1; */ public Builder clearEntries() { copyOnWrite(); instance.clearEntries(); return this; } /** * repeated .android.am.ResultsBundleEntry entries = 1; */ public Builder removeEntries(int index) { copyOnWrite(); instance.removeEntries(index); return this; } // @@protoc_insertion_point(builder_scope:android.am.ResultsBundle) } @java.lang.Override @java.lang.SuppressWarnings({"unchecked", "fallthrough"}) protected final java.lang.Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new com.android.commands.am.InstrumentationData.ResultsBundle(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "entries_", com.android.commands.am.InstrumentationData.ResultsBundleEntry.class, }; java.lang.String info = "\u0001\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0001\u0000\u0001\u001b"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { com.google.protobuf.Parser parser = PARSER; if (parser == null) { synchronized (com.android.commands.am.InstrumentationData.ResultsBundle.class) { parser = PARSER; if (parser == null) { parser = new DefaultInstanceBasedParser( DEFAULT_INSTANCE); PARSER = parser; } } } return parser; } case GET_MEMOIZED_IS_INITIALIZED: { return (byte) 1; } case SET_MEMOIZED_IS_INITIALIZED: { return null; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:android.am.ResultsBundle) private static final com.android.commands.am.InstrumentationData.ResultsBundle DEFAULT_INSTANCE; static { ResultsBundle defaultInstance = new ResultsBundle(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( ResultsBundle.class, defaultInstance); } public static com.android.commands.am.InstrumentationData.ResultsBundle getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } } public interface TestStatusOrBuilder extends // @@protoc_insertion_point(interface_extends:android.am.TestStatus) com.google.protobuf.MessageLiteOrBuilder { /** * optional sint32 result_code = 3; * @return Whether the resultCode field is set. */ boolean hasResultCode(); /** * optional sint32 result_code = 3; * @return The resultCode. */ int getResultCode(); /** * optional .android.am.ResultsBundle results = 4; * @return Whether the results field is set. */ boolean hasResults(); /** * optional .android.am.ResultsBundle results = 4; * @return The results. */ com.android.commands.am.InstrumentationData.ResultsBundle getResults(); /** * optional string logcat = 5; * @return Whether the logcat field is set. */ boolean hasLogcat(); /** * optional string logcat = 5; * @return The logcat. */ java.lang.String getLogcat(); /** * optional string logcat = 5; * @return The bytes for logcat. */ com.google.protobuf.ByteString getLogcatBytes(); } /** * Protobuf type {@code android.am.TestStatus} */ public static final class TestStatus extends com.google.protobuf.GeneratedMessageLite< TestStatus, TestStatus.Builder> implements // @@protoc_insertion_point(message_implements:android.am.TestStatus) TestStatusOrBuilder { private TestStatus() { logcat_ = ""; } private int bitField0_; public static final int RESULT_CODE_FIELD_NUMBER = 3; private int resultCode_; /** * optional sint32 result_code = 3; * @return Whether the resultCode field is set. */ @java.lang.Override public boolean hasResultCode() { return ((bitField0_ & 0x00000001) != 0); } /** * optional sint32 result_code = 3; * @return The resultCode. */ @java.lang.Override public int getResultCode() { return resultCode_; } /** * optional sint32 result_code = 3; * @param value The resultCode to set. */ private void setResultCode(int value) { bitField0_ |= 0x00000001; resultCode_ = value; } /** * optional sint32 result_code = 3; */ private void clearResultCode() { bitField0_ = (bitField0_ & ~0x00000001); resultCode_ = 0; } public static final int RESULTS_FIELD_NUMBER = 4; private com.android.commands.am.InstrumentationData.ResultsBundle results_; /** * optional .android.am.ResultsBundle results = 4; */ @java.lang.Override public boolean hasResults() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .android.am.ResultsBundle results = 4; */ @java.lang.Override public com.android.commands.am.InstrumentationData.ResultsBundle getResults() { return results_ == null ? com.android.commands.am.InstrumentationData.ResultsBundle.getDefaultInstance() : results_; } /** * optional .android.am.ResultsBundle results = 4; */ private void setResults(com.android.commands.am.InstrumentationData.ResultsBundle value) { value.getClass(); results_ = value; bitField0_ |= 0x00000002; } /** * optional .android.am.ResultsBundle results = 4; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeResults(com.android.commands.am.InstrumentationData.ResultsBundle value) { value.getClass(); if (results_ != null && results_ != com.android.commands.am.InstrumentationData.ResultsBundle.getDefaultInstance()) { results_ = com.android.commands.am.InstrumentationData.ResultsBundle.newBuilder(results_).mergeFrom(value).buildPartial(); } else { results_ = value; } bitField0_ |= 0x00000002; } /** * optional .android.am.ResultsBundle results = 4; */ private void clearResults() { results_ = null; bitField0_ = (bitField0_ & ~0x00000002); } public static final int LOGCAT_FIELD_NUMBER = 5; private java.lang.String logcat_; /** * optional string logcat = 5; * @return Whether the logcat field is set. */ @java.lang.Override public boolean hasLogcat() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string logcat = 5; * @return The logcat. */ @java.lang.Override public java.lang.String getLogcat() { return logcat_; } /** * optional string logcat = 5; * @return The bytes for logcat. */ @java.lang.Override public com.google.protobuf.ByteString getLogcatBytes() { return com.google.protobuf.ByteString.copyFromUtf8(logcat_); } /** * optional string logcat = 5; * @param value The logcat to set. */ private void setLogcat( java.lang.String value) { java.lang.Class valueClass = value.getClass(); bitField0_ |= 0x00000004; logcat_ = value; } /** * optional string logcat = 5; */ private void clearLogcat() { bitField0_ = (bitField0_ & ~0x00000004); logcat_ = getDefaultInstance().getLogcat(); } /** * optional string logcat = 5; * @param value The bytes for logcat to set. */ private void setLogcatBytes( com.google.protobuf.ByteString value) { logcat_ = value.toStringUtf8(); bitField0_ |= 0x00000004; } public static com.android.commands.am.InstrumentationData.TestStatus parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.android.commands.am.InstrumentationData.TestStatus parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.android.commands.am.InstrumentationData.TestStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.android.commands.am.InstrumentationData.TestStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.android.commands.am.InstrumentationData.TestStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.android.commands.am.InstrumentationData.TestStatus parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.android.commands.am.InstrumentationData.TestStatus parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.android.commands.am.InstrumentationData.TestStatus parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static com.android.commands.am.InstrumentationData.TestStatus parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.android.commands.am.InstrumentationData.TestStatus parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.android.commands.am.InstrumentationData.TestStatus parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.android.commands.am.InstrumentationData.TestStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return (Builder) DEFAULT_INSTANCE.createBuilder(); } public static Builder newBuilder(com.android.commands.am.InstrumentationData.TestStatus prototype) { return DEFAULT_INSTANCE.createBuilder(prototype); } /** * Protobuf type {@code android.am.TestStatus} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.android.commands.am.InstrumentationData.TestStatus, Builder> implements // @@protoc_insertion_point(builder_implements:android.am.TestStatus) com.android.commands.am.InstrumentationData.TestStatusOrBuilder { // Construct using com.android.commands.am.InstrumentationData.TestStatus.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * optional sint32 result_code = 3; * @return Whether the resultCode field is set. */ @java.lang.Override public boolean hasResultCode() { return instance.hasResultCode(); } /** * optional sint32 result_code = 3; * @return The resultCode. */ @java.lang.Override public int getResultCode() { return instance.getResultCode(); } /** * optional sint32 result_code = 3; * @param value The resultCode to set. * @return This builder for chaining. */ public Builder setResultCode(int value) { copyOnWrite(); instance.setResultCode(value); return this; } /** * optional sint32 result_code = 3; * @return This builder for chaining. */ public Builder clearResultCode() { copyOnWrite(); instance.clearResultCode(); return this; } /** * optional .android.am.ResultsBundle results = 4; */ @java.lang.Override public boolean hasResults() { return instance.hasResults(); } /** * optional .android.am.ResultsBundle results = 4; */ @java.lang.Override public com.android.commands.am.InstrumentationData.ResultsBundle getResults() { return instance.getResults(); } /** * optional .android.am.ResultsBundle results = 4; */ public Builder setResults(com.android.commands.am.InstrumentationData.ResultsBundle value) { copyOnWrite(); instance.setResults(value); return this; } /** * optional .android.am.ResultsBundle results = 4; */ public Builder setResults( com.android.commands.am.InstrumentationData.ResultsBundle.Builder builderForValue) { copyOnWrite(); instance.setResults(builderForValue.build()); return this; } /** * optional .android.am.ResultsBundle results = 4; */ public Builder mergeResults(com.android.commands.am.InstrumentationData.ResultsBundle value) { copyOnWrite(); instance.mergeResults(value); return this; } /** * optional .android.am.ResultsBundle results = 4; */ public Builder clearResults() { copyOnWrite(); instance.clearResults(); return this; } /** * optional string logcat = 5; * @return Whether the logcat field is set. */ @java.lang.Override public boolean hasLogcat() { return instance.hasLogcat(); } /** * optional string logcat = 5; * @return The logcat. */ @java.lang.Override public java.lang.String getLogcat() { return instance.getLogcat(); } /** * optional string logcat = 5; * @return The bytes for logcat. */ @java.lang.Override public com.google.protobuf.ByteString getLogcatBytes() { return instance.getLogcatBytes(); } /** * optional string logcat = 5; * @param value The logcat to set. * @return This builder for chaining. */ public Builder setLogcat( java.lang.String value) { copyOnWrite(); instance.setLogcat(value); return this; } /** * optional string logcat = 5; * @return This builder for chaining. */ public Builder clearLogcat() { copyOnWrite(); instance.clearLogcat(); return this; } /** * optional string logcat = 5; * @param value The bytes for logcat to set. * @return This builder for chaining. */ public Builder setLogcatBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setLogcatBytes(value); return this; } // @@protoc_insertion_point(builder_scope:android.am.TestStatus) } @java.lang.Override @java.lang.SuppressWarnings({"unchecked", "fallthrough"}) protected final java.lang.Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new com.android.commands.am.InstrumentationData.TestStatus(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "bitField0_", "resultCode_", "results_", "logcat_", }; java.lang.String info = "\u0001\u0003\u0000\u0001\u0003\u0005\u0003\u0000\u0000\u0000\u0003\u100f\u0000\u0004" + "\u1009\u0001\u0005\u1008\u0002"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { com.google.protobuf.Parser parser = PARSER; if (parser == null) { synchronized (com.android.commands.am.InstrumentationData.TestStatus.class) { parser = PARSER; if (parser == null) { parser = new DefaultInstanceBasedParser( DEFAULT_INSTANCE); PARSER = parser; } } } return parser; } case GET_MEMOIZED_IS_INITIALIZED: { return (byte) 1; } case SET_MEMOIZED_IS_INITIALIZED: { return null; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:android.am.TestStatus) private static final com.android.commands.am.InstrumentationData.TestStatus DEFAULT_INSTANCE; static { TestStatus defaultInstance = new TestStatus(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( TestStatus.class, defaultInstance); } public static com.android.commands.am.InstrumentationData.TestStatus getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } } public interface SessionStatusOrBuilder extends // @@protoc_insertion_point(interface_extends:android.am.SessionStatus) com.google.protobuf.MessageLiteOrBuilder { /** * optional .android.am.SessionStatusCode status_code = 1; * @return Whether the statusCode field is set. */ boolean hasStatusCode(); /** * optional .android.am.SessionStatusCode status_code = 1; * @return The statusCode. */ com.android.commands.am.InstrumentationData.SessionStatusCode getStatusCode(); /** * optional string error_text = 2; * @return Whether the errorText field is set. */ boolean hasErrorText(); /** * optional string error_text = 2; * @return The errorText. */ java.lang.String getErrorText(); /** * optional string error_text = 2; * @return The bytes for errorText. */ com.google.protobuf.ByteString getErrorTextBytes(); /** * optional sint32 result_code = 3; * @return Whether the resultCode field is set. */ boolean hasResultCode(); /** * optional sint32 result_code = 3; * @return The resultCode. */ int getResultCode(); /** * optional .android.am.ResultsBundle results = 4; * @return Whether the results field is set. */ boolean hasResults(); /** * optional .android.am.ResultsBundle results = 4; * @return The results. */ com.android.commands.am.InstrumentationData.ResultsBundle getResults(); } /** * Protobuf type {@code android.am.SessionStatus} */ public static final class SessionStatus extends com.google.protobuf.GeneratedMessageLite< SessionStatus, SessionStatus.Builder> implements // @@protoc_insertion_point(message_implements:android.am.SessionStatus) SessionStatusOrBuilder { private SessionStatus() { errorText_ = ""; } private int bitField0_; public static final int STATUS_CODE_FIELD_NUMBER = 1; private int statusCode_; /** * optional .android.am.SessionStatusCode status_code = 1; * @return Whether the statusCode field is set. */ @java.lang.Override public boolean hasStatusCode() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .android.am.SessionStatusCode status_code = 1; * @return The statusCode. */ @java.lang.Override public com.android.commands.am.InstrumentationData.SessionStatusCode getStatusCode() { com.android.commands.am.InstrumentationData.SessionStatusCode result = com.android.commands.am.InstrumentationData.SessionStatusCode.forNumber(statusCode_); return result == null ? com.android.commands.am.InstrumentationData.SessionStatusCode.SESSION_FINISHED : result; } /** * optional .android.am.SessionStatusCode status_code = 1; * @param value The statusCode to set. */ private void setStatusCode(com.android.commands.am.InstrumentationData.SessionStatusCode value) { statusCode_ = value.getNumber(); bitField0_ |= 0x00000001; } /** * optional .android.am.SessionStatusCode status_code = 1; */ private void clearStatusCode() { bitField0_ = (bitField0_ & ~0x00000001); statusCode_ = 0; } public static final int ERROR_TEXT_FIELD_NUMBER = 2; private java.lang.String errorText_; /** * optional string error_text = 2; * @return Whether the errorText field is set. */ @java.lang.Override public boolean hasErrorText() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string error_text = 2; * @return The errorText. */ @java.lang.Override public java.lang.String getErrorText() { return errorText_; } /** * optional string error_text = 2; * @return The bytes for errorText. */ @java.lang.Override public com.google.protobuf.ByteString getErrorTextBytes() { return com.google.protobuf.ByteString.copyFromUtf8(errorText_); } /** * optional string error_text = 2; * @param value The errorText to set. */ private void setErrorText( java.lang.String value) { java.lang.Class valueClass = value.getClass(); bitField0_ |= 0x00000002; errorText_ = value; } /** * optional string error_text = 2; */ private void clearErrorText() { bitField0_ = (bitField0_ & ~0x00000002); errorText_ = getDefaultInstance().getErrorText(); } /** * optional string error_text = 2; * @param value The bytes for errorText to set. */ private void setErrorTextBytes( com.google.protobuf.ByteString value) { errorText_ = value.toStringUtf8(); bitField0_ |= 0x00000002; } public static final int RESULT_CODE_FIELD_NUMBER = 3; private int resultCode_; /** * optional sint32 result_code = 3; * @return Whether the resultCode field is set. */ @java.lang.Override public boolean hasResultCode() { return ((bitField0_ & 0x00000004) != 0); } /** * optional sint32 result_code = 3; * @return The resultCode. */ @java.lang.Override public int getResultCode() { return resultCode_; } /** * optional sint32 result_code = 3; * @param value The resultCode to set. */ private void setResultCode(int value) { bitField0_ |= 0x00000004; resultCode_ = value; } /** * optional sint32 result_code = 3; */ private void clearResultCode() { bitField0_ = (bitField0_ & ~0x00000004); resultCode_ = 0; } public static final int RESULTS_FIELD_NUMBER = 4; private com.android.commands.am.InstrumentationData.ResultsBundle results_; /** * optional .android.am.ResultsBundle results = 4; */ @java.lang.Override public boolean hasResults() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .android.am.ResultsBundle results = 4; */ @java.lang.Override public com.android.commands.am.InstrumentationData.ResultsBundle getResults() { return results_ == null ? com.android.commands.am.InstrumentationData.ResultsBundle.getDefaultInstance() : results_; } /** * optional .android.am.ResultsBundle results = 4; */ private void setResults(com.android.commands.am.InstrumentationData.ResultsBundle value) { value.getClass(); results_ = value; bitField0_ |= 0x00000008; } /** * optional .android.am.ResultsBundle results = 4; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeResults(com.android.commands.am.InstrumentationData.ResultsBundle value) { value.getClass(); if (results_ != null && results_ != com.android.commands.am.InstrumentationData.ResultsBundle.getDefaultInstance()) { results_ = com.android.commands.am.InstrumentationData.ResultsBundle.newBuilder(results_).mergeFrom(value).buildPartial(); } else { results_ = value; } bitField0_ |= 0x00000008; } /** * optional .android.am.ResultsBundle results = 4; */ private void clearResults() { results_ = null; bitField0_ = (bitField0_ & ~0x00000008); } public static com.android.commands.am.InstrumentationData.SessionStatus parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.android.commands.am.InstrumentationData.SessionStatus parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.android.commands.am.InstrumentationData.SessionStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.android.commands.am.InstrumentationData.SessionStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.android.commands.am.InstrumentationData.SessionStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.android.commands.am.InstrumentationData.SessionStatus parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.android.commands.am.InstrumentationData.SessionStatus parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.android.commands.am.InstrumentationData.SessionStatus parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static com.android.commands.am.InstrumentationData.SessionStatus parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.android.commands.am.InstrumentationData.SessionStatus parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.android.commands.am.InstrumentationData.SessionStatus parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.android.commands.am.InstrumentationData.SessionStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return (Builder) DEFAULT_INSTANCE.createBuilder(); } public static Builder newBuilder(com.android.commands.am.InstrumentationData.SessionStatus prototype) { return DEFAULT_INSTANCE.createBuilder(prototype); } /** * Protobuf type {@code android.am.SessionStatus} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.android.commands.am.InstrumentationData.SessionStatus, Builder> implements // @@protoc_insertion_point(builder_implements:android.am.SessionStatus) com.android.commands.am.InstrumentationData.SessionStatusOrBuilder { // Construct using com.android.commands.am.InstrumentationData.SessionStatus.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * optional .android.am.SessionStatusCode status_code = 1; * @return Whether the statusCode field is set. */ @java.lang.Override public boolean hasStatusCode() { return instance.hasStatusCode(); } /** * optional .android.am.SessionStatusCode status_code = 1; * @return The statusCode. */ @java.lang.Override public com.android.commands.am.InstrumentationData.SessionStatusCode getStatusCode() { return instance.getStatusCode(); } /** * optional .android.am.SessionStatusCode status_code = 1; * @param value The enum numeric value on the wire for statusCode to set. * @return This builder for chaining. */ public Builder setStatusCode(com.android.commands.am.InstrumentationData.SessionStatusCode value) { copyOnWrite(); instance.setStatusCode(value); return this; } /** * optional .android.am.SessionStatusCode status_code = 1; * @return This builder for chaining. */ public Builder clearStatusCode() { copyOnWrite(); instance.clearStatusCode(); return this; } /** * optional string error_text = 2; * @return Whether the errorText field is set. */ @java.lang.Override public boolean hasErrorText() { return instance.hasErrorText(); } /** * optional string error_text = 2; * @return The errorText. */ @java.lang.Override public java.lang.String getErrorText() { return instance.getErrorText(); } /** * optional string error_text = 2; * @return The bytes for errorText. */ @java.lang.Override public com.google.protobuf.ByteString getErrorTextBytes() { return instance.getErrorTextBytes(); } /** * optional string error_text = 2; * @param value The errorText to set. * @return This builder for chaining. */ public Builder setErrorText( java.lang.String value) { copyOnWrite(); instance.setErrorText(value); return this; } /** * optional string error_text = 2; * @return This builder for chaining. */ public Builder clearErrorText() { copyOnWrite(); instance.clearErrorText(); return this; } /** * optional string error_text = 2; * @param value The bytes for errorText to set. * @return This builder for chaining. */ public Builder setErrorTextBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setErrorTextBytes(value); return this; } /** * optional sint32 result_code = 3; * @return Whether the resultCode field is set. */ @java.lang.Override public boolean hasResultCode() { return instance.hasResultCode(); } /** * optional sint32 result_code = 3; * @return The resultCode. */ @java.lang.Override public int getResultCode() { return instance.getResultCode(); } /** * optional sint32 result_code = 3; * @param value The resultCode to set. * @return This builder for chaining. */ public Builder setResultCode(int value) { copyOnWrite(); instance.setResultCode(value); return this; } /** * optional sint32 result_code = 3; * @return This builder for chaining. */ public Builder clearResultCode() { copyOnWrite(); instance.clearResultCode(); return this; } /** * optional .android.am.ResultsBundle results = 4; */ @java.lang.Override public boolean hasResults() { return instance.hasResults(); } /** * optional .android.am.ResultsBundle results = 4; */ @java.lang.Override public com.android.commands.am.InstrumentationData.ResultsBundle getResults() { return instance.getResults(); } /** * optional .android.am.ResultsBundle results = 4; */ public Builder setResults(com.android.commands.am.InstrumentationData.ResultsBundle value) { copyOnWrite(); instance.setResults(value); return this; } /** * optional .android.am.ResultsBundle results = 4; */ public Builder setResults( com.android.commands.am.InstrumentationData.ResultsBundle.Builder builderForValue) { copyOnWrite(); instance.setResults(builderForValue.build()); return this; } /** * optional .android.am.ResultsBundle results = 4; */ public Builder mergeResults(com.android.commands.am.InstrumentationData.ResultsBundle value) { copyOnWrite(); instance.mergeResults(value); return this; } /** * optional .android.am.ResultsBundle results = 4; */ public Builder clearResults() { copyOnWrite(); instance.clearResults(); return this; } // @@protoc_insertion_point(builder_scope:android.am.SessionStatus) } @java.lang.Override @java.lang.SuppressWarnings({"unchecked", "fallthrough"}) protected final java.lang.Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new com.android.commands.am.InstrumentationData.SessionStatus(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "bitField0_", "statusCode_", com.android.commands.am.InstrumentationData.SessionStatusCode.internalGetVerifier(), "errorText_", "resultCode_", "results_", }; java.lang.String info = "\u0001\u0004\u0000\u0001\u0001\u0004\u0004\u0000\u0000\u0000\u0001\u180c\u0000\u0002" + "\u1008\u0001\u0003\u100f\u0002\u0004\u1009\u0003"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { com.google.protobuf.Parser parser = PARSER; if (parser == null) { synchronized (com.android.commands.am.InstrumentationData.SessionStatus.class) { parser = PARSER; if (parser == null) { parser = new DefaultInstanceBasedParser( DEFAULT_INSTANCE); PARSER = parser; } } } return parser; } case GET_MEMOIZED_IS_INITIALIZED: { return (byte) 1; } case SET_MEMOIZED_IS_INITIALIZED: { return null; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:android.am.SessionStatus) private static final com.android.commands.am.InstrumentationData.SessionStatus DEFAULT_INSTANCE; static { SessionStatus defaultInstance = new SessionStatus(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( SessionStatus.class, defaultInstance); } public static com.android.commands.am.InstrumentationData.SessionStatus getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } } public interface SessionOrBuilder extends // @@protoc_insertion_point(interface_extends:android.am.Session) com.google.protobuf.MessageLiteOrBuilder { /** * repeated .android.am.TestStatus test_status = 1; */ java.util.List getTestStatusList(); /** * repeated .android.am.TestStatus test_status = 1; */ com.android.commands.am.InstrumentationData.TestStatus getTestStatus(int index); /** * repeated .android.am.TestStatus test_status = 1; */ int getTestStatusCount(); /** * optional .android.am.SessionStatus session_status = 2; * @return Whether the sessionStatus field is set. */ boolean hasSessionStatus(); /** * optional .android.am.SessionStatus session_status = 2; * @return The sessionStatus. */ com.android.commands.am.InstrumentationData.SessionStatus getSessionStatus(); } /** * Protobuf type {@code android.am.Session} */ public static final class Session extends com.google.protobuf.GeneratedMessageLite< Session, Session.Builder> implements // @@protoc_insertion_point(message_implements:android.am.Session) SessionOrBuilder { private Session() { testStatus_ = emptyProtobufList(); } private int bitField0_; public static final int TEST_STATUS_FIELD_NUMBER = 1; private com.google.protobuf.Internal.ProtobufList testStatus_; /** * repeated .android.am.TestStatus test_status = 1; */ @java.lang.Override public java.util.List getTestStatusList() { return testStatus_; } /** * repeated .android.am.TestStatus test_status = 1; */ public java.util.List getTestStatusOrBuilderList() { return testStatus_; } /** * repeated .android.am.TestStatus test_status = 1; */ @java.lang.Override public int getTestStatusCount() { return testStatus_.size(); } /** * repeated .android.am.TestStatus test_status = 1; */ @java.lang.Override public com.android.commands.am.InstrumentationData.TestStatus getTestStatus(int index) { return testStatus_.get(index); } /** * repeated .android.am.TestStatus test_status = 1; */ public com.android.commands.am.InstrumentationData.TestStatusOrBuilder getTestStatusOrBuilder( int index) { return testStatus_.get(index); } private void ensureTestStatusIsMutable() { com.google.protobuf.Internal.ProtobufList tmp = testStatus_; if (!tmp.isModifiable()) { testStatus_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); } } /** * repeated .android.am.TestStatus test_status = 1; */ private void setTestStatus( int index, com.android.commands.am.InstrumentationData.TestStatus value) { value.getClass(); ensureTestStatusIsMutable(); testStatus_.set(index, value); } /** * repeated .android.am.TestStatus test_status = 1; */ private void addTestStatus(com.android.commands.am.InstrumentationData.TestStatus value) { value.getClass(); ensureTestStatusIsMutable(); testStatus_.add(value); } /** * repeated .android.am.TestStatus test_status = 1; */ private void addTestStatus( int index, com.android.commands.am.InstrumentationData.TestStatus value) { value.getClass(); ensureTestStatusIsMutable(); testStatus_.add(index, value); } /** * repeated .android.am.TestStatus test_status = 1; */ private void addAllTestStatus( java.lang.Iterable values) { ensureTestStatusIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, testStatus_); } /** * repeated .android.am.TestStatus test_status = 1; */ private void clearTestStatus() { testStatus_ = emptyProtobufList(); } /** * repeated .android.am.TestStatus test_status = 1; */ private void removeTestStatus(int index) { ensureTestStatusIsMutable(); testStatus_.remove(index); } public static final int SESSION_STATUS_FIELD_NUMBER = 2; private com.android.commands.am.InstrumentationData.SessionStatus sessionStatus_; /** * optional .android.am.SessionStatus session_status = 2; */ @java.lang.Override public boolean hasSessionStatus() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .android.am.SessionStatus session_status = 2; */ @java.lang.Override public com.android.commands.am.InstrumentationData.SessionStatus getSessionStatus() { return sessionStatus_ == null ? com.android.commands.am.InstrumentationData.SessionStatus.getDefaultInstance() : sessionStatus_; } /** * optional .android.am.SessionStatus session_status = 2; */ private void setSessionStatus(com.android.commands.am.InstrumentationData.SessionStatus value) { value.getClass(); sessionStatus_ = value; bitField0_ |= 0x00000001; } /** * optional .android.am.SessionStatus session_status = 2; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeSessionStatus(com.android.commands.am.InstrumentationData.SessionStatus value) { value.getClass(); if (sessionStatus_ != null && sessionStatus_ != com.android.commands.am.InstrumentationData.SessionStatus.getDefaultInstance()) { sessionStatus_ = com.android.commands.am.InstrumentationData.SessionStatus.newBuilder(sessionStatus_).mergeFrom(value).buildPartial(); } else { sessionStatus_ = value; } bitField0_ |= 0x00000001; } /** * optional .android.am.SessionStatus session_status = 2; */ private void clearSessionStatus() { sessionStatus_ = null; bitField0_ = (bitField0_ & ~0x00000001); } public static com.android.commands.am.InstrumentationData.Session parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.android.commands.am.InstrumentationData.Session parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.android.commands.am.InstrumentationData.Session parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.android.commands.am.InstrumentationData.Session parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.android.commands.am.InstrumentationData.Session parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.android.commands.am.InstrumentationData.Session parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.android.commands.am.InstrumentationData.Session parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.android.commands.am.InstrumentationData.Session parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static com.android.commands.am.InstrumentationData.Session parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.android.commands.am.InstrumentationData.Session parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.android.commands.am.InstrumentationData.Session parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.android.commands.am.InstrumentationData.Session parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return (Builder) DEFAULT_INSTANCE.createBuilder(); } public static Builder newBuilder(com.android.commands.am.InstrumentationData.Session prototype) { return DEFAULT_INSTANCE.createBuilder(prototype); } /** * Protobuf type {@code android.am.Session} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.android.commands.am.InstrumentationData.Session, Builder> implements // @@protoc_insertion_point(builder_implements:android.am.Session) com.android.commands.am.InstrumentationData.SessionOrBuilder { // Construct using com.android.commands.am.InstrumentationData.Session.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * repeated .android.am.TestStatus test_status = 1; */ @java.lang.Override public java.util.List getTestStatusList() { return java.util.Collections.unmodifiableList( instance.getTestStatusList()); } /** * repeated .android.am.TestStatus test_status = 1; */ @java.lang.Override public int getTestStatusCount() { return instance.getTestStatusCount(); }/** * repeated .android.am.TestStatus test_status = 1; */ @java.lang.Override public com.android.commands.am.InstrumentationData.TestStatus getTestStatus(int index) { return instance.getTestStatus(index); } /** * repeated .android.am.TestStatus test_status = 1; */ public Builder setTestStatus( int index, com.android.commands.am.InstrumentationData.TestStatus value) { copyOnWrite(); instance.setTestStatus(index, value); return this; } /** * repeated .android.am.TestStatus test_status = 1; */ public Builder setTestStatus( int index, com.android.commands.am.InstrumentationData.TestStatus.Builder builderForValue) { copyOnWrite(); instance.setTestStatus(index, builderForValue.build()); return this; } /** * repeated .android.am.TestStatus test_status = 1; */ public Builder addTestStatus(com.android.commands.am.InstrumentationData.TestStatus value) { copyOnWrite(); instance.addTestStatus(value); return this; } /** * repeated .android.am.TestStatus test_status = 1; */ public Builder addTestStatus( int index, com.android.commands.am.InstrumentationData.TestStatus value) { copyOnWrite(); instance.addTestStatus(index, value); return this; } /** * repeated .android.am.TestStatus test_status = 1; */ public Builder addTestStatus( com.android.commands.am.InstrumentationData.TestStatus.Builder builderForValue) { copyOnWrite(); instance.addTestStatus(builderForValue.build()); return this; } /** * repeated .android.am.TestStatus test_status = 1; */ public Builder addTestStatus( int index, com.android.commands.am.InstrumentationData.TestStatus.Builder builderForValue) { copyOnWrite(); instance.addTestStatus(index, builderForValue.build()); return this; } /** * repeated .android.am.TestStatus test_status = 1; */ public Builder addAllTestStatus( java.lang.Iterable values) { copyOnWrite(); instance.addAllTestStatus(values); return this; } /** * repeated .android.am.TestStatus test_status = 1; */ public Builder clearTestStatus() { copyOnWrite(); instance.clearTestStatus(); return this; } /** * repeated .android.am.TestStatus test_status = 1; */ public Builder removeTestStatus(int index) { copyOnWrite(); instance.removeTestStatus(index); return this; } /** * optional .android.am.SessionStatus session_status = 2; */ @java.lang.Override public boolean hasSessionStatus() { return instance.hasSessionStatus(); } /** * optional .android.am.SessionStatus session_status = 2; */ @java.lang.Override public com.android.commands.am.InstrumentationData.SessionStatus getSessionStatus() { return instance.getSessionStatus(); } /** * optional .android.am.SessionStatus session_status = 2; */ public Builder setSessionStatus(com.android.commands.am.InstrumentationData.SessionStatus value) { copyOnWrite(); instance.setSessionStatus(value); return this; } /** * optional .android.am.SessionStatus session_status = 2; */ public Builder setSessionStatus( com.android.commands.am.InstrumentationData.SessionStatus.Builder builderForValue) { copyOnWrite(); instance.setSessionStatus(builderForValue.build()); return this; } /** * optional .android.am.SessionStatus session_status = 2; */ public Builder mergeSessionStatus(com.android.commands.am.InstrumentationData.SessionStatus value) { copyOnWrite(); instance.mergeSessionStatus(value); return this; } /** * optional .android.am.SessionStatus session_status = 2; */ public Builder clearSessionStatus() { copyOnWrite(); instance.clearSessionStatus(); return this; } // @@protoc_insertion_point(builder_scope:android.am.Session) } @java.lang.Override @java.lang.SuppressWarnings({"unchecked", "fallthrough"}) protected final java.lang.Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new com.android.commands.am.InstrumentationData.Session(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "bitField0_", "testStatus_", com.android.commands.am.InstrumentationData.TestStatus.class, "sessionStatus_", }; java.lang.String info = "\u0001\u0002\u0000\u0001\u0001\u0002\u0002\u0000\u0001\u0000\u0001\u001b\u0002\u1009" + "\u0000"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { com.google.protobuf.Parser parser = PARSER; if (parser == null) { synchronized (com.android.commands.am.InstrumentationData.Session.class) { parser = PARSER; if (parser == null) { parser = new DefaultInstanceBasedParser( DEFAULT_INSTANCE); PARSER = parser; } } } return parser; } case GET_MEMOIZED_IS_INITIALIZED: { return (byte) 1; } case SET_MEMOIZED_IS_INITIALIZED: { return null; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:android.am.Session) private static final com.android.commands.am.InstrumentationData.Session DEFAULT_INSTANCE; static { Session defaultInstance = new Session(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( Session.class, defaultInstance); } public static com.android.commands.am.InstrumentationData.Session getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } } static { } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy