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

com.android.emulator.control.EmulatorStatus Maven / Gradle / Ivy

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

// Protobuf Java Version: 3.25.0
package com.android.emulator.control;

/**
 * Protobuf type {@code android.emulation.control.EmulatorStatus}
 */
public  final class EmulatorStatus extends
    com.google.protobuf.GeneratedMessageLite<
        EmulatorStatus, EmulatorStatus.Builder> implements
    // @@protoc_insertion_point(message_implements:android.emulation.control.EmulatorStatus)
    EmulatorStatusOrBuilder {
  private EmulatorStatus() {
    version_ = "";
  }
  private int bitField0_;
  public static final int VERSION_FIELD_NUMBER = 1;
  private java.lang.String version_;
  /**
   * 
   * The emulator version string.
   * 
* * string version = 1; * @return The version. */ @java.lang.Override public java.lang.String getVersion() { return version_; } /** *
   * The emulator version string.
   * 
* * string version = 1; * @return The bytes for version. */ @java.lang.Override public com.google.protobuf.ByteString getVersionBytes() { return com.google.protobuf.ByteString.copyFromUtf8(version_); } /** *
   * The emulator version string.
   * 
* * string version = 1; * @param value The version to set. */ private void setVersion( java.lang.String value) { java.lang.Class valueClass = value.getClass(); version_ = value; } /** *
   * The emulator version string.
   * 
* * string version = 1; */ private void clearVersion() { version_ = getDefaultInstance().getVersion(); } /** *
   * The emulator version string.
   * 
* * string version = 1; * @param value The bytes for version to set. */ private void setVersionBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); version_ = value.toStringUtf8(); } public static final int UPTIME_FIELD_NUMBER = 2; private long uptime_; /** *
   * The time the emulator has been active in .ms
   * 
* * uint64 uptime = 2; * @return The uptime. */ @java.lang.Override public long getUptime() { return uptime_; } /** *
   * The time the emulator has been active in .ms
   * 
* * uint64 uptime = 2; * @param value The uptime to set. */ private void setUptime(long value) { uptime_ = value; } /** *
   * The time the emulator has been active in .ms
   * 
* * uint64 uptime = 2; */ private void clearUptime() { uptime_ = 0L; } public static final int BOOTED_FIELD_NUMBER = 3; private boolean booted_; /** *
   * True if the device has completed booting.
   * For P and later this information will accurate,
   * for older images we rely on adb.
   * 
* * bool booted = 3; * @return The booted. */ @java.lang.Override public boolean getBooted() { return booted_; } /** *
   * True if the device has completed booting.
   * For P and later this information will accurate,
   * for older images we rely on adb.
   * 
* * bool booted = 3; * @param value The booted to set. */ private void setBooted(boolean value) { booted_ = value; } /** *
   * True if the device has completed booting.
   * For P and later this information will accurate,
   * for older images we rely on adb.
   * 
* * bool booted = 3; */ private void clearBooted() { booted_ = false; } public static final int VMCONFIG_FIELD_NUMBER = 4; private com.android.emulator.control.VmConfiguration vmConfig_; /** *
   * The current vm configuration
   * 
* * .android.emulation.control.VmConfiguration vmConfig = 4; */ @java.lang.Override public boolean hasVmConfig() { return ((bitField0_ & 0x00000001) != 0); } /** *
   * The current vm configuration
   * 
* * .android.emulation.control.VmConfiguration vmConfig = 4; */ @java.lang.Override public com.android.emulator.control.VmConfiguration getVmConfig() { return vmConfig_ == null ? com.android.emulator.control.VmConfiguration.getDefaultInstance() : vmConfig_; } /** *
   * The current vm configuration
   * 
* * .android.emulation.control.VmConfiguration vmConfig = 4; */ private void setVmConfig(com.android.emulator.control.VmConfiguration value) { value.getClass(); vmConfig_ = value; bitField0_ |= 0x00000001; } /** *
   * The current vm configuration
   * 
* * .android.emulation.control.VmConfiguration vmConfig = 4; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeVmConfig(com.android.emulator.control.VmConfiguration value) { value.getClass(); if (vmConfig_ != null && vmConfig_ != com.android.emulator.control.VmConfiguration.getDefaultInstance()) { vmConfig_ = com.android.emulator.control.VmConfiguration.newBuilder(vmConfig_).mergeFrom(value).buildPartial(); } else { vmConfig_ = value; } bitField0_ |= 0x00000001; } /** *
   * The current vm configuration
   * 
* * .android.emulation.control.VmConfiguration vmConfig = 4; */ private void clearVmConfig() { vmConfig_ = null; bitField0_ = (bitField0_ & ~0x00000001); } public static final int HARDWARECONFIG_FIELD_NUMBER = 5; private com.android.emulator.control.EntryList hardwareConfig_; /** *
   * The hardware configuration of the running emulator as
   * key valure pairs.
   * 
* * .android.emulation.control.EntryList hardwareConfig = 5; */ @java.lang.Override public boolean hasHardwareConfig() { return ((bitField0_ & 0x00000002) != 0); } /** *
   * The hardware configuration of the running emulator as
   * key valure pairs.
   * 
* * .android.emulation.control.EntryList hardwareConfig = 5; */ @java.lang.Override public com.android.emulator.control.EntryList getHardwareConfig() { return hardwareConfig_ == null ? com.android.emulator.control.EntryList.getDefaultInstance() : hardwareConfig_; } /** *
   * The hardware configuration of the running emulator as
   * key valure pairs.
   * 
* * .android.emulation.control.EntryList hardwareConfig = 5; */ private void setHardwareConfig(com.android.emulator.control.EntryList value) { value.getClass(); hardwareConfig_ = value; bitField0_ |= 0x00000002; } /** *
   * The hardware configuration of the running emulator as
   * key valure pairs.
   * 
* * .android.emulation.control.EntryList hardwareConfig = 5; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeHardwareConfig(com.android.emulator.control.EntryList value) { value.getClass(); if (hardwareConfig_ != null && hardwareConfig_ != com.android.emulator.control.EntryList.getDefaultInstance()) { hardwareConfig_ = com.android.emulator.control.EntryList.newBuilder(hardwareConfig_).mergeFrom(value).buildPartial(); } else { hardwareConfig_ = value; } bitField0_ |= 0x00000002; } /** *
   * The hardware configuration of the running emulator as
   * key valure pairs.
   * 
* * .android.emulation.control.EntryList hardwareConfig = 5; */ private void clearHardwareConfig() { hardwareConfig_ = null; bitField0_ = (bitField0_ & ~0x00000002); } public static com.android.emulator.control.EmulatorStatus parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.android.emulator.control.EmulatorStatus 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.emulator.control.EmulatorStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.android.emulator.control.EmulatorStatus 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.emulator.control.EmulatorStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.android.emulator.control.EmulatorStatus 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.emulator.control.EmulatorStatus parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.android.emulator.control.EmulatorStatus 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.emulator.control.EmulatorStatus parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.android.emulator.control.EmulatorStatus parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.android.emulator.control.EmulatorStatus parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.android.emulator.control.EmulatorStatus 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.emulator.control.EmulatorStatus prototype) { return DEFAULT_INSTANCE.createBuilder(prototype); } /** * Protobuf type {@code android.emulation.control.EmulatorStatus} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.android.emulator.control.EmulatorStatus, Builder> implements // @@protoc_insertion_point(builder_implements:android.emulation.control.EmulatorStatus) com.android.emulator.control.EmulatorStatusOrBuilder { // Construct using com.android.emulator.control.EmulatorStatus.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** *
     * The emulator version string.
     * 
* * string version = 1; * @return The version. */ @java.lang.Override public java.lang.String getVersion() { return instance.getVersion(); } /** *
     * The emulator version string.
     * 
* * string version = 1; * @return The bytes for version. */ @java.lang.Override public com.google.protobuf.ByteString getVersionBytes() { return instance.getVersionBytes(); } /** *
     * The emulator version string.
     * 
* * string version = 1; * @param value The version to set. * @return This builder for chaining. */ public Builder setVersion( java.lang.String value) { copyOnWrite(); instance.setVersion(value); return this; } /** *
     * The emulator version string.
     * 
* * string version = 1; * @return This builder for chaining. */ public Builder clearVersion() { copyOnWrite(); instance.clearVersion(); return this; } /** *
     * The emulator version string.
     * 
* * string version = 1; * @param value The bytes for version to set. * @return This builder for chaining. */ public Builder setVersionBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setVersionBytes(value); return this; } /** *
     * The time the emulator has been active in .ms
     * 
* * uint64 uptime = 2; * @return The uptime. */ @java.lang.Override public long getUptime() { return instance.getUptime(); } /** *
     * The time the emulator has been active in .ms
     * 
* * uint64 uptime = 2; * @param value The uptime to set. * @return This builder for chaining. */ public Builder setUptime(long value) { copyOnWrite(); instance.setUptime(value); return this; } /** *
     * The time the emulator has been active in .ms
     * 
* * uint64 uptime = 2; * @return This builder for chaining. */ public Builder clearUptime() { copyOnWrite(); instance.clearUptime(); return this; } /** *
     * True if the device has completed booting.
     * For P and later this information will accurate,
     * for older images we rely on adb.
     * 
* * bool booted = 3; * @return The booted. */ @java.lang.Override public boolean getBooted() { return instance.getBooted(); } /** *
     * True if the device has completed booting.
     * For P and later this information will accurate,
     * for older images we rely on adb.
     * 
* * bool booted = 3; * @param value The booted to set. * @return This builder for chaining. */ public Builder setBooted(boolean value) { copyOnWrite(); instance.setBooted(value); return this; } /** *
     * True if the device has completed booting.
     * For P and later this information will accurate,
     * for older images we rely on adb.
     * 
* * bool booted = 3; * @return This builder for chaining. */ public Builder clearBooted() { copyOnWrite(); instance.clearBooted(); return this; } /** *
     * The current vm configuration
     * 
* * .android.emulation.control.VmConfiguration vmConfig = 4; */ @java.lang.Override public boolean hasVmConfig() { return instance.hasVmConfig(); } /** *
     * The current vm configuration
     * 
* * .android.emulation.control.VmConfiguration vmConfig = 4; */ @java.lang.Override public com.android.emulator.control.VmConfiguration getVmConfig() { return instance.getVmConfig(); } /** *
     * The current vm configuration
     * 
* * .android.emulation.control.VmConfiguration vmConfig = 4; */ public Builder setVmConfig(com.android.emulator.control.VmConfiguration value) { copyOnWrite(); instance.setVmConfig(value); return this; } /** *
     * The current vm configuration
     * 
* * .android.emulation.control.VmConfiguration vmConfig = 4; */ public Builder setVmConfig( com.android.emulator.control.VmConfiguration.Builder builderForValue) { copyOnWrite(); instance.setVmConfig(builderForValue.build()); return this; } /** *
     * The current vm configuration
     * 
* * .android.emulation.control.VmConfiguration vmConfig = 4; */ public Builder mergeVmConfig(com.android.emulator.control.VmConfiguration value) { copyOnWrite(); instance.mergeVmConfig(value); return this; } /** *
     * The current vm configuration
     * 
* * .android.emulation.control.VmConfiguration vmConfig = 4; */ public Builder clearVmConfig() { copyOnWrite(); instance.clearVmConfig(); return this; } /** *
     * The hardware configuration of the running emulator as
     * key valure pairs.
     * 
* * .android.emulation.control.EntryList hardwareConfig = 5; */ @java.lang.Override public boolean hasHardwareConfig() { return instance.hasHardwareConfig(); } /** *
     * The hardware configuration of the running emulator as
     * key valure pairs.
     * 
* * .android.emulation.control.EntryList hardwareConfig = 5; */ @java.lang.Override public com.android.emulator.control.EntryList getHardwareConfig() { return instance.getHardwareConfig(); } /** *
     * The hardware configuration of the running emulator as
     * key valure pairs.
     * 
* * .android.emulation.control.EntryList hardwareConfig = 5; */ public Builder setHardwareConfig(com.android.emulator.control.EntryList value) { copyOnWrite(); instance.setHardwareConfig(value); return this; } /** *
     * The hardware configuration of the running emulator as
     * key valure pairs.
     * 
* * .android.emulation.control.EntryList hardwareConfig = 5; */ public Builder setHardwareConfig( com.android.emulator.control.EntryList.Builder builderForValue) { copyOnWrite(); instance.setHardwareConfig(builderForValue.build()); return this; } /** *
     * The hardware configuration of the running emulator as
     * key valure pairs.
     * 
* * .android.emulation.control.EntryList hardwareConfig = 5; */ public Builder mergeHardwareConfig(com.android.emulator.control.EntryList value) { copyOnWrite(); instance.mergeHardwareConfig(value); return this; } /** *
     * The hardware configuration of the running emulator as
     * key valure pairs.
     * 
* * .android.emulation.control.EntryList hardwareConfig = 5; */ public Builder clearHardwareConfig() { copyOnWrite(); instance.clearHardwareConfig(); return this; } // @@protoc_insertion_point(builder_scope:android.emulation.control.EmulatorStatus) } @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.emulator.control.EmulatorStatus(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "bitField0_", "version_", "uptime_", "booted_", "vmConfig_", "hardwareConfig_", }; java.lang.String info = "\u0000\u0005\u0000\u0001\u0001\u0005\u0005\u0000\u0000\u0000\u0001\u0208\u0002\u0003" + "\u0003\u0007\u0004\u1009\u0000\u0005\u1009\u0001"; 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.emulator.control.EmulatorStatus.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.emulation.control.EmulatorStatus) private static final com.android.emulator.control.EmulatorStatus DEFAULT_INSTANCE; static { EmulatorStatus defaultInstance = new EmulatorStatus(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( EmulatorStatus.class, defaultInstance); } public static com.android.emulator.control.EmulatorStatus getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy