com.google.cloud.pubsublite.beam.AutoValue_Uuid Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pubsublite-beam-io Show documentation
Show all versions of pubsublite-beam-io Show documentation
Beam IO for Google Cloud Pub/Sub Lite
package com.google.cloud.pubsublite.beam;
import com.google.protobuf.ByteString;
import javax.annotation.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_Uuid extends Uuid {
private final ByteString value;
AutoValue_Uuid(
ByteString value) {
if (value == null) {
throw new NullPointerException("Null value");
}
this.value = value;
}
@Override
public ByteString value() {
return value;
}
@Override
public String toString() {
return "Uuid{"
+ "value=" + value
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof Uuid) {
Uuid that = (Uuid) o;
return this.value.equals(that.value());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= value.hashCode();
return h$;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy