@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; }
public Builder mergeFrom(org.apache.calcite.avatica.proto.Common.MetaDataOperationArgument other) { if (other == org.apache.calcite.avatica.proto.Common.MetaDataOperationArgument.getDefaultInstance()) return this; if (!other.getStringValue().isEmpty()) { stringValue_ = other.stringValue_; onChanged();
public Builder mergeFrom(org.apache.calcite.avatica.proto.Common.MetaDataOperationArgument other) { if (other == org.apache.calcite.avatica.proto.Common.MetaDataOperationArgument.getDefaultInstance()) return this; if (!other.getStringValue().isEmpty()) { stringValue_ = other.stringValue_; onChanged();
public Builder mergeFrom(org.apache.calcite.avatica.proto.Common.MetaDataOperationArgument other) { if (other == org.apache.calcite.avatica.proto.Common.MetaDataOperationArgument.getDefaultInstance()) return this; if (!other.getStringValue().isEmpty()) { stringValue_ = other.stringValue_; onChanged();
switch (arg.getType()) { case STRING: opArgs[i] = arg.getStringValue(); break; case BOOL:
switch (arg.getType()) { case STRING: opArgs[i] = arg.getStringValue(); break; case BOOL:
switch (arg.getType()) { case STRING: opArgs[i] = arg.getStringValue(); break; case BOOL:
@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; }
/** * <code>string string_value = 1;</code> */ public Builder clearStringValue() { stringValue_ = getDefaultInstance().getStringValue(); onChanged(); return this; } /**
/** * <code>string string_value = 1;</code> */ public Builder clearStringValue() { stringValue_ = getDefaultInstance().getStringValue(); onChanged(); return this; } /**
/** * <code>optional string string_value = 1;</code> */ public Builder clearStringValue() { stringValue_ = getDefaultInstance().getStringValue(); onChanged(); return this; } /**