public final class

TriggerProto

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.proto.TriggerProto

Gradle dependencies

compile group: 'androidx.wear.protolayout', name: 'protolayout-proto', version: '1.2.0'

  • groupId: androidx.wear.protolayout
  • artifactId: protolayout-proto
  • version: 1.2.0

Artifact androidx.wear.protolayout:protolayout-proto:1.2.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: trigger.proto

package androidx.wear.protolayout.proto;

public final class TriggerProto {
  private TriggerProto() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }
  public interface OnVisibleTriggerOrBuilder extends
      // @@protoc_insertion_point(interface_extends:androidx.wear.protolayout.proto.OnVisibleTrigger)
      com.google.protobuf.MessageLiteOrBuilder {
  }
  /**
   * <pre>
   * Triggers when the layout visibility state turns from invisible to fully
   * visible.
   * </pre>
   *
   * Protobuf type {@code androidx.wear.protolayout.proto.OnVisibleTrigger}
   */
  public  static final class OnVisibleTrigger extends
      com.google.protobuf.GeneratedMessageLite<
          OnVisibleTrigger, OnVisibleTrigger.Builder> implements
      // @@protoc_insertion_point(message_implements:androidx.wear.protolayout.proto.OnVisibleTrigger)
      OnVisibleTriggerOrBuilder {
    private OnVisibleTrigger() {
    }
    public static androidx.wear.protolayout.proto.TriggerProto.OnVisibleTrigger parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.wear.protolayout.proto.TriggerProto.OnVisibleTrigger 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.protolayout.proto.TriggerProto.OnVisibleTrigger parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.wear.protolayout.proto.TriggerProto.OnVisibleTrigger 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.protolayout.proto.TriggerProto.OnVisibleTrigger parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.wear.protolayout.proto.TriggerProto.OnVisibleTrigger 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.protolayout.proto.TriggerProto.OnVisibleTrigger parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static androidx.wear.protolayout.proto.TriggerProto.OnVisibleTrigger 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.protolayout.proto.TriggerProto.OnVisibleTrigger parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }
    public static androidx.wear.protolayout.proto.TriggerProto.OnVisibleTrigger parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static androidx.wear.protolayout.proto.TriggerProto.OnVisibleTrigger parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static androidx.wear.protolayout.proto.TriggerProto.OnVisibleTrigger 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.protolayout.proto.TriggerProto.OnVisibleTrigger prototype) {
      return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
    }

    /**
     * <pre>
     * Triggers when the layout visibility state turns from invisible to fully
     * visible.
     * </pre>
     *
     * Protobuf type {@code androidx.wear.protolayout.proto.OnVisibleTrigger}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          androidx.wear.protolayout.proto.TriggerProto.OnVisibleTrigger, Builder> implements
        // @@protoc_insertion_point(builder_implements:androidx.wear.protolayout.proto.OnVisibleTrigger)
        androidx.wear.protolayout.proto.TriggerProto.OnVisibleTriggerOrBuilder {
      // Construct using androidx.wear.protolayout.proto.TriggerProto.OnVisibleTrigger.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }


      // @@protoc_insertion_point(builder_scope:androidx.wear.protolayout.proto.OnVisibleTrigger)
    }
    @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.protolayout.proto.TriggerProto.OnVisibleTrigger();
        }
        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.protolayout.proto.TriggerProto.OnVisibleTrigger> parser = PARSER;
          if (parser == null) {
            synchronized (androidx.wear.protolayout.proto.TriggerProto.OnVisibleTrigger.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<androidx.wear.protolayout.proto.TriggerProto.OnVisibleTrigger>(
                        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.protolayout.proto.OnVisibleTrigger)
    private static final androidx.wear.protolayout.proto.TriggerProto.OnVisibleTrigger DEFAULT_INSTANCE;
    static {
      OnVisibleTrigger defaultInstance = new OnVisibleTrigger();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        OnVisibleTrigger.class, defaultInstance);
    }

    public static androidx.wear.protolayout.proto.TriggerProto.OnVisibleTrigger getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

  public interface OnVisibleOnceTriggerOrBuilder extends
      // @@protoc_insertion_point(interface_extends:androidx.wear.protolayout.proto.OnVisibleOnceTrigger)
      com.google.protobuf.MessageLiteOrBuilder {
  }
  /**
   * <pre>
   * Triggers only once when the layout visibility state turns from invisible to
   * fully visible for the first time.
   * </pre>
   *
   * Protobuf type {@code androidx.wear.protolayout.proto.OnVisibleOnceTrigger}
   */
  public  static final class OnVisibleOnceTrigger extends
      com.google.protobuf.GeneratedMessageLite<
          OnVisibleOnceTrigger, OnVisibleOnceTrigger.Builder> implements
      // @@protoc_insertion_point(message_implements:androidx.wear.protolayout.proto.OnVisibleOnceTrigger)
      OnVisibleOnceTriggerOrBuilder {
    private OnVisibleOnceTrigger() {
    }
    public static androidx.wear.protolayout.proto.TriggerProto.OnVisibleOnceTrigger parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.wear.protolayout.proto.TriggerProto.OnVisibleOnceTrigger 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.protolayout.proto.TriggerProto.OnVisibleOnceTrigger parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.wear.protolayout.proto.TriggerProto.OnVisibleOnceTrigger 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.protolayout.proto.TriggerProto.OnVisibleOnceTrigger parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.wear.protolayout.proto.TriggerProto.OnVisibleOnceTrigger 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.protolayout.proto.TriggerProto.OnVisibleOnceTrigger parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static androidx.wear.protolayout.proto.TriggerProto.OnVisibleOnceTrigger 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.protolayout.proto.TriggerProto.OnVisibleOnceTrigger parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }
    public static androidx.wear.protolayout.proto.TriggerProto.OnVisibleOnceTrigger parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static androidx.wear.protolayout.proto.TriggerProto.OnVisibleOnceTrigger parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static androidx.wear.protolayout.proto.TriggerProto.OnVisibleOnceTrigger 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.protolayout.proto.TriggerProto.OnVisibleOnceTrigger prototype) {
      return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
    }

    /**
     * <pre>
     * Triggers only once when the layout visibility state turns from invisible to
     * fully visible for the first time.
     * </pre>
     *
     * Protobuf type {@code androidx.wear.protolayout.proto.OnVisibleOnceTrigger}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          androidx.wear.protolayout.proto.TriggerProto.OnVisibleOnceTrigger, Builder> implements
        // @@protoc_insertion_point(builder_implements:androidx.wear.protolayout.proto.OnVisibleOnceTrigger)
        androidx.wear.protolayout.proto.TriggerProto.OnVisibleOnceTriggerOrBuilder {
      // Construct using androidx.wear.protolayout.proto.TriggerProto.OnVisibleOnceTrigger.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }


      // @@protoc_insertion_point(builder_scope:androidx.wear.protolayout.proto.OnVisibleOnceTrigger)
    }
    @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.protolayout.proto.TriggerProto.OnVisibleOnceTrigger();
        }
        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.protolayout.proto.TriggerProto.OnVisibleOnceTrigger> parser = PARSER;
          if (parser == null) {
            synchronized (androidx.wear.protolayout.proto.TriggerProto.OnVisibleOnceTrigger.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<androidx.wear.protolayout.proto.TriggerProto.OnVisibleOnceTrigger>(
                        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.protolayout.proto.OnVisibleOnceTrigger)
    private static final androidx.wear.protolayout.proto.TriggerProto.OnVisibleOnceTrigger DEFAULT_INSTANCE;
    static {
      OnVisibleOnceTrigger defaultInstance = new OnVisibleOnceTrigger();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        OnVisibleOnceTrigger.class, defaultInstance);
    }

    public static androidx.wear.protolayout.proto.TriggerProto.OnVisibleOnceTrigger getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

  public interface OnLoadTriggerOrBuilder extends
      // @@protoc_insertion_point(interface_extends:androidx.wear.protolayout.proto.OnLoadTrigger)
      com.google.protobuf.MessageLiteOrBuilder {
  }
  /**
   * <pre>
   * Triggers immediately when the layout is loaded / reloaded.
   * </pre>
   *
   * Protobuf type {@code androidx.wear.protolayout.proto.OnLoadTrigger}
   */
  public  static final class OnLoadTrigger extends
      com.google.protobuf.GeneratedMessageLite<
          OnLoadTrigger, OnLoadTrigger.Builder> implements
      // @@protoc_insertion_point(message_implements:androidx.wear.protolayout.proto.OnLoadTrigger)
      OnLoadTriggerOrBuilder {
    private OnLoadTrigger() {
    }
    public static androidx.wear.protolayout.proto.TriggerProto.OnLoadTrigger parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.wear.protolayout.proto.TriggerProto.OnLoadTrigger 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.protolayout.proto.TriggerProto.OnLoadTrigger parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.wear.protolayout.proto.TriggerProto.OnLoadTrigger 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.protolayout.proto.TriggerProto.OnLoadTrigger parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.wear.protolayout.proto.TriggerProto.OnLoadTrigger 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.protolayout.proto.TriggerProto.OnLoadTrigger parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static androidx.wear.protolayout.proto.TriggerProto.OnLoadTrigger 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.protolayout.proto.TriggerProto.OnLoadTrigger parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }
    public static androidx.wear.protolayout.proto.TriggerProto.OnLoadTrigger parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static androidx.wear.protolayout.proto.TriggerProto.OnLoadTrigger parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static androidx.wear.protolayout.proto.TriggerProto.OnLoadTrigger 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.protolayout.proto.TriggerProto.OnLoadTrigger prototype) {
      return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
    }

    /**
     * <pre>
     * Triggers immediately when the layout is loaded / reloaded.
     * </pre>
     *
     * Protobuf type {@code androidx.wear.protolayout.proto.OnLoadTrigger}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          androidx.wear.protolayout.proto.TriggerProto.OnLoadTrigger, Builder> implements
        // @@protoc_insertion_point(builder_implements:androidx.wear.protolayout.proto.OnLoadTrigger)
        androidx.wear.protolayout.proto.TriggerProto.OnLoadTriggerOrBuilder {
      // Construct using androidx.wear.protolayout.proto.TriggerProto.OnLoadTrigger.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }


      // @@protoc_insertion_point(builder_scope:androidx.wear.protolayout.proto.OnLoadTrigger)
    }
    @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.protolayout.proto.TriggerProto.OnLoadTrigger();
        }
        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.protolayout.proto.TriggerProto.OnLoadTrigger> parser = PARSER;
          if (parser == null) {
            synchronized (androidx.wear.protolayout.proto.TriggerProto.OnLoadTrigger.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<androidx.wear.protolayout.proto.TriggerProto.OnLoadTrigger>(
                        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.protolayout.proto.OnLoadTrigger)
    private static final androidx.wear.protolayout.proto.TriggerProto.OnLoadTrigger DEFAULT_INSTANCE;
    static {
      OnLoadTrigger defaultInstance = new OnLoadTrigger();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        OnLoadTrigger.class, defaultInstance);
    }

    public static androidx.wear.protolayout.proto.TriggerProto.OnLoadTrigger getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

  public interface OnConditionMetTriggerOrBuilder extends
      // @@protoc_insertion_point(interface_extends:androidx.wear.protolayout.proto.OnConditionMetTrigger)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * <pre>
     * Dynamic boolean used as trigger.
     * </pre>
     *
     * <code>.androidx.wear.protolayout.expression.proto.DynamicBool condition = 1;</code>
     * @return Whether the condition field is set.
     */
    boolean hasCondition();
    /**
     * <pre>
     * Dynamic boolean used as trigger.
     * </pre>
     *
     * <code>.androidx.wear.protolayout.expression.proto.DynamicBool condition = 1;</code>
     * @return The condition.
     */
    androidx.wear.protolayout.expression.proto.DynamicProto.DynamicBool getCondition();
  }
  /**
   * <pre>
   * Triggers *every time* the condition switches from false to true. If the
   * condition is true initially, that will fire the trigger on load.
   * </pre>
   *
   * Protobuf type {@code androidx.wear.protolayout.proto.OnConditionMetTrigger}
   */
  public  static final class OnConditionMetTrigger extends
      com.google.protobuf.GeneratedMessageLite<
          OnConditionMetTrigger, OnConditionMetTrigger.Builder> implements
      // @@protoc_insertion_point(message_implements:androidx.wear.protolayout.proto.OnConditionMetTrigger)
      OnConditionMetTriggerOrBuilder {
    private OnConditionMetTrigger() {
    }
    public static final int CONDITION_FIELD_NUMBER = 1;
    private androidx.wear.protolayout.expression.proto.DynamicProto.DynamicBool condition_;
    /**
     * <pre>
     * Dynamic boolean used as trigger.
     * </pre>
     *
     * <code>.androidx.wear.protolayout.expression.proto.DynamicBool condition = 1;</code>
     */
    @java.lang.Override
    public boolean hasCondition() {
      return condition_ != null;
    }
    /**
     * <pre>
     * Dynamic boolean used as trigger.
     * </pre>
     *
     * <code>.androidx.wear.protolayout.expression.proto.DynamicBool condition = 1;</code>
     */
    @java.lang.Override
    public androidx.wear.protolayout.expression.proto.DynamicProto.DynamicBool getCondition() {
      return condition_ == null ? androidx.wear.protolayout.expression.proto.DynamicProto.DynamicBool.getDefaultInstance() : condition_;
    }
    /**
     * <pre>
     * Dynamic boolean used as trigger.
     * </pre>
     *
     * <code>.androidx.wear.protolayout.expression.proto.DynamicBool condition = 1;</code>
     */
    private void setCondition(androidx.wear.protolayout.expression.proto.DynamicProto.DynamicBool value) {
      value.getClass();
  condition_ = value;

      }
    /**
     * <pre>
     * Dynamic boolean used as trigger.
     * </pre>
     *
     * <code>.androidx.wear.protolayout.expression.proto.DynamicBool condition = 1;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeCondition(androidx.wear.protolayout.expression.proto.DynamicProto.DynamicBool value) {
      value.getClass();
  if (condition_ != null &&
          condition_ != androidx.wear.protolayout.expression.proto.DynamicProto.DynamicBool.getDefaultInstance()) {
        condition_ =
          androidx.wear.protolayout.expression.proto.DynamicProto.DynamicBool.newBuilder(condition_).mergeFrom(value).buildPartial();
      } else {
        condition_ = value;
      }

    }
    /**
     * <pre>
     * Dynamic boolean used as trigger.
     * </pre>
     *
     * <code>.androidx.wear.protolayout.expression.proto.DynamicBool condition = 1;</code>
     */
    private void clearCondition() {  condition_ = null;

    }

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

    /**
     * <pre>
     * Triggers *every time* the condition switches from false to true. If the
     * condition is true initially, that will fire the trigger on load.
     * </pre>
     *
     * Protobuf type {@code androidx.wear.protolayout.proto.OnConditionMetTrigger}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          androidx.wear.protolayout.proto.TriggerProto.OnConditionMetTrigger, Builder> implements
        // @@protoc_insertion_point(builder_implements:androidx.wear.protolayout.proto.OnConditionMetTrigger)
        androidx.wear.protolayout.proto.TriggerProto.OnConditionMetTriggerOrBuilder {
      // Construct using androidx.wear.protolayout.proto.TriggerProto.OnConditionMetTrigger.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }


      /**
       * <pre>
       * Dynamic boolean used as trigger.
       * </pre>
       *
       * <code>.androidx.wear.protolayout.expression.proto.DynamicBool condition = 1;</code>
       */
      @java.lang.Override
      public boolean hasCondition() {
        return instance.hasCondition();
      }
      /**
       * <pre>
       * Dynamic boolean used as trigger.
       * </pre>
       *
       * <code>.androidx.wear.protolayout.expression.proto.DynamicBool condition = 1;</code>
       */
      @java.lang.Override
      public androidx.wear.protolayout.expression.proto.DynamicProto.DynamicBool getCondition() {
        return instance.getCondition();
      }
      /**
       * <pre>
       * Dynamic boolean used as trigger.
       * </pre>
       *
       * <code>.androidx.wear.protolayout.expression.proto.DynamicBool condition = 1;</code>
       */
      public Builder setCondition(androidx.wear.protolayout.expression.proto.DynamicProto.DynamicBool value) {
        copyOnWrite();
        instance.setCondition(value);
        return this;
        }
      /**
       * <pre>
       * Dynamic boolean used as trigger.
       * </pre>
       *
       * <code>.androidx.wear.protolayout.expression.proto.DynamicBool condition = 1;</code>
       */
      public Builder setCondition(
          androidx.wear.protolayout.expression.proto.DynamicProto.DynamicBool.Builder builderForValue) {
        copyOnWrite();
        instance.setCondition(builderForValue.build());
        return this;
      }
      /**
       * <pre>
       * Dynamic boolean used as trigger.
       * </pre>
       *
       * <code>.androidx.wear.protolayout.expression.proto.DynamicBool condition = 1;</code>
       */
      public Builder mergeCondition(androidx.wear.protolayout.expression.proto.DynamicProto.DynamicBool value) {
        copyOnWrite();
        instance.mergeCondition(value);
        return this;
      }
      /**
       * <pre>
       * Dynamic boolean used as trigger.
       * </pre>
       *
       * <code>.androidx.wear.protolayout.expression.proto.DynamicBool condition = 1;</code>
       */
      public Builder clearCondition() {  copyOnWrite();
        instance.clearCondition();
        return this;
      }

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

    public static androidx.wear.protolayout.proto.TriggerProto.OnConditionMetTrigger getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

  public interface TriggerOrBuilder extends
      // @@protoc_insertion_point(interface_extends:androidx.wear.protolayout.proto.Trigger)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * <code>.androidx.wear.protolayout.proto.OnVisibleTrigger on_visible_trigger = 1;</code>
     * @return Whether the onVisibleTrigger field is set.
     */
    boolean hasOnVisibleTrigger();
    /**
     * <code>.androidx.wear.protolayout.proto.OnVisibleTrigger on_visible_trigger = 1;</code>
     * @return The onVisibleTrigger.
     */
    androidx.wear.protolayout.proto.TriggerProto.OnVisibleTrigger getOnVisibleTrigger();

    /**
     * <code>.androidx.wear.protolayout.proto.OnVisibleOnceTrigger on_visible_once_trigger = 2;</code>
     * @return Whether the onVisibleOnceTrigger field is set.
     */
    boolean hasOnVisibleOnceTrigger();
    /**
     * <code>.androidx.wear.protolayout.proto.OnVisibleOnceTrigger on_visible_once_trigger = 2;</code>
     * @return The onVisibleOnceTrigger.
     */
    androidx.wear.protolayout.proto.TriggerProto.OnVisibleOnceTrigger getOnVisibleOnceTrigger();

    /**
     * <code>.androidx.wear.protolayout.proto.OnLoadTrigger on_load_trigger = 3;</code>
     * @return Whether the onLoadTrigger field is set.
     */
    boolean hasOnLoadTrigger();
    /**
     * <code>.androidx.wear.protolayout.proto.OnLoadTrigger on_load_trigger = 3;</code>
     * @return The onLoadTrigger.
     */
    androidx.wear.protolayout.proto.TriggerProto.OnLoadTrigger getOnLoadTrigger();

    /**
     * <code>.androidx.wear.protolayout.proto.OnConditionMetTrigger on_condition_met_trigger = 4;</code>
     * @return Whether the onConditionMetTrigger field is set.
     */
    boolean hasOnConditionMetTrigger();
    /**
     * <code>.androidx.wear.protolayout.proto.OnConditionMetTrigger on_condition_met_trigger = 4;</code>
     * @return The onConditionMetTrigger.
     */
    androidx.wear.protolayout.proto.TriggerProto.OnConditionMetTrigger getOnConditionMetTrigger();

    public androidx.wear.protolayout.proto.TriggerProto.Trigger.InnerCase getInnerCase();
  }
  /**
   * <pre>
   * The triggers that can be fired. These triggers can be used to allow acting on
   * events. For example some animations can be set to start based on a trigger.
   * </pre>
   *
   * Protobuf type {@code androidx.wear.protolayout.proto.Trigger}
   */
  public  static final class Trigger extends
      com.google.protobuf.GeneratedMessageLite<
          Trigger, Trigger.Builder> implements
      // @@protoc_insertion_point(message_implements:androidx.wear.protolayout.proto.Trigger)
      TriggerOrBuilder {
    private Trigger() {
    }
    private int innerCase_ = 0;
    private java.lang.Object inner_;
    public enum InnerCase {
      ON_VISIBLE_TRIGGER(1),
      ON_VISIBLE_ONCE_TRIGGER(2),
      ON_LOAD_TRIGGER(3),
      ON_CONDITION_MET_TRIGGER(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 1: return ON_VISIBLE_TRIGGER;
          case 2: return ON_VISIBLE_ONCE_TRIGGER;
          case 3: return ON_LOAD_TRIGGER;
          case 4: return ON_CONDITION_MET_TRIGGER;
          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 ON_VISIBLE_TRIGGER_FIELD_NUMBER = 1;
    /**
     * <code>.androidx.wear.protolayout.proto.OnVisibleTrigger on_visible_trigger = 1;</code>
     */
    @java.lang.Override
    public boolean hasOnVisibleTrigger() {
      return innerCase_ == 1;
    }
    /**
     * <code>.androidx.wear.protolayout.proto.OnVisibleTrigger on_visible_trigger = 1;</code>
     */
    @java.lang.Override
    public androidx.wear.protolayout.proto.TriggerProto.OnVisibleTrigger getOnVisibleTrigger() {
      if (innerCase_ == 1) {
         return (androidx.wear.protolayout.proto.TriggerProto.OnVisibleTrigger) inner_;
      }
      return androidx.wear.protolayout.proto.TriggerProto.OnVisibleTrigger.getDefaultInstance();
    }
    /**
     * <code>.androidx.wear.protolayout.proto.OnVisibleTrigger on_visible_trigger = 1;</code>
     */
    private void setOnVisibleTrigger(androidx.wear.protolayout.proto.TriggerProto.OnVisibleTrigger value) {
      value.getClass();
  inner_ = value;
      innerCase_ = 1;
    }
    /**
     * <code>.androidx.wear.protolayout.proto.OnVisibleTrigger on_visible_trigger = 1;</code>
     */
    private void mergeOnVisibleTrigger(androidx.wear.protolayout.proto.TriggerProto.OnVisibleTrigger value) {
      value.getClass();
  if (innerCase_ == 1 &&
          inner_ != androidx.wear.protolayout.proto.TriggerProto.OnVisibleTrigger.getDefaultInstance()) {
        inner_ = androidx.wear.protolayout.proto.TriggerProto.OnVisibleTrigger.newBuilder((androidx.wear.protolayout.proto.TriggerProto.OnVisibleTrigger) inner_)
            .mergeFrom(value).buildPartial();
      } else {
        inner_ = value;
      }
      innerCase_ = 1;
    }
    /**
     * <code>.androidx.wear.protolayout.proto.OnVisibleTrigger on_visible_trigger = 1;</code>
     */
    private void clearOnVisibleTrigger() {
      if (innerCase_ == 1) {
        innerCase_ = 0;
        inner_ = null;
      }
    }

    public static final int ON_VISIBLE_ONCE_TRIGGER_FIELD_NUMBER = 2;
    /**
     * <code>.androidx.wear.protolayout.proto.OnVisibleOnceTrigger on_visible_once_trigger = 2;</code>
     */
    @java.lang.Override
    public boolean hasOnVisibleOnceTrigger() {
      return innerCase_ == 2;
    }
    /**
     * <code>.androidx.wear.protolayout.proto.OnVisibleOnceTrigger on_visible_once_trigger = 2;</code>
     */
    @java.lang.Override
    public androidx.wear.protolayout.proto.TriggerProto.OnVisibleOnceTrigger getOnVisibleOnceTrigger() {
      if (innerCase_ == 2) {
         return (androidx.wear.protolayout.proto.TriggerProto.OnVisibleOnceTrigger) inner_;
      }
      return androidx.wear.protolayout.proto.TriggerProto.OnVisibleOnceTrigger.getDefaultInstance();
    }
    /**
     * <code>.androidx.wear.protolayout.proto.OnVisibleOnceTrigger on_visible_once_trigger = 2;</code>
     */
    private void setOnVisibleOnceTrigger(androidx.wear.protolayout.proto.TriggerProto.OnVisibleOnceTrigger value) {
      value.getClass();
  inner_ = value;
      innerCase_ = 2;
    }
    /**
     * <code>.androidx.wear.protolayout.proto.OnVisibleOnceTrigger on_visible_once_trigger = 2;</code>
     */
    private void mergeOnVisibleOnceTrigger(androidx.wear.protolayout.proto.TriggerProto.OnVisibleOnceTrigger value) {
      value.getClass();
  if (innerCase_ == 2 &&
          inner_ != androidx.wear.protolayout.proto.TriggerProto.OnVisibleOnceTrigger.getDefaultInstance()) {
        inner_ = androidx.wear.protolayout.proto.TriggerProto.OnVisibleOnceTrigger.newBuilder((androidx.wear.protolayout.proto.TriggerProto.OnVisibleOnceTrigger) inner_)
            .mergeFrom(value).buildPartial();
      } else {
        inner_ = value;
      }
      innerCase_ = 2;
    }
    /**
     * <code>.androidx.wear.protolayout.proto.OnVisibleOnceTrigger on_visible_once_trigger = 2;</code>
     */
    private void clearOnVisibleOnceTrigger() {
      if (innerCase_ == 2) {
        innerCase_ = 0;
        inner_ = null;
      }
    }

    public static final int ON_LOAD_TRIGGER_FIELD_NUMBER = 3;
    /**
     * <code>.androidx.wear.protolayout.proto.OnLoadTrigger on_load_trigger = 3;</code>
     */
    @java.lang.Override
    public boolean hasOnLoadTrigger() {
      return innerCase_ == 3;
    }
    /**
     * <code>.androidx.wear.protolayout.proto.OnLoadTrigger on_load_trigger = 3;</code>
     */
    @java.lang.Override
    public androidx.wear.protolayout.proto.TriggerProto.OnLoadTrigger getOnLoadTrigger() {
      if (innerCase_ == 3) {
         return (androidx.wear.protolayout.proto.TriggerProto.OnLoadTrigger) inner_;
      }
      return androidx.wear.protolayout.proto.TriggerProto.OnLoadTrigger.getDefaultInstance();
    }
    /**
     * <code>.androidx.wear.protolayout.proto.OnLoadTrigger on_load_trigger = 3;</code>
     */
    private void setOnLoadTrigger(androidx.wear.protolayout.proto.TriggerProto.OnLoadTrigger value) {
      value.getClass();
  inner_ = value;
      innerCase_ = 3;
    }
    /**
     * <code>.androidx.wear.protolayout.proto.OnLoadTrigger on_load_trigger = 3;</code>
     */
    private void mergeOnLoadTrigger(androidx.wear.protolayout.proto.TriggerProto.OnLoadTrigger value) {
      value.getClass();
  if (innerCase_ == 3 &&
          inner_ != androidx.wear.protolayout.proto.TriggerProto.OnLoadTrigger.getDefaultInstance()) {
        inner_ = androidx.wear.protolayout.proto.TriggerProto.OnLoadTrigger.newBuilder((androidx.wear.protolayout.proto.TriggerProto.OnLoadTrigger) inner_)
            .mergeFrom(value).buildPartial();
      } else {
        inner_ = value;
      }
      innerCase_ = 3;
    }
    /**
     * <code>.androidx.wear.protolayout.proto.OnLoadTrigger on_load_trigger = 3;</code>
     */
    private void clearOnLoadTrigger() {
      if (innerCase_ == 3) {
        innerCase_ = 0;
        inner_ = null;
      }
    }

    public static final int ON_CONDITION_MET_TRIGGER_FIELD_NUMBER = 4;
    /**
     * <code>.androidx.wear.protolayout.proto.OnConditionMetTrigger on_condition_met_trigger = 4;</code>
     */
    @java.lang.Override
    public boolean hasOnConditionMetTrigger() {
      return innerCase_ == 4;
    }
    /**
     * <code>.androidx.wear.protolayout.proto.OnConditionMetTrigger on_condition_met_trigger = 4;</code>
     */
    @java.lang.Override
    public androidx.wear.protolayout.proto.TriggerProto.OnConditionMetTrigger getOnConditionMetTrigger() {
      if (innerCase_ == 4) {
         return (androidx.wear.protolayout.proto.TriggerProto.OnConditionMetTrigger) inner_;
      }
      return androidx.wear.protolayout.proto.TriggerProto.OnConditionMetTrigger.getDefaultInstance();
    }
    /**
     * <code>.androidx.wear.protolayout.proto.OnConditionMetTrigger on_condition_met_trigger = 4;</code>
     */
    private void setOnConditionMetTrigger(androidx.wear.protolayout.proto.TriggerProto.OnConditionMetTrigger value) {
      value.getClass();
  inner_ = value;
      innerCase_ = 4;
    }
    /**
     * <code>.androidx.wear.protolayout.proto.OnConditionMetTrigger on_condition_met_trigger = 4;</code>
     */
    private void mergeOnConditionMetTrigger(androidx.wear.protolayout.proto.TriggerProto.OnConditionMetTrigger value) {
      value.getClass();
  if (innerCase_ == 4 &&
          inner_ != androidx.wear.protolayout.proto.TriggerProto.OnConditionMetTrigger.getDefaultInstance()) {
        inner_ = androidx.wear.protolayout.proto.TriggerProto.OnConditionMetTrigger.newBuilder((androidx.wear.protolayout.proto.TriggerProto.OnConditionMetTrigger) inner_)
            .mergeFrom(value).buildPartial();
      } else {
        inner_ = value;
      }
      innerCase_ = 4;
    }
    /**
     * <code>.androidx.wear.protolayout.proto.OnConditionMetTrigger on_condition_met_trigger = 4;</code>
     */
    private void clearOnConditionMetTrigger() {
      if (innerCase_ == 4) {
        innerCase_ = 0;
        inner_ = null;
      }
    }

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

    /**
     * <pre>
     * The triggers that can be fired. These triggers can be used to allow acting on
     * events. For example some animations can be set to start based on a trigger.
     * </pre>
     *
     * Protobuf type {@code androidx.wear.protolayout.proto.Trigger}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          androidx.wear.protolayout.proto.TriggerProto.Trigger, Builder> implements
        // @@protoc_insertion_point(builder_implements:androidx.wear.protolayout.proto.Trigger)
        androidx.wear.protolayout.proto.TriggerProto.TriggerOrBuilder {
      // Construct using androidx.wear.protolayout.proto.TriggerProto.Trigger.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }

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

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


      /**
       * <code>.androidx.wear.protolayout.proto.OnVisibleTrigger on_visible_trigger = 1;</code>
       */
      @java.lang.Override
      public boolean hasOnVisibleTrigger() {
        return instance.hasOnVisibleTrigger();
      }
      /**
       * <code>.androidx.wear.protolayout.proto.OnVisibleTrigger on_visible_trigger = 1;</code>
       */
      @java.lang.Override
      public androidx.wear.protolayout.proto.TriggerProto.OnVisibleTrigger getOnVisibleTrigger() {
        return instance.getOnVisibleTrigger();
      }
      /**
       * <code>.androidx.wear.protolayout.proto.OnVisibleTrigger on_visible_trigger = 1;</code>
       */
      public Builder setOnVisibleTrigger(androidx.wear.protolayout.proto.TriggerProto.OnVisibleTrigger value) {
        copyOnWrite();
        instance.setOnVisibleTrigger(value);
        return this;
      }
      /**
       * <code>.androidx.wear.protolayout.proto.OnVisibleTrigger on_visible_trigger = 1;</code>
       */
      public Builder setOnVisibleTrigger(
          androidx.wear.protolayout.proto.TriggerProto.OnVisibleTrigger.Builder builderForValue) {
        copyOnWrite();
        instance.setOnVisibleTrigger(builderForValue.build());
        return this;
      }
      /**
       * <code>.androidx.wear.protolayout.proto.OnVisibleTrigger on_visible_trigger = 1;</code>
       */
      public Builder mergeOnVisibleTrigger(androidx.wear.protolayout.proto.TriggerProto.OnVisibleTrigger value) {
        copyOnWrite();
        instance.mergeOnVisibleTrigger(value);
        return this;
      }
      /**
       * <code>.androidx.wear.protolayout.proto.OnVisibleTrigger on_visible_trigger = 1;</code>
       */
      public Builder clearOnVisibleTrigger() {
        copyOnWrite();
        instance.clearOnVisibleTrigger();
        return this;
      }

      /**
       * <code>.androidx.wear.protolayout.proto.OnVisibleOnceTrigger on_visible_once_trigger = 2;</code>
       */
      @java.lang.Override
      public boolean hasOnVisibleOnceTrigger() {
        return instance.hasOnVisibleOnceTrigger();
      }
      /**
       * <code>.androidx.wear.protolayout.proto.OnVisibleOnceTrigger on_visible_once_trigger = 2;</code>
       */
      @java.lang.Override
      public androidx.wear.protolayout.proto.TriggerProto.OnVisibleOnceTrigger getOnVisibleOnceTrigger() {
        return instance.getOnVisibleOnceTrigger();
      }
      /**
       * <code>.androidx.wear.protolayout.proto.OnVisibleOnceTrigger on_visible_once_trigger = 2;</code>
       */
      public Builder setOnVisibleOnceTrigger(androidx.wear.protolayout.proto.TriggerProto.OnVisibleOnceTrigger value) {
        copyOnWrite();
        instance.setOnVisibleOnceTrigger(value);
        return this;
      }
      /**
       * <code>.androidx.wear.protolayout.proto.OnVisibleOnceTrigger on_visible_once_trigger = 2;</code>
       */
      public Builder setOnVisibleOnceTrigger(
          androidx.wear.protolayout.proto.TriggerProto.OnVisibleOnceTrigger.Builder builderForValue) {
        copyOnWrite();
        instance.setOnVisibleOnceTrigger(builderForValue.build());
        return this;
      }
      /**
       * <code>.androidx.wear.protolayout.proto.OnVisibleOnceTrigger on_visible_once_trigger = 2;</code>
       */
      public Builder mergeOnVisibleOnceTrigger(androidx.wear.protolayout.proto.TriggerProto.OnVisibleOnceTrigger value) {
        copyOnWrite();
        instance.mergeOnVisibleOnceTrigger(value);
        return this;
      }
      /**
       * <code>.androidx.wear.protolayout.proto.OnVisibleOnceTrigger on_visible_once_trigger = 2;</code>
       */
      public Builder clearOnVisibleOnceTrigger() {
        copyOnWrite();
        instance.clearOnVisibleOnceTrigger();
        return this;
      }

      /**
       * <code>.androidx.wear.protolayout.proto.OnLoadTrigger on_load_trigger = 3;</code>
       */
      @java.lang.Override
      public boolean hasOnLoadTrigger() {
        return instance.hasOnLoadTrigger();
      }
      /**
       * <code>.androidx.wear.protolayout.proto.OnLoadTrigger on_load_trigger = 3;</code>
       */
      @java.lang.Override
      public androidx.wear.protolayout.proto.TriggerProto.OnLoadTrigger getOnLoadTrigger() {
        return instance.getOnLoadTrigger();
      }
      /**
       * <code>.androidx.wear.protolayout.proto.OnLoadTrigger on_load_trigger = 3;</code>
       */
      public Builder setOnLoadTrigger(androidx.wear.protolayout.proto.TriggerProto.OnLoadTrigger value) {
        copyOnWrite();
        instance.setOnLoadTrigger(value);
        return this;
      }
      /**
       * <code>.androidx.wear.protolayout.proto.OnLoadTrigger on_load_trigger = 3;</code>
       */
      public Builder setOnLoadTrigger(
          androidx.wear.protolayout.proto.TriggerProto.OnLoadTrigger.Builder builderForValue) {
        copyOnWrite();
        instance.setOnLoadTrigger(builderForValue.build());
        return this;
      }
      /**
       * <code>.androidx.wear.protolayout.proto.OnLoadTrigger on_load_trigger = 3;</code>
       */
      public Builder mergeOnLoadTrigger(androidx.wear.protolayout.proto.TriggerProto.OnLoadTrigger value) {
        copyOnWrite();
        instance.mergeOnLoadTrigger(value);
        return this;
      }
      /**
       * <code>.androidx.wear.protolayout.proto.OnLoadTrigger on_load_trigger = 3;</code>
       */
      public Builder clearOnLoadTrigger() {
        copyOnWrite();
        instance.clearOnLoadTrigger();
        return this;
      }

      /**
       * <code>.androidx.wear.protolayout.proto.OnConditionMetTrigger on_condition_met_trigger = 4;</code>
       */
      @java.lang.Override
      public boolean hasOnConditionMetTrigger() {
        return instance.hasOnConditionMetTrigger();
      }
      /**
       * <code>.androidx.wear.protolayout.proto.OnConditionMetTrigger on_condition_met_trigger = 4;</code>
       */
      @java.lang.Override
      public androidx.wear.protolayout.proto.TriggerProto.OnConditionMetTrigger getOnConditionMetTrigger() {
        return instance.getOnConditionMetTrigger();
      }
      /**
       * <code>.androidx.wear.protolayout.proto.OnConditionMetTrigger on_condition_met_trigger = 4;</code>
       */
      public Builder setOnConditionMetTrigger(androidx.wear.protolayout.proto.TriggerProto.OnConditionMetTrigger value) {
        copyOnWrite();
        instance.setOnConditionMetTrigger(value);
        return this;
      }
      /**
       * <code>.androidx.wear.protolayout.proto.OnConditionMetTrigger on_condition_met_trigger = 4;</code>
       */
      public Builder setOnConditionMetTrigger(
          androidx.wear.protolayout.proto.TriggerProto.OnConditionMetTrigger.Builder builderForValue) {
        copyOnWrite();
        instance.setOnConditionMetTrigger(builderForValue.build());
        return this;
      }
      /**
       * <code>.androidx.wear.protolayout.proto.OnConditionMetTrigger on_condition_met_trigger = 4;</code>
       */
      public Builder mergeOnConditionMetTrigger(androidx.wear.protolayout.proto.TriggerProto.OnConditionMetTrigger value) {
        copyOnWrite();
        instance.mergeOnConditionMetTrigger(value);
        return this;
      }
      /**
       * <code>.androidx.wear.protolayout.proto.OnConditionMetTrigger on_condition_met_trigger = 4;</code>
       */
      public Builder clearOnConditionMetTrigger() {
        copyOnWrite();
        instance.clearOnConditionMetTrigger();
        return this;
      }

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

    public static androidx.wear.protolayout.proto.TriggerProto.Trigger getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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


  static {
  }

  // @@protoc_insertion_point(outer_class_scope)
}