/** * <code>repeated .hbase.pb.WALEntry entry = 1;</code> */ public Builder clearEntry() { if (entryBuilder_ == null) { entry_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { entryBuilder_.clear(); } return this; } /**
/** * <code>repeated .hbase.pb.WALEntry entry = 1;</code> */ public Builder setEntry( int index, org.apache.hadoop.hbase.protobuf.generated.AdminProtos.WALEntry value) { if (entryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEntryIsMutable(); entry_.set(index, value); onChanged(); } else { entryBuilder_.setMessage(index, value); } return this; } /**
/** * <code>repeated .hbase.pb.WALEntry entry = 1;</code> */ public Builder addEntry(org.apache.hadoop.hbase.protobuf.generated.AdminProtos.WALEntry value) { if (entryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEntryIsMutable(); entry_.add(value); onChanged(); } else { entryBuilder_.addMessage(value); } return this; } /**
/** * <code>optional string sourceHFileArchiveDirPath = 4;</code> */ public Builder clearSourceHFileArchiveDirPath() { bitField0_ = (bitField0_ & ~0x00000008); sourceHFileArchiveDirPath_ = getDefaultInstance().getSourceHFileArchiveDirPath(); onChanged(); return this; } /**
/** * <code>repeated .hbase.pb.WALEntry entry = 1;</code> */ public Builder addEntry( int index, org.apache.hadoop.hbase.protobuf.generated.AdminProtos.WALEntry value) { if (entryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEntryIsMutable(); entry_.add(index, value); onChanged(); } else { entryBuilder_.addMessage(index, value); } return this; } /**
/** * <code>repeated .hbase.pb.WALEntry entry = 1;</code> */ public Builder addAllEntry( java.lang.Iterable<? extends org.apache.hadoop.hbase.protobuf.generated.AdminProtos.WALEntry> values) { if (entryBuilder_ == null) { ensureEntryIsMutable(); super.addAll(values, entry_); onChanged(); } else { entryBuilder_.addAllMessages(values); } return this; } /**
/** * <code>repeated .hbase.pb.WALEntry entry = 1;</code> */ public Builder setEntry( int index, org.apache.hadoop.hbase.protobuf.generated.AdminProtos.WALEntry.Builder builderForValue) { if (entryBuilder_ == null) { ensureEntryIsMutable(); entry_.set(index, builderForValue.build()); onChanged(); } else { entryBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .hbase.pb.WALEntry entry = 1;</code> */ public Builder addEntry( org.apache.hadoop.hbase.protobuf.generated.AdminProtos.WALEntry.Builder builderForValue) { if (entryBuilder_ == null) { ensureEntryIsMutable(); entry_.add(builderForValue.build()); onChanged(); } else { entryBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <code>repeated .hbase.pb.WALEntry entry = 1;</code> */ public Builder removeEntry(int index) { if (entryBuilder_ == null) { ensureEntryIsMutable(); entry_.remove(index); onChanged(); } else { entryBuilder_.remove(index); } return this; } /**
/** * <code>repeated .hbase.pb.WALEntry entry = 1;</code> */ public Builder addEntry( int index, org.apache.hadoop.hbase.protobuf.generated.AdminProtos.WALEntry.Builder builderForValue) { if (entryBuilder_ == null) { ensureEntryIsMutable(); entry_.add(index, builderForValue.build()); onChanged(); } else { entryBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>optional string sourceBaseNamespaceDirPath = 3;</code> */ public Builder setSourceBaseNamespaceDirPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; sourceBaseNamespaceDirPath_ = value; onChanged(); return this; } /**
/** * <code>optional string sourceHFileArchiveDirPath = 4;</code> */ public Builder setSourceHFileArchiveDirPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; sourceHFileArchiveDirPath_ = value; onChanged(); return this; } /**
/** * <code>optional string replicationClusterId = 2;</code> */ public Builder setReplicationClusterId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; replicationClusterId_ = value; onChanged(); return this; } /**
/** * <code>optional string replicationClusterId = 2;</code> */ public Builder setReplicationClusterIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; replicationClusterId_ = value; onChanged(); return this; }
/** * <code>optional string sourceHFileArchiveDirPath = 4;</code> */ public Builder setSourceHFileArchiveDirPathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; sourceHFileArchiveDirPath_ = value; onChanged(); return this; }
/** * <code>optional string replicationClusterId = 2;</code> */ public Builder clearReplicationClusterId() { bitField0_ = (bitField0_ & ~0x00000002); replicationClusterId_ = getDefaultInstance().getReplicationClusterId(); onChanged(); return this; } /**
/** * <code>optional string sourceBaseNamespaceDirPath = 3;</code> */ public Builder setSourceBaseNamespaceDirPathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; sourceBaseNamespaceDirPath_ = value; onChanged(); return this; }
/** * <code>optional string sourceBaseNamespaceDirPath = 3;</code> */ public Builder clearSourceBaseNamespaceDirPath() { bitField0_ = (bitField0_ & ~0x00000004); sourceBaseNamespaceDirPath_ = getDefaultInstance().getSourceBaseNamespaceDirPath(); onChanged(); return this; } /**
/** * <code>optional string sourceHFileArchiveDirPath = 4;</code> */ public Builder clearSourceHFileArchiveDirPath() { bitField0_ = (bitField0_ & ~0x00000008); sourceHFileArchiveDirPath_ = getDefaultInstance().getSourceHFileArchiveDirPath(); onChanged(); return this; } /**