/** * <code>optional .exec.bit.control.FragmentPriority priority = 4;</code> */ public Builder setPriority(com.dremio.exec.proto.CoordExecRPC.FragmentPriority value) { if (priorityBuilder_ == null) { if (value == null) { throw new NullPointerException(); } priority_ = value; onChanged(); } else { priorityBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /**
/** * <code>optional bytes extra = 6;</code> */ public Builder setExtra(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; extra_ = value; onChanged(); return this; } /**
/** * <code>optional string default_schema_name = 3;</code> * * <pre> * default schema in current session when the query is submitted * </pre> */ public Builder setDefaultSchemaNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; defaultSchemaName_ = value; onChanged(); return this; }
public Builder mergeFrom(com.dremio.exec.proto.CoordExecRPC.QueryContextInformation other) { if (other == com.dremio.exec.proto.CoordExecRPC.QueryContextInformation.getDefaultInstance()) return this; if (other.hasQueryStartTime()) { setQueryStartTime(other.getQueryStartTime()); } if (other.hasTimeZone()) { setTimeZone(other.getTimeZone()); } if (other.hasDefaultSchemaName()) { bitField0_ |= 0x00000004; defaultSchemaName_ = other.defaultSchemaName_; onChanged(); } if (other.hasPriority()) { mergePriority(other.getPriority()); } if (other.hasQueryMaxAllocation()) { setQueryMaxAllocation(other.getQueryMaxAllocation()); } if (other.hasExtra()) { setExtra(other.getExtra()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
/** * <code>optional .exec.bit.control.FragmentPriority priority = 4;</code> */ public Builder mergePriority(com.dremio.exec.proto.CoordExecRPC.FragmentPriority value) { if (priorityBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008) && priority_ != com.dremio.exec.proto.CoordExecRPC.FragmentPriority.getDefaultInstance()) { priority_ = com.dremio.exec.proto.CoordExecRPC.FragmentPriority.newBuilder(priority_).mergeFrom(value).buildPartial(); } else { priority_ = value; } onChanged(); } else { priorityBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /**
/** * <code>optional string default_schema_name = 3;</code> * * <pre> * default schema in current session when the query is submitted * </pre> */ public Builder setDefaultSchemaName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; defaultSchemaName_ = value; onChanged(); return this; } /**
/** * <code>optional .exec.bit.control.FragmentPriority priority = 4;</code> */ public Builder setPriority( com.dremio.exec.proto.CoordExecRPC.FragmentPriority.Builder builderForValue) { if (priorityBuilder_ == null) { priority_ = builderForValue.build(); onChanged(); } else { priorityBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /**
/** * <code>optional string default_schema_name = 3;</code> * * <pre> * default schema in current session when the query is submitted * </pre> */ public Builder clearDefaultSchemaName() { bitField0_ = (bitField0_ & ~0x00000004); defaultSchemaName_ = getDefaultInstance().getDefaultSchemaName(); onChanged(); return this; } /**
/** * <code>optional int32 time_zone = 2;</code> * * <pre> * timezone of the node where user is connected * </pre> */ public Builder setTimeZone(int value) { bitField0_ |= 0x00000002; timeZone_ = value; onChanged(); return this; } /**
/** * <code>optional int64 query_start_time = 1;</code> * * <pre> * start time of query in milliseconds * </pre> */ public Builder clearQueryStartTime() { bitField0_ = (bitField0_ & ~0x00000001); queryStartTime_ = 0L; onChanged(); return this; }
/** * <code>optional int32 time_zone = 2;</code> * * <pre> * timezone of the node where user is connected * </pre> */ public Builder clearTimeZone() { bitField0_ = (bitField0_ & ~0x00000002); timeZone_ = 0; onChanged(); return this; }
/** * <code>optional int64 query_max_allocation = 5;</code> */ public Builder clearQueryMaxAllocation() { bitField0_ = (bitField0_ & ~0x00000010); queryMaxAllocation_ = 0L; onChanged(); return this; }
/** * <code>optional bytes extra = 6;</code> */ public Builder clearExtra() { bitField0_ = (bitField0_ & ~0x00000020); extra_ = getDefaultInstance().getExtra(); onChanged(); return this; }
/** * <code>optional int64 query_max_allocation = 5;</code> */ public Builder setQueryMaxAllocation(long value) { bitField0_ |= 0x00000010; queryMaxAllocation_ = value; onChanged(); return this; } /**
/** * <code>optional int64 query_start_time = 1;</code> * * <pre> * start time of query in milliseconds * </pre> */ public Builder setQueryStartTime(long value) { bitField0_ |= 0x00000001; queryStartTime_ = value; onChanged(); return this; } /**
/** * <code>optional .exec.bit.control.FragmentPriority priority = 4;</code> */ public com.dremio.exec.proto.CoordExecRPC.FragmentPriority.Builder getPriorityBuilder() { bitField0_ |= 0x00000008; onChanged(); return getPriorityFieldBuilder().getBuilder(); } /**
/** * <code>optional .exec.bit.control.FragmentPriority priority = 4;</code> */ public Builder clearPriority() { if (priorityBuilder_ == null) { priority_ = com.dremio.exec.proto.CoordExecRPC.FragmentPriority.getDefaultInstance(); onChanged(); } else { priorityBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /**