blob: d778d0df25b4f52231629498c07cf93b9331ae62 [file] [log] [blame]
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
// Generated from: driver_runtime.proto
// Note: requires additional types generated from: reef_service_protos.proto
namespace Org.Apache.REEF.Common.Protobuf.ReefProtocol
{
[global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"DriverProcessRegistrationProto")]
public partial class DriverProcessRegistrationProto : global::ProtoBuf.IExtensible
{
public DriverProcessRegistrationProto() {}
private string _remote_identifier;
[global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"remote_identifier", DataFormat = global::ProtoBuf.DataFormat.Default)]
public string remote_identifier
{
get { return _remote_identifier; }
set { _remote_identifier = value; }
}
private global::ProtoBuf.IExtension extensionObject;
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
{ return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
}
[global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"NodeDescriptorProto")]
public partial class NodeDescriptorProto : global::ProtoBuf.IExtensible
{
public NodeDescriptorProto() {}
private string _identifier;
[global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"identifier", DataFormat = global::ProtoBuf.DataFormat.Default)]
public string identifier
{
get { return _identifier; }
set { _identifier = value; }
}
private string _host_name;
[global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"host_name", DataFormat = global::ProtoBuf.DataFormat.Default)]
public string host_name
{
get { return _host_name; }
set { _host_name = value; }
}
private int _port;
[global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"port", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
public int port
{
get { return _port; }
set { _port = value; }
}
private int _memory_size;
[global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"memory_size", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
public int memory_size
{
get { return _memory_size; }
set { _memory_size = value; }
}
private string _rack_name = "";
[global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"rack_name", DataFormat = global::ProtoBuf.DataFormat.Default)]
[global::System.ComponentModel.DefaultValue("")]
public string rack_name
{
get { return _rack_name; }
set { _rack_name = value; }
}
private global::ProtoBuf.IExtension extensionObject;
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
{ return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
}
[global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ResourceAllocationProto")]
public partial class ResourceAllocationProto : global::ProtoBuf.IExtensible
{
public ResourceAllocationProto() {}
private string _identifier;
[global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"identifier", DataFormat = global::ProtoBuf.DataFormat.Default)]
public string identifier
{
get { return _identifier; }
set { _identifier = value; }
}
private int _resource_memory;
[global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"resource_memory", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
public int resource_memory
{
get { return _resource_memory; }
set { _resource_memory = value; }
}
private string _node_id;
[global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"node_id", DataFormat = global::ProtoBuf.DataFormat.Default)]
public string node_id
{
get { return _node_id; }
set { _node_id = value; }
}
private int _virtual_cores = default(int);
[global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"virtual_cores", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
[global::System.ComponentModel.DefaultValue(default(int))]
public int virtual_cores
{
get { return _virtual_cores; }
set { _virtual_cores = value; }
}
private global::ProtoBuf.IExtension extensionObject;
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
{ return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
}
[global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ResourceStatusProto")]
public partial class ResourceStatusProto : global::ProtoBuf.IExtensible
{
public ResourceStatusProto() {}
private string _identifier;
[global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"identifier", DataFormat = global::ProtoBuf.DataFormat.Default)]
public string identifier
{
get { return _identifier; }
set { _identifier = value; }
}
private State _state;
[global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"state", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
public State state
{
get { return _state; }
set { _state = value; }
}
private string _diagnostics = "";
[global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"diagnostics", DataFormat = global::ProtoBuf.DataFormat.Default)]
[global::System.ComponentModel.DefaultValue("")]
public string diagnostics
{
get { return _diagnostics; }
set { _diagnostics = value; }
}
private int _exit_code = default(int);
[global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"exit_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
[global::System.ComponentModel.DefaultValue(default(int))]
public int exit_code
{
get { return _exit_code; }
set { _exit_code = value; }
}
private bool _is_from_previous_driver = default(bool);
[global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"is_from_previous_driver", DataFormat = global::ProtoBuf.DataFormat.Default)]
[global::System.ComponentModel.DefaultValue(default(bool))]
public bool is_from_previous_driver
{
get { return _is_from_previous_driver; }
set { _is_from_previous_driver = value; }
}
private global::ProtoBuf.IExtension extensionObject;
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
{ return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
}
[global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"RuntimeStatusProto")]
public partial class RuntimeStatusProto : global::ProtoBuf.IExtensible
{
public RuntimeStatusProto() {}
private string _name;
[global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)]
public string name
{
get { return _name; }
set { _name = value; }
}
private State _state;
[global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"state", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
public State state
{
get { return _state; }
set { _state = value; }
}
private RuntimeErrorProto _error = null;
[global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"error", DataFormat = global::ProtoBuf.DataFormat.Default)]
[global::System.ComponentModel.DefaultValue(null)]
public RuntimeErrorProto error
{
get { return _error; }
set { _error = value; }
}
private int _outstanding_container_requests = default(int);
[global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"outstanding_container_requests", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
[global::System.ComponentModel.DefaultValue(default(int))]
public int outstanding_container_requests
{
get { return _outstanding_container_requests; }
set { _outstanding_container_requests = value; }
}
private readonly global::System.Collections.Generic.List<string> _container_allocation = new global::System.Collections.Generic.List<string>();
[global::ProtoBuf.ProtoMember(6, Name=@"container_allocation", DataFormat = global::ProtoBuf.DataFormat.Default)]
public global::System.Collections.Generic.List<string> container_allocation
{
get { return _container_allocation; }
}
private global::ProtoBuf.IExtension extensionObject;
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
{ return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
}
[global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ResourceRequestProto")]
public partial class ResourceRequestProto : global::ProtoBuf.IExtensible
{
public ResourceRequestProto() {}
private int _memory_size = default(int);
[global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"memory_size", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
[global::System.ComponentModel.DefaultValue(default(int))]
public int memory_size
{
get { return _memory_size; }
set { _memory_size = value; }
}
private int _priority = default(int);
[global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"priority", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
[global::System.ComponentModel.DefaultValue(default(int))]
public int priority
{
get { return _priority; }
set { _priority = value; }
}
private int _virtual_cores = default(int);
[global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"virtual_cores", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
[global::System.ComponentModel.DefaultValue(default(int))]
public int virtual_cores
{
get { return _virtual_cores; }
set { _virtual_cores = value; }
}
private int _resource_count;
[global::ProtoBuf.ProtoMember(5, IsRequired = true, Name=@"resource_count", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
public int resource_count
{
get { return _resource_count; }
set { _resource_count = value; }
}
private readonly global::System.Collections.Generic.List<string> _node_name = new global::System.Collections.Generic.List<string>();
[global::ProtoBuf.ProtoMember(6, Name=@"node_name", DataFormat = global::ProtoBuf.DataFormat.Default)]
public global::System.Collections.Generic.List<string> node_name
{
get { return _node_name; }
}
private readonly global::System.Collections.Generic.List<string> _rack_name = new global::System.Collections.Generic.List<string>();
[global::ProtoBuf.ProtoMember(7, Name=@"rack_name", DataFormat = global::ProtoBuf.DataFormat.Default)]
public global::System.Collections.Generic.List<string> rack_name
{
get { return _rack_name; }
}
private bool _relax_locality = default(bool);
[global::ProtoBuf.ProtoMember(10, IsRequired = false, Name=@"relax_locality", DataFormat = global::ProtoBuf.DataFormat.Default)]
[global::System.ComponentModel.DefaultValue(default(bool))]
public bool relax_locality
{
get { return _relax_locality; }
set { _relax_locality = value; }
}
private global::ProtoBuf.IExtension extensionObject;
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
{ return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
}
[global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ResourceReleaseProto")]
public partial class ResourceReleaseProto : global::ProtoBuf.IExtensible
{
public ResourceReleaseProto() {}
private string _identifier;
[global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"identifier", DataFormat = global::ProtoBuf.DataFormat.Default)]
public string identifier
{
get { return _identifier; }
set { _identifier = value; }
}
private global::ProtoBuf.IExtension extensionObject;
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
{ return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
}
[global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ResourceLaunchProto")]
public partial class ResourceLaunchProto : global::ProtoBuf.IExtensible
{
public ResourceLaunchProto() {}
private string _identifier;
[global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"identifier", DataFormat = global::ProtoBuf.DataFormat.Default)]
public string identifier
{
get { return _identifier; }
set { _identifier = value; }
}
private string _remote_id;
[global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"remote_id", DataFormat = global::ProtoBuf.DataFormat.Default)]
public string remote_id
{
get { return _remote_id; }
set { _remote_id = value; }
}
private string _evaluator_conf;
[global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"evaluator_conf", DataFormat = global::ProtoBuf.DataFormat.Default)]
public string evaluator_conf
{
get { return _evaluator_conf; }
set { _evaluator_conf = value; }
}
private ProcessType _type;
[global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"type", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
public ProcessType type
{
get { return _type; }
set { _type = value; }
}
private readonly global::System.Collections.Generic.List<FileResourceProto> _file = new global::System.Collections.Generic.List<FileResourceProto>();
[global::ProtoBuf.ProtoMember(10, Name=@"file", DataFormat = global::ProtoBuf.DataFormat.Default)]
public global::System.Collections.Generic.List<FileResourceProto> file
{
get { return _file; }
}
private global::ProtoBuf.IExtension extensionObject;
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
{ return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
}
}