public void MergeFrom(ArCoreSdkLog other) { if (other == null) { return; } if (other.SdkInstanceId.Length != 0) { SdkInstanceId = other.SdkInstanceId; } if (other.ArcoreSdkVersion.Length != 0) { ArcoreSdkVersion = other.ArcoreSdkVersion; } if (other.OsVersion.Length != 0) { OsVersion = other.OsVersion; } if (other.unity_ != null) { if (unity_ == null) { unity_ = new global::GoogleARCoreInternal.Proto.ArCoreSdkLog.Types.UnityEngine(); } Unity.MergeFrom(other.Unity); } if (other.SdkSessionId.Length != 0) { SdkSessionId = other.SdkSessionId; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { SdkInstanceId = input.ReadString(); break; } case 18: { ArcoreSdkVersion = input.ReadString(); break; } case 26: { OsVersion = input.ReadString(); break; } case 34: { if (unity_ == null) { unity_ = new global::GoogleARCoreInternal.Proto.ArCoreSdkLog.Types.UnityEngine(); } input.ReadMessage(unity_); break; } case 42: { SdkSessionId = input.ReadString(); break; } } } }
public void MergeFrom(ArCoreSdkLog other) { if (other == null) { return; } if (other.SdkInstanceId.Length != 0) { SdkInstanceId = other.SdkInstanceId; } if (other.SdkSessionId.Length != 0) { SdkSessionId = other.SdkSessionId; } if (other.ArcoreSdkVersion.Length != 0) { ArcoreSdkVersion = other.ArcoreSdkVersion; } if (other.SdkType != 0) { SdkType = other.SdkType; } if (other.OsVersion.Length != 0) { OsVersion = other.OsVersion; } switch (other.EngineCase) { case EngineOneofCase.Unity: if (Unity == null) { Unity = new global::GoogleARCoreInternal.Proto.ArCoreSdkLog.Types.UnityEngine(); } Unity.MergeFrom(other.Unity); break; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { SdkInstanceId = input.ReadString(); break; } case 18: { ArcoreSdkVersion = input.ReadString(); break; } case 26: { OsVersion = input.ReadString(); break; } case 34: { global::GoogleARCoreInternal.Proto.ArCoreSdkLog.Types.UnityEngine subBuilder = new global::GoogleARCoreInternal.Proto.ArCoreSdkLog.Types.UnityEngine(); if (engineCase_ == EngineOneofCase.Unity) { subBuilder.MergeFrom(Unity); } input.ReadMessage(subBuilder); Unity = subBuilder; break; } case 42: { SdkSessionId = input.ReadString(); break; } case 48: { sdkType_ = (global::GoogleARCoreInternal.Proto.ArCoreSdkLog.Types.SDKType)input.ReadEnum(); break; } } } }