|
|
|
|
|
|
byte[] descriptorData = global::System.Convert.FromBase64String( |
|
|
|
string.Concat( |
|
|
|
"CjVtbGFnZW50c19lbnZzL2NvbW11bmljYXRvcl9vYmplY3RzL2NhcGFiaWxp", |
|
|
|
"dGllcy5wcm90bxIUY29tbXVuaWNhdG9yX29iamVjdHMi0gEKGFVuaXR5UkxD", |
|
|
|
"dGllcy5wcm90bxIUY29tbXVuaWNhdG9yX29iamVjdHMi7AEKGFVuaXR5UkxD", |
|
|
|
"Z3RoT2JzZXJ2YXRpb24YBiABKAhCJaoCIlVuaXR5Lk1MQWdlbnRzLkNvbW11", |
|
|
|
"bmljYXRvck9iamVjdHNiBnByb3RvMw==")); |
|
|
|
"Z3RoT2JzZXJ2YXRpb24YBiABKAgSGAoQbXVsdGlBZ2VudEdyb3VwcxgHIAEo", |
|
|
|
"CEIlqgIiVW5pdHkuTUxBZ2VudHMuQ29tbXVuaWNhdG9yT2JqZWN0c2IGcHJv", |
|
|
|
"dG8z")); |
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Unity.MLAgents.CommunicatorObjects.UnityRLCapabilitiesProto), global::Unity.MLAgents.CommunicatorObjects.UnityRLCapabilitiesProto.Parser, new[]{ "BaseRLCapabilities", "ConcatenatedPngObservations", "CompressedChannelMapping", "HybridActions", "TrainingAnalytics", "VariableLengthObservation" }, null, null, null) |
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Unity.MLAgents.CommunicatorObjects.UnityRLCapabilitiesProto), global::Unity.MLAgents.CommunicatorObjects.UnityRLCapabilitiesProto.Parser, new[]{ "BaseRLCapabilities", "ConcatenatedPngObservations", "CompressedChannelMapping", "HybridActions", "TrainingAnalytics", "VariableLengthObservation", "MultiAgentGroups" }, null, null, null) |
|
|
|
})); |
|
|
|
} |
|
|
|
#endregion
|
|
|
|
|
|
|
hybridActions_ = other.hybridActions_; |
|
|
|
trainingAnalytics_ = other.trainingAnalytics_; |
|
|
|
variableLengthObservation_ = other.variableLengthObservation_; |
|
|
|
multiAgentGroups_ = other.multiAgentGroups_; |
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>Field number for the "multiAgentGroups" field.</summary>
|
|
|
|
public const int MultiAgentGroupsFieldNumber = 7; |
|
|
|
private bool multiAgentGroups_; |
|
|
|
/// <summary>
|
|
|
|
/// Support for multi agent groups and group rewards
|
|
|
|
/// </summary>
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
public bool MultiAgentGroups { |
|
|
|
get { return multiAgentGroups_; } |
|
|
|
set { |
|
|
|
multiAgentGroups_ = value; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
public override bool Equals(object other) { |
|
|
|
return Equals(other as UnityRLCapabilitiesProto); |
|
|
|
|
|
|
if (HybridActions != other.HybridActions) return false; |
|
|
|
if (TrainingAnalytics != other.TrainingAnalytics) return false; |
|
|
|
if (VariableLengthObservation != other.VariableLengthObservation) return false; |
|
|
|
if (MultiAgentGroups != other.MultiAgentGroups) return false; |
|
|
|
return Equals(_unknownFields, other._unknownFields); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
if (HybridActions != false) hash ^= HybridActions.GetHashCode(); |
|
|
|
if (TrainingAnalytics != false) hash ^= TrainingAnalytics.GetHashCode(); |
|
|
|
if (VariableLengthObservation != false) hash ^= VariableLengthObservation.GetHashCode(); |
|
|
|
if (MultiAgentGroups != false) hash ^= MultiAgentGroups.GetHashCode(); |
|
|
|
if (_unknownFields != null) { |
|
|
|
hash ^= _unknownFields.GetHashCode(); |
|
|
|
} |
|
|
|
|
|
|
if (VariableLengthObservation != false) { |
|
|
|
output.WriteRawTag(48); |
|
|
|
output.WriteBool(VariableLengthObservation); |
|
|
|
} |
|
|
|
if (MultiAgentGroups != false) { |
|
|
|
output.WriteRawTag(56); |
|
|
|
output.WriteBool(MultiAgentGroups); |
|
|
|
} |
|
|
|
if (_unknownFields != null) { |
|
|
|
_unknownFields.WriteTo(output); |
|
|
|
|
|
|
if (VariableLengthObservation != false) { |
|
|
|
size += 1 + 1; |
|
|
|
} |
|
|
|
if (MultiAgentGroups != false) { |
|
|
|
size += 1 + 1; |
|
|
|
} |
|
|
|
if (_unknownFields != null) { |
|
|
|
size += _unknownFields.CalculateSize(); |
|
|
|
} |
|
|
|
|
|
|
if (other.VariableLengthObservation != false) { |
|
|
|
VariableLengthObservation = other.VariableLengthObservation; |
|
|
|
} |
|
|
|
if (other.MultiAgentGroups != false) { |
|
|
|
MultiAgentGroups = other.MultiAgentGroups; |
|
|
|
} |
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
case 48: { |
|
|
|
VariableLengthObservation = input.ReadBool(); |
|
|
|
break; |
|
|
|
} |
|
|
|
case 56: { |
|
|
|
MultiAgentGroups = input.ReadBool(); |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|