AnimationParameterProto.java

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

package androidx.wear.protolayout.expression.proto;

public final class AnimationParameterProto {
  private AnimationParameterProto() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }
  /**
   * <pre>
   * The repeat mode to specify how animation will behave when repeated.
   * </pre>
   *
   * Protobuf enum {@code androidx.wear.protolayout.expression.proto.RepeatMode}
   */
  public enum RepeatMode
      implements com.google.protobuf.Internal.EnumLite {
    /**
     * <pre>
     * The unknown repeat mode.
     * </pre>
     *
     * <code>REPEAT_MODE_UNKNOWN = 0;</code>
     */
    REPEAT_MODE_UNKNOWN(0),
    /**
     * <pre>
     * The repeat mode where animation restarts from the beginning when repeated.
     * </pre>
     *
     * <code>REPEAT_MODE_RESTART = 1;</code>
     */
    REPEAT_MODE_RESTART(1),
    /**
     * <pre>
     * The repeat mode where animation is played in reverse when repeated.
     * </pre>
     *
     * <code>REPEAT_MODE_REVERSE = 2;</code>
     */
    REPEAT_MODE_REVERSE(2),
    UNRECOGNIZED(-1),
    ;

    /**
     * <pre>
     * The unknown repeat mode.
     * </pre>
     *
     * <code>REPEAT_MODE_UNKNOWN = 0;</code>
     */
    public static final int REPEAT_MODE_UNKNOWN_VALUE = 0;
    /**
     * <pre>
     * The repeat mode where animation restarts from the beginning when repeated.
     * </pre>
     *
     * <code>REPEAT_MODE_RESTART = 1;</code>
     */
    public static final int REPEAT_MODE_RESTART_VALUE = 1;
    /**
     * <pre>
     * The repeat mode where animation is played in reverse when repeated.
     * </pre>
     *
     * <code>REPEAT_MODE_REVERSE = 2;</code>
     */
    public static final int REPEAT_MODE_REVERSE_VALUE = 2;


    @java.lang.Override
    public final int getNumber() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalArgumentException(
            "Can't get the number of an unknown enum value.");
      }
      return value;
    }

    /**
     * @param value The number of the enum to look for.
     * @return The enum associated with the given number.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static RepeatMode valueOf(int value) {
      return forNumber(value);
    }

    public static RepeatMode forNumber(int value) {
      switch (value) {
        case 0: return REPEAT_MODE_UNKNOWN;
        case 1: return REPEAT_MODE_RESTART;
        case 2: return REPEAT_MODE_REVERSE;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap<RepeatMode>
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        RepeatMode> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap<RepeatMode>() {
            @java.lang.Override
            public RepeatMode findValueByNumber(int number) {
              return RepeatMode.forNumber(number);
            }
          };

    public static com.google.protobuf.Internal.EnumVerifier 
        internalGetVerifier() {
      return RepeatModeVerifier.INSTANCE;
    }

    private static final class RepeatModeVerifier implements 
         com.google.protobuf.Internal.EnumVerifier { 
            static final com.google.protobuf.Internal.EnumVerifier           INSTANCE = new RepeatModeVerifier();
            @java.lang.Override
            public boolean isInRange(int number) {
              return RepeatMode.forNumber(number) != null;
            }
          };

    private final int value;

    private RepeatMode(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:androidx.wear.protolayout.expression.proto.RepeatMode)
  }

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

    /**
     * <pre>
     * The duration of the animation in milliseconds. If not set, defaults to
     * 300ms.
     * </pre>
     *
     * <code>uint32 duration_millis = 1;</code>
     * @return The durationMillis.
     */
    int getDurationMillis();

    /**
     * <pre>
     * The delay to start the animation in milliseconds. If not set, defaults to
     * 0.
     * </pre>
     *
     * <code>uint32 delay_millis = 2;</code>
     * @return The delayMillis.
     */
    int getDelayMillis();

    /**
     * <pre>
     * The easing to be used for adjusting an animation's fraction. If not set,
     * defaults to Linear Interpolator.
     * </pre>
     *
     * <code>.androidx.wear.protolayout.expression.proto.Easing easing = 3;</code>
     * @return Whether the easing field is set.
     */
    boolean hasEasing();
    /**
     * <pre>
     * The easing to be used for adjusting an animation's fraction. If not set,
     * defaults to Linear Interpolator.
     * </pre>
     *
     * <code>.androidx.wear.protolayout.expression.proto.Easing easing = 3;</code>
     * @return The easing.
     */
    androidx.wear.protolayout.expression.proto.AnimationParameterProto.Easing getEasing();

    /**
     * <pre>
     * The repeatable mode to be used for specifying repetition parameters for the
     * animation. If not set, animation won't be repeated.
     * </pre>
     *
     * <code>.androidx.wear.protolayout.expression.proto.Repeatable repeatable = 5;</code>
     * @return Whether the repeatable field is set.
     */
    boolean hasRepeatable();
    /**
     * <pre>
     * The repeatable mode to be used for specifying repetition parameters for the
     * animation. If not set, animation won't be repeated.
     * </pre>
     *
     * <code>.androidx.wear.protolayout.expression.proto.Repeatable repeatable = 5;</code>
     * @return The repeatable.
     */
    androidx.wear.protolayout.expression.proto.AnimationParameterProto.Repeatable getRepeatable();
  }
  /**
   * <pre>
   * Animation parameters that can be added to any animatable node.
   * </pre>
   *
   * Protobuf type {@code androidx.wear.protolayout.expression.proto.AnimationSpec}
   */
  public  static final class AnimationSpec extends
      com.google.protobuf.GeneratedMessageLite<
          AnimationSpec, AnimationSpec.Builder> implements
      // @@protoc_insertion_point(message_implements:androidx.wear.protolayout.expression.proto.AnimationSpec)
      AnimationSpecOrBuilder {
    private AnimationSpec() {
    }
    public static final int DURATION_MILLIS_FIELD_NUMBER = 1;
    private int durationMillis_;
    /**
     * <pre>
     * The duration of the animation in milliseconds. If not set, defaults to
     * 300ms.
     * </pre>
     *
     * <code>uint32 duration_millis = 1;</code>
     * @return The durationMillis.
     */
    @java.lang.Override
    public int getDurationMillis() {
      return durationMillis_;
    }
    /**
     * <pre>
     * The duration of the animation in milliseconds. If not set, defaults to
     * 300ms.
     * </pre>
     *
     * <code>uint32 duration_millis = 1;</code>
     * @param value The durationMillis to set.
     */
    private void setDurationMillis(int value) {
      
      durationMillis_ = value;
    }
    /**
     * <pre>
     * The duration of the animation in milliseconds. If not set, defaults to
     * 300ms.
     * </pre>
     *
     * <code>uint32 duration_millis = 1;</code>
     */
    private void clearDurationMillis() {
      
      durationMillis_ = 0;
    }

    public static final int DELAY_MILLIS_FIELD_NUMBER = 2;
    private int delayMillis_;
    /**
     * <pre>
     * The delay to start the animation in milliseconds. If not set, defaults to
     * 0.
     * </pre>
     *
     * <code>uint32 delay_millis = 2;</code>
     * @return The delayMillis.
     */
    @java.lang.Override
    public int getDelayMillis() {
      return delayMillis_;
    }
    /**
     * <pre>
     * The delay to start the animation in milliseconds. If not set, defaults to
     * 0.
     * </pre>
     *
     * <code>uint32 delay_millis = 2;</code>
     * @param value The delayMillis to set.
     */
    private void setDelayMillis(int value) {
      
      delayMillis_ = value;
    }
    /**
     * <pre>
     * The delay to start the animation in milliseconds. If not set, defaults to
     * 0.
     * </pre>
     *
     * <code>uint32 delay_millis = 2;</code>
     */
    private void clearDelayMillis() {
      
      delayMillis_ = 0;
    }

    public static final int EASING_FIELD_NUMBER = 3;
    private androidx.wear.protolayout.expression.proto.AnimationParameterProto.Easing easing_;
    /**
     * <pre>
     * The easing to be used for adjusting an animation's fraction. If not set,
     * defaults to Linear Interpolator.
     * </pre>
     *
     * <code>.androidx.wear.protolayout.expression.proto.Easing easing = 3;</code>
     */
    @java.lang.Override
    public boolean hasEasing() {
      return easing_ != null;
    }
    /**
     * <pre>
     * The easing to be used for adjusting an animation's fraction. If not set,
     * defaults to Linear Interpolator.
     * </pre>
     *
     * <code>.androidx.wear.protolayout.expression.proto.Easing easing = 3;</code>
     */
    @java.lang.Override
    public androidx.wear.protolayout.expression.proto.AnimationParameterProto.Easing getEasing() {
      return easing_ == null ? androidx.wear.protolayout.expression.proto.AnimationParameterProto.Easing.getDefaultInstance() : easing_;
    }
    /**
     * <pre>
     * The easing to be used for adjusting an animation's fraction. If not set,
     * defaults to Linear Interpolator.
     * </pre>
     *
     * <code>.androidx.wear.protolayout.expression.proto.Easing easing = 3;</code>
     */
    private void setEasing(androidx.wear.protolayout.expression.proto.AnimationParameterProto.Easing value) {
      value.getClass();
  easing_ = value;
      
      }
    /**
     * <pre>
     * The easing to be used for adjusting an animation's fraction. If not set,
     * defaults to Linear Interpolator.
     * </pre>
     *
     * <code>.androidx.wear.protolayout.expression.proto.Easing easing = 3;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeEasing(androidx.wear.protolayout.expression.proto.AnimationParameterProto.Easing value) {
      value.getClass();
  if (easing_ != null &&
          easing_ != androidx.wear.protolayout.expression.proto.AnimationParameterProto.Easing.getDefaultInstance()) {
        easing_ =
          androidx.wear.protolayout.expression.proto.AnimationParameterProto.Easing.newBuilder(easing_).mergeFrom(value).buildPartial();
      } else {
        easing_ = value;
      }
      
    }
    /**
     * <pre>
     * The easing to be used for adjusting an animation's fraction. If not set,
     * defaults to Linear Interpolator.
     * </pre>
     *
     * <code>.androidx.wear.protolayout.expression.proto.Easing easing = 3;</code>
     */
    private void clearEasing() {  easing_ = null;
      
    }

    public static final int REPEATABLE_FIELD_NUMBER = 5;
    private androidx.wear.protolayout.expression.proto.AnimationParameterProto.Repeatable repeatable_;
    /**
     * <pre>
     * The repeatable mode to be used for specifying repetition parameters for the
     * animation. If not set, animation won't be repeated.
     * </pre>
     *
     * <code>.androidx.wear.protolayout.expression.proto.Repeatable repeatable = 5;</code>
     */
    @java.lang.Override
    public boolean hasRepeatable() {
      return repeatable_ != null;
    }
    /**
     * <pre>
     * The repeatable mode to be used for specifying repetition parameters for the
     * animation. If not set, animation won't be repeated.
     * </pre>
     *
     * <code>.androidx.wear.protolayout.expression.proto.Repeatable repeatable = 5;</code>
     */
    @java.lang.Override
    public androidx.wear.protolayout.expression.proto.AnimationParameterProto.Repeatable getRepeatable() {
      return repeatable_ == null ? androidx.wear.protolayout.expression.proto.AnimationParameterProto.Repeatable.getDefaultInstance() : repeatable_;
    }
    /**
     * <pre>
     * The repeatable mode to be used for specifying repetition parameters for the
     * animation. If not set, animation won't be repeated.
     * </pre>
     *
     * <code>.androidx.wear.protolayout.expression.proto.Repeatable repeatable = 5;</code>
     */
    private void setRepeatable(androidx.wear.protolayout.expression.proto.AnimationParameterProto.Repeatable value) {
      value.getClass();
  repeatable_ = value;
      
      }
    /**
     * <pre>
     * The repeatable mode to be used for specifying repetition parameters for the
     * animation. If not set, animation won't be repeated.
     * </pre>
     *
     * <code>.androidx.wear.protolayout.expression.proto.Repeatable repeatable = 5;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeRepeatable(androidx.wear.protolayout.expression.proto.AnimationParameterProto.Repeatable value) {
      value.getClass();
  if (repeatable_ != null &&
          repeatable_ != androidx.wear.protolayout.expression.proto.AnimationParameterProto.Repeatable.getDefaultInstance()) {
        repeatable_ =
          androidx.wear.protolayout.expression.proto.AnimationParameterProto.Repeatable.newBuilder(repeatable_).mergeFrom(value).buildPartial();
      } else {
        repeatable_ = value;
      }
      
    }
    /**
     * <pre>
     * The repeatable mode to be used for specifying repetition parameters for the
     * animation. If not set, animation won't be repeated.
     * </pre>
     *
     * <code>.androidx.wear.protolayout.expression.proto.Repeatable repeatable = 5;</code>
     */
    private void clearRepeatable() {  repeatable_ = null;
      
    }

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

    /**
     * <pre>
     * Animation parameters that can be added to any animatable node.
     * </pre>
     *
     * Protobuf type {@code androidx.wear.protolayout.expression.proto.AnimationSpec}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          androidx.wear.protolayout.expression.proto.AnimationParameterProto.AnimationSpec, Builder> implements
        // @@protoc_insertion_point(builder_implements:androidx.wear.protolayout.expression.proto.AnimationSpec)
        androidx.wear.protolayout.expression.proto.AnimationParameterProto.AnimationSpecOrBuilder {
      // Construct using androidx.wear.protolayout.expression.proto.AnimationParameterProto.AnimationSpec.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }


      /**
       * <pre>
       * The duration of the animation in milliseconds. If not set, defaults to
       * 300ms.
       * </pre>
       *
       * <code>uint32 duration_millis = 1;</code>
       * @return The durationMillis.
       */
      @java.lang.Override
      public int getDurationMillis() {
        return instance.getDurationMillis();
      }
      /**
       * <pre>
       * The duration of the animation in milliseconds. If not set, defaults to
       * 300ms.
       * </pre>
       *
       * <code>uint32 duration_millis = 1;</code>
       * @param value The durationMillis to set.
       * @return This builder for chaining.
       */
      public Builder setDurationMillis(int value) {
        copyOnWrite();
        instance.setDurationMillis(value);
        return this;
      }
      /**
       * <pre>
       * The duration of the animation in milliseconds. If not set, defaults to
       * 300ms.
       * </pre>
       *
       * <code>uint32 duration_millis = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearDurationMillis() {
        copyOnWrite();
        instance.clearDurationMillis();
        return this;
      }

      /**
       * <pre>
       * The delay to start the animation in milliseconds. If not set, defaults to
       * 0.
       * </pre>
       *
       * <code>uint32 delay_millis = 2;</code>
       * @return The delayMillis.
       */
      @java.lang.Override
      public int getDelayMillis() {
        return instance.getDelayMillis();
      }
      /**
       * <pre>
       * The delay to start the animation in milliseconds. If not set, defaults to
       * 0.
       * </pre>
       *
       * <code>uint32 delay_millis = 2;</code>
       * @param value The delayMillis to set.
       * @return This builder for chaining.
       */
      public Builder setDelayMillis(int value) {
        copyOnWrite();
        instance.setDelayMillis(value);
        return this;
      }
      /**
       * <pre>
       * The delay to start the animation in milliseconds. If not set, defaults to
       * 0.
       * </pre>
       *
       * <code>uint32 delay_millis = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearDelayMillis() {
        copyOnWrite();
        instance.clearDelayMillis();
        return this;
      }

      /**
       * <pre>
       * The easing to be used for adjusting an animation's fraction. If not set,
       * defaults to Linear Interpolator.
       * </pre>
       *
       * <code>.androidx.wear.protolayout.expression.proto.Easing easing = 3;</code>
       */
      @java.lang.Override
      public boolean hasEasing() {
        return instance.hasEasing();
      }
      /**
       * <pre>
       * The easing to be used for adjusting an animation's fraction. If not set,
       * defaults to Linear Interpolator.
       * </pre>
       *
       * <code>.androidx.wear.protolayout.expression.proto.Easing easing = 3;</code>
       */
      @java.lang.Override
      public androidx.wear.protolayout.expression.proto.AnimationParameterProto.Easing getEasing() {
        return instance.getEasing();
      }
      /**
       * <pre>
       * The easing to be used for adjusting an animation's fraction. If not set,
       * defaults to Linear Interpolator.
       * </pre>
       *
       * <code>.androidx.wear.protolayout.expression.proto.Easing easing = 3;</code>
       */
      public Builder setEasing(androidx.wear.protolayout.expression.proto.AnimationParameterProto.Easing value) {
        copyOnWrite();
        instance.setEasing(value);
        return this;
        }
      /**
       * <pre>
       * The easing to be used for adjusting an animation's fraction. If not set,
       * defaults to Linear Interpolator.
       * </pre>
       *
       * <code>.androidx.wear.protolayout.expression.proto.Easing easing = 3;</code>
       */
      public Builder setEasing(
          androidx.wear.protolayout.expression.proto.AnimationParameterProto.Easing.Builder builderForValue) {
        copyOnWrite();
        instance.setEasing(builderForValue.build());
        return this;
      }
      /**
       * <pre>
       * The easing to be used for adjusting an animation's fraction. If not set,
       * defaults to Linear Interpolator.
       * </pre>
       *
       * <code>.androidx.wear.protolayout.expression.proto.Easing easing = 3;</code>
       */
      public Builder mergeEasing(androidx.wear.protolayout.expression.proto.AnimationParameterProto.Easing value) {
        copyOnWrite();
        instance.mergeEasing(value);
        return this;
      }
      /**
       * <pre>
       * The easing to be used for adjusting an animation's fraction. If not set,
       * defaults to Linear Interpolator.
       * </pre>
       *
       * <code>.androidx.wear.protolayout.expression.proto.Easing easing = 3;</code>
       */
      public Builder clearEasing() {  copyOnWrite();
        instance.clearEasing();
        return this;
      }

      /**
       * <pre>
       * The repeatable mode to be used for specifying repetition parameters for the
       * animation. If not set, animation won't be repeated.
       * </pre>
       *
       * <code>.androidx.wear.protolayout.expression.proto.Repeatable repeatable = 5;</code>
       */
      @java.lang.Override
      public boolean hasRepeatable() {
        return instance.hasRepeatable();
      }
      /**
       * <pre>
       * The repeatable mode to be used for specifying repetition parameters for the
       * animation. If not set, animation won't be repeated.
       * </pre>
       *
       * <code>.androidx.wear.protolayout.expression.proto.Repeatable repeatable = 5;</code>
       */
      @java.lang.Override
      public androidx.wear.protolayout.expression.proto.AnimationParameterProto.Repeatable getRepeatable() {
        return instance.getRepeatable();
      }
      /**
       * <pre>
       * The repeatable mode to be used for specifying repetition parameters for the
       * animation. If not set, animation won't be repeated.
       * </pre>
       *
       * <code>.androidx.wear.protolayout.expression.proto.Repeatable repeatable = 5;</code>
       */
      public Builder setRepeatable(androidx.wear.protolayout.expression.proto.AnimationParameterProto.Repeatable value) {
        copyOnWrite();
        instance.setRepeatable(value);
        return this;
        }
      /**
       * <pre>
       * The repeatable mode to be used for specifying repetition parameters for the
       * animation. If not set, animation won't be repeated.
       * </pre>
       *
       * <code>.androidx.wear.protolayout.expression.proto.Repeatable repeatable = 5;</code>
       */
      public Builder setRepeatable(
          androidx.wear.protolayout.expression.proto.AnimationParameterProto.Repeatable.Builder builderForValue) {
        copyOnWrite();
        instance.setRepeatable(builderForValue.build());
        return this;
      }
      /**
       * <pre>
       * The repeatable mode to be used for specifying repetition parameters for the
       * animation. If not set, animation won't be repeated.
       * </pre>
       *
       * <code>.androidx.wear.protolayout.expression.proto.Repeatable repeatable = 5;</code>
       */
      public Builder mergeRepeatable(androidx.wear.protolayout.expression.proto.AnimationParameterProto.Repeatable value) {
        copyOnWrite();
        instance.mergeRepeatable(value);
        return this;
      }
      /**
       * <pre>
       * The repeatable mode to be used for specifying repetition parameters for the
       * animation. If not set, animation won't be repeated.
       * </pre>
       *
       * <code>.androidx.wear.protolayout.expression.proto.Repeatable repeatable = 5;</code>
       */
      public Builder clearRepeatable() {  copyOnWrite();
        instance.clearRepeatable();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:androidx.wear.protolayout.expression.proto.AnimationSpec)
    }
    @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.expression.proto.AnimationParameterProto.AnimationSpec();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "durationMillis_",
              "delayMillis_",
              "easing_",
              "repeatable_",
            };
            java.lang.String info =
                "\u0000\u0004\u0000\u0000\u0001\u0005\u0004\u0000\u0000\u0000\u0001\u000b\u0002\u000b" +
                "\u0003\t\u0005\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.expression.proto.AnimationParameterProto.AnimationSpec> parser = PARSER;
          if (parser == null) {
            synchronized (androidx.wear.protolayout.expression.proto.AnimationParameterProto.AnimationSpec.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<androidx.wear.protolayout.expression.proto.AnimationParameterProto.AnimationSpec>(
                        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.expression.proto.AnimationSpec)
    private static final androidx.wear.protolayout.expression.proto.AnimationParameterProto.AnimationSpec DEFAULT_INSTANCE;
    static {
      AnimationSpec defaultInstance = new AnimationSpec();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        AnimationSpec.class, defaultInstance);
    }

    public static androidx.wear.protolayout.expression.proto.AnimationParameterProto.AnimationSpec getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    /**
     * <pre>
     * The cubic polynomial easing that implements third-order Bezier curves.
     * </pre>
     *
     * <code>.androidx.wear.protolayout.expression.proto.CubicBezierEasing cubic_bezier = 1;</code>
     * @return Whether the cubicBezier field is set.
     */
    boolean hasCubicBezier();
    /**
     * <pre>
     * The cubic polynomial easing that implements third-order Bezier curves.
     * </pre>
     *
     * <code>.androidx.wear.protolayout.expression.proto.CubicBezierEasing cubic_bezier = 1;</code>
     * @return The cubicBezier.
     */
    androidx.wear.protolayout.expression.proto.AnimationParameterProto.CubicBezierEasing getCubicBezier();

    public androidx.wear.protolayout.expression.proto.AnimationParameterProto.Easing.InnerCase getInnerCase();
  }
  /**
   * <pre>
   * The easing to be used for adjusting an animation's fraction. This allows
   * animation to speed up and slow down, rather than moving at a constant rate.
   * If not set, defaults to Linear Interpolator.
   * </pre>
   *
   * Protobuf type {@code androidx.wear.protolayout.expression.proto.Easing}
   */
  public  static final class Easing extends
      com.google.protobuf.GeneratedMessageLite<
          Easing, Easing.Builder> implements
      // @@protoc_insertion_point(message_implements:androidx.wear.protolayout.expression.proto.Easing)
      EasingOrBuilder {
    private Easing() {
    }
    private int innerCase_ = 0;
    private java.lang.Object inner_;
    public enum InnerCase {
      CUBIC_BEZIER(1),
      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 CUBIC_BEZIER;
          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 CUBIC_BEZIER_FIELD_NUMBER = 1;
    /**
     * <pre>
     * The cubic polynomial easing that implements third-order Bezier curves.
     * </pre>
     *
     * <code>.androidx.wear.protolayout.expression.proto.CubicBezierEasing cubic_bezier = 1;</code>
     */
    @java.lang.Override
    public boolean hasCubicBezier() {
      return innerCase_ == 1;
    }
    /**
     * <pre>
     * The cubic polynomial easing that implements third-order Bezier curves.
     * </pre>
     *
     * <code>.androidx.wear.protolayout.expression.proto.CubicBezierEasing cubic_bezier = 1;</code>
     */
    @java.lang.Override
    public androidx.wear.protolayout.expression.proto.AnimationParameterProto.CubicBezierEasing getCubicBezier() {
      if (innerCase_ == 1) {
         return (androidx.wear.protolayout.expression.proto.AnimationParameterProto.CubicBezierEasing) inner_;
      }
      return androidx.wear.protolayout.expression.proto.AnimationParameterProto.CubicBezierEasing.getDefaultInstance();
    }
    /**
     * <pre>
     * The cubic polynomial easing that implements third-order Bezier curves.
     * </pre>
     *
     * <code>.androidx.wear.protolayout.expression.proto.CubicBezierEasing cubic_bezier = 1;</code>
     */
    private void setCubicBezier(androidx.wear.protolayout.expression.proto.AnimationParameterProto.CubicBezierEasing value) {
      value.getClass();
  inner_ = value;
      innerCase_ = 1;
    }
    /**
     * <pre>
     * The cubic polynomial easing that implements third-order Bezier curves.
     * </pre>
     *
     * <code>.androidx.wear.protolayout.expression.proto.CubicBezierEasing cubic_bezier = 1;</code>
     */
    private void mergeCubicBezier(androidx.wear.protolayout.expression.proto.AnimationParameterProto.CubicBezierEasing value) {
      value.getClass();
  if (innerCase_ == 1 &&
          inner_ != androidx.wear.protolayout.expression.proto.AnimationParameterProto.CubicBezierEasing.getDefaultInstance()) {
        inner_ = androidx.wear.protolayout.expression.proto.AnimationParameterProto.CubicBezierEasing.newBuilder((androidx.wear.protolayout.expression.proto.AnimationParameterProto.CubicBezierEasing) inner_)
            .mergeFrom(value).buildPartial();
      } else {
        inner_ = value;
      }
      innerCase_ = 1;
    }
    /**
     * <pre>
     * The cubic polynomial easing that implements third-order Bezier curves.
     * </pre>
     *
     * <code>.androidx.wear.protolayout.expression.proto.CubicBezierEasing cubic_bezier = 1;</code>
     */
    private void clearCubicBezier() {
      if (innerCase_ == 1) {
        innerCase_ = 0;
        inner_ = null;
      }
    }

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

    /**
     * <pre>
     * The easing to be used for adjusting an animation's fraction. This allows
     * animation to speed up and slow down, rather than moving at a constant rate.
     * If not set, defaults to Linear Interpolator.
     * </pre>
     *
     * Protobuf type {@code androidx.wear.protolayout.expression.proto.Easing}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          androidx.wear.protolayout.expression.proto.AnimationParameterProto.Easing, Builder> implements
        // @@protoc_insertion_point(builder_implements:androidx.wear.protolayout.expression.proto.Easing)
        androidx.wear.protolayout.expression.proto.AnimationParameterProto.EasingOrBuilder {
      // Construct using androidx.wear.protolayout.expression.proto.AnimationParameterProto.Easing.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }

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

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


      /**
       * <pre>
       * The cubic polynomial easing that implements third-order Bezier curves.
       * </pre>
       *
       * <code>.androidx.wear.protolayout.expression.proto.CubicBezierEasing cubic_bezier = 1;</code>
       */
      @java.lang.Override
      public boolean hasCubicBezier() {
        return instance.hasCubicBezier();
      }
      /**
       * <pre>
       * The cubic polynomial easing that implements third-order Bezier curves.
       * </pre>
       *
       * <code>.androidx.wear.protolayout.expression.proto.CubicBezierEasing cubic_bezier = 1;</code>
       */
      @java.lang.Override
      public androidx.wear.protolayout.expression.proto.AnimationParameterProto.CubicBezierEasing getCubicBezier() {
        return instance.getCubicBezier();
      }
      /**
       * <pre>
       * The cubic polynomial easing that implements third-order Bezier curves.
       * </pre>
       *
       * <code>.androidx.wear.protolayout.expression.proto.CubicBezierEasing cubic_bezier = 1;</code>
       */
      public Builder setCubicBezier(androidx.wear.protolayout.expression.proto.AnimationParameterProto.CubicBezierEasing value) {
        copyOnWrite();
        instance.setCubicBezier(value);
        return this;
      }
      /**
       * <pre>
       * The cubic polynomial easing that implements third-order Bezier curves.
       * </pre>
       *
       * <code>.androidx.wear.protolayout.expression.proto.CubicBezierEasing cubic_bezier = 1;</code>
       */
      public Builder setCubicBezier(
          androidx.wear.protolayout.expression.proto.AnimationParameterProto.CubicBezierEasing.Builder builderForValue) {
        copyOnWrite();
        instance.setCubicBezier(builderForValue.build());
        return this;
      }
      /**
       * <pre>
       * The cubic polynomial easing that implements third-order Bezier curves.
       * </pre>
       *
       * <code>.androidx.wear.protolayout.expression.proto.CubicBezierEasing cubic_bezier = 1;</code>
       */
      public Builder mergeCubicBezier(androidx.wear.protolayout.expression.proto.AnimationParameterProto.CubicBezierEasing value) {
        copyOnWrite();
        instance.mergeCubicBezier(value);
        return this;
      }
      /**
       * <pre>
       * The cubic polynomial easing that implements third-order Bezier curves.
       * </pre>
       *
       * <code>.androidx.wear.protolayout.expression.proto.CubicBezierEasing cubic_bezier = 1;</code>
       */
      public Builder clearCubicBezier() {
        copyOnWrite();
        instance.clearCubicBezier();
        return this;
      }

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

    public static androidx.wear.protolayout.expression.proto.AnimationParameterProto.Easing getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    /**
     * <pre>
     * The x coordinate of the first control point. The line through the point (0,
     * 0) and the first control point is tangent to the easing at the point (0, 0)
     * </pre>
     *
     * <code>float x1 = 1;</code>
     * @return The x1.
     */
    float getX1();

    /**
     * <pre>
     * The y coordinate of the first control point. The line through the point (0,
     * 0) and the first control point is tangent to the easing at the point (0,
     * 0).
     * </pre>
     *
     * <code>float y1 = 2;</code>
     * @return The y1.
     */
    float getY1();

    /**
     * <pre>
     * The x coordinate of the second control point. The line through the point
     * (1, 1) and the second control point is tangent to the easing at the point
     * (1, 1).
     * </pre>
     *
     * <code>float x2 = 3;</code>
     * @return The x2.
     */
    float getX2();

    /**
     * <pre>
     * The y coordinate of the second control point. The line through the point
     * (1, 1) and the second control point is tangent to the easing at the point
     * (1, 1).
     * </pre>
     *
     * <code>float y2 = 4;</code>
     * @return The y2.
     */
    float getY2();
  }
  /**
   * <pre>
   * The cubic polynomial easing that implements third-order Bezier curves. This
   * is equivalent to the Android PathInterpolator.
   * </pre>
   *
   * Protobuf type {@code androidx.wear.protolayout.expression.proto.CubicBezierEasing}
   */
  public  static final class CubicBezierEasing extends
      com.google.protobuf.GeneratedMessageLite<
          CubicBezierEasing, CubicBezierEasing.Builder> implements
      // @@protoc_insertion_point(message_implements:androidx.wear.protolayout.expression.proto.CubicBezierEasing)
      CubicBezierEasingOrBuilder {
    private CubicBezierEasing() {
    }
    public static final int X1_FIELD_NUMBER = 1;
    private float x1_;
    /**
     * <pre>
     * The x coordinate of the first control point. The line through the point (0,
     * 0) and the first control point is tangent to the easing at the point (0, 0)
     * </pre>
     *
     * <code>float x1 = 1;</code>
     * @return The x1.
     */
    @java.lang.Override
    public float getX1() {
      return x1_;
    }
    /**
     * <pre>
     * The x coordinate of the first control point. The line through the point (0,
     * 0) and the first control point is tangent to the easing at the point (0, 0)
     * </pre>
     *
     * <code>float x1 = 1;</code>
     * @param value The x1 to set.
     */
    private void setX1(float value) {
      
      x1_ = value;
    }
    /**
     * <pre>
     * The x coordinate of the first control point. The line through the point (0,
     * 0) and the first control point is tangent to the easing at the point (0, 0)
     * </pre>
     *
     * <code>float x1 = 1;</code>
     */
    private void clearX1() {
      
      x1_ = 0F;
    }

    public static final int Y1_FIELD_NUMBER = 2;
    private float y1_;
    /**
     * <pre>
     * The y coordinate of the first control point. The line through the point (0,
     * 0) and the first control point is tangent to the easing at the point (0,
     * 0).
     * </pre>
     *
     * <code>float y1 = 2;</code>
     * @return The y1.
     */
    @java.lang.Override
    public float getY1() {
      return y1_;
    }
    /**
     * <pre>
     * The y coordinate of the first control point. The line through the point (0,
     * 0) and the first control point is tangent to the easing at the point (0,
     * 0).
     * </pre>
     *
     * <code>float y1 = 2;</code>
     * @param value The y1 to set.
     */
    private void setY1(float value) {
      
      y1_ = value;
    }
    /**
     * <pre>
     * The y coordinate of the first control point. The line through the point (0,
     * 0) and the first control point is tangent to the easing at the point (0,
     * 0).
     * </pre>
     *
     * <code>float y1 = 2;</code>
     */
    private void clearY1() {
      
      y1_ = 0F;
    }

    public static final int X2_FIELD_NUMBER = 3;
    private float x2_;
    /**
     * <pre>
     * The x coordinate of the second control point. The line through the point
     * (1, 1) and the second control point is tangent to the easing at the point
     * (1, 1).
     * </pre>
     *
     * <code>float x2 = 3;</code>
     * @return The x2.
     */
    @java.lang.Override
    public float getX2() {
      return x2_;
    }
    /**
     * <pre>
     * The x coordinate of the second control point. The line through the point
     * (1, 1) and the second control point is tangent to the easing at the point
     * (1, 1).
     * </pre>
     *
     * <code>float x2 = 3;</code>
     * @param value The x2 to set.
     */
    private void setX2(float value) {
      
      x2_ = value;
    }
    /**
     * <pre>
     * The x coordinate of the second control point. The line through the point
     * (1, 1) and the second control point is tangent to the easing at the point
     * (1, 1).
     * </pre>
     *
     * <code>float x2 = 3;</code>
     */
    private void clearX2() {
      
      x2_ = 0F;
    }

    public static final int Y2_FIELD_NUMBER = 4;
    private float y2_;
    /**
     * <pre>
     * The y coordinate of the second control point. The line through the point
     * (1, 1) and the second control point is tangent to the easing at the point
     * (1, 1).
     * </pre>
     *
     * <code>float y2 = 4;</code>
     * @return The y2.
     */
    @java.lang.Override
    public float getY2() {
      return y2_;
    }
    /**
     * <pre>
     * The y coordinate of the second control point. The line through the point
     * (1, 1) and the second control point is tangent to the easing at the point
     * (1, 1).
     * </pre>
     *
     * <code>float y2 = 4;</code>
     * @param value The y2 to set.
     */
    private void setY2(float value) {
      
      y2_ = value;
    }
    /**
     * <pre>
     * The y coordinate of the second control point. The line through the point
     * (1, 1) and the second control point is tangent to the easing at the point
     * (1, 1).
     * </pre>
     *
     * <code>float y2 = 4;</code>
     */
    private void clearY2() {
      
      y2_ = 0F;
    }

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

    /**
     * <pre>
     * The cubic polynomial easing that implements third-order Bezier curves. This
     * is equivalent to the Android PathInterpolator.
     * </pre>
     *
     * Protobuf type {@code androidx.wear.protolayout.expression.proto.CubicBezierEasing}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          androidx.wear.protolayout.expression.proto.AnimationParameterProto.CubicBezierEasing, Builder> implements
        // @@protoc_insertion_point(builder_implements:androidx.wear.protolayout.expression.proto.CubicBezierEasing)
        androidx.wear.protolayout.expression.proto.AnimationParameterProto.CubicBezierEasingOrBuilder {
      // Construct using androidx.wear.protolayout.expression.proto.AnimationParameterProto.CubicBezierEasing.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }


      /**
       * <pre>
       * The x coordinate of the first control point. The line through the point (0,
       * 0) and the first control point is tangent to the easing at the point (0, 0)
       * </pre>
       *
       * <code>float x1 = 1;</code>
       * @return The x1.
       */
      @java.lang.Override
      public float getX1() {
        return instance.getX1();
      }
      /**
       * <pre>
       * The x coordinate of the first control point. The line through the point (0,
       * 0) and the first control point is tangent to the easing at the point (0, 0)
       * </pre>
       *
       * <code>float x1 = 1;</code>
       * @param value The x1 to set.
       * @return This builder for chaining.
       */
      public Builder setX1(float value) {
        copyOnWrite();
        instance.setX1(value);
        return this;
      }
      /**
       * <pre>
       * The x coordinate of the first control point. The line through the point (0,
       * 0) and the first control point is tangent to the easing at the point (0, 0)
       * </pre>
       *
       * <code>float x1 = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearX1() {
        copyOnWrite();
        instance.clearX1();
        return this;
      }

      /**
       * <pre>
       * The y coordinate of the first control point. The line through the point (0,
       * 0) and the first control point is tangent to the easing at the point (0,
       * 0).
       * </pre>
       *
       * <code>float y1 = 2;</code>
       * @return The y1.
       */
      @java.lang.Override
      public float getY1() {
        return instance.getY1();
      }
      /**
       * <pre>
       * The y coordinate of the first control point. The line through the point (0,
       * 0) and the first control point is tangent to the easing at the point (0,
       * 0).
       * </pre>
       *
       * <code>float y1 = 2;</code>
       * @param value The y1 to set.
       * @return This builder for chaining.
       */
      public Builder setY1(float value) {
        copyOnWrite();
        instance.setY1(value);
        return this;
      }
      /**
       * <pre>
       * The y coordinate of the first control point. The line through the point (0,
       * 0) and the first control point is tangent to the easing at the point (0,
       * 0).
       * </pre>
       *
       * <code>float y1 = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearY1() {
        copyOnWrite();
        instance.clearY1();
        return this;
      }

      /**
       * <pre>
       * The x coordinate of the second control point. The line through the point
       * (1, 1) and the second control point is tangent to the easing at the point
       * (1, 1).
       * </pre>
       *
       * <code>float x2 = 3;</code>
       * @return The x2.
       */
      @java.lang.Override
      public float getX2() {
        return instance.getX2();
      }
      /**
       * <pre>
       * The x coordinate of the second control point. The line through the point
       * (1, 1) and the second control point is tangent to the easing at the point
       * (1, 1).
       * </pre>
       *
       * <code>float x2 = 3;</code>
       * @param value The x2 to set.
       * @return This builder for chaining.
       */
      public Builder setX2(float value) {
        copyOnWrite();
        instance.setX2(value);
        return this;
      }
      /**
       * <pre>
       * The x coordinate of the second control point. The line through the point
       * (1, 1) and the second control point is tangent to the easing at the point
       * (1, 1).
       * </pre>
       *
       * <code>float x2 = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearX2() {
        copyOnWrite();
        instance.clearX2();
        return this;
      }

      /**
       * <pre>
       * The y coordinate of the second control point. The line through the point
       * (1, 1) and the second control point is tangent to the easing at the point
       * (1, 1).
       * </pre>
       *
       * <code>float y2 = 4;</code>
       * @return The y2.
       */
      @java.lang.Override
      public float getY2() {
        return instance.getY2();
      }
      /**
       * <pre>
       * The y coordinate of the second control point. The line through the point
       * (1, 1) and the second control point is tangent to the easing at the point
       * (1, 1).
       * </pre>
       *
       * <code>float y2 = 4;</code>
       * @param value The y2 to set.
       * @return This builder for chaining.
       */
      public Builder setY2(float value) {
        copyOnWrite();
        instance.setY2(value);
        return this;
      }
      /**
       * <pre>
       * The y coordinate of the second control point. The line through the point
       * (1, 1) and the second control point is tangent to the easing at the point
       * (1, 1).
       * </pre>
       *
       * <code>float y2 = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearY2() {
        copyOnWrite();
        instance.clearY2();
        return this;
      }

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

    public static androidx.wear.protolayout.expression.proto.AnimationParameterProto.CubicBezierEasing getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    /**
     * <pre>
     * The number specifying how many times animation will be repeated. If
     * not set, defaults to 0, i.e. repeat infinitely.
     * </pre>
     *
     * <code>uint32 iterations = 1;</code>
     * @return The iterations.
     */
    int getIterations();

    /**
     * <pre>
     * The repeat mode to specify how animation will behave when repeated. If not
     * set, defaults to restart.
     * </pre>
     *
     * <code>.androidx.wear.protolayout.expression.proto.RepeatMode repeat_mode = 2;</code>
     * @return The enum numeric value on the wire for repeatMode.
     */
    int getRepeatModeValue();
    /**
     * <pre>
     * The repeat mode to specify how animation will behave when repeated. If not
     * set, defaults to restart.
     * </pre>
     *
     * <code>.androidx.wear.protolayout.expression.proto.RepeatMode repeat_mode = 2;</code>
     * @return The repeatMode.
     */
    androidx.wear.protolayout.expression.proto.AnimationParameterProto.RepeatMode getRepeatMode();
  }
  /**
   * <pre>
   * The repeatable mode to be used for specifying how many times animation will
   * be repeated.
   * </pre>
   *
   * Protobuf type {@code androidx.wear.protolayout.expression.proto.Repeatable}
   */
  public  static final class Repeatable extends
      com.google.protobuf.GeneratedMessageLite<
          Repeatable, Repeatable.Builder> implements
      // @@protoc_insertion_point(message_implements:androidx.wear.protolayout.expression.proto.Repeatable)
      RepeatableOrBuilder {
    private Repeatable() {
    }
    public static final int ITERATIONS_FIELD_NUMBER = 1;
    private int iterations_;
    /**
     * <pre>
     * The number specifying how many times animation will be repeated. If
     * not set, defaults to 0, i.e. repeat infinitely.
     * </pre>
     *
     * <code>uint32 iterations = 1;</code>
     * @return The iterations.
     */
    @java.lang.Override
    public int getIterations() {
      return iterations_;
    }
    /**
     * <pre>
     * The number specifying how many times animation will be repeated. If
     * not set, defaults to 0, i.e. repeat infinitely.
     * </pre>
     *
     * <code>uint32 iterations = 1;</code>
     * @param value The iterations to set.
     */
    private void setIterations(int value) {
      
      iterations_ = value;
    }
    /**
     * <pre>
     * The number specifying how many times animation will be repeated. If
     * not set, defaults to 0, i.e. repeat infinitely.
     * </pre>
     *
     * <code>uint32 iterations = 1;</code>
     */
    private void clearIterations() {
      
      iterations_ = 0;
    }

    public static final int REPEAT_MODE_FIELD_NUMBER = 2;
    private int repeatMode_;
    /**
     * <pre>
     * The repeat mode to specify how animation will behave when repeated. If not
     * set, defaults to restart.
     * </pre>
     *
     * <code>.androidx.wear.protolayout.expression.proto.RepeatMode repeat_mode = 2;</code>
     * @return The enum numeric value on the wire for repeatMode.
     */
    @java.lang.Override
    public int getRepeatModeValue() {
      return repeatMode_;
    }
    /**
     * <pre>
     * The repeat mode to specify how animation will behave when repeated. If not
     * set, defaults to restart.
     * </pre>
     *
     * <code>.androidx.wear.protolayout.expression.proto.RepeatMode repeat_mode = 2;</code>
     * @return The repeatMode.
     */
    @java.lang.Override
    public androidx.wear.protolayout.expression.proto.AnimationParameterProto.RepeatMode getRepeatMode() {
      androidx.wear.protolayout.expression.proto.AnimationParameterProto.RepeatMode result = androidx.wear.protolayout.expression.proto.AnimationParameterProto.RepeatMode.forNumber(repeatMode_);
      return result == null ? androidx.wear.protolayout.expression.proto.AnimationParameterProto.RepeatMode.UNRECOGNIZED : result;
    }
    /**
     * <pre>
     * The repeat mode to specify how animation will behave when repeated. If not
     * set, defaults to restart.
     * </pre>
     *
     * <code>.androidx.wear.protolayout.expression.proto.RepeatMode repeat_mode = 2;</code>
     * @param value The enum numeric value on the wire for repeatMode to set.
     */
    private void setRepeatModeValue(int value) {
        repeatMode_ = value;
    }
    /**
     * <pre>
     * The repeat mode to specify how animation will behave when repeated. If not
     * set, defaults to restart.
     * </pre>
     *
     * <code>.androidx.wear.protolayout.expression.proto.RepeatMode repeat_mode = 2;</code>
     * @param value The repeatMode to set.
     */
    private void setRepeatMode(androidx.wear.protolayout.expression.proto.AnimationParameterProto.RepeatMode value) {
      repeatMode_ = value.getNumber();
      
    }
    /**
     * <pre>
     * The repeat mode to specify how animation will behave when repeated. If not
     * set, defaults to restart.
     * </pre>
     *
     * <code>.androidx.wear.protolayout.expression.proto.RepeatMode repeat_mode = 2;</code>
     */
    private void clearRepeatMode() {
      
      repeatMode_ = 0;
    }

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

    /**
     * <pre>
     * The repeatable mode to be used for specifying how many times animation will
     * be repeated.
     * </pre>
     *
     * Protobuf type {@code androidx.wear.protolayout.expression.proto.Repeatable}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          androidx.wear.protolayout.expression.proto.AnimationParameterProto.Repeatable, Builder> implements
        // @@protoc_insertion_point(builder_implements:androidx.wear.protolayout.expression.proto.Repeatable)
        androidx.wear.protolayout.expression.proto.AnimationParameterProto.RepeatableOrBuilder {
      // Construct using androidx.wear.protolayout.expression.proto.AnimationParameterProto.Repeatable.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }


      /**
       * <pre>
       * The number specifying how many times animation will be repeated. If
       * not set, defaults to 0, i.e. repeat infinitely.
       * </pre>
       *
       * <code>uint32 iterations = 1;</code>
       * @return The iterations.
       */
      @java.lang.Override
      public int getIterations() {
        return instance.getIterations();
      }
      /**
       * <pre>
       * The number specifying how many times animation will be repeated. If
       * not set, defaults to 0, i.e. repeat infinitely.
       * </pre>
       *
       * <code>uint32 iterations = 1;</code>
       * @param value The iterations to set.
       * @return This builder for chaining.
       */
      public Builder setIterations(int value) {
        copyOnWrite();
        instance.setIterations(value);
        return this;
      }
      /**
       * <pre>
       * The number specifying how many times animation will be repeated. If
       * not set, defaults to 0, i.e. repeat infinitely.
       * </pre>
       *
       * <code>uint32 iterations = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearIterations() {
        copyOnWrite();
        instance.clearIterations();
        return this;
      }

      /**
       * <pre>
       * The repeat mode to specify how animation will behave when repeated. If not
       * set, defaults to restart.
       * </pre>
       *
       * <code>.androidx.wear.protolayout.expression.proto.RepeatMode repeat_mode = 2;</code>
       * @return The enum numeric value on the wire for repeatMode.
       */
      @java.lang.Override
      public int getRepeatModeValue() {
        return instance.getRepeatModeValue();
      }
      /**
       * <pre>
       * The repeat mode to specify how animation will behave when repeated. If not
       * set, defaults to restart.
       * </pre>
       *
       * <code>.androidx.wear.protolayout.expression.proto.RepeatMode repeat_mode = 2;</code>
       * @param value The repeatMode to set.
       * @return This builder for chaining.
       */
      public Builder setRepeatModeValue(int value) {
        copyOnWrite();
        instance.setRepeatModeValue(value);
        return this;
      }
      /**
       * <pre>
       * The repeat mode to specify how animation will behave when repeated. If not
       * set, defaults to restart.
       * </pre>
       *
       * <code>.androidx.wear.protolayout.expression.proto.RepeatMode repeat_mode = 2;</code>
       * @return The repeatMode.
       */
      @java.lang.Override
      public androidx.wear.protolayout.expression.proto.AnimationParameterProto.RepeatMode getRepeatMode() {
        return instance.getRepeatMode();
      }
      /**
       * <pre>
       * The repeat mode to specify how animation will behave when repeated. If not
       * set, defaults to restart.
       * </pre>
       *
       * <code>.androidx.wear.protolayout.expression.proto.RepeatMode repeat_mode = 2;</code>
       * @param value The enum numeric value on the wire for repeatMode to set.
       * @return This builder for chaining.
       */
      public Builder setRepeatMode(androidx.wear.protolayout.expression.proto.AnimationParameterProto.RepeatMode value) {
        copyOnWrite();
        instance.setRepeatMode(value);
        return this;
      }
      /**
       * <pre>
       * The repeat mode to specify how animation will behave when repeated. If not
       * set, defaults to restart.
       * </pre>
       *
       * <code>.androidx.wear.protolayout.expression.proto.RepeatMode repeat_mode = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearRepeatMode() {
        copyOnWrite();
        instance.clearRepeatMode();
        return this;
      }

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

    public static androidx.wear.protolayout.expression.proto.AnimationParameterProto.Repeatable getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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


  static {
  }

  // @@protoc_insertion_point(outer_class_scope)
}