|
|
|
|
|
|
byte[] descriptorData = global::System.Convert.FromBase64String( |
|
|
|
string.Concat( |
|
|
|
"CjVtbGFnZW50c19lbnZzL2NvbW11bmljYXRvcl9vYmplY3RzL2NhcGFiaWxp", |
|
|
|
"dGllcy5wcm90bxIUY29tbXVuaWNhdG9yX29iamVjdHMirwEKGFVuaXR5UkxD", |
|
|
|
"dGllcy5wcm90bxIUY29tbXVuaWNhdG9yX29iamVjdHMi0gEKGFVuaXR5UkxD", |
|
|
|
"ASgIEhkKEXRyYWluaW5nQW5hbHl0aWNzGAUgASgIQiWqAiJVbml0eS5NTEFn", |
|
|
|
"ZW50cy5Db21tdW5pY2F0b3JPYmplY3RzYgZwcm90bzM=")); |
|
|
|
"ASgIEhkKEXRyYWluaW5nQW5hbHl0aWNzGAUgASgIEiEKGXZhcmlhYmxlTGVu", |
|
|
|
"Z3RoT2JzZXJ2YXRpb24YBiABKAhCJaoCIlVuaXR5Lk1MQWdlbnRzLkNvbW11", |
|
|
|
"bmljYXRvck9iamVjdHNiBnByb3RvMw==")); |
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Unity.MLAgents.CommunicatorObjects.UnityRLCapabilitiesProto), global::Unity.MLAgents.CommunicatorObjects.UnityRLCapabilitiesProto.Parser, new[]{ "BaseRLCapabilities", "ConcatenatedPngObservations", "CompressedChannelMapping", "HybridActions", "TrainingAnalytics" }, 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" }, null, null, null) |
|
|
|
})); |
|
|
|
} |
|
|
|
#endregion
|
|
|
|
|
|
|
compressedChannelMapping_ = other.compressedChannelMapping_; |
|
|
|
hybridActions_ = other.hybridActions_; |
|
|
|
trainingAnalytics_ = other.trainingAnalytics_; |
|
|
|
variableLengthObservation_ = other.variableLengthObservation_; |
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>Field number for the "variableLengthObservation" field.</summary>
|
|
|
|
public const int VariableLengthObservationFieldNumber = 6; |
|
|
|
private bool variableLengthObservation_; |
|
|
|
/// <summary>
|
|
|
|
/// Support for variable length observations of rank 2
|
|
|
|
/// </summary>
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
public bool VariableLengthObservation { |
|
|
|
get { return variableLengthObservation_; } |
|
|
|
set { |
|
|
|
variableLengthObservation_ = value; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
public override bool Equals(object other) { |
|
|
|
return Equals(other as UnityRLCapabilitiesProto); |
|
|
|
|
|
|
if (CompressedChannelMapping != other.CompressedChannelMapping) return false; |
|
|
|
if (HybridActions != other.HybridActions) return false; |
|
|
|
if (TrainingAnalytics != other.TrainingAnalytics) return false; |
|
|
|
if (VariableLengthObservation != other.VariableLengthObservation) return false; |
|
|
|
return Equals(_unknownFields, other._unknownFields); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
if (CompressedChannelMapping != false) hash ^= CompressedChannelMapping.GetHashCode(); |
|
|
|
if (HybridActions != false) hash ^= HybridActions.GetHashCode(); |
|
|
|
if (TrainingAnalytics != false) hash ^= TrainingAnalytics.GetHashCode(); |
|
|
|
if (VariableLengthObservation != false) hash ^= VariableLengthObservation.GetHashCode(); |
|
|
|
if (_unknownFields != null) { |
|
|
|
hash ^= _unknownFields.GetHashCode(); |
|
|
|
} |
|
|
|
|
|
|
if (TrainingAnalytics != false) { |
|
|
|
output.WriteRawTag(40); |
|
|
|
output.WriteBool(TrainingAnalytics); |
|
|
|
} |
|
|
|
if (VariableLengthObservation != false) { |
|
|
|
output.WriteRawTag(48); |
|
|
|
output.WriteBool(VariableLengthObservation); |
|
|
|
} |
|
|
|
if (_unknownFields != null) { |
|
|
|
_unknownFields.WriteTo(output); |
|
|
|
|
|
|
if (TrainingAnalytics != false) { |
|
|
|
size += 1 + 1; |
|
|
|
} |
|
|
|
if (VariableLengthObservation != false) { |
|
|
|
size += 1 + 1; |
|
|
|
} |
|
|
|
if (_unknownFields != null) { |
|
|
|
size += _unknownFields.CalculateSize(); |
|
|
|
} |
|
|
|
|
|
|
if (other.TrainingAnalytics != false) { |
|
|
|
TrainingAnalytics = other.TrainingAnalytics; |
|
|
|
} |
|
|
|
if (other.VariableLengthObservation != false) { |
|
|
|
VariableLengthObservation = other.VariableLengthObservation; |
|
|
|
} |
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
case 40: { |
|
|
|
TrainingAnalytics = input.ReadBool(); |
|
|
|
break; |
|
|
|
} |
|
|
|
case 48: { |
|
|
|
VariableLengthObservation = input.ReadBool(); |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|