/** * <code>optional bytes message = 3;</code> */ public Builder setMessage(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; message_ = value; onChanged(); return this; } /**
/** * <code>optional .Signal signal = 2;</code> */ public Builder setSignal(com.microsoft.reef.proto.ClientRuntimeProtocol.Signal value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; signal_ = value; onChanged(); return this; } /**
/** * <code>required string identifier = 1;</code> */ public Builder setIdentifierBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; identifier_ = value; onChanged(); return this; }
public Builder mergeFrom(com.microsoft.reef.proto.ClientRuntimeProtocol.JobControlProto other) { if (other == com.microsoft.reef.proto.ClientRuntimeProtocol.JobControlProto.getDefaultInstance()) return this; if (other.hasIdentifier()) { bitField0_ |= 0x00000001; identifier_ = other.identifier_; onChanged(); } if (other.hasSignal()) { setSignal(other.getSignal()); } if (other.hasMessage()) { setMessage(other.getMessage()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
/** * <code>required string identifier = 1;</code> */ public Builder setIdentifier( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; identifier_ = value; onChanged(); return this; } /**
/** * <code>optional .Signal signal = 2;</code> */ public Builder clearSignal() { bitField0_ = (bitField0_ & ~0x00000002); signal_ = com.microsoft.reef.proto.ClientRuntimeProtocol.Signal.SIG_TERMINATE; onChanged(); return this; }
/** * <code>optional bytes message = 3;</code> */ public Builder clearMessage() { bitField0_ = (bitField0_ & ~0x00000004); message_ = getDefaultInstance().getMessage(); onChanged(); return this; }
/** * <code>required string identifier = 1;</code> */ public Builder clearIdentifier() { bitField0_ = (bitField0_ & ~0x00000001); identifier_ = getDefaultInstance().getIdentifier(); onChanged(); return this; } /**