"CjltbGFnZW50c19lbnZzL2NvbW11bmljYXRvcl9vYmplY3RzL2JyYWluX3Bh" ,
"cmFtZXRlcnMucHJvdG8SFGNvbW11bmljYXRvcl9vYmplY3RzGjNtbGFnZW50" ,
"c19lbnZzL2NvbW11bmljYXRvcl9vYmplY3RzL3NwYWNlX3R5cGUucHJvdG8i" ,
"2QEKFEJyYWluUGFyYW1ldGVyc1Byb3RvEhoKEnZlY3Rvcl9hY3Rpb25fc2l6" ,
"ZRgDIAMoBRIiChp2ZWN0b3JfYWN0aW9uX2Rlc2NyaXB0aW9ucxgFIAMoCRJG" ,
"Chh2ZWN0b3JfYWN0aW9uX3NwYWNlX3R5cGUYBiABKA4yJC5jb21tdW5pY2F0" ,
"b3Jfb2JqZWN0cy5TcGFjZVR5cGVQcm90bxISCgpicmFpbl9uYW1lGAcgASgJ" ,
"EhMKC2lzX3RyYWluaW5nGAggASgISgQIARACSgQIAhADSgQIBBAFQiWqAiJV" ,
"bml0eS5NTEFnZW50cy5Db21tdW5pY2F0b3JPYmplY3RzYgZwcm90bzM=" ) ) ;
"iwEKD0FjdGlvblNwZWNQcm90bxIeChZudW1fY29udGludW91c19hY3Rpb25z" ,
"GAEgASgFEhwKFG51bV9kaXNjcmV0ZV9hY3Rpb25zGAIgASgFEh0KFWRpc2Ny" ,
"ZXRlX2JyYW5jaF9zaXplcxgDIAMoBRIbChNhY3Rpb25fZGVzY3JpcHRpb25z" ,
"GAQgAygJIrYCChRCcmFpblBhcmFtZXRlcnNQcm90bxIlCh12ZWN0b3JfYWN0" ,
"aW9uX3NpemVfZGVwcmVjYXRlZBgDIAMoBRItCiV2ZWN0b3JfYWN0aW9uX2Rl" ,
"c2NyaXB0aW9uc19kZXByZWNhdGVkGAUgAygJElEKI3ZlY3Rvcl9hY3Rpb25f" ,
"c3BhY2VfdHlwZV9kZXByZWNhdGVkGAYgASgOMiQuY29tbXVuaWNhdG9yX29i" ,
"amVjdHMuU3BhY2VUeXBlUHJvdG8SEgoKYnJhaW5fbmFtZRgHIAEoCRITCgtp" ,
"c190cmFpbmluZxgIIAEoCBI6CgthY3Rpb25fc3BlYxgJIAEoCzIlLmNvbW11" ,
"bmljYXRvcl9vYmplY3RzLkFjdGlvblNwZWNQcm90b0oECAEQAkoECAIQA0oE" ,
"CAQQBUIlqgIiVW5pdHkuTUxBZ2VudHMuQ29tbXVuaWNhdG9yT2JqZWN0c2IG" ,
"cHJvdG8z" ) ) ;
new pbr : : GeneratedClrTypeInfo ( typeof ( global :: Unity . MLAgents . CommunicatorObjects . BrainParametersProto ) , global :: Unity . MLAgents . CommunicatorObjects . BrainParametersProto . Parser , new [ ] { "VectorActionSize" , "VectorActionDescriptions" , "VectorActionSpaceType" , "BrainName" , "IsTraining" } , null , null , null )
new pbr : : GeneratedClrTypeInfo ( typeof ( global :: Unity . MLAgents . CommunicatorObjects . ActionSpecProto ) , global :: Unity . MLAgents . CommunicatorObjects . ActionSpecProto . Parser , new [ ] { "NumContinuousActions" , "NumDiscreteActions" , "DiscreteBranchSizes" , "ActionDescriptions" } , null , null , null ) ,
new pbr : : GeneratedClrTypeInfo ( typeof ( global :: Unity . MLAgents . CommunicatorObjects . BrainParametersProto ) , global :: Unity . MLAgents . CommunicatorObjects . BrainParametersProto . Parser , new [ ] { "VectorActionSizeDeprecated" , "VectorActionDescriptionsDeprecated" , "VectorActionSpaceTypeDeprecated" , "BrainName" , "IsTraining" , "ActionSpec" } , null , null , null )
} ) ) ;
}
#endregion
internal sealed partial class ActionSpecProto : pb : : IMessage < ActionSpecProto > {
private static readonly pb : : MessageParser < ActionSpecProto > _parser = new pb : : MessageParser < ActionSpecProto > ( ( ) = > new ActionSpecProto ( ) ) ;
private pb : : UnknownFieldSet _unknownFields ;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb : : MessageParser < ActionSpecProto > Parser { get { return _parser ; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr : : MessageDescriptor Descriptor {
get { return global :: Unity . MLAgents . CommunicatorObjects . BrainParametersReflection . Descriptor . MessageTypes [ 0 ] ; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr : : MessageDescriptor pb : : IMessage . Descriptor {
get { return Descriptor ; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ActionSpecProto ( ) {
OnConstruction ( ) ;
}
partial void OnConstruction ( ) ;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ActionSpecProto ( ActionSpecProto other ) : this ( ) {
numContinuousActions_ = other . numContinuousActions_ ;
numDiscreteActions_ = other . numDiscreteActions_ ;
discreteBranchSizes_ = other . discreteBranchSizes_ . Clone ( ) ;
actionDescriptions_ = other . actionDescriptions_ . Clone ( ) ;
_unknownFields = pb : : UnknownFieldSet . Clone ( other . _unknownFields ) ;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ActionSpecProto Clone ( ) {
return new ActionSpecProto ( this ) ;
}
/// <summary>Field number for the "num_continuous_actions" field.</summary>
public const int NumContinuousActionsFieldNumber = 1 ;
private int numContinuousActions_ ;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int NumContinuousActions {
get { return numContinuousActions_ ; }
set {
numContinuousActions_ = value ;
}
}
/// <summary>Field number for the "num_discrete_actions" field.</summary>
public const int NumDiscreteActionsFieldNumber = 2 ;
private int numDiscreteActions_ ;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int NumDiscreteActions {
get { return numDiscreteActions_ ; }
set {
numDiscreteActions_ = value ;
}
}
/// <summary>Field number for the "discrete_branch_sizes" field.</summary>
public const int DiscreteBranchSizesFieldNumber = 3 ;
private static readonly pb : : FieldCodec < int > _repeated_discreteBranchSizes_codec
= pb : : FieldCodec . ForInt32 ( 2 6 ) ;
private readonly pbc : : RepeatedField < int > discreteBranchSizes_ = new pbc : : RepeatedField < int > ( ) ;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc : : RepeatedField < int > DiscreteBranchSizes {
get { return discreteBranchSizes_ ; }
}
/// <summary>Field number for the "action_descriptions" field.</summary>
public const int ActionDescriptionsFieldNumber = 4 ;
private static readonly pb : : FieldCodec < string > _repeated_actionDescriptions_codec
= pb : : FieldCodec . ForString ( 3 4 ) ;
private readonly pbc : : RepeatedField < string > actionDescriptions_ = new pbc : : RepeatedField < string > ( ) ;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc : : RepeatedField < string > ActionDescriptions {
get { return actionDescriptions_ ; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals ( object other ) {
return Equals ( other as ActionSpecProto ) ;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals ( ActionSpecProto other ) {
if ( ReferenceEquals ( other , null ) ) {
return false ;
}
if ( ReferenceEquals ( other , this ) ) {
return true ;
}
if ( NumContinuousActions ! = other . NumContinuousActions ) return false ;
if ( NumDiscreteActions ! = other . NumDiscreteActions ) return false ;
if ( ! discreteBranchSizes_ . Equals ( other . discreteBranchSizes_ ) ) return false ;
if ( ! actionDescriptions_ . Equals ( other . actionDescriptions_ ) ) return false ;
return Equals ( _unknownFields , other . _unknownFields ) ;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode ( ) {
int hash = 1 ;
if ( NumContinuousActions ! = 0 ) hash ^ = NumContinuousActions . GetHashCode ( ) ;
if ( NumDiscreteActions ! = 0 ) hash ^ = NumDiscreteActions . GetHashCode ( ) ;
hash ^ = discreteBranchSizes_ . GetHashCode ( ) ;
hash ^ = actionDescriptions_ . GetHashCode ( ) ;
if ( _unknownFields ! = null ) {
hash ^ = _unknownFields . GetHashCode ( ) ;
}
return hash ;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString ( ) {
return pb : : JsonFormatter . ToDiagnosticString ( this ) ;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo ( pb : : CodedOutputStream output ) {
if ( NumContinuousActions ! = 0 ) {
output . WriteRawTag ( 8 ) ;
output . WriteInt32 ( NumContinuousActions ) ;
}
if ( NumDiscreteActions ! = 0 ) {
output . WriteRawTag ( 1 6 ) ;
output . WriteInt32 ( NumDiscreteActions ) ;
}
discreteBranchSizes_ . WriteTo ( output , _repeated_discreteBranchSizes_codec ) ;
actionDescriptions_ . WriteTo ( output , _repeated_actionDescriptions_codec ) ;
if ( _unknownFields ! = null ) {
_unknownFields . WriteTo ( output ) ;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize ( ) {
int size = 0 ;
if ( NumContinuousActions ! = 0 ) {
size + = 1 + pb : : CodedOutputStream . ComputeInt32Size ( NumContinuousActions ) ;
}
if ( NumDiscreteActions ! = 0 ) {
size + = 1 + pb : : CodedOutputStream . ComputeInt32Size ( NumDiscreteActions ) ;
}
size + = discreteBranchSizes_ . CalculateSize ( _repeated_discreteBranchSizes_codec ) ;
size + = actionDescriptions_ . CalculateSize ( _repeated_actionDescriptions_codec ) ;
if ( _unknownFields ! = null ) {
size + = _unknownFields . CalculateSize ( ) ;
}
return size ;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom ( ActionSpecProto other ) {
if ( other = = null ) {
return ;
}
if ( other . NumContinuousActions ! = 0 ) {
NumContinuousActions = other . NumContinuousActions ;
}
if ( other . NumDiscreteActions ! = 0 ) {
NumDiscreteActions = other . NumDiscreteActions ;
}
discreteBranchSizes_ . Add ( other . discreteBranchSizes_ ) ;
actionDescriptions_ . Add ( other . actionDescriptions_ ) ;
_unknownFields = pb : : UnknownFieldSet . MergeFrom ( _unknownFields , other . _unknownFields ) ;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom ( pb : : CodedInputStream input ) {
uint tag ;
while ( ( tag = input . ReadTag ( ) ) ! = 0 ) {
switch ( tag ) {
default :
_unknownFields = pb : : UnknownFieldSet . MergeFieldFrom ( _unknownFields , input ) ;
break ;
case 8 : {
NumContinuousActions = input . ReadInt32 ( ) ;
break ;
}
case 1 6 : {
NumDiscreteActions = input . ReadInt32 ( ) ;
break ;
}
case 2 6 :
case 2 4 : {
discreteBranchSizes_ . AddEntriesFrom ( input , _repeated_discreteBranchSizes_codec ) ;
break ;
}
case 3 4 : {
actionDescriptions_ . AddEntriesFrom ( input , _repeated_actionDescriptions_codec ) ;
break ;
}
}
}
}
}
internal sealed partial class BrainParametersProto : pb : : IMessage < BrainParametersProto > {
private static readonly pb : : MessageParser < BrainParametersProto > _parser = new pb : : MessageParser < BrainParametersProto > ( ( ) = > new BrainParametersProto ( ) ) ;
private pb : : UnknownFieldSet _unknownFields ;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr : : MessageDescriptor Descriptor {
get { return global :: Unity . MLAgents . CommunicatorObjects . BrainParametersReflection . Descriptor . MessageTypes [ 0 ] ; }
get { return global :: Unity . MLAgents . CommunicatorObjects . BrainParametersReflection . Descriptor . MessageTypes [ 1 ] ; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public BrainParametersProto ( BrainParametersProto other ) : this ( ) {
vectorActionSize_ = other . vectorActionSize_ . Clone ( ) ;
vectorActionDescriptions_ = other . vectorActionDescriptions_ . Clone ( ) ;
vectorActionSpaceType_ = other . vectorActionSpaceType_ ;
vectorActionSizeDeprecated_ = other . vectorActionSizeDeprecated_ . Clone ( ) ;
vectorActionDescriptionsDeprecated_ = other . vectorActionDescriptionsDeprecated_ . Clone ( ) ;
vectorActionSpaceTypeDeprecated_ = other . vectorActionSpaceTypeDeprecated_ ;
ActionSpec = other . actionSpec_ ! = null ? other . ActionSpec . Clone ( ) : null ;
_unknownFields = pb : : UnknownFieldSet . Clone ( other . _unknownFields ) ;
}
}
/// <summary>Field number for the "vector_action_size" field.</summary>
public const int VectorActionSizeFieldNumber = 3 ;
private static readonly pb : : FieldCodec < int > _repeated_vectorActionSize_codec
/// <summary>Field number for the "vector_action_size_deprecated" field.</summary>
public const int VectorActionSizeDeprecatedFieldNumber = 3 ;
private static readonly pb : : FieldCodec < int > _repeated_vectorActionSizeDeprecated_codec
private readonly pbc : : RepeatedField < int > vectorActionSize_ = new pbc : : RepeatedField < int > ( ) ;
private readonly pbc : : RepeatedField < int > vectorActionSizeDeprecated_ = new pbc : : RepeatedField < int > ( ) ;
/// <summary>
/// mark as deprecated in communicator v1.3.0
/// </summary>
public pbc : : RepeatedField < int > VectorActionSize {
get { return vectorActionSize_ ; }
public pbc : : RepeatedField < int > VectorActionSizeDeprecated {
get { return vectorActionSizeDeprecated_ ; }
/// <summary>Field number for the "vector_action_descriptions" field.</summary>
public const int VectorActionDescriptionsFieldNumber = 5 ;
private static readonly pb : : FieldCodec < string > _repeated_vectorActionDescriptions_codec
/// <summary>Field number for the "vector_action_descriptions_deprecated" field.</summary>
public const int VectorActionDescriptionsDeprecatedFieldNumber = 5 ;
private static readonly pb : : FieldCodec < string > _repeated_vectorActionDescriptionsDeprecated_codec
private readonly pbc : : RepeatedField < string > vectorActionDescriptions_ = new pbc : : RepeatedField < string > ( ) ;
private readonly pbc : : RepeatedField < string > vectorActionDescriptionsDeprecated_ = new pbc : : RepeatedField < string > ( ) ;
/// <summary>
/// mark as deprecated in communicator v1.3.0
/// </summary>
public pbc : : RepeatedField < string > VectorActionDescriptions {
get { return vectorActionDescriptions_ ; }
public pbc : : RepeatedField < string > VectorActionDescriptionsDeprecated {
get { return vectorActionDescriptionsDeprecated_ ; }
/// <summary>Field number for the "vector_action_space_type" field.</summary>
public const int VectorActionSpaceTypeFieldNumber = 6 ;
private global :: Unity . MLAgents . CommunicatorObjects . SpaceTypeProto vectorActionSpaceType_ = 0 ;
/// <summary>Field number for the "vector_action_space_type_deprecated" field.</summary>
public const int VectorActionSpaceTypeDeprecatedFieldNumber = 6 ;
private global :: Unity . MLAgents . CommunicatorObjects . SpaceTypeProto vectorActionSpaceTypeDeprecated_ = 0 ;
/// <summary>
/// mark as deprecated in communicator v1.3.0
/// </summary>
public global :: Unity . MLAgents . CommunicatorObjects . SpaceTypeProto VectorActionSpaceType {
get { return vectorActionSpaceType_ ; }
public global :: Unity . MLAgents . CommunicatorObjects . SpaceTypeProto VectorActionSpaceTypeDeprecated {
get { return vectorActionSpaceTypeDeprecated_ ; }
vectorActionSpaceType_ = value ;
vectorActionSpaceTypeDeprecated_ = value ;
}
}
}
}
/// <summary>Field number for the "action_spec" field.</summary>
public const int ActionSpecFieldNumber = 9 ;
private global :: Unity . MLAgents . CommunicatorObjects . ActionSpecProto actionSpec_ ;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global :: Unity . MLAgents . CommunicatorObjects . ActionSpecProto ActionSpec {
get { return actionSpec_ ; }
set {
actionSpec_ = value ;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals ( object other ) {
return Equals ( other as BrainParametersProto ) ;
if ( ReferenceEquals ( other , this ) ) {
return true ;
}
if ( ! vectorActionSize_ . Equals ( other . vectorActionSize_ ) ) return false ;
if ( ! vectorActionDescriptions_ . Equals ( other . vectorActionDescriptions_ ) ) return false ;
if ( VectorActionSpaceType ! = other . VectorActionSpaceType ) return false ;
if ( ! vectorActionSizeDeprecated_ . Equals ( other . vectorActionSizeDeprecated_ ) ) return false ;
if ( ! vectorActionDescriptionsDeprecated_ . Equals ( other . vectorActionDescriptionsDeprecated_ ) ) return false ;
if ( VectorActionSpaceTypeDeprecated ! = other . VectorActionSpaceTypeDeprecated ) return false ;
if ( ! object . Equals ( ActionSpec , other . ActionSpec ) ) return false ;
return Equals ( _unknownFields , other . _unknownFields ) ;
}
hash ^ = vectorActionSize_ . GetHashCode ( ) ;
hash ^ = vectorActionDescriptions_ . GetHashCode ( ) ;
if ( VectorActionSpaceType ! = 0 ) hash ^ = VectorActionSpaceType . GetHashCode ( ) ;
hash ^ = vectorActionSizeDeprecated_ . GetHashCode ( ) ;
hash ^ = vectorActionDescriptionsDeprecated_ . GetHashCode ( ) ;
if ( VectorActionSpaceTypeDeprecated ! = 0 ) hash ^ = VectorActionSpaceTypeDeprecated . GetHashCode ( ) ;
if ( actionSpec_ ! = null ) hash ^ = ActionSpec . GetHashCode ( ) ;
if ( _unknownFields ! = null ) {
hash ^ = _unknownFields . GetHashCode ( ) ;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo ( pb : : CodedOutputStream output ) {
vectorActionSize_ . WriteTo ( output , _repeated_vectorActionSize_codec ) ;
vectorActionDescriptions_ . WriteTo ( output , _repeated_vectorActionDescriptions_codec ) ;
if ( VectorActionSpaceType ! = 0 ) {
vectorActionSizeDeprecated _ . WriteTo ( output , _repeated_vectorActionSizeDeprecated _codec ) ;
vectorActionDescriptionsDeprecated _ . WriteTo ( output , _repeated_vectorActionDescriptionsDeprecated _codec ) ;
if ( VectorActionSpaceTypeDeprecated ! = 0 ) {
output . WriteEnum ( ( int ) VectorActionSpaceType ) ;
output . WriteEnum ( ( int ) VectorActionSpaceTypeDeprecated ) ;
}
if ( BrainName . Length ! = 0 ) {
output . WriteRawTag ( 5 8 ) ;
output . WriteRawTag ( 6 4 ) ;
output . WriteBool ( IsTraining ) ;
}
if ( actionSpec_ ! = null ) {
output . WriteRawTag ( 7 4 ) ;
output . WriteMessage ( ActionSpec ) ;
}
if ( _unknownFields ! = null ) {
_unknownFields . WriteTo ( output ) ;
}
public int CalculateSize ( ) {
int size = 0 ;
size + = vectorActionSize_ . CalculateSize ( _repeated_vectorActionSize_codec ) ;
size + = vectorActionDescriptions_ . CalculateSize ( _repeated_vectorActionDescriptions_codec ) ;
if ( VectorActionSpaceType ! = 0 ) {
size + = 1 + pb : : CodedOutputStream . ComputeEnumSize ( ( int ) VectorActionSpaceType ) ;
size + = vectorActionSizeDeprecated _ . CalculateSize ( _repeated_vectorActionSizeDeprecated _codec ) ;
size + = vectorActionDescriptionsDeprecated _ . CalculateSize ( _repeated_vectorActionDescriptionsDeprecated _codec ) ;
if ( VectorActionSpaceTypeDeprecated ! = 0 ) {
size + = 1 + pb : : CodedOutputStream . ComputeEnumSize ( ( int ) VectorActionSpaceTypeDeprecated ) ;
}
if ( BrainName . Length ! = 0 ) {
size + = 1 + pb : : CodedOutputStream . ComputeStringSize ( BrainName ) ;
}
if ( actionSpec_ ! = null ) {
size + = 1 + pb : : CodedOutputStream . ComputeMessageSize ( ActionSpec ) ;
}
if ( _unknownFields ! = null ) {
size + = _unknownFields . CalculateSize ( ) ;
if ( other = = null ) {
return ;
}
vectorActionSize_ . Add ( other . vectorActionSize_ ) ;
vectorActionDescriptions_ . Add ( other . vectorActionDescriptions_ ) ;
if ( other . VectorActionSpaceType ! = 0 ) {
VectorActionSpaceType = other . VectorActionSpaceType ;
vectorActionSizeDeprecated _ . Add ( other . vectorActionSizeDeprecated _ ) ;
vectorActionDescriptionsDeprecated _ . Add ( other . vectorActionDescriptionsDeprecated _ ) ;
if ( other . VectorActionSpaceTypeDeprecated ! = 0 ) {
VectorActionSpaceTypeDeprecated = other . VectorActionSpaceTypeDeprecated ;
}
if ( other . BrainName . Length ! = 0 ) {
BrainName = other . BrainName ;
}
if ( other . actionSpec_ ! = null ) {
if ( actionSpec_ = = null ) {
actionSpec_ = new global :: Unity . MLAgents . CommunicatorObjects . ActionSpecProto ( ) ;
}
ActionSpec . MergeFrom ( other . ActionSpec ) ;
}
_unknownFields = pb : : UnknownFieldSet . MergeFrom ( _unknownFields , other . _unknownFields ) ;
}
break ;
case 2 6 :
case 2 4 : {
vectorActionSize_ . AddEntriesFrom ( input , _repeated_vectorActionSize_codec ) ;
vectorActionSizeDeprecated _ . AddEntriesFrom ( input , _repeated_vectorActionSizeDeprecated _codec ) ;
vectorActionDescriptions_ . AddEntriesFrom ( input , _repeated_vectorActionDescriptions_codec ) ;
vectorActionDescriptionsDeprecated _ . AddEntriesFrom ( input , _repeated_vectorActionDescriptionsDeprecated _codec ) ;
vectorActionSpaceType_ = ( global :: Unity . MLAgents . CommunicatorObjects . SpaceTypeProto ) input . ReadEnum ( ) ;
vectorActionSpaceTypeDeprecated _ = ( global :: Unity . MLAgents . CommunicatorObjects . SpaceTypeProto ) input . ReadEnum ( ) ;
break ;
}
case 5 8 : {
case 6 4 : {
IsTraining = input . ReadBool ( ) ;
break ;
}
case 7 4 : {
if ( actionSpec_ = = null ) {
actionSpec_ = new global :: Unity . MLAgents . CommunicatorObjects . ActionSpecProto ( ) ;
}
input . ReadMessage ( actionSpec_ ) ;
break ;
}
}