@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; }
.computeUInt32Size(4, parameterType_); if (!getTypeNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, typeName_); if (!getClassNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, className_); if (!getNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, name_);
/** * <code>repeated .AvaticaParameter parameters = 3;</code> */ public org.apache.calcite.avatica.proto.Common.AvaticaParameter.Builder addParametersBuilder( int index) { return getParametersFieldBuilder().addBuilder( index, org.apache.calcite.avatica.proto.Common.AvaticaParameter.getDefaultInstance()); } /**
.computeUInt32Size(4, parameterType_); if (!getTypeNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessage.computeStringSize(5, typeName_); if (!getClassNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessage.computeStringSize(6, className_); if (!getNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessage.computeStringSize(7, name_);
.computeUInt32Size(4, parameterType_); if (!getTypeNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, typeName_); if (!getClassNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, className_); if (!getNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, name_);
@java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (signed_ != false) { output.writeBool(1, signed_); } if (precision_ != 0) { output.writeUInt32(2, precision_); } if (scale_ != 0) { output.writeUInt32(3, scale_); } if (parameterType_ != 0) { output.writeUInt32(4, parameterType_); } if (!getTypeNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, typeName_); } if (!getClassNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, className_); } if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, name_); } unknownFields.writeTo(output); }
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(); } onChanged(); return this; }
@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; }
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 void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (signed_ != false) { output.writeBool(1, signed_); } if (precision_ != 0) { output.writeUInt32(2, precision_); } if (scale_ != 0) { output.writeUInt32(3, scale_); } if (parameterType_ != 0) { output.writeUInt32(4, parameterType_); } if (!getTypeNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessage.writeString(output, 5, typeName_); } if (!getClassNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessage.writeString(output, 6, className_); } if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessage.writeString(output, 7, name_); } }
@java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (signed_ != false) { output.writeBool(1, signed_); } if (precision_ != 0) { output.writeUInt32(2, precision_); } if (scale_ != 0) { output.writeUInt32(3, scale_); } if (parameterType_ != 0) { output.writeUInt32(4, parameterType_); } if (!getTypeNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, typeName_); } if (!getClassNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, className_); } if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, name_); } unknownFields.writeTo(output); }
@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; }
@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; }
public org.apache.calcite.avatica.proto.Common.AvaticaParameter getDefaultInstanceForType() { return org.apache.calcite.avatica.proto.Common.AvaticaParameter.getDefaultInstance(); }
@java.lang.Override public org.apache.calcite.avatica.proto.Common.AvaticaParameter getDefaultInstanceForType() { return org.apache.calcite.avatica.proto.Common.AvaticaParameter.getDefaultInstance(); }
@java.lang.Override public org.apache.calcite.avatica.proto.Common.AvaticaParameter getDefaultInstanceForType() { return org.apache.calcite.avatica.proto.Common.AvaticaParameter.getDefaultInstance(); }
@java.lang.Override public org.apache.calcite.avatica.proto.Common.AvaticaParameter buildPartial() { org.apache.calcite.avatica.proto.Common.AvaticaParameter result = new org.apache.calcite.avatica.proto.Common.AvaticaParameter(this); result.signed_ = signed_; result.precision_ = precision_; result.scale_ = scale_; result.parameterType_ = parameterType_; result.typeName_ = typeName_; result.className_ = className_; result.name_ = name_; onBuilt(); return result; }
@java.lang.Override public org.apache.calcite.avatica.proto.Common.AvaticaParameter buildPartial() { org.apache.calcite.avatica.proto.Common.AvaticaParameter result = new org.apache.calcite.avatica.proto.Common.AvaticaParameter(this); result.signed_ = signed_; result.precision_ = precision_; result.scale_ = scale_; result.parameterType_ = parameterType_; result.typeName_ = typeName_; result.className_ = className_; result.name_ = name_; onBuilt(); return result; }
/** * <code>string type_name = 5;</code> */ public Builder clearTypeName() { typeName_ = getDefaultInstance().getTypeName(); onChanged(); return this; } /**