public final class

EventProto

extends java.lang.Object

 java.lang.Object

↳androidx.wear.tiles.proto.EventProto

Gradle dependencies

compile group: 'androidx.wear.tiles', name: 'tiles-proto', version: '1.4.0'

  • groupId: androidx.wear.tiles
  • artifactId: tiles-proto
  • version: 1.4.0

Artifact androidx.wear.tiles:tiles-proto:1.4.0 it located at Google repository (https://maven.google.com/)

Summary

Methods
public static voidregisterAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods

public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)

Source

// 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>
     * Instance ID of the added tile, allocated when the tile instance was added
     * to the carousel. This ID will remain the same for this tile instance as
     * long it is not removed from 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>
     * Instance ID of the added tile, allocated when the tile instance was added
     * to the carousel. This ID will remain the same for this tile instance as
     * long it is not removed from the carousel.
     * </pre>
     *
     * <code>uint32 tile_id = 1;</code>
     * @return The tileId.
     */
    @java.lang.Override
    public int getTileId() {
      return tileId_;
    }
    /**
     * <pre>
     * Instance ID of the added tile, allocated when the tile instance was added
     * to the carousel. This ID will remain the same for this tile instance as
     * long it is not 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>
     * Instance ID of the added tile, allocated when the tile instance was added
     * to the carousel. This ID will remain the same for this tile instance as
     * long it is not removed from 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>
       * Instance ID of the added tile, allocated when the tile instance was added
       * to the carousel. This ID will remain the same for this tile instance as
       * long it is not removed from the carousel.
       * </pre>
       *
       * <code>uint32 tile_id = 1;</code>
       * @return The tileId.
       */
      @java.lang.Override
      public int getTileId() {
        return instance.getTileId();
      }
      /**
       * <pre>
       * Instance ID of the added tile, allocated when the tile instance was added
       * to the carousel. This ID will remain the same for this tile instance as
       * long it is not 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>
       * Instance ID of the added tile, allocated when the tile instance was added
       * to the carousel. This ID will remain the same for this tile instance as
       * long it is not 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.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>
     * Instance ID of the removed tile, allocated when the tile instance
     * was added to 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>
     * Instance ID of the removed tile, allocated when the tile instance
     * was added to the carousel.
     * </pre>
     *
     * <code>uint32 tile_id = 1;</code>
     * @return The tileId.
     */
    @java.lang.Override
    public int getTileId() {
      return tileId_;
    }
    /**
     * <pre>
     * Instance ID of the removed tile, allocated when the tile instance
     * was 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>
     * Instance ID of the removed tile, allocated when the tile instance
     * was added to 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>
       * Instance ID of the removed tile, allocated when the tile instance
       * was added to the carousel.
       * </pre>
       *
       * <code>uint32 tile_id = 1;</code>
       * @return The tileId.
       */
      @java.lang.Override
      public int getTileId() {
        return instance.getTileId();
      }
      /**
       * <pre>
       * Instance ID of the removed tile, allocated when the tile instance
       * was 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>
       * Instance ID of the removed tile, allocated when the tile instance
       * was 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.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>
     * Instance ID of the tile, allocated when the tile instance is added to the
     * carousel. This ID will remain the same for this tile instance as long it is
     * not removed from the carousel.
     * </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>
     * Instance ID of the tile, allocated when the tile instance is added to the
     * carousel. This ID will remain the same for this tile instance as long it is
     * not removed from the carousel.
     * </pre>
     *
     * <code>uint32 tile_id = 1;</code>
     * @return The tileId.
     */
    @java.lang.Override
    public int getTileId() {
      return tileId_;
    }
    /**
     * <pre>
     * Instance ID of the tile, allocated when the tile instance is added to the
     * carousel. This ID will remain the same for this tile instance as long it is
     * not 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>
     * Instance ID of the tile, allocated when the tile instance is added to the
     * carousel. This ID will remain the same for this tile instance as long it is
     * not removed from the carousel.
     * </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>
       * Instance ID of the tile, allocated when the tile instance is added to the
       * carousel. This ID will remain the same for this tile instance as long it is
       * not removed from the carousel.
       * </pre>
       *
       * <code>uint32 tile_id = 1;</code>
       * @return The tileId.
       */
      @java.lang.Override
      public int getTileId() {
        return instance.getTileId();
      }
      /**
       * <pre>
       * Instance ID of the tile, allocated when the tile instance is added to the
       * carousel. This ID will remain the same for this tile instance as long it is
       * not 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>
       * Instance ID of the tile, allocated when the tile instance is added to the
       * carousel. This ID will remain the same for this tile instance as long it is
       * not 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.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>
     * Instance ID of the tile, allocated when the tile instance is added to the
     * carousel. This ID will remain the same for this tile instance as long it is
     * not removed from the carousel.
     * </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>
     * Instance ID of the tile, allocated when the tile instance is added to the
     * carousel. This ID will remain the same for this tile instance as long it is
     * not removed from the carousel.
     * </pre>
     *
     * <code>uint32 tile_id = 1;</code>
     * @return The tileId.
     */
    @java.lang.Override
    public int getTileId() {
      return tileId_;
    }
    /**
     * <pre>
     * Instance ID of the tile, allocated when the tile instance is added to the
     * carousel. This ID will remain the same for this tile instance as long it is
     * not 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>
     * Instance ID of the tile, allocated when the tile instance is added to the
     * carousel. This ID will remain the same for this tile instance as long it is
     * not removed from the carousel.
     * </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>
       * Instance ID of the tile, allocated when the tile instance is added to the
       * carousel. This ID will remain the same for this tile instance as long it is
       * not removed from the carousel.
       * </pre>
       *
       * <code>uint32 tile_id = 1;</code>
       * @return The tileId.
       */
      @java.lang.Override
      public int getTileId() {
        return instance.getTileId();
      }
      /**
       * <pre>
       * Instance ID of the tile, allocated when the tile instance is added to the
       * carousel. This ID will remain the same for this tile instance as long it is
       * not 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>
       * Instance ID of the tile, allocated when the tile instance is added to the
       * carousel. This ID will remain the same for this tile instance as long it is
       * not 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.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();
    }
  }

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

    /**
     * <pre>
     * Instance ID of the tile, allocated when the tile instance is added to the
     * carousel. This ID will remain the same for this tile instance as long it is
     * not removed from the carousel.
     * </pre>
     *
     * <code>uint32 tile_id = 1;</code>
     * @return The tileId.
     */
    int getTileId();

    /**
     * <pre>
     * The timestamp of when the interaction was reported.
     * </pre>
     *
     * <code>uint64 timestamp_epoch_millis = 2;</code>
     * @return The timestampEpochMillis.
     */
    long getTimestampEpochMillis();

    /**
     * <pre>
     * Enter event
     * </pre>
     *
     * <code>.androidx.wear.tiles.proto.TileEnter enter = 3;</code>
     * @return Whether the enter field is set.
     */
    boolean hasEnter();
    /**
     * <pre>
     * Enter event
     * </pre>
     *
     * <code>.androidx.wear.tiles.proto.TileEnter enter = 3;</code>
     * @return The enter.
     */
    androidx.wear.tiles.proto.EventProto.TileEnter getEnter();

    /**
     * <pre>
     * Leave event
     * </pre>
     *
     * <code>.androidx.wear.tiles.proto.TileLeave leave = 4;</code>
     * @return Whether the leave field is set.
     */
    boolean hasLeave();
    /**
     * <pre>
     * Leave event
     * </pre>
     *
     * <code>.androidx.wear.tiles.proto.TileLeave leave = 4;</code>
     * @return The leave.
     */
    androidx.wear.tiles.proto.EventProto.TileLeave getLeave();

    public androidx.wear.tiles.proto.EventProto.TileInteractionEvent.InnerCase getInnerCase();
  }
  /**
   * <pre>
   * Event reported when a user interacts with a tile (e.g. entering or leaving a tile).
   * </pre>
   *
   * Protobuf type {@code androidx.wear.tiles.proto.TileInteractionEvent}
   */
  public  static final class TileInteractionEvent extends
      com.google.protobuf.GeneratedMessageLite<
          TileInteractionEvent, TileInteractionEvent.Builder> implements
      // @@protoc_insertion_point(message_implements:androidx.wear.tiles.proto.TileInteractionEvent)
      TileInteractionEventOrBuilder {
    private TileInteractionEvent() {
    }
    private int innerCase_ = 0;
    private java.lang.Object inner_;
    public enum InnerCase {
      ENTER(3),
      LEAVE(4),
      INNER_NOT_SET(0);
      private final int value;
      private InnerCase(int value) {
        this.value = value;
      }
      /**
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static InnerCase valueOf(int value) {
        return forNumber(value);
      }

      public static InnerCase forNumber(int value) {
        switch (value) {
          case 3: return ENTER;
          case 4: return LEAVE;
          case 0: return INNER_NOT_SET;
          default: return null;
        }
      }
      public int getNumber() {
        return this.value;
      }
    };

    @java.lang.Override
    public InnerCase
    getInnerCase() {
      return InnerCase.forNumber(
          innerCase_);
    }

    private void clearInner() {
      innerCase_ = 0;
      inner_ = null;
    }

    public static final int TILE_ID_FIELD_NUMBER = 1;
    private int tileId_;
    /**
     * <pre>
     * Instance ID of the tile, allocated when the tile instance is added to the
     * carousel. This ID will remain the same for this tile instance as long it is
     * not removed from the carousel.
     * </pre>
     *
     * <code>uint32 tile_id = 1;</code>
     * @return The tileId.
     */
    @java.lang.Override
    public int getTileId() {
      return tileId_;
    }
    /**
     * <pre>
     * Instance ID of the tile, allocated when the tile instance is added to the
     * carousel. This ID will remain the same for this tile instance as long it is
     * not 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>
     * Instance ID of the tile, allocated when the tile instance is added to the
     * carousel. This ID will remain the same for this tile instance as long it is
     * not removed from the carousel.
     * </pre>
     *
     * <code>uint32 tile_id = 1;</code>
     */
    private void clearTileId() {

      tileId_ = 0;
    }

    public static final int TIMESTAMP_EPOCH_MILLIS_FIELD_NUMBER = 2;
    private long timestampEpochMillis_;
    /**
     * <pre>
     * The timestamp of when the interaction was reported.
     * </pre>
     *
     * <code>uint64 timestamp_epoch_millis = 2;</code>
     * @return The timestampEpochMillis.
     */
    @java.lang.Override
    public long getTimestampEpochMillis() {
      return timestampEpochMillis_;
    }
    /**
     * <pre>
     * The timestamp of when the interaction was reported.
     * </pre>
     *
     * <code>uint64 timestamp_epoch_millis = 2;</code>
     * @param value The timestampEpochMillis to set.
     */
    private void setTimestampEpochMillis(long value) {
      
      timestampEpochMillis_ = value;
    }
    /**
     * <pre>
     * The timestamp of when the interaction was reported.
     * </pre>
     *
     * <code>uint64 timestamp_epoch_millis = 2;</code>
     */
    private void clearTimestampEpochMillis() {

      timestampEpochMillis_ = 0L;
    }

    public static final int ENTER_FIELD_NUMBER = 3;
    /**
     * <pre>
     * Enter event
     * </pre>
     *
     * <code>.androidx.wear.tiles.proto.TileEnter enter = 3;</code>
     */
    @java.lang.Override
    public boolean hasEnter() {
      return innerCase_ == 3;
    }
    /**
     * <pre>
     * Enter event
     * </pre>
     *
     * <code>.androidx.wear.tiles.proto.TileEnter enter = 3;</code>
     */
    @java.lang.Override
    public androidx.wear.tiles.proto.EventProto.TileEnter getEnter() {
      if (innerCase_ == 3) {
         return (androidx.wear.tiles.proto.EventProto.TileEnter) inner_;
      }
      return androidx.wear.tiles.proto.EventProto.TileEnter.getDefaultInstance();
    }
    /**
     * <pre>
     * Enter event
     * </pre>
     *
     * <code>.androidx.wear.tiles.proto.TileEnter enter = 3;</code>
     */
    private void setEnter(androidx.wear.tiles.proto.EventProto.TileEnter value) {
      value.getClass();
  inner_ = value;
      innerCase_ = 3;
    }
    /**
     * <pre>
     * Enter event
     * </pre>
     *
     * <code>.androidx.wear.tiles.proto.TileEnter enter = 3;</code>
     */
    private void mergeEnter(androidx.wear.tiles.proto.EventProto.TileEnter value) {
      value.getClass();
  if (innerCase_ == 3 &&
          inner_ != androidx.wear.tiles.proto.EventProto.TileEnter.getDefaultInstance()) {
        inner_ = androidx.wear.tiles.proto.EventProto.TileEnter.newBuilder((androidx.wear.tiles.proto.EventProto.TileEnter) inner_)
            .mergeFrom(value).buildPartial();
      } else {
        inner_ = value;
      }
      innerCase_ = 3;
    }
    /**
     * <pre>
     * Enter event
     * </pre>
     *
     * <code>.androidx.wear.tiles.proto.TileEnter enter = 3;</code>
     */
    private void clearEnter() {
      if (innerCase_ == 3) {
        innerCase_ = 0;
        inner_ = null;
      }
    }

    public static final int LEAVE_FIELD_NUMBER = 4;
    /**
     * <pre>
     * Leave event
     * </pre>
     *
     * <code>.androidx.wear.tiles.proto.TileLeave leave = 4;</code>
     */
    @java.lang.Override
    public boolean hasLeave() {
      return innerCase_ == 4;
    }
    /**
     * <pre>
     * Leave event
     * </pre>
     *
     * <code>.androidx.wear.tiles.proto.TileLeave leave = 4;</code>
     */
    @java.lang.Override
    public androidx.wear.tiles.proto.EventProto.TileLeave getLeave() {
      if (innerCase_ == 4) {
         return (androidx.wear.tiles.proto.EventProto.TileLeave) inner_;
      }
      return androidx.wear.tiles.proto.EventProto.TileLeave.getDefaultInstance();
    }
    /**
     * <pre>
     * Leave event
     * </pre>
     *
     * <code>.androidx.wear.tiles.proto.TileLeave leave = 4;</code>
     */
    private void setLeave(androidx.wear.tiles.proto.EventProto.TileLeave value) {
      value.getClass();
  inner_ = value;
      innerCase_ = 4;
    }
    /**
     * <pre>
     * Leave event
     * </pre>
     *
     * <code>.androidx.wear.tiles.proto.TileLeave leave = 4;</code>
     */
    private void mergeLeave(androidx.wear.tiles.proto.EventProto.TileLeave value) {
      value.getClass();
  if (innerCase_ == 4 &&
          inner_ != androidx.wear.tiles.proto.EventProto.TileLeave.getDefaultInstance()) {
        inner_ = androidx.wear.tiles.proto.EventProto.TileLeave.newBuilder((androidx.wear.tiles.proto.EventProto.TileLeave) inner_)
            .mergeFrom(value).buildPartial();
      } else {
        inner_ = value;
      }
      innerCase_ = 4;
    }
    /**
     * <pre>
     * Leave event
     * </pre>
     *
     * <code>.androidx.wear.tiles.proto.TileLeave leave = 4;</code>
     */
    private void clearLeave() {
      if (innerCase_ == 4) {
        innerCase_ = 0;
        inner_ = null;
      }
    }

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

    /**
     * <pre>
     * Event reported when a user interacts with a tile (e.g. entering or leaving a tile).
     * </pre>
     *
     * Protobuf type {@code androidx.wear.tiles.proto.TileInteractionEvent}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          androidx.wear.tiles.proto.EventProto.TileInteractionEvent, Builder> implements
        // @@protoc_insertion_point(builder_implements:androidx.wear.tiles.proto.TileInteractionEvent)
        androidx.wear.tiles.proto.EventProto.TileInteractionEventOrBuilder {
      // Construct using androidx.wear.tiles.proto.EventProto.TileInteractionEvent.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }

      @java.lang.Override
      public InnerCase
          getInnerCase() {
        return instance.getInnerCase();
      }

      public Builder clearInner() {
        copyOnWrite();
        instance.clearInner();
        return this;
      }


      /**
       * <pre>
       * Instance ID of the tile, allocated when the tile instance is added to the
       * carousel. This ID will remain the same for this tile instance as long it is
       * not removed from the carousel.
       * </pre>
       *
       * <code>uint32 tile_id = 1;</code>
       * @return The tileId.
       */
      @java.lang.Override
      public int getTileId() {
        return instance.getTileId();
      }
      /**
       * <pre>
       * Instance ID of the tile, allocated when the tile instance is added to the
       * carousel. This ID will remain the same for this tile instance as long it is
       * not 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>
       * Instance ID of the tile, allocated when the tile instance is added to the
       * carousel. This ID will remain the same for this tile instance as long it is
       * not removed from the carousel.
       * </pre>
       *
       * <code>uint32 tile_id = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearTileId() {
        copyOnWrite();
        instance.clearTileId();
        return this;
      }

      /**
       * <pre>
       * The timestamp of when the interaction was reported.
       * </pre>
       *
       * <code>uint64 timestamp_epoch_millis = 2;</code>
       * @return The timestampEpochMillis.
       */
      @java.lang.Override
      public long getTimestampEpochMillis() {
        return instance.getTimestampEpochMillis();
      }
      /**
       * <pre>
       * The timestamp of when the interaction was reported.
       * </pre>
       *
       * <code>uint64 timestamp_epoch_millis = 2;</code>
       * @param value The timestampEpochMillis to set.
       * @return This builder for chaining.
       */
      public Builder setTimestampEpochMillis(long value) {
        copyOnWrite();
        instance.setTimestampEpochMillis(value);
        return this;
      }
      /**
       * <pre>
       * The timestamp of when the interaction was reported.
       * </pre>
       *
       * <code>uint64 timestamp_epoch_millis = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearTimestampEpochMillis() {
        copyOnWrite();
        instance.clearTimestampEpochMillis();
        return this;
      }

      /**
       * <pre>
       * Enter event
       * </pre>
       *
       * <code>.androidx.wear.tiles.proto.TileEnter enter = 3;</code>
       */
      @java.lang.Override
      public boolean hasEnter() {
        return instance.hasEnter();
      }
      /**
       * <pre>
       * Enter event
       * </pre>
       *
       * <code>.androidx.wear.tiles.proto.TileEnter enter = 3;</code>
       */
      @java.lang.Override
      public androidx.wear.tiles.proto.EventProto.TileEnter getEnter() {
        return instance.getEnter();
      }
      /**
       * <pre>
       * Enter event
       * </pre>
       *
       * <code>.androidx.wear.tiles.proto.TileEnter enter = 3;</code>
       */
      public Builder setEnter(androidx.wear.tiles.proto.EventProto.TileEnter value) {
        copyOnWrite();
        instance.setEnter(value);
        return this;
      }
      /**
       * <pre>
       * Enter event
       * </pre>
       *
       * <code>.androidx.wear.tiles.proto.TileEnter enter = 3;</code>
       */
      public Builder setEnter(
          androidx.wear.tiles.proto.EventProto.TileEnter.Builder builderForValue) {
        copyOnWrite();
        instance.setEnter(builderForValue.build());
        return this;
      }
      /**
       * <pre>
       * Enter event
       * </pre>
       *
       * <code>.androidx.wear.tiles.proto.TileEnter enter = 3;</code>
       */
      public Builder mergeEnter(androidx.wear.tiles.proto.EventProto.TileEnter value) {
        copyOnWrite();
        instance.mergeEnter(value);
        return this;
      }
      /**
       * <pre>
       * Enter event
       * </pre>
       *
       * <code>.androidx.wear.tiles.proto.TileEnter enter = 3;</code>
       */
      public Builder clearEnter() {
        copyOnWrite();
        instance.clearEnter();
        return this;
      }

      /**
       * <pre>
       * Leave event
       * </pre>
       *
       * <code>.androidx.wear.tiles.proto.TileLeave leave = 4;</code>
       */
      @java.lang.Override
      public boolean hasLeave() {
        return instance.hasLeave();
      }
      /**
       * <pre>
       * Leave event
       * </pre>
       *
       * <code>.androidx.wear.tiles.proto.TileLeave leave = 4;</code>
       */
      @java.lang.Override
      public androidx.wear.tiles.proto.EventProto.TileLeave getLeave() {
        return instance.getLeave();
      }
      /**
       * <pre>
       * Leave event
       * </pre>
       *
       * <code>.androidx.wear.tiles.proto.TileLeave leave = 4;</code>
       */
      public Builder setLeave(androidx.wear.tiles.proto.EventProto.TileLeave value) {
        copyOnWrite();
        instance.setLeave(value);
        return this;
      }
      /**
       * <pre>
       * Leave event
       * </pre>
       *
       * <code>.androidx.wear.tiles.proto.TileLeave leave = 4;</code>
       */
      public Builder setLeave(
          androidx.wear.tiles.proto.EventProto.TileLeave.Builder builderForValue) {
        copyOnWrite();
        instance.setLeave(builderForValue.build());
        return this;
      }
      /**
       * <pre>
       * Leave event
       * </pre>
       *
       * <code>.androidx.wear.tiles.proto.TileLeave leave = 4;</code>
       */
      public Builder mergeLeave(androidx.wear.tiles.proto.EventProto.TileLeave value) {
        copyOnWrite();
        instance.mergeLeave(value);
        return this;
      }
      /**
       * <pre>
       * Leave event
       * </pre>
       *
       * <code>.androidx.wear.tiles.proto.TileLeave leave = 4;</code>
       */
      public Builder clearLeave() {
        copyOnWrite();
        instance.clearLeave();
        return this;
      }

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

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

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

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

  public interface TileEnterOrBuilder extends
      // @@protoc_insertion_point(interface_extends:androidx.wear.tiles.proto.TileEnter)
      com.google.protobuf.MessageLiteOrBuilder {
  }
  /**
   * <pre>
   * Event reported when a tile is swiped to by the user (i.e. it's visible on
   * screen).
   * </pre>
   *
   * Protobuf type {@code androidx.wear.tiles.proto.TileEnter}
   */
  public  static final class TileEnter extends
      com.google.protobuf.GeneratedMessageLite<
          TileEnter, TileEnter.Builder> implements
      // @@protoc_insertion_point(message_implements:androidx.wear.tiles.proto.TileEnter)
      TileEnterOrBuilder {
    private TileEnter() {
    }
    public static androidx.wear.tiles.proto.EventProto.TileEnter 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.TileEnter 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.TileEnter 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.TileEnter 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.TileEnter parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.wear.tiles.proto.EventProto.TileEnter 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.TileEnter 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.TileEnter 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.TileEnter parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }
    public static androidx.wear.tiles.proto.EventProto.TileEnter 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.TileEnter 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.TileEnter 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.TileEnter prototype) {
      return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
    }

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


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

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

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

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

  public interface TileLeaveOrBuilder extends
      // @@protoc_insertion_point(interface_extends:androidx.wear.tiles.proto.TileLeave)
      com.google.protobuf.MessageLiteOrBuilder {
  }
  /**
   * <pre>
   * Event reported 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.TileLeave}
   */
  public  static final class TileLeave extends
      com.google.protobuf.GeneratedMessageLite<
          TileLeave, TileLeave.Builder> implements
      // @@protoc_insertion_point(message_implements:androidx.wear.tiles.proto.TileLeave)
      TileLeaveOrBuilder {
    private TileLeave() {
    }
    public static androidx.wear.tiles.proto.EventProto.TileLeave 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.TileLeave 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.TileLeave 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.TileLeave 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.TileLeave parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.wear.tiles.proto.EventProto.TileLeave 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.TileLeave 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.TileLeave 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.TileLeave parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }
    public static androidx.wear.tiles.proto.EventProto.TileLeave 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.TileLeave 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.TileLeave 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.TileLeave prototype) {
      return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
    }

    /**
     * <pre>
     * Event reported 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.TileLeave}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          androidx.wear.tiles.proto.EventProto.TileLeave, Builder> implements
        // @@protoc_insertion_point(builder_implements:androidx.wear.tiles.proto.TileLeave)
        androidx.wear.tiles.proto.EventProto.TileLeaveOrBuilder {
      // Construct using androidx.wear.tiles.proto.EventProto.TileLeave.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }


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

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

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

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


  static {
  }

  // @@protoc_insertion_point(outer_class_scope)
}