/** * <code>repeated bytes key_value_bytes = 2;</code> * * <pre> * Following may be null if the KVs/Cells are carried along the side in a cellblock (See * RPC for more on cellblocks). If Cells/KVs are in a cellblock, this next field is null * and associated_cell_count has count of Cells associated w/ this WALEntry * </pre> */ public Builder setKeyValueBytes( int index, com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureKeyValueBytesIsMutable(); keyValueBytes_.set(index, value); onChanged(); return this; } /**
/** * <code>repeated bytes key_value_bytes = 2;</code> * * <pre> * Following may be null if the KVs/Cells are carried along the side in a cellblock (See * RPC for more on cellblocks). If Cells/KVs are in a cellblock, this next field is null * and associated_cell_count has count of Cells associated w/ this WALEntry * </pre> */ public Builder addKeyValueBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureKeyValueBytesIsMutable(); keyValueBytes_.add(value); onChanged(); return this; } /**
/** * <code>repeated bytes key_value_bytes = 2;</code> * * <pre> * Following may be null if the KVs/Cells are carried along the side in a cellblock (See * RPC for more on cellblocks). If Cells/KVs are in a cellblock, this next field is null * and associated_cell_count has count of Cells associated w/ this WALEntry * </pre> */ public Builder addAllKeyValueBytes( java.lang.Iterable<? extends com.google.protobuf.ByteString> values) { ensureKeyValueBytesIsMutable(); super.addAll(values, keyValueBytes_); onChanged(); return this; } /**
public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.AdminProtos.WALEntry other) { if (other == org.apache.hadoop.hbase.protobuf.generated.AdminProtos.WALEntry.getDefaultInstance()) return this; if (other.hasKey()) { mergeKey(other.getKey()); } if (!other.keyValueBytes_.isEmpty()) { if (keyValueBytes_.isEmpty()) { keyValueBytes_ = other.keyValueBytes_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureKeyValueBytesIsMutable(); keyValueBytes_.addAll(other.keyValueBytes_); } onChanged(); } if (other.hasAssociatedCellCount()) { setAssociatedCellCount(other.getAssociatedCellCount()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.AdminProtos.WALEntry other) { if (other == org.apache.hadoop.hbase.protobuf.generated.AdminProtos.WALEntry.getDefaultInstance()) return this; if (other.hasKey()) { mergeKey(other.getKey()); } if (!other.keyValueBytes_.isEmpty()) { if (keyValueBytes_.isEmpty()) { keyValueBytes_ = other.keyValueBytes_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureKeyValueBytesIsMutable(); keyValueBytes_.addAll(other.keyValueBytes_); } onChanged(); } if (other.hasAssociatedCellCount()) { setAssociatedCellCount(other.getAssociatedCellCount()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.AdminProtos.WALEntry other) { if (other == org.apache.hadoop.hbase.protobuf.generated.AdminProtos.WALEntry.getDefaultInstance()) return this; if (other.hasKey()) { mergeKey(other.getKey()); } if (!other.keyValueBytes_.isEmpty()) { if (keyValueBytes_.isEmpty()) { keyValueBytes_ = other.keyValueBytes_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureKeyValueBytesIsMutable(); keyValueBytes_.addAll(other.keyValueBytes_); } onChanged(); } if (other.hasAssociatedCellCount()) { setAssociatedCellCount(other.getAssociatedCellCount()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
/** * <code>repeated bytes key_value_bytes = 2;</code> * * <pre> * Following may be null if the KVs/Cells are carried along the side in a cellblock (See * RPC for more on cellblocks). If Cells/KVs are in a cellblock, this next field is null * and associated_cell_count has count of Cells associated w/ this WALEntry * </pre> */ public Builder addKeyValueBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureKeyValueBytesIsMutable(); keyValueBytes_.add(value); onChanged(); return this; } /**
/** * <code>repeated bytes key_value_bytes = 2;</code> * * <pre> * Following may be null if the KVs/Cells are carried along the side in a cellblock (See * RPC for more on cellblocks). If Cells/KVs are in a cellblock, this next field is null * and associated_cell_count has count of Cells associated w/ this WALEntry * </pre> */ public Builder addKeyValueBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureKeyValueBytesIsMutable(); keyValueBytes_.add(value); onChanged(); return this; } /**
/** * <code>repeated bytes key_value_bytes = 2;</code> * * <pre> * Following may be null if the KVs/Cells are carried along the side in a cellblock (See * RPC for more on cellblocks). If Cells/KVs are in a cellblock, this next field is null * and associated_cell_count has count of Cells associated w/ this WALEntry * </pre> */ public Builder setKeyValueBytes( int index, com.facebook.presto.hbase.$internal.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureKeyValueBytesIsMutable(); keyValueBytes_.set(index, value); onChanged(); return this; } /**
/** * <code>repeated bytes key_value_bytes = 2;</code> * * <pre> * Following may be null if the KVs/Cells are carried along the side in a cellblock (See * RPC for more on cellblocks). If Cells/KVs are in a cellblock, this next field is null * and associated_cell_count has count of Cells associated w/ this WALEntry * </pre> */ public Builder addKeyValueBytes(com.facebook.presto.hbase.$internal.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureKeyValueBytesIsMutable(); keyValueBytes_.add(value); onChanged(); return this; } /**
/** * <code>repeated bytes key_value_bytes = 2;</code> * * <pre> * Following may be null if the KVs/Cells are carried along the side in a cellblock (See * RPC for more on cellblocks). If Cells/KVs are in a cellblock, this next field is null * and associated_cell_count has count of Cells associated w/ this WALEntry * </pre> */ public Builder setKeyValueBytes( int index, com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureKeyValueBytesIsMutable(); keyValueBytes_.set(index, value); onChanged(); return this; } /**
/** * <code>repeated bytes key_value_bytes = 2;</code> * * <pre> * Following may be null if the KVs/Cells are carried along the side in a cellblock (See * RPC for more on cellblocks). If Cells/KVs are in a cellblock, this next field is null * and associated_cell_count has count of Cells associated w/ this WALEntry * </pre> */ public Builder setKeyValueBytes( int index, com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureKeyValueBytesIsMutable(); keyValueBytes_.set(index, value); onChanged(); return this; } /**
/** * <code>repeated bytes key_value_bytes = 2;</code> * * <pre> * Following may be null if the KVs/Cells are carried along the side in a cellblock (See * RPC for more on cellblocks). If Cells/KVs are in a cellblock, this next field is null * and associated_cell_count has count of Cells associated w/ this WALEntry * </pre> */ public Builder addAllKeyValueBytes( java.lang.Iterable<? extends com.facebook.presto.hbase.$internal.com.google.protobuf.ByteString> values) { ensureKeyValueBytesIsMutable(); super.addAll(values, keyValueBytes_); onChanged(); return this; } /**
/** * <code>repeated bytes key_value_bytes = 2;</code> * * <pre> * Following may be null if the KVs/Cells are carried along the side in a cellblock (See * RPC for more on cellblocks). If Cells/KVs are in a cellblock, this next field is null * and associated_cell_count has count of Cells associated w/ this WALEntry * </pre> */ public Builder addAllKeyValueBytes( java.lang.Iterable<? extends com.google.protobuf.ByteString> values) { ensureKeyValueBytesIsMutable(); super.addAll(values, keyValueBytes_); onChanged(); return this; } /**
/** * <code>repeated bytes key_value_bytes = 2;</code> * * <pre> * Following may be null if the KVs/Cells are carried along the side in a cellblock (See * RPC for more on cellblocks). If Cells/KVs are in a cellblock, this next field is null * and associated_cell_count has count of Cells associated w/ this WALEntry * </pre> */ public Builder addAllKeyValueBytes( java.lang.Iterable<? extends com.google.protobuf.ByteString> values) { ensureKeyValueBytesIsMutable(); super.addAll(values, keyValueBytes_); onChanged(); return this; } /**
public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.AdminProtos.WALEntry other) { if (other == org.apache.hadoop.hbase.protobuf.generated.AdminProtos.WALEntry.getDefaultInstance()) return this; if (other.hasKey()) { mergeKey(other.getKey()); } if (!other.keyValueBytes_.isEmpty()) { if (keyValueBytes_.isEmpty()) { keyValueBytes_ = other.keyValueBytes_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureKeyValueBytesIsMutable(); keyValueBytes_.addAll(other.keyValueBytes_); } onChanged(); } if (other.hasAssociatedCellCount()) { setAssociatedCellCount(other.getAssociatedCellCount()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }