/** * <code>optional string partitionName = 3;</code> */ public Builder setPartitionNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; partitionName_ = value; onChanged(); return this; }
/** * <code>optional string partitionName = 3;</code> */ public Builder setPartitionName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; partitionName_ = value; onChanged(); return this; } /**
/** * <code>optional string path = 4;</code> */ public Builder setPathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; path_ = value; onChanged(); return this; }
public Builder mergeFrom(org.apache.tajo.catalog.proto.CatalogProtos.TablePartitionProto other) { if (other == org.apache.tajo.catalog.proto.CatalogProtos.TablePartitionProto.getDefaultInstance()) return this; if (other.hasPartitionId()) { setPartitionId(other.getPartitionId()); } if (other.hasTid()) { setTid(other.getTid()); } if (other.hasPartitionName()) { bitField0_ |= 0x00000004; partitionName_ = other.partitionName_; onChanged(); } if (other.hasPath()) { bitField0_ |= 0x00000008; path_ = other.path_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
/** * <code>optional string path = 4;</code> */ public Builder setPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; path_ = value; onChanged(); return this; } /**
/** * <code>optional string partitionName = 3;</code> */ public Builder clearPartitionName() { bitField0_ = (bitField0_ & ~0x00000004); partitionName_ = getDefaultInstance().getPartitionName(); onChanged(); return this; } /**
/** * <code>required int32 tid = 2;</code> */ public Builder setTid(int value) { bitField0_ |= 0x00000002; tid_ = value; onChanged(); return this; } /**
/** * <code>required int32 partition_id = 1;</code> */ public Builder clearPartitionId() { bitField0_ = (bitField0_ & ~0x00000001); partitionId_ = 0; onChanged(); return this; }
/** * <code>required int32 partition_id = 1;</code> */ public Builder setPartitionId(int value) { bitField0_ |= 0x00000001; partitionId_ = value; onChanged(); return this; } /**
/** * <code>optional string path = 4;</code> */ public Builder clearPath() { bitField0_ = (bitField0_ & ~0x00000008); path_ = getDefaultInstance().getPath(); onChanged(); return this; } /**
/** * <code>required int32 tid = 2;</code> */ public Builder clearTid() { bitField0_ = (bitField0_ & ~0x00000002); tid_ = 0; onChanged(); return this; }