-
-
Save kameshsampath/b5b9014967bede93b47ba8047c3bf295 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package queries; | |
/* @Indexed */ | |
message User { | |
/* @IndexedField(index=false, store=false) */ | |
required string userId = 1; | |
/* @IndexedField */ | |
/* @SortableField */ | |
required string firstName = 2; | |
/* @IndexedField */ | |
/* @SortableField */ | |
required string lastName = 3; | |
/* @IndexedField */ | |
required string email = 4; | |
/* @Indexed */ | |
message Address { | |
/* @IndexedField */ | |
required string streetName = 1; | |
/* @IndexedField */ | |
required string line1 = 2; | |
optional string line2 = 3; | |
/* @IndexedField */ | |
required string city = 4; | |
/* @IndexedField */ | |
required string state = 5; | |
/* @IndexedField */ | |
required string zipCode = 6; | |
optional string country = 7; | |
} | |
/* @IndexedField(index=true, store=false) */ | |
repeated Address address = 7; | |
optional string machineIp = 8; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment