|
|
|
|
|
|
byte[] descriptorData = global::System.Convert.FromBase64String( |
|
|
|
string.Concat( |
|
|
|
"CjVtbGFnZW50c19lbnZzL2NvbW11bmljYXRvcl9vYmplY3RzL2NhcGFiaWxp", |
|
|
|
"dGllcy5wcm90bxIUY29tbXVuaWNhdG9yX29iamVjdHMifQoYVW5pdHlSTENh", |
|
|
|
"cGFiaWxpdGllc1Byb3RvEhoKEmJhc2VSTENhcGFiaWxpdGllcxgBIAEoCBIj", |
|
|
|
"Chtjb25jYXRlbmF0ZWRQbmdPYnNlcnZhdGlvbnMYAiABKAgSIAoYY29tcHJl", |
|
|
|
"c3NlZENoYW5uZWxNYXBwaW5nGAMgASgIQiWqAiJVbml0eS5NTEFnZW50cy5D", |
|
|
|
"b21tdW5pY2F0b3JPYmplY3RzYgZwcm90bzM=")); |
|
|
|
"dGllcy5wcm90bxIUY29tbXVuaWNhdG9yX29iamVjdHMilAEKGFVuaXR5UkxD", |
|
|
|
"YXBhYmlsaXRpZXNQcm90bxIaChJiYXNlUkxDYXBhYmlsaXRpZXMYASABKAgS", |
|
|
|
"IwobY29uY2F0ZW5hdGVkUG5nT2JzZXJ2YXRpb25zGAIgASgIEiAKGGNvbXBy", |
|
|
|
"ZXNzZWRDaGFubmVsTWFwcGluZxgDIAEoCBIVCg1oeWJyaWRBY3Rpb25zGAQg", |
|
|
|
"ASgIQiWqAiJVbml0eS5NTEFnZW50cy5Db21tdW5pY2F0b3JPYmplY3RzYgZw", |
|
|
|
"cm90bzM=")); |
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Unity.MLAgents.CommunicatorObjects.UnityRLCapabilitiesProto), global::Unity.MLAgents.CommunicatorObjects.UnityRLCapabilitiesProto.Parser, new[]{ "BaseRLCapabilities", "ConcatenatedPngObservations", "CompressedChannelMapping" }, null, null, null) |
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Unity.MLAgents.CommunicatorObjects.UnityRLCapabilitiesProto), global::Unity.MLAgents.CommunicatorObjects.UnityRLCapabilitiesProto.Parser, new[]{ "BaseRLCapabilities", "ConcatenatedPngObservations", "CompressedChannelMapping", "HybridActions" }, null, null, null) |
|
|
|
})); |
|
|
|
} |
|
|
|
#endregion
|
|
|
|
|
|
|
baseRLCapabilities_ = other.baseRLCapabilities_; |
|
|
|
concatenatedPngObservations_ = other.concatenatedPngObservations_; |
|
|
|
compressedChannelMapping_ = other.compressedChannelMapping_; |
|
|
|
hybridActions_ = other.hybridActions_; |
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>Field number for the "hybridActions" field.</summary>
|
|
|
|
public const int HybridActionsFieldNumber = 4; |
|
|
|
private bool hybridActions_; |
|
|
|
/// <summary>
|
|
|
|
/// support for mixed (discrete + continuous) actions
|
|
|
|
/// </summary>
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
public bool HybridActions { |
|
|
|
get { return hybridActions_; } |
|
|
|
set { |
|
|
|
hybridActions_ = value; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
public override bool Equals(object other) { |
|
|
|
return Equals(other as UnityRLCapabilitiesProto); |
|
|
|
|
|
|
if (BaseRLCapabilities != other.BaseRLCapabilities) return false; |
|
|
|
if (ConcatenatedPngObservations != other.ConcatenatedPngObservations) return false; |
|
|
|
if (CompressedChannelMapping != other.CompressedChannelMapping) return false; |
|
|
|
if (HybridActions != other.HybridActions) return false; |
|
|
|
return Equals(_unknownFields, other._unknownFields); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
if (BaseRLCapabilities != false) hash ^= BaseRLCapabilities.GetHashCode(); |
|
|
|
if (ConcatenatedPngObservations != false) hash ^= ConcatenatedPngObservations.GetHashCode(); |
|
|
|
if (CompressedChannelMapping != false) hash ^= CompressedChannelMapping.GetHashCode(); |
|
|
|
if (HybridActions != false) hash ^= HybridActions.GetHashCode(); |
|
|
|
if (_unknownFields != null) { |
|
|
|
hash ^= _unknownFields.GetHashCode(); |
|
|
|
} |
|
|
|
|
|
|
output.WriteRawTag(24); |
|
|
|
output.WriteBool(CompressedChannelMapping); |
|
|
|
} |
|
|
|
if (HybridActions != false) { |
|
|
|
output.WriteRawTag(32); |
|
|
|
output.WriteBool(HybridActions); |
|
|
|
} |
|
|
|
if (_unknownFields != null) { |
|
|
|
_unknownFields.WriteTo(output); |
|
|
|
} |
|
|
|
|
|
|
size += 1 + 1; |
|
|
|
} |
|
|
|
if (CompressedChannelMapping != false) { |
|
|
|
size += 1 + 1; |
|
|
|
} |
|
|
|
if (HybridActions != false) { |
|
|
|
size += 1 + 1; |
|
|
|
} |
|
|
|
if (_unknownFields != null) { |
|
|
|
|
|
|
if (other.CompressedChannelMapping != false) { |
|
|
|
CompressedChannelMapping = other.CompressedChannelMapping; |
|
|
|
} |
|
|
|
if (other.HybridActions != false) { |
|
|
|
HybridActions = other.HybridActions; |
|
|
|
} |
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
case 24: { |
|
|
|
CompressedChannelMapping = input.ReadBool(); |
|
|
|
break; |
|
|
|
} |
|
|
|
case 32: { |
|
|
|
HybridActions = input.ReadBool(); |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|