/** * <code>optional .exec.Roles roles = 5;</code> * * <pre> * optional int32 __unused = 4; * </pre> */ public Builder setRoles(com.dremio.exec.proto.CoordinationProtos.Roles value) { if (rolesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } roles_ = value; onChanged(); } else { rolesBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /**
/** * <code>optional string provision_id = 102;</code> */ public Builder setProvisionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; provisionId_ = value; onChanged(); return this; }
/** * <code>optional string address = 1;</code> */ public Builder setAddressBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; address_ = value; onChanged(); return this; }
/** * <code>optional .exec.Roles roles = 5;</code> * * <pre> * optional int32 __unused = 4; * </pre> */ public Builder setRoles( com.dremio.exec.proto.CoordinationProtos.Roles.Builder builderForValue) { if (rolesBuilder_ == null) { roles_ = builderForValue.build(); onChanged(); } else { rolesBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /**
/** * <code>optional .exec.Roles roles = 5;</code> * * <pre> * optional int32 __unused = 4; * </pre> */ public Builder clearRoles() { if (rolesBuilder_ == null) { roles_ = com.dremio.exec.proto.CoordinationProtos.Roles.getDefaultInstance(); onChanged(); } else { rolesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /**
/** * <code>optional string address = 1;</code> */ public Builder setAddress( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; address_ = value; onChanged(); return this; } /**
/** * <code>optional int64 max_direct_memory = 103;</code> * * <pre> * direct memory capacity in bytes * </pre> */ public Builder setMaxDirectMemory(long value) { bitField0_ |= 0x00000040; maxDirectMemory_ = value; onChanged(); return this; } /**
/** * <code>optional int32 available_cores = 104;</code> * * <pre> * available number of cores per executor * </pre> */ public Builder clearAvailableCores() { bitField0_ = (bitField0_ & ~0x00000080); availableCores_ = 0; onChanged(); return this; }
/** * <code>optional int32 available_cores = 104;</code> * * <pre> * available number of cores per executor * </pre> */ public Builder setAvailableCores(int value) { bitField0_ |= 0x00000080; availableCores_ = value; onChanged(); return this; } /**
/** * <code>optional string provision_id = 102;</code> */ public Builder setProvisionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; provisionId_ = value; onChanged(); return this; } /**
/** * <code>optional int64 max_direct_memory = 103;</code> * * <pre> * direct memory capacity in bytes * </pre> */ public Builder clearMaxDirectMemory() { bitField0_ = (bitField0_ & ~0x00000040); maxDirectMemory_ = 0L; onChanged(); return this; }
/** * <code>optional .exec.Roles roles = 5;</code> * * <pre> * optional int32 __unused = 4; * </pre> */ public com.dremio.exec.proto.CoordinationProtos.Roles.Builder getRolesBuilder() { bitField0_ |= 0x00000008; onChanged(); return getRolesFieldBuilder().getBuilder(); } /**
/** * <code>optional string provision_id = 102;</code> */ public Builder clearProvisionId() { bitField0_ = (bitField0_ & ~0x00000020); provisionId_ = getDefaultInstance().getProvisionId(); onChanged(); return this; } /**
/** * <code>optional int32 user_port = 2;</code> */ public Builder clearUserPort() { bitField0_ = (bitField0_ & ~0x00000002); userPort_ = 0; onChanged(); return this; }
/** * <code>optional int32 user_port = 2;</code> */ public Builder setUserPort(int value) { bitField0_ |= 0x00000002; userPort_ = value; onChanged(); return this; } /**
/** * <code>optional int32 fabric_port = 3;</code> */ public Builder clearFabricPort() { bitField0_ = (bitField0_ & ~0x00000004); fabricPort_ = 0; onChanged(); return this; }
/** * <code>optional string address = 1;</code> */ public Builder clearAddress() { bitField0_ = (bitField0_ & ~0x00000001); address_ = getDefaultInstance().getAddress(); onChanged(); return this; } /**
/** * <code>optional int64 startTime = 101;</code> */ public Builder clearStartTime() { bitField0_ = (bitField0_ & ~0x00000010); startTime_ = 0L; onChanged(); return this; }
/** * <code>optional int64 startTime = 101;</code> */ public Builder setStartTime(long value) { bitField0_ |= 0x00000010; startTime_ = value; onChanged(); return this; } /**
/** * <code>optional int32 fabric_port = 3;</code> */ public Builder setFabricPort(int value) { bitField0_ |= 0x00000004; fabricPort_ = value; onChanged(); return this; } /**