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

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

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

import com.cognite.client.Request;
import javax.annotation.processing.Generated;

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

  private final Request request;

  private AutoValue_FileBinaryResponseParser(
      Request request) {
    this.request = request;
  }

  @Override
  Request getRequest() {
    return request;
  }

  @Override
  public String toString() {
    return "FileBinaryResponseParser{"
        + "request=" + request
        + "}";
  }

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

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

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

  static final class Builder extends FileBinaryResponseParser.Builder {
    private Request request;
    Builder() {
    }
    private Builder(FileBinaryResponseParser source) {
      this.request = source.getRequest();
    }
    @Override
    public FileBinaryResponseParser.Builder setRequest(Request request) {
      if (request == null) {
        throw new NullPointerException("Null request");
      }
      this.request = request;
      return this;
    }
    @Override
    FileBinaryResponseParser autoBuild() {
      if (this.request == null) {
        String missing = " request";
        throw new IllegalStateException("Missing required properties:" + missing);
      }
      return new AutoValue_FileBinaryResponseParser(
          this.request);
    }
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy