OLD | NEW |
(Empty) | |
| 1 /// |
| 2 // Generated code. Do not modify. |
| 3 /// |
| 4 library appengine.user; |
| 5 |
| 6 import 'package:protobuf/protobuf.dart'; |
| 7 |
| 8 class UserServiceError_ErrorCode extends ProtobufEnum { |
| 9 static const UserServiceError_ErrorCode OK = const UserServiceError_ErrorCode.
_(0, 'OK'); |
| 10 static const UserServiceError_ErrorCode REDIRECT_URL_TOO_LONG = const UserServ
iceError_ErrorCode._(1, 'REDIRECT_URL_TOO_LONG'); |
| 11 static const UserServiceError_ErrorCode NOT_ALLOWED = const UserServiceError_E
rrorCode._(2, 'NOT_ALLOWED'); |
| 12 static const UserServiceError_ErrorCode OAUTH_INVALID_TOKEN = const UserServic
eError_ErrorCode._(3, 'OAUTH_INVALID_TOKEN'); |
| 13 static const UserServiceError_ErrorCode OAUTH_INVALID_REQUEST = const UserServ
iceError_ErrorCode._(4, 'OAUTH_INVALID_REQUEST'); |
| 14 static const UserServiceError_ErrorCode OAUTH_ERROR = const UserServiceError_E
rrorCode._(5, 'OAUTH_ERROR'); |
| 15 |
| 16 static const List<UserServiceError_ErrorCode> values = const <UserServiceError
_ErrorCode> [ |
| 17 OK, |
| 18 REDIRECT_URL_TOO_LONG, |
| 19 NOT_ALLOWED, |
| 20 OAUTH_INVALID_TOKEN, |
| 21 OAUTH_INVALID_REQUEST, |
| 22 OAUTH_ERROR, |
| 23 ]; |
| 24 |
| 25 static final Map<int, UserServiceError_ErrorCode> _byValue = ProtobufEnum.init
ByValue(values); |
| 26 static UserServiceError_ErrorCode valueOf(int value) => _byValue[value]; |
| 27 |
| 28 const UserServiceError_ErrorCode._(int v, String n) : super(v, n); |
| 29 } |
| 30 |
| 31 class UserServiceError extends GeneratedMessage { |
| 32 static final BuilderInfo _i = new BuilderInfo('UserServiceError') |
| 33 ..hasRequiredFields = false |
| 34 ; |
| 35 |
| 36 UserServiceError() : super(); |
| 37 UserServiceError.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegis
try.EMPTY]) : super.fromBuffer(i, r); |
| 38 UserServiceError.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.E
MPTY]) : super.fromJson(i, r); |
| 39 UserServiceError clone() => new UserServiceError()..mergeFromMessage(this); |
| 40 BuilderInfo get info_ => _i; |
| 41 } |
| 42 |
| 43 class CreateLoginURLRequest extends GeneratedMessage { |
| 44 static final BuilderInfo _i = new BuilderInfo('CreateLoginURLRequest') |
| 45 ..a(1, 'destinationUrl', GeneratedMessage.QS) |
| 46 ..a(2, 'authDomain', GeneratedMessage.OS) |
| 47 ..a(3, 'federatedIdentity', GeneratedMessage.OS) |
| 48 ; |
| 49 |
| 50 CreateLoginURLRequest() : super(); |
| 51 CreateLoginURLRequest.fromBuffer(List<int> i, [ExtensionRegistry r = Extension
Registry.EMPTY]) : super.fromBuffer(i, r); |
| 52 CreateLoginURLRequest.fromJson(String i, [ExtensionRegistry r = ExtensionRegis
try.EMPTY]) : super.fromJson(i, r); |
| 53 CreateLoginURLRequest clone() => new CreateLoginURLRequest()..mergeFromMessage
(this); |
| 54 BuilderInfo get info_ => _i; |
| 55 |
| 56 String get destinationUrl => getField(1); |
| 57 void set destinationUrl(String v) { setField(1, v); } |
| 58 bool hasDestinationUrl() => hasField(1); |
| 59 void clearDestinationUrl() => clearField(1); |
| 60 |
| 61 String get authDomain => getField(2); |
| 62 void set authDomain(String v) { setField(2, v); } |
| 63 bool hasAuthDomain() => hasField(2); |
| 64 void clearAuthDomain() => clearField(2); |
| 65 |
| 66 String get federatedIdentity => getField(3); |
| 67 void set federatedIdentity(String v) { setField(3, v); } |
| 68 bool hasFederatedIdentity() => hasField(3); |
| 69 void clearFederatedIdentity() => clearField(3); |
| 70 } |
| 71 |
| 72 class CreateLoginURLResponse extends GeneratedMessage { |
| 73 static final BuilderInfo _i = new BuilderInfo('CreateLoginURLResponse') |
| 74 ..a(1, 'loginUrl', GeneratedMessage.QS) |
| 75 ; |
| 76 |
| 77 CreateLoginURLResponse() : super(); |
| 78 CreateLoginURLResponse.fromBuffer(List<int> i, [ExtensionRegistry r = Extensio
nRegistry.EMPTY]) : super.fromBuffer(i, r); |
| 79 CreateLoginURLResponse.fromJson(String i, [ExtensionRegistry r = ExtensionRegi
stry.EMPTY]) : super.fromJson(i, r); |
| 80 CreateLoginURLResponse clone() => new CreateLoginURLResponse()..mergeFromMessa
ge(this); |
| 81 BuilderInfo get info_ => _i; |
| 82 |
| 83 String get loginUrl => getField(1); |
| 84 void set loginUrl(String v) { setField(1, v); } |
| 85 bool hasLoginUrl() => hasField(1); |
| 86 void clearLoginUrl() => clearField(1); |
| 87 } |
| 88 |
| 89 class CreateLogoutURLRequest extends GeneratedMessage { |
| 90 static final BuilderInfo _i = new BuilderInfo('CreateLogoutURLRequest') |
| 91 ..a(1, 'destinationUrl', GeneratedMessage.QS) |
| 92 ..a(2, 'authDomain', GeneratedMessage.OS) |
| 93 ; |
| 94 |
| 95 CreateLogoutURLRequest() : super(); |
| 96 CreateLogoutURLRequest.fromBuffer(List<int> i, [ExtensionRegistry r = Extensio
nRegistry.EMPTY]) : super.fromBuffer(i, r); |
| 97 CreateLogoutURLRequest.fromJson(String i, [ExtensionRegistry r = ExtensionRegi
stry.EMPTY]) : super.fromJson(i, r); |
| 98 CreateLogoutURLRequest clone() => new CreateLogoutURLRequest()..mergeFromMessa
ge(this); |
| 99 BuilderInfo get info_ => _i; |
| 100 |
| 101 String get destinationUrl => getField(1); |
| 102 void set destinationUrl(String v) { setField(1, v); } |
| 103 bool hasDestinationUrl() => hasField(1); |
| 104 void clearDestinationUrl() => clearField(1); |
| 105 |
| 106 String get authDomain => getField(2); |
| 107 void set authDomain(String v) { setField(2, v); } |
| 108 bool hasAuthDomain() => hasField(2); |
| 109 void clearAuthDomain() => clearField(2); |
| 110 } |
| 111 |
| 112 class CreateLogoutURLResponse extends GeneratedMessage { |
| 113 static final BuilderInfo _i = new BuilderInfo('CreateLogoutURLResponse') |
| 114 ..a(1, 'logoutUrl', GeneratedMessage.QS) |
| 115 ; |
| 116 |
| 117 CreateLogoutURLResponse() : super(); |
| 118 CreateLogoutURLResponse.fromBuffer(List<int> i, [ExtensionRegistry r = Extensi
onRegistry.EMPTY]) : super.fromBuffer(i, r); |
| 119 CreateLogoutURLResponse.fromJson(String i, [ExtensionRegistry r = ExtensionReg
istry.EMPTY]) : super.fromJson(i, r); |
| 120 CreateLogoutURLResponse clone() => new CreateLogoutURLResponse()..mergeFromMes
sage(this); |
| 121 BuilderInfo get info_ => _i; |
| 122 |
| 123 String get logoutUrl => getField(1); |
| 124 void set logoutUrl(String v) { setField(1, v); } |
| 125 bool hasLogoutUrl() => hasField(1); |
| 126 void clearLogoutUrl() => clearField(1); |
| 127 } |
| 128 |
| 129 class GetOAuthUserRequest extends GeneratedMessage { |
| 130 static final BuilderInfo _i = new BuilderInfo('GetOAuthUserRequest') |
| 131 ..a(1, 'scope', GeneratedMessage.OS) |
| 132 ..p(2, 'scopes', GeneratedMessage.PS) |
| 133 ..hasRequiredFields = false |
| 134 ; |
| 135 |
| 136 GetOAuthUserRequest() : super(); |
| 137 GetOAuthUserRequest.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRe
gistry.EMPTY]) : super.fromBuffer(i, r); |
| 138 GetOAuthUserRequest.fromJson(String i, [ExtensionRegistry r = ExtensionRegistr
y.EMPTY]) : super.fromJson(i, r); |
| 139 GetOAuthUserRequest clone() => new GetOAuthUserRequest()..mergeFromMessage(thi
s); |
| 140 BuilderInfo get info_ => _i; |
| 141 |
| 142 String get scope => getField(1); |
| 143 void set scope(String v) { setField(1, v); } |
| 144 bool hasScope() => hasField(1); |
| 145 void clearScope() => clearField(1); |
| 146 |
| 147 List<String> get scopes => getField(2); |
| 148 } |
| 149 |
| 150 class GetOAuthUserResponse extends GeneratedMessage { |
| 151 static final BuilderInfo _i = new BuilderInfo('GetOAuthUserResponse') |
| 152 ..a(1, 'email', GeneratedMessage.QS) |
| 153 ..a(2, 'userId', GeneratedMessage.QS) |
| 154 ..a(3, 'authDomain', GeneratedMessage.QS) |
| 155 ..a(4, 'userOrganization', GeneratedMessage.OS) |
| 156 ..a(5, 'isAdmin', GeneratedMessage.OB) |
| 157 ..a(6, 'clientId', GeneratedMessage.OS) |
| 158 ..p(7, 'scopes', GeneratedMessage.PS) |
| 159 ; |
| 160 |
| 161 GetOAuthUserResponse() : super(); |
| 162 GetOAuthUserResponse.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionR
egistry.EMPTY]) : super.fromBuffer(i, r); |
| 163 GetOAuthUserResponse.fromJson(String i, [ExtensionRegistry r = ExtensionRegist
ry.EMPTY]) : super.fromJson(i, r); |
| 164 GetOAuthUserResponse clone() => new GetOAuthUserResponse()..mergeFromMessage(t
his); |
| 165 BuilderInfo get info_ => _i; |
| 166 |
| 167 String get email => getField(1); |
| 168 void set email(String v) { setField(1, v); } |
| 169 bool hasEmail() => hasField(1); |
| 170 void clearEmail() => clearField(1); |
| 171 |
| 172 String get userId => getField(2); |
| 173 void set userId(String v) { setField(2, v); } |
| 174 bool hasUserId() => hasField(2); |
| 175 void clearUserId() => clearField(2); |
| 176 |
| 177 String get authDomain => getField(3); |
| 178 void set authDomain(String v) { setField(3, v); } |
| 179 bool hasAuthDomain() => hasField(3); |
| 180 void clearAuthDomain() => clearField(3); |
| 181 |
| 182 String get userOrganization => getField(4); |
| 183 void set userOrganization(String v) { setField(4, v); } |
| 184 bool hasUserOrganization() => hasField(4); |
| 185 void clearUserOrganization() => clearField(4); |
| 186 |
| 187 bool get isAdmin => getField(5); |
| 188 void set isAdmin(bool v) { setField(5, v); } |
| 189 bool hasIsAdmin() => hasField(5); |
| 190 void clearIsAdmin() => clearField(5); |
| 191 |
| 192 String get clientId => getField(6); |
| 193 void set clientId(String v) { setField(6, v); } |
| 194 bool hasClientId() => hasField(6); |
| 195 void clearClientId() => clearField(6); |
| 196 |
| 197 List<String> get scopes => getField(7); |
| 198 } |
| 199 |
| 200 class CheckOAuthSignatureRequest extends GeneratedMessage { |
| 201 static final BuilderInfo _i = new BuilderInfo('CheckOAuthSignatureRequest') |
| 202 ..hasRequiredFields = false |
| 203 ; |
| 204 |
| 205 CheckOAuthSignatureRequest() : super(); |
| 206 CheckOAuthSignatureRequest.fromBuffer(List<int> i, [ExtensionRegistry r = Exte
nsionRegistry.EMPTY]) : super.fromBuffer(i, r); |
| 207 CheckOAuthSignatureRequest.fromJson(String i, [ExtensionRegistry r = Extension
Registry.EMPTY]) : super.fromJson(i, r); |
| 208 CheckOAuthSignatureRequest clone() => new CheckOAuthSignatureRequest()..mergeF
romMessage(this); |
| 209 BuilderInfo get info_ => _i; |
| 210 } |
| 211 |
| 212 class CheckOAuthSignatureResponse extends GeneratedMessage { |
| 213 static final BuilderInfo _i = new BuilderInfo('CheckOAuthSignatureResponse') |
| 214 ..a(1, 'oauthConsumerKey', GeneratedMessage.QS) |
| 215 ; |
| 216 |
| 217 CheckOAuthSignatureResponse() : super(); |
| 218 CheckOAuthSignatureResponse.fromBuffer(List<int> i, [ExtensionRegistry r = Ext
ensionRegistry.EMPTY]) : super.fromBuffer(i, r); |
| 219 CheckOAuthSignatureResponse.fromJson(String i, [ExtensionRegistry r = Extensio
nRegistry.EMPTY]) : super.fromJson(i, r); |
| 220 CheckOAuthSignatureResponse clone() => new CheckOAuthSignatureResponse()..merg
eFromMessage(this); |
| 221 BuilderInfo get info_ => _i; |
| 222 |
| 223 String get oauthConsumerKey => getField(1); |
| 224 void set oauthConsumerKey(String v) { setField(1, v); } |
| 225 bool hasOauthConsumerKey() => hasField(1); |
| 226 void clearOauthConsumerKey() => clearField(1); |
| 227 } |
| 228 |
OLD | NEW |