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

org.robolectric.shadows.AutoValue_ShadowRcsUceAdapter_CapabilityFailureInfo Maven / Gradle / Ivy

package org.robolectric.shadows;

import javax.annotation.Generated;

@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_ShadowRcsUceAdapter_CapabilityFailureInfo extends ShadowRcsUceAdapter.CapabilityFailureInfo {

  private final int errorCode;

  private final long retryMillis;

  AutoValue_ShadowRcsUceAdapter_CapabilityFailureInfo(
      int errorCode,
      long retryMillis) {
    this.errorCode = errorCode;
    this.retryMillis = retryMillis;
  }

  @Override
  public int errorCode() {
    return errorCode;
  }

  @Override
  public long retryMillis() {
    return retryMillis;
  }

  @Override
  public String toString() {
    return "CapabilityFailureInfo{"
        + "errorCode=" + errorCode + ", "
        + "retryMillis=" + retryMillis
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof ShadowRcsUceAdapter.CapabilityFailureInfo) {
      ShadowRcsUceAdapter.CapabilityFailureInfo that = (ShadowRcsUceAdapter.CapabilityFailureInfo) o;
      return this.errorCode == that.errorCode()
          && this.retryMillis == that.retryMillis();
    }
    return false;
  }

  @Override
  public int hashCode() {
    int h$ = 1;
    h$ *= 1000003;
    h$ ^= errorCode;
    h$ *= 1000003;
    h$ ^= (int) ((retryMillis >>> 32) ^ retryMillis);
    return h$;
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy