public override void SetNodeState(NodeState nodeState) { MaybeInitBuilder(); if (nodeState == null) { builder.ClearNodeState(); return; } builder.SetNodeState(ProtoUtils.ConvertToProtoFormat(nodeState)); }
private YarnProtos.FinalApplicationStatusProto ConvertToProtoFormat(FinalApplicationStatus s) { return(ProtoUtils.ConvertToProtoFormat(s)); }
private YarnProtos.YarnApplicationStateProto ConvertToProtoFormat(YarnApplicationState s) { return(ProtoUtils.ConvertToProtoFormat(s)); }
private YarnProtos.ApplicationResourceUsageReportProto ConvertToProtoFormat(ApplicationResourceUsageReport s) { return(ProtoUtils.ConvertToProtoFormat(s)); }
private YarnProtos.ContainerStateProto ConvertToProtoFormat(ContainerState containerState ) { return(ProtoUtils.ConvertToProtoFormat(containerState)); }
private YarnProtos.ReservationRequestInterpreterProto ConvertToProtoFormat(ReservationRequestInterpreter r) { return(ProtoUtils.ConvertToProtoFormat(r)); }
private YarnProtos.QueueACLProto ConvertToProtoFormat(QueueACL queueAcl) { return(ProtoUtils.ConvertToProtoFormat(queueAcl)); }
private YarnProtos.QueueStateProto ConvertToProtoFormat(QueueState queueState) { return(ProtoUtils.ConvertToProtoFormat(queueState)); }
protected internal ByteString ConvertToProtoFormat(ByteBuffer byteBuffer) { return(ProtoUtils.ConvertToProtoFormat(byteBuffer)); }
private YarnProtos.YarnApplicationAttemptStateProto ConvertToProtoFormat(YarnApplicationAttemptState state) { return(ProtoUtils.ConvertToProtoFormat(state)); }
private YarnProtos.LocalResourceVisibilityProto ConvertToProtoFormat(LocalResourceVisibility e) { return(ProtoUtils.ConvertToProtoFormat(e)); }
private YarnProtos.LocalResourceTypeProto ConvertToProtoFormat(LocalResourceType e) { return(ProtoUtils.ConvertToProtoFormat(e)); }
public override YarnProtos.ApplicationACLMapProto Next() { ApplicationAccessType key = this.aclsIterator.Next(); return((YarnProtos.ApplicationACLMapProto)YarnProtos.ApplicationACLMapProto.NewBuilder ().SetAcl(this._enclosing._enclosing.applicationACLS[key]).SetAccessType(ProtoUtils .ConvertToProtoFormat(key)).Build()); }