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

com.cognite.client.servicesV1.response.AutoValue_JsonErrorMessageDuplicateResponseParser Maven / Gradle / Ivy

There is a newer version: 2.3.3
Show newest version
package com.cognite.client.servicesV1.response;

import javax.annotation.processing.Generated;

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

  private final String errorSubPath;

  private AutoValue_JsonErrorMessageDuplicateResponseParser(
      String errorSubPath) {
    this.errorSubPath = errorSubPath;
  }

  @Override
  public String getErrorSubPath() {
    return errorSubPath;
  }

  @Override
  public String toString() {
    return "JsonErrorMessageDuplicateResponseParser{"
        + "errorSubPath=" + errorSubPath
        + "}";
  }

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

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

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

  static final class Builder extends JsonErrorMessageDuplicateResponseParser.Builder {
    private String errorSubPath;
    Builder() {
    }
    private Builder(JsonErrorMessageDuplicateResponseParser source) {
      this.errorSubPath = source.getErrorSubPath();
    }
    @Override
    public JsonErrorMessageDuplicateResponseParser.Builder setErrorSubPath(String errorSubPath) {
      if (errorSubPath == null) {
        throw new NullPointerException("Null errorSubPath");
      }
      this.errorSubPath = errorSubPath;
      return this;
    }
    @Override
    public JsonErrorMessageDuplicateResponseParser build() {
      if (this.errorSubPath == null) {
        String missing = " errorSubPath";
        throw new IllegalStateException("Missing required properties:" + missing);
      }
      return new AutoValue_JsonErrorMessageDuplicateResponseParser(
          this.errorSubPath);
    }
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy