mirror of https://github.com/oxen-io/session-ios
				
				
				
			
			You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
	
	
		
			29 lines
		
	
	
		
			617 B
		
	
	
	
		
			Protocol Buffer
		
	
		
		
			
		
	
	
			29 lines
		
	
	
		
			617 B
		
	
	
	
		
			Protocol Buffer
		
	
| 
								 
											8 years ago
										 
									 | 
							
								/**
							 | 
						||
| 
								 | 
							
								 * Copyright (C) 2014-2016 Open Whisper Systems
							 | 
						||
| 
								 | 
							
								 *
							 | 
						||
| 
								 | 
							
								 * Licensed according to the LICENSE file in this repository.
							 | 
						||
| 
								 | 
							
								 */
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								package signalios;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								// Signal-iOS
							 | 
						||
| 
								 | 
							
								import "objectivec-descriptor.proto";
							 | 
						||
| 
								 | 
							
								option (google.protobuf.objectivec_file_options).class_prefix = "OWSSignaliOSProtos";
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								message BackupSnapshot
							 | 
						||
| 
								 | 
							
								{
							 | 
						||
| 
								 | 
							
								    message BackupEntity
							 | 
						||
| 
								 | 
							
								    {
							 | 
						||
| 
								 | 
							
								        enum Type {
							 | 
						||
| 
								 | 
							
								            UNKNOWN = 0;
							 | 
						||
| 
								 | 
							
								            MIGRATION = 1;
							 | 
						||
| 
								 | 
							
								            THREAD = 2;
							 | 
						||
| 
								 | 
							
								            INTERACTION = 3;
							 | 
						||
| 
								 | 
							
								            ATTACHMENT = 4;
							 | 
						||
| 
								 | 
							
								        }
							 | 
						||
| 
								 | 
							
								        optional Type type = 1;
							 | 
						||
| 
								 | 
							
								        optional bytes entityData = 2;
							 | 
						||
| 
								 | 
							
								    }
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    repeated BackupEntity entity = 1;
							 | 
						||
| 
								 | 
							
								}
							 |