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

com.android.emulator.control.EntryList 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.EntryList}
 */
public  final class EntryList extends
    com.google.protobuf.GeneratedMessageLite<
        EntryList, EntryList.Builder> implements
    // @@protoc_insertion_point(message_implements:android.emulation.control.EntryList)
    EntryListOrBuilder {
  private EntryList() {
    entry_ = emptyProtobufList();
  }
  public static final int ENTRY_FIELD_NUMBER = 1;
  private com.google.protobuf.Internal.ProtobufList entry_;
  /**
   * repeated .android.emulation.control.Entry entry = 1;
   */
  @java.lang.Override
  public java.util.List getEntryList() {
    return entry_;
  }
  /**
   * repeated .android.emulation.control.Entry entry = 1;
   */
  public java.util.List 
      getEntryOrBuilderList() {
    return entry_;
  }
  /**
   * repeated .android.emulation.control.Entry entry = 1;
   */
  @java.lang.Override
  public int getEntryCount() {
    return entry_.size();
  }
  /**
   * repeated .android.emulation.control.Entry entry = 1;
   */
  @java.lang.Override
  public com.android.emulator.control.Entry getEntry(int index) {
    return entry_.get(index);
  }
  /**
   * repeated .android.emulation.control.Entry entry = 1;
   */
  public com.android.emulator.control.EntryOrBuilder getEntryOrBuilder(
      int index) {
    return entry_.get(index);
  }
  private void ensureEntryIsMutable() {
    com.google.protobuf.Internal.ProtobufList tmp = entry_;
    if (!tmp.isModifiable()) {
      entry_ =
          com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
     }
  }

  /**
   * repeated .android.emulation.control.Entry entry = 1;
   */
  private void setEntry(
      int index, com.android.emulator.control.Entry value) {
    value.getClass();
  ensureEntryIsMutable();
    entry_.set(index, value);
  }
  /**
   * repeated .android.emulation.control.Entry entry = 1;
   */
  private void addEntry(com.android.emulator.control.Entry value) {
    value.getClass();
  ensureEntryIsMutable();
    entry_.add(value);
  }
  /**
   * repeated .android.emulation.control.Entry entry = 1;
   */
  private void addEntry(
      int index, com.android.emulator.control.Entry value) {
    value.getClass();
  ensureEntryIsMutable();
    entry_.add(index, value);
  }
  /**
   * repeated .android.emulation.control.Entry entry = 1;
   */
  private void addAllEntry(
      java.lang.Iterable values) {
    ensureEntryIsMutable();
    com.google.protobuf.AbstractMessageLite.addAll(
        values, entry_);
  }
  /**
   * repeated .android.emulation.control.Entry entry = 1;
   */
  private void clearEntry() {
    entry_ = emptyProtobufList();
  }
  /**
   * repeated .android.emulation.control.Entry entry = 1;
   */
  private void removeEntry(int index) {
    ensureEntryIsMutable();
    entry_.remove(index);
  }

  public static com.android.emulator.control.EntryList 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.EntryList 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.EntryList 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.EntryList 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.EntryList parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data);
  }
  public static com.android.emulator.control.EntryList 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.EntryList parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, input);
  }
  public static com.android.emulator.control.EntryList 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.EntryList parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return parseDelimitedFrom(DEFAULT_INSTANCE, input);
  }

  public static com.android.emulator.control.EntryList 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.EntryList 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.EntryList 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.EntryList prototype) {
    return DEFAULT_INSTANCE.createBuilder(prototype);
  }

  /**
   * Protobuf type {@code android.emulation.control.EntryList}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageLite.Builder<
        com.android.emulator.control.EntryList, Builder> implements
      // @@protoc_insertion_point(builder_implements:android.emulation.control.EntryList)
      com.android.emulator.control.EntryListOrBuilder {
    // Construct using com.android.emulator.control.EntryList.newBuilder()
    private Builder() {
      super(DEFAULT_INSTANCE);
    }


    /**
     * repeated .android.emulation.control.Entry entry = 1;
     */
    @java.lang.Override
    public java.util.List getEntryList() {
      return java.util.Collections.unmodifiableList(
          instance.getEntryList());
    }
    /**
     * repeated .android.emulation.control.Entry entry = 1;
     */
    @java.lang.Override
    public int getEntryCount() {
      return instance.getEntryCount();
    }/**
     * repeated .android.emulation.control.Entry entry = 1;
     */
    @java.lang.Override
    public com.android.emulator.control.Entry getEntry(int index) {
      return instance.getEntry(index);
    }
    /**
     * repeated .android.emulation.control.Entry entry = 1;
     */
    public Builder setEntry(
        int index, com.android.emulator.control.Entry value) {
      copyOnWrite();
      instance.setEntry(index, value);
      return this;
    }
    /**
     * repeated .android.emulation.control.Entry entry = 1;
     */
    public Builder setEntry(
        int index, com.android.emulator.control.Entry.Builder builderForValue) {
      copyOnWrite();
      instance.setEntry(index,
          builderForValue.build());
      return this;
    }
    /**
     * repeated .android.emulation.control.Entry entry = 1;
     */
    public Builder addEntry(com.android.emulator.control.Entry value) {
      copyOnWrite();
      instance.addEntry(value);
      return this;
    }
    /**
     * repeated .android.emulation.control.Entry entry = 1;
     */
    public Builder addEntry(
        int index, com.android.emulator.control.Entry value) {
      copyOnWrite();
      instance.addEntry(index, value);
      return this;
    }
    /**
     * repeated .android.emulation.control.Entry entry = 1;
     */
    public Builder addEntry(
        com.android.emulator.control.Entry.Builder builderForValue) {
      copyOnWrite();
      instance.addEntry(builderForValue.build());
      return this;
    }
    /**
     * repeated .android.emulation.control.Entry entry = 1;
     */
    public Builder addEntry(
        int index, com.android.emulator.control.Entry.Builder builderForValue) {
      copyOnWrite();
      instance.addEntry(index,
          builderForValue.build());
      return this;
    }
    /**
     * repeated .android.emulation.control.Entry entry = 1;
     */
    public Builder addAllEntry(
        java.lang.Iterable values) {
      copyOnWrite();
      instance.addAllEntry(values);
      return this;
    }
    /**
     * repeated .android.emulation.control.Entry entry = 1;
     */
    public Builder clearEntry() {
      copyOnWrite();
      instance.clearEntry();
      return this;
    }
    /**
     * repeated .android.emulation.control.Entry entry = 1;
     */
    public Builder removeEntry(int index) {
      copyOnWrite();
      instance.removeEntry(index);
      return this;
    }

    // @@protoc_insertion_point(builder_scope:android.emulation.control.EntryList)
  }
  @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.EntryList();
      }
      case NEW_BUILDER: {
        return new Builder();
      }
      case BUILD_MESSAGE_INFO: {
          java.lang.Object[] objects = new java.lang.Object[] {
            "entry_",
            com.android.emulator.control.Entry.class,
          };
          java.lang.String info =
              "\u0000\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.emulator.control.EntryList.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.EntryList)
  private static final com.android.emulator.control.EntryList DEFAULT_INSTANCE;
  static {
    EntryList defaultInstance = new EntryList();
    // New instances are implicitly immutable so no need to make
    // immutable.
    DEFAULT_INSTANCE = defaultInstance;
    com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
      EntryList.class, defaultInstance);
  }

  public static com.android.emulator.control.EntryList 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