/** * <code>required .State state = 2;</code> */ public Builder setState(com.microsoft.reef.proto.ReefServiceProtos.State value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; state_ = value; onChanged(); return this; } /**
/** * <code>optional bytes error = 3;</code> */ public Builder setError(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; error_ = value; onChanged(); return this; } /**
/** * <code>required string evaluator_id = 1;</code> */ public Builder setEvaluatorIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; evaluatorId_ = value; onChanged(); return this; }
public Builder mergeFrom(com.microsoft.reef.proto.ReefServiceProtos.EvaluatorStatusProto other) { if (other == com.microsoft.reef.proto.ReefServiceProtos.EvaluatorStatusProto.getDefaultInstance()) return this; if (other.hasEvaluatorId()) { bitField0_ |= 0x00000001; evaluatorId_ = other.evaluatorId_; onChanged(); } if (other.hasState()) { setState(other.getState()); } if (other.hasError()) { setError(other.getError()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
/** * <code>required string evaluator_id = 1;</code> */ public Builder setEvaluatorId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; evaluatorId_ = value; onChanged(); return this; } /**
/** * <code>optional bytes error = 3;</code> */ public Builder clearError() { bitField0_ = (bitField0_ & ~0x00000004); error_ = getDefaultInstance().getError(); onChanged(); return this; }
/** * <code>required .State state = 2;</code> */ public Builder clearState() { bitField0_ = (bitField0_ & ~0x00000002); state_ = com.microsoft.reef.proto.ReefServiceProtos.State.INIT; onChanged(); return this; }
/** * <code>required string evaluator_id = 1;</code> */ public Builder clearEvaluatorId() { bitField0_ = (bitField0_ & ~0x00000001); evaluatorId_ = getDefaultInstance().getEvaluatorId(); onChanged(); return this; } /**