EventProto.java

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: events.proto

package androidx.wear.tiles.proto;

public final class EventProto {
  private EventProto() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }
  public interface TileAddEventOrBuilder extends
      // @@protoc_insertion_point(interface_extends:androidx.wear.tiles.proto.TileAddEvent)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * <pre>
     * The ID of the tile added to the carousel.
     * </pre>
     *
     * <code>uint32 tile_id = 1;</code>
     * @return The tileId.
     */
    int getTileId();
  }
  /**
   * <pre>
   * Event fired when a tile has been added to the carousel.
   * </pre>
   *
   * Protobuf type {@code androidx.wear.tiles.proto.TileAddEvent}
   */
  public  static final class TileAddEvent extends
      com.google.protobuf.GeneratedMessageLite<
          TileAddEvent, TileAddEvent.Builder> implements
      // @@protoc_insertion_point(message_implements:androidx.wear.tiles.proto.TileAddEvent)
      TileAddEventOrBuilder {
    private TileAddEvent() {
    }
    public static final int TILE_ID_FIELD_NUMBER = 1;
    private int tileId_;
    /**
     * <pre>
     * The ID of the tile added to the carousel.
     * </pre>
     *
     * <code>uint32 tile_id = 1;</code>
     * @return The tileId.
     */
    @java.lang.Override
    public int getTileId() {
      return tileId_;
    }
    /**
     * <pre>
     * The ID of the tile added to the carousel.
     * </pre>
     *
     * <code>uint32 tile_id = 1;</code>
     * @param value The tileId to set.
     */
    private void setTileId(int value) {
      
      tileId_ = value;
    }
    /**
     * <pre>
     * The ID of the tile added to the carousel.
     * </pre>
     *
     * <code>uint32 tile_id = 1;</code>
     */
    private void clearTileId() {
      
      tileId_ = 0;
    }

    public static androidx.wear.tiles.proto.EventProto.TileAddEvent parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.wear.tiles.proto.EventProto.TileAddEvent 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 androidx.wear.tiles.proto.EventProto.TileAddEvent parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.wear.tiles.proto.EventProto.TileAddEvent 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 androidx.wear.tiles.proto.EventProto.TileAddEvent parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.wear.tiles.proto.EventProto.TileAddEvent 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 androidx.wear.tiles.proto.EventProto.TileAddEvent parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static androidx.wear.tiles.proto.EventProto.TileAddEvent 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 androidx.wear.tiles.proto.EventProto.TileAddEvent parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }
    public static androidx.wear.tiles.proto.EventProto.TileAddEvent parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static androidx.wear.tiles.proto.EventProto.TileAddEvent parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static androidx.wear.tiles.proto.EventProto.TileAddEvent 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(androidx.wear.tiles.proto.EventProto.TileAddEvent prototype) {
      return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
    }

    /**
     * <pre>
     * Event fired when a tile has been added to the carousel.
     * </pre>
     *
     * Protobuf type {@code androidx.wear.tiles.proto.TileAddEvent}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          androidx.wear.tiles.proto.EventProto.TileAddEvent, Builder> implements
        // @@protoc_insertion_point(builder_implements:androidx.wear.tiles.proto.TileAddEvent)
        androidx.wear.tiles.proto.EventProto.TileAddEventOrBuilder {
      // Construct using androidx.wear.tiles.proto.EventProto.TileAddEvent.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }


      /**
       * <pre>
       * The ID of the tile added to the carousel.
       * </pre>
       *
       * <code>uint32 tile_id = 1;</code>
       * @return The tileId.
       */
      @java.lang.Override
      public int getTileId() {
        return instance.getTileId();
      }
      /**
       * <pre>
       * The ID of the tile added to the carousel.
       * </pre>
       *
       * <code>uint32 tile_id = 1;</code>
       * @param value The tileId to set.
       * @return This builder for chaining.
       */
      public Builder setTileId(int value) {
        copyOnWrite();
        instance.setTileId(value);
        return this;
      }
      /**
       * <pre>
       * The ID of the tile added to the carousel.
       * </pre>
       *
       * <code>uint32 tile_id = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearTileId() {
        copyOnWrite();
        instance.clearTileId();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:androidx.wear.tiles.proto.TileAddEvent)
    }
    @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 androidx.wear.tiles.proto.EventProto.TileAddEvent();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "tileId_",
            };
            java.lang.String info =
                "\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u000b";
            return newMessageInfo(DEFAULT_INSTANCE, info, objects);
        }
        // fall through
        case GET_DEFAULT_INSTANCE: {
          return DEFAULT_INSTANCE;
        }
        case GET_PARSER: {
          com.google.protobuf.Parser<androidx.wear.tiles.proto.EventProto.TileAddEvent> parser = PARSER;
          if (parser == null) {
            synchronized (androidx.wear.tiles.proto.EventProto.TileAddEvent.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<androidx.wear.tiles.proto.EventProto.TileAddEvent>(
                        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:androidx.wear.tiles.proto.TileAddEvent)
    private static final androidx.wear.tiles.proto.EventProto.TileAddEvent DEFAULT_INSTANCE;
    static {
      TileAddEvent defaultInstance = new TileAddEvent();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        TileAddEvent.class, defaultInstance);
    }

    public static androidx.wear.tiles.proto.EventProto.TileAddEvent getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static volatile com.google.protobuf.Parser<TileAddEvent> PARSER;

    public static com.google.protobuf.Parser<TileAddEvent> parser() {
      return DEFAULT_INSTANCE.getParserForType();
    }
  }

  public interface TileRemoveEventOrBuilder extends
      // @@protoc_insertion_point(interface_extends:androidx.wear.tiles.proto.TileRemoveEvent)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * <pre>
     * The ID of the tile removed from the carousel.
     * </pre>
     *
     * <code>uint32 tile_id = 1;</code>
     * @return The tileId.
     */
    int getTileId();
  }
  /**
   * <pre>
   * Event fired when a tile has been removed from the carousel.
   * </pre>
   *
   * Protobuf type {@code androidx.wear.tiles.proto.TileRemoveEvent}
   */
  public  static final class TileRemoveEvent extends
      com.google.protobuf.GeneratedMessageLite<
          TileRemoveEvent, TileRemoveEvent.Builder> implements
      // @@protoc_insertion_point(message_implements:androidx.wear.tiles.proto.TileRemoveEvent)
      TileRemoveEventOrBuilder {
    private TileRemoveEvent() {
    }
    public static final int TILE_ID_FIELD_NUMBER = 1;
    private int tileId_;
    /**
     * <pre>
     * The ID of the tile removed from the carousel.
     * </pre>
     *
     * <code>uint32 tile_id = 1;</code>
     * @return The tileId.
     */
    @java.lang.Override
    public int getTileId() {
      return tileId_;
    }
    /**
     * <pre>
     * The ID of the tile removed from the carousel.
     * </pre>
     *
     * <code>uint32 tile_id = 1;</code>
     * @param value The tileId to set.
     */
    private void setTileId(int value) {
      
      tileId_ = value;
    }
    /**
     * <pre>
     * The ID of the tile removed from the carousel.
     * </pre>
     *
     * <code>uint32 tile_id = 1;</code>
     */
    private void clearTileId() {
      
      tileId_ = 0;
    }

    public static androidx.wear.tiles.proto.EventProto.TileRemoveEvent parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.wear.tiles.proto.EventProto.TileRemoveEvent 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 androidx.wear.tiles.proto.EventProto.TileRemoveEvent parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.wear.tiles.proto.EventProto.TileRemoveEvent 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 androidx.wear.tiles.proto.EventProto.TileRemoveEvent parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.wear.tiles.proto.EventProto.TileRemoveEvent 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 androidx.wear.tiles.proto.EventProto.TileRemoveEvent parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static androidx.wear.tiles.proto.EventProto.TileRemoveEvent 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 androidx.wear.tiles.proto.EventProto.TileRemoveEvent parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }
    public static androidx.wear.tiles.proto.EventProto.TileRemoveEvent parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static androidx.wear.tiles.proto.EventProto.TileRemoveEvent parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static androidx.wear.tiles.proto.EventProto.TileRemoveEvent 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(androidx.wear.tiles.proto.EventProto.TileRemoveEvent prototype) {
      return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
    }

    /**
     * <pre>
     * Event fired when a tile has been removed from the carousel.
     * </pre>
     *
     * Protobuf type {@code androidx.wear.tiles.proto.TileRemoveEvent}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          androidx.wear.tiles.proto.EventProto.TileRemoveEvent, Builder> implements
        // @@protoc_insertion_point(builder_implements:androidx.wear.tiles.proto.TileRemoveEvent)
        androidx.wear.tiles.proto.EventProto.TileRemoveEventOrBuilder {
      // Construct using androidx.wear.tiles.proto.EventProto.TileRemoveEvent.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }


      /**
       * <pre>
       * The ID of the tile removed from the carousel.
       * </pre>
       *
       * <code>uint32 tile_id = 1;</code>
       * @return The tileId.
       */
      @java.lang.Override
      public int getTileId() {
        return instance.getTileId();
      }
      /**
       * <pre>
       * The ID of the tile removed from the carousel.
       * </pre>
       *
       * <code>uint32 tile_id = 1;</code>
       * @param value The tileId to set.
       * @return This builder for chaining.
       */
      public Builder setTileId(int value) {
        copyOnWrite();
        instance.setTileId(value);
        return this;
      }
      /**
       * <pre>
       * The ID of the tile removed from the carousel.
       * </pre>
       *
       * <code>uint32 tile_id = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearTileId() {
        copyOnWrite();
        instance.clearTileId();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:androidx.wear.tiles.proto.TileRemoveEvent)
    }
    @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 androidx.wear.tiles.proto.EventProto.TileRemoveEvent();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "tileId_",
            };
            java.lang.String info =
                "\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u000b";
            return newMessageInfo(DEFAULT_INSTANCE, info, objects);
        }
        // fall through
        case GET_DEFAULT_INSTANCE: {
          return DEFAULT_INSTANCE;
        }
        case GET_PARSER: {
          com.google.protobuf.Parser<androidx.wear.tiles.proto.EventProto.TileRemoveEvent> parser = PARSER;
          if (parser == null) {
            synchronized (androidx.wear.tiles.proto.EventProto.TileRemoveEvent.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<androidx.wear.tiles.proto.EventProto.TileRemoveEvent>(
                        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:androidx.wear.tiles.proto.TileRemoveEvent)
    private static final androidx.wear.tiles.proto.EventProto.TileRemoveEvent DEFAULT_INSTANCE;
    static {
      TileRemoveEvent defaultInstance = new TileRemoveEvent();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        TileRemoveEvent.class, defaultInstance);
    }

    public static androidx.wear.tiles.proto.EventProto.TileRemoveEvent getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static volatile com.google.protobuf.Parser<TileRemoveEvent> PARSER;

    public static com.google.protobuf.Parser<TileRemoveEvent> parser() {
      return DEFAULT_INSTANCE.getParserForType();
    }
  }

  public interface TileEnterEventOrBuilder extends
      // @@protoc_insertion_point(interface_extends:androidx.wear.tiles.proto.TileEnterEvent)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * <pre>
     * The ID of the entered tile.
     * </pre>
     *
     * <code>uint32 tile_id = 1;</code>
     * @return The tileId.
     */
    int getTileId();
  }
  /**
   * <pre>
   * Event fired when a tile is swiped to by the user (i.e. it's visible on
   * screen).
   * </pre>
   *
   * Protobuf type {@code androidx.wear.tiles.proto.TileEnterEvent}
   */
  public  static final class TileEnterEvent extends
      com.google.protobuf.GeneratedMessageLite<
          TileEnterEvent, TileEnterEvent.Builder> implements
      // @@protoc_insertion_point(message_implements:androidx.wear.tiles.proto.TileEnterEvent)
      TileEnterEventOrBuilder {
    private TileEnterEvent() {
    }
    public static final int TILE_ID_FIELD_NUMBER = 1;
    private int tileId_;
    /**
     * <pre>
     * The ID of the entered tile.
     * </pre>
     *
     * <code>uint32 tile_id = 1;</code>
     * @return The tileId.
     */
    @java.lang.Override
    public int getTileId() {
      return tileId_;
    }
    /**
     * <pre>
     * The ID of the entered tile.
     * </pre>
     *
     * <code>uint32 tile_id = 1;</code>
     * @param value The tileId to set.
     */
    private void setTileId(int value) {
      
      tileId_ = value;
    }
    /**
     * <pre>
     * The ID of the entered tile.
     * </pre>
     *
     * <code>uint32 tile_id = 1;</code>
     */
    private void clearTileId() {
      
      tileId_ = 0;
    }

    public static androidx.wear.tiles.proto.EventProto.TileEnterEvent parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.wear.tiles.proto.EventProto.TileEnterEvent 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 androidx.wear.tiles.proto.EventProto.TileEnterEvent parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.wear.tiles.proto.EventProto.TileEnterEvent 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 androidx.wear.tiles.proto.EventProto.TileEnterEvent parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.wear.tiles.proto.EventProto.TileEnterEvent 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 androidx.wear.tiles.proto.EventProto.TileEnterEvent parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static androidx.wear.tiles.proto.EventProto.TileEnterEvent 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 androidx.wear.tiles.proto.EventProto.TileEnterEvent parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }
    public static androidx.wear.tiles.proto.EventProto.TileEnterEvent parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static androidx.wear.tiles.proto.EventProto.TileEnterEvent parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static androidx.wear.tiles.proto.EventProto.TileEnterEvent 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(androidx.wear.tiles.proto.EventProto.TileEnterEvent prototype) {
      return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
    }

    /**
     * <pre>
     * Event fired when a tile is swiped to by the user (i.e. it's visible on
     * screen).
     * </pre>
     *
     * Protobuf type {@code androidx.wear.tiles.proto.TileEnterEvent}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          androidx.wear.tiles.proto.EventProto.TileEnterEvent, Builder> implements
        // @@protoc_insertion_point(builder_implements:androidx.wear.tiles.proto.TileEnterEvent)
        androidx.wear.tiles.proto.EventProto.TileEnterEventOrBuilder {
      // Construct using androidx.wear.tiles.proto.EventProto.TileEnterEvent.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }


      /**
       * <pre>
       * The ID of the entered tile.
       * </pre>
       *
       * <code>uint32 tile_id = 1;</code>
       * @return The tileId.
       */
      @java.lang.Override
      public int getTileId() {
        return instance.getTileId();
      }
      /**
       * <pre>
       * The ID of the entered tile.
       * </pre>
       *
       * <code>uint32 tile_id = 1;</code>
       * @param value The tileId to set.
       * @return This builder for chaining.
       */
      public Builder setTileId(int value) {
        copyOnWrite();
        instance.setTileId(value);
        return this;
      }
      /**
       * <pre>
       * The ID of the entered tile.
       * </pre>
       *
       * <code>uint32 tile_id = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearTileId() {
        copyOnWrite();
        instance.clearTileId();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:androidx.wear.tiles.proto.TileEnterEvent)
    }
    @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 androidx.wear.tiles.proto.EventProto.TileEnterEvent();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "tileId_",
            };
            java.lang.String info =
                "\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u000b";
            return newMessageInfo(DEFAULT_INSTANCE, info, objects);
        }
        // fall through
        case GET_DEFAULT_INSTANCE: {
          return DEFAULT_INSTANCE;
        }
        case GET_PARSER: {
          com.google.protobuf.Parser<androidx.wear.tiles.proto.EventProto.TileEnterEvent> parser = PARSER;
          if (parser == null) {
            synchronized (androidx.wear.tiles.proto.EventProto.TileEnterEvent.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<androidx.wear.tiles.proto.EventProto.TileEnterEvent>(
                        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:androidx.wear.tiles.proto.TileEnterEvent)
    private static final androidx.wear.tiles.proto.EventProto.TileEnterEvent DEFAULT_INSTANCE;
    static {
      TileEnterEvent defaultInstance = new TileEnterEvent();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        TileEnterEvent.class, defaultInstance);
    }

    public static androidx.wear.tiles.proto.EventProto.TileEnterEvent getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static volatile com.google.protobuf.Parser<TileEnterEvent> PARSER;

    public static com.google.protobuf.Parser<TileEnterEvent> parser() {
      return DEFAULT_INSTANCE.getParserForType();
    }
  }

  public interface TileLeaveEventOrBuilder extends
      // @@protoc_insertion_point(interface_extends:androidx.wear.tiles.proto.TileLeaveEvent)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * <pre>
     * The ID of the tile.
     * </pre>
     *
     * <code>uint32 tile_id = 1;</code>
     * @return The tileId.
     */
    int getTileId();
  }
  /**
   * <pre>
   * Event fired when a tile is swiped away from by the user (i.e. it's no longer
   * visible on screen).
   * </pre>
   *
   * Protobuf type {@code androidx.wear.tiles.proto.TileLeaveEvent}
   */
  public  static final class TileLeaveEvent extends
      com.google.protobuf.GeneratedMessageLite<
          TileLeaveEvent, TileLeaveEvent.Builder> implements
      // @@protoc_insertion_point(message_implements:androidx.wear.tiles.proto.TileLeaveEvent)
      TileLeaveEventOrBuilder {
    private TileLeaveEvent() {
    }
    public static final int TILE_ID_FIELD_NUMBER = 1;
    private int tileId_;
    /**
     * <pre>
     * The ID of the tile.
     * </pre>
     *
     * <code>uint32 tile_id = 1;</code>
     * @return The tileId.
     */
    @java.lang.Override
    public int getTileId() {
      return tileId_;
    }
    /**
     * <pre>
     * The ID of the tile.
     * </pre>
     *
     * <code>uint32 tile_id = 1;</code>
     * @param value The tileId to set.
     */
    private void setTileId(int value) {
      
      tileId_ = value;
    }
    /**
     * <pre>
     * The ID of the tile.
     * </pre>
     *
     * <code>uint32 tile_id = 1;</code>
     */
    private void clearTileId() {
      
      tileId_ = 0;
    }

    public static androidx.wear.tiles.proto.EventProto.TileLeaveEvent parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.wear.tiles.proto.EventProto.TileLeaveEvent 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 androidx.wear.tiles.proto.EventProto.TileLeaveEvent parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.wear.tiles.proto.EventProto.TileLeaveEvent 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 androidx.wear.tiles.proto.EventProto.TileLeaveEvent parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.wear.tiles.proto.EventProto.TileLeaveEvent 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 androidx.wear.tiles.proto.EventProto.TileLeaveEvent parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static androidx.wear.tiles.proto.EventProto.TileLeaveEvent 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 androidx.wear.tiles.proto.EventProto.TileLeaveEvent parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }
    public static androidx.wear.tiles.proto.EventProto.TileLeaveEvent parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static androidx.wear.tiles.proto.EventProto.TileLeaveEvent parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static androidx.wear.tiles.proto.EventProto.TileLeaveEvent 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(androidx.wear.tiles.proto.EventProto.TileLeaveEvent prototype) {
      return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
    }

    /**
     * <pre>
     * Event fired when a tile is swiped away from by the user (i.e. it's no longer
     * visible on screen).
     * </pre>
     *
     * Protobuf type {@code androidx.wear.tiles.proto.TileLeaveEvent}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          androidx.wear.tiles.proto.EventProto.TileLeaveEvent, Builder> implements
        // @@protoc_insertion_point(builder_implements:androidx.wear.tiles.proto.TileLeaveEvent)
        androidx.wear.tiles.proto.EventProto.TileLeaveEventOrBuilder {
      // Construct using androidx.wear.tiles.proto.EventProto.TileLeaveEvent.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }


      /**
       * <pre>
       * The ID of the tile.
       * </pre>
       *
       * <code>uint32 tile_id = 1;</code>
       * @return The tileId.
       */
      @java.lang.Override
      public int getTileId() {
        return instance.getTileId();
      }
      /**
       * <pre>
       * The ID of the tile.
       * </pre>
       *
       * <code>uint32 tile_id = 1;</code>
       * @param value The tileId to set.
       * @return This builder for chaining.
       */
      public Builder setTileId(int value) {
        copyOnWrite();
        instance.setTileId(value);
        return this;
      }
      /**
       * <pre>
       * The ID of the tile.
       * </pre>
       *
       * <code>uint32 tile_id = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearTileId() {
        copyOnWrite();
        instance.clearTileId();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:androidx.wear.tiles.proto.TileLeaveEvent)
    }
    @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 androidx.wear.tiles.proto.EventProto.TileLeaveEvent();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "tileId_",
            };
            java.lang.String info =
                "\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u000b";
            return newMessageInfo(DEFAULT_INSTANCE, info, objects);
        }
        // fall through
        case GET_DEFAULT_INSTANCE: {
          return DEFAULT_INSTANCE;
        }
        case GET_PARSER: {
          com.google.protobuf.Parser<androidx.wear.tiles.proto.EventProto.TileLeaveEvent> parser = PARSER;
          if (parser == null) {
            synchronized (androidx.wear.tiles.proto.EventProto.TileLeaveEvent.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<androidx.wear.tiles.proto.EventProto.TileLeaveEvent>(
                        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:androidx.wear.tiles.proto.TileLeaveEvent)
    private static final androidx.wear.tiles.proto.EventProto.TileLeaveEvent DEFAULT_INSTANCE;
    static {
      TileLeaveEvent defaultInstance = new TileLeaveEvent();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        TileLeaveEvent.class, defaultInstance);
    }

    public static androidx.wear.tiles.proto.EventProto.TileLeaveEvent getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static volatile com.google.protobuf.Parser<TileLeaveEvent> PARSER;

    public static com.google.protobuf.Parser<TileLeaveEvent> parser() {
      return DEFAULT_INSTANCE.getParserForType();
    }
  }


  static {
  }

  // @@protoc_insertion_point(outer_class_scope)
}