public Builder clear() { super.clear(); name_ = ""; bitField0_ = (bitField0_ & ~0x00000001); state_ = com.microsoft.reef.proto.ReefServiceProtos.State.INIT; bitField0_ = (bitField0_ & ~0x00000002); if (errorBuilder_ == null) { error_ = com.microsoft.reef.proto.ReefServiceProtos.RuntimeErrorProto.getDefaultInstance(); } else { errorBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); outstandingContainerRequests_ = 0; bitField0_ = (bitField0_ & ~0x00000008); containerAllocation_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000010); return this; }
runtimeError_ = com.microsoft.reef.proto.ReefServiceProtos.RuntimeErrorProto.getDefaultInstance(); } else { runtimeErrorBuilder_.clear();
/** * <code>optional .RuntimeErrorProto runtimeError = 3;</code> * * <pre> * Messages defined in reef_service_protos.proto * </pre> */ public Builder clearRuntimeError() { if (runtimeErrorBuilder_ == null) { runtimeError_ = com.microsoft.reef.proto.ReefServiceProtos.RuntimeErrorProto.getDefaultInstance(); onChanged(); } else { runtimeErrorBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } /**
/** * <code>optional .RuntimeErrorProto error = 3;</code> * * <pre> * runtime (e.g., YARN) error * </pre> */ public Builder mergeError(com.microsoft.reef.proto.ReefServiceProtos.RuntimeErrorProto value) { if (errorBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004) && error_ != com.microsoft.reef.proto.ReefServiceProtos.RuntimeErrorProto.getDefaultInstance()) { error_ = com.microsoft.reef.proto.ReefServiceProtos.RuntimeErrorProto.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } onChanged(); } else { errorBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /**
public Builder mergeFrom(com.microsoft.reef.proto.ReefServiceProtos.RuntimeErrorProto other) { if (other == com.microsoft.reef.proto.ReefServiceProtos.RuntimeErrorProto.getDefaultInstance()) return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; onChanged(); } if (other.hasMessage()) { bitField0_ |= 0x00000002; message_ = other.message_; onChanged(); } if (other.hasException()) { setException(other.getException()); } if (other.hasIdentifier()) { bitField0_ |= 0x00000008; identifier_ = other.identifier_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
/** * <code>optional .RuntimeErrorProto runtimeError = 3;</code> * * <pre> * Messages defined in reef_service_protos.proto * </pre> */ public Builder mergeRuntimeError(com.microsoft.reef.proto.ReefServiceProtos.RuntimeErrorProto value) { if (runtimeErrorBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004) && runtimeError_ != com.microsoft.reef.proto.ReefServiceProtos.RuntimeErrorProto.getDefaultInstance()) { runtimeError_ = com.microsoft.reef.proto.ReefServiceProtos.RuntimeErrorProto.newBuilder(runtimeError_).mergeFrom(value).buildPartial(); } else { runtimeError_ = value; } onChanged(); } else { runtimeErrorBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /**
/** * <code>optional .RuntimeErrorProto error = 3;</code> * * <pre> * runtime (e.g., YARN) error * </pre> */ public Builder clearError() { if (errorBuilder_ == null) { error_ = com.microsoft.reef.proto.ReefServiceProtos.RuntimeErrorProto.getDefaultInstance(); onChanged(); } else { errorBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } /**
/** * <code>optional string identifier = 5;</code> * * <pre> * e.g., evaluator id * </pre> */ public Builder clearIdentifier() { bitField0_ = (bitField0_ & ~0x00000008); identifier_ = getDefaultInstance().getIdentifier(); onChanged(); return this; } /**
public com.microsoft.reef.proto.ReefServiceProtos.RuntimeErrorProto getDefaultInstanceForType() { return com.microsoft.reef.proto.ReefServiceProtos.RuntimeErrorProto.getDefaultInstance(); }
/** * <code>required string name = 1;</code> * * <pre> * e.g., local, yarn21 * </pre> */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
/** * <code>required string message = 2;</code> */ public Builder clearMessage() { bitField0_ = (bitField0_ & ~0x00000002); message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /**
private void initFields() { name_ = ""; state_ = com.microsoft.reef.proto.ReefServiceProtos.State.INIT; error_ = com.microsoft.reef.proto.ReefServiceProtos.RuntimeErrorProto.getDefaultInstance(); outstandingContainerRequests_ = 0; containerAllocation_ = com.google.protobuf.LazyStringArrayList.EMPTY; } private byte memoizedIsInitialized = -1;
/** * <code>optional bytes exception = 3;</code> */ public Builder clearException() { bitField0_ = (bitField0_ & ~0x00000004); exception_ = getDefaultInstance().getException(); onChanged(); return this; }
private void initFields() { jobSubmission_ = com.microsoft.reef.proto.ClientRuntimeProtocol.JobSubmissionProto.getDefaultInstance(); jobControl_ = com.microsoft.reef.proto.ClientRuntimeProtocol.JobControlProto.getDefaultInstance(); runtimeError_ = com.microsoft.reef.proto.ReefServiceProtos.RuntimeErrorProto.getDefaultInstance(); jobStatus_ = com.microsoft.reef.proto.ReefServiceProtos.JobStatusProto.getDefaultInstance(); evaluatorControl_ = com.microsoft.reef.proto.EvaluatorRuntimeProtocol.EvaluatorControlProto.getDefaultInstance(); evaluatorHeartBeat_ = com.microsoft.reef.proto.EvaluatorRuntimeProtocol.EvaluatorHeartbeatProto.getDefaultInstance(); } private byte memoizedIsInitialized = -1;