|
|
|
|
|
|
byte[] descriptorData = global::System.Convert.FromBase64String( |
|
|
|
string.Concat( |
|
|
|
"CjVtbGFnZW50c19lbnZzL2NvbW11bmljYXRvcl9vYmplY3RzL2NhcGFiaWxp", |
|
|
|
"dGllcy5wcm90bxIUY29tbXVuaWNhdG9yX29iamVjdHMiNgoYVW5pdHlSTENh", |
|
|
|
"cGFiaWxpdGllc1Byb3RvEhoKEmJhc2VSTENhcGFiaWxpdGllcxgBIAEoCEIl", |
|
|
|
"qgIiVW5pdHkuTUxBZ2VudHMuQ29tbXVuaWNhdG9yT2JqZWN0c2IGcHJvdG8z")); |
|
|
|
"dGllcy5wcm90bxIUY29tbXVuaWNhdG9yX29iamVjdHMiWwoYVW5pdHlSTENh", |
|
|
|
"cGFiaWxpdGllc1Byb3RvEhoKEmJhc2VSTENhcGFiaWxpdGllcxgBIAEoCBIj", |
|
|
|
"Chtjb25jYXRlbmF0ZWRQbmdPYnNlcnZhdGlvbnMYAiABKAhCJaoCIlVuaXR5", |
|
|
|
"Lk1MQWdlbnRzLkNvbW11bmljYXRvck9iamVjdHNiBnByb3RvMw==")); |
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Unity.MLAgents.CommunicatorObjects.UnityRLCapabilitiesProto), global::Unity.MLAgents.CommunicatorObjects.UnityRLCapabilitiesProto.Parser, new[]{ "BaseRLCapabilities" }, null, null, null) |
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Unity.MLAgents.CommunicatorObjects.UnityRLCapabilitiesProto), global::Unity.MLAgents.CommunicatorObjects.UnityRLCapabilitiesProto.Parser, new[]{ "BaseRLCapabilities", "ConcatenatedPngObservations" }, null, null, null) |
|
|
|
})); |
|
|
|
} |
|
|
|
#endregion
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
public UnityRLCapabilitiesProto(UnityRLCapabilitiesProto other) : this() { |
|
|
|
baseRLCapabilities_ = other.baseRLCapabilities_; |
|
|
|
concatenatedPngObservations_ = other.concatenatedPngObservations_; |
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>Field number for the "concatenatedPngObservations" field.</summary>
|
|
|
|
public const int ConcatenatedPngObservationsFieldNumber = 2; |
|
|
|
private bool concatenatedPngObservations_; |
|
|
|
/// <summary>
|
|
|
|
/// concatenated PNG files for compressed visual observations with >3 channels.
|
|
|
|
/// </summary>
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
public bool ConcatenatedPngObservations { |
|
|
|
get { return concatenatedPngObservations_; } |
|
|
|
set { |
|
|
|
concatenatedPngObservations_ = value; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
public override bool Equals(object other) { |
|
|
|
return Equals(other as UnityRLCapabilitiesProto); |
|
|
|
|
|
|
return true; |
|
|
|
} |
|
|
|
if (BaseRLCapabilities != other.BaseRLCapabilities) return false; |
|
|
|
if (ConcatenatedPngObservations != other.ConcatenatedPngObservations) return false; |
|
|
|
return Equals(_unknownFields, other._unknownFields); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
if (BaseRLCapabilities != false) hash ^= BaseRLCapabilities.GetHashCode(); |
|
|
|
if (ConcatenatedPngObservations != false) hash ^= ConcatenatedPngObservations.GetHashCode(); |
|
|
|
if (_unknownFields != null) { |
|
|
|
hash ^= _unknownFields.GetHashCode(); |
|
|
|
} |
|
|
|
|
|
|
if (BaseRLCapabilities != false) { |
|
|
|
output.WriteRawTag(8); |
|
|
|
output.WriteBool(BaseRLCapabilities); |
|
|
|
} |
|
|
|
if (ConcatenatedPngObservations != false) { |
|
|
|
output.WriteRawTag(16); |
|
|
|
output.WriteBool(ConcatenatedPngObservations); |
|
|
|
} |
|
|
|
if (_unknownFields != null) { |
|
|
|
_unknownFields.WriteTo(output); |
|
|
|
|
|
|
if (BaseRLCapabilities != false) { |
|
|
|
size += 1 + 1; |
|
|
|
} |
|
|
|
if (ConcatenatedPngObservations != false) { |
|
|
|
size += 1 + 1; |
|
|
|
} |
|
|
|
if (_unknownFields != null) { |
|
|
|
size += _unknownFields.CalculateSize(); |
|
|
|
} |
|
|
|
|
|
|
if (other.BaseRLCapabilities != false) { |
|
|
|
BaseRLCapabilities = other.BaseRLCapabilities; |
|
|
|
} |
|
|
|
if (other.ConcatenatedPngObservations != false) { |
|
|
|
ConcatenatedPngObservations = other.ConcatenatedPngObservations; |
|
|
|
} |
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
break; |
|
|
|
case 8: { |
|
|
|
BaseRLCapabilities = input.ReadBool(); |
|
|
|
break; |
|
|
|
} |
|
|
|
case 16: { |
|
|
|
ConcatenatedPngObservations = input.ReadBool(); |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|