@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.tensorflow.framework.KernelDef.AttrConstraint)) { return super.equals(obj); } org.tensorflow.framework.KernelDef.AttrConstraint other = (org.tensorflow.framework.KernelDef.AttrConstraint) obj; boolean result = true; result = result && getName() .equals(other.getName()); result = result && (hasAllowedValues() == other.hasAllowedValues()); if (hasAllowedValues()) { result = result && getAllowedValues() .equals(other.getAllowedValues()); } result = result && unknownFields.equals(other.unknownFields); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof tensorflow.OpGenOverridesOuterClass.OpGenOverride.AttrDefault)) { return super.equals(obj); } tensorflow.OpGenOverridesOuterClass.OpGenOverride.AttrDefault other = (tensorflow.OpGenOverridesOuterClass.OpGenOverride.AttrDefault) obj; boolean result = true; result = result && getName() .equals(other.getName()); result = result && (hasValue() == other.hasValue()); if (hasValue()) { result = result && getValue() .equals(other.getValue()); } result = result && unknownFields.equals(other.unknownFields); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.tensorflow.framework.ApiDef.Attr)) { return super.equals(obj); } org.tensorflow.framework.ApiDef.Attr other = (org.tensorflow.framework.ApiDef.Attr) obj; boolean result = true; result = result && getName() .equals(other.getName()); result = result && getRenameTo() .equals(other.getRenameTo()); result = result && (hasDefaultValue() == other.hasDefaultValue()); if (hasDefaultValue()) { result = result && getDefaultValue() .equals(other.getDefaultValue()); } result = result && getDescription() .equals(other.getDescription()); result = result && unknownFields.equals(other.unknownFields); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.tensorflow.framework.KernelDef.AttrConstraint)) { return super.equals(obj); } org.tensorflow.framework.KernelDef.AttrConstraint other = (org.tensorflow.framework.KernelDef.AttrConstraint) obj; boolean result = true; result = result && getName() .equals(other.getName()); result = result && (hasAllowedValues() == other.hasAllowedValues()); if (hasAllowedValues()) { result = result && getAllowedValues() .equals(other.getAllowedValues()); } result = result && unknownFields.equals(other.unknownFields); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.tensorflow.framework.ApiDef.Attr)) { return super.equals(obj); } org.tensorflow.framework.ApiDef.Attr other = (org.tensorflow.framework.ApiDef.Attr) obj; boolean result = true; result = result && getName() .equals(other.getName()); result = result && getRenameTo() .equals(other.getRenameTo()); result = result && (hasDefaultValue() == other.hasDefaultValue()); if (hasDefaultValue()) { result = result && getDefaultValue() .equals(other.getDefaultValue()); } result = result && getDescription() .equals(other.getDescription()); result = result && unknownFields.equals(other.unknownFields); return result; }