/** * * * <pre> * The value to be written into the specified cell. * </pre> * * <code>bytes value = 4;</code> */ public Builder setValue(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); return this; } /**
/** * * * <pre> * The name of the family into which new data should be written. * 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 into which new data should be written. * 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 timestamp of the cell into which new data should be written. * Use -1 for current Bigtable server time. * Otherwise, the client should set this value itself, noting that the * default value is a timestamp of zero if the field is left unspecified. * Values must match the granularity of the table (e.g. micros, millis). * </pre> * * <code>int64 timestamp_micros = 3;</code> */ public Builder clearTimestampMicros() { timestampMicros_ = 0L; onChanged(); return this; }
/** * * * <pre> * The timestamp of the cell into which new data should be written. * Use -1 for current Bigtable server time. * Otherwise, the client should set this value itself, noting that the * default value is a timestamp of zero if the field is left unspecified. * Values must match the granularity of the table (e.g. micros, millis). * </pre> * * <code>int64 timestamp_micros = 3;</code> */ public Builder clearTimestampMicros() { timestampMicros_ = 0L; onChanged(); return this; }
/** * <pre> * The qualifier of the column into which new data should be written. * 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 into which new data should be written. * Must match `[-_.a-zA-Z0-9]+` * </pre> * * <code>string family_name = 1;</code> */ public Builder clearFamilyName() { familyName_ = getDefaultInstance().getFamilyName(); onChanged(); return this; } /**
/** * <pre> * The value to be written into the specified cell. * </pre> * * <code>bytes value = 4;</code> */ public Builder setValue(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); return this; } /**
/** * * * <pre> * The value to be written into the specified cell. * </pre> * * <code>bytes value = 4;</code> */ public Builder clearValue() { value_ = getDefaultInstance().getValue(); onChanged(); return this; }
/** * <pre> * The name of the family into which new data should be written. * 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 into which new data should be written. * 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 value to be written into the specified cell. * </pre> * * <code>bytes value = 4;</code> */ public Builder clearValue() { value_ = getDefaultInstance().getValue(); onChanged(); return this; } public final Builder setUnknownFields(
/** * <pre> * The qualifier of the column into which new data should be written. * 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 into which new data should be written. * 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 timestamp of the cell into which new data should be written. * Use -1 for current Bigtable server time. * Otherwise, the client should set this value itself, noting that the * default value is a timestamp of zero if the field is left unspecified. * Values must match the granularity of the table (e.g. micros, millis). * </pre> * * <code>int64 timestamp_micros = 3;</code> */ public Builder clearTimestampMicros() { timestampMicros_ = 0L; onChanged(); return this; }
/** * * * <pre> * The timestamp of the cell into which new data should be written. * Use -1 for current Bigtable server time. * Otherwise, the client should set this value itself, noting that the * default value is a timestamp of zero if the field is left unspecified. * Values must match the granularity of the table (e.g. micros, millis). * </pre> * * <code>int64 timestamp_micros = 3;</code> */ public Builder setTimestampMicros(long value) { timestampMicros_ = value; onChanged(); return this; } /**
public Builder mergeFrom(com.google.bigtable.v2.Mutation.SetCell other) { if (other == com.google.bigtable.v2.Mutation.SetCell.getDefaultInstance()) return this; if (!other.getFamilyName().isEmpty()) { familyName_ = other.familyName_; onChanged(); } if (other.getColumnQualifier() != com.google.protobuf.ByteString.EMPTY) { setColumnQualifier(other.getColumnQualifier()); } if (other.getTimestampMicros() != 0L) { setTimestampMicros(other.getTimestampMicros()); } if (other.getValue() != com.google.protobuf.ByteString.EMPTY) { setValue(other.getValue()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * * * <pre> * The name of the family into which new data should be written. * Must match `[-_.a-zA-Z0-9]+` * </pre> * * <code>string family_name = 1;</code> */ public Builder clearFamilyName() { familyName_ = getDefaultInstance().getFamilyName(); onChanged(); return this; } /**
/** * * * <pre> * The value to be written into the specified cell. * </pre> * * <code>bytes value = 4;</code> */ public Builder clearValue() { value_ = getDefaultInstance().getValue(); onChanged(); return this; }
/** * * * <pre> * The qualifier of the column into which new data should be written. * 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; }