/** * * * <pre> * The name of the family to which the read/modify/write should be applied. * Must match `[-_.a-zA-Z0-9]+` * </pre> * * <code>string family_name = 1;</code> */ public Builder clearFamilyName() { familyName_ = getDefaultInstance().getFamilyName(); 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) + FAMILY_NAME_FIELD_NUMBER; hash = (53 * hash) + getFamilyName().hashCode(); hash = (37 * hash) + COLUMN_QUALIFIER_FIELD_NUMBER; hash = (53 * hash) + getColumnQualifier().hashCode(); switch (ruleCase_) { case 3: hash = (37 * hash) + APPEND_VALUE_FIELD_NUMBER; hash = (53 * hash) + getAppendValue().hashCode(); break; case 4: hash = (37 * hash) + INCREMENT_AMOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getIncrementAmount()); break; case 0: default: } 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 com.google.bigtable.v2.ReadModifyWriteRule)) { return super.equals(obj); } com.google.bigtable.v2.ReadModifyWriteRule other = (com.google.bigtable.v2.ReadModifyWriteRule) obj; boolean result = true; result = result && getFamilyName().equals(other.getFamilyName()); result = result && getColumnQualifier().equals(other.getColumnQualifier()); result = result && getRuleCase().equals(other.getRuleCase()); if (!result) return false; switch (ruleCase_) { case 3: result = result && getAppendValue().equals(other.getAppendValue()); break; case 4: result = result && (getIncrementAmount() == other.getIncrementAmount()); break; case 0: default: } result = result && unknownFields.equals(other.unknownFields); return result; }
public Builder mergeFrom(com.google.bigtable.v2.ReadModifyWriteRule other) { if (other == com.google.bigtable.v2.ReadModifyWriteRule.getDefaultInstance()) return this; if (!other.getFamilyName().isEmpty()) { familyName_ = other.familyName_; onChanged(); } if (other.getColumnQualifier() != com.google.protobuf.ByteString.EMPTY) { setColumnQualifier(other.getColumnQualifier()); } switch (other.getRuleCase()) { case APPEND_VALUE: { setAppendValue(other.getAppendValue()); break; } case INCREMENT_AMOUNT: { setIncrementAmount(other.getIncrementAmount()); break; } case RULE_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * <pre> * The name of the family to which the read/modify/write should be applied. * Must match `[-_.a-zA-Z0-9]+` * </pre> * * <code>string family_name = 1;</code> */ public Builder clearFamilyName() { familyName_ = getDefaultInstance().getFamilyName(); onChanged(); return this; } /**
/** * * * <pre> * The name of the family to which the read/modify/write should be applied. * Must match `[-_.a-zA-Z0-9]+` * </pre> * * <code>string family_name = 1;</code> */ public Builder clearFamilyName() { familyName_ = getDefaultInstance().getFamilyName(); 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) + FAMILY_NAME_FIELD_NUMBER; hash = (53 * hash) + getFamilyName().hashCode(); hash = (37 * hash) + COLUMN_QUALIFIER_FIELD_NUMBER; hash = (53 * hash) + getColumnQualifier().hashCode(); switch (ruleCase_) { case 3: hash = (37 * hash) + APPEND_VALUE_FIELD_NUMBER; hash = (53 * hash) + getAppendValue().hashCode(); break; case 4: hash = (37 * hash) + INCREMENT_AMOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getIncrementAmount()); break; case 0: default: } 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) + FAMILY_NAME_FIELD_NUMBER; hash = (53 * hash) + getFamilyName().hashCode(); hash = (37 * hash) + COLUMN_QUALIFIER_FIELD_NUMBER; hash = (53 * hash) + getColumnQualifier().hashCode(); switch (ruleCase_) { case 3: hash = (37 * hash) + APPEND_VALUE_FIELD_NUMBER; hash = (53 * hash) + getAppendValue().hashCode(); break; case 4: hash = (37 * hash) + INCREMENT_AMOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getIncrementAmount()); break; case 0: default: } 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 com.google.bigtable.v2.ReadModifyWriteRule)) { return super.equals(obj); } com.google.bigtable.v2.ReadModifyWriteRule other = (com.google.bigtable.v2.ReadModifyWriteRule) obj; boolean result = true; result = result && getFamilyName().equals(other.getFamilyName()); result = result && getColumnQualifier().equals(other.getColumnQualifier()); result = result && getRuleCase().equals(other.getRuleCase()); if (!result) return false; switch (ruleCase_) { case 3: result = result && getAppendValue().equals(other.getAppendValue()); break; case 4: result = result && (getIncrementAmount() == other.getIncrementAmount()); break; case 0: default: } result = result && unknownFields.equals(other.unknownFields); return result; }
result = result && getFamilyName() .equals(other.getFamilyName()); result = result && getColumnQualifier() .equals(other.getColumnQualifier());
public Builder mergeFrom(com.google.bigtable.v2.ReadModifyWriteRule other) { if (other == com.google.bigtable.v2.ReadModifyWriteRule.getDefaultInstance()) return this; if (!other.getFamilyName().isEmpty()) { familyName_ = other.familyName_; onChanged(); } if (other.getColumnQualifier() != com.google.protobuf.ByteString.EMPTY) { setColumnQualifier(other.getColumnQualifier()); } switch (other.getRuleCase()) { case APPEND_VALUE: { setAppendValue(other.getAppendValue()); break; } case INCREMENT_AMOUNT: { setIncrementAmount(other.getIncrementAmount()); break; } case RULE_NOT_SET: { break; } } onChanged(); return this; }
public Builder mergeFrom(com.google.bigtable.v2.ReadModifyWriteRule other) { if (other == com.google.bigtable.v2.ReadModifyWriteRule.getDefaultInstance()) return this; if (!other.getFamilyName().isEmpty()) { familyName_ = other.familyName_; onChanged(); } if (other.getColumnQualifier() != com.google.protobuf.ByteString.EMPTY) { setColumnQualifier(other.getColumnQualifier()); } switch (other.getRuleCase()) { case APPEND_VALUE: { setAppendValue(other.getAppendValue()); break; } case INCREMENT_AMOUNT: { setIncrementAmount(other.getIncrementAmount()); break; } case RULE_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }