|
18 | 18 |
|
19 | 19 |
|
20 | 20 | """Generated protocol buffer code."""
|
| 21 | +from google.protobuf.internal import builder as _builder |
21 | 22 | from google.protobuf import descriptor as _descriptor
|
22 | 23 | from google.protobuf import descriptor_pool as _descriptor_pool
|
23 |
| -from google.protobuf import message as _message |
24 |
| -from google.protobuf import reflection as _reflection |
25 | 24 | from google.protobuf import symbol_database as _symbol_database
|
26 | 25 |
|
27 | 26 |
|
|
32 | 31 |
|
33 | 32 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n<google/appengine/api/app_identity/app_identity_service.proto\x12\x10google.appengine\"\xe6\x01\n\x17\x41ppIdentityServiceError\"\xca\x01\n\tErrorCode\x12\x0b\n\x07SUCCESS\x10\x00\x12\x11\n\rUNKNOWN_SCOPE\x10\t\x12\x13\n\x0e\x42LOB_TOO_LARGE\x10\xe8\x07\x12\x16\n\x11\x44\x45\x41\x44LINE_EXCEEDED\x10\xe9\x07\x12\x14\n\x0fNOT_A_VALID_APP\x10\xea\x07\x12\x12\n\rUNKNOWN_ERROR\x10\xeb\x07\x12\x1e\n\x19GAIAMINT_NOT_INITIAILIZED\x10\xec\x07\x12\x10\n\x0bNOT_ALLOWED\x10\xed\x07\x12\x14\n\x0fNOT_IMPLEMENTED\x10\xee\x07\"*\n\x11SignForAppRequest\x12\x15\n\rbytes_to_sign\x18\x01 \x01(\x0c\"?\n\x12SignForAppResponse\x12\x10\n\x08key_name\x18\x01 \x01(\t\x12\x17\n\x0fsignature_bytes\x18\x02 \x01(\x0c\"#\n!GetPublicCertificateForAppRequest\"C\n\x11PublicCertificate\x12\x10\n\x08key_name\x18\x01 \x01(\t\x12\x1c\n\x14x509_certificate_pem\x18\x02 \x01(\t\"\x93\x01\n\"GetPublicCertificateForAppResponse\x12\x44\n\x17public_certificate_list\x18\x01 \x03(\x0b\x32#.google.appengine.PublicCertificate\x12\'\n\x1fmax_client_cache_time_in_second\x18\x02 \x01(\x03\"\x1e\n\x1cGetServiceAccountNameRequest\"=\n\x1dGetServiceAccountNameResponse\x12\x1c\n\x14service_account_name\x18\x01 \x01(\t\"d\n\x15GetAccessTokenRequest\x12\r\n\x05scope\x18\x01 \x03(\t\x12\x1a\n\x12service_account_id\x18\x02 \x01(\x03\x12 \n\x14service_account_name\x18\x03 \x01(\tB\x02\x18\x01\"G\n\x16GetAccessTokenResponse\x12\x14\n\x0c\x61\x63\x63\x65ss_token\x18\x01 \x01(\t\x12\x17\n\x0f\x65xpiration_time\x18\x02 \x01(\x03\" \n\x1eGetDefaultGcsBucketNameRequest\"B\n\x1fGetDefaultGcsBucketNameResponse\x12\x1f\n\x17\x64\x65\x66\x61ult_gcs_bucket_name\x18\x01 \x01(\tB<\n$com.google.appengine.api.appidentityB\x14\x41ppIdentityServicePb')
|
34 | 33 |
|
35 |
| - |
36 |
| - |
37 |
| -_APPIDENTITYSERVICEERROR = DESCRIPTOR.message_types_by_name['AppIdentityServiceError'] |
38 |
| -_SIGNFORAPPREQUEST = DESCRIPTOR.message_types_by_name['SignForAppRequest'] |
39 |
| -_SIGNFORAPPRESPONSE = DESCRIPTOR.message_types_by_name['SignForAppResponse'] |
40 |
| -_GETPUBLICCERTIFICATEFORAPPREQUEST = DESCRIPTOR.message_types_by_name['GetPublicCertificateForAppRequest'] |
41 |
| -_PUBLICCERTIFICATE = DESCRIPTOR.message_types_by_name['PublicCertificate'] |
42 |
| -_GETPUBLICCERTIFICATEFORAPPRESPONSE = DESCRIPTOR.message_types_by_name['GetPublicCertificateForAppResponse'] |
43 |
| -_GETSERVICEACCOUNTNAMEREQUEST = DESCRIPTOR.message_types_by_name['GetServiceAccountNameRequest'] |
44 |
| -_GETSERVICEACCOUNTNAMERESPONSE = DESCRIPTOR.message_types_by_name['GetServiceAccountNameResponse'] |
45 |
| -_GETACCESSTOKENREQUEST = DESCRIPTOR.message_types_by_name['GetAccessTokenRequest'] |
46 |
| -_GETACCESSTOKENRESPONSE = DESCRIPTOR.message_types_by_name['GetAccessTokenResponse'] |
47 |
| -_GETDEFAULTGCSBUCKETNAMEREQUEST = DESCRIPTOR.message_types_by_name['GetDefaultGcsBucketNameRequest'] |
48 |
| -_GETDEFAULTGCSBUCKETNAMERESPONSE = DESCRIPTOR.message_types_by_name['GetDefaultGcsBucketNameResponse'] |
49 |
| -_APPIDENTITYSERVICEERROR_ERRORCODE = _APPIDENTITYSERVICEERROR.enum_types_by_name['ErrorCode'] |
50 |
| -AppIdentityServiceError = _reflection.GeneratedProtocolMessageType('AppIdentityServiceError', (_message.Message,), { |
51 |
| - 'DESCRIPTOR' : _APPIDENTITYSERVICEERROR, |
52 |
| - '__module__' : 'google.appengine.api.app_identity.app_identity_service_pb2' |
53 |
| - |
54 |
| - }) |
55 |
| -_sym_db.RegisterMessage(AppIdentityServiceError) |
56 |
| - |
57 |
| -SignForAppRequest = _reflection.GeneratedProtocolMessageType('SignForAppRequest', (_message.Message,), { |
58 |
| - 'DESCRIPTOR' : _SIGNFORAPPREQUEST, |
59 |
| - '__module__' : 'google.appengine.api.app_identity.app_identity_service_pb2' |
60 |
| - |
61 |
| - }) |
62 |
| -_sym_db.RegisterMessage(SignForAppRequest) |
63 |
| - |
64 |
| -SignForAppResponse = _reflection.GeneratedProtocolMessageType('SignForAppResponse', (_message.Message,), { |
65 |
| - 'DESCRIPTOR' : _SIGNFORAPPRESPONSE, |
66 |
| - '__module__' : 'google.appengine.api.app_identity.app_identity_service_pb2' |
67 |
| - |
68 |
| - }) |
69 |
| -_sym_db.RegisterMessage(SignForAppResponse) |
70 |
| - |
71 |
| -GetPublicCertificateForAppRequest = _reflection.GeneratedProtocolMessageType('GetPublicCertificateForAppRequest', (_message.Message,), { |
72 |
| - 'DESCRIPTOR' : _GETPUBLICCERTIFICATEFORAPPREQUEST, |
73 |
| - '__module__' : 'google.appengine.api.app_identity.app_identity_service_pb2' |
74 |
| - |
75 |
| - }) |
76 |
| -_sym_db.RegisterMessage(GetPublicCertificateForAppRequest) |
77 |
| - |
78 |
| -PublicCertificate = _reflection.GeneratedProtocolMessageType('PublicCertificate', (_message.Message,), { |
79 |
| - 'DESCRIPTOR' : _PUBLICCERTIFICATE, |
80 |
| - '__module__' : 'google.appengine.api.app_identity.app_identity_service_pb2' |
81 |
| - |
82 |
| - }) |
83 |
| -_sym_db.RegisterMessage(PublicCertificate) |
84 |
| - |
85 |
| -GetPublicCertificateForAppResponse = _reflection.GeneratedProtocolMessageType('GetPublicCertificateForAppResponse', (_message.Message,), { |
86 |
| - 'DESCRIPTOR' : _GETPUBLICCERTIFICATEFORAPPRESPONSE, |
87 |
| - '__module__' : 'google.appengine.api.app_identity.app_identity_service_pb2' |
88 |
| - |
89 |
| - }) |
90 |
| -_sym_db.RegisterMessage(GetPublicCertificateForAppResponse) |
91 |
| - |
92 |
| -GetServiceAccountNameRequest = _reflection.GeneratedProtocolMessageType('GetServiceAccountNameRequest', (_message.Message,), { |
93 |
| - 'DESCRIPTOR' : _GETSERVICEACCOUNTNAMEREQUEST, |
94 |
| - '__module__' : 'google.appengine.api.app_identity.app_identity_service_pb2' |
95 |
| - |
96 |
| - }) |
97 |
| -_sym_db.RegisterMessage(GetServiceAccountNameRequest) |
98 |
| - |
99 |
| -GetServiceAccountNameResponse = _reflection.GeneratedProtocolMessageType('GetServiceAccountNameResponse', (_message.Message,), { |
100 |
| - 'DESCRIPTOR' : _GETSERVICEACCOUNTNAMERESPONSE, |
101 |
| - '__module__' : 'google.appengine.api.app_identity.app_identity_service_pb2' |
102 |
| - |
103 |
| - }) |
104 |
| -_sym_db.RegisterMessage(GetServiceAccountNameResponse) |
105 |
| - |
106 |
| -GetAccessTokenRequest = _reflection.GeneratedProtocolMessageType('GetAccessTokenRequest', (_message.Message,), { |
107 |
| - 'DESCRIPTOR' : _GETACCESSTOKENREQUEST, |
108 |
| - '__module__' : 'google.appengine.api.app_identity.app_identity_service_pb2' |
109 |
| - |
110 |
| - }) |
111 |
| -_sym_db.RegisterMessage(GetAccessTokenRequest) |
112 |
| - |
113 |
| -GetAccessTokenResponse = _reflection.GeneratedProtocolMessageType('GetAccessTokenResponse', (_message.Message,), { |
114 |
| - 'DESCRIPTOR' : _GETACCESSTOKENRESPONSE, |
115 |
| - '__module__' : 'google.appengine.api.app_identity.app_identity_service_pb2' |
116 |
| - |
117 |
| - }) |
118 |
| -_sym_db.RegisterMessage(GetAccessTokenResponse) |
119 |
| - |
120 |
| -GetDefaultGcsBucketNameRequest = _reflection.GeneratedProtocolMessageType('GetDefaultGcsBucketNameRequest', (_message.Message,), { |
121 |
| - 'DESCRIPTOR' : _GETDEFAULTGCSBUCKETNAMEREQUEST, |
122 |
| - '__module__' : 'google.appengine.api.app_identity.app_identity_service_pb2' |
123 |
| - |
124 |
| - }) |
125 |
| -_sym_db.RegisterMessage(GetDefaultGcsBucketNameRequest) |
126 |
| - |
127 |
| -GetDefaultGcsBucketNameResponse = _reflection.GeneratedProtocolMessageType('GetDefaultGcsBucketNameResponse', (_message.Message,), { |
128 |
| - 'DESCRIPTOR' : _GETDEFAULTGCSBUCKETNAMERESPONSE, |
129 |
| - '__module__' : 'google.appengine.api.app_identity.app_identity_service_pb2' |
130 |
| - |
131 |
| - }) |
132 |
| -_sym_db.RegisterMessage(GetDefaultGcsBucketNameResponse) |
133 |
| - |
| 34 | +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) |
| 35 | +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.appengine.api.app_identity.app_identity_service_pb2', globals()) |
134 | 36 | if _descriptor._USE_C_DESCRIPTORS == False:
|
135 | 37 |
|
136 | 38 | DESCRIPTOR._options = None
|
|
0 commit comments