/** * * * <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 setFamilyNameBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); familyName_ = value; onChanged(); return this; }
/** * * * <pre> * The qualifier of the column to which the read/modify/write should be * applied. * Can be any byte string, including the empty string. * </pre> * * <code>bytes column_qualifier = 2;</code> */ public Builder setColumnQualifier(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } columnQualifier_ = value; 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 setFamilyName(java.lang.String value) { if (value == null) { throw new NullPointerException(); } familyName_ = value; 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 setFamilyName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } familyName_ = value; onChanged(); return this; } /**
/** * * * <pre> * Rule specifying that `increment_amount` be added to the existing value. * If the targeted cell is unset, it will be treated as containing a zero. * Otherwise, the targeted cell must contain an 8-byte value (interpreted * as a 64-bit big-endian signed integer), or the entire request will fail. * </pre> * * <code>int64 increment_amount = 4;</code> */ public Builder setIncrementAmount(long value) { ruleCase_ = 4; rule_ = value; 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 setFamilyNameBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); familyName_ = value; 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; } /**
/** * * * <pre> * The qualifier of the column to which the read/modify/write should be * applied. * Can be any byte string, including the empty string. * </pre> * * <code>bytes column_qualifier = 2;</code> */ public Builder clearColumnQualifier() { columnQualifier_ = getDefaultInstance().getColumnQualifier(); onChanged(); return this; }
/** * <pre> * The qualifier of the column to which the read/modify/write should be * applied. * Can be any byte string, including the empty string. * </pre> * * <code>bytes column_qualifier = 2;</code> */ public Builder clearColumnQualifier() { columnQualifier_ = getDefaultInstance().getColumnQualifier(); onChanged(); return this; }
public Builder clearRule() { ruleCase_ = 0; rule_ = null; onChanged(); return this; }
public Builder clearRule() { ruleCase_ = 0; rule_ = null; 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; }
/** * * * <pre> * Rule specifying that `append_value` be appended to the existing value. * If the targeted cell is unset, it will be treated as containing the * empty string. * </pre> * * <code>bytes append_value = 3;</code> */ public Builder setAppendValue(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ruleCase_ = 3; rule_ = value; onChanged(); return this; } /**
/** * * * <pre> * Rule specifying that `increment_amount` be added to the existing value. * If the targeted cell is unset, it will be treated as containing a zero. * Otherwise, the targeted cell must contain an 8-byte value (interpreted * as a 64-bit big-endian signed integer), or the entire request will fail. * </pre> * * <code>int64 increment_amount = 4;</code> */ public Builder clearIncrementAmount() { if (ruleCase_ == 4) { ruleCase_ = 0; rule_ = null; onChanged(); } return this; }
/** * * * <pre> * Rule specifying that `increment_amount` be added to the existing value. * If the targeted cell is unset, it will be treated as containing a zero. * Otherwise, the targeted cell must contain an 8-byte value (interpreted * as a 64-bit big-endian signed integer), or the entire request will fail. * </pre> * * <code>int64 increment_amount = 4;</code> */ public Builder setIncrementAmount(long value) { ruleCase_ = 4; rule_ = value; onChanged(); return this; } /**
/** * * * <pre> * Rule specifying that `append_value` be appended to the existing value. * If the targeted cell is unset, it will be treated as containing the * empty string. * </pre> * * <code>bytes append_value = 3;</code> */ public Builder clearAppendValue() { if (ruleCase_ == 3) { ruleCase_ = 0; rule_ = null; onChanged(); } return this; }
/** * * * <pre> * The qualifier of the column to which the read/modify/write should be * applied. * Can be any byte string, including the empty string. * </pre> * * <code>bytes column_qualifier = 2;</code> */ public Builder clearColumnQualifier() { columnQualifier_ = getDefaultInstance().getColumnQualifier(); 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; } /**
public Builder clearRule() { ruleCase_ = 0; rule_ = null; onChanged(); return this; }