/// <summary>
 /// Initializes a new instance of the <see cref="RestoreInfoProto" /> class.
 /// </summary>
 /// <param name="postScriptStatus">postScriptStatus.</param>
 /// <param name="preScriptStatus">preScriptStatus.</param>
 /// <param name="restoreEntityVec">Contains the file paths and the information of the restored entities..</param>
 /// <param name="targetType">Specifies the target type for the task. The field is only valid if the task has got a permit..</param>
 /// <param name="type">The type of environment this restore info pertains to..</param>
 public RestoreInfoProto(ScriptExecutionStatus postScriptStatus = default(ScriptExecutionStatus), ScriptExecutionStatus preScriptStatus = default(ScriptExecutionStatus), List <RestoreInfoProtoRestoreEntity> restoreEntityVec = default(List <RestoreInfoProtoRestoreEntity>), int?targetType = default(int?), int?type = default(int?))
 {
     this.RestoreEntityVec = restoreEntityVec;
     this.TargetType       = targetType;
     this.Type             = type;
     this.PostScriptStatus = postScriptStatus;
     this.PreScriptStatus  = preScriptStatus;
     this.RestoreEntityVec = restoreEntityVec;
     this.TargetType       = targetType;
     this.Type             = type;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RemoteScriptProto" /> class.
 /// </summary>
 /// <param name="remoteHostParams">remoteHostParams.</param>
 /// <param name="script">script.</param>
 /// <param name="status">status.</param>
 public RemoteScriptProto(RemoteHostConnectorParams remoteHostParams = default(RemoteHostConnectorParams), ScriptPathAndParams script = default(ScriptPathAndParams), ScriptExecutionStatus status = default(ScriptExecutionStatus))
 {
     this.RemoteHostParams = remoteHostParams;
     this.Script           = script;
     this.Status           = status;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="SnapshotInfoProto" /> class.
 /// </summary>
 /// <param name="errorRocksdbName">The name of the rocksdb directory for errors seen during this backup, stored in &#39;config&#39; directory of the current view..</param>
 /// <param name="fileWalkDone">This field is only applicable for NAS and file backup jobs. It indicates whether the file walk portion of the backup has completed..</param>
 /// <param name="numAppInstances">Number of application instances backed up by this task. For example, if the environment type is kSQL, this number is for the SQL server instances..</param>
 /// <param name="numAppObjects">Number of application objects in total backed up by this task. For example, if the environment type is kSQL, this number is for all of the SQL server databases.</param>
 /// <param name="postBackupScriptStatus">postBackupScriptStatus.</param>
 /// <param name="preBackupScriptStatus">preBackupScriptStatus.</param>
 /// <param name="relativeSnapshotDir">This is the path relative to &#39;root_path&#39; under which the snapshot lives. This does not begin with a &#39;/&#39; and is of the form foo/bar/baz..</param>
 /// <param name="rootPath">The root path under which the snapshot is stored. This is of the form \&quot;/ViewBox/ViewName/fs\&quot;..</param>
 /// <param name="scribeTableColumn">If this backup task stores any auxiliary state in Scribe table, this field will be populated with the column key in that table where such state is stored. Data stored in the column is extension of SnapshotScribeInfoProto message..</param>
 /// <param name="scribeTableRow">If this backup task stores any auxiliary state in Scribe table, this field will be populated with the row key in that table where such state is stored..</param>
 /// <param name="slaveTaskStartTimeUsecs">This is the timestamp at which the slave task started..</param>
 /// <param name="snapshotType">snapshotType.</param>
 /// <param name="storageSnapshotProvider">storageSnapshotProvider.</param>
 /// <param name="targetType">Specifies the target type for the task. The field is only valid if the task has got a permit..</param>
 /// <param name="totalBytesReadFromSource">Contains the information regarding number of bytes that are read from the source (such as VM) so far..</param>
 /// <param name="totalBytesToReadFromSource">Contains the total number of bytes that will be read from the source (such as VM) for this snapshot..</param>
 /// <param name="totalChangedEntityCount">The total number of file and directory entities that have changed since last backup. Only applicable to file based backups..</param>
 /// <param name="totalEntityCount">The total number of file and directory entities visited in this backup. Only applicable to file based backups..</param>
 /// <param name="totalLogicalBackupSizeBytes">Logical size of the source whose snapshot is being taken. This is the amount of data we would have read from the source had this been a full backup..</param>
 /// <param name="totalPrimaryPhysicalSizeBytes">Contains the information regarding number of bytes that the source (such as VM) has taken up on the primary storage..</param>
 /// <param name="type">The type of environment this snapshot info pertains to..</param>
 /// <param name="viewCaseInsensitivityAltered">Whether during the backup, the backup view&#39;s case insensitivity property has been altered. If so, Madrox needs to take corresponding actions during replication..</param>
 /// <param name="viewName">The view name under which the snapshot was created. NOTE: This is populated only for View, Puppeteer, NAS and Oracle backup..</param>
 /// <param name="viewNameToGc">The view name under which the snapshot of the migrated data was created. NOTE: This is populated only for data migration tasks..</param>
 /// <param name="warnings">Warnings if any. These warnings will be propogated to the UI by master..</param>
 public SnapshotInfoProto(string errorRocksdbName = default(string), bool?fileWalkDone = default(bool?), int?numAppInstances = default(int?), int?numAppObjects = default(int?), ScriptExecutionStatus postBackupScriptStatus = default(ScriptExecutionStatus), ScriptExecutionStatus preBackupScriptStatus = default(ScriptExecutionStatus), string relativeSnapshotDir = default(string), string rootPath = default(string), string scribeTableColumn = default(string), string scribeTableRow = default(string), long?slaveTaskStartTimeUsecs = default(long?), ObjectSnapshotType snapshotType = default(ObjectSnapshotType), StorageSnapshotProviderParams storageSnapshotProvider = default(StorageSnapshotProviderParams), int?targetType = default(int?), long?totalBytesReadFromSource = default(long?), long?totalBytesToReadFromSource = default(long?), long?totalChangedEntityCount = default(long?), long?totalEntityCount = default(long?), long?totalLogicalBackupSizeBytes = default(long?), long?totalPrimaryPhysicalSizeBytes = default(long?), int?type = default(int?), bool?viewCaseInsensitivityAltered = default(bool?), string viewName = default(string), string viewNameToGc = default(string), List <ErrorProto> warnings = default(List <ErrorProto>))
 {
     this.ErrorRocksdbName              = errorRocksdbName;
     this.FileWalkDone                  = fileWalkDone;
     this.NumAppInstances               = numAppInstances;
     this.NumAppObjects                 = numAppObjects;
     this.RelativeSnapshotDir           = relativeSnapshotDir;
     this.RootPath                      = rootPath;
     this.ScribeTableColumn             = scribeTableColumn;
     this.ScribeTableRow                = scribeTableRow;
     this.SlaveTaskStartTimeUsecs       = slaveTaskStartTimeUsecs;
     this.TargetType                    = targetType;
     this.TotalBytesReadFromSource      = totalBytesReadFromSource;
     this.TotalBytesToReadFromSource    = totalBytesToReadFromSource;
     this.TotalChangedEntityCount       = totalChangedEntityCount;
     this.TotalEntityCount              = totalEntityCount;
     this.TotalLogicalBackupSizeBytes   = totalLogicalBackupSizeBytes;
     this.TotalPrimaryPhysicalSizeBytes = totalPrimaryPhysicalSizeBytes;
     this.Type = type;
     this.ViewCaseInsensitivityAltered = viewCaseInsensitivityAltered;
     this.ViewName                      = viewName;
     this.ViewNameToGc                  = viewNameToGc;
     this.Warnings                      = warnings;
     this.ErrorRocksdbName              = errorRocksdbName;
     this.FileWalkDone                  = fileWalkDone;
     this.NumAppInstances               = numAppInstances;
     this.NumAppObjects                 = numAppObjects;
     this.PostBackupScriptStatus        = postBackupScriptStatus;
     this.PreBackupScriptStatus         = preBackupScriptStatus;
     this.RelativeSnapshotDir           = relativeSnapshotDir;
     this.RootPath                      = rootPath;
     this.ScribeTableColumn             = scribeTableColumn;
     this.ScribeTableRow                = scribeTableRow;
     this.SlaveTaskStartTimeUsecs       = slaveTaskStartTimeUsecs;
     this.SnapshotType                  = snapshotType;
     this.StorageSnapshotProvider       = storageSnapshotProvider;
     this.TargetType                    = targetType;
     this.TotalBytesReadFromSource      = totalBytesReadFromSource;
     this.TotalBytesToReadFromSource    = totalBytesToReadFromSource;
     this.TotalChangedEntityCount       = totalChangedEntityCount;
     this.TotalEntityCount              = totalEntityCount;
     this.TotalLogicalBackupSizeBytes   = totalLogicalBackupSizeBytes;
     this.TotalPrimaryPhysicalSizeBytes = totalPrimaryPhysicalSizeBytes;
     this.Type = type;
     this.ViewCaseInsensitivityAltered = viewCaseInsensitivityAltered;
     this.ViewName     = viewName;
     this.ViewNameToGc = viewNameToGc;
     this.Warnings     = warnings;
 }