@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SIGNED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getSigned()); hash = (37 * hash) + PRECISION_FIELD_NUMBER; hash = (53 * hash) + getPrecision(); hash = (37 * hash) + SCALE_FIELD_NUMBER; hash = (53 * hash) + getScale(); hash = (37 * hash) + PARAMETER_TYPE_FIELD_NUMBER; hash = (53 * hash) + getParameterType(); hash = (37 * hash) + TYPE_NAME_FIELD_NUMBER; hash = (53 * hash) + getTypeName().hashCode(); hash = (37 * hash) + CLASS_NAME_FIELD_NUMBER; hash = (53 * hash) + getClassName().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SIGNED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getSigned()); hash = (37 * hash) + PRECISION_FIELD_NUMBER; hash = (53 * hash) + getPrecision(); hash = (37 * hash) + SCALE_FIELD_NUMBER; hash = (53 * hash) + getScale(); hash = (37 * hash) + PARAMETER_TYPE_FIELD_NUMBER; hash = (53 * hash) + getParameterType(); hash = (37 * hash) + TYPE_NAME_FIELD_NUMBER; hash = (53 * hash) + getTypeName().hashCode(); hash = (37 * hash) + CLASS_NAME_FIELD_NUMBER; hash = (53 * hash) + getClassName().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.calcite.avatica.proto.Common.AvaticaParameter)) { return super.equals(obj); } org.apache.calcite.avatica.proto.Common.AvaticaParameter other = (org.apache.calcite.avatica.proto.Common.AvaticaParameter) obj; boolean result = true; result = result && (getSigned() == other.getSigned()); result = result && (getPrecision() == other.getPrecision()); result = result && (getScale() == other.getScale()); result = result && (getParameterType() == other.getParameterType()); result = result && getTypeName() .equals(other.getTypeName()); result = result && getClassName() .equals(other.getClassName()); result = result && getName() .equals(other.getName()); result = result && unknownFields.equals(other.unknownFields); return result; }
public Builder mergeFrom(org.apache.calcite.avatica.proto.Common.AvaticaParameter other) { if (other == org.apache.calcite.avatica.proto.Common.AvaticaParameter.getDefaultInstance()) return this; if (other.getSigned() != false) { setSigned(other.getSigned()); } if (other.getPrecision() != 0) { setPrecision(other.getPrecision()); } if (other.getScale() != 0) { setScale(other.getScale()); } if (other.getParameterType() != 0) { setParameterType(other.getParameterType()); } if (!other.getTypeName().isEmpty()) { typeName_ = other.typeName_; onChanged(); } if (!other.getClassName().isEmpty()) { className_ = other.className_; onChanged(); } if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } onChanged(); return this; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.calcite.avatica.proto.Common.AvaticaParameter)) { return super.equals(obj); } org.apache.calcite.avatica.proto.Common.AvaticaParameter other = (org.apache.calcite.avatica.proto.Common.AvaticaParameter) obj; boolean result = true; result = result && (getSigned() == other.getSigned()); result = result && (getPrecision() == other.getPrecision()); result = result && (getScale() == other.getScale()); result = result && (getParameterType() == other.getParameterType()); result = result && getTypeName() .equals(other.getTypeName()); result = result && getClassName() .equals(other.getClassName()); result = result && getName() .equals(other.getName()); result = result && unknownFields.equals(other.unknownFields); return result; }
public Builder mergeFrom(org.apache.calcite.avatica.proto.Common.AvaticaParameter other) { if (other == org.apache.calcite.avatica.proto.Common.AvaticaParameter.getDefaultInstance()) return this; if (other.getSigned() != false) { setSigned(other.getSigned()); } if (other.getPrecision() != 0) { setPrecision(other.getPrecision()); } if (other.getScale() != 0) { setScale(other.getScale()); } if (other.getParameterType() != 0) { setParameterType(other.getParameterType()); } if (!other.getTypeName().isEmpty()) { typeName_ = other.typeName_; onChanged(); } if (!other.getClassName().isEmpty()) { className_ = other.className_; onChanged(); } if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public Builder mergeFrom(org.apache.calcite.avatica.proto.Common.AvaticaParameter other) { if (other == org.apache.calcite.avatica.proto.Common.AvaticaParameter.getDefaultInstance()) return this; if (other.getSigned() != false) { setSigned(other.getSigned()); } if (other.getPrecision() != 0) { setPrecision(other.getPrecision()); } if (other.getScale() != 0) { setScale(other.getScale()); } if (other.getParameterType() != 0) { setParameterType(other.getParameterType()); } if (!other.getTypeName().isEmpty()) { typeName_ = other.typeName_; onChanged(); } if (!other.getClassName().isEmpty()) { className_ = other.className_; onChanged(); } if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public static AvaticaParameter fromProto(Common.AvaticaParameter proto) { return new AvaticaParameter(proto.getSigned(), proto.getPrecision(), proto.getScale(), proto.getParameterType(), proto.getTypeName(), proto.getClassName(), proto.getName()); }
public static AvaticaParameter fromProto(Common.AvaticaParameter proto) { return new AvaticaParameter(proto.getSigned(), proto.getPrecision(), proto.getScale(), proto.getParameterType(), proto.getTypeName(), proto.getClassName(), proto.getName()); }
/** * <code>string name = 7;</code> */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
/** * <code>optional string name = 7;</code> */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
public static AvaticaParameter fromProto(Common.AvaticaParameter proto) { return new AvaticaParameter(proto.getSigned(), proto.getPrecision(), proto.getScale(), proto.getParameterType(), proto.getTypeName(), proto.getClassName(), proto.getName()); }
/** * <code>string name = 7;</code> */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /**