@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + STRING_VALUE_FIELD_NUMBER; hash = (53 * hash) + getStringValue().hashCode(); hash = (37 * hash) + BOOL_VALUE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getBoolValue()); hash = (37 * hash) + INT_VALUE_FIELD_NUMBER; hash = (53 * hash) + getIntValue(); if (getStringArrayValuesCount() > 0) { hash = (37 * hash) + STRING_ARRAY_VALUES_FIELD_NUMBER; hash = (53 * hash) + getStringArrayValuesList().hashCode(); } if (getIntArrayValuesCount() > 0) { hash = (37 * hash) + INT_ARRAY_VALUES_FIELD_NUMBER; hash = (53 * hash) + getIntArrayValuesList().hashCode(); } hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; 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) + STRING_VALUE_FIELD_NUMBER; hash = (53 * hash) + getStringValue().hashCode(); hash = (37 * hash) + BOOL_VALUE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getBoolValue()); hash = (37 * hash) + INT_VALUE_FIELD_NUMBER; hash = (53 * hash) + getIntValue(); if (getStringArrayValuesCount() > 0) { hash = (37 * hash) + STRING_ARRAY_VALUES_FIELD_NUMBER; hash = (53 * hash) + getStringArrayValuesList().hashCode(); } if (getIntArrayValuesCount() > 0) { hash = (37 * hash) + INT_ARRAY_VALUES_FIELD_NUMBER; hash = (53 * hash) + getIntArrayValuesList().hashCode(); } hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; 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.MetaDataOperationArgument)) { return super.equals(obj); } org.apache.calcite.avatica.proto.Common.MetaDataOperationArgument other = (org.apache.calcite.avatica.proto.Common.MetaDataOperationArgument) obj; boolean result = true; result = result && getStringValue() .equals(other.getStringValue()); result = result && (getBoolValue() == other.getBoolValue()); result = result && (getIntValue() == other.getIntValue()); result = result && getStringArrayValuesList() .equals(other.getStringArrayValuesList()); result = result && getIntArrayValuesList() .equals(other.getIntArrayValuesList()); result = result && type_ == other.type_; result = result && unknownFields.equals(other.unknownFields); return result; }
setBoolValue(other.getBoolValue()); if (other.getIntValue() != 0) { setIntValue(other.getIntValue());
setBoolValue(other.getBoolValue()); if (other.getIntValue() != 0) { setIntValue(other.getIntValue());
setBoolValue(other.getBoolValue()); if (other.getIntValue() != 0) { setIntValue(other.getIntValue());
break; case INT: opArgs[i] = arg.getIntValue(); break; case REPEATED_STRING:
break; case INT: opArgs[i] = arg.getIntValue(); break; case REPEATED_STRING:
break; case INT: opArgs[i] = arg.getIntValue(); break; case REPEATED_STRING:
@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.MetaDataOperationArgument)) { return super.equals(obj); } org.apache.calcite.avatica.proto.Common.MetaDataOperationArgument other = (org.apache.calcite.avatica.proto.Common.MetaDataOperationArgument) obj; boolean result = true; result = result && getStringValue() .equals(other.getStringValue()); result = result && (getBoolValue() == other.getBoolValue()); result = result && (getIntValue() == other.getIntValue()); result = result && getStringArrayValuesList() .equals(other.getStringArrayValuesList()); result = result && getIntArrayValuesList() .equals(other.getIntArrayValuesList()); result = result && type_ == other.type_; result = result && unknownFields.equals(other.unknownFields); return result; }