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;
private void initFields() { taskMessage_ = com.google.protobuf.ByteString.EMPTY; contextMessage_ = com.microsoft.reef.proto.EvaluatorRuntimeProtocol.ContextMessageProto.getDefaultInstance(); addContext_ = com.microsoft.reef.proto.EvaluatorRuntimeProtocol.AddContextProto.getDefaultInstance(); removeContext_ = com.microsoft.reef.proto.EvaluatorRuntimeProtocol.RemoveContextProto.getDefaultInstance(); startTask_ = com.microsoft.reef.proto.EvaluatorRuntimeProtocol.StartTaskProto.getDefaultInstance(); stopTask_ = com.microsoft.reef.proto.EvaluatorRuntimeProtocol.StopTaskProto.getDefaultInstance(); suspendTask_ = com.microsoft.reef.proto.EvaluatorRuntimeProtocol.SuspendTaskProto.getDefaultInstance(); } private byte memoizedIsInitialized = -1;
public Builder mergeFrom(com.microsoft.reef.proto.EvaluatorRuntimeProtocol.StopEvaluatorProto other) { if (other == com.microsoft.reef.proto.EvaluatorRuntimeProtocol.StopEvaluatorProto.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(com.microsoft.reef.proto.DriverRuntimeProtocol.ResourceReleaseProto other) { if (other == com.microsoft.reef.proto.DriverRuntimeProtocol.ResourceReleaseProto.getDefaultInstance()) return this; if (other.hasIdentifier()) { bitField0_ |= 0x00000001; identifier_ = other.identifier_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
/** * <code>required string identifier = 1;</code> */ public Builder clearIdentifier() { bitField0_ = (bitField0_ & ~0x00000001); identifier_ = getDefaultInstance().getIdentifier(); onChanged(); return this; } /**
public com.microsoft.reef.proto.EvaluatorRuntimeProtocol.RemoveContextProto build() { com.microsoft.reef.proto.EvaluatorRuntimeProtocol.RemoveContextProto result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
/** * <code>required string context_id = 1;</code> */ public Builder clearContextId() { bitField0_ = (bitField0_ & ~0x00000001); contextId_ = getDefaultInstance().getContextId(); onChanged(); return this; } /**
/** * <code>required bytes message = 2;</code> */ public Builder clearMessage() { bitField0_ = (bitField0_ & ~0x00000002); message_ = getDefaultInstance().getMessage(); onChanged(); return this; }
public com.microsoft.reef.proto.REEFProtocol.REEFMessage build() { com.microsoft.reef.proto.REEFProtocol.REEFMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
public com.microsoft.reef.proto.DriverRuntimeProtocol.ResourceReleaseProto build() { com.microsoft.reef.proto.DriverRuntimeProtocol.ResourceReleaseProto result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
/** * <code>optional bytes exception = 3;</code> */ public Builder clearException() { bitField0_ = (bitField0_ & ~0x00000004); exception_ = getDefaultInstance().getException(); onChanged(); return this; }
public com.microsoft.reef.proto.ReefServiceProtos.JobStatusProto build() { com.microsoft.reef.proto.ReefServiceProtos.JobStatusProto result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
/** * <code>required string context_id = 2;</code> */ public Builder clearContextId() { bitField0_ = (bitField0_ & ~0x00000002); contextId_ = getDefaultInstance().getContextId(); onChanged(); return this; } /**
/** * <code>required string evaluator_id = 1;</code> */ public Builder clearEvaluatorId() { bitField0_ = (bitField0_ & ~0x00000001); evaluatorId_ = getDefaultInstance().getEvaluatorId(); onChanged(); return this; } /**
public com.microsoft.reef.proto.EvaluatorRuntimeProtocol.EvaluatorControlProto build() { com.microsoft.reef.proto.EvaluatorRuntimeProtocol.EvaluatorControlProto result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
/** * <code>required string identifier = 1;</code> */ public Builder clearIdentifier() { bitField0_ = (bitField0_ & ~0x00000001); identifier_ = getDefaultInstance().getIdentifier(); onChanged(); return this; } /**
public com.microsoft.reef.proto.EvaluatorRuntimeProtocol.StopTaskProto buildPartial() { com.microsoft.reef.proto.EvaluatorRuntimeProtocol.StopTaskProto result = new com.microsoft.reef.proto.EvaluatorRuntimeProtocol.StopTaskProto(this); onBuilt(); return result; }
public com.microsoft.reef.proto.EvaluatorRuntimeProtocol.SuspendTaskProto buildPartial() { com.microsoft.reef.proto.EvaluatorRuntimeProtocol.SuspendTaskProto result = new com.microsoft.reef.proto.EvaluatorRuntimeProtocol.SuspendTaskProto(this); onBuilt(); return result; }
private void initFields() { timestamp_ = 0L; identifier_ = ""; contextControl_ = com.microsoft.reef.proto.EvaluatorRuntimeProtocol.ContextControlProto.getDefaultInstance(); killEvaluator_ = com.microsoft.reef.proto.EvaluatorRuntimeProtocol.KillEvaluatorProto.getDefaultInstance(); } private byte memoizedIsInitialized = -1;
public com.microsoft.reef.proto.EvaluatorRuntimeProtocol.RemoveContextProto buildPartial() { com.microsoft.reef.proto.EvaluatorRuntimeProtocol.RemoveContextProto result = new com.microsoft.reef.proto.EvaluatorRuntimeProtocol.RemoveContextProto(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.contextId_ = contextId_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }