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

org.jclouds.azurecompute.arm.domain.AutoValue_DiagnosticsProfile Maven / Gradle / Ivy

The newest version!

package org.jclouds.azurecompute.arm.domain;

import javax.annotation.Generated;

@Generated("com.google.auto.value.processor.AutoValueProcessor")
 final class AutoValue_DiagnosticsProfile extends DiagnosticsProfile {

  private final DiagnosticsProfile.BootDiagnostics bootDiagnostics;

  private AutoValue_DiagnosticsProfile(
      DiagnosticsProfile.BootDiagnostics bootDiagnostics) {
    this.bootDiagnostics = bootDiagnostics;
  }

  @Override
  public DiagnosticsProfile.BootDiagnostics bootDiagnostics() {
    return bootDiagnostics;
  }

  @Override
  public String toString() {
    return "DiagnosticsProfile{"
        + "bootDiagnostics=" + bootDiagnostics
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof DiagnosticsProfile) {
      DiagnosticsProfile that = (DiagnosticsProfile) o;
      return (this.bootDiagnostics.equals(that.bootDiagnostics()));
    }
    return false;
  }

  @Override
  public int hashCode() {
    int h = 1;
    h *= 1000003;
    h ^= this.bootDiagnostics.hashCode();
    return h;
  }

  @Override
  public DiagnosticsProfile.Builder toBuilder() {
    return new Builder(this);
  }

  static final class Builder extends DiagnosticsProfile.Builder {
    private DiagnosticsProfile.BootDiagnostics bootDiagnostics;
    Builder() {
    }
    private Builder(DiagnosticsProfile source) {
      this.bootDiagnostics = source.bootDiagnostics();
    }
    @Override
    public DiagnosticsProfile.Builder bootDiagnostics(DiagnosticsProfile.BootDiagnostics bootDiagnostics) {
      if (bootDiagnostics == null) {
        throw new NullPointerException("Null bootDiagnostics");
      }
      this.bootDiagnostics = bootDiagnostics;
      return this;
    }
    @Override
    public DiagnosticsProfile build() {
      String missing = "";
      if (this.bootDiagnostics == null) {
        missing += " bootDiagnostics";
      }
      if (!missing.isEmpty()) {
        throw new IllegalStateException("Missing required properties:" + missing);
      }
      return new AutoValue_DiagnosticsProfile(
          this.bootDiagnostics);
    }
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy